n?n.pathname+n.search:""}}var vk=["clip-path","color-profile","src","cursor","fill","filter","marker","marker-start","marker-mid","marker-end","mask","stroke"],JX=vk.map(t=>`[${t}]`).join(", "),eJ=/^url\(['"]?#(.*?)['"]?\)$/,Yr=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=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){let i=this._cleanupFontValue(e);i!==this._fontSet&&(this._fontSet=i,this._updateFontIconClasses())}get fontIcon(){return this._fontIcon}set fontIcon(e){let i=this._cleanupFontValue(e);i!==this._fontIcon&&(this._fontIcon=i,this._updateFontIconClasses())}constructor(e,i,r,a,o,s){this._elementRef=e,this._iconRegistry=i,this._location=a,this._errorHandler=o,this.inline=!1,this._previousFontSetClass=[],this._currentIconFetch=xe.EMPTY,s&&(s.color&&(this.color=this._defaultColor=s.color),s.fontSet&&(this.fontSet=s.fontSet)),r||e.nativeElement.setAttribute("aria-hidden","true")}_splitIconName(e){if(!e)return["",""];let 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(){let e=this._elementsWithExternalReferences;if(e&&e.size){let 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();let i=this._location.getPathname();this._previousPath=i,this._cacheChildrenWithExternalReferences(e),this._prependPathToReferences(i),this._elementRef.nativeElement.appendChild(e)}_clearSvgElement(){let e=this._elementRef.nativeElement,i=e.childNodes.length;for(this._elementsWithExternalReferences&&this._elementsWithExternalReferences.clear();i--;){let r=e.childNodes[i];(r.nodeType!==1||r.nodeName.toLowerCase()==="svg")&&r.remove()}}_updateFontIconClasses(){if(!this._usingFontIcon())return;let e=this._elementRef.nativeElement,i=(this.fontSet?this._iconRegistry.classNameForFontAlias(this.fontSet).split(/ +/):this._iconRegistry.getDefaultFontSetClass()).filter(r=>r.length>0);this._previousFontSetClass.forEach(r=>e.classList.remove(r)),i.forEach(r=>e.classList.add(r)),this._previousFontSetClass=i,this.fontIcon!==this._previousFontIconClass&&!i.includes("mat-ligature-font")&&(this._previousFontIconClass&&e.classList.remove(this._previousFontIconClass),this.fontIcon&&e.classList.add(this.fontIcon),this._previousFontIconClass=this.fontIcon)}_cleanupFontValue(e){return typeof e=="string"?e.trim().split(" ")[0]:e}_prependPathToReferences(e){let i=this._elementsWithExternalReferences;i&&i.forEach((r,a)=>{r.forEach(o=>{a.setAttribute(o.name,`url('${e}#${o.value}')`)})})}_cacheChildrenWithExternalReferences(e){let i=e.querySelectorAll(JX),r=this._elementsWithExternalReferences=this._elementsWithExternalReferences||new Map;for(let a=0;a{let s=i[a],l=s.getAttribute(o),h=l?l.match(eJ):null;if(h){let v=r.get(s);v||(v=[],r.set(s,v)),v.push({name:o,value:h[1]})}})}_updateSvgIcon(e){if(this._svgNamespace=null,this._svgName=null,this._currentIconFetch.unsubscribe(),e){let[i,r]=this._splitIconName(e);i&&(this._svgNamespace=i),r&&(this._svgName=r),this._currentIconFetch=this._iconRegistry.getNamedSvgIcon(r,i).pipe(Ue(1)).subscribe(a=>this._setSvgElement(a),a=>{let o=`Error retrieving icon ${i}:${r}! ${a.message}`;this._errorHandler.handleError(new Error(o))})}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(YX),Gt("aria-hidden"),m(ZX),m(Zn),m(KX,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-icon"]],hostAttrs:["role","img",1,"mat-icon","notranslate"],hostVars:10,hostBindings:function(i,r){i&2&&(ie("data-mat-icon-type",r._usingFontIcon()?"font":"svg")("data-mat-icon-name",r._svgName||r.fontIcon)("data-mat-icon-namespace",r._svgNamespace||r.fontSet)("fontIcon",r._usingFontIcon()?r.fontIcon:null),Lt(r.color?"mat-"+r.color:""),re("mat-icon-inline",r.inline)("mat-icon-no-color",r.color!=="primary"&&r.color!=="accent"&&r.color!=="warn"))},inputs:{color:"color",inline:[2,"inline","inline",q],svgIcon:"svgIcon",fontSet:"fontSet",fontIcon:"fontIcon"},exportAs:["matIcon"],standalone:!0,features:[ye,ae],ngContentSelectors:GX,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:["mat-icon,mat-icon.mat-primary,mat-icon.mat-accent,mat-icon.mat-warn{color:var(--mat-icon-color)}.mat-icon{-webkit-user-select:none;user-select:none;background-repeat:no-repeat;display:inline-block;fill:currentColor;height:24px;width:24px;overflow:hidden}.mat-icon.mat-icon-inline{font-size:inherit;height:inherit;line-height:inherit;width:inherit}.mat-icon.mat-ligature-font[fontIcon]::before{content:attr(fontIcon)}[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}"],encapsulation:2,changeDetection:0})}}return t})(),C2=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();function tJ(t,n){if(t&1&&(p(0,"mat-error"),d(1),f()),t&2){let e=M();g(),ne("",e.label," is a required field.")}}function iJ(t,n){if(t&1&&(p(0,"mat-error"),d(1),f()),t&2){let e=M();g(),E(e.customErrorMessage)}}var bk=(()=>{class t{get matcher(){return this}get required(){return this._required??this.ngControl?.control?.hasValidator(_i.required)??!1}set required(e){this._required=e}constructor(e){this.ngControl=e,this.disabled=!1,this.icon="visibility_off",this.label=null,this.customErrorMessage=null,this.customErrorName=null,this.touched=!1,this.type="password",this.value=null,this._required=null,this._visible=!1,this.onChange=i=>{},this.onTouched=()=>{},e!==null&&(e.valueAccessor=this)}isErrorState(e,i){return this.touched&&(this.ngControl?.control?.invalid??!1)}onFocusOut(){this.touched=!0,this.onTouched(),this.matInput.updateErrorState()}onInput(e){this.value=e.currentTarget.value,this.touched=!0,this.onChange(this.value)}onVisibilityClick(e){this._visible?(this.icon="visibility_off",this.type="password"):(this.icon="visibility",this.type="text"),this._visible=!this._visible,e.stopPropagation()}registerOnChange(e){this.onChange=e}registerOnTouched(e){this.onTouched=e}setDisabledState(e){this.disabled=e}writeValue(e){this.value=e}static{this.\u0275fac=function(i){return new(i||t)(m(Fi,10))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-input-password"]],viewQuery:function(i,r){if(i&1&&ue($i,5),i&2){let a;G(a=W())&&(r.matInput=a.first)}},inputs:{label:"label",customErrorMessage:"customErrorMessage",customErrorName:"customErrorName",required:"required"},decls:15,vars:9,consts:[["matInput","",3,"focusout","input","disabled","errorStateMatcher","required","type","value"],["matSuffix","",3,"click"],[4,"ngIf"]],template:function(i,r){i&1&&(p(0,"mat-form-field"),d(1,`
- `),p(2,"mat-label"),d(3),f(),d(4,`
- `),p(5,"input",0),H("focusout",function(){return r.onFocusOut()})("input",function(o){return r.onInput(o)}),f(),d(6,`
- `),p(7,"mat-icon",1),H("click",function(o){return r.onVisibilityClick(o)}),d(8),f(),d(9,`
- `),w(10,tJ,2,1,"mat-error",2),d(11,`
- `),w(12,iJ,2,1,"mat-error",2),d(13,`
-`),f(),d(14,`
-`)),i&2&&(g(3),E(r.label),g(2),C("disabled",r.disabled)("errorStateMatcher",r.matcher)("required",r.required)("type",r.type)("value",r.value),g(3),E(r.icon),g(2),C("ngIf",r.ngControl.hasError("required")),g(2),C("ngIf",r.ngControl.hasError(r.customErrorName)))},dependencies:[Re,Kt,Di,pr,l2,Yr,$i],styles:["[_nghost-%COMP%]{width:100%}[_nghost-%COMP%] mat-icon[_ngcontent-%COMP%]{font-size:16px}[_nghost-%COMP%] .mat-form-field[_ngcontent-%COMP%]{width:100%}"]})}}return t})();var rJ=(t,n)=>({password:t,repeatPassword:n}),aJ=t=>({minchar:t});function oJ(t,n){if(t&1&&(p(0,"p"),d(1),I(2,"translate"),f()),t&2){let e=M();g(),ne(`
- `,yo(2,1,"labels.commons.Password validation",sr(4,aJ,e.minPasswordLength)),`
- `)}}function sJ(t,n){t&1&&(p(0,"p"),d(1),I(2,"translateKey"),f()),t&2&&(g(),ne(`
- `,yo(2,1,"Passwords do not match","inputs"),`
- `))}var kve=(()=>{class t{constructor(e,i,r,a){this.dialogRef=e,this.data=i,this.formBuilder=r,this.passwordsUtility=a,this.minPasswordLength=mt.minPasswordLength|12,this.passwordInputType=["password","password"]}ngOnInit(){this.createChangePasswordForm()}createChangePasswordForm(){this.changePasswordForm=this.formBuilder.group({password:["",this.passwordsUtility.getPasswordValidators()],repeatPassword:["",[_i.required,this.confirmPassword("password")]]},{updateOn:"blur"})}confirmPassword(e){return i=>{if(i.value==null||i.value.length===0)return null;let r=i.root.get(e);if(r){let a=r.valueChanges.subscribe(()=>{i.updateValueAndValidity(),a.unsubscribe()})}return r&&r.value!==i.value?{notequal:!0}:null}}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi),m(xs),m(Ah))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-change-password-dialog"]],decls:42,vars:25,consts:[["password",""],["repeatPassword",""],["mat-dialog-title",""],["mat-dialog-content",""],[3,"formGroup"],[1,"layout-column"],["formControlName","password",3,"label"],[4,"ngIf"],["formControlName","repeatPassword",3,"label"],[1,"error"],["align","center"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"disabled","mat-dialog-close"]],template:function(i,r){if(i&1&&(p(0,"h1",2),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",3),d(5,`
- `),p(6,"form",4),d(7,`
- `),p(8,"div",5),d(9,`
- `),R(10,"mifosx-input-password",6,0),I(12,"translateKey"),d(13,`
- `),p(14,"mat-error"),d(15,`
- `),w(16,oJ,3,6,"p",7),d(17,`
- `),f(),d(18,`
-
- `),R(19,"mifosx-input-password",8,1),I(21,"translateKey"),d(22,`
- `),f(),d(23,`
-
- `),p(24,"div",9),d(25,`
- `),w(26,sJ,3,4,"p",7),d(27,`
- `),f(),d(28,`
- `),f(),d(29,`
-`),f(),d(30,`
-
-`),p(31,"mat-dialog-actions",10),d(32,`
- `),p(33,"button",11),d(34),I(35,"translate"),f(),d(36,`
- `),p(37,"button",12),d(38),I(39,"translate"),f(),d(40,`
-`),f(),d(41,`
-`)),i&2){let a,o;g(),E(P(2,10,"labels.heading.Change Password")),g(5),C("formGroup",r.changePasswordForm),g(4),Bt("label",yo(12,12,"Password","inputs")),g(6),C("ngIf",((a=r.changePasswordForm.get("password").errors)==null?null:a.uppercase)||((a=r.changePasswordForm.get("password").errors)==null?null:a.number)||((a=r.changePasswordForm.get("password").errors)==null?null:a.repeated)||((a=r.changePasswordForm.get("password").errors)==null?null:a.specialChar)||((a=r.changePasswordForm.get("password").errors)==null?null:a.minlength)),g(3),Bt("label",yo(21,15,"Confirm Password","inputs")),g(7),C("ngIf",(o=r.changePasswordForm.get("repeatPassword").errors)==null?null:o.notequal),g(8),E(P(35,18,"labels.buttons.Cancel")),g(3),C("disabled",!r.changePasswordForm.valid)("mat-dialog-close",cr(22,rJ,r.changePasswordForm.get("password").value,r.changePasswordForm.get("repeatPassword").value)),g(),ne(`
- `,P(39,20,"labels.buttons.Confirm"),`
- `)}},dependencies:[Re,lt,Si,yi,Ii,ki,pr,Cs,vi,jr,tn,la,bk,Pe,J1],styles:[".error[_ngcontent-%COMP%]{color:red}mat-dialog-content[_ngcontent-%COMP%]{min-width:240px;width:240px}"]})}}return t})();var cJ=()=>({enable:!0}),Pve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-enable-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-`),p(4,"div",1),d(5,`
- `),p(6,"p"),d(7),I(8,"translate"),f(),d(9,`
-`),f(),d(10,`
-`),p(11,"mat-dialog-actions",2),d(12,`
- `),p(13,"button",3),d(14),I(15,"translate"),f(),d(16,`
- `),p(17,"button",4),d(18),I(19,"translate"),f(),d(20,`
-`),f(),d(21,`
-`)),i&2&&(g(),E(P(2,6,"labels.heading.Enable")),g(6),Ht("",P(8,8,"labels.text.Are you sure you want to enable")," ",r.data.enableContext," ?"),g(7),E(P(15,10,"labels.buttons.Cancel")),g(3),C("mat-dialog-close",or(14,cJ)),g(),ne(`
- `,P(19,12,"labels.buttons.Confirm"),`
- `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();var lJ=()=>({disable:!0}),zve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-disable-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","warn",3,"mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-`),p(4,"div",1),d(5,`
- `),p(6,"p"),d(7),I(8,"translate"),f(),d(9,`
-`),f(),d(10,`
-`),p(11,"mat-dialog-actions",2),d(12,`
- `),p(13,"button",3),d(14),I(15,"translate"),f(),d(16,`
- `),p(17,"button",4),d(18),I(19,"translate"),f(),d(20,`
-`),f(),d(21,`
-`)),i&2&&(g(),E(P(2,6,"labels.heading.Disable")),g(6),Ht("",P(8,8,"labels.text.Are you sure you want to disable")," ",r.data.disableContext," ?"),g(7),E(P(15,10,"labels.buttons.Cancel")),g(3),C("mat-dialog-close",or(14,lJ)),g(),ne(`
- `,P(19,12,"labels.buttons.Confirm"),`
- `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();var yk=(()=>{class t{constructor(){}setColor(e){let i="primary";switch(e){case"Basic":i="primary";break;case"Mild":i="primary";break;case"Strong":i="warn";break;default:i="warn"}return i}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var uJ=()=>({confirm:!0}),jve=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.dialogs=i,this.data=r}ngOnInit(){this.setColor()}setColor(){this.color=this.dialogs.setColor(this.data.type)}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(yk),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-confirmation-dialog"]],decls:20,vars:11,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","",3,"color","mat-dialog-close"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),f(),d(2,`
-`),p(3,"div",1),d(4,`
- `),p(5,"p"),d(6),f(),d(7,`
-`),f(),d(8,`
-`),p(9,"mat-dialog-actions",2),d(10,`
- `),p(11,"button",3),d(12),I(13,"translate"),f(),d(14,`
- `),p(15,"button",4),d(16),I(17,"translate"),f(),d(18,`
-`),f(),d(19,`
-`)),i&2&&(g(),E(r.data.heading),g(5),ne("",r.data.dialogContext," ?"),g(6),E(P(13,6,"labels.buttons.Cancel")),g(3),Bt("color",r.color),C("mat-dialog-close",or(10,uJ)),g(),ne(`
- `,P(17,8,"labels.buttons.Confirm"),`
- `))},dependencies:[lt,Si,yi,Ii,ki,Pe]})}}return t})();function hJ(t,n){if(t&1&&(p(0,"p"),d(1),f()),t&2){let e=M();g(),E(e.data)}}function mJ(t,n){if(t&1&&R(0,"span",6),t&2){let e=M();C("innerHTML",e.data,kl)}}var Gve=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.showAsCode=!1,this.showAsCode=i.startsWith("")}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-error-dialog"]],decls:18,vars:8,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],[3,"innerHTML",4,"ngIf"],["align","left"],["mat-raised-button","","mat-dialog-close",""],[3,"innerHTML"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
- `),w(6,hJ,2,1,"p",2),d(7,`
- `),w(8,mJ,1,1,"span",3),d(9,`
-`),f(),d(10,`
-
-`),p(11,"mat-dialog-actions",4),d(12,`
- `),p(13,"button",5),d(14),I(15,"translate"),f(),d(16,`
-`),f(),d(17,`
-`)),i&2&&(g(),E(P(2,4,"Error Log")),g(5),C("ngIf",!r.showAsCode),g(2),C("ngIf",r.showAsCode),g(6),E(P(15,6,"Cancel")))},dependencies:[Re,lt,Si,yi,Ii,ki,Pe]})}}return t})();var Ck=(()=>{class t{constructor(e){this.http=e}getNotifications(e,i){let r=new X().set("isRead",e.toString()).set("limit",i);return this.http.get("/notifications",{params:r})}updateNotifications(){return this.http.put("/notifications",{})}getMockUnreadNotification(){let e=new Date;return ce({totalFilteredRecords:1,pageItems:[{id:Math.floor(Math.random()*100),objectType:"client",objectId:Math.floor(Math.random()*10),action:"clientCreated",actorId:2,content:"Client Created",isRead:!1,isSystemGenerated:!1,createdAt:`${e.toLocaleDateString()} ${e.getHours()}:${e.getMinutes()}:${e.getSeconds()}`}]})}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var fJ=0,xk="mat-badge-content",t7=new Set,gJ=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:[".mat-badge{position:relative}.mat-badge.mat-badge{overflow:visible}.mat-badge-content{position:absolute;text-align:center;display:inline-block;transition:transform 200ms ease-in-out;transform:scale(0.6);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;box-sizing:border-box;pointer-events:none;background-color:var(--mat-badge-background-color, var(--mat-app-error));color:var(--mat-badge-text-color, var(--mat-app-on-error));font-family:var(--mat-badge-text-font, var(--mat-app-label-small-font));font-weight:var(--mat-badge-text-weight, var(--mat-app-label-small-weight));border-radius:var(--mat-badge-container-shape, var(--mat-app-corner-full))}.cdk-high-contrast-active .mat-badge-content{outline:solid 1px;border-radius:0}.mat-badge-above .mat-badge-content{bottom:100%}.mat-badge-below .mat-badge-content{top:100%}.mat-badge-before .mat-badge-content{right:100%}[dir=rtl] .mat-badge-before .mat-badge-content{right:auto;left:100%}.mat-badge-after .mat-badge-content{left:100%}[dir=rtl] .mat-badge-after .mat-badge-content{left:auto;right:100%}.mat-badge-disabled .mat-badge-content{background-color:var(--mat-badge-disabled-state-background-color);color:var(--mat-badge-disabled-state-text-color, var(--mat-app-on-error))}.mat-badge-hidden .mat-badge-content{display: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:var(--mat-badge-legacy-small-size-container-size);height:var(--mat-badge-legacy-small-size-container-size);min-width:var(--mat-badge-small-size-container-size);min-height:var(--mat-badge-small-size-container-size);line-height:var(--mat-badge-small-size-line-height);padding:var(--mat-badge-small-size-container-padding);font-size:var(--mat-badge-small-size-text-size);margin:var(--mat-badge-small-size-container-offset)}.mat-badge-small.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-small-size-container-overlap-offset)}.mat-badge-medium .mat-badge-content{width:var(--mat-badge-legacy-container-size);height:var(--mat-badge-legacy-container-size);min-width:var(--mat-badge-container-size);min-height:var(--mat-badge-container-size);line-height:var(--mat-badge-line-height);padding:var(--mat-badge-container-padding);font-size:var(--mat-badge-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-container-offset)}.mat-badge-medium.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-container-overlap-offset)}.mat-badge-large .mat-badge-content{width:var(--mat-badge-legacy-large-size-container-size);height:var(--mat-badge-legacy-large-size-container-size);min-width:var(--mat-badge-large-size-container-size);min-height:var(--mat-badge-large-size-container-size);line-height:var(--mat-badge-large-size-line-height);padding:var(--mat-badge-large-size-container-padding);font-size:var(--mat-badge-large-size-text-size, var(--mat-app-label-small-size));margin:var(--mat-badge-large-size-container-offset)}.mat-badge-large.mat-badge-overlap .mat-badge-content{margin:var(--mat-badge-large-size-container-overlap-offset)}"],encapsulation:2,changeDetection:0})}}return t})(),Mk=(()=>{class t{get color(){return this._color}set color(e){this._setColor(e),this._color=e}get content(){return this._content}set content(e){this._updateRenderedContent(e)}get description(){return this._description}set description(e){this._updateDescription(e)}constructor(e,i,r,a,o){this._ngZone=e,this._elementRef=i,this._ariaDescriber=r,this._renderer=a,this._animationMode=o,this._color="primary",this.overlap=!0,this.position="above after",this.size="medium",this._id=fJ++,this._isInitialized=!1,this._interactivityChecker=z(Io),this._document=z(Ce);let s=z(Ji);if(!t7.has(s)){t7.add(s);let l=X0(gJ,{environmentInjector:z(Oi)});s.onDestroy(()=>{t7.delete(s),l.destroy()})}}isAbove(){return this.position.indexOf("below")===-1}isAfter(){return this.position.indexOf("before")===-1}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._inlineBadgeDescription?.remove()),this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description)}_isHostInteractive(){return this._interactivityChecker.isFocusable(this._elementRef.nativeElement,{ignoreVisibility:!0})}_createBadgeElement(){let e=this._renderer.createElement("span"),i="mat-badge-active";return e.setAttribute("id",`mat-badge-content-${this._id}`),e.setAttribute("aria-hidden","true"),e.classList.add(xk),this._animationMode==="NoopAnimations"&&e.classList.add("_mat-animation-noopable"),this._elementRef.nativeElement.appendChild(e),typeof requestAnimationFrame=="function"&&this._animationMode!=="NoopAnimations"?this._ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{e.classList.add(i)})}):e.classList.add(i),e}_updateRenderedContent(e){let i=`${e??""}`.trim();this._isInitialized&&i&&!this._badgeElement&&(this._badgeElement=this._createBadgeElement()),this._badgeElement&&(this._badgeElement.textContent=i),this._content=i}_updateDescription(e){this._ariaDescriber.removeDescription(this._elementRef.nativeElement,this.description),(!e||this._isHostInteractive())&&this._removeInlineDescription(),this._description=e,this._isHostInteractive()?this._ariaDescriber.describe(this._elementRef.nativeElement,e):this._updateInlineDescription()}_updateInlineDescription(){this._inlineBadgeDescription||(this._inlineBadgeDescription=this._document.createElement("span"),this._inlineBadgeDescription.classList.add("cdk-visually-hidden")),this._inlineBadgeDescription.textContent=this.description,this._badgeElement?.appendChild(this._inlineBadgeDescription)}_removeInlineDescription(){this._inlineBadgeDescription?.remove(),this._inlineBadgeDescription=void 0}_setColor(e){let i=this._elementRef.nativeElement.classList;i.remove(`mat-badge-${this._color}`),e&&i.add(`mat-badge-${e}`)}_clearExistingBadges(){let e=this._elementRef.nativeElement.querySelectorAll(`:scope > .${xk}`);for(let i of Array.from(e))i!==this._badgeElement&&i.remove()}static{this.\u0275fac=function(i){return new(i||t)(m(oe),m($),m(t2),m(tr),m(ot,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matBadge",""]],hostAttrs:[1,"mat-badge"],hostVars:20,hostBindings:function(i,r){i&2&&re("mat-badge-overlap",r.overlap)("mat-badge-above",r.isAbove())("mat-badge-below",!r.isAbove())("mat-badge-before",!r.isAfter())("mat-badge-after",r.isAfter())("mat-badge-small",r.size==="small")("mat-badge-medium",r.size==="medium")("mat-badge-large",r.size==="large")("mat-badge-hidden",r.hidden||!r.content)("mat-badge-disabled",r.disabled)},inputs:{color:[0,"matBadgeColor","color"],overlap:[2,"matBadgeOverlap","overlap",q],disabled:[2,"matBadgeDisabled","disabled",q],position:[0,"matBadgePosition","position"],content:[0,"matBadge","content"],description:[0,"matBadgeDescription","description"],size:[0,"matBadgeSize","size"],hidden:[2,"matBadgeHidden","hidden",q]},standalone:!0,features:[ye]})}}return t})(),wk=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ds,fe,fe]})}}return t})();var Dk=(t,n)=>[t,n];function vJ(t,n){t&1&&(p(0,"div",7),d(1,`
- `),p(2,"mat-icon",8),d(3,`
- `),p(4,"span",9),d(5),I(6,"translate"),f(),d(7,`
- `),f(),d(8,`
- `),p(9,"p"),d(10),I(11,"translate"),f(),d(12,`
- `),f()),t&2&&(g(5),E(P(6,2,"labels.menus.Notifications")),g(5),E(P(11,4,"labels.text.No notifications")))}function bJ(t,n){if(t&1&&(p(0,"button",10),d(1),R(2,"br"),d(3,`
- `),p(4,"span",11),d(5),f(),d(6,`
- `),f()),t&2){let e=n.$implicit,i=M();C("routerLink",cr(3,Dk,i.routeMap[e.objectType],e.objectId)),g(),ne(`
- `,e.content,"*"),g(4),ne("[",e.createdAt,"]")}}function yJ(t,n){if(t&1&&(p(0,"button",12),d(1),R(2,"br"),d(3,`
- `),p(4,"span",11),d(5),f(),d(6,`
- `),f()),t&2){let e=n.$implicit,i=M();C("routerLink",cr(3,Dk,i.routeMap[e.objectType],e.objectId)),g(),ne(`
- `,e.content,""),g(4),ne("[",e.createdAt,"]")}}var hbe=(()=>{class t{constructor(e){this.notificationsService=e,this.waitTime=mt.waitTimeForNotifications||60,this.readNotifications=[],this.displayedReadNotifications=[],this.unreadNotifications=[],this.routeMap={client:"/clients/",group:"/groups/",loan:"/loans-accounts/",center:"/centers/",shareAccount:"/shares-accounts/",fixedDeposit:"/fixed-deposits-accounts/",recurringDepositAccount:"/recurring-deposits-accounts/",savingsAccount:"/savings-accounts/",shareProduct:"/products/share-products/",loanProduct:"/products/loan-products/"},lo([this.notificationsService.getNotifications(!0,9),this.notificationsService.getNotifications(!1,9)]).subscribe(i=>{this.readNotifications=i[0].pageItems,this.unreadNotifications=i[1].pageItems,this.setNotifications()})}ngOnInit(){this.fetchUnreadNotifications()}ngOnDestroy(){this.destroy()}destroy(){clearTimeout(this.timer)}setNotifications(){let e=this.unreadNotifications.length;this.displayedReadNotifications=e<9?this.readNotifications.slice(0,9-e):[]}fetchUnreadNotifications(){this.notificationsService.getNotifications(!1,9).subscribe(e=>{this.unreadNotifications=this.unreadNotifications.concat(e.pageItems),this.setNotifications()}),this.timer=setTimeout(()=>{this.fetchUnreadNotifications()},this.waitTime*1e3)}menuClosed(){this.notificationsService.updateNotifications().subscribe(()=>{}),this.readNotifications=this.unreadNotifications.concat(this.readNotifications),this.unreadNotifications=[],this.setNotifications()}mockNotifications(){this.notificationsService.getMockUnreadNotification().subscribe(e=>{this.unreadNotifications=this.unreadNotifications.concat(e.pageItems),this.setNotifications()})}static{this.\u0275fac=function(i){return new(i||t)(m(Ck))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-notifications-tray"]],decls:16,vars:10,consts:[["notificationsMenu","matMenu"],["mat-icon-button","","matBadgeColor","warn","matBadgeSize","medium",1,"ml-1",3,"menuClosed","matTooltip","matMenuTriggerFor","matBadge","matBadgeHidden"],["icon","bell","size","lg"],[1,"mifosx-notifications-menu",3,"overlapTrigger"],["class","layout-column align-center-center no-notifications",4,"ngIf"],["mat-menu-item","","class","unread",3,"routerLink",4,"ngFor","ngForOf"],["mat-menu-item","",3,"routerLink",4,"ngFor","ngForOf"],[1,"layout-column","align-center-center","no-notifications"],[1,"no-notifications-icon"],[1,"material-icons"],["mat-menu-item","",1,"unread",3,"routerLink"],[1,"time"],["mat-menu-item","",3,"routerLink"]],template:function(i,r){if(i&1){let a=le();p(0,"button",1),I(1,"translate"),H("menuClosed",function(){return F(a),j(r.menuClosed())}),d(2,`
- `),R(3,"fa-icon",2),d(4,`
-`),f(),d(5,`
-
-`),p(6,"mat-menu",3,0),d(8,`
- `),w(9,vJ,13,6,"div",4),d(10,`
-
- `),w(11,bJ,7,6,"button",5),d(12,`
-
- `),w(13,yJ,7,6,"button",6),d(14,`
-`),f(),d(15,`
-`)}if(i&2){let a=Ct(7);Bt("matTooltip",P(1,8,"tooltips.Notifications")),C("matMenuTriggerFor",a)("matBadge",r.unreadNotifications.length)("matBadgeHidden",!r.unreadNotifications.length),g(6),C("overlapTrigger",!1),g(3),C("ngIf",r.unreadNotifications.length===0),g(2),C("ngForOf",r.unreadNotifications),g(2),C("ngForOf",r.displayedReadNotifications)}},dependencies:[ni,Re,Ut,bn,Yr,Hs,zc,Vh,qr,Mk,Pe],styles:[`.mifosx-notifications-menu{max-height:20rem!important;width:12.5rem!important}.mifosx-notifications-menu .no-notifications{padding:16px}.mifosx-notifications-menu .notification-icon{font-size:24px;opacity:.8}.mifosx-notifications-menu .mat-menu-content{padding:0!important}.mifosx-notifications-menu [mat-menu-item]{height:5rem;line-height:2.2rem}.mifosx-notifications-menu [mat-menu-item] .time{font-size:small}.mifosx-notifications-menu [mat-menu-item].unread{background-color:#e0f7ff!important}
-`],encapsulation:2})}}return t})();var pt="primary",e4=Symbol("RouteTitle"),o7=class{constructor(n){this.params=n||{}}has(n){return Object.prototype.hasOwnProperty.call(this.params,n)}get(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e[0]:e}return null}getAll(n){if(this.has(n)){let e=this.params[n];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}};function k2(t){return new o7(t)}function CJ(t,n,e){let i=e.path.split("/");if(i.length>t.length||e.pathMatch==="full"&&(n.hasChildren()||i.lengthi[a]===r)}else return t===n}function Rk(t){return t.length>0?t[t.length-1]:null}function Ns(t){return Li(t)?t:us(t)?Yt(Promise.resolve(t)):ce(t)}var MJ={exact:Fk,subset:jk},Nk={exact:wJ,subset:DJ,ignored:()=>!0};function Sk(t,n,e){return MJ[e.paths](t.root,n.root,e.matrixParams)&&Nk[e.queryParams](t.queryParams,n.queryParams)&&!(e.fragment==="exact"&&t.fragment!==n.fragment)}function wJ(t,n){return Ya(t,n)}function Fk(t,n,e){if(!Hc(t.segments,n.segments)||!Nh(t.segments,n.segments,e)||t.numberOfChildren!==n.numberOfChildren)return!1;for(let i in n.children)if(!t.children[i]||!Fk(t.children[i],n.children[i],e))return!1;return!0}function DJ(t,n){return Object.keys(n).length<=Object.keys(t).length&&Object.keys(n).every(e=>Hk(t[e],n[e]))}function jk(t,n,e){return Bk(t,n,n.segments,e)}function Bk(t,n,e,i){if(t.segments.length>e.length){let r=t.segments.slice(0,e.length);return!(!Hc(r,e)||n.hasChildren()||!Nh(r,e,i))}else if(t.segments.length===e.length){if(!Hc(t.segments,e)||!Nh(t.segments,e,i))return!1;for(let r in n.children)if(!t.children[r]||!jk(t.children[r],n.children[r],i))return!1;return!0}else{let r=e.slice(0,t.segments.length),a=e.slice(t.segments.length);return!Hc(t.segments,r)||!Nh(t.segments,r,i)||!t.children[pt]?!1:Bk(t.children[pt],n,a,i)}}function Nh(t,n,e){return n.every((i,r)=>Nk[e](t[r].parameters,i.parameters))}var Fo=class{constructor(n=new $t([],{}),e={},i=null){this.root=n,this.queryParams=e,this.fragment=i}get queryParamMap(){return this._queryParamMap??=k2(this.queryParams),this._queryParamMap}toString(){return IJ.serialize(this)}},$t=class{constructor(n,e){this.segments=n,this.children=e,this.parent=null,Object.values(e).forEach(i=>i.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Fh(this)}},Lc=class{constructor(n,e){this.path=n,this.parameters=e}get parameterMap(){return this._parameterMap??=k2(this.parameters),this._parameterMap}toString(){return $k(this)}};function SJ(t,n){return Hc(t,n)&&t.every((e,i)=>Ya(e.parameters,n[i].parameters))}function Hc(t,n){return t.length!==n.length?!1:t.every((e,i)=>e.path===n[i].path)}function kJ(t,n){let e=[];return Object.entries(t.children).forEach(([i,r])=>{i===pt&&(e=e.concat(n(r,i)))}),Object.entries(t.children).forEach(([i,r])=>{i!==pt&&(e=e.concat(n(r,i)))}),e}var t4=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>new I2,providedIn:"root"})}}return t})(),I2=class{parse(n){let e=new l7(n);return new Fo(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(n){let e=`/${jd(n.root,!0)}`,i=PJ(n.queryParams),r=typeof n.fragment=="string"?`#${EJ(n.fragment)}`:"";return`${e}${i}${r}`}},IJ=new I2;function Fh(t){return t.segments.map(n=>$k(n)).join("/")}function jd(t,n){if(!t.hasChildren())return Fh(t);if(n){let e=t.children[pt]?jd(t.children[pt],!1):"",i=[];return Object.entries(t.children).forEach(([r,a])=>{r!==pt&&i.push(`${r}:${jd(a,!1)}`)}),i.length>0?`${e}(${i.join("//")})`:e}else{let e=kJ(t,(i,r)=>r===pt?[jd(t.children[pt],!1)]:[`${r}:${jd(i,!1)}`]);return Object.keys(t.children).length===1&&t.children[pt]!=null?`${Fh(t)}/${e[0]}`:`${Fh(t)}/(${e.join("//")})`}}function Uk(t){return encodeURIComponent(t).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Hh(t){return Uk(t).replace(/%3B/gi,";")}function EJ(t){return encodeURI(t)}function c7(t){return Uk(t).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function jh(t){return decodeURIComponent(t)}function kk(t){return jh(t.replace(/\+/g,"%20"))}function $k(t){return`${c7(t.path)}${OJ(t.parameters)}`}function OJ(t){return Object.entries(t).map(([n,e])=>`;${c7(n)}=${c7(e)}`).join("")}function PJ(t){let n=Object.entries(t).map(([e,i])=>Array.isArray(i)?i.map(r=>`${Hh(e)}=${Hh(r)}`).join("&"):`${Hh(e)}=${Hh(i)}`).filter(e=>e);return n.length?`?${n.join("&")}`:""}var TJ=/^[^\/()?;#]+/;function i7(t){let n=t.match(TJ);return n?n[0]:""}var VJ=/^[^\/()?;=#]+/;function AJ(t){let n=t.match(VJ);return n?n[0]:""}var zJ=/^[^=?]+/;function LJ(t){let n=t.match(zJ);return n?n[0]:""}var HJ=/^[^]+/;function RJ(t){let n=t.match(HJ);return n?n[0]:""}var l7=class{constructor(n){this.url=n,this.remaining=n}parseRootSegment(){return this.consumeOptional("/"),this.remaining===""||this.peekStartsWith("?")||this.peekStartsWith("#")?new $t([],{}):new $t([],this.parseChildren())}parseQueryParams(){let 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("/");let 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 i={};return this.peekStartsWith("(")&&(i=this.parseParens(!1)),(n.length>0||Object.keys(e).length>0)&&(i[pt]=new $t(n,e)),i}parseSegment(){let n=i7(this.remaining);if(n===""&&this.peekStartsWith(";"))throw new ke(4009,!1);return this.capture(n),new Lc(jh(n),this.parseMatrixParams())}parseMatrixParams(){let n={};for(;this.consumeOptional(";");)this.parseParam(n);return n}parseParam(n){let e=AJ(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let r=i7(this.remaining);r&&(i=r,this.capture(i))}n[jh(e)]=jh(i)}parseQueryParam(n){let e=LJ(this.remaining);if(!e)return;this.capture(e);let i="";if(this.consumeOptional("=")){let o=RJ(this.remaining);o&&(i=o,this.capture(i))}let r=kk(e),a=kk(i);if(n.hasOwnProperty(r)){let o=n[r];Array.isArray(o)||(o=[o],n[r]=o),o.push(a)}else n[r]=a}parseParens(n){let e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){let i=i7(this.remaining),r=this.remaining[i.length];if(r!=="/"&&r!==")"&&r!==";")throw new ke(4010,!1);let a;i.indexOf(":")>-1?(a=i.slice(0,i.indexOf(":")),this.capture(a),this.capture(":")):n&&(a=pt);let o=this.parseChildren();e[a]=Object.keys(o).length===1?o[pt]:new $t([],o),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):!1}capture(n){if(!this.consumeOptional(n))throw new ke(4011,!1)}};function Gk(t){return t.segments.length>0?new $t([],{[pt]:t}):t}function Wk(t){let n={};for(let[i,r]of Object.entries(t.children)){let a=Wk(r);if(i===pt&&a.segments.length===0&&a.hasChildren())for(let[o,s]of Object.entries(a.children))n[o]=s;else(a.segments.length>0||a.hasChildren())&&(n[i]=a)}let e=new $t(t.segments,n);return NJ(e)}function NJ(t){if(t.numberOfChildren===1&&t.children[pt]){let n=t.children[pt];return new $t(t.segments.concat(n.segments),n.children)}return t}function Rc(t){return t instanceof Fo}function FJ(t,n,e=null,i=null){let r=qk(t);return Yk(r,n,e,i)}function qk(t){let n;function e(a){let o={};for(let l of a.children){let h=e(l);o[l.outlet]=h}let s=new $t(a.url,o);return a===t&&(n=s),s}let i=e(t.root),r=Gk(i);return n??r}function Yk(t,n,e,i){let r=t;for(;r.parent;)r=r.parent;if(n.length===0)return n7(r,r,r,e,i);let a=jJ(n);if(a.toRoot())return n7(r,r,new $t([],{}),e,i);let o=BJ(a,r,t),s=o.processChildren?$d(o.segmentGroup,o.index,a.commands):Kk(o.segmentGroup,o.index,a.commands);return n7(r,o.segmentGroup,s,e,i)}function Bh(t){return typeof t=="object"&&t!=null&&!t.outlets&&!t.segmentPath}function qd(t){return typeof t=="object"&&t!=null&&t.outlets}function n7(t,n,e,i,r){let a={};i&&Object.entries(i).forEach(([l,h])=>{a[l]=Array.isArray(h)?h.map(v=>`${v}`):`${h}`});let o;t===n?o=e:o=Qk(t,n,e);let s=Gk(Wk(o));return new Fo(s,a,r)}function Qk(t,n,e){let i={};return Object.entries(t.children).forEach(([r,a])=>{a===n?i[r]=e:i[r]=Qk(a,n,e)}),new $t(t.segments,i)}var Uh=class{constructor(n,e,i){if(this.isAbsolute=n,this.numberOfDoubleDots=e,this.commands=i,n&&i.length>0&&Bh(i[0]))throw new ke(4003,!1);let r=i.find(qd);if(r&&r!==Rk(i))throw new ke(4004,!1)}toRoot(){return this.isAbsolute&&this.commands.length===1&&this.commands[0]=="/"}};function jJ(t){if(typeof t[0]=="string"&&t.length===1&&t[0]==="/")return new Uh(!0,0,t);let n=0,e=!1,i=t.reduce((r,a,o)=>{if(typeof a=="object"&&a!=null){if(a.outlets){let s={};return Object.entries(a.outlets).forEach(([l,h])=>{s[l]=typeof h=="string"?h.split("/"):h}),[...r,{outlets:s}]}if(a.segmentPath)return[...r,a.segmentPath]}return typeof a!="string"?[...r,a]:o===0?(a.split("/").forEach((s,l)=>{l==0&&s==="."||(l==0&&s===""?e=!0:s===".."?n++:s!=""&&r.push(s))}),r):[...r,a]},[]);return new Uh(e,n,i)}var w2=class{constructor(n,e,i){this.segmentGroup=n,this.processChildren=e,this.index=i}};function BJ(t,n,e){if(t.isAbsolute)return new w2(n,!0,0);if(!e)return new w2(n,!1,NaN);if(e.parent===null)return new w2(e,!0,0);let i=Bh(t.commands[0])?0:1,r=e.segments.length-1+i;return UJ(e,r,t.numberOfDoubleDots)}function UJ(t,n,e){let i=t,r=n,a=e;for(;a>r;){if(a-=r,i=i.parent,!i)throw new ke(4005,!1);r=i.segments.length}return new w2(i,!1,r-a)}function $J(t){return qd(t[0])?t[0].outlets:{[pt]:t}}function Kk(t,n,e){if(t??=new $t([],{}),t.segments.length===0&&t.hasChildren())return $d(t,n,e);let i=GJ(t,n,e),r=e.slice(i.commandIndex);if(i.match&&i.pathIndexa!==pt)&&t.children[pt]&&t.numberOfChildren===1&&t.children[pt].segments.length===0){let a=$d(t.children[pt],n,e);return new $t(t.segments,a.children)}return Object.entries(i).forEach(([a,o])=>{typeof o=="string"&&(o=[o]),o!==null&&(r[a]=Kk(t.children[a],n,o))}),Object.entries(t.children).forEach(([a,o])=>{i[a]===void 0&&(r[a]=o)}),new $t(t.segments,r)}}function GJ(t,n,e){let i=0,r=n,a={match:!1,pathIndex:0,commandIndex:0};for(;r=e.length)return a;let o=t.segments[r],s=e[i];if(qd(s))break;let l=`${s}`,h=i0&&l===void 0)break;if(l&&h&&typeof h=="object"&&h.outlets===void 0){if(!Ek(l,h,o))return a;i+=2}else{if(!Ek(l,{},o))return a;i++}r++}return{match:!0,pathIndex:r,commandIndex:i}}function d7(t,n,e){let i=t.segments.slice(0,n),r=0;for(;r{typeof i=="string"&&(i=[i]),i!==null&&(n[e]=d7(new $t([],{}),0,i))}),n}function Ik(t){let n={};return Object.entries(t).forEach(([e,i])=>n[e]=`${i}`),n}function Ek(t,n,e){return t==e.path&&Ya(n,e.parameters)}var Gd="imperative",an=function(t){return t[t.NavigationStart=0]="NavigationStart",t[t.NavigationEnd=1]="NavigationEnd",t[t.NavigationCancel=2]="NavigationCancel",t[t.NavigationError=3]="NavigationError",t[t.RoutesRecognized=4]="RoutesRecognized",t[t.ResolveStart=5]="ResolveStart",t[t.ResolveEnd=6]="ResolveEnd",t[t.GuardsCheckStart=7]="GuardsCheckStart",t[t.GuardsCheckEnd=8]="GuardsCheckEnd",t[t.RouteConfigLoadStart=9]="RouteConfigLoadStart",t[t.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",t[t.ChildActivationStart=11]="ChildActivationStart",t[t.ChildActivationEnd=12]="ChildActivationEnd",t[t.ActivationStart=13]="ActivationStart",t[t.ActivationEnd=14]="ActivationEnd",t[t.Scroll=15]="Scroll",t[t.NavigationSkipped=16]="NavigationSkipped",t}(an||{}),Qr=class{constructor(n,e){this.id=n,this.url=e}},E2=class extends Qr{constructor(n,e,i="imperative",r=null){super(n,e),this.type=an.NavigationStart,this.navigationTrigger=i,this.restoredState=r}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}},ga=class extends Qr{constructor(n,e,i){super(n,e),this.urlAfterRedirects=i,this.type=an.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}},Sr=function(t){return t[t.Redirect=0]="Redirect",t[t.SupersededByNewNavigation=1]="SupersededByNewNavigation",t[t.NoDataFromResolver=2]="NoDataFromResolver",t[t.GuardRejected=3]="GuardRejected",t}(Sr||{}),$h=function(t){return t[t.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",t[t.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",t}($h||{}),No=class extends Qr{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=an.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}},Rs=class extends Qr{constructor(n,e,i,r){super(n,e),this.reason=i,this.code=r,this.type=an.NavigationSkipped}},Yd=class extends Qr{constructor(n,e,i,r){super(n,e),this.error=i,this.target=r,this.type=an.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}},Gh=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},u7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},h7=class extends Qr{constructor(n,e,i,r,a){super(n,e),this.urlAfterRedirects=i,this.state=r,this.shouldActivate=a,this.type=an.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}},m7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},p7=class extends Qr{constructor(n,e,i,r){super(n,e),this.urlAfterRedirects=i,this.state=r,this.type=an.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}},f7=class{constructor(n){this.route=n,this.type=an.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}},g7=class{constructor(n){this.route=n,this.type=an.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}},_7=class{constructor(n){this.snapshot=n,this.type=an.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},v7=class{constructor(n){this.snapshot=n,this.type=an.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},b7=class{constructor(n){this.snapshot=n,this.type=an.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},y7=class{constructor(n){this.snapshot=n,this.type=an.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}},Wh=class{constructor(n,e,i){this.routerEvent=n,this.position=e,this.anchor=i,this.type=an.Scroll}toString(){let n=this.position?`${this.position[0]}, ${this.position[1]}`:null;return`Scroll(anchor: '${this.anchor}', position: '${n}')`}},Qd=class{},O2=class{constructor(n,e){this.url=n,this.navigationBehaviorOptions=e}};function qJ(t,n){return t.providers&&!t._injector&&(t._injector=R0(t.providers,n,`Route: ${t.path}`)),t._injector??n}function fa(t){return t.outlet||pt}function YJ(t,n){let e=t.filter(i=>fa(i)===n);return e.push(...t.filter(i=>fa(i)!==n)),e}function i4(t){if(!t)return null;if(t.routeConfig?._injector)return t.routeConfig._injector;for(let n=t.parent;n;n=n.parent){let e=n.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}var C7=class{get injector(){return i4(this.route?.snapshot)??this.rootInjector}set injector(n){}constructor(n){this.rootInjector=n,this.outlet=null,this.route=null,this.children=new n4(this.rootInjector),this.attachRef=null}},n4=(()=>{class t{constructor(e){this.rootInjector=e,this.contexts=new Map}onChildOutletCreated(e,i){let r=this.getOrCreateContext(e);r.outlet=i,this.contexts.set(e,r)}onChildOutletDestroyed(e){let i=this.getContext(e);i&&(i.outlet=null,i.attachRef=null)}onOutletDeactivated(){let e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let i=this.getContext(e);return i||(i=new C7(this.rootInjector),this.contexts.set(e,i)),i}getContext(e){return this.contexts.get(e)||null}static{this.\u0275fac=function(i){return new(i||t)(k(Oi))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),qh=class{constructor(n){this._root=n}get root(){return this._root.value}parent(n){let e=this.pathFromRoot(n);return e.length>1?e[e.length-2]:null}children(n){let e=x7(n,this._root);return e?e.children.map(i=>i.value):[]}firstChild(n){let e=x7(n,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(n){let e=M7(n,this._root);return e.length<2?[]:e[e.length-2].children.map(r=>r.value).filter(r=>r!==n)}pathFromRoot(n){return M7(n,this._root).map(e=>e.value)}};function x7(t,n){if(t===n.value)return n;for(let e of n.children){let i=x7(t,e);if(i)return i}return null}function M7(t,n){if(t===n.value)return[n];for(let e of n.children){let i=M7(t,e);if(i.length)return i.unshift(n),i}return[]}var Dr=class{constructor(n,e){this.value=n,this.children=e}toString(){return`TreeNode(${this.value})`}};function M2(t){let n={};return t&&t.children.forEach(e=>n[e.value.outlet]=e),n}var Yh=class extends qh{constructor(n,e){super(n),this.snapshot=e,T7(this,n)}toString(){return this.snapshot.toString()}};function Zk(t){let n=QJ(t),e=new at([new Lc("",{})]),i=new at({}),r=new at({}),a=new at({}),o=new at(""),s=new kr(e,i,a,o,r,pt,t,n.root);return s.snapshot=n.root,new Yh(new Dr(s,[]),n)}function QJ(t){let n={},e={},i={},r="",a=new D2([],n,i,r,e,pt,t,null,{});return new Kh("",new Dr(a,[]))}var kr=class{constructor(n,e,i,r,a,o,s,l){this.urlSubject=n,this.paramsSubject=e,this.queryParamsSubject=i,this.fragmentSubject=r,this.dataSubject=a,this.outlet=o,this.component=s,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(me(h=>h[e4]))??ce(void 0),this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a}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.params.pipe(me(n=>k2(n))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe(me(n=>k2(n))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}};function Qh(t,n,e="emptyOnly"){let i,{routeConfig:r}=t;return n!==null&&(e==="always"||r?.path===""||!n.component&&!n.routeConfig?.loadComponent)?i={params:Y(Y({},n.params),t.params),data:Y(Y({},n.data),t.data),resolve:Y(Y(Y(Y({},t.data),n.data),r?.data),t._resolvedData)}:i={params:Y({},t.params),data:Y({},t.data),resolve:Y(Y({},t.data),t._resolvedData??{})},r&&Jk(r)&&(i.resolve[e4]=r.title),i}var D2=class{get title(){return this.data?.[e4]}constructor(n,e,i,r,a,o,s,l,h){this.url=n,this.params=e,this.queryParams=i,this.fragment=r,this.data=a,this.outlet=o,this.component=s,this.routeConfig=l,this._resolve=h}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??=k2(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=k2(this.queryParams),this._queryParamMap}toString(){let n=this.url.map(i=>i.toString()).join("/"),e=this.routeConfig?this.routeConfig.path:"";return`Route(url:'${n}', path:'${e}')`}},Kh=class extends qh{constructor(n,e){super(e),this.url=n,T7(this,e)}toString(){return Xk(this._root)}};function T7(t,n){n.value._routerState=t,n.children.forEach(e=>T7(t,e))}function Xk(t){let n=t.children.length>0?` { ${t.children.map(Xk).join(", ")} } `:"";return`${t.value}${n}`}function r7(t){if(t.snapshot){let n=t.snapshot,e=t._futureSnapshot;t.snapshot=e,Ya(n.queryParams,e.queryParams)||t.queryParamsSubject.next(e.queryParams),n.fragment!==e.fragment&&t.fragmentSubject.next(e.fragment),Ya(n.params,e.params)||t.paramsSubject.next(e.params),xJ(n.url,e.url)||t.urlSubject.next(e.url),Ya(n.data,e.data)||t.dataSubject.next(e.data)}else t.snapshot=t._futureSnapshot,t.dataSubject.next(t._futureSnapshot.data)}function w7(t,n){let e=Ya(t.params,n.params)&&SJ(t.url,n.url),i=!t.parent!=!n.parent;return e&&!i&&(!t.parent||w7(t.parent,n.parent))}function Jk(t){return typeof t.title=="string"||t.title===null}var KJ=(()=>{class t{constructor(){this.activated=null,this._activatedRoute=null,this.name=pt,this.activateEvents=new B,this.deactivateEvents=new B,this.attachEvents=new B,this.detachEvents=new B,this.parentContexts=z(n4),this.location=z(Xe),this.changeDetector=z(pe),this.inputBinder=z(tm,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){let{firstChange:i,previousValue:r}=e.name;if(i)return;this.isTrackedInParentContexts(r)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(r)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;let e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ke(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ke(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ke(4012,!1);this.location.detach();let 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.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){let e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,i){if(this.isActivated)throw new ke(4013,!1);this._activatedRoute=e;let r=this.location,o=e.snapshot.component,s=this.parentContexts.getOrCreateContext(this.name).children,l=new D7(e,s,r.injector);this.activated=r.createComponent(o,{index:r.length,injector:l,environmentInjector:i}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[Te]})}}return t})(),D7=class t{__ngOutletInjector(n){return new t(this.route,this.childContexts,n)}constructor(n,e,i){this.route=n,this.childContexts=e,this.parent=i}get(n,e){return n===kr?this.route:n===n4?this.childContexts:this.parent.get(n,e)}},tm=new L(""),Ok=(()=>{class t{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){let{activatedRoute:i}=e,r=on([i.queryParams,i.params,i.data]).pipe(dt(([a,o,s],l)=>(s=Y(Y(Y({},a),o),s),l===0?ce(s):Promise.resolve(s)))).subscribe(a=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==i||i.component===null){this.unsubscribeFromRouteData(e);return}let o=nx(i.component);if(!o){this.unsubscribeFromRouteData(e);return}for(let{templateName:s}of o.inputs)e.activatedComponentRef.setInput(s,a[s])});this.outletDataSubscriptions.set(e,r)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function ZJ(t,n,e){let i=Kd(t,n._root,e?e._root:void 0);return new Yh(i,n)}function Kd(t,n,e){if(e&&t.shouldReuseRoute(n.value,e.value.snapshot)){let i=e.value;i._futureSnapshot=n.value;let r=XJ(t,n,e);return new Dr(i,r)}else{if(t.shouldAttach(n.value)){let a=t.retrieve(n.value);if(a!==null){let o=a.route;return o.value._futureSnapshot=n.value,o.children=n.children.map(s=>Kd(t,s)),o}}let i=JJ(n.value),r=n.children.map(a=>Kd(t,a));return new Dr(i,r)}}function XJ(t,n,e){return n.children.map(i=>{for(let r of e.children)if(t.shouldReuseRoute(i.value,r.value.snapshot))return Kd(t,i,r);return Kd(t,i)})}function JJ(t){return new kr(new at(t.url),new at(t.params),new at(t.queryParams),new at(t.fragment),new at(t.data),t.outlet,t.component,t)}var Zd=class{constructor(n,e){this.redirectTo=n,this.navigationBehaviorOptions=e}},eI="ngNavigationCancelingError";function Zh(t,n){let{redirectTo:e,navigationBehaviorOptions:i}=Rc(n)?{redirectTo:n,navigationBehaviorOptions:void 0}:n,r=tI(!1,Sr.Redirect);return r.url=e,r.navigationBehaviorOptions=i,r}function tI(t,n){let e=new Error(`NavigationCancelingError: ${t||""}`);return e[eI]=!0,e.cancellationCode=n,e}function eee(t){return iI(t)&&Rc(t.url)}function iI(t){return!!t&&t[eI]}var tee=(t,n,e,i)=>me(r=>(new S7(n,r.targetRouterState,r.currentRouterState,e,i).activate(t),r)),S7=class{constructor(n,e,i,r,a){this.routeReuseStrategy=n,this.futureState=e,this.currState=i,this.forwardEvent=r,this.inputBindingEnabled=a}activate(n){let e=this.futureState._root,i=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,i,n),r7(this.futureState.root),this.activateChildRoutes(e,i,n)}deactivateChildRoutes(n,e,i){let r=M2(e);n.children.forEach(a=>{let o=a.value.outlet;this.deactivateRoutes(a,r[o],i),delete r[o]}),Object.values(r).forEach(a=>{this.deactivateRouteAndItsChildren(a,i)})}deactivateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r===a)if(r.component){let o=i.getContext(r.outlet);o&&this.deactivateChildRoutes(n,e,o.children)}else this.deactivateChildRoutes(n,e,i);else a&&this.deactivateRouteAndItsChildren(e,i)}deactivateRouteAndItsChildren(n,e){n.value.component&&this.routeReuseStrategy.shouldDetach(n.value.snapshot)?this.detachAndStoreRouteSubtree(n,e):this.deactivateRouteAndOutlet(n,e)}detachAndStoreRouteSubtree(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=M2(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);if(i&&i.outlet){let o=i.outlet.detach(),s=i.children.onOutletDeactivated();this.routeReuseStrategy.store(n.value.snapshot,{componentRef:o,route:n,contexts:s})}}deactivateRouteAndOutlet(n,e){let i=e.getContext(n.value.outlet),r=i&&n.value.component?i.children:e,a=M2(n);for(let o of Object.values(a))this.deactivateRouteAndItsChildren(o,r);i&&(i.outlet&&(i.outlet.deactivate(),i.children.onOutletDeactivated()),i.attachRef=null,i.route=null)}activateChildRoutes(n,e,i){let r=M2(e);n.children.forEach(a=>{this.activateRoutes(a,r[a.value.outlet],i),this.forwardEvent(new y7(a.value.snapshot))}),n.children.length&&this.forwardEvent(new v7(n.value.snapshot))}activateRoutes(n,e,i){let r=n.value,a=e?e.value:null;if(r7(r),r===a)if(r.component){let o=i.getOrCreateContext(r.outlet);this.activateChildRoutes(n,e,o.children)}else this.activateChildRoutes(n,e,i);else if(r.component){let o=i.getOrCreateContext(r.outlet);if(this.routeReuseStrategy.shouldAttach(r.snapshot)){let s=this.routeReuseStrategy.retrieve(r.snapshot);this.routeReuseStrategy.store(r.snapshot,null),o.children.onOutletReAttached(s.contexts),o.attachRef=s.componentRef,o.route=s.route.value,o.outlet&&o.outlet.attach(s.componentRef,s.route.value),r7(s.route.value),this.activateChildRoutes(n,null,o.children)}else o.attachRef=null,o.route=r,o.outlet&&o.outlet.activateWith(r,o.injector),this.activateChildRoutes(n,null,o.children)}else this.activateChildRoutes(n,null,i)}},Xh=class{constructor(n){this.path=n,this.route=this.path[this.path.length-1]}},S2=class{constructor(n,e){this.component=n,this.route=e}};function iee(t,n,e){let i=t._root,r=n?n._root:null;return Bd(i,r,e,[i.value])}function nee(t){let n=t.routeConfig?t.routeConfig.canActivateChild:null;return!n||n.length===0?null:{node:t,guards:n}}function T2(t,n){let e=Symbol(),i=n.get(t,e);return i===e?typeof t=="function"&&!ob(t)?t:n.get(t):i}function Bd(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=M2(n);return t.children.forEach(o=>{ree(o,a[o.value.outlet],e,i.concat([o.value]),r),delete a[o.value.outlet]}),Object.entries(a).forEach(([o,s])=>Wd(s,e.getContext(o),r)),r}function ree(t,n,e,i,r={canDeactivateChecks:[],canActivateChecks:[]}){let a=t.value,o=n?n.value:null,s=e?e.getContext(t.value.outlet):null;if(o&&a.routeConfig===o.routeConfig){let l=aee(o,a,a.routeConfig.runGuardsAndResolvers);l?r.canActivateChecks.push(new Xh(i)):(a.data=o.data,a._resolvedData=o._resolvedData),a.component?Bd(t,n,s?s.children:null,i,r):Bd(t,n,e,i,r),l&&s&&s.outlet&&s.outlet.isActivated&&r.canDeactivateChecks.push(new S2(s.outlet.component,o))}else o&&Wd(n,s,r),r.canActivateChecks.push(new Xh(i)),a.component?Bd(t,null,s?s.children:null,i,r):Bd(t,null,e,i,r);return r}function aee(t,n,e){if(typeof e=="function")return e(t,n);switch(e){case"pathParamsChange":return!Hc(t.url,n.url);case"pathParamsOrQueryParamsChange":return!Hc(t.url,n.url)||!Ya(t.queryParams,n.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!w7(t,n)||!Ya(t.queryParams,n.queryParams);case"paramsChange":default:return!w7(t,n)}}function Wd(t,n,e){let i=M2(t),r=t.value;Object.entries(i).forEach(([a,o])=>{r.component?n?Wd(o,n.children.getContext(a),e):Wd(o,null,e):Wd(o,n,e)}),r.component?n&&n.outlet&&n.outlet.isActivated?e.canDeactivateChecks.push(new S2(n.outlet.component,r)):e.canDeactivateChecks.push(new S2(null,r)):e.canDeactivateChecks.push(new S2(null,r))}function r4(t){return typeof t=="function"}function oee(t){return typeof t=="boolean"}function see(t){return t&&r4(t.canLoad)}function cee(t){return t&&r4(t.canActivate)}function lee(t){return t&&r4(t.canActivateChild)}function dee(t){return t&&r4(t.canDeactivate)}function uee(t){return t&&r4(t.canMatch)}function nI(t){return t instanceof co||t?.name==="EmptyError"}var Rh=Symbol("INITIAL_VALUE");function P2(){return dt(t=>on(t.map(n=>n.pipe(Ue(1),Qe(Rh)))).pipe(me(n=>{for(let e of n)if(e!==!0){if(e===Rh)return Rh;if(e===!1||hee(e))return e}return!0}),Ve(n=>n!==Rh),Ue(1)))}function hee(t){return Rc(t)||t instanceof Zd}function mee(t,n){return mi(e=>{let{targetSnapshot:i,currentSnapshot:r,guards:{canActivateChecks:a,canDeactivateChecks:o}}=e;return o.length===0&&a.length===0?ce(Ge(Y({},e),{guardsResult:!0})):pee(o,i,r,t).pipe(mi(s=>s&&oee(s)?fee(i,a,t,n):ce(s)),me(s=>Ge(Y({},e),{guardsResult:s})))})}function pee(t,n,e,i){return Yt(t).pipe(mi(r=>yee(r.component,r.route,e,n,i)),Da(r=>r!==!0,!0))}function fee(t,n,e,i){return Yt(n).pipe(Yn(r=>xn(_ee(r.route.parent,i),gee(r.route,i),bee(t,r.path,e),vee(t,r.route,e))),Da(r=>r!==!0,!0))}function gee(t,n){return t!==null&&n&&n(new b7(t)),ce(!0)}function _ee(t,n){return t!==null&&n&&n(new _7(t)),ce(!0)}function vee(t,n,e){let i=n.routeConfig?n.routeConfig.canActivate:null;if(!i||i.length===0)return ce(!0);let r=i.map(a=>Hn(()=>{let o=i4(n)??e,s=T2(a,o),l=cee(s)?s.canActivate(n,t):Vr(o,()=>s(n,t));return Ns(l).pipe(Da())}));return ce(r).pipe(P2())}function bee(t,n,e){let i=n[n.length-1],a=n.slice(0,n.length-1).reverse().map(o=>nee(o)).filter(o=>o!==null).map(o=>Hn(()=>{let s=o.guards.map(l=>{let h=i4(o.node)??e,v=T2(l,h),y=lee(v)?v.canActivateChild(i,t):Vr(h,()=>v(i,t));return Ns(y).pipe(Da())});return ce(s).pipe(P2())}));return ce(a).pipe(P2())}function yee(t,n,e,i,r){let a=n&&n.routeConfig?n.routeConfig.canDeactivate:null;if(!a||a.length===0)return ce(!0);let o=a.map(s=>{let l=i4(n)??r,h=T2(s,l),v=dee(h)?h.canDeactivate(t,n,e,i):Vr(l,()=>h(t,n,e,i));return Ns(v).pipe(Da())});return ce(o).pipe(P2())}function Cee(t,n,e,i){let r=n.canLoad;if(r===void 0||r.length===0)return ce(!0);let a=r.map(o=>{let s=T2(o,t),l=see(s)?s.canLoad(n,e):Vr(t,()=>s(n,e));return Ns(l)});return ce(a).pipe(P2(),rI(i))}function rI(t){return Ep(yt(n=>{if(typeof n!="boolean")throw Zh(t,n)}),me(n=>n===!0))}function xee(t,n,e,i){let r=n.canMatch;if(!r||r.length===0)return ce(!0);let a=r.map(o=>{let s=T2(o,t),l=uee(s)?s.canMatch(n,e):Vr(t,()=>s(n,e));return Ns(l)});return ce(a).pipe(P2(),rI(i))}var Xd=class{constructor(n){this.segmentGroup=n||null}},Jd=class extends Error{constructor(n){super(),this.urlTree=n}};function x2(t){return Ko(new Xd(t))}function Mee(t){return Ko(new ke(4e3,!1))}function wee(t){return Ko(tI(!1,Sr.GuardRejected))}var k7=class{constructor(n,e){this.urlSerializer=n,this.urlTree=e}lineralizeSegments(n,e){let i=[],r=e.root;for(;;){if(i=i.concat(r.segments),r.numberOfChildren===0)return ce(i);if(r.numberOfChildren>1||!r.children[pt])return Mee(`${n.redirectTo}`);r=r.children[pt]}}applyRedirectCommands(n,e,i,r,a){if(typeof e!="string"){let s=e,{queryParams:l,fragment:h,routeConfig:v,url:y,outlet:D,params:S,data:V,title:K}=r,te=Vr(a,()=>s({params:S,data:V,queryParams:l,fragment:h,routeConfig:v,url:y,outlet:D,title:K}));if(te instanceof Fo)throw new Jd(te);e=te}let o=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),n,i);if(e[0]==="/")throw new Jd(o);return o}applyRedirectCreateUrlTree(n,e,i,r){let a=this.createSegmentGroup(n,e.root,i,r);return new Fo(a,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(n,e){let i={};return Object.entries(n).forEach(([r,a])=>{if(typeof a=="string"&&a[0]===":"){let s=a.substring(1);i[r]=e[s]}else i[r]=a}),i}createSegmentGroup(n,e,i,r){let a=this.createSegments(n,e.segments,i,r),o={};return Object.entries(e.children).forEach(([s,l])=>{o[s]=this.createSegmentGroup(n,l,i,r)}),new $t(a,o)}createSegments(n,e,i,r){return e.map(a=>a.path[0]===":"?this.findPosParam(n,a,r):this.findOrReturn(a,i))}findPosParam(n,e,i){let r=i[e.path.substring(1)];if(!r)throw new ke(4001,!1);return r}findOrReturn(n,e){let i=0;for(let r of e){if(r.path===n.path)return e.splice(i),r;i++}return n}},I7={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Dee(t,n,e,i,r){let a=aI(t,n,e);return a.matched?(i=qJ(n,i),xee(i,n,e,r).pipe(me(o=>o===!0?a:Y({},I7)))):ce(a)}function aI(t,n,e){if(n.path==="**")return See(e);if(n.path==="")return n.pathMatch==="full"&&(t.hasChildren()||e.length>0)?Y({},I7):{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};let r=(n.matcher||CJ)(e,t,n);if(!r)return Y({},I7);let a={};Object.entries(r.posParams??{}).forEach(([s,l])=>{a[s]=l.path});let o=r.consumed.length>0?Y(Y({},a),r.consumed[r.consumed.length-1].parameters):a;return{matched:!0,consumedSegments:r.consumed,remainingSegments:e.slice(r.consumed.length),parameters:o,positionalParamSegments:r.posParams??{}}}function See(t){return{matched:!0,parameters:t.length>0?Rk(t).parameters:{},consumedSegments:t,remainingSegments:[],positionalParamSegments:{}}}function Pk(t,n,e,i){return e.length>0&&Eee(t,e,i)?{segmentGroup:new $t(n,Iee(i,new $t(e,t.children))),slicedSegments:[]}:e.length===0&&Oee(t,e,i)?{segmentGroup:new $t(t.segments,kee(t,e,i,t.children)),slicedSegments:e}:{segmentGroup:new $t(t.segments,t.children),slicedSegments:e}}function kee(t,n,e,i){let r={};for(let a of e)if(im(t,n,a)&&!i[fa(a)]){let o=new $t([],{});r[fa(a)]=o}return Y(Y({},i),r)}function Iee(t,n){let e={};e[pt]=n;for(let i of t)if(i.path===""&&fa(i)!==pt){let r=new $t([],{});e[fa(i)]=r}return e}function Eee(t,n,e){return e.some(i=>im(t,n,i)&&fa(i)!==pt)}function Oee(t,n,e){return e.some(i=>im(t,n,i))}function im(t,n,e){return(t.hasChildren()||n.length>0)&&e.pathMatch==="full"?!1:e.path===""}function Pee(t,n,e){return n.length===0&&!t.children[e]}var E7=class{};function Tee(t,n,e,i,r,a,o="emptyOnly"){return new O7(t,n,e,i,r,o,a).recognize()}var Vee=31,O7=class{constructor(n,e,i,r,a,o,s){this.injector=n,this.configLoader=e,this.rootComponentType=i,this.config=r,this.urlTree=a,this.paramsInheritanceStrategy=o,this.urlSerializer=s,this.applyRedirects=new k7(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(n){return new ke(4002,`'${n.segmentGroup}'`)}recognize(){let n=Pk(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(n).pipe(me(({children:e,rootSnapshot:i})=>{let r=new Dr(i,e),a=new Kh("",r),o=FJ(i,[],this.urlTree.queryParams,this.urlTree.fragment);return o.queryParams=this.urlTree.queryParams,a.url=this.urlSerializer.serialize(o),{state:a,tree:o}}))}match(n){let e=new D2([],Object.freeze({}),Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Object.freeze({}),pt,this.rootComponentType,null,{});return this.processSegmentGroup(this.injector,this.config,n,pt,e).pipe(me(i=>({children:i,rootSnapshot:e})),Ma(i=>{if(i instanceof Jd)return this.urlTree=i.urlTree,this.match(i.urlTree.root);throw i instanceof Xd?this.noMatchError(i):i}))}processSegmentGroup(n,e,i,r,a){return i.segments.length===0&&i.hasChildren()?this.processChildren(n,e,i,a):this.processSegment(n,e,i,i.segments,r,!0,a).pipe(me(o=>o instanceof Dr?[o]:[]))}processChildren(n,e,i,r){let a=[];for(let o of Object.keys(i.children))o==="primary"?a.unshift(o):a.push(o);return Yt(a).pipe(Yn(o=>{let s=i.children[o],l=YJ(e,o);return this.processSegmentGroup(n,l,s,o,r)}),Np((o,s)=>(o.push(...s),o)),Zo(null),Rp(),mi(o=>{if(o===null)return x2(i);let s=oI(o);return Aee(s),ce(s)}))}processSegment(n,e,i,r,a,o,s){return Yt(e).pipe(Yn(l=>this.processSegmentAgainstRoute(l._injector??n,e,l,i,r,a,o,s).pipe(Ma(h=>{if(h instanceof Xd)return ce(null);throw h}))),Da(l=>!!l),Ma(l=>{if(nI(l))return Pee(i,r,a)?ce(new E7):x2(i);throw l}))}processSegmentAgainstRoute(n,e,i,r,a,o,s,l){return fa(i)!==o&&(o===pt||!im(r,a,i))?x2(r):i.redirectTo===void 0?this.matchSegmentAgainstRoute(n,r,i,a,o,l):this.allowRedirects&&s?this.expandSegmentAgainstRouteUsingRedirect(n,r,e,i,a,o,l):x2(r)}expandSegmentAgainstRouteUsingRedirect(n,e,i,r,a,o,s){let{matched:l,parameters:h,consumedSegments:v,positionalParamSegments:y,remainingSegments:D}=aI(e,r,a);if(!l)return x2(e);typeof r.redirectTo=="string"&&r.redirectTo[0]==="/"&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>Vee&&(this.allowRedirects=!1));let S=new D2(a,h,Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Tk(r),fa(r),r.component??r._loadedComponent??null,r,Vk(r)),V=Qh(S,s,this.paramsInheritanceStrategy);S.params=Object.freeze(V.params),S.data=Object.freeze(V.data);let K=this.applyRedirects.applyRedirectCommands(v,r.redirectTo,y,S,n);return this.applyRedirects.lineralizeSegments(r,K).pipe(mi(te=>this.processSegment(n,i,e,te.concat(D),o,!1,s)))}matchSegmentAgainstRoute(n,e,i,r,a,o){let s=Dee(e,i,r,n,this.urlSerializer);return i.path==="**"&&(e.children={}),s.pipe(dt(l=>l.matched?(n=i._injector??n,this.getChildConfig(n,i,r).pipe(dt(({routes:h})=>{let v=i._loadedInjector??n,{parameters:y,consumedSegments:D,remainingSegments:S}=l,V=new D2(D,y,Object.freeze(Y({},this.urlTree.queryParams)),this.urlTree.fragment,Tk(i),fa(i),i.component??i._loadedComponent??null,i,Vk(i)),K=Qh(V,o,this.paramsInheritanceStrategy);V.params=Object.freeze(K.params),V.data=Object.freeze(K.data);let{segmentGroup:te,slicedSegments:ge}=Pk(e,D,S,h);if(ge.length===0&&te.hasChildren())return this.processChildren(v,h,te,V).pipe(me(He=>new Dr(V,He)));if(h.length===0&&ge.length===0)return ce(new Dr(V,[]));let Oe=fa(i)===a;return this.processSegment(v,h,te,ge,Oe?pt:a,!0,V).pipe(me(He=>new Dr(V,He instanceof Dr?[He]:[])))}))):x2(e)))}getChildConfig(n,e,i){return e.children?ce({routes:e.children,injector:n}):e.loadChildren?e._loadedRoutes!==void 0?ce({routes:e._loadedRoutes,injector:e._loadedInjector}):Cee(n,e,i,this.urlSerializer).pipe(mi(r=>r?this.configLoader.loadChildren(n,e).pipe(yt(a=>{e._loadedRoutes=a.routes,e._loadedInjector=a.injector})):wee(e))):ce({routes:[],injector:n})}};function Aee(t){t.sort((n,e)=>n.value.outlet===pt?-1:e.value.outlet===pt?1:n.value.outlet.localeCompare(e.value.outlet))}function zee(t){let n=t.value.routeConfig;return n&&n.path===""}function oI(t){let n=[],e=new Set;for(let i of t){if(!zee(i)){n.push(i);continue}let r=n.find(a=>i.value.routeConfig===a.value.routeConfig);r!==void 0?(r.children.push(...i.children),e.add(r)):n.push(i)}for(let i of e){let r=oI(i.children);n.push(new Dr(i.value,r))}return n.filter(i=>!e.has(i))}function Tk(t){return t.data||{}}function Vk(t){return t.resolve||{}}function Lee(t,n,e,i,r,a){return mi(o=>Tee(t,n,e,i,o.extractedUrl,r,a).pipe(me(({state:s,tree:l})=>Ge(Y({},o),{targetSnapshot:s,urlAfterRedirects:l}))))}function Hee(t,n){return mi(e=>{let{targetSnapshot:i,guards:{canActivateChecks:r}}=e;if(!r.length)return ce(e);let a=new Set(r.map(l=>l.route)),o=new Set;for(let l of a)if(!o.has(l))for(let h of sI(l))o.add(h);let s=0;return Yt(o).pipe(Yn(l=>a.has(l)?Ree(l,i,t,n):(l.data=Qh(l,l.parent,t).resolve,ce(void 0))),yt(()=>s++),cl(1),mi(l=>s===o.size?ce(e):ci))})}function sI(t){let n=t.children.map(e=>sI(e)).flat();return[t,...n]}function Ree(t,n,e,i){let r=t.routeConfig,a=t._resolve;return r?.title!==void 0&&!Jk(r)&&(a[e4]=r.title),Nee(a,t,n,i).pipe(me(o=>(t._resolvedData=o,t.data=Qh(t,t.parent,e).resolve,null)))}function Nee(t,n,e,i){let r=s7(t);if(r.length===0)return ce({});let a={};return Yt(r).pipe(mi(o=>Fee(t[o],n,e,i).pipe(Da(),yt(s=>{if(s instanceof Zd)throw Zh(new I2,s);a[o]=s}))),cl(1),Xo(a),Ma(o=>nI(o)?ci:Ko(o)))}function Fee(t,n,e,i){let r=i4(n)??i,a=T2(t,r),o=a.resolve?a.resolve(n,e):Vr(r,()=>a(n,e));return Ns(o)}function a7(t){return dt(n=>{let e=t(n);return e?Yt(e).pipe(me(()=>n)):ce(n)})}var cI=(()=>{class t{buildTitle(e){let i,r=e.root;for(;r!==void 0;)i=this.getResolvedTitleForRoute(r)??i,r=r.children.find(a=>a.outlet===pt);return i}getResolvedTitleForRoute(e){return e.data[e4]}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(jee),providedIn:"root"})}}return t})(),jee=(()=>{class t extends cI{constructor(e){super(),this.title=e}updateTitle(e){let i=this.buildTitle(e);i!==void 0&&this.title.setTitle(i)}static{this.\u0275fac=function(i){return new(i||t)(k(Xx))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),a4=new L("",{providedIn:"root",factory:()=>({})}),Bee=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],standalone:!0,features:[ae],decls:1,vars:0,template:function(i,r){i&1&&R(0,"router-outlet")},dependencies:[KJ],encapsulation:2})}}return t})();function V7(t){let n=t.children&&t.children.map(V7),e=n?Ge(Y({},t),{children:n}):Y({},t);return!e.component&&!e.loadComponent&&(n||e.loadChildren)&&e.outlet&&e.outlet!==pt&&(e.component=Bee),e}var Jh=new L(""),A7=(()=>{class t{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=z(K0)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return ce(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);let i=Ns(e.loadComponent()).pipe(me(lI),yt(a=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=a}),wa(()=>{this.componentLoaders.delete(e)})),r=new qo(i,()=>new U).pipe(il());return this.componentLoaders.set(e,r),r}loadChildren(e,i){if(this.childrenLoaders.get(i))return this.childrenLoaders.get(i);if(i._loadedRoutes)return ce({routes:i._loadedRoutes,injector:i._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(i);let a=Uee(i,this.compiler,e,this.onLoadEndListener).pipe(wa(()=>{this.childrenLoaders.delete(i)})),o=new qo(a,()=>new U).pipe(il());return this.childrenLoaders.set(i,o),o}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Uee(t,n,e,i){return Ns(t.loadChildren()).pipe(me(lI),mi(r=>r instanceof x1||Array.isArray(r)?ce(r):Yt(n.compileModuleAsync(r))),me(r=>{i&&i(t);let a,o,s=!1;return Array.isArray(r)?(o=r,s=!0):(a=r.create(e).injector,o=a.get(Jh,[],{optional:!0,self:!0}).flat()),{routes:o.map(V7),injector:a}}))}function $ee(t){return t&&typeof t=="object"&&"default"in t}function lI(t){return $ee(t)?t.default:t}var z7=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Gee),providedIn:"root"})}}return t})(),Gee=(()=>{class t{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,i){return e}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),dI=new L(""),uI=new L("");function Wee(t,n,e){let i=t.get(uI),r=t.get(Ce);return t.get(oe).runOutsideAngular(()=>{if(!r.startViewTransition||i.skipNextTransition)return i.skipNextTransition=!1,new Promise(h=>setTimeout(h));let a,o=new Promise(h=>{a=h}),s=r.startViewTransition(()=>(a(),qee(t))),{onViewTransitionCreated:l}=i;return l&&Vr(t,()=>l({transition:s,from:n,to:e})),o})}function qee(t){return new Promise(n=>{Ft({read:()=>setTimeout(n)},{injector:t})})}var Yee=new L(""),L7=(()=>{class t{get hasRequestedNavigation(){return this.navigationId!==0}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new U,this.transitionAbortSubject=new U,this.configLoader=z(A7),this.environmentInjector=z(Oi),this.urlSerializer=z(t4),this.rootContexts=z(n4),this.location=z(Nr),this.inputBindingEnabled=z(tm,{optional:!0})!==null,this.titleStrategy=z(cI),this.options=z(a4,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=z(z7),this.createViewTransition=z(dI,{optional:!0}),this.navigationErrorHandler=z(Yee,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>ce(void 0),this.rootComponentType=null;let e=r=>this.events.next(new f7(r)),i=r=>this.events.next(new g7(r));this.configLoader.onLoadEndListener=i,this.configLoader.onLoadStartListener=e}complete(){this.transitions?.complete()}handleNavigationRequest(e){let i=++this.navigationId;this.transitions?.next(Ge(Y(Y({},this.transitions.value),e),{id:i}))}setupNavigations(e,i,r){return this.transitions=new at({id:0,currentUrlTree:i,currentRawUrl:i,extractedUrl:this.urlHandlingStrategy.extract(i),urlAfterRedirects:this.urlHandlingStrategy.extract(i),rawUrl:i,extras:{},resolve:()=>{},reject:()=>{},promise:Promise.resolve(!0),source:Gd,restoredState:null,currentSnapshot:r.snapshot,targetSnapshot:null,currentRouterState:r,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Ve(a=>a.id!==0),me(a=>Ge(Y({},a),{extractedUrl:this.urlHandlingStrategy.extract(a.rawUrl)})),dt(a=>{let o=!1,s=!1;return ce(a).pipe(dt(l=>{if(this.navigationId>a.id)return this.cancelNavigationTransition(a,"",Sr.SupersededByNewNavigation),ci;this.currentTransition=a,this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,targetBrowserUrl:typeof l.extras.browserUrl=="string"?this.urlSerializer.parse(l.extras.browserUrl):l.extras.browserUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?Ge(Y({},this.lastSuccessfulNavigation),{previousNavigation:null}):null};let h=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl(),v=l.extras.onSameUrlNavigation??e.onSameUrlNavigation;if(!h&&v!=="reload"){let y="";return this.events.next(new Rs(l.id,this.urlSerializer.serialize(l.rawUrl),y,$h.IgnoredSameUrlNavigation)),l.resolve(!1),ci}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return ce(l).pipe(dt(y=>{let D=this.transitions?.getValue();return this.events.next(new E2(y.id,this.urlSerializer.serialize(y.extractedUrl),y.source,y.restoredState)),D!==this.transitions?.getValue()?ci:Promise.resolve(y)}),Lee(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),yt(y=>{a.targetSnapshot=y.targetSnapshot,a.urlAfterRedirects=y.urlAfterRedirects,this.currentNavigation=Ge(Y({},this.currentNavigation),{finalUrl:y.urlAfterRedirects});let D=new Gh(y.id,this.urlSerializer.serialize(y.extractedUrl),this.urlSerializer.serialize(y.urlAfterRedirects),y.targetSnapshot);this.events.next(D)}));if(h&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){let{id:y,extractedUrl:D,source:S,restoredState:V,extras:K}=l,te=new E2(y,this.urlSerializer.serialize(D),S,V);this.events.next(te);let ge=Zk(this.rootComponentType).snapshot;return this.currentTransition=a=Ge(Y({},l),{targetSnapshot:ge,urlAfterRedirects:D,extras:Ge(Y({},K),{skipLocationChange:!1,replaceUrl:!1})}),this.currentNavigation.finalUrl=D,ce(a)}else{let y="";return this.events.next(new Rs(l.id,this.urlSerializer.serialize(l.extractedUrl),y,$h.IgnoredByUrlHandlingStrategy)),l.resolve(!1),ci}}),yt(l=>{let h=new u7(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(h)}),me(l=>(this.currentTransition=a=Ge(Y({},l),{guards:iee(l.targetSnapshot,l.currentSnapshot,this.rootContexts)}),a)),mee(this.environmentInjector,l=>this.events.next(l)),yt(l=>{if(a.guardsResult=l.guardsResult,l.guardsResult&&typeof l.guardsResult!="boolean")throw Zh(this.urlSerializer,l.guardsResult);let h=new h7(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(h)}),Ve(l=>l.guardsResult?!0:(this.cancelNavigationTransition(l,"",Sr.GuardRejected),!1)),a7(l=>{if(l.guards.canActivateChecks.length)return ce(l).pipe(yt(h=>{let v=new m7(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(v)}),dt(h=>{let v=!1;return ce(h).pipe(Hee(this.paramsInheritanceStrategy,this.environmentInjector),yt({next:()=>v=!0,complete:()=>{v||this.cancelNavigationTransition(h,"",Sr.NoDataFromResolver)}}))}),yt(h=>{let v=new p7(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(v)}))}),a7(l=>{let h=v=>{let y=[];v.routeConfig?.loadComponent&&!v.routeConfig._loadedComponent&&y.push(this.configLoader.loadComponent(v.routeConfig).pipe(yt(D=>{v.component=D}),me(()=>{})));for(let D of v.children)y.push(...h(D));return y};return on(h(l.targetSnapshot.root)).pipe(Zo(null),Ue(1))}),a7(()=>this.afterPreactivation()),dt(()=>{let{currentSnapshot:l,targetSnapshot:h}=a,v=this.createViewTransition?.(this.environmentInjector,l.root,h.root);return v?Yt(v).pipe(me(()=>a)):ce(a)}),me(l=>{let h=ZJ(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=a=Ge(Y({},l),{targetRouterState:h}),this.currentNavigation.targetRouterState=h,a}),yt(()=>{this.events.next(new Qd)}),tee(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),Ue(1),yt({next:l=>{o=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new ga(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{o=!0}}),_e(this.transitionAbortSubject.pipe(yt(l=>{throw l}))),wa(()=>{!o&&!s&&this.cancelNavigationTransition(a,"",Sr.SupersededByNewNavigation),this.currentTransition?.id===a.id&&(this.currentNavigation=null,this.currentTransition=null)}),Ma(l=>{if(s=!0,iI(l))this.events.next(new No(a.id,this.urlSerializer.serialize(a.extractedUrl),l.message,l.cancellationCode)),eee(l)?this.events.next(new O2(l.url,l.navigationBehaviorOptions)):a.resolve(!1);else{let h=new Yd(a.id,this.urlSerializer.serialize(a.extractedUrl),l,a.targetSnapshot??void 0);try{let v=Vr(this.environmentInjector,()=>this.navigationErrorHandler?.(h));if(v instanceof Zd){let{message:y,cancellationCode:D}=Zh(this.urlSerializer,v);this.events.next(new No(a.id,this.urlSerializer.serialize(a.extractedUrl),y,D)),this.events.next(new O2(v.redirectTo,v.navigationBehaviorOptions))}else{this.events.next(h);let y=e.errorHandler(l);a.resolve(!!y)}}catch(v){this.options.resolveNavigationPromiseOnError?a.resolve(!1):a.reject(v)}}return ci}))}))}cancelNavigationTransition(e,i,r){let a=new No(e.id,this.urlSerializer.serialize(e.extractedUrl),i,r);this.events.next(a),e.resolve(!1)}isUpdatingInternalState(){return this.currentTransition?.extractedUrl.toString()!==this.currentTransition?.currentUrlTree.toString()}isUpdatedBrowserUrl(){let e=this.urlHandlingStrategy.extract(this.urlSerializer.parse(this.location.path(!0))),i=this.currentNavigation?.targetBrowserUrl??this.currentNavigation?.extractedUrl;return e.toString()!==i?.toString()&&!this.currentNavigation?.extras.skipLocationChange}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Qee(t){return t!==Gd}var Kee=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Zee),providedIn:"root"})}}return t})(),P7=class{shouldDetach(n){return!1}store(n,e){}shouldAttach(n){return!1}retrieve(n){return null}shouldReuseRoute(n,e){return n.routeConfig===e.routeConfig}},Zee=(()=>{class t extends P7{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),hI=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:()=>z(Xee),providedIn:"root"})}}return t})(),Xee=(()=>{class t extends hI{constructor(){super(...arguments),this.location=z(Nr),this.urlSerializer=z(t4),this.options=z(a4,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=z(z7),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Fo,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=Zk(null),this.stateMemento=this.createStateMemento()}getCurrentUrlTree(){return this.currentUrlTree}getRawUrlTree(){return this.rawUrlTree}restoredState(){return this.location.getState()}get browserPageId(){return this.canceledNavigationResolution!=="computed"?this.currentPageId:this.restoredState()?.\u0275routerPageId??this.currentPageId}getRouterState(){return this.routerState}createStateMemento(){return{rawUrlTree:this.rawUrlTree,currentUrlTree:this.currentUrlTree,routerState:this.routerState}}registerNonRouterCurrentEntryChangeListener(e){return this.location.subscribe(i=>{i.type==="popstate"&&e(i.url,i.state)})}handleRouterEvent(e,i){if(e instanceof E2)this.stateMemento=this.createStateMemento();else if(e instanceof Rs)this.rawUrlTree=i.initialUrl;else if(e instanceof Gh){if(this.urlUpdateStrategy==="eager"&&!i.extras.skipLocationChange){let r=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl);this.setBrowserUrl(i.targetBrowserUrl??r,i)}}else e instanceof Qd?(this.currentUrlTree=i.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(i.finalUrl,i.initialUrl),this.routerState=i.targetRouterState,this.urlUpdateStrategy==="deferred"&&!i.extras.skipLocationChange&&this.setBrowserUrl(i.targetBrowserUrl??this.rawUrlTree,i)):e instanceof No&&(e.code===Sr.GuardRejected||e.code===Sr.NoDataFromResolver)?this.restoreHistory(i):e instanceof Yd?this.restoreHistory(i,!0):e instanceof ga&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,i){let r=e instanceof Fo?this.urlSerializer.serialize(e):e;if(this.location.isCurrentPathEqualTo(r)||i.extras.replaceUrl){let a=this.browserPageId,o=Y(Y({},i.extras.state),this.generateNgRouterState(i.id,a));this.location.replaceState(r,"",o)}else{let a=Y(Y({},i.extras.state),this.generateNgRouterState(i.id,this.browserPageId+1));this.location.go(r,"",a)}}restoreHistory(e,i=!1){if(this.canceledNavigationResolution==="computed"){let r=this.browserPageId,a=this.currentPageId-r;a!==0?this.location.historyGo(a):this.currentUrlTree===e.finalUrl&&a===0&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else this.canceledNavigationResolution==="replace"&&(i&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,i){return this.canceledNavigationResolution==="computed"?{navigationId:e,\u0275routerPageId:i}:{navigationId:e}}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),Ud=function(t){return t[t.COMPLETE=0]="COMPLETE",t[t.FAILED=1]="FAILED",t[t.REDIRECTING=2]="REDIRECTING",t}(Ud||{});function mI(t,n){t.events.pipe(Ve(e=>e instanceof ga||e instanceof No||e instanceof Yd||e instanceof Rs),me(e=>e instanceof ga||e instanceof Rs?Ud.COMPLETE:(e instanceof No?e.code===Sr.Redirect||e.code===Sr.SupersededByNewNavigation:!1)?Ud.REDIRECTING:Ud.FAILED),Ve(e=>e!==Ud.REDIRECTING),Ue(1)).subscribe(()=>{n()})}function Jee(t){throw t}var ete={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},tte={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"},Ir=(()=>{class t{get currentUrlTree(){return this.stateManager.getCurrentUrlTree()}get rawUrlTree(){return this.stateManager.getRawUrlTree()}get events(){return this._events}get routerState(){return this.stateManager.getRouterState()}constructor(){this.disposed=!1,this.console=z(G0),this.stateManager=z(hI),this.options=z(a4,{optional:!0})||{},this.pendingTasks=z(Aa),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=z(L7),this.urlSerializer=z(t4),this.location=z(Nr),this.urlHandlingStrategy=z(z7),this._events=new U,this.errorHandler=this.options.errorHandler||Jee,this.navigated=!1,this.routeReuseStrategy=z(Kee),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=z(Jh,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!z(tm,{optional:!0}),this.eventsSubscription=new xe,this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){let e=this.navigationTransitions.events.subscribe(i=>{try{let r=this.navigationTransitions.currentTransition,a=this.navigationTransitions.currentNavigation;if(r!==null&&a!==null){if(this.stateManager.handleRouterEvent(i,a),i instanceof No&&i.code!==Sr.Redirect&&i.code!==Sr.SupersededByNewNavigation)this.navigated=!0;else if(i instanceof ga)this.navigated=!0;else if(i instanceof O2){let o=i.navigationBehaviorOptions,s=this.urlHandlingStrategy.merge(i.url,r.currentRawUrl),l=Y({browserUrl:r.extras.browserUrl,info:r.extras.info,skipLocationChange:r.extras.skipLocationChange,replaceUrl:r.extras.replaceUrl||this.urlUpdateStrategy==="eager"||Qee(r.source)},o);this.scheduleNavigation(s,Gd,null,l,{resolve:r.resolve,reject:r.reject,promise:r.promise})}}nte(i)&&this._events.next(i)}catch(r){this.navigationTransitions.transitionAbortSubject.next(r)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Gd,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,i)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",i)},0)})}navigateToSyncWithBrowser(e,i,r){let a={replaceUrl:!0},o=r?.navigationId?r:null;if(r){let l=Y({},r);delete l.navigationId,delete l.\u0275routerPageId,Object.keys(l).length!==0&&(a.state=l)}let s=this.parseUrl(e);this.scheduleNavigation(s,i,o,a)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(V7),this.navigated=!1}ngOnDestroy(){this.dispose()}dispose(){this.navigationTransitions.complete(),this.nonRouterCurrentEntryChangeSubscription&&(this.nonRouterCurrentEntryChangeSubscription.unsubscribe(),this.nonRouterCurrentEntryChangeSubscription=void 0),this.disposed=!0,this.eventsSubscription.unsubscribe()}createUrlTree(e,i={}){let{relativeTo:r,queryParams:a,fragment:o,queryParamsHandling:s,preserveFragment:l}=i,h=l?this.currentUrlTree.fragment:o,v=null;switch(s??this.options.defaultQueryParamsHandling){case"merge":v=Y(Y({},this.currentUrlTree.queryParams),a);break;case"preserve":v=this.currentUrlTree.queryParams;break;default:v=a||null}v!==null&&(v=this.removeEmptyProps(v));let y;try{let D=r?r.snapshot:this.routerState.snapshot.root;y=qk(D)}catch{(typeof e[0]!="string"||e[0][0]!=="/")&&(e=[]),y=this.currentUrlTree.root}return Yk(y,e,v,h??null)}navigateByUrl(e,i={skipLocationChange:!1}){let r=Rc(e)?e:this.parseUrl(e),a=this.urlHandlingStrategy.merge(r,this.rawUrlTree);return this.scheduleNavigation(a,Gd,null,i)}navigate(e,i={skipLocationChange:!1}){return ite(e),this.navigateByUrl(this.createUrlTree(e,i),i)}serializeUrl(e){return this.urlSerializer.serialize(e)}parseUrl(e){try{return this.urlSerializer.parse(e)}catch{return this.urlSerializer.parse("/")}}isActive(e,i){let r;if(i===!0?r=Y({},ete):i===!1?r=Y({},tte):r=i,Rc(e))return Sk(this.currentUrlTree,e,r);let a=this.parseUrl(e);return Sk(this.currentUrlTree,a,r)}removeEmptyProps(e){return Object.entries(e).reduce((i,[r,a])=>(a!=null&&(i[r]=a),i),{})}scheduleNavigation(e,i,r,a,o){if(this.disposed)return Promise.resolve(!1);let s,l,h;o?(s=o.resolve,l=o.reject,h=o.promise):h=new Promise((y,D)=>{s=y,l=D});let v=this.pendingTasks.add();return mI(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(v))}),this.navigationTransitions.handleNavigationRequest({source:i,restoredState:r,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:a,resolve:s,reject:l,promise:h,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),h.catch(y=>Promise.reject(y))}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function ite(t){for(let n=0;n{class t{constructor(e,i,r,a,o,s){this.router=e,this.route=i,this.tabIndexAttribute=r,this.renderer=a,this.el=o,this.locationStrategy=s,this.href=null,this.onChanges=new U,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1,this.routerLinkInput=null;let l=o.nativeElement.tagName?.toLowerCase();this.isAnchorElement=l==="a"||l==="area",this.isAnchorElement?this.subscription=e.events.subscribe(h=>{h instanceof ga&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){this.tabIndexAttribute!=null||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){e==null?(this.routerLinkInput=null,this.setTabIndexIfNotOnNativeEl(null)):(Rc(e)?this.routerLinkInput=e:this.routerLinkInput=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0"))}onClick(e,i,r,a,o){let s=this.urlTree;if(s===null||this.isAnchorElement&&(e!==0||i||r||a||o||typeof this.target=="string"&&this.target!="_self"))return!0;let l={skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info};return this.router.navigateByUrl(s,l),!this.isAnchorElement}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){let e=this.urlTree;this.href=e!==null&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(e)):null;let i=this.href===null?null:Py(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",i)}applyAttributeValue(e,i){let r=this.renderer,a=this.el.nativeElement;i!==null?r.setAttribute(a,e,i):r.removeAttribute(a,e)}get urlTree(){return this.routerLinkInput===null?null:Rc(this.routerLinkInput)?this.routerLinkInput:this.router.createUrlTree(this.routerLinkInput,{relativeTo:this.relativeTo!==void 0?this.relativeTo:this.route,queryParams:this.queryParams,fragment:this.fragment,queryParamsHandling:this.queryParamsHandling,preserveFragment:this.preserveFragment})}static{this.\u0275fac=function(i){return new(i||t)(m(Ir),m(kr),Gt("tabindex"),m(tr),m($),m(Do))}}static{this.\u0275dir=T({type:t,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(o){return r.onClick(o.button,o.ctrlKey,o.shiftKey,o.altKey,o.metaKey)}),i&2&&ie("target",r.target)},inputs:{target:"target",queryParams:"queryParams",fragment:"fragment",queryParamsHandling:"queryParamsHandling",state:"state",info:"info",relativeTo:"relativeTo",preserveFragment:[2,"preserveFragment","preserveFragment",q],skipLocationChange:[2,"skipLocationChange","skipLocationChange",q],replaceUrl:[2,"replaceUrl","replaceUrl",q],routerLink:"routerLink"},standalone:!0,features:[ye,Te]})}}return t})(),Obe=(()=>{class t{get isActive(){return this._isActive}constructor(e,i,r,a,o){this.router=e,this.element=i,this.renderer=r,this.cdr=a,this.link=o,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new B,this.routerEventsSubscription=e.events.subscribe(s=>{s instanceof ga&&this.update()})}ngAfterContentInit(){ce(this.links.changes,ce(null)).pipe(xa()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();let e=[...this.links.toArray(),this.link].filter(i=>!!i).map(i=>i.onChanges);this.linkInputChangesSubscription=Yt(e).pipe(xa()).subscribe(i=>{this._isActive!==this.isLinkActive(this.router)(i)&&this.update()})}set routerLinkActive(e){let i=Array.isArray(e)?e:e.split(" ");this.classes=i.filter(r=>!!r)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{let e=this.hasActiveLinks();this.classes.forEach(i=>{e?this.renderer.addClass(this.element.nativeElement,i):this.renderer.removeClass(this.element.nativeElement,i)}),e&&this.ariaCurrentWhenActive!==void 0?this.renderer.setAttribute(this.element.nativeElement,"aria-current",this.ariaCurrentWhenActive.toString()):this.renderer.removeAttribute(this.element.nativeElement,"aria-current"),this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.isActiveChange.emit(e))})}isLinkActive(e){let i=rte(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return r=>{let a=r.urlTree;return a?e.isActive(a,i):!1}}hasActiveLinks(){let e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static{this.\u0275fac=function(i){return new(i||t)(m(Ir),m($),m(tr),m(pe),m(Ak,8))}}static{this.\u0275dir=T({type:t,selectors:[["","routerLinkActive",""]],contentQueries:function(i,r,a){if(i&1&&we(a,Ak,5),i&2){let o;G(o=W())&&(r.links=o)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[Te]})}}return t})();function rte(t){return!!t.paths}var em=class{};var ate=(()=>{class t{constructor(e,i,r,a,o){this.router=e,this.injector=r,this.preloadingStrategy=a,this.loader=o}setUpPreloading(){this.subscription=this.router.events.pipe(Ve(e=>e instanceof ga),Yn(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,i){let r=[];for(let a of i){a.providers&&!a._injector&&(a._injector=R0(a.providers,e,`Route: ${a.path}`));let o=a._injector??e,s=a._loadedInjector??o;(a.loadChildren&&!a._loadedRoutes&&a.canLoad===void 0||a.loadComponent&&!a._loadedComponent)&&r.push(this.preloadConfig(o,a)),(a.children||a._loadedRoutes)&&r.push(this.processRoutes(s,a.children??a._loadedRoutes))}return Yt(r).pipe(xa())}preloadConfig(e,i){return this.preloadingStrategy.preload(i,()=>{let r;i.loadChildren&&i.canLoad===void 0?r=this.loader.loadChildren(e,i):r=ce(null);let a=r.pipe(mi(o=>o===null?ce(void 0):(i._loadedRoutes=o.routes,i._loadedInjector=o.injector,this.processRoutes(o.injector??e,o.routes))));if(i.loadComponent&&!i._loadedComponent){let o=this.loader.loadComponent(i);return Yt([a,o]).pipe(xa())}else return a})}static{this.\u0275fac=function(i){return new(i||t)(k(Ir),k(K0),k(Oi),k(em),k(A7))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),pI=new L(""),ote=(()=>{class t{constructor(e,i,r,a,o={}){this.urlSerializer=e,this.transitions=i,this.viewportScroller=r,this.zone=a,this.options=o,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},o.scrollPositionRestoration||="disabled",o.anchorScrolling||="disabled"}init(){this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.setHistoryScrollRestoration("manual"),this.routerEventsSubscription=this.createScrollEvents(),this.scrollEventsSubscription=this.consumeScrollEvents()}createScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof E2?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof ga?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof Rs&&e.code===$h.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof Wh&&(e.position?this.options.scrollPositionRestoration==="top"?this.viewportScroller.scrollToPosition([0,0]):this.options.scrollPositionRestoration==="enabled"&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&this.options.anchorScrolling==="enabled"?this.viewportScroller.scrollToAnchor(e.anchor):this.options.scrollPositionRestoration!=="disabled"&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,i){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new Wh(e,this.lastSource==="popstate"?this.store[this.restoredId]:null,i))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static{this.\u0275fac=function(i){Il()}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();function ste(t){return t.routerState.root}function o4(t,n){return{\u0275kind:t,\u0275providers:n}}function cte(){let t=z(Le);return n=>{let e=t.get(Ji);if(n!==e.components[0])return;let i=t.get(Ir),r=t.get(fI);t.get(H7)===1&&i.initialNavigation(),t.get(gI,null,ft.Optional)?.setUpPreloading(),t.get(pI,null,ft.Optional)?.init(),i.resetRootComponentType(e.componentTypes[0]),r.closed||(r.next(),r.complete(),r.unsubscribe())}}var fI=new L("",{factory:()=>new U}),H7=new L("",{providedIn:"root",factory:()=>1});function lte(){return o4(2,[{provide:H7,useValue:0},{provide:Y0,multi:!0,deps:[Le],useFactory:n=>{let e=n.get(fx,Promise.resolve());return()=>e.then(()=>new Promise(i=>{let r=n.get(Ir),a=n.get(fI);mI(r,()=>{i(!0)}),n.get(L7).afterPreactivation=()=>(i(!0),a.closed?ce(void 0):a),r.initialNavigation()}))}}])}function dte(){return o4(3,[{provide:Y0,multi:!0,useFactory:()=>{let n=z(Ir);return()=>{n.setUpLocationChangeListener()}}},{provide:H7,useValue:2}])}var gI=new L("");function ute(t){return o4(0,[{provide:gI,useExisting:ate},{provide:em,useExisting:t}])}function hte(){return o4(8,[Ok,{provide:tm,useExisting:Ok}])}function mte(t){let n=[{provide:dI,useValue:Wee},{provide:uI,useValue:Y({skipNextTransition:!!t?.skipInitialTransition},t)}];return o4(9,n)}var zk=new L("ROUTER_FORROOT_GUARD"),pte=[Nr,{provide:t4,useClass:I2},Ir,n4,{provide:kr,useFactory:ste,deps:[Ir]},A7,[]],Pbe=(()=>{class t{constructor(e){}static forRoot(e,i){return{ngModule:t,providers:[pte,[],{provide:Jh,multi:!0,useValue:e},{provide:zk,useFactory:vte,deps:[[Ir,new Jn,new vr]]},{provide:a4,useValue:i||{}},i?.useHash?gte():_te(),fte(),i?.preloadingStrategy?ute(i.preloadingStrategy).\u0275providers:[],i?.initialNavigation?bte(i):[],i?.bindToComponentInputs?hte().\u0275providers:[],i?.enableViewTransitions?mte().\u0275providers:[],yte()]}}static forChild(e){return{ngModule:t,providers:[{provide:Jh,multi:!0,useValue:e}]}}static{this.\u0275fac=function(i){return new(i||t)(k(zk,8))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();function fte(){return{provide:pI,useFactory:()=>{let t=z(Px),n=z(oe),e=z(a4),i=z(L7),r=z(t4);return e.scrollOffset&&t.setOffset(e.scrollOffset),new ote(r,i,t,n,e)}}}function gte(){return{provide:Do,useClass:_x}}function _te(){return{provide:Do,useClass:M8}}function vte(t){return"guarded"}function bte(t){return[t.initialNavigation==="disabled"?dte().\u0275providers:[],t.initialNavigation==="enabledBlocking"?lte().\u0275providers:[]]}var Lk=new L("");function yte(){return[{provide:Lk,useFactory:cte},{provide:Q0,multi:!0,useExisting:Lk}]}function Cte(t,n){if(t&1&&(p(0,"mat-option",11),d(1),I(2,"translate"),f()),t&2){let e=n.$implicit;C("value",e.value),g(),ne(`
- `,P(2,2,"labels.text."+e.name),`
- `)}}function xte(t,n){if(t&1){let e=le();p(0,"div",5),d(1,`
- `),p(2,"mat-form-field",6),d(3,`
- `),p(4,"mat-label"),d(5),I(6,"translate"),f(),d(7,`
- `),p(8,"input",7),H("keydown.enter",function(){F(e);let r=M();return j(r.search())}),f(),d(9,`
- `),f(),d(10,`
-
- `),p(11,"mat-form-field",8),d(12,`
- `),p(13,"mat-label"),d(14),I(15,"translate"),f(),d(16,`
- `),p(17,"mat-select",9),d(18,`
- `),w(19,Cte,3,4,"mat-option",10),d(20,`
- `),f(),d(21,`
- `),f(),d(22,`
- `),f()}if(t&2){let e=M();C("@fadeInOut",void 0),g(5),E(P(6,6,"labels.text.Search")),g(3),C("formControl",e.query),g(6),E(P(15,8,"labels.inputs.Resource")),g(3),C("formControl",e.resource),g(2),C("ngForOf",e.resourceOptions)}}var zbe=(()=>{class t{constructor(e){this.router=e,this.query=new kn(""),this.resource=new kn(""),this.searchVisible=!1,this.resourceOptions=[{name:"All",value:"clients,clientIdentifiers,groups,savings,shares,loans"},{name:"Clients",value:"clients,clientIdentifiers"},{name:"Groups",value:"groups"},{name:"Savings",value:"savings"},{name:"Shares",value:"shares"},{name:"Loans",value:"loans"}],this.resource.patchValue("clients,clientIdentifiers,groups,savings,shares,loans")}toggleSearchVisibility(){this.searchVisible=!this.searchVisible}search(){let e={query:this.query.value,resource:this.resource.value};this.router.navigate(["/search"],{queryParams:e})}static{this.\u0275fac=function(i){return new(i||t)(m(Ir))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-search-tool"]],decls:14,vars:4,consts:[[1,"flex-100","layout-row"],["class","search-bar flex-90 layout-row hide-lt-sm",4,"ngIf"],[1,"search-icon","flex-10"],["mat-icon-button","",1,"hide-lt-sm",3,"click"],["icon","search","size","lg",3,"matTooltip"],[1,"search-bar","flex-90","layout-row","hide-lt-sm"],[1,"search","flex-45"],["matInput","","type","text",3,"keydown.enter","formControl"],[1,"resource","flex-50"],[3,"formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),w(2,xte,23,10,"div",1),d(3,`
-
- `),p(4,"div",2),d(5,`
- `),p(6,"button",3),H("click",function(){return r.toggleSearchVisibility()}),d(7,`
- `),R(8,"fa-icon",4),I(9,"translate"),d(10,`
- `),f(),d(11,`
- `),f(),d(12,`
-`),f(),d(13,`
-`)),i&2&&(g(2),C("ngIf",r.searchVisible),g(6),Bt("matTooltip",P(9,2,"labels.text.Search")))},dependencies:[ni,Re,Ut,Bi,bn,Kt,Di,$i,Tn,qr,en,vi,hn,Pe],styles:[".search-bar[_ngcontent-%COMP%] .search[_ngcontent-%COMP%]{max-width:500px;width:100%;font-size:1rem;color:#fff}.search-bar[_ngcontent-%COMP%] .resource[_ngcontent-%COMP%]{max-width:90px;width:100%;font-size:1rem;color:#fff}.search-icon[_ngcontent-%COMP%]{margin-left:1rem;display:flex;align-items:center}.mat-mdc-floating-label[_ngcontent-%COMP%], mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{color:#fff!important;height:16px;transition:height ease-in-out .4s}mat-form-field[_ngcontent-%COMP%] input[_ngcontent-%COMP%]:focus{color:#fff!important;background-color:transparent;height:16px;transition:height ease-in-out .4s}"],data:{animation:[kt("fadeInOut",[Ze(":enter",[De({opacity:0}),et(500,De({opacity:1}))]),Ze(":leave",[et(500,De({opacity:0}))])])]}})}}return t})();var rm=class{constructor(){this.makeCombination()}makeCombination(){this.buttonsArray=[{title:"Navigation Page",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"n",route:"navigation"},{title:"Run Report",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"t",route:"",id:"runReport"},{title:"Checker Inbox & Pending Tasks",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"i",route:"checker-inbox-and-tasks/checker-inbox"},{title:"Create Client",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"c",route:"clients/create"},{title:"Create Group",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"g",route:"groups/create"},{title:"Create Center",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"q",route:"centers/create"},{title:"Frequent Posting",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"f",route:"accounting/journal-entries/frequent-postings"},{title:"Closure Entries",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"e",route:"accounting/closing-entries"},{title:"Journal Entry",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"j",route:"accounting/journal-entries/create"},{title:"Reports",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"r",route:"reports"},{title:"Accounting",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"a",route:"accounting"},{title:"Save/Submit Forms",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"s",route:"",id:"submit"},{title:"Cancel",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"x",route:"",id:"cancel"},{title:"Help",ctrlKey:!1,shiftKey:!1,altKey:!0,key:"h",route:"",id:"help"},{title:"Logout",ctrlKey:!0,shiftKey:!1,altKey:!1,key:"l",route:"",id:"logout"}]}get buttonCombinations(){return this.buttonsArray}};function Mte(t,n){t&1&&(p(0,"span"),d(1,`
- `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
- `),f()),t&2&&(g(3),E(P(4,1,"labels.inputs.Ctrl")))}function wte(t,n){t&1&&(p(0,"span"),d(1,`
- `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
- `),f()),t&2&&(g(3),E(P(4,1,"labels.inputs.Shift")))}function Dte(t,n){t&1&&(p(0,"span"),d(1,`
- `),p(2,"span",8),d(3),I(4,"translate"),f(),d(5,` +
- `),f()),t&2&&(g(3),E(P(4,1,"labels.inputs.Alt")))}function Ste(t,n){if(t&1&&(p(0,"span"),d(1,`
- `),p(2,"span",8),d(3),f()()),t&2){let e=M().$implicit;g(3),E(e.key)}}function kte(t,n){if(t&1&&(pi(0),d(1,`
- `),R(2,"mat-divider",4),d(3,`
- `),p(4,"div",5),d(5,`
- `),p(6,"span",6),d(7,`
- `),w(8,Mte,6,3,"span",7),d(9,`
- `),w(10,wte,6,3,"span",7),d(11,`
- `),w(12,Dte,6,3,"span",7),d(13,`
- `),w(14,Ste,4,1,"span",7),d(15,`
- `),f(),d(16,`
- `),p(17,"span",6),d(18),f(),d(19,`
- `),f(),d(20,`
- `),fi()),t&2){let e=n.$implicit;g(2),C("inset",!0),g(6),C("ngIf",e.ctrlKey),g(2),C("ngIf",e.shiftKey),g(2),C("ngIf",e.altKey),g(2),C("ngIf",e.key),g(4),E(e.title)}}var Nbe=(()=>{class t{constructor(e){this.dialogRef=e}ngOnInit(){this.dialogRef.updateSize("800px"),this.buttonConfig=new rm}static{this.\u0275fac=function(i){return new(i||t)(m(Wt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-keyboard-shortcuts-dialog"]],decls:12,vars:4,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[1,"layout-column","gap-2px"],[4,"ngFor","ngForOf"],[3,"inset"],[1,"flex-fill","flex-50"],[1,"flex-50"],[4,"ngIf"],[1,"modifier-key"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
- `),p(6,"div",2),d(7,`
- `),w(8,kte,21,6,"ng-container",3),d(9,`
- `),f(),d(10,`
-`),f(),d(11,`
-`)),i&2&&(g(),E(P(2,2,"labels.heading.Keyboard Shortcuts")),g(7),C("ngForOf",r.buttonConfig.buttonCombinations))},dependencies:[ni,Re,yi,ki,Ls,Pe],styles:[".modifier-key[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.3019607843);padding:.3rem;background:#f8f8f8;color:#00000086;font-weight:700;border-radius:.3rem}.mat-divider.mat-divider-inset[_ngcontent-%COMP%]{margin-left:0}"]})}}return t})();function Ite(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),p(3,"strong"),d(4),I(5,"translate"),f(),d(6,`
- `),f()),t&2&&(g(),ne(`
- `,P(2,2,"labels.inputs.Url")," "),g(3),E(P(5,4,"labels.commons.is required")))}function Ete(t,n){if(t&1&&(p(0,"mat-option",12),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(`
- `,e,`
- `)}}function Ote(t,n){if(t&1){let e=le();p(0,"mat-form-field",1),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"mat-select",2),H("selectionChange",function(){F(e);let r=M();return j(r.setServer())}),d(7,`
- `),p(8,"div",3),d(9,`
- `),p(10,"form",4),H("ngSubmit",function(){F(e);let r=M();return j(r.addNewServer())}),d(11,`
- `),p(12,"div",5),d(13,`
- `),p(14,"mat-form-field",6),d(15,`
- `),p(16,"span",7)(17,"mat-icon"),d(18),I(19,"translate"),f()(),d(20,`
- `),p(21,"mat-label"),d(22),I(23,"translate"),f(),d(24,`
- `),R(25,"input",8),d(26,`
- `),w(27,Ite,7,6,"mat-error",9),d(28,`
- `),f(),d(29,`
-
- `),p(30,"button",10),d(31),I(32,"translate"),f(),d(33,`
- `),f(),d(34,`
- `),f(),d(35,`
- `),f(),d(36,`
- `),w(37,Ete,2,2,"mat-option",11),d(38,`
- `),f(),d(39,`
-`),f()}if(t&2){let e=M();g(3),E(P(4,9,"labels.inputs.Server")),g(3),C("formControl",e.serverSelector),g(4),C("formGroup",e.form),g(8),E(P(19,11,"labels.inputs.language")),g(4),E(P(23,13,"labels.placeholders.Add new server")),g(5),C("ngIf",e.form.controls.url.hasError("required")),g(3),C("disabled",e.form.invalid),g(),ne(`
- `,P(32,15,"labels.buttons.Add"),`
- `),g(6),C("ngForOf",e.servers)}}var Wbe=(()=>{class t{constructor(e,i,r){this.settingsService=e,this.dialog=i,this.formBuilder=r,this.serverSelector=new kn(""),this.existMoreThanOneServer=!1}ngOnInit(){this.servers=this.settingsService.servers,this.existMoreThanOneServer=this.servers&&this.servers.length>1,this.existMoreThanOneServer?(this.existMoreThanOneServer=!0,this.serverSelector.patchValue(this.settingsService.server),this.form=this.formBuilder.group({url:["",[_i.required]]})):this.settingsService.setServer(this.servers[0])}setServer(){this.settingsService.setServer(this.serverSelector.value)}addNewServer(){let e;this.settingsService.setServer(this.form.value.url),e=this.settingsService.servers,e.push(this.form.value.url),this.settingsService.setServers(e),window.location.reload()}static{this.\u0275fac=function(i){return new(i||t)(m(zt),m(Gn),m(xs))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-server-selector"]],decls:2,vars:1,consts:[["id","server-selector",4,"ngIf"],["id","server-selector"],["panelClass","server-panel",3,"selectionChange","formControl"],[1,"sticky"],[3,"ngSubmit","formGroup"],[1,"actions"],[1,"ml","align-start"],["matPrefix",""],["matInput","","type","text","autocomplete","off","formControlName","url"],[4,"ngIf"],["type","submit","mat-raised-button","","color","primary",1,"ml",3,"disabled"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(w(0,Ote,40,17,"mat-form-field",0),d(1,`
-`)),i&2&&C("ngIf",r.existMoreThanOneServer)},dependencies:[ni,Re,Bi,lt,Kt,Di,pr,ph,Yr,$i,Tn,Cs,en,vi,jr,hn,tn,la,Pe],styles:[".actions[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-evenly}.rg[_ngcontent-%COMP%]{float:right}.ml[_ngcontent-%COMP%]{margin-left:10px}.sticky[_ngcontent-%COMP%]{position:sticky;z-index:1;top:0;background-color:#fff;box-shadow:1px -2px 10px gray}mat-form-field[_ngcontent-%COMP%]{width:96%}"]})}}return t})();function Pte(t,n){if(t&1&&(p(0,"mat-option",5),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(`
- `,e,`
- `)}}var Zbe=(()=>{class t{constructor(e){this.settingsService=e,this.tenantSelector=new kn}ngOnInit(){this.tenantSelector.setValue(this.settingsService.tenantIdentifier),this.tenants.length>1?this.tenantSelector.enable:this.tenantSelector.disable}get tenants(){return this.settingsService.tenantIdentifiers||[]}setTenantIdentifier(){this.settingsService.setTenantIdentifier(this.tenantSelector.value)}allowSelection(){return this.tenants.length>1}static{this.\u0275fac=function(i){return new(i||t)(m(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-tenant-selector"]],decls:17,vars:5,consts:[["id","tenant-selector",1,"flex-fill","align-center"],["matPrefix","",1,"m-r-10"],["icon","building","size","lg"],[1,"tenantselector",3,"selectionChange","formControl"],[3,"value",4,"ngFor","ngForOf"],[3,"value"]],template:function(i,r){i&1&&(p(0,"mat-form-field",0),d(1,`
- `),p(2,"span",1),d(3,`
- `),R(4,"fa-icon",2),d(5,`
- `),f(),d(6,`
- `),p(7,"mat-label"),d(8),I(9,"translate"),f(),d(10,`
- `),p(11,"mat-select",3),H("selectionChange",function(){return r.setTenantIdentifier()}),d(12,`
- `),w(13,Pte,2,2,"mat-option",4),d(14,`
- `),f(),d(15,`
-`),f(),d(16,`
-`)),i&2&&(g(8),E(P(9,3,"labels.inputs.Tenant")),g(3),C("formControl",r.tenantSelector),g(2),C("ngForOf",r.tenants))},dependencies:[ni,Ut,Bi,Kt,Di,ph,Tn,vi,hn,Pe],styles:["#tenant-selector[_ngcontent-%COMP%], .tenantselector[_ngcontent-%COMP%]{width:14rem;margin-bottom:.6rem}"]})}}return t})();var _I={prefix:"fas",iconName:"fill-drip",icon:[576,512,[],"f576","M41.4 9.4C53.9-3.1 74.1-3.1 86.6 9.4L168 90.7l53.1-53.1c28.1-28.1 73.7-28.1 101.8 0L474.3 189.1c28.1 28.1 28.1 73.7 0 101.8L283.9 481.4c-37.5 37.5-98.3 37.5-135.8 0L30.6 363.9c-37.5-37.5-37.5-98.3 0-135.8L122.7 136 41.4 54.6c-12.5-12.5-12.5-32.8 0-45.3zm176 221.3L168 181.3 75.9 273.4c-4.2 4.2-7 9.3-8.4 14.6H386.7l42.3-42.3c3.1-3.1 3.1-8.2 0-11.3L277.7 82.9c-3.1-3.1-8.2-3.1-11.3 0L213.3 136l49.4 49.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0zM512 512c-35.3 0-64-28.7-64-64c0-25.2 32.6-79.6 51.2-108.7c6-9.4 19.5-9.4 25.5 0C543.4 368.4 576 422.8 576 448c0 35.3-28.7 64-64 64z"]};var Tte={prefix:"fas",iconName:"message",icon:[512,512,["comment-alt"],"f27a","M64 0C28.7 0 0 28.7 0 64V352c0 35.3 28.7 64 64 64h96v80c0 6.1 3.4 11.6 8.8 14.3s11.9 2.1 16.8-1.5L309.3 416H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64z"]},vI=Tte,bI={prefix:"fas",iconName:"info",icon:[192,512,[],"f129","M144 80c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM0 224c0-17.7 14.3-32 32-32H96c17.7 0 32 14.3 32 32V448h32c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H64V256H32c-17.7 0-32-14.3-32-32z"]};var Vte={prefix:"fas",iconName:"file-lines",icon:[384,512,[128441,128462,61686,"file-alt","file-text"],"f15c","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]},yI=Vte;var Ate={prefix:"fas",iconName:"calendar-days",icon:[448,512,["calendar-alt"],"f073","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zm64 80v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm128 0v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H208c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V272c0-8.8-7.2-16-16-16H336zM64 400v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H80c-8.8 0-16 7.2-16 16zm144-16c-8.8 0-16 7.2-16 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H208zm112 16v32c0 8.8 7.2 16 16 16h32c8.8 0 16-7.2 16-16V400c0-8.8-7.2-16-16-16H336c-8.8 0-16 7.2-16 16z"]},CI=Ate;var zte={prefix:"fas",iconName:"circle-minus",icon:[512,512,["minus-circle"],"f056","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM184 232H328c13.3 0 24 10.7 24 24s-10.7 24-24 24H184c-13.3 0-24-10.7-24-24s10.7-24 24-24z"]},xI=zte;var Lte={prefix:"fas",iconName:"right-from-bracket",icon:[512,512,["sign-out-alt"],"f2f5","M160 96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96C43 32 0 75 0 128V384c0 53 43 96 96 96h64c17.7 0 32-14.3 32-32s-14.3-32-32-32H96c-17.7 0-32-14.3-32-32l0-256c0-17.7 14.3-32 32-32h64zM504.5 273.4c4.8-4.5 7.5-10.8 7.5-17.4s-2.7-12.9-7.5-17.4l-144-136c-7-6.6-17.2-8.4-26-4.6s-14.5 12.5-14.5 22v72H192c-17.7 0-32 14.3-32 32l0 64c0 17.7 14.3 32 32 32H320v72c0 9.6 5.7 18.2 14.5 22s19 2 26-4.6l144-136z"]},MI=Lte;var wI={prefix:"fas",iconName:"laptop",icon:[640,512,[128187],"f109","M128 32C92.7 32 64 60.7 64 96V352h64V96H512V352h64V96c0-35.3-28.7-64-64-64H128zM19.2 384C8.6 384 0 392.6 0 403.2C0 445.6 34.4 480 76.8 480H563.2c42.4 0 76.8-34.4 76.8-76.8c0-10.6-8.6-19.2-19.2-19.2H19.2z"]};var Hte={prefix:"fas",iconName:"pencil",icon:[512,512,[9999,61504,"pencil-alt"],"f303","M410.3 231l11.3-11.3-33.9-33.9-62.1-62.1L291.7 89.8l-11.3 11.3-22.6 22.6L58.6 322.9c-10.4 10.4-18 23.3-22.2 37.4L1 480.7c-2.5 8.4-.2 17.5 6.1 23.7s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L387.7 253.7 410.3 231zM160 399.4l-9.1 22.7c-4 3.1-8.5 5.4-13.3 6.9L59.4 452l23-78.1c1.4-4.9 3.8-9.4 6.9-13.3l22.7-9.1v32c0 8.8 7.2 16 16 16h32zM362.7 18.7L348.3 33.2 325.7 55.8 314.3 67.1l33.9 33.9 62.1 62.1 33.9 33.9 11.3-11.3 22.6-22.6 14.5-14.5c25-25 25-65.5 0-90.5L453.3 18.7c-25-25-65.5-25-90.5 0zm-47.4 168l-144 144c-6.2 6.2-16.4 6.2-22.6 0s-6.2-16.4 0-22.6l144-144c6.2-6.2 16.4-6.2 22.6 0s6.2 16.4 0 22.6z"]},DI=Hte;var Rte={prefix:"fas",iconName:"box-archive",icon:[512,512,["archive"],"f187","M32 32H480c17.7 0 32 14.3 32 32V96c0 17.7-14.3 32-32 32H32C14.3 128 0 113.7 0 96V64C0 46.3 14.3 32 32 32zm0 128H480V416c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V160zm128 80c0 8.8 7.2 16 16 16H336c8.8 0 16-7.2 16-16s-7.2-16-16-16H176c-8.8 0-16 7.2-16 16z"]},SI=Rte;var kI={prefix:"fas",iconName:"cloud",icon:[640,512,[9729],"f0c2","M0 336c0 79.5 64.5 144 144 144H512c70.7 0 128-57.3 128-128c0-61.9-44-113.6-102.4-125.4c4.1-10.7 6.4-22.4 6.4-34.6c0-53-43-96-96-96c-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32C167.6 32 96 103.6 96 192c0 2.7 .1 5.4 .2 8.1C40.2 219.8 0 273.2 0 336z"]};var II={prefix:"fas",iconName:"table",icon:[512,512,[],"f0ce","M64 256V160H224v96H64zm0 64H224v96H64V320zm224 96V320H448v96H288zM448 256H288V160H448v96zM64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64z"]};var R7={prefix:"fas",iconName:"bars",icon:[448,512,["navicon"],"f0c9","M0 96C0 78.3 14.3 64 32 64H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zM0 256c0-17.7 14.3-32 32-32H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zM448 416c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H416c17.7 0 32 14.3 32 32z"]};var Nte={prefix:"fas",iconName:"heart-crack",icon:[512,512,[128148,"heart-broken"],"f7a9","M119.4 44.1c23.3-3.9 46.8-1.9 68.6 5.3l49.8 77.5-75.4 75.4c-1.5 1.5-2.4 3.6-2.3 5.8s1 4.2 2.6 5.7l112 104c2.9 2.7 7.4 2.9 10.5 .3s3.8-7 1.7-10.4l-60.4-98.1 90.7-75.6c2.6-2.1 3.5-5.7 2.4-8.8L296.8 61.8c28.5-16.7 62.4-23.2 95.7-17.6C461.5 55.6 512 115.2 512 185.1v5.8c0 41.5-17.2 81.2-47.6 109.5L283.7 469.1c-7.5 7-17.4 10.9-27.7 10.9s-20.2-3.9-27.7-10.9L47.6 300.4C17.2 272.1 0 232.4 0 190.9v-5.8c0-69.9 50.5-129.5 119.4-141z"]},EI=Nte;var Fte={prefix:"fas",iconName:"circle-exclamation",icon:[512,512,["exclamation-circle"],"f06a","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zm0-384c13.3 0 24 10.7 24 24V264c0 13.3-10.7 24-24 24s-24-10.7-24-24V152c0-13.3 10.7-24 24-24zm32 224c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},OI=Fte;var PI={prefix:"fas",iconName:"sitemap",icon:[576,512,[],"f0e8","M208 80c0-26.5 21.5-48 48-48h64c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48h-8v40H464c30.9 0 56 25.1 56 56v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H464c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-4.4-3.6-8-8-8H312v40h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H256c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V280H112c-4.4 0-8 3.6-8 8v32h8c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V368c0-26.5 21.5-48 48-48h8V288c0-30.9 25.1-56 56-56H264V192h-8c-26.5 0-48-21.5-48-48V80z"]},jte={prefix:"fas",iconName:"circle-dollar-to-slot",icon:[512,512,["donate"],"f4b9","M326.7 403.7c-22.1 8-45.9 12.3-70.7 12.3s-48.7-4.4-70.7-12.3c-.3-.1-.5-.2-.8-.3c-30-11-56.8-28.7-78.6-51.4C70 314.6 48 263.9 48 208C48 93.1 141.1 0 256 0S464 93.1 464 208c0 55.9-22 106.6-57.9 144c-1 1-2 2.1-3 3.1c-21.4 21.4-47.4 38.1-76.3 48.6zM256 91.9c-11.1 0-20.1 9-20.1 20.1v6c-5.6 1.2-10.9 2.9-15.9 5.1c-15 6.8-27.9 19.4-31.1 37.7c-1.8 10.2-.8 20 3.4 29c4.2 8.8 10.7 15 17.3 19.5c11.6 7.9 26.9 12.5 38.6 16l2.2 .7c13.9 4.2 23.4 7.4 29.3 11.7c2.5 1.8 3.4 3.2 3.8 4c.3 .8 .9 2.6 .2 6.7c-.6 3.5-2.5 6.4-8 8.8c-6.1 2.6-16 3.9-28.8 1.9c-6-1-16.7-4.6-26.2-7.9l0 0 0 0 0 0c-2.2-.7-4.3-1.5-6.4-2.1c-10.5-3.5-21.8 2.2-25.3 12.7s2.2 21.8 12.7 25.3c1.2 .4 2.7 .9 4.4 1.5c7.9 2.7 20.3 6.9 29.8 9.1V304c0 11.1 9 20.1 20.1 20.1s20.1-9 20.1-20.1v-5.5c5.4-1 10.5-2.5 15.4-4.6c15.7-6.7 28.4-19.7 31.6-38.7c1.8-10.4 1-20.3-3-29.4c-3.9-9-10.2-15.6-16.9-20.5c-12.2-8.8-28.3-13.7-40.4-17.4l-.8-.2c-14.2-4.3-23.8-7.3-29.9-11.4c-2.6-1.8-3.4-3-3.6-3.5c-.2-.3-.7-1.6-.1-5c.3-1.9 1.9-5.2 8.2-8.1c6.4-2.9 16.4-4.5 28.6-2.6c4.3 .7 17.9 3.3 21.7 4.3c10.7 2.8 21.6-3.5 24.5-14.2s-3.5-21.6-14.2-24.5c-4.4-1.2-14.4-3.2-21-4.4V112c0-11.1-9-20.1-20.1-20.1zM48 352H64c19.5 25.9 44 47.7 72.2 64H64v32H256 448V416H375.8c28.2-16.3 52.8-38.1 72.2-64h16c26.5 0 48 21.5 48 48v64c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V400c0-26.5 21.5-48 48-48z"]},TI=jte;var VI={prefix:"fas",iconName:"flag",icon:[448,512,[127988,61725],"f024","M64 32C64 14.3 49.7 0 32 0S0 14.3 0 32V64 368 480c0 17.7 14.3 32 32 32s32-14.3 32-32V352l64.3-16.1c41.1-10.3 84.6-5.5 122.5 13.4c44.2 22.1 95.5 24.8 141.7 7.4l34.7-13c12.5-4.7 20.8-16.6 20.8-30V66.1c0-23-24.2-38-44.8-27.7l-9.6 4.8c-46.3 23.2-100.8 23.2-147.1 0c-35.1-17.6-75.4-22-113.5-12.5L64 48V32z"]};var AI={prefix:"fas",iconName:"list",icon:[512,512,["list-squares"],"f03a","M40 48C26.7 48 16 58.7 16 72v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V72c0-13.3-10.7-24-24-24H40zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM16 232v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V232c0-13.3-10.7-24-24-24H40c-13.3 0-24 10.7-24 24zM40 368c-13.3 0-24 10.7-24 24v48c0 13.3 10.7 24 24 24H88c13.3 0 24-10.7 24-24V392c0-13.3-10.7-24-24-24H40z"]};var zI={prefix:"fas",iconName:"lock",icon:[448,512,[128274],"f023","M144 144v48H304V144c0-44.2-35.8-80-80-80s-80 35.8-80 80zM80 192V144C80 64.5 144.5 0 224 0s144 64.5 144 144v48h16c35.3 0 64 28.7 64 64V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V256c0-35.3 28.7-64 64-64H80z"]};var Bte={prefix:"fas",iconName:"pen-to-square",icon:[512,512,["edit"],"f044","M471.6 21.7c-21.9-21.9-57.3-21.9-79.2 0L362.3 51.7l97.9 97.9 30.1-30.1c21.9-21.9 21.9-57.3 0-79.2L471.6 21.7zm-299.2 220c-6.1 6.1-10.8 13.6-13.5 21.9l-29.6 88.8c-2.9 8.6-.6 18.1 5.8 24.6s15.9 8.7 24.6 5.8l88.8-29.6c8.2-2.8 15.7-7.4 21.9-13.5L437.7 172.3 339.7 74.3 172.4 241.7zM96 64C43 64 0 107 0 160V416c0 53 43 96 96 96H352c53 0 96-43 96-96V320c0-17.7-14.3-32-32-32s-32 14.3-32 32v96c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V160c0-17.7 14.3-32 32-32h96c17.7 0 32-14.3 32-32s-14.3-32-32-32H96z"]},LI=Bte;var HI={prefix:"fas",iconName:"users",icon:[640,512,[],"f0c0","M144 160c-44.2 0-80-35.8-80-80S99.8 0 144 0s80 35.8 80 80s-35.8 80-80 80zm368 0c-44.2 0-80-35.8-80-80s35.8-80 80-80s80 35.8 80 80s-35.8 80-80 80zM0 298.7C0 239.8 47.8 192 106.7 192h42.7c15.9 0 31 3.5 44.6 9.7c-1.3 7.2-1.9 14.7-1.9 22.3c0 38.2 16.8 72.5 43.3 96c-.2 0-.4 0-.7 0H21.3C9.6 320 0 310.4 0 298.7zM405.3 320c-.2 0-.4 0-.7 0c26.6-23.5 43.3-57.8 43.3-96c0-7.6-.7-15-1.9-22.3c13.6-6.3 28.7-9.7 44.6-9.7h42.7C592.2 192 640 239.8 640 298.7c0 11.8-9.6 21.3-21.3 21.3H405.3zM416 224c0 53-43 96-96 96s-96-43-96-96s43-96 96-96s96 43 96 96zM128 485.3C128 411.7 187.7 352 261.3 352H378.7C452.3 352 512 411.7 512 485.3c0 14.7-11.9 26.7-26.7 26.7H154.7c-14.7 0-26.7-11.9-26.7-26.7z"]},RI={prefix:"fas",iconName:"eye-slash",icon:[640,512,[],"f070","M38.8 5.1C28.4-3.1 13.3-1.2 5.1 9.2S-1.2 34.7 9.2 42.9l592 464c10.4 8.2 25.5 6.3 33.7-4.1s6.3-25.5-4.1-33.7L525.6 386.7c39.6-40.6 66.4-86.1 79.9-118.4c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C465.5 68.8 400.8 32 320 32c-68.2 0-125 26.3-169.3 60.8L38.8 5.1zM223.1 149.5C248.6 126.2 282.7 112 320 112c79.5 0 144 64.5 144 144c0 24.9-6.3 48.3-17.4 68.7L408 294.5c5.2-11.8 8-24.8 8-38.5c0-53-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6c0 10.2-2.4 19.8-6.6 28.3l-90.3-70.8zm223.1 298L373 389.9c-16.4 6.5-34.3 10.1-53 10.1c-79.5 0-144-64.5-144-144c0-6.9 .5-13.6 1.4-20.2L83.1 161.5C60.3 191.2 44 220.8 34.5 243.7c-3.3 7.9-3.3 16.7 0 24.6c14.9 35.7 46.2 87.7 93 131.1C174.5 443.2 239.2 480 320 480c47.8 0 89.9-12.9 126.2-32.5z"]};var NI={prefix:"fas",iconName:"money-bill",icon:[576,512,[],"f0d6","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM288 352c-53 0-96-43-96-96s43-96 96-96s96 43 96 96s-43 96-96 96z"]};var FI={prefix:"fas",iconName:"user",icon:[448,512,[128100,62144],"f007","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c16.4 0 29.7-13.3 29.7-29.7C448 383.8 368.2 304 269.7 304H178.3z"]};var jI={prefix:"fas",iconName:"key",icon:[512,512,[128273],"f084","M336 352c97.2 0 176-78.8 176-176S433.2 0 336 0S160 78.8 160 176c0 18.7 2.9 36.8 8.3 53.7L7 391c-4.5 4.5-7 10.6-7 17v80c0 13.3 10.7 24 24 24h80c13.3 0 24-10.7 24-24V448h40c13.3 0 24-10.7 24-24V384h40c6.4 0 12.5-2.5 17-7l33.3-33.3c16.9 5.4 35 8.3 53.7 8.3zm40-176c-22.1 0-40-17.9-40-40s17.9-40 40-40s40 17.9 40 40s-17.9 40-40 40z"]};var BI={prefix:"fas",iconName:"location-arrow",icon:[448,512,[],"f124","M429.6 92.1c4.9-11.9 2.1-25.6-7-34.7s-22.8-11.9-34.7-7l-352 144c-14.2 5.8-22.2 20.8-19.3 35.8s16.1 25.8 31.4 25.8H224V432c0 15.3 10.8 28.4 25.8 31.4s30-5.1 35.8-19.3l144-352z"]};var N7={prefix:"fas",iconName:"ban",icon:[512,512,[128683,"cancel"],"f05e","M367.2 412.5L99.5 144.8C77.1 176.1 64 214.5 64 256c0 106 86 192 192 192c41.5 0 79.9-13.1 111.2-35.5zm45.3-45.3C434.9 335.9 448 297.5 448 256c0-106-86-192-192-192c-41.5 0-79.9 13.1-111.2 35.5L412.5 367.2zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256z"]};var Ute={prefix:"fas",iconName:"shuffle",icon:[512,512,[128256,"random"],"f074","M403.8 34.4c12-5 25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V160H352c-10.1 0-19.6 4.7-25.6 12.8L284 229.3 244 176l31.2-41.6C293.3 110.2 321.8 96 352 96h32V64c0-12.9 7.8-24.6 19.8-29.6zM164 282.7L204 336l-31.2 41.6C154.7 401.8 126.2 416 96 416H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c10.1 0 19.6-4.7 25.6-12.8L164 282.7zm274.6 188c-9.2 9.2-22.9 11.9-34.9 6.9s-19.8-16.6-19.8-29.6V416H352c-30.2 0-58.7-14.2-76.8-38.4L121.6 172.8c-6-8.1-15.5-12.8-25.6-12.8H32c-17.7 0-32-14.3-32-32s14.3-32 32-32H96c30.2 0 58.7 14.2 76.8 38.4L326.4 339.2c6 8.1 15.5 12.8 25.6 12.8h32V320c0-12.9 7.8-24.6 19.8-29.6s25.7-2.2 34.9 6.9l64 64c6 6 9.4 14.1 9.4 22.6s-3.4 16.6-9.4 22.6l-64 64z"]},UI=Ute;var $I={prefix:"fas",iconName:"folder-open",icon:[576,512,[128194,128449,61717],"f07c","M88.7 223.8L0 375.8V96C0 60.7 28.7 32 64 32H181.5c17 0 33.3 6.7 45.3 18.7l26.5 26.5c12 12 28.3 18.7 45.3 18.7H416c35.3 0 64 28.7 64 64v32H144c-22.8 0-43.8 12.1-55.3 31.8zm27.6 16.1C122.1 230 132.6 224 144 224H544c11.5 0 22 6.1 27.7 16.1s5.7 22.2-.1 32.1l-112 192C453.9 474 443.4 480 432 480H32c-11.5 0-22-6.1-27.7-16.1s-5.7-22.2 .1-32.1l112-192z"]};var $te={prefix:"fas",iconName:"file-arrow-up",icon:[384,512,["file-upload"],"f574","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM216 408c0 13.3-10.7 24-24 24s-24-10.7-24-24V305.9l-31 31c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l72-72c9.4-9.4 24.6-9.4 33.9 0l72 72c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-31-31V408z"]},GI=$te;var WI={prefix:"fas",iconName:"chart-bar",icon:[512,512,["bar-chart"],"f080","M32 32c17.7 0 32 14.3 32 32V400c0 8.8 7.2 16 16 16H480c17.7 0 32 14.3 32 32s-14.3 32-32 32H80c-44.2 0-80-35.8-80-80V64C0 46.3 14.3 32 32 32zm96 96c0-17.7 14.3-32 32-32l192 0c17.7 0 32 14.3 32 32s-14.3 32-32 32l-192 0c-17.7 0-32-14.3-32-32zm32 64H288c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32zm0 96H416c17.7 0 32 14.3 32 32s-14.3 32-32 32H160c-17.7 0-32-14.3-32-32s14.3-32 32-32z"]};var Gte={prefix:"fas",iconName:"circle-check",icon:[512,512,[61533,"check-circle"],"f058","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM369 209L241 337c-9.4 9.4-24.6 9.4-33.9 0l-64-64c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l47 47L335 175c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9z"]},qI=Gte;var YI={prefix:"fas",iconName:"id-badge",icon:[384,512,[],"f2c1","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zm96 320h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H96c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zM144 64h96c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var QI={prefix:"fas",iconName:"user-tie",icon:[448,512,[],"f508","M224 0c70.7 0 128 57.3 128 128s-57.3 128-128 128s-128-57.3-128-128S153.3 0 224 0zM209.1 359.2l-18.6-31c-6.4-10.7 1.3-24.2 13.7-24.2H224h19.7c12.4 0 20.1 13.6 13.7 24.2l-18.6 31 33.4 123.9 39.5-161.2c77.2 12 136.3 78.8 136.3 159.4c0 17-13.8 30.7-30.7 30.7H265.1 182.9 30.7C13.8 512 0 498.2 0 481.3c0-80.6 59.1-147.4 136.3-159.4l39.5 161.2 33.4-123.9z"]};var KI={prefix:"fas",iconName:"pause",icon:[320,512,[9208],"f04c","M48 64C21.5 64 0 85.5 0 112V400c0 26.5 21.5 48 48 48H80c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H48zm192 0c-26.5 0-48 21.5-48 48V400c0 26.5 21.5 48 48 48h32c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48H240z"]};var ZI={prefix:"fas",iconName:"address-card",icon:[576,512,[62140,"contact-card","vcard"],"f2bb","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm80 256h64c44.2 0 80 35.8 80 80c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16c0-44.2 35.8-80 80-80zm96-96c0 35.3-28.7 64-64 64s-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64zm128-32H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H496c8.8 0 16 7.2 16 16s-7.2 16-16 16H368c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var Wte={prefix:"fas",iconName:"cloud-arrow-up",icon:[640,512,[62338,"cloud-upload","cloud-upload-alt"],"f0ee","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-217c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l39-39V392c0 13.3 10.7 24 24 24s24-10.7 24-24V257.9l39 39c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-80-80c-9.4-9.4-24.6-9.4-33.9 0l-80 80z"]};var XI=Wte;var JI={prefix:"fas",iconName:"file-word",icon:[384,512,[],"f1c2","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM111 257.1l26.8 89.2 31.6-90.3c3.4-9.6 12.5-16.1 22.7-16.1s19.3 6.4 22.7 16.1l31.6 90.3L273 257.1c3.8-12.7 17.2-19.9 29.9-16.1s19.9 17.2 16.1 29.9l-48 160c-3 10-12.1 16.9-22.4 17.1s-19.8-6.2-23.2-16.1L192 336.6l-33.3 95.3c-3.4 9.8-12.8 16.3-23.2 16.1s-19.5-7.1-22.4-17.1l-48-160c-3.8-12.7 3.4-26.1 16.1-29.9s26.1 3.4 29.9 16.1z"]};var qte={prefix:"fas",iconName:"cloud-arrow-down",icon:[640,512,[62337,"cloud-download","cloud-download-alt"],"f0ed","M144 480C64.5 480 0 415.5 0 336c0-62.8 40.2-116.2 96.2-135.9c-.1-2.7-.2-5.4-.2-8.1c0-88.4 71.6-160 160-160c59.3 0 111 32.2 138.7 80.2C409.9 102 428.3 96 448 96c53 0 96 43 96 96c0 12.2-2.3 23.8-6.4 34.6C596 238.4 640 290.1 640 352c0 70.7-57.3 128-128 128H144zm79-167l80 80c9.4 9.4 24.6 9.4 33.9 0l80-80c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-39 39V184c0-13.3-10.7-24-24-24s-24 10.7-24 24V318.1l-39-39c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9z"]};var eE=qte;var Yte={prefix:"fas",iconName:"arrows-rotate",icon:[512,512,[128472,"refresh","sync"],"f021","M105.1 202.6c7.7-21.8 20.2-42.3 37.8-59.8c62.5-62.5 163.8-62.5 226.3 0L386.3 160H336c-17.7 0-32 14.3-32 32s14.3 32 32 32H463.5c0 0 0 0 0 0h.4c17.7 0 32-14.3 32-32V64c0-17.7-14.3-32-32-32s-32 14.3-32 32v51.2L414.4 97.6c-87.5-87.5-229.3-87.5-316.8 0C73.2 122 55.6 150.7 44.8 181.4c-5.9 16.7 2.9 34.9 19.5 40.8s34.9-2.9 40.8-19.5zM39 289.3c-5 1.5-9.8 4.2-13.7 8.2c-4 4-6.7 8.8-8.1 14c-.3 1.2-.6 2.5-.8 3.8c-.3 1.7-.4 3.4-.4 5.1V448c0 17.7 14.3 32 32 32s32-14.3 32-32V396.9l17.6 17.5 0 0c87.5 87.4 229.3 87.4 316.7 0c24.4-24.4 42.1-53.1 52.9-83.7c5.9-16.7-2.9-34.9-19.5-40.8s-34.9 2.9-40.8 19.5c-7.7 21.8-20.2 42.3-37.8 59.8c-62.5 62.5-163.8 62.5-226.3 0l-.1-.1L125.6 352H176c17.7 0 32-14.3 32-32s-14.3-32-32-32H48.4c-1.6 0-3.2 .1-4.8 .3s-3.1 .5-4.6 1z"]};var tE=Yte;var Qte={prefix:"fas",iconName:"shield-halved",icon:[512,512,["shield-alt"],"f3ed","M256 0c4.6 0 9.2 1 13.4 2.9L457.7 82.8c22 9.3 38.4 31 38.3 57.2c-.5 99.2-41.3 280.7-213.7 363.2c-16.7 8-36.1 8-52.8 0C57.3 420.7 16.5 239.2 16 140c-.1-26.2 16.3-47.9 38.3-57.2L242.7 2.9C246.8 1 251.4 0 256 0zm0 66.8V444.8C394 378 431.1 230.1 432 141.4L256 66.8l0 0z"]},iE=Qte;var nE={prefix:"fas",iconName:"money-check",icon:[576,512,[],"f53c","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm48 160H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zM96 336c0-8.8 7.2-16 16-16H464c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16zM376 160h80c13.3 0 24 10.7 24 24v48c0 13.3-10.7 24-24 24H376c-13.3 0-24-10.7-24-24V184c0-13.3 10.7-24 24-24z"]};var rE={prefix:"fas",iconName:"road",icon:[576,512,[128739],"f018","M256 32H181.2c-27.1 0-51.3 17.1-60.3 42.6L3.1 407.2C1.1 413 0 419.2 0 425.4C0 455.5 24.5 480 54.6 480H256V416c0-17.7 14.3-32 32-32s32 14.3 32 32v64H521.4c30.2 0 54.6-24.5 54.6-54.6c0-6.2-1.1-12.4-3.1-18.2L455.1 74.6C446 49.1 421.9 32 394.8 32H320V96c0 17.7-14.3 32-32 32s-32-14.3-32-32V32zm64 192v64c0 17.7-14.3 32-32 32s-32-14.3-32-32V224c0-17.7 14.3-32 32-32s32 14.3 32 32z"]};var aE={prefix:"fas",iconName:"file-excel",icon:[384,512,[],"f1c3","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM155.7 250.2L192 302.1l36.3-51.9c7.6-10.9 22.6-13.5 33.4-5.9s13.5 22.6 5.9 33.4L221.3 344l46.4 66.2c7.6 10.9 5 25.8-5.9 33.4s-25.8 5-33.4-5.9L192 385.8l-36.3 51.9c-7.6 10.9-22.6 13.5-33.4 5.9s-13.5-22.6-5.9-33.4L162.7 344l-46.4-66.2c-7.6-10.9-5-25.8 5.9-33.4s25.8-5 33.4 5.9z"]};var oE={prefix:"fas",iconName:"chart-line",icon:[512,512,["line-chart"],"f201","M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z"]};var sE={prefix:"fas",iconName:"arrow-right",icon:[448,512,[8594],"f061","M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"]};var cE={prefix:"fas",iconName:"lock-open",icon:[576,512,[],"f3c1","M352 144c0-44.2 35.8-80 80-80s80 35.8 80 80v48c0 17.7 14.3 32 32 32s32-14.3 32-32V144C576 64.5 511.5 0 432 0S288 64.5 288 144v48H64c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V256c0-35.3-28.7-64-64-64H352V144z"]};var lE={prefix:"fas",iconName:"circle",icon:[512,512,[128308,128309,128992,128993,128994,128995,128996,9679,9898,9899,11044,61708,61915],"f111","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512z"]};var Kte={prefix:"fas",iconName:"circle-question",icon:[512,512,[62108,"question-circle"],"f059","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM169.8 165.3c7.9-22.3 29.1-37.3 52.8-37.3h58.3c34.9 0 63.1 28.3 63.1 63.1c0 22.6-12.1 43.5-31.7 54.8L280 264.4c-.2 13-10.9 23.6-24 23.6c-13.3 0-24-10.7-24-24V250.5c0-8.6 4.6-16.5 12.1-20.8l44.3-25.4c4.7-2.7 7.6-7.7 7.6-13.1c0-8.4-6.8-15.1-15.1-15.1H222.6c-3.4 0-6.4 2.1-7.5 5.3l-.4 1.2c-4.4 12.5-18.2 19-30.6 14.6s-19-18.2-14.6-30.6l.4-1.2zM288 352c0 17.7-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32z"]},dE=Kte;var uE={prefix:"fas",iconName:"tags",icon:[512,512,[],"f02c","M345 39.1L472.8 168.4c52.4 53 52.4 138.2 0 191.2L360.8 472.9c-9.3 9.4-24.5 9.5-33.9 .2s-9.5-24.5-.2-33.9L438.6 325.9c33.9-34.3 33.9-89.4 0-123.7L310.9 72.9c-9.3-9.4-9.2-24.6 .2-33.9s24.6-9.2 33.9 .2zM0 229.5V80C0 53.5 21.5 32 48 32H197.5c17 0 33.3 6.7 45.3 18.7l168 168c25 25 25 65.5 0 90.5L277.3 442.7c-25 25-65.5 25-90.5 0l-168-168C6.7 262.7 0 246.5 0 229.5zM144 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]};var hE={prefix:"fas",iconName:"eye",icon:[576,512,[128065],"f06e","M288 32c-80.8 0-145.5 36.8-192.6 80.6C48.6 156 17.3 208 2.5 243.7c-3.3 7.9-3.3 16.7 0 24.6C17.3 304 48.6 356 95.4 399.4C142.5 443.2 207.2 480 288 480s145.5-36.8 192.6-80.6c46.8-43.5 78.1-95.4 93-131.1c3.3-7.9 3.3-16.7 0-24.6c-14.9-35.7-46.2-87.7-93-131.1C433.5 68.8 368.8 32 288 32zM432 256c0 79.5-64.5 144-144 144s-144-64.5-144-144s64.5-144 144-144s144 64.5 144 144zM288 192c0 35.3-28.7 64-64 64c-11.5 0-22.3-3-31.6-8.4c-.2 2.8-.4 5.5-.4 8.4c0 53 43 96 96 96s96-43 96-96s-43-96-96-96c-2.8 0-5.6 .1-8.4 .4c5.3 9.3 8.4 20.1 8.4 31.6z"]};var mE={prefix:"fas",iconName:"pen",icon:[512,512,[128394],"f304","M362.7 19.3L314.3 67.7 444.3 197.7l48.4-48.4c25-25 25-65.5 0-90.5L453.3 19.3c-25-25-65.5-25-90.5 0zm-71 71L58.6 323.5c-10.4 10.4-18 23.3-22.2 37.4L1 481.2C-1.5 489.7 .8 498.8 7 505s15.3 8.5 23.7 6.1l120.3-35.4c14.1-4.2 27-11.8 37.4-22.2L421.7 220.3 291.7 90.3z"]};var Zte={prefix:"fas",iconName:"floppy-disk",icon:[448,512,[128190,128426,"save"],"f0c7","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H384c35.3 0 64-28.7 64-64V173.3c0-17-6.7-33.3-18.7-45.3L352 50.7C340 38.7 323.7 32 306.7 32H64zm0 96c0-17.7 14.3-32 32-32H288c17.7 0 32 14.3 32 32v64c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V128zM224 416c-35.3 0-64-28.7-64-64s28.7-64 64-64s64 28.7 64 64s-28.7 64-64 64z"]},pE=Zte;var Xte={prefix:"fas",iconName:"hand-holding-dollar",icon:[576,512,["hand-holding-usd"],"f4c0","M312 24V34.5c6.4 1.2 12.6 2.7 18.2 4.2c12.8 3.4 20.4 16.6 17 29.4s-16.6 20.4-29.4 17c-10.9-2.9-21.1-4.9-30.2-5c-7.3-.1-14.7 1.7-19.4 4.4c-2.1 1.3-3.1 2.4-3.5 3c-.3 .5-.7 1.2-.7 2.8c0 .3 0 .5 0 .6c.2 .2 .9 1.2 3.3 2.6c5.8 3.5 14.4 6.2 27.4 10.1l.9 .3 0 0c11.1 3.3 25.9 7.8 37.9 15.3c13.7 8.6 26.1 22.9 26.4 44.9c.3 22.5-11.4 38.9-26.7 48.5c-6.7 4.1-13.9 7-21.3 8.8V232c0 13.3-10.7 24-24 24s-24-10.7-24-24V220.6c-9.5-2.3-18.2-5.3-25.6-7.8c-2.1-.7-4.1-1.4-6-2c-12.6-4.2-19.4-17.8-15.2-30.4s17.8-19.4 30.4-15.2c2.6 .9 5 1.7 7.3 2.5c13.6 4.6 23.4 7.9 33.9 8.3c8 .3 15.1-1.6 19.2-4.1c1.9-1.2 2.8-2.2 3.2-2.9c.4-.6 .9-1.8 .8-4.1l0-.2c0-1 0-2.1-4-4.6c-5.7-3.6-14.3-6.4-27.1-10.3l-1.9-.6c-10.8-3.2-25-7.5-36.4-14.4c-13.5-8.1-26.5-22-26.6-44.1c-.1-22.9 12.9-38.6 27.7-47.4c6.4-3.8 13.3-6.4 20.2-8.2V24c0-13.3 10.7-24 24-24s24 10.7 24 24zM568.2 336.3c13.1 17.8 9.3 42.8-8.5 55.9L433.1 485.5c-23.4 17.2-51.6 26.5-80.7 26.5H192 32c-17.7 0-32-14.3-32-32V416c0-17.7 14.3-32 32-32H68.8l44.9-36c22.7-18.2 50.9-28 80-28H272h16 64c17.7 0 32 14.3 32 32s-14.3 32-32 32H288 272c-8.8 0-16 7.2-16 16s7.2 16 16 16H392.6l119.7-88.2c17.8-13.1 42.8-9.3 55.9 8.5zM193.6 384l0 0-.9 0c.3 0 .6 0 .9 0z"]},fE=Xte;var gE={prefix:"fas",iconName:"trash",icon:[448,512,[],"f1f8","M135.2 17.7L128 32H32C14.3 32 0 46.3 0 64S14.3 96 32 96H416c17.7 0 32-14.3 32-32s-14.3-32-32-32H320l-7.2-14.3C307.4 6.8 296.3 0 284.2 0H163.8c-12.1 0-23.2 6.8-28.6 17.7zM416 128H32L53.2 467c1.6 25.3 22.6 45 47.9 45H346.9c25.3 0 46.3-19.7 47.9-45L416 128z"]};var _E={prefix:"fas",iconName:"arrow-left",icon:[448,512,[8592],"f060","M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l160 160c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.2 288 416 288c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0L214.6 118.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-160 160z"]};var vE={prefix:"fas",iconName:"table-cells",icon:[512,512,["th"],"f00a","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V96c0-35.3-28.7-64-64-64H64zm88 64v64H64V96h88zm56 0h88v64H208V96zm240 0v64H360V96h88zM64 224h88v64H64V224zm232 0v64H208V224h88zm64 0h88v64H360V224zM152 352v64H64V352h88zm56 0h88v64H208V352zm240 0v64H360V352h88z"]};var bE={prefix:"fas",iconName:"tag",icon:[448,512,[127991],"f02b","M0 80V229.5c0 17 6.7 33.3 18.7 45.3l176 176c25 25 65.5 25 90.5 0L418.7 317.3c25-25 25-65.5 0-90.5l-176-176c-12-12-28.3-18.7-45.3-18.7H48C21.5 32 0 53.5 0 80zm112 96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]};var yE={prefix:"fas",iconName:"envelope",icon:[512,512,[128386,9993,61443],"f0e0","M48 64C21.5 64 0 85.5 0 112c0 15.1 7.1 29.3 19.2 38.4L236.8 313.6c11.4 8.5 27 8.5 38.4 0L492.8 150.4c12.1-9.1 19.2-23.3 19.2-38.4c0-26.5-21.5-48-48-48H48zM0 176V384c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V176L294.4 339.2c-22.8 17.1-54 17.1-76.8 0L0 176z"]};var CE={prefix:"fas",iconName:"calendar-check",icon:[448,512,[],"f274","M128 0c17.7 0 32 14.3 32 32V64H288V32c0-17.7 14.3-32 32-32s32 14.3 32 32V64h48c26.5 0 48 21.5 48 48v48H0V112C0 85.5 21.5 64 48 64H96V32c0-17.7 14.3-32 32-32zM0 192H448V464c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V192zM329 305c9.4-9.4 9.4-24.6 0-33.9s-24.6-9.4-33.9 0l-95 95-47-47c-9.4-9.4-24.6-9.4-33.9 0s-9.4 24.6 0 33.9l64 64c9.4 9.4 24.6 9.4 33.9 0L329 305z"]};var Jte={prefix:"fas",iconName:"arrow-rotate-left",icon:[512,512,[8634,"arrow-left-rotate","arrow-rotate-back","arrow-rotate-backward","undo"],"f0e2","M125.7 160H176c17.7 0 32 14.3 32 32s-14.3 32-32 32H48c-17.7 0-32-14.3-32-32V64c0-17.7 14.3-32 32-32s32 14.3 32 32v51.2L97.6 97.6c87.5-87.5 229.3-87.5 316.8 0s87.5 229.3 0 316.8s-229.3 87.5-316.8 0c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0c62.5 62.5 163.8 62.5 226.3 0s62.5-163.8 0-226.3s-163.8-62.5-226.3 0L125.7 160z"]};var F7=Jte;var eie={prefix:"fas",iconName:"money-bill-1",icon:[576,512,["money-bill-alt"],"f3d1","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm64 320H64V320c35.3 0 64 28.7 64 64zM64 192V128h64c0 35.3-28.7 64-64 64zM448 384c0-35.3 28.7-64 64-64v64H448zm64-192c-35.3 0-64-28.7-64-64h64v64zM400 256c0 61.9-50.1 112-112 112s-112-50.1-112-112s50.1-112 112-112s112 50.1 112 112zM252 208c0 9.7 6.9 17.7 16 19.6V276h-4c-11 0-20 9-20 20s9 20 20 20h24 24c11 0 20-9 20-20s-9-20-20-20h-4V208c0-11-9-20-20-20H272c-11 0-20 9-20 20z"]},xE=eie;var ME={prefix:"fas",iconName:"minus",icon:[448,512,[8211,8722,10134,"subtract"],"f068","M432 256c0 17.7-14.3 32-32 32L48 288c-17.7 0-32-14.3-32-32s14.3-32 32-32l352 0c17.7 0 32 14.3 32 32z"]};var tie={prefix:"fas",iconName:"gear",icon:[512,512,[9881,"cog"],"f013","M495.9 166.6c3.2 8.7 .5 18.4-6.4 24.6l-43.3 39.4c1.1 8.3 1.7 16.8 1.7 25.4s-.6 17.1-1.7 25.4l43.3 39.4c6.9 6.2 9.6 15.9 6.4 24.6c-4.4 11.9-9.7 23.3-15.8 34.3l-4.7 8.1c-6.6 11-14 21.4-22.1 31.2c-5.9 7.2-15.7 9.6-24.5 6.8l-55.7-17.7c-13.4 10.3-28.2 18.9-44 25.4l-12.5 57.1c-2 9.1-9 16.3-18.2 17.8c-13.8 2.3-28 3.5-42.5 3.5s-28.7-1.2-42.5-3.5c-9.2-1.5-16.2-8.7-18.2-17.8l-12.5-57.1c-15.8-6.5-30.6-15.1-44-25.4L83.1 425.9c-8.8 2.8-18.6 .3-24.5-6.8c-8.1-9.8-15.5-20.2-22.1-31.2l-4.7-8.1c-6.1-11-11.4-22.4-15.8-34.3c-3.2-8.7-.5-18.4 6.4-24.6l43.3-39.4C64.6 273.1 64 264.6 64 256s.6-17.1 1.7-25.4L22.4 191.2c-6.9-6.2-9.6-15.9-6.4-24.6c4.4-11.9 9.7-23.3 15.8-34.3l4.7-8.1c6.6-11 14-21.4 22.1-31.2c5.9-7.2 15.7-9.6 24.5-6.8l55.7 17.7c13.4-10.3 28.2-18.9 44-25.4l12.5-57.1c2-9.1 9-16.3 18.2-17.8C227.3 1.2 241.5 0 256 0s28.7 1.2 42.5 3.5c9.2 1.5 16.2 8.7 18.2 17.8l12.5 57.1c15.8 6.5 30.6 15.1 44 25.4l55.7-17.7c8.8-2.8 18.6-.3 24.5 6.8c8.1 9.8 15.5 20.2 22.1 31.2l4.7 8.1c6.1 11 11.4 22.4 15.8 34.3zM256 336c44.2 0 80-35.8 80-80s-35.8-80-80-80s-80 35.8-80 80s35.8 80 80 80z"]},wE=tie;var DE={prefix:"fas",iconName:"clock",icon:[512,512,[128339,"clock-four"],"f017","M256 512C114.6 512 0 397.4 0 256S114.6 0 256 0S512 114.6 512 256s-114.6 256-256 256zM232 120V256c0 8 4 15.5 10.7 20l96 64c11 7.4 25.9 4.4 33.3-6.7s4.4-25.9-6.7-33.3L280 243.2V120c0-13.3-10.7-24-24-24s-24 10.7-24 24z"]};var SE={prefix:"fas",iconName:"keyboard",icon:[576,512,[9e3],"f11c","M64 64C28.7 64 0 92.7 0 128V384c0 35.3 28.7 64 64 64H512c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64H64zm16 64h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16zm80-176c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V144zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zM160 336c0-8.8 7.2-16 16-16H400c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V336zM272 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM256 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM368 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM352 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H368c-8.8 0-16-7.2-16-16V240zM464 128h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V144c0-8.8 7.2-16 16-16zM448 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V240zm16 80h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H464c-8.8 0-16-7.2-16-16V336c0-8.8 7.2-16 16-16z"]};var kE={prefix:"fas",iconName:"piggy-bank",icon:[576,512,[],"f4d3","M400 96l0 .7c-5.3-.4-10.6-.7-16-.7H256c-16.5 0-32.5 2.1-47.8 6c-.1-2-.2-4-.2-6c0-53 43-96 96-96s96 43 96 96zm-16 32c3.5 0 7 .1 10.4 .3c4.2 .3 8.4 .7 12.6 1.3C424.6 109.1 450.8 96 480 96h32l-18.8 75.1c15.8 14.8 28.7 32.8 37.5 52.9H544c17.7 0 32 14.3 32 32v96c0 17.7-14.3 32-32 32H512c-9.1 12.1-19.9 22.9-32 32v64c0 17.7-14.3 32-32 32H416c-17.7 0-32-14.3-32-32V448H256v32c0 17.7-14.3 32-32 32H192c-17.7 0-32-14.3-32-32V416c-34.9-26.2-58.7-66.3-63.2-112H68c-37.6 0-68-30.4-68-68s30.4-68 68-68h4c13.3 0 24 10.7 24 24s-10.7 24-24 24H68c-11 0-20 9-20 20s9 20 20 20H99.2c12.1-59.8 57.7-107.5 116.3-122.8c12.9-3.4 26.5-5.2 40.5-5.2H384zm64 136c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"]};var IE={prefix:"fas",iconName:"coins",icon:[512,512,[],"f51e","M512 80c0 18-14.3 34.6-38.4 48c-29.1 16.1-72.5 27.5-122.3 30.9c-3.7-1.8-7.4-3.5-11.3-5C300.6 137.4 248.2 128 192 128c-8.3 0-16.4 .2-24.5 .6l-1.1-.6C142.3 114.6 128 98 128 80c0-44.2 86-80 192-80S512 35.8 512 80zM160.7 161.1c10.2-.7 20.7-1.1 31.3-1.1c62.2 0 117.4 12.3 152.5 31.4C369.3 204.9 384 221.7 384 240c0 4-.7 7.9-2.1 11.7c-4.6 13.2-17 25.3-35 35.5c0 0 0 0 0 0c-.1 .1-.3 .1-.4 .2l0 0 0 0c-.3 .2-.6 .3-.9 .5c-35 19.4-90.8 32-153.6 32c-59.6 0-112.9-11.3-148.2-29.1c-1.9-.9-3.7-1.9-5.5-2.9C14.3 274.6 0 258 0 240c0-34.8 53.4-64.5 128-75.4c10.5-1.5 21.4-2.7 32.7-3.5zM416 240c0-21.9-10.6-39.9-24.1-53.4c28.3-4.4 54.2-11.4 76.2-20.5c16.3-6.8 31.5-15.2 43.9-25.5V176c0 19.3-16.5 37.1-43.8 50.9c-14.6 7.4-32.4 13.7-52.4 18.5c.1-1.8 .2-3.5 .2-5.3zm-32 96c0 18-14.3 34.6-38.4 48c-1.8 1-3.6 1.9-5.5 2.9C304.9 404.7 251.6 416 192 416c-62.8 0-118.6-12.6-153.6-32C14.3 370.6 0 354 0 336V300.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 342.6 135.8 352 192 352s108.6-9.4 148.1-25.9c7.8-3.2 15.3-6.9 22.4-10.9c6.1-3.4 11.8-7.2 17.2-11.2c1.5-1.1 2.9-2.3 4.3-3.4V304v5.7V336zm32 0V304 278.1c19-4.2 36.5-9.5 52.1-16c16.3-6.8 31.5-15.2 43.9-25.5V272c0 10.5-5 21-14.9 30.9c-16.3 16.3-45 29.7-81.3 38.4c.1-1.7 .2-3.5 .2-5.3zM192 448c56.2 0 108.6-9.4 148.1-25.9c16.3-6.8 31.5-15.2 43.9-25.5V432c0 44.2-86 80-192 80S0 476.2 0 432V396.6c12.5 10.3 27.6 18.7 43.9 25.5C83.4 438.6 135.8 448 192 448z"]};var EE={prefix:"fas",iconName:"calculator",icon:[384,512,[128425],"f1ec","M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H64zM96 64H288c17.7 0 32 14.3 32 32v32c0 17.7-14.3 32-32 32H96c-17.7 0-32-14.3-32-32V96c0-17.7 14.3-32 32-32zM64 224c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM64 416c0-17.7 14.3-32 32-32h96c17.7 0 32 14.3 32 32s-14.3 32-32 32H96c-17.7 0-32-14.3-32-32zM192 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM160 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zM288 192c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32zM256 320c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm32 64c17.7 0 32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32s14.3-32 32-32z"]};var OE={prefix:"fas",iconName:"download",icon:[512,512,[],"f019","M288 32c0-17.7-14.3-32-32-32s-32 14.3-32 32V274.7l-73.4-73.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l128 128c12.5 12.5 32.8 12.5 45.3 0l128-128c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L288 274.7V32zM64 352c-35.3 0-64 28.7-64 64v32c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V416c0-35.3-28.7-64-64-64H346.5l-45.3 45.3c-25 25-65.5 25-90.5 0L165.5 352H64zM432 456c-13.3 0-24-10.7-24-24s10.7-24 24-24s24 10.7 24 24s-10.7 24-24 24z"]};var iie={prefix:"fas",iconName:"house",icon:[576,512,[127968,63498,63500,"home","home-alt","home-lg-alt"],"f015","M575.8 255.5c0 18-15 32.1-32 32.1h-32l.7 160.2c0 2.7-.2 5.4-.5 8.1V472c0 22.1-17.9 40-40 40H456c-1.1 0-2.2 0-3.3-.1c-1.4 .1-2.8 .1-4.2 .1H416 392c-22.1 0-40-17.9-40-40V448 384c0-17.7-14.3-32-32-32H256c-17.7 0-32 14.3-32 32v64 24c0 22.1-17.9 40-40 40H160 128.1c-1.5 0-3-.1-4.5-.2c-1.2 .1-2.4 .2-3.6 .2H104c-22.1 0-40-17.9-40-40V360c0-.9 0-1.9 .1-2.8V287.6H32c-18 0-32-14-32-32.1c0-9 3-17 10-24L266.4 8c7-7 15-8 22-8s15 2 21 7L564.8 231.5c8 7 12 15 11 24z"]},PE=iie;var nie={prefix:"fas",iconName:"arrow-right-arrow-left",icon:[448,512,[8644,"exchange"],"f0ec","M438.6 150.6c12.5-12.5 12.5-32.8 0-45.3l-96-96c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.7 96 32 96C14.3 96 0 110.3 0 128s14.3 32 32 32l306.7 0-41.4 41.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l96-96zm-333.3 352c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 416 416 416c17.7 0 32-14.3 32-32s-14.3-32-32-32l-306.7 0 41.4-41.4c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-96 96c-12.5 12.5-12.5 32.8 0 45.3l96 96z"]},TE=nie;var VE={prefix:"fas",iconName:"stop",icon:[384,512,[9209],"f04d","M0 128C0 92.7 28.7 64 64 64H320c35.3 0 64 28.7 64 64V384c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V128z"]};var AE={prefix:"fas",iconName:"upload",icon:[512,512,[],"f093","M288 109.3V352c0 17.7-14.3 32-32 32s-32-14.3-32-32V109.3l-73.4 73.4c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3l128-128c12.5-12.5 32.8-12.5 45.3 0l128 128c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L288 109.3zM64 352H192c0 35.3 28.7 64 64 64s64-28.7 64-64H448c35.3 0 64 28.7 64 64v32c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V416c0-35.3 28.7-64 64-64zM432 456c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24z"]};var zE={prefix:"fas",iconName:"bolt",icon:[448,512,[9889,"zap"],"f0e7","M349.4 44.6c5.9-13.7 1.5-29.7-10.6-38.5s-28.6-8-39.9 1.8l-256 224c-10 8.8-13.6 22.9-8.9 35.3S50.7 288 64 288H175.5L98.6 467.4c-5.9 13.7-1.5 29.7 10.6 38.5s28.6 8 39.9-1.8l256-224c10-8.8 13.6-22.9 8.9-35.3s-16.6-20.7-30-20.7H272.5L349.4 44.6z"]};var LE={prefix:"fas",iconName:"bell",icon:[448,512,[128276,61602],"f0f3","M224 0c-17.7 0-32 14.3-32 32V51.2C119 66 64 130.6 64 208v18.8c0 47-17.3 92.4-48.5 127.6l-7.4 8.3c-8.4 9.4-10.4 22.9-5.3 34.4S19.4 416 32 416H416c12.6 0 24-7.4 29.2-18.9s3.1-25-5.3-34.4l-7.4-8.3C401.3 319.2 384 273.9 384 226.8V208c0-77.4-55-142-128-156.8V32c0-17.7-14.3-32-32-32zm45.3 493.3c12-12 18.7-28.3 18.7-45.3H224 160c0 17 6.7 33.3 18.7 45.3s28.3 18.7 45.3 18.7s33.3-6.7 45.3-18.7z"]};var HE={prefix:"fas",iconName:"file",icon:[384,512,[128196,128459,61462],"f15b","M0 64C0 28.7 28.7 0 64 0H224V128c0 17.7 14.3 32 32 32H384V448c0 35.3-28.7 64-64 64H64c-35.3 0-64-28.7-64-64V64zm384 64H256V0L384 128z"]};var RE={prefix:"fas",iconName:"arrow-down",icon:[384,512,[8595],"f063","M169.4 470.6c12.5 12.5 32.8 12.5 45.3 0l160-160c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L224 370.8 224 64c0-17.7-14.3-32-32-32s-32 14.3-32 32l0 306.7L54.6 265.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l160 160z"]};var rie={prefix:"fas",iconName:"gauge-high",icon:[512,512,[62461,"tachometer-alt","tachometer-alt-fast"],"f625","M512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM288 96c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM256 416c35.3 0 64-28.7 64-64c0-17.4-6.9-33.1-18.1-44.6L366 161.7c5.3-12.1-.2-26.3-12.3-31.6s-26.3 .2-31.6 12.3L257.9 288c-.6 0-1.3 0-1.9 0c-35.3 0-64 28.7-64 64s28.7 64 64 64zM176 144c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32zM96 288c17.7 0 32-14.3 32-32s-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32zm352-32c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},NE=rie;var FE={prefix:"fas",iconName:"link",icon:[640,512,[128279,"chain"],"f0c1","M579.8 267.7c56.5-56.5 56.5-148 0-204.5c-50-50-128.8-56.5-186.3-15.4l-1.6 1.1c-14.4 10.3-17.7 30.3-7.4 44.6s30.3 17.7 44.6 7.4l1.6-1.1c32.1-22.9 76-19.3 103.8 8.6c31.5 31.5 31.5 82.5 0 114L422.3 334.8c-31.5 31.5-82.5 31.5-114 0c-27.9-27.9-31.5-71.8-8.6-103.8l1.1-1.6c10.3-14.4 6.9-34.4-7.4-44.6s-34.4-6.9-44.6 7.4l-1.1 1.6C206.5 251.2 213 330 263 380c56.5 56.5 148 56.5 204.5 0L579.8 267.7zM60.2 244.3c-56.5 56.5-56.5 148 0 204.5c50 50 128.8 56.5 186.3 15.4l1.6-1.1c14.4-10.3 17.7-30.3 7.4-44.6s-30.3-17.7-44.6-7.4l-1.6 1.1c-32.1 22.9-76 19.3-103.8-8.6C74 372 74 321 105.5 289.5L217.7 177.2c31.5-31.5 82.5-31.5 114 0c27.9 27.9 31.5 71.8 8.6 103.9l-1.1 1.6c-10.3 14.4-6.9 34.4 7.4 44.6s34.4 6.9 44.6-7.4l1.1-1.6C433.5 260.8 427 182 377 132c-56.5-56.5-148-56.5-204.5 0L60.2 244.3z"]};var jE={prefix:"fas",iconName:"play",icon:[384,512,[9654],"f04b","M73 39c-14.8-9.1-33.4-9.4-48.5-.9S0 62.6 0 80V432c0 17.4 9.4 33.4 24.5 41.9s33.7 8.1 48.5-.9L361 297c14.3-8.7 23-24.2 23-41s-8.7-32.2-23-41L73 39z"]};var aie={prefix:"fas",iconName:"magnifying-glass",icon:[512,512,[128269,"search"],"f002","M416 208c0 45.9-14.9 88.3-40 122.7L502.6 457.4c12.5 12.5 12.5 32.8 0 45.3s-32.8 12.5-45.3 0L330.7 376c-34.4 25.2-76.8 40-122.7 40C93.1 416 0 322.9 0 208S93.1 0 208 0S416 93.1 416 208zM208 352c79.5 0 144-64.5 144-144s-64.5-144-144-144S64 128.5 64 208s64.5 144 144 144z"]},BE=aie;var UE={prefix:"fas",iconName:"receipt",icon:[384,512,[129534],"f543","M14 2.2C22.5-1.7 32.5-.3 39.6 5.8L80 40.4 120.4 5.8c9-7.7 22.3-7.7 31.2 0L192 40.4 232.4 5.8c9-7.7 22.2-7.7 31.2 0L304 40.4 344.4 5.8c7.1-6.1 17.1-7.5 25.6-3.6s14 12.4 14 21.8V488c0 9.4-5.5 17.9-14 21.8s-18.5 2.5-25.6-3.6L304 471.6l-40.4 34.6c-9 7.7-22.2 7.7-31.2 0L192 471.6l-40.4 34.6c-9 7.7-22.3 7.7-31.2 0L80 471.6 39.6 506.2c-7.1 6.1-17.1 7.5-25.6 3.6S0 497.4 0 488V24C0 14.6 5.5 6.1 14 2.2zM96 144c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96zM80 352c0 8.8 7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96c-8.8 0-16 7.2-16 16zM96 240c-8.8 0-16 7.2-16 16s7.2 16 16 16H288c8.8 0 16-7.2 16-16s-7.2-16-16-16H96z"]};var $E={prefix:"fas",iconName:"chevron-down",icon:[512,512,[],"f078","M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z"]};var GE={prefix:"fas",iconName:"list-ul",icon:[512,512,["list-dots"],"f0ca","M64 144c26.5 0 48-21.5 48-48s-21.5-48-48-48S16 69.5 16 96s21.5 48 48 48zM192 64c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zm0 160c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H192zM64 464c26.5 0 48-21.5 48-48s-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48zm48-208c0-26.5-21.5-48-48-48s-48 21.5-48 48s21.5 48 48 48s48-21.5 48-48z"]};var WE={prefix:"fas",iconName:"arrow-up",icon:[384,512,[8593],"f062","M214.6 41.4c-12.5-12.5-32.8-12.5-45.3 0l-160 160c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 141.2V448c0 17.7 14.3 32 32 32s32-14.3 32-32V141.2L329.4 246.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3l-160-160z"]};var oie={prefix:"fas",iconName:"list-check",icon:[576,512,["tasks"],"f0ae","M184.1 38.2c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 113c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zm0 160c9.9 8.9 10.7 24 1.8 33.9l-72 80c-4.4 4.9-10.6 7.8-17.2 7.9s-12.9-2.4-17.6-7L39 273c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l22.1 22.1 55.1-61.2c8.9-9.9 24-10.7 33.9-1.8zM256 96c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zm0 160c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H288c-17.7 0-32-14.3-32-32zM192 416c0-17.7 14.3-32 32-32H512c17.7 0 32 14.3 32 32s-14.3 32-32 32H224c-17.7 0-32-14.3-32-32zM80 464c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},qE=oie;var sie={prefix:"fas",iconName:"circle-user",icon:[512,512,[62142,"user-circle"],"f2bd","M399 384.2C376.9 345.8 335.4 320 288 320H224c-47.4 0-88.9 25.8-111 64.2c35.2 39.2 86.2 63.8 143 63.8s107.8-24.7 143-63.8zM512 256c0 141.4-114.6 256-256 256S0 397.4 0 256S114.6 0 256 0S512 114.6 512 256zM256 272c39.8 0 72-32.2 72-72s-32.2-72-72-72s-72 32.2-72 72s32.2 72 72 72z"]},YE=sie,QE={prefix:"fas",iconName:"user-shield",icon:[640,512,[],"f505","M224 256c70.7 0 128-57.3 128-128S294.7 0 224 0S96 57.3 96 128s57.3 128 128 128zm-45.7 48C79.8 304 0 383.8 0 482.3C0 498.7 13.3 512 29.7 512H418.3c1.8 0 3.5-.2 5.3-.5c-76.3-55.1-99.8-141-103.1-200.2c-16.1-4.8-33.1-7.3-50.7-7.3H178.3zm308.8-78.3l-120 48C358 277.4 352 286.2 352 296c0 63.3 25.9 168.8 134.8 214.2c5.9 2.5 12.6 2.5 18.5 0C614.1 464.8 640 359.3 640 296c0-9.8-6-18.6-15.1-22.3l-120-48c-5.7-2.3-12.1-2.3-17.8 0zM591.4 312c-3.9 50.7-27.2 116.7-95.4 149.7V273.8L591.4 312z"]};var KE={prefix:"fas",iconName:"copy",icon:[512,512,[],"f0c5","M224 0c-35.3 0-64 28.7-64 64V288c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64H224zM64 160c-35.3 0-64 28.7-64 64V448c0 35.3 28.7 64 64 64H288c35.3 0 64-28.7 64-64V384H288v64H64V224h64V160H64z"]};var ZE={prefix:"fas",iconName:"plus",icon:[448,512,[10133,61543,"add"],"2b","M256 80c0-17.7-14.3-32-32-32s-32 14.3-32 32V224H48c-17.7 0-32 14.3-32 32s14.3 32 32 32H192V432c0 17.7 14.3 32 32 32s32-14.3 32-32V288H400c17.7 0 32-14.3 32-32s-14.3-32-32-32H256V80z"]};var cie={prefix:"fas",iconName:"xmark",icon:[320,512,[128473,10005,10006,10060,215,"close","multiply","remove","times"],"f00d","M310.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L160 210.7 54.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L114.7 256 9.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L160 301.3 265.4 406.6c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L205.3 256 310.6 150.6z"]};var XE=cie;var JE={prefix:"fas",iconName:"chevron-left",icon:[384,512,[9001],"f053","M41.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L109.3 256 278.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"]};var eO={prefix:"fas",iconName:"chevron-right",icon:[384,512,[9002],"f054","M342.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L274.7 256 105.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"]};var lie={prefix:"fas",iconName:"gears",icon:[640,512,["cogs"],"f085","M308.5 135.3c7.1-6.3 9.9-16.2 6.2-25c-2.3-5.3-4.8-10.5-7.6-15.5L304 89.4c-3-5-6.3-9.9-9.8-14.6c-5.7-7.6-15.7-10.1-24.7-7.1l-28.2 9.3c-10.7-8.8-23-16-36.2-20.9L199 27.1c-1.9-9.3-9.1-16.7-18.5-17.8C173.7 8.4 166.9 8 160 8s-13.7 .4-20.4 1.2c-9.4 1.1-16.6 8.6-18.5 17.8L115 56.1c-13.3 5-25.5 12.1-36.2 20.9L50.5 67.8c-9-3-19-.5-24.7 7.1c-3.5 4.7-6.8 9.6-9.9 14.6l-3 5.3c-2.8 5-5.3 10.2-7.6 15.6c-3.7 8.7-.9 18.6 6.2 25l22.2 19.8C32.6 161.9 32 168.9 32 176s.6 14.1 1.7 20.9L11.5 216.7c-7.1 6.3-9.9 16.2-6.2 25c2.3 5.3 4.8 10.5 7.6 15.6l3 5.2c3 5.1 6.3 9.9 9.9 14.6c5.7 7.6 15.7 10.1 24.7 7.1l28.2-9.3c10.7 8.8 23 16 36.2 20.9l6.1 29.1c1.9 9.3 9.1 16.7 18.5 17.8c6.7 .8 13.5 1.2 20.4 1.2s13.7-.4 20.4-1.2c9.4-1.1 16.6-8.6 18.5-17.8l6.1-29.1c13.3-5 25.5-12.1 36.2-20.9l28.2 9.3c9 3 19 .5 24.7-7.1c3.5-4.7 6.8-9.5 9.8-14.6l3.1-5.4c2.8-5 5.3-10.2 7.6-15.5c3.7-8.7 .9-18.6-6.2-25l-22.2-19.8c1.1-6.8 1.7-13.8 1.7-20.9s-.6-14.1-1.7-20.9l22.2-19.8zM208 176c0 26.5-21.5 48-48 48s-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48zM504.7 500.5c6.3 7.1 16.2 9.9 25 6.2c5.3-2.3 10.5-4.8 15.5-7.6l5.4-3.1c5-3 9.9-6.3 14.6-9.8c7.6-5.7 10.1-15.7 7.1-24.7l-9.3-28.2c8.8-10.7 16-23 20.9-36.2l29.1-6.1c9.3-1.9 16.7-9.1 17.8-18.5c.8-6.7 1.2-13.5 1.2-20.4s-.4-13.7-1.2-20.4c-1.1-9.4-8.6-16.6-17.8-18.5L583.9 307c-5-13.3-12.1-25.5-20.9-36.2l9.3-28.2c3-9 .5-19-7.1-24.7c-4.7-3.5-9.6-6.8-14.6-9.9l-5.3-3c-5-2.8-10.2-5.3-15.6-7.6c-8.7-3.7-18.6-.9-25 6.2l-19.8 22.2c-6.8-1.1-13.8-1.7-20.9-1.7s-14.1 .6-20.9 1.7l-19.8-22.2c-6.3-7.1-16.2-9.9-25-6.2c-5.3 2.3-10.5 4.8-15.6 7.6l-5.2 3c-5.1 3-9.9 6.3-14.6 9.9c-7.6 5.7-10.1 15.7-7.1 24.7l9.3 28.2c-8.8 10.7-16 23-20.9 36.2L315.1 313c-9.3 1.9-16.7 9.1-17.8 18.5c-.8 6.7-1.2 13.5-1.2 20.4s.4 13.7 1.2 20.4c1.1 9.4 8.6 16.6 17.8 18.5l29.1 6.1c5 13.3 12.1 25.5 20.9 36.2l-9.3 28.2c-3 9-.5 19 7.1 24.7c4.7 3.5 9.5 6.8 14.6 9.8l5.4 3.1c5 2.8 10.2 5.3 15.5 7.6c8.7 3.7 18.6 .9 25-6.2l19.8-22.2c6.8 1.1 13.8 1.7 20.9 1.7s14.1-.6 20.9-1.7l19.8 22.2zM464 400c-26.5 0-48-21.5-48-48s21.5-48 48-48s48 21.5 48 48s-21.5 48-48 48z"]},tO=lie;var iO={prefix:"fas",iconName:"building",icon:[384,512,[127970,61687],"f1ad","M48 0C21.5 0 0 21.5 0 48V464c0 26.5 21.5 48 48 48h96V432c0-26.5 21.5-48 48-48s48 21.5 48 48v80h96c26.5 0 48-21.5 48-48V48c0-26.5-21.5-48-48-48H48zM64 240c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V240zm112-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V240c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V240zM80 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H80c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16zm80 16c0-8.8 7.2-16 16-16h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H176c-8.8 0-16-7.2-16-16V112zM272 96h32c8.8 0 16 7.2 16 16v32c0 8.8-7.2 16-16 16H272c-8.8 0-16-7.2-16-16V112c0-8.8 7.2-16 16-16z"]};var nO={prefix:"fas",iconName:"file-export",icon:[640,512,["arrow-right-from-file"],"f56e","M32 64C32 28.7 60.7 0 96 0H256V128c0 17.7 14.3 32 32 32H416V288H248c-13.3 0-24 10.7-24 24s10.7 24 24 24H416V448c0 35.3-28.7 64-64 64H96c-35.3 0-64-28.7-64-64V64zM416 336V288H526.1l-39-39c-9.4-9.4-9.4-24.6 0-33.9s24.6-9.4 33.9 0l80 80c9.4 9.4 9.4 24.6 0 33.9l-80 80c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l39-39H416zm0-208H288V0L416 128z"]};var rO={prefix:"fas",iconName:"calendar",icon:[448,512,[128197,128198],"f133","M96 32V64H48C21.5 64 0 85.5 0 112v48H448V112c0-26.5-21.5-48-48-48H352V32c0-17.7-14.3-32-32-32s-32 14.3-32 32V64H160V32c0-17.7-14.3-32-32-32S96 14.3 96 32zM448 192H0V464c0 26.5 21.5 48 48 48H400c26.5 0 48-21.5 48-48V192z"]};var die={prefix:"fas",iconName:"circle-plus",icon:[512,512,["plus-circle"],"f055","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM232 344V280H168c-13.3 0-24-10.7-24-24s10.7-24 24-24h64V168c0-13.3 10.7-24 24-24s24 10.7 24 24v64h64c13.3 0 24 10.7 24 24s-10.7 24-24 24H280v64c0 13.3-10.7 24-24 24s-24-10.7-24-24z"]},aO=die;var oO={prefix:"fas",iconName:"anchor",icon:[576,512,[9875],"f13d","M256 96c0-17.7 14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32s-32-14.3-32-32zm85.1 80C367 158.8 384 129.4 384 96c0-53-43-96-96-96s-96 43-96 96c0 33.4 17 62.8 42.9 80H224c-17.7 0-32 14.3-32 32s14.3 32 32 32h32V448H208c-53 0-96-43-96-96v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9L97 263c-9.4-9.4-24.6-9.4-33.9 0L7 319c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 88.4 71.6 160 160 160h80 80c88.4 0 160-71.6 160-160v-6.1l7 7c9.4 9.4 24.6 9.4 33.9 0s9.4-24.6 0-33.9l-56-56c-9.4-9.4-24.6-9.4-33.9 0l-56 56c-9.4 9.4-9.4 24.6 0 33.9s24.6 9.4 33.9 0l7-7V352c0 53-43 96-96 96H320V240h32c17.7 0 32-14.3 32-32s-14.3-32-32-32H341.1z"]};var sO={prefix:"fas",iconName:"book",icon:[448,512,[128212],"f02d","M96 0C43 0 0 43 0 96V416c0 53 43 96 96 96H384h32c17.7 0 32-14.3 32-32s-14.3-32-32-32V384c17.7 0 32-14.3 32-32V32c0-17.7-14.3-32-32-32H384 96zm0 384H352v64H96c-17.7 0-32-14.3-32-32s14.3-32 32-32zm32-240c0-8.8 7.2-16 16-16H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16zm16 48H336c8.8 0 16 7.2 16 16s-7.2 16-16 16H144c-8.8 0-16-7.2-16-16s7.2-16 16-16z"]};var cO={prefix:"fas",iconName:"check",icon:[512,512,[10003,10004],"f00c","M470.6 105.4c12.5 12.5 12.5 32.8 0 45.3l-256 256c-12.5 12.5-32.8 12.5-45.3 0l-128-128c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0L192 338.7 425.4 105.4c12.5-12.5 32.8-12.5 45.3 0z"]};var lO={prefix:"fas",iconName:"briefcase",icon:[512,512,[128188],"f0b1","M184 48H328c4.4 0 8 3.6 8 8V96H176V56c0-4.4 3.6-8 8-8zm-56 8V96H64C28.7 96 0 124.7 0 160v96H192 320 512V160c0-35.3-28.7-64-64-64H384V56c0-30.9-25.1-56-56-56H184c-30.9 0-56 25.1-56 56zM512 288H320v32c0 17.7-14.3 32-32 32H224c-17.7 0-32-14.3-32-32V288H0V416c0 35.3 28.7 64 64 64H448c35.3 0 64-28.7 64-64V288z"]};var uie={prefix:"fas",iconName:"triangle-exclamation",icon:[512,512,[9888,"exclamation-triangle","warning"],"f071","M256 32c14.2 0 27.3 7.5 34.5 19.8l216 368c7.3 12.4 7.3 27.7 .2 40.1S486.3 480 472 480H40c-14.3 0-27.6-7.7-34.7-20.1s-7-27.8 .2-40.1l216-368C228.7 39.5 241.8 32 256 32zm0 128c-13.3 0-24 10.7-24 24V296c0 13.3 10.7 24 24 24s24-10.7 24-24V184c0-13.3-10.7-24-24-24zm32 224c0-17.7-14.3-32-32-32s-32 14.3-32 32s14.3 32 32 32s32-14.3 32-32z"]},dO=uie;var hie={prefix:"fas",iconName:"circle-xmark",icon:[512,512,[61532,"times-circle","xmark-circle"],"f057","M256 512c141.4 0 256-114.6 256-256S397.4 0 256 0S0 114.6 0 256S114.6 512 256 512zM175 175c9.4-9.4 24.6-9.4 33.9 0l47 47 47-47c9.4-9.4 24.6-9.4 33.9 0s9.4 24.6 0 33.9l-47 47 47 47c9.4 9.4 9.4 24.6 0 33.9s-24.6 9.4-33.9 0l-47-47-47 47c-9.4 9.4-24.6 9.4-33.9 0s-9.4-24.6 0-33.9l47-47-47-47c-9.4-9.4-9.4-24.6 0-33.9z"]},uO=hie;var mie={prefix:"fas",iconName:"note-sticky",icon:[448,512,[62026,"sticky-note"],"f249","M64 32C28.7 32 0 60.7 0 96V416c0 35.3 28.7 64 64 64H288V368c0-26.5 21.5-48 48-48H448V96c0-35.3-28.7-64-64-64H64zM448 352H402.7 336c-8.8 0-16 7.2-16 16v66.7V480l32-32 64-64 32-32z"]},hO=mie;var mO={prefix:"fas",iconName:"dollar-sign",icon:[320,512,[128178,61781,"dollar","usd"],"24","M160 0c17.7 0 32 14.3 32 32V67.7c1.6 .2 3.1 .4 4.7 .7c10.6 1.6 42.1 6.7 55.1 10c17.1 4.3 27.5 21.7 23.2 38.9s-21.7 27.5-38.9 23.2c-9.3-2.4-37.6-7-48.9-8.7c-32.1-4.8-59.6-2.4-78.5 4.9c-18.3 7-25.9 16.9-27.9 28c-1.9 10.7-.5 16.8 1.3 20.6c1.9 4 5.6 8.5 12.9 13.4c16.2 10.8 41.1 17.9 73.3 26.7l2.8 .8c28.4 7.7 63.2 17.2 89 34.3c14.1 9.4 27.3 22.1 35.5 39.7c8.3 17.8 10.1 37.8 6.3 59.1c-6.9 38-33.1 63.4-65.6 76.7c-13.7 5.6-28.6 9.2-44.4 11V480c0 17.7-14.3 32-32 32s-32-14.3-32-32V445.1c-.4-.1-.9-.1-1.3-.2l-.2 0 0 0c-24.4-3.8-64.5-14.3-91.5-26.3c-16.2-7.2-23.4-26.1-16.2-42.2s26.1-23.4 42.2-16.2c20.9 9.3 55.3 18.4 75.2 21.6c31.9 4.7 58.2 2 76-5.3c16.9-6.9 24.6-16.9 26.8-28.9c1.9-10.7 .5-16.8-1.3-20.6c-1.9-4-5.6-8.5-12.9-13.4c-16.2-10.8-41.1-17.9-73.3-26.7l-2.8-.8c-28.4-7.7-63.2-17.2-89-34.3c-14.1-9.4-27.3-22.1-35.5-39.7c-8.3-17.8-10.1-37.8-6.3-59.1C25 114.1 53 89.3 86 76.7c13-5 27.2-8.2 42-10V32c0-17.7 14.3-32 32-32z"]};var pie={prefix:"fas",iconName:"building-columns",icon:[512,512,["bank","institution","museum","university"],"f19c","M243.4 2.6l-224 96c-14 6-21.8 21-18.7 35.8S16.8 160 32 160v8c0 13.3 10.7 24 24 24H456c13.3 0 24-10.7 24-24v-8c15.2 0 28.3-10.7 31.3-25.6s-4.8-29.9-18.7-35.8l-224-96c-8.1-3.4-17.2-3.4-25.2 0zM128 224H64V420.3c-.6 .3-1.2 .7-1.8 1.1l-48 32c-11.7 7.8-17 22.4-12.9 35.9S17.9 512 32 512H480c14.1 0 26.5-9.2 30.6-22.7s-1.1-28.1-12.9-35.9l-48-32c-.6-.4-1.2-.7-1.8-1.1V224H384V416H344V224H280V416H232V224H168V416H128V224zm128-96c-17.7 0-32-14.3-32-32s14.3-32 32-32s32 14.3 32 32s-14.3 32-32 32z"]};var pO=pie;var j7=(()=>{class t{constructor(e){e.addIcons(oO,SI,_E,sE,N7,R7,LE,sO,lO,iO,EE,rO,CI,CE,WI,cO,qI,$E,JE,eO,lE,EI,DE,kI,wE,tO,vI,KE,mO,LI,yE,TE,OI,dO,hE,RI,HE,yI,GI,JI,aE,nO,_I,fE,PE,jI,FE,AI,GE,BI,zI,cE,ME,xI,xE,nE,KI,DI,jE,ZE,aO,dE,UI,rE,BE,iE,MI,PI,tE,II,NE,bE,uE,uO,gE,F7,pO,YE,FI,HI,QE,QI,OE,AE,eE,XI,XE,hO,VE,N7,zE,wI,TI,NI,oE,mE,VI,WE,RE,$I,YI,ZI,SE,bI,qE,IE,kE,R7,F7,UE,vE,pE)}static{this.\u0275fac=function(i){return new(i||t)(k(Wg))}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[QS]})}}return t})();function TO(t){let n=t.cloneNode(!0),e=n.querySelectorAll("[id]"),i=t.nodeName.toLowerCase();n.removeAttribute("id");for(let r=0;r=i&&e<=r&&n>=a&&n<=o}function c4(t,n,e){t.top+=n,t.bottom=t.top+t.height,t.left+=e,t.right=t.left+t.width}function vO(t,n,e,i){let{top:r,right:a,bottom:o,left:s,width:l,height:h}=t,v=l*n,y=h*n;return i>r-y&&is-v&&e{this.positions.set(e,{scrollPosition:{top:e.scrollTop,left:e.scrollLeft},clientRect:Y7(e)})})}handleScroll(n){let e=ji(n),i=this.positions.get(e);if(!i)return null;let r=i.scrollPosition,a,o;if(e===this._document){let h=this.getViewportScrollPosition();a=h.top,o=h.left}else a=e.scrollTop,o=e.scrollLeft;let s=r.top-a,l=r.left-o;return this.positions.forEach((h,v)=>{h.clientRect&&e!==v&&e.contains(v)&&c4(h.clientRect,s,l)}),r.top=a,r.left=o,{top:s,left:l}}getViewportScrollPosition(){return{top:window.scrollY,left:window.scrollX}}};function VO(t,n){let e=t.rootNodes;if(e.length===1&&e[0].nodeType===n.ELEMENT_NODE)return e[0];let i=n.createElement("div");return e.forEach(r=>i.appendChild(r)),i}function Q7(t,n,e){for(let i in n)if(n.hasOwnProperty(i)){let r=n[i];r?t.setProperty(i,r,e?.has(i)?"important":""):t.removeProperty(i)}return t}function V2(t,n){let e=n?"":"none";Q7(t.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 bO(t,n,e){Q7(t.style,{position:n?"":"fixed",top:n?"":"0",opacity:n?"":"0",left:n?"":"-999em"},e)}function lm(t,n){return n&&n!="none"?t+" "+n:t}function yO(t,n){t.style.width=`${n.width}px`,t.style.height=`${n.height}px`,t.style.transform=dm(n.left,n.top)}function dm(t,n){return`translate3d(${Math.round(t)}px, ${Math.round(n)}px, 0)`}function CO(t){let n=t.toLowerCase().indexOf("ms")>-1?1:1e3;return parseFloat(t)*n}function gie(t){let n=getComputedStyle(t),e=B7(n,"transition-property"),i=e.find(s=>s==="transform"||s==="all");if(!i)return 0;let r=e.indexOf(i),a=B7(n,"transition-duration"),o=B7(n,"transition-delay");return CO(a[r])+CO(o[r])}function B7(t,n){return t.getPropertyValue(n).split(",").map(i=>i.trim())}var _ie=new Set(["position"]),$7=class{get element(){return this._preview}constructor(n,e,i,r,a,o,s,l,h){this._document=n,this._rootElement=e,this._direction=i,this._initialDomRect=r,this._previewTemplate=a,this._previewClass=o,this._pickupPositionOnPage=s,this._initialTransform=l,this._zIndex=h}attach(n){this._preview=this._createPreview(),n.appendChild(this._preview),xO(this._preview)&&this._preview.showPopover()}destroy(){this._preview.remove(),this._previewEmbeddedView?.destroy(),this._preview=this._previewEmbeddedView=null}setTransform(n){this._preview.style.transform=n}getBoundingClientRect(){return this._preview.getBoundingClientRect()}addClass(n){this._preview.classList.add(n)}getTransitionDuration(){return gie(this._preview)}addEventListener(n,e){this._preview.addEventListener(n,e)}removeEventListener(n,e){this._preview.removeEventListener(n,e)}_createPreview(){let n=this._previewTemplate,e=this._previewClass,i=n?n.template:null,r;if(i&&n){let a=n.matchSize?this._initialDomRect:null,o=n.viewContainer.createEmbeddedView(i,n.context);o.detectChanges(),r=VO(o,this._document),this._previewEmbeddedView=o,n.matchSize?yO(r,a):r.style.transform=dm(this._pickupPositionOnPage.x,this._pickupPositionOnPage.y)}else r=TO(this._rootElement),yO(r,this._initialDomRect),this._initialTransform&&(r.style.transform=this._initialTransform);return Q7(r.style,{"pointer-events":"none",margin:xO(r)?"0 auto 0 0":"0",position:"fixed",top:"0",left:"0","z-index":this._zIndex+""},_ie),V2(r,!1),r.classList.add("cdk-drag-preview"),r.setAttribute("popover","manual"),r.setAttribute("dir",this._direction),e&&(Array.isArray(e)?e.forEach(a=>r.classList.add(a)):r.classList.add(e)),r}};function xO(t){return"showPopover"in t}var MO=Ci({passive:!0}),am=Ci({passive:!1}),wO=Ci({passive:!1,capture:!0}),vie=800,DO=new Set(["position"]),G7=class{get disabled(){return this._disabled||!!(this._dropContainer&&this._dropContainer.disabled)}set disabled(n){n!==this._disabled&&(this._disabled=n,this._toggleNativeDragInteractions(),this._handles.forEach(e=>V2(e,n)))}constructor(n,e,i,r,a,o){this._config=e,this._document=i,this._ngZone=r,this._viewportRuler=a,this._dragDropRegistry=o,this._passiveTransform={x:0,y:0},this._activeTransform={x:0,y:0},this._hasStartedDragging=ir(!1),this._moveEvents=new U,this._pointerMoveSubscription=xe.EMPTY,this._pointerUpSubscription=xe.EMPTY,this._scrollSubscription=xe.EMPTY,this._resizeSubscription=xe.EMPTY,this._boundaryElement=null,this._nativeInteractionsEnabled=!0,this._handles=[],this._disabledHandles=new Set,this._direction="ltr",this.dragStartDelay=0,this.scale=1,this._disabled=!1,this.beforeStarted=new U,this.started=new U,this.released=new U,this.ended=new U,this.entered=new U,this.exited=new U,this.dropped=new U,this.moved=this._moveEvents,this._pointerDown=s=>{if(this.beforeStarted.next(),this._handles.length){let l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&this._initializeDragSequence(l,s)}else this.disabled||this._initializeDragSequence(this._rootElement,s)},this._pointerMove=s=>{let l=this._getPointerPositionOnPage(s);if(!this._hasStartedDragging()){let v=Math.abs(l.x-this._pickupPositionOnPage.x),y=Math.abs(l.y-this._pickupPositionOnPage.y);if(v+y>=this._config.dragStartThreshold){let S=Date.now()>=this._dragStartTime+this._getDragStartDelay(s),V=this._dropContainer;if(!S){this._endDragSequence(s);return}(!V||!V.isDragging()&&!V.isReceiving())&&(s.cancelable&&s.preventDefault(),this._hasStartedDragging.set(!0),this._ngZone.run(()=>this._startDragSequence(s)))}return}s.cancelable&&s.preventDefault();let h=this._getConstrainedPointerPosition(l);if(this._hasMoved=!0,this._lastKnownPointerPosition=l,this._updatePointerDirectionDelta(h),this._dropContainer)this._updateActiveDropContainer(h,l);else{let v=this.constrainPosition?this._initialDomRect:this._pickupPositionOnPage,y=this._activeTransform;y.x=h.x-v.x+this._passiveTransform.x,y.y=h.y-v.y+this._passiveTransform.y,this._applyRootElementTransform(y.x,y.y)}this._moveEvents.observers.length&&this._ngZone.run(()=>{this._moveEvents.next({source:this,pointerPosition:h,event:s,distance:this._getDragDistance(h),delta:this._pointerDirectionDelta})})},this._pointerUp=s=>{this._endDragSequence(s)},this._nativeDragStart=s=>{if(this._handles.length){let l=this._getTargetHandle(s);l&&!this._disabledHandles.has(l)&&!this.disabled&&s.preventDefault()}else this.disabled||s.preventDefault()},this.withRootElement(n).withParent(e.parentDragRef||null),this._parentPositions=new cm(i),o.registerDragItem(this)}getPlaceholderElement(){return this._placeholder}getRootElement(){return this._rootElement}getVisibleElement(){return this.isDragging()?this.getPlaceholderElement():this.getRootElement()}withHandles(n){this._handles=n.map(i=>wi(i)),this._handles.forEach(i=>V2(i,this.disabled)),this._toggleNativeDragInteractions();let e=new Set;return this._disabledHandles.forEach(i=>{this._handles.indexOf(i)>-1&&e.add(i)}),this._disabledHandles=e,this}withPreviewTemplate(n){return this._previewTemplate=n,this}withPlaceholderTemplate(n){return this._placeholderTemplate=n,this}withRootElement(n){let e=wi(n);return e!==this._rootElement&&(this._rootElement&&this._removeRootElementListeners(this._rootElement),this._ngZone.runOutsideAngular(()=>{e.addEventListener("mousedown",this._pointerDown,am),e.addEventListener("touchstart",this._pointerDown,MO),e.addEventListener("dragstart",this._nativeDragStart,am)}),this._initialTransform=void 0,this._rootElement=e),typeof SVGElement<"u"&&this._rootElement instanceof SVGElement&&(this._ownerSVGElement=this._rootElement.ownerSVGElement),this}withBoundaryElement(n){return this._boundaryElement=n?wi(n):null,this._resizeSubscription.unsubscribe(),n&&(this._resizeSubscription=this._viewportRuler.change(10).subscribe(()=>this._containInsideBoundaryOnResize())),this}withParent(n){return this._parentDragRef=n,this}dispose(){this._removeRootElementListeners(this._rootElement),this.isDragging()&&this._rootElement?.remove(),this._anchor?.remove(),this._destroyPreview(),this._destroyPlaceholder(),this._dragDropRegistry.removeDragItem(this),this._removeListeners(),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),V2(n,!0))}enableHandle(n){this._disabledHandles.has(n)&&(this._disabledHandles.delete(n),V2(n,this.disabled))}withDirection(n){return this._direction=n,this}_withDropContainer(n){this._dropContainer=n}getFreeDragPosition(){let 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(){let n=this._lastKnownPointerPosition;n&&this._dropContainer&&this._updateActiveDropContainer(this._getConstrainedPointerPosition(n),n)}_removeListeners(){this._pointerMoveSubscription.unsubscribe(),this._pointerUpSubscription.unsubscribe(),this._scrollSubscription.unsubscribe(),this._getShadowRoot()?.removeEventListener("selectstart",kO,wO)}_destroyPreview(){this._preview?.destroy(),this._preview=null}_destroyPlaceholder(){this._placeholder?.remove(),this._placeholderRef?.destroy(),this._placeholder=this._placeholderRef=null}_endDragSequence(n){if(this._dragDropRegistry.isDragging(this)&&(this._removeListeners(),this._dragDropRegistry.stopDragging(this),this._toggleNativeDragInteractions(),this._handles&&(this._rootElement.style.webkitTapHighlightColor=this._rootElementTapHighlight),!!this._hasStartedDragging()))if(this.released.next({source:this,event:n}),this._dropContainer)this._dropContainer._stopScrolling(),this._animatePreviewToPlaceholder().then(()=>{this._cleanupDragArtifacts(n),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)});else{this._passiveTransform.x=this._activeTransform.x;let e=this._getPointerPositionOnPage(n);this._passiveTransform.y=this._activeTransform.y,this._ngZone.run(()=>{this.ended.next({source:this,distance:this._getDragDistance(e),dropPoint:e,event:n})}),this._cleanupCachedDimensions(),this._dragDropRegistry.stopDragging(this)}}_startDragSequence(n){s4(n)&&(this._lastTouchEventTime=Date.now()),this._toggleNativeDragInteractions();let e=this._getShadowRoot(),i=this._dropContainer;if(e&&this._ngZone.runOutsideAngular(()=>{e.addEventListener("selectstart",kO,wO)}),i){let r=this._rootElement,a=r.parentNode,o=this._placeholder=this._createPlaceholderElement(),s=this._anchor=this._anchor||this._document.createComment("");a.insertBefore(s,r),this._initialTransform=r.style.transform||"",this._preview=new $7(this._document,this._rootElement,this._direction,this._initialDomRect,this._previewTemplate||null,this.previewClass||null,this._pickupPositionOnPage,this._initialTransform,this._config.zIndex||1e3),this._preview.attach(this._getPreviewInsertionPoint(a,e)),bO(r,!1,DO),this._document.body.appendChild(a.replaceChild(o,r)),this.started.next({source:this,event:n}),i.start(),this._initialContainer=i,this._initialIndex=i.getItemIndex(this)}else this.started.next({source:this,event:n}),this._initialContainer=this._initialIndex=void 0;this._parentPositions.cache(i?i.getScrollableParents():[])}_initializeDragSequence(n,e){this._parentDragRef&&e.stopPropagation();let i=this.isDragging(),r=s4(e),a=!r&&e.button!==0,o=this._rootElement,s=ji(e),l=!r&&this._lastTouchEventTime&&this._lastTouchEventTime+vie>Date.now(),h=r?xc(e):Cc(e);if(s&&s.draggable&&e.type==="mousedown"&&e.preventDefault(),i||a||l||h)return;if(this._handles.length){let D=o.style;this._rootElementTapHighlight=D.webkitTapHighlightColor||"",D.webkitTapHighlightColor="transparent"}this._hasMoved=!1,this._hasStartedDragging.set(this._hasMoved),this._removeListeners(),this._initialDomRect=this._rootElement.getBoundingClientRect(),this._pointerMoveSubscription=this._dragDropRegistry.pointerMove.subscribe(this._pointerMove),this._pointerUpSubscription=this._dragDropRegistry.pointerUp.subscribe(this._pointerUp),this._scrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(D=>this._updateOnScroll(D)),this._boundaryElement&&(this._boundaryRect=Y7(this._boundaryElement));let v=this._previewTemplate;this._pickupPositionInElement=v&&v.template&&!v.matchSize?{x:0,y:0}:this._getPointerPositionInElement(this._initialDomRect,n,e);let y=this._pickupPositionOnPage=this._lastKnownPointerPosition=this._getPointerPositionOnPage(e);this._pointerDirectionDelta={x:0,y:0},this._pointerPositionAtLastDirectionChange={x:y.x,y:y.y},this._dragStartTime=Date.now(),this._dragDropRegistry.startDragging(this,e)}_cleanupDragArtifacts(n){bO(this._rootElement,!0,DO),this._anchor.parentNode.replaceChild(this._rootElement,this._anchor),this._destroyPreview(),this._destroyPlaceholder(),this._initialDomRect=this._boundaryRect=this._previewRect=this._initialTransform=void 0,this._ngZone.run(()=>{let e=this._dropContainer,i=e.getItemIndex(this),r=this._getPointerPositionOnPage(n),a=this._getDragDistance(r),o=e._isOverContainer(r.x,r.y);this.ended.next({source:this,distance:a,dropPoint:r,event:n}),this.dropped.next({item:this,currentIndex:i,previousIndex:this._initialIndex,container:e,previousContainer:this._initialContainer,isPointerOverContainer:o,distance:a,dropPoint:r,event:n}),e.drop(this,i,this._initialIndex,this._initialContainer,o,a,r,n),this._dropContainer=this._initialContainer})}_updateActiveDropContainer({x:n,y:e},{x:i,y:r}){let a=this._initialContainer._getSiblingContainerFromPosition(this,n,e);!a&&this._dropContainer!==this._initialContainer&&this._initialContainer._isOverContainer(n,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,n,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,r),this._dropContainer._sortItem(this,n,e,this._pointerDirectionDelta),this.constrainPosition?this._applyPreviewTransform(n,e):this._applyPreviewTransform(n-this._pickupPositionInElement.x,e-this._pickupPositionInElement.y))}_animatePreviewToPlaceholder(){if(!this._hasMoved)return Promise.resolve();let n=this._placeholder.getBoundingClientRect();this._preview.addClass("cdk-drag-animating"),this._applyPreviewTransform(n.left,n.top);let e=this._preview.getTransitionDuration();return e===0?Promise.resolve():this._ngZone.runOutsideAngular(()=>new Promise(i=>{let r=o=>{(!o||this._preview&&ji(o)===this._preview.element&&o.propertyName==="transform")&&(this._preview?.removeEventListener("transitionend",r),i(),clearTimeout(a))},a=setTimeout(r,e*1.5);this._preview.addEventListener("transitionend",r)}))}_createPlaceholderElement(){let n=this._placeholderTemplate,e=n?n.template:null,i;return e?(this._placeholderRef=n.viewContainer.createEmbeddedView(e,n.context),this._placeholderRef.detectChanges(),i=VO(this._placeholderRef,this._document)):i=TO(this._rootElement),i.style.pointerEvents="none",i.classList.add("cdk-drag-placeholder"),i}_getPointerPositionInElement(n,e,i){let r=e===this._rootElement?null:e,a=r?r.getBoundingClientRect():n,o=s4(i)?i.targetTouches[0]:i,s=this._getViewportScrollPosition(),l=o.pageX-a.left-s.left,h=o.pageY-a.top-s.top;return{x:a.left-n.left+l,y:a.top-n.top+h}}_getPointerPositionOnPage(n){let e=this._getViewportScrollPosition(),i=s4(n)?n.touches[0]||n.changedTouches[0]||{pageX:0,pageY:0}:n,r=i.pageX-e.left,a=i.pageY-e.top;if(this._ownerSVGElement){let o=this._ownerSVGElement.getScreenCTM();if(o){let s=this._ownerSVGElement.createSVGPoint();return s.x=r,s.y=a,s.matrixTransform(o.inverse())}}return{x:r,y:a}}_getConstrainedPointerPosition(n){let e=this._dropContainer?this._dropContainer.lockAxis:null,{x:i,y:r}=this.constrainPosition?this.constrainPosition(n,this,this._initialDomRect,this._pickupPositionInElement):n;if(this.lockAxis==="x"||e==="x"?r=this._pickupPositionOnPage.y-(this.constrainPosition?this._pickupPositionInElement.y:0):(this.lockAxis==="y"||e==="y")&&(i=this._pickupPositionOnPage.x-(this.constrainPosition?this._pickupPositionInElement.x:0)),this._boundaryRect){let{x:a,y:o}=this.constrainPosition?{x:0,y:0}:this._pickupPositionInElement,s=this._boundaryRect,{width:l,height:h}=this._getPreviewRect(),v=s.top+o,y=s.bottom-(h-o),D=s.left+a,S=s.right-(l-a);i=SO(i,D,S),r=SO(r,v,y)}return{x:i,y:r}}_updatePointerDirectionDelta(n){let{x:e,y:i}=n,r=this._pointerDirectionDelta,a=this._pointerPositionAtLastDirectionChange,o=Math.abs(e-a.x),s=Math.abs(i-a.y);return o>this._config.pointerDirectionChangeThreshold&&(r.x=e>a.x?1:-1,a.x=e),s>this._config.pointerDirectionChangeThreshold&&(r.y=i>a.y?1:-1,a.y=i),r}_toggleNativeDragInteractions(){if(!this._rootElement||!this._handles)return;let n=this._handles.length>0||!this.isDragging();n!==this._nativeInteractionsEnabled&&(this._nativeInteractionsEnabled=n,V2(this._rootElement,n))}_removeRootElementListeners(n){n.removeEventListener("mousedown",this._pointerDown,am),n.removeEventListener("touchstart",this._pointerDown,MO),n.removeEventListener("dragstart",this._nativeDragStart,am)}_applyRootElementTransform(n,e){let i=1/this.scale,r=dm(n*i,e*i),a=this._rootElement.style;this._initialTransform==null&&(this._initialTransform=a.transform&&a.transform!="none"?a.transform:""),a.transform=lm(r,this._initialTransform)}_applyPreviewTransform(n,e){let i=this._previewTemplate?.template?void 0:this._initialTransform,r=dm(n,e);this._preview.setTransform(lm(r,i))}_getDragDistance(n){let 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(n===0&&e===0||this.isDragging()||!this._boundaryElement)return;let i=this._rootElement.getBoundingClientRect(),r=this._boundaryElement.getBoundingClientRect();if(r.width===0&&r.height===0||i.width===0&&i.height===0)return;let a=r.left-i.left,o=i.right-r.right,s=r.top-i.top,l=i.bottom-r.bottom;r.width>i.width?(a>0&&(n+=a),o>0&&(n-=o)):n=0,r.height>i.height?(s>0&&(e+=s),l>0&&(e-=l)):e=0,(n!==this._passiveTransform.x||e!==this._passiveTransform.y)&&this.setFreeDragPosition({y:e,x:n})}_getDragStartDelay(n){let e=this.dragStartDelay;return typeof e=="number"?e:s4(n)?e.touch:e?e.mouse:0}_updateOnScroll(n){let e=this._parentPositions.handleScroll(n);if(e){let i=ji(n);this._boundaryRect&&i!==this._boundaryElement&&i.contains(this._boundaryElement)&&c4(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(){return this._parentPositions.positions.get(this._document)?.scrollPosition||this._parentPositions.getViewportScrollPosition()}_getShadowRoot(){return this._cachedShadowRoot===void 0&&(this._cachedShadowRoot=ql(this._rootElement)),this._cachedShadowRoot}_getPreviewInsertionPoint(n,e){let i=this._previewContainer||"global";if(i==="parent")return n;if(i==="global"){let r=this._document;return e||r.fullscreenElement||r.webkitFullscreenElement||r.mozFullScreenElement||r.msFullscreenElement||r.body}return wi(i)}_getPreviewRect(){return(!this._previewRect||!this._previewRect.width&&!this._previewRect.height)&&(this._previewRect=this._preview?this._preview.getBoundingClientRect():this._initialDomRect),this._previewRect}_getTargetHandle(n){return this._handles.find(e=>n.target&&(n.target===e||e.contains(n.target)))}};function SO(t,n,e){return Math.max(n,Math.min(e,t))}function s4(t){return t.type[0]==="t"}function kO(t){t.preventDefault()}function AO(t,n,e){let i=IO(n,t.length-1),r=IO(e,t.length-1);if(i===r)return;let a=t[i],o=r0)return null;let s=this.orientation==="horizontal",l=a.findIndex(te=>te.drag===n),h=a[o],v=a[l].clientRect,y=h.clientRect,D=l>o?1:-1,S=this._getItemOffsetPx(v,y,D),V=this._getSiblingOffsetPx(l,a,D),K=a.slice();return AO(a,l,o),a.forEach((te,ge)=>{if(K[ge]===te)return;let Oe=te.drag===n,He=Oe?S:V,Mt=Oe?n.getPlaceholderElement():te.drag.getRootElement();te.offset+=He;let It=Math.round(te.offset*(1/te.drag.scale));s?(Mt.style.transform=lm(`translate3d(${It}px, 0, 0)`,te.initialTransform),c4(te.clientRect,0,He)):(Mt.style.transform=lm(`translate3d(0, ${It}px, 0)`,te.initialTransform),c4(te.clientRect,He,0))}),this._previousSwap.overlaps=U7(y,e,i),this._previousSwap.drag=h.drag,this._previousSwap.delta=s?r.x:r.y,{previousIndex:l,currentIndex:o}}enter(n,e,i,r){let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r,o=this._activeDraggables,s=o.indexOf(n),l=n.getPlaceholderElement(),h=o[a];if(h===n&&(h=o[a+1]),!h&&(a==null||a===-1||a-1&&o.splice(s,1),h&&!this._dragDropRegistry.isDragging(h)){let v=h.getRootElement();v.parentElement.insertBefore(l,v),o.splice(a,0,n)}else this._element.appendChild(l),o.push(n);l.style.transform="",this._cacheItemPositions()}withItems(n){this._activeDraggables=n.slice(),this._cacheItemPositions()}withSortPredicate(n){this._sortPredicate=n}reset(){this._activeDraggables?.forEach(n=>{let e=n.getRootElement();if(e){let i=this._itemPositions.find(r=>r.drag===n)?.initialTransform;e.style.transform=i||""}}),this._itemPositions=[],this._activeDraggables=[],this._previousSwap.drag=null,this._previousSwap.delta=0,this._previousSwap.overlaps=!1}getActiveItemsSnapshot(){return this._activeDraggables}getItemIndex(n){return(this.orientation==="horizontal"&&this.direction==="rtl"?this._itemPositions.slice().reverse():this._itemPositions).findIndex(i=>i.drag===n)}updateOnScroll(n,e){this._itemPositions.forEach(({clientRect:i})=>{c4(i,n,e)}),this._itemPositions.forEach(({drag:i})=>{this._dragDropRegistry.isDragging(i)&&i._sortFromLastPointerPosition()})}withElementContainer(n){this._element=n}_cacheItemPositions(){let n=this.orientation==="horizontal";this._itemPositions=this._activeDraggables.map(e=>{let i=e.getVisibleElement();return{drag:e,offset:0,initialTransform:i.style.transform||"",clientRect:Y7(i)}}).sort((e,i)=>n?e.clientRect.left-i.clientRect.left:e.clientRect.top-i.clientRect.top)}_getItemOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=r?e.left-n.left:e.top-n.top;return i===-1&&(a+=r?e.width-n.width:e.height-n.height),a}_getSiblingOffsetPx(n,e,i){let r=this.orientation==="horizontal",a=e[n].clientRect,o=e[n+i*-1],s=a[r?"width":"height"]*i;if(o){let l=r?"left":"top",h=r?"right":"bottom";i===-1?s-=o.clientRect[l]-a[h]:s+=a[l]-o.clientRect[h]}return s}_shouldEnterAsFirstChild(n,e){if(!this._activeDraggables.length)return!1;let i=this._itemPositions,r=this.orientation==="horizontal";if(i[0].drag!==this._activeDraggables[0]){let o=i[i.length-1].clientRect;return r?n>=o.right:e>=o.bottom}else{let o=i[0].clientRect;return r?n<=o.left:e<=o.top}}_getItemIndexFromPointerPosition(n,e,i,r){let a=this.orientation==="horizontal",o=this._itemPositions.findIndex(({drag:s,clientRect:l})=>{if(s===n)return!1;if(r){let h=a?r.x:r.y;if(s===this._previousSwap.drag&&this._previousSwap.overlaps&&h===this._previousSwap.delta)return!1}return a?e>=Math.floor(l.left)&&e=Math.floor(l.top)&&il?v.after(h):v.before(h),AO(this._activeItems,l,a);let y=this._getRootNode().elementFromPoint(e,i);return o.deltaX=r.x,o.deltaY=r.y,o.drag=s,o.overlaps=v===y||v.contains(y),{previousIndex:l,currentIndex:a}}enter(n,e,i,r){let a=r==null||r<0?this._getItemIndexFromPointerPosition(n,e,i):r;a===-1&&(a=this._getClosestItemIndexToPointer(n,e,i));let o=this._activeItems[a],s=this._activeItems.indexOf(n);s>-1&&this._activeItems.splice(s,1),o&&!this._dragDropRegistry.isDragging(o)?(this._activeItems.splice(a,0,n),o.getRootElement().before(n.getPlaceholderElement())):(this._activeItems.push(n),this._element.appendChild(n.getPlaceholderElement()))}withItems(n){this._activeItems=n.slice()}withSortPredicate(n){this._sortPredicate=n}reset(){let n=this._element,e=this._previousSwap;for(let i=this._relatedNodes.length-1;i>-1;i--){let[r,a]=this._relatedNodes[i];r.parentNode===n&&r.nextSibling!==a&&(a===null?n.appendChild(r):a.parentNode===n&&n.insertBefore(r,a))}this._relatedNodes=[],this._activeItems=[],e.drag=null,e.deltaX=e.deltaY=0,e.overlaps=!1}getActiveItemsSnapshot(){return this._activeItems}getItemIndex(n){return this._activeItems.indexOf(n)}updateOnScroll(){this._activeItems.forEach(n=>{this._dragDropRegistry.isDragging(n)&&n._sortFromLastPointerPosition()})}withElementContainer(n){n!==this._element&&(this._element=n,this._rootNode=void 0)}_getItemIndexFromPointerPosition(n,e,i){let r=this._getRootNode().elementFromPoint(Math.floor(e),Math.floor(i)),a=r?this._activeItems.findIndex(o=>{let s=o.getRootElement();return r===s||s.contains(r)}):-1;return a===-1||!this._sortPredicate(a,n)?-1:a}_getRootNode(){return this._rootNode||(this._rootNode=ql(this._element)||this._document),this._rootNode}_getClosestItemIndexToPointer(n,e,i){if(this._activeItems.length===0)return-1;if(this._activeItems.length===1)return 0;let r=1/0,a=-1;for(let o=0;o!0,this.sortPredicate=()=>!0,this.beforeStarted=new U,this.entered=new U,this.exited=new U,this.dropped=new U,this.sorted=new U,this.receivingStarted=new U,this.receivingStopped=new U,this._isDragging=!1,this._draggables=[],this._siblings=[],this._activeSiblings=new Set,this._viewportScrollSubscription=xe.EMPTY,this._verticalScrollDirection=Kr.NONE,this._horizontalScrollDirection=Wn.NONE,this._stopScrollTimers=new U,this._cachedShadowRoot=null,this._scrollableElements=[],this._direction="ltr",this._startScrollInterval=()=>{this._stopScrolling(),Lp(0,i3).pipe(_e(this._stopScrollTimers)).subscribe(()=>{let s=this._scrollNode,l=this.autoScrollStep;this._verticalScrollDirection===Kr.UP?s.scrollBy(0,-l):this._verticalScrollDirection===Kr.DOWN&&s.scrollBy(0,l),this._horizontalScrollDirection===Wn.LEFT?s.scrollBy(-l,0):this._horizontalScrollDirection===Wn.RIGHT&&s.scrollBy(l,0)})};let o=this.element=wi(n);this._document=i,this.withOrientation("vertical").withElementContainer(o),e.registerDropContainer(this),this._parentPositions=new cm(i)}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.receivingStarted.complete(),this.receivingStopped.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,i,r){this._draggingStarted(),r==null&&this.sortingDisabled&&(r=this._draggables.indexOf(n)),this._sortStrategy.enter(n,e,i,r),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,i,r,a,o,s,l={}){this._reset(),this.dropped.next({item:n,currentIndex:e,previousIndex:i,container:this,previousContainer:r,isPointerOverContainer:a,distance:o,dropPoint:s,event:l})}withItems(n){let e=this._draggables;return this._draggables=n,n.forEach(i=>i._withDropContainer(this)),this.isDragging()&&(e.filter(r=>r.isDragging()).every(r=>n.indexOf(r)===-1)?this._reset():this._sortStrategy.withItems(this._draggables)),this}withDirection(n){return this._direction=n,this._sortStrategy instanceof um&&(this._sortStrategy.direction=n),this}connectedTo(n){return this._siblings=n.slice(),this}withOrientation(n){if(n==="mixed")this._sortStrategy=new W7(this._document,this._dragDropRegistry);else{let e=new um(this._dragDropRegistry);e.direction=this._direction,e.orientation=n,this._sortStrategy=e}return this._sortStrategy.withElementContainer(this._container),this._sortStrategy.withSortPredicate((e,i)=>this.sortPredicate(e,i,this)),this}withScrollableParents(n){let e=this._container;return this._scrollableElements=n.indexOf(e)===-1?[e,...n]:n.slice(),this}withElementContainer(n){if(n===this._container)return this;let e=wi(this.element),i=this._scrollableElements.indexOf(this._container),r=this._scrollableElements.indexOf(n);return i>-1&&this._scrollableElements.splice(i,1),r>-1&&this._scrollableElements.splice(r,1),this._sortStrategy&&this._sortStrategy.withElementContainer(n),this._cachedShadowRoot=null,this._scrollableElements.unshift(n),this._container=n,this}getScrollableParents(){return this._scrollableElements}getItemIndex(n){return this._isDragging?this._sortStrategy.getItemIndex(n):this._draggables.indexOf(n)}isReceiving(){return this._activeSiblings.size>0}_sortItem(n,e,i,r){if(this.sortingDisabled||!this._domRect||!vO(this._domRect,EO,e,i))return;let a=this._sortStrategy.sort(n,e,i,r);a&&this.sorted.next({previousIndex:a.previousIndex,currentIndex:a.currentIndex,container:this,item:n})}_startScrollingIfNecessary(n,e){if(this.autoScrollDisabled)return;let i,r=Kr.NONE,a=Wn.NONE;if(this._parentPositions.positions.forEach((o,s)=>{s===this._document||!o.clientRect||i||vO(o.clientRect,EO,n,e)&&([r,a]=bie(s,o.clientRect,this._direction,n,e),(r||a)&&(i=s))}),!r&&!a){let{width:o,height:s}=this._viewportRuler.getViewportSize(),l={width:o,height:s,top:0,right:o,bottom:s,left:0};r=LO(l,e),a=HO(l,n),i=window}i&&(r!==this._verticalScrollDirection||a!==this._horizontalScrollDirection||i!==this._scrollNode)&&(this._verticalScrollDirection=r,this._horizontalScrollDirection=a,this._scrollNode=i,(r||a)&&i?this._ngZone.runOutsideAngular(this._startScrollInterval):this._stopScrolling())}_stopScrolling(){this._stopScrollTimers.next()}_draggingStarted(){let n=this._container.style;this.beforeStarted.next(),this._isDragging=!0,this._initialScrollSnap=n.msScrollSnapType||n.scrollSnapType||"",n.scrollSnapType=n.msScrollSnapType="none",this._sortStrategy.start(this._draggables),this._cacheParentPositions(),this._viewportScrollSubscription.unsubscribe(),this._listenToScrollEvents()}_cacheParentPositions(){this._parentPositions.cache(this._scrollableElements),this._domRect=this._parentPositions.positions.get(this._container).clientRect}_reset(){this._isDragging=!1;let n=this._container.style;n.scrollSnapType=n.msScrollSnapType=this._initialScrollSnap,this._siblings.forEach(e=>e._stopReceiving(this)),this._sortStrategy.reset(),this._stopScrolling(),this._viewportScrollSubscription.unsubscribe(),this._parentPositions.clear()}_isOverContainer(n,e){return this._domRect!=null&&U7(this._domRect,n,e)}_getSiblingContainerFromPosition(n,e,i){return this._siblings.find(r=>r._canReceive(n,e,i))}_canReceive(n,e,i){if(!this._domRect||!U7(this._domRect,e,i)||!this.enterPredicate(n,this))return!1;let r=this._getShadowRoot().elementFromPoint(e,i);return r?r===this._container||this._container.contains(r):!1}_startReceiving(n,e){let i=this._activeSiblings;!i.has(n)&&e.every(r=>this.enterPredicate(r,this)||this._draggables.indexOf(r)>-1)&&(i.add(n),this._cacheParentPositions(),this._listenToScrollEvents(),this.receivingStarted.next({initiator:n,receiver:this,items:e}))}_stopReceiving(n){this._activeSiblings.delete(n),this._viewportScrollSubscription.unsubscribe(),this.receivingStopped.next({initiator:n,receiver:this})}_listenToScrollEvents(){this._viewportScrollSubscription=this._dragDropRegistry.scrolled(this._getShadowRoot()).subscribe(n=>{if(this.isDragging()){let e=this._parentPositions.handleScroll(n);e&&this._sortStrategy.updateOnScroll(e.top,e.left)}else this.isReceiving()&&this._cacheParentPositions()})}_getShadowRoot(){if(!this._cachedShadowRoot){let n=ql(this._container);this._cachedShadowRoot=n||this._document}return this._cachedShadowRoot}_notifyReceivingSiblings(){let n=this._sortStrategy.getActiveItemsSnapshot().filter(e=>e.isDragging());this._siblings.forEach(e=>e._startReceiving(this,n))}};function LO(t,n){let{top:e,bottom:i,height:r}=t,a=r*zO;return n>=e-a&&n<=e+a?Kr.UP:n>=i-a&&n<=i+a?Kr.DOWN:Kr.NONE}function HO(t,n){let{left:e,right:i,width:r}=t,a=r*zO;return n>=e-a&&n<=e+a?Wn.LEFT:n>=i-a&&n<=i+a?Wn.RIGHT:Wn.NONE}function bie(t,n,e,i,r){let a=LO(n,r),o=HO(n,i),s=Kr.NONE,l=Wn.NONE;if(a){let h=t.scrollTop;a===Kr.UP?h>0&&(s=Kr.UP):t.scrollHeight-h>t.clientHeight&&(s=Kr.DOWN)}if(o){let h=t.scrollLeft;e==="rtl"?o===Wn.RIGHT?h<0&&(l=Wn.RIGHT):t.scrollWidth+h>t.clientWidth&&(l=Wn.LEFT):o===Wn.LEFT?h>0&&(l=Wn.LEFT):t.scrollWidth-h>t.clientWidth&&(l=Wn.RIGHT)}return[s,l]}var om=Ci({passive:!1,capture:!0}),sm=new Set,yie=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["ng-component"]],hostAttrs:["cdk-drag-resets-container",""],standalone:!0,features:[ae],decls:0,vars:0,template:function(i,r){},styles:["@layer cdk-resets{.cdk-drag-preview{background:none;border:none;padding:0;color:inherit;inset:auto}}.cdk-drag-placeholder *,.cdk-drag-preview *{pointer-events:none !important}"],encapsulation:2,changeDetection:0})}}return t})(),Cie=(()=>{class t{constructor(e,i){this._ngZone=e,this._appRef=z(Ji),this._environmentInjector=z(Oi),this._dropInstances=new Set,this._dragInstances=new Set,this._activeDragInstances=ir([]),this._globalListeners=new Map,this._draggingPredicate=r=>r.isDragging(),this.pointerMove=new U,this.pointerUp=new U,this.scroll=new U,this._preventDefaultWhileDragging=r=>{this._activeDragInstances().length>0&&r.preventDefault()},this._persistentTouchmoveListener=r=>{this._activeDragInstances().length>0&&(this._activeDragInstances().some(this._draggingPredicate)&&r.preventDefault(),this.pointerMove.next(r))},this._document=i}registerDropContainer(e){this._dropInstances.has(e)||this._dropInstances.add(e)}registerDragItem(e){this._dragInstances.add(e),this._dragInstances.size===1&&this._ngZone.runOutsideAngular(()=>{this._document.addEventListener("touchmove",this._persistentTouchmoveListener,om)})}removeDropContainer(e){this._dropInstances.delete(e)}removeDragItem(e){this._dragInstances.delete(e),this.stopDragging(e),this._dragInstances.size===0&&this._document.removeEventListener("touchmove",this._persistentTouchmoveListener,om)}startDragging(e,i){if(!(this._activeDragInstances().indexOf(e)>-1)&&(this._loadResets(),this._activeDragInstances.update(r=>[...r,e]),this._activeDragInstances().length===1)){let r=i.type.startsWith("touch");this._globalListeners.set(r?"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:om}),r||this._globalListeners.set("mousemove",{handler:a=>this.pointerMove.next(a),options:om}),this._ngZone.runOutsideAngular(()=>{this._globalListeners.forEach((a,o)=>{this._document.addEventListener(o,a.handler,a.options)})})}}stopDragging(e){this._activeDragInstances.update(i=>{let r=i.indexOf(e);return r>-1?(i.splice(r,1),[...i]):i}),this._activeDragInstances().length===0&&this._clearGlobalListeners()}isDragging(e){return this._activeDragInstances().indexOf(e)>-1}scrolled(e){let i=[this.scroll];return e&&e!==this._document&&i.push(new je(r=>this._ngZone.runOutsideAngular(()=>{let o=s=>{this._activeDragInstances().length&&r.next(s)};return e.addEventListener("scroll",o,!0),()=>{e.removeEventListener("scroll",o,!0)}}))),nt(...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()}_loadResets(){if(!sm.has(this._appRef)){sm.add(this._appRef);let e=X0(yie,{environmentInjector:this._environmentInjector});this._appRef.onDestroy(()=>{sm.delete(this._appRef),sm.size===0&&e.destroy()})}}static{this.\u0275fac=function(i){return new(i||t)(k(oe),k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),xie={dragStartThreshold:5,pointerDirectionChangeThreshold:5},K7=(()=>{class t{constructor(e,i,r,a){this._document=e,this._ngZone=i,this._viewportRuler=r,this._dragDropRegistry=a}createDrag(e,i=xie){return new G7(e,i,this._document,this._ngZone,this._viewportRuler,this._dragDropRegistry)}createDropList(e){return new q7(e,this._dragDropRegistry,this._document,this._ngZone,this._viewportRuler)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce),k(oe),k(Ui),k(Cie))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})(),OO=new L("CDK_DRAG_PARENT");var Mie=new L("CdkDragHandle");var RO=new L("CDK_DRAG_CONFIG"),wie="cdk-drag",NO=new L("CdkDropList"),wye=(()=>{class t{static{this._dragInstances=[]}get disabled(){return this._disabled||this.dropContainer&&this.dropContainer.disabled}set disabled(e){this._disabled=e,this._dragRef.disabled=this._disabled}constructor(e,i,r,a,o,s,l,h,v,y,D){this.element=e,this.dropContainer=i,this._ngZone=a,this._viewContainerRef=o,this._dir=l,this._changeDetectorRef=v,this._selfHandle=y,this._parentDrag=D,this._destroyed=new U,this._handles=new at([]),this.scale=1,this.started=new B,this.released=new B,this.ended=new B,this.entered=new B,this.exited=new B,this.dropped=new B,this.moved=new je(S=>{let V=this._dragRef.moved.pipe(me(K=>({source:this,pointerPosition:K.pointerPosition,event:K.event,delta:K.delta,distance:K.distance}))).subscribe(S);return()=>{V.unsubscribe()}}),this._injector=z(Le),this._dragRef=h.createDrag(e,{dragStartThreshold:s&&s.dragStartThreshold!=null?s.dragStartThreshold:5,pointerDirectionChangeThreshold:s&&s.pointerDirectionChangeThreshold!=null?s.pointerDirectionChangeThreshold:5,zIndex:s?.zIndex}),this._dragRef.data=this,t._dragInstances.push(this),s&&this._assignDefaults(s),i&&(this._dragRef._withDropContainer(i._dropListRef),i.addItem(this),i._dropListRef.beforeStarted.pipe(_e(this._destroyed)).subscribe(()=>{this._dragRef.scale=this.scale})),this._syncInputs(this._dragRef),this._handleEvents(this._dragRef)}getPlaceholderElement(){return this._dragRef.getPlaceholderElement()}getRootElement(){return this._dragRef.getRootElement()}reset(){this._dragRef.reset()}getFreeDragPosition(){return this._dragRef.getFreeDragPosition()}setFreeDragPosition(e){this._dragRef.setFreeDragPosition(e)}ngAfterViewInit(){Ft(()=>{this._updateRootElement(),this._setupHandlesListener(),this._dragRef.scale=this.scale,this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)},{injector:this._injector})}ngOnChanges(e){let i=e.rootElementSelector,r=e.freeDragPosition;i&&!i.firstChange&&this._updateRootElement(),this._dragRef.scale=this.scale,r&&!r.firstChange&&this.freeDragPosition&&this._dragRef.setFreeDragPosition(this.freeDragPosition)}ngOnDestroy(){this.dropContainer&&this.dropContainer.removeItem(this);let e=t._dragInstances.indexOf(this);e>-1&&t._dragInstances.splice(e,1),this._ngZone.runOutsideAngular(()=>{this._handles.complete(),this._destroyed.next(),this._destroyed.complete(),this._dragRef.dispose()})}_addHandle(e){let i=this._handles.getValue();i.push(e),this._handles.next(i)}_removeHandle(e){let i=this._handles.getValue(),r=i.indexOf(e);r>-1&&(i.splice(r,1),this._handles.next(i))}_setPreviewTemplate(e){this._previewTemplate=e}_resetPreviewTemplate(e){e===this._previewTemplate&&(this._previewTemplate=null)}_setPlaceholderTemplate(e){this._placeholderTemplate=e}_resetPlaceholderTemplate(e){e===this._placeholderTemplate&&(this._placeholderTemplate=null)}_updateRootElement(){let e=this.element.nativeElement,i=e;this.rootElementSelector&&(i=e.closest!==void 0?e.closest(this.rootElementSelector):e.parentElement?.closest(this.rootElementSelector)),this._dragRef.withRootElement(i||e)}_getBoundaryElement(){let e=this.boundaryElement;return e?typeof e=="string"?this.element.nativeElement.closest(e):wi(e):null}_syncInputs(e){e.beforeStarted.subscribe(()=>{if(!e.isDragging()){let i=this._dir,r=this.dragStartDelay,a=this._placeholderTemplate?{template:this._placeholderTemplate.templateRef,context:this._placeholderTemplate.data,viewContainer:this._viewContainerRef}:null,o=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.scale=this.scale,e.dragStartDelay=typeof r=="object"&&r?r:di(r),e.constrainPosition=this.constrainPosition,e.previewClass=this.previewClass,e.withBoundaryElement(this._getBoundaryElement()).withPlaceholderTemplate(a).withPreviewTemplate(o).withPreviewContainer(this.previewContainer||"global"),i&&e.withDirection(i.value)}}),e.beforeStarted.pipe(Ue(1)).subscribe(()=>{if(this._parentDrag){e.withParent(this._parentDrag._dragRef);return}let i=this.element.nativeElement.parentElement;for(;i;){if(i.classList.contains(wie)){e.withParent(t._dragInstances.find(r=>r.element.nativeElement===i)?._dragRef||null);break}i=i.parentElement}})}_handleEvents(e){e.started.subscribe(i=>{this.started.emit({source:this,event:i.event}),this._changeDetectorRef.markForCheck()}),e.released.subscribe(i=>{this.released.emit({source:this,event:i.event})}),e.ended.subscribe(i=>{this.ended.emit({source:this,distance:i.distance,dropPoint:i.dropPoint,event:i.event}),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,event:i.event})})}_assignDefaults(e){let{lockAxis:i,dragStartDelay:r,constrainPosition:a,previewClass:o,boundaryElement:s,draggingDisabled:l,rootElementSelector:h,previewContainer:v}=e;this.disabled=l??!1,this.dragStartDelay=r||0,i&&(this.lockAxis=i),a&&(this.constrainPosition=a),o&&(this.previewClass=o),s&&(this.boundaryElement=s),h&&(this.rootElementSelector=h),v&&(this.previewContainer=v)}_setupHandlesListener(){this._handles.pipe(yt(e=>{let i=e.map(r=>r.element);this._selfHandle&&this.rootElementSelector&&i.push(this.element),this._dragRef.withHandles(i)}),dt(e=>nt(...e.map(i=>i._stateChanges.pipe(Qe(i))))),_e(this._destroyed)).subscribe(e=>{let i=this._dragRef,r=e.element.nativeElement;e.disabled?i.disableHandle(r):i.enableHandle(r)})}static{this.\u0275fac=function(i){return new(i||t)(m($),m(NO,12),m(Ce),m(oe),m(Xe),m(RO,8),m(Je,8),m(K7),m(pe),m(Mie,10),m(OO,12))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkDrag",""]],hostAttrs:[1,"cdk-drag"],hostVars:4,hostBindings:function(i,r){i&2&&re("cdk-drag-disabled",r.disabled)("cdk-drag-dragging",r._dragRef.isDragging())},inputs:{data:[0,"cdkDragData","data"],lockAxis:[0,"cdkDragLockAxis","lockAxis"],rootElementSelector:[0,"cdkDragRootElement","rootElementSelector"],boundaryElement:[0,"cdkDragBoundary","boundaryElement"],dragStartDelay:[0,"cdkDragStartDelay","dragStartDelay"],freeDragPosition:[0,"cdkDragFreeDragPosition","freeDragPosition"],disabled:[2,"cdkDragDisabled","disabled",q],constrainPosition:[0,"cdkDragConstrainPosition","constrainPosition"],previewClass:[0,"cdkDragPreviewClass","previewClass"],previewContainer:[0,"cdkDragPreviewContainer","previewContainer"],scale:[2,"cdkDragScale","scale",st]},outputs:{started:"cdkDragStarted",released:"cdkDragReleased",ended:"cdkDragEnded",entered:"cdkDragEntered",exited:"cdkDragExited",dropped:"cdkDragDropped",moved:"cdkDragMoved"},exportAs:["cdkDrag"],standalone:!0,features:[he([{provide:OO,useExisting:t}]),ye,Te]})}}return t})(),PO=new L("CdkDropListGroup");var Die=0,Dye=(()=>{class t{static{this._dropLists=[]}get disabled(){return this._disabled||!!this._group&&this._group.disabled}set disabled(e){this._dropListRef.disabled=this._disabled=e}constructor(e,i,r,a,o,s,l){this.element=e,this._changeDetectorRef=r,this._scrollDispatcher=a,this._dir=o,this._group=s,this._destroyed=new U,this.connectedTo=[],this.id=`cdk-drop-list-${Die++}`,this.enterPredicate=()=>!0,this.sortPredicate=()=>!0,this.dropped=new B,this.entered=new B,this.exited=new B,this.sorted=new B,this._unsortedItems=new Set,this._dropListRef=i.createDropList(e),this._dropListRef.data=this,l&&this._assignDefaults(l),this._dropListRef.enterPredicate=(h,v)=>this.enterPredicate(h.data,v.data),this._dropListRef.sortPredicate=(h,v,y)=>this.sortPredicate(h,v.data,y.data),this._setupInputSyncSubscription(this._dropListRef),this._handleEvents(this._dropListRef),t._dropLists.push(this),s&&s._items.add(this)}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(){let e=t._dropLists.indexOf(this);e>-1&&t._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(Qe(this._dir.value),_e(this._destroyed)).subscribe(i=>e.withDirection(i)),e.beforeStarted.subscribe(()=>{let i=Ms(this.connectedTo).map(r=>{if(typeof r=="string"){let a=t._dropLists.find(o=>o.id===r);return a}return r});if(this._group&&this._group._items.forEach(r=>{i.indexOf(r)===-1&&i.push(r)}),!this._scrollableParentsResolved){let r=this._scrollDispatcher.getAncestorScrollContainers(this.element).map(a=>a.getElementRef().nativeElement);this._dropListRef.withScrollableParents(r),this._scrollableParentsResolved=!0}if(this.elementContainerSelector){let r=this.element.nativeElement.querySelector(this.elementContainerSelector);e.withElementContainer(r)}e.disabled=this.disabled,e.lockAxis=this.lockAxis,e.sortingDisabled=this.sortingDisabled,e.autoScrollDisabled=this.autoScrollDisabled,e.autoScrollStep=di(this.autoScrollStep,2),e.connectedTo(i.filter(r=>r&&r!==this).map(r=>r._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,event:i.event}),this._changeDetectorRef.markForCheck()}),nt(e.receivingStarted,e.receivingStopped).subscribe(()=>this._changeDetectorRef.markForCheck())}_assignDefaults(e){let{lockAxis:i,draggingDisabled:r,sortingDisabled:a,listAutoScrollDisabled:o,listOrientation:s}=e;this.disabled=r??!1,this.sortingDisabled=a??!1,this.autoScrollDisabled=o??!1,this.orientation=s||"vertical",i&&(this.lockAxis=i)}_syncItemsWithRef(){this._dropListRef.withItems(this.getSortedItems().map(e=>e._dragRef))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(K7),m(pe),m(ha),m(Je,8),m(PO,12),m(RO,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkDropList",""],["cdk-drop-list"]],hostAttrs:[1,"cdk-drop-list"],hostVars:7,hostBindings:function(i,r){i&2&&(ie("id",r.id),re("cdk-drop-list-disabled",r.disabled)("cdk-drop-list-dragging",r._dropListRef.isDragging())("cdk-drop-list-receiving",r._dropListRef.isReceiving()))},inputs:{connectedTo:[0,"cdkDropListConnectedTo","connectedTo"],data:[0,"cdkDropListData","data"],orientation:[0,"cdkDropListOrientation","orientation"],id:"id",lockAxis:[0,"cdkDropListLockAxis","lockAxis"],disabled:[2,"cdkDropListDisabled","disabled",q],sortingDisabled:[2,"cdkDropListSortingDisabled","sortingDisabled",q],enterPredicate:[0,"cdkDropListEnterPredicate","enterPredicate"],sortPredicate:[0,"cdkDropListSortPredicate","sortPredicate"],autoScrollDisabled:[2,"cdkDropListAutoScrollDisabled","autoScrollDisabled",q],autoScrollStep:[0,"cdkDropListAutoScrollStep","autoScrollStep"],elementContainerSelector:[0,"cdkDropListElementContainer","elementContainerSelector"]},outputs:{dropped:"cdkDropListDropped",entered:"cdkDropListEntered",exited:"cdkDropListExited",sorted:"cdkDropListSorted"},exportAs:["cdkDropList"],standalone:!0,features:[he([{provide:PO,useValue:void 0},{provide:NO,useExisting:t}]),ye]})}}return t})();var FO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[K7],imports:[_n]})}}return t})();var Sie=["*"];function kie(t,n){t&1&&se(0)}var Z7=(()=>{class t{constructor(e){this._elementRef=e}focus(){this._elementRef.nativeElement.focus()}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkStepHeader",""]],hostAttrs:["role","tab"],standalone:!0})}}return t})(),X7=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkStepLabel",""]],standalone:!0})}}return t})(),Iie=0;var jo={NUMBER:"number",EDIT:"edit",DONE:"done",ERROR:"error"},l4=new L("STEPPER_GLOBAL_OPTIONS"),hm=(()=>{class t{get completed(){return this._completedOverride==null?this._getDefaultCompleted():this._completedOverride}set completed(e){this._completedOverride=e}_getDefaultCompleted(){return this.stepControl?this.stepControl.valid&&this.interacted:this.interacted}get hasError(){return this._customError==null?this._getDefaultError():this._customError}set hasError(e){this._customError=e}_getDefaultError(){return this.stepControl&&this.stepControl.invalid&&this.interacted}constructor(e,i){this._stepper=e,this.interacted=!1,this.interactedStream=new B,this.editable=!0,this.optional=!1,this._completedOverride=null,this._customError=null,this._stepperOptions=i||{},this._displayDefaultIndicatorType=this._stepperOptions.displayDefaultIndicatorType!==!1}select(){this._stepper.selected=this}reset(){this.interacted=!1,this._completedOverride!=null&&(this._completedOverride=!1),this._customError!=null&&(this._customError=!1),this.stepControl&&(this._childForms?.forEach(e=>e.resetForm?.()),this.stepControl.reset())}ngOnChanges(){this._stepper._stateChanged()}_markAsInteracted(){this.interacted||(this.interacted=!0,this.interactedStream.emit(this))}_showError(){return this._stepperOptions.showError??this._customError!=null}static{this.\u0275fac=function(i){return new(i||t)(m(ct(()=>A2)),m(l4,8))}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-step"]],contentQueries:function(i,r,a){if(i&1&&(we(a,X7,5),we(a,dn,5)),i&2){let o;G(o=W())&&(r.stepLabel=o.first),G(o=W())&&(r._childForms=o)}},viewQuery:function(i,r){if(i&1&&ue($e,7),i&2){let a;G(a=W())&&(r.content=a.first)}},inputs:{stepControl:"stepControl",label:"label",errorMessage:"errorMessage",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],state:"state",editable:[2,"editable","editable",q],optional:[2,"optional","optional",q],completed:[2,"completed","completed",q],hasError:[2,"hasError","hasError",q]},outputs:{interactedStream:"interacted"},exportAs:["cdkStep"],standalone:!0,features:[ye,Te,ae],ngContentSelectors:Sie,decls:1,vars:0,template:function(i,r){i&1&&(Me(),w(0,kie,1,0,"ng-template"))},encapsulation:2,changeDetection:0})}}return t})(),A2=(()=>{class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this.steps&&this._steps?(this._isValidIndex(e),this.selected?._markAsInteracted(),this._selectedIndex!==e&&!this._anyControlsInvalidOrPending(e)&&(e>=this._selectedIndex||this.steps.toArray()[e].editable)&&this._updateSelectedItemIndex(e)):this._selectedIndex=e}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(e==="vertical")}constructor(e,i,r){this._dir=e,this._changeDetectorRef=i,this._elementRef=r,this._destroyed=new U,this.steps=new Pi,this._sortedHeaders=new Pi,this.linear=!1,this._selectedIndex=0,this.selectionChange=new B,this.selectedIndexChange=new B,this._orientation="horizontal",this._groupId=Iie++}ngAfterContentInit(){this._steps.changes.pipe(Qe(this._steps),_e(this._destroyed)).subscribe(e=>{this.steps.reset(e.filter(i=>i._stepper===this)),this.steps.notifyOnChanges()})}ngAfterViewInit(){this._stepHeader.changes.pipe(Qe(this._stepHeader),_e(this._destroyed)).subscribe(e=>{this._sortedHeaders.reset(e.toArray().sort((i,r)=>i._elementRef.nativeElement.compareDocumentPosition(r._elementRef.nativeElement)&Node.DOCUMENT_POSITION_FOLLOWING?-1:1)),this._sortedHeaders.notifyOnChanges()}),this._keyManager=new Ba(this._sortedHeaders).withWrap().withHomeAndEnd().withVerticalOrientation(this._orientation==="vertical"),(this._dir?this._dir.change:ce()).pipe(Qe(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._keyManager?.destroy(),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){let i=e-this._selectedIndex;return i<0?this._layoutDirection()==="rtl"?"next":"previous":i>0?this._layoutDirection()==="rtl"?"previous":"next":"current"}_getIndicatorType(e,i=jo.NUMBER){let r=this.steps.toArray()[e],a=this._isCurrentStep(e);return r._displayDefaultIndicatorType?this._getDefaultIndicatorLogic(r,a):this._getGuidelineLogic(r,a,i)}_getDefaultIndicatorLogic(e,i){return e._showError()&&e.hasError&&!i?jo.ERROR:!e.completed||i?jo.NUMBER:e.editable?jo.EDIT:jo.DONE}_getGuidelineLogic(e,i,r=jo.NUMBER){return e._showError()&&e.hasError&&!i?jo.ERROR:e.completed&&!i?jo.DONE:e.completed&&i?r:e.editable&&i?jo.EDIT:r}_isCurrentStep(e){return this._selectedIndex===e}_getFocusIndex(){return this._keyManager?this._keyManager.activeItemIndex:this._selectedIndex}_updateSelectedItemIndex(e){let i=this.steps.toArray();this.selectionChange.emit({selectedIndex:e,previouslySelectedIndex:this._selectedIndex,selectedStep:i[e],previouslySelectedStep:i[this._selectedIndex]}),this._containsFocus()?this._keyManager.setActiveItem(e):this._keyManager.updateActiveItem(e),this._selectedIndex=e,this.selectedIndexChange.emit(this._selectedIndex),this._stateChanged()}_onKeydown(e){let i=xt(e),r=e.keyCode,a=this._keyManager;a.activeItemIndex!=null&&!i&&(r===32||r===13)?(this.selectedIndex=a.activeItemIndex,e.preventDefault()):a.setFocusOrigin("keyboard").onKeydown(e)}_anyControlsInvalidOrPending(e){return this.linear&&e>=0?this.steps.toArray().slice(0,e).some(i=>{let r=i.stepControl;return(r?r.invalid||r.pending||!i.interacted:!i.completed)&&!i.optional&&!i._completedOverride}):!1}_layoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_containsFocus(){let e=this._elementRef.nativeElement,i=ja();return e===i||e.contains(i)}_isValidIndex(e){return e>-1&&(!this.steps||e{class t{constructor(e){this._stepper=e,this.type="submit"}static{this.\u0275fac=function(i){return new(i||t)(m(A2))}}static{this.\u0275dir=T({type:t,selectors:[["button","cdkStepperNext",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(){return r._stepper.next()}),i&2&&jt("type",r.type)},inputs:{type:"type"},standalone:!0})}}return t})(),BO=(()=>{class t{constructor(e){this._stepper=e,this.type="button"}static{this.\u0275fac=function(i){return new(i||t)(m(A2))}}static{this.\u0275dir=T({type:t,selectors:[["button","cdkStepperPrevious",""]],hostVars:1,hostBindings:function(i,r){i&1&&H("click",function(){return r._stepper.previous()}),i&2&&jt("type",r.type)},inputs:{type:"type"},standalone:!0})}}return t})(),UO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Ua]})}}return t})();var Eie=["panel"],Oie=["*"];function Pie(t,n){if(t&1){let e=le();p(0,"div",1,0),H("@panelAnimation.done",function(r){F(e);let a=M();return j(a._animationDone.next(r))}),se(2),f()}if(t&2){let e=n.id,i=M();Lt(i._classList),re("mat-mdc-autocomplete-visible",i.showPanel)("mat-mdc-autocomplete-hidden",!i.showPanel)("mat-primary",i._color==="primary")("mat-accent",i._color==="accent")("mat-warn",i._color==="warn"),C("id",i.id)("@panelAnimation",i.isOpen?"visible":"hidden"),ie("aria-label",i.ariaLabel||null)("aria-labelledby",i._getPanelAriaLabelledby(e))}}var Tie=kt("panelAnimation",[tt("void, hidden",De({opacity:0,transform:"scaleY(0.8)"})),Ze(":enter, hidden => visible",[Md([et("0.03s linear",De({opacity:1})),et("0.12s cubic-bezier(0, 0, 0.2, 1)",De({transform:"scaleY(1)"}))])]),Ze(":leave, visible => hidden",[et("0.075s linear",De({opacity:0}))])]),Vie=0,J7=class{constructor(n,e){this.source=n,this.option=e}},$O=new L("mat-autocomplete-default-options",{providedIn:"root",factory:Aie});function Aie(){return{autoActiveFirstOption:!1,autoSelectActiveOption:!1,hideSingleSelectionIndicator:!1,requireSelection:!1}}var CCe=(()=>{class t{get isOpen(){return this._isOpen&&this.showPanel}_setColor(e){this._color=e,this._changeDetectorRef.markForCheck()}set classList(e){this._classList=e,this._elementRef.nativeElement.className=""}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._syncParentProperties()}_syncParentProperties(){if(this.options)for(let e of this.options)e._changeDetectorRef.markForCheck()}constructor(e,i,r,a){this._changeDetectorRef=e,this._elementRef=i,this._defaults=r,this._activeOptionChanges=xe.EMPTY,this._animationDone=new B,this.showPanel=!1,this._isOpen=!1,this.displayWith=null,this.optionSelected=new B,this.opened=new B,this.closed=new B,this.optionActivated=new B,this.id=`mat-autocomplete-${Vie++}`,this.inertGroups=a?.SAFARI||!1,this.autoActiveFirstOption=!!r.autoActiveFirstOption,this.autoSelectActiveOption=!!r.autoSelectActiveOption,this.requireSelection=!!r.requireSelection,this._hideSingleSelectionIndicator=this._defaults.hideSingleSelectionIndicator??!1}ngAfterContentInit(){this._keyManager=new Zl(this.options).withWrap().skipPredicate(this._skipPredicate),this._activeOptionChanges=this._keyManager.change.subscribe(e=>{this.isOpen&&this.optionActivated.emit({source:this,option:this.options.toArray()[e]||null})}),this._setVisibility()}ngOnDestroy(){this._keyManager?.destroy(),this._activeOptionChanges.unsubscribe(),this._animationDone.complete()}_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._changeDetectorRef.markForCheck()}_emitSelectEvent(e){let i=new J7(this,e);this.optionSelected.emit(i)}_getPanelAriaLabelledby(e){if(this.ariaLabel)return null;let i=e?e+" ":"";return this.ariaLabelledby?i+this.ariaLabelledby:e}_skipPredicate(){return!1}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m($),m($O),m(ze))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-autocomplete"]],contentQueries:function(i,r,a){if(i&1&&(we(a,Bi,5),we(a,gd,5)),i&2){let o;G(o=W())&&(r.options=o),G(o=W())&&(r.optionGroups=o)}},viewQuery:function(i,r){if(i&1&&(ue($e,7),ue(Eie,5)),i&2){let a;G(a=W())&&(r.template=a.first),G(a=W())&&(r.panel=a.first)}},hostAttrs:[1,"mat-mdc-autocomplete"],inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],displayWith:"displayWith",autoActiveFirstOption:[2,"autoActiveFirstOption","autoActiveFirstOption",q],autoSelectActiveOption:[2,"autoSelectActiveOption","autoSelectActiveOption",q],requireSelection:[2,"requireSelection","requireSelection",q],panelWidth:"panelWidth",disableRipple:[2,"disableRipple","disableRipple",q],classList:[0,"class","classList"],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q]},outputs:{optionSelected:"optionSelected",opened:"opened",closed:"closed",optionActivated:"optionActivated"},exportAs:["matAutocomplete"],standalone:!0,features:[he([{provide:fd,useExisting:t}]),ye,ae],ngContentSelectors:Oie,decls:1,vars:0,consts:[["panel",""],["role","listbox",1,"mat-mdc-autocomplete-panel","mdc-menu-surface","mdc-menu-surface--open",3,"id"]],template:function(i,r){i&1&&(Me(),w(0,Pie,3,16,"ng-template"))},styles:["div.mat-mdc-autocomplete-panel{width:100%;max-height:256px;visibility:hidden;transform-origin:center top;overflow:auto;padding:8px 0;box-sizing:border-box;position:static;border-radius:var(--mat-autocomplete-container-shape, var(--mat-app-corner-extra-small));box-shadow:var(--mat-autocomplete-container-elevation-shadow);background-color:var(--mat-autocomplete-background-color, var(--mat-app-surface-container))}.cdk-high-contrast-active div.mat-mdc-autocomplete-panel{outline:solid 1px}.cdk-overlay-pane:not(.mat-mdc-autocomplete-panel-above) div.mat-mdc-autocomplete-panel{border-top-left-radius:0;border-top-right-radius:0}.mat-mdc-autocomplete-panel-above div.mat-mdc-autocomplete-panel{border-bottom-left-radius:0;border-bottom-right-radius:0;transform-origin:center bottom}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-visible{visibility:visible}div.mat-mdc-autocomplete-panel.mat-mdc-autocomplete-hidden{visibility:hidden;pointer-events:none}mat-autocomplete{display:none}"],encapsulation:2,data:{animation:[Tie]},changeDetection:0})}}return t})();var zie={provide:Yi,useExisting:ct(()=>Rie),multi:!0};var GO=new L("mat-autocomplete-scroll-strategy",{providedIn:"root",factory:()=>{let t=z(vt);return()=>t.scrollStrategies.reposition()}});function Lie(t){return()=>t.scrollStrategies.reposition()}var Hie={provide:GO,deps:[vt],useFactory:Lie},Rie=(()=>{class t{constructor(e,i,r,a,o,s,l,h,v,y,D){this._element=e,this._overlay=i,this._viewContainerRef=r,this._zone=a,this._changeDetectorRef=o,this._dir=l,this._formField=h,this._document=v,this._viewportRuler=y,this._defaults=D,this._componentDestroyed=!1,this._manuallyFloatingLabel=!1,this._viewportSubscription=xe.EMPTY,this._breakpointObserver=z(Ql),this._handsetLandscapeSubscription=xe.EMPTY,this._canOpenOnNextFocus=!0,this._closeKeyEventStream=new U,this._windowBlurHandler=()=>{this._canOpenOnNextFocus=this._document.activeElement!==this._element.nativeElement||this.panelOpen},this._onChange=()=>{},this._onTouched=()=>{},this.position="auto",this.autocompleteAttribute="off",this._initialized=new U,this._injector=z(Le),this._aboveClass="mat-mdc-autocomplete-panel-above",this._overlayAttached=!1,this.optionSelections=Hn(()=>{let S=this.autocomplete?this.autocomplete.options:null;return S?S.changes.pipe(Qe(S),dt(()=>nt(...S.map(V=>V.onSelectionChange)))):this._initialized.pipe(dt(()=>this.optionSelections))}),this._handlePanelKeydown=S=>{(S.keyCode===27&&!xt(S)||S.keyCode===38&&xt(S,"altKey"))&&(this._pendingAutoselectedOption&&(this._updateNativeInputValue(this._valueBeforeAutoSelection??""),this._pendingAutoselectedOption=null),this._closeKeyEventStream.next(),this._resetActiveItem(),S.stopPropagation(),S.preventDefault())},this._trackedModal=null,this._scrollStrategy=s}ngAfterViewInit(){this._initialized.next(),this._initialized.complete();let e=this._getWindow();typeof e<"u"&&this._zone.runOutsideAngular(()=>e.addEventListener("blur",this._windowBlurHandler))}ngOnChanges(e){e.position&&this._positionStrategy&&(this._setStrategyPositions(this._positionStrategy),this.panelOpen&&this._overlayRef.updatePosition())}ngOnDestroy(){let e=this._getWindow();typeof e<"u"&&e.removeEventListener("blur",this._windowBlurHandler),this._handsetLandscapeSubscription.unsubscribe(),this._viewportSubscription.unsubscribe(),this._componentDestroyed=!0,this._destroyPanel(),this._closeKeyEventStream.complete(),this._clearFromModal()}get panelOpen(){return this._overlayAttached&&this.autocomplete.showPanel}openPanel(){this._openPanelInternal()}closePanel(){this._resetLabel(),this._overlayAttached&&(this.panelOpen&&this._zone.run(()=>{this.autocomplete.closed.emit()}),this.autocomplete._latestOpeningTrigger===this&&(this.autocomplete._isOpen=!1,this.autocomplete._latestOpeningTrigger=null),this._overlayAttached=!1,this._pendingAutoselectedOption=null,this._overlayRef&&this._overlayRef.hasAttached()&&(this._overlayRef.detach(),this._closingActionsSubscription.unsubscribe()),this._updatePanelState(),this._componentDestroyed||this._changeDetectorRef.detectChanges(),this._trackedModal&&ws(this._trackedModal,"aria-owns",this.autocomplete.id))}updatePosition(){this._overlayAttached&&this._overlayRef.updatePosition()}get panelClosingActions(){return nt(this.optionSelections,this.autocomplete._keyManager.tabOut.pipe(Ve(()=>this._overlayAttached)),this._closeKeyEventStream,this._getOutsideClickStream(),this._overlayRef?this._overlayRef.detachments().pipe(Ve(()=>this._overlayAttached)):ce()).pipe(me(e=>e instanceof pd?e:null))}get activeOption(){return this.autocomplete&&this.autocomplete._keyManager?this.autocomplete._keyManager.activeItem:null}_getOutsideClickStream(){return nt(Zi(this._document,"click"),Zi(this._document,"auxclick"),Zi(this._document,"touchend")).pipe(Ve(e=>{let i=ji(e),r=this._formField?this._formField.getConnectedOverlayOrigin().nativeElement:null,a=this.connectedTo?this.connectedTo.elementRef.nativeElement:null;return this._overlayAttached&&i!==this._element.nativeElement&&this._document.activeElement!==this._element.nativeElement&&(!r||!r.contains(i))&&(!a||!a.contains(i))&&!!this._overlayRef&&!this._overlayRef.overlayElement.contains(i)}))}writeValue(e){Promise.resolve(null).then(()=>this._assignOptionValue(e))}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this._element.nativeElement.disabled=e}_handleKeydown(e){let i=e.keyCode,r=xt(e);if(i===27&&!r&&e.preventDefault(),this._valueOnLastKeydown=this._element.nativeElement.value,this.activeOption&&i===13&&this.panelOpen&&!r)this.activeOption._selectViaInteraction(),this._resetActiveItem(),e.preventDefault();else if(this.autocomplete){let a=this.autocomplete._keyManager.activeItem,o=i===38||i===40;i===9||o&&!r&&this.panelOpen?this.autocomplete._keyManager.onKeydown(e):o&&this._canOpen()&&this._openPanelInternal(this._valueOnLastKeydown),(o||this.autocomplete._keyManager.activeItem!==a)&&(this._scrollToOption(this.autocomplete._keyManager.activeItemIndex||0),this.autocomplete.autoSelectActiveOption&&this.activeOption&&(this._pendingAutoselectedOption||(this._valueBeforeAutoSelection=this._valueOnLastKeydown),this._pendingAutoselectedOption=this.activeOption,this._assignOptionValue(this.activeOption.value)))}}_handleInput(e){let i=e.target,r=i.value;if(i.type==="number"&&(r=r==""?null:parseFloat(r)),this._previousValue!==r){if(this._previousValue=r,this._pendingAutoselectedOption=null,(!this.autocomplete||!this.autocomplete.requireSelection)&&this._onChange(r),!r)this._clearPreviousSelectedOption(null,!1);else if(this.panelOpen&&!this.autocomplete.requireSelection){let a=this.autocomplete.options?.find(o=>o.selected);if(a){let o=this._getDisplayValue(a.value);r!==o&&a.deselect(!1)}}if(this._canOpen()&&this._document.activeElement===e.target){let a=this._valueOnLastKeydown??this._element.nativeElement.value;this._valueOnLastKeydown=null,this._openPanelInternal(a)}}}_handleFocus(){this._canOpenOnNextFocus?this._canOpen()&&(this._previousValue=this._element.nativeElement.value,this._attachOverlay(this._previousValue),this._floatLabel(!0)):this._canOpenOnNextFocus=!0}_handleClick(){this._canOpen()&&!this.panelOpen&&this._openPanelInternal()}_floatLabel(e=!1){this._formField&&this._formField.floatLabel==="auto"&&(e?this._formField._animateAndLockLabel():this._formField.floatLabel="always",this._manuallyFloatingLabel=!0)}_resetLabel(){this._manuallyFloatingLabel&&(this._formField&&(this._formField.floatLabel="auto"),this._manuallyFloatingLabel=!1)}_subscribeToClosingActions(){let e=new je(r=>{Ft(()=>{r.next()},{injector:this._injector})}),i=this.autocomplete.options.changes.pipe(yt(()=>this._positionStrategy.reapplyLastPosition()),Jo(0));return nt(e,i).pipe(dt(()=>this._zone.run(()=>{let r=this.panelOpen;return this._resetActiveItem(),this._updatePanelState(),this._changeDetectorRef.detectChanges(),this.panelOpen&&this._overlayRef.updatePosition(),r!==this.panelOpen&&(this.panelOpen?this._emitOpened():this.autocomplete.closed.emit()),this.panelClosingActions})),Ue(1)).subscribe(r=>this._setValueAndClose(r))}_emitOpened(){this.autocomplete.opened.emit()}_destroyPanel(){this._overlayRef&&(this.closePanel(),this._overlayRef.dispose(),this._overlayRef=null)}_getDisplayValue(e){let i=this.autocomplete;return i&&i.displayWith?i.displayWith(e):e}_assignOptionValue(e){let i=this._getDisplayValue(e);e==null&&this._clearPreviousSelectedOption(null,!1),this._updateNativeInputValue(i??"")}_updateNativeInputValue(e){this._formField?this._formField._control.value=e:this._element.nativeElement.value=e,this._previousValue=e}_setValueAndClose(e){let i=this.autocomplete,r=e?e.source:this._pendingAutoselectedOption;r?(this._clearPreviousSelectedOption(r),this._assignOptionValue(r.value),this._onChange(r.value),i._emitSelectEvent(r),this._element.nativeElement.focus()):i.requireSelection&&this._element.nativeElement.value!==this._valueOnAttach&&(this._clearPreviousSelectedOption(null),this._assignOptionValue(null),i._animationDone?i._animationDone.pipe(Ue(1)).subscribe(()=>this._onChange(null)):this._onChange(null)),this.closePanel()}_clearPreviousSelectedOption(e,i){this.autocomplete?.options?.forEach(r=>{r!==e&&r.selected&&r.deselect(i)})}_openPanelInternal(e=this._element.nativeElement.value){if(this._attachOverlay(e),this._floatLabel(),this._trackedModal){let i=this.autocomplete.id;e2(this._trackedModal,"aria-owns",i)}}_attachOverlay(e){this.autocomplete;let i=this._overlayRef;i?(this._positionStrategy.setOrigin(this._getConnectedElement()),i.updateSize({width:this._getPanelWidth()})):(this._portal=new zi(this.autocomplete.template,this._viewContainerRef,{id:this._formField?.getLabelId()}),i=this._overlay.create(this._getOverlayConfig()),this._overlayRef=i,this._viewportSubscription=this._viewportRuler.change().subscribe(()=>{this.panelOpen&&i&&i.updateSize({width:this._getPanelWidth()})}),this._handsetLandscapeSubscription=this._breakpointObserver.observe(Zu.HandsetLandscape).subscribe(a=>{a.matches?this._positionStrategy.withFlexibleDimensions(!0).withGrowAfterOpen(!0).withViewportMargin(8):this._positionStrategy.withFlexibleDimensions(!1).withGrowAfterOpen(!1).withViewportMargin(0)})),i&&!i.hasAttached()&&(i.attach(this._portal),this._valueOnAttach=e,this._valueOnLastKeydown=null,this._closingActionsSubscription=this._subscribeToClosingActions());let r=this.panelOpen;this.autocomplete._isOpen=this._overlayAttached=!0,this.autocomplete._latestOpeningTrigger=this,this.autocomplete._setColor(this._formField?.color),this._updatePanelState(),this._applyModalPanelOwnership(),this.panelOpen&&r!==this.panelOpen&&this._emitOpened()}_updatePanelState(){if(this.autocomplete._setVisibility(),this.panelOpen){let e=this._overlayRef;this._keydownSubscription||(this._keydownSubscription=e.keydownEvents().subscribe(this._handlePanelKeydown)),this._outsideClickSubscription||(this._outsideClickSubscription=e.outsidePointerEvents().subscribe())}else this._keydownSubscription?.unsubscribe(),this._outsideClickSubscription?.unsubscribe(),this._keydownSubscription=this._outsideClickSubscription=null}_getOverlayConfig(){return new mr({positionStrategy:this._getOverlayPosition(),scrollStrategy:this._scrollStrategy(),width:this._getPanelWidth(),direction:this._dir??void 0,panelClass:this._defaults?.overlayPanelClass})}_getOverlayPosition(){let e=this._overlay.position().flexibleConnectedTo(this._getConnectedElement()).withFlexibleDimensions(!1).withPush(!1);return this._setStrategyPositions(e),this._positionStrategy=e,e}_setStrategyPositions(e){let i=[{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top"},{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top"}],r=this._aboveClass,a=[{originX:"start",originY:"top",overlayX:"start",overlayY:"bottom",panelClass:r},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",panelClass:r}],o;this.position==="above"?o=a:this.position==="below"?o=i:o=[...i,...a],e.withPositions(o)}_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(){let e=this.autocomplete;if(e.autoActiveFirstOption){let i=-1;for(let r=0;r .cdk-overlay-container [aria-modal="true"]');if(!e)return;let i=this.autocomplete.id;this._trackedModal&&ws(this._trackedModal,"aria-owns",i),e2(e,"aria-owns",i),this._trackedModal=e}_clearFromModal(){if(this._trackedModal){let e=this.autocomplete.id;ws(this._trackedModal,"aria-owns",e),this._trackedModal=null}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(vt),m(Xe),m(oe),m(pe),m(GO),m(Je,8),m(To,9),m(Ce,8),m(Ui),m($O,8))}}static{this.\u0275dir=T({type:t,selectors:[["input","matAutocomplete",""],["textarea","matAutocomplete",""]],hostAttrs:[1,"mat-mdc-autocomplete-trigger"],hostVars:7,hostBindings:function(i,r){i&1&&H("focusin",function(){return r._handleFocus()})("blur",function(){return r._onTouched()})("input",function(o){return r._handleInput(o)})("keydown",function(o){return r._handleKeydown(o)})("click",function(){return r._handleClick()}),i&2&&ie("autocomplete",r.autocompleteAttribute)("role",r.autocompleteDisabled?null:"combobox")("aria-autocomplete",r.autocompleteDisabled?null:"list")("aria-activedescendant",r.panelOpen&&r.activeOption?r.activeOption.id:null)("aria-expanded",r.autocompleteDisabled?null:r.panelOpen.toString())("aria-controls",r.autocompleteDisabled||!r.panelOpen||r.autocomplete==null?null:r.autocomplete.id)("aria-haspopup",r.autocompleteDisabled?null:"listbox")},inputs:{autocomplete:[0,"matAutocomplete","autocomplete"],position:[0,"matAutocompletePosition","position"],connectedTo:[0,"matAutocompleteConnectedTo","connectedTo"],autocompleteAttribute:[0,"autocomplete","autocompleteAttribute"],autocompleteDisabled:[2,"matAutocompleteDisabled","autocompleteDisabled",q]},exportAs:["matAutocompleteTrigger"],standalone:!0,features:[he([zie]),ye,Te]})}}return t})(),WO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Hie],imports:[Pn,i2,fe,Tt,_n,i2,fe]})}}return t})();var Nie=["button"],Fie=["*"];function jie(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",3),t&2){let e=M();C("disabled",e.disabled)}}function Bie(t,n){if(t&1&&R(0,"mat-pseudo-checkbox",3),t&2){let e=M();C("disabled",e.disabled)}}var qO=new L("MAT_BUTTON_TOGGLE_DEFAULT_OPTIONS",{providedIn:"root",factory:Uie});function Uie(){return{hideSingleSelectionIndicator:!1,hideMultipleSelectionIndicator:!1,disabledInteractive:!1}}var YO=new L("MatButtonToggleGroup"),$ie={provide:Yi,useExisting:ct(()=>Gie),multi:!0},QO=0,mm=class{constructor(n,e){this.source=n,this.value=e}},Gie=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._markButtonsForCheck()}get value(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e.map(i=>i.value):e[0]?e[0].value:void 0}set value(e){this._setSelectionByValue(e),this.valueChange.emit(this.value)}get selected(){let e=this._selectionModel?this._selectionModel.selected:[];return this.multiple?e:e[0]||null}get multiple(){return this._multiple}set multiple(e){this._multiple=e,this._markButtonsForCheck()}get disabled(){return this._disabled}set disabled(e){this._disabled=e,this._markButtonsForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markButtonsForCheck()}get dir(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}get hideSingleSelectionIndicator(){return this._hideSingleSelectionIndicator}set hideSingleSelectionIndicator(e){this._hideSingleSelectionIndicator=e,this._markButtonsForCheck()}get hideMultipleSelectionIndicator(){return this._hideMultipleSelectionIndicator}set hideMultipleSelectionIndicator(e){this._hideMultipleSelectionIndicator=e,this._markButtonsForCheck()}constructor(e,i,r){this._changeDetector=e,this._dir=r,this._multiple=!1,this._disabled=!1,this._disabledInteractive=!1,this._controlValueAccessorChangeFn=()=>{},this._onTouched=()=>{},this._name=`mat-button-toggle-group-${QO++}`,this.valueChange=new B,this.change=new B,this.appearance=i&&i.appearance?i.appearance:"standard",this.hideSingleSelectionIndicator=i?.hideSingleSelectionIndicator??!1,this.hideMultipleSelectionIndicator=i?.hideMultipleSelectionIndicator??!1}ngOnInit(){this._selectionModel=new ur(this.multiple,void 0,!1)}ngAfterContentInit(){this._selectionModel.select(...this._buttonToggles.filter(e=>e.checked)),this.multiple||this._initializeTabIndex()}writeValue(e){this.value=e,this._changeDetector.markForCheck()}registerOnChange(e){this._controlValueAccessorChangeFn=e}registerOnTouched(e){this._onTouched=e}setDisabledState(e){this.disabled=e}_keydown(e){if(this.multiple||this.disabled)return;let r=e.target.id,a=this._buttonToggles.toArray().findIndex(s=>s.buttonId===r),o=null;switch(e.keyCode){case 32:case 13:o=this._buttonToggles.get(a)||null;break;case 38:o=this._getNextButton(a,-1);break;case 37:o=this._getNextButton(a,this.dir==="ltr"?-1:1);break;case 40:o=this._getNextButton(a,1);break;case 39:o=this._getNextButton(a,this.dir==="ltr"?1:-1);break;default:return}o&&(e.preventDefault(),o._onButtonClick(),o.focus())}_emitChangeEvent(e){let i=new mm(e,this.value);this._rawValue=i.value,this._controlValueAccessorChangeFn(i.value),this.change.emit(i)}_syncButtonToggle(e,i,r=!1,a=!1){!this.multiple&&this.selected&&!e.checked&&(this.selected.checked=!1),this._selectionModel?i?this._selectionModel.select(e):this._selectionModel.deselect(e):a=!0,a?Promise.resolve().then(()=>this._updateModelValue(e,r)):this._updateModelValue(e,r)}_isSelected(e){return this._selectionModel&&this._selectionModel.isSelected(e)}_isPrechecked(e){return typeof this._rawValue>"u"?!1:this.multiple&&Array.isArray(this._rawValue)?this._rawValue.some(i=>e.value!=null&&i===e.value):e.value===this._rawValue}_initializeTabIndex(){if(this._buttonToggles.forEach(e=>{e.tabIndex=-1}),this.selected)this.selected.tabIndex=0;else for(let e=0;ethis._selectValue(i))):(this._clearSelection(),this._selectValue(e)))}_clearSelection(){this._selectionModel.clear(),this._buttonToggles.forEach(e=>{e.checked=!1,this.multiple||(e.tabIndex=-1)})}_selectValue(e){let i=this._buttonToggles.find(r=>r.value!=null&&r.value===e);i&&(i.checked=!0,this._selectionModel.select(i),this.multiple||(i.tabIndex=0))}_updateModelValue(e,i){i&&this._emitChangeEvent(e),this.valueChange.emit(this.value)}_markButtonsForCheck(){this._buttonToggles?.forEach(e=>e._markForCheck())}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(qO,8),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["mat-button-toggle-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,KO,5),i&2){let o;G(o=W())&&(r._buttonToggles=o)}},hostAttrs:[1,"mat-button-toggle-group"],hostVars:6,hostBindings:function(i,r){i&1&&H("keydown",function(o){return r._keydown(o)}),i&2&&(ie("role",r.multiple?"group":"radiogroup")("aria-disabled",r.disabled),re("mat-button-toggle-vertical",r.vertical)("mat-button-toggle-group-appearance-standard",r.appearance==="standard"))},inputs:{appearance:"appearance",name:"name",vertical:[2,"vertical","vertical",q],value:"value",multiple:[2,"multiple","multiple",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q],hideSingleSelectionIndicator:[2,"hideSingleSelectionIndicator","hideSingleSelectionIndicator",q],hideMultipleSelectionIndicator:[2,"hideMultipleSelectionIndicator","hideMultipleSelectionIndicator",q]},outputs:{valueChange:"valueChange",change:"change"},exportAs:["matButtonToggleGroup"],standalone:!0,features:[he([$ie,{provide:YO,useExisting:t}]),ye]})}}return t})(),KO=(()=>{class t{get buttonId(){return`${this.id}-button`}get tabIndex(){return this._tabIndex}set tabIndex(e){this._tabIndex=e,this._markForCheck()}get appearance(){return this.buttonToggleGroup?this.buttonToggleGroup.appearance:this._appearance}set appearance(e){this._appearance=e}get checked(){return this.buttonToggleGroup?this.buttonToggleGroup._isSelected(this):this._checked}set checked(e){e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&this.buttonToggleGroup._syncButtonToggle(this,this._checked),this._changeDetectorRef.markForCheck())}get disabled(){return this._disabled||this.buttonToggleGroup&&this.buttonToggleGroup.disabled}set disabled(e){this._disabled=e}get disabledInteractive(){return this._disabledInteractive||this.buttonToggleGroup!==null&&this.buttonToggleGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}constructor(e,i,r,a,o,s){this._changeDetectorRef=i,this._elementRef=r,this._focusMonitor=a,this._checked=!1,this.ariaLabelledby=null,this._disabled=!1,this.change=new B;let l=Number(o);this.tabIndex=l||l===0?l:null,this.buttonToggleGroup=e,this.appearance=s&&s.appearance?s.appearance:"standard",this.disabledInteractive=s?.disabledInteractive??!1}ngOnInit(){let e=this.buttonToggleGroup;this.id=this.id||`mat-button-toggle-${QO++}`,e&&(e._isPrechecked(this)?this.checked=!0:e._isSelected(this)!==this._checked&&e._syncButtonToggle(this,this._checked))}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){let e=this.buttonToggleGroup;this._focusMonitor.stopMonitoring(this._elementRef),e&&e._isSelected(this)&&e._syncButtonToggle(this,!1,!1,!0)}focus(e){this._buttonElement.nativeElement.focus(e)}_onButtonClick(){if(this.disabled)return;let e=this.isSingleSelector()?!0:!this._checked;if(e!==this._checked&&(this._checked=e,this.buttonToggleGroup&&(this.buttonToggleGroup._syncButtonToggle(this,this._checked,!0),this.buttonToggleGroup._onTouched())),this.isSingleSelector()){let i=this.buttonToggleGroup._buttonToggles.find(r=>r.tabIndex===0);i&&(i.tabIndex=-1),this.tabIndex=0}this.change.emit(new mm(this,this.value))}_markForCheck(){this._changeDetectorRef.markForCheck()}_getButtonName(){return this.isSingleSelector()?this.buttonToggleGroup.name:this.name||null}isSingleSelector(){return this.buttonToggleGroup&&!this.buttonToggleGroup.multiple}static{this.\u0275fac=function(i){return new(i||t)(m(YO,8),m(pe),m($),m(Qt),Gt("tabindex"),m(qO,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-button-toggle"]],viewQuery:function(i,r){if(i&1&&ue(Nie,5),i&2){let a;G(a=W())&&(r._buttonElement=a.first)}},hostAttrs:["role","presentation",1,"mat-button-toggle"],hostVars:14,hostBindings:function(i,r){i&1&&H("focus",function(){return r.focus()}),i&2&&(ie("aria-label",null)("aria-labelledby",null)("id",r.id)("name",null),re("mat-button-toggle-standalone",!r.buttonToggleGroup)("mat-button-toggle-checked",r.checked)("mat-button-toggle-disabled",r.disabled)("mat-button-toggle-disabled-interactive",r.disabledInteractive)("mat-button-toggle-appearance-standard",r.appearance==="standard"))},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],id:"id",name:"name",value:"value",tabIndex:"tabIndex",disableRipple:[2,"disableRipple","disableRipple",q],appearance:"appearance",checked:[2,"checked","checked",q],disabled:[2,"disabled","disabled",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matButtonToggle"],standalone:!0,features:[ye,ae],ngContentSelectors:Fie,decls:8,vars:14,consts:[["button",""],["type","button",1,"mat-button-toggle-button","mat-focus-indicator",3,"click","id","disabled"],[1,"mat-button-toggle-label-content"],["state","checked","aria-hidden","true","appearance","minimal",1,"mat-mdc-option-pseudo-checkbox",3,"disabled"],[1,"mat-button-toggle-focus-overlay"],["matRipple","",1,"mat-button-toggle-ripple",3,"matRippleTrigger","matRippleDisabled"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"button",1,0),H("click",function(){return F(a),j(r._onButtonClick())}),p(2,"span",2),w(3,jie,1,1,"mat-pseudo-checkbox",3)(4,Bie,1,1,"mat-pseudo-checkbox",3),se(5),f()(),R(6,"span",4)(7,"span",5)}if(i&2){let a=Ct(1);C("id",r.buttonId)("disabled",r.disabled&&!r.disabledInteractive||null),ie("role",r.isSingleSelector()?"radio":"button")("tabindex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("aria-pressed",r.isSingleSelector()?null:r.checked)("aria-checked",r.isSingleSelector()?r.checked:null)("name",r._getButtonName())("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(3),Se(r.buttonToggleGroup&&r.checked&&!r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideSingleSelectionIndicator?3:-1),g(),Se(r.buttonToggleGroup&&r.checked&&r.buttonToggleGroup.multiple&&!r.buttonToggleGroup.hideMultipleSelectionIndicator?4:-1),g(3),C("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)}},dependencies:[Ai,V5],styles:[".mat-button-toggle-standalone,.mat-button-toggle-group{position:relative;display:inline-flex;flex-direction:row;white-space:nowrap;overflow:hidden;-webkit-tap-highlight-color:rgba(0,0,0,0);transform:translateZ(0);border-radius:var(--mat-legacy-button-toggle-shape)}.mat-button-toggle-standalone:not([class*=mat-elevation-z]),.mat-button-toggle-group:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.cdk-high-contrast-active .mat-button-toggle-standalone,.cdk-high-contrast-active .mat-button-toggle-group{outline:solid 1px}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.mat-button-toggle-group-appearance-standard{border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard .mat-pseudo-checkbox,.mat-button-toggle-group-appearance-standard .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container))}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard:not([class*=mat-elevation-z]),.mat-button-toggle-group-appearance-standard:not([class*=mat-elevation-z]){box-shadow:none}.cdk-high-contrast-active .mat-button-toggle-standalone.mat-button-toggle-appearance-standard,.cdk-high-contrast-active .mat-button-toggle-group-appearance-standard{outline:0}.mat-button-toggle-vertical{flex-direction:column}.mat-button-toggle-vertical .mat-button-toggle-label-content{display:block}.mat-button-toggle{white-space:nowrap;position:relative;color:var(--mat-legacy-button-toggle-text-color);font-family:var(--mat-legacy-button-toggle-label-text-font);font-size:var(--mat-legacy-button-toggle-label-text-size);line-height:var(--mat-legacy-button-toggle-label-text-line-height);font-weight:var(--mat-legacy-button-toggle-label-text-weight);letter-spacing:var(--mat-legacy-button-toggle-label-text-tracking);--mat-minimal-pseudo-checkbox-selected-checkmark-color: var(--mat-legacy-button-toggle-selected-state-text-color)}.mat-button-toggle.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-legacy-button-toggle-focus-state-layer-opacity)}.mat-button-toggle .mat-icon svg{vertical-align:top}.mat-button-toggle .mat-pseudo-checkbox{margin-right:12px}[dir=rtl] .mat-button-toggle .mat-pseudo-checkbox{margin-right:0;margin-left:12px}.mat-button-toggle-checked{color:var(--mat-legacy-button-toggle-selected-state-text-color);background-color:var(--mat-legacy-button-toggle-selected-state-background-color)}.mat-button-toggle-disabled{pointer-events:none;color:var(--mat-legacy-button-toggle-disabled-state-text-color);background-color:var(--mat-legacy-button-toggle-disabled-state-background-color);--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-legacy-button-toggle-disabled-state-text-color)}.mat-button-toggle-disabled.mat-button-toggle-checked{background-color:var(--mat-legacy-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-disabled-interactive{pointer-events:auto}.mat-button-toggle-appearance-standard{color:var(--mat-standard-button-toggle-text-color, var(--mat-app-on-surface));background-color:var(--mat-standard-button-toggle-background-color);font-family:var(--mat-standard-button-toggle-label-text-font, var(--mat-app-label-large-font));font-size:var(--mat-standard-button-toggle-label-text-size, var(--mat-app-label-large-size));line-height:var(--mat-standard-button-toggle-label-text-line-height, var(--mat-app-label-large-line-height));font-weight:var(--mat-standard-button-toggle-label-text-weight, var(--mat-app-label-large-weight));letter-spacing:var(--mat-standard-button-toggle-label-text-tracking, var(--mat-app-label-large-tracking))}.mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}[dir=rtl] .mat-button-toggle-group-appearance-standard .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-group-appearance-standard.mat-button-toggle-vertical .mat-button-toggle-appearance-standard+.mat-button-toggle-appearance-standard{border-left:none;border-right:none;border-top:solid 1px var(--mat-standard-button-toggle-divider-color, var(--mat-app-outline))}.mat-button-toggle-appearance-standard.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-selected-state-text-color, var(--mat-app-on-secondary-container));background-color:var(--mat-standard-button-toggle-selected-state-background-color, var(--mat-app-secondary-container))}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled{color:var(--mat-standard-button-toggle-disabled-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-state-background-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled .mat-pseudo-checkbox{--mat-minimal-pseudo-checkbox-disabled-selected-checkmark-color: var(--mat-standard-button-toggle-disabled-selected-state-text-color)}.mat-button-toggle-appearance-standard.mat-button-toggle-disabled.mat-button-toggle-checked{color:var(--mat-standard-button-toggle-disabled-selected-state-text-color);background-color:var(--mat-standard-button-toggle-disabled-selected-state-background-color)}.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{background-color:var(--mat-standard-button-toggle-state-layer-color, var(--mat-app-on-surface))}.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mat-button-toggle-appearance-standard.cdk-keyboard-focused .mat-button-toggle-focus-overlay{opacity:var(--mat-standard-button-toggle-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}@media(hover: none){.mat-button-toggle-appearance-standard:hover .mat-button-toggle-focus-overlay{display:none}}.mat-button-toggle-label-content{-webkit-user-select:none;user-select:none;display:inline-block;padding:0 16px;line-height:var(--mat-legacy-button-toggle-height);position:relative}.mat-button-toggle-appearance-standard .mat-button-toggle-label-content{padding:0 12px;line-height:var(--mat-standard-button-toggle-height)}.mat-button-toggle-label-content>*{vertical-align:middle}.mat-button-toggle-focus-overlay{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:inherit;pointer-events:none;opacity:0;background-color:var(--mat-legacy-button-toggle-state-layer-color)}.cdk-high-contrast-active .mat-button-toggle-checked .mat-button-toggle-focus-overlay{border-bottom:solid 500px;opacity:.5;height:0}.cdk-high-contrast-active .mat-button-toggle-checked:hover .mat-button-toggle-focus-overlay{opacity:.6}.cdk-high-contrast-active .mat-button-toggle-checked.mat-button-toggle-appearance-standard .mat-button-toggle-focus-overlay{border-bottom:solid 500px}.mat-button-toggle .mat-button-toggle-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-button-toggle-button{border:0;background:none;color:inherit;padding:0;margin:0;font:inherit;outline:none;width:100%;cursor:pointer}.mat-button-toggle-disabled .mat-button-toggle-button{cursor:default}.mat-button-toggle-button::-moz-focus-inner{border:0}.mat-button-toggle-standalone.mat-button-toggle-appearance-standard{--mat-focus-indicator-border-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:last-of-type .mat-button-toggle-button::before{border-top-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-right-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}.mat-button-toggle-group-appearance-standard .mat-button-toggle:first-of-type .mat-button-toggle-button::before{border-top-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full));border-bottom-left-radius:var(--mat-standard-button-toggle-shape, var(--mat-app-corner-full))}"],encapsulation:2,changeDetection:0})}}return t})(),ZO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,gn,KO,fe]})}}return t})();var Wie=["*"],qie=[[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],[["","mat-card-image",""],["","matCardImage",""],["","mat-card-sm-image",""],["","matCardImageSmall",""],["","mat-card-md-image",""],["","matCardImageMedium",""],["","mat-card-lg-image",""],["","matCardImageLarge",""],["","mat-card-xl-image",""],["","matCardImageXLarge",""]],"*"],Yie=[`mat-card-title, mat-card-subtitle,
- [mat-card-title], [mat-card-subtitle],
- [matCardTitle], [matCardSubtitle]`,`[mat-card-image], [matCardImage],
- [mat-card-sm-image], [matCardImageSmall],
- [mat-card-md-image], [matCardImageMedium],
- [mat-card-lg-image], [matCardImageLarge],
- [mat-card-xl-image], [matCardImageXLarge]`,"*"],Qie=[[["","mat-card-avatar",""],["","matCardAvatar",""]],[["mat-card-title"],["mat-card-subtitle"],["","mat-card-title",""],["","mat-card-subtitle",""],["","matCardTitle",""],["","matCardSubtitle",""]],"*"],Kie=["[mat-card-avatar], [matCardAvatar]",`mat-card-title, mat-card-subtitle,
- [mat-card-title], [mat-card-subtitle],
- [matCardTitle], [matCardSubtitle]`,"*"],Zie=new L("MAT_CARD_CONFIG"),XO=(()=>{class t{constructor(e){this.appearance=e?.appearance||"raised"}static{this.\u0275fac=function(i){return new(i||t)(m(Zie,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card"]],hostAttrs:[1,"mat-mdc-card","mdc-card"],hostVars:4,hostBindings:function(i,r){i&2&&re("mat-mdc-card-outlined",r.appearance==="outlined")("mdc-card--outlined",r.appearance==="outlined")},inputs:{appearance:"appearance"},exportAs:["matCard"],standalone:!0,features:[ae],ngContentSelectors:Wie,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:['.mat-mdc-card{display:flex;flex-direction:column;box-sizing:border-box;position:relative;border-style:solid;border-width:0;background-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low));border-color:var(--mdc-elevated-card-container-color, var(--mat-app-surface-container-low));border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium));box-shadow:var(--mdc-elevated-card-container-elevation, var(--mat-app-level1))}.mat-mdc-card::after{position:absolute;top:0;left:0;width:100%;height:100%;border:solid 1px rgba(0,0,0,0);content:"";display:block;pointer-events:none;box-sizing:border-box;border-radius:var(--mdc-elevated-card-container-shape, var(--mat-app-corner-medium))}.mat-mdc-card-outlined{background-color:var(--mdc-outlined-card-container-color, var(--mat-app-surface));border-radius:var(--mdc-outlined-card-container-shape, var(--mat-app-corner-medium));border-width:var(--mdc-outlined-card-outline-width);border-color:var(--mdc-outlined-card-outline-color, var(--mat-app-outline-variant));box-shadow:var(--mdc-outlined-card-container-elevation, var(--mat-app-level0))}.mat-mdc-card-outlined::after{border:none}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media::before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mat-mdc-card-actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mat-mdc-card-title{font-family:var(--mat-card-title-text-font, var(--mat-app-title-large-font));line-height:var(--mat-card-title-text-line-height, var(--mat-app-title-large-line-height));font-size:var(--mat-card-title-text-size, var(--mat-app-title-large-size));letter-spacing:var(--mat-card-title-text-tracking, var(--mat-app-title-large-tracking));font-weight:var(--mat-card-title-text-weight, var(--mat-app-title-large-weight))}.mat-mdc-card-subtitle{color:var(--mat-card-subtitle-text-color, var(--mat-app-on-surface));font-family:var(--mat-card-subtitle-text-font, var(--mat-app-title-medium-font));line-height:var(--mat-card-subtitle-text-line-height, var(--mat-app-title-medium-line-height));font-size:var(--mat-card-subtitle-text-size, var(--mat-app-title-medium-size));letter-spacing:var(--mat-card-subtitle-text-tracking, var(--mat-app-title-medium-tracking));font-weight:var(--mat-card-subtitle-text-weight, var(--mat-app-title-medium-weight))}.mat-mdc-card-title,.mat-mdc-card-subtitle{display:block;margin:0}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle{padding:16px 16px 0}.mat-mdc-card-header{display:flex;padding:16px 16px 0}.mat-mdc-card-content{display:block;padding:0 16px}.mat-mdc-card-content:first-child{padding-top:16px}.mat-mdc-card-content:last-child{padding-bottom:16px}.mat-mdc-card-title-group{display:flex;justify-content:space-between;width:100%}.mat-mdc-card-avatar{height:40px;width:40px;border-radius:50%;flex-shrink:0;margin-bottom:16px;object-fit:cover}.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-avatar~.mat-mdc-card-header-text .mat-mdc-card-title{line-height:normal}.mat-mdc-card-sm-image{width:80px;height:80px}.mat-mdc-card-md-image{width:112px;height:112px}.mat-mdc-card-lg-image{width:152px;height:152px}.mat-mdc-card-xl-image{width:240px;height:240px}.mat-mdc-card-subtitle~.mat-mdc-card-title,.mat-mdc-card-title~.mat-mdc-card-subtitle,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-title,.mat-mdc-card-header .mat-mdc-card-header-text .mat-mdc-card-subtitle,.mat-mdc-card-title-group .mat-mdc-card-title,.mat-mdc-card-title-group .mat-mdc-card-subtitle{padding-top:0}.mat-mdc-card-content>:last-child:not(.mat-mdc-card-footer){margin-bottom:0}.mat-mdc-card-actions-align-end{justify-content:flex-end}'],encapsulation:2,changeDetection:0})}}return t})(),ZCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-title"],["","mat-card-title",""],["","matCardTitle",""]],hostAttrs:[1,"mat-mdc-card-title"],standalone:!0})}}return t})(),XCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card-title-group"]],hostAttrs:[1,"mat-mdc-card-title-group"],standalone:!0,features:[ae],ngContentSelectors:Yie,decls:4,vars:0,template:function(i,r){i&1&&(Me(qie),p(0,"div"),se(1),f(),se(2,1),se(3,2))},encapsulation:2,changeDetection:0})}}return t})(),JO=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-content"]],hostAttrs:[1,"mat-mdc-card-content"],standalone:!0})}}return t})(),JCe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-subtitle"],["","mat-card-subtitle",""],["","matCardSubtitle",""]],hostAttrs:[1,"mat-mdc-card-subtitle"],standalone:!0})}}return t})(),exe=(()=>{class t{constructor(){this.align="start"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-card-actions"]],hostAttrs:[1,"mat-mdc-card-actions","mdc-card__actions"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-mdc-card-actions-align-end",r.align==="end")},inputs:{align:"align"},exportAs:["matCardActions"],standalone:!0})}}return t})(),txe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-card-header"]],hostAttrs:[1,"mat-mdc-card-header"],standalone:!0,features:[ae],ngContentSelectors:Kie,decls:4,vars:0,consts:[[1,"mat-mdc-card-header-text"]],template:function(i,r){i&1&&(Me(Qie),se(0),p(1,"div",0),se(2,1),f(),se(3,2))},encapsulation:2,changeDetection:0})}}return t})();var ixe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-card-image",""],["","matCardImage",""]],hostAttrs:[1,"mat-mdc-card-image","mdc-card__media"],standalone:!0})}}return t})();var nxe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-card-md-image",""],["","matCardImageMedium",""]],hostAttrs:[1,"mat-mdc-card-md-image","mdc-card__media"],standalone:!0})}}return t})();var eP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Tt,fe]})}}return t})();var Jie=new L("mat-chips-default-options",{providedIn:"root",factory:()=>({separatorKeyCodes:[13]})});var tP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Gr,{provide:Jie,useValue:{separatorKeyCodes:[13]}}],imports:[fe,gn,fe]})}}return t})();var ene=0,e_=new L("CdkAccordion"),iP=(()=>{class t{constructor(){this._stateChanges=new U,this._openCloseAllActions=new U,this.id=`cdk-accordion-${ene++}`,this.multi=!1}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()}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["cdk-accordion"],["","cdkAccordion",""]],inputs:{multi:[2,"multi","multi",q]},exportAs:["cdkAccordion"],standalone:!0,features:[he([{provide:e_,useExisting:t}]),ye,Te]})}}return t})(),tne=0,nP=(()=>{class t{get expanded(){return this._expanded}set expanded(e){if(this._expanded!==e){if(this._expanded=e,this.expandedChange.emit(e),e){this.opened.emit();let i=this.accordion?this.accordion.id:this.id;this._expansionDispatcher.notify(this.id,i)}else this.closed.emit();this._changeDetectorRef.markForCheck()}}constructor(e,i,r){this.accordion=e,this._changeDetectorRef=i,this._expansionDispatcher=r,this._openCloseAllSubscription=xe.EMPTY,this.closed=new B,this.opened=new B,this.destroyed=new B,this.expandedChange=new B,this.id=`cdk-accordion-child-${tne++}`,this._expanded=!1,this.disabled=!1,this._removeUniqueSelectionListener=()=>{},this._removeUniqueSelectionListener=r.listen((a,o)=>{this.accordion&&!this.accordion.multi&&this.accordion.id===o&&this.id!==a&&(this.expanded=!1)}),this.accordion&&(this._openCloseAllSubscription=this._subscribeToOpenCloseAllActions())}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)})}static{this.\u0275fac=function(i){return new(i||t)(m(e_,12),m(pe),m(s2))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-accordion-item"],["","cdkAccordionItem",""]],inputs:{expanded:[2,"expanded","expanded",q],disabled:[2,"disabled","disabled",q]},outputs:{closed:"closed",opened:"opened",destroyed:"destroyed",expandedChange:"expandedChange"},exportAs:["cdkAccordionItem"],standalone:!0,features:[he([{provide:e_,useValue:void 0}]),ye]})}}return t})(),rP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();var ine=["body"],nne=[[["mat-expansion-panel-header"]],"*",[["mat-action-row"]]],rne=["mat-expansion-panel-header","*","mat-action-row"];function ane(t,n){}var one=[[["mat-panel-title"]],[["mat-panel-description"]],"*"],sne=["mat-panel-title","mat-panel-description","*"];function cne(t,n){if(t&1&&(p(0,"span",1),Jt(),p(1,"svg",2),R(2,"path",3),f()()),t&2){let e=M();C("@indicatorRotate",e._getExpandedState())}}var t_=new L("MAT_ACCORDION"),aP="225ms cubic-bezier(0.4,0.0,0.2,1)",sP={indicatorRotate:kt("indicatorRotate",[tt("collapsed, void",De({transform:"rotate(0deg)"})),tt("expanded",De({transform:"rotate(180deg)"})),Ze("expanded <=> collapsed, void => collapsed",et(aP))]),bodyExpansion:kt("bodyExpansion",[tt("collapsed, void",De({height:"0px",visibility:"hidden"})),tt("expanded",De({height:"*",visibility:""})),Ze("expanded <=> collapsed, void => collapsed",et(aP))])},cP=new L("MAT_EXPANSION_PANEL"),lne=(()=>{class t{constructor(e,i){this._template=e,this._expansionPanel=i}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(cP,8))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matExpansionPanelContent",""]],standalone:!0})}}return t})(),dne=0,lP=new L("MAT_EXPANSION_PANEL_DEFAULT_OPTIONS"),une=(()=>{class t extends nP{get hideToggle(){return this._hideToggle||this.accordion&&this.accordion.hideToggle}set hideToggle(e){this._hideToggle=e}get togglePosition(){return this._togglePosition||this.accordion&&this.accordion.togglePosition}set togglePosition(e){this._togglePosition=e}constructor(e,i,r,a,o,s,l){super(e,i,r),this._viewContainerRef=a,this._animationMode=s,this._hideToggle=!1,this.afterExpand=new B,this.afterCollapse=new B,this._inputChanges=new U,this._headerId=`mat-expansion-panel-header-${dne++}`,this.accordion=e,this._document=o,this._animationsDisabled=s==="NoopAnimations",l&&(this.hideToggle=l.hideToggle)}_hasSpacing(){return this.accordion?this.expanded&&this.accordion.displayMode==="default":!1}_getExpandedState(){return this.expanded?"expanded":"collapsed"}toggle(){this.expanded=!this.expanded}close(){this.expanded=!1}open(){this.expanded=!0}ngAfterContentInit(){this._lazyContent&&this._lazyContent._expansionPanel===this&&this.opened.pipe(Qe(null),Ve(()=>this.expanded&&!this._portal),Ue(1)).subscribe(()=>{this._portal=new zi(this._lazyContent._template,this._viewContainerRef)})}ngOnChanges(e){this._inputChanges.next(e)}ngOnDestroy(){super.ngOnDestroy(),this._inputChanges.complete()}_containsFocus(){if(this._body){let e=this._document.activeElement,i=this._body.nativeElement;return e===i||i.contains(e)}return!1}_animationStarted(e){!oP(e)&&!this._animationsDisabled&&this._body&&this._body?.nativeElement.setAttribute("inert","")}_animationDone(e){oP(e)||(e.toState==="expanded"?this.afterExpand.emit():e.toState==="collapsed"&&this.afterCollapse.emit(),!this._animationsDisabled&&this._body&&this._body.nativeElement.removeAttribute("inert"))}static{this.\u0275fac=function(i){return new(i||t)(m(t_,12),m(pe),m(s2),m(Xe),m(Ce),m(ot,8),m(lP,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-expansion-panel"]],contentQueries:function(i,r,a){if(i&1&&we(a,lne,5),i&2){let o;G(o=W())&&(r._lazyContent=o.first)}},viewQuery:function(i,r){if(i&1&&ue(ine,5),i&2){let a;G(a=W())&&(r._body=a.first)}},hostAttrs:[1,"mat-expansion-panel"],hostVars:6,hostBindings:function(i,r){i&2&&re("mat-expanded",r.expanded)("_mat-animation-noopable",r._animationsDisabled)("mat-expansion-panel-spacing",r._hasSpacing())},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],togglePosition:"togglePosition"},outputs:{afterExpand:"afterExpand",afterCollapse:"afterCollapse"},exportAs:["matExpansionPanel"],standalone:!0,features:[he([{provide:t_,useValue:void 0},{provide:cP,useExisting:t}]),ye,de,Te,ae],ngContentSelectors:rne,decls:7,vars:4,consts:[["body",""],["role","region",1,"mat-expansion-panel-content",3,"id"],[1,"mat-expansion-panel-body"],[3,"cdkPortalOutlet"]],template:function(i,r){if(i&1){let a=le();Me(nne),se(0),p(1,"div",1,0),H("@bodyExpansion.start",function(s){return F(a),j(r._animationStarted(s))})("@bodyExpansion.done",function(s){return F(a),j(r._animationDone(s))}),p(3,"div",2),se(4,1),w(5,ane,0,0,"ng-template",3),f(),se(6,2),f()}i&2&&(g(),C("@bodyExpansion",r._getExpandedState())("id",r.id),ie("aria-labelledby",r._headerId),g(4),C("cdkPortalOutlet",r._portal))},dependencies:[Qi],styles:['.mat-expansion-panel{box-sizing:content-box;display:block;margin:0;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;background:var(--mat-expansion-container-background-color, var(--mat-app-surface));color:var(--mat-expansion-container-text-color, var(--mat-app-on-surface));border-radius:var(--mat-expansion-container-shape)}.mat-expansion-panel:not([class*=mat-elevation-z]){box-shadow:0px 3px 1px -2px rgba(0, 0, 0, 0.2), 0px 2px 2px 0px rgba(0, 0, 0, 0.14), 0px 1px 5px 0px rgba(0, 0, 0, 0.12)}.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:var(--mat-expansion-container-shape);border-top-left-radius:var(--mat-expansion-container-shape)}.mat-accordion .mat-expansion-panel:last-of-type{border-bottom-right-radius:var(--mat-expansion-container-shape);border-bottom-left-radius:var(--mat-expansion-container-shape)}.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;font-family:var(--mat-expansion-container-text-font, var(--mat-app-body-large-font));font-size:var(--mat-expansion-container-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-expansion-container-text-weight, var(--mat-app-body-large-weight));line-height:var(--mat-expansion-container-text-line-height, var(--mat-app-body-large-line-height));letter-spacing:var(--mat-expansion-container-text-tracking, var(--mat-app-body-large-tracking))}.mat-expansion-panel-content[style*="visibility: hidden"] *{visibility:hidden !important}.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;border-top-color:var(--mat-expansion-actions-divider-color, var(--mat-app-outline))}.mat-action-row .mat-button-base,.mat-action-row .mat-mdc-button-base{margin-left:8px}[dir=rtl] .mat-action-row .mat-button-base,[dir=rtl] .mat-action-row .mat-mdc-button-base{margin-left:0;margin-right:8px}'],encapsulation:2,data:{animation:[sP.bodyExpansion]},changeDetection:0})}}return t})();function oP(t){return t.fromState==="void"}var hne=(()=>{class t{constructor(e,i,r,a,o,s,l){this.panel=e,this._element=i,this._focusMonitor=r,this._changeDetectorRef=a,this._animationMode=s,this._parentChangeSubscription=xe.EMPTY,this.tabIndex=0;let h=e.accordion?e.accordion._stateChanges.pipe(Ve(v=>!!(v.hideToggle||v.togglePosition))):ci;this.tabIndex=parseInt(l||"")||0,this._parentChangeSubscription=nt(e.opened,e.closed,h,e._inputChanges.pipe(Ve(v=>!!(v.hideToggle||v.disabled||v.togglePosition)))).subscribe(()=>this._changeDetectorRef.markForCheck()),e.closed.pipe(Ve(()=>e._containsFocus())).subscribe(()=>r.focusVia(i,"program")),o&&(this.expandedHeight=o.expandedHeight,this.collapsedHeight=o.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(){let e=this._isExpanded();return e&&this.expandedHeight?this.expandedHeight:!e&&this.collapsedHeight?this.collapsedHeight:null}_keydown(e){switch(e.keyCode){case 32:case 13:xt(e)||(e.preventDefault(),this._toggle());break;default:this.panel.accordion&&this.panel.accordion._handleHeaderKeydown(e);return}}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)}static{this.\u0275fac=function(i){return new(i||t)(m(une,1),m($),m(Qt),m(pe),m(lP,8),m(ot,8),Gt("tabindex"))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-expansion-panel-header"]],hostAttrs:["role","button",1,"mat-expansion-panel-header","mat-focus-indicator"],hostVars:15,hostBindings:function(i,r){i&1&&H("click",function(){return r._toggle()})("keydown",function(o){return r._keydown(o)}),i&2&&(ie("id",r.panel._headerId)("tabindex",r.disabled?-1:r.tabIndex)("aria-controls",r._getPanelId())("aria-expanded",r._isExpanded())("aria-disabled",r.panel.disabled),Pt("height",r._getHeaderHeight()),re("mat-expanded",r._isExpanded())("mat-expansion-toggle-indicator-after",r._getTogglePosition()==="after")("mat-expansion-toggle-indicator-before",r._getTogglePosition()==="before")("_mat-animation-noopable",r._animationMode==="NoopAnimations"))},inputs:{expandedHeight:"expandedHeight",collapsedHeight:"collapsedHeight",tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)]},standalone:!0,features:[ye,ae],ngContentSelectors:sne,decls:5,vars:3,consts:[[1,"mat-content"],[1,"mat-expansion-indicator"],["xmlns","http://www.w3.org/2000/svg","viewBox","0 -960 960 960","aria-hidden","true","focusable","false"],["d","M480-345 240-585l56-56 184 184 184-184 56 56-240 240Z"]],template:function(i,r){i&1&&(Me(one),p(0,"span",0),se(1),se(2,1),se(3,2),f(),w(4,cne,3,1,"span",1)),i&2&&(re("mat-content-hide-toggle",!r._showToggle()),g(4),Se(r._showToggle()?4:-1))},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);height:var(--mat-expansion-header-collapsed-state-height);font-family:var(--mat-expansion-header-text-font, var(--mat-app-title-medium-font));font-size:var(--mat-expansion-header-text-size, var(--mat-app-title-medium-size));font-weight:var(--mat-expansion-header-text-weight, var(--mat-app-title-medium-weight));line-height:var(--mat-expansion-header-text-line-height, var(--mat-app-title-medium-line-height));letter-spacing:var(--mat-expansion-header-text-tracking, var(--mat-app-title-medium-tracking))}.mat-expansion-panel-header.mat-expanded{height:var(--mat-expansion-header-expanded-state-height)}.mat-expansion-panel-header[aria-disabled=true]{color:var(--mat-expansion-header-disabled-state-text-color)}.mat-expansion-panel-header:not([aria-disabled=true]){cursor:pointer}.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-header-hover-state-layer-color)}@media(hover: none){.mat-expansion-panel:not(.mat-expanded) .mat-expansion-panel-header:not([aria-disabled=true]):hover{background:var(--mat-expansion-container-background-color, var(--mat-app-surface))}}.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-keyboard-focused,.mat-expansion-panel .mat-expansion-panel-header:not([aria-disabled=true]).cdk-program-focused{background:var(--mat-expansion-header-focus-state-layer-color)}.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.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-content.mat-content-hide-toggle{margin-right:8px}[dir=rtl] .mat-content.mat-content-hide-toggle{margin-right:0;margin-left:8px}.mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-left:24px;margin-right:0}[dir=rtl] .mat-expansion-toggle-indicator-before .mat-content.mat-content-hide-toggle{margin-right:24px;margin-left:0}.mat-expansion-panel-header-title{color:var(--mat-expansion-header-text-color, var(--mat-app-on-surface))}.mat-expansion-panel-header-title,.mat-expansion-panel-header-description{display:flex;flex-grow:1;flex-basis:0;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[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-description{flex-grow:2;color:var(--mat-expansion-header-description-color, var(--mat-app-on-surface-variant))}.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;color:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-legacy-header-indicator-display, inline-block)}.mat-expansion-indicator svg{width:24px;height:24px;margin:0 -8px;vertical-align:middle;fill:var(--mat-expansion-header-indicator-color, var(--mat-app-on-surface-variant));display:var(--mat-expansion-header-indicator-display, none)}.cdk-high-contrast-active .mat-expansion-panel-content{border-top:1px solid;border-top-left-radius:0;border-top-right-radius:0}'],encapsulation:2,data:{animation:[sP.indicatorRotate]},changeDetection:0})}}return t})(),iMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-panel-description"]],hostAttrs:[1,"mat-expansion-panel-header-description"],standalone:!0})}}return t})(),nMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-panel-title"]],hostAttrs:[1,"mat-expansion-panel-header-title"],standalone:!0})}}return t})(),rMe=(()=>{class t extends iP{constructor(){super(...arguments),this._ownHeaders=new Pi,this.hideToggle=!1,this.displayMode="default",this.togglePosition="after"}ngAfterContentInit(){this._headers.changes.pipe(Qe(this._headers)).subscribe(e=>{this._ownHeaders.reset(e.filter(i=>i.panel.accordion===this)),this._ownHeaders.notifyOnChanges()}),this._keyManager=new Ba(this._ownHeaders).withWrap().withHomeAndEnd()}_handleHeaderKeydown(e){this._keyManager.onKeydown(e)}_handleHeaderFocus(e){this._keyManager.updateActiveItem(e)}ngOnDestroy(){super.ngOnDestroy(),this._keyManager?.destroy(),this._ownHeaders.destroy()}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-accordion"]],contentQueries:function(i,r,a){if(i&1&&we(a,hne,5),i&2){let o;G(o=W())&&(r._headers=o)}},hostAttrs:[1,"mat-accordion"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-accordion-multi",r.multi)},inputs:{hideToggle:[2,"hideToggle","hideToggle",q],displayMode:"displayMode",togglePosition:"togglePosition"},exportAs:["matAccordion"],standalone:!0,features:[he([{provide:t_,useExisting:t}]),ye,de]})}}return t})(),dP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,rP,$n]})}}return t})();var uP=["*"],hP='.mdc-list{margin:0;padding:8px 0;list-style-type:none}.mdc-list:focus{outline:none}.mdc-list-item{display:flex;position:relative;justify-content:flex-start;overflow:hidden;padding:0;align-items:stretch;cursor:pointer;padding-left:16px;padding-right:16px;background-color:var(--mdc-list-list-item-container-color);border-radius:var(--mdc-list-list-item-container-shape, var(--mat-app-corner-none))}.mdc-list-item.mdc-list-item--selected{background-color:var(--mdc-list-list-item-selected-container-color)}.mdc-list-item:focus{outline:0}.mdc-list-item.mdc-list-item--disabled{cursor:auto}.mdc-list-item.mdc-list-item--with-one-line{height:var(--mdc-list-list-item-one-line-container-height)}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__start{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-one-line .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-two-lines{height:var(--mdc-list-list-item-two-line-container-height)}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-two-lines .mdc-list-item__end{align-self:center;margin-top:0}.mdc-list-item.mdc-list-item--with-three-lines{height:var(--mdc-list-list-item-three-line-container-height)}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__start{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:16px}.mdc-list-item.mdc-list-item--selected::before,.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item:not(.mdc-list-item--selected):focus::before{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid rgba(0,0,0,0);border-radius:inherit;content:"";pointer-events:none}.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected::before,.cdk-high-contrast-active .mdc-list-item.mdc-list-item--selected:focus::before,.cdk-high-contrast-active .mdc-list-item:not(.mdc-list-item--selected):focus::before{border-color:CanvasText}.mdc-list-item.mdc-list-item--selected:focus::before,.mdc-list-item.mdc-list-item--selected::before{border-width:3px;border-style:double}a.mdc-list-item{color:inherit;text-decoration:none}.mdc-list-item__start{fill:currentColor;flex-shrink:0;pointer-events:none}.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-leading-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-leading-icon-size);height:var(--mdc-list-list-item-leading-icon-size);margin-left:16px;margin-right:32px}[dir=rtl] .mdc-list-item--with-leading-icon .mdc-list-item__start{margin-left:32px;margin-right:16px}.mdc-list-item--with-leading-icon:hover .mdc-list-item__start{color:var(--mdc-list-list-item-hover-leading-icon-color)}.mdc-list-item--with-leading-avatar .mdc-list-item__start{width:var(--mdc-list-list-item-leading-avatar-size);height:var(--mdc-list-list-item-leading-avatar-size);margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item--with-leading-avatar .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-avatar .mdc-list-item__start{margin-left:16px;margin-right:16px;border-radius:50%}.mdc-list-item__end{flex-shrink:0;pointer-events:none}.mdc-list-item--with-trailing-meta .mdc-list-item__end{font-family:var(--mdc-list-list-item-trailing-supporting-text-font, var(--mat-app-label-small-font));line-height:var(--mdc-list-list-item-trailing-supporting-text-line-height, var(--mat-app-label-small-line-height));font-size:var(--mdc-list-list-item-trailing-supporting-text-size, var(--mat-app-label-small-size));font-weight:var(--mdc-list-list-item-trailing-supporting-text-weight, var(--mat-app-label-small-weight));letter-spacing:var(--mdc-list-list-item-trailing-supporting-text-tracking, var(--mat-app-label-small-tracking))}.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-icon-color, var(--mat-app-on-surface-variant));width:var(--mdc-list-list-item-trailing-icon-size);height:var(--mdc-list-list-item-trailing-icon-size)}.mdc-list-item--with-trailing-icon:hover .mdc-list-item__end{color:var(--mdc-list-list-item-hover-trailing-icon-color)}.mdc-list-item.mdc-list-item--with-trailing-meta .mdc-list-item__end{color:var(--mdc-list-list-item-trailing-supporting-text-color, var(--mat-app-on-surface-variant))}.mdc-list-item--selected.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-selected-trailing-icon-color, var(--mat-app-primary))}.mdc-list-item__content{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;align-self:center;flex:1;pointer-events:none}.mdc-list-item--with-two-lines .mdc-list-item__content,.mdc-list-item--with-three-lines .mdc-list-item__content{align-self:stretch}.mdc-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;color:var(--mdc-list-list-item-label-text-color, var(--mat-app-on-surface));font-family:var(--mdc-list-list-item-label-text-font, var(--mat-app-body-large-font));line-height:var(--mdc-list-list-item-label-text-line-height, var(--mat-app-body-large-line-height));font-size:var(--mdc-list-list-item-label-text-size, var(--mat-app-body-large-size));font-weight:var(--mdc-list-list-item-label-text-weight, var(--mat-app-body-large-weight));letter-spacing:var(--mdc-list-list-item-label-text-tracking, var(--mat-app-body-large-tracking))}.mdc-list-item:hover .mdc-list-item__primary-text{color:var(--mdc-list-list-item-hover-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:focus .mdc-list-item__primary-text{color:var(--mdc-list-list-item-focus-label-text-color, var(--mat-app-on-surface))}.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-three-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-three-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item__secondary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;color:var(--mdc-list-list-item-supporting-text-color, var(--mat-app-on-surface-variant));font-family:var(--mdc-list-list-item-supporting-text-font, var(--mat-app-body-medium-font));line-height:var(--mdc-list-list-item-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mdc-list-list-item-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-list-list-item-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mdc-list-list-item-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mdc-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-list-item--with-three-lines .mdc-list-item__secondary-text{white-space:normal;line-height:20px}.mdc-list-item--with-overline .mdc-list-item__secondary-text{white-space:nowrap;line-height:auto}.mdc-list-item--with-leading-radio.mdc-list-item,.mdc-list-item--with-leading-checkbox.mdc-list-item,.mdc-list-item--with-leading-icon.mdc-list-item,.mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:0;padding-right:16px}[dir=rtl] .mdc-list-item--with-leading-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-checkbox.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-leading-avatar.mdc-list-item{padding-left:16px;padding-right:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text{display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines .mdc-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end{display:block;margin-top:0;line-height:normal}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-icon.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before,.mdc-list-item--with-leading-avatar.mdc-list-item--with-two-lines.mdc-list-item--with-trailing-meta .mdc-list-item__end::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-list-item--with-trailing-icon.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-icon.mdc-list-item{padding-left:0;padding-right:0}.mdc-list-item--with-trailing-icon .mdc-list-item__end{margin-left:16px;margin-right:16px}.mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-meta.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-meta .mdc-list-item__end{-webkit-user-select:none;user-select:none;margin-left:28px;margin-right:16px}[dir=rtl] .mdc-list-item--with-trailing-meta .mdc-list-item__end{margin-left:16px;margin-right:28px}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end{display:block;line-height:normal;align-self:flex-start;margin-top:0}.mdc-list-item--with-trailing-meta.mdc-list-item--with-three-lines .mdc-list-item__end::before,.mdc-list-item--with-trailing-meta.mdc-list-item--with-two-lines .mdc-list-item__end::before{display:inline-block;width:0;height:28px;content:"";vertical-align:0}.mdc-list-item--with-leading-radio .mdc-list-item__start,.mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:8px;margin-right:24px}[dir=rtl] .mdc-list-item--with-leading-radio .mdc-list-item__start,[dir=rtl] .mdc-list-item--with-leading-checkbox .mdc-list-item__start{margin-left:24px;margin-right:8px}.mdc-list-item--with-leading-radio.mdc-list-item--with-two-lines .mdc-list-item__start,.mdc-list-item--with-leading-checkbox.mdc-list-item--with-two-lines .mdc-list-item__start{align-self:flex-start;margin-top:8px}.mdc-list-item--with-trailing-radio.mdc-list-item,.mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:16px;padding-right:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item{padding-left:0;padding-right:16px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-left:0}[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-radio.mdc-list-item--with-leading-avatar,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-icon,[dir=rtl] .mdc-list-item--with-trailing-checkbox.mdc-list-item--with-leading-avatar{padding-right:0}.mdc-list-item--with-trailing-radio .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:24px;margin-right:8px}[dir=rtl] .mdc-list-item--with-trailing-radio .mdc-list-item__end,[dir=rtl] .mdc-list-item--with-trailing-checkbox .mdc-list-item__end{margin-left:8px;margin-right:24px}.mdc-list-item--with-trailing-radio.mdc-list-item--with-three-lines .mdc-list-item__end,.mdc-list-item--with-trailing-checkbox.mdc-list-item--with-three-lines .mdc-list-item__end{align-self:flex-start;margin-top:8px}.mdc-list-group__subheader{margin:.75rem 16px}.mdc-list-item--disabled .mdc-list-item__start,.mdc-list-item--disabled .mdc-list-item__content,.mdc-list-item--disabled .mdc-list-item__end{opacity:1}.mdc-list-item--disabled .mdc-list-item__primary-text,.mdc-list-item--disabled .mdc-list-item__secondary-text{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--disabled.mdc-list-item--with-leading-icon .mdc-list-item__start{color:var(--mdc-list-list-item-disabled-leading-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-leading-icon-opacity)}.mdc-list-item--disabled.mdc-list-item--with-trailing-icon .mdc-list-item__end{color:var(--mdc-list-list-item-disabled-trailing-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-trailing-icon-opacity)}.mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing,[dir=rtl] .mat-mdc-list-item.mat-mdc-list-item-both-leading-and-trailing{padding-left:0;padding-right:0}.mdc-list-item.mdc-list-item--disabled .mdc-list-item__primary-text{color:var(--mdc-list-list-item-disabled-label-text-color, var(--mat-app-on-surface))}.mdc-list-item:hover::before{background-color:var(--mdc-list-list-item-hover-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-hover-state-layer-opacity, var(--mat-app-hover-state-layer-opacity))}.mdc-list-item.mdc-list-item--disabled::before{background-color:var(--mdc-list-list-item-disabled-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-disabled-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item:focus::before{background-color:var(--mdc-list-list-item-focus-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-list-list-item-focus-state-layer-opacity, var(--mat-app-focus-state-layer-opacity))}.mdc-list-item--disabled .mdc-radio,.mdc-list-item--disabled .mdc-checkbox{opacity:var(--mdc-list-list-item-disabled-label-text-opacity)}.mdc-list-item--with-leading-avatar .mat-mdc-list-item-avatar{border-radius:var(--mdc-list-list-item-leading-avatar-shape, var(--mat-app-corner-full));background-color:var(--mdc-list-list-item-leading-avatar-color, var(--mat-app-primary-container))}.mat-mdc-list-item-icon{font-size:var(--mdc-list-list-item-leading-icon-size)}.cdk-high-contrast-active a.mdc-list-item--activated::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 a.mdc-list-item--activated [dir=rtl]::after{right:auto;left:16px}.mat-mdc-list-base{display:block}.mat-mdc-list-base .mdc-list-item__start,.mat-mdc-list-base .mdc-list-item__end,.mat-mdc-list-base .mdc-list-item__content{pointer-events:auto}.mat-mdc-list-item,.mat-mdc-list-option{width:100%;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-list-item:not(.mat-mdc-list-item-interactive),.mat-mdc-list-option:not(.mat-mdc-list-item-interactive){cursor:default}.mat-mdc-list-item .mat-divider-inset,.mat-mdc-list-option .mat-divider-inset{position:absolute;left:0;right:0;bottom:0}.mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,.mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-left:72px}[dir=rtl] .mat-mdc-list-item .mat-mdc-list-item-avatar~.mat-divider-inset,[dir=rtl] .mat-mdc-list-option .mat-mdc-list-item-avatar~.mat-divider-inset{margin-right:72px}.mat-mdc-list-item-interactive::before{top:0;left:0;right:0;bottom:0;position:absolute;content:"";opacity:0;pointer-events:none}.mat-mdc-list-item>.mat-mdc-focus-indicator{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none}.mat-mdc-list-item:focus>.mat-mdc-focus-indicator::before{content:""}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-line.mdc-list-item__secondary-text{white-space:nowrap;line-height:normal}.mat-mdc-list-item.mdc-list-item--with-three-lines .mat-mdc-list-item-unscoped-content.mdc-list-item__secondary-text{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}mat-action-list button{background:none;color:inherit;border:none;font:inherit;outline:inherit;-webkit-tap-highlight-color:rgba(0,0,0,0);text-align:start}mat-action-list button::-moz-focus-inner{border:0}.mdc-list-item--with-leading-icon .mdc-list-item__start{margin-inline-start:var(--mat-list-list-item-leading-icon-start-space);margin-inline-end:var(--mat-list-list-item-leading-icon-end-space)}.mat-mdc-nav-list .mat-mdc-list-item{border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full));--mat-mdc-focus-indicator-border-radius:var(--mat-list-active-indicator-shape, var(--mat-app-corner-full))}.mat-mdc-nav-list .mat-mdc-list-item.mdc-list-item--activated{background-color:var(--mat-list-active-indicator-color, var(--mat-app-secondary-container))}',mne=["unscopedContent"],pne=["text"],fne=[[["","matListItemAvatar",""],["","matListItemIcon",""]],[["","matListItemTitle",""]],[["","matListItemLine",""]],"*",[["","matListItemMeta",""]],[["mat-divider"]]],gne=["[matListItemAvatar],[matListItemIcon]","[matListItemTitle]","[matListItemLine]","*","[matListItemMeta]","mat-divider"];var _ne=new L("ListOption"),vne=(()=>{class t{constructor(e){this._elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemTitle",""]],hostAttrs:[1,"mat-mdc-list-item-title","mdc-list-item__primary-text"],standalone:!0})}}return t})(),bne=(()=>{class t{constructor(e){this._elementRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemLine",""]],hostAttrs:[1,"mat-mdc-list-item-line","mdc-list-item__secondary-text"],standalone:!0})}}return t})(),yne=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matListItemMeta",""]],hostAttrs:[1,"mat-mdc-list-item-meta","mdc-list-item__end"],standalone:!0})}}return t})(),mP=(()=>{class t{constructor(e){this._listOption=e}_isAlignedAtStart(){return!this._listOption||this._listOption?._getTogglePosition()==="after"}static{this.\u0275fac=function(i){return new(i||t)(m(_ne,8))}}static{this.\u0275dir=T({type:t,hostVars:4,hostBindings:function(i,r){i&2&&re("mdc-list-item__start",r._isAlignedAtStart())("mdc-list-item__end",!r._isAlignedAtStart())},standalone:!0})}}return t})(),Cne=(()=>{class t extends mP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matListItemAvatar",""]],hostAttrs:[1,"mat-mdc-list-item-avatar"],standalone:!0,features:[de]})}}return t})(),xne=(()=>{class t extends mP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matListItemIcon",""]],hostAttrs:[1,"mat-mdc-list-item-icon"],standalone:!0,features:[de]})}}return t})(),Mne=new L("MAT_LIST_CONFIG"),z2=(()=>{class t{constructor(){this._isNonInteractive=!0,this._disableRipple=!1,this._disabled=!1,this._defaultOptions=z(Mne,{optional:!0})}get disableRipple(){return this._disableRipple}set disableRipple(e){this._disableRipple=ri(e)}get disabled(){return this._disabled}set disabled(e){this._disabled=ri(e)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,hostVars:1,hostBindings:function(i,r){i&2&&ie("aria-disabled",r.disabled)},inputs:{disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return t})(),wne=(()=>{class t{set lines(e){this._explicitLines=di(e,null),this._updateItemLines(!1)}get disableRipple(){return this.disabled||this._disableRipple||this._noopAnimations||!!this._listBase?.disableRipple}set disableRipple(e){this._disableRipple=ri(e)}get disabled(){return this._disabled||!!this._listBase?.disabled}set disabled(e){this._disabled=ri(e)}get rippleDisabled(){return this.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,a,o,s){this._elementRef=e,this._ngZone=i,this._listBase=r,this._platform=a,this._explicitLines=null,this._disableRipple=!1,this._disabled=!1,this._subscriptions=new xe,this._rippleRenderer=null,this._hasUnscopedTextContent=!1,this.rippleConfig=o||{},this._hostElement=this._elementRef.nativeElement,this._isButtonElement=this._hostElement.nodeName.toLowerCase()==="button",this._noopAnimations=s==="NoopAnimations",r&&!r._isNonInteractive&&this._initInteractiveListItem(),this._isButtonElement&&!this._hostElement.hasAttribute("type")&&this._hostElement.setAttribute("type","button")}ngAfterViewInit(){this._monitorProjectedLinesAndTitle(),this._updateItemLines(!0)}ngOnDestroy(){this._subscriptions.unsubscribe(),this._rippleRenderer!==null&&this._rippleRenderer._removeTriggerEvents()}_hasIconOrAvatar(){return!!(this._avatars.length||this._icons.length)}_initInteractiveListItem(){this._hostElement.classList.add("mat-mdc-list-item-interactive"),this._rippleRenderer=new md(this,this._ngZone,this._hostElement,this._platform),this._rippleRenderer.setupTriggerEvents(this._hostElement)}_monitorProjectedLinesAndTitle(){this._ngZone.runOutsideAngular(()=>{this._subscriptions.add(nt(this._lines.changes,this._titles.changes).subscribe(()=>this._updateItemLines(!1)))})}_updateItemLines(e){if(!this._lines||!this._titles||!this._unscopedContent)return;e&&this._checkDomForUnscopedTextContent();let i=this._explicitLines??this._inferLinesFromContent(),r=this._unscopedContent.nativeElement;if(this._hostElement.classList.toggle("mat-mdc-list-item-single-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-one-line",i<=1),this._hostElement.classList.toggle("mdc-list-item--with-two-lines",i===2),this._hostElement.classList.toggle("mdc-list-item--with-three-lines",i===3),this._hasUnscopedTextContent){let a=this._titles.length===0&&i===1;r.classList.toggle("mdc-list-item__primary-text",a),r.classList.toggle("mdc-list-item__secondary-text",!a)}else r.classList.remove("mdc-list-item__primary-text"),r.classList.remove("mdc-list-item__secondary-text")}_inferLinesFromContent(){let e=this._titles.length+this._lines.length;return this._hasUnscopedTextContent&&(e+=1),e}_checkDomForUnscopedTextContent(){this._hasUnscopedTextContent=Array.from(this._unscopedContent.nativeElement.childNodes).filter(e=>e.nodeType!==e.COMMENT_NODE).some(e=>!!(e.textContent&&e.textContent.trim()))}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(z2,8),m(ze),m(Eo,8),m(ot,8))}}static{this.\u0275dir=T({type:t,contentQueries:function(i,r,a){if(i&1&&(we(a,Cne,4),we(a,xne,4)),i&2){let o;G(o=W())&&(r._avatars=o),G(o=W())&&(r._icons=o)}},hostVars:4,hostBindings:function(i,r){i&2&&(ie("aria-disabled",r.disabled)("disabled",r._isButtonElement&&r.disabled||null),re("mdc-list-item--disabled",r.disabled))},inputs:{lines:"lines",disableRipple:"disableRipple",disabled:"disabled"},standalone:!0})}}return t})();var pP=(()=>{class t extends z2{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-list"]],hostAttrs:[1,"mat-mdc-list","mat-mdc-list-base","mdc-list"],exportAs:["matList"],standalone:!0,features:[he([{provide:z2,useExisting:t}]),de,ae],ngContentSelectors:uP,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:[hP],encapsulation:2,changeDetection:0})}}return t})(),fP=(()=>{class t extends wne{get activated(){return this._activated}set activated(e){this._activated=ri(e)}constructor(e,i,r,a,o,s){super(e,i,r,a,o,s),this._activated=!1}_getAriaCurrent(){return this._hostElement.nodeName==="A"&&this._activated?"page":null}_hasBothLeadingAndTrailing(){return this._meta.length!==0&&(this._avatars.length!==0||this._icons.length!==0)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(z2,8),m(ze),m(Eo,8),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-list-item"],["a","mat-list-item",""],["button","mat-list-item",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,bne,5),we(a,vne,5),we(a,yne,5)),i&2){let o;G(o=W())&&(r._lines=o),G(o=W())&&(r._titles=o),G(o=W())&&(r._meta=o)}},viewQuery:function(i,r){if(i&1&&(ue(mne,5),ue(pne,5)),i&2){let a;G(a=W())&&(r._unscopedContent=a.first),G(a=W())&&(r._itemText=a.first)}},hostAttrs:[1,"mat-mdc-list-item","mdc-list-item"],hostVars:13,hostBindings:function(i,r){i&2&&(ie("aria-current",r._getAriaCurrent()),re("mdc-list-item--activated",r.activated)("mdc-list-item--with-leading-avatar",r._avatars.length!==0)("mdc-list-item--with-leading-icon",r._icons.length!==0)("mdc-list-item--with-trailing-meta",r._meta.length!==0)("mat-mdc-list-item-both-leading-and-trailing",r._hasBothLeadingAndTrailing())("_mat-animation-noopable",r._noopAnimations))},inputs:{activated:"activated"},exportAs:["matListItem"],standalone:!0,features:[de,ae],ngContentSelectors:gne,decls:10,vars:0,consts:[["unscopedContent",""],[1,"mdc-list-item__content"],[1,"mat-mdc-list-item-unscoped-content",3,"cdkObserveContent"],[1,"mat-mdc-focus-indicator"]],template:function(i,r){if(i&1){let a=le();Me(fne),se(0),p(1,"span",1),se(2,1),se(3,2),p(4,"span",2,0),H("cdkObserveContent",function(){return F(a),j(r._updateItemLines(!0))}),se(6,3),f()(),se(7,4),se(8,5),R(9,"div",3)}},dependencies:[dd],encapsulation:2,changeDetection:0})}}return t})();var wMe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","mat-subheader",""],["","matSubheader",""]],hostAttrs:[1,"mat-mdc-subheader","mdc-list-group__subheader"],standalone:!0})}}return t})();var DMe=(()=>{class t extends z2{constructor(){super(...arguments),this._isNonInteractive=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-nav-list"]],hostAttrs:["role","navigation",1,"mat-mdc-nav-list","mat-mdc-list-base","mdc-list"],exportAs:["matNavList"],standalone:!0,features:[he([{provide:z2,useExisting:t}]),de,ae],ngContentSelectors:uP,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},styles:[hP],encapsulation:2,changeDetection:0})}}return t})();var gP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Yl,Tt,fe,gn,A5,b2]})}}return t})();function Sne(t,n){if(t&1&&(p(0,"mat-option",17),d(1),f()),t&2){let e=n.$implicit;C("value",e),g(),ne(" ",e," ")}}function kne(t,n){if(t&1){let e=le();p(0,"mat-form-field",14)(1,"mat-select",16,0),H("selectionChange",function(r){F(e);let a=M(2);return j(a._changePageSize(r.value))}),nr(3,Sne,2,2,"mat-option",17,bo),f(),p(5,"div",18),H("click",function(){F(e);let r=Ct(2);return j(r.open())}),f()()}if(t&2){let e=M(2);C("appearance",e._formFieldAppearance)("color",e.color),g(),C("value",e.pageSize)("disabled",e.disabled)("aria-labelledby",e._pageSizeLabelId)("panelClass",e.selectConfig.panelClass||"")("disableOptionCentering",e.selectConfig.disableOptionCentering),g(2),rr(e._displayedPageSizeOptions)}}function Ine(t,n){if(t&1&&(p(0,"div",15),d(1),f()),t&2){let e=M(2);g(),E(e.pageSize)}}function Ene(t,n){if(t&1&&(p(0,"div",3)(1,"div",13),d(2),f(),w(3,kne,6,7,"mat-form-field",14)(4,Ine,2,1,"div",15),f()),t&2){let e=M();g(),ie("id",e._pageSizeLabelId),g(),ne(" ",e._intl.itemsPerPageLabel," "),g(),Se(e._displayedPageSizeOptions.length>1?3:-1),g(),Se(e._displayedPageSizeOptions.length<=1?4:-1)}}function One(t,n){if(t&1){let e=le();p(0,"button",19),H("click",function(){F(e);let r=M();return j(r.firstPage())}),Jt(),p(1,"svg",8),R(2,"path",20),f()()}if(t&2){let e=M();C("matTooltip",e._intl.firstPageLabel)("matTooltipDisabled",e._previousButtonsDisabled())("matTooltipPosition","above")("disabled",e._previousButtonsDisabled()),ie("aria-label",e._intl.firstPageLabel)}}function Pne(t,n){if(t&1){let e=le();p(0,"button",21),H("click",function(){F(e);let r=M();return j(r.lastPage())}),Jt(),p(1,"svg",8),R(2,"path",22),f()()}if(t&2){let e=M();C("matTooltip",e._intl.lastPageLabel)("matTooltipDisabled",e._nextButtonsDisabled())("matTooltipPosition","above")("disabled",e._nextButtonsDisabled()),ie("aria-label",e._intl.lastPageLabel)}}var pm=(()=>{class t{constructor(){this.changes=new U,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,r)=>{if(r==0||i==0)return`0 of ${r}`;r=Math.max(r,0);let a=e*i,o=a{class t{get pageIndex(){return this._pageIndex}set pageIndex(e){this._pageIndex=Math.max(e||0,0),this._changeDetectorRef.markForCheck()}get length(){return this._length}set length(e){this._length=e||0,this._changeDetectorRef.markForCheck()}get pageSize(){return this._pageSize}set pageSize(e){this._pageSize=Math.max(e||0,0),this._updateDisplayedPageSizeOptions()}get pageSizeOptions(){return this._pageSizeOptions}set pageSizeOptions(e){this._pageSizeOptions=(e||[]).map(i=>st(i,0)),this._updateDisplayedPageSizeOptions()}constructor(e,i,r){if(this._intl=e,this._changeDetectorRef=i,this._pageSizeLabelId=`mat-paginator-page-size-label-${Lne++}`,this._isInitialized=!1,this._initializedStream=new ea(1),this._pageIndex=0,this._length=0,this._pageSizeOptions=[],this.hidePageSize=!1,this.showFirstLastButtons=!1,this.selectConfig={},this.disabled=!1,this.page=new B,this.initialized=this._initializedStream,this._intlChanges=e.changes.subscribe(()=>this._changeDetectorRef.markForCheck()),r){let{pageSize:a,pageSizeOptions:o,hidePageSize:s,showFirstLastButtons:l}=r;a!=null&&(this._pageSize=a),o!=null&&(this._pageSizeOptions=o),s!=null&&(this.hidePageSize=s),l!=null&&(this.showFirstLastButtons=l)}this._formFieldAppearance=r?.formFieldAppearance||"outline"}ngOnInit(){this._isInitialized=!0,this._updateDisplayedPageSizeOptions(),this._initializedStream.next()}ngOnDestroy(){this._initializedStream.complete(),this._intlChanges.unsubscribe()}nextPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex+1,this._emitPageEvent(e)}previousPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=this.pageIndex-1,this._emitPageEvent(e)}firstPage(){if(!this.hasPreviousPage())return;let e=this.pageIndex;this.pageIndex=0,this._emitPageEvent(e)}lastPage(){if(!this.hasNextPage())return;let e=this.pageIndex;this.pageIndex=this.getNumberOfPages()-1,this._emitPageEvent(e)}hasPreviousPage(){return this.pageIndex>=1&&this.pageSize!=0}hasNextPage(){let 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})}static{this.\u0275fac=function(i){return new(i||t)(m(pm),m(pe),m(zne,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-paginator"]],hostAttrs:["role","group",1,"mat-mdc-paginator"],inputs:{color:"color",pageIndex:[2,"pageIndex","pageIndex",st],length:[2,"length","length",st],pageSize:[2,"pageSize","pageSize",st],pageSizeOptions:"pageSizeOptions",hidePageSize:[2,"hidePageSize","hidePageSize",q],showFirstLastButtons:[2,"showFirstLastButtons","showFirstLastButtons",q],selectConfig:"selectConfig",disabled:[2,"disabled","disabled",q]},outputs:{page:"page"},exportAs:["matPaginator"],standalone:!0,features:[ye,ae],decls:14,vars:14,consts:[["selectRef",""],[1,"mat-mdc-paginator-outer-container"],[1,"mat-mdc-paginator-container"],[1,"mat-mdc-paginator-page-size"],[1,"mat-mdc-paginator-range-actions"],["aria-live","polite",1,"mat-mdc-paginator-range-label"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-previous",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["viewBox","0 0 24 24","focusable","false","aria-hidden","true",1,"mat-mdc-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-mdc-paginator-navigation-next",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M10 6L8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],[1,"mat-mdc-paginator-page-size-label"],[1,"mat-mdc-paginator-page-size-select",3,"appearance","color"],[1,"mat-mdc-paginator-page-size-value"],["hideSingleSelectionIndicator","",3,"selectionChange","value","disabled","aria-labelledby","panelClass","disableOptionCentering"],[3,"value"],[1,"mat-mdc-paginator-touch-target",3,"click"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-first",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"],["mat-icon-button","","type","button",1,"mat-mdc-paginator-navigation-last",3,"click","matTooltip","matTooltipDisabled","matTooltipPosition","disabled"],["d","M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2),w(2,Ene,5,4,"div",3),p(3,"div",4)(4,"div",5),d(5),f(),w(6,One,3,5,"button",6),p(7,"button",7),H("click",function(){return r.previousPage()}),Jt(),p(8,"svg",8),R(9,"path",9),f()(),Va(),p(10,"button",10),H("click",function(){return r.nextPage()}),Jt(),p(11,"svg",8),R(12,"path",11),f()(),w(13,Pne,3,5,"button",12),f()()()),i&2&&(g(2),Se(r.hidePageSize?-1:2),g(3),ne(" ",r._intl.getRangeLabel(r.pageIndex,r.pageSize,r.length)," "),g(),Se(r.showFirstLastButtons?6:-1),g(),C("matTooltip",r._intl.previousPageLabel)("matTooltipDisabled",r._previousButtonsDisabled())("matTooltipPosition","above")("disabled",r._previousButtonsDisabled()),ie("aria-label",r._intl.previousPageLabel),g(3),C("matTooltip",r._intl.nextPageLabel)("matTooltipDisabled",r._nextButtonsDisabled())("matTooltipPosition","above")("disabled",r._nextButtonsDisabled()),ie("aria-label",r._intl.nextPageLabel),g(3),Se(r.showFirstLastButtons?13:-1))},dependencies:[Kt,Tn,Bi,bn,qr],styles:[".mat-mdc-paginator{display:block;-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;color:var(--mat-paginator-container-text-color, var(--mat-app-on-surface));background-color:var(--mat-paginator-container-background-color, var(--mat-app-surface));font-family:var(--mat-paginator-container-text-font, var(--mat-app-body-small-font));line-height:var(--mat-paginator-container-text-line-height, var(--mat-app-body-small-line-height));font-size:var(--mat-paginator-container-text-size, var(--mat-app-body-small-size));font-weight:var(--mat-paginator-container-text-weight, var(--mat-app-body-small-weight));letter-spacing:var(--mat-paginator-container-text-tracking, var(--mat-app-body-small-tracking));--mat-form-field-container-height:var(--mat-paginator-form-field-container-height);--mat-form-field-container-vertical-padding:var(--mat-paginator-form-field-container-vertical-padding)}.mat-mdc-paginator .mat-mdc-select-value{font-size:var(--mat-paginator-select-trigger-text-size, var(--mat-app-body-small-size))}.mat-mdc-paginator .mat-mdc-form-field-subscript-wrapper{display:none}.mat-mdc-paginator .mat-mdc-select{line-height:1.5}.mat-mdc-paginator-outer-container{display:flex}.mat-mdc-paginator-container{display:flex;align-items:center;justify-content:flex-end;padding:0 8px;flex-wrap:wrap;width:100%;min-height:var(--mat-paginator-container-size)}.mat-mdc-paginator-page-size{display:flex;align-items:baseline;margin-right:8px}[dir=rtl] .mat-mdc-paginator-page-size{margin-right:0;margin-left:8px}.mat-mdc-paginator-page-size-label{margin:0 4px}.mat-mdc-paginator-page-size-select{margin:0 4px;width:84px}.mat-mdc-paginator-range-label{margin:0 32px 0 24px}.mat-mdc-paginator-range-actions{display:flex;align-items:center}.mat-mdc-paginator-icon{display:inline-block;width:28px;fill:var(--mat-paginator-enabled-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon{fill:var(--mat-paginator-disabled-icon-color)}[dir=rtl] .mat-mdc-paginator-icon{transform:rotate(180deg)}.cdk-high-contrast-active .mat-mdc-icon-button[disabled] .mat-mdc-paginator-icon,.cdk-high-contrast-active .mat-mdc-paginator-icon{fill:currentColor;fill:CanvasText}.cdk-high-contrast-active .mat-mdc-paginator-range-actions .mat-mdc-icon-button{outline:solid 1px}.mat-mdc-paginator-touch-target{display:var(--mat-paginator-touch-target-display);position:absolute;top:50%;left:50%;width:84px;height:48px;background-color:rgba(0,0,0,0);transform:translate(-50%, -50%);cursor:pointer}"],encapsulation:2,changeDetection:0})}}return t})(),_P=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Vne],imports:[Ga,vh,y2,Nc]})}}return t})();var Rne=["determinateSpinner"];function Nne(t,n){if(t&1&&(Jt(),p(0,"svg",11),R(1,"circle",12),f()),t&2){let e=M();ie("viewBox",e._viewBox()),g(),Pt("stroke-dasharray",e._strokeCircumference(),"px")("stroke-dashoffset",e._strokeCircumference()/2,"px")("stroke-width",e._circleStrokeWidth(),"%"),ie("r",e._circleRadius())}}var Fne=new L("mat-progress-spinner-default-options",{providedIn:"root",factory:jne});function jne(){return{diameter:vP}}var vP=100,Bne=10,bP=(()=>{class t{get color(){return this._color||this._defaultColor}set color(e){this._color=e}constructor(e,i,r){this._elementRef=e,this._defaultColor="primary",this._value=0,this._diameter=vP,this._noopAnimations=i==="NoopAnimations"&&!!r&&!r._forceAnimations,this.mode=e.nativeElement.nodeName.toLowerCase()==="mat-spinner"?"indeterminate":"determinate",r&&(r.color&&(this.color=this._defaultColor=r.color),r.diameter&&(this.diameter=r.diameter),r.strokeWidth&&(this.strokeWidth=r.strokeWidth))}get value(){return this.mode==="determinate"?this._value:0}set value(e){this._value=Math.max(0,Math.min(100,e||0))}get diameter(){return this._diameter}set diameter(e){this._diameter=e||0}get strokeWidth(){return this._strokeWidth??this.diameter/10}set strokeWidth(e){this._strokeWidth=e||0}_circleRadius(){return(this.diameter-Bne)/2}_viewBox(){let e=this._circleRadius()*2+this.strokeWidth;return`0 0 ${e} ${e}`}_strokeCircumference(){return 2*Math.PI*this._circleRadius()}_strokeDashOffset(){return this.mode==="determinate"?this._strokeCircumference()*(100-this._value)/100:null}_circleStrokeWidth(){return this.strokeWidth/this.diameter*100}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ot,8),m(Fne))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-progress-spinner"],["mat-spinner"]],viewQuery:function(i,r){if(i&1&&ue(Rne,5),i&2){let a;G(a=W())&&(r._determinateCircle=a.first)}},hostAttrs:["role","progressbar","tabindex","-1",1,"mat-mdc-progress-spinner","mdc-circular-progress"],hostVars:18,hostBindings:function(i,r){i&2&&(ie("aria-valuemin",0)("aria-valuemax",100)("aria-valuenow",r.mode==="determinate"?r.value:null)("mode",r.mode),Lt("mat-"+r.color),Pt("width",r.diameter,"px")("height",r.diameter,"px")("--mdc-circular-progress-size",r.diameter+"px")("--mdc-circular-progress-active-indicator-width",r.diameter+"px"),re("_mat-animation-noopable",r._noopAnimations)("mdc-circular-progress--indeterminate",r.mode==="indeterminate"))},inputs:{color:"color",mode:"mode",value:[2,"value","value",st],diameter:[2,"diameter","diameter",st],strokeWidth:[2,"strokeWidth","strokeWidth",st]},exportAs:["matProgressSpinner"],standalone:!0,features:[ye,ae],decls:14,vars:11,consts:[["circle",""],["determinateSpinner",""],["aria-hidden","true",1,"mdc-circular-progress__determinate-container"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__determinate-circle-graphic"],["cx","50%","cy","50%",1,"mdc-circular-progress__determinate-circle"],["aria-hidden","true",1,"mdc-circular-progress__indeterminate-container"],[1,"mdc-circular-progress__spinner-layer"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-left"],[3,"ngTemplateOutlet"],[1,"mdc-circular-progress__gap-patch"],[1,"mdc-circular-progress__circle-clipper","mdc-circular-progress__circle-right"],["xmlns","http://www.w3.org/2000/svg","focusable","false",1,"mdc-circular-progress__indeterminate-circle-graphic"],["cx","50%","cy","50%"]],template:function(i,r){if(i&1&&(w(0,Nne,2,8,"ng-template",null,0,Hr),p(2,"div",2,1),Jt(),p(4,"svg",3),R(5,"circle",4),f()(),Va(),p(6,"div",5)(7,"div",6)(8,"div",7),At(9,8),f(),p(10,"div",9),At(11,8),f(),p(12,"div",10),At(13,8),f()()()),i&2){let a=Ct(1);g(4),ie("viewBox",r._viewBox()),g(),Pt("stroke-dasharray",r._strokeCircumference(),"px")("stroke-dashoffset",r._strokeDashOffset(),"px")("stroke-width",r._circleStrokeWidth(),"%"),ie("r",r._circleRadius()),g(4),C("ngTemplateOutlet",a),g(2),C("ngTemplateOutlet",a),g(2),C("ngTemplateOutlet",a)}},dependencies:[hs],styles:[".mat-mdc-progress-spinner{display:block;overflow:hidden;line-height:0;position:relative;direction:ltr;transition:opacity 250ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-progress-spinner circle{stroke-width:var(--mdc-circular-progress-active-indicator-width)}.mat-mdc-progress-spinner._mat-animation-noopable,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__determinate-circle{transition:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-circle-graphic,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__spinner-layer,.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container{animation:none !important}.mat-mdc-progress-spinner._mat-animation-noopable .mdc-circular-progress__indeterminate-container circle{stroke-dasharray:0 !important}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle{stroke:currentColor;stroke:CanvasText}.mdc-circular-progress__determinate-container,.mdc-circular-progress__indeterminate-circle-graphic,.mdc-circular-progress__indeterminate-container,.mdc-circular-progress__spinner-layer{position:absolute;width:100%;height:100%}.mdc-circular-progress__determinate-container{transform:rotate(-90deg)}.mdc-circular-progress--indeterminate .mdc-circular-progress__determinate-container{opacity:0}.mdc-circular-progress__indeterminate-container{font-size:0;letter-spacing:0;white-space:nowrap;opacity:0}.mdc-circular-progress--indeterminate .mdc-circular-progress__indeterminate-container{opacity:1;animation:mdc-circular-progress-container-rotate 1568.2352941176ms linear infinite}.mdc-circular-progress__determinate-circle-graphic,.mdc-circular-progress__indeterminate-circle-graphic{fill:rgba(0,0,0,0)}.mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:var(--mdc-circular-progress-active-indicator-color, var(--mat-app-primary))}.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__determinate-circle,.cdk-high-contrast-active .mat-mdc-progress-spinner .mdc-circular-progress__indeterminate-circle-graphic{stroke:CanvasText}.mdc-circular-progress__determinate-circle{transition:stroke-dashoffset 500ms cubic-bezier(0, 0, 0.2, 1)}.mdc-circular-progress__gap-patch{position:absolute;top:0;left:47.5%;box-sizing:border-box;width:5%;height:100%;overflow:hidden}.mdc-circular-progress__gap-patch .mdc-circular-progress__indeterminate-circle-graphic{left:-900%;width:2000%;transform:rotate(180deg)}.mdc-circular-progress__circle-clipper .mdc-circular-progress__indeterminate-circle-graphic{width:200%}.mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{left:-100%}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-left .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-left-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress--indeterminate .mdc-circular-progress__circle-right .mdc-circular-progress__indeterminate-circle-graphic{animation:mdc-circular-progress-right-spin 1333ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}.mdc-circular-progress__circle-clipper{display:inline-flex;position:relative;width:50%;height:100%;overflow:hidden}.mdc-circular-progress--indeterminate .mdc-circular-progress__spinner-layer{animation:mdc-circular-progress-spinner-layer-rotate 5332ms cubic-bezier(0.4, 0, 0.2, 1) infinite both}@keyframes mdc-circular-progress-container-rotate{to{transform:rotate(360deg)}}@keyframes mdc-circular-progress-spinner-layer-rotate{12.5%{transform:rotate(135deg)}25%{transform:rotate(270deg)}37.5%{transform:rotate(405deg)}50%{transform:rotate(540deg)}62.5%{transform:rotate(675deg)}75%{transform:rotate(810deg)}87.5%{transform:rotate(945deg)}100%{transform:rotate(1080deg)}}@keyframes mdc-circular-progress-left-spin{from{transform:rotate(265deg)}50%{transform:rotate(130deg)}to{transform:rotate(265deg)}}@keyframes mdc-circular-progress-right-spin{from{transform:rotate(-265deg)}50%{transform:rotate(-130deg)}to{transform:rotate(-265deg)}}"],encapsulation:2,changeDetection:0})}}return t})();var fm=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Tt,fe]})}}return t})();function $ne(t,n){t&1&&R(0,"div",2)}var Gne=new L("MAT_PROGRESS_BAR_DEFAULT_OPTIONS");var cwe=(()=>{class t{constructor(e,i,r,a,o){this._elementRef=e,this._ngZone=i,this._changeDetectorRef=r,this._animationMode=a,this._isNoopAnimation=!1,this._defaultColor="primary",this._value=0,this._bufferValue=0,this.animationEnd=new B,this._mode="determinate",this._transitionendHandler=s=>{this.animationEnd.observers.length===0||!s.target||!s.target.classList.contains("mdc-linear-progress__primary-bar")||(this.mode==="determinate"||this.mode==="buffer")&&this._ngZone.run(()=>this.animationEnd.next({value:this.value}))},this._isNoopAnimation=a==="NoopAnimations",o&&(o.color&&(this.color=this._defaultColor=o.color),this.mode=o.mode||this.mode)}get color(){return this._color||this._defaultColor}set color(e){this._color=e}get value(){return this._value}set value(e){this._value=yP(e||0),this._changeDetectorRef.markForCheck()}get bufferValue(){return this._bufferValue||0}set bufferValue(e){this._bufferValue=yP(e||0),this._changeDetectorRef.markForCheck()}get mode(){return this._mode}set mode(e){this._mode=e,this._changeDetectorRef.markForCheck()}ngAfterViewInit(){this._ngZone.runOutsideAngular(()=>{this._elementRef.nativeElement.addEventListener("transitionend",this._transitionendHandler)})}ngOnDestroy(){this._elementRef.nativeElement.removeEventListener("transitionend",this._transitionendHandler)}_getPrimaryBarTransform(){return`scaleX(${this._isIndeterminate()?1:this.value/100})`}_getBufferBarFlexBasis(){return`${this.mode==="buffer"?this.bufferValue:100}%`}_isIndeterminate(){return this.mode==="indeterminate"||this.mode==="query"}static{this.\u0275fac=function(i){return new(i||t)(m($),m(oe),m(pe),m(ot,8),m(Gne,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-progress-bar"]],hostAttrs:["role","progressbar","aria-valuemin","0","aria-valuemax","100","tabindex","-1",1,"mat-mdc-progress-bar","mdc-linear-progress"],hostVars:10,hostBindings:function(i,r){i&2&&(ie("aria-valuenow",r._isIndeterminate()?null:r.value)("mode",r.mode),Lt("mat-"+r.color),re("_mat-animation-noopable",r._isNoopAnimation)("mdc-linear-progress--animation-ready",!r._isNoopAnimation)("mdc-linear-progress--indeterminate",r._isIndeterminate()))},inputs:{color:"color",value:[2,"value","value",st],bufferValue:[2,"bufferValue","bufferValue",st],mode:"mode"},outputs:{animationEnd:"animationEnd"},exportAs:["matProgressBar"],standalone:!0,features:[ye,ae],decls:7,vars:5,consts:[["aria-hidden","true",1,"mdc-linear-progress__buffer"],[1,"mdc-linear-progress__buffer-bar"],[1,"mdc-linear-progress__buffer-dots"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__primary-bar"],[1,"mdc-linear-progress__bar-inner"],["aria-hidden","true",1,"mdc-linear-progress__bar","mdc-linear-progress__secondary-bar"]],template:function(i,r){i&1&&(p(0,"div",0),R(1,"div",1),w(2,$ne,1,0,"div",2),f(),p(3,"div",3),R(4,"span",4),f(),p(5,"div",5),R(6,"span",4),f()),i&2&&(g(),Pt("flex-basis",r._getBufferBarFlexBasis()),g(),Se(r.mode==="buffer"?2:-1),g(),Pt("transform",r._getPrimaryBarTransform()))},styles:[`.mat-mdc-progress-bar{display:block;text-align:start}.mat-mdc-progress-bar[mode=query]{transform:scaleX(-1)}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-dots,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__secondary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__bar-inner.mdc-linear-progress__bar-inner{animation:none}.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__primary-bar,.mat-mdc-progress-bar._mat-animation-noopable .mdc-linear-progress__buffer-bar{transition:transform 1ms}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid rgba(0,0,0,0);overflow-x:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:max(var(--mdc-linear-progress-track-height),var(--mdc-linear-progress-active-indicator-height))}.cdk-high-contrast-active .mdc-linear-progress{outline-color:CanvasText}.mdc-linear-progress__bar{position:absolute;top:0;bottom:0;margin:auto 0;width:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);height:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}[dir=rtl] .mdc-linear-progress__bar{right:0;transform-origin:center right}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid;border-color:var(--mdc-linear-progress-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-linear-progress-active-indicator-height)}.mdc-linear-progress__buffer{display:flex;position:absolute;top:0;bottom:0;margin:auto 0;width:100%;overflow:hidden;height:var(--mdc-linear-progress-track-height);border-radius:var(--mdc-linear-progress-track-shape, var(--mat-app-corner-none))}.mdc-linear-progress__buffer-dots{-webkit-mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");mask-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='xMinYMin slice'%3E%3Ccircle cx='1' cy='1' r='1'/%3E%3C/svg%3E");background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear;background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.cdk-high-contrast-active .mdc-linear-progress__buffer-dots{background-color:ButtonBorder}[dir=rtl] .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1);background-color:var(--mdc-linear-progress-track-color, var(--mat-app-surface-variant))}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(calc(var(--mdc-linear-progress-track-height) * -2.5))}}@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%)}100%{transform:translateX(200.611057%)}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%)}100%{transform:translateX(160.277782%)}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%)}100%{transform:translateX(-200.611057%)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%)}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%)}100%{transform:translateX(-160.277782%)}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}`],encapsulation:2,changeDetection:0})}}return t})();function yP(t,n=0,e=100){return Math.max(n,Math.min(e,t))}var CP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe]})}}return t})();var Wne=["input"],qne=["formField"],Yne=["*"],xP=0,gm=class{constructor(n,e){this.source=n,this.value=e}},Qne={provide:Yi,useExisting:ct(()=>Xne),multi:!0},MP=new L("MatRadioGroup"),Kne=new L("mat-radio-default-options",{providedIn:"root",factory:Zne});function Zne(){return{color:"accent",disabledInteractive:!1}}var Xne=(()=>{class t{get name(){return this._name}set name(e){this._name=e,this._updateRadioButtonNames()}get labelPosition(){return this._labelPosition}set labelPosition(e){this._labelPosition=e==="before"?"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=e,this._markRadiosForCheck()}get required(){return this._required}set required(e){this._required=e,this._markRadiosForCheck()}get disabledInteractive(){return this._disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e,this._markRadiosForCheck()}constructor(e){this._changeDetector=e,this._value=null,this._name=`mat-radio-group-${xP++}`,this._selected=null,this._isInitialized=!1,this._labelPosition="after",this._disabled=!1,this._required=!1,this._controlValueAccessorChangeFn=()=>{},this.onTouched=()=>{},this.change=new B,this._disabledInteractive=!1}ngAfterContentInit(){this._isInitialized=!0,this._buttonChanges=this._radios.changes.subscribe(()=>{this.selected&&!this._radios.find(e=>e===this.selected)&&(this._selected=null)})}ngOnDestroy(){this._buttonChanges?.unsubscribe()}_touch(){this.onTouched&&this.onTouched()}_updateRadioButtonNames(){this._radios&&this._radios.forEach(e=>{e.name=this.name,e._markForCheck()})}_updateSelectedRadioFromValue(){let e=this._selected!==null&&this._selected.value===this._value;this._radios&&!e&&(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 gm(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()}static{this.\u0275fac=function(i){return new(i||t)(m(pe))}}static{this.\u0275dir=T({type:t,selectors:[["mat-radio-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,wP,5),i&2){let o;G(o=W())&&(r._radios=o)}},hostAttrs:["role","radiogroup",1,"mat-mdc-radio-group"],inputs:{color:"color",name:"name",labelPosition:"labelPosition",value:"value",selected:"selected",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioGroup"],standalone:!0,features:[he([Qne,{provide:MP,useExisting:t}]),ye]})}}return t})(),wP=(()=>{class t{get checked(){return this._checked}set checked(e){this._checked!==e&&(this._checked=e,e&&this.radioGroup&&this.radioGroup.value!==this.value?this.radioGroup.selected=this:!e&&this.radioGroup&&this.radioGroup.value===this.value&&(this.radioGroup.selected=null),e&&this._radioDispatcher.notify(this.id,this.name),this._changeDetector.markForCheck())}get value(){return this._value}set value(e){this._value!==e&&(this._value=e,this.radioGroup!==null&&(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||this.radioGroup!==null&&this.radioGroup.disabled}set disabled(e){this._setDisabled(e)}get required(){return this._required||this.radioGroup&&this.radioGroup.required}set required(e){this._required=e}get color(){return this._color||this.radioGroup&&this.radioGroup.color||this._defaultOptions&&this._defaultOptions.color||"accent"}set color(e){this._color=e}get disabledInteractive(){return this._disabledInteractive||this.radioGroup!==null&&this.radioGroup.disabledInteractive}set disabledInteractive(e){this._disabledInteractive=e}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,a,o,s,l,h){this._elementRef=i,this._changeDetector=r,this._focusMonitor=a,this._radioDispatcher=o,this._defaultOptions=l,this._ngZone=z(oe),this._uniqueId=`mat-radio-${++xP}`,this.id=this._uniqueId,this.disableRipple=!1,this.tabIndex=0,this.change=new B,this._checked=!1,this._value=null,this._removeUniqueSelectionListener=()=>{},this._injector=z(Le),this._onInputClick=v=>{this.disabled&&this.disabledInteractive&&v.preventDefault()},this.radioGroup=e,this._noopAnimations=s==="NoopAnimations",this._disabledInteractive=l?.disabledInteractive??!1,h&&(this.tabIndex=st(h,0))}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),this._removeUniqueSelectionListener=this._radioDispatcher.listen((e,i)=>{e!==this.id&&i===this.name&&(this.checked=!1)})}ngDoCheck(){this._updateTabIndex()}ngAfterViewInit(){this._updateTabIndex(),this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{!e&&this.radioGroup&&this.radioGroup._touch()}),this._ngZone.runOutsideAngular(()=>{this._inputElement.nativeElement.addEventListener("click",this._onInputClick)})}ngOnDestroy(){this._inputElement?.nativeElement.removeEventListener("click",this._onInputClick),this._focusMonitor.stopMonitoring(this._elementRef),this._removeUniqueSelectionListener()}_emitChangeEvent(){this.change.emit(new gm(this,this._value))}_isRippleDisabled(){return this.disableRipple||this.disabled}_onInputInteraction(e){if(e.stopPropagation(),!this.checked&&!this.disabled){let i=this.radioGroup&&this.value!==this.radioGroup.value;this.checked=!0,this._emitChangeEvent(),this.radioGroup&&(this.radioGroup._controlValueAccessorChangeFn(this.value),i&&this.radioGroup._emitChangeEvent())}}_onTouchTargetClick(e){this._onInputInteraction(e),(!this.disabled||this.disabledInteractive)&&this._inputElement?.nativeElement.focus()}_setDisabled(e){this._disabled!==e&&(this._disabled=e,this._changeDetector.markForCheck())}_updateTabIndex(){let e=this.radioGroup,i;if(!e||!e.selected||this.disabled?i=this.tabIndex:i=e.selected===this?this.tabIndex:-1,i!==this._previousTabIndex){let r=this._inputElement?.nativeElement;r&&(r.setAttribute("tabindex",i+""),this._previousTabIndex=i,Ft(()=>{queueMicrotask(()=>{e&&e.selected&&e.selected!==this&&document.activeElement===r&&(e.selected?._inputElement.nativeElement.focus(),document.activeElement===r&&this._inputElement.nativeElement.blur())})},{injector:this._injector}))}}static{this.\u0275fac=function(i){return new(i||t)(m(MP,8),m($),m(pe),m(Qt),m(s2),m(ot,8),m(Kne,8),Gt("tabindex"))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-radio-button"]],viewQuery:function(i,r){if(i&1&&(ue(Wne,5),ue(qne,7,$)),i&2){let a;G(a=W())&&(r._inputElement=a.first),G(a=W())&&(r._rippleTrigger=a.first)}},hostAttrs:[1,"mat-mdc-radio-button"],hostVars:19,hostBindings:function(i,r){i&1&&H("focus",function(){return r._inputElement.nativeElement.focus()}),i&2&&(ie("id",r.id)("tabindex",null)("aria-label",null)("aria-labelledby",null)("aria-describedby",null),re("mat-primary",r.color==="primary")("mat-accent",r.color==="accent")("mat-warn",r.color==="warn")("mat-mdc-radio-checked",r.checked)("mat-mdc-radio-disabled",r.disabled)("mat-mdc-radio-disabled-interactive",r.disabledInteractive)("_mat-animation-noopable",r._noopAnimations))},inputs:{id:"id",name:"name",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],checked:[2,"checked","checked",q],value:"value",labelPosition:"labelPosition",disabled:[2,"disabled","disabled",q],required:[2,"required","required",q],color:"color",disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change"},exportAs:["matRadioButton"],standalone:!0,features:[ye,ae],ngContentSelectors:Yne,decls:13,vars:17,consts:[["formField",""],["input",""],["mat-internal-form-field","",3,"labelPosition"],[1,"mdc-radio"],[1,"mat-mdc-radio-touch-target",3,"click"],["type","radio",1,"mdc-radio__native-control",3,"change","id","checked","disabled","required"],[1,"mdc-radio__background"],[1,"mdc-radio__outer-circle"],[1,"mdc-radio__inner-circle"],["mat-ripple","",1,"mat-radio-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mat-ripple-element","mat-radio-persistent-ripple"],[1,"mdc-label",3,"for"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",2,0)(2,"div",3)(3,"div",4),H("click",function(s){return F(a),j(r._onTouchTargetClick(s))}),f(),p(4,"input",5,1),H("change",function(s){return F(a),j(r._onInputInteraction(s))}),f(),p(6,"div",6),R(7,"div",7)(8,"div",8),f(),p(9,"div",9),R(10,"div",10),f()(),p(11,"label",11),se(12),f()()}i&2&&(C("labelPosition",r.labelPosition),g(2),re("mdc-radio--disabled",r.disabled),g(2),C("id",r.inputId)("checked",r.checked)("disabled",r.disabled&&!r.disabledInteractive)("required",r.required),ie("name",r.name)("value",r.value)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby)("aria-describedby",r.ariaDescribedby)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(5),C("matRippleTrigger",r._rippleTrigger.nativeElement)("matRippleDisabled",r._isRippleDisabled())("matRippleCentered",!0),g(2),C("for",r.inputId))},dependencies:[Ai,n2],styles:['.mat-mdc-radio-button{-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-mdc-radio-button .mdc-radio{display:inline-block;position:relative;flex:0 0 auto;box-sizing:content-box;width:20px;height:20px;cursor:pointer;will-change:opacity,transform,border-color,color;padding:calc((var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled]):not(:focus)~.mdc-radio__background::before{opacity:.04;transform:scale(1)}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:not([disabled])~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-hover-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:hover .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-hover-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-pressed-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio:active .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-pressed-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__background{display:inline-block;position:relative;box-sizing:border-box;width:20px;height:20px}.mat-mdc-radio-button .mdc-radio__background::before{position:absolute;transform:scale(0, 0);border-radius:50%;opacity:0;pointer-events:none;content:"";transition:opacity 90ms cubic-bezier(0.4, 0, 0.6, 1),transform 90ms cubic-bezier(0.4, 0, 0.6, 1);width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size);top:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2);left:calc(-1*(var(--mdc-radio-state-layer-size) - 20px)/2)}.mat-mdc-radio-button .mdc-radio__outer-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;border-width:2px;border-style:solid;border-radius:50%;transition:border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__inner-circle{position:absolute;top:0;left:0;box-sizing:border-box;width:100%;height:100%;transform:scale(0, 0);border-width:10px;border-style:solid;border-radius:50%;transition:transform 90ms cubic-bezier(0.4, 0, 0.6, 1),border-color 90ms cubic-bezier(0.4, 0, 0.6, 1)}.mat-mdc-radio-button .mdc-radio__native-control{position:absolute;margin:0;padding:0;opacity:0;top:0;right:0;left:0;cursor:inherit;z-index:1;width:var(--mdc-radio-state-layer-size);height:var(--mdc-radio-state-layer-size)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{transition:border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle{transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:focus+.mdc-radio__background::before{transform:scale(1);opacity:.12;transition:opacity 90ms cubic-bezier(0, 0, 0.2, 1),transform 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button .mdc-radio__native-control:disabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background{cursor:default}.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:disabled+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button .mdc-radio__native-control:enabled:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-icon-color, var(--mat-app-on-surface-variant))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:checked+.mdc-radio__background .mdc-radio__inner-circle{border-color:var(--mdc-radio-selected-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button .mdc-radio__native-control:enabled:focus:checked+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-selected-focus-icon-color, var(--mat-app-primary))}.mat-mdc-radio-button .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle{transform:scale(0.5);transition:transform 90ms cubic-bezier(0, 0, 0.2, 1),border-color 90ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled{pointer-events:auto}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:not(:checked)+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-unselected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-unselected-icon-opacity)}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled:hover .mdc-radio__native-control:checked+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control:checked:focus+.mdc-radio__background .mdc-radio__outer-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__inner-circle,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__native-control+.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-disabled-selected-icon-color, var(--mat-app-on-surface));opacity:var(--mdc-radio-disabled-selected-icon-opacity)}.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__background::before,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__outer-circle,.mat-mdc-radio-button._mat-animation-noopable .mdc-radio__inner-circle{transition:none !important}.mat-mdc-radio-button .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.mat-mdc-radio-checked .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-checked .mdc-radio__background::before{background-color:var(--mat-radio-checked-ripple-color, var(--mat-app-primary))}.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mat-ripple-element,.mat-mdc-radio-button.mat-mdc-radio-disabled-interactive .mdc-radio--disabled .mdc-radio__background::before{background-color:var(--mat-radio-ripple-color, var(--mat-app-on-surface))}.mat-mdc-radio-button .mat-internal-form-field{color:var(--mat-radio-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-radio-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-radio-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-radio-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-radio-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-radio-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-radio-button .mdc-radio--disabled+label{color:var(--mat-radio-disabled-label-color)}.mat-mdc-radio-button .mat-radio-ripple{top:0;left:0;right:0;bottom:0;position:absolute;pointer-events:none;border-radius:50%}.mat-mdc-radio-button .mat-radio-ripple .mat-ripple-element{opacity:.14}.mat-mdc-radio-button .mat-radio-ripple::before{border-radius:50%}.mat-mdc-radio-button .mdc-radio .mdc-radio__native-control:focus:enabled:not(:checked)~.mdc-radio__background .mdc-radio__outer-circle{border-color:var(--mdc-radio-unselected-focus-icon-color, var(--mat-app-on-surface))}.mat-mdc-radio-button.cdk-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-radio-disabled{cursor:default;pointer-events:none}.mat-mdc-radio-disabled.mat-mdc-radio-disabled-interactive{pointer-events:auto}.mat-mdc-radio-touch-target{position:absolute;top:50%;left:50%;height:48px;width:48px;transform:translate(-50%, -50%);display:var(--mat-radio-touch-target-display)}[dir=rtl] .mat-mdc-radio-touch-target{left:auto;right:50%;transform:translate(50%, -50%)}'],encapsulation:2,changeDetection:0})}}return t})(),DP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,Tt,gn,wP,fe]})}}return t})();var vm=["*"],Jne=["content"],ere=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],tre=["mat-drawer","mat-drawer-content","*"];function ire(t,n){if(t&1){let e=le();p(0,"div",1),H("click",function(){F(e);let r=M();return j(r._onBackdropClicked())}),f()}if(t&2){let e=M();re("mat-drawer-shown",e._isShowingBackdrop())}}function nre(t,n){t&1&&(p(0,"mat-drawer-content"),se(1,2),f())}var rre=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],are=["mat-sidenav","mat-sidenav-content","*"];function ore(t,n){if(t&1){let e=le();p(0,"div",1),H("click",function(){F(e);let r=M();return j(r._onBackdropClicked())}),f()}if(t&2){let e=M();re("mat-drawer-shown",e._isShowingBackdrop())}}function sre(t,n){t&1&&(p(0,"mat-sidenav-content"),se(1,2),f())}var cre='.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));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;background-color:var(--mat-sidenav-scrim-color)}.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;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);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);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}',kP={transformDrawer:kt("transform",[tt("open, open-instant",De({transform:"none",visibility:"visible"})),tt("void",De({"box-shadow":"none",visibility:"hidden"})),Ze("void => open-instant",et("0ms")),Ze("void <=> open, open-instant => void",et("400ms cubic-bezier(0.25, 0.8, 0.25, 1)"))])};var lre=new L("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:dre}),i_=new L("MAT_DRAWER_CONTAINER");function dre(){return!1}var _m=(()=>{class t extends ma{constructor(e,i,r,a,o){super(r,a,o),this._changeDetectorRef=e,this._container=i}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(ct(()=>EP)),m($),m(ha),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:4,hostBindings:function(i,r){i&2&&Pt("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[he([{provide:ma,useExisting:t}]),de,ae],ngContentSelectors:vm,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),IP=(()=>{class t{get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==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=ri(e)}get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=ri(e)),this._autoFocus=e}get opened(){return this._opened}set opened(e){this.toggle(ri(e))}constructor(e,i,r,a,o,s,l,h){this._elementRef=e,this._focusTrapFactory=i,this._focusMonitor=r,this._platform=a,this._ngZone=o,this._interactivityChecker=s,this._doc=l,this._container=h,this._focusTrap=null,this._elementFocusedBeforeDrawerWasOpened=null,this._enableAnimations=!1,this._position="start",this._mode="over",this._disableClose=!1,this._opened=!1,this._animationStarted=new U,this._animationEnd=new U,this._animationState="void",this.openedChange=new B(!0),this._openedStream=this.openedChange.pipe(Ve(v=>v),me(()=>{})),this.openedStart=this._animationStarted.pipe(Ve(v=>v.fromState!==v.toState&&v.toState.indexOf("open")===0),Xo(void 0)),this._closedStream=this.openedChange.pipe(Ve(v=>!v),me(()=>{})),this.closedStart=this._animationStarted.pipe(Ve(v=>v.fromState!==v.toState&&v.toState==="void"),Xo(void 0)),this._destroyed=new U,this.onPositionChanged=new B,this._modeChanged=new U,this._injector=z(Le),this._changeDetectorRef=z(pe),this.openedChange.pipe(_e(this._destroyed)).subscribe(v=>{v?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{Zi(this._elementRef.nativeElement,"keydown").pipe(Ve(v=>v.keyCode===27&&!this.disableClose&&!xt(v)),_e(this._destroyed)).subscribe(v=>this._ngZone.run(()=>{this.close(),v.stopPropagation(),v.preventDefault()}))}),this._animationEnd.subscribe(v=>{let{fromState:y,toState:D}=v;(D.indexOf("open")===0&&y==="void"||D==="void"&&y.indexOf("open")===0)&&this.openedChange.emit(this._opened)})}_forceFocus(e,i){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let r=()=>{e.removeEventListener("blur",r),e.removeEventListener("mousedown",r),e.removeAttribute("tabindex")};e.addEventListener("blur",r),e.addEventListener("mousedown",r)})),e.focus(i)}_focusByCssSelector(e,i){let r=this._elementRef.nativeElement.querySelector(e);r&&this._forceFocus(r,i)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Ft(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngAfterContentChecked(){this._platform.isBrowser&&(this._enableAnimations=!0)}ngOnDestroy(){this._focusTrap?.destroy(),this._anchor?.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);let r=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),r}_setOpen(e,i,r){return this._opened=e,e?this._animationState=this._enableAnimations?"open":"open-instant":(this._animationState="void",i&&this._restoreFocus(r)),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(a=>{this.openedChange.pipe(Ue(1)).subscribe(o=>a(o?"open":"close"))})}_getWidth(){return this._elementRef.nativeElement&&this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let i=this._elementRef.nativeElement,r=i.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),r.insertBefore(this._anchor,i)),r.appendChild(i)):this._anchor&&this._anchor.parentNode.insertBefore(i,this._anchor)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(yc),m(Qt),m(ze),m(oe),m(Io),m(Ce,8),m(i_,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer"]],viewQuery:function(i,r){if(i&1&&ue(Jne,5),i&2){let a;G(a=W())&&(r._content=a.first)}},hostAttrs:["tabIndex","-1",1,"mat-drawer"],hostVars:12,hostBindings:function(i,r){i&1&&mc("@transform.start",function(o){return r._animationStarted.next(o)})("@transform.done",function(o){return r._animationEnd.next(o)}),i&2&&(hc("@transform",r._animationState),ie("align",null),re("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.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"],standalone:!0,features:[ae],ngContentSelectors:vm,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Me(),p(0,"div",1,0),se(2),f())},dependencies:[ma],encapsulation:2,data:{animation:[kP.transformDrawer]},changeDetection:0})}}return t})(),EP=(()=>{class t{get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=ri(e)}get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:ri(e)}get scrollable(){return this._userContent||this._content}constructor(e,i,r,a,o,s=!1,l){this._dir=e,this._element=i,this._ngZone=r,this._changeDetectorRef=a,this._animationMode=l,this._drawers=new Pi,this.backdropClick=new B,this._destroyed=new U,this._doCheckSubject=new U,this._contentMargins={left:null,right:null},this._contentMarginChanges=new U,this._injector=z(Le),e&&e.change.pipe(_e(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),o.change().pipe(_e(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._autosize=s}ngAfterContentInit(){this._allDrawers.changes.pipe(Qe(this._allDrawers),_e(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(i=>!i._container||i._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(Qe(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(ia(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,i=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let r=this._left._getWidth();e+=r,i-=r}}if(this._right&&this._right.opened){if(this._right.mode=="side")i+=this._right._getWidth();else if(this._right.mode=="push"){let r=this._right._getWidth();i+=r,e-=r}}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(Ve(i=>i.fromState!==i.toState),_e(this._drawers.changes)).subscribe(i=>{i.toState!=="open-instant"&&this._animationMode!=="NoopAnimations"&&this._element.nativeElement.classList.add("mat-drawer-transition"),this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(_e(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e&&e.onPositionChanged.pipe(_e(this._drawers.changes)).subscribe(()=>{Ft(()=>{this._validateDrawers()},{injector:this._injector,phase:is.Read})})}_watchDrawerMode(e){e&&e._modeChanged.pipe(_e(nt(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let i=this._element.nativeElement.classList,r="mat-drawer-container-has-open";e?i.add(r):i.remove(r)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static{this.\u0275fac=function(i){return new(i||t)(m(Je,8),m($),m(oe),m(pe),m(Ui),m(lre),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-drawer-container"]],contentQueries:function(i,r,a){if(i&1&&(we(a,_m,5),we(a,IP,5)),i&2){let o;G(o=W())&&(r._content=o.first),G(o=W())&&(r._allDrawers=o)}},viewQuery:function(i,r){if(i&1&&ue(_m,5),i&2){let a;G(a=W())&&(r._userContent=a.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-drawer-container-explicit-backdrop",r._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],standalone:!0,features:[he([{provide:i_,useExisting:t}]),ae],ngContentSelectors:tre,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Me(ere),w(0,ire,1,2,"div",0),se(1),se(2,1),w(3,nre,2,0,"mat-drawer-content")),i&2&&(Se(r.hasBackdrop?0:-1),g(3),Se(r._content?-1:3))},dependencies:[_m],styles:['.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-app-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-app-background));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;background-color:var(--mat-sidenav-scrim-color)}.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;color:var(--mat-sidenav-container-text-color, var(--mat-app-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow);background-color:var(--mat-sidenav-container-background-color, var(--mat-app-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));width:var(--mat-sidenav-container-width);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);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-app-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer[style*="visibility: hidden"]{display:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto;-webkit-overflow-scrolling:touch}.mat-sidenav-fixed{position:fixed}'],encapsulation:2,changeDetection:0})}}return t})(),SP=(()=>{class t extends _m{constructor(e,i,r,a,o){super(e,i,r,a,o)}static{this.\u0275fac=function(i){return new(i||t)(m(pe),m(ct(()=>hre)),m($),m(ha),m(oe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],hostVars:4,hostBindings:function(i,r){i&2&&Pt("margin-left",r._container._contentMargins.left,"px")("margin-right",r._container._contentMargins.right,"px")},standalone:!0,features:[he([{provide:ma,useExisting:t}]),de,ae],ngContentSelectors:vm,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),ure=(()=>{class t extends IP{constructor(){super(...arguments),this._fixedInViewport=!1,this._fixedTopGap=0,this._fixedBottomGap=0}get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=ri(e)}get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=di(e)}get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=di(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav"]],hostAttrs:["tabIndex","-1",1,"mat-drawer","mat-sidenav"],hostVars:17,hostBindings:function(i,r){i&2&&(ie("align",null),Pt("top",r.fixedInViewport?r.fixedTopGap:null,"px")("bottom",r.fixedInViewport?r.fixedBottomGap:null,"px"),re("mat-drawer-end",r.position==="end")("mat-drawer-over",r.mode==="over")("mat-drawer-push",r.mode==="push")("mat-drawer-side",r.mode==="side")("mat-drawer-opened",r.opened)("mat-sidenav-fixed",r.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],standalone:!0,features:[de,ae],ngContentSelectors:vm,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(i,r){i&1&&(Me(),p(0,"div",1,0),se(2),f())},dependencies:[ma],encapsulation:2,data:{animation:[kP.transformDrawer]},changeDetection:0})}}return t})(),hre=(()=>{class t extends EP{constructor(){super(...arguments),this._allDrawers=void 0,this._content=void 0}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-sidenav-container"]],contentQueries:function(i,r,a){if(i&1&&(we(a,SP,5),we(a,ure,5)),i&2){let o;G(o=W())&&(r._content=o.first),G(o=W())&&(r._allDrawers=o)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(i,r){i&2&&re("mat-drawer-container-explicit-backdrop",r._backdropOverride)},exportAs:["matSidenavContainer"],standalone:!0,features:[he([{provide:i_,useExisting:t}]),de,ae],ngContentSelectors:are,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(i,r){i&1&&(Me(rre),w(0,ore,1,2,"div",0),se(1),se(2,1),w(3,sre,2,0,"mat-sidenav-content")),i&2&&(Se(r.hasBackdrop?0:-1),g(3),Se(r._content?-1:3))},dependencies:[SP],styles:[cre],encapsulation:2,changeDetection:0})}}return t})(),OP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,_n,_n,fe]})}}return t})();var mre=["switch"],pre=["*"];function fre(t,n){t&1&&(p(0,"span",10),Jt(),p(1,"svg",12),R(2,"path",13),f(),p(3,"svg",14),R(4,"path",15),f()())}var gre=new L("mat-slide-toggle-default-options",{providedIn:"root",factory:()=>({disableToggleValue:!1,hideIcon:!1,disabledInteractive:!1})}),_re={provide:Yi,useExisting:ct(()=>PP),multi:!0},bm=class{constructor(n,e){this.source=n,this.checked=e}},vre=0,PP=(()=>{class t{_createChangeEvent(e){return new bm(this,e)}get buttonId(){return`${this.id||this._uniqueId}-button`}focus(){this._switchElement.nativeElement.focus()}get checked(){return this._checked}set checked(e){this._checked=e,this._changeDetectorRef.markForCheck()}get inputId(){return`${this.id||this._uniqueId}-input`}constructor(e,i,r,a,o,s){this._elementRef=e,this._focusMonitor=i,this._changeDetectorRef=r,this.defaults=o,this._onChange=l=>{},this._onTouched=()=>{},this._validatorOnChange=()=>{},this._checked=!1,this.name=null,this.labelPosition="after",this.ariaLabel=null,this.ariaLabelledby=null,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.change=new B,this.toggleChange=new B,this.tabIndex=parseInt(a)||0,this.color=o.color||"accent",this._noopAnimations=s==="NoopAnimations",this.id=this._uniqueId=`mat-mdc-slide-toggle-${++vre}`,this.hideIcon=o.hideIcon??!1,this.disabledInteractive=o.disabledInteractive??!1,this._labelId=this._uniqueId+"-label"}ngAfterContentInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{e==="keyboard"||e==="program"?(this._focused=!0,this._changeDetectorRef.markForCheck()):e||Promise.resolve().then(()=>{this._focused=!1,this._onTouched(),this._changeDetectorRef.markForCheck()})})}ngOnChanges(e){e.required&&this._validatorOnChange()}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef)}writeValue(e){this.checked=!!e}registerOnChange(e){this._onChange=e}registerOnTouched(e){this._onTouched=e}validate(e){return this.required&&e.value!==!0?{required:!0}:null}registerOnValidatorChange(e){this._validatorOnChange=e}setDisabledState(e){this.disabled=e,this._changeDetectorRef.markForCheck()}toggle(){this.checked=!this.checked,this._onChange(this.checked)}_emitChangeEvent(){this._onChange(this.checked),this.change.emit(this._createChangeEvent(this.checked))}_handleClick(){this.disabled||(this.toggleChange.emit(),this.defaults.disableToggleValue||(this.checked=!this.checked,this._onChange(this.checked),this.change.emit(new bm(this,this.checked))))}_getAriaLabelledBy(){return this.ariaLabelledby?this.ariaLabelledby:this.ariaLabel?null:this._labelId}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Qt),m(pe),Gt("tabindex"),m(gre),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-slide-toggle"]],viewQuery:function(i,r){if(i&1&&ue(mre,5),i&2){let a;G(a=W())&&(r._switchElement=a.first)}},hostAttrs:[1,"mat-mdc-slide-toggle"],hostVars:13,hostBindings:function(i,r){i&2&&(jt("id",r.id),ie("tabindex",null)("aria-label",null)("name",null)("aria-labelledby",null),Lt(r.color?"mat-"+r.color:""),re("mat-mdc-slide-toggle-focused",r._focused)("mat-mdc-slide-toggle-checked",r.checked)("_mat-animation-noopable",r._noopAnimations))},inputs:{name:"name",id:"id",labelPosition:"labelPosition",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],ariaDescribedby:[0,"aria-describedby","ariaDescribedby"],required:[2,"required","required",q],color:"color",disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],checked:[2,"checked","checked",q],hideIcon:[2,"hideIcon","hideIcon",q],disabledInteractive:[2,"disabledInteractive","disabledInteractive",q]},outputs:{change:"change",toggleChange:"toggleChange"},exportAs:["matSlideToggle"],standalone:!0,features:[he([_re,{provide:un,useExisting:t,multi:!0}]),ye,Te,ae],ngContentSelectors:pre,decls:13,vars:27,consts:[["switch",""],["mat-internal-form-field","",3,"labelPosition"],["role","switch","type","button",1,"mdc-switch",3,"click","tabIndex","disabled"],[1,"mdc-switch__track"],[1,"mdc-switch__handle-track"],[1,"mdc-switch__handle"],[1,"mdc-switch__shadow"],[1,"mdc-elevation-overlay"],[1,"mdc-switch__ripple"],["mat-ripple","",1,"mat-mdc-slide-toggle-ripple","mat-mdc-focus-indicator",3,"matRippleTrigger","matRippleDisabled","matRippleCentered"],[1,"mdc-switch__icons"],[1,"mdc-label",3,"click","for"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--on"],["d","M19.69,5.23L8.96,15.96l-4.23-4.23L2.96,13.5l6,6L21.46,7L19.69,5.23z"],["viewBox","0 0 24 24","aria-hidden","true",1,"mdc-switch__icon","mdc-switch__icon--off"],["d","M20 13H4v-2h16v2z"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",1)(1,"button",2,0),H("click",function(){return F(a),j(r._handleClick())}),R(3,"span",3),p(4,"span",4)(5,"span",5)(6,"span",6),R(7,"span",7),f(),p(8,"span",8),R(9,"span",9),f(),w(10,fre,5,0,"span",10),f()()(),p(11,"label",11),H("click",function(s){return F(a),j(s.stopPropagation())}),se(12),f()()}if(i&2){let a=Ct(2);C("labelPosition",r.labelPosition),g(),re("mdc-switch--selected",r.checked)("mdc-switch--unselected",!r.checked)("mdc-switch--checked",r.checked)("mdc-switch--disabled",r.disabled)("mat-mdc-slide-toggle-disabled-interactive",r.disabledInteractive),C("tabIndex",r.disabled&&!r.disabledInteractive?-1:r.tabIndex)("disabled",r.disabled&&!r.disabledInteractive),ie("id",r.buttonId)("name",r.name)("aria-label",r.ariaLabel)("aria-labelledby",r._getAriaLabelledBy())("aria-describedby",r.ariaDescribedby)("aria-required",r.required||null)("aria-checked",r.checked)("aria-disabled",r.disabled&&r.disabledInteractive?"true":null),g(8),C("matRippleTrigger",a)("matRippleDisabled",r.disableRipple||r.disabled)("matRippleCentered",!0),g(),Se(r.hideIcon?-1:10),g(),C("for",r.buttonId),ie("id",r._labelId)}},dependencies:[Ai,n2],styles:['.mdc-switch{align-items:center;background:none;border:none;cursor:pointer;display:inline-flex;flex-shrink:0;margin:0;outline:none;overflow:visible;padding:0;position:relative;width:var(--mdc-switch-track-width)}.mdc-switch.mdc-switch--disabled{cursor:default;pointer-events:none}.mdc-switch.mat-mdc-slide-toggle-disabled-interactive{pointer-events:auto}.mdc-switch__track{overflow:hidden;position:relative;width:100%;height:var(--mdc-switch-track-height);border-radius:var(--mdc-switch-track-shape, var(--mat-app-corner-full))}.mdc-switch--disabled.mdc-switch .mdc-switch__track{opacity:var(--mdc-switch-disabled-track-opacity)}.mdc-switch__track::before,.mdc-switch__track::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";height:100%;left:0;position:absolute;width:100%;border-width:var(--mat-switch-track-outline-width);border-color:var(--mat-switch-track-outline-color, var(--mat-app-outline))}.cdk-high-contrast-active .mdc-switch__track::before,.cdk-high-contrast-active .mdc-switch__track::after{border-color:currentColor}.mdc-switch--selected .mdc-switch__track::before,.mdc-switch--selected .mdc-switch__track::after{border-width:var(--mat-switch-selected-track-outline-width);border-color:var(--mat-switch-selected-track-outline-color)}.mdc-switch--disabled .mdc-switch__track::before,.mdc-switch--disabled .mdc-switch__track::after{border-width:var(--mat-switch-disabled-unselected-track-outline-width);border-color:var(--mat-switch-disabled-unselected-track-outline-color, var(--mat-app-on-surface))}.mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0, 0, 0.2, 1);transform:translateX(0);background:var(--mdc-switch-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__track::before{transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.6, 1);transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch--selected .mdc-switch__track::before{transform:translateX(-100%)}.mdc-switch--selected .mdc-switch__track::before{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch--unselected .mdc-switch__track::before{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-hover-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::before{background:var(--mdc-switch-unselected-focus-track-color, var(--mat-app-surface-variant))}.mdc-switch:enabled:active .mdc-switch__track::before{background:var(--mdc-switch-unselected-pressed-track-color, var(--mat-app-surface-variant))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::before,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::before,.mdc-switch.mdc-switch--disabled .mdc-switch__track::before{background:var(--mdc-switch-disabled-unselected-track-color, var(--mat-app-surface-variant))}.mdc-switch__track::after{transform:translateX(-100%);background:var(--mdc-switch-selected-track-color, var(--mat-app-primary))}[dir=rtl] .mdc-switch__track::after{transform:translateX(100%)}.mdc-switch--selected .mdc-switch__track::after{transform:translateX(0)}.mdc-switch--selected .mdc-switch__track::after{opacity:var(--mat-switch-visible-track-opacity);transition:var(--mat-switch-visible-track-transition)}.mdc-switch--unselected .mdc-switch__track::after{opacity:var(--mat-switch-hidden-track-opacity);transition:var(--mat-switch-hidden-track-transition)}.mdc-switch:enabled:hover:not(:focus):not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-hover-track-color, var(--mat-app-primary))}.mdc-switch:enabled:focus:not(:active) .mdc-switch__track::after{background:var(--mdc-switch-selected-focus-track-color, var(--mat-app-primary))}.mdc-switch:enabled:active .mdc-switch__track::after{background:var(--mdc-switch-selected-pressed-track-color, var(--mat-app-primary))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__track::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__track::after,.mdc-switch.mdc-switch--disabled .mdc-switch__track::after{background:var(--mdc-switch-disabled-selected-track-color, var(--mat-app-on-surface))}.mdc-switch__handle-track{height:100%;pointer-events:none;position:absolute;top:0;transition:transform 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);left:0;right:auto;transform:translateX(0);width:calc(100% - var(--mdc-switch-handle-width))}[dir=rtl] .mdc-switch__handle-track{left:auto;right:0}.mdc-switch--selected .mdc-switch__handle-track{transform:translateX(100%)}[dir=rtl] .mdc-switch--selected .mdc-switch__handle-track{transform:translateX(-100%)}.mdc-switch__handle{display:flex;pointer-events:auto;position:absolute;top:50%;transform:translateY(-50%);left:0;right:auto;transition:width 75ms cubic-bezier(0.4, 0, 0.2, 1),height 75ms cubic-bezier(0.4, 0, 0.2, 1),margin 75ms cubic-bezier(0.4, 0, 0.2, 1);width:var(--mdc-switch-handle-width);height:var(--mdc-switch-handle-height);border-radius:var(--mdc-switch-handle-shape, var(--mat-app-corner-full))}[dir=rtl] .mdc-switch__handle{left:auto;right:0}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle{width:var(--mat-switch-unselected-handle-size);height:var(--mat-switch-unselected-handle-size);margin:var(--mat-switch-unselected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-unselected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle{width:var(--mat-switch-selected-handle-size);height:var(--mat-switch-selected-handle-size);margin:var(--mat-switch-selected-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--selected .mdc-switch__handle:has(.mdc-switch__icons){margin:var(--mat-switch-selected-with-icon-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch__handle:has(.mdc-switch__icons){width:var(--mat-switch-with-icon-handle-size);height:var(--mat-switch-with-icon-handle-size)}.mat-mdc-slide-toggle .mdc-switch:active:not(.mdc-switch--disabled) .mdc-switch__handle{width:var(--mat-switch-pressed-handle-size);height:var(--mat-switch-pressed-handle-size)}.mat-mdc-slide-toggle .mdc-switch--selected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-selected-pressed-handle-horizontal-margin)}.mat-mdc-slide-toggle .mdc-switch--unselected:active:not(.mdc-switch--disabled) .mdc-switch__handle{margin:var(--mat-switch-unselected-pressed-handle-horizontal-margin)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-selected-handle-opacity)}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__handle::after{opacity:var(--mat-switch-disabled-unselected-handle-opacity)}.mdc-switch__handle::before,.mdc-switch__handle::after{border:1px solid rgba(0,0,0,0);border-radius:inherit;box-sizing:border-box;content:"";width:100%;height:100%;left:0;position:absolute;top:0;transition:background-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1),border-color 75ms 0ms cubic-bezier(0.4, 0, 0.2, 1);z-index:-1}.cdk-high-contrast-active .mdc-switch__handle::before,.cdk-high-contrast-active .mdc-switch__handle::after{border-color:currentColor}.mdc-switch--selected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-selected-handle-color, var(--mat-app-on-primary))}.mdc-switch--selected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-hover-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-selected-focus-handle-color, var(--mat-app-primary-container))}.mdc-switch--selected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-selected-pressed-handle-color, var(--mat-app-primary-container))}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:hover:not(:focus):not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:focus:not(:active) .mdc-switch__handle::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled.mdc-switch--selected:active .mdc-switch__handle::after,.mdc-switch--selected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-selected-handle-color, var(--mat-app-surface))}.mdc-switch--unselected:enabled .mdc-switch__handle::after{background:var(--mdc-switch-unselected-handle-color, var(--mat-app-outline))}.mdc-switch--unselected:enabled:hover:not(:focus):not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-hover-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:focus:not(:active) .mdc-switch__handle::after{background:var(--mdc-switch-unselected-focus-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected:enabled:active .mdc-switch__handle::after{background:var(--mdc-switch-unselected-pressed-handle-color, var(--mat-app-on-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__handle::after{background:var(--mdc-switch-disabled-unselected-handle-color, var(--mat-app-on-surface))}.mdc-switch__handle::before{background:var(--mdc-switch-handle-surface-color)}.mdc-switch__shadow{border-radius:inherit;bottom:0;left:0;position:absolute;right:0;top:0}.mdc-switch:enabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-handle-elevation-shadow)}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:hover:not(:focus):not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:focus:not(:active) .mdc-switch__shadow,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:active .mdc-switch__shadow,.mdc-switch.mdc-switch--disabled .mdc-switch__shadow{box-shadow:var(--mdc-switch-disabled-handle-elevation-shadow)}.mdc-switch__ripple{left:50%;position:absolute;top:50%;transform:translate(-50%, -50%);z-index:-1;width:var(--mdc-switch-state-layer-size);height:var(--mdc-switch-state-layer-size)}.mdc-switch__ripple::after{content:"";opacity:0}.mdc-switch--disabled .mdc-switch__ripple::after{display:none}.mat-mdc-slide-toggle-disabled-interactive .mdc-switch__ripple::after{display:block}.mdc-switch:hover .mdc-switch__ripple::after{opacity:.04;transition:75ms opacity cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mdc-switch .mdc-switch__ripple::after{opacity:.12}.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:focus .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:active .mdc-switch__ripple::after,.mat-mdc-slide-toggle-disabled-interactive.mdc-switch--disabled:enabled:hover:not(:focus) .mdc-switch__ripple::after,.mdc-switch--unselected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-hover-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-focus-state-layer-color, var(--mat-app-on-surface))}.mdc-switch--unselected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-unselected-pressed-state-layer-color, var(--mat-app-on-surface));opacity:var(--mdc-switch-unselected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch--selected:enabled:hover:not(:focus) .mdc-switch__ripple::after{background:var(--mdc-switch-selected-hover-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:focus .mdc-switch__ripple::after{background:var(--mdc-switch-selected-focus-state-layer-color, var(--mat-app-primary))}.mdc-switch--selected:enabled:active .mdc-switch__ripple::after{background:var(--mdc-switch-selected-pressed-state-layer-color, var(--mat-app-primary));opacity:var(--mdc-switch-selected-pressed-state-layer-opacity, var(--mat-app-pressed-state-layer-opacity));transition:opacity 75ms linear}.mdc-switch__icons{position:relative;height:100%;width:100%;z-index:1}.mdc-switch--disabled.mdc-switch--unselected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-unselected-icon-opacity)}.mdc-switch--disabled.mdc-switch--selected .mdc-switch__icons{opacity:var(--mdc-switch-disabled-selected-icon-opacity)}.mdc-switch__icon{bottom:0;left:0;margin:auto;position:absolute;right:0;top:0;opacity:0;transition:opacity 30ms 0ms cubic-bezier(0.4, 0, 1, 1)}.mdc-switch--unselected .mdc-switch__icon{width:var(--mdc-switch-unselected-icon-size);height:var(--mdc-switch-unselected-icon-size);fill:var(--mdc-switch-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--unselected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-unselected-icon-color, var(--mat-app-surface-variant))}.mdc-switch--selected .mdc-switch__icon{width:var(--mdc-switch-selected-icon-size);height:var(--mdc-switch-selected-icon-size);fill:var(--mdc-switch-selected-icon-color, var(--mat-app-on-primary-container))}.mdc-switch--selected.mdc-switch--disabled .mdc-switch__icon{fill:var(--mdc-switch-disabled-selected-icon-color, var(--mat-app-on-surface))}.mdc-switch--selected .mdc-switch__icon--on,.mdc-switch--unselected .mdc-switch__icon--off{opacity:1;transition:opacity 45ms 30ms cubic-bezier(0, 0, 0.2, 1)}.mat-mdc-slide-toggle{-webkit-user-select:none;user-select:none;display:inline-block;-webkit-tap-highlight-color:rgba(0,0,0,0);outline:0}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple,.mat-mdc-slide-toggle .mdc-switch__ripple::after{top:0;left:0;right:0;bottom:0;position:absolute;border-radius:50%;pointer-events:none}.mat-mdc-slide-toggle .mat-mdc-slide-toggle-ripple:not(:empty),.mat-mdc-slide-toggle .mdc-switch__ripple::after:not(:empty){transform:translateZ(0)}.mat-mdc-slide-toggle.mat-mdc-slide-toggle-focused .mat-mdc-focus-indicator::before{content:""}.mat-mdc-slide-toggle .mat-internal-form-field{color:var(--mat-switch-label-text-color, var(--mat-app-on-surface));font-family:var(--mat-switch-label-text-font, var(--mat-app-body-medium-font));line-height:var(--mat-switch-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-switch-label-text-size, var(--mat-app-body-medium-size));letter-spacing:var(--mat-switch-label-text-tracking, var(--mat-app-body-medium-tracking));font-weight:var(--mat-switch-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-slide-toggle .mat-ripple-element{opacity:.12}.mat-mdc-slide-toggle .mat-mdc-focus-indicator::before{border-radius:50%}.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle-track,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__icon,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__handle::after,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::before,.mat-mdc-slide-toggle._mat-animation-noopable .mdc-switch__track::after{transition:none}.mat-mdc-slide-toggle .mdc-switch:enabled+.mdc-label{cursor:pointer}.mat-mdc-slide-toggle .mdc-switch--disabled+label{color:var(--mdc-switch-disabled-label-text-color)}'],encapsulation:2,changeDetection:0})}}return t})();var TP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[PP,fe,fe]})}}return t})();var VP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,gn]})}}return t})();function bre(t,n){if(t&1){let e=le();p(0,"div",1)(1,"button",2),H("click",function(){F(e);let r=M();return j(r.action())}),d(2),f()()}if(t&2){let e=M();g(2),ne(" ",e.data.action," ")}}var yre=["label"];function Cre(t,n){}var xre=Math.pow(2,31)-1,d4=class{constructor(n,e){this._overlayRef=e,this._afterDismissed=new U,this._afterOpened=new U,this._onAction=new U,this._dismissedByAction=!1,this.containerInstance=n,n._onExit.subscribe(()=>this._finishDismiss())}dismiss(){this._afterDismissed.closed||this.containerInstance.exit(),clearTimeout(this._durationTimeoutId)}dismissWithAction(){this._onAction.closed||(this._dismissedByAction=!0,this._onAction.next(),this._onAction.complete(),this.dismiss()),clearTimeout(this._durationTimeoutId)}closeWithAction(){this.dismissWithAction()}_dismissAfter(n){this._durationTimeoutId=setTimeout(()=>this.dismiss(),Math.min(n,xre))}_open(){this._afterOpened.closed||(this._afterOpened.next(),this._afterOpened.complete())}_finishDismiss(){this._overlayRef.dispose(),this._onAction.closed||this._onAction.complete(),this._afterDismissed.next({dismissedByAction:this._dismissedByAction}),this._afterDismissed.complete(),this._dismissedByAction=!1}afterDismissed(){return this._afterDismissed}afterOpened(){return this.containerInstance._onEnter}onAction(){return this._onAction}},AP=new L("MatSnackBarData"),L2=class{constructor(){this.politeness="assertive",this.announcementMessage="",this.duration=0,this.data=null,this.horizontalPosition="center",this.verticalPosition="bottom"}},Mre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarLabel",""]],hostAttrs:[1,"mat-mdc-snack-bar-label","mdc-snackbar__label"],standalone:!0})}}return t})(),wre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarActions",""]],hostAttrs:[1,"mat-mdc-snack-bar-actions","mdc-snackbar__actions"],standalone:!0})}}return t})(),Dre=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["","matSnackBarAction",""]],hostAttrs:[1,"mat-mdc-snack-bar-action","mdc-snackbar__action"],standalone:!0})}}return t})(),zP=(()=>{class t{constructor(e,i){this.snackBarRef=e,this.data=i}action(){this.snackBarRef.dismissWithAction()}get hasAction(){return!!this.data.action}static{this.\u0275fac=function(i){return new(i||t)(m(d4),m(AP))}}static{this.\u0275cmp=A({type:t,selectors:[["simple-snack-bar"]],hostAttrs:[1,"mat-mdc-simple-snack-bar"],exportAs:["matSnackBar"],standalone:!0,features:[ae],decls:3,vars:2,consts:[["matSnackBarLabel",""],["matSnackBarActions",""],["mat-button","","matSnackBarAction","",3,"click"]],template:function(i,r){i&1&&(p(0,"div",0),d(1),f(),w(2,bre,3,1,"div",1)),i&2&&(g(),ne(" ",r.data.message,`
-`),g(),Se(r.hasAction?2:-1))},dependencies:[lt,Mre,wre,Dre],styles:[".mat-mdc-simple-snack-bar{display:flex}"],encapsulation:2,changeDetection:0})}}return t})(),Sre={snackBarState:kt("state",[tt("void, hidden",De({transform:"scale(0.8)",opacity:0})),tt("visible",De({transform:"scale(1)",opacity:1})),Ze("* => visible",et("150ms cubic-bezier(0, 0, 0.2, 1)")),Ze("* => void, * => hidden",et("75ms cubic-bezier(0.4, 0.0, 1, 1)",De({opacity:0})))])},kre=0,Ire=(()=>{class t extends Es{constructor(e,i,r,a,o){super(),this._ngZone=e,this._elementRef=i,this._changeDetectorRef=r,this._platform=a,this.snackBarConfig=o,this._document=z(Ce),this._trackedModals=new Set,this._announceDelay=150,this._destroyed=!1,this._onAnnounce=new U,this._onExit=new U,this._onEnter=new U,this._animationState="void",this._liveElementId=`mat-snack-bar-container-live-${kre++}`,this.attachDomPortal=s=>{this._assertNotAttached();let l=this._portalOutlet.attachDomPortal(s);return this._afterPortalAttached(),l},o.politeness==="assertive"&&!o.announcementMessage?this._live="assertive":o.politeness==="off"?this._live="off":this._live="polite",this._platform.FIREFOX&&(this._live==="polite"&&(this._role="status"),this._live==="assertive"&&(this._role="alert"))}attachComponentPortal(e){this._assertNotAttached();let i=this._portalOutlet.attachComponentPortal(e);return this._afterPortalAttached(),i}attachTemplatePortal(e){this._assertNotAttached();let i=this._portalOutlet.attachTemplatePortal(e);return this._afterPortalAttached(),i}onAnimationEnd(e){let{fromState:i,toState:r}=e;if((r==="void"&&i!=="void"||r==="hidden")&&this._completeExit(),r==="visible"){let a=this._onEnter;this._ngZone.run(()=>{a.next(),a.complete()})}}enter(){this._destroyed||(this._animationState="visible",this._changeDetectorRef.markForCheck(),this._changeDetectorRef.detectChanges(),this._screenReaderAnnounce())}exit(){return this._ngZone.run(()=>{this._animationState="hidden",this._changeDetectorRef.markForCheck(),this._elementRef.nativeElement.setAttribute("mat-exit",""),clearTimeout(this._announceTimeoutId)}),this._onExit}ngOnDestroy(){this._destroyed=!0,this._clearFromModals(),this._completeExit()}_completeExit(){queueMicrotask(()=>{this._onExit.next(),this._onExit.complete()})}_afterPortalAttached(){let e=this._elementRef.nativeElement,i=this.snackBarConfig.panelClass;i&&(Array.isArray(i)?i.forEach(o=>e.classList.add(o)):e.classList.add(i)),this._exposeToModals();let r=this._label.nativeElement,a="mdc-snackbar__label";r.classList.toggle(a,!r.querySelector(`.${a}`))}_exposeToModals(){let e=this._liveElementId,i=this._document.querySelectorAll('body > .cdk-overlay-container [aria-modal="true"]');for(let r=0;r{let i=e.getAttribute("aria-owns");if(i){let r=i.replace(this._liveElementId,"").trim();r.length>0?e.setAttribute("aria-owns",r):e.removeAttribute("aria-owns")}}),this._trackedModals.clear()}_assertNotAttached(){this._portalOutlet.hasAttached()}_screenReaderAnnounce(){this._announceTimeoutId||this._ngZone.runOutsideAngular(()=>{this._announceTimeoutId=setTimeout(()=>{let e=this._elementRef.nativeElement.querySelector("[aria-hidden]"),i=this._elementRef.nativeElement.querySelector("[aria-live]");if(e&&i){let r=null;this._platform.isBrowser&&document.activeElement instanceof HTMLElement&&e.contains(document.activeElement)&&(r=document.activeElement),e.removeAttribute("aria-hidden"),i.appendChild(e),r?.focus(),this._onAnnounce.next(),this._onAnnounce.complete()}},this._announceDelay)})}static{this.\u0275fac=function(i){return new(i||t)(m(oe),m($),m(pe),m(ze),m(L2))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-snack-bar-container"]],viewQuery:function(i,r){if(i&1&&(ue(Qi,7),ue(yre,7)),i&2){let a;G(a=W())&&(r._portalOutlet=a.first),G(a=W())&&(r._label=a.first)}},hostAttrs:[1,"mdc-snackbar","mat-mdc-snack-bar-container"],hostVars:1,hostBindings:function(i,r){i&1&&mc("@state.done",function(o){return r.onAnimationEnd(o)}),i&2&&hc("@state",r._animationState)},standalone:!0,features:[de,ae],decls:6,vars:3,consts:[["label",""],[1,"mdc-snackbar__surface","mat-mdc-snackbar-surface"],[1,"mat-mdc-snack-bar-label"],["aria-hidden","true"],["cdkPortalOutlet",""]],template:function(i,r){i&1&&(p(0,"div",1)(1,"div",2,0)(3,"div",3),w(4,Cre,0,0,"ng-template",4),f(),R(5,"div"),f()()),i&2&&(g(5),ie("aria-live",r._live)("role",r._role)("id",r._liveElementId))},dependencies:[Qi],styles:[".mat-mdc-snack-bar-container{display:flex;align-items:center;justify-content:center;box-sizing:border-box;-webkit-tap-highlight-color:rgba(0,0,0,0);margin:8px}.mat-mdc-snack-bar-handset .mat-mdc-snack-bar-container{width:100vw}.mat-mdc-snackbar-surface{box-shadow:0px 3px 5px -1px rgba(0, 0, 0, 0.2), 0px 6px 10px 0px rgba(0, 0, 0, 0.14), 0px 1px 18px 0px rgba(0, 0, 0, 0.12);display:flex;align-items:center;justify-content:flex-start;box-sizing:border-box;padding-left:0;padding-right:8px}[dir=rtl] .mat-mdc-snackbar-surface{padding-right:0;padding-left:8px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{min-width:344px;max-width:672px}.mat-mdc-snack-bar-handset .mat-mdc-snackbar-surface{width:100%;min-width:0}.cdk-high-contrast-active .mat-mdc-snackbar-surface{outline:solid 1px}.mat-mdc-snack-bar-container .mat-mdc-snackbar-surface{color:var(--mdc-snackbar-supporting-text-color, var(--mat-app-inverse-on-surface));border-radius:var(--mdc-snackbar-container-shape, var(--mat-app-corner-extra-small));background-color:var(--mdc-snackbar-container-color, var(--mat-app-inverse-surface))}.mdc-snackbar__label{width:100%;flex-grow:1;box-sizing:border-box;margin:0;padding:14px 8px 14px 16px}[dir=rtl] .mdc-snackbar__label{padding-left:8px;padding-right:16px}.mat-mdc-snack-bar-container .mdc-snackbar__label{font-family:var(--mdc-snackbar-supporting-text-font, var(--mat-app-body-medium-font));font-size:var(--mdc-snackbar-supporting-text-size, var(--mat-app-body-medium-size));font-weight:var(--mdc-snackbar-supporting-text-weight, var(--mat-app-body-medium-weight));line-height:var(--mdc-snackbar-supporting-text-line-height, var(--mat-app-body-medium-line-height))}.mat-mdc-snack-bar-actions{display:flex;flex-shrink:0;align-items:center;box-sizing:border-box}.mat-mdc-snack-bar-handset,.mat-mdc-snack-bar-container,.mat-mdc-snack-bar-label{flex:1 1 auto}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled){--mat-text-button-state-layer-color:currentColor;--mat-text-button-ripple-color:currentColor}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled).mat-unthemed{color:var(--mat-snack-bar-button-color, var(--mat-app-inverse-primary))}.mat-mdc-snack-bar-container .mat-mdc-button.mat-mdc-snack-bar-action:not(:disabled) .mat-ripple-element{opacity:.1}"],encapsulation:2,data:{animation:[Sre.snackBarState]}})}}return t})();function Ere(){return new L2}var Ore=new L("mat-snack-bar-default-options",{providedIn:"root",factory:Ere}),Pre=(()=>{class t{get _openedSnackBarRef(){let e=this._parentSnackBar;return e?e._openedSnackBarRef:this._snackBarRefAtThisLevel}set _openedSnackBarRef(e){this._parentSnackBar?this._parentSnackBar._openedSnackBarRef=e:this._snackBarRefAtThisLevel=e}constructor(e,i,r,a,o,s){this._overlay=e,this._live=i,this._injector=r,this._breakpointObserver=a,this._parentSnackBar=o,this._defaultConfig=s,this._snackBarRefAtThisLevel=null,this.simpleSnackBarComponent=zP,this.snackBarContainerComponent=Ire,this.handsetCssClass="mat-mdc-snack-bar-handset"}openFromComponent(e,i){return this._attach(e,i)}openFromTemplate(e,i){return this._attach(e,i)}open(e,i="",r){let a=Y(Y({},this._defaultConfig),r);return a.data={message:e,action:i},a.announcementMessage===e&&(a.announcementMessage=void 0),this.openFromComponent(this.simpleSnackBarComponent,a)}dismiss(){this._openedSnackBarRef&&this._openedSnackBarRef.dismiss()}ngOnDestroy(){this._snackBarRefAtThisLevel&&this._snackBarRefAtThisLevel.dismiss()}_attachSnackBarContainer(e,i){let r=i&&i.viewContainerRef&&i.viewContainerRef.injector,a=Le.create({parent:r||this._injector,providers:[{provide:L2,useValue:i}]}),o=new hr(this.snackBarContainerComponent,i.viewContainerRef,a),s=e.attach(o);return s.instance.snackBarConfig=i,s.instance}_attach(e,i){let r=Y(Y(Y({},new L2),this._defaultConfig),i),a=this._createOverlay(r),o=this._attachSnackBarContainer(a,r),s=new d4(o,a);if(e instanceof $e){let l=new zi(e,null,{$implicit:r.data,snackBarRef:s});s.instance=o.attachTemplatePortal(l)}else{let l=this._createInjector(r,s),h=new hr(e,void 0,l),v=o.attachComponentPortal(h);s.instance=v.instance}return this._breakpointObserver.observe(Zu.HandsetPortrait).pipe(_e(a.detachments())).subscribe(l=>{a.overlayElement.classList.toggle(this.handsetCssClass,l.matches)}),r.announcementMessage&&o._onAnnounce.subscribe(()=>{this._live.announce(r.announcementMessage,r.politeness)}),this._animateSnackBar(s,r),this._openedSnackBarRef=s,this._openedSnackBarRef}_animateSnackBar(e,i){e.afterDismissed().subscribe(()=>{this._openedSnackBarRef==e&&(this._openedSnackBarRef=null),i.announcementMessage&&this._live.clear()}),this._openedSnackBarRef?(this._openedSnackBarRef.afterDismissed().subscribe(()=>{e.containerInstance.enter()}),this._openedSnackBarRef.dismiss()):e.containerInstance.enter(),i.duration&&i.duration>0&&e.afterOpened().subscribe(()=>e._dismissAfter(i.duration))}_createOverlay(e){let i=new mr;i.direction=e.direction;let r=this._overlay.position().global(),a=e.direction==="rtl",o=e.horizontalPosition==="left"||e.horizontalPosition==="start"&&!a||e.horizontalPosition==="end"&&a,s=!o&&e.horizontalPosition!=="center";return o?r.left("0"):s?r.right("0"):r.centerHorizontally(),e.verticalPosition==="top"?r.top("0"):r.bottom("0"),i.positionStrategy=r,this._overlay.create(i)}_createInjector(e,i){let r=e&&e.viewContainerRef&&e.viewContainerRef.injector;return Le.create({parent:r||this._injector,providers:[{provide:d4,useValue:i},{provide:AP,useValue:e.data}]})}static{this.\u0275fac=function(i){return new(i||t)(k(vt),k(rh),k(Le),k(Ql),k(t,12),k(Ore))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var LP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Pre],imports:[Pn,$n,Ga,fe,zP,fe]})}}return t})();var Tre=["mat-sort-header",""],Vre=["*"];function Are(t,n){if(t&1){let e=le();p(0,"div",2),H("@arrowPosition.start",function(){F(e);let r=M();return j(r._disableViewStateAnimation=!0)})("@arrowPosition.done",function(){F(e);let r=M();return j(r._disableViewStateAnimation=!1)}),R(1,"div",3),p(2,"div",4),R(3,"div",5)(4,"div",6)(5,"div",7),f()()}if(t&2){let e=M();C("@arrowOpacity",e._getArrowViewState())("@arrowPosition",e._getArrowViewState())("@allowChildren",e._getArrowDirectionState()),g(2),C("@indicator",e._getArrowDirectionState()),g(),C("@leftPointer",e._getArrowDirectionState()),g(),C("@rightPointer",e._getArrowDirectionState())}}var HP=new L("MAT_SORT_DEFAULT_OPTIONS"),Bo=(()=>{class t{get direction(){return this._direction}set direction(e){this._direction=e}constructor(e){this._defaultOptions=e,this._initializedStream=new ea(1),this.sortables=new Map,this._stateChanges=new U,this.start="asc",this._direction="",this.disabled=!1,this.sortChange=new B,this.initialized=this._initializedStream}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){if(!e)return"";let i=e?.disableClear??this.disableClear??!!this._defaultOptions?.disableClear,r=zre(e.start||this.start,i),a=r.indexOf(this.direction)+1;return a>=r.length&&(a=0),r[a]}ngOnInit(){this._initializedStream.next()}ngOnChanges(){this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete(),this._initializedStream.complete()}static{this.\u0275fac=function(i){return new(i||t)(m(HP,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matSort",""]],hostAttrs:[1,"mat-sort"],inputs:{active:[0,"matSortActive","active"],start:[0,"matSortStart","start"],direction:[0,"matSortDirection","direction"],disableClear:[2,"matSortDisableClear","disableClear",q],disabled:[2,"matSortDisabled","disabled",q]},outputs:{sortChange:"matSortChange"},exportAs:["matSort"],standalone:!0,features:[ye,Te]})}}return t})();function zre(t,n){let e=["asc","desc"];return t=="desc"&&e.reverse(),n||e.push(""),e}var Fs=kw.ENTERING+" "+Sw.STANDARD_CURVE,H2={indicator:kt("indicator",[tt("active-asc, asc",De({transform:"translateY(0px)"})),tt("active-desc, desc",De({transform:"translateY(10px)"})),Ze("active-asc <=> active-desc",et(Fs))]),leftPointer:kt("leftPointer",[tt("active-asc, asc",De({transform:"rotate(-45deg)"})),tt("active-desc, desc",De({transform:"rotate(45deg)"})),Ze("active-asc <=> active-desc",et(Fs))]),rightPointer:kt("rightPointer",[tt("active-asc, asc",De({transform:"rotate(45deg)"})),tt("active-desc, desc",De({transform:"rotate(-45deg)"})),Ze("active-asc <=> active-desc",et(Fs))]),arrowOpacity:kt("arrowOpacity",[tt("desc-to-active, asc-to-active, active",De({opacity:1})),tt("desc-to-hint, asc-to-hint, hint",De({opacity:.54})),tt("hint-to-desc, active-to-desc, desc, hint-to-asc, active-to-asc, asc, void",De({opacity:0})),Ze("* => asc, * => desc, * => active, * => hint, * => void",et("0ms")),Ze("* <=> *",et(Fs))]),arrowPosition:kt("arrowPosition",[Ze("* => desc-to-hint, * => desc-to-active",et(Fs,Os([De({transform:"translateY(-25%)"}),De({transform:"translateY(0)"})]))),Ze("* => hint-to-desc, * => active-to-desc",et(Fs,Os([De({transform:"translateY(0)"}),De({transform:"translateY(25%)"})]))),Ze("* => asc-to-hint, * => asc-to-active",et(Fs,Os([De({transform:"translateY(25%)"}),De({transform:"translateY(0)"})]))),Ze("* => hint-to-asc, * => active-to-asc",et(Fs,Os([De({transform:"translateY(0)"}),De({transform:"translateY(-25%)"})]))),tt("desc-to-hint, asc-to-hint, hint, desc-to-active, asc-to-active, active",De({transform:"translateY(0)"})),tt("hint-to-desc, active-to-desc, desc",De({transform:"translateY(-25%)"})),tt("hint-to-asc, active-to-asc, asc",De({transform:"translateY(25%)"}))]),allowChildren:kt("allowChildren",[Ze("* <=> *",[kc("@*",Sc(),{optional:!0})])])},ym=(()=>{class t{constructor(){this.changes=new U}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Lre(t){return t||new ym}var Hre={provide:ym,deps:[[new Jn,new vr,ym]],useFactory:Lre},Cm=(()=>{class t{get sortActionDescription(){return this._sortActionDescription}set sortActionDescription(e){this._updateSortActionDescription(e)}constructor(e,i,r,a,o,s,l,h){this._intl=e,this._changeDetectorRef=i,this._sort=r,this._columnDef=a,this._focusMonitor=o,this._elementRef=s,this._ariaDescriber=l,this._showIndicatorHint=!1,this._viewState={},this._arrowDirection="",this._disableViewStateAnimation=!1,this.arrowPosition="after",this.disabled=!1,this._sortActionDescription="Sort",h?.arrowPosition&&(this.arrowPosition=h?.arrowPosition),this._handleStateChanges()}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(".mat-sort-header-container"),this._updateSortActionDescription(this._sortActionDescription)}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0).subscribe(e=>{let i=!!e;i!==this._showIndicatorHint&&(this._setIndicatorHintVisible(i),this._changeDetectorRef.markForCheck())})}ngOnDestroy(){this._focusMonitor.stopMonitoring(this._elementRef),this._sort.deregister(this),this._rerenderSubscription.unsubscribe(),this._sortButton&&this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription)}_setIndicatorHintVisible(e){this._isDisabled()&&e||(this._showIndicatorHint=e,this._isSorted()||(this._updateArrowDirection(),this._showIndicatorHint?this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"hint"}):this._setAnimationTransitionState({fromState:"hint",toState:this._arrowDirection})))}_setAnimationTransitionState(e){this._viewState=e||{},this._disableViewStateAnimation&&(this._viewState={toState:e.toState})}_toggleOnInteraction(){this._sort.sort(this),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0)}_handleClick(){this._isDisabled()||this._sort.sort(this)}_handleKeydown(e){!this._isDisabled()&&(e.keyCode===32||e.keyCode===13)&&(e.preventDefault(),this._toggleOnInteraction())}_isSorted(){return this._sort.active==this.id&&(this._sort.direction==="asc"||this._sort.direction==="desc")}_getArrowDirectionState(){return`${this._isSorted()?"active-":""}${this._arrowDirection}`}_getArrowViewState(){let 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()?this._sort.direction=="asc"?"ascending":"descending":"none"}_renderArrow(){return!this._isDisabled()||this._isSorted()}_updateSortActionDescription(e){this._sortButton&&(this._ariaDescriber?.removeDescription(this._sortButton,this._sortActionDescription),this._ariaDescriber?.describe(this._sortButton,e)),this._sortActionDescription=e}_handleStateChanges(){this._rerenderSubscription=nt(this._sort.sortChange,this._sort._stateChanges,this._intl.changes).subscribe(()=>{this._isSorted()&&(this._updateArrowDirection(),(this._viewState.toState==="hint"||this._viewState.toState==="active")&&(this._disableViewStateAnimation=!0),this._setAnimationTransitionState({fromState:this._arrowDirection,toState:"active"}),this._showIndicatorHint=!1),!this._isSorted()&&this._viewState&&this._viewState.toState==="active"&&(this._disableViewStateAnimation=!1,this._setAnimationTransitionState({fromState:"active",toState:this._arrowDirection})),this._changeDetectorRef.markForCheck()})}static{this.\u0275fac=function(i){return new(i||t)(m(ym),m(pe),m(Bo,8),m("MAT_SORT_HEADER_COLUMN_DEF",8),m(Qt),m($),m(t2,8),m(HP,8))}}static{this.\u0275cmp=A({type:t,selectors:[["","mat-sort-header",""]],hostAttrs:[1,"mat-sort-header"],hostVars:3,hostBindings:function(i,r){i&1&&H("click",function(){return r._handleClick()})("keydown",function(o){return r._handleKeydown(o)})("mouseenter",function(){return r._setIndicatorHintVisible(!0)})("mouseleave",function(){return r._setIndicatorHintVisible(!1)}),i&2&&(ie("aria-sort",r._getAriaSortAttribute()),re("mat-sort-header-disabled",r._isDisabled()))},inputs:{id:[0,"mat-sort-header","id"],arrowPosition:"arrowPosition",start:"start",disabled:[2,"disabled","disabled",q],sortActionDescription:"sortActionDescription",disableClear:[2,"disableClear","disableClear",q]},exportAs:["matSortHeader"],standalone:!0,features:[ye,ae],attrs:Tre,ngContentSelectors:Vre,decls:4,vars:7,consts:[[1,"mat-sort-header-container","mat-focus-indicator"],[1,"mat-sort-header-content"],[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(i,r){i&1&&(Me(),p(0,"div",0)(1,"div",1),se(2),f(),w(3,Are,6,6,"div",2),f()),i&2&&(re("mat-sort-header-sorted",r._isSorted())("mat-sort-header-position-before",r.arrowPosition==="before"),ie("tabindex",r._isDisabled()?null:0)("role",r._isDisabled()?null:"button"),g(3),Se(r._renderArrow()?3:-1))},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-container::before{margin:calc(calc(var(--mat-focus-indicator-border-width, 3px) + 2px)*-1)}.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;color:var(--mat-sort-arrow-color, var(--mat-app-on-surface));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}"],encapsulation:2,data:{animation:[H2.indicator,H2.leftPointer,H2.rightPointer,H2.arrowOpacity,H2.arrowPosition,H2.allowChildren]},changeDetection:0})}}return t})(),RP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[Hre],imports:[fe]})}}return t})();function Rre(t,n){if(t&1&&At(0,2),t&2){let e=M();C("ngTemplateOutlet",e.iconOverrides[e.state])("ngTemplateOutletContext",e._getIconContext())}}function Nre(t,n){if(t&1&&(p(0,"span",7),d(1),f()),t&2){let e=M(2);g(),E(e._getDefaultTextForState(e.state))}}function Fre(t,n){if(t&1&&(p(0,"span",8),d(1),f()),t&2){let e=M(3);g(),E(e._intl.completedLabel)}}function jre(t,n){if(t&1&&(p(0,"span",8),d(1),f()),t&2){let e=M(3);g(),E(e._intl.editableLabel)}}function Bre(t,n){if(t&1&&(w(0,Fre,2,1,"span",8)(1,jre,2,1,"span",8),p(2,"mat-icon",7),d(3),f()),t&2){let e=M(2);Se(e.state==="done"?0:e.state==="edit"?1:-1),g(3),E(e._getDefaultTextForState(e.state))}}function Ure(t,n){if(t&1&&w(0,Nre,2,1,"span",7)(1,Bre,4,2,"mat-icon",7),t&2){let e,i=M();Se((e=i.state)==="number"?0:1)}}function $re(t,n){t&1&&(p(0,"div",4),At(1,9),f()),t&2&&(g(),C("ngTemplateOutlet",n.template))}function Gre(t,n){if(t&1&&(p(0,"div",4),d(1),f()),t&2){let e=M();g(),E(e.label)}}function Wre(t,n){if(t&1&&(p(0,"div",5),d(1),f()),t&2){let e=M();g(),E(e._intl.optionalLabel)}}function qre(t,n){if(t&1&&(p(0,"div",6),d(1),f()),t&2){let e=M();g(),E(e.errorMessage)}}var jP=["*"];function Yre(t,n){}function Qre(t,n){if(t&1&&(se(0),w(1,Yre,0,0,"ng-template",0)),t&2){let e=M();g(),C("cdkPortalOutlet",e._portal)}}var BP=(t,n)=>({step:t,i:n}),UP=t=>({animationDuration:t}),$P=(t,n)=>({value:t,params:n});function Kre(t,n){t&1&&se(0)}function Zre(t,n){t&1&&R(0,"div",6)}function Xre(t,n){if(t&1&&(At(0,5),w(1,Zre,1,0,"div",6)),t&2){let e=n.$implicit,i=n.$index,r=n.$count;M(2);let a=Ct(4);C("ngTemplateOutlet",a)("ngTemplateOutletContext",cr(3,BP,e,i)),g(),Se(i!==r-1?1:-1)}}function Jre(t,n){if(t&1){let e=le();p(0,"div",7),H("@horizontalStepTransition.done",function(r){F(e);let a=M(2);return j(a._animationDone.next(r))}),At(1,8),f()}if(t&2){let e=n.$implicit,i=n.$index,r=M(2);re("mat-horizontal-stepper-content-inactive",r.selectedIndex!==i),C("@horizontalStepTransition",cr(8,$P,r._getAnimationDirection(i),sr(6,UP,r._getAnimationDuration())))("id",r._getStepContentId(i)),ie("aria-labelledby",r._getStepLabelId(i)),g(),C("ngTemplateOutlet",e.content)}}function eae(t,n){if(t&1&&(p(0,"div",1)(1,"div",2),nr(2,Xre,2,6,null,null,bo),f(),p(4,"div",3),nr(5,Jre,2,11,"div",4,bo),f()()),t&2){let e=M();g(2),rr(e.steps),g(3),rr(e.steps)}}function tae(t,n){if(t&1){let e=le();p(0,"div",9),At(1,5),p(2,"div",10)(3,"div",11),H("@verticalStepTransition.done",function(r){F(e);let a=M(2);return j(a._animationDone.next(r))}),p(4,"div",12),At(5,8),f()()()()}if(t&2){let e=n.$implicit,i=n.$index,r=n.$count,a=M(2),o=Ct(4);g(),C("ngTemplateOutlet",o)("ngTemplateOutletContext",cr(10,BP,e,i)),g(),re("mat-stepper-vertical-line",i!==r-1),g(),re("mat-vertical-stepper-content-inactive",a.selectedIndex!==i),C("@verticalStepTransition",cr(15,$P,a._getAnimationDirection(i),sr(13,UP,a._getAnimationDuration())))("id",a._getStepContentId(i)),ie("aria-labelledby",a._getStepLabelId(i)),g(2),C("ngTemplateOutlet",e.content)}}function iae(t,n){if(t&1&&nr(0,tae,6,18,"div",9,bo),t&2){let e=M();rr(e.steps)}}function nae(t,n){if(t&1){let e=le();p(0,"mat-step-header",13),H("click",function(){let r=F(e).step;return j(r.select())})("keydown",function(r){F(e);let a=M();return j(a._onKeydown(r))}),f()}if(t&2){let e=n.step,i=n.i,r=M();re("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),C("tabIndex",r._getFocusIndex()===i?0:-1)("id",r._getStepLabelId(i))("index",i)("state",r._getIndicatorType(i,e.state))("label",e.stepLabel||e.label)("selected",r.selectedIndex===i)("active",r._stepIsNavigable(i,e))("optional",e.optional)("errorMessage",e.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(i,e))("color",e.color||r.color),ie("aria-posinset",i+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(i))("aria-selected",r.selectedIndex==i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(i,e)?null:!0)}}var n_=(()=>{class t extends X7{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matStepLabel",""]],standalone:!0,features:[de]})}}return t})(),xm=(()=>{class t{constructor(){this.changes=new U,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function rae(t){return t||new xm}var aae={provide:xm,deps:[[new Jn,new vr,xm]],useFactory:rae},r_=(()=>{class t extends Z7{constructor(e,i,r,a){super(r),this._intl=e,this._focusMonitor=i,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,i){e?this._focusMonitor.focusVia(this._elementRef,e,i):this._elementRef.nativeElement.focus(i)}_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(e){return e=="number"?`${this.index+1}`:e=="edit"?"create":e=="error"?"warning":e}static{this.\u0275fac=function(i){return new(i||t)(m(xm),m(Qt),m($),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(i,r){i&2&&Lt("mat-"+(r.color||"primary"))},inputs:{state:"state",label:"label",errorMessage:"errorMessage",iconOverrides:"iconOverrides",index:"index",selected:"selected",active:"active",optional:"optional",disableRipple:"disableRipple",color:"color"},standalone:!0,features:[de,ae],decls:10,vars:17,consts:[["matRipple","",1,"mat-step-header-ripple","mat-focus-indicator",3,"matRippleTrigger","matRippleDisabled"],[1,"mat-step-icon-content"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-step-label"],[1,"mat-step-text-label"],[1,"mat-step-optional"],[1,"mat-step-sub-label-error"],["aria-hidden","true"],[1,"cdk-visually-hidden"],[3,"ngTemplateOutlet"]],template:function(i,r){if(i&1&&(R(0,"div",0),p(1,"div")(2,"div",1),w(3,Rre,1,2,"ng-container",2)(4,Ure,2,1),f()(),p(5,"div",3),w(6,$re,2,1,"div",4)(7,Gre,2,1,"div",4)(8,Wre,2,1,"div",5)(9,qre,2,1,"div",6),f()),i&2){let a;C("matRippleTrigger",r._getHostElement())("matRippleDisabled",r.disableRipple),g(),N0("mat-step-icon-state-",r.state," mat-step-icon"),re("mat-step-icon-selected",r.selected),g(2),Se(r.iconOverrides&&r.iconOverrides[r.state]?3:4),g(2),re("mat-step-label-active",r.active)("mat-step-label-selected",r.selected)("mat-step-label-error",r.state=="error"),g(),Se((a=r._templateLabel())?6:r._stringLabel()?7:-1,a),g(2),Se(r.optional&&r.state!="error"?8:-1),g(),Se(r.state==="error"?9:-1)}},dependencies:[Ai,hs,Yr],styles:['.mat-step-header{overflow:hidden;outline:none;cursor:pointer;position:relative;box-sizing:content-box;-webkit-tap-highlight-color:rgba(0,0,0,0)}.mat-step-header:focus .mat-focus-indicator::before{content:""}.mat-step-header:hover[aria-disabled=true]{cursor:default}.mat-step-header:hover:not([aria-disabled]),.mat-step-header:hover[aria-disabled=false]{background-color:var(--mat-stepper-header-hover-state-layer-color);border-radius:var(--mat-stepper-header-hover-state-layer-shape, var(--mat-app-corner-medium))}.mat-step-header.cdk-keyboard-focused,.mat-step-header.cdk-program-focused{background-color:var(--mat-stepper-header-focus-state-layer-color);border-radius:var(--mat-stepper-header-focus-state-layer-shape, var(--mat-app-corner-medium))}@media(hover: none){.mat-step-header:hover{background:none}}.cdk-high-contrast-active .mat-step-header{outline:solid 1px}.cdk-high-contrast-active .mat-step-header[aria-selected=true] .mat-step-label{text-decoration:underline}.cdk-high-contrast-active .mat-step-header[aria-disabled=true]{outline-color:GrayText}.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-label,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-icon,.cdk-high-contrast-active .mat-step-header[aria-disabled=true] .mat-step-optional{color:GrayText}.mat-step-optional{font-size:12px;color:var(--mat-stepper-header-optional-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-sub-label-error{font-size:12px;font-weight:normal}.mat-step-icon{border-radius:50%;height:24px;width:24px;flex-shrink:0;position:relative;color:var(--mat-stepper-header-icon-foreground-color, var(--mat-app-surface));background-color:var(--mat-stepper-header-icon-background-color, var(--mat-app-on-surface-variant))}.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{background-color:var(--mat-stepper-header-error-state-icon-background-color);color:var(--mat-stepper-header-error-state-icon-foreground-color, var(--mat-app-error))}.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;font-family:var(--mat-stepper-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-stepper-header-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-label-text-weight, var(--mat-app-title-small-weight));color:var(--mat-stepper-header-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color, var(--mat-app-on-surface-variant))}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color, var(--mat-app-error));font-size:var(--mat-stepper-header-error-state-label-text-size, var(--mat-app-title-small-size))}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size, var(--mat-app-title-small-size));font-weight:var(--mat-stepper-header-selected-state-label-text-weight, var(--mat-app-title-small-weight))}.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}.mat-step-icon-selected{background-color:var(--mat-stepper-header-selected-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-selected-state-icon-foreground-color, var(--mat-app-on-primary))}.mat-step-icon-state-done{background-color:var(--mat-stepper-header-done-state-icon-background-color);color:var(--mat-stepper-header-done-state-icon-foreground-color)}.mat-step-icon-state-edit{background-color:var(--mat-stepper-header-edit-state-icon-background-color, var(--mat-app-primary));color:var(--mat-stepper-header-edit-state-icon-foreground-color, var(--mat-app-on-primary))}'],encapsulation:2,changeDetection:0})}}return t})(),GP="500ms",WP="225ms",FP={horizontalStepTransition:kt("horizontalStepTransition",[tt("previous",De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),tt("current",De({transform:"none",visibility:"inherit"})),tt("next",De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ze("* => *",Md([et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),kc("@*",Sc(),{optional:!0})]),{params:{animationDuration:GP}})]),verticalStepTransition:kt("verticalStepTransition",[tt("previous",De({height:"0px",visibility:"hidden"})),tt("next",De({height:"0px",visibility:"hidden"})),tt("current",De({height:"*",visibility:"inherit"})),Ze("* <=> current",Md([et("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),kc("@*",Sc(),{optional:!0})]),{params:{animationDuration:WP}})])},oae=(()=>{class t{constructor(e){this.templateRef=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0})}}return t})(),sae=(()=>{class t{constructor(e){this._template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matStepContent",""]],standalone:!0})}}return t})(),cae=(()=>{class t extends hm{constructor(e,i,r,a){super(e,a),this._errorStateMatcher=i,this._viewContainerRef=r,this._isSelected=xe.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(dt(()=>this._stepper.selectionChange.pipe(me(e=>e.selectedStep===this),Qe(this._stepper.selected===this)))).subscribe(e=>{e&&this._lazyContent&&!this._portal&&(this._portal=new zi(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(e,i){let r=this._errorStateMatcher.isErrorState(e,i),a=!!(e&&e.invalid&&this.interacted);return r||a}static{this.\u0275fac=function(i){return new(i||t)(m(ct(()=>qP)),m(Gr,4),m(Xe),m(l4,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-step"]],contentQueries:function(i,r,a){if(i&1&&(we(a,n_,5),we(a,sae,5)),i&2){let o;G(o=W())&&(r.stepLabel=o.first),G(o=W())&&(r._lazyContent=o.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[he([{provide:Gr,useExisting:t},{provide:hm,useExisting:t}]),de,ae],ngContentSelectors:jP,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(i,r){i&1&&(Me(),w(0,Qre,2,1,"ng-template"))},dependencies:[Qi],encapsulation:2,changeDetection:0})}}return t})(),qP=(()=>{class t extends A2{get animationDuration(){return this._animationDuration}set animationDuration(e){this._animationDuration=/^\d+$/.test(e)?e+"ms":e}constructor(e,i,r){super(e,i,r),this._stepHeader=void 0,this._steps=void 0,this.steps=new Pi,this.animationDone=new B,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new U,this._animationDuration="",this._isServer=!z(ze).isBrowser;let a=r.nativeElement.nodeName.toLowerCase();this.orientation=a==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:e,templateRef:i})=>this._iconOverrides[e]=i),this.steps.changes.pipe(_e(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(_e(this._destroyed)).subscribe(e=>{e.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(e,i){return i.completed||this.selectedIndex===e||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?GP:WP}static{this.\u0275fac=function(i){return new(i||t)(m(Je,8),m(pe),m($))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,cae,5),we(a,oae,5)),i&2){let o;G(o=W())&&(r._steps=o),G(o=W())&&(r._icons=o)}},viewQuery:function(i,r){if(i&1&&ue(r_,5),i&2){let a;G(a=W())&&(r._stepHeader=a)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(i,r){i&2&&(ie("aria-orientation",r.orientation),re("mat-stepper-horizontal",r.orientation==="horizontal")("mat-stepper-vertical",r.orientation==="vertical")("mat-stepper-label-position-end",r.orientation==="horizontal"&&r.labelPosition=="end")("mat-stepper-label-position-bottom",r.orientation==="horizontal"&&r.labelPosition=="bottom")("mat-stepper-header-position-bottom",r.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[he([{provide:A2,useExisting:t}]),de,ae],ngContentSelectors:jP,decls:5,vars:2,consts:[["stepTemplate",""],[1,"mat-horizontal-stepper-wrapper"],[1,"mat-horizontal-stepper-header-container"],[1,"mat-horizontal-content-container"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id","mat-horizontal-stepper-content-inactive"],[3,"ngTemplateOutlet","ngTemplateOutletContext"],[1,"mat-stepper-horizontal-line"],["role","tabpanel",1,"mat-horizontal-stepper-content",3,"id"],[3,"ngTemplateOutlet"],[1,"mat-step"],[1,"mat-vertical-content-container"],["role","tabpanel",1,"mat-vertical-stepper-content",3,"id"],[1,"mat-vertical-content"],[3,"click","keydown","tabIndex","id","index","state","label","selected","active","optional","errorMessage","iconOverrides","disableRipple","color"]],template:function(i,r){if(i&1&&(Me(),w(0,Kre,1,0)(1,eae,7,0,"div",1)(2,iae,2,0)(3,nae,1,23,"ng-template",null,0,Hr)),i&2){let a;Se(r._isServer?0:-1),g(),Se((a=r.orientation)==="horizontal"?1:a==="vertical"?2:-1)}},dependencies:[hs,r_],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font, var(--mat-app-body-medium-font));background:var(--mat-stepper-container-color, var(--mat-app-surface))}.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-header-position-bottom .mat-horizontal-stepper-header-container{order:1}.mat-stepper-horizontal-line{border-top-width:1px;border-top-style:solid;flex:auto;height:0;margin:0 -16px;min-width:32px;border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-stepper-horizontal-line{margin:0;min-width:0;position:relative;top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.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;height:var(--mat-stepper-header-height)}.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-horizontal-stepper-header::before,.mat-horizontal-stepper-header::after{border-top-color:var(--mat-stepper-line-color, var(--mat-app-outline))}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header{padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 24px}.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::before,.mat-stepper-label-position-bottom .mat-horizontal-stepper-header::after{top:calc(calc((var(--mat-stepper-header-height) - 24px) / 2) + 12px)}.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;padding:calc((var(--mat-stepper-header-height) - 24px) / 2) 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-wrapper{display:flex;flex-direction:column}.mat-horizontal-stepper-content{outline:0}.mat-horizontal-stepper-content.mat-horizontal-stepper-content-inactive{height:0;overflow:hidden}.mat-horizontal-stepper-content:not(.mat-horizontal-stepper-content-inactive){visibility:inherit !important}.mat-horizontal-content-container{overflow:hidden;padding:0 24px 24px 24px}.cdk-high-contrast-active .mat-horizontal-content-container{outline:solid 1px}.mat-stepper-header-position-bottom .mat-horizontal-content-container{padding:24px 24px 0 24px}.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;border-left-color:var(--mat-stepper-line-color, var(--mat-app-outline));top:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2));bottom:calc(8px - calc((var(--mat-stepper-header-height) - 24px) / 2))}[dir=rtl] .mat-stepper-vertical-line::before{left:auto;right:0}.mat-vertical-stepper-content{overflow:hidden;outline:0}.mat-vertical-stepper-content:not(.mat-vertical-stepper-content-inactive){visibility:inherit !important}.mat-vertical-content{padding:0 24px 24px 24px}.mat-step:last-child .mat-vertical-content-container{border:none}'],encapsulation:2,data:{animation:[FP.horizontalStepTransition,FP.verticalStepTransition]},changeDetection:0})}}return t})(),YP=(()=>{class t extends jO{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(i,r){i&2&&jt("type",r.type)},standalone:!0,features:[de]})}}return t})(),QP=(()=>{class t extends BO{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(i,r){i&2&&jt("type",r.type)},standalone:!0,features:[de]})}}return t})(),KP=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[aae,Gr],imports:[fe,Tt,$n,UO,C2,gn,qP,r_,fe]})}}return t})();var uae=[[["caption"]],[["colgroup"],["col"]],"*"],hae=["caption","colgroup, col","*"];function mae(t,n){t&1&&se(0,2)}function pae(t,n){t&1&&(p(0,"thead",0),At(1,1),f(),p(2,"tbody",0),At(3,2)(4,3),f(),p(5,"tfoot",0),At(6,4),f())}function fae(t,n){t&1&&At(0,1)(1,2)(2,3)(3,4)}var _a=new L("CDK_TABLE");var km=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkCellDef",""]],standalone:!0})}}return t})(),Im=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkHeaderCellDef",""]],standalone:!0})}}return t})(),Em=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkFooterCellDef",""]],standalone:!0})}}return t})(),Fc=(()=>{class t{get name(){return this._name}set name(e){this._setNameInput(e)}get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(e){e!==this._stickyEnd&&(this._stickyEnd=e,this._hasStickyChanged=!0)}constructor(e){this._table=e,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(e){e&&(this._name=e,this.cssClassFriendlyName=e.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}static{this.\u0275fac=function(i){return new(i||t)(m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,km,5),we(a,Im,5),we(a,Em,5)),i&2){let o;G(o=W())&&(r.cell=o.first),G(o=W())&&(r.headerCell=o.first),G(o=W())&&(r.footerCell=o.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",q],stickyEnd:[2,"stickyEnd","stickyEnd",q]},standalone:!0,features:[he([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),ye]})}}return t})(),u4=class{constructor(n,e){e.nativeElement.classList.add(...n._columnCssClassName)}},JP=(()=>{class t extends u4{constructor(e,i){super(e,i)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[de]})}}return t})(),eT=(()=>{class t extends u4{constructor(e,i){super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-footer-cell"],["td","cdk-footer-cell",""]],hostAttrs:[1,"cdk-footer-cell"],standalone:!0,features:[de]})}}return t})(),tT=(()=>{class t extends u4{constructor(e,i){super(e,i);let r=e._table?._getCellRole();r&&i.nativeElement.setAttribute("role",r)}static{this.\u0275fac=function(i){return new(i||t)(m(Fc),m($))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[de]})}}return t})(),wm=class{constructor(){this.tasks=[],this.endTasks=[]}},Dm=new L("_COALESCED_STYLE_SCHEDULER"),o_=(()=>{class t{constructor(e){this._currentSchedule=null,this._ngZone=z(oe)}schedule(e){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(e)}scheduleEnd(e){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(e)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new wm,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let e=this._currentSchedule;this._currentSchedule=new wm;for(let i of e.tasks)i();for(let i of e.endTasks)i()}this._currentSchedule=null})))}static{this.\u0275fac=function(i){return new(i||t)(k(oe))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac})}}return t})();var s_=(()=>{class t{constructor(e,i){this.template=e,this._differs=i}ngOnChanges(e){if(!this._columnsDiffer){let 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 h4?e.headerCell.template:this instanceof m4?e.footerCell.template:e.cell.template}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn))}}static{this.\u0275dir=T({type:t,features:[Te]})}}return t})(),h4=(()=>{class t extends s_{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,r){super(e,i),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",q]},standalone:!0,features:[ye,de,Te]})}}return t})(),m4=(()=>{class t extends s_{get sticky(){return this._sticky}set sticky(e){e!==this._sticky&&(this._sticky=e,this._hasStickyChanged=!0)}constructor(e,i,r){super(e,i),this._table=r,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(e){super.ngOnChanges(e)}hasStickyChanged(){let e=this._hasStickyChanged;return this.resetStickyChanged(),e}resetStickyChanged(){this._hasStickyChanged=!1}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",q]},standalone:!0,features:[ye,de,Te]})}}return t})(),Om=(()=>{class t extends s_{constructor(e,i,r){super(e,i),this._table=r}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Fn),m(_a,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[de]})}}return t})(),Uo=(()=>{class t{static{this.mostRecentCellOutlet=null}constructor(e){this._viewContainer=e,t.mostRecentCellOutlet=this}ngOnDestroy(){t.mostRecentCellOutlet===this&&(t.mostRecentCellOutlet=null)}static{this.\u0275fac=function(i){return new(i||t)(m(Xe))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkCellOutlet",""]],standalone:!0})}}return t})(),c_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),l_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-footer-row"],["tr","cdk-footer-row",""]],hostAttrs:["role","row",1,"cdk-footer-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),d_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),Pm=(()=>{class t{constructor(e){this.templateRef=e,this._contentClassName="cdk-no-data-row"}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0})}}return t})(),ZP=["top","bottom","left","right"],a_=class{constructor(n,e,i,r,a=!0,o=!0,s){this._isNativeHtmlTable=n,this._stickCellCss=e,this.direction=i,this._coalescedStyleScheduler=r,this._isBrowser=a,this._needsPositionStickyOnElement=o,this._positionListener=s,this._elemSizeCache=new WeakMap,this._resizeObserver=globalThis?.ResizeObserver?new globalThis.ResizeObserver(l=>this._updateCachedSizes(l)):null,this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null,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(n,e){(e.includes("left")||e.includes("right"))&&this._removeFromStickyColumnReplayQueue(n);let i=[];for(let r of n)if(r.nodeType===r.ELEMENT_NODE){i.push(r);for(let a=0;a{for(let r of i)this._removeStickyStyle(r,e)})}updateStickyColumns(n,e,i,r=!0,a=!0){if(a&&this._updateStickyColumnReplayQueue({rows:[...n],stickyStartStates:[...e],stickyEndStates:[...i]}),!n.length||!this._isBrowser||!(e.some(o=>o)||i.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=n[0],s=o.children.length,l=this._getCellWidths(o,r),h=this._getStickyStartColumnPositions(l,e),v=this._getStickyEndColumnPositions(l,i),y=e.lastIndexOf(!0),D=i.indexOf(!0),S=this.direction==="rtl",V=S?"right":"left",K=S?"left":"right";for(let te of n)for(let ge=0;gee[ge]?te:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:D===-1?[]:l.slice(D).map((te,ge)=>i[ge+D]?te:null).reverse()}))})}stickRows(n,e,i){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let r=i==="bottom"?n.slice().reverse():n,a=i==="bottom"?e.slice().reverse():e,o=[],s=[],l=[];for(let v=0,y=0;v{let i=n.querySelector("tfoot");i&&(e.some(r=>!r)?this._removeStickyStyle(i,["bottom"]):this._addStickyStyle(i,"bottom",0,!1))})}_removeStickyStyle(n,e){for(let r of e)n.style[r]="",n.classList.remove(this._borderCellCss[r]);ZP.some(r=>e.indexOf(r)===-1&&n.style[r])?n.style.zIndex=this._getCalculatedZIndex(n):(n.style.zIndex="",this._needsPositionStickyOnElement&&(n.style.position=""),n.classList.remove(this._stickCellCss))}_addStickyStyle(n,e,i,r){n.classList.add(this._stickCellCss),r&&n.classList.add(this._borderCellCss[e]),n.style[e]=`${i}px`,n.style.zIndex=this._getCalculatedZIndex(n),this._needsPositionStickyOnElement&&(n.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(n){let e={top:100,bottom:10,left:1,right:1},i=0;for(let r of ZP)n.style[r]&&(i+=e[r]);return i?`${i}`:""}_getCellWidths(n,e=!0){if(!e&&this._cachedCellWidths.length)return this._cachedCellWidths;let i=[],r=n.children;for(let a=0;a0;a--)e[a]&&(i[a]=r,r+=n[a]);return i}_retrieveElementSize(n){let e=this._elemSizeCache.get(n);if(e)return e;let i=n.getBoundingClientRect(),r={width:i.width,height:i.height};return this._resizeObserver&&(this._elemSizeCache.set(n,r),this._resizeObserver.observe(n,{box:"border-box"})),r}_updateStickyColumnReplayQueue(n){this._removeFromStickyColumnReplayQueue(n.rows),!this._stickyColumnsReplayTimeout&&this._updatedStickyColumnsParamsToReplay.push(n)}_removeFromStickyColumnReplayQueue(n){let e=new Set(n);for(let i of this._updatedStickyColumnsParamsToReplay)i.rows=i.rows.filter(r=>!e.has(r));this._updatedStickyColumnsParamsToReplay=this._updatedStickyColumnsParamsToReplay.filter(i=>!!i.rows.length)}_updateCachedSizes(n){let e=!1;for(let i of n){let r=i.borderBoxSize?.length?{width:i.borderBoxSize[0].inlineSize,height:i.borderBoxSize[0].blockSize}:{width:i.contentRect.width,height:i.contentRect.height};r.width!==this._elemSizeCache.get(i.target)?.width&&gae(i.target)&&(e=!0),this._elemSizeCache.set(i.target,r)}e&&this._updatedStickyColumnsParamsToReplay.length&&(this._stickyColumnsReplayTimeout&&clearTimeout(this._stickyColumnsReplayTimeout),this._stickyColumnsReplayTimeout=setTimeout(()=>{for(let i of this._updatedStickyColumnsParamsToReplay)this.updateStickyColumns(i.rows,i.stickyStartStates,i.stickyEndStates,!0,!1);this._updatedStickyColumnsParamsToReplay=[],this._stickyColumnsReplayTimeout=null},0))}};function gae(t){return["cdk-cell","cdk-header-cell","cdk-footer-cell"].some(n=>t.classList.contains(n))}var Sm=new L("CDK_SPL");var u_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._rowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","rowOutlet",""]],standalone:!0})}}return t})(),h_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._headerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","headerRowOutlet",""]],standalone:!0})}}return t})(),m_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._footerRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","footerRowOutlet",""]],standalone:!0})}}return t})(),p_=(()=>{class t{constructor(e,i){this.viewContainer=e,this.elementRef=i;let r=z(_a);r._noDataRowOutlet=this,r._outletAssigned()}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m($))}}static{this.\u0275dir=T({type:t,selectors:[["","noDataRowOutlet",""]],standalone:!0})}}return t})();var f_=(()=>{class t{_getCellRole(){if(this._cellRoleInternal===void 0){let e=this._elementRef.nativeElement.getAttribute("role");return e==="grid"||e==="treegrid"?"gridcell":"cell"}return this._cellRoleInternal}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=e,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(e){this._fixedLayout=e,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(e,i,r,a,o,s,l,h,v,y,D,S){this._differs=e,this._changeDetectorRef=i,this._elementRef=r,this._dir=o,this._platform=l,this._viewRepeater=h,this._coalescedStyleScheduler=v,this._viewportRuler=y,this._stickyPositioningListener=D,this._onDestroy=new U,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._hasAllOutlets=!1,this._hasInitialized=!1,this._cellRoleInternal=void 0,this._multiTemplateDataRows=!1,this._fixedLayout=!1,this.contentChanged=new B,this.viewChange=new at({start:0,end:Number.MAX_VALUE}),this._injector=z(Le),a||r.nativeElement.setAttribute("role","table"),this._document=s,this._isServer=!l.isBrowser,this._isNativeHtmlTable=r.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((e,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(_e(this._onDestroy)).subscribe(()=>{this._forceRecalculateCellWidths=!0})}ngAfterContentInit(){this._hasInitialized=!0}ngAfterContentChecked(){this._canRender()&&this._render()}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(),o2(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let e=this._dataDiffer.diff(this._renderRows);if(!e){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(e,i,(r,a,o)=>this._getEmbeddedViewArgs(r.item,o),r=>r.item.data,r=>{r.operation===r2.INSERTED&&r.context&&this._renderCellTemplateForItem(r.record.item.rowDef,r.context)}),this._updateRowIndexContext(),e.forEachIdentityChange(r=>{let a=i.get(r.currentIndex);a.context.$implicit=r.item.data}),this._updateNoDataRow(),Ft(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),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(){let e=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let r=XP(this._headerRowOutlet,"thead");r&&(r.style.display=e.length?"":"none")}let i=this._headerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["top"]),this._stickyStyler.stickRows(e,i,"top"),this._headerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyFooterRowStyles(){let e=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let r=XP(this._footerRowOutlet,"tfoot");r&&(r.style.display=e.length?"":"none")}let i=this._footerRowDefs.map(r=>r.sticky);this._stickyStyler.clearStickyPositioning(e,["bottom"]),this._stickyStyler.stickRows(e,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(r=>r.resetStickyChanged())}updateStickyColumnStyles(){let e=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),r=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...e,...i,...r],["left","right"]),this._stickyColumnStylesNeedReset=!1),e.forEach((a,o)=>{this._addStickyColumnStyles([a],this._headerRowDefs[o])}),this._rowDefs.forEach(a=>{let o=[];for(let s=0;s{this._addStickyColumnStyles([a],this._footerRowDefs[o])}),Array.from(this._columnDefsByName.values()).forEach(a=>a.resetStickyChanged())}_outletAssigned(){!this._hasAllOutlets&&this._rowOutlet&&this._headerRowOutlet&&this._footerRowOutlet&&this._noDataRowOutlet&&(this._hasAllOutlets=!0,this._canRender()&&this._render())}_canRender(){return this._hasAllOutlets&&this._hasInitialized}_render(){this._cacheRowDefs(),this._cacheColumnDefs(),!this._headerRowDefs.length&&!this._footerRowDefs.length&&this._rowDefs.length;let 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()}_getAllRenderRows(){let e=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let r=0;r{let s=r&&r.has(o)?r.get(o):[];if(s.length){let l=s.shift();return l.dataIndex=i,l}else return{data:e,rowDef:o,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Mm(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Mm(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Mm(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Mm(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let e=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&e.length>1,this._defaultRowDef=e[0]}_renderUpdatedColumns(){let e=(o,s)=>{let l=!!s.getColumnsDiff();return o||l},i=this._rowDefs.reduce(e,!1);i&&this._forceRenderDataRows();let r=this._headerRowDefs.reduce(e,!1);r&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(e,!1);return a&&this._forceRenderFooterRows(),i||r||a}_switchDataSource(e){this._data=[],o2(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),e||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=e}_observeRenderChanges(){if(!this.dataSource)return;let e;o2(this.dataSource)?e=this.dataSource.connect(this):Li(this.dataSource)?e=this.dataSource:Array.isArray(this.dataSource)&&(e=ce(this.dataSource)),this._renderChangeSubscription=e.pipe(_e(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){let r=Array.from(i.columns||[]).map(s=>{let l=this._columnDefsByName.get(s);return l}),a=r.map(s=>s.sticky),o=r.map(s=>s.stickyEnd);this._stickyStyler.updateStickyColumns(e,a,o,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(e){let i=[];for(let r=0;r!a.when||a.when(i,e));else{let a=this._rowDefs.find(o=>o.when&&o.when(i,e))||this._defaultRowDef;a&&r.push(a)}return r.length,r}_getEmbeddedViewArgs(e,i){let r=e.rowDef,a={$implicit:e.data};return{templateRef:r.template,context:a,index:i}}_renderRow(e,i,r,a={}){let o=e.viewContainer.createEmbeddedView(i.template,a,r);return this._renderCellTemplateForItem(i,a),o}_renderCellTemplateForItem(e,i){for(let r of this._getCellTemplates(e))Uo.mostRecentCellOutlet&&Uo.mostRecentCellOutlet._viewContainer.createEmbeddedView(r,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let e=this._rowOutlet.viewContainer;for(let i=0,r=e.length;i{let r=this._columnDefsByName.get(i);return e.extractCellTemplate(r)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let e=(i,r)=>i||r.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(){let e=this._dir?this._dir.value:"ltr";this._stickyStyler=new a_(this._isNativeHtmlTable,this.stickyCssClass,e,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:ce()).pipe(_e(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(e){return e.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let e=this._customNoDataRow||this._noDataRow;if(!e)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let r=this._noDataRowOutlet.viewContainer;if(i){let a=r.createEmbeddedView(e.templateRef),o=a.rootNodes[0];a.rootNodes.length===1&&o?.nodeType===this._document.ELEMENT_NODE&&(o.setAttribute("role","row"),o.classList.add(e._contentClassName))}else r.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}static{this.\u0275fac=function(i){return new(i||t)(m(Fn),m(pe),m($),Gt("role"),m(Je,8),m(Ce),m(ze),m(_d),m(Dm),m(Ui),m(Sm,12),m(oe,8))}}static{this.\u0275cmp=A({type:t,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,r,a){if(i&1&&(we(a,Pm,5),we(a,Fc,5),we(a,Om,5),we(a,h4,5),we(a,m4,5)),i&2){let o;G(o=W())&&(r._noDataRow=o.first),G(o=W())&&(r._contentColumnDefs=o),G(o=W())&&(r._contentRowDefs=o),G(o=W())&&(r._contentHeaderRowDefs=o),G(o=W())&&(r._contentFooterRowDefs=o)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,r){i&2&&re("cdk-table-fixed-layout",r.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",q],fixedLayout:[2,"fixedLayout","fixedLayout",q]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[he([{provide:_a,useExisting:t},{provide:_d,useClass:a2},{provide:Dm,useClass:o_},{provide:Sm,useValue:null}]),ye,ae],ngContentSelectors:hae,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Me(uae),se(0),se(1,1),w(2,mae,1,0)(3,pae,7,0)(4,fae,4,0)),i&2&&(g(2),Se(r._isServer?2:-1),g(),Se(r._isNativeHtmlTable?3:4))},dependencies:[h_,u_,p_,m_],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2})}}return t})();function Mm(t,n){return t.concat(Array.from(n))}function XP(t,n){let e=n.toUpperCase(),i=t.viewContainer.element.nativeElement;for(;i;){let r=i.nodeType===1?i.nodeName:null;if(r===e)return i;if(r==="TABLE")break;i=i.parentNode}return null}var iT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[vd]})}}return t})();var _ae=[[["caption"]],[["colgroup"],["col"]],"*"],vae=["caption","colgroup, col","*"];function bae(t,n){t&1&&se(0,2)}function yae(t,n){t&1&&(p(0,"thead",0),At(1,1),f(),p(2,"tbody",2),At(3,3)(4,4),f(),p(5,"tfoot",0),At(6,5),f())}function Cae(t,n){t&1&&At(0,1)(1,3)(2,4)(3,5)}var R2=(()=>{class t extends f_{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,r){i&2&&re("mdc-table-fixed-layout",r.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[he([{provide:f_,useExisting:t},{provide:_a,useExisting:t},{provide:Dm,useClass:o_},{provide:_d,useClass:a2},{provide:Sm,useValue:null}]),de,ae],ngContentSelectors:vae,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,r){i&1&&(Me(_ae),se(0),se(1,1),w(2,bae,1,0)(3,yae,7,0)(4,Cae,4,0)),i&2&&(g(2),Se(r._isServer?2:-1),g(),Se(r._isNativeHtmlTable?3:4))},dependencies:[h_,u_,p_,m_],styles:[".mat-mdc-table-sticky{position:sticky !important}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}.mat-mdc-table{min-width:100%;border:0;border-spacing:0;table-layout:auto;white-space:normal;background-color:var(--mat-table-background-color, var(--mat-app-surface))}.mdc-data-table__cell{box-sizing:border-box;overflow:hidden;text-align:left;text-overflow:ellipsis}[dir=rtl] .mdc-data-table__cell{text-align:right}.mdc-data-table__cell,.mdc-data-table__header-cell{padding:0 16px}.mat-mdc-header-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-header-container-height, 56px);color:var(--mat-table-header-headline-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-header-headline-font, var(--mat-app-title-small-font, Roboto, sans-serif));line-height:var(--mat-table-header-headline-line-height, var(--mat-app-title-small-line-height));font-size:var(--mat-table-header-headline-size, var(--mat-app-title-small-size, 14px));font-weight:var(--mat-table-header-headline-weight, var(--mat-app-title-small-weight, 500))}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)))}.mat-mdc-row,.mdc-data-table__content{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:var(--mat-table-row-item-label-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-row-item-label-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-row-item-label-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-row-item-label-text-weight, var(--mat-app-body-medium-weight))}.mat-mdc-footer-row{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;height:var(--mat-table-footer-container-height, 52px);color:var(--mat-table-row-item-label-text-color, var(--mat-app-on-surface, rgba(0, 0, 0, 0.87)));font-family:var(--mat-table-footer-supporting-text-font, var(--mat-app-body-medium-font, Roboto, sans-serif));line-height:var(--mat-table-footer-supporting-text-line-height, var(--mat-app-body-medium-line-height));font-size:var(--mat-table-footer-supporting-text-size, var(--mat-app-body-medium-size, 14px));font-weight:var(--mat-table-footer-supporting-text-weight, var(--mat-app-body-medium-weight));letter-spacing:var(--mat-table-footer-supporting-text-tracking, var(--mat-app-body-medium-tracking))}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-header-headline-tracking, var(--mat-app-title-small-tracking));font-weight:inherit;line-height:inherit;box-sizing:border-box;text-overflow:ellipsis;overflow:hidden;outline:none;text-align:left}[dir=rtl] .mat-mdc-header-cell{text-align:right}.mat-mdc-cell{border-bottom-color:var(--mat-table-row-item-outline-color, var(--mat-app-outline, rgba(0, 0, 0, 0.12)));border-bottom-width:var(--mat-table-row-item-outline-width, 1px);border-bottom-style:solid;letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking));line-height:inherit}.mdc-data-table__row:last-child .mat-mdc-cell{border-bottom:none}.mat-mdc-footer-cell{letter-spacing:var(--mat-table-row-item-label-text-tracking, var(--mat-app-body-medium-tracking))}mat-row.mat-mdc-row,mat-header-row.mat-mdc-header-row,mat-footer-row.mat-mdc-footer-row{border-bottom:none}.mat-mdc-table tbody,.mat-mdc-table tfoot,.mat-mdc-table thead,.mat-mdc-cell,.mat-mdc-footer-cell,.mat-mdc-header-row,.mat-mdc-row,.mat-mdc-footer-row,.mat-mdc-table .mat-mdc-header-cell{background:inherit}.mat-mdc-table mat-header-row.mat-mdc-header-row,.mat-mdc-table mat-row.mat-mdc-row,.mat-mdc-table mat-footer-row.mat-mdc-footer-cell{height:unset}mat-header-cell.mat-mdc-header-cell,mat-cell.mat-mdc-cell,mat-footer-cell.mat-mdc-footer-cell{align-self:stretch}"],encapsulation:2})}}return t})(),N2=(()=>{class t extends km{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matCellDef",""]],standalone:!0,features:[he([{provide:km,useExisting:t}]),de]})}}return t})(),F2=(()=>{class t extends Im{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[he([{provide:Im,useExisting:t}]),de]})}}return t})(),XSe=(()=>{class t extends Em{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matFooterCellDef",""]],standalone:!0,features:[he([{provide:Em,useExisting:t}]),de]})}}return t})(),j2=(()=>{class t extends Fc{get name(){return this._name}set name(e){this._setNameInput(e)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[he([{provide:Fc,useExisting:t},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:t}]),de]})}}return t})(),B2=(()=>{class t extends JP{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[de]})}}return t})(),JSe=(()=>{class t extends eT{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-footer-cell"],["td","mat-footer-cell",""]],hostAttrs:[1,"mat-mdc-footer-cell","mdc-data-table__cell"],standalone:!0,features:[de]})}}return t})(),U2=(()=>{class t extends tT{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[de]})}}return t})();var $2=(()=>{class t extends h4{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",q]},standalone:!0,features:[he([{provide:h4,useExisting:t}]),ye,de]})}}return t})(),eke=(()=>{class t extends m4{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matFooterRowDef",""]],inputs:{columns:[0,"matFooterRowDef","columns"],sticky:[2,"matFooterRowDefSticky","sticky",q]},standalone:!0,features:[he([{provide:m4,useExisting:t}]),ye,de]})}}return t})(),G2=(()=>{class t extends Om{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[he([{provide:Om,useExisting:t}]),de]})}}return t})(),W2=(()=>{class t extends c_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-header-row"],["tr","mat-header-row",""]],hostAttrs:["role","row",1,"mat-mdc-header-row","mdc-data-table__header-row"],exportAs:["matHeaderRow"],standalone:!0,features:[he([{provide:c_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),tke=(()=>{class t extends l_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-footer-row"],["tr","mat-footer-row",""]],hostAttrs:["role","row",1,"mat-mdc-footer-row","mdc-data-table__row"],exportAs:["matFooterRow"],standalone:!0,features:[he([{provide:l_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),q2=(()=>{class t extends d_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[he([{provide:d_,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[Uo],encapsulation:2})}}return t})(),ike=(()=>{class t extends Pm{constructor(){super(...arguments),this._contentClassName="mat-mdc-no-data-row"}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["ng-template","matNoDataRow",""]],standalone:!0,features:[he([{provide:Pm,useExisting:t}]),de]})}}return t})();var nT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,iT,fe]})}}return t})(),xae=9007199254740991,jc=class extends Mc{get data(){return this._data.value}set data(n){n=Array.isArray(n)?n:[],this._data.next(n),this._renderChangesSubscription||this._filterData(n)}get filter(){return this._filter.value}set filter(n){this._filter.next(n),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(n){this._sort=n,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(n){this._paginator=n,this._updateChangeSubscription()}constructor(n=[]){super(),this._renderData=new at([]),this._filter=new at(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(e,i)=>{let r=e[i];if(v5(r)){let a=Number(r);return a{let r=i.active,a=i.direction;return!r||a==""?e:e.sort((o,s)=>{let l=this.sortingDataAccessor(o,r),h=this.sortingDataAccessor(s,r),v=typeof l,y=typeof h;v!==y&&(v==="number"&&(l+=""),y==="number"&&(h+=""));let D=0;return l!=null&&h!=null?l>h?D=1:l{let r=Object.keys(e).reduce((o,s)=>o+e[s]+"\u25EC","").toLowerCase(),a=i.trim().toLowerCase();return r.indexOf(a)!=-1},this._data=new at(n),this._updateChangeSubscription()}_updateChangeSubscription(){let n=this._sort?nt(this._sort.sortChange,this._sort.initialized):ce(null),e=this._paginator?nt(this._paginator.page,this._internalPageChanges,this._paginator.initialized):ce(null),i=this._data,r=on([i,this._filter]).pipe(me(([s])=>this._filterData(s))),a=on([r,n]).pipe(me(([s])=>this._orderData(s))),o=on([a,e]).pipe(me(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=o.subscribe(s=>this._renderData.next(s))}_filterData(n){return this.filteredData=this.filter==null||this.filter===""?n:n.filter(e=>this.filterPredicate(e,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(n){return this.sort?this.sortData(n.slice(),this.sort):n}_pageData(n){if(!this.paginator)return n;let e=this.paginator.pageIndex*this.paginator.pageSize;return n.slice(e,e+this.paginator.pageSize)}_updatePaginator(n){Promise.resolve().then(()=>{let e=this.paginator;if(e&&(e.length=n,e.pageIndex>0)){let i=Math.ceil(e.length/e.pageSize)-1||0,r=Math.min(e.pageIndex,i);r!==e.pageIndex&&(e.pageIndex=r,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Y2=["*"];function Mae(t,n){t&1&&se(0)}var oT=["tabListContainer"],sT=["tabList"],cT=["tabListInner"],lT=["nextPaginator"],dT=["previousPaginator"],wae=t=>({animationDuration:t}),Dae=(t,n)=>({value:t,params:n});function Sae(t,n){}var kae=["tabBodyWrapper"],Iae=["tabHeader"];function Eae(t,n){}function Oae(t,n){if(t&1&&w(0,Eae,0,0,"ng-template",12),t&2){let e=M().$implicit;C("cdkPortalOutlet",e.templateLabel)}}function Pae(t,n){if(t&1&&d(0),t&2){let e=M().$implicit;E(e.textLabel)}}function Tae(t,n){if(t&1){let e=le();p(0,"div",7,2),H("click",function(){let r=F(e),a=r.$implicit,o=r.$index,s=M(),l=Ct(1);return j(s._handleClick(a,l,o))})("cdkFocusChange",function(r){let a=F(e).$index,o=M();return j(o._tabFocusChanged(r,a))}),R(2,"span",8)(3,"div",9),p(4,"span",10)(5,"span",11),w(6,Oae,1,1,null,12)(7,Pae,1,1),f()()()}if(t&2){let e=n.$implicit,i=n.$index,r=Ct(1),a=M();Lt(e.labelClass),re("mdc-tab--active",a.selectedIndex===i),C("id",a._getTabLabelId(i))("disabled",e.disabled)("fitInkBarToContent",a.fitInkBarToContent),ie("tabIndex",a._getTabIndex(i))("aria-posinset",i+1)("aria-setsize",a._tabs.length)("aria-controls",a._getTabContentId(i))("aria-selected",a.selectedIndex===i)("aria-label",e.ariaLabel||null)("aria-labelledby",!e.ariaLabel&&e.ariaLabelledby?e.ariaLabelledby:null),g(3),C("matRippleTrigger",r)("matRippleDisabled",e.disabled||a.disableRipple),g(3),Se(e.templateLabel?6:7)}}function Vae(t,n){t&1&&se(0)}function Aae(t,n){if(t&1){let e=le();p(0,"mat-tab-body",13),H("_onCentered",function(){F(e);let r=M();return j(r._removeTabBodyWrapperHeight())})("_onCentering",function(r){F(e);let a=M();return j(a._setTabBodyWrapperHeight(r))}),f()}if(t&2){let e=n.$implicit,i=n.$index,r=M();Lt(e.bodyClass),re("mat-mdc-tab-body-active",r.selectedIndex===i),C("id",r._getTabContentId(i))("content",e.content)("position",e.position)("origin",e.origin)("animationDuration",r.animationDuration)("preserveContent",r.preserveContent),ie("tabindex",r.contentTabIndex!=null&&r.selectedIndex===i?r.contentTabIndex:null)("aria-labelledby",r._getTabLabelId(i))("aria-hidden",r.selectedIndex!==i)}}var zae=["mat-tab-nav-bar",""],Lae=["mat-tab-link",""],Hae=new L("MatTabContent"),Rae=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabContent",""]],standalone:!0,features:[he([{provide:Hae,useExisting:t}])]})}}return t})(),Nae=new L("MatTabLabel"),uT=new L("MAT_TAB"),Fae=(()=>{class t extends Pw{constructor(e,i,r){super(e,i),this._closestTab=r}static{this.\u0275fac=function(i){return new(i||t)(m($e),m(Xe),m(uT,8))}}static{this.\u0275dir=T({type:t,selectors:[["","mat-tab-label",""],["","matTabLabel",""]],standalone:!0,features:[he([{provide:Nae,useExisting:t}]),de]})}}return t})(),hT=new L("MAT_TAB_GROUP"),jae=(()=>{class t{get templateLabel(){return this._templateLabel}set templateLabel(e){this._setTemplateLabelInput(e)}get content(){return this._contentPortal}constructor(e,i){this._viewContainerRef=e,this._closestTabGroup=i,this.disabled=!1,this._explicitContent=void 0,this.textLabel="",this._contentPortal=null,this._stateChanges=new U,this.position=null,this.origin=null,this.isActive=!1}ngOnChanges(e){(e.hasOwnProperty("textLabel")||e.hasOwnProperty("disabled"))&&this._stateChanges.next()}ngOnDestroy(){this._stateChanges.complete()}ngOnInit(){this._contentPortal=new zi(this._explicitContent||this._implicitContent,this._viewContainerRef)}_setTemplateLabelInput(e){e&&e._closestTab===this&&(this._templateLabel=e)}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(hT,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab"]],contentQueries:function(i,r,a){if(i&1&&(we(a,Fae,5),we(a,Rae,7,$e)),i&2){let o;G(o=W())&&(r.templateLabel=o.first),G(o=W())&&(r._explicitContent=o.first)}},viewQuery:function(i,r){if(i&1&&ue($e,7),i&2){let a;G(a=W())&&(r._implicitContent=a.first)}},hostAttrs:["hidden",""],inputs:{disabled:[2,"disabled","disabled",q],textLabel:[0,"label","textLabel"],ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],labelClass:"labelClass",bodyClass:"bodyClass"},exportAs:["matTab"],standalone:!0,features:[he([{provide:uT,useExisting:t}]),ye,Te,ae],ngContentSelectors:Y2,decls:1,vars:0,template:function(i,r){i&1&&(Me(),w(0,Mae,1,0,"ng-template"))},encapsulation:2})}}return t})(),__="mdc-tab-indicator--active",rT="mdc-tab-indicator--no-transition",Tm=class{constructor(n){this._items=n}hide(){this._items.forEach(n=>n.deactivateInkBar())}alignToElement(n){let e=this._items.find(r=>r.elementRef.nativeElement===n),i=this._currentItem;if(e!==i&&(i?.deactivateInkBar(),e)){let r=i?.elementRef.nativeElement.getBoundingClientRect?.();e.activateInkBar(r),this._currentItem=e}}},mT=(()=>{class t{constructor(){this._elementRef=z($),this._fitToContent=!1}get fitInkBarToContent(){return this._fitToContent}set fitInkBarToContent(e){this._fitToContent!==e&&(this._fitToContent=e,this._inkBarElement&&this._appendInkBarElement())}activateInkBar(e){let i=this._elementRef.nativeElement;if(!e||!i.getBoundingClientRect||!this._inkBarContentElement){i.classList.add(__);return}let r=i.getBoundingClientRect(),a=e.width/r.width,o=e.left-r.left;i.classList.add(rT),this._inkBarContentElement.style.setProperty("transform",`translateX(${o}px) scaleX(${a})`),i.getBoundingClientRect(),i.classList.remove(rT),i.classList.add(__),this._inkBarContentElement.style.setProperty("transform","")}deactivateInkBar(){this._elementRef.nativeElement.classList.remove(__)}ngOnInit(){this._createInkBarElement()}ngOnDestroy(){this._inkBarElement?.remove(),this._inkBarElement=this._inkBarContentElement=null}_createInkBarElement(){let e=this._elementRef.nativeElement.ownerDocument||document,i=this._inkBarElement=e.createElement("span"),r=this._inkBarContentElement=e.createElement("span");i.className="mdc-tab-indicator",r.className="mdc-tab-indicator__content mdc-tab-indicator__content--underline",i.appendChild(this._inkBarContentElement),this._appendInkBarElement()}_appendInkBarElement(){this._inkBarElement;let e=this._fitToContent?this._elementRef.nativeElement.querySelector(".mdc-tab__content"):this._elementRef.nativeElement;e.appendChild(this._inkBarElement)}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,inputs:{fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q]},features:[ye]})}}return t})();var pT=(()=>{class t extends mT{constructor(e){super(),this.elementRef=e,this.disabled=!1}focus(){this.elementRef.nativeElement.focus()}getOffsetLeft(){return this.elementRef.nativeElement.offsetLeft}getOffsetWidth(){return this.elementRef.nativeElement.offsetWidth}static{this.\u0275fac=function(i){return new(i||t)(m($))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabLabelWrapper",""]],hostVars:3,hostBindings:function(i,r){i&2&&(ie("aria-disabled",!!r.disabled),re("mat-mdc-tab-disabled",r.disabled))},inputs:{disabled:[2,"disabled","disabled",q]},standalone:!0,features:[ye,de]})}}return t})(),aT=Ci({passive:!0}),Bae=650,Uae=100,fT=(()=>{class t{get selectedIndex(){return this._selectedIndex}set selectedIndex(e){let i=isNaN(e)?0:e;this._selectedIndex!=i&&(this._selectedIndexChanged=!0,this._selectedIndex=i,this._keyManager&&this._keyManager.updateActiveItem(i))}constructor(e,i,r,a,o,s,l){this._elementRef=e,this._changeDetectorRef=i,this._viewportRuler=r,this._dir=a,this._ngZone=o,this._platform=s,this._animationMode=l,this._scrollDistance=0,this._selectedIndexChanged=!1,this._destroyed=new U,this._showPaginationControls=!1,this._disableScrollAfter=!0,this._disableScrollBefore=!0,this._stopScrolling=new U,this.disablePagination=!1,this._selectedIndex=0,this.selectFocusedIndex=new B,this.indexFocused=new B,this._sharedResizeObserver=z(uh),this._injector=z(Le),o.runOutsideAngular(()=>{Zi(e.nativeElement,"mouseleave").pipe(_e(this._destroyed)).subscribe(()=>{this._stopInterval()})})}ngAfterViewInit(){Zi(this._previousPaginator.nativeElement,"touchstart",aT).pipe(_e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("before")}),Zi(this._nextPaginator.nativeElement,"touchstart",aT).pipe(_e(this._destroyed)).subscribe(()=>{this._handlePaginatorPress("after")})}ngAfterContentInit(){let e=this._dir?this._dir.change:ce("ltr"),i=this._sharedResizeObserver.observe(this._elementRef.nativeElement).pipe(ia(32),_e(this._destroyed)),r=this._viewportRuler.change(150).pipe(_e(this._destroyed)),a=()=>{this.updatePagination(),this._alignInkBarToSelectedTab()};this._keyManager=new Ba(this._items).withHorizontalOrientation(this._getLayoutDirection()).withHomeAndEnd().withWrap().skipPredicate(()=>!1),this._keyManager.updateActiveItem(this._selectedIndex),Ft(a,{injector:this._injector}),nt(e,r,i,this._items.changes,this._itemsResized()).pipe(_e(this._destroyed)).subscribe(()=>{this._ngZone.run(()=>{Promise.resolve().then(()=>{this._scrollDistance=Math.max(0,Math.min(this._getMaxScrollDistance(),this._scrollDistance)),a()})}),this._keyManager.withHorizontalOrientation(this._getLayoutDirection())}),this._keyManager.change.subscribe(o=>{this.indexFocused.emit(o),this._setTabFocus(o)})}_itemsResized(){return typeof ResizeObserver!="function"?ci:this._items.changes.pipe(Qe(this._items),dt(e=>new je(i=>this._ngZone.runOutsideAngular(()=>{let r=new ResizeObserver(a=>i.next(a));return e.forEach(a=>r.observe(a.elementRef.nativeElement)),()=>{r.disconnect()}}))),Ks(1),Ve(e=>e.some(i=>i.contentRect.width>0&&i.contentRect.height>0)))}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._keyManager?.destroy(),this._destroyed.next(),this._destroyed.complete(),this._stopScrolling.complete()}_handleKeydown(e){if(!xt(e))switch(e.keyCode){case 13:case 32:if(this.focusIndex!==this.selectedIndex){let i=this._items.get(this.focusIndex);i&&!i.disabled&&(this.selectFocusedIndex.emit(this.focusIndex),this._itemSelected(e))}break;default:this._keyManager.onKeydown(e)}}_onContentChanges(){let 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){return this._items?!!this._items.toArray()[e]:!0}_setTabFocus(e){if(this._showPaginationControls&&this._scrollToLabel(e),this._items&&this._items.length){this._items.toArray()[e].focus();let i=this._tabListContainer.nativeElement;this._getLayoutDirection()=="ltr"?i.scrollLeft=0:i.scrollLeft=i.scrollWidth-i.offsetWidth}}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_updateTabScrollPosition(){if(this.disablePagination)return;let e=this.scrollDistance,i=this._getLayoutDirection()==="ltr"?-e:e;this._tabList.nativeElement.style.transform=`translateX(${Math.round(i)}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){let i=this._tabListContainer.nativeElement.offsetWidth,r=(e=="before"?-1:1)*i/3;return this._scrollTo(this._scrollDistance+r)}_handlePaginatorClick(e){this._stopInterval(),this._scrollHeader(e)}_scrollToLabel(e){if(this.disablePagination)return;let i=this._items?this._items.toArray()[e]:null;if(!i)return;let r=this._tabListContainer.nativeElement.offsetWidth,{offsetLeft:a,offsetWidth:o}=i.elementRef.nativeElement,s,l;this._getLayoutDirection()=="ltr"?(s=a,l=s+o):(l=this._tabListInner.nativeElement.offsetWidth-a,s=l-o);let h=this.scrollDistance,v=this.scrollDistance+r;sv&&(this.scrollDistance+=Math.min(l-v,s-h))}_checkPaginationEnabled(){if(this.disablePagination)this._showPaginationControls=!1;else{let e=this._tabListInner.nativeElement.scrollWidth,i=this._elementRef.nativeElement.offsetWidth,r=e-i>=5;r||(this.scrollDistance=0),r!==this._showPaginationControls&&(this._showPaginationControls=r,this._changeDetectorRef.markForCheck())}}_checkScrollingControls(){this.disablePagination?this._disableScrollAfter=this._disableScrollBefore=!0:(this._disableScrollBefore=this.scrollDistance==0,this._disableScrollAfter=this.scrollDistance==this._getMaxScrollDistance(),this._changeDetectorRef.markForCheck())}_getMaxScrollDistance(){let e=this._tabListInner.nativeElement.scrollWidth,i=this._tabListContainer.nativeElement.offsetWidth;return e-i||0}_alignInkBarToSelectedTab(){let e=this._items&&this._items.length?this._items.toArray()[this.selectedIndex]:null,i=e?e.elementRef.nativeElement:null;i?this._inkBar.alignToElement(i):this._inkBar.hide()}_stopInterval(){this._stopScrolling.next()}_handlePaginatorPress(e,i){i&&i.button!=null&&i.button!==0||(this._stopInterval(),ta(Bae,Uae).pipe(_e(nt(this._stopScrolling,this._destroyed))).subscribe(()=>{let{maxScrollDistance:r,distance:a}=this._scrollHeader(e);(a===0||a>=r)&&this._stopInterval()}))}_scrollTo(e){if(this.disablePagination)return{maxScrollDistance:0,distance:0};let i=this._getMaxScrollDistance();return this._scrollDistance=Math.max(0,Math.min(i,e)),this._scrollDistanceChanged=!0,this._checkScrollingControls(),{maxScrollDistance:i,distance:this._scrollDistance}}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(Ui),m(Je,8),m(oe),m(ze),m(ot,8))}}static{this.\u0275dir=T({type:t,inputs:{disablePagination:[2,"disablePagination","disablePagination",q],selectedIndex:[2,"selectedIndex","selectedIndex",st]},outputs:{selectFocusedIndex:"selectFocusedIndex",indexFocused:"indexFocused"},features:[ye]})}}return t})(),$ae=(()=>{class t extends fT{constructor(e,i,r,a,o,s,l){super(e,i,r,a,o,s,l),this.disableRipple=!1}ngAfterContentInit(){this._inkBar=new Tm(this._items),super.ngAfterContentInit()}_itemSelected(e){e.preventDefault()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(Ui),m(Je,8),m(oe),m(ze),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-header"]],contentQueries:function(i,r,a){if(i&1&&we(a,pT,4),i&2){let o;G(o=W())&&(r._items=o)}},viewQuery:function(i,r){if(i&1&&(ue(oT,7),ue(sT,7),ue(cT,7),ue(lT,5),ue(dT,5)),i&2){let a;G(a=W())&&(r._tabListContainer=a.first),G(a=W())&&(r._tabList=a.first),G(a=W())&&(r._tabListInner=a.first),G(a=W())&&(r._nextPaginator=a.first),G(a=W())&&(r._previousPaginator=a.first)}},hostAttrs:[1,"mat-mdc-tab-header"],hostVars:4,hostBindings:function(i,r){i&2&&re("mat-mdc-tab-header-pagination-controls-enabled",r._showPaginationControls)("mat-mdc-tab-header-rtl",r._getLayoutDirection()=="rtl")},inputs:{ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"],disableRipple:[2,"disableRipple","disableRipple",q]},standalone:!0,features:[ye,de,ae],ngContentSelectors:Y2,decls:13,vars:10,consts:[["previousPaginator",""],["tabListContainer",""],["tabList",""],["tabListInner",""],["nextPaginator",""],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-before",3,"click","mousedown","touchend","matRippleDisabled"],[1,"mat-mdc-tab-header-pagination-chevron"],[1,"mat-mdc-tab-label-container",3,"keydown"],["role","tablist",1,"mat-mdc-tab-list",3,"cdkObserveContent"],[1,"mat-mdc-tab-labels"],["mat-ripple","",1,"mat-mdc-tab-header-pagination","mat-mdc-tab-header-pagination-after",3,"mousedown","click","touchend","matRippleDisabled"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"div",5,0),H("click",function(){return F(a),j(r._handlePaginatorClick("before"))})("mousedown",function(s){return F(a),j(r._handlePaginatorPress("before",s))})("touchend",function(){return F(a),j(r._stopInterval())}),R(2,"div",6),f(),p(3,"div",7,1),H("keydown",function(s){return F(a),j(r._handleKeydown(s))}),p(5,"div",8,2),H("cdkObserveContent",function(){return F(a),j(r._onContentChanges())}),p(7,"div",9,3),se(9),f()()(),p(10,"div",10,4),H("mousedown",function(s){return F(a),j(r._handlePaginatorPress("after",s))})("click",function(){return F(a),j(r._handlePaginatorClick("after"))})("touchend",function(){return F(a),j(r._stopInterval())}),R(12,"div",6),f()}i&2&&(re("mat-mdc-tab-header-pagination-disabled",r._disableScrollBefore),C("matRippleDisabled",r._disableScrollBefore||r.disableRipple),g(3),re("_mat-animation-noopable",r._animationMode==="NoopAnimations"),g(2),ie("aria-label",r.ariaLabel||null)("aria-labelledby",r.ariaLabelledby||null),g(5),re("mat-mdc-tab-header-pagination-disabled",r._disableScrollAfter),C("matRippleDisabled",r._disableScrollAfter||r.disableRipple))},dependencies:[Ai,dd],styles:[".mat-mdc-tab-header{display:flex;overflow:hidden;position:relative;flex-shrink:0}.mdc-tab-indicator .mdc-tab-indicator__content{transition-duration:var(--mat-tab-animation-duration, 250ms)}.mat-mdc-tab-header-pagination{-webkit-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:rgba(0,0,0,0);touch-action:none;box-sizing:content-box;outline:0}.mat-mdc-tab-header-pagination::-moz-focus-inner{border:0}.mat-mdc-tab-header-pagination .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-controls-enabled .mat-mdc-tab-header-pagination{display:flex}.mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after{padding-left:4px}.mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(-135deg)}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before,.mat-mdc-tab-header-pagination-after{padding-right:4px}.mat-mdc-tab-header-rtl .mat-mdc-tab-header-pagination-before .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-header-pagination-after .mat-mdc-tab-header-pagination-chevron{transform:rotate(45deg)}.mat-mdc-tab-header-pagination-chevron{border-style:solid;border-width:2px 2px 0 0;height:8px;width:8px;border-color:var(--mat-tab-header-pagination-icon-color, var(--mat-app-on-surface))}.mat-mdc-tab-header-pagination-disabled{box-shadow:none;cursor:default;pointer-events:none}.mat-mdc-tab-header-pagination-disabled .mat-mdc-tab-header-pagination-chevron{opacity:.4}.mat-mdc-tab-list{flex-grow:1;position:relative;transition:transform 500ms cubic-bezier(0.35, 0, 0.25, 1)}._mat-animation-noopable .mat-mdc-tab-list{transition:none}.mat-mdc-tab-label-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-group-inverted-header .mat-mdc-tab-label-container{border-bottom:none;border-top-style:solid;border-top-width:var(--mat-tab-header-divider-height);border-top-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-labels{display:flex;flex:1 0 auto}[mat-align-tabs=center]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-header .mat-mdc-tab-labels{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-labels,.mat-mdc-tab-labels.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab::before{margin:5px}.cdk-high-contrast-active .mat-mdc-tab[aria-disabled=true]{color:GrayText}"],encapsulation:2})}}return t})(),gT=new L("MAT_TABS_CONFIG"),Gae={translateTab:kt("translateTab",[tt("center, void, left-origin-center, right-origin-center",De({transform:"none",visibility:"visible"})),tt("left",De({transform:"translate3d(-100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),tt("right",De({transform:"translate3d(100%, 0, 0)",minHeight:"1px",visibility:"hidden"})),Ze("* => left, * => right, left => center, right => center",et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")),Ze("void => left-origin-center",[De({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"}),et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")]),Ze("void => right-origin-center",[De({transform:"translate3d(100%, 0, 0)",visibility:"hidden"}),et("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)")])])},Wae=(()=>{class t extends Qi{constructor(e,i,r,a){super(e,i,a),this._host=r,this._centeringSub=xe.EMPTY,this._leavingSub=xe.EMPTY}ngOnInit(){super.ngOnInit(),this._centeringSub=this._host._beforeCentering.pipe(Qe(this._host._isCenterPosition(this._host._position))).subscribe(e=>{this._host._content&&e&&!this.hasAttached()&&this.attach(this._host._content)}),this._leavingSub=this._host._afterLeavingCenter.subscribe(()=>{this._host.preserveContent||this.detach()})}ngOnDestroy(){super.ngOnDestroy(),this._centeringSub.unsubscribe(),this._leavingSub.unsubscribe()}static{this.\u0275fac=function(i){return new(i||t)(m(_r),m(Xe),m(ct(()=>_T)),m(Ce))}}static{this.\u0275dir=T({type:t,selectors:[["","matTabBodyHost",""]],standalone:!0,features:[de]})}}return t})(),_T=(()=>{class t{set position(e){this._positionIndex=e,this._computePositionAnimationState()}constructor(e,i,r){this._elementRef=e,this._dir=i,this._dirChangeSubscription=xe.EMPTY,this._translateTabComplete=new U,this._onCentering=new B,this._beforeCentering=new B,this._afterLeavingCenter=new B,this._onCentered=new B(!0),this.animationDuration="500ms",this.preserveContent=!1,i&&(this._dirChangeSubscription=i.change.subscribe(a=>{this._computePositionAnimationState(a),r.markForCheck()})),this._translateTabComplete.subscribe(a=>{this._isCenterPosition(a.toState)&&this._isCenterPosition(this._position)&&this._onCentered.emit(),this._isCenterPosition(a.fromState)&&!this._isCenterPosition(this._position)&&this._afterLeavingCenter.emit()})}ngOnInit(){this._position=="center"&&this.origin!=null&&(this._position=this._computePositionFromOrigin(this.origin))}ngOnDestroy(){this._dirChangeSubscription.unsubscribe(),this._translateTabComplete.complete()}_onTranslateTabStarted(e){let i=this._isCenterPosition(e.toState);this._beforeCentering.emit(i),i&&this._onCentering.emit(this._elementRef.nativeElement.clientHeight)}_getLayoutDirection(){return this._dir&&this._dir.value==="rtl"?"rtl":"ltr"}_isCenterPosition(e){return e=="center"||e=="left-origin-center"||e=="right-origin-center"}_computePositionAnimationState(e=this._getLayoutDirection()){this._positionIndex<0?this._position=e=="ltr"?"left":"right":this._positionIndex>0?this._position=e=="ltr"?"right":"left":this._position="center"}_computePositionFromOrigin(e){let i=this._getLayoutDirection();return i=="ltr"&&e<=0||i=="rtl"&&e>0?"left-origin-center":"right-origin-center"}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Je,8),m(pe))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-body"]],viewQuery:function(i,r){if(i&1&&ue(Qi,5),i&2){let a;G(a=W())&&(r._portalHost=a.first)}},hostAttrs:[1,"mat-mdc-tab-body"],inputs:{_content:[0,"content","_content"],origin:"origin",animationDuration:"animationDuration",preserveContent:"preserveContent",position:"position"},outputs:{_onCentering:"_onCentering",_beforeCentering:"_beforeCentering",_afterLeavingCenter:"_afterLeavingCenter",_onCentered:"_onCentered"},standalone:!0,features:[ae],decls:3,vars:6,consts:[["content",""],["cdkScrollable","",1,"mat-mdc-tab-body-content"],["matTabBodyHost",""]],template:function(i,r){if(i&1){let a=le();p(0,"div",1,0),H("@translateTab.start",function(s){return F(a),j(r._onTranslateTabStarted(s))})("@translateTab.done",function(s){return F(a),j(r._translateTabComplete.next(s))}),w(2,Sae,0,0,"ng-template",2),f()}i&2&&C("@translateTab",cr(3,Dae,r._position,sr(1,wae,r.animationDuration)))},dependencies:[Wae,ma],styles:['.mat-mdc-tab-body{top:0;left:0;right:0;bottom:0;position:absolute;display:block;overflow:hidden;outline:0;flex-basis:100%}.mat-mdc-tab-body.mat-mdc-tab-body-active{position:relative;overflow-x:hidden;overflow-y:auto;z-index:1;flex-grow:1}.mat-mdc-tab-group.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body.mat-mdc-tab-body-active{overflow-y:hidden}.mat-mdc-tab-body-content{height:100%;overflow:auto}.mat-mdc-tab-group-dynamic-height .mat-mdc-tab-body-content{overflow:hidden}.mat-mdc-tab-body-content[style*="visibility: hidden"]{display:none}'],encapsulation:2,data:{animation:[Gae.translateTab]}})}}return t})(),qae=0,Yae=!0,Eke=(()=>{class t{get fitInkBarToContent(){return this._fitInkBarToContent}set fitInkBarToContent(e){this._fitInkBarToContent=e,this._changeDetectorRef.markForCheck()}get selectedIndex(){return this._selectedIndex}set selectedIndex(e){this._indexToSelect=isNaN(e)?null:e}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get contentTabIndex(){return this._contentTabIndex}set contentTabIndex(e){this._contentTabIndex=isNaN(e)?null:e}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){if(!Yae)throw new Error("mat-tab-group background color must be set through the Sass theming API");let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,a){this._elementRef=e,this._changeDetectorRef=i,this._animationMode=a,this._tabs=new Pi,this._indexToSelect=0,this._lastFocusedTabIndex=null,this._tabBodyWrapperHeight=0,this._tabsSubscription=xe.EMPTY,this._tabLabelSubscription=xe.EMPTY,this._fitInkBarToContent=!1,this.stretchTabs=!0,this.dynamicHeight=!1,this._selectedIndex=null,this.headerPosition="above",this.disablePagination=!1,this.disableRipple=!1,this.preserveContent=!1,this.selectedIndexChange=new B,this.focusChange=new B,this.animationDone=new B,this.selectedTabChange=new B(!0),this._isServer=!z(ze).isBrowser,this._groupId=qae++,this.animationDuration=r&&r.animationDuration?r.animationDuration:"500ms",this.disablePagination=r&&r.disablePagination!=null?r.disablePagination:!1,this.dynamicHeight=r&&r.dynamicHeight!=null?r.dynamicHeight:!1,r?.contentTabIndex!=null&&(this.contentTabIndex=r.contentTabIndex),this.preserveContent=!!r?.preserveContent,this.fitInkBarToContent=r&&r.fitInkBarToContent!=null?r.fitInkBarToContent:!1,this.stretchTabs=r&&r.stretchTabs!=null?r.stretchTabs:!0}ngAfterContentChecked(){let e=this._indexToSelect=this._clampTabIndex(this._indexToSelect);if(this._selectedIndex!=e){let i=this._selectedIndex==null;if(!i){this.selectedTabChange.emit(this._createChangeEvent(e));let r=this._tabBodyWrapper.nativeElement;r.style.minHeight=r.clientHeight+"px"}Promise.resolve().then(()=>{this._tabs.forEach((r,a)=>r.isActive=a===e),i||(this.selectedIndexChange.emit(e),this._tabBodyWrapper.nativeElement.style.minHeight="")})}this._tabs.forEach((i,r)=>{i.position=r-e,this._selectedIndex!=null&&i.position==0&&!i.origin&&(i.origin=e-this._selectedIndex)}),this._selectedIndex!==e&&(this._selectedIndex=e,this._lastFocusedTabIndex=null,this._changeDetectorRef.markForCheck())}ngAfterContentInit(){this._subscribeToAllTabChanges(),this._subscribeToTabLabels(),this._tabsSubscription=this._tabs.changes.subscribe(()=>{let e=this._clampTabIndex(this._indexToSelect);if(e===this._selectedIndex){let i=this._tabs.toArray(),r;for(let a=0;a{i[e].isActive=!0,this.selectedTabChange.emit(this._createChangeEvent(e))})}this._changeDetectorRef.markForCheck()})}_subscribeToAllTabChanges(){this._allTabs.changes.pipe(Qe(this._allTabs)).subscribe(e=>{this._tabs.reset(e.filter(i=>i._closestTabGroup===this||!i._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){let i=this._tabHeader;i&&(i.focusIndex=e)}_focusChanged(e){this._lastFocusedTabIndex=e,this.focusChange.emit(this._createChangeEvent(e))}_createChangeEvent(e){let i=new v_;return i.index=e,this._tabs&&this._tabs.length&&(i.tab=this._tabs.toArray()[e]),i}_subscribeToTabLabels(){this._tabLabelSubscription&&this._tabLabelSubscription.unsubscribe(),this._tabLabelSubscription=nt(...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;let i=this._tabBodyWrapper.nativeElement;i.style.height=this._tabBodyWrapperHeight+"px",this._tabBodyWrapper.nativeElement.offsetHeight&&(i.style.height=e+"px")}_removeTabBodyWrapperHeight(){let e=this._tabBodyWrapper.nativeElement;this._tabBodyWrapperHeight=e.clientHeight,e.style.height="",this.animationDone.emit()}_handleClick(e,i,r){i.focusIndex=r,e.disabled||(this.selectedIndex=r)}_getTabIndex(e){let i=this._lastFocusedTabIndex??this.selectedIndex;return e===i?0:-1}_tabFocusChanged(e,i){e&&e!=="mouse"&&e!=="touch"&&(this._tabHeader.focusIndex=i)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(pe),m(gT,8),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-group"]],contentQueries:function(i,r,a){if(i&1&&we(a,jae,5),i&2){let o;G(o=W())&&(r._allTabs=o)}},viewQuery:function(i,r){if(i&1&&(ue(kae,5),ue(Iae,5)),i&2){let a;G(a=W())&&(r._tabBodyWrapper=a.first),G(a=W())&&(r._tabHeader=a.first)}},hostAttrs:[1,"mat-mdc-tab-group"],hostVars:10,hostBindings:function(i,r){i&2&&(Lt("mat-"+(r.color||"primary")),Pt("--mat-tab-animation-duration",r.animationDuration),re("mat-mdc-tab-group-dynamic-height",r.dynamicHeight)("mat-mdc-tab-group-inverted-header",r.headerPosition==="below")("mat-mdc-tab-group-stretch-tabs",r.stretchTabs))},inputs:{color:"color",fitInkBarToContent:[2,"fitInkBarToContent","fitInkBarToContent",q],stretchTabs:[2,"mat-stretch-tabs","stretchTabs",q],dynamicHeight:[2,"dynamicHeight","dynamicHeight",q],selectedIndex:[2,"selectedIndex","selectedIndex",st],headerPosition:"headerPosition",animationDuration:"animationDuration",contentTabIndex:[2,"contentTabIndex","contentTabIndex",st],disablePagination:[2,"disablePagination","disablePagination",q],disableRipple:[2,"disableRipple","disableRipple",q],preserveContent:[2,"preserveContent","preserveContent",q],backgroundColor:"backgroundColor",ariaLabel:[0,"aria-label","ariaLabel"],ariaLabelledby:[0,"aria-labelledby","ariaLabelledby"]},outputs:{selectedIndexChange:"selectedIndexChange",focusChange:"focusChange",animationDone:"animationDone",selectedTabChange:"selectedTabChange"},exportAs:["matTabGroup"],standalone:!0,features:[he([{provide:hT,useExisting:t}]),ye,ae],ngContentSelectors:Y2,decls:9,vars:8,consts:[["tabHeader",""],["tabBodyWrapper",""],["tabNode",""],[3,"indexFocused","selectFocusedIndex","selectedIndex","disableRipple","disablePagination","aria-label","aria-labelledby"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"id","mdc-tab--active","class","disabled","fitInkBarToContent"],[1,"mat-mdc-tab-body-wrapper"],["role","tabpanel",3,"id","mat-mdc-tab-body-active","class","content","position","origin","animationDuration","preserveContent"],["role","tab","matTabLabelWrapper","","cdkMonitorElementFocus","",1,"mdc-tab","mat-mdc-tab","mat-mdc-focus-indicator",3,"click","cdkFocusChange","id","disabled","fitInkBarToContent"],[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"],[3,"cdkPortalOutlet"],["role","tabpanel",3,"_onCentered","_onCentering","id","content","position","origin","animationDuration","preserveContent"]],template:function(i,r){if(i&1){let a=le();Me(),p(0,"mat-tab-header",3,0),H("indexFocused",function(s){return F(a),j(r._focusChanged(s))})("selectFocusedIndex",function(s){return F(a),j(r.selectedIndex=s)}),nr(2,Tae,8,17,"div",4,bo),f(),w(4,Vae,1,0),p(5,"div",5,1),nr(7,Aae,1,13,"mat-tab-body",6,bo),f()}i&2&&(C("selectedIndex",r.selectedIndex||0)("disableRipple",r.disableRipple)("disablePagination",r.disablePagination)("aria-label",r.ariaLabel)("aria-labelledby",r.ariaLabelledby),g(2),rr(r._tabs),g(2),Se(r._isServer?4:-1),g(),re("_mat-animation-noopable",r._animationMode==="NoopAnimations"),g(2),rr(r._tabs))},dependencies:[$ae,pT,ah,Ai,Qi,_T],styles:['.mdc-tab{min-width:90px;padding:0 24px;display:flex;flex:1 0 auto;justify-content:center;box-sizing:border-box;border:none;outline:none;text-align:center;white-space:nowrap;cursor:pointer;z-index:1}.mdc-tab__content{display:flex;align-items:center;justify-content:center;height:inherit;pointer-events:none}.mdc-tab__text-label{transition:150ms color linear;display:inline-block;line-height:1;z-index:2}.mdc-tab--active .mdc-tab__text-label{transition-delay:100ms}._mat-animation-noopable .mdc-tab__text-label{transition:none}.mdc-tab-indicator{display:flex;position:absolute;top:0;left:0;justify-content:center;width:100%;height:100%;pointer-events:none;z-index:1}.mdc-tab-indicator__content{transition:var(--mat-tab-animation-duration, 250ms) transform cubic-bezier(0.4, 0, 0.2, 1);transform-origin:left;opacity:0}.mdc-tab-indicator__content--underline{align-self:flex-end;box-sizing:border-box;width:100%;border-top-style:solid}.mdc-tab-indicator--active .mdc-tab-indicator__content{opacity:1}._mat-animation-noopable .mdc-tab-indicator__content,.mdc-tab-indicator--no-transition .mdc-tab-indicator__content{transition:none}.mat-mdc-tab-ripple{position:absolute;top:0;left:0;bottom:0;right:0;pointer-events:none}.mat-mdc-tab{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab.mdc-tab{flex-grow:0}.mat-mdc-tab .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-group.mat-mdc-tab-group-stretch-tabs>.mat-mdc-tab-header .mat-mdc-tab{flex-grow:1}.mat-mdc-tab-group{display:flex;flex-direction:column;max-width:100%}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mat-mdc-tab .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background.mat-primary>.mat-mdc-tab-header .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-header .mat-mdc-tab:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-focus-indicator::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mdc-tab__ripple::before,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-group.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header{flex-direction:column-reverse}.mat-mdc-tab-group.mat-mdc-tab-group-inverted-header .mdc-tab-indicator__content--underline{align-self:flex-start}.mat-mdc-tab-body-wrapper{position:relative;overflow:hidden;display:flex;transition:height 500ms cubic-bezier(0.35, 0, 0.25, 1)}.mat-mdc-tab-body-wrapper._mat-animation-noopable{transition:none !important;animation:none !important}'],encapsulation:2})}}return t})(),v_=class{},vT=0,Qae=(()=>{class t extends fT{get fitInkBarToContent(){return this._fitInkBarToContent.value}set fitInkBarToContent(e){this._fitInkBarToContent.next(e),this._changeDetectorRef.markForCheck()}get animationDuration(){return this._animationDuration}set animationDuration(e){let i=e+"";this._animationDuration=/^\d+$/.test(i)?e+"ms":i}get backgroundColor(){return this._backgroundColor}set backgroundColor(e){let i=this._elementRef.nativeElement.classList;i.remove("mat-tabs-with-background",`mat-background-${this.backgroundColor}`),e&&i.add("mat-tabs-with-background",`mat-background-${e}`),this._backgroundColor=e}constructor(e,i,r,a,o,s,l,h){super(e,a,o,i,r,s,l),this._fitInkBarToContent=new at(!1),this.stretchTabs=!0,this.disableRipple=!1,this.color="primary",this.disablePagination=h&&h.disablePagination!=null?h.disablePagination:!1,this.fitInkBarToContent=h&&h.fitInkBarToContent!=null?h.fitInkBarToContent:!1,this.stretchTabs=h&&h.stretchTabs!=null?h.stretchTabs:!0}_itemSelected(){}ngAfterContentInit(){this._inkBar=new Tm(this._items),this._items.changes.pipe(Qe(null),_e(this._destroyed)).subscribe(()=>{this.updateActiveLink()}),super.ngAfterContentInit()}ngAfterViewInit(){this.tabPanel,super.ngAfterViewInit()}updateActiveLink(){if(!this._items)return;let e=this._items.toArray();for(let i=0;i.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:center}[mat-align-tabs=end]>.mat-mdc-tab-link-container .mat-mdc-tab-links{justify-content:flex-end}.cdk-drop-list .mat-mdc-tab-links,.mat-mdc-tab-links.cdk-drop-list{min-height:var(--mdc-secondary-navigation-tab-container-height)}.mat-mdc-tab-link-container{display:flex;flex-grow:1;overflow:hidden;z-index:1;border-bottom-style:solid;border-bottom-width:var(--mat-tab-header-divider-height);border-bottom-color:var(--mat-tab-header-divider-color, var(--mat-app-surface-variant))}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination{background-color:var(--mat-tab-header-with-background-background-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background.mat-primary>.mat-mdc-tab-link-container .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab__text-label{color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background:not(.mat-primary)>.mat-mdc-tab-link-container .mat-mdc-tab-link:not(.mdc-tab--active) .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-focus-indicator::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-focus-indicator::before{border-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mdc-tab__ripple::before,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-ripple-element,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mdc-tab__ripple::before{background-color:var(--mat-tab-header-with-background-foreground-color)}.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-link-container .mat-mdc-tab-header-pagination-chevron,.mat-mdc-tab-nav-bar.mat-tabs-with-background>.mat-mdc-tab-header-pagination .mat-mdc-tab-header-pagination-chevron{color:var(--mat-tab-header-with-background-foreground-color)}"],encapsulation:2})}}return t})(),Kae=(()=>{class t extends mT{get active(){return this._isActive}set active(e){e!==this._isActive&&(this._isActive=e,this._tabNavBar.updateActiveLink())}get rippleDisabled(){return this.disabled||this.disableRipple||this._tabNavBar.disableRipple||!!this.rippleConfig.disabled}constructor(e,i,r,a,o,s){super(),this._tabNavBar=e,this.elementRef=i,this._focusMonitor=o,this._destroyed=new U,this._isActive=!1,this.disabled=!1,this.disableRipple=!1,this.tabIndex=0,this.id=`mat-tab-link-${vT++}`,this.rippleConfig=r||{},this.tabIndex=parseInt(a)||0,s==="NoopAnimations"&&(this.rippleConfig.animation={enterDuration:0,exitDuration:0}),e._fitInkBarToContent.pipe(_e(this._destroyed)).subscribe(l=>{this.fitInkBarToContent=l})}focus(){this.elementRef.nativeElement.focus()}ngAfterViewInit(){this._focusMonitor.monitor(this.elementRef)}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete(),super.ngOnDestroy(),this._focusMonitor.stopMonitoring(this.elementRef)}_handleFocus(){this._tabNavBar.focusIndex=this._tabNavBar._items.toArray().indexOf(this)}_handleKeydown(e){(e.keyCode===32||e.keyCode===13)&&(this.disabled?e.preventDefault():this._tabNavBar.tabPanel&&(e.keyCode===32&&e.preventDefault(),this.elementRef.nativeElement.click()))}_getAriaControls(){return this._tabNavBar.tabPanel?this._tabNavBar.tabPanel?.id:this.elementRef.nativeElement.getAttribute("aria-controls")}_getAriaSelected(){return this._tabNavBar.tabPanel?this.active?"true":"false":this.elementRef.nativeElement.getAttribute("aria-selected")}_getAriaCurrent(){return this.active&&!this._tabNavBar.tabPanel?"page":null}_getRole(){return this._tabNavBar.tabPanel?"tab":this.elementRef.nativeElement.getAttribute("role")}_getTabIndex(){return this._tabNavBar.tabPanel?this._isActive&&!this.disabled?0:-1:this.disabled?-1:this.tabIndex}static{this.\u0275fac=function(i){return new(i||t)(m(Qae),m($),m(Eo,8),Gt("tabindex"),m(Qt),m(ot,8))}}static{this.\u0275cmp=A({type:t,selectors:[["","mat-tab-link",""],["","matTabLink",""]],hostAttrs:[1,"mdc-tab","mat-mdc-tab-link","mat-mdc-focus-indicator"],hostVars:11,hostBindings:function(i,r){i&1&&H("focus",function(){return r._handleFocus()})("keydown",function(o){return r._handleKeydown(o)}),i&2&&(ie("aria-controls",r._getAriaControls())("aria-current",r._getAriaCurrent())("aria-disabled",r.disabled)("aria-selected",r._getAriaSelected())("id",r.id)("tabIndex",r._getTabIndex())("role",r._getRole()),re("mat-mdc-tab-disabled",r.disabled)("mdc-tab--active",r.active))},inputs:{active:[2,"active","active",q],disabled:[2,"disabled","disabled",q],disableRipple:[2,"disableRipple","disableRipple",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)],id:"id"},exportAs:["matTabLink"],standalone:!0,features:[ye,de,ae],attrs:Lae,ngContentSelectors:Y2,decls:5,vars:2,consts:[[1,"mdc-tab__ripple"],["mat-ripple","",1,"mat-mdc-tab-ripple",3,"matRippleTrigger","matRippleDisabled"],[1,"mdc-tab__content"],[1,"mdc-tab__text-label"]],template:function(i,r){i&1&&(Me(),R(0,"span",0)(1,"div",1),p(2,"span",2)(3,"span",3),se(4),f()()),i&2&&(g(),C("matRippleTrigger",r.elementRef.nativeElement)("matRippleDisabled",r.rippleDisabled))},dependencies:[Ai],styles:['.mat-mdc-tab-link{-webkit-tap-highlight-color:rgba(0,0,0,0);-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none;background:none;height:var(--mdc-secondary-navigation-tab-container-height);font-family:var(--mat-tab-header-label-text-font, var(--mat-app-title-small-font));font-size:var(--mat-tab-header-label-text-size, var(--mat-app-title-small-size));letter-spacing:var(--mat-tab-header-label-text-tracking, var(--mat-app-title-small-tracking));line-height:var(--mat-tab-header-label-text-line-height, var(--mat-app-title-small-line-height));font-weight:var(--mat-tab-header-label-text-weight, var(--mat-app-title-small-weight))}.mat-mdc-tab-link.mdc-tab{flex-grow:0}.mat-mdc-tab-link .mdc-tab-indicator__content--underline{border-color:var(--mdc-tab-indicator-active-indicator-color, var(--mat-app-primary));border-top-width:var(--mdc-tab-indicator-active-indicator-height);border-radius:var(--mdc-tab-indicator-active-indicator-shape)}.mat-mdc-tab-link:hover .mdc-tab__text-label{color:var(--mat-tab-header-inactive-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link:focus .mdc-tab__text-label{color:var(--mat-tab-header-inactive-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__text-label{color:var(--mat-tab-header-active-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active .mdc-tab__ripple::before,.mat-mdc-tab-link.mdc-tab--active .mat-ripple-element{background-color:var(--mat-tab-header-active-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab__text-label{color:var(--mat-tab-header-active-hover-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:hover .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-hover-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab__text-label{color:var(--mat-tab-header-active-focus-label-text-color, var(--mat-app-on-surface))}.mat-mdc-tab-link.mdc-tab--active:focus .mdc-tab-indicator__content--underline{border-color:var(--mat-tab-header-active-focus-indicator-color, var(--mat-app-primary))}.mat-mdc-tab-link.mat-mdc-tab-disabled{opacity:.4;pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__content{pointer-events:none}.mat-mdc-tab-link.mat-mdc-tab-disabled .mdc-tab__ripple::before,.mat-mdc-tab-link.mat-mdc-tab-disabled .mat-ripple-element{background-color:var(--mat-tab-header-disabled-ripple-color)}.mat-mdc-tab-link .mdc-tab__ripple::before{content:"";display:block;position:absolute;top:0;left:0;right:0;bottom:0;opacity:0;pointer-events:none;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-link .mdc-tab__text-label{color:var(--mat-tab-header-inactive-label-text-color, var(--mat-app-on-surface));display:inline-flex;align-items:center}.mat-mdc-tab-link .mdc-tab__content{position:relative;pointer-events:auto}.mat-mdc-tab-link:hover .mdc-tab__ripple::before{opacity:.04}.mat-mdc-tab-link.cdk-program-focused .mdc-tab__ripple::before,.mat-mdc-tab-link.cdk-keyboard-focused .mdc-tab__ripple::before{opacity:.12}.mat-mdc-tab-link .mat-ripple-element{opacity:.12;background-color:var(--mat-tab-header-inactive-ripple-color, var(--mat-app-on-surface))}.mat-mdc-tab-header.mat-mdc-tab-nav-bar-stretch-tabs .mat-mdc-tab-link{flex-grow:1}.mat-mdc-tab-link::before{margin:5px}@media(max-width: 599px){.mat-mdc-tab-link{min-width:72px}}'],encapsulation:2,changeDetection:0})}}return t})(),Oke=(()=>{class t{constructor(){this.id=`mat-tab-nav-panel-${vT++}`}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mat-tab-nav-panel"]],hostAttrs:["role","tabpanel",1,"mat-mdc-tab-nav-panel"],hostVars:2,hostBindings:function(i,r){i&2&&ie("aria-labelledby",r._activeTabId)("id",r.id)},inputs:{id:"id"},exportAs:["matTabNavPanel"],standalone:!0,features:[ae],ngContentSelectors:Y2,decls:1,vars:0,template:function(i,r){i&1&&(Me(),se(0))},encapsulation:2,changeDetection:0})}}return t})(),bT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();var Zae=["*",[["mat-toolbar-row"]]],Xae=["*","mat-toolbar-row"],Jae=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275dir=T({type:t,selectors:[["mat-toolbar-row"]],hostAttrs:[1,"mat-toolbar-row"],exportAs:["matToolbarRow"],standalone:!0})}}return t})(),Ake=(()=>{class t{constructor(e,i,r){this._elementRef=e,this._platform=i,this._document=r}ngAfterViewInit(){this._platform.isBrowser&&(this._checkToolbarMixedModes(),this._toolbarRows.changes.subscribe(()=>this._checkToolbarMixedModes()))}_checkToolbarMixedModes(){this._toolbarRows.length}static{this.\u0275fac=function(i){return new(i||t)(m($),m(ze),m(Ce))}}static{this.\u0275cmp=A({type:t,selectors:[["mat-toolbar"]],contentQueries:function(i,r,a){if(i&1&&we(a,Jae,5),i&2){let o;G(o=W())&&(r._toolbarRows=o)}},hostAttrs:[1,"mat-toolbar"],hostVars:6,hostBindings:function(i,r){i&2&&(Lt(r.color?"mat-"+r.color:""),re("mat-toolbar-multiple-rows",r._toolbarRows.length>0)("mat-toolbar-single-row",r._toolbarRows.length===0))},inputs:{color:"color"},exportAs:["matToolbar"],standalone:!0,features:[ae],ngContentSelectors:Xae,decls:2,vars:0,template:function(i,r){i&1&&(Me(Zae),se(0),se(1,1))},styles:[".mat-toolbar{background:var(--mat-toolbar-container-background-color, var(--mat-app-surface));color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.mat-toolbar,.mat-toolbar h1,.mat-toolbar h2,.mat-toolbar h3,.mat-toolbar h4,.mat-toolbar h5,.mat-toolbar h6{font-family:var(--mat-toolbar-title-text-font, var(--mat-app-title-large-font));font-size:var(--mat-toolbar-title-text-size, var(--mat-app-title-large-size));line-height:var(--mat-toolbar-title-text-line-height, var(--mat-app-title-large-line-height));font-weight:var(--mat-toolbar-title-text-weight, var(--mat-app-title-large-weight));letter-spacing:var(--mat-toolbar-title-text-tracking, var(--mat-app-title-large-tracking));margin:0}.cdk-high-contrast-active .mat-toolbar{outline:solid 1px}.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 .mat-mdc-button-base.mat-mdc-button-base.mat-unthemed{--mdc-text-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface));--mdc-outlined-button-label-text-color:var(--mat-toolbar-container-text-color, var(--mat-app-on-surface))}.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;height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-row,.mat-toolbar-single-row{height:var(--mat-toolbar-mobile-height)}}.mat-toolbar-multiple-rows{display:flex;box-sizing:border-box;flex-direction:column;width:100%;min-height:var(--mat-toolbar-standard-height)}@media(max-width: 599px){.mat-toolbar-multiple-rows{min-height:var(--mat-toolbar-mobile-height)}}"],encapsulation:2,changeDetection:0})}}return t})();var yT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[fe,fe]})}}return t})();var Vm=class{constructor(){this.expansionModel=new ur(!0)}toggle(n){this.expansionModel.toggle(this._trackByValue(n))}expand(n){this.expansionModel.select(this._trackByValue(n))}collapse(n){this.expansionModel.deselect(this._trackByValue(n))}isExpanded(n){return this.expansionModel.isSelected(this._trackByValue(n))}toggleDescendants(n){this.expansionModel.isSelected(this._trackByValue(n))?this.collapseDescendants(n):this.expandDescendants(n)}collapseAll(){this.expansionModel.clear()}expandDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.select(...e.map(i=>this._trackByValue(i)))}collapseDescendants(n){let e=[n];e.push(...this.getDescendants(n)),this.expansionModel.deselect(...e.map(i=>this._trackByValue(i)))}_trackByValue(n){return this.trackBy?this.trackBy(n):n}},CT=class extends Vm{constructor(n,e,i){super(),this.getLevel=n,this.isExpandable=e,this.options=i,this.options&&(this.trackBy=this.options.trackBy)}getDescendants(n){let e=this.dataNodes.indexOf(n),i=[];for(let r=e+1;rthis._trackByValue(n)))}},xT=class extends Vm{constructor(n,e){super(),this.getChildren=n,this.options=e,this.options&&(this.trackBy=this.options.trackBy),this.options?.isExpandable&&(this.isExpandable=this.options.isExpandable)}expandAll(){this.expansionModel.clear();let n=this.dataNodes.reduce((e,i)=>[...e,...this.getDescendants(i),i],[]);this.expansionModel.select(...n.map(e=>this._trackByValue(e)))}getDescendants(n){let e=[];return this._getDescendants(e,n),e.splice(1)}_getDescendants(n,e){n.push(e);let i=this.getChildren(e);Array.isArray(i)?i.forEach(r=>this._getDescendants(n,r)):Li(i)&&i.pipe(Ue(1),Ve(Boolean)).subscribe(r=>{for(let a of r)this._getDescendants(n,a)})}},f4=new L("CDK_TREE_NODE_OUTLET_NODE"),p4=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(f4,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeOutlet",""]],standalone:!0})}}return t})(),b_=class{constructor(n){this.$implicit=n}},Am=(()=>{class t{constructor(e){this.template=e}static{this.\u0275fac=function(i){return new(i||t)(m($e))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeDef",""]],inputs:{when:[0,"cdkTreeNodeDefWhen","when"]},standalone:!0})}}return t})();function MT(){return Error("Could not find a tree control, levelAccessor, or childrenAccessor for the tree.")}var Ka=(()=>{class t{get dataSource(){return this._dataSource}set dataSource(e){this._dataSource!==e&&this._switchDataSource(e)}constructor(e,i){this._differs=e,this._changeDetectorRef=i,this._elementRef=z($),this._dir=z(Je),this._onDestroy=new U,this._levels=new Map,this._parents=new Map,this._ariaSets=new Map,this.viewChange=new at({start:0,end:Number.MAX_VALUE}),this._flattenedNodes=new at([]),this._nodeType=new at(null),this._nodes=new at(new Map),this._keyManagerNodes=new at([]),this._keyManagerFactory=z(mw),this._viewInit=!1}ngAfterContentInit(){this._initializeKeyManager()}ngAfterContentChecked(){this._updateDefaultNodeDefinition(),this._subscribeToDataChanges()}ngOnDestroy(){this._nodeOutlet.viewContainer.clear(),this.viewChange.complete(),this._onDestroy.next(),this._onDestroy.complete(),this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),this._keyManager?.destroy()}ngOnInit(){this._checkTreeControlUsage(),this._initializeDataDiffer()}ngAfterViewInit(){this._viewInit=!0}_updateDefaultNodeDefinition(){let e=this._nodeDefs.filter(i=>!i.when);e.length>1,this._defaultNodeDef=e[0]}_setNodeTypeIfUnset(e){this._nodeType.value===null&&this._nodeType.next(e)}_switchDataSource(e){this._dataSource&&typeof this._dataSource.disconnect=="function"&&this.dataSource.disconnect(this),this._dataSubscription&&(this._dataSubscription.unsubscribe(),this._dataSubscription=null),e||this._nodeOutlet.viewContainer.clear(),this._dataSource=e,this._nodeDefs&&this._subscribeToDataChanges()}_getExpansionModel(){return this.treeControl?this.treeControl.expansionModel:(this._expansionModel??=new ur(!0),this._expansionModel)}_subscribeToDataChanges(){if(this._dataSubscription)return;let e;o2(this._dataSource)?e=this._dataSource.connect(this):Li(this._dataSource)?e=this._dataSource:Array.isArray(this._dataSource)&&(e=ce(this._dataSource)),e&&(this._dataSubscription=this._getRenderData(e).pipe(_e(this._onDestroy)).subscribe(i=>{this._renderDataChanges(i)}))}_getRenderData(e){let i=this._getExpansionModel();return on([e,this._nodeType,i.changed.pipe(Qe(null),yt(r=>{this._emitExpansionChanges(r)}))]).pipe(dt(([r,a])=>a===null?ce({renderNodes:r,flattenedNodes:null,nodeType:a}):this._computeRenderingData(r,a).pipe(me(o=>Ge(Y({},o),{nodeType:a})))))}_renderDataChanges(e){if(e.nodeType===null){this.renderNodeChanges(e.renderNodes);return}this._updateCachedData(e.flattenedNodes),this.renderNodeChanges(e.renderNodes),this._updateKeyManagerItems(e.flattenedNodes)}_emitExpansionChanges(e){if(!e)return;let i=this._nodes.value;for(let r of e.added)i.get(r)?._emitExpansionState(!0);for(let r of e.removed)i.get(r)?._emitExpansionState(!1)}_initializeKeyManager(){let e=on([this._keyManagerNodes,this._nodes]).pipe(me(([r,a])=>r.reduce((o,s)=>{let l=a.get(this._getExpansionKey(s));return l&&o.push(l),o},[]))),i={trackBy:r=>this._getExpansionKey(r.data),skipPredicate:r=>!!r.isDisabled,typeAheadDebounceInterval:!0,horizontalOrientation:this._dir.value};this._keyManager=this._keyManagerFactory(e,i)}_initializeDataDiffer(){let e=this.trackBy??((i,r)=>this._getExpansionKey(r));this._dataDiffer=this._differs.find([]).create(e)}_checkTreeControlUsage(){}renderNodeChanges(e,i=this._dataDiffer,r=this._nodeOutlet.viewContainer,a){let o=i.diff(e);!o&&!this._viewInit||(o?.forEachOperation((s,l,h)=>{if(s.previousIndex==null)this.insertNode(e[h],h,r,a);else if(h==null)r.remove(l);else{let v=r.get(l);r.move(v,h)}}),o?.forEachIdentityChange(s=>{let l=s.item;if(s.currentIndex!=null){let h=r.get(s.currentIndex);h.context.$implicit=l}}),a?this._changeDetectorRef.markForCheck():this._changeDetectorRef.detectChanges())}_getNodeDef(e,i){if(this._nodeDefs.length===1)return this._nodeDefs.first;let r=this._nodeDefs.find(a=>a.when&&a.when(i,e))||this._defaultNodeDef;return r}insertNode(e,i,r,a){let o=this._getLevelAccessor(),s=this._getNodeDef(e,i),l=this._getExpansionKey(e),h=new b_(e);a??=this._parents.get(l)??void 0,o?h.level=o(e):a!==void 0&&this._levels.has(this._getExpansionKey(a))?h.level=this._levels.get(this._getExpansionKey(a))+1:h.level=0,this._levels.set(l,h.level),(r||this._nodeOutlet.viewContainer).createEmbeddedView(s.template,h,i),Qa.mostRecentTreeNode&&(Qa.mostRecentTreeNode.data=e)}isExpanded(e){return!!(this.treeControl?.isExpanded(e)||this._expansionModel?.isSelected(this._getExpansionKey(e)))}toggle(e){this.treeControl?this.treeControl.toggle(e):this._expansionModel&&this._expansionModel.toggle(this._getExpansionKey(e))}expand(e){this.treeControl?this.treeControl.expand(e):this._expansionModel&&this._expansionModel.select(this._getExpansionKey(e))}collapse(e){this.treeControl?this.treeControl.collapse(e):this._expansionModel&&this._expansionModel.deselect(this._getExpansionKey(e))}toggleDescendants(e){this.treeControl?this.treeControl.toggleDescendants(e):this._expansionModel&&(this.isExpanded(e)?this.collapseDescendants(e):this.expandDescendants(e))}expandDescendants(e){if(this.treeControl)this.treeControl.expandDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.select(this._getExpansionKey(e)),this._getDescendants(e).pipe(Ue(1),_e(this._onDestroy)).subscribe(r=>{i.select(...r.map(a=>this._getExpansionKey(a)))})}}collapseDescendants(e){if(this.treeControl)this.treeControl.collapseDescendants(e);else if(this._expansionModel){let i=this._expansionModel;i.deselect(this._getExpansionKey(e)),this._getDescendants(e).pipe(Ue(1),_e(this._onDestroy)).subscribe(r=>{i.deselect(...r.map(a=>this._getExpansionKey(a)))})}}expandAll(){this.treeControl?this.treeControl.expandAll():this._expansionModel&&this._expansionModel.select(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}collapseAll(){this.treeControl?this.treeControl.collapseAll():this._expansionModel&&this._expansionModel.deselect(...this._flattenedNodes.value.map(i=>this._getExpansionKey(i)))}_getLevelAccessor(){return this.treeControl?.getLevel?.bind(this.treeControl)??this.levelAccessor}_getChildrenAccessor(){return this.treeControl?.getChildren?.bind(this.treeControl)??this.childrenAccessor}_getDirectChildren(e){let i=this._getLevelAccessor(),r=this._expansionModel??this.treeControl?.expansionModel;if(!r)return ce([]);let a=this._getExpansionKey(e),o=r.changed.pipe(dt(l=>l.added.includes(a)?ce(!0):l.removed.includes(a)?ce(!1):ci),Qe(this.isExpanded(e)));if(i)return on([o,this._flattenedNodes]).pipe(me(([l,h])=>l?this._findChildrenByLevel(i,h,e,1):[]));let s=this._getChildrenAccessor();if(s)return _c(s(e)??[]);throw MT()}_findChildrenByLevel(e,i,r,a){let o=this._getExpansionKey(r),s=i.findIndex(y=>this._getExpansionKey(y)===o),l=e(r),h=l+a,v=[];for(let y=s+1;ythis._getExpansionKey(a)===r)+1}_getNodeParent(e){let i=this._parents.get(this._getExpansionKey(e.data));return i&&this._nodes.value.get(this._getExpansionKey(i))}_getNodeChildren(e){return this._getDirectChildren(e.data).pipe(me(i=>i.reduce((r,a)=>{let o=this._nodes.value.get(this._getExpansionKey(a));return o&&r.push(o),r},[])))}_sendKeydownToKeyManager(e){if(e.target===this._elementRef.nativeElement)this._keyManager.onKeydown(e);else{let i=this._nodes.getValue();for(let[,r]of i)if(e.target===r._elementRef.nativeElement){this._keyManager.onKeydown(e);break}}}_getDescendants(e){if(this.treeControl)return ce(this.treeControl.getDescendants(e));if(this.levelAccessor){let i=this._findChildrenByLevel(this.levelAccessor,this._flattenedNodes.value,e,1/0);return ce(i)}if(this.childrenAccessor)return this._getAllChildrenRecursively(e).pipe(b3((i,r)=>(i.push(...r),i),[]));throw MT()}_getAllChildrenRecursively(e){return this.childrenAccessor?_c(this.childrenAccessor(e)).pipe(Ue(1),dt(i=>{for(let r of i)this._parents.set(this._getExpansionKey(r),e);return ce(...i).pipe(Yn(r=>xn(ce([r]),this._getAllChildrenRecursively(r))))})):ce([])}_getExpansionKey(e){return this.expansionKey?.(e)??e}_getAriaSet(e){let i=this._getExpansionKey(e),r=this._parents.get(i),a=r?this._getExpansionKey(r):null;return this._ariaSets.get(a)??[e]}_findParentForNode(e,i,r){if(!r.length)return null;let a=this._levels.get(this._getExpansionKey(e))??0;for(let o=i-1;o>=0;o--){let s=r[o];if((this._levels.get(this._getExpansionKey(s))??0){let o=this._getExpansionKey(a);this._parents.has(o)||this._parents.set(o,null),this._levels.set(o,i);let s=_c(r(a));return xn(ce([a]),s.pipe(Ue(1),yt(l=>{this._ariaSets.set(o,[...l??[]]);for(let h of l??[]){let v=this._getExpansionKey(h);this._parents.set(v,a),this._levels.set(v,i+1)}}),dt(l=>l?this._flattenNestedNodesWithExpansion(l,i+1).pipe(me(h=>this.isExpanded(a)?h:[])):ce([]))))}),b3((a,o)=>(a.push(...o),a),[])):ce([...e])}_computeRenderingData(e,i){if(this.childrenAccessor&&i==="flat")return this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(me(r=>({renderNodes:r,flattenedNodes:r})));if(this.levelAccessor&&i==="nested"){let r=this.levelAccessor;return ce(e.filter(a=>r(a)===0)).pipe(me(a=>({renderNodes:a,flattenedNodes:e})),yt(({flattenedNodes:a})=>{this._calculateParents(a)}))}else return i==="flat"?ce({renderNodes:e,flattenedNodes:e}).pipe(yt(({flattenedNodes:r})=>{this._calculateParents(r)})):(this._ariaSets.set(null,[...e]),this._flattenNestedNodesWithExpansion(e).pipe(me(r=>({renderNodes:e,flattenedNodes:r}))))}_updateCachedData(e){this._flattenedNodes.next(e)}_updateKeyManagerItems(e){this._keyManagerNodes.next(e)}_calculateParents(e){let i=this._getLevelAccessor();if(i){this._parents.clear(),this._ariaSets.clear();for(let r=0;r{class t{get role(){return"treeitem"}set role(e){}get isExpandable(){return this._isExpandable()}set isExpandable(e){this._inputIsExpandable=e,!(this.data&&!this._isExpandable||!this._inputIsExpandable)&&(this._inputIsExpanded?this.expand():this._inputIsExpanded===!1&&this.collapse())}get isExpanded(){return this._tree.isExpanded(this._data)}set isExpanded(e){this._inputIsExpanded=e,e?this.expand():this.collapse()}getLabel(){return this.typeaheadLabel||this._elementRef.nativeElement.textContent?.trim()||""}static{this.mostRecentTreeNode=null}get data(){return this._data}set data(e){e!==this._data&&(this._data=e,this._dataChanges.next())}get isLeafNode(){return this._tree.treeControl?.isExpandable!==void 0&&!this._tree.treeControl.isExpandable(this._data)?!0:this._tree.treeControl?.isExpandable===void 0&&this._tree.treeControl?.getDescendants(this._data).length===0}get level(){return this._tree._getLevel(this._data)??this._parentNodeAriaLevel}_isExpandable(){return this._tree.treeControl?!this.isLeafNode:this._inputIsExpandable}_getAriaExpanded(){return this._isExpandable()?String(this.isExpanded):null}_getSetSize(){return this._tree._getSetSize(this._data)}_getPositionInSet(){return this._tree._getPositionInSet(this._data)}constructor(e,i){this._elementRef=e,this._tree=i,this._tabindex=-1,this.activation=new B,this.expandedChange=new B,this._destroyed=new U,this._dataChanges=new U,this._inputIsExpandable=!1,this._inputIsExpanded=void 0,this._shouldFocus=!0,this._changeDetectorRef=z(pe),t.mostRecentTreeNode=this}ngOnInit(){this._parentNodeAriaLevel=eoe(this._elementRef.nativeElement),this._tree._getExpansionModel().changed.pipe(me(()=>this.isExpanded),es()).subscribe(()=>{this._changeDetectorRef.markForCheck()}),this._tree._setNodeTypeIfUnset("flat"),this._tree._registerNode(this)}ngOnDestroy(){t.mostRecentTreeNode===this&&(t.mostRecentTreeNode=null),this._dataChanges.complete(),this._destroyed.next(),this._destroyed.complete()}getParent(){return this._tree._getNodeParent(this)??null}getChildren(){return this._tree._getNodeChildren(this)}focus(){this._tabindex=0,this._shouldFocus&&this._elementRef.nativeElement.focus(),this._changeDetectorRef.markForCheck()}unfocus(){this._tabindex=-1,this._changeDetectorRef.markForCheck()}activate(){this.isDisabled||this.activation.next(this._data)}collapse(){this.isExpandable&&this._tree.collapse(this._data)}expand(){this.isExpandable&&this._tree.expand(this._data)}makeFocusable(){this._tabindex=0,this._changeDetectorRef.markForCheck()}_focusItem(){this.isDisabled||this._tree._keyManager.focusItem(this)}_setActiveItem(){this.isDisabled||(this._shouldFocus=!1,this._tree._keyManager.focusItem(this),this._shouldFocus=!0)}_emitExpansionState(e){this.expandedChange.emit(e)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-tree-node"]],hostAttrs:["role","treeitem",1,"cdk-tree-node"],hostVars:5,hostBindings:function(i,r){i&1&&H("click",function(){return r._setActiveItem()})("focus",function(){return r._focusItem()}),i&2&&(jt("tabindex",r._tabindex),ie("aria-expanded",r._getAriaExpanded())("aria-level",r.level+1)("aria-posinset",r._getPositionInSet())("aria-setsize",r._getSetSize()))},inputs:{role:"role",isExpandable:[2,"isExpandable","isExpandable",q],isExpanded:"isExpanded",isDisabled:[2,"isDisabled","isDisabled",q],typeaheadLabel:[0,"cdkTreeNodeTypeaheadLabel","typeaheadLabel"]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["cdkTreeNode"],standalone:!0,features:[ye]})}}return t})();function eoe(t){let n=t.parentElement;for(;n&&!toe(n);)n=n.parentElement;return n?n.classList.contains("cdk-nested-tree-node")?st(n.getAttribute("aria-level")):0:-1}function toe(t){let n=t.classList;return!!(n?.contains("cdk-nested-tree-node")||n?.contains("cdk-tree"))}var y_=(()=>{class t extends Qa{constructor(e,i,r){super(e,i),this._differs=r}ngAfterContentInit(){this._dataDiffer=this._differs.find([]).create(this._tree.trackBy),this._tree._getDirectChildren(this.data).pipe(_e(this._destroyed)).subscribe(e=>this.updateChildrenNodes(e)),this.nodeOutlet.changes.pipe(_e(this._destroyed)).subscribe(()=>this.updateChildrenNodes())}ngOnInit(){this._tree._setNodeTypeIfUnset("nested"),super.ngOnInit()}ngOnDestroy(){this._clear(),super.ngOnDestroy()}updateChildrenNodes(e){let i=this._getNodeOutlet();if(e&&(this._children=e),i&&this._children){let r=i.viewContainer;this._tree.renderNodeChanges(this._children,this._dataDiffer,r,this._data)}else this._dataDiffer.diff([])}_clear(){let e=this._getNodeOutlet();e&&(e.viewContainer.clear(),this._dataDiffer.diff([]))}_getNodeOutlet(){let e=this.nodeOutlet;return e&&e.find(i=>!i._node||i._node===this)}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),m(Fn))}}static{this.\u0275dir=T({type:t,selectors:[["cdk-nested-tree-node"]],contentQueries:function(i,r,a){if(i&1&&we(a,p4,5),i&2){let o;G(o=W())&&(r.nodeOutlet=o)}},hostAttrs:[1,"cdk-nested-tree-node"],exportAs:["cdkNestedTreeNode"],standalone:!0,features:[he([{provide:Qa,useExisting:t},{provide:f4,useExisting:t}]),de]})}}return t})(),ioe=/([A-Za-z%]+)$/,C_=(()=>{class t{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}constructor(e,i,r,a){this._treeNode=e,this._tree=i,this._element=r,this._dir=a,this._destroyed=new U,this.indentUnits="px",this._indent=40,this._setPadding(),a&&a.change.pipe(_e(this._destroyed)).subscribe(()=>this._setPadding(!0)),e._dataChanges.subscribe(()=>this._setPadding())}ngOnDestroy(){this._destroyed.next(),this._destroyed.complete()}_paddingIndent(){let e=(this._treeNode.data&&this._tree._getLevel(this._treeNode.data))??null,i=this._level==null?e:this._level;return typeof i=="number"?`${i*this._indent}${this.indentUnits}`:null}_setPadding(e=!1){let i=this._paddingIndent();if(i!==this._currentPadding||e){let r=this._element.nativeElement,a=this._dir&&this._dir.value==="rtl"?"paddingRight":"paddingLeft",o=a==="paddingLeft"?"paddingRight":"paddingLeft";r.style[a]=i||"",r.style[o]="",this._currentPadding=i}}_setLevelInput(e){this._level=isNaN(e)?null:e,this._setPadding()}_setIndentInput(e){let i=e,r="px";if(typeof e=="string"){let a=e.split(ioe);i=a[0],r=a[1]||r}this.indentUnits=r,this._indent=st(i),this._setPadding()}static{this.\u0275fac=function(i){return new(i||t)(m(Qa),m(Ka),m($),m(Je,8))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodePadding",""]],inputs:{level:[2,"cdkTreeNodePadding","level",st],indent:[0,"cdkTreeNodePaddingIndent","indent"]},standalone:!0,features:[ye]})}}return t})(),x_=(()=>{class t{constructor(e,i){this._tree=e,this._treeNode=i,this.recursive=!1}_toggle(){this.recursive?this._tree.toggleDescendants(this._treeNode.data):this._tree.toggle(this._treeNode.data),this._tree._keyManager.focusItem(this._treeNode)}static{this.\u0275fac=function(i){return new(i||t)(m(Ka),m(Qa))}}static{this.\u0275dir=T({type:t,selectors:[["","cdkTreeNodeToggle",""]],hostAttrs:["tabindex","-1"],hostBindings:function(i,r){i&1&&H("click",function(o){return r._toggle(),o.stopPropagation()})("keydown.Enter",function(o){return r._toggle(),o.preventDefault()})("keydown.Space",function(o){return r._toggle(),o.preventDefault()})},inputs:{recursive:[2,"cdkTreeNodeToggleRecursive","recursive",q]},standalone:!0,features:[ye]})}}return t})();var wT=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({})}}return t})();function roe(t){return!!t._isNoopTreeKeyManager}var _Ie=(()=>{class t extends Qa{get tabIndexInputBinding(){return this._tabIndexInputBinding}set tabIndexInputBinding(e){this._tabIndexInputBinding=e}_getTabindexAttribute(){return roe(this._tree._keyManager)?this.tabIndexInputBinding:this._tabindex}get disabled(){return this.isDisabled}set disabled(e){this.isDisabled=e}constructor(e,i,r){super(e,i),this.defaultTabIndex=0,this.tabIndexInputBinding=Number(r)||this.defaultTabIndex}ngOnInit(){super.ngOnInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),Gt("tabindex"))}}static{this.\u0275dir=T({type:t,selectors:[["mat-tree-node"]],hostAttrs:[1,"mat-tree-node"],hostVars:5,hostBindings:function(i,r){i&1&&H("click",function(){return r._focusItem()}),i&2&&(jt("tabindex",r._getTabindexAttribute()),ie("aria-expanded",r._getAriaExpanded())("aria-level",r.level+1)("aria-posinset",r._getPositionInSet())("aria-setsize",r._getSetSize()))},inputs:{tabIndexInputBinding:[2,"tabIndex","tabIndexInputBinding",e=>e==null?0:st(e)],disabled:[2,"disabled","disabled",q]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matTreeNode"],standalone:!0,features:[he([{provide:Qa,useExisting:t}]),ye,de]})}}return t})(),vIe=(()=>{class t extends Am{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeDef",""]],inputs:{when:[0,"matTreeNodeDefWhen","when"],data:[0,"matTreeNode","data"]},standalone:!0,features:[he([{provide:Am,useExisting:t}]),de]})}}return t})(),bIe=(()=>{class t extends y_{get disabled(){return this.isDisabled}set disabled(e){this.isDisabled=e}get tabIndex(){return this.isDisabled?-1:this._tabIndex}set tabIndex(e){this._tabIndex=e}constructor(e,i,r,a){super(e,i,r)}ngOnInit(){super.ngOnInit()}ngAfterContentInit(){super.ngAfterContentInit()}ngOnDestroy(){super.ngOnDestroy()}static{this.\u0275fac=function(i){return new(i||t)(m($),m(Ka),m(Fn),Gt("tabindex"))}}static{this.\u0275dir=T({type:t,selectors:[["mat-nested-tree-node"]],hostAttrs:[1,"mat-nested-tree-node"],inputs:{node:[0,"matNestedTreeNode","node"],disabled:[2,"disabled","disabled",q],tabIndex:[2,"tabIndex","tabIndex",e=>e==null?0:st(e)]},outputs:{activation:"activation",expandedChange:"expandedChange"},exportAs:["matNestedTreeNode"],standalone:!0,features:[he([{provide:y_,useExisting:t},{provide:Qa,useExisting:t},{provide:f4,useExisting:t}]),ye,de]})}}return t})(),yIe=(()=>{class t extends C_{get level(){return this._level}set level(e){this._setLevelInput(e)}get indent(){return this._indent}set indent(e){this._setIndentInput(e)}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodePadding",""]],inputs:{level:[2,"matTreeNodePadding","level",st],indent:[0,"matTreeNodePaddingIndent","indent"]},standalone:!0,features:[he([{provide:C_,useExisting:t}]),ye,de]})}}return t})(),DT=(()=>{class t{constructor(e,i){this.viewContainer=e,this._node=i}static{this.\u0275fac=function(i){return new(i||t)(m(Xe),m(f4,8))}}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeOutlet",""]],standalone:!0,features:[he([{provide:p4,useExisting:t}])]})}}return t})(),CIe=(()=>{class t extends Ka{constructor(){super(...arguments),this._nodeOutlet=void 0}static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275cmp=A({type:t,selectors:[["mat-tree"]],viewQuery:function(i,r){if(i&1&&ue(DT,7),i&2){let a;G(a=W())&&(r._nodeOutlet=a.first)}},hostAttrs:[1,"mat-tree"],exportAs:["matTree"],standalone:!0,features:[he([{provide:Ka,useExisting:t}]),de,ae],decls:1,vars:0,consts:[["matTreeNodeOutlet",""]],template:function(i,r){i&1&&At(0,0)},dependencies:[DT],styles:[".mat-tree{display:block;background-color:var(--mat-tree-container-background-color, var(--mat-app-surface))}.mat-tree-node,.mat-nested-tree-node{color:var(--mat-tree-node-text-color, var(--mat-app-on-surface));font-family:var(--mat-tree-node-text-font, var(--mat-app-body-large-font));font-size:var(--mat-tree-node-text-size, var(--mat-app-body-large-size));font-weight:var(--mat-tree-node-text-weight, var(--mat-app-body-large-weight))}.mat-tree-node{display:flex;align-items:center;flex:1;word-wrap:break-word;min-height:var(--mat-tree-node-min-height)}.mat-nested-tree-node{border-bottom-width:0}"],encapsulation:2})}}return t})(),xIe=(()=>{class t extends x_{static{this.\u0275fac=(()=>{let e;return function(r){return(e||(e=Ae(t)))(r||t)}})()}static{this.\u0275dir=T({type:t,selectors:[["","matTreeNodeToggle",""]],inputs:{recursive:[0,"matTreeNodeToggleRecursive","recursive"]},standalone:!0,features:[he([{provide:x_,useExisting:t}]),de]})}}return t})();var ET=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[wT,fe,fe]})}}return t})(),ST=class{constructor(n,e,i,r){this.transformFunction=n,this.getLevel=e,this.isExpandable=i,this.getChildren=r}_flattenNode(n,e,i,r){let a=this.transformFunction(n,e);if(i.push(a),this.isExpandable(a)){let o=this.getChildren(n);o&&(Array.isArray(o)?this._flattenChildren(o,e,i,r):o.pipe(Ue(1)).subscribe(s=>{this._flattenChildren(s,e,i,r)}))}return i}_flattenChildren(n,e,i,r){n.forEach((a,o)=>{let s=r.slice();s.push(o!=n.length-1),this._flattenNode(a,e+1,i,s)})}flattenNodes(n){let e=[];return n.forEach(i=>this._flattenNode(i,0,e,[])),e}expandFlattenedNodes(n,e){let i=[],r=[];return r[0]=!0,n.forEach(a=>{let o=!0;for(let s=0;s<=this.getLevel(a);s++)o=o&&r[s];o&&i.push(a),this.isExpandable(a)&&(r[this.getLevel(a)+1]=e.isExpanded(a))}),i}},kT=class extends Mc{get data(){return this._data.value}set data(n){this._data.next(n),this._flattenedData.next(this._treeFlattener.flattenNodes(this.data)),this._treeControl.dataNodes=this._flattenedData.value}constructor(n,e,i){super(),this._treeControl=n,this._treeFlattener=e,this._flattenedData=new at([]),this._expandedData=new at([]),this._data=new at([]),i&&(this.data=i)}connect(n){return nt(n.viewChange,this._treeControl.expansionModel.changed,this._flattenedData).pipe(me(()=>(this._expandedData.next(this._treeFlattener.expandFlattenedNodes(this._flattenedData.value,this._treeControl)),this._expandedData.value)))}disconnect(){}},IT=class extends Mc{constructor(){super(...arguments),this._data=new at([])}get data(){return this._data.value}set data(n){this._data.next(n)}connect(n){return nt(n.viewChange,this._data).pipe(me(()=>this.data))}disconnect(){}};var aoe=["searchSelectInput"],ooe=["innerSelectSearch"],soe=[[["",8,"mat-select-search-custom-header-content"]],[["","ngxMatSelectSearchClear",""]],[["","ngxMatSelectNoEntriesFound",""]]],coe=[".mat-select-search-custom-header-content","[ngxMatSelectSearchClear]","[ngxMatSelectNoEntriesFound]"],loe=(t,n)=>({"mat-select-search-inner-multiple":t,"mat-select-search-inner-toggle-all":n});function doe(t,n){if(t&1){let e=le();p(0,"mat-checkbox",12),H("change",function(r){F(e);let a=M();return j(a._emitSelectAllBooleanToParent(r.checked))}),f()}if(t&2){let e=M();C("color",e.matFormField==null?null:e.matFormField.color)("checked",e.toggleAllCheckboxChecked)("indeterminate",e.toggleAllCheckboxIndeterminate)("matTooltip",e.toggleAllCheckboxTooltipMessage)("matTooltipPosition",e.toggleAllCheckboxTooltipPosition)}}function uoe(t,n){t&1&&R(0,"mat-spinner",13)}function hoe(t,n){t&1&&se(0,1,["*ngIf","clearIcon; else defaultIcon"])}function moe(t,n){if(t&1&&(p(0,"mat-icon",16),d(1),f()),t&2){let e=M(2);C("svgIcon",e.closeSvgIcon),g(),ne(" ",e.closeSvgIcon?null:e.closeIcon," ")}}function poe(t,n){if(t&1){let e=le();p(0,"button",14),H("click",function(){F(e);let r=M();return j(r._reset(!0))}),w(1,hoe,1,0,"ng-content",15)(2,moe,2,2,"ng-template",null,2,Hr),f()}if(t&2){let e=Ct(3),i=M();g(),C("ngIf",i.clearIcon)("ngIfElse",e)}}function foe(t,n){t&1&&se(0,2,["*ngIf","noEntriesFound; else defaultNoEntriesFound"])}function goe(t,n){if(t&1&&d(0),t&2){let e=M(2);E(e.noEntriesFoundLabel)}}function _oe(t,n){if(t&1&&(p(0,"div",17),w(1,foe,1,0,"ng-content",15)(2,goe,1,1,"ng-template",null,3,Hr),f()),t&2){let e=Ct(3),i=M();g(),C("ngIf",i.noEntriesFound)("ngIfElse",e)}}var voe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=T({type:t,selectors:[["","ngxMatSelectSearchClear",""]]}),t})(),boe=["ariaLabel","clearSearchInput","closeIcon","closeSvgIcon","disableInitialFocus","disableScrollToActiveOnOptionsChanged","enableClearOnEscapePressed","hideClearSearchButton","noEntriesFoundLabel","placeholderLabel","preventHomeEndKeyPropagation","searching"],yoe=new L("mat-selectsearch-default-options"),Coe=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275dir=T({type:t,selectors:[["","ngxMatSelectNoEntriesFound",""]]}),t})(),OT=(()=>{class t{constructor(e,i,r,a,o,s){this.matSelect=e,this.changeDetectorRef=i,this._viewportRuler=r,this.matOption=a,this.matFormField=o,this.placeholderLabel="Suche",this.type="text",this.closeIcon="close",this.noEntriesFoundLabel="Keine Optionen gefunden",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.toggleAllCheckboxTooltipPosition="below",this.hideClearSearchButton=!1,this.alwaysRestoreSelectedOptionsMulti=!1,this.recreateValuesArray=!1,this.toggleAll=new B,this.onTouched=l=>{},this._options$=new at(null),this.optionsList$=this._options$.pipe(dt(l=>l?l.changes.pipe(me(h=>h.toArray()),Qe(l.toArray())):ce(null))),this.optionsLength$=this.optionsList$.pipe(me(l=>l?l.length:0)),this._formControl=new vs("",{nonNullable:!0}),this._showNoEntriesFound$=on([this._formControl.valueChanges,this.optionsLength$]).pipe(me(([l,h])=>!!(this.noEntriesFoundLabel&&l&&h===this.getOptionsLengthOffset()))),this._onDestroy=new U,this.applyDefaultOptions(s)}get value(){return this._formControl.value}set _options(e){this._options$.next(e)}get _options(){return this._options$.getValue()}applyDefaultOptions(e){if(e)for(let i of boe)e.hasOwnProperty(i)&&(this[i]=e[i])}ngOnInit(){this.matOption?(this.matOption.disabled=!0,this.matOption._getHostElement().classList.add("contains-mat-select-search"),this.matOption._getHostElement().setAttribute("role","presentation")):console.error(" must be placed inside a element"),this.matSelect.openedChange.pipe(Jo(1),_e(this._onDestroy)).subscribe(e=>{e?(this.updateInputWidth(),this.disableInitialFocus||this._focus()):this.clearSearchInput&&this._reset()}),this.matSelect.openedChange.pipe(Ue(1),dt(e=>{this._options=this.matSelect.options;let i=this._options.toArray()[this.getOptionsLengthOffset()];return this._options.changes.pipe(yt(()=>{setTimeout(()=>{let r=this._options.toArray(),a=r[this.getOptionsLengthOffset()],o=this.matSelect._keyManager;o&&this.matSelect.panelOpen&&a&&((!i||!this.matSelect.compareWith(i.value,a.value)||!o.activeItem||!r.find(l=>this.matSelect.compareWith(l.value,o.activeItem?.value)))&&o.setActiveItem(this.getOptionsLengthOffset()),setTimeout(()=>{this.updateInputWidth()})),i=a})}))})).pipe(_e(this._onDestroy)).subscribe(),this._showNoEntriesFound$.pipe(_e(this._onDestroy)).subscribe(e=>{this.matOption&&(e?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(_e(this._onDestroy)).subscribe(()=>{this.matSelect.panelOpen&&this.updateInputWidth()}),this.initMultipleHandling(),this.optionsList$.pipe(_e(this._onDestroy)).subscribe(()=>{this.changeDetectorRef.markForCheck()})}_emitSelectAllBooleanToParent(e){this.toggleAll.emit(e)}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}_isToggleAllCheckboxVisible(){return this.matSelect.multiple&&this.showToggleAllCheckbox}_handleKeydown(e){(e.key&&e.key.length===1||this.preventHomeEndKeyPropagation&&(e.key==="Home"||e.key==="End"))&&e.stopPropagation(),this.matSelect.multiple&&e.key&&e.key==="Enter"&&setTimeout(()=>this._focus()),this.enableClearOnEscapePressed&&e.key==="Escape"&&this.value&&(this._reset(!0),e.stopPropagation())}_handleKeyup(e){if(e.key==="ArrowUp"||e.key==="ArrowDown"){let i=this.matSelect._getAriaActiveDescendant(),r=this._options.toArray().findIndex(a=>a.id===i);r!==-1&&(this.unselectActiveDescendant(),this.activeDescendant=this._options.toArray()[r]._getHostElement(),this.activeDescendant.setAttribute("aria-selected","true"),this.searchSelectInput.nativeElement.setAttribute("aria-activedescendant",i))}}writeValue(e){this._lastExternalInputValue=e,this._formControl.setValue(e),this.changeDetectorRef.markForCheck()}onBlur(){this.unselectActiveDescendant(),this.onTouched()}registerOnChange(e){this._formControl.valueChanges.pipe(Ve(i=>i!==this._lastExternalInputValue),yt(()=>this._lastExternalInputValue=void 0),_e(this._onDestroy)).subscribe(e)}registerOnTouched(e){this.onTouched=e}_focus(){if(!this.searchSelectInput||!this.matSelect.panel)return;let e=this.matSelect.panel.nativeElement,i=e.scrollTop;this.searchSelectInput.nativeElement.focus(),e.scrollTop=i}_reset(e){this._formControl.setValue(""),e&&this._focus()}initMultipleHandling(){if(!this.matSelect.ngControl){this.matSelect.multiple&&console.error("the mat-select containing ngx-mat-select-search must have a ngModel or formControl directive when multiple=true");return}this.previousSelectedValues=this.matSelect.ngControl.value,this.matSelect.ngControl.valueChanges&&this.matSelect.ngControl.valueChanges.pipe(_e(this._onDestroy)).subscribe(e=>{let i=!1;if(this.matSelect.multiple&&(this.alwaysRestoreSelectedOptionsMulti||this._formControl.value&&this._formControl.value.length)&&this.previousSelectedValues&&Array.isArray(this.previousSelectedValues)){(!e||!Array.isArray(e))&&(e=[]);let r=this.matSelect.options.map(a=>a.value);this.previousSelectedValues.forEach(a=>{!e.some(o=>this.matSelect.compareWith(o,a))&&!r.some(o=>this.matSelect.compareWith(o,a))&&(this.recreateValuesArray?e=[...e,a]:e.push(a),i=!0)})}this.previousSelectedValues=e,i&&this.matSelect._onChange(e)})}updateInputWidth(){if(!this.innerSelectSearch||!this.innerSelectSearch.nativeElement)return;let e=this.innerSelectSearch.nativeElement,i=null;for(;e&&e.parentElement;)if(e=e.parentElement,e.classList.contains("mat-select-panel")){i=e;break}i&&(this.innerSelectSearch.nativeElement.style.width=i.clientWidth+"px")}getOptionsLengthOffset(){return this.matOption?1:0}unselectActiveDescendant(){this.activeDescendant?.removeAttribute("aria-selected"),this.searchSelectInput.nativeElement.removeAttribute("aria-activedescendant")}}return t.\u0275fac=function(e){return new(e||t)(m(Tn),m(pe),m(Ui),m(Bi,8),m(Kt,8),m(yoe,8))},t.\u0275cmp=A({type:t,selectors:[["ngx-mat-select-search"]],contentQueries:function(e,i,r){if(e&1&&(we(r,voe,5),we(r,Coe,5)),e&2){let a;G(a=W())&&(i.clearIcon=a.first),G(a=W())&&(i.noEntriesFound=a.first)}},viewQuery:function(e,i){if(e&1&&(ue(aoe,7,$),ue(ooe,7,$)),e&2){let r;G(r=W())&&(i.searchSelectInput=r.first),G(r=W())&&(i.innerSelectSearch=r.first)}},inputs:{placeholderLabel:"placeholderLabel",type:"type",closeIcon:"closeIcon",closeSvgIcon:"closeSvgIcon",noEntriesFoundLabel:"noEntriesFoundLabel",clearSearchInput:"clearSearchInput",searching:"searching",disableInitialFocus:"disableInitialFocus",enableClearOnEscapePressed:"enableClearOnEscapePressed",preventHomeEndKeyPropagation:"preventHomeEndKeyPropagation",disableScrollToActiveOnOptionsChanged:"disableScrollToActiveOnOptionsChanged",ariaLabel:"ariaLabel",showToggleAllCheckbox:"showToggleAllCheckbox",toggleAllCheckboxChecked:"toggleAllCheckboxChecked",toggleAllCheckboxIndeterminate:"toggleAllCheckboxIndeterminate",toggleAllCheckboxTooltipMessage:"toggleAllCheckboxTooltipMessage",toggleAllCheckboxTooltipPosition:"toggleAllCheckboxTooltipPosition",hideClearSearchButton:"hideClearSearchButton",alwaysRestoreSelectedOptionsMulti:"alwaysRestoreSelectedOptionsMulti",recreateValuesArray:"recreateValuesArray"},outputs:{toggleAll:"toggleAll"},features:[he([{provide:Yi,useExisting:ct(()=>t),multi:!0}])],ngContentSelectors:coe,decls:13,vars:14,consts:[["innerSelectSearch",""],["searchSelectInput",""],["defaultIcon",""],["defaultNoEntriesFound",""],["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"],[1,"mat-select-search-inner-row"],["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",3,"keydown","keyup","blur","type","formControl","placeholder"],["class","mat-select-search-spinner","diameter","16",4,"ngIf"],["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,"change","color","checked","indeterminate","matTooltip","matTooltipPosition"],["diameter","16",1,"mat-select-search-spinner"],["mat-icon-button","","aria-label","Clear",1,"mat-select-search-clear",3,"click"],[4,"ngIf","ngIfElse"],[3,"svgIcon"],[1,"mat-select-search-no-entries-found"]],template:function(e,i){if(e&1){let r=le();Me(soe),R(0,"input",4),p(1,"div",5,0)(3,"div",6),w(4,doe,1,5,"mat-checkbox",7),p(5,"input",8,1),H("keydown",function(o){return F(r),j(i._handleKeydown(o))})("keyup",function(o){return F(r),j(i._handleKeyup(o))})("blur",function(){return F(r),j(i.onBlur())}),f(),w(7,uoe,1,0,"mat-spinner",9)(8,poe,4,2,"button",10),se(9),f(),R(10,"mat-divider"),f(),w(11,_oe,4,2,"div",11),I(12,"async")}e&2&&(g(),C("ngClass",cr(11,loe,i.matSelect.multiple,i._isToggleAllCheckboxVisible())),g(3),C("ngIf",i._isToggleAllCheckboxVisible()),g(),C("type",i.type)("formControl",i._formControl)("placeholder",i.placeholderLabel),ie("aria-label",i.ariaLabel),g(2),C("ngIf",i.searching),g(),C("ngIf",!i.hideClearSearchButton&&i.value&&!i.searching),g(3),C("ngIf",P(12,9,i._showNoEntriesFound$)))},dependencies:[Ni,Re,en,vi,hn,bn,Is,Yr,bP,qr,Ls,pu],styles:[".mat-select-search-hidden[_ngcontent-%COMP%]{visibility:hidden}.mat-select-search-inner[_ngcontent-%COMP%]{position:absolute;top:0;left:0;width:100%;z-index:100;font-size:inherit;box-shadow:none;background-color:var(--mat-select-panel-background-color)}.mat-select-search-inner.mat-select-search-inner-multiple.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-inner-row[_ngcontent-%COMP%]{display:flex;align-items:center}.mat-select-search-input[_ngcontent-%COMP%]{box-sizing:border-box;width:100%;border:none;font-family:inherit;font-size:inherit;color:currentColor;outline:none;background-color:var(--mat-select-panel-background-color);padding:0 44px 0 16px;height:calc(3em - 1px);line-height:calc(3em - 1px)}[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-input[_ngcontent-%COMP%]::-moz-placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-input[_ngcontent-%COMP%]::placeholder{color:var(--mdc-filled-text-field-input-text-placeholder-color)}.mat-select-search-inner-toggle-all[_ngcontent-%COMP%] .mat-select-search-input[_ngcontent-%COMP%]{padding-left:5px}.mat-select-search-no-entries-found[_ngcontent-%COMP%]{padding-top:8px}.mat-select-search-clear[_ngcontent-%COMP%]{position:absolute;right:4px;top:0}[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-mdc-option[aria-disabled=true].contains-mat-select-search{position:sticky;top:-8px;z-index:1;opacity:1;margin-top:-8px;pointer-events:all} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mat-icon{margin-right:0;margin-left:0} .mat-mdc-option[aria-disabled=true].contains-mat-select-search mat-pseudo-checkbox{display:none} .mat-mdc-option[aria-disabled=true].contains-mat-select-search .mdc-list-item__primary-text{opacity:1}.mat-select-search-toggle-all-checkbox[_ngcontent-%COMP%]{padding-left:5px}[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:5px}"],changeDetection:0}),t})();var PT=(()=>{class t{}return t.\u0275fac=function(e){return new(e||t)},t.\u0275mod=ee({type:t}),t.\u0275inj=J({imports:[Tt,sd,Ga,lh,C2,fm,y2,b2]}),t})();var M_=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({providers:[{provide:Q5,useValue:{appearance:"fill"}},{provide:l4,useValue:{showError:!0,displayDefaultIndicatorType:!1}}],imports:[FO,ow,WO,Ga,ZO,eP,lh,tP,wD,LD,b2,dP,Ic,rk,C2,sD,gP,sk,Iw,_P,CP,fm,DP,vh,PT,OP,VP,TP,LP,RP,KP,nT,bT,yT,y2,ET,wk]})}}return t})();var w_=class{constructor(n,e){this._document=e;let i=this._textarea=this._document.createElement("textarea"),r=i.style;r.position="fixed",r.top=r.opacity="0",r.left="-999em",i.setAttribute("aria-hidden","true"),i.value=n,i.readOnly=!0,(this._document.fullscreenElement||this._document.body).appendChild(i)}copy(){let n=this._textarea,e=!1;try{if(n){let i=this._document.activeElement;n.select(),n.setSelectionRange(0,n.value.length),e=this._document.execCommand("copy"),i&&i.focus()}}catch{}return e}destroy(){let n=this._textarea;n&&(n.remove(),this._textarea=void 0)}},Q2=(()=>{class t{constructor(e){this._document=e}copy(e){let i=this.beginCopy(e),r=i.copy();return i.destroy(),r}beginCopy(e){return new w_(e,this._document)}static{this.\u0275fac=function(i){return new(i||t)(k(Ce))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Moe(t,n){if(t&1){let e=le();p(0,"span",5),H("click",function(){F(e);let r=M(2);return j(r.copyValue())}),R(1,"fa-icon",6),f()}}function woe(t,n){if(t&1){let e=le();p(0,"span",7),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",8),f()}if(t&2){let e=M(2);g(),C("title",e.externalId)}}function Doe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),I(2,"externalIdentifier"),f()}if(t&2){let e=M(2);g(),E(P(2,1,e.externalId))}}function Soe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),f()}if(t&2){let e=M(2);g(),E(e.externalId)}}function koe(t,n){if(t&1){let e=le();p(0,"span",9),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",8),f()}if(t&2){let e=M(2);g(),C("title",e.externalId)}}function Ioe(t,n){if(t&1){let e=le();p(0,"span",7),H("click",function(){F(e);let r=M(2);return j(r.copyValue())}),R(1,"fa-icon",6),f()}}function Eoe(t,n){if(t&1){let e=le();p(0,"span",1),H("mouseenter",function(){F(e);let r=M();return j(r.mouseEnter())})("mouseleave",function(){F(e);let r=M();return j(r.mouseLeave())}),d(1,`
- `),w(2,Moe,2,0,"span",2),d(3,`
- `),w(4,woe,2,1,"span",3),d(5,`
- `),w(6,Doe,3,3,"span",4),d(7,`
- `),w(8,Soe,2,1,"span",4),d(9,`
- `),w(10,koe,2,1,"span",4),d(11,`
- `),w(12,Ioe,2,0,"span",3),d(13,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.displayL&&e.iconVisible),g(2),C("ngIf",e.displayL&&!e.completed&&e.iconVisible&&e.isLongValue()),g(2),C("ngIf",!e.completed),g(2),C("ngIf",e.completed),g(2),C("ngIf",e.displayR&&!e.completed&&e.iconVisible&&e.isLongValue()),g(2),C("ngIf",e.displayR&&e.iconVisible)}}var LEe=(()=>{class t{constructor(e,i){this.clipboard=e,this.alertService=i,this.completed=!1,this.display="right",this.iconVisible=!1,this.displayL=!1,this.displayR=!0,this.emptyValue=!1}ngOnInit(){this.emptyValue=!this.externalId||this.externalId==="",this.displayL=this.display==="left",this.displayR=this.display==="right"}isLongValue(){return this.externalId==null?!1:this.externalId.length>15}showValue(){this.completed=!this.completed}copyValue(){this.clipboard.copy(this.externalId),this.alertService.alert({type:"Clipboard",message:"Copied: "+this.externalId})}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)(m(Q2),m(gs))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-external-identifier"]],inputs:{externalId:"externalId",completed:"completed",display:"display"},decls:2,vars:1,consts:[[3,"mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave"],[3,"click",4,"ngIf"],["class","m-l-3",3,"click",4,"ngIf"],["class","m-l-5",3,"click",4,"ngIf"],[3,"click"],["icon","copy","size","sm","title","Copy External Id"],[1,"m-l-3",3,"click"],["icon","eye","size","sm",3,"title"],[1,"m-l-5",3,"click"]],template:function(i,r){i&1&&(w(0,Eoe,14,6,"span",0),d(1,`
-`)),i&2&&C("ngIf",!r.emptyValue)},dependencies:[Re,Ut,Ou]})}}return t})();var zm=(()=>{class t{constructor(e){this.http=e}getFilteredClients(e,i,r,a,o){let s=new X().set("displayName",a).set("orphansOnly",r.toString()).set("sortOrder",i).set("orderBy",e);return o&&(s=s.set("officeId",o)),this.http.get("/clients",{params:s})}getClients(e,i,r,a){let o=new X().set("offset",r.toString()).set("limit",a.toString()).set("sortOrder",i).set("orderBy",e);return this.http.get("/clients",{params:o})}getClientTemplate(){return this.http.get("/clients/template")}getClientWithOfficeTemplate(e){return this.http.get(`/clients/template?officeId=${e}&staffInSelectedOfficeOnly=true`)}getClientData(e){return this.http.get(`/clients/${e}`)}createClient(e){return this.http.post("/clients",e)}updateClient(e,i){return this.http.put(`/clients/${e}`,i)}deleteClient(e){return this.http.delete(`/clients/${e}`)}getClientDataAndTemplate(e){let i=new X().set("template","true").set("staffInSelectedOfficeOnly","true");return this.http.get(`/clients/${e}`,{params:i})}getClientDatatables(){let e=new X().set("apptable","m_client");return this.http.get("/datatables",{params:e})}getClientDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addClientDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editClientDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getClientAccountData(e){return this.http.get(`/clients/${e}/accounts`)}getClientChargesData(e){let i=new X().set("pendingPayment","true");return this.http.get(`/clients/${e}/charges`,{params:i})}getSelectedChargeData(e,i){let r=new X().set("associations","all");return this.http.get(`/clients/${e}/charges/${i}`,{params:r})}waiveClientCharge(e){let i=new X().set("command","waive");return this.http.post(`/clients/${e.clientId}/charges/${e.resourceType}`,e,{params:i})}getAllClientCharges(e){return this.http.get(`/clients/${e}/charges`)}undoTransaction(e){return this.http.post(`/clients/${e.clientId}/transactions/${e.transactionId}?command=undo`,e)}deleteCharge(e,i){return this.http.delete(`/clients/${e}/charges/${i}?associations=all`)}getClientTransactionPay(e,i){return this.http.get(`/clients/${e}/charges/${i}`)}payClientCharge(e,i,r){let a=new X().set("command","paycharge");return this.http.post(`/clients/${e}/charges/${i}?command=paycharge`,r,{params:a})}getClientSummary(e){let i=new X().set("R_clientId",e).set("genericResultSet","false");return this.http.get("/runreports/ClientSummary",{params:i})}getClientProfileImage(e){let i=new X().set("maxHeight","150");return this.http.skipErrorHandler().get(`/clients/${e}/images`,{params:i,responseType:"text"})}uploadClientProfileImage(e,i){let r=new FormData;return r.append("file",i),r.append("filename","file"),this.http.post(`/clients/${e}/images`,r)}uploadCapturedClientProfileImage(e,i){return this.http.post(`/clients/${e}/images`,i)}deleteClientProfileImage(e){return this.http.delete(`/clients/${e}/images`)}uploadClientSignatureImage(e,i){let r=new FormData;return r.append("file",i),r.append("name","clientSignature"),r.append("description","Client signature"),this.http.post(`/clients/${e}/documents`,r)}getClientSignatureImage(e,i){return this.http.get(`/clients/${e}/documents/${i}/attachment`,{responseType:"blob"})}getClientFamilyMembers(e){return this.http.get(`/clients/${e}/familymembers`)}getClientFamilyMember(e,i){return this.http.get(`/clients/${e}/familymembers/${i}`)}addFamilyMember(e,i){return this.http.post(`/clients/${e}/familymembers`,i)}editFamilyMember(e,i,r){return this.http.put(`/clients/${e}/familymembers/${i}`,r)}deleteFamilyMember(e,i){return this.http.delete(`/clients/${e}/familymembers/${i}`)}getClientIdentifiers(e){return this.http.get(`/clients/${e}/identifiers`)}getClientIdentifierTemplate(e){return this.http.get(`/clients/${e}/identifiers/template`)}addClientIdentifier(e,i){return this.http.post(`/clients/${e}/identifiers`,i)}deleteClientIdentifier(e,i){return this.http.delete(`/clients/${e}/identifiers/${i}`)}getClientIdentificationDocuments(e){return this.http.get(`/client_identifiers/${e}/documents`)}downloadClientIdentificationDocument(e,i){return this.http.get(`/client_identifiers/${e}/documents/${i}/attachment`,{responseType:"blob"})}uploadClientIdentifierDocument(e,i){return this.http.post(`/client_identifiers/${e}/documents`,i)}getClientDocuments(e){return this.http.get(`/clients/${e}/documents`)}downloadClientDocument(e,i){return this.http.get(`/clients/${e}/documents/${i}/attachment`,{responseType:"blob"})}uploadClientDocument(e,i){return this.http.post(`/clients/${e}/documents`,i)}deleteClientDocument(e,i){return this.http.delete(`/clients/${e}/documents/${i}`)}getClientNotes(e){return this.http.get(`/clients/${e}/notes`)}createClientNote(e,i){return this.http.post(`/clients/${e}/notes`,i)}editClientNote(e,i,r){return this.http.put(`/clients/${e}/notes/${i}`,r)}deleteClientNote(e,i){return this.http.delete(`/clients/${e}/notes/${i}`)}getAddressFieldConfiguration(){return this.http.get("/fieldconfiguration/ADDRESS")}getClientAddressData(e){return this.http.get(`/client/${e}/addresses`)}getClientAddressTemplate(){return this.http.get("/client/addresses/template")}createClientAddress(e,i,r){return this.http.post(`/client/${e}/addresses?type=${i}`,r)}editClientAddress(e,i,r){return this.http.put(`/client/${e}/addresses?type=${i}`,r)}executeClientCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/clients/${e}`,r,{params:a})}getClientCommandTemplate(e){let i=new X().set("commandParam",e);return this.http.get("/clients/template",{params:i})}getClientTransferProposalDate(e){return this.http.get(`/clients/${e}/transferproposaldate`)}getClientChargeTemplate(e){return this.http.get(`/clients/${e}/charges/template`)}getChargeAndTemplate(e){let i=new X().set("template","true");return this.http.get(`/charges/${e}`,{params:i})}createClientCharge(e,i){return this.http.post(`/clients/${e}/charges`,i)}getClientReportTemplates(){let e=new X().set("entityId","0").set("typeId","0");return this.http.get("/templates",{params:e})}retrieveClientReportTemplate(e,i){let r=new X().set("clientId",i);return this.http.post(`/templates/${e}`,{},{params:r,responseType:"text"})}getOffices(){return this.http.get("/offices")}getSurveys(e){return this.http.get(`/surveys/scorecards/clients/${e}`)}getAllSurveysType(){return this.http.get("/surveys")}createNewSurvey(e,i){return this.http.post(`/surveys/scorecards/${e}`,i)}createSelfServiceUser(e){return this.http.post("/users",e)}createClientCollateral(e,i){return this.http.post(`/clients/${e}/collaterals`,i)}getCollateralTemplate(e){return this.http.get(`/clients/${e}/collaterals/template`)}searchByText(e,i,r,a="",o=""){let s={request:{text:e},page:i,size:r};return a!==""&&o!==""&&(s=Ge(Y({},s),{sorts:[{direction:o,property:a}]})),this.http.post("/v2/clients/search",s)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var VT=(()=>{class t{constructor(e){this.http=e}getGroups(e,i,r,a,o){let s=new X().set("offset",a.toString()).set("limit",o.toString()).set("sortOrder",r).set("orderBy",i).set("paged","true");return e.forEach(function(l){l.value&&(s=s.set(l.type,l.value))}),this.http.get("/groups",{params:s})}getFilteredGroups(e,i,r,a,o){let s=new X().set("name",r).set("sortOrder",i).set("orderBy",e);return a&&(s=s.set("officeId",a)),s=o?s.set("orphansOnly",o):s,this.http.get("/groups",{params:s})}getGroupsByOfficeId(e){let i=new X().set("officeId",e.toString());return this.http.get("/groups",{params:i})}getGroupData(e,i){let r=new X().set("associations","all");return r=i?r.set("template",i):r,this.http.get(`/groups/${e}`,{params:r})}getGroupSummary(e){let i=new X().set("R_groupId",e).set("genericResultSet","false");return this.http.get("/runreports/GroupSummaryCounts",{params:i})}getGroupAccountsData(e){return this.http.get(`/groups/${e}/accounts`)}getGroupNotes(e){return this.http.get(`/groups/${e}/notes`)}createGroupNote(e,i){return this.http.post(`/groups/${e}/notes`,i)}editGroupNote(e,i,r){return this.http.put(`/groups/${e}/notes/${i}`,r)}deleteGroupNote(e,i){return this.http.delete(`/groups/${e}/notes/${i}`)}getGroupDatatables(){let e=new X().set("apptable","m_group");return this.http.get("/datatables",{params:e})}getGroupDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addGroupDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editGroupDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getGroupCommandTemplate(e){let i=new X().set("command",e);return this.http.get("/groups/template",{params:i})}executeGroupCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/groups/${e}`,r,{params:a})}unAssignRoleCommand(e,i){let r=new X().set("command","unassignRole").set("roleId",i);return this.http.post(`/groups/${e}`,{},{params:r})}createGroup(e){return this.http.post("/groups",e)}updateGroup(e,i){return this.http.put(`/groups/${i}`,e)}deleteGroup(e){return this.http.delete(`/groups/${e}`)}getGroupCalendarTemplate(e){return this.http.get(`/groups/${e}/calendars/template`)}getGroupCalendarAndTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/groups/${e}/calendars/${i}`,{params:r})}createGroupMeeting(e,i){return this.http.post(`/groups/${e}/calendars`,i)}updateGroupMeeting(e,i,r){return this.http.put(`/groups/${e}/calendars/${r}`,i)}getMeetingsTemplate(e,i){let r=new X().set("calenderId",i);return this.http.get(`/groups/${e}/meetings/template`,{params:r})}assignGroupAttendance(e,i,r){let a=new X().set("calenderId",i);return this.http.post(`/groups/${e}/meetings`,r,{params:a})}getStaff(e){let i=new X().set("officeId",e.toString()).set("staffInSelectedOfficeOnly","true");return this.http.get("/groups/template",{params:i})}getGLIMAccountsData(e){return this.http.get(`/groups/${e}/glimaccounts`)}getGSIMAccountsData(e){return this.http.get(`/groups/${e}/gsimaccounts`)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Lm=(()=>{class t{constructor(e,i,r){this.http=e,this.settingsService=i,this.dateUtils=r}getLoanChargeTemplateResource(e){return this.http.get(`/loans/${e}/charges/template`)}getLoanActionTemplate(e,i){let r=new X().set("command",i);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}getLoanTransactionActionTemplate(e,i,r){let a=new X().set("command",i).set("transactionId",r);return this.http.get(`/loans/${e}/transactions/template`,{params:a})}getLoanPrepayLoanActionTemplate(e,i){i||(i=this.dateUtils.formatDate(this.settingsService.businessDate,this.settingsService.dateFormat));let r=new X().set("command","prepayLoan").set("transactionDate",i).set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}getLoanForeclosureActionTemplate(e){let i=new X().set("command","foreclosure").set("locale",this.settingsService.language.code).set("dateFormat",this.settingsService.dateFormat).set("transactionDate",this.dateUtils.formatDate(this.settingsService.businessDate,this.settingsService.dateFormat));return this.http.get(`/loans/${e}/transactions/template`,{params:i})}getLoanAccountResource(e,i){let r=new X().set("associations",i);return this.http.get(`/loans/${e}`,{params:r})}getGuarantorTemplate(e){return this.http.get(`/loans/${e}/guarantors/template`)}createNewGuarantor(e,i){return this.http.post(`/loans/${e}/guarantors`,i)}deleteGuarantor(e,i){return this.http.delete(`/loans/${e}/guarantors/${i}`)}deleteLoanAccount(e){return this.http.delete(`/loans/${e}`)}getDelinquencyTags(e){return this.http.get(`/loans/${e}/delinquencytags`)}getDelinquencyData(e){let i=new X().set("associations","collection").set("exclude","guarantors,futureSchedule");return this.http.get(`/loans/${e}`,{params:i})}getDelinquencyActions(e){return this.http.get(`/loans/${e}/delinquency-actions`)}createDelinquencyActions(e,i){return this.http.post(`/loans/${e}/delinquency-actions`,i)}getLoanTemplate(e){let i=new X().set("fields","id,loanOfficerId,loanOfficerOptions").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/loans/${e}`,{params:i})}createLoanCharge(e,i,r){return this.http.post(`/loans/${e}/${i}`,r)}getLoanAccountDetails(e){return this.http.get(`/loans/${e}`)}getLoanCollateralTemplate(e){return this.http.get(`/loans/${e}/collaterals/template`)}getLoanCollaterals(e){return this.http.get(`/loans/${e}/collaterals`)}createLoanCollateral(e,i){return this.http.post(`/loans/${e}/collaterals`,i)}getLoanAccountAssociationDetails(e){let i=new X().set("associations","all").set("exclude","guarantors,futureSchedule");return this.http.get(`/loans/${e}`,{params:i})}getApproveAssociationsDetails(e){let i=new X().set("associations","multiDisburseDetails");return this.http.get(`/loans/${e}`,{params:i})}getLoanNotes(e){return this.http.get(`/loans/${e}/notes`)}createLoanNote(e,i){return this.http.post(`/loans/${e}/notes`,i)}editLoanNote(e,i,r){return this.http.put(`/loans/${e}/notes/${i}`,r)}deleteLoanNote(e,i){return this.http.delete(`/loans/${e}/notes/${i}`)}submitLoanActionButton(e,i,r){let a=new X().set("command",r);return this.http.post(`/loans/${e}/transactions`,i,{params:a})}getLoanScreenReportsData(){let e=new X().set("entityId","1").set("typeId","0");return this.http.get("/templates",{params:e})}getLoanDataTables(){let e=new X().set("apptable","m_loan");return this.http.get("/datatables",{params:e})}getLoanDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addLoanDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editLoanDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}loanActionButtons(e,i,r){let a=new X().set("command",i);return this.http.post(`/loans/${e}`,r,{params:a})}addInterestPauseToLoan(e,i){return this.http.post(`/loans/${e}/interest-pauses`,i)}getInterestPausesOfLoan(e){return this.http.get(`/loans/${e}/interest-pauses`)}updateInterestPause(e,i,r){return this.http.put(`/loans/${e}/interest-pauses/${i}`,r)}deleteInterestPause(e,i){return this.http.delete(`/loans/${e}/interest-pauses/${i}`)}getForeclosureData(e,i){let r=new X().set("command",i.command).set("dateFormat",i.dateFormat).set("locale",i.locale).set("transactionDate",i.transactionDate);return this.http.get(`/loans/${e}/transactions/template`,{params:r})}loanForclosureData(e,i){let r=new X().set("command","foreclosure");return this.http.post(`/loans/${e}/transactions`,i,{params:r})}editDisbursements(e,i){return this.http.put(`/loans/${e}/disbursements/editDisbursements`,i)}rescheduleLoanTemplate(){return this.http.get("/rescheduleloans/template")}loanRescheduleRequests(e){let i=new X().set("loanId",e);return this.http.get("/rescheduleloans",{params:i})}applyCommandLoanRescheduleRequests(e,i,r){let a=new X().set("command",i);return this.http.post(`/rescheduleloans/${e}`,r,{params:a})}submitRescheduleData(e){let i=new X().set("command","reschedule");return this.http.post("/rescheduleloans",e,{params:i})}getLoansAccountTemplateResource(e,i,r){let a=new X().set("activeOnly","true").set("staffInSelectedOfficeOnly","true");return a=r?a.set("productId",r):a,a=i?a.set("groupId",e).set("templateType","group"):a.set("clientId",e).set("templateType","individual"),this.http.get("/loans/template",{params:a})}getLoansAccountAndTemplateResource(e){let i=new X().set("associations","charges,collateral,meeting,multiDisburseDetails").set("staffInSelectedOfficeOnly","true").set("template","true");return this.http.get(`/loans/${e}`,{params:i})}getLoansCollateralTemplateResource(e){let i=new X().set("fields","id, loanCollateralOptions").set("productId",e).set("templateType","collateral");return this.http.get("/loans/template",{params:i})}createLoansAccount(e){return this.http.post("/loans",e)}getLoanDocuments(e){return this.http.get(`/loans/${e}/documents`)}downloadLoanDocument(e,i){return this.http.get(`/loans/${e}/documents/${i}/attachment`,{responseType:"blob"})}deleteLoanDocument(e,i){return this.http.delete(`/loans/${e}/documents/${i}`)}loadLoanDocument(e,i){return this.http.post(`/loans/${e}/documents`,i)}getStandingInstructions(e,i,r,a,o){let s=new X().set("clientId",e).set("clientName",i).set("fromAccountId",r).set("fromAccountType","1").set("locale",a).set("dateFormat",o).set("limit","14").set("offset","0");return this.http.get("/standinginstructions",{params:s})}updateLoansAccount(e,i){return this.http.put(`/loans/${e}`,i)}getTemplateData(e,i){let r=new X().set("loanId",i);return this.http.post(`/templates/${e}`,{},{params:r,responseType:"text"})}getLoanApprovalTemplate(e){let i=new X().set("templateType","approval");return this.http.get(`/loans/${e}/template`,{params:i})}guarantorAccountResource(e,i){let r=new X().set("clientId",i);return this.http.get(`/loans/${e}/guarantors/accounts/template`,{params:r})}getLoansAccountCharge(e,i){return this.http.get(`/loans/${e}/charges/${i}`)}executeLoansAccountChargesCommand(e,i,r,a){let o=new X().set("command",i);return this.http.post(`/loans/${e}/charges/${a}`,r,{params:o})}editLoansAccountCharge(e,i,r){return this.http.put(`/loans/${e}/charges/${r}`,i)}deleteLoansAccountCharge(e,i){return this.http.delete(`/loans/${e}/charges/${i}`)}applyCommandLoanScheduleVariations(e,i,r){return this.http.post(`/loans/${e}/schedule?command=${i}`,r)}getLoansAccountTransaction(e,i){return this.http.get(`/loans/${e}/transactions/${i}`)}getLoansAccountTransactionTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/loans/${e}/transactions/${i}`,{params:r})}executeLoansAccountTransactionsCommand(e,i,r,a){let o=new X().set("command",i);return a?this.http.post(`/loans/${e}/transactions/${a}`,r,{params:o}):this.http.post(`/loans/${e}/transactions`,r,{params:o})}getGLIMAccountData(e,i){return this.http.get(`/loans/glimAccount/${e}`)}getGLIMLoanAccountTemplate(e){let i=new X().set("groupId",e).set("templateType","jlgbulk");return this.http.get("/loans/template",{params:i})}createGlimAccount(e){return this.http.post("/batches?enclosingTransaction=true",e)}calculateLoanSchedule(e){return this.http.post("/loans?command=calculateLoanSchedule",e)}buildLoanRequestPayload(e,i,r,a,o){let s=Ge(Y({},e),{charges:e.charges.map(l=>({chargeId:l.id,amount:l.amount,dueDate:l.dueDate&&this.dateUtils.formatDate(l.dueDate,o)})),disbursementData:e.disbursementData.map(l=>({expectedDisbursementDate:this.dateUtils.formatDate(l.expectedDisbursementDate,o),principal:l.principal})),interestChargedFromDate:this.dateUtils.formatDate(e.interestChargedFromDate,o),repaymentsStartingFromDate:this.dateUtils.formatDate(e.repaymentsStartingFromDate,o),submittedOnDate:this.dateUtils.formatDate(e.submittedOnDate,o),expectedDisbursementDate:this.dateUtils.formatDate(e.expectedDisbursementDate,o),dateFormat:o,locale:a});return e.collateral&&(s.collateral=e.collateral.map(l=>({clientCollateralId:l.type.collateralId,quantity:l.value}))),i.clientId&&i.group?.id?(s.clientId=i.clientId,s.groupId=i.group.id,s.loanType="glim"):i.clientId?(s.clientId=i.clientId,s.loanType="individual"):(s.groupId=i.group.id,s.loanType="group"),s.syncRepaymentsWithMeeting&&(s.calendarId=r[0].id,delete s.syncRepaymentsWithMeeting),s.recalculationRestFrequencyDate&&(s.recalculationRestFrequencyDate=this.dateUtils.formatDate(e.recalculationRestFrequencyDate,o)),s.interestCalculationPeriodType===0&&(s.allowPartialPeriodInterestCalculation=!1),s.isFloatingInterestRate!==!1&&delete s.isFloatingInterestRate,s.multiDisburseLoan||delete s.disbursementData,delete s.isValid,s.principal=s.principalAmount,delete s.principalAmount,delete s.multiDisburseLoan,s.allowPartialPeriodInterestCalcualtion=s.allowPartialPeriodInterestCalculation,delete s.allowPartialPeriodInterestCalculation,s}saveLoanDisbursementDetailsData(e){localStorage.setItem("disbursementData",JSON.stringify(e))}getLoanDisbursementDetailsData(){return JSON.parse(localStorage.getItem("disbursementData"))}static{this.\u0275fac=function(i){return new(i||t)(k(Ti),k(zt),k(Bn))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Hm=(()=>{class t{constructor(e){this.http=e}getSavingsTransactionTemplateResource(e){return this.http.get(`/savingsaccounts/${e}/transactions/template`)}getSavingsChargeTemplateResource(e){return this.http.get(`/savingsaccounts/${e}/charges/template`)}createSavingsCharge(e,i,r){return this.http.post(`/savingsaccounts/${e}/${i}`,r)}getChargeTemplate(e){let i={template:"true"};return this.http.get(`/charges/${e}`,{params:i})}getSavingsAccountData(e){let i=new X().set("associations","all");return this.http.get(`/savingsaccounts/${e}`,{params:i})}getSavingsAccountAndTemplate(e,i){let r=new X().set("template",i.toString()).set("associations","charges");return this.http.get(`/savingsaccounts/${e}`,{params:r})}getStandingInstructions(e,i,r,a,o){let s=new X().set("clientId",e).set("clientName",i).set("fromAccountId",r).set("fromAccountType","2").set("locale",a).set("dateFormat",o);return this.http.get("/standinginstructions",{params:s})}getSavingsDatatables(){let e=new X().set("apptable","m_savings_account");return this.http.get("/datatables",{params:e})}getSavingsDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}getSavingsTransactionDatatables(){let e=new X().set("apptable","m_savings_account_transaction");return this.http.get("/datatables",{params:e})}getSavingsTransactionDatatable(e,i){let r=new X().set("genericResultSet","true");return this.http.get(`/datatables/${i}/${e}`,{params:r})}addSavingsDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.post(`/datatables/${i}/${e}`,r,{params:a})}editSavingsDatatableEntry(e,i,r){let a=new X().set("genericResultSet","true");return this.http.put(`/datatables/${i}/${e}`,r,{params:a})}deleteDatatableContent(e,i){let r=new X().set("genericResultSet","true");return this.http.delete(`/datatables/${i}/${e}`,{params:r})}getSavingsAccountTemplate(e,i,r){let a=new X().set(r?"groupId":"clientId",e);return a=i?a.set("productId",i):a,this.http.get("/savingsaccounts/template",{params:a})}createSavingsAccount(e){return this.http.post("/savingsaccounts",e)}updateSavingsAccount(e,i){return this.http.put(`/savingsaccounts/${e}`,i)}deleteSavingsAccount(e){return this.http.delete(`/savingsaccounts/${e}`)}executeSavingsAccountCommand(e,i,r){let a=new X().set("command",i);return this.http.post(`/savingsaccounts/${e}`,r,{params:a})}executeSavingsAccountUpdateCommand(e,i,r){let a=new X().set("command",i);return this.http.put(`/savingsaccounts/${e}`,r,{params:a})}getSavingsAccountTransaction(e,i){return this.http.get(`/savingsaccounts/${e}/transactions/${i}`)}getSavingsAccountTransactionTemplate(e,i){let r=new X().set("template","true");return this.http.get(`/savingsaccounts/${e}/transactions/${i}`,{params:r})}executeSavingsAccountTransactionsCommand(e,i,r,a){let o=new X().set("command",i);return a?this.http.post(`/savingsaccounts/${e}/transactions/${a}`,r,{params:o}):this.http.post(`/savingsaccounts/${e}/transactions`,r,{params:o})}getSavingsAccountCharge(e,i){return this.http.get(`/savingsaccounts/${e}/charges/${i}`)}executeSavingsAccountChargesCommand(e,i,r,a){let o=new X().set("command",i);return this.http.post(`/savingsaccounts/${e}/charges/${a}`,r,{params:o})}editSavingsAccountCharge(e,i,r){return this.http.put(`/savingsaccounts/${e}/charges/${r}`,i)}deleteSavingsAccountCharge(e,i){return this.http.delete(`/savingsaccounts/${e}/charges/${i}`)}getGSIMAccountData(e,i){let r=new X().set("parentGSIMAccountNo",e);return this.http.get(`/groups/${i}/gsimaccounts`,{params:r})}createGsimAcccount(e){return this.http.post("/savingsaccounts/gsim",e)}getSavingsNotes(e){return this.http.get(`/savings/${e}/notes`)}createSavingsNote(e,i){return this.http.post(`/savings/${e}/notes`,i)}editSavingsNote(e,i,r){return this.http.put(`/savings/${e}/notes/${i}`,r)}deleteSavingsNote(e,i){return this.http.delete(`/savings/${e}/notes/${i}`)}getSavingsDocuments(e){return this.http.get(`/savings/${e}/documents`)}downloadSavingsDocument(e,i){return this.http.get(`/savings/${e}/documents/${i}/attachment`,{responseType:"blob"})}deleteSavingsDocument(e,i){return this.http.delete(`/savings/${e}/documents/${i}`)}loadSavingsDocument(e,i){return this.http.post(`/savings/${e}/documents`,i)}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var Poe=["formRef"];function Toe(t,n){if(t&1){let e=le();p(0,"mat-list-item"),d(1,`
- `),p(2,"div",8),d(3,`
- `),p(4,"div",9),d(5,`
- `),R(6,"fa-icon",10),d(7,`
- `),p(8,"span"),d(9),f(),d(10,`
- `),p(11,"span",11),d(12,`
- `),p(13,"b"),d(14),I(15,"translate"),f(),d(16),p(17,"b"),d(18),I(19,"translate"),f(),d(20),I(21,"dateFormat"),f(),d(22,`
- `),f(),d(23,`
- `),p(24,"div",12),d(25,`
- `),p(26,"div",13),d(27,`
- `),p(28,"button",14),H("click",function(){let r=F(e),a=r.$implicit,o=r.index,s=M();return j(s.editNote(a.id,a.note,o))}),d(29,`
- `),R(30,"fa-icon",15),d(31,`
- `),f(),d(32,`
- `),p(33,"button",16),H("click",function(){let r=F(e),a=r.$implicit,o=r.index,s=M();return j(s.deleteNote(a.id,o))}),d(34,`
- `),R(35,"fa-icon",17),d(36,`
- `),f(),d(37,`
- `),f(),d(38,`
- `),f(),d(39,`
- `),f(),d(40,`
- `),f()}if(t&2){let e=n.$implicit;g(9),E(e.note),g(5),ne("",P(15,5,"labels.inputs.Created By"),":"),g(2),ne(" ",e.createdByUsername,`
- `),g(2),ne("",P(19,7,"labels.inputs.Date"),":"),g(2),ne(" ",P(21,9,e.createdOn),`
- `)}}var dOe=(()=>{class t{constructor(e,i,r,a,o,s){this.formBuilder=e,this.savingsService=i,this.loansService=r,this.clientsService=a,this.groupsService=o,this.dialog=s}ngOnInit(){this.createNoteForm()}createNoteForm(){this.noteForm=this.formBuilder.group({note:["",_i.required]})}addNote(){this.callbackAdd(this.noteForm.value),this.formRef.resetForm()}editNote(e,i,r){this.dialog.open(Oc,{data:{formfields:[{controlName:"note",required:!0,value:i,controlType:"input",label:"Note"}],layout:{columns:1,addButtonText:"Confirm"},title:"Edit Note"}}).afterClosed().subscribe(o=>{o.data&&o.data.value.note!==i&&this.callbackEdit(e,o.data.value,r)})}deleteNote(e,i){this.dialog.open(Ao,{data:{deleteContext:`Note: ${this.entityNotes[i].note}`}}).afterClosed().subscribe(a=>{a.delete&&this.callbackDelete(e,i)})}static{this.\u0275fac=function(i){return new(i||t)(m(xs),m(Hm),m(Lm),m(zm),m(VT),m(Gn))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-notes-tab"]],viewQuery:function(i,r){if(i&1&&ue(Poe,7),i&2){let a;G(a=W())&&(r.formRef=a.first)}},inputs:{entityId:"entityId",entityNotes:"entityNotes",callbackAdd:"callbackAdd",callbackEdit:"callbackEdit",callbackDelete:"callbackDelete"},decls:31,vars:13,consts:[["formRef","ngForm"],[1,"tab-container","mat-typography"],[1,"layout-row","align-start-baseline","gap-20px",3,"ngSubmit","formGroup"],[1,"flex-85-minus-20px"],["required","","formControlName","note","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","2",3,"placeholder"],["mat-raised-button","","color","primary",1,"flex-1",3,"disabled"],["icon","plus",1,"m-r-10"],[4,"ngFor","ngForOf"],[1,"list-item-content"],[1,"left-section"],["icon","sticky-note","matListIcon",""],[1,"note-details"],[1,"right-section"],[1,"layout-row","align-start"],["mat-button","","color","primary",3,"click"],["icon","edit"],["mat-button","","color","warn",3,"click"],["icon","trash"]],template:function(i,r){if(i&1){let a=le();p(0,"div",1),d(1,`
- `),p(2,"h3"),d(3),I(4,"translate"),f(),d(5,`
-
- `),p(6,"div"),d(7,`
- `),p(8,"form",2,0),H("ngSubmit",function(){return F(a),j(r.addNote())}),d(10,`
- `),p(11,"mat-form-field",3),d(12,`
- `),R(13,"textarea",4),I(14,"translate"),d(15,`
- `),f(),d(16,`
- `),p(17,"button",5),d(18,`
- `),R(19,"fa-icon",6),d(20),I(21,"translate"),f(),d(22,`
- `),f(),d(23,`
- `),f(),d(24,`
-
- `),p(25,"mat-list"),d(26,`
- `),w(27,Toe,41,11,"mat-list-item",7),d(28,`
- `),f(),d(29,`
-`),f(),d(30,`
-`)}i&2&&(g(3),E(P(4,7,"labels.heading.Notes")),g(5),C("formGroup",r.noteForm),g(5),F0("placeholder","",P(14,9,"labels.text.Write a note")," ..."),g(4),C("disabled",!r.noteForm.valid),g(3),ne("",P(21,11,"labels.buttons.Add"),`
- `),g(7),C("ngForOf",r.entityNotes))},dependencies:[ni,Ut,lt,Kt,$i,fh,pP,fP,Cs,en,vi,jr,da,tn,la,Pe,Fr],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.list-item-content[_ngcontent-%COMP%]{display:flex;align-items:center;width:100%}.note-details[_ngcontent-%COMP%]{font-size:14px}.left-section[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.right-section[_ngcontent-%COMP%]{margin-left:auto;display:flex;gap:4px}"]})}}return t})();function Voe(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
- `),f()),t&2&&(g(),Ht(`
- `,P(2,3,"labels.inputs.File Name")," ",P(3,5,"labels.commons.is"),`
- `),g(4),E(P(6,7,"labels.commons.required")))}function Aoe(t,n){t&1&&(p(0,"mat-form-field",3),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
- `),R(6,"input",11),d(7,`
- `),f()),t&2&&(g(3),E(P(4,1,"labels.inputs.Description")))}var LT=(()=>{class t{constructor(e,i,r){this.dialogRef=e,this.formBuilder=i,this.data=r,this.uploadDocumentData=[],this.documentIdentifier=!1,this.documentIdentifier=r.documentIdentifier,this.entityType=r.entityType}ngOnInit(){this.createUploadDocumentForm()}createUploadDocumentForm(){this.uploadDocumentForm=this.formBuilder.group({fileName:["",_i.required],description:[""],file:[""]})}onFileSelect(e){if(e.target.files.length>0){let i=e.target.files[0];this.uploadDocumentForm.get("file").setValue(i)}}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(xs),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-upload-document-dialog"]],decls:37,vars:21,consts:[["mat-dialog-title",""],[1,"m-l-10","m-r-10"],[1,"layout-column",3,"formGroup"],[1,"flex-fill"],["formControlName","fileName","required","","matInput",""],[4,"ngIf"],["class","flex-fill",4,"ngIf"],["flex","60%",3,"change"],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"disabled","mat-dialog-close"],["formControlName","description","matInput",""]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),I(3,"translate"),f(),d(4,`
-`),p(5,"div",1),d(6,`
- `),p(7,"form",2),d(8,`
- `),p(9,"mat-form-field",3),d(10,`
- `),p(11,"mat-label"),d(12),I(13,"translate"),f(),d(14,`
- `),R(15,"input",4),d(16,`
- `),w(17,Voe,8,9,"mat-error",5),d(18,`
- `),f(),d(19,`
-
- `),w(20,Aoe,8,3,"mat-form-field",6),d(21,`
-
- `),p(22,"mifosx-file-upload",7),H("change",function(o){return r.onFileSelect(o)}),f(),d(23,`
-
- `),p(24,"mat-dialog-actions",8),d(25,`
- `),p(26,"button",9),d(27),I(28,"translate"),f(),d(29,`
- `),p(30,"button",10),d(31),I(32,"translate"),f(),d(33,`
- `),f(),d(34,`
- `),f(),d(35,`
-`),f(),d(36,`
-`)),i&2&&(g(),i8(`
- `,P(2,11,"labels.heading.Upload")," ",r.entityType," ",P(3,13,"labels.heading.Documents"),`
-`),g(6),C("formGroup",r.uploadDocumentForm),g(5),E(P(13,15,"labels.inputs.File Name")),g(5),C("ngIf",r.uploadDocumentForm.controls.fileName.hasError("required")),g(3),C("ngIf",!r.documentIdentifier),g(7),E(P(28,17,"labels.buttons.Cancel")),g(3),C("disabled",!r.uploadDocumentForm.valid)("mat-dialog-close",r.uploadDocumentForm.value),g(),ne(`
- `,P(32,19,"labels.buttons.Upload"),`
- `))},dependencies:[KS,Re,lt,Si,yi,Ii,Kt,Di,pr,$i,Cs,en,vi,jr,da,tn,la,Pe]})}}return t})();var zoe=["documentsTable"],Loe=()=>[10,25,50];function Hoe(t,n){if(t&1){let e=le();p(0,"div",15),d(1,`
- `),p(2,"button",16),H("click",function(){F(e);let r=M();return j(r.uploadDocument())}),d(3,`
- `),R(4,"fa-icon",17),d(5),I(6,"translate"),f(),d(7,`
- `),f()}t&2&&(g(5),ne("",P(6,1,"labels.buttons.Add"),`
- `))}function Roe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.name")))}function Noe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.name)}}function Foe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.Description")))}function joe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.description)}}function Boe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.File Name")))}function Uoe(t,n){if(t&1&&(p(0,"td",19),d(1),f()),t&2){let e=n.$implicit;g(),E(e.fileName)}}function $oe(t,n){t&1&&(p(0,"th",18),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.Actions")))}function Goe(t,n){if(t&1){let e=le();p(0,"td",19),d(1,`
- `),p(2,"button",20),H("click",function(){let r=F(e).$implicit,a=M();return j(a.downloadDocument(r.id))}),d(3,`
- `),R(4,"fa-icon",21),d(5,`
- `),f(),d(6,`
- `),p(7,"button",22),H("click",function(){let r=F(e).$implicit,a=M();return j(a.deleteDocument(r.id,r.name))}),d(8,`
- `),R(9,"fa-icon",23),d(10,`
- `),f(),d(11,`
- `),f()}}function Woe(t,n){t&1&&R(0,"tr",24)}function qoe(t,n){t&1&&R(0,"tr",25)}function Yoe(t,n){t&1&&R(0,"mat-paginator",26),t&2&&C("pageSizeOptions",or(1,Loe))}var EOe=(()=>{class t{constructor(e,i,r,a){this.dialog=e,this.savingsService=i,this.loansService=r,this.clientsService=a,this.displayedColumns=["name","description","filename","actions"]}ngOnInit(){this.dataSource=new jc(this.entityDocuments),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}downloadDocument(e){this.callbackDownload(e)}uploadDocument(){this.dialog.open(LT,{data:{documentIdentifier:!1,entityType:""},width:"33rem"}).afterClosed().subscribe(i=>{if(i){let r=new FormData;r.append("name",i.fileName),r.append("file",i.file),r.append("description",i.description),this.callbackUpload(r).subscribe(a=>{this.entityDocuments.push({id:a.resourceId,parentEntityType:this.entityType,parentEntityId:this.entityId,name:i.fileName,description:i.description,fileName:i.file.name}),this.documentsTable.renderRows()})}})}deleteDocument(e,i){this.dialog.open(Ao,{data:{deleteContext:`Document: ${i}`}}).afterClosed().subscribe(a=>{if(a.delete){this.callbackDelete(e);for(let o=0;o10))},dependencies:[Re,Ut,lt,Nc,Bo,Cm,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe],styles:["table[_ngcontent-%COMP%]{width:100%;margin-top:3%}table[_ngcontent-%COMP%] .document-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}"]})}}return t})();var Rm=class extends Br{constructor(n){super(n),this.controlType="checkbox"}};var Nm=class extends Br{constructor(n={}){super(n),this.controlType="datepicker",this.minDate=n.minDate||new Date(2e3,0,1),this.maxDate=n.maxDate||new Date}};var Fm=class extends Br{constructor(n={}){super(n),this.controlType="datetimepicker",this.minDate=n.minDate||new Date(2e3,0,1),this.maxDate=n.maxDate||new Date}};var jm=class extends Br{constructor(n={}){super(n),this.controlType="input",this.type=n.type||"text"}};var Bm=class extends Br{constructor(n={}){super(n),this.controlType="select",this.options=n.options||{label:"",value:"",data:[]}}};var Um=(()=>{class t{constructor(e,i){this.dateUtils=e,this.settingsService=i,this.systemFields=["id","created_at","updated_at"],this.entitiesIdFields=["client_id","savings_account_id","savings_transaction_id","loan_id","group_id","center_id","office_id","product_loan_id","savings_product_id","share_product_id"]}getFormfields(e,i,r){return e.map(a=>{switch(a.columnDisplayType){case"INTEGER":case"STRING":case"DECIMAL":case"TEXT":return new jm({controlName:a.columnName,label:a.columnName,value:"",type:a.columnDisplayType==="INTEGER"||a.columnDisplayType==="DECIMAL"?"number":"text",required:!a.isColumnNullable});case"BOOLEAN":return new Rm({controlName:a.columnName,label:a.columnName,value:"",type:"checkbox",required:!a.isColumnNullable});case"CODELOOKUP":return new Bm({controlName:a.columnName,label:a.columnName,value:"",options:{label:"value",value:"id",data:a.columnValues},required:!a.isColumnNullable});case"DATE":return i.push(a.columnName),r.dateFormat||(r.dateFormat=Bn.DEFAULT_DATEFORMAT),new Nm({controlName:a.columnName,label:a.columnName,value:"",maxDate:this.settingsService.maxAllowedDate,required:!a.isColumnNullable});case"DATETIME":return i.push(a.columnName),r.dateFormat=Bn.DEFAULT_DATETIMEFORMAT,new Fm({controlName:a.columnName,label:a.columnName,value:"",maxDate:this.settingsService.maxAllowedDate,required:!a.isColumnNullable})}})}isEntityId(e){return this.entitiesIdFields.includes(e)}isSystemColumn(e){return this.systemFields.includes(e)||this.entitiesIdFields.includes(e)}filterSystemColumns(e){return e.filter((i,r)=>{if(!this.isSystemColumn(i.columnName))return i.idx=r,i})}getInputName(e){return e.columnName&&e.columnName.includes("_cd_")?e.columnName.split("_cd_")[0]:e.columnName}isNumeric(e){return this.isColumnType(e,"INTEGER")||this.isColumnType(e,"DECIMAL")}isDate(e){return this.isColumnType(e,"DATE")||this.isColumnType(e,"DATETIME")}isBoolean(e){return this.isColumnType(e,"BOOLEAN")}isDropdown(e){return this.isColumnType(e,"CODELOOKUP")}isString(e){return this.isColumnType(e,"STRING")}isText(e){return this.isColumnType(e,"TEXT")}isColumnType(e,i){return e===i}buildPayload(e,i,r,a){let o=!1;return e.forEach(s=>{let l=this.getInputName(s);this.isNumeric(s.columnDisplayType)?a[s.columnName]=i[l]*1:this.isDate(s.columnDisplayType)?(a[s.columnName]=this.dateUtils.formatDate(i[l],r),o=!0):a[s.columnName]=i[l]}),o&&(a.dateFormat=r),a}isSystemDefined(e){return this.systemFields.includes(e)}getName(e){return e&&e.includes("_cd_")?e.split("_cd_")[0]:e}isValidUrl(e){try{let i=new URL(e);return i.protocol.startsWith("http")||i.protocol.startsWith("https")}catch{return!1}}static{this.\u0275fac=function(i){return new(i||t)(k(Bn),k(zt))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function Qoe(t,n){if(t&1){let e=le();p(0,"button",5),H("click",function(){F(e);let r=M();return j(r.add())}),d(1,`
- `),R(2,"fa-icon",6),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",P(4,1,"labels.buttons.Add"),`
- `))}function Koe(t,n){if(t&1){let e=le();p(0,"button",5),H("click",function(){F(e);let r=M();return j(r.edit())}),d(1,`
- `),R(2,"fa-icon",7),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",P(4,1,"labels.buttons.Edit"),`
- `))}function Zoe(t,n){if(t&1){let e=le();p(0,"button",8),H("click",function(){F(e);let r=M();return j(r.delete())}),d(1,`
- `),R(2,"fa-icon",9),d(3),I(4,"translate"),f()}t&2&&(g(3),ne("",P(4,1,"labels.buttons.Delete"),`
- `))}function Xoe(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"dateFormat"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
- `,P(2,1,i.dataObject.data[0].row[e]),`
- `)}}function Joe(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"datetimeFormat"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
- `,P(2,1,i.dataObject.data[0].row[e]),`
- `)}}function ese(t,n){if(t&1&&(p(0,"span"),d(1),f()),t&2){let e=M().index,i=M(2);g(),ne(`
- `,i.dataObject.data[0].row[e],`
- `)}}function tse(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().index,i=M(2);g(),ne(`
- `,P(2,1,i.dataObject.data[0].row[e]),`
- `)}}function ise(t,n){if(t&1&&(p(0,"span",19),d(1),f()),t&2){let e=M().index,i=M(2);g(),ne(`
- `,i.dataObject.data[0].row[e],`
- `)}}function nse(t,n){if(t&1&&(p(0,"textarea",20),I(1,"prettyPrint"),d(2," "),f()),t&2){let e=M().index,i=M(2);C("innerHTML",P(1,1,i.dataObject.data[0].row[e].value),kl)}}function rse(t,n){if(t&1){let e=le();p(0,"span",22),d(1,`
- `),p(2,"button",23),I(3,"translate"),H("click",function(){F(e);let r=M(2).index,a=M(2);return j(a.openSite(a.dataObject.data[0].row[r]))}),d(4,`
- `),R(5,"fa-icon",24),d(6,`
- `),f(),d(7,`
- `),f()}t&2&&(g(2),Bt("matTooltip",P(3,1,"tooltips.View Link")))}function ase(t,n){if(t&1&&(p(0,"span"),d(1,`
- `),w(2,rse,8,3,"span",21),d(3),f()),t&2){let e=M().index,i=M(2);g(2),C("ngIf",i.isValidUrl(i.dataObject.data[0].row[e])),g(),ne(`
- `,i.dataObject.data[0].row[e],`
- `)}}function ose(t,n){if(t&1&&(p(0,"div",12),d(1,`
- `),p(2,"div",13),d(3),f(),d(4,`
-
- `),p(5,"div",14),d(6,`
- `),w(7,Xoe,3,3,"span",15),d(8,`
- `),w(9,Joe,3,3,"span",15),d(10,`
- `),w(11,ese,2,1,"span",15),d(12,`
- `),w(13,tse,3,3,"span",15),d(14,`
- `),w(15,ise,2,1,"span",16),d(16,`
- `),w(17,nse,3,3,"textarea",17),d(18,`
- `),w(19,ase,4,2,"span",18),d(20,`
- `),f(),d(21,`
- `),f()),t&2){let e=n.$implicit,i=M(2);C("ngClass",i.setAttributeClass(e.columnName)),g(3),Ht(`
- `,e.columnDisplayName,`
- `,i.getInputName(e.columnName),`
- `),g(2),C("ngSwitch",i.getColumnType(e.columnDisplayType,e.columnType)),g(2),C("ngSwitchCase","DATE"),g(2),C("ngSwitchCase","DATETIME"),g(2),C("ngSwitchCase","INTEGER"),g(2),C("ngSwitchCase","DECIMAL"),g(2),C("ngSwitchCase","TEXT"),g(2),C("ngSwitchCase","JSON")}}function sse(t,n){if(t&1&&(p(0,"div",10),d(1,`
- `),w(2,ose,22,10,"div",11),d(3,`
- `),f()),t&2){let e=M();g(2),C("ngForOf",e.dataObject.columnHeaders)}}var RT=(()=>{class t{constructor(e,i,r,a,o,s){this.route=e,this.dateUtils=i,this.dialog=r,this.settingsService=a,this.datatables=o,this.systemService=s}ngOnInit(){this.route.params.subscribe(e=>{this.datatableName=e.datatableName})}add(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e),o={title:"Add "+this.datatableName+" for "+this.entityType,formfields:a};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.addEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(h=>{this.dataObject=h})}))})}edit(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e);a=a.map((l,h)=>(l.controlType==="datepicker"?l.value=this.dataObject.data[0].row[r[h].idx]?this.dateUtils.parseDate(this.dataObject.data[0].row[r[h].idx]):"":l.controlType==="datetimepicker"?l.value=this.dataObject.data[0].row[r[h].idx]?this.dateUtils.parseDatetime(this.dataObject.data[0].row[r[h].idx]):"":l.value=this.dataObject.data[0].row[r[h].idx]?this.dataObject.data[0].row[r[h].idx]:"",l));let o={title:"Edit "+this.datatableName+" for "+this.entityType,formfields:a,layout:{addButtonText:"Save"}};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.editEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(h=>{this.dataObject=h})}))})}delete(){this.dialog.open(Ao,{data:{deleteContext:` the contents of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete&&this.systemService.deleteDatatableContent(this.entityId,this.datatableName).subscribe(()=>{this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(r=>{this.dataObject=r})})})}setAttributeClass(e){return this.datatables.isSystemDefined(e)?"system-defined":"table-data"}getColumnType(e,i){switch(e){case"DATE":return e;case"DATETIME":return e;case"INTEGER":return e;case"DECIMAL":return e;case"TEXT":return i==="JSON"?"JSON":e;default:return e}}getInputName(e){return this.datatables.getName(e)}isValidUrl(e){return this.datatables.isValidUrl(e)}openSite(e){window.open(e,"_blank")}static{this.\u0275fac=function(i){return new(i||t)(m(kr),m(Bn),m(Gn),m(zt),m(Um),m(v2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-datatable-single-row"]],inputs:{dataObject:"dataObject",entityId:"entityId",entityType:"entityType"},decls:19,vars:5,consts:[[1,"tab-container","mat-typography"],[1,"layout-row","align-end","m-b-20"],["mat-raised-button","","color","primary",3,"click",4,"ngIf"],["class","delete-button","mat-raised-button","","color","warn",3,"click",4,"ngIf"],["class","m-t-10",4,"ngIf"],["mat-raised-button","","color","primary",3,"click"],["icon","plus",1,"m-r-10"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",1,"delete-button",3,"click"],["icon","trash",1,"m-r-10"],[1,"m-t-10"],["class","flex-fill",3,"ngClass",4,"ngFor","ngForOf"],[1,"flex-fill",3,"ngClass"],[1,"mat-body-strong","left","flex-40"],[1,"right","flex-60",3,"ngSwitch"],[4,"ngSwitchCase"],["class","long-text",4,"ngSwitchCase"],["cdkTextareaAutosize","true","cdkAutosizeMaxRows","20","cdkAutosizeMinRows","1","class","json-textarea",3,"innerHTML",4,"ngSwitchCase"],[4,"ngSwitchDefault"],[1,"long-text"],["cdkTextareaAutosize","true","cdkAutosizeMaxRows","20","cdkAutosizeMinRows","1",1,"json-textarea",3,"innerHTML"],["class","m-r-5",4,"ngIf"],[1,"m-r-5"],["mat-icon-button","","matTooltipPosition","right",1,"small-icon",3,"click","matTooltip"],["icon","eye","size","lg"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),p(2,"h3"),d(3),f(),d(4,`
- `),p(5,"div",1),d(6,`
- `),w(7,Qoe,5,3,"button",2),d(8,`
- `),w(9,Koe,5,3,"button",2),d(10,`
- `),w(11,Zoe,5,3,"button",3),d(12,`
- `),f(),d(13,`
-
- `),R(14,"mat-divider"),d(15,`
-
- `),w(16,sse,4,1,"div",4),d(17,`
-`),f(),d(18,`
-`)),i&2&&(g(3),E(r.datatableName),g(4),C("ngIf",!r.dataObject.data[0]),g(2),C("ngIf",r.dataObject.data[0]),g(2),C("ngIf",r.dataObject.data[0]),g(5),C("ngIf",r.dataObject.data.length>0))},dependencies:[Ni,ni,Re,mu,Dx,Sx,Ut,lt,bn,Ls,fh,qr,Pe,Fr,Fa,_s,Tu],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] .delete-button[_ngcontent-%COMP%]{margin-left:1%}.table-name[_ngcontent-%COMP%]{padding-left:2%}.table-data[_ngcontent-%COMP%]{margin-top:3px}.system-defined[_ngcontent-%COMP%]{margin-top:3px;color:#4461e2!important;font-weight:100}.long-text[_ngcontent-%COMP%]{word-break:break-all;white-space:normal}.small-icon[_ngcontent-%COMP%]{width:30px;height:30px}.json-textarea[_ngcontent-%COMP%]{width:100%;height:100%}"]})}}return t})();var lse=["dataTable"];function dse(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
- `),p(2,"button",11),H("click",function(){F(e);let r=M();return j(r.add())}),d(3,`
- `),R(4,"fa-icon",12),d(5),I(6,"translate"),f(),d(7,`
- `),f()}t&2&&(g(5),ne("",P(6,1,"labels.buttons.Add"),`
- `))}function use(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
- `),p(2,"button",14),H("click",function(){F(e);let r=M(2);return j(r.deleteSelected())}),d(3,`
- `),R(4,"fa-icon",15),d(5),I(6,"translate"),f(),d(7,`
- `),f()}t&2&&(g(5),ne(`
- `,P(6,1,"labels.buttons.Delete Selected"),`
- `))}function hse(t,n){if(t&1&&(pi(0),d(1,`
- `),w(2,use,8,3,"span",13),d(3,`
- `),fi()),t&2){let e=M();g(2),C("ngIf",e.isSelected)}}function mse(t,n){if(t&1){let e=le();p(0,"span"),d(1,`
- `),p(2,"button",14),H("click",function(){F(e);let r=M(2);return j(r.delete())}),d(3,`
- `),R(4,"fa-icon",15),d(5),I(6,"translate"),f(),d(7,`
- `),f()}t&2&&(g(5),ne(`
- `,P(6,1,"labels.buttons.Delete All"),`
- `))}function pse(t,n){if(t&1&&(pi(0),d(1,`
- `),w(2,mse,8,3,"span",13),d(3,`
- `),fi()),t&2){let e=M();g(2),C("ngIf",e.datatableData.length>0)}}function fse(t,n){t&1&&R(0,"th",19)}function gse(t,n){if(t&1){let e=le();p(0,"td",20),d(1,`
- `),p(2,"mat-checkbox",21),H("click",function(r){return F(e),j(r.stopPropagation())})("change",function(r){let a=F(e).$implicit,o=M(3);return j(r?o.itemToggle(a):null)}),d(3,`
- `),f(),d(4,`
- `),f()}if(t&2){let e=n.$implicit,i=M(3);g(2),C("checked",i.selection.isSelected(e))}}function _se(t,n){t&1&&(pi(0),d(1,`
- `),w(2,fse,1,0,"th",17),d(3,`
- `),w(4,gse,5,1,"td",18),d(5,`
- `),fi())}function vse(t,n){if(t&1&&(p(0,"th",24),d(1),f()),t&2){let e=M(2).$implicit,i=M();g(),E(i.getInputName(e))}}function bse(t,n){if(t&1&&(p(0,"td",25),d(1),f()),t&2){let e=n.$implicit,i=M(2).$implicit,r=M();C("ngClass",r.isToDelete(e)),g(),ne(`
- `,r.formatValue(e,i),`
- `)}}function yse(t,n){t&1&&(pi(0),d(1,`
- `),w(2,vse,2,1,"th",22),d(3,`
- `),w(4,bse,2,2,"td",23),d(5,`
- `),fi())}function Cse(t,n){if(t&1&&(pi(0,16),d(1,`
- `),w(2,_se,6,0,"ng-container",13),d(3,`
-
- `),w(4,yse,6,0,"ng-container",13),d(5,`
- `),fi()),t&2){let e=n.$implicit,i=n.index;C("matColumnDef",e),g(2),C("ngIf",i===0),g(2),C("ngIf",i>0)}}function xse(t,n){t&1&&R(0,"tr",26)}function Mse(t,n){t&1&&R(0,"tr",27)}var NT=(()=>{class t{constructor(e,i,r,a,o,s,l,h,v){this.route=e,this.dateUtils=i,this.systemService=r,this.settingsService=a,this.dialog=o,this.datatables=s,this.dateFormat=l,this.dateTimeFormat=h,this.numberFormat=v,this.SELECT_NAME_FIELD="select",this.datatableColumns=[],this.isSelected=!1,this.isLoading=!1}ngOnInit(){this.selection=new ur(!0,[]),this.route.params.subscribe(e=>{this.datatableName=e.datatableName}),this.setData(),this.isSelected=!1}ngOnDestroy(){this.resetData()}ngOnChanges(e){this.setData()}setData(){this.datatableColumns=[this.SELECT_NAME_FIELD],this.dataObject.columnHeaders.filter(e=>{if(!this.datatables.isEntityId(e.columnName))return this.datatableColumns.push(e.columnName),e}),this.datatableData=this.dataObject.data,this.dataTableRef&&this.dataTableRef.renderRows()}resetData(){this.datatableName=null,this.datatableColumns=null,this.datatableData=null}getData(){this.isLoading=!0,this.systemService.getEntityDatatable(this.entityId,this.datatableName).subscribe(e=>{this.dataObject.data=e.data,this.showDeleteBotton=!1,this.dataTableRef&&this.setData(),this.isSelected=!1,this.isLoading=!1})}add(){let e={locale:this.settingsService.language.code},i=[],r=this.datatables.filterSystemColumns(this.dataObject.columnHeaders),a=this.datatables.getFormfields(r,i,e),o={title:"Add "+this.datatableName+" for "+this.entityType,formfields:a};this.dialog.open(Oc,{data:o,width:"50rem"}).afterClosed().subscribe(l=>{l.data&&(i.forEach(h=>{l.data.value[h]=this.dateUtils.formatDate(l.data.value[h],e.dateFormat)}),e=Y(Y({},l.data.value),e),this.systemService.addEntityDatatableEntry(this.entityId,this.datatableName,e).subscribe(h=>{this.getData()}))})}delete(){this.dialog.open(Ao,{data:{deleteContext:`the contents of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete&&this.systemService.deleteDatatableContent(this.entityId,this.datatableName).subscribe(()=>{this.getData()})})}deleteSelected(){this.dialog.open(Ao,{data:{deleteContext:`the ${this.selection.selected.length} items selected of ${this.datatableName}`}}).afterClosed().subscribe(i=>{i.delete?(this.isSelected=!1,this.selection.selected.forEach(r=>{this.systemService.deleteDatatableEntry(this.entityId,r.row[0],this.datatableName).subscribe(()=>{this.datatableData.forEach((a,o)=>{a.row[0]===r.row[0]&&(this.datatableData.splice(o,1),this.dataTableRef.renderRows(),this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0)})})})):(this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0)})}formatValue(e,i){let r="";if(this.dataObject.columnHeaders){let a=0;this.dataObject.columnHeaders.some(o=>{if(o.columnName===i){let s=o.columnDisplayType;return r=e.row[a],s==="DATE"?r=this.dateFormat.transform(r):s==="DATETIME"?r=this.dateTimeFormat.transform(r):(s==="INTEGER"||s==="DECIMAL")&&typeof r=="number"&&(r=this.numberFormat.transform(r)),!0}a+=1})}return r}isAllSelected(){let e=this.selection.selected;return this.datatableData.length===e}isAnySelected(){return this.selection.selected&&this.selection.selected.length>0}masterToggle(e){e.checked?this.datatableData.forEach(i=>this.selection.select(i)):this.selection=new ur(!0,[]),this.isSelected=this.selection.selected.length>0}itemToggle(e){this.selection.toggle(e),this.isSelected=this.selection.selected.length>0}checkboxLabel(e){return e?`${this.selection.isSelected(e)?"deselect":"select"} row ${e.position+1}`:`${this.isAllSelected()?"select":"deselect"} all`}isToDelete(e){return this.selection.isSelected(e)?"tobe-deleted":""}getInputName(e){return this.datatables.getName(e)}static{this.\u0275fac=function(i){return new(i||t)(m(kr),m(Bn),m(v2),m(zt),m(Gn),m(Um),m(Fr),m(Fa),m(fu))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-datatable-multi-row"]],viewQuery:function(i,r){if(i&1&&ue(lse,5),i&2){let a;G(a=W())&&(r.dataTableRef=a.first)}},inputs:{dataObject:"dataObject",entityId:"entityId",entityType:"entityType"},features:[Te],decls:34,vars:8,consts:[["dataTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],[1,"action-button","m-b-7","gap-10px"],[4,"mifosxHasPermission"],[1,"m-t-10"],["mat-table","",1,"mat-elevation-z1","m-b-25",3,"dataSource"],[3,"matColumnDef",4,"ngFor","ngForOf"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"click"],["icon","plus",1,"m-r-10"],[4,"ngIf"],["mat-raised-button","","color","warn",1,"delete-button",3,"click"],["icon","trash",1,"m-r-10"],[3,"matColumnDef"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["mat-header-cell",""],["mat-cell",""],[1,"center",3,"click","change","checked"],["mat-header-cell","","class","right",4,"matHeaderCellDef"],["mat-cell","","class","right",3,"ngClass",4,"matCellDef"],["mat-header-cell","",1,"right"],["mat-cell","",1,"right",3,"ngClass"],["mat-header-row",""],["mat-row",""]],template:function(i,r){i&1&&(p(0,"div",1),d(1,`
- `),p(2,"div",2),d(3,`
- `),p(4,"div",3),d(5,`
- `),p(6,"h3"),d(7),f(),d(8,`
- `),f(),d(9,`
- `),p(10,"div",4),d(11,`
- `),w(12,dse,8,3,"span",5),d(13,`
- `),w(14,hse,4,1,"ng-container",5),d(15,`
- `),w(16,pse,4,1,"ng-container",5),d(17,`
- `),f(),d(18,`
- `),f(),d(19,`
-
- `),p(20,"div",6),d(21,`
- `),p(22,"table",7,0),d(24,`
- `),w(25,Cse,6,3,"ng-container",8),d(26,`
-
- `),w(27,xse,1,0,"tr",9),d(28,`
- `),w(29,Mse,1,0,"tr",10),d(30,`
- `),f(),d(31,`
- `),f(),d(32,`
-`),f(),d(33,`
-`)),i&2&&(g(7),E(r.datatableName),g(5),C("mifosxHasPermission","CREATE_"+r.datatableName),g(2),C("mifosxHasPermission","DELETE_"+r.datatableName),g(2),C("mifosxHasPermission","DELETE_"+r.datatableName),g(6),C("dataSource",r.datatableData),g(3),C("ngForOf",r.datatableColumns),g(2),C("matHeaderRowDef",r.datatableColumns),g(2),C("matRowDefColumns",r.datatableColumns))},dependencies:[Ni,ni,Re,Ut,lt,Is,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tobe-deleted[_ngcontent-%COMP%]{text-decoration:line-through;color:#f39c12}"]})}}return t})();function Dse(t,n){if(t&1&&R(0,"mifosx-datatable-multi-row",1),t&2){let e=M();C("entityType",e.entityType)("entityId",e.entityId)("dataObject",e.entityDatatable)}}function Sse(t,n){if(t&1&&R(0,"mifosx-datatable-single-row",1),t&2){let e=M();C("entityType",e.entityType)("entityId",e.entityId)("dataObject",e.entityDatatable)}}var xPe=(()=>{class t{constructor(){this.multiRowDatatableFlag=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-datatable-tab"]],inputs:{multiRowDatatableFlag:"multiRowDatatableFlag",entityDatatable:"entityDatatable",entityType:"entityType",entityId:"entityId"},decls:7,vars:2,consts:[[3,"entityType","entityId","dataObject",4,"ngIf"],[3,"entityType","entityId","dataObject"]],template:function(i,r){i&1&&(p(0,"div"),d(1,`
- `),w(2,Dse,1,3,"mifosx-datatable-multi-row",0),d(3,`
- `),w(4,Sse,1,3,"mifosx-datatable-single-row",0),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.multiRowDatatableFlag),g(2),C("ngIf",!r.multiRowDatatableFlag))},dependencies:[Re,RT,NT]})}}return t})();var wPe=(()=>{class t{constructor(){}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-svg-icon"]],inputs:{iconFile:"iconFile",iconName:"iconName",iconClass:"iconClass",iconWidth:"iconWidth"},decls:5,vars:4,consts:[["preserveAspectRatio","xMidYMid meet",1,"icon",3,"ngClass"]],template:function(i,r){i&1&&(Jt(),p(0,"svg",0),d(1,`
- `),R(2,"use"),d(3,`
-`),f(),d(4,`
-`)),i&2&&(Pt("width",r.iconWidth,"px"),C("ngClass",r.iconClass),g(2),ie("href","assets/images/icons_"+r.iconFile+".svg#"+r.iconName,null,"xlink"))},dependencies:[Ni],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.icon[_ngcontent-%COMP%]{flex:1}.chargeoff[_ngcontent-%COMP%]{color:#ffa726}"]})}}return t})();function kse(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.Credit")))}function Ise(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.Debit")))}function Ese(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Reference Number")),g(4),E(e.data.journalEntry.referenceNumber)}}function Ose(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Comments")),g(4),E(e.data.journalEntry.comments)}}function Pse(t,n){t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th",5),d(3),I(4,"translate"),f(),d(5,`
- `),f()),t&2&&(g(3),E(P(4,1,"labels.inputs.Payment Details")))}function Tse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Payment Type")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.paymentType.name)}}function Vse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Account Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.accountNumber)}}function Ase(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Cheque Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.checkNumber)}}function zse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Routing Code")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.routingCode)}}function Lse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Receipt Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.receiptNumber)}}function Hse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Bank Number")),g(4),E(e.data.journalEntry.transactionDetails.paymentDetails.bankNumber)}}function Rse(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"th"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M();g(3),E(P(4,2,"labels.inputs.Created by")),g(4),E(e.data.journalEntry.createdByUserName)}}var FT=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.existsPaymentDetails=!1,this.existsPaymentDetails=i.journalEntry.transactionDetails!=null&&i.journalEntry.transactionDetails.paymentDetails!=null}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-journal-entry"]],decls:143,vars:63,consts:[["mat-dialog-title",""],["mat-dialog-content",""],[4,"ngIf"],["align","end"],["mat-button","","mat-dialog-close",""],["colspan","2",1,"header"]],template:function(i,r){i&1&&(p(0,"h1",0),d(1),I(2,"translate"),f(),d(3,`
-
-`),p(4,"div",1),d(5,`
- `),p(6,"table"),d(7,`
- `),p(8,"tr"),d(9,`
- `),p(10,"th"),d(11),I(12,"translate"),f(),d(13,`
- `),p(14,"td"),d(15),f(),d(16,`
- `),f(),d(17,`
-
- `),p(18,"tr"),d(19,`
- `),p(20,"th"),d(21),I(22,"translate"),f(),d(23,`
- `),p(24,"td"),d(25),f(),d(26,`
- `),f(),d(27,`
-
- `),p(28,"tr"),d(29,`
- `),p(30,"th"),d(31),I(32,"translate"),f(),d(33,`
- `),p(34,"td"),d(35),f(),d(36,`
- `),f(),d(37,`
-
- `),p(38,"tr"),d(39,`
- `),p(40,"th"),d(41),I(42,"translate"),f(),d(43,`
- `),p(44,"td"),d(45),I(46,"dateFormat"),f(),d(47,`
- `),f(),d(48,`
-
- `),p(49,"tr"),d(50,`
- `),p(51,"th"),d(52),I(53,"translate"),f(),d(54,`
- `),p(55,"td"),d(56),f(),d(57,`
- `),f(),d(58,`
-
- `),p(59,"tr"),d(60,`
- `),p(61,"th"),d(62),I(63,"translate"),f(),d(64,`
- `),p(65,"td"),d(66),f(),d(67,`
- `),f(),d(68,`
-
- `),p(69,"tr"),d(70,`
- `),p(71,"th"),d(72),I(73,"translate"),f(),d(74,`
- `),p(75,"td"),d(76),f(),d(77,`
- `),f(),d(78,`
-
- `),p(79,"tr"),d(80,`
- `),p(81,"th"),d(82,`
- `),w(83,kse,3,3,"span",2),d(84,`
- `),w(85,Ise,3,3,"span",2),d(86,`
- `),f(),d(87,`
- `),p(88,"td"),d(89),I(90,"formatNumber"),f(),d(91,`
- `),f(),d(92,`
-
- `),p(93,"tr"),d(94,`
- `),p(95,"th"),d(96),I(97,"translate"),f(),d(98,`
- `),p(99,"td"),d(100),f(),d(101,`
- `),f(),d(102,`
-
- `),w(103,Ese,9,4,"tr",2),d(104,`
-
- `),w(105,Ose,9,4,"tr",2),d(106,`
-
- `),w(107,Pse,6,3,"tr",2),d(108,`
-
- `),w(109,Tse,9,4,"tr",2),d(110,`
-
- `),w(111,Vse,9,4,"tr",2),d(112,`
-
- `),w(113,Ase,9,4,"tr",2),d(114,`
-
- `),w(115,zse,9,4,"tr",2),d(116,`
-
- `),w(117,Lse,9,4,"tr",2),d(118,`
-
- `),w(119,Hse,9,4,"tr",2),d(120,`
-
- `),w(121,Rse,9,4,"tr",2),d(122,`
-
- `),p(123,"tr"),d(124,`
- `),p(125,"th"),d(126),I(127,"translate"),f(),d(128,`
- `),p(129,"td"),d(130),I(131,"datetimeFormat"),f(),d(132,`
- `),f(),d(133,`
- `),f(),d(134,`
-`),f(),d(135,`
-
-`),p(136,"mat-dialog-actions",3),d(137,`
- `),p(138,"button",4),d(139),I(140,"translate"),f(),d(141,`
-`),f(),d(142,`
-`)),i&2&&(g(),E(P(2,35,"labels.heading.View Journal Entry")),g(10),E(P(12,37,"labels.inputs.Office")),g(4),E(r.data.journalEntry.officeName),g(6),E(P(22,39,"labels.inputs.Entry ID")),g(4),E(r.data.journalEntry.id),g(6),E(P(32,41,"labels.inputs.Transaction ID")),g(4),E(r.data.journalEntry.transactionId),g(6),E(P(42,43,"labels.inputs.Transaction Date")),g(4),E(P(46,45,r.data.journalEntry.transactionDate)),g(7),E(P(53,47,"labels.inputs.Type")),g(4),E(r.data.journalEntry.glAccountType.value),g(6),E(P(63,49,"labels.inputs.Account Code")),g(4),E(r.data.journalEntry.glAccountId),g(6),E(P(73,51,"labels.inputs.Account Name")),g(4),E(r.data.journalEntry.glAccountName),g(7),C("ngIf",r.data.journalEntry.entryType.value==="CREDIT"),g(2),C("ngIf",r.data.journalEntry.entryType.value==="DEBIT"),g(4),Ht("",r.data.journalEntry.currency.displaySymbol," ",P(90,53,r.data.journalEntry.amount),""),g(7),E(P(97,55,"labels.inputs.Currency")),g(4),Ht("(",r.data.journalEntry.currency.code,") ",r.data.journalEntry.currency.name,""),g(3),C("ngIf",r.data.journalEntry.referenceNumber),g(2),C("ngIf",r.data.journalEntry.comments),g(2),C("ngIf",r.existsPaymentDetails),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.paymentType)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.accountNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.checkNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.routingCode)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.receiptNumber)),g(2),C("ngIf",r.existsPaymentDetails&&(r.data.journalEntry.transactionDetails.paymentDetails==null?null:r.data.journalEntry.transactionDetails.paymentDetails.bankNumber)),g(2),C("ngIf",r.existsPaymentDetails),g(5),E(P(127,57,"labels.inputs.Submitted on")),g(4),E(P(131,59,r.data.journalEntry.submittedOnDate)),g(9),E(P(140,61,"labels.buttons.Close")))},dependencies:[Re,lt,Si,yi,Ii,ki,Pe,Fr,Fa,_s],styles:["table[_ngcontent-%COMP%] th[_ngcontent-%COMP%]{text-align:left;font-weight:500;padding:0 .4rem 0 0}table[_ngcontent-%COMP%] th.header[_ngcontent-%COMP%]{text-align:center;padding:.4rem .4rem 0 0}table[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{padding:0 .4rem 0 0}"]})}}return t})();var Nse=t=>({revert:!0,comments:t}),Fse=()=>({redirect:!0});function jse(t,n){if(t&1&&(p(0,"div"),d(1,`
- `),p(2,"h1",2),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"div",3),d(7,`
- `),p(8,"p"),d(9),I(10,"translate"),f(),d(11,`
- `),p(12,"mat-form-field",4),d(13,`
- `),p(14,"mat-label"),d(15),I(16,"translate"),f(),d(17,`
- `),R(18,"textarea",5),d(19,`
- `),f(),d(20,`
- `),f(),d(21,`
- `),p(22,"mat-dialog-actions",6),d(23,`
- `),p(24,"button",7),d(25),I(26,"translate"),f(),d(27,`
- `),p(28,"button",8),d(29),I(30,"translate"),f(),d(31,`
- `),f(),d(32,`
-`),f()),t&2){let e=M();g(3),E(P(4,7,"labels.heading.Revert Transaction")),g(6),E(P(10,9,"labels.text.Revert this transaction?")),g(6),E(P(16,11,"labels.inputs.Comments")),g(3),C("formControl",e.comments),g(7),E(P(26,13,"labels.buttons.No")),g(3),C("mat-dialog-close",sr(17,Nse,e.comments.value)),g(),ne(`
- `,P(30,15,"labels.buttons.Yes"),`
- `)}}function Bse(t,n){if(t&1&&(d(0,`
- `),p(1,"h1",2),d(2),I(3,"translate"),f(),d(4,`
- `),p(5,"div",3),d(6,`
- `),p(7,"h4"),d(8),I(9,"translate"),f(),d(10,`
- `),p(11,"p"),d(12),I(13,"translate"),f(),d(14,`
- `),p(15,"p"),d(16),I(17,"translate"),f(),d(18,`
- `),f(),d(19,`
- `),p(20,"mat-dialog-actions",6),d(21,`
- `),p(22,"button",7),d(23),I(24,"translate"),f(),d(25,`
- `),p(26,"button",8),d(27),I(28,"translate"),f(),d(29,`
- `),f(),d(30,`
-`)),t&2){let e=M();g(2),E(P(3,8,"labels.heading.Transaction Reverted")),g(6),E(P(9,10,"labels.heading.Success!")),g(4),E(P(13,12,"labels.text.Journal entry reverse transaction")),g(4),Ht("",P(17,14,"labels.text.Transaction ID"),": ",e.data.transactionId,""),g(7),E(P(24,16,"labels.buttons.Close")),g(3),C("mat-dialog-close",or(20,Fse)),g(),ne(`
- `,P(28,18,"labels.buttons.Redirect to New Transaction"),`
- `)}}var jT=(()=>{class t{constructor(e,i){this.dialogRef=e,this.data=i,this.comments=new kn("")}static{this.\u0275fac=function(i){return new(i||t)(m(Wt),m(Mi))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-revert-transaction"]],decls:5,vars:2,consts:[["reverted",""],[4,"ngIf","ngIfElse"],["mat-dialog-title",""],["mat-dialog-content",""],[1,"flex-fill"],["matInput","",3,"formControl"],["align","end"],["mat-button","","mat-dialog-close",""],["mat-button","",3,"mat-dialog-close"]],template:function(i,r){if(i&1&&(w(0,jse,33,19,"div",1),d(1,`
-
-`),w(2,Bse,31,21,"ng-template",null,0,Hr),d(4,`
-`)),i&2){let a=Ct(3);C("ngIf",!r.data.reverted)("ngIfElse",a)}},dependencies:[Re,lt,Si,yi,Ii,ki,Kt,Di,$i,en,vi,hn,Pe]})}}return t})();var BT=(()=>{class t{constructor(e){this.http=e}getOffices(){let e=new X().set("orderBy","id");return this.http.get("/offices",{params:e})}getAccountingRules(e=!1){let i=new X;return e&&(i=i.set("associations","all")),this.http.get("/accountingrules",{params:i})}getCurrencies(){return this.http.get("/currencies")}getPaymentTypes(){return this.http.get("/paymenttypes")}createJournalEntry(e){return this.http.post("/journalentries",e)}getGlAccounts(){let e=new X().set("manualEntriesAllowed","true").set("usage","1").set("disabled","false");return this.http.get("/glaccounts",{params:e})}getJournalEntry(e){let i=new X().set("transactionId",e).set("transactionDetails","true");return this.http.get("/journalentries",{params:i})}getJournalEntries(e,i,r,a,o){let s=new X().set("offset",a.toString()).set("limit",o.toString()).set("sortOrder",r).set("orderBy",i);return e.forEach(function(l){l.value&&(s=s.set(l.type,l.value))}),this.http.get("/journalentries",{params:s})}revertTransaction(e,i){let r=new X().set("command","reverse"),a={};return i&&(a={comments:i}),this.http.post(`/journalentries/${e}`,a,{params:r})}getFinancialActivityAccounts(){return this.http.get("/financialactivityaccounts")}getFinancialActivityAccountsTemplate(){return this.http.get("/financialactivityaccounts/template")}createFinancialActivityAccount(e){return this.http.post("/financialactivityaccounts",e)}getFinancialActivityAccount(e,i=!1){let r=new X().set("template",i.toString());return this.http.get(`/financialactivityaccounts/${e}`,{params:r})}updateFinancialActivityAccount(e,i){return this.http.put(`/financialactivityaccounts/${e}`,i)}deleteFinancialActivityAccount(e){return this.http.delete(`/financialactivityaccounts/${e}`)}retrieveOpeningBalances(e){let i=new X().set("officeId",e);return this.http.get("/journalentries/openingbalance",{params:i})}defineOpeningBalances(e){let i=new X().set("command","defineOpeningBalance");return this.http.post("/journalentries",e,{params:i})}getChartOfAccounts(){return this.http.get("/glaccounts")}getChartOfAccountsTemplate(){return this.http.get("/glaccounts/template")}createGlAccount(e){return this.http.post("/glaccounts",e)}getGlAccount(e,i=!1){let r=new X().set("template",i.toString());return this.http.get(`/glaccounts/${e}`,{params:r})}updateGlAccount(e,i){return this.http.put(`/glaccounts/${e}`,i)}deleteGlAccount(e){return this.http.delete(`/glaccounts/${e}`)}getAccountingClosures(){return this.http.get("/glclosures")}createAccountingClosure(e){return this.http.post("/glclosures",e)}getAccountingClosure(e){return this.http.get(`/glclosures/${e}`)}updateAccountingClosure(e,i){return this.http.put(`/glclosures/${e}`,i)}deleteAccountingClosure(e){return this.http.delete(`/glclosures/${e}`)}getAccountingRulesTemplate(){return this.http.get("/accountingrules/template")}createAccountingRule(e){return this.http.post("/accountingrules",e)}getAccountingRule(e){return this.http.get(`/accountingrules/${e}`)}updateAccountingRule(e,i){return this.http.put(`/accountingrules/${e}`,i)}deleteAccountingRule(e){return this.http.delete(`/accountingrules/${e}`)}executePeriodicAccruals(e){return this.http.post("/runaccruals",e)}getProvisioningEntries(){return this.http.get("/provisioningentries")}createProvisioningEntry(e){return this.http.post("/provisioningentries",e)}getProvisioningEntry(e){return this.http.get(`/provisioningentries/${e}`)}getLoanProducts(){return this.http.get("/loanproducts")}getProvisioningCategories(){return this.http.get("/provisioningcategory")}getProvisioningEntryEntries(e){let i=new X().set("entryId",e);return this.http.get("/provisioningentries/entries",{params:i})}getProvisioningJournalEntries(e){let i=new X().set("entryId",e);return this.http.get("/journalentries/provisioning",{params:i})}createProvisioningJournalEntries(e){let i=new X().set("command","createjournalentry");return this.http.post(`/provisioningentries/${e}`,{},{params:i})}recreateProvisioningEntries(e){let i=new X().set("command","recreateprovisioningentry");return this.http.post(`/provisioningentries/${e}`,{},{params:i})}static{this.\u0275fac=function(i){return new(i||t)(k(Ti))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function $se(t,n){t&1&&(p(0,"span"),d(1,`
- `),R(2,"fa-icon",20),d(3),I(4,"translate"),f()),t&2&&(g(3),ne("",P(4,1,"labels.buttons.Revert Transaction"),`
- `))}function Gse(t,n){t&1&&(p(0,"span"),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.buttons.Transaction Reverted")))}function Wse(t,n){if(t&1){let e=le();p(0,"button",19),H("click",function(){F(e);let r=M(3);return j(r.revertTransaction())}),d(1,`
- `),w(2,$se,5,3,"span",0),d(3,`
- `),w(4,Gse,3,3,"span",0),d(5,`
- `),f()}if(t&2){let e=M(3);C("disabled",e.dataSource==null?null:e.dataSource.data[0].reversed),g(2),C("ngIf",!e.dataSource.data[0].reversed),g(2),C("ngIf",e.dataSource.data[0].reversed)}}function qse(t,n){t&1&&(p(0,"div",17),d(1,`
- `),w(2,Wse,6,3,"button",18),d(3,`
- `),f()),t&2&&(g(2),C("mifosxHasPermission","REVERSE_JOURNALENTRY"))}function Yse(t,n){if(t&1&&(p(0,"mat-card",23),d(1,`
- `),p(2,"mat-card-content"),d(3,`
- `),p(4,"div",24),d(5,`
- `),p(6,"div",25),d(7),I(8,"translate"),f(),d(9,`
-
- `),p(10,"div",26),d(11),f(),d(12,`
-
- `),p(13,"div",25),d(14),I(15,"translate"),f(),d(16,`
-
- `),p(17,"div",26),d(18),I(19,"dateFormat"),f(),d(20,`
-
- `),p(21,"div",25),d(22),I(23,"translate"),f(),d(24,`
-
- `),p(25,"div",26),d(26),f(),d(27,`
-
- `),p(28,"div",25),d(29),I(30,"translate"),f(),d(31,`
-
- `),p(32,"div",26),d(33),I(34,"datetimeFormat"),f(),d(35,`
- `),f(),d(36,`
- `),f(),d(37,`
- `),f()),t&2){let e=M(3);g(7),ne(`
- `,P(8,8,"labels.inputs.Office"),`
- `),g(4),ne(`
- `,e.dataSource.data[0].officeName,`
- `),g(3),ne(`
- `,P(15,10,"labels.inputs.Transaction Date"),`
- `),g(4),ne(`
- `,P(19,12,e.dataSource.data[0].transactionDate),`
- `),g(4),ne(`
- `,P(23,14,"labels.inputs.Created By"),`
- `),g(4),ne(`
- `,e.dataSource.data[0].createdByUserName,`
- `),g(3),ne(`
- `,P(30,16,"labels.inputs.Submitted on"),`
- `),g(4),ne(`
- `,P(34,18,e.dataSource.data[0].submittedOnDate),`
- `)}}function Qse(t,n){if(t&1&&(p(0,"div",21),d(1,`
- `),w(2,Yse,38,20,"mat-card",22),d(3,`
- `),f()),t&2){let e=M(2);g(2),C("ngIf",e.dataSource)}}function Kse(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
- `,P(2,1,"labels.inputs.Entry ID"),`
- `))}function Zse(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.id)}}function Xse(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),E(P(2,1,"labels.inputs.Type")))}function Jse(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountType.value)}}function ece(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
- `,P(2,1,"labels.inputs.Account Code"),`
- `))}function tce(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountCode)}}function ice(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
- `,P(2,1,"labels.inputs.Account Name"),`
- `))}function nce(t,n){if(t&1&&(p(0,"td",28),d(1),f()),t&2){let e=n.$implicit;g(),E(e.glAccountName)}}function rce(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
- `,P(2,1,"labels.inputs.Debit"),`
- `))}function ace(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().$implicit;g(),Ht(`
- `,e.currency.displaySymbol||e.currency.code,`
- `,P(2,2,e.amount),`
- `)}}function oce(t,n){if(t&1&&(p(0,"td",28),d(1,`
- `),w(2,ace,3,4,"span",0),d(3,`
- `),f()),t&2){let e=n.$implicit;g(2),C("ngIf",e.entryType.value==="DEBIT")}}function sce(t,n){t&1&&(p(0,"th",27),d(1),I(2,"translate"),f()),t&2&&(g(),ne(`
- `,P(2,1,"labels.inputs.Credit"),`
- `))}function cce(t,n){if(t&1&&(p(0,"span"),d(1),I(2,"formatNumber"),f()),t&2){let e=M().$implicit;g(),Ht(`
- `,e.currency.displaySymbol||e.currency.code,`
- `,P(2,2,e.amount),`
- `)}}function lce(t,n){if(t&1&&(p(0,"td",28),d(1,`
- `),w(2,cce,3,4,"span",0),d(3,`
- `),f()),t&2){let e=n.$implicit;g(2),C("ngIf",e.entryType.value==="CREDIT")}}function dce(t,n){t&1&&R(0,"tr",29)}function uce(t,n){if(t&1){let e=le();p(0,"tr",30),H("click",function(){let r=F(e).$implicit,a=M(2);return j(a.viewJournalEntry(r))}),f()}}function hce(t,n){if(t&1){let e=le();p(0,"div"),d(1,`
- `),w(2,qse,4,1,"div",2),d(3,`
-
- `),w(4,Qse,4,1,"div",1),d(5,`
-
- `),p(6,"div",3),d(7,`
- `),p(8,"table",4),d(9,`
- `),pi(10,5),d(11,`
- `),w(12,Kse,3,3,"th",6),d(13,`
- `),w(14,Zse,2,1,"td",7),d(15,`
- `),fi(),d(16,`
-
- `),pi(17,8),d(18,`
- `),w(19,Xse,3,3,"th",6),d(20,`
- `),w(21,Jse,2,1,"td",7),d(22,`
- `),fi(),d(23,`
-
- `),pi(24,9),d(25,`
- `),w(26,ece,3,3,"th",6),d(27,`
- `),w(28,tce,2,1,"td",7),d(29,`
- `),fi(),d(30,`
-
- `),pi(31,10),d(32,`
- `),w(33,ice,3,3,"th",6),d(34,`
- `),w(35,nce,2,1,"td",7),d(36,`
- `),fi(),d(37,`
-
- `),pi(38,11),d(39,`
- `),w(40,rce,3,3,"th",6),d(41,`
- `),w(42,oce,4,1,"td",7),d(43,`
- `),fi(),d(44,`
-
- `),pi(45,12),d(46,`
- `),w(47,sce,3,3,"th",6),d(48,`
- `),w(49,lce,4,1,"td",7),d(50,`
- `),fi(),d(51,`
-
- `),w(52,dce,1,0,"tr",13),d(53,`
- `),w(54,uce,1,0,"tr",14),d(55,`
- `),f(),d(56,`
-
- `),p(57,"div",15),d(58,`
- `),p(59,"button",16),H("click",function(){F(e);let r=M();return j(r.goBack())}),d(60),I(61,"translate"),f(),d(62,`
- `),f(),d(63,`
- `),f(),d(64,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.dataSource==null?null:e.dataSource.data[0].manualEntry),g(2),C("ngIf",e.isViewTransaction()),g(4),C("dataSource",e.dataSource),g(44),C("matHeaderRowDef",e.displayedColumns),g(2),C("matRowDefColumns",e.displayedColumns),g(6),ne(`
- `,P(61,6,"labels.buttons.Back"),`
- `)}}function mce(t,n){if(t&1){let e=le();p(0,"div",21),d(1,`
- `),p(2,"div",31),d(3,`
- `),p(4,"div",32),d(5,`
- `),R(6,"i",33),d(7),I(8,"translate"),f(),d(9,`
- `),f(),d(10,`
-
- `),p(11,"div",15),d(12,`
- `),p(13,"button",16),H("click",function(){F(e);let r=M();return j(r.goBack())}),d(14),I(15,"translate"),f(),d(16,`
- `),f(),d(17,`
-`),f()}t&2&&(g(7),ne(`
- `,P(8,2,"labels.text.No data found"),`
- `),g(7),ne(`
- `,P(15,4,"labels.buttons.Back"),`
- `))}var BPe=(()=>{class t{constructor(e,i,r,a,o){this.accountingService=e,this.route=i,this.router=r,this.dialog=a,this.location=o,this.displayedColumns=["id","glAccountType","glAccountCode","glAccountName","debit","credit"],this.isJournalEntryLoaded=!1}ngOnInit(){this.route.data.subscribe(e=>{this.title=e.title,this.isJournalEntryLoaded=!1,this.isViewTransaction()?(this.transaction=e.transaction,e.transaction.pageItems.length>0&&(this.isJournalEntryLoaded=!0,this.transactionId=e.transaction.pageItems[0].transactionId)):this.isViewTransfer()&&(this.journalEntriesData=e.transferJournalEntryData.journalEntryData.content,this.isJournalEntryLoaded=!0),this.setTransaction()})}isViewTransaction(){return this.title==="View Transaction"}isViewTransfer(){return this.title==="View Transfer"}setTransaction(){this.journalEntriesData!=null?this.dataSource=new jc(this.journalEntriesData):(this.dataSource=new jc(this.transaction.pageItems),this.dataSource.sortingDataAccessor=(e,i)=>{switch(i){case"glAccountType":return e.glAccountType.value;case"debit":return e.amount;case"credit":return e.amount;default:return e[i]}}),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}viewJournalEntry(e){this.dialog.open(FT,{data:{journalEntry:e}})}revertTransaction(e){this.dialog.open(jT,{data:{reverted:this.dataSource.data[0].reversed,transactionId:e}}).afterClosed().subscribe(r=>{r.revert?this.accountingService.revertTransaction(this.transactionId,r.comments).subscribe(a=>{this.dataSource.data[0].reversed=!0,this.revertTransaction(a.transactionId)}):r.redirect&&this.router.navigate(["../",e],{relativeTo:this.route})})}goBack(){this.location.back()}static{this.\u0275fac=function(i){return new(i||t)(m(BT),m(kr),m(Ir),m(Gn),m(Nr))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-journal-entry-transaction"]],viewQuery:function(i,r){if(i&1&&(ue(Nc,7),ue(Bo,7)),i&2){let a;G(a=W())&&(r.paginator=a.first),G(a=W())&&(r.sort=a.first)}},decls:4,vars:2,consts:[[4,"ngIf"],["class","container m-b-20",4,"ngIf"],["class","layout-row layout-align-end container m-b-20",4,"ngIf"],[1,"mat-elevation-z8","container","layout-align-center","layout-row-wrap"],["mat-table","","matSort","",3,"dataSource"],["matColumnDef","id"],["mat-header-cell","","class","center","mat-sort-header","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","glAccountType"],["matColumnDef","glAccountCode"],["matColumnDef","glAccountName"],["matColumnDef","debit"],["matColumnDef","credit"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",3,"click",4,"matRowDef","matRowDefColumns"],[1,"layout-row","layout-align-center","m-t-15","m-b-15","gap-5px","layout-xs-column"],["type","button","color","primary","mat-raised-button","",3,"click"],[1,"layout-row","layout-align-end","container","m-b-20"],["mat-raised-button","","color","primary",3,"disabled","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",3,"click","disabled"],["icon","undo",1,"m-r-10"],[1,"container","m-b-20"],["class","mat-elevation-z8",4,"ngIf"],[1,"mat-elevation-z8"],[1,"layout-row-wrap"],[1,"flex-25","header"],[1,"flex-25"],["mat-header-cell","","mat-sort-header","",1,"center"],["mat-cell",""],["mat-header-row",""],["mat-row","",1,"select-row",3,"click"],[1,"alert"],[1,"message"],[1,"fa","fa-exclamation-circle","alert-check"]],template:function(i,r){i&1&&(w(0,hce,65,8,"div",0),d(1,`
-
-`),w(2,mce,18,6,"div",1),d(3,`
-`)),i&2&&(C("ngIf",r.isJournalEntryLoaded),g(2),C("ngIf",!r.isJournalEntryLoaded))},dependencies:[Re,Ut,lt,XO,JO,Bo,Cm,R2,F2,$2,j2,N2,G2,B2,U2,W2,q2,Fl,Pe,Fr,Fa,_s],styles:["table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] .select-row[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return t})();function pce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",P(3,1,"labels.text.Copy Account Number")))}function fce(t,n){if(t&1&&(p(0,"span",6),d(1,`
- `),p(2,"a",7),d(3),f(),d(4,`
- `),f()),t&2){let e=M();g(2),Bt("href",e.getAccountLink(),Hf),g(),E(e.accountNo)}}function gce(t,n){if(t&1&&(p(0,"span",6),d(1),f()),t&2){let e=M();g(),E(e.accountNo)}}function _ce(t,n){if(t&1){let e=le();p(0,"span",8),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",P(3,1,"labels.text.Copy Account Number")))}var $Pe=(()=>{class t{constructor(e){this.clipboard=e,this.display="right",this.clientId=null,this.accountId=null,this.accountType=null,this.iconVisible=!1,this.displayL=!1,this.displayR=!0}ngOnInit(){this.displayL=this.display==="left",this.displayR=this.display==="right"}copyValue(){this.clipboard.copy(this.accountNo)}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}getAccountLink(){return this.accountType?`/#/clients/${this.clientId}/${this.getAccountType()}/${this.accountId}`:""}getAccountType(){if(this.accountType==="1")return"loan-accounts";if(this.accountType==="2")return"savings-accounts"}static{this.\u0275fac=function(i){return new(i||t)(m(Q2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-account-number"]],inputs:{accountNo:"accountNo",display:"display",clientId:"clientId",accountId:"accountId",accountType:"accountType"},decls:11,vars:4,consts:[[3,"mouseenter","mouseleave"],["class","m-l-5",3,"click",4,"ngIf"],["class","m-l-5",4,"ngIf"],["class","m-l-3",3,"click",4,"ngIf"],[1,"m-l-5",3,"click"],["icon","copy","size","sm",3,"title"],[1,"m-l-5"],[3,"href"],[1,"m-l-3",3,"click"]],template:function(i,r){i&1&&(p(0,"span",0),H("mouseenter",function(){return r.mouseEnter()})("mouseleave",function(){return r.mouseLeave()}),d(1,`
- `),w(2,pce,4,3,"span",1),d(3,`
- `),w(4,fce,5,2,"span",2),d(5,`
- `),w(6,gce,2,1,"span",2),d(7,`
- `),w(8,_ce,4,3,"span",3),d(9,`
-`),f(),d(10,`
-`)),i&2&&(g(2),C("ngIf",r.displayL&&r.iconVisible),g(2),C("ngIf",r.accountType),g(2),C("ngIf",!r.accountType),g(2),C("ngIf",r.displayR&&r.iconVisible))},dependencies:[Re,Ut,Pe]})}}return t})();function vce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",P(3,1,"labels.text.Copy Account Number")))}function bce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M();return j(r.copyValue())}),p(1,"b"),R(2,"fa-icon",5),I(3,"translate"),f()()}t&2&&(g(2),Bt("title",P(3,1,"labels.text.Copy Account Number")))}var WPe=(()=>{class t{constructor(e){this.clipboard=e,this.display="right",this.iconVisible=!1,this.displayL=!1,this.displayR=!0}ngOnInit(){this.displayL=this.display==="left",this.displayR=this.display==="right"}copyValue(){this.clipboard.copy(this.entityName)}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)(m(Q2))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-entity-name"]],inputs:{entityName:"entityName",display:"display"},decls:11,vars:3,consts:[[3,"mouseenter","mouseleave"],["class","m-l-5",3,"click",4,"ngIf"],[1,"m-l-5"],["class","m-l-3",3,"click",4,"ngIf"],[1,"m-l-5",3,"click"],["icon","copy","size","sm",3,"title"],[1,"m-l-3",3,"click"]],template:function(i,r){i&1&&(p(0,"span",0),H("mouseenter",function(){return r.mouseEnter()})("mouseleave",function(){return r.mouseLeave()}),d(1,`
- `),w(2,vce,4,3,"span",1),d(3,`
- `),p(4,"span",2)(5,"b"),d(6),f()(),d(7,`
- `),w(8,bce,4,3,"span",3),d(9,`
-`),f(),d(10,`
-`)),i&2&&(g(2),C("ngIf",r.displayL&&r.iconVisible),g(4),E(r.entityName),g(2),C("ngIf",r.displayR&&r.iconVisible))},dependencies:[Re,Ut,Pe]})}}return t})();function yce(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M(2);g(3),E(P(4,2,"labels.inputs.Account No")),g(4),E(e.paymentDetailData.accountNumber)}}function Cce(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M(2);g(3),E(P(4,2,"labels.inputs.Cheque Number")),g(4),E(e.paymentDetailData.checkNumber)}}function xce(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td",5),d(7),f(),d(8,`
- `),f()),t&2){let e=M(2);g(3),E(P(4,2,"labels.inputs.Routing Code")),g(4),E(e.paymentDetailData.routingCode)}}function Mce(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M(2);g(3),E(P(4,2,"labels.inputs.Receipt No")),g(4),E(e.paymentDetailData.receiptNumber)}}function wce(t,n){if(t&1&&(p(0,"tr"),d(1,`
- `),p(2,"td",5),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"td"),d(7),f(),d(8,`
- `),f()),t&2){let e=M(2);g(3),E(P(4,2,"labels.inputs.Bank No")),g(4),E(e.paymentDetailData.bankNumber)}}function Dce(t,n){if(t&1&&(p(0,"table"),d(1,`
- `),p(2,"tbody"),d(3,`
- `),p(4,"tr"),d(5,`
- `),p(6,"td",4),d(7),I(8,"translate"),f(),d(9,`
- `),f(),d(10,`
- `),w(11,yce,9,4,"tr",3),d(12,`
- `),w(13,Cce,9,4,"tr",3),d(14,`
- `),w(15,xce,9,4,"tr",3),d(16,`
- `),w(17,Mce,9,4,"tr",3),d(18,`
- `),w(19,wce,9,4,"tr",3),d(20,`
- `),f(),d(21,`
-`),f()),t&2){let e=M();g(7),E(P(8,6,"labels.inputs.Payment Details")),g(4),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.accountNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.checkNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.routingCode)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.receiptNumber)),g(2),C("ngIf",e.isNotNullOrEmpty(e.paymentDetailData.bankNumber))}}var YPe=(()=>{class t{constructor(){}hasSomeValue(){return this.isNotNullOrEmpty(this.paymentDetailData.accountNumber)||this.isNotNullOrEmpty(this.paymentDetailData.bankNumber)||this.isNotNullOrEmpty(this.paymentDetailData.checkNumber)||this.isNotNullOrEmpty(this.paymentDetailData.receiptNumber)||this.isNotNullOrEmpty(this.paymentDetailData.routingCode)}isNotNullOrEmpty(e){return e!==null&&e!==""}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-transaction-payment-detail"]],inputs:{paymentDetailData:"paymentDetailData"},decls:12,vars:5,consts:[[1,"layout-row-wrap","card-content"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],[4,"ngIf"],["colspan","2",1,"mat-body-strong","center"],[1,"mat-body-strong"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),p(2,"div",1),d(3),I(4,"translate"),f(),d(5,`
-
- `),p(6,"div",2),d(7),f(),d(8,`
-`),f(),d(9,`
-`),w(10,Dce,22,8,"table",3),d(11,`
-`)),i&2&&(g(3),ne(`
- `,P(4,3,"labels.inputs.Payment Type"),`
- `),g(4),ne(`
- `,r.paymentDetailData.paymentType.name,`
- `),g(3),C("ngIf",r.hasSomeValue()))},dependencies:[Re,Pe],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.card-content[_ngcontent-%COMP%]{width:100%;padding-bottom:25px}.card-content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{text-align:left}.card-content[_ngcontent-%COMP%] .attribute[_ngcontent-%COMP%]{font-weight:500}"]})}}return t})();var KPe=(()=>{class t{constructor(){this.disablePrevious=!1,this.disableNext=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-stepper-buttons"]],inputs:{disablePrevious:"disablePrevious",disableNext:"disableNext"},decls:13,vars:2,consts:[[1,"flex-fill","layout-row","layout-align-center","margin-t","gap-2percent","layout-xs-column"],["mat-raised-button","","matStepperPrevious","",3,"disabled"],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),p(2,"button",1),d(3,`
- `),R(4,"fa-icon",2),d(5,`
- Previous
- `),f(),d(6,`
- `),p(7,"button",3),d(8,`
- Next
- `),R(9,"fa-icon",4),d(10,`
- `),f(),d(11,`
-`),f(),d(12,`
-`)),i&2&&(g(2),C("disabled",r.disablePrevious),g(5),C("disabled",r.disableNext))},dependencies:[Ut,lt,YP,QP]})}}return t})();function Sce(t,n){if(t&1&&(p(0,"mat-option",7),d(1),f()),t&2){let e=n.$implicit;C("value",e.id),g(),ne(`
- `,"("+e.glCode+") "+e.name,`
- `)}}function kce(t,n){t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
- `),f()),t&2&&(g(),Ht(`
- `,P(2,3,"labels.inputs.Account")," ",P(3,5,"labels.commons.is"),`
- `),g(4),E(P(6,7,"labels.commons.required")))}function Ice(t,n){if(t&1&&(p(0,"mat-form-field",2),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-
- `),p(6,"mat-select",3),d(7,`
- `),p(8,"mat-option"),d(9,`
- `),R(10,"ngx-mat-select-search",4),d(11,`
- `),f(),d(12,`
- `),w(13,Sce,2,2,"mat-option",5),I(14,"async"),d(15,`
- `),f(),d(16,`
- `),w(17,kce,8,9,"mat-error",6),d(18,`
- `),f()),t&2){let e=M();g(3),E(P(4,7,"labels.inputs."+e.inputLabel)),g(3),C("formControl",e.inputFormControl),g(4),Bt("placeholderLabel",e.placeHolderLabel),Bt("noEntriesFoundLabel",e.noEntriesFoundLabel),C("formControl",e.filterFormCtrl),g(3),C("ngForOf",P(14,9,e.glAccountData)),g(4),C("ngIf",e.inputFormControl.hasError("required"))}}function Ece(t,n){if(t&1&&(p(0,"mat-option",7),d(1),f()),t&2){let e=n.$implicit;C("value",e.id),g(),ne(`
- `,"("+e.glCode+") "+e.name,`
- `)}}function Oce(t,n){if(t&1&&(p(0,"mat-form-field",2),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
-
- `),p(6,"mat-select",8),d(7,`
- `),p(8,"mat-option"),d(9,`
- `),p(10,"ngx-mat-select-search",9),d(11,`
- `),f(),d(12,`
- `),f(),d(13,`
- `),w(14,Ece,2,2,"mat-option",5),I(15,"async"),d(16,`
- `),f(),d(17,`
- `),f()),t&2){let e=M();g(3),E(P(4,6,"labels.inputs."+e.inputLabel)),g(3),C("formControl",e.inputFormControl),g(4),Bt("placeholderLabel",e.placeHolderLabel),Bt("noEntriesFoundLabel",e.noEntriesFoundLabel),C("formControl",e.filterFormCtrl),g(4),C("ngForOf",P(15,8,e.glAccountData))}}var tTe=(()=>{class t{constructor(e){this.translateService=e,this.glAccountList=[],this.required=!1,this.inputLabel="",this.glAccountData=new ea(1),this.filterFormCtrl=new kn(""),this._onDestroy=new U,this.placeHolderLabel="",this.noEntriesFoundLabel=""}ngOnInit(){this.filterFormCtrl.valueChanges.pipe(_e(this._onDestroy)).subscribe(()=>{this.searchGLAccount()}),this.placeHolderLabel=this.translateService.instant("labels.text.Search"),this.noEntriesFoundLabel=this.translateService.instant("labels.text.No data found")}ngOnChanges(e){this.glAccountList&&this.glAccountData.next(this.glAccountList.slice())}ngOnDestroy(){this._onDestroy.next(),this._onDestroy.complete()}searchGLAccount(){if(this.glAccountList){let e=this.filterFormCtrl.value.toLowerCase();e?this.glAccountData.next(this.glAccountList.filter(i=>i.name.toLowerCase().indexOf(e)>=0||i.glCode.toLowerCase().indexOf(e)>=0)):this.glAccountData.next(this.glAccountList.slice())}}static{this.\u0275fac=function(i){return new(i||t)(m(ca))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-gl-account-selector"]],inputs:{inputFormControl:"inputFormControl",glAccountList:"glAccountList",required:"required",inputLabel:"inputLabel"},features:[Te],decls:7,vars:2,consts:[[1,"layout-column","m-r-10"],["class","flex-100",4,"ngIf"],[1,"flex-100"],["required","",3,"formControl"],[3,"placeholderLabel","noEntriesFoundLabel","formControl"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],[3,"value"],[3,"formControl"],[3,"formControl","placeholderLabel","noEntriesFoundLabel"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),w(2,Ice,19,11,"mat-form-field",1),d(3,`
-
- `),w(4,Oce,18,10,"mat-form-field",1),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.required),g(2),C("ngIf",!r.required))},dependencies:[ni,Re,Bi,Kt,Di,pr,Tn,OT,vi,da,hn,pu,Pe]})}}return t})();function Pce(t,n){if(t&1&&(p(0,"span",2),d(1,`
- `),p(2,"div",3),d(3),I(4,"translate"),f(),d(5,`
-
- `),p(6,"div",4),d(7),f(),d(8,`
-`),f()),t&2){let e=M();g(2),C("ngClass",e.getWithClass(e.withTitle)),g(),ne(`
- `,P(4,4,"labels.inputs."+e.accountTitle),`
- `),g(3),C("ngClass",e.getWithClass(e.withAccount)),g(),ne(`
- `,e.glAccountValue(),`
- `)}}function Tce(t,n){if(t&1&&(p(0,"div",5),d(1),f()),t&2){let e=M();g(),ne(`
- `,e.glAccountValue(),`
-`)}}var UT=(()=>{class t{constructor(){this.glAccount=null,this.accountTitle=null,this.withTitle="50%",this.withAccount="50%"}glAccountValue(){return this.glAccount?"("+this.glAccount.glCode+") "+(this.glAccount.nameDecorated?this.glAccount.nameDecorated:this.glAccount.name):""}getWithClass(e){return"flex-"+e.replace("%","")}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-gl-account-display"]],inputs:{glAccount:"glAccount",accountTitle:"accountTitle",withTitle:"withTitle",withAccount:"withAccount"},decls:4,vars:2,consts:[["class","layout-row",4,"ngIf"],["class","flex-100",4,"ngIf"],[1,"layout-row"],[1,"header",3,"ngClass"],[3,"ngClass"],[1,"flex-100"]],template:function(i,r){i&1&&(w(0,Pce,9,6,"span",0),d(1,`
-
-`),w(2,Tce,2,1,"div",1),d(3,`
-`)),i&2&&(C("ngIf",r.accountTitle),g(2),C("ngIf",!r.accountTitle))},dependencies:[Ni,Re,Pe],styles:["div[_ngcontent-%COMP%]{margin:.3rem 0;word-wrap:break-word}div.header[_ngcontent-%COMP%]{font-weight:500}"]})}}return t})();var $T=(()=>{class t{getAccountingRulesForShares(){return["NONE","Cash"]}getAccountingRulesForSavings(){return["NONE","Cash","Accrual (periodic)"]}getAccountingRulesForLoans(){return["NONE","Cash","Accrual (periodic)","Accrual (upfront)"]}getAccountRuleName(e){return["ACCRUAL PERIODIC","ACCRUAL (PERIODIC)"].includes(e)?"Accrual (periodic)":["ACCRUAL UPFRONT","ACCRUAL (UPFRONT)"].includes(e)?"Accrual (upfront)":e.startsWith("CASH")?"Cash":e==="NONE"?"NONE":""}isNoneAccounting(e){return e.id===1}isNoneAccountingRuleId(e){return e===1}isCashOrAccrualAccounting(e){return e.id===2||e.id===3}isCashOrAccrualAccountingRuleId(e){return e===2||e===3}isAccrualAccounting(e){return e.id===3}isAccrualAccountingRuleId(e){return e===3}getAccountingRuleFrom(e){return e===1?{code:"NONE",id:e,value:"None"}:e===2?{code:"CASH",id:e,value:"Cash"}:e===3?{code:"ACCRUAL_PERIODIC",id:e,value:"Accural (periodic)"}:e===4?{code:"ACCRUAL_UPFRONT",id:e,value:"Accural (upfront)"}:{code:"INVALID",id:e,value:"Invalid"}}glAccountLookUp(e,i){let r=null;return e&&i.some(a=>{a.id===e&&(r={id:a.id,name:a.name,glCode:a.glCode})}),r}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();function zce(t,n){if(t&1&&(p(0,"div",3),d(1,`
- `),p(2,"span",4),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"span",5),d(7),I(8,"translate"),f(),d(9,`
- `),f()),t&2){let e=M();g(3),ne("",P(4,2,"labels.inputs.Type"),":"),g(4),E(P(8,4,"labels.accounting."+e.getAccountingRuleName(e.accountingRule.value)))}}function Lce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Overdraft portfolio")("glAccount",e.accountingMappings.overdraftPortfolioControl)("withTitle","40%")}}function Hce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Fees Receivable")("glAccount",e.accountingMappings.feeReceivableAccount)("withTitle","40%")}}function Rce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Penalties Receivable")("glAccount",e.accountingMappings.penaltyReceivableAccount)("withTitle","40%")}}function Nce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Interest Payable")("glAccount",e.accountingMappings.interestPayableAccount)("withTitle","40%")}}function Fce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Escheat liability")("glAccount",e.accountingMappings.escheatLiabilityAccount)("withTitle","40%")}}function jce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Income from Interest")("glAccount",e.accountingMappings.incomeFromInterest)("withTitle","40%")}}function Bce(t,n){if(t&1&&(p(0,"mifosx-gl-account-display",8),d(1,`
- `),f()),t&2){let e=M(2);C("accountTitle","Write-off")("glAccount",e.accountingMappings.writeOffAccount)("withTitle","40%")}}function Uce(t,n){if(t&1&&(p(0,"div",6),d(1,`
- `),p(2,"h4",7),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"mifosx-gl-account-display",8),d(7,`
- `),f(),d(8,`
- `),w(9,Lce,2,3,"mifosx-gl-account-display",9),d(10,`
- `),w(11,Hce,2,3,"mifosx-gl-account-display",9),d(12,`
- `),w(13,Rce,2,3,"mifosx-gl-account-display",9),d(14,`
-
- `),p(15,"h4",7),d(16),I(17,"translate"),f(),d(18,`
- `),p(19,"mifosx-gl-account-display",8),d(20,`
- `),f(),d(21,`
- `),p(22,"mifosx-gl-account-display",8),d(23,`
- `),f(),d(24,`
- `),w(25,Nce,2,3,"mifosx-gl-account-display",9),d(26,`
- `),w(27,Fce,2,3,"mifosx-gl-account-display",9),d(28,`
-
- `),p(29,"h4",7),d(30),I(31,"translate"),f(),d(32,`
- `),p(33,"mifosx-gl-account-display",8),d(34,`
- `),f(),d(35,`
- `),p(36,"mifosx-gl-account-display",8),d(37,`
- `),f(),d(38,`
- `),w(39,jce,2,3,"mifosx-gl-account-display",9),d(40,`
-
- `),p(41,"h4",7),d(42),I(43,"translate"),f(),d(44,`
- `),p(45,"mifosx-gl-account-display",8),d(46,`
- `),f(),d(47,`
- `),w(48,Bce,2,3,"mifosx-gl-account-display",9),d(49,`
- `),f()),t&2){let e=M();g(3),E(P(4,29,"labels.heading.Assets")),g(3),C("accountTitle","Saving reference")("glAccount",e.accountingMappings.savingsReferenceAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.overdraftPortfolioControl),g(2),C("ngIf",e.isAccrualAccounting()),g(2),C("ngIf",e.isAccrualAccounting()),g(3),E(P(17,31,"labels.heading.Liabilities")),g(3),C("accountTitle","Saving control")("glAccount",e.accountingMappings.savingsControlAccount)("withTitle","40%"),g(3),C("accountTitle","Savings transfers in suspense")("glAccount",e.accountingMappings.transfersInSuspenseAccount)("withTitle","40%"),g(3),C("ngIf",e.isAccrualAccounting()),g(2),C("ngIf",e.accountingMappings.escheatLiabilityAccount),g(3),E(P(31,33,"labels.heading.Income")),g(3),C("accountTitle","Income from fees")("glAccount",e.accountingMappings.incomeFromFeeAccount)("withTitle","40%"),g(3),C("accountTitle","Income from penalties")("glAccount",e.accountingMappings.incomeFromPenaltyAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.incomeFromInterest),g(3),E(P(43,35,"labels.heading.Expenses")),g(3),C("accountTitle","Interest on savings")("glAccount",e.accountingMappings.interestOnSavingsAccount)("withTitle","40%"),g(3),C("ngIf",e.accountingMappings.writeOffAccount)}}var aTe=(()=>{class t{constructor(e){this.accounting=e,this.accountingMappings=[]}isCashOrAccrualAccounting(){return this.accountingRule?this.accounting.isCashOrAccrualAccounting(this.accountingRule):!1}isAccrualAccounting(){return this.accountingRule?this.accounting.isAccrualAccounting(this.accountingRule):!1}getAccountingRuleName(e){return this.accounting.getAccountRuleName(e.toUpperCase())}static{this.\u0275fac=function(i){return new(i||t)(m($T))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-view-savings-accounting-details"]],inputs:{accountingRule:"accountingRule",accountingMappings:"accountingMappings"},decls:7,vars:2,consts:[[1,"layout-row-wrap","responsive-column"],["class","layout-row-wrap responsive-column flex-fill flex-98",4,"ngIf"],["class","layout-row-wrap responsive-column flex-fill",4,"ngIf"],[1,"layout-row-wrap","responsive-column","flex-fill","flex-98"],[1,"flex-40"],[1,"flex-60"],[1,"layout-row-wrap","responsive-column","flex-fill"],[1,"mat-h4","flex-fill"],[1,"flex-100",3,"accountTitle","glAccount","withTitle"],["class","flex-100",3,"accountTitle","glAccount","withTitle",4,"ngIf"]],template:function(i,r){i&1&&(p(0,"div",0),d(1,`
- `),w(2,zce,10,6,"div",1),d(3,`
-
- `),w(4,Uce,50,37,"div",2),d(5,`
-`),f(),d(6,`
-`)),i&2&&(g(2),C("ngIf",r.accountingRule),g(2),C("ngIf",r.isCashOrAccrualAccounting()))},dependencies:[Re,UT,Pe],styles:[".column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.container[_ngcontent-%COMP%]{padding:1%;margin:1%;width:100%}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%] > h4[_ngcontent-%COMP%]{font-weight:500;margin:.5em 0 0}.mat-h4[_ngcontent-%COMP%]{margin-top:10px!important;font-weight:200;color:#4461e2}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return t})();var GT=(()=>{class t{constructor(e){this.ref=e,this.darkModeOn=!1,this.themes=["dark-theme","light-theme"],this.theme=new at("light-theme"),this.darkModeOn=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.setDarkMode(this.darkModeOn),window.matchMedia("(prefers-color-scheme: dark)").addListener(i=>{let r=i.matches;this.theme.next(r?"dark-theme":"light-theme"),this.ref.tick()})}isDarkMode(){return this.darkModeOn=window.matchMedia&&window.matchMedia("(prefers-color-scheme: dark)").matches,this.darkModeOn}setDarkMode(e){this.darkModeOn=e,e?(document.body.classList.add("dark-theme"),this.theme.next("dark-theme")):(document.body.classList.remove("dark-theme"),this.theme.next("light-theme"))}setInitialDarkMode(){this.setDarkMode(this.darkModeOn)}static{this.\u0275fac=function(i){return new(i||t)(k(Ji))}}static{this.\u0275prov=N({token:t,factory:t.\u0275fac,providedIn:"root"})}}return t})();var hTe=(()=>{class t{constructor(e,i){this.themingService=e,this.settingsService=i}ngOnInit(){this.darkModeOn=this.settingsService.themeDarkEnabled==="true"}ngOnChanges(e){this.darkModeOn=this.settingsService.themeDarkEnabled==="true"}toggleTheme(){this.darkModeOn=!this.darkModeOn,this.settingsService.setThemeDarkEnabled(this.darkModeOn?"true":"false"),this.themingService.setDarkMode(this.darkModeOn)}static{this.\u0275fac=function(i){return new(i||t)(m(GT),m(zt))}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-theme-toggle"]],features:[Te],decls:6,vars:1,consts:[["mat-icon-button","",1,"m-l-15","m-r-5",3,"click"]],template:function(i,r){i&1&&(p(0,"button",0),H("click",function(){return r.toggleTheme()}),d(1,`
- `),p(2,"mat-icon"),d(3),f(),d(4,`
-`),f(),d(5,`
-`)),i&2&&(g(3),E(r.darkModeOn?"wb_sunny":"nights_stay"))},dependencies:[bn,Yr]})}}return t})();function Gce(t,n){if(t&1){let e=le();p(0,"span",4),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),R(1,"fa-icon",5),f()}if(t&2){let e=M(2);g(),C("title",e.textValue)}}function Wce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),I(2,"truncateText"),f()}if(t&2){let e=M(2);g(),ne("",yo(2,1,e.textValue,e.printChars),"...")}}function qce(t,n){if(t&1){let e=le();p(0,"span",6),H("click",function(){F(e);let r=M(2);return j(r.showValue())}),d(1),f()}if(t&2){let e=M(2);g(),E(e.textValue)}}function Yce(t,n){if(t&1){let e=le();p(0,"span",1),H("mouseenter",function(){F(e);let r=M();return j(r.mouseEnter())})("mouseleave",function(){F(e);let r=M();return j(r.mouseLeave())}),d(1,`
- `),w(2,Gce,2,1,"span",2),d(3,`
- `),w(4,Wce,3,4,"span",3),d(5,`
- `),w(6,qce,2,1,"span",3),d(7,`
-`),f()}if(t&2){let e=M();g(2),C("ngIf",e.isLongValue()),g(2),C("ngIf",e.isLongValue()),g(2),C("ngIf",!e.isLongValue())}}var pTe=(()=>{class t{constructor(){this.chars=30,this.iconVisible=!1,this.displayL=!1,this.displayR=!0,this.emptyValue=!1,this.printChars=30}ngOnInit(){this.emptyValue=!this.textValue||this.textValue==="",this.printChars=this.chars}isLongValue(){return this.textValue==null?!1:this.textValue.length>25}showValue(){this.printChars==30?this.printChars=1e3:this.printChars=30}mouseEnter(){this.iconVisible=!0}mouseLeave(){this.iconVisible=!1}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-long-text"]],inputs:{textValue:"textValue",chars:"chars"},decls:2,vars:1,consts:[[3,"mouseenter","mouseleave",4,"ngIf"],[3,"mouseenter","mouseleave"],["class","m-l-3",3,"click",4,"ngIf"],["class","m-l-5",3,"click",4,"ngIf"],[1,"m-l-3",3,"click"],["icon","eye","size","sm",3,"title"],[1,"m-l-5",3,"click"]],template:function(i,r){i&1&&(w(0,Yce,8,3,"span",0),d(1,`
-`)),i&2&&C("ngIf",!r.emptyValue)},dependencies:[Re,Ut,Vu]})}}return t})();function Qce(t,n){if(t&1&&(p(0,"mat-error"),d(1),I(2,"translate"),I(3,"translate"),p(4,"strong"),d(5),I(6,"translate"),f(),d(7,`
- `),f()),t&2){let e=M(2);g(),Ht(`
- `,P(2,3,"labels.inputs."+e.inputLabel)," ",P(3,5,"labels.commons.is"),`
- `),g(4),E(P(6,7,"labels.commons.required"))}}function Kce(t,n){if(t&1&&(p(0,"mat-hint",7),d(1),I(2,"currency"),f()),t&2){let e=M(2);g(),E(n8(2,1,e.inputFormControl.value,e.currency.code,e.currency.displaySymbol,"1.2-2"))}}function Zce(t,n){if(t&1){let e=le();p(0,"mat-form-field",2),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"div",3),d(7,`
- `),p(8,"span"),d(9),f(),d(10,`
- `),p(11,"input",4),H("keypress",function(r){F(e);let a=M();return j(a.numberOnly(r))})("blur",function(){F(e);let r=M();return j(r.displayHint=!1)})("focus",function(){F(e);let r=M();return j(r.displayHint=!0)}),f(),d(12,`
- `),f(),d(13,`
- `),w(14,Qce,8,9,"mat-error",5),d(15,`
- `),w(16,Kce,3,6,"mat-hint",6),d(17,`
-`),f()}if(t&2){let e=M();g(3),E(P(4,8,"labels.inputs."+e.inputLabel)),g(6),E(e.currency.code),g(2),j0("mifosxFormatAmount","",e.currency.code,":",e.currency.displaySymbol,""),C("formControl",e.inputFormControl),g(3),C("ngIf",e.inputFormControl.hasError("required")),g(2),C("ngIf",e.displayHint)}}function Xce(t,n){if(t&1&&(p(0,"mat-hint",7),d(1),I(2,"currency"),f()),t&2){let e=M(2);g(),E(n8(2,1,e.inputFormControl.value,e.currency.code,e.currency.displaySymbol,"1.2-2"))}}function Jce(t,n){if(t&1){let e=le();p(0,"mat-form-field",8),d(1,`
- `),p(2,"mat-label"),d(3),I(4,"translate"),f(),d(5,`
- `),p(6,"span",9),d(7),f(),d(8,`
- `),R(9,"span",10),d(10,`
- `),p(11,"input",11),H("keypress",function(r){F(e);let a=M();return j(a.numberOnly(r))})("blur",function(){F(e);let r=M();return j(r.displayHint=!1)})("focus",function(){F(e);let r=M();return j(r.displayHint=!0)}),f(),d(12,`
- `),w(13,Xce,3,6,"mat-hint",6),d(14,`
-`),f()}if(t&2){let e=M();g(3),E(P(4,7,"labels.inputs."+e.inputLabel)),g(4),E(e.currency.code),g(4),j0("mifosxFormatAmount","",e.currency.code,":",e.currency.displaySymbol,""),C("formControl",e.inputFormControl),g(2),C("ngIf",e.displayHint)}}var _Te=(()=>{class t{constructor(){this.isRequired=!1,this.displayHint=!1}numberOnly(e){let i=e.which?e.which:e.keyCode;return i===46?!(this.inputFormControl.value.indexOf(".")>-1):!(i>31&&(i<48||i>57))}inputBlur(){this.displayHint=!1}inputFocus(){this.displayHint=!0}static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275cmp=A({type:t,selectors:[["mifosx-input-amount"]],inputs:{isRequired:"isRequired",currency:"currency",inputLabel:"inputLabel",inputFormControl:"inputFormControl"},decls:4,vars:2,consts:[["appearance","fill","class","flex-100 input-container",4,"ngIf"],["appearance","fill","class","flex-100",4,"ngIf"],["appearance","fill",1,"flex-100","input-container"],[1,"input-group"],["required","","matInput","",1,"right-input",3,"keypress","blur","focus","mifosxFormatAmount","formControl"],[4,"ngIf"],["class","right-hint",4,"ngIf"],[1,"right-hint"],["appearance","fill",1,"flex-100"],["matTextSuffix","",1,"m-l-10"],[1,"flex-auto"],["matInput","",1,"right-input",3,"keypress","blur","focus","mifosxFormatAmount","formControl"]],template:function(i,r){i&1&&(w(0,Zce,18,10,"mat-form-field",0),d(1,`
-`),w(2,Jce,15,9,"mat-form-field",1),d(3,`
-`)),i&2&&(C("ngIf",r.isRequired),g(2),C("ngIf",!r.isRequired))},dependencies:[Re,Kt,Di,mh,pr,l2,$i,en,vi,da,hn,JM,Ix,Pe],styles:[".expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px}.input-container[_ngcontent-%COMP%]{width:100%}.input-group[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;gap:5px}.container[_ngcontent-%COMP%]{max-width:37rem}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}.right-hint[_ngcontent-%COMP%]{min-width:100%;text-align:right;font-weight:500}"]})}}return t})();var JVe=(()=>{class t{static{this.\u0275fac=function(i){return new(i||t)}}static{this.\u0275mod=ee({type:t})}static{this.\u0275inj=J({imports:[Tt,j7,M_,sd,Z8,pM,ew,Tt,j7,M_,XM,sd,Z8]})}}return t})();export{xe as a,je as b,U as c,at as d,ea as e,i1e as f,ce as g,me as h,on as i,mi as j,lo as k,Zi as l,Lp as m,nt as n,Ve as o,Ma as p,ia as q,es as r,wa as s,Da as t,IH as u,Ks as v,Qe as w,dt as x,_e as y,yt as z,ke as A,ct as B,N as C,J as D,L as E,k as F,Jn as G,A as H,ee as I,T as J,Te as K,F as L,j as M,Jt as N,Va as O,Ae as P,Le as Q,B as R,oe as S,$ as T,ot as U,ln as V,kl as W,Hf as X,XN as Y,mhe as Z,phe as _,g as $,m as aa,$e as ba,xl as ca,tr as da,de as ea,w as fa,ie as ga,C as ha,Pt as ia,re as ja,Lt as ka,p as la,f as ma,R as na,pi as oa,fi as pa,At as qa,le as ra,H as sa,M as ta,Me as ua,se as va,Bt as wa,F0 as xa,we as ya,ue as za,G as Aa,W as Ba,Ct as Ca,d as Da,E as Ea,ne as Fa,Ht as Ga,i8 as Ha,ZB as Ia,L1 as Ja,B0 as Ka,H1 as La,he as Ma,vhe as Na,or as Oa,sr as Pa,cr as Qa,I as Ra,P as Sa,yo as Ta,bhe as Ua,n8 as Va,Hr as Wa,pe as Xa,Ce as Ya,Do as Za,Nr as _a,Hhe as $a,Ni as ab,ni as bb,Re as cb,mu as db,Dx as eb,kx as fb,hs as gb,pu as hb,Rhe as ib,Nhe as jb,Vl as kb,Fhe as lb,fu as mb,Ix as nb,Tt as ob,j1 as pb,vu as qb,dr as rb,X as sb,U1 as tb,Ti as ub,A$ as vb,eme as wb,tme as xb,Gx as yb,fme as zb,gme as Ab,Xx as Bb,q1 as Cb,pa as Db,H8e as Eb,kt as Fb,et as Gb,R8e as Hb,De as Ib,tt as Jb,Ze as Kb,Gw as Lb,Ww as Mb,N8e as Nb,ga as Ob,kr as Pb,KJ as Qb,Kee as Rb,Ir as Sb,Ak as Tb,Obe as Ub,Pbe as Vb,Ql as Wb,Zu as Xb,dq as Yb,Bi as Zb,lt as _b,L8e as $b,bn as ac,hr as bc,zi as cc,Es as dc,Qi as ec,$n as fc,ur as gc,vt as hc,Pn as ic,Pre as jc,Wt as kc,Mi as lc,Gn as mc,Si as nc,yi as oc,ki as pc,Ii as qc,LD as rc,Al as sc,Q1 as tc,ca as uc,Pe as vc,Z8 as wc,mt as xc,JS as yc,gs as zc,Bn as Ac,zt as Bc,gM as Cc,zu as Dc,rm as Ec,GT as Fc,Ut as Gc,Yi as Hc,en as Ic,_i as Jc,vi as Kc,jr as Lc,UM as Mc,od as Nc,kn as Oc,GG as Pc,Cs as Qc,qG as Rc,hn as Sc,tn as Tc,qM as Uc,YM as Vc,la as Wc,tW as Xc,nW as Yc,da as Zc,oW as _c,sW as $c,xs as ad,XM as bd,Is as cd,Di as dd,pr as ed,mh as fd,ph as gd,l2 as hd,Kt as id,fh as jd,$i as kd,MD as ld,_h as md,og as nd,Tn as od,Oc as pd,Ao as qd,W7e as rd,KS as sd,v2 as td,Ls as ud,E_e as vd,A_e as wd,Jg as xd,nk as yd,zc as zd,Hs as Ad,Vh as Bd,qr as Cd,Z9e as Dd,Ah as Ed,Yr as Fd,J1 as Gd,kve as Hd,Pve as Id,zve as Jd,jve as Kd,Gve as Ld,Ck as Md,hbe as Nd,zbe as Od,Nbe as Pd,Wbe as Qd,Zbe as Rd,AO as Sd,wye as Td,Dye as Ud,FO as Vd,CCe as Wd,Rie as Xd,Gie as Yd,KO as Zd,XO as _d,ZCe as $d,XCe as ae,JO as be,JCe as ce,exe as de,txe as ee,ixe as fe,nxe as ge,une as he,hne as ie,iMe as je,nMe as ke,rMe as le,pP as me,fP as ne,wMe as oe,DMe as pe,Nc as qe,bP as re,cwe as se,Xne as te,wP as ue,SP as ve,ure as we,hre as xe,PP as ye,Bo as ze,Cm as Ae,n_ as Be,oae as Ce,cae as De,qP as Ee,YP as Fe,QP as Ge,R2 as He,N2 as Ie,F2 as Je,XSe as Ke,j2 as Le,B2 as Me,JSe as Ne,U2 as Oe,$2 as Pe,eke as Qe,G2 as Re,W2 as Se,tke as Te,q2 as Ue,ike as Ve,jc as We,Rae as Xe,Fae as Ye,jae as Ze,Eke as _e,Qae as $e,Kae as af,Oke as bf,Ake as cf,CT as df,xT as ef,_Ie as ff,vIe as gf,bIe as hf,yIe as if,DT as jf,CIe as kf,xIe as lf,ST as mf,kT as nf,IT as of,OT as pf,LEe as qf,nM as rf,rM as sf,aM as tf,Fr as uf,Fa as vf,oM as wf,_s as xf,dM as yf,mM as zf,pM as Af,zm as Bf,VT as Cf,Lm as Df,Hm as Ef,dOe as Ff,LT as Gf,Fl as Hf,EOe as If,Kpe as Jf,ew as Kf,Nm as Lf,jm as Mf,Bm as Nf,Um as Of,xPe as Pf,wPe as Qf,BT as Rf,BPe as Sf,$Pe as Tf,WPe as Uf,YPe as Vf,KPe as Wf,tTe as Xf,UT as Yf,$T as Zf,aTe as _f,hTe as $f,pTe as ag,_Te as bg,JVe as cg};
diff --git a/browser/chunk-FK6H3RFT.js b/browser/chunk-FK6H3RFT.js
deleted file mode 100644
index 81a107983..000000000
--- a/browser/chunk-FK6H3RFT.js
+++ /dev/null
@@ -1 +0,0 @@
-function o(e){"@babel/helpers - typeof";return o=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},o(e)}export{o as a};
diff --git a/browser/chunk-MU5IWULR.js b/browser/chunk-MU5IWULR.js
deleted file mode 100644
index f6575d9e4..000000000
--- a/browser/chunk-MU5IWULR.js
+++ /dev/null
@@ -1 +0,0 @@
-import{C as i,Cf as n,F as p,h as u,sb as c,ub as d}from"./chunk-COWTJTPH.js";var h=class{constructor(a){this.selectOptions=[],this.childParameters=[],this.name=a[0],this.variable=a[1],this.label=a[2],this.displayType=a[3],this.formatType=a[4],this.defaultVal=a[5],this.selectOne=a[6],this.selectAll=a[7],this.parentParameterName=a[8],this.inputName=`R_${a[1]}`}};var l=class{constructor(a){this.id=a[0],this.name=a[1]}};var f=class{constructor(a){this.keysLabel=a.columnHeaders[0].columnName,this.valuesLabel=a.columnHeaders[1].columnName,this.keys=a.data.map(t=>t.row[0]),this.values=a.data.map(t=>t.row[1])}};var F=(()=>{class e{constructor(t){this.http=t}getReports(){return this.http.get("/reports")}getReportParams(t){let r=new c().set("R_reportListing",`'${t}'`).set("parameterType","true");return this.http.get("/runreports/FullParameterList",{params:r}).pipe(u(s=>s.data.map(o=>new h(o.row))))}getSelectOptions(t){let r=new c().set("parameterType","true");return this.http.get(`/runreports/${t}`,{params:r}).pipe(u(s=>s.data.map(o=>new l(o.row))))}getPentahoParams(t){let r=new c().set("fields","reportParameters");return this.http.get(`/reports/${t}`,{params:r}).pipe(u(s=>s.reportParameters))}getRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s})}getChartRunReportData(t,r){let s=new c;for(let[o,m]of Object.entries(r))s=s.set(o,m);return this.http.get(`/runreports/${t}`,{params:s}).pipe(u(o=>new f(o)))}getPentahoRunReportData(t,r,s,o,m){let g=new c().set("tenantIdentifier",s).set("locale",o).set("dateFormat",m);for(let[b,w]of Object.entries(r))g=g.set(b,w);return this.http.get(`/runreports/${t}`,{responseType:"arraybuffer",observe:"response",params:g})}static{this.\u0275fac=function(r){return new(r||e)(p(d))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var L=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGroupAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var C=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.parent.paramMap.get("groupId");return this.groupsService.getGSIMAccountsData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();var B=(()=>{class e{constructor(t){this.groupsService=t}resolve(t){let r=t.paramMap.get("groupId");return this.groupsService.getGroupData(r)}static{this.\u0275fac=function(r){return new(r||e)(p(n))}}static{this.\u0275prov=i({token:e,factory:e.\u0275fac})}}return e})();export{F as a,L as b,C as c,B as d};
diff --git a/browser/chunk-O7S4L63H.js b/browser/chunk-O7S4L63H.js
deleted file mode 100644
index ab6a29a3c..000000000
--- a/browser/chunk-O7S4L63H.js
+++ /dev/null
@@ -1 +0,0 @@
-var v=Object.create;var n=Object.defineProperty,w=Object.defineProperties,x=Object.getOwnPropertyDescriptor,y=Object.getOwnPropertyDescriptors,z=Object.getOwnPropertyNames,m=Object.getOwnPropertySymbols,A=Object.getPrototypeOf,o=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable;var l=(a,b)=>(b=Symbol[a])?b:Symbol.for("Symbol."+a),B=a=>{throw TypeError(a)};var r=(a,b,c)=>b in a?n(a,b,{enumerable:!0,configurable:!0,writable:!0,value:c}):a[b]=c,D=(a,b)=>{for(var c in b||={})o.call(b,c)&&r(a,c,b[c]);if(m)for(var c of m(b))s.call(b,c)&&r(a,c,b[c]);return a},E=(a,b)=>w(a,y(b));var F=(a=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(a,{get:(b,c)=>(typeof require<"u"?require:b)[c]}):a)(function(a){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+a+'" is not supported')});var G=(a,b)=>{var c={};for(var d in a)o.call(a,d)&&b.indexOf(d)<0&&(c[d]=a[d]);if(a!=null&&m)for(var d of m(a))b.indexOf(d)<0&&s.call(a,d)&&(c[d]=a[d]);return c};var H=(a,b)=>()=>(b||a((b={exports:{}}).exports,b),b.exports),I=(a,b)=>{for(var c in b)n(a,c,{get:b[c],enumerable:!0})},C=(a,b,c,d)=>{if(b&&typeof b=="object"||typeof b=="function")for(let e of z(b))!o.call(a,e)&&e!==c&&n(a,e,{get:()=>b[e],enumerable:!(d=x(b,e))||d.enumerable});return a};var J=(a,b,c)=>(c=a!=null?v(A(a)):{},C(b||!a||!a.__esModule?n(c,"default",{value:a,enumerable:!0}):c,a));var K=(a,b,c)=>new Promise((d,e)=>{var f=g=>{try{i(c.next(g))}catch(j){e(j)}},h=g=>{try{i(c.throw(g))}catch(j){e(j)}},i=g=>g.done?d(g.value):Promise.resolve(g.value).then(f,h);i((c=c.apply(a,b)).next())}),t=function(a,b){this[0]=a,this[1]=b},L=(a,b,c)=>{var d=(h,i,g,j)=>{try{var p=c[h](i),q=(i=p.value)instanceof t,u=p.done;Promise.resolve(q?i[0]:i).then(k=>q?d(h==="return"?h:"next",i[1]?{done:k.done,value:k.value}:k,g,j):g({value:k,done:u})).catch(k=>d("throw",k,g,j))}catch(k){j(k)}},e=h=>f[h]=i=>new Promise((g,j)=>d(h,i,g,j)),f={};return c=c.apply(a,b),f[l("asyncIterator")]=()=>f,e("next"),e("throw"),e("return"),f},M=a=>{var b=a[l("asyncIterator")],c=!1,d,e={};return b==null?(b=a[l("iterator")](),d=f=>e[f]=h=>b[f](h)):(b=b.call(a),d=f=>e[f]=h=>{if(c){if(c=!1,f==="throw")throw h;return h}return c=!0,{done:!1,value:new t(new Promise(i=>{var g=b[f](h);g instanceof Object||B("Object expected"),i(g)}),1)}}),e[l("iterator")]=()=>e,d("next"),"throw"in b?d("throw"):e.throw=f=>{throw f},"return"in b&&d("return"),e},N=(a,b,c)=>(b=a[l("asyncIterator")])?b.call(a):(a=a[l("iterator")](),b={},c=(d,e)=>(e=a[d])&&(b[d]=f=>new Promise((h,i,g)=>(f=e.call(a,f),g=f.done,Promise.resolve(f.value).then(j=>h({value:j,done:g}),i)))),c("next"),c("return"),b);export{D as a,E as b,F as c,G as d,H as e,I as f,J as g,K as h,t as i,L as j,M as k,N as l};
diff --git a/browser/chunk-WELHHYZ6.js b/browser/chunk-WELHHYZ6.js
deleted file mode 100644
index f33b18817..000000000
--- a/browser/chunk-WELHHYZ6.js
+++ /dev/null
@@ -1 +0,0 @@
-import{C as r,Ef as a,F as c}from"./chunk-COWTJTPH.js";var f=(()=>{class t{constructor(i){this.savingsService=i}resolve(i){let e=i.paramMap.get("savingAccountId");return this.savingsService.getSavingsAccountData(e)}static{this.\u0275fac=function(e){return new(e||t)(c(a))}}static{this.\u0275prov=r({token:t,factory:t.\u0275fac})}}return t})();export{f as a};
diff --git a/browser/collaterals.module-MROGT6G6.js b/browser/collaterals.module-MROGT6G6.js
deleted file mode 100644
index 668321169..000000000
--- a/browser/collaterals.module-MROGT6G6.js
+++ /dev/null
@@ -1,103 +0,0 @@
-import{$ as o,Af as Mt,Bc as X,C as y,D as M,Da as t,Ea as c,F as E,Fa as h,Ga as b,Gc as Y,H as w,He as Ct,Hf as Et,I as R,Ic as Z,Ie as ft,Jc as tt,Je as xt,Kc as et,Kf as wt,L as k,Lc as it,Le as ht,M as $,Me as bt,Oa as T,Oe as vt,Pb as B,Pe as gt,Qc as at,Ra as m,Re as _t,Sa as p,Sb as V,Se as St,Tb as F,Tc as nt,Ue as It,Vb as A,Wc as lt,Zc as ot,_b as O,_d as j,aa as f,ad as rt,be as N,cb as Q,cg as Rt,dd as mt,de as ut,ed as pt,fa as d,ha as C,id as st,kd as ct,la as i,ma as a,mc as W,na as u,oa as S,ob as z,pa as I,qd as dt,ra as U,sa as P,sb as J,ta as G,ub as K,uf as Dt,vc as L,xf as yt}from"./chunk-COWTJTPH.js";import"./chunk-O7S4L63H.js";var g=(()=>{class e{constructor(n){this.http=n}getFilteredClients(n,l,r,x,v){let _=new J().set("displayName",x).set("orphansOnly",r.toString()).set("sortOrder",l).set("orderBy",n);return v&&(_=_.set("officeId",v)),this.http.get("/clients",{params:_})}getClientCollateral(n,l){return this.http.get(`/clients/${n}/collaterals/${l}`)}updateClientCollateral(n,l,r){return this.http.put(`/clients/${n}/collaterals/${l}`,r)}deleteCollateral(n,l){return this.http.delete(`/clients/${n}/collaterals/${l}`)}static{this.\u0275fac=function(l){return new(l||e)(E(K))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var jt=()=>["edit"];function Nt(e,s){e&1&&(i(0,"button",16),t(1,`
- `),u(2,"fa-icon",17),t(3),m(4,"translate"),a()),e&2&&(C("routerLink",T(4,jt)),o(3),h(`
- `,p(4,2,"labels.buttons.Edit"),`
- `))}function qt(e,s){if(e&1){let n=U();i(0,"button",18),P("click",function(){k(n);let r=G();return $(r.deleteCollateral())}),t(1,`
- `),u(2,"fa-icon",19),t(3),m(4,"translate"),a()}e&2&&(o(3),h(`
- `,p(4,1,"labels.buttons.Delete"),`
- `))}function At(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.ID")))}function Ht(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),h(`
- `,n.loanId,`
- `)}}function kt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment")))}function $t(e,s){if(e&1&&(i(0,"td",21),t(1),a()),e&2){let n=s.$implicit;o(),c(n.lastRepayment)}}function Ut(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Remaining Amount")))}function Gt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"formatNumber"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.remainingAmount))}}function Qt(e,s){e&1&&(i(0,"th",20),t(1),m(2,"translate"),a()),e&2&&(o(),c(p(2,1,"labels.inputs.Last Repayment Date")))}function zt(e,s){if(e&1&&(i(0,"td",21),t(1),m(2,"dateFormat"),a()),e&2){let n=s.$implicit;o(),c(p(2,1,n.lastRepaymentDate))}}function Jt(e,s){e&1&&u(0,"tr",22)}function Kt(e,s){e&1&&u(0,"tr",23)}var Pt=(()=>{class e{constructor(n,l,r,x){this.route=n,this.collateralsService=l,this.router=r,this.dialog=x,this.collateralColumns=["ID","Last Repayment","Remaining Amount","Last Repayment Date"],this.route.data.subscribe(v=>{this.clientCollateralData=v.clientCollateralData})}deleteCollateral(){this.dialog.open(dt,{data:{deleteContext:`collateral ${this.clientCollateralData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.collateralsService.deleteCollateral(this.clientCollateralData.clientId,this.clientCollateralData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}static{this.\u0275fac=function(l){return new(l||e)(f(B),f(g),f(V),f(W))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-view-collateral"]],decls:78,vars:27,consts:[[1,"layout-row","align-end","gap-2px","responsive-column","container","m-b-20"],["mat-raised-button","","color","primary",3,"routerLink",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],[1,"client-collateral-card"],[1,"content"],[1,"tab-container","mat-typography"],[1,"layout-row","gap-32px","group-details-container","m-b-30"],["mat-table","",1,"mat-elevation-z1","m-b-30",3,"dataSource"],["matColumnDef","ID"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","Last Repayment"],["matColumnDef","Remaining Amount"],["matColumnDef","Last Repayment Date"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-raised-button","","color","primary",3,"routerLink"],["icon","edit",1,"m-r-10"],["mat-raised-button","","color","warn",3,"click"],["icon","trash",1,"m-r-10"],["mat-header-cell",""],["mat-cell",""],["mat-header-row",""],["mat-row",""]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
- `),d(2,Nt,5,5,"button",1),t(3,`
- `),d(4,qt,5,3,"button",2),t(5,`
-`),a(),t(6,`
-
-`),i(7,"mat-card",3),t(8,`
- `),i(9,"mat-card-content",4),t(10,`\\
-
- `),i(11,"div",5),t(12,`
- `),i(13,"h3"),t(14),m(15,"translate"),a(),t(16,`
-
- `),i(17,"div",6),t(18,`
- `),i(19,"p"),t(20),m(21,"translate"),u(22,"br"),t(23),m(24,"translate"),u(25,"br"),t(26),m(27,"translate"),u(28,"br"),t(29),m(30,"translate"),u(31,"br"),t(32,`
- `),a(),t(33,`
- `),a(),t(34,`
-
- `),i(35,"h3"),t(36),m(37,"translate"),a(),t(38,`
-
- `),i(39,"table",7),t(40,`
- `),S(41,8),t(42,`
- `),d(43,At,3,3,"th",9),t(44,`
- `),d(45,Ht,2,1,"td",10),t(46,`
- `),I(),t(47,`
-
- `),S(48,11),t(49,`
- `),d(50,kt,3,3,"th",9),t(51,`
- `),d(52,$t,2,1,"td",10),t(53,`
- `),I(),t(54,`
-
- `),S(55,12),t(56,`
- `),d(57,Ut,3,3,"th",9),t(58,`
- `),d(59,Gt,3,3,"td",10),t(60,`
- `),I(),t(61,`
-
- `),S(62,13),t(63,`
- `),d(64,Qt,3,3,"th",9),t(65,`
- `),d(66,zt,3,3,"td",10),t(67,`
- `),I(),t(68,`
-
- `),t(69,`
- `),d(70,Jt,1,0,"tr",14),t(71,`
- `),d(72,Kt,1,0,"tr",15),t(73,`
- `),a(),t(74,`
- `),a(),t(75,`
- `),a(),t(76,`
-`),a(),t(77,`
-`)),l&2&&(o(2),C("mifosxHasPermission","UPDATE_CLIENT_COLLATERAL_PRODUCT"),o(2),C("mifosxHasPermission","DELETE_CLIENT_COLLATERAL_PRODUCT"),o(10),c(p(15,15,"labels.heading.Client Collateral Details")),o(6),b(`
- `,p(21,17,"labels.inputs.name"),": ",r.clientCollateralData.name,""),o(3),b(`
- `,p(24,19,"labels.inputs.Quantity"),": ",r.clientCollateralData.quantity,""),o(3),b(`
- `,p(27,21,"labels.inputs.Total Value"),": ",r.clientCollateralData.total,""),o(3),b(`
- `,p(30,23,"labels.inputs.Total Collateral Value"),": ",r.clientCollateralData.totalCollateral,""),o(7),c(p(37,25,"labels.heading.Transaction Details")),o(3),C("dataSource",r.clientCollateralData.loanTransactionData),o(31),C("matHeaderRowDef",r.collateralColumns),o(2),C("matRowDefColumns",r.collateralColumns))},dependencies:[F,Y,O,j,N,Ct,xt,gt,ht,ft,_t,bt,vt,St,It,Et,L,Dt,yt],styles:[".client-collateral-card[_ngcontent-%COMP%]{margin:0 auto;max-width:80rem;width:90%;padding:0}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .group-details-container[_ngcontent-%COMP%]{border:1px solid;padding:1%}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.select-row[_ngcontent-%COMP%]:hover, .tab-container[_ngcontent-%COMP%] i[_ngcontent-%COMP%]:hover{cursor:pointer}"]})}}return e})();var q=(()=>{class e{constructor(n){this.collateralsService=n}resolve(n){let l=n.parent.paramMap.get("clientId"),r=n.parent.paramMap.get("collateralId");return this.collateralsService.getClientCollateral(l,r)}static{this.\u0275fac=function(l){return new(l||e)(E(g))}}static{this.\u0275prov=y({token:e,factory:e.\u0275fac})}}return e})();var Wt=()=>["../../"];function Xt(e,s){e&1&&(i(0,"mat-error"),t(1),m(2,"translate"),m(3,"translate"),i(4,"strong"),t(5),m(6,"translate"),a(),t(7,`
- `),a()),e&2&&(o(),b(`
- `,p(2,3,"labels.inputs.Quantity")," ",p(3,5,"labels.commons.is"),`
- `),o(4),c(p(6,7,"labels.commons.required")))}var Tt=(()=>{class e{constructor(n,l,r,x,v){this.formBuilder=n,this.route=l,this.router=r,this.settingsService=x,this.collateralService=v,this.route.data.subscribe(_=>{this.collateralDetails=_.clientCollateralData}),this.clientId=this.route.parent.snapshot.params.clientId}ngOnInit(){this.createClientCollateralForm()}createClientCollateralForm(){this.clientCollateralForm=this.formBuilder.group({quantity:["",tt.required],name:[{value:"",disabled:!0}],total:[{value:"",disabled:!0}],totalCollateral:[{value:"",disabled:!0}]}),this.clientCollateralForm.patchValue({name:this.collateralDetails.name,quantity:this.collateralDetails.quantity,total:this.collateralDetails.total,totalCollateral:this.collateralDetails.totalCollateral})}submit(){let n=this.collateralDetails.id,l=this.clientCollateralForm.value.quantity,r=this.settingsService.language.code,x={quantity:l,locale:r};this.collateralService.updateClientCollateral(this.clientId,n,x).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(f(rt),f(B),f(V),f(X),f(g))}}static{this.\u0275cmp=w({type:e,selectors:[["mifosx-edit-collateral"]],decls:67,vars:23,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["matInput","","required","","formControlName","name"],["matInput","","required","","formControlName","quantity"],[4,"ngIf"],["matInput","","required","","formControlName","total"],["matInput","","required","","formControlName","totalCollateral"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,r){l&1&&(i(0,"div",0),t(1,`
- `),i(2,"mat-card"),t(3,`
- `),i(4,"form",1),P("ngSubmit",function(){return r.submit()}),t(5,`
- `),i(6,"mat-card-content"),t(7,`
- `),i(8,"div",2),t(9,`
- `),i(10,"div",2),t(11,`
- `),i(12,"mat-form-field"),t(13,`
- `),i(14,"mat-label"),t(15),m(16,"translate"),a(),t(17,`
- `),u(18,"input",3),t(19,`
- `),a(),t(20,`
-
- `),i(21,"mat-form-field"),t(22,`
- `),i(23,"mat-label"),t(24),m(25,"translate"),a(),t(26,`
- `),u(27,"input",4),t(28,`
- `),d(29,Xt,8,9,"mat-error",5),t(30,`
- `),a(),t(31,`
-
- `),i(32,"mat-form-field"),t(33,`
- `),i(34,"mat-label"),t(35),m(36,"translate"),a(),t(37,`
- `),u(38,"input",6),t(39,`
- `),a(),t(40,`
-
- `),i(41,"mat-form-field"),t(42,`
- `),i(43,"mat-label"),t(44),m(45,"translate"),a(),t(46,`
- `),u(47,"input",7),t(48,`
- `),a(),t(49,`
- `),a(),t(50,`
- `),a(),t(51,`
- `),a(),t(52,`
-
- `),i(53,"mat-card-actions",8),t(54,`
- `),i(55,"button",9),t(56),m(57,"translate"),a(),t(58,`
- `),i(59,"button",10),t(60),m(61,"translate"),a(),t(62,`
- `),a(),t(63,`
- `),a(),t(64,`
- `),a(),t(65,`
-`),a(),t(66,`
-`)),l&2&&(o(4),C("formGroup",r.clientCollateralForm),o(11),c(p(16,10,"labels.inputs.name")),o(9),c(p(25,12,"labels.inputs.Quantity")),o(5),C("ngIf",r.clientCollateralForm.controls.quantity.hasError("required")),o(6),c(p(36,14,"labels.inputs.Total")),o(9),c(p(45,16,"labels.inputs.Total Collateral Value")),o(11),C("routerLink",T(22,Wt)),o(),h(`
- `,p(57,18,"labels.buttons.Cancel"),`
- `),o(3),C("disabled",!r.clientCollateralForm.valid),o(),h(`
- `,p(61,20,"labels.buttons.Submit"),`
- `))},dependencies:[Q,F,O,j,ut,N,st,mt,pt,ct,at,Z,et,it,ot,nt,lt,L],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var Yt=[{path:"",data:{title:"Collateral",breadcrumb:"Collateral",routeParamBreadcrumb:!1},children:[{path:":collateralId",data:{title:"Collateral View",routeParamBreadcrumb:"collateralId"},children:[{path:"",component:Pt,resolve:{clientCollateralData:q}},{path:"edit",data:{title:"edit",routeParamBreadcrumb:"edit"},component:Tt,resolve:{clientCollateralData:q}}]}]}],Bt=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({providers:[q],imports:[A.forChild(Yt),A]})}}return e})();var He=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=R({type:e})}static{this.\u0275inj=M({imports:[z,Bt,Rt,wt,Mt]})}}return e})();export{He as CollateralsModule};
diff --git a/browser/fixed-deposits.module-AT6JEFJW.js b/browser/fixed-deposits.module-AT6JEFJW.js
deleted file mode 100644
index 5402c9395..000000000
--- a/browser/fixed-deposits.module-AT6JEFJW.js
+++ /dev/null
@@ -1,2271 +0,0 @@
-import{a as Ln}from"./chunk-4JN6QS2P.js";import{a as ln,b as sn}from"./chunk-4PLAVRR6.js";import{a as Gn}from"./chunk-25J2IWAD.js";import{$ as o,$d as Mn,$e as En,Aa as ft,Ac as W,Ad as Ke,Af as qn,Ba as gt,Bc as q,Bd as Qe,Be as Je,C as Ht,Ca as w,Cd as de,Ce as Xe,D as $e,Da as t,De as Ze,Ea as u,Ee as tn,Ef as jt,F as zt,Fa as f,Fb as Fe,Fd as Ye,Fe as oe,Ga as S,Gb as Ee,Gc as tt,Gd as Tt,Ge as Lt,H as A,Ha as le,He as It,Hf as xe,I as He,Ib as pe,Ic as et,Ie as Ft,Jb as ce,Jc as R,Je as Et,K as Zt,Kb as we,Kc as K,Kf as jn,L as P,Lc as nt,Le as wt,Lf as en,M,Me as Bt,Mf as Ve,Oa as B,Oc as G,Oe as kt,Pa as Ge,Pb as k,Pe as Rt,Pf as zn,Qb as bn,Qc as it,R as Ue,Ra as r,Rc as Gt,Re as Nt,Sa as c,Sb as z,Sc as Pn,Se as Vt,Ta as I,Tb as L,Tc as at,Tf as $n,Ub as Sn,Ue as qt,Va as J,Vb as cn,Vf as Hn,Wa as vn,Wc as ot,We as De,X as hn,Zb as Pt,Zc as lt,_b as E,_d as $,aa as _,ab as ye,ac as Be,ad as rt,ae as Tn,af as wn,bb as _t,be as mt,bf as Bn,bg as nn,cb as F,cd as Le,cg as Un,db as Oe,dd as Q,de as bt,ed as st,ee as An,fa as m,ga as Ae,ge as yn,ha as d,hd as Ct,id as Y,jb as Ie,jd as Ot,kc as te,kd as pt,la as n,lc as ke,ld as ht,ma as i,mc as Ut,md as vt,na as g,nb as se,nc as ee,nd as Dt,oa as v,oc as ne,od as Mt,pa as D,pc as ie,pd as ve,qc as ae,qd as Re,qe as On,qf as kn,ra as y,sa as b,sb as me,ta as C,ub as Dn,ud as Ne,uf as At,vc as O,wa as dt,wf as Rn,xf as ue,ye as In,yf as Nn,za as xt,zd as We,ze as Fn,zf as Vn}from"./chunk-COWTJTPH.js";import{a as V,b as U}from"./chunk-O7S4L63H.js";var Mi=()=>({confirm:!0}),Wn=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-calculate-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
- `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
- `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
- `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,5,"labels.heading.Calculate Interest")),o(6),f("",c(8,7,"labels.text.Are you sure you want to calculate interest")," ?"),o(7),u(c(15,9,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(13,Mi)),o(),f(`
- `,c(19,11,"labels.buttons.Confirm"),`
- `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ti=()=>({confirm:!0}),Kn=(()=>{class e{constructor(a){this.dialogRef=a}static{this.\u0275fac=function(l){return new(l||e)(_(te))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-post-interest-dialog"]],decls:22,vars:14,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
- `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
- `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
- `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,5,"labels.heading.Post Interest")),o(6),f("",c(8,7,"labels.text.Are you sure you want to post interest")," ?"),o(7),u(c(15,9,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(13,Ti)),o(),f(`
- `,c(19,11,"labels.buttons.Confirm"),`
- `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ai=()=>({confirm:!0}),mn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-toggle-withhold-tax-dialog"]],decls:25,vars:24,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","",3,"color","mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),r(3,"translate"),i(),t(4,`
-`),n(5,"div",1),t(6,`
- `),n(7,"p"),t(8),r(9,"translate"),r(10,"translate"),r(11,"translate"),i(),t(12,`
-`),i(),t(13,`
-`),n(14,"mat-dialog-actions",2),t(15,`
- `),n(16,"button",3),t(17),r(18,"translate"),i(),t(19,`
- `),n(20,"button",4),t(21),r(22,"translate"),i(),t(23,`
-`),i(),t(24,`
-`)),l&2&&(o(),S(`
- `,c(2,9,p.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),`
- `,c(3,11,"labels.heading.Withhold Tax"),`
-`),o(7),le(`
- `,c(9,13,"labels.text.Are you sure you want to"),`
- `,c(10,15,p.data.isEnable?"labels.heading.Enable":"labels.heading.Disable"),`
- `,c(11,17,"labels.text.withhold tax for this account"),` ?
- `),o(9),u(c(18,19,"labels.buttons.Cancel")),o(3),dt("color",p.data.isEnable?"accent":"warn"),d("mat-dialog-close",B(23,Ai)),o(),f(`
- `,c(22,21,"labels.buttons.Confirm"),`
- `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var an=class{constructor(s){this.setOptions(s),this.setButtons(s)}get singleButtons(){return this.buttonsArray}get options(){return this.optionArray}setButtons(s){switch(s){case"Active":this.buttonsArray=[{name:"Premature Close",icon:"fa fa-arrow-left"},{name:"Calculate Interest",icon:"fa fa-table"},{name:"Undo Activation",icon:"fa fa-undo"}];break;case"Matured":this.buttonsArray=[{name:"Close",icon:"fa fa-arrow-right"},{name:"Calculate Interest",icon:"fa fa-table"}];break;case"Submitted and pending approval":this.buttonsArray=[{name:"Modify Application",icon:"fa fa-pencil "},{name:"Approve",icon:"fa fa-check"}];break;case"Approved":this.buttonsArray=[{name:"Undo Approval",icon:"fa fa-undo"},{name:"Activate",icon:"fa fa-check"}];break;default:this.buttonsArray=[]}}setOptions(s){switch(s){case"Active":case"Matured":this.optionArray=[{name:"Post Interest"},{name:"Add Charge"}];break;case"Submitted and pending approval":this.optionArray=[{name:"Reject"},{name:"Withdrawn by Client"},{name:"Add Charge"},{name:"Delete"}];break;case"Approved":default:this.optionArray=[]}}addOption(s){this.optionArray.push(s)}};var j=(()=>{class e{constructor(a){this.http=a}getFixedDepositsAccountData(a){let l=new me().set("associations","all");return this.http.get(`/fixeddepositaccounts/${a}`,{params:l})}deleteFixedDepositsAccount(a){return this.http.delete(`/fixeddepositaccounts/${a}`)}executeFixedDepositsAccountCommand(a,l,p){let x=new me().set("command",l);return this.http.post(`/fixeddepositaccounts/${a}`,p,{params:x})}getFixedDepositsAccountTransaction(a,l){return this.http.get(`/fixeddepositaccounts/${a}/transactions/${l}`)}executeFixedDepositsAccountTransactionsCommand(a,l,p,x){let h=new me().set("command",l);return this.http.post(`/fixeddepositaccounts/${a}/transactions/${x}`,p,{params:h})}getFixedDepositsAccountClosureTemplate(a){let l=new me().set("command","close");return this.http.get(`/fixeddepositaccounts/${a}/template`,{params:l})}getFixedDepositsAccountTransactionTemplate(a){return this.http.get(`/fixeddepositaccounts/${a}/transactions/template`)}getFixedDepositsAccountTemplate(a,l){let p=new me().set("clientId",a);return p=l?p.set("productId",l):p,this.http.get("/fixeddepositaccounts/template",{params:p})}getFixedDepositsAccountAndTemplate(a){let l=new me().set("associations","charges,+linkedAccount").set("template","true");return this.http.get(`/fixeddepositaccounts/${a}`,{params:l})}createFixedDepositAccount(a){return this.http.post("/fixeddepositaccounts",a)}updateFixedDepositAccount(a,l){return this.http.put(`/fixeddepositaccounts/${a}`,l)}getStandingInstructions(a,l,p,x,h){let T=new me().set("clientId",a).set("clientName",l).set("fromAccountId",p).set("fromAccountType","2").set("locale",x).set("dateFormat",h);return this.http.get("/standinginstructions",{params:T})}static{this.\u0275fac=function(l){return new(l||e)(zt(Dn))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac,providedIn:"root"})}}return e})();var Ii=()=>["./general"],Fi=()=>["./interest-rate-chart"],Ei=()=>["./charges"],wi=()=>["./transactions"],Bi=()=>["./standing-instructions"],ki=e=>["./datatables",e];function Ri(e,s){if(e&1&&(n(0,"span",33),t(1,`
- `),g(2,"mifosx-account-number",17),t(3,`
- `),i()),e&2){let a=C();o(2),dt("accountNo",a.fixedDepositsAccountData.clientAccountNo)}}function Ni(e,s){if(e&1&&(n(0,"div",34),t(1,`
- `),n(2,"h3",35),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"table",36),t(7,`
- `),n(8,"tbody"),t(9,`
- `),n(10,"tr"),t(11,`
- `),n(12,"td",37),t(13),r(14,"translate"),i(),t(15,`
- `),n(16,"td",38),t(17),r(18,"currency"),i(),t(19,`
- `),i(),t(20,`
- `),n(21,"tr"),t(22,`
- `),n(23,"td",37),t(24),r(25,"translate"),i(),t(26,`
- `),n(27,"td",38),t(28),r(29,"currency"),i(),t(30,`
- `),i(),t(31,`
- `),i(),t(32,`
- `),i(),t(33,`
- `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.heading.Account Overview")),o(10),u(c(14,7,"labels.inputs.Current Balance")),o(4),f(`
- `,J(18,9,a.fixedDepositsAccountData.summary.accountBalance,a.currency.code,"symbol-narrow","1.2-2"),`
- `),o(7),u(c(25,14,"labels.inputs.Deposit Amount")),o(4),f(`
- `,J(29,16,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
- `)}}function Vi(e,s){if(e&1){let a=y();v(0),t(1,`
- `),n(2,"button",39),b("click",function(){let p=P(a).$implicit,x=C();return M(x.doAction(p.name))}),t(3,`
- `),g(4,"i",40),t(5),r(6,"translateKey"),i(),t(7,`
- `),D()}if(e&2){let a=s.$implicit;o(4),dt("ngClass",a.icon),o(),f(" ",I(6,2,a.name,"menus"),`
- `)}}function qi(e,s){if(e&1){let a=y();n(0,"span"),t(1,`
- `),n(2,"button",39),b("click",function(){let p=P(a).$implicit,x=C(2);return M(x.doAction(p.name))}),t(3),r(4,"translateKey"),i(),t(5,`
- `),i()}if(e&2){let a=s.$implicit;o(3),u(I(4,1,a.name,"menus"))}}function ji(e,s){if(e&1&&(v(0),t(1,`
- `),n(2,"button",41),t(3),r(4,"translateKey"),i(),t(5,`
- `),n(6,"mat-menu",null,5),t(8,`
- `),m(9,qi,6,4,"span",27),t(10,`
- `),i(),t(11,`
- `),D()),e&2){let a=w(7),l=C();o(2),d("matMenuTriggerFor",a),o(),u(I(4,3,"More","menus")),o(6),d("ngForOf",l.buttonConfig.options)}}function zi(e,s){if(e&1&&(n(0,"span"),t(1,`
- `),n(2,"a",31,6),t(4),r(5,"translate"),i(),t(6,`
- `),i()),e&2){let a=w(3);o(2),d("routerLink",B(5,wi))("active",a.isActive),o(2),f(`
- `,c(5,3,"labels.inputs.Transactions"),`
- `)}}function $i(e,s){if(e&1&&(n(0,"a",31,7),t(2),r(3,"translate"),i()),e&2){let a=w(1);d("routerLink",B(5,Bi))("active",a.isActive),o(2),f(`
- `,c(3,3,"labels.inputs.Standing Instructions"),`
- `)}}function Hi(e,s){if(e&1&&(n(0,"a",31,8),t(2),i()),e&2){let a=w(1),l=C().$implicit;d("routerLink",Ge(3,ki,l.registeredTableName))("active",a.isActive),o(2),f(`
- `,l.registeredTableName,`
- `)}}function Ui(e,s){if(e&1&&(v(0),t(1,`
- `),m(2,Hi,3,5,"a",42),t(3,`
- `),D()),e&2){let a=s.$implicit;o(2),d("mifosxHasPermission","READ_"+a.registeredTableName)}}var Qn=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.fixedDepositsService=p,this.savingsService=x,this.dialog=h,this.showTransactions=!1,this.route.data.subscribe(T=>{this.fixedDepositsAccountData=T.fixedDepositsAccountData,this.savingsDatatables=T.savingsDatatables,this.currency=this.fixedDepositsAccountData.currency;let Z=T.fixedDepositsAccountData.status;this.showTransactions=Z.id>=300}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}ngOnInit(){this.setConditionalButtons()}setConditionalButtons(){let a=this.fixedDepositsAccountData.status.value;this.buttonConfig=new an(a),this.fixedDepositsAccountData.taxGroup&&a==="Active"&&(this.fixedDepositsAccountData.withHoldTax?this.buttonConfig.addOption({name:"Disable Withhold Tax"}):this.buttonConfig.addOption({name:"Enable Withhold Tax"}))}reload(){let a=this.fixedDepositsAccountData.clientId,l=this.router.url;this.router.navigateByUrl(`/clients/${a}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([l]))}doAction(a){switch(a){case"Approve":case"Reject":case"Activate":case"Close":case"Undo Approval":case"Undo Activation":case"Add Charge":case"Withdrawn by Client":case"Premature Close":this.router.navigate([`actions/${a}`],{relativeTo:this.route});break;case"Modify Application":this.router.navigate(["edit"],{relativeTo:this.route});break;case"Delete":this.deleteFixedDepositsAccount();break;case"Calculate Interest":this.calculateInterest();break;case"Post Interest":this.postInterest();break;case"Enable Withhold Tax":this.enableWithHoldTax();break;case"Disable Withhold Tax":this.disableWithHoldTax();break}}deleteFixedDepositsAccount(){this.dialog.open(Re,{data:{deleteContext:`fixed deposit account with id: ${this.fixedDepositsAccountData.id}`}}).afterClosed().subscribe(l=>{l.delete&&this.fixedDepositsService.deleteFixedDepositsAccount(this.fixedDepositsAccountData.id).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})})}calculateInterest(){this.dialog.open(Wn).afterClosed().subscribe(l=>{l.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"calculateInterest",{}).subscribe(()=>{this.reload()})})}postInterest(){this.dialog.open(Kn).afterClosed().subscribe(l=>{l.confirm&&this.fixedDepositsService.executeFixedDepositsAccountCommand(this.fixedDepositsAccountData.id,"postInterest",{}).subscribe(()=>{this.reload()})})}enableWithHoldTax(){this.dialog.open(mn,{data:{isEnable:!0}}).afterClosed().subscribe(l=>{l.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!0}).subscribe(()=>{this.reload()})})}disableWithHoldTax(){this.dialog.open(mn,{data:{isEnable:!1}}).afterClosed().subscribe(l=>{l.confirm&&this.savingsService.executeSavingsAccountUpdateCommand(this.fixedDepositsAccountData.id,"updateWithHoldTax",{withHoldTax:!1}).subscribe(()=>{this.reload()})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(j),_(jt),_(Ut))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-view"]],decls:101,vars:44,consts:[["accountMenu","matMenu"],["general","routerLinkActive"],["IRC","routerLinkActive"],["charges","routerLinkActive"],["tabPanel",""],["More","matMenu"],["transactions","routerLinkActive"],["standingInstructions","routerLinkActive"],["datatable","routerLinkActive"],[1,"account-card"],[1,"header","layout-column"],[1,"header-title-group"],[1,"profile-image-container"],["mat-card-md-image","",1,"profile-image",3,"matTooltip","src"],[1,"mat-typography","account-card-title"],[1,"flex-60"],[1,"fa","fa-stop",3,"ngClass","matTooltip"],[3,"accountNo"],[1,"account-overview"],[1,"m-r-10"],["class","m-l-10",4,"ngIf"],["class","layout-column flex-30",4,"ngIf"],[1,"flex-auto"],[1,"flex-5"],["mat-icon-button","","aria-label","Fixed Deposit account actions","yPosition","below",3,"matMenuTriggerFor"],["matListIcon","",1,"actions-menu"],["icon","bars","size","sm"],[4,"ngFor","ngForOf"],[4,"ngIf"],[1,"content"],["mat-tab-nav-bar","",1,"navigation-tabs",3,"tabPanel"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"ngIf"],[1,"m-l-10"],[1,"layout-column","flex-30"],[1,"flex-100"],[1,"account-overview","flex-100"],[1,"flex-70"],[1,"r-amount","flex-30"],["mat-menu-item","",3,"click"],[3,"ngClass"],["mat-menu-item","",3,"matMenuTriggerFor"],["mat-tab-link","","routerLinkActive","",3,"routerLink","active",4,"mifosxHasPermission"]],template:function(l,p){if(l&1&&(n(0,"mat-card",9),t(1,`
- `),n(2,"mat-card-header",10),t(3,`
- `),n(4,"mat-card-title-group",11),t(5,`
- `),n(6,"div",12),t(7,`
- `),n(8,"div"),t(9,`
- `),g(10,"img",13),r(11,"translate"),t(12,`
- `),i(),t(13,`
- `),i(),t(14,`
-
- `),n(15,"div",14),t(16,`
- `),n(17,"mat-card-title"),t(18,`
- `),n(19,"div",15),t(20,`
- `),n(21,"h3"),t(22,`
- `),g(23,"i",16),r(24,"statusLookup"),t(25),r(26,"translate"),g(27,"mifosx-account-number",17),t(28,`
- `),i(),t(29,`
- `),n(30,"span",18),t(31,`
- `),n(32,"span",19),t(33),r(34,"translate"),i(),t(35),m(36,Ri,4,1,"span",20),t(37,`
- `),i(),t(38,`
- `),i(),t(39,`
-
- `),m(40,Ni,34,21,"div",21),t(41,`
-
- `),g(42,"span",22),t(43,`
- `),n(44,"div",23),t(45,`
- `),n(46,"button",24),t(47,`
- `),n(48,"mat-icon",25),t(49,`
- `),g(50,"fa-icon",26),t(51,`
- `),i(),t(52,`
- `),i(),t(53,`
- `),i(),t(54,`
- `),i(),t(55,`
- `),i(),t(56,`
-
- `),n(57,"mat-menu",null,0),t(59,`
- `),m(60,Vi,8,5,"ng-container",27),t(61,`
-
- `),m(62,ji,12,6,"ng-container",28),t(63,`
- `),i(),t(64,`
- `),i(),t(65,`
- `),i(),t(66,`
-
- `),n(67,"mat-card-content",29),t(68,`
- `),n(69,"nav",30),t(70,`
- `),n(71,"a",31,1),t(73),r(74,"translate"),i(),t(75,`
- `),n(76,"a",31,2),t(78),r(79,"translate"),i(),t(80,`
- `),m(81,zi,7,6,"span",28),t(82,`
- `),n(83,"a",31,3),t(85),r(86,"translate"),i(),t(87,`
- `),m(88,$i,4,6,"a",32),t(89,`
- `),m(90,Ui,4,1,"ng-container",27),t(91,`
- `),i(),t(92,`
-
- `),n(93,"mat-tab-nav-panel",null,4),t(95,`
- `),g(96,"router-outlet"),t(97,`
- `),i(),t(98,`
- `),i(),t(99,`
-`),i(),t(100,`
-`)),l&2){let x=w(58),h=w(72),T=w(77),Z=w(84),Yt=w(94);o(10),dt("matTooltip",c(11,27,"tooltips.Fixed Deposits Account")),d("src","assets/images/fd_account_placeholder.png",hn),o(13),d("ngClass",c(24,29,p.fixedDepositsAccountData.status.code))("matTooltip",p.fixedDepositsAccountData.status.value),o(2),S(`
- `,c(26,31,"labels.inputs.Fixed Deposit Product"),` :
- `,p.fixedDepositsAccountData.depositProductName,`
- `),o(2),dt("accountNo",p.fixedDepositsAccountData.accountNo),o(6),f("",c(34,33,"labels.text."+p.entityType)," :"),o(2),f(`
- `,p.fixedDepositsAccountData.clientName||p.fixedDepositsAccountData.groupName,`
- `),o(),d("ngIf",p.fixedDepositsAccountData.clientAccountNo),o(4),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval),o(6),d("matMenuTriggerFor",x),o(14),d("ngForOf",p.buttonConfig.singleButtons),o(2),d("ngIf",p.buttonConfig.options.length),o(7),d("tabPanel",Yt),o(2),d("routerLink",B(41,Ii))("active",h.isActive),o(2),f(`
- `,c(74,35,"labels.inputs.General"),`
- `),o(3),d("routerLink",B(42,Fi))("active",T.isActive),o(2),f(`
- `,c(79,37,"labels.inputs.Interest Rate Chart"),`
- `),o(3),d("ngIf",p.showTransactions),o(2),d("routerLink",B(43,Ei))("active",Z.isActive),o(2),f(`
- `,c(86,39,"labels.inputs.Charges"),`
- `),o(3),d("ngIf",p.fixedDepositsAccountData.clientId),o(2),d("ngForOf",p.savingsDatatables)}},dependencies:[ye,_t,F,tt,Be,$,mt,An,yn,Mn,Tn,Ye,Ke,We,Qe,En,Bn,wn,de,$n,xe,bn,L,Sn,se,O,Nn,Tt]})}}return e})();function Gi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function Li(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),le(`
- `,a.fromPeriod," - ",a.toPeriod,"\xA0",I(2,3,a.periodType.value,"catalogs"),`
- `)}}function Wi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function Ki(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),r(3,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,c(2,2,a.amountRangeFrom)," - ",c(3,4,a.amountRangeTo),`
- `)}}function Qi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function Yi(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f("",c(2,1,a.annualInterestRate)," %")}}function Ji(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function Xi(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function Zi(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function ta(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",21),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.View Incentives"),`
- `))}function ea(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",22),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.Hide Incentives"),`
- `))}function na(e,s){if(e&1){let a=y();n(0,"td",18),t(1,`
- `),n(2,"button",19),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
- `),m(4,ta,5,3,"span",20),t(5,`
- `),m(6,ea,5,3,"span",20),t(7,`
- `),i(),t(8,`
- `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function ia(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function aa(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.entityType.value,`
- `)}}function oa(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function ra(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.attributeName.value,`
- `)}}function pa(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function ca(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
- `,c(2,1,a.conditionType.value),`
- `)}}function la(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function sa(e,s){if(e&1&&(n(0,"td",35),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
- `,a.attributeValueDesc,`
- `)}}function ma(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function da(e,s){if(e&1&&(n(0,"td",18),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.incentiveType.value,`
- `)}}function ua(e,s){e&1&&(n(0,"th",17),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function xa(e,s){if(e&1&&(n(0,"td",18),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f(`
- `,c(2,1,a.amount),`
- `)}}function fa(e,s){e&1&&g(0,"tr",36)}function ga(e,s){e&1&&g(0,"tr",37)}function _a(e,s){if(e&1&&(n(0,"table",27),t(1,`
- `),v(2,28),t(3,`
- `),m(4,ia,3,3,"th",7),t(5,`
- `),m(6,aa,2,1,"td",8),t(7,`
- `),D(),t(8,`
-
- `),v(9,29),t(10,`
- `),m(11,oa,3,3,"th",7),t(12,`
- `),m(13,ra,2,1,"td",8),t(14,`
- `),D(),t(15,`
-
- `),v(16,30),t(17,`
- `),m(18,pa,3,3,"th",7),t(19,`
- `),m(20,ca,3,3,"td",8),t(21,`
- `),D(),t(22,`
-
- `),v(23,31),t(24,`
- `),m(25,la,3,3,"th",7),t(26,`
- `),m(27,sa,2,2,"td",32),t(28,`
- `),D(),t(29,`
-
- `),v(30,33),t(31,`
- `),m(32,ma,3,3,"th",7),t(33,`
- `),m(34,da,2,1,"td",8),t(35,`
- `),D(),t(36,`
-
- `),v(37,34),t(38,`
- `),m(39,ua,3,3,"th",7),t(40,`
- `),m(41,xa,3,3,"td",8),t(42,`
- `),D(),t(43,`
-
- `),m(44,fa,1,0,"tr",14),t(45,`
- `),m(46,ga,1,0,"tr",15),t(47,`
- `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function Ca(e,s){if(e&1&&(n(0,"td",18),t(1,`
- `),n(2,"div",23),t(3,`
- `),n(4,"mat-card",24),t(5,`
- `),n(6,"h4",25),t(7),r(8,"translate"),i(),t(9,`
-
- `),m(10,_a,48,3,"table",26),t(11,`
- `),i(),t(12,`
- `),i(),t(13,`
- `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
- `,c(8,4,"labels.heading.Incentives"),`
- `),o(3),d("ngIf",a.incentives==null?null:a.incentives.length)}}function ha(e,s){e&1&&g(0,"tr",36)}function va(e,s){e&1&&g(0,"tr",37)}function Da(e,s){e&1&&g(0,"tr",38)}var Yn=(()=>{class e{constructor(a){this.route=a,this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.route.parent.data.subscribe(l=>{this.interestRateChartData=l.fixedDepositsAccountData.accountChart.chartSlabs})}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-interest-rate-chart-tab"]],decls:66,vars:7,consts:[["chartsTable",""],[1,"tab-container","mat-typography"],[1,"align-start-center"],[1,"m-b-20"],[1,"mat-elevation-z1","m-b-25"],["mat-table","","multiTemplateDataRows","",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-fill","incentives"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"div",3),t(5,`
- `),n(6,"h3"),t(7),r(8,"translate"),i(),t(9,`
- `),i(),t(10,`
- `),i(),t(11,`
-
- `),n(12,"div",4),t(13,`
- `),n(14,"table",5,0),t(16,`
- `),v(17,6),t(18,`
- `),m(19,Gi,3,3,"th",7),t(20,`
- `),m(21,Li,3,6,"td",8),t(22,`
- `),D(),t(23,`
-
- `),v(24,9),t(25,`
- `),m(26,Wi,3,3,"th",7),t(27,`
- `),m(28,Ki,4,6,"td",8),t(29,`
- `),D(),t(30,`
-
- `),v(31,10),t(32,`
- `),m(33,Qi,3,3,"th",7),t(34,`
- `),m(35,Yi,3,3,"td",8),t(36,`
- `),D(),t(37,`
-
- `),v(38,11),t(39,`
- `),m(40,Ji,3,3,"th",7),t(41,`
- `),m(42,Xi,2,1,"td",8),t(43,`
- `),D(),t(44,`
-
- `),v(45,12),t(46,`
- `),m(47,Zi,3,3,"th",7),t(48,`
- `),m(49,na,9,2,"td",8),t(50,`
- `),D(),t(51,`
-
- `),v(52,13),t(53,`
- `),m(54,Ca,14,6,"td",8),t(55,`
- `),D(),t(56,`
-
- `),m(57,ha,1,0,"tr",14),t(58,`
- `),m(59,va,1,0,"tr",15),t(60,`
- `),m(61,Da,1,0,"tr",16),t(62,`
- `),i(),t(63,`
- `),i(),t(64,`
-`),i(),t(65,`
-`)),l&2&&(o(7),u(c(8,5,"labels.heading.All Interest Rates")),o(7),d("dataSource",p.interestRateChartData),o(43),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns))},dependencies:[F,Oe,tt,E,$,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,Ie,O,ue,Tt],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();var Sa=e=>["/","journal-entry","view",e];function Pa(e,s){if(e&1){let a=y();n(0,"div",21),t(1,`
- `),n(2,"mat-checkbox",22),b("click",function(){P(a);let p=C();return M(p.hideReversed())}),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-checkbox",22),b("click",function(){P(a);let p=C();return M(p.hideAccruals())}),t(7),r(8,"translate"),i(),t(9,`
- `),i()}if(e&2){let a=C();o(2),d("formControl",a.hideReversedParam),o(),f(`
- `,c(4,4,"labels.inputs.Hide Reversed"),""),o(3),d("formControl",a.hideAccrualsParam),o(),f(`
- `,c(8,6,"labels.inputs.Hide Accruals"),"")}}function Ma(e,s){e&1&&(n(0,"th",23),t(1,"#"),i())}function Ta(e,s){if(e&1){let a=y();n(0,"td",24),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),i()}if(e&2){let a=s.index;o(),f(`
- `,a+1,`
- `)}}function Aa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.ID")))}function ya(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,a.id,`
- `)}}function Oa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Transaction Date")))}function Ia(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"dateFormat"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,c(2,2,a.date),`
- `)}}function Fa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Transaction Type")))}function Ea(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"translateKey"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,I(2,2,a.transactionType.value,"catalogs"),`
- `)}}function wa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Debit")))}function Ba(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,l.isDebit(a.transactionType)?c(2,2,a.amount):"N/A",`
- `)}}function ka(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Credit")))}function Ra(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,l.isDebit(a.transactionType)?"N/A":c(2,2,a.amount),`
- `)}}function Na(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Balance")))}function Va(e,s){if(e&1){let a=y();n(0,"td",25),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(1),r(2,"formatNumber"),i()}if(e&2){let a=s.$implicit,l=C();d("ngClass",l.savingsTransactionColor(a)),o(),f(`
- `,c(2,2,a.runningBalance),`
- `)}}function qa(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function ja(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
- `),n(2,"button",27),t(3,`
- `),n(4,"mat-icon"),t(5,"more_vert"),i(),t(6,`
- `),i(),t(7,`
- `),n(8,"mat-menu",null,0),t(10,`
- `),n(11,"button",28),b("click",function(){let p=P(a).$implicit,x=C();return M(x.showTransactions(p))}),t(12,`
- `),n(13,"mat-icon"),g(14,"fa-icon",29),i(),t(15,`
- `),n(16,"span"),t(17),r(18,"translate"),i(),t(19,`
- `),i(),t(20,`
- `),n(21,"button",30),b("click",function(p){P(a);let x=C();return M(x.routeEdit(p))}),t(22,`
- `),n(23,"mat-icon"),g(24,"fa-icon",31),i(),t(25,`
- `),n(26,"span"),t(27),r(28,"translate"),i(),t(29,`
- `),i(),t(30,`
- `),i(),t(31,`
- `),i()}if(e&2){let a=s.$implicit,l=w(9);o(2),d("matMenuTriggerFor",l),o(15),u(c(18,4,"labels.text.View Transaction")),o(4),d("routerLink",Ge(8,Sa,"S"+a.id)),o(6),u(c(28,6,"tooltips.View Journal Entries"))}}function za(e,s){e&1&&g(0,"tr",32)}function $a(e,s){e&1&&g(0,"tr",33)}var Jn=(()=>{class e{constructor(a,l,p){this.route=a,this.router=l,this.dialog=p,this.displayedColumns=["row","id","transactionDate","transactionType","debit","credit","balance","actions"],this.route.parent.data.subscribe(x=>{this.transactionsData=x.fixedDepositsAccountData.transactions,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.status=x.fixedDepositsAccountData.status.value})}ngOnInit(){this.hideAccrualsParam=new G(!1),this.hideReversedParam=new G(!1),this.dataSource=new De(this.transactionsData)}checkStatus(){return this.status==="Active"||this.status==="Closed"||this.status==="Transfer in progress"||this.status==="Transfer on hold"||this.status==="Premature Closed"||this.status==="Matured"}isDebit(a){return a.withdrawal===!0||a.feeDeduction===!0||a.overdraftInterest===!0||a.withholdTax===!0}showTransactions(a){a.transfer?this.router.navigate([`account-transfers/account-transfers/${a.transfer.id}`],{relativeTo:this.route}):this.router.navigate([a.id],{relativeTo:this.route})}hideAccruals(){this.filterTransactions(this.hideReversedParam.value,!this.hideAccrualsParam.value)}hideReversed(){this.filterTransactions(!this.hideReversedParam.value,this.hideAccrualsParam.value)}filterTransactions(a,l){let p=this.transactionsData;(l||a)&&(p=this.transactionsData.filter(x=>!(a&&x.reversed)&&!(l&&x.transactionType.accrual))),this.dataSource=new De(p),this.dataSource.paginator=this.paginator,this.dataSource.sort=this.sort}savingsTransactionColor(a){return a.reversed?"strike":a.transfer?"transfer":a.transactionType.accrual?"accrual":""}routeEdit(a){a.stopPropagation()}undoTransaction(a){}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(Ut))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-transactions-tab"]],viewQuery:function(l,p){if(l&1&&(xt(On,7),xt(Fn,7)),l&2){let x;ft(x=gt())&&(p.paginator=x.first),ft(x=gt())&&(p.sort=x.first)}},decls:81,vars:7,consts:[["transactionMenu","matMenu"],[1,"tab-container","mat-typography"],[1,"mat-elevation-z1","m-b-25"],[1,"layout-row","align-start"],[1,"m-b-20"],["class","action-button m-b-20 layout-row gap-20px",4,"ngIf"],["mat-table","",3,"dataSource"],["matColumnDef","row"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",3,"click",4,"matCellDef"],["matColumnDef","id"],["mat-cell","",3,"ngClass","click",4,"matCellDef"],["matColumnDef","transactionDate"],["matColumnDef","transactionType"],["matColumnDef","debit"],["matColumnDef","credit"],["matColumnDef","balance"],["matColumnDef","actions"],["mat-cell","","class","center",4,"matCellDef"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","","class","select-row",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20","layout-row","gap-20px"],[1,"accruals",3,"click","formControl"],["mat-header-cell",""],["mat-cell","",3,"click"],["mat-cell","",3,"click","ngClass"],["mat-cell","",1,"center"],["mat-icon-button","","aria-label","",1,"action-button",3,"matMenuTriggerFor"],["mat-menu-item","",3,"click"],["icon","eye","size","sm"],["mat-menu-item","",3,"click","routerLink"],["icon","table-cells","size","sm"],["mat-header-row",""],["mat-row","",1,"select-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"div",3),t(5,`
- `),n(6,"div",4),t(7,`
- `),n(8,"h3"),t(9),r(10,"translate"),i(),t(11,`
- `),i(),t(12,`
- `),m(13,Pa,10,8,"div",5),t(14,`
- `),i(),t(15,`
-
- `),n(16,"table",6),t(17,`
- `),v(18,7),t(19,`
- `),m(20,Ma,2,0,"th",8),t(21,`
- `),m(22,Ta,2,1,"td",9),t(23,`
- `),D(),t(24,`
-
- `),v(25,10),t(26,`
- `),m(27,Aa,3,3,"th",8),t(28,`
- `),m(29,ya,2,2,"td",11),t(30,`
- `),D(),t(31,`
-
- `),v(32,12),t(33,`
- `),m(34,Oa,3,3,"th",8),t(35,`
- `),m(36,Ia,3,4,"td",11),t(37,`
- `),D(),t(38,`
-
- `),v(39,13),t(40,`
- `),m(41,Fa,3,3,"th",8),t(42,`
- `),m(43,Ea,3,5,"td",11),t(44,`
- `),D(),t(45,`
-
- `),v(46,14),t(47,`
- `),m(48,wa,3,3,"th",8),t(49,`
- `),m(50,Ba,3,4,"td",11),t(51,`
- `),D(),t(52,`
-
- `),v(53,15),t(54,`
- `),m(55,ka,3,3,"th",8),t(56,`
- `),m(57,Ra,3,4,"td",11),t(58,`
- `),D(),t(59,`
-
- `),v(60,16),t(61,`
- `),m(62,Na,3,3,"th",8),t(63,`
- `),m(64,Va,3,4,"td",11),t(65,`
- `),D(),t(66,`
-
- `),v(67,17),t(68,`
- `),m(69,qa,3,3,"th",8),t(70,`
- `),m(71,ja,32,10,"td",18),t(72,`
- `),D(),t(73,`
-
- `),m(74,za,1,0,"tr",19),t(75,`
- `),m(76,$a,1,0,"tr",20),t(77,`
- `),i(),t(78,`
- `),i(),t(79,`
-`),i(),t(80,`
-`)),l&2&&(o(9),u(c(10,5,"labels.heading.All Transactions")),o(4),d("ngIf",p.checkStatus()),o(3),d("dataSource",p.dataSource),o(58),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[ye,F,tt,Be,Le,Ye,Ke,We,Qe,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,K,Pn,L,O,At,ue,Tt],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%;color:#000}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 0 3px;margin:0 2%;line-height:25px}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .linked[_ngcontent-%COMP%]{color:#4461e2}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .accrual[_ngcontent-%COMP%]{color:#999}.select-row[_ngcontent-%COMP%]:hover{cursor:pointer;font-weight:800}"]})}}return e})();var Ha=()=>({confirm:!0}),Xn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-waive-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
- `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
- `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
- `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,6,"labels.heading.Waive Charge")),o(6),S("",c(8,8,"labels.text.Are you sure you want to waive charge with id"),": ",p.data.id," ?"),o(7),u(c(15,10,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(14,Ha)),o(),f(`
- `,c(19,12,"labels.buttons.Confirm"),`
- `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ua=()=>({confirm:!0}),Zn=(()=>{class e{constructor(a,l){this.dialogRef=a,this.data=l}static{this.\u0275fac=function(l){return new(l||e)(_(te),_(ke))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-inactivate-charge-dialog"]],decls:22,vars:15,consts:[["mat-dialog-title",""],["mat-dialog-content",""],["align","end"],["mat-raised-button","","mat-dialog-close",""],["mat-raised-button","","color","primary",3,"mat-dialog-close"]],template:function(l,p){l&1&&(n(0,"h1",0),t(1),r(2,"translate"),i(),t(3,`
-`),n(4,"div",1),t(5,`
- `),n(6,"p"),t(7),r(8,"translate"),i(),t(9,`
-`),i(),t(10,`
-`),n(11,"mat-dialog-actions",2),t(12,`
- `),n(13,"button",3),t(14),r(15,"translate"),i(),t(16,`
- `),n(17,"button",4),t(18),r(19,"translate"),i(),t(20,`
-`),i(),t(21,`
-`)),l&2&&(o(),u(c(2,6,"labels.heading.Inactivate Charge")),o(6),S("",c(8,8,"labels.text.Are you sure you want to inactivate charge with id"),": ",p.data.id," ?"),o(7),u(c(15,10,"labels.buttons.Cancel")),o(3),d("mat-dialog-close",B(14,Ua)),o(),f(`
- `,c(19,12,"labels.buttons.Confirm"),`
- `))},dependencies:[E,ee,ne,ae,ie,O]})}}return e})();var Ga=["chargesTable"],La=()=>[2e3];function Wa(e,s){if(e&1){let a=y();n(0,"div",22),t(1,`
- `),n(2,"button",23),b("click",function(){P(a);let p=C();return M(p.toggleCharges())}),t(3),i(),t(4,`
- `),i()}if(e&2){let a=C();o(3),f(`
- `,a.showInactiveCharges?"View Active Charges":"View Inactive Charges",`
- `)}}function Ka(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function Qa(e,s){if(e&1&&(n(0,"td",25),t(1),i()),e&2){let a=s.$implicit;o(),u(a.name)}}function Ya(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Fee/Penalty")))}function Ja(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),r(3,"translateKey"),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.penalty===!0?I(2,1,"Penalty","catalogs"):I(3,4,"Fee","catalogs"),`
- `)}}function Xa(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Payment Due At")))}function Za(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),u(I(2,1,a.chargeTimeType.value,"catalogs"))}}function to(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Due As Of")))}function eo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"dateFormat"),i()),e&2){let a=s.$implicit;o(),u(c(2,1,a.dueDate))}}function no(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repeats On")))}function io(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"dateFormat"),r(3,"translateKey"),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.feeOnMonthDay?I(2,1,B(7,La).concat(a.feeOnMonthDay),"dd MMMM"):I(3,4,"Unassigned","inputs"),`
- `)}}function ao(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Calculation Type")))}function oo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),u(I(2,1,a.chargeCalculationType.value,"catalogs"))}}function ro(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Due")))}function po(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.currency.displaySymbol,"\xA0",c(2,2,a.amount),`
- `)}}function co(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Paid")))}function lo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountPaid),`
- `)}}function so(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Waived")))}function mo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountWaived),`
- `)}}function uo(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Outstanding")))}function xo(e,s){if(e&1&&(n(0,"td",25),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.currency.displaySymbol,"\xA0",c(2,2,a.amountOutstanding),`
- `)}}function fo(e,s){e&1&&(n(0,"th",24),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function go(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.editCharge(x))}),t(2,`
- `),g(3,"i",30),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Edit Charge"))}function _o(e,s){if(e&1){let a=y();n(0,"button",31),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.deleteCharge(x.id))}),t(2,`
- `),g(3,"i",32),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Delete Charge"))}function Co(e,s){e&1&&(n(0,"span"),t(1,`
- `),m(2,go,5,3,"button",27),t(3,`
- `),m(4,_o,5,3,"button",28),t(5,`
- `),i()),e&2&&(o(2),d("mifosxHasPermission","UPDATE_SAVINGSACCOUNTCHARGE"),o(2),d("mifosxHasPermission","DELETE_SAVINGSACCOUNTCHARGE"))}function ho(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.payCharge(x.id))}),t(2,`
- `),g(3,"i",33),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Pay Charge"))}function vo(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(2).$implicit,h=C();return h.routeEdit(p),M(h.waiveCharge(x.id))}),t(2,`
- `),g(3,"i",34),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Waive Charge"))}function Do(e,s){if(e&1){let a=y();n(0,"button",29),r(1,"translate"),b("click",function(p){P(a);let x=C(3).$implicit,h=C();return h.routeEdit(p),M(h.inactivateCharge(x.id))}),t(2,`
- `),g(3,"i",35),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Inactivate Charge"))}function bo(e,s){e&1&&(v(0),t(1,`
- `),m(2,Do,5,3,"button",27),t(3,`
- `),D()),e&2&&(o(2),d("mifosxHasPermission","INACTIVATE_SAVINGSACCOUNTCHARGE"))}function So(e,s){if(e&1&&(n(0,"span"),t(1,`
- `),m(2,ho,5,3,"button",27),t(3,`
- `),m(4,vo,5,3,"button",27),t(5,`
- `),m(6,bo,4,1,"ng-container",26),t(7,`
- `),i()),e&2){let a=C().$implicit,l=C();o(2),d("mifosxHasPermission","PAY_SAVINGSACCOUNTCHARGE"),o(2),d("mifosxHasPermission","WAIVE_SAVINGSACCOUNTCHARGE"),o(2),d("ngIf",l.isRecurringCharge(a))}}function Po(e,s){if(e&1&&(n(0,"td",25),t(1,`
- `),m(2,Co,6,2,"span",26),t(3,`
- `),m(4,So,8,3,"span",26),t(5,`
- `),i()),e&2){let a=s.$implicit,l=C();o(2),d("ngIf",l.fixedDepositsAccountData.status.value==="Submitted and pending approval"),o(2),d("ngIf",l.fixedDepositsAccountData.status.value==="Active"&&a.amountOutstanding!==0)}}function Mo(e,s){e&1&&g(0,"tr",36)}function To(e,s){e&1&&g(0,"tr",37)}var ti=(()=>{class e{constructor(a,l,p,x,h,T){this.savingsService=a,this.route=l,this.dateUtils=p,this.router=x,this.dialog=h,this.settingsService=T,this.showInactiveCharges=!1,this.displayedColumns=["name","feeOrPenalty","paymentDueAt","dueAsOf","repeatsOn","calculationType","due","paid","waived","outstanding","actions"],this.route.parent.data.subscribe(Z=>{this.fixedDepositsAccountData=Z.fixedDepositsAccountData,this.chargesData=this.fixedDepositsAccountData.charges})}ngOnInit(){let a=this.chargesData?this.chargesData.filter(l=>l.isActive):[];this.dataSource=new De(a)}toggleCharges(){if(this.showInactiveCharges=!this.showInactiveCharges,this.showInactiveCharges){let a=this.chargesData.filter(l=>!l.isActive);this.dataSource.data=a}else{let a=this.chargesData.filter(l=>l.isActive);this.dataSource.data=a}this.chargesTableRef.renderRows()}payCharge(a){let l=[new Ve({controlName:"amount",label:"Amount",value:"",type:"number",required:!0}),new en({controlName:"dueDate",label:"Payment Date",value:"",type:"date",required:!0})],p={title:`Pay Charge ${a}`,layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=this.settingsService.language.code,Z=this.settingsService.dateFormat,Yt=U(V({},h.data.value),{dueDate:this.dateUtils.formatDate(h.data.value.dueDate,Z),dateFormat:Z,locale:T});this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"paycharge",Yt,a).subscribe(()=>{this.reload()})}})}waiveCharge(a){this.dialog.open(Xn,{data:{id:a}}).afterClosed().subscribe(p=>{p.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"waive",{},a).subscribe(()=>{this.reload()})})}inactivateCharge(a){this.dialog.open(Zn,{data:{id:a}}).afterClosed().subscribe(p=>{p.confirm&&this.savingsService.executeSavingsAccountChargesCommand(this.fixedDepositsAccountData.id,"inactivate",{},a).subscribe(()=>{this.reload()})})}editCharge(a){let l=[new Ve({controlName:"amount",label:"Amount",value:a.amount||a.amountOrPercentage,type:"number",required:!0})],p={title:`Edit Charge ${a.id}`,layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=this.settingsService.language.code,Z=this.settingsService.dateFormat,Yt=U(V({},h.data.value),{dateFormat:Z,locale:T});this.savingsService.editSavingsAccountCharge(this.fixedDepositsAccountData.id,Yt,a.id).subscribe(()=>{this.reload()})}})}deleteCharge(a){this.dialog.open(Re,{data:{deleteContext:`charge id:${a}`}}).afterClosed().subscribe(p=>{p.delete&&this.savingsService.deleteSavingsAccountCharge(this.fixedDepositsAccountData.id,a).subscribe(()=>{this.reload()})})}isRecurringCharge(a){return a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Weekly Fee"}routeEdit(a){a.stopPropagation()}reload(){let a=this.fixedDepositsAccountData.clientId,l=this.router.url;this.router.navigateByUrl(`/clients/${a}/fixed-deposits-accounts`,{skipLocationChange:!0}).then(()=>this.router.navigate([l]))}static{this.\u0275fac=function(l){return new(l||e)(_(jt),_(k),_(W),_(z),_(Ut),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-charges-tab"]],viewQuery:function(l,p){if(l&1&&xt(Ga,7),l&2){let x;ft(x=gt())&&(p.chargesTableRef=x.first)}},decls:103,vars:7,consts:[["chargesTable",""],[1,"tab-container","mat-typography"],[1,"layout-row","align-start"],[1,"m-b-10"],["class","action-button m-b-20",4,"ngIf"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","feeOrPenalty"],["matColumnDef","paymentDueAt"],["matColumnDef","dueAsOf"],["matColumnDef","repeatsOn"],["matColumnDef","calculationType"],["matColumnDef","due"],["matColumnDef","paid"],["matColumnDef","waived"],["matColumnDef","outstanding"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"action-button","m-b-20"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip","click",4,"mifosxHasPermission"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-pencil"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-trash"],[1,"fa","fa-dollar"],[1,"fa","fa-flag"],[1,"fa","fa-ban"],["mat-header-row",""],["mat-row",""]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"div",3),t(5,`
- `),n(6,"h3"),t(7),r(8,"translate"),i(),t(9,`
- `),i(),t(10,`
- `),m(11,Wa,5,1,"div",4),t(12,`
- `),i(),t(13,`
-
- `),n(14,"div",5),t(15,`
- `),n(16,"table",6,0),t(18,`
- `),v(19,7),t(20,`
- `),m(21,Ka,3,3,"th",8),t(22,`
- `),m(23,Qa,2,1,"td",9),t(24,`
- `),D(),t(25,`
-
- `),v(26,10),t(27,`
- `),m(28,Ya,3,3,"th",8),t(29,`
- `),m(30,Ja,4,7,"td",9),t(31,`
- `),D(),t(32,`
-
- `),v(33,11),t(34,`
- `),m(35,Xa,3,3,"th",8),t(36,`
- `),m(37,Za,3,4,"td",9),t(38,`
- `),D(),t(39,`
-
- `),v(40,12),t(41,`
- `),m(42,to,3,3,"th",8),t(43,`
- `),m(44,eo,3,3,"td",9),t(45,`
- `),D(),t(46,`
-
- `),v(47,13),t(48,`
- `),m(49,no,3,3,"th",8),t(50,`
- `),m(51,io,4,8,"td",9),t(52,`
- `),D(),t(53,`
-
- `),v(54,14),t(55,`
- `),m(56,ao,3,3,"th",8),t(57,`
- `),m(58,oo,3,4,"td",9),t(59,`
- `),D(),t(60,`
-
- `),v(61,15),t(62,`
- `),m(63,ro,3,3,"th",8),t(64,`
- `),m(65,po,3,4,"td",9),t(66,`
- `),D(),t(67,`
-
- `),v(68,16),t(69,`
- `),m(70,co,3,3,"th",8),t(71,`
- `),m(72,lo,3,4,"td",9),t(73,`
- `),D(),t(74,`
-
- `),v(75,17),t(76,`
- `),m(77,so,3,3,"th",8),t(78,`
- `),m(79,mo,3,4,"td",9),t(80,`
- `),D(),t(81,`
-
- `),v(82,18),t(83,`
- `),m(84,uo,3,3,"th",8),t(85,`
- `),m(86,xo,3,4,"td",9),t(87,`
- `),D(),t(88,`
-
- `),v(89,19),t(90,`
- `),m(91,fo,3,3,"th",8),t(92,`
- `),m(93,Po,6,2,"td",9),t(94,`
- `),D(),t(95,`
-
- `),m(96,Mo,1,0,"tr",20),t(97,`
- `),m(98,To,1,0,"tr",21),t(99,`
- `),i(),t(100,`
- `),i(),t(101,`
-`),i(),t(102,`
-`)),l&2&&(o(7),u(c(8,5,"labels.heading.All Charges")),o(4),d("ngIf",p.chargesData),o(5),d("dataSource",p.dataSource),o(80),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[F,E,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,de,xe,O,At,ue,Tt],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return e})();var Ao=["instructionsTable"];function yo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Client")))}function Oo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.fromClient.displayName,"-",a.fromClient.id,`
- `)}}function Io(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.From Account")))}function Fo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.fromAccount.accountNo," (",a.fromAccountType.value,`)
- `)}}function Eo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Beneficiary")))}function wo(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),u(a.toClient.displayName)}}function Bo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.To Account")))}function ko(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S(`
- `,a.toAccount.accountNo," (",a.toAccountType.value,`)
- `)}}function Ro(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function No(e,s){if(e&1&&(n(0,"td",17),t(1),i()),e&2){let a=s.$implicit;o(),S("",a.instructionType.value,"/",a.amount,"")}}function Vo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Validity")))}function qo(e,s){if(e&1&&(n(0,"td",17),t(1),r(2,"dateFormat"),r(3,"dateFormat"),i()),e&2){let a=s.$implicit;o(),S(`
- `,c(2,2,a.validFrom)," to ",c(3,4,a.validTill),`
- `)}}function jo(e,s){e&1&&(n(0,"th",16),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function zo(e,s){e&1&&(n(0,"button",20),r(1,"translate"),t(2,`
- `),g(3,"i",21),t(4,`
- `),i()),e&2&&dt("matTooltip",c(1,1,"tooltips.Edit Standing Instruction"))}function $o(e,s){e&1&&(n(0,"span"),t(1,`
- `),m(2,zo,5,3,"button",19),t(3,`
- `),i()),e&2&&(o(2),d("mifosxHasPermission","UPDATE_STANDINGINSTRUCTION"))}function Ho(e,s){if(e&1){let a=y();n(0,"button",23),r(1,"translate"),b("click",function(){P(a);let p=C(2).$implicit,x=C();return M(x.deleteStandingInstruction(p.id))}),t(2,`
- `),g(3,"i",24),t(4,`
- `),i()}e&2&&dt("matTooltip",c(1,1,"tooltips.Delete Standing Instruction"))}function Uo(e,s){e&1&&(n(0,"span"),t(1,`
- `),m(2,Ho,5,3,"button",22),t(3,`
- `),i()),e&2&&(o(2),d("mifosxHasPermission","DELETE_STANDINGINSTRUCTION"))}function Go(e,s){e&1&&(n(0,"button",20),r(1,"translate"),t(2,`
- `),g(3,"i",25),t(4,`
- `),i()),e&2&&dt("matTooltip",c(1,1,"tooltips.View Standing Instruction"))}function Lo(e,s){if(e&1&&(n(0,"td",17),t(1,`
- `),m(2,$o,4,1,"span",18),t(3,`
- `),m(4,Uo,4,1,"span",18),t(5,`
- `),m(6,Go,5,3,"button",19),t(7,`
- `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.status.value!=="Deleted"),o(2),d("ngIf",a.status.value!=="Deleted"),o(2),d("mifosxHasPermission","READ_STANDINGINSTRUCTION")}}function Wo(e,s){e&1&&g(0,"tr",26)}function Ko(e,s){e&1&&g(0,"tr",27)}var ei=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.fixedDepositsService=l,this.dialog=p,this.accountTransfersService=x,this.settingsService=h,this.dataSource=new De,this.displayedColumns=["client","fromAccount","beneficiary","toAccount","amount","validity","actions"],this.route.parent.data.subscribe(T=>{this.fixedDepositsData=T.fixedDepositsAccountData})}ngOnInit(){this.getStandingInstructions()}getStandingInstructions(){let a=this.fixedDepositsData.clientId,l=this.fixedDepositsData.clientName,p=this.fixedDepositsData.id,x=this.settingsService.language.code,h=this.settingsService.dateFormat;this.fixedDepositsService.getStandingInstructions(a,l,p,x,h).subscribe(T=>{this.instructionsData=T.pageItems,this.dataSource.data=this.instructionsData,this.instructionTableRef.renderRows()})}deleteStandingInstruction(a){this.dialog.open(Re,{data:{deleteContext:`standing instruction id: ${a}`}}).afterClosed().subscribe(p=>{p.delete&&this.accountTransfersService.deleteStandingInstrucions(a).subscribe(()=>{})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(j),_(Ut),_(Gn),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-standing-instructions-tab"]],viewQuery:function(l,p){if(l&1&&xt(Ao,7),l&2){let x;ft(x=gt())&&(p.instructionTableRef=x.first)}},decls:70,vars:6,consts:[["instructionsTable",""],[1,"tab-container","mat-typography"],[1,"m-b-10"],[1,"mat-elevation-z1","m-b-25"],["mat-table","",3,"dataSource"],["matColumnDef","client"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","fromAccount"],["matColumnDef","beneficiary"],["matColumnDef","toAccount"],["matColumnDef","amount"],["matColumnDef","validity"],["matColumnDef","actions"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-header-cell",""],["mat-cell",""],[4,"ngIf"],["class","account-action-button","mat-raised-button","","color","primary",3,"matTooltip",4,"mifosxHasPermission"],["mat-raised-button","","color","primary",1,"account-action-button",3,"matTooltip"],[1,"fa","fa-edit"],["class","account-action-button","mat-raised-button","","color","warn",3,"matTooltip","click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",1,"account-action-button",3,"click","matTooltip"],[1,"fa","fa-times"],[1,"fa","fa-eye"],["mat-header-row",""],["mat-row",""]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"h3"),t(5),r(6,"translate"),i(),t(7,`
- `),i(),t(8,`
-
- `),n(9,"div",3),t(10,`
- `),n(11,"table",4,0),t(13,`
- `),v(14,5),t(15,`
- `),m(16,yo,3,3,"th",6),t(17,`
- `),m(18,Oo,2,2,"td",7),t(19,`
- `),D(),t(20,`
-
- `),v(21,8),t(22,`
- `),m(23,Io,3,3,"th",6),t(24,`
- `),m(25,Fo,2,2,"td",7),t(26,`
- `),D(),t(27,`
-
- `),v(28,9),t(29,`
- `),m(30,Eo,3,3,"th",6),t(31,`
- `),m(32,wo,2,1,"td",7),t(33,`
- `),D(),t(34,`
-
- `),v(35,10),t(36,`
- `),m(37,Bo,3,3,"th",6),t(38,`
- `),m(39,ko,2,2,"td",7),t(40,`
- `),D(),t(41,`
-
- `),v(42,11),t(43,`
- `),m(44,Ro,3,3,"th",6),t(45,`
- `),m(46,No,2,2,"td",7),t(47,`
- `),D(),t(48,`
-
- `),v(49,12),t(50,`
- `),m(51,Vo,3,3,"th",6),t(52,`
- `),m(53,qo,4,6,"td",7),t(54,`
- `),D(),t(55,`
-
- `),v(56,13),t(57,`
- `),m(58,jo,3,3,"th",6),t(59,`
- `),m(60,Lo,8,3,"td",7),t(61,`
- `),D(),t(62,`
-
- `),m(63,Wo,1,0,"tr",14),t(64,`
- `),m(65,Ko,1,0,"tr",15),t(66,`
- `),i(),t(67,`
- `),i(),t(68,`
-`),i(),t(69,`
-`)),l&2&&(o(5),u(c(6,4,"labels.heading.All Standing Instructions")),o(6),d("dataSource",p.dataSource),o(52),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns))},dependencies:[F,E,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,de,xe,O,At],styles:[".tab-container[_ngcontent-%COMP%]{padding:1%;margin:1%}.tab-container[_ngcontent-%COMP%] h3[_ngcontent-%COMP%]{margin:1% auto}.tab-container[_ngcontent-%COMP%] .action-button[_ngcontent-%COMP%]{margin-left:auto}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.tab-container[_ngcontent-%COMP%] table[_ngcontent-%COMP%] .account-action-button[_ngcontent-%COMP%]{min-width:26px;padding:0 6px;margin:4px;line-height:25px}"]})}}return e})();var ni=(()=>{class e{constructor(a){this.route=a,this.entityId=this.route.parent.parent.snapshot.paramMap.get("fixedDepositAccountId"),this.route.data.subscribe(l=>{this.entityDatatable=l.savingsDatatable,this.multiRowDatatableFlag=this.entityDatatable.columnHeaders[0].columnName==="id"})}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-datatable-tabs"]],decls:6,vars:3,consts:[[1,"tab-container","mat-typography"],["entityType","Fixed Deposit",3,"entityId","multiRowDatatableFlag","entityDatatable"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
- `),n(2,"mifosx-entity-datatable-tab",1),t(3,`
- `),i(),t(4,`
-`),i(),t(5,`
-`)),l&2&&(o(2),d("entityId",p.entityId)("multiRowDatatableFlag",p.multiRowDatatableFlag)("entityDatatable",p.entityDatatable))},dependencies:[zn]})}}return e})();var Qo=()=>["../../"];function Yo(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Approved On Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}var ii=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createApproveFixedDepositsAccountForm()}createApproveFixedDepositsAccountForm(){this.approveFixedDepositsAccountForm=this.formBuilder.group({approvedOnDate:["",R.required],note:[""]})}submit(){let a=this.approveFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.approveFixedDepositsAccountForm.value.approvedOnDate;a.approvedOnDate instanceof Date&&(a.approvedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"approve",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-approve-fixed-deposits-account"]],decls:51,vars:21,consts:[["approvedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","approvedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",3),t(9,`
- `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",5),t(17,`
- `),g(18,"mat-datepicker-toggle",6),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,Yo,8,9,"mat-error",7),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mat-form-field"),t(27,`
- `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
- `),g(32,"textarea",8),t(33,`
- `),i(),t(34,`
- `),i(),t(35,`
- `),i(),t(36,`
-
- `),n(37,"mat-card-actions",9),t(38,`
- `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
- `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
- `),i(),t(47,`
- `),i(),t(48,`
- `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.approveFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Approved On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.approveFixedDepositsAccountForm.controls.approvedOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,Qo)),o(),f(`
- `,c(41,16,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.approveFixedDepositsAccountForm),o(),f(`
- `,c(45,18,"labels.buttons.Confirm"),`
- `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Xo=()=>["../../"];function Zo(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Rejected On Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}var ai=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createRejectFixedDepositsAccountForm()}createRejectFixedDepositsAccountForm(){this.rejectFixedDepositsAccountForm=this.formBuilder.group({rejectedOnDate:["",R.required],note:[""]})}submit(){let a=this.rejectFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.rejectFixedDepositsAccountForm.value.rejectedOnDate;a.rejectedOnDate instanceof Date&&(a.rejectedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"reject",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-reject-fixed-deposits-account"]],decls:51,vars:21,consts:[["rejectedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","rejectedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",3),t(9,`
- `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",5),t(17,`
- `),g(18,"mat-datepicker-toggle",6),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,Zo,8,9,"mat-error",7),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mat-form-field"),t(27,`
- `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
- `),g(32,"textarea",8),t(33,`
- `),i(),t(34,`
- `),i(),t(35,`
- `),i(),t(36,`
-
- `),n(37,"mat-card-actions",9),t(38,`
- `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
- `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
- `),i(),t(47,`
- `),i(),t(48,`
- `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.rejectFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Rejected On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.rejectFixedDepositsAccountForm.controls.rejectedOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,Xo)),o(),f(`
- `,c(41,16,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.rejectFixedDepositsAccountForm.valid),o(),f(`
- `,c(45,18,"labels.buttons.Confirm"),`
- `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var er=()=>["../../"];function nr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Activated On Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}var oi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.savingsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createActivateFixedDepositsAccountForm()}createActivateFixedDepositsAccountForm(){this.activateFixedDepositsAccountForm=this.formBuilder.group({activatedOnDate:["",R.required]})}submit(){let a=this.activateFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.activateFixedDepositsAccountForm.value.activatedOnDate;a.activatedOnDate instanceof Date&&(a.activatedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.savingsService.executeSavingsAccountCommand(this.accountId,"activate",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(jt),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-activate-fixed-deposits-account"]],decls:39,vars:18,consts:[["activatedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-fill",3,"click"],["matInput","","required","","formControlName","activatedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"mat-form-field",3),b("click",function(){P(x);let T=w(19);return M(T.open())}),t(9,`
- `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
- `),g(14,"input",4),t(15,`
- `),g(16,"mat-datepicker-toggle",5),t(17,`
- `),g(18,"mat-datepicker",null,0),t(20,`
- `),m(21,nr,8,9,"mat-error",6),t(22,`
- `),i(),t(23,`
- `),i(),t(24,`
-
- `),n(25,"mat-card-actions",7),t(26,`
- `),n(27,"button",8),t(28),r(29,"translate"),i(),t(30,`
- `),n(31,"button",9),t(32),r(33,"translate"),i(),t(34,`
- `),i(),t(35,`
- `),i(),t(36,`
- `),i(),t(37,`
-`),i(),t(38,`
-`)}if(l&2){let x=w(19);o(4),d("formGroup",p.activateFixedDepositsAccountForm),o(7),u(c(12,11,"labels.inputs.Activated On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.activateFixedDepositsAccountForm.controls.activatedOnDate.hasError("required")),o(6),d("routerLink",B(17,er)),o(),f(`
- `,c(29,13,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.activateFixedDepositsAccountForm.valid),o(),f(`
- `,c(33,15,"labels.buttons.Confirm"),`
- `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var ar=()=>["../../"],ri=(()=>{class e{constructor(a,l,p,x,h){this.formBuilder=a,this.savingsService=l,this.fixedDepositsService=p,this.route=x,this.router=h,this.undoCommand="undoapproval",this.undoAction=this.route.snapshot.params.name,this.undoAction==="Undo Activation"&&(this.undoCommand="undoactivate"),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.createUndoApprovalFixedDepositsAccountForm()}createUndoApprovalFixedDepositsAccountForm(){this.undoApprovalFixedDepositsAccountForm=this.formBuilder.group({note:[""]})}submit(){let a=V({},this.undoApprovalFixedDepositsAccountForm.value);this.undoAction==="Undo Activation"?this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,this.undoCommand,a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})}):this.savingsService.executeSavingsAccountCommand(this.accountId,this.undoCommand,a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(jt),_(j),_(k),_(z))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-undo-approval-fixed-deposits-account"]],decls:32,vars:13,consts:[[1,"container"],[3,"ngSubmit","formGroup"],[1,"flex-fill"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",1),b("ngSubmit",function(){return p.submit()}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"mat-form-field",2),t(9,`
- `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
- `),g(14,"textarea",3),t(15,`
- `),i(),t(16,`
- `),i(),t(17,`
-
- `),n(18,"mat-card-actions",4),t(19,`
- `),n(20,"button",5),t(21),r(22,"translate"),i(),t(23,`
- `),n(24,"button",6),t(25),r(26,"translate"),i(),t(27,`
- `),i(),t(28,`
- `),i(),t(29,`
- `),i(),t(30,`
-`),i(),t(31,`
-`)),l&2&&(o(4),d("formGroup",p.undoApprovalFixedDepositsAccountForm),o(7),u(c(12,6,"labels.inputs.Note")),o(9),d("routerLink",B(12,ar)),o(),f(`
- `,c(22,8,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.undoApprovalFixedDepositsAccountForm.valid),o(),f(`
- `,c(26,10,"labels.buttons.Confirm"),`
- `))},dependencies:[E,$,bt,mt,Y,Q,pt,Ot,it,et,K,nt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var rr=()=>["../../"];function pr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Withdrawn On Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}var pi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createWithdrawFixedDepositsAccountForm()}createWithdrawFixedDepositsAccountForm(){this.withdrawFixedDepositsAccountForm=this.formBuilder.group({withdrawnOnDate:["",R.required],note:[""]})}submit(){let a=this.withdrawFixedDepositsAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.withdrawFixedDepositsAccountForm.value.withdrawnOnDate;a.withdrawnOnDate instanceof Date&&(a.withdrawnOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"withdrawnByApplicant",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-withdraw-by-client-fixed-deposits-account"]],decls:51,vars:21,consts:[["withdrawnOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","withdrawnOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",3),t(9,`
- `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",5),t(17,`
- `),g(18,"mat-datepicker-toggle",6),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,pr,8,9,"mat-error",7),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mat-form-field"),t(27,`
- `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
- `),g(32,"textarea",8),t(33,`
- `),i(),t(34,`
- `),i(),t(35,`
- `),i(),t(36,`
-
- `),n(37,"mat-card-actions",9),t(38,`
- `),n(39,"button",10),t(40),r(41,"translate"),i(),t(42,`
- `),n(43,"button",11),t(44),r(45,"translate"),i(),t(46,`
- `),i(),t(47,`
- `),i(),t(48,`
- `),i(),t(49,`
-`),i(),t(50,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.withdrawFixedDepositsAccountForm),o(9),u(c(14,12,"labels.inputs.Withdrawn On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.withdrawFixedDepositsAccountForm.controls.withdrawnOnDate.hasError("required")),o(6),u(c(30,14,"labels.inputs.Note")),o(10),d("routerLink",B(20,rr)),o(),f(`
- `,c(41,16,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.withdrawFixedDepositsAccountForm.valid),o(),f(`
- `,c(45,18,"labels.buttons.Confirm"),`
- `)}},dependencies:[F,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,it,et,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var lr=()=>["../../"];function sr(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.name+" ("+a.currency.name+")",`
- `)}}function mr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Charge")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function dr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Amount")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function ur(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.value,`
- `)}}function xr(e,s){if(e&1&&(n(0,"mat-option",12),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.value,`
- `)}}function fr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Due for collection on")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function gr(e,s){if(e&1){let a=y();n(0,"mat-form-field",17),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",18),t(7,`
- `),g(8,"mat-datepicker-toggle",19),t(9,`
- `),g(10,"mat-datepicker",null,0),t(12,`
- `),m(13,fr,8,9,"mat-error",7),t(14,`
- `),i()}if(e&2){let a=w(11),l=C(2);o(3),u(c(4,6,"labels.inputs.Due for collection on")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(5),d("ngIf",l.fixedDepositsChargeForm.controls.dueDate.hasError("required"))}}function _r(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Due Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Cr(e,s){if(e&1){let a=y();n(0,"mat-form-field",17),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",20),t(7,`
- `),g(8,"mat-datepicker-toggle",19),t(9,`
- `),g(10,"mat-datepicker",null,1),t(12,`
- `),m(13,_r,8,9,"mat-error",7),t(14,`
- `),i()}if(e&2){let a=w(11),l=C(2);o(3),u(c(4,6,"labels.inputs.Due On")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(5),d("ngIf",l.fixedDepositsChargeForm.controls.feeOnMonthDay.hasError("required"))}}function hr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",21),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Repeats Every")))}function vr(e,s){if(e&1&&(n(0,"div",4),t(1,`
- `),n(2,"mat-form-field"),t(3,`
- `),n(4,"mat-label"),t(5),r(6,"translate"),i(),t(7,`
- `),g(8,"input",13),t(9,`
- `),m(10,dr,8,9,"mat-error",7),t(11,`
- `),i(),t(12,`
-
- `),n(13,"mat-form-field"),t(14,`
- `),n(15,"mat-label"),t(16),r(17,"translate"),i(),t(18,`
- `),n(19,"mat-select",14),t(20,`
- `),m(21,ur,2,2,"mat-option",6),t(22,`
- `),i(),t(23,`
- `),i(),t(24,`
-
- `),n(25,"mat-form-field"),t(26,`
- `),n(27,"mat-label"),t(28),r(29,"translate"),i(),t(30,`
- `),n(31,"mat-select",15),t(32,`
- `),m(33,xr,2,2,"mat-option",6),t(34,`
- `),i(),t(35,`
- `),i(),t(36,`
-
- `),m(37,gr,15,8,"mat-form-field",16),t(38,`
-
- `),m(39,Cr,15,8,"mat-form-field",16),t(40,`
-
- `),m(41,hr,8,3,"mat-form-field",7),t(42,`
- `),i()),e&2){let a=C();o(5),u(c(6,9,"labels.inputs.Amount")),o(5),d("ngIf",a.fixedDepositsChargeForm.controls.amount.hasError("required")),o(6),u(c(17,11,"labels.inputs.Charge Calculation")),o(5),d("ngForOf",a.chargeDetails.chargeCalculationTypeOptions),o(7),u(c(29,13,"labels.inputs.Charge time type")),o(5),d("ngForOf",a.chargeDetails.chargeTimeTypeOptions),o(4),d("ngIf",a.fixedDepositsChargeForm.contains("dueDate")),o(2),d("ngIf",a.fixedDepositsChargeForm.contains("feeOnMonthDay")),o(2),d("ngIf",a.fixedDepositsChargeForm.contains("feeInterval"))}}var ci=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.route=l,this.router=p,this.dateUtils=x,this.savingsService=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(Z=>{this.savingsChargeOptions=Z.fixedDepositsAccountActionData.chargeOptions}),this.fixedDepositAccountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createFixedDepositsChargeForm(),this.buildDependencies()}buildDependencies(){this.fixedDepositsChargeForm.controls.chargeId.valueChanges.subscribe(a=>{this.savingsService.getChargeTemplate(a).subscribe(l=>{this.chargeDetails=l;let p=l.chargeTimeType.id;(l.chargeTimeType.value==="Withdrawal Fee"||l.chargeTimeType.value==="Saving No Activity Fee")&&(this.chargeDetails.dueDateNotRequired=!0),(l.chargeTimeType.value==="Annual Fee"||l.chargeTimeType.value==="Monthly Fee")&&(this.chargeDetails.chargeTimeTypeAnnualOrMonth=!0),!this.chargeDetails.dueDateNotRequired&&!this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.addControl("dueDate",new G("",R.required)):this.fixedDepositsChargeForm.removeControl("dueDate"),!this.chargeDetails.dueDateNotRequired&&this.chargeDetails.chargeTimeTypeAnnualOrMonth?this.fixedDepositsChargeForm.addControl("feeOnMonthDay",new G("",R.required)):this.fixedDepositsChargeForm.removeControl("feeOnMonthDay"),p.value==="Monthly Fee"?this.fixedDepositsChargeForm.addControl("feeInterval",new G(l.feeInterval,R.required)):this.fixedDepositsChargeForm.removeControl("feeInterval"),this.fixedDepositsChargeForm.patchValue({amount:l.amount,chargeCalculationType:l.chargeCalculationType.id,chargeTimeType:l.chargeTimeType.id})})})}createFixedDepositsChargeForm(){this.fixedDepositsChargeForm=this.formBuilder.group({chargeId:["",R.required],amount:["",R.required],chargeCalculationType:[{value:"",disabled:!0}],chargeTimeType:[{value:"",disabled:!0}]})}submit(){let a=this.fixedDepositsChargeForm.value;if(a.locale=this.settingsService.language.code,a.feeInterval||(a.feeInterval=this.chargeDetails.feeInterval),this.chargeDetails.dueDateNotRequired!==!0)if(this.chargeDetails.chargeTimeTypeAnnualOrMonth===!0){let l="MMMM-dd";if(a.monthDayFormat=l,a.feeOnMonthDay){let p=this.fixedDepositsChargeForm.value.feeOnMonthDay;a.feeOnMonthDay=this.dateUtils.formatDate(p,l)}}else{let l=this.settingsService.dateFormat;if(a.dateFormat=l,a.dueDate){let p=this.fixedDepositsChargeForm.value.dueDate;a.dueDate=this.dateUtils.formatDate(p,l)}}this.savingsService.createSavingsCharge(this.fixedDepositAccountId,"charges",a).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(k),_(z),_(W),_(jt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-add-charge-fixed-deposits-account"]],decls:42,vars:16,consts:[["dueDatePicker",""],["feeOnMonthDayPicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],["required","","formControlName","chargeId"],[3,"value",4,"ngFor","ngForOf"],[4,"ngIf"],["class","layout-column",4,"ngIf"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],[3,"value"],["type","number","required","","matInput","","formControlName","amount"],["formControlName","chargeCalculationType"],["formControlName","chargeTimeType"],[3,"click",4,"ngIf"],[3,"click"],["matInput","","required","","formControlName","dueDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["matInput","","required","","formControlName","feeOnMonthDay",3,"min","max","matDatepicker"],["matInput","","formControlName","feeInterval"]],template:function(l,p){l&1&&(n(0,"div",2),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",3),b("ngSubmit",function(){return p.submit()}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",4),t(9,`
- `),n(10,"mat-form-field"),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),n(16,"mat-select",5),t(17,`
- `),m(18,sr,2,2,"mat-option",6),t(19,`
- `),i(),t(20,`
- `),m(21,mr,8,9,"mat-error",7),t(22,`
- `),i(),t(23,`
-
- `),m(24,vr,43,15,"div",8),t(25,`
- `),i(),t(26,`
-
- `),n(27,"mat-card-actions",9),t(28,`
- `),n(29,"button",10),t(30),r(31,"translate"),i(),t(32,`
- `),n(33,"button",11),t(34),r(35,"translate"),i(),t(36,`
- `),i(),t(37,`
- `),i(),t(38,`
- `),i(),t(39,`
- `),i(),t(40,`
-`),i(),t(41,`
-`)),l&2&&(o(4),d("formGroup",p.fixedDepositsChargeForm),o(9),u(c(14,9,"labels.inputs.Charge")),o(5),d("ngForOf",p.savingsChargeOptions),o(3),d("ngIf",p.fixedDepositsChargeForm.controls.chargeId.hasError("required")),o(3),d("ngIf",p.chargeDetails),o(5),d("routerLink",B(15,lr)),o(),f(`
- `,c(31,11,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.fixedDepositsChargeForm.valid),o(),f(`
- `,c(35,13,"labels.buttons.Submit"),`
- `))},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{width:37rem}"]})}}return e})();var br=()=>["../../"];function Sr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Premature Close Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Pr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",11),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Maturity Amount")))}function Mr(e,s){if(e&1&&(n(0,"mat-option",14),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.value,`
- `)}}function Tr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Account action")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Ar(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",12),t(7,`
- `),m(8,Mr,2,2,"mat-option",13),t(9,`
- `),i(),t(10,`
- `),m(11,Tr,8,9,"mat-error",7),t(12,`
- `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Action")),o(5),d("ngForOf",a.onAccountClosureOptions),o(3),d("ngIf",a.prematureCloseAccountForm.controls.onAccountClosureId.hasError("required"))}}function yr(e,s){if(e&1&&(n(0,"mat-option",14),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.accountNo,`
- `)}}function Or(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Transfer to savings account")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Ir(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",15),t(7,`
- `),m(8,yr,2,2,"mat-option",13),t(9,`
- `),i(),t(10,`
- `),m(11,Or,8,9,"mat-error",7),t(12,`
- `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Transfer to Savings")),o(5),d("ngForOf",a.savingsAccountsData),o(3),d("ngIf",a.prematureCloseAccountForm.controls.toSavingsAccountId.hasError("required"))}}function Fr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",16),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Transfer Description")))}function Er(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"textarea",17),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Note")))}var li=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isSubmitted=!1,this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createPrematureCloseAccountForm(),this.buildDependencies()}createPrematureCloseAccountForm(){this.prematureCloseAccountForm=this.formBuilder.group({closedOnDate:["",R.required]})}buildDependencies(){this.prematureCloseAccountForm.get("closedOnDate").valueChanges.subscribe(a=>{this.isSubmitted||this.calculatePrematureAmount(a)})}calculatePrematureAmount(a){let l=this.settingsService.language.code,p=this.settingsService.dateFormat,x={closedOnDate:this.dateUtils.formatDate(a,p),dateFormat:p,locale:l};this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"calculatePrematureAmount",x).subscribe(h=>{this.savingsAccountsData=h.savingsAccounts,this.onAccountClosureOptions=h.onAccountClosureOptions,this.prematureCloseAccountForm.addControl("maturityAmount",new G({value:"",disabled:!0})),this.prematureCloseAccountForm.addControl("onAccountClosureId",new G("",R.required)),this.prematureCloseAccountForm.addControl("note",new G("")),this.prematureCloseAccountForm.get("maturityAmount").patchValue(h.maturityAmount),this.addTransferDetails()})}addTransferDetails(){this.prematureCloseAccountForm.get("onAccountClosureId").valueChanges.subscribe(a=>{a===200?(this.prematureCloseAccountForm.addControl("toSavingsAccountId",new G("",R.required)),this.prematureCloseAccountForm.addControl("transferDescription",new G(""))):(this.prematureCloseAccountForm.removeControl("toSavingsAccountId"),this.prematureCloseAccountForm.removeControl("transferDescription"))})}submit(){let a=this.prematureCloseAccountForm.value;this.isSubmitted=!0;let l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.prematureCloseAccountForm.value.closedOnDate;a.closedOnDate instanceof Date&&(a.closedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"prematureClose",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-premature-close-fixed-deposits-account"]],decls:52,vars:23,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",3),t(9,`
- `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",5),t(17,`
- `),g(18,"mat-datepicker-toggle",6),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,Sr,8,9,"mat-error",7),t(24,`
- `),i(),t(25,`
-
- `),m(26,Pr,8,3,"mat-form-field",7),t(27,`
-
- `),m(28,Ar,13,5,"mat-form-field",7),t(29,`
-
- `),m(30,Ir,13,5,"mat-form-field",7),t(31,`
-
- `),m(32,Fr,8,3,"mat-form-field",7),t(33,`
-
- `),m(34,Er,8,3,"mat-form-field",7),t(35,`
- `),i(),t(36,`
- `),i(),t(37,`
-
- `),n(38,"mat-card-actions",8),t(39,`
- `),n(40,"button",9),t(41),r(42,"translate"),i(),t(43,`
- `),n(44,"button",10),t(45),r(46,"translate"),i(),t(47,`
- `),i(),t(48,`
- `),i(),t(49,`
- `),i(),t(50,`
-`),i(),t(51,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.prematureCloseAccountForm),o(9),u(c(14,16,"labels.inputs.Premature Close Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.prematureCloseAccountForm.controls.closedOnDate.hasError("required")),o(3),d("ngIf",p.prematureCloseAccountForm.controls.maturityAmount),o(2),d("ngIf",p.prematureCloseAccountForm.contains("onAccountClosureId")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("toSavingsAccountId")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("transferDescription")),o(2),d("ngIf",p.prematureCloseAccountForm.contains("note")),o(6),d("routerLink",B(22,br)),o(),f(`
- `,c(42,18,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.prematureCloseAccountForm.valid),o(),f(`
- `,c(46,20,"labels.buttons.Confirm"),`
- `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Br=()=>["../../"];function kr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Closed On Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Rr(e,s){if(e&1&&(n(0,"mat-option",15),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.value,`
- `)}}function Nr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Account action")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Vr(e,s){if(e&1&&(n(0,"mat-option",15),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.accountNo,`
- `)}}function qr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Transfer to savings account")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function jr(e,s){if(e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",16),t(7,`
- `),m(8,Vr,2,2,"mat-option",10),t(9,`
- `),i(),t(10,`
- `),m(11,qr,8,9,"mat-error",7),t(12,`
- `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Transfer to Savings")),o(5),d("ngForOf",a.savingsAccountsData),o(3),d("ngIf",a.closeOnMaturityAccountForm.controls.toSavingsAccountId.hasError("required"))}}function zr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",17),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Transfer Description")))}var si=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.fixedDepositsService=l,this.dateUtils=p,this.route=x,this.router=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.route.data.subscribe(Z=>{this.savingsAccountsData=Z.fixedDepositsAccountActionData.savingsAccounts,this.onAccountClosureOptions=Z.fixedDepositsAccountActionData.onAccountClosureOptions,this.maturityAmount=Z.fixedDepositsAccountActionData.maturityAmount}),this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createCloseOnMaturityAccountForm(),this.addTransferDetails()}createCloseOnMaturityAccountForm(){this.closeOnMaturityAccountForm=this.formBuilder.group({closedOnDate:["",R.required],maturityAmount:[{value:this.maturityAmount,disabled:!0}],onAccountClosureId:["",R.required],note:[""]})}addTransferDetails(){this.closeOnMaturityAccountForm.get("onAccountClosureId").valueChanges.subscribe(a=>{a===200?(this.closeOnMaturityAccountForm.addControl("toSavingsAccountId",new G("",R.required)),this.closeOnMaturityAccountForm.addControl("transferDescription",new G(""))):(this.closeOnMaturityAccountForm.removeControl("toSavingsAccountId"),this.closeOnMaturityAccountForm.removeControl("transferDescription"))})}submit(){let a=this.closeOnMaturityAccountForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.closeOnMaturityAccountForm.value.closedOnDate;a.closedOnDate instanceof Date&&(a.closedOnDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});this.fixedDepositsService.executeFixedDepositsAccountCommand(this.accountId,"close",h).subscribe(()=>{this.router.navigate(["../../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(W),_(k),_(z),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-close-fixed-deposits-account"]],decls:78,vars:31,consts:[["closedOnDatePicker",""],[1,"container"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","required","","formControlName","closedOnDate",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],["type","number","matInput","","formControlName","maturityAmount"],["required","","formControlName","onAccountClosureId"],[3,"value",4,"ngFor","ngForOf"],["matInput","","formControlName","note","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","align-center","gap-5px","responsive-column"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","warn",3,"disabled"],[3,"value"],["required","","formControlName","toSavingsAccountId"],["matInput","","formControlName","transferDescription"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),n(4,"form",2),b("ngSubmit",function(){return P(x),M(p.submit())}),t(5,`
- `),n(6,"mat-card-content"),t(7,`
- `),n(8,"div",3),t(9,`
- `),n(10,"mat-form-field",4),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",5),t(17,`
- `),g(18,"mat-datepicker-toggle",6),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,kr,8,9,"mat-error",7),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mat-form-field"),t(27,`
- `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
- `),g(32,"input",8),t(33,`
- `),i(),t(34,`
-
- `),n(35,"mat-form-field"),t(36,`
- `),n(37,"mat-label"),t(38),r(39,"translate"),i(),t(40,`
- `),n(41,"mat-select",9),t(42,`
- `),m(43,Rr,2,2,"mat-option",10),t(44,`
- `),i(),t(45,`
- `),m(46,Nr,8,9,"mat-error",7),t(47,`
- `),i(),t(48,`
-
- `),m(49,jr,13,5,"mat-form-field",7),t(50,`
-
- `),m(51,zr,8,3,"mat-form-field",7),t(52,`
-
- `),n(53,"mat-form-field"),t(54,`
- `),n(55,"mat-label"),t(56),r(57,"translate"),i(),t(58,`
- `),g(59,"textarea",11),t(60,`
- `),i(),t(61,`
- `),i(),t(62,`
- `),i(),t(63,`
-
- `),n(64,"mat-card-actions",12),t(65,`
- `),n(66,"button",13),t(67),r(68,"translate"),i(),t(69,`
- `),n(70,"button",14),t(71),r(72,"translate"),i(),t(73,`
- `),i(),t(74,`
- `),i(),t(75,`
- `),i(),t(76,`
-`),i(),t(77,`
-`)}if(l&2){let x=w(21);o(4),d("formGroup",p.closeOnMaturityAccountForm),o(9),u(c(14,18,"labels.inputs.Closed On Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.closeOnMaturityAccountForm.controls.closedOnDate.hasError("required")),o(6),u(c(30,20,"labels.inputs.Maturity Amount")),o(9),u(c(39,22,"labels.inputs.Action")),o(5),d("ngForOf",p.onAccountClosureOptions),o(3),d("ngIf",p.closeOnMaturityAccountForm.controls.onAccountClosureId.hasError("required")),o(3),d("ngIf",p.closeOnMaturityAccountForm.contains("toSavingsAccountId")),o(2),d("ngIf",p.closeOnMaturityAccountForm.contains("transferDescription")),o(5),u(c(57,24,"labels.inputs.Note")),o(10),d("routerLink",B(30,Br)),o(),f(`
- `,c(68,26,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.closeOnMaturityAccountForm.valid),o(),f(`
- `,c(72,28,"labels.buttons.Confirm"),`
- `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,it,et,Gt,K,nt,lt,at,ot,L,O],styles:[".container[_ngcontent-%COMP%]{max-width:37rem}"]})}}return e})();var Ur=()=>["../../transactions"];function Gr(e,s){if(e&1&&(n(0,"h2",20),t(1),r(2,"translate"),r(3,"translate"),i()),e&2){let a=C();o(),S(`
- `,c(2,2,"labels.menus."+a.actionName)," ",c(3,4,"labels.heading.Fixed Deposit Transactions"),`
- `)}}function Lr(e,s){e&1&&(n(0,"mat-error"),t(1),r(2,"translate"),r(3,"translate"),n(4,"strong"),t(5),r(6,"translate"),i(),t(7,`
- `),i()),e&2&&(o(),S(`
- `,c(2,3,"labels.inputs.Transaction Date")," ",c(3,5,"labels.commons.is"),`
- `),o(4),u(c(6,7,"labels.commons.required")))}function Wr(e,s){if(e&1&&(n(0,"mat-option",21),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.name,`
- `)}}function Kr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",22),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Account Number")))}function Qr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",23),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Cheque")))}function Yr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",24),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Routing Code")))}function Jr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",25),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Receipt Number")))}function Xr(e,s){e&1&&(n(0,"mat-form-field"),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",26),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Bank")))}var mi=(()=>{class e{constructor(a,l,p,x,h,T){this.formBuilder=a,this.route=l,this.router=p,this.dateUtils=x,this.fixedDepositsService=h,this.settingsService=T,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.paymentTypeOptions=[],this.addPaymentDetailsFlag=!1,this.transactionType={deposit:!1,withdrawal:!1},this.route.data.subscribe(Yt=>{this.currency=Yt.fixedDepositsAccountActionData.currency,this.paymentTypeOptions=Yt.fixedDepositsAccountActionData.paymentTypeOptions}),this.actionName=this.route.snapshot.params.name;let Z=this.actionName.toLowerCase();if(Z==="deposit"||Z==="withdrawal")this.transactionCommand=Z,this.transactionType[this.transactionCommand]=!0;else throw new Error(`Invalid transaction action: ${this.actionName}`);this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.createSavingAccountTransactionForm()}createSavingAccountTransactionForm(){this.accountTransactionForm=this.formBuilder.group({transactionDate:[this.settingsService.businessDate,R.required],transactionAmount:[0,R.required],paymentTypeId:[""],note:[""]})}addPaymentDetails(){this.addPaymentDetailsFlag=!this.addPaymentDetailsFlag,this.addPaymentDetailsFlag?(this.accountTransactionForm.addControl("accountNumber",new G("")),this.accountTransactionForm.addControl("checkNumber",new G("")),this.accountTransactionForm.addControl("routingCode",new G("")),this.accountTransactionForm.addControl("receiptNumber",new G("")),this.accountTransactionForm.addControl("bankNumber",new G(""))):(this.accountTransactionForm.removeControl("accountNumber"),this.accountTransactionForm.removeControl("checkNumber"),this.accountTransactionForm.removeControl("routingCode"),this.accountTransactionForm.removeControl("receiptNumber"),this.accountTransactionForm.removeControl("bankNumber"))}submit(){let a=this.accountTransactionForm.value,l=this.settingsService.language.code,p=this.settingsService.dateFormat,x=this.accountTransactionForm.value.transactionDate;a.transactionDate instanceof Date&&(a.transactionDate=this.dateUtils.formatDate(x,p));let h=U(V({},a),{dateFormat:p,locale:l});delete h.note,h.transactionAmount=h.transactionAmount*1,this.fixedDepositsService.executeFixedDepositsAccountTransactionsCommand(this.accountId,this.transactionCommand,h).subscribe(T=>{this.router.navigate(["../../transactions"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposits-cash-transaction"]],decls:91,vars:39,consts:[["dueDatePicker",""],[1,"container","mat-elevation-z8"],["mat-title","",4,"ngIf"],[3,"ngSubmit","formGroup"],[1,"layout-column"],[3,"click"],["matInput","","formControlName","transactionDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],[4,"ngIf"],[3,"currency","isRequired","inputFormControl","inputLabel"],["required","","formControlName","paymentTypeId"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-fill"],[1,"expandcollapsebutton","m-l-10","m-t-40","flex-75",3,"click"],[3,"className"],[1,"m-l-10"],["formControlName","note","matInput","","cdkTextareaAutosize","","cdkAutosizeMinRows","2"],[1,"layout-row","layout-xs-column","layout-align-center","gap-5px"],["type","button","mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"disabled"],["mat-title",""],[3,"value"],["type","number","formControlName","accountNumber","matInput",""],["type","number","formControlName","checkNumber","matInput",""],["formControlName","routingCode","matInput",""],["formControlName","receiptNumber","matInput",""],["formControlName","bankNumber","matInput",""]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-card"),t(3,`
- `),m(4,Gr,4,6,"h2",2),t(5,`
-
- `),n(6,"form",3),b("ngSubmit",function(){return P(x),M(p.submit())}),t(7,`
- `),n(8,"mat-card-content",4),t(9,`
- `),n(10,"mat-form-field",5),b("click",function(){P(x);let T=w(21);return M(T.open())}),t(11,`
- `),n(12,"mat-label"),t(13),r(14,"translate"),i(),t(15,`
- `),g(16,"input",6),t(17,`
- `),g(18,"mat-datepicker-toggle",7),t(19,`
- `),g(20,"mat-datepicker",null,0),t(22,`
- `),m(23,Lr,8,9,"mat-error",8),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mifosx-input-amount",9),t(27,`
- `),i(),t(28,`
-
- `),n(29,"mat-form-field"),t(30,`
- `),n(31,"mat-label"),t(32),r(33,"translate"),i(),t(34,`
- `),n(35,"mat-select",10),t(36,`
- `),m(37,Wr,2,2,"mat-option",11),t(38,`
- `),i(),t(39,`
- `),i(),t(40,`
-
- `),n(41,"div",12),t(42,`
- `),n(43,"span",13),b("click",function(){return P(x),M(p.addPaymentDetails())}),t(44,`
- `),n(45,"mat-slide-toggle"),t(46,`
- `),n(47,"div",14),t(48,`
- `),n(49,"span",15),t(50),r(51,"translate"),i(),t(52,`
- `),i(),t(53,`
- `),i(),t(54,`
- `),i(),t(55,`
- `),i(),t(56,`
-
- `),m(57,Kr,8,3,"mat-form-field",8),t(58,`
-
- `),m(59,Qr,8,3,"mat-form-field",8),t(60,`
-
- `),m(61,Yr,8,3,"mat-form-field",8),t(62,`
-
- `),m(63,Jr,8,3,"mat-form-field",8),t(64,`
-
- `),m(65,Xr,8,3,"mat-form-field",8),t(66,`
-
- `),n(67,"mat-form-field"),t(68,`
- `),n(69,"mat-label"),t(70),r(71,"translate"),i(),t(72,`
- `),g(73,"textarea",16),t(74,`
- `),i(),t(75,`
-
- `),n(76,"mat-card-actions",17),t(77,`
- `),n(78,"button",18),t(79),r(80,"translate"),i(),t(81,`
- `),n(82,"button",19),t(83),r(84,"translate"),i(),t(85,`
- `),i(),t(86,`
- `),i(),t(87,`
- `),i(),t(88,`
- `),i(),t(89,`
-`),i(),t(90,`
-`)}if(l&2){let x=w(21);o(4),d("ngIf",p.transactionType.withdrawal),o(2),d("formGroup",p.accountTransactionForm),o(7),u(c(14,26,"labels.inputs.Transaction Date")),o(3),d("min",p.minDate)("max",p.maxDate)("matDatepicker",x),o(2),d("for",x),o(5),d("ngIf",p.accountTransactionForm.controls.transactionDate.hasError("required")),o(3),d("currency",p.currency)("isRequired",!0)("inputFormControl",p.accountTransactionForm.controls.transactionAmount)("inputLabel","Transaction Amount"),o(6),u(c(33,28,"labels.inputs.Payment Type")),o(5),d("ngForOf",p.paymentTypeOptions),o(10),d("className",p.addPaymentDetailsFlag?"enabled":"disabled"),o(3),u(c(51,30,"labels.inputs.Show Payment Details")),o(7),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(2),d("ngIf",p.addPaymentDetailsFlag),o(5),u(c(71,32,"labels.inputs.Notes")),o(8),d("routerLink",B(38,Ur)),o(),f(`
- `,c(80,34,"labels.buttons.Cancel"),`
- `),o(3),d("disabled",!p.accountTransactionForm.valid),o(),f(`
- `,c(84,36,"labels.buttons.Submit"),`
- `)}},dependencies:[_t,F,Pt,E,$,bt,mt,ht,vt,Dt,Y,Q,st,Ct,pt,Ot,Mt,In,it,et,Gt,K,nt,lt,at,ot,nn,L,O],styles:[".expandcollapsebutton[_ngcontent-%COMP%]{margin-top:-7px}.container[_ngcontent-%COMP%]{max-width:37rem}.right-input[_ngcontent-%COMP%]{text-align:right}.right-label[_ngcontent-%COMP%]{padding-right:25px!important}"]})}}return e})();function tp(e,s){e&1&&g(0,"mifosx-approve-fixed-deposits-account")}function ep(e,s){e&1&&g(0,"mifosx-reject-fixed-deposits-account")}function np(e,s){e&1&&g(0,"mifosx-activate-fixed-deposits-account")}function ip(e,s){e&1&&g(0,"mifosx-undo-approval-fixed-deposits-account")}function ap(e,s){e&1&&g(0,"mifosx-withdraw-by-client-fixed-deposits-account")}function op(e,s){e&1&&g(0,"mifosx-add-charge-fixed-deposits-account")}function rp(e,s){e&1&&g(0,"mifosx-premature-close-fixed-deposits-account")}function pp(e,s){e&1&&g(0,"mifosx-close-fixed-deposits-account")}function cp(e,s){e&1&&g(0,"mifosx-fixed-deposits-cash-transaction")}var di=(()=>{class e{constructor(a){this.route=a,this.actions={Approve:!1,Reject:!1,Activate:!1,Close:!1,"Undo Approval":!1,"Undo Activation":!1,"Add Charge":!1,"Premature Close":!1,"Withdrawn by Client":!1,Withdrawal:!1};let l=this.route.snapshot.params.name;l&&l in this.actions&&(this.actions[l]=!0)}static{this.\u0275fac=function(l){return new(l||e)(_(k))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposits-account-actions"]],decls:18,vars:9,consts:[[4,"ngIf"]],template:function(l,p){l&1&&(m(0,tp,1,0,"mifosx-approve-fixed-deposits-account",0),t(1,`
-`),m(2,ep,1,0,"mifosx-reject-fixed-deposits-account",0),t(3,`
-`),m(4,np,1,0,"mifosx-activate-fixed-deposits-account",0),t(5,`
-`),m(6,ip,1,0,"mifosx-undo-approval-fixed-deposits-account",0),t(7,`
-`),m(8,ap,1,0,"mifosx-withdraw-by-client-fixed-deposits-account",0),t(9,`
-`),m(10,op,1,0,"mifosx-add-charge-fixed-deposits-account",0),t(11,`
-`),m(12,rp,1,0,"mifosx-premature-close-fixed-deposits-account",0),t(13,`
-`),m(14,pp,1,0,"mifosx-close-fixed-deposits-account",0),t(15,`
-`),m(16,cp,1,0,"mifosx-fixed-deposits-cash-transaction",0),t(17,`
-`)),l&2&&(d("ngIf",p.actions.Approve),o(2),d("ngIf",p.actions.Reject),o(2),d("ngIf",p.actions.Activate),o(2),d("ngIf",p.actions["Undo Approval"]||p.actions["Undo Activation"]),o(2),d("ngIf",p.actions["Withdrawn by Client"]),o(2),d("ngIf",p.actions["Add Charge"]),o(2),d("ngIf",p.actions["Premature Close"]),o(2),d("ngIf",p.actions.Close),o(2),d("ngIf",p.actions.Withdrawal))},dependencies:[F,ii,ai,oi,ri,pi,ci,li,si,mi]})}}return e})();var lp=()=>["../"];function sp(e,s){if(e&1){let a=y();n(0,"button",13),b("click",function(){P(a);let p=C(2);return M(p.undoTransaction())}),t(1,`
- `),g(2,"fa-icon",14),t(3,`Undo
- `),i()}}function mp(e,s){e&1&&(n(0,"span"),t(1,`
- `),m(2,sp,4,0,"button",12),t(3,`
- `),i()),e&2&&(o(2),d("mifosxHasPermission","UNDOTRANSACTION_SAVINGSACCOUNT"))}function dp(e,s){e&1&&(n(0,"div",5),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
- `,c(2,1,"labels.inputs.Note"),`
- `))}function up(e,s){if(e&1&&(n(0,"div",6),t(1),i()),e&2){let a=C();o(),f(`
- `,a.transactionData.note,`
- `)}}function xp(e,s){if(e&1&&(n(0,"mifosx-transaction-payment-detail",15),t(1,`
- `),i()),e&2){let a=C();d("paymentDetailData",a.transactionData.paymentDetailData)}}var ui=(()=>{class e{constructor(a,l,p,x,h,T){this.savingsService=a,this.route=l,this.dateUtils=p,this.router=x,this.dialog=h,this.settingsService=T,this.route.data.subscribe(Z=>{this.accountId=this.route.parent.snapshot.params.fixedDepositAccountId,this.transactionData=Z.fixedDepositsAccountTransaction})}transactionColor(){return this.transactionData.manuallyReversed?"undo":"active"}allowUndo(){return!1}undoTransaction(){this.dialog.open(Ln).afterClosed().subscribe(l=>{if(l.confirm){let p=this.settingsService.language.code,x=this.settingsService.dateFormat,h={transactionDate:this.dateUtils.formatDate(this.transactionData.date&&new Date(this.transactionData.date),x),transactionAmount:0,dateFormat:x,locale:p};this.savingsService.executeSavingsAccountTransactionsCommand(this.accountId,"undo",h,this.transactionData.id).subscribe(()=>{this.router.navigate(["../"],{relativeTo:this.route})})}})}static{this.\u0275fac=function(l){return new(l||e)(_(jt),_(k),_(W),_(z),_(Ut),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-view-transaction"]],decls:69,vars:37,consts:[[1,"container","m-b-20","align-end-center","gap-2percent"],[4,"ngIf"],[1,"container"],[1,"layout-row-wrap"],[1,"flex-100",3,"ngClass"],[1,"flex-50","mat-body-strong"],[1,"flex-50"],["class","flex-50 mat-body-strong",4,"ngIf"],["class","flex-50",4,"ngIf"],[3,"paymentDetailData",4,"ngIf"],[1,"layout-row","layout-align-center","gap-2percent","column-on-mobile"],["type","button","mat-raised-button","","color","primary",3,"routerLink"],["mat-raised-button","","color","warn",3,"click",4,"mifosxHasPermission"],["mat-raised-button","","color","warn",3,"click"],["icon","undo",1,"m-r-10"],[3,"paymentDetailData"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
- `),m(2,mp,4,1,"span",1),t(3,`
-`),i(),t(4,`
-`),n(5,"div",2),t(6,`
- `),n(7,"mat-card"),t(8,`
- `),n(9,"mat-card-content"),t(10,`
- `),n(11,"div",3),t(12,`
- `),g(13,"div",4),t(14,`
-
- `),n(15,"div",5),t(16),r(17,"translate"),i(),t(18,`
-
- `),n(19,"div",6),t(20),i(),t(21,`
-
- `),n(22,"div",5),t(23),r(24,"translate"),i(),t(25,`
-
- `),n(26,"div",6),t(27),i(),t(28,`
-
- `),n(29,"div",5),t(30),r(31,"translate"),i(),t(32,`
-
- `),n(33,"div",6),t(34),r(35,"dateFormat"),i(),t(36,`
-
- `),n(37,"div",5),t(38),r(39,"translate"),i(),t(40,`
-
- `),n(41,"div",6),t(42),i(),t(43,`
-
- `),n(44,"div",5),t(45),r(46,"translate"),i(),t(47,`
-
- `),n(48,"div",6),t(49),r(50,"currency"),i(),t(51,`
-
- `),m(52,dp,3,3,"div",7),t(53,`
-
- `),m(54,up,2,1,"div",8),t(55,`
-
- `),m(56,xp,2,1,"mifosx-transaction-payment-detail",9),t(57,`
- `),i(),t(58,`
-
- `),n(59,"div",10),t(60,`
- `),n(61,"button",11),t(62),r(63,"translate"),i(),t(64,`
- `),i(),t(65,`
- `),i(),t(66,`
- `),i(),t(67,`
-`),i(),t(68,`
-`)),l&2&&(o(2),d("ngIf",p.allowUndo()),o(11),d("ngClass",p.transactionColor()),o(3),f(`
- `,c(17,17,"labels.inputs.Transaction Id"),`
- `),o(4),f(`
- `,p.transactionData.id,`
- `),o(3),f(`
- `,c(24,19,"labels.inputs.Type"),`
- `),o(4),f(`
- `,p.transactionData.transactionType.value,`
- `),o(3),f(`
- `,c(31,21,"labels.inputs.Transaction Date"),`
- `),o(4),f(`
- `,c(35,23,p.transactionData.date),`
- `),o(4),f(`
- `,c(39,25,"labels.inputs.Currency"),`
- `),o(4),f(`
- `,p.transactionData.currency.displayLabel,`
- `),o(3),f(`
- `,c(46,27,"labels.inputs.Amount"),`
- `),o(4),f(`
- `,J(50,29,p.transactionData.amount,p.transactionData.currency.code,"symbol-narrow","1.2-2"),`
- `),o(3),d("ngIf",p.transactionData.note),o(2),d("ngIf",p.transactionData.note),o(2),d("ngIf",p.transactionData.paymentDetailData),o(5),d("routerLink",B(36,lp)),o(),f(`
- `,c(63,34,"labels.buttons.Back"),`
- `))},dependencies:[ye,F,tt,E,$,mt,Hn,xe,L,se,O,At],styles:["body[_ngcontent-%COMP%] table[_ngcontent-%COMP%] tbody[_ngcontent-%COMP%] tr[_ngcontent-%COMP%]:nth-child(2n){background-color:#f2f2f2}.bg-black[_ngcontent-%COMP%]{background-color:#000}.bg-light-grey[_ngcontent-%COMP%]{background-color:#e5e5e5}.bg-medium-grey[_ngcontent-%COMP%]{background-color:#ccc}.bg-grey[_ngcontent-%COMP%]{background-color:#999}.bg-dark-grey[_ngcontent-%COMP%]{background-color:#222}.bg-white[_ngcontent-%COMP%], .bg-fff[_ngcontent-%COMP%]{background-color:#fff}.bg-none[_ngcontent-%COMP%], .no-bg[_ngcontent-%COMP%]{background:none;background-image:none;background-color:transparent}.bg-facebook[_ngcontent-%COMP%]{background-color:#47639e}.bg-twitter[_ngcontent-%COMP%]{background-color:#02a8f3}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{border:1px solid rgba(0,0,0,.12)}.no-border[_ngcontent-%COMP%]{border:none}.no-border-t[_ngcontent-%COMP%]{border-top:none}.no-border-r[_ngcontent-%COMP%]{border-right:none}.no-border-b[_ngcontent-%COMP%]{border-bottom:none}.no-border-l[_ngcontent-%COMP%]{border-left:none}.no-border-lr[_ngcontent-%COMP%], .no-border-rl[_ngcontent-%COMP%]{border-left:none;border-right:none}.no-border-tb[_ngcontent-%COMP%], .no-border-bt[_ngcontent-%COMP%]{border-top:none;border-bottom:none}.no-border-tl[_ngcontent-%COMP%], .no-border-lt[_ngcontent-%COMP%]{border-top:none;border-left:none}.no-border-tr[_ngcontent-%COMP%], .no-border-rt[_ngcontent-%COMP%]{border-top:none;border-right:none}.no-border-bl[_ngcontent-%COMP%], .no-border-lb[_ngcontent-%COMP%]{border-bottom:none;border-left:none}.no-border-br[_ngcontent-%COMP%], .no-border-rb[_ngcontent-%COMP%]{border-bottom:none;border-right:none}.border-dashed[_ngcontent-%COMP%], .border-dotted[_ngcontent-%COMP%]{border-style:dashed}.border-black[_ngcontent-%COMP%]{border-color:#000}.border-light-grey[_ngcontent-%COMP%]{border-color:#e5e5e5}.border-medium-grey[_ngcontent-%COMP%]{border-color:#ccc}.border-grey[_ngcontent-%COMP%]{border-color:#999}.border-dark-grey[_ngcontent-%COMP%]{border-color:#2222}.border-white[_ngcontent-%COMP%], .border-fff[_ngcontent-%COMP%]{border-color:#fff}.no-border-radius[_ngcontent-%COMP%]{border-radius:0}.radius3[_ngcontent-%COMP%]{border-radius:3px}.radius5[_ngcontent-%COMP%]{border-radius:5px}.radius10[_ngcontent-%COMP%]{border-radius:10px}.column-mandatory[_ngcontent-%COMP%]{color:#5cb85c;text-align:center}.not-column-mandatory[_ngcontent-%COMP%]{color:#666f73;text-align:center}.cdk-drag-placeholder[_ngcontent-%COMP%]{background:#3498db}.yes[_ngcontent-%COMP%]{color:#5cb85c!important;background-color:#5cb85c;height:4px;cursor:none}.no[_ngcontent-%COMP%]{color:red;background-color:red;height:4px;cursor:none}.strike[_ngcontent-%COMP%]{text-decoration:line-through;color:red}.transfer[_ngcontent-%COMP%]{color:#16a085}.linked[_ngcontent-%COMP%]{color:#4461e2}.accrual[_ngcontent-%COMP%]{color:#999}.fa-question[_ngcontent-%COMP%]{color:#4461e2}.enabled[_ngcontent-%COMP%]{color:#32cd32}.disabled[_ngcontent-%COMP%]{color:#f44366}.v-mid[_ngcontent-%COMP%], .v-m[_ngcontent-%COMP%]{vertical-align:middle}.v-top[_ngcontent-%COMP%], .v-t[_ngcontent-%COMP%]{vertical-align:top}.v-bottom[_ngcontent-%COMP%], .v-b[_ngcontent-%COMP%]{vertical-align:bottom}.v-super[_ngcontent-%COMP%]{vertical-align:super}.r-amount[_ngcontent-%COMP%]{text-align:right!important;padding-right:5px!important}.left[_ngcontent-%COMP%]{text-align:left!important}.right[_ngcontent-%COMP%]{text-align:right!important}.center[_ngcontent-%COMP%]{text-align:center!important}.amount-plus[_ngcontent-%COMP%]{color:#000}.amount-minus[_ngcontent-%COMP%]{color:#4461e2}.block[_ngcontent-%COMP%]{display:block}.inline[_ngcontent-%COMP%]{display:inline}.in-block[_ngcontent-%COMP%]{display:inline-block;zoom:1}.d-none[_ngcontent-%COMP%], .hide[_ngcontent-%COMP%], .hidden[_ngcontent-%COMP%]{display:none}.t-0[_ngcontent-%COMP%]{top:0}.b-0[_ngcontent-%COMP%]{bottom:0}.l-0[_ngcontent-%COMP%]{left:0}.r-0[_ngcontent-%COMP%]{right:0}.tb-0[_ngcontent-%COMP%]{top:0;bottom:0}.lr-0[_ngcontent-%COMP%]{left:0;right:0}.f-left[_ngcontent-%COMP%]{float:left}.f-right[_ngcontent-%COMP%]{float:right}.f-none[_ngcontent-%COMP%]{float:none}textarea[_ngcontent-%COMP%]{resize:both}textarea.vertical[_ngcontent-%COMP%], textarea.horizontal[_ngcontent-%COMP%]{resize:vertical}textarea.noresize[_ngcontent-%COMP%]{resize:none}.full-input[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%]{width:100%}.normal[_ngcontent-%COMP%] input[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] select[_ngcontent-%COMP%], .normal[_ngcontent-%COMP%] textarea[_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=checkbox][_ngcontent-%COMP%], .full-input[_ngcontent-%COMP%] [type=radio][_ngcontent-%COMP%]{width:auto}.mat-tab-body-content[_ngcontent-%COMP%]{margin-bottom:20px}.mat-datepicker-input[_ngcontent-%COMP%]{margin-top:5px;margin-bottom:5px}.loader-wrapper[_ngcontent-%COMP%]{height:100vh;width:100vw}.loader-wrapper[_ngcontent-%COMP%] .triangle[_ngcontent-%COMP%]{width:0;height:0;border-style:solid;position:absolute;animation:_ngcontent-%COMP%_rotate .8s infinite .2s}.loader-wrapper[_ngcontent-%COMP%] .bottom[_ngcontent-%COMP%]{border-width:0 90px 90px;border-color:transparent transparent #1fb050;bottom:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .top[_ngcontent-%COMP%]{border-width:90px 90px 0;border-color:#b4d575 transparent transparent;top:calc(50% - 100px);left:calc(50% - 90px)}.loader-wrapper[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{border-width:90px 0 90px 90px;border-color:transparent transparent transparent #1074b9;top:calc(50% - 90px);left:calc(50% - 100px)}.loader-wrapper[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{border-width:90px 90px 90px 0;border-color:transparent #1daeec transparent transparent;top:calc(50% - 90px);right:calc(50% - 100px)}@keyframes _ngcontent-%COMP%_rotate{0%{transform:rotate(0)}to{transform:rotate(360deg)}}body[_ngcontent-%COMP%]{margin:0}.container[_ngcontent-%COMP%]{margin:0 auto}.mb-05[_ngcontent-%COMP%]{margin-bottom:.5rem}.mr-05[_ngcontent-%COMP%]{margin-right:.5rem}.mb-1[_ngcontent-%COMP%]{margin-bottom:1rem}.mt-1[_ngcontent-%COMP%]{margin-top:1rem}.m-5[_ngcontent-%COMP%]{margin:5px}.m-t-5[_ngcontent-%COMP%]{margin-top:5px}.m-r-5[_ngcontent-%COMP%]{margin-right:5px}.m-b-5[_ngcontent-%COMP%]{margin-bottom:5px}.m-l-5[_ngcontent-%COMP%]{margin-left:5px}.m-v-5[_ngcontent-%COMP%]{margin:5px 0}.m-h-5[_ngcontent-%COMP%]{margin:0 5px}.m-10[_ngcontent-%COMP%]{margin:10px}.m-t-10[_ngcontent-%COMP%]{margin-top:10px}.m-r-10[_ngcontent-%COMP%]{margin-right:10px}.m-b-10[_ngcontent-%COMP%]{margin-bottom:10px}.m-l-10[_ngcontent-%COMP%]{margin-left:10px}.m-v-10[_ngcontent-%COMP%]{margin:10px 0}.m-h-10[_ngcontent-%COMP%]{margin:0 10px}.m-15[_ngcontent-%COMP%]{margin:15px}.m-t-15[_ngcontent-%COMP%]{margin-top:15px}.m-r-15[_ngcontent-%COMP%]{margin-right:15px}.m-b-15[_ngcontent-%COMP%]{margin-bottom:15px}.m-l-15[_ngcontent-%COMP%]{margin-left:15px}.m-v-15[_ngcontent-%COMP%]{margin:15px 0}.m-h-15[_ngcontent-%COMP%]{margin:0 15px}.m-20[_ngcontent-%COMP%]{margin:20px}.m-t-20[_ngcontent-%COMP%]{margin-top:20px}.m-r-20[_ngcontent-%COMP%]{margin-right:20px}.m-b-20[_ngcontent-%COMP%]{margin-bottom:20px}.m-l-20[_ngcontent-%COMP%]{margin-left:20px}.m-v-20[_ngcontent-%COMP%]{margin:20px 0}.m-h-20[_ngcontent-%COMP%]{margin:0 20px}.m-25[_ngcontent-%COMP%]{margin:25px}.m-t-25[_ngcontent-%COMP%]{margin-top:25px}.m-r-25[_ngcontent-%COMP%]{margin-right:25px}.m-b-25[_ngcontent-%COMP%]{margin-bottom:25px}.m-l-25[_ngcontent-%COMP%]{margin-left:25px}.m-v-25[_ngcontent-%COMP%]{margin:25px 0}.m-h-25[_ngcontent-%COMP%]{margin:0 25px}.m-30[_ngcontent-%COMP%]{margin:30px}.m-t-30[_ngcontent-%COMP%]{margin-top:30px}.m-r-30[_ngcontent-%COMP%]{margin-right:30px}.m-b-30[_ngcontent-%COMP%]{margin-bottom:30px}.m-l-30[_ngcontent-%COMP%]{margin-left:30px}.m-v-30[_ngcontent-%COMP%]{margin:30px 0}.m-h-30[_ngcontent-%COMP%]{margin:0 30px}.m-35[_ngcontent-%COMP%]{margin:35px}.m-t-35[_ngcontent-%COMP%]{margin-top:35px}.m-r-35[_ngcontent-%COMP%]{margin-right:35px}.m-b-35[_ngcontent-%COMP%]{margin-bottom:35px}.m-l-35[_ngcontent-%COMP%]{margin-left:35px}.m-v-35[_ngcontent-%COMP%]{margin:35px 0}.m-h-35[_ngcontent-%COMP%]{margin:0 35px}.m-40[_ngcontent-%COMP%]{margin:40px}.m-t-40[_ngcontent-%COMP%]{margin-top:40px}.m-r-40[_ngcontent-%COMP%]{margin-right:40px}.m-b-40[_ngcontent-%COMP%]{margin-bottom:40px}.m-l-40[_ngcontent-%COMP%]{margin-left:40px}.m-v-40[_ngcontent-%COMP%]{margin:40px 0}.m-h-40[_ngcontent-%COMP%]{margin:0 40px}.m-45[_ngcontent-%COMP%]{margin:45px}.m-t-45[_ngcontent-%COMP%]{margin-top:45px}.m-r-45[_ngcontent-%COMP%]{margin-right:45px}.m-b-45[_ngcontent-%COMP%]{margin-bottom:45px}.m-l-45[_ngcontent-%COMP%]{margin-left:45px}.m-v-45[_ngcontent-%COMP%]{margin:45px 0}.m-h-45[_ngcontent-%COMP%]{margin:0 45px}.m-50[_ngcontent-%COMP%]{margin:50px}.m-t-50[_ngcontent-%COMP%]{margin-top:50px}.m-r-50[_ngcontent-%COMP%]{margin-right:50px}.m-b-50[_ngcontent-%COMP%]{margin-bottom:50px}.m-l-50[_ngcontent-%COMP%]{margin-left:50px}.m-v-50[_ngcontent-%COMP%]{margin:50px 0}.m-h-50[_ngcontent-%COMP%]{margin:0 50px}.m-55[_ngcontent-%COMP%]{margin:55px}.m-t-55[_ngcontent-%COMP%]{margin-top:55px}.m-r-55[_ngcontent-%COMP%]{margin-right:55px}.m-b-55[_ngcontent-%COMP%]{margin-bottom:55px}.m-l-55[_ngcontent-%COMP%]{margin-left:55px}.m-v-55[_ngcontent-%COMP%]{margin:55px 0}.m-h-55[_ngcontent-%COMP%]{margin:0 55px}.m-60[_ngcontent-%COMP%]{margin:60px}.m-t-60[_ngcontent-%COMP%]{margin-top:60px}.m-r-60[_ngcontent-%COMP%]{margin-right:60px}.m-b-60[_ngcontent-%COMP%]{margin-bottom:60px}.m-l-60[_ngcontent-%COMP%]{margin-left:60px}.m-v-60[_ngcontent-%COMP%]{margin:60px 0}.m-h-60[_ngcontent-%COMP%]{margin:0 60px}.m-65[_ngcontent-%COMP%]{margin:65px}.m-t-65[_ngcontent-%COMP%]{margin-top:65px}.m-r-65[_ngcontent-%COMP%]{margin-right:65px}.m-b-65[_ngcontent-%COMP%]{margin-bottom:65px}.m-l-65[_ngcontent-%COMP%]{margin-left:65px}.m-v-65[_ngcontent-%COMP%]{margin:65px 0}.m-h-65[_ngcontent-%COMP%]{margin:0 65px}.m-70[_ngcontent-%COMP%]{margin:70px}.m-t-70[_ngcontent-%COMP%]{margin-top:70px}.m-r-70[_ngcontent-%COMP%]{margin-right:70px}.m-b-70[_ngcontent-%COMP%]{margin-bottom:70px}.m-l-70[_ngcontent-%COMP%]{margin-left:70px}.m-v-70[_ngcontent-%COMP%]{margin:70px 0}.m-h-70[_ngcontent-%COMP%]{margin:0 70px}.m-75[_ngcontent-%COMP%]{margin:75px}.m-t-75[_ngcontent-%COMP%]{margin-top:75px}.m-r-75[_ngcontent-%COMP%]{margin-right:75px}.m-b-75[_ngcontent-%COMP%]{margin-bottom:75px}.m-l-75[_ngcontent-%COMP%]{margin-left:75px}.m-v-75[_ngcontent-%COMP%]{margin:75px 0}.m-h-75[_ngcontent-%COMP%]{margin:0 75px}.m-80[_ngcontent-%COMP%]{margin:80px}.m-t-80[_ngcontent-%COMP%]{margin-top:80px}.m-r-80[_ngcontent-%COMP%]{margin-right:80px}.m-b-80[_ngcontent-%COMP%]{margin-bottom:80px}.m-l-80[_ngcontent-%COMP%]{margin-left:80px}.m-v-80[_ngcontent-%COMP%]{margin:80px 0}.m-h-80[_ngcontent-%COMP%]{margin:0 80px}.no-m[_ngcontent-%COMP%]{margin:0}.no-m-t[_ngcontent-%COMP%]{margin-top:0}.no-m-r[_ngcontent-%COMP%]{margin-right:0}.no-m-b[_ngcontent-%COMP%]{margin-bottom:0}.no-m-l[_ngcontent-%COMP%]{margin-left:0}.no-m-v[_ngcontent-%COMP%], .no-m-h[_ngcontent-%COMP%], .no-margin[_ngcontent-%COMP%]{margin:0}.no-m-lr[_ngcontent-%COMP%], .no-m-rl[_ngcontent-%COMP%]{margin-left:0;margin-right:0}.no-m-tb[_ngcontent-%COMP%], .no-m-bt[_ngcontent-%COMP%]{margin-top:0;margin-bottom:0}.m-t-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-bottom:0}.m-b-only[_ngcontent-%COMP%]{margin-left:0;margin-right:0;margin-top:0}.m-l-only[_ngcontent-%COMP%]{margin-right:0;margin-top:0;margin-bottom:0}.m-r-only[_ngcontent-%COMP%]{margin-left:0;margin-top:0;margin-bottom:0}.m-auto[_ngcontent-%COMP%]{margin-left:auto;margin-right:auto}.ls-0[_ngcontent-%COMP%]{margin-left:10px;margin-right:10px}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-tap-highlight-color:transparent}div[_ngcontent-%COMP%]{box-sizing:border-box}.color-inherit[_ngcontent-%COMP%]{color:inherit}.no-shadow[_ngcontent-%COMP%]{box-shadow:none}.pointer[_ngcontent-%COMP%]{cursor:pointer}.nolist[_ngcontent-%COMP%]{list-style:none}.actions-menu[_ngcontent-%COMP%]{color:#fff}.alert[_ngcontent-%COMP%]{background-color:#e8f4fd;padding:6px 16px;font-size:.875rem;font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;line-height:1.43;border-radius:4px;letter-spacing:normal;margin:10px}.alert[_ngcontent-%COMP%] .message[_ngcontent-%COMP%]{padding:8px 0;font-size:18px}.alert[_ngcontent-%COMP%] .alert-check[_ngcontent-%COMP%]{color:#359ff4;margin-right:2px;font-size:1.4rem} .mat-tooltip{font-size:15px;color:#fff!important;background-color:#4461e2b3;border:1px solid #1a34a6;max-width:400px!important;white-space:pre-line!important}.loading[_ngcontent-%COMP%]{position:absolute;min-width:100%;width:100px;height:12px;background:linear-gradient(125deg,#fff,#4461e2,#fff);animation:grow 4s linear infinite,move 4s linear infinite}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{overflow:hidden}.overflow-x-scroll[_ngcontent-%COMP%]{max-width:100%;overflow-x:auto}.overflow-no[_ngcontent-%COMP%]{overflow:hidden}.overflow-auto[_ngcontent-%COMP%]{overflow:auto}.overflow-scroll[_ngcontent-%COMP%]{overflow:scroll}.table-container[_ngcontent-%COMP%]{overflow-x:auto;max-width:100%}body[_ngcontent-%COMP%], .no-p[_ngcontent-%COMP%]{padding:0}.no-p-t[_ngcontent-%COMP%]{padding-top:0}.no-p-r[_ngcontent-%COMP%]{padding-right:0}.no-p-b[_ngcontent-%COMP%]{padding-bottom:0}.no-p-l[_ngcontent-%COMP%]{padding-left:0}.no-p-v[_ngcontent-%COMP%], .no-p-h[_ngcontent-%COMP%]{padding:0}.p-5[_ngcontent-%COMP%]{padding:5px}.p-t-5[_ngcontent-%COMP%]{padding-top:5px}.p-r-5[_ngcontent-%COMP%]{padding-right:5px}.p-b-5[_ngcontent-%COMP%]{padding-bottom:5px}.p-l-5[_ngcontent-%COMP%]{padding-left:5px}.p-v-5[_ngcontent-%COMP%]{padding:5px 0}.p-h-5[_ngcontent-%COMP%]{padding:0 5px}.p-10[_ngcontent-%COMP%]{padding:10px}.p-t-10[_ngcontent-%COMP%]{padding-top:10px}.p-b-10[_ngcontent-%COMP%]{padding-bottom:10px}.p-v-10[_ngcontent-%COMP%]{padding:10px 0}.p-h-10[_ngcontent-%COMP%]{padding:0 10px}.p-15[_ngcontent-%COMP%]{padding:15px}.p-t-15[_ngcontent-%COMP%]{padding-top:15px}.p-r-15[_ngcontent-%COMP%]{padding-right:15px}.p-b-15[_ngcontent-%COMP%]{padding-bottom:15px}.p-l-15[_ngcontent-%COMP%]{padding-left:15px}.p-v-15[_ngcontent-%COMP%]{padding:15px 0}.p-h-15[_ngcontent-%COMP%]{padding:0 15px}.p-20[_ngcontent-%COMP%]{padding:20px}.p-t-20[_ngcontent-%COMP%]{padding-top:20px}.p-r-20[_ngcontent-%COMP%]{padding-right:20px}.p-b-20[_ngcontent-%COMP%]{padding-bottom:20px}.p-l-20[_ngcontent-%COMP%]{padding-left:20px}.p-v-20[_ngcontent-%COMP%]{padding:20px 0}.p-h-20[_ngcontent-%COMP%]{padding:0 20px}.p-25[_ngcontent-%COMP%]{padding:25px}.p-t-25[_ngcontent-%COMP%]{padding-top:25px}.p-r-25[_ngcontent-%COMP%]{padding-right:25px}.p-b-25[_ngcontent-%COMP%]{padding-bottom:25px}.p-l-25[_ngcontent-%COMP%]{padding-left:25px}.p-v-25[_ngcontent-%COMP%]{padding:25px 0}.p-h-25[_ngcontent-%COMP%]{padding:0 25px}.p-30[_ngcontent-%COMP%]{padding:30px}.p-t-30[_ngcontent-%COMP%]{padding-top:30px}.p-r-30[_ngcontent-%COMP%]{padding-right:30px}.p-b-30[_ngcontent-%COMP%]{padding-bottom:30px}.p-l-30[_ngcontent-%COMP%]{padding-left:30px}.p-v-30[_ngcontent-%COMP%]{padding:30px 0}.p-h-30[_ngcontent-%COMP%]{padding:0 30px}.p-35[_ngcontent-%COMP%]{padding:35px}.p-t-35[_ngcontent-%COMP%]{padding-top:35px}.p-r-35[_ngcontent-%COMP%]{padding-right:35px}.p-b-35[_ngcontent-%COMP%]{padding-bottom:35px}.p-l-35[_ngcontent-%COMP%]{padding-left:35px}.p-v-35[_ngcontent-%COMP%]{padding:35px 0}.p-h-35[_ngcontent-%COMP%]{padding:0 35px}.p-40[_ngcontent-%COMP%]{padding:40px}.p-t-40[_ngcontent-%COMP%]{padding-top:40px}.p-r-40[_ngcontent-%COMP%]{padding-right:40px}.p-b-40[_ngcontent-%COMP%]{padding-bottom:40px}.p-l-40[_ngcontent-%COMP%]{padding-left:40px}.p-v-40[_ngcontent-%COMP%]{padding-top:40px;padding-bottom:40px}.p-h-40[_ngcontent-%COMP%]{padding:0 40px}.p-45[_ngcontent-%COMP%]{padding:45px}.p-t-45[_ngcontent-%COMP%]{padding-top:45px}.p-r-45[_ngcontent-%COMP%]{padding-right:45px}.p-b-45[_ngcontent-%COMP%]{padding-bottom:45px}.p-l-45[_ngcontent-%COMP%]{padding-left:45px}.p-v-45[_ngcontent-%COMP%]{padding:45px 0}.p-h-45[_ngcontent-%COMP%]{padding:0 45px}.p-50[_ngcontent-%COMP%]{padding:50px}.p-t-50[_ngcontent-%COMP%]{padding-top:50px}.p-r-50[_ngcontent-%COMP%]{padding-right:50px}.p-b-50[_ngcontent-%COMP%]{padding-bottom:50px}.p-l-50[_ngcontent-%COMP%]{padding-left:50px}.p-v-50[_ngcontent-%COMP%]{padding:50px 0}.p-h-50[_ngcontent-%COMP%]{padding:0 50px}.p-55[_ngcontent-%COMP%]{padding:55px}.p-t-55[_ngcontent-%COMP%]{padding-top:55px}.p-r-55[_ngcontent-%COMP%]{padding-right:55px}.p-b-55[_ngcontent-%COMP%]{padding-bottom:55px}.p-l-55[_ngcontent-%COMP%]{padding-left:55px}.p-v-55[_ngcontent-%COMP%]{padding:55px 0}.p-h-55[_ngcontent-%COMP%]{padding:0 55px}.p-60[_ngcontent-%COMP%]{padding:60px}.p-t-60[_ngcontent-%COMP%]{padding-top:60px}.p-r-60[_ngcontent-%COMP%]{padding-right:60px}.p-b-60[_ngcontent-%COMP%]{padding-bottom:60px}.p-l-60[_ngcontent-%COMP%]{padding-left:60px}.p-v-60[_ngcontent-%COMP%]{padding:60px 0}.p-h-60[_ngcontent-%COMP%]{padding:0 60px}.p-65[_ngcontent-%COMP%]{padding:65px}.p-t-65[_ngcontent-%COMP%]{padding-top:65px}.p-r-65[_ngcontent-%COMP%]{padding-right:65px}.p-b-65[_ngcontent-%COMP%]{padding-bottom:65px}.p-l-65[_ngcontent-%COMP%]{padding-left:65px}.p-v-65[_ngcontent-%COMP%]{padding:65px 0}.p-h-65[_ngcontent-%COMP%]{padding:0 65px}.p-70[_ngcontent-%COMP%]{padding:70px}.p-t-70[_ngcontent-%COMP%]{padding-top:70px}.p-r-70[_ngcontent-%COMP%]{padding-right:70px}.p-b-70[_ngcontent-%COMP%]{padding-bottom:70px}.p-l-70[_ngcontent-%COMP%]{padding-left:70px}.p-v-70[_ngcontent-%COMP%]{padding:70px 0}.p-h-70[_ngcontent-%COMP%]{padding:0 70px}.p-75[_ngcontent-%COMP%]{padding:75px}.p-t-75[_ngcontent-%COMP%]{padding-top:75px}.p-r-75[_ngcontent-%COMP%]{padding-right:75px}.p-b-75[_ngcontent-%COMP%]{padding-bottom:75px}.p-l-75[_ngcontent-%COMP%]{padding-left:75px}.p-v-75[_ngcontent-%COMP%]{padding:75px 0}.p-h-75[_ngcontent-%COMP%]{padding:0 75px}.p-80[_ngcontent-%COMP%]{padding:80px}.p-t-80[_ngcontent-%COMP%]{padding-top:80px}.p-r-80[_ngcontent-%COMP%]{padding-right:80px}.p-b-80[_ngcontent-%COMP%]{padding-bottom:80px}.p-l-80[_ngcontent-%COMP%]{padding-left:80px}.p-v-80[_ngcontent-%COMP%]{padding:80px 0}.p-h-80[_ngcontent-%COMP%]{padding:0 80px}.no-padding[_ngcontent-%COMP%]{padding:0!important}.no-pad-lr[_ngcontent-%COMP%], .no-pad-rl[_ngcontent-%COMP%]{padding-left:0;padding-right:0}.no-pad-tb[_ngcontent-%COMP%], .no-pad-bt[_ngcontent-%COMP%]{padding-top:0;padding-bottom:0}.pad-t-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-bottom:0}.pad-b-only[_ngcontent-%COMP%]{padding-left:0;padding-right:0;padding-top:0}.pad-l-only[_ngcontent-%COMP%]{padding-right:0;padding-top:0;padding-bottom:0}.pad-r-only[_ngcontent-%COMP%]{padding-left:0;padding-top:0;padding-bottom:0}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%], .rel[_ngcontent-%COMP%], .relative[_ngcontent-%COMP%]{position:relative}.abs[_ngcontent-%COMP%], .absolute[_ngcontent-%COMP%]{position:absolute}.fixed[_ngcontent-%COMP%]{position:fixed}.status-active[_ngcontent-%COMP%]{color:#5cb85c}.status-inactive[_ngcontent-%COMP%]{color:#666f73}.status-deleted[_ngcontent-%COMP%]{color:#000}.status-pending[_ngcontent-%COMP%]{color:orange}.status-approved[_ngcontent-%COMP%]{color:#4461e2}.status-overpaid[_ngcontent-%COMP%]{color:purple}.status-chargeoff[_ngcontent-%COMP%]{color:#f39c12}.status-active-overdue[_ngcontent-%COMP%], .status-block[_ngcontent-%COMP%]{color:red}.status-matured[_ngcontent-%COMP%]{color:#ff4000}.subStatus-contract-termination[_ngcontent-%COMP%]{color:#b3b3b3}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%]{background-color:#2af72a}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-progress[_ngcontent-%COMP%]{color:#ff4000}.mat-step-header[_ngcontent-%COMP%] .mat-step-icon-state-done[_ngcontent-%COMP%] .status-transfer-hold[_ngcontent-%COMP%]{color:#df0101}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{-webkit-font-smoothing:antialiased}html[_ngcontent-%COMP%]{font-size:16px}body[_ngcontent-%COMP%]{font-family:Roboto,Helvetica Neue,sans-serif;font-weight:400;font-size:14px;color:#000000de;line-height:1.5;letter-spacing:normal}.mat-h1[_ngcontent-%COMP%], .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-h1[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] .mat-headline[_ngcontent-%COMP%], .mat-typography[_ngcontent-%COMP%] h1[_ngcontent-%COMP%]{font:400 24px/32px Roboto,Helvetica Neue,sans-serif;letter-spacing:normal;margin:0 0 16px}.lh-1[_ngcontent-%COMP%]{line-height:1}.lh-13[_ngcontent-%COMP%]{line-height:1.3}.lh-15[_ngcontent-%COMP%]{line-height:1.5}.bold[_ngcontent-%COMP%], .strong[_ngcontent-%COMP%]{font-weight:700}.no-bold[_ngcontent-%COMP%]{font-weight:400}.italic[_ngcontent-%COMP%], .em[_ngcontent-%COMP%]{font-style:italic}.strike[_ngcontent-%COMP%]{text-decoration:line-through}.normal[_ngcontent-%COMP%]{font-weight:400;font-style:normal}.uppercase[_ngcontent-%COMP%]{text-transform:uppercase}.text-left[_ngcontent-%COMP%]{text-align:left}.text-center[_ngcontent-%COMP%]{text-align:center}.text-right[_ngcontent-%COMP%]{text-align:right}.w100[_ngcontent-%COMP%]{font-weight:100}.w200[_ngcontent-%COMP%]{font-weight:200}.w300[_ngcontent-%COMP%]{font-weight:300}.w400[_ngcontent-%COMP%]{font-weight:400}.w500[_ngcontent-%COMP%]{font-weight:500}.w600[_ngcontent-%COMP%]{font-weight:600}.w700[_ngcontent-%COMP%]{font-weight:700}.w800[_ngcontent-%COMP%]{font-weight:800}.w900[_ngcontent-%COMP%]{font-weight:900}.f9[_ngcontent-%COMP%]{font-size:9px}.f10[_ngcontent-%COMP%]{font-size:10px}.f11[_ngcontent-%COMP%]{font-size:11px}.f12[_ngcontent-%COMP%]{font-size:12px}.f13[_ngcontent-%COMP%]{font-size:13px}.f14[_ngcontent-%COMP%]{font-size:14px}.f15[_ngcontent-%COMP%]{font-size:15px}.f16[_ngcontent-%COMP%]{font-size:16px}.f17[_ngcontent-%COMP%]{font-size:17px}.f18[_ngcontent-%COMP%]{font-size:18px;line-height:30px}.f19[_ngcontent-%COMP%]{font-size:19px}.f20[_ngcontent-%COMP%]{font-size:20px}.f30[_ngcontent-%COMP%]{font-size:30px}.f40[_ngcontent-%COMP%]{font-size:40px}.f50[_ngcontent-%COMP%]{font-size:50px}.f60[_ngcontent-%COMP%]{font-size:60px}.size-small[_ngcontent-%COMP%]{font-size:75%}.size-normal[_ngcontent-%COMP%]{font-size:100%}.size-medium[_ngcontent-%COMP%]{font-size:125%}.size-big[_ngcontent-%COMP%], .size-large[_ngcontent-%COMP%]{font-size:150%}.size-huge[_ngcontent-%COMP%]{font-size:200%}.inherit[_ngcontent-%COMP%]{font:inherit}.text-shadow[_ngcontent-%COMP%]{text-shadow:1px 1px 1px rgba(0,0,0,.4)}.text-rgb-2[_ngcontent-%COMP%]{color:#0003}.text-rgb-3[_ngcontent-%COMP%]{color:#0000004d}.text-rgb-4[_ngcontent-%COMP%]{color:#0006}.text-rgb-5[_ngcontent-%COMP%]{color:#00000080}.no-ul[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%]:hover, .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%], .no-ul[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:hover{text-decoration:none}.no-wrap[_ngcontent-%COMP%]{white-space:nowrap}.auto-cell-size[_ngcontent-%COMP%]{white-space:nowrap;width:1%}.ls-0[_ngcontent-%COMP%]{letter-spacing:-3px;white-space:nowrap}.label-field[_ngcontent-%COMP%]{margin-top:32px}.fit[_ngcontent-%COMP%]{max-width:100%}.half-width[_ngcontent-%COMP%]{width:50%}.full-width[_ngcontent-%COMP%]{width:100%}.full-height[_ngcontent-%COMP%]{height:100%}html[_ngcontent-%COMP%], body[_ngcontent-%COMP%]{width:100%;height:100%;min-height:100%}body[_ngcontent-%COMP%] table[_ngcontent-%COMP%]{width:100%}.container[_ngcontent-%COMP%]{max-width:74rem;width:90%}.mw300[_ngcontent-%COMP%]{max-width:300px}.mw400[_ngcontent-%COMP%]{max-width:400px}.mw500[_ngcontent-%COMP%]{max-width:500px}.mw600[_ngcontent-%COMP%]{max-width:600px}.fullwidth[_ngcontent-%COMP%]{width:100%}.zindex-1[_ngcontent-%COMP%]{z-index:1}.zindex-2[_ngcontent-%COMP%]{z-index:2}.zindex-3[_ngcontent-%COMP%]{z-index:3}.zindex-4[_ngcontent-%COMP%]{z-index:4}.container[_ngcontent-%COMP%]{max-width:37rem}.container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%] div[_ngcontent-%COMP%]{margin:1rem 0;word-wrap:break-word}.transaction-buttons[_ngcontent-%COMP%]{margin-top:3%}.transaction-relation[_ngcontent-%COMP%]{background-color:#d7dada}.active[_ngcontent-%COMP%]{background-color:#5cb85c;height:4px}.linked[_ngcontent-%COMP%]{background-color:#4461e2;height:4px}.undo[_ngcontent-%COMP%]{background-color:red;height:4px}"]})}}return e})();function fp(e,s){if(e&1&&(n(0,"mat-option",13),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.name,`
- `)}}function gp(e,s){if(e&1){let a=y();n(0,"mat-form-field",14),b("click",function(){P(a);let p=w(11);return M(p.open())}),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",15),t(7,`
- `),g(8,"mat-datepicker-toggle",16),t(9,`
- `),g(10,"mat-datepicker",null,0),t(12,`
- `),n(13,"mat-error"),t(14),r(15,"translate"),r(16,"translate"),n(17,"strong"),t(18),r(19,"translate"),i(),t(20,`
- `),i(),t(21,`
- `),i()}if(e&2){let a=w(11),l=C();o(3),u(c(4,8,"labels.inputs.Submitted On")),o(3),d("min",l.minDate)("max",l.maxDate)("matDatepicker",a),o(2),d("for",a),o(6),S(`
- `,c(15,10,"labels.inputs.Submission Date")," ",c(16,12,"labels.commons.is"),`
- `),o(4),u(c(19,14,"labels.commons.required"))}}function _p(e,s){if(e&1&&(n(0,"mat-option",13),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,a.displayName,`
- `)}}function Cp(e,s){if(e&1&&(n(0,"mat-form-field",3),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",17),t(7,`
- `),m(8,_p,2,2,"mat-option",5),t(9,`
- `),i(),t(10,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Field Officer")),o(5),d("ngForOf",a.fieldOfficerData)}}function hp(e,s){e&1&&(n(0,"mat-form-field",3),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",18),r(7,"translate"),t(8,`
- `),i()),e&2&&(o(3),u(c(4,2,"labels.inputs.External id")),o(3),dt("matTooltip",c(7,4,"tooltips.Provides an external id")))}var ge=(()=>{class e{constructor(a,l,p){this.formBuilder=a,this.fixedDepositsService=l,this.settingsService=p,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.isFieldOfficerPatched=!1,this.isProductSelected=!1,this.fixedDepositsAccountProductTemplate=new Ue,this.createFixedDepositsAccountDetailsForm()}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.buildDependencies(),this.fixedDepositsAccountTemplate&&(this.productData=this.fixedDepositsAccountTemplate.productOptions,this.fixedDepositsAccountTemplate.depositProductId&&this.fixedDepositAccountDetailsForm.patchValue({productId:this.fixedDepositsAccountTemplate.depositProductId,submittedOnDate:this.fixedDepositsAccountTemplate.timeline.submittedOnDate&&new Date(this.fixedDepositsAccountTemplate.timeline.submittedOnDate),externalId:this.fixedDepositsAccountTemplate.externalId||""}))}createFixedDepositsAccountDetailsForm(){this.fixedDepositAccountDetailsForm=this.formBuilder.group({productId:["",R.required],submittedOnDate:["",R.required],fieldOfficerId:[""],externalId:[""]})}buildDependencies(){let a=this.fixedDepositsAccountTemplate.clientId;this.fixedDepositAccountDetailsForm.get("productId").valueChanges.subscribe(l=>{this.fixedDepositsService.getFixedDepositsAccountTemplate(a,l).subscribe(p=>{this.fixedDepositsAccountProductTemplate.emit(p),this.isProductSelected=!0,this.fieldOfficerData=p.fieldOfficerOptions,!this.isFieldOfficerPatched&&this.fixedDepositsAccountTemplate.fieldOfficerId?(this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue(this.fixedDepositsAccountTemplate.fieldOfficerId),this.isFieldOfficerPatched=!0):this.fixedDepositAccountDetailsForm.get("fieldOfficerId").patchValue("")})})}get fixedDepositAccountDetails(){let a=this.fixedDepositAccountDetailsForm.value;for(let l in a)a[l]===""&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-details-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate"},outputs:{fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},decls:48,vars:24,consts:[["submittedOnDatePicker",""],[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],["formControlName","productId","required",""],[3,"value",4,"ngFor","ngForOf"],["class","flex-48",3,"click",4,"ngIf"],["class","flex-48",4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious","","disabled",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"flex-48",3,"click"],["matInput","","formControlName","submittedOnDate","required","",3,"min","max","matDatepicker"],["matSuffix","",3,"for"],["formControlName","fieldOfficerId"],["matInput","","formControlName","externalId",3,"matTooltip"]],template:function(l,p){if(l&1&&(n(0,"form",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"mat-form-field",3),t(5,`
- `),n(6,"mat-label"),t(7),r(8,"translate"),i(),t(9,`
- `),n(10,"mat-select",4),t(11,`
- `),m(12,fp,2,2,"mat-option",5),t(13,`
- `),i(),t(14,`
- `),n(15,"mat-error"),t(16),r(17,"translate"),r(18,"translate"),n(19,"strong"),t(20),r(21,"translate"),i(),t(22,`
- `),i(),t(23,`
- `),i(),t(24,`
-
- `),m(25,gp,22,16,"mat-form-field",6),t(26,`
-
- `),m(27,Cp,11,4,"mat-form-field",7),t(28,`
-
- `),m(29,hp,9,6,"mat-form-field",7),t(30,`
- `),i(),t(31,`
-
- `),n(32,"div",8),t(33,`
- `),n(34,"button",9),t(35,`
- `),g(36,"fa-icon",10),t(37),r(38,"translate"),i(),t(39,`
- `),n(40,"button",11),t(41),r(42,"translate"),g(43,"fa-icon",12),t(44,`
- `),i(),t(45,`
- `),i(),t(46,`
-`),i(),t(47,`
-`)),l&2){let x;d("formGroup",p.fixedDepositAccountDetailsForm),o(7),u(c(8,12,"labels.inputs.Product Name")),o(5),d("ngForOf",p.productData),o(4),S(`
- `,c(17,14,"labels.inputs.Product Name")," ",c(18,16,"labels.commons.is"),`
- `),o(4),u(c(21,18,"labels.commons.required")),o(5),d("ngIf",p.isProductSelected),o(2),d("ngIf",p.isProductSelected),o(2),d("ngIf",p.isProductSelected),o(8),f(`
- `,c(38,20,"labels.buttons.Previous"),`
- `),o(3),d("disabled",!((x=p.fixedDepositAccountDetailsForm.get("productId"))!=null&&x.value)||!((x=p.fixedDepositAccountDetailsForm.get("submittedOnDate"))!=null&&x.value)),o(),f(`
- `,c(42,22,"labels.buttons.Next"),`
- `)}},dependencies:[_t,F,tt,Pt,E,ht,vt,Dt,Y,Q,st,Ct,pt,Mt,oe,Lt,de,it,et,K,nt,lt,at,ot,O],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();function vp(e,s){if(e&1&&(n(0,"mifosx-input-amount",18),t(1,`
- `),i()),e&2){let a=C();d("currency",a.currency)("isRequired",!0)("inputFormControl",a.fixedDepositAccountTermsForm.controls.depositAmount)("inputLabel","Deposit Amount")}}function Dp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function bp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Sp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Pp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Mp(e,s){if(e&1&&(n(0,"mat-option",19),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}var _e=(()=>{class e{constructor(a,l){this.formBuilder=a,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.currency=null,this.createFixedDepositsAccountTermsForm()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.currency=this.fixedDepositsAccountProductTemplate.currency,this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate.id&&this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountTemplate.depositAmount?this.fixedDepositsAccountTemplate.depositAmount:0,depositPeriod:this.fixedDepositsAccountTemplate.depositPeriod,depositPeriodFrequencyId:this.fixedDepositsAccountTemplate.depositPeriodFrequency.id})}createFixedDepositsAccountTermsForm(){this.fixedDepositAccountTermsForm=this.formBuilder.group({interestCompoundingPeriodType:["",R.required],interestPostingPeriodType:["",R.required],interestCalculationType:["",R.required],interestCalculationDaysInYearType:["",R.required],depositAmount:[0,R.required],depositPeriod:["",R.required],depositPeriodFrequencyId:["",R.required]})}setOptions(){this.interestCompoundingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,this.interestPostingPeriodTypeData=this.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,this.interestCalculationTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,this.interestCalculationDaysInYearTypeData=this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.fixedDepositsAccountTemplate.id||this.fixedDepositAccountTermsForm.patchValue({interestCompoundingPeriodType:this.fixedDepositsAccountProductTemplate.interestCompoundingPeriodType.id,interestPostingPeriodType:this.fixedDepositsAccountProductTemplate.interestPostingPeriodType.id,interestCalculationType:this.fixedDepositsAccountProductTemplate.interestCalculationType.id,interestCalculationDaysInYearType:this.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearType.id,depositAmount:this.fixedDepositsAccountProductTemplate.depositAmount,depositPeriod:this.fixedDepositsAccountProductTemplate.minDepositTerm,depositPeriodFrequencyId:this.fixedDepositsAccountProductTemplate.minDepositTermType.id})}get fixedDepositAccountTerms(){let a=this.fixedDepositAccountTermsForm.value;for(let l in a)a[l]===""&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-terms-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:150,vars:85,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],["class","flex-48",3,"currency","isRequired","inputFormControl","inputLabel",4,"ngIf"],[1,"flex-48","hide-lt-md"],[1,"flex-48"],["type","number","matInput","","formControlName","depositPeriod","required",""],["formControlName","depositPeriodFrequencyId","required",""],[3,"value",4,"ngFor","ngForOf"],[1,"flex-98"],["formControlName","interestCompoundingPeriodType","required",""],["formControlName","interestPostingPeriodType","required",""],["formControlName","interestCalculationType","required",""],["formControlName","interestCalculationDaysInYearType","required",""],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[1,"flex-48",3,"currency","isRequired","inputFormControl","inputLabel"],[3,"value"]],template:function(l,p){l&1&&(n(0,"form",0),t(1,`
- `),n(2,"div",1),t(3,`
- `),m(4,vp,2,4,"mifosx-input-amount",2),t(5,`
-
- `),g(6,"span",3),t(7,`
-
- `),n(8,"mat-form-field",4),t(9,`
- `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
- `),g(14,"input",5),t(15,`
- `),n(16,"mat-error"),t(17),r(18,"translate"),r(19,"translate"),n(20,"strong"),t(21),r(22,"translate"),i(),t(23,`
- `),i(),t(24,`
- `),i(),t(25,`
-
- `),n(26,"mat-form-field",4),t(27,`
- `),n(28,"mat-label"),t(29),r(30,"translate"),i(),t(31,`
- `),n(32,"mat-select",6),t(33,`
- `),m(34,Dp,3,5,"mat-option",7),t(35,`
- `),i(),t(36,`
- `),n(37,"mat-error"),t(38),r(39,"translate"),r(40,"translate"),n(41,"strong"),t(42),r(43,"translate"),i(),t(44,`
- `),i(),t(45,`
- `),i(),t(46,`
-
- `),g(47,"mat-divider",8),t(48,`
-
- `),n(49,"mat-form-field",4),t(50,`
- `),n(51,"mat-label"),t(52),r(53,"translate"),i(),t(54,`
- `),n(55,"mat-select",9),t(56,`
- `),m(57,bp,3,5,"mat-option",7),t(58,`
- `),i(),t(59,`
- `),n(60,"mat-error"),t(61),r(62,"translate"),r(63,"translate"),n(64,"strong"),t(65),r(66,"translate"),i(),t(67,`
- `),i(),t(68,`
- `),i(),t(69,`
-
- `),n(70,"mat-form-field",4),t(71,`
- `),n(72,"mat-label"),t(73),r(74,"translate"),i(),t(75,`
- `),n(76,"mat-select",10),t(77,`
- `),m(78,Sp,3,5,"mat-option",7),t(79,`
- `),i(),t(80,`
- `),n(81,"mat-error"),t(82),r(83,"translate"),r(84,"translate"),n(85,"strong"),t(86),r(87,"translate"),i(),t(88,`
- `),i(),t(89,`
- `),i(),t(90,`
-
- `),n(91,"mat-form-field",4),t(92,`
- `),n(93,"mat-label"),t(94),r(95,"translate"),i(),t(96,`
- `),n(97,"mat-select",11),t(98,`
- `),m(99,Pp,3,5,"mat-option",7),t(100,`
- `),i(),t(101,`
- `),n(102,"mat-error"),t(103),r(104,"translate"),r(105,"translate"),n(106,"strong"),t(107),r(108,"translate"),i(),t(109,`
- `),i(),t(110,`
- `),i(),t(111,`
-
- `),n(112,"mat-form-field",4),t(113,`
- `),n(114,"mat-label"),t(115),r(116,"translate"),i(),t(117,`
- `),n(118,"mat-select",12),t(119,`
- `),m(120,Mp,3,5,"mat-option",7),t(121,`
- `),i(),t(122,`
- `),n(123,"mat-error"),t(124),r(125,"translate"),r(126,"translate"),n(127,"strong"),t(128),r(129,"translate"),i(),t(130,`
- `),i(),t(131,`
- `),i(),t(132,`
- `),i(),t(133,`
-
- `),n(134,"div",13),t(135,`
- `),n(136,"button",14),t(137,`
- `),g(138,"fa-icon",15),t(139),r(140,"translate"),i(),t(141,`
- `),n(142,"button",16),t(143),r(144,"translate"),g(145,"fa-icon",17),t(146,`
- `),i(),t(147,`
- `),i(),t(148,`
-`),i(),t(149,`
-`)),l&2&&(d("formGroup",p.fixedDepositAccountTermsForm),o(4),d("ngIf",p.currency),o(7),u(c(12,33,"labels.inputs.Deposit Period")),o(6),S(`
- `,c(18,35,"labels.inputs.Deposit Period")," ",c(19,37,"labels.commons.is"),`
- `),o(4),u(c(22,39,"labels.commons.required")),o(8),u(c(30,41,"labels.inputs.Deposit Period Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(4),S(`
- `,c(39,43,"labels.inputs.Deposit Period Type")," ",c(40,45,"labels.commons.is"),`
- `),o(4),u(c(43,47,"labels.commons.required")),o(10),u(c(53,49,"labels.inputs.Interest Compounding Period")),o(5),d("ngForOf",p.interestCompoundingPeriodTypeData),o(4),S(`
- `,c(62,51,"labels.inputs.Interest Compounding Period")," ",c(63,53,"labels.commons.is"),`
- `),o(4),u(c(66,55,"labels.commons.required")),o(8),u(c(74,57,"labels.inputs.Interest Posting Period")),o(5),d("ngForOf",p.interestPostingPeriodTypeData),o(4),S(`
- `,c(83,59,"labels.inputs.Interest Posting Period")," ",c(84,61,"labels.commons.is"),`
- `),o(4),u(c(87,63,"labels.commons.required")),o(8),u(c(95,65,"labels.inputs.Interest Calculated using")),o(5),d("ngForOf",p.interestCalculationTypeData),o(4),S(`
- `,c(104,67,"labels.inputs.Interest Calculated using")," ",c(105,69,"labels.commons.is"),`
- `),o(4),u(c(108,71,"labels.commons.required")),o(8),u(c(116,73,"labels.inputs.Days in Year")),o(5),d("ngForOf",p.interestCalculationDaysInYearTypeData),o(4),S(`
- `,c(125,75,"labels.inputs.Days in Year")," ",c(126,77,"labels.commons.is"),`
- `),o(4),u(c(129,79,"labels.commons.required")),o(11),f(`
- `,c(140,81,"labels.buttons.Previous"),`
- `),o(4),f(`
- `,c(144,83,"labels.buttons.Next"),`
- `))},dependencies:[_t,F,tt,Pt,E,Ne,Y,Q,st,pt,Mt,oe,Lt,it,et,Gt,K,nt,lt,at,ot,nn,O,Tt],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();function Tp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Ap(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function yp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Op(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Ip(e,s){if(e&1&&(n(0,"mat-option",29),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),S(`
- (`,a.accountNo,") ",a.savingsProductName,`
- `)}}function Fp(e,s){if(e&1&&(n(0,"mat-form-field",30),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",31),t(7,`
- `),m(8,Ip,2,3,"mat-option",6),t(9,`
- `),i(),t(10,`
- `),n(11,"mat-error"),t(12),r(13,"translate"),r(14,"translate"),n(15,"strong"),t(16),r(17,"translate"),i(),t(18,`
- `),i(),t(19,`
- `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.inputs.Linked Savings Account")),o(5),d("ngForOf",a.savingsAccountsData),o(4),S(`
- `,c(13,7,"labels.inputs.Linked Savings Account")," ",c(14,9,"labels.commons.is"),`
- `),o(4),u(c(17,11,"labels.commons.required"))}}function Ep(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function wp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),i()),e&2){let a=s.$implicit;d("value",a.id),o(),S(`
- (`,a.accountNo,") ",a.savingsProductName,`
- `)}}function Bp(e,s){if(e&1&&(n(0,"mat-form-field",32),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"mat-select",33),t(7,`
- `),m(8,wp,2,3,"mat-option",6),t(9,`
- `),i(),t(10,`
- `),n(11,"mat-error"),t(12),r(13,"translate"),r(14,"translate"),n(15,"strong"),t(16),r(17,"translate"),i(),t(18,`
- `),i(),t(19,`
- `),i()),e&2){let a=C();o(3),u(c(4,5,"labels.inputs.Transfer to savings account")),o(5),d("ngForOf",a.savingsAccountsData),o(4),S(`
- `,c(13,7,"labels.inputs.Transfer to savings account")," ",c(14,9,"labels.commons.is"),`
- `),o(4),u(c(17,11,"labels.commons.required"))}}function kp(e,s){if(e&1&&(n(0,"mat-option",29),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;d("value",a.id),o(),f(`
- `,I(2,2,a.value,"catalogs"),`
- `)}}function Rp(e,s){e&1&&(n(0,"mat-form-field",36),t(1,`
- `),n(2,"mat-label"),t(3),r(4,"translate"),i(),t(5,`
- `),g(6,"input",37),t(7,`
- `),i()),e&2&&(o(3),u(c(4,1,"labels.inputs.Tax Group")))}function Np(e,s){if(e&1&&(v(0),t(1,`
- `),g(2,"mat-divider",13),t(3,`
-
- `),n(4,"mat-checkbox",34),t(5),r(6,"translate"),i(),t(7,`
-
- `),m(8,Rp,8,3,"mat-form-field",35),t(9,`
- `),D()),e&2){let a=C();o(5),f(`
- `,c(6,2,"labels.inputs.Is Withhold Tax Applicable"),`?
- `),o(3),d("ngIf",a.fixedDepositAccountSettingsForm.controls.taxGroupId)}}var Ce=(()=>{class e{constructor(a,l){this.formBuilder=a,this.settingsService=l,this.minDate=new Date(2e3,0,1),this.maxDate=new Date,this.createFixedDepositAccountSettingsForm(),this.buildDependencies()}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.fixedDepositAccountSettingsForm.patchValue({minDepositTerm:this.fixedDepositsAccountProductTemplate.minDepositTerm,minDepositTermTypeId:this.fixedDepositsAccountProductTemplate.minDepositTermType?this.fixedDepositsAccountProductTemplate.minDepositTermType.id:"",inMultiplesOfDepositTerm:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,inMultiplesOfDepositTermTypeId:this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType?this.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.id:"",maxDepositTerm:this.fixedDepositsAccountProductTemplate.maxDepositTerm,maxDepositTermTypeId:this.fixedDepositsAccountProductTemplate.maxDepositTermType?this.fixedDepositsAccountProductTemplate.maxDepositTermType.id:"",preClosurePenalApplicable:this.fixedDepositsAccountProductTemplate.preClosurePenalApplicable,preClosurePenalInterest:this.fixedDepositsAccountProductTemplate.preClosurePenalInterest,preClosurePenalInterestOnTypeId:this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType?this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id:"",maturityInstructionId:this.fixedDepositsAccountProductTemplate.maturityInstructionId}),this.fixedDepositsAccountProductTemplate.withHoldTax?(this.fixedDepositAccountSettingsForm.addControl("withHoldTax",new G(!1)),this.fixedDepositAccountSettingsForm.get("withHoldTax").valueChanges.subscribe(a=>{a?(this.fixedDepositAccountSettingsForm.addControl("taxGroupId",new G({value:"",disabled:!0})),this.fixedDepositAccountSettingsForm.get("taxGroupId").patchValue(this.fixedDepositsAccountProductTemplate.taxGroup&&this.fixedDepositsAccountProductTemplate.taxGroup.name)):this.fixedDepositAccountSettingsForm.removeControl("taxGroupId")}),this.fixedDepositAccountSettingsForm.get("withHoldTax").patchValue(this.fixedDepositsAccountTemplate.withHoldTax)):this.fixedDepositAccountSettingsForm.removeControl("withHoldTax"),this.setOptions())}ngOnInit(){this.maxDate=this.settingsService.businessDate,this.fixedDepositsAccountTemplate&&this.fixedDepositAccountSettingsForm.patchValue({lockinPeriodFrequency:this.fixedDepositsAccountTemplate.lockinPeriodFrequency,lockinPeriodFrequencyType:this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType&&this.fixedDepositsAccountTemplate.lockinPeriodFrequencyType.id,transferInterestToSavings:this.fixedDepositsAccountTemplate.transferInterestToSavings})}createFixedDepositAccountSettingsForm(){this.fixedDepositAccountSettingsForm=this.formBuilder.group({lockinPeriodFrequency:[""],lockinPeriodFrequencyType:[""],minDepositTerm:[{value:"",disabled:!0}],minDepositTermTypeId:[{value:"",disabled:!0}],inMultiplesOfDepositTerm:[{value:"",disabled:!0}],inMultiplesOfDepositTermTypeId:[{value:"",disabled:!0}],maxDepositTerm:[{value:"",disabled:!0}],maxDepositTermTypeId:[{value:"",disabled:!0}],transferInterestToSavings:[!1],preClosurePenalApplicable:[{value:"",disabled:!0}],preClosurePenalInterest:[{value:"",disabled:!0}],preClosurePenalInterestOnTypeId:[{value:"",disabled:!0}],maturityInstructionId:[""]})}buildDependencies(){this.fixedDepositAccountSettingsForm.get("transferInterestToSavings").valueChanges.subscribe(a=>{a?(this.fixedDepositAccountSettingsForm.addControl("linkAccountId",new G("",R.required)),this.fixedDepositAccountSettingsForm.get("linkAccountId").patchValue(this.fixedDepositsAccountTemplate.linkedAccount&&this.fixedDepositsAccountTemplate.linkedAccount.id)):this.fixedDepositAccountSettingsForm.removeControl("linkAccountId")}),this.fixedDepositAccountSettingsForm.get("maturityInstructionId").valueChanges.subscribe(a=>{a>100?(this.fixedDepositAccountSettingsForm.addControl("transferToSavingsId",new G("",R.required)),this.fixedDepositAccountSettingsForm.get("transferToSavingsId").patchValue(this.fixedDepositsAccountTemplate.transferToSavingsId&&this.fixedDepositsAccountTemplate.transferToSavingsId.id)):this.fixedDepositAccountSettingsForm.removeControl("transferToSavingsId")})}setOptions(){this.lockinPeriodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,this.periodFrequencyTypeData=this.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,this.savingsAccountsData=this.fixedDepositsAccountProductTemplate.savingsAccounts,this.preClosurePenalInterestOnTypeData=this.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnTypeOptions,this.maturityInstructionOptions=this.fixedDepositsAccountProductTemplate.maturityInstructionOptions}get fixedDepositAccountSettings(){let a=this.fixedDepositAccountSettingsForm.getRawValue();for(let l in a)(a[l]===""||l==="taxGroupId")&&delete a[l];return a}static{this.\u0275fac=function(l){return new(l||e)(_(rt),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-settings-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:200,vars:91,consts:[[3,"formGroup"],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"mat-h4","flex-98"],[1,"flex-48"],["type","number","matInput","","formControlName","lockinPeriodFrequency"],["formControlName","lockinPeriodFrequencyType"],[3,"value",4,"ngFor","ngForOf"],["type","number","matInput","","formControlName","minDepositTerm","required",""],["formControlName","minDepositTermTypeId","required",""],["type","number","matInput","","formControlName","inMultiplesOfDepositTerm"],["formControlName","inMultiplesOfDepositTermTypeId"],["type","number","matInput","","formControlName","maxDepositTerm"],["formControlName","maxDepositTermTypeId"],[1,"flex-98"],[1,"mat-h3","flex-23"],["labelPosition","before","formControlName","transferInterestToSavings",1,"flex-32","margin-b"],["class","margin-b flex-48",4,"ngIf"],["formControlName","maturityInstructionId"],["class","flex-48 margin-b",4,"ngIf"],[1,"mat-h4","flex-23"],["labelPosition","before","formControlName","preClosurePenalApplicable",1,"flex-73","margin-v"],["type","number","matInput","","formControlName","preClosurePenalInterest"],["formControlName","preClosurePenalInterestOnTypeId"],[4,"ngIf"],[1,"layout-row","align-center","gap-2percent","margin-t","responsive-column"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],[3,"value"],[1,"margin-b","flex-48"],["formControlName","linkAccountId","required",""],[1,"flex-48","margin-b"],["formControlName","transferToSavingsId","required",""],["labelPosition","before","formControlName","withHoldTax",1,"margin-p","flex-48"],["class","p-b-25 flex-48",4,"ngIf"],[1,"p-b-25","flex-48"],["matInput","","formControlName","taxGroupId"]],template:function(l,p){l&1&&(n(0,"form",0),t(1,`
- `),n(2,"div",1),t(3,`
- `),n(4,"h4",2),t(5),r(6,"translate"),i(),t(7,`
-
- `),n(8,"mat-form-field",3),t(9,`
- `),n(10,"mat-label"),t(11),r(12,"translate"),i(),t(13,`
- `),g(14,"input",4),t(15,`
- `),i(),t(16,`
-
- `),n(17,"mat-form-field",3),t(18,`
- `),n(19,"mat-label"),t(20),r(21,"translate"),i(),t(22,`
- `),n(23,"mat-select",5),t(24,`
- `),m(25,Tp,3,5,"mat-option",6),t(26,`
- `),i(),t(27,`
- `),i(),t(28,`
-
- `),n(29,"h4",2),t(30),r(31,"translate"),i(),t(32,`
-
- `),n(33,"mat-form-field",3),t(34,`
- `),n(35,"mat-label"),t(36),r(37,"translate"),i(),t(38,`
- `),g(39,"input",7),t(40,`
- `),n(41,"mat-error"),t(42),r(43,"translate"),r(44,"translate"),n(45,"strong"),t(46),r(47,"translate"),i(),t(48,`
- `),i(),t(49,`
- `),i(),t(50,`
-
- `),n(51,"mat-form-field",3),t(52,`
- `),n(53,"mat-label"),t(54),r(55,"translate"),i(),t(56,`
- `),n(57,"mat-select",8),t(58,`
- `),m(59,Ap,3,5,"mat-option",6),t(60,`
- `),i(),t(61,`
- `),n(62,"mat-error"),t(63),r(64,"translate"),r(65,"translate"),n(66,"strong"),t(67),r(68,"translate"),i(),t(69,`
- `),i(),t(70,`
- `),i(),t(71,`
-
- `),n(72,"h4",2),t(73),r(74,"translate"),i(),t(75,`
-
- `),n(76,"mat-form-field",3),t(77,`
- `),n(78,"mat-label"),t(79),r(80,"translate"),i(),t(81,`
- `),g(82,"input",9),t(83,`
- `),i(),t(84,`
-
- `),n(85,"mat-form-field",3),t(86,`
- `),n(87,"mat-label"),t(88),r(89,"translate"),i(),t(90,`
- `),n(91,"mat-select",10),t(92,`
- `),m(93,yp,3,5,"mat-option",6),t(94,`
- `),i(),t(95,`
- `),i(),t(96,`
-
- `),n(97,"h4",2),t(98),r(99,"translate"),i(),t(100,`
-
- `),n(101,"mat-form-field",3),t(102,`
- `),n(103,"mat-label"),t(104),r(105,"translate"),i(),t(106,`
- `),g(107,"input",11),t(108,`
- `),i(),t(109,`
-
- `),n(110,"mat-form-field",3),t(111,`
- `),n(112,"mat-label"),t(113),r(114,"translate"),i(),t(115,`
- `),n(116,"mat-select",12),t(117,`
- `),m(118,Op,3,5,"mat-option",6),t(119,`
- `),i(),t(120,`
- `),i(),t(121,`
-
- `),g(122,"mat-divider",13),t(123,`
-
- `),n(124,"h3",14),t(125),r(126,"translate"),i(),t(127,`
-
- `),n(128,"mat-checkbox",15),t(129),r(130,"translate"),i(),t(131,`
-
- `),m(132,Fp,20,13,"mat-form-field",16),t(133,`
-
- `),g(134,"mat-divider",13),t(135,`
-
- `),n(136,"mat-form-field",3),t(137,`
- `),n(138,"mat-label"),t(139),r(140,"translate"),i(),t(141,`
- `),n(142,"mat-select",17),t(143,`
- `),m(144,Ep,3,5,"mat-option",6),t(145,`
- `),i(),t(146,`
- `),i(),t(147,`
-
- `),m(148,Bp,20,13,"mat-form-field",18),t(149,`
-
- `),g(150,"mat-divider",13),t(151,`
-
- `),n(152,"h4",19),t(153),r(154,"translate"),i(),t(155,`
-
- `),n(156,"mat-checkbox",20),t(157),r(158,"translate"),i(),t(159,`
-
- `),n(160,"mat-form-field",3),t(161,`
- `),n(162,"mat-label"),t(163),r(164,"translate"),i(),t(165,`
- `),g(166,"input",21),t(167,`
- `),i(),t(168,`
-
- `),n(169,"mat-form-field",3),t(170,`
- `),n(171,"mat-label"),t(172),r(173,"translate"),i(),t(174,`
- `),n(175,"mat-select",22),t(176,`
- `),m(177,kp,3,5,"mat-option",6),t(178,`
- `),i(),t(179,`
- `),i(),t(180,`
-
- `),m(181,Np,10,4,"ng-container",23),t(182,`
- `),i(),t(183,`
-
- `),n(184,"div",24),t(185,`
- `),n(186,"button",25),t(187,`
- `),g(188,"fa-icon",26),t(189),r(190,"translate"),i(),t(191,`
- `),n(192,"button",27),t(193),r(194,"translate"),g(195,"fa-icon",28),t(196,`
- `),i(),t(197,`
- `),i(),t(198,`
-`),i(),t(199,`
-`)),l&2&&(d("formGroup",p.fixedDepositAccountSettingsForm),o(5),u(c(6,37,"labels.heading.Lock-in Period")),o(6),u(c(12,39,"labels.inputs.Frequency")),o(9),u(c(21,41,"labels.inputs.Type")),o(5),d("ngForOf",p.lockinPeriodFrequencyTypeData),o(5),u(c(31,43,"labels.heading.Minimum Deposit Term")),o(6),u(c(37,45,"labels.inputs.Frequency")),o(6),S(`
- `,c(43,47,"labels.inputs.Minimum Deposit Term Frequency")," ",c(44,49,"labels.commons.is"),`
- `),o(4),u(c(47,51,"labels.commons.required")),o(8),u(c(55,53,"labels.inputs.Frequency Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(4),S(`
- `,c(64,55,"labels.inputs.Minimum Deposit Term Frequency Type")," ",c(65,57,"labels.commons.is"),`
- `),o(4),u(c(68,59,"labels.commons.required")),o(6),u(c(74,61,"labels.heading.And thereafter, in Multiples of")),o(6),u(c(80,63,"labels.inputs.Frequency")),o(9),u(c(89,65,"labels.inputs.Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(5),u(c(99,67,"labels.heading.Maximum Deposit Term")),o(6),u(c(105,69,"labels.inputs.Frequency")),o(9),u(c(114,71,"labels.inputs.Type")),o(5),d("ngForOf",p.periodFrequencyTypeData),o(7),u(c(126,73,"labels.heading.Interest Transfer")),o(4),f(`
- `,c(130,75,"labels.inputs.Transfer Interest to Linked Savings Account"),`?
- `),o(3),d("ngIf",p.fixedDepositAccountSettingsForm.contains("linkAccountId")),o(7),u(c(140,77,"labels.inputs.Maturity Instructions")),o(5),d("ngForOf",p.maturityInstructionOptions),o(4),d("ngIf",p.fixedDepositAccountSettingsForm.contains("transferToSavingsId")),o(5),u(c(154,79,"labels.heading.For Pre-mature closure")),o(4),f(`
- `,c(158,81,"labels.inputs.Apply Penal Interest (less)"),`
- `),o(6),f("",c(164,83,"labels.inputs.Penal Interest")," (%)"),o(9),u(c(173,85,"labels.inputs.Period")),o(5),d("ngForOf",p.preClosurePenalInterestOnTypeData),o(4),d("ngIf",p.fixedDepositAccountSettingsForm.controls.withHoldTax),o(8),f(`
- `,c(190,87,"labels.buttons.Previous"),`
- `),o(4),f(`
- `,c(194,89,"labels.buttons.Next"),`
- `))},dependencies:[_t,F,tt,Pt,E,Le,Ne,Y,Q,st,pt,Mt,oe,Lt,it,et,Gt,K,nt,lt,at,ot,O,Tt],styles:["h4[_ngcontent-%COMP%]{font-weight:500;margin:1em 0}h3[_ngcontent-%COMP%]{font-weight:500}mat-divider[_ngcontent-%COMP%]{margin:1em 0 2em}.margin-v[_ngcontent-%COMP%]{margin:1em 0}.margin-b[_ngcontent-%COMP%]{margin:0 0 1em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-p[_ngcontent-%COMP%]{margin-top:1.7em}"]})}}return e})();var Vp=()=>[2e3];function qp(e,s){if(e&1&&(n(0,"mat-option",24),t(1),i()),e&2){let a=s.$implicit;d("value",a),o(),f(`
- `,a.name,`
- `)}}function jp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function zp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.name+", "+a.currency.displaySymbol,`
- `)}}function $p(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Type")))}function Hp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.chargeCalculationType.value,`
- `)}}function Up(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function Gp(e,s){if(e&1){let a=y();n(0,"td",26),t(1),n(2,"button",27),b("click",function(){let p=P(a).$implicit,x=C();return M(x.editChargeAmount(p))}),t(3,`
- `),g(4,"fa-icon",28),t(5,`
- `),i(),t(6,`
- `),i()}if(e&2){let a=s.$implicit;o(),f(`
- `,a.amount,`
- `)}}function Lp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Collected On")))}function Wp(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.chargeTimeType.value,`
- `)}}function Kp(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Date")))}function Qp(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
- `,c(2,1,a.dueDate)||"Unassigned*",`
- `)}}function Yp(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
- `,a.feeOnMonthDay?I(2,1,B(4,Vp).concat(a.feeOnMonthDay),"dd MMMM"):"Unassigned",`
- `)}}function Jp(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
- `,c(2,1,"labels.inputs.N/A"),`
- `))}function Xp(e,s){if(e&1){let a=y();n(0,"button",27),b("click",function(){P(a);let p=C().$implicit,x=C();return M(x.editChargeDate(p))}),t(1,`
- `),g(2,"fa-icon",28),t(3,`
- `),i()}}function Zp(e,s){if(e&1&&(n(0,"td",26),t(1,`
- `),m(2,Qp,3,3,"span",29),t(3,`
- `),m(4,Yp,3,5,"span",29),t(5,`
- `),m(6,Jp,3,3,"span",29),t(7,`
- `),m(8,Xp,4,0,"button",30),t(9,`
- `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"),o(2),d("ngIf",a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"),o(2),d("ngIf",!(a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee")),o(2),d("ngIf",a.chargeTimeType.value==="Weekly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date")}}function t0(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repayments Every")))}function e0(e,s){if(e&1){let a=y();n(0,"button",27),b("click",function(){P(a);let p=C().$implicit,x=C();return M(x.editChargeFeeInterval(p))}),t(1,`
- `),g(2,"fa-icon",28),t(3,`
- `),i()}}function n0(e,s){if(e&1&&(n(0,"td",26),t(1),m(2,e0,4,0,"button",30),t(3,`
- `),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.feeInterval||"Not Provided",`
- `),o(),d("ngIf",a.chargeTimeType.value==="Weekly Fee"||a.chargeTimeType.value==="Monthly Fee")}}function i0(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function a0(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
- `),n(2,"button",31),b("click",function(){let p=P(a).$implicit,x=C();return M(x.deleteCharge(p))}),t(3,`
- `),g(4,"fa-icon",32),t(5,`
- `),i(),t(6,`
- `),i()}}function o0(e,s){e&1&&g(0,"tr",33)}function r0(e,s){e&1&&g(0,"tr",34)}var he=(()=>{class e{constructor(a,l,p){this.dialog=a,this.dateUtils=l,this.settingsService=p,this.currency=null,this.chargesDataSource=[],this.displayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery","action"],this.isChargesPatched=!1,this.pristine=!0}ngOnInit(){this.chargesDataSource=[],this.fixedDepositsAccountTemplate.id&&this.fixedDepositsAccountTemplate.charges&&(this.chargesDataSource=this.fixedDepositsAccountTemplate.charges.map(a=>U(V({},a),{id:a.chargeId}))||[])}ngOnChanges(){this.currency==null&&(this.fixedDepositsAccountTemplate.currency?this.currency=this.fixedDepositsAccountTemplate.currency:this.fixedDepositsAccountProductTemplate&&this.fixedDepositsAccountProductTemplate.currency&&(this.currency=this.fixedDepositsAccountProductTemplate.currency)),this.fixedDepositsAccountProductTemplate&&(this.chargeData=this.fixedDepositsAccountProductTemplate.chargeOptions.filter(a=>a.currency.code===this.currency.code))}addCharge(a){this.chargesDataSource=this.chargesDataSource.concat([a.value]),a.value="",this.pristine=!1}editChargeAmount(a){let l=[new Ve({controlName:"amount",label:"Amount",value:a.amount,type:"number",required:!1})],p={title:"Edit Charge Amount",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=U(V({},a),{amount:h.data.value.amount});this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeDate(a){let l=[new en({controlName:"date",label:"Date",value:a.dueDate||a.feeOnMonthDay||"",type:"datetime-local",required:!1})],p={title:"Edit Charge Date",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T,Z=this.settingsService.dateFormat,Yt=this.dateUtils.formatDate(h.data.value.date,Z);switch(a.chargeTimeType.value){case"Specified due date":case"Weekly Fee":T=U(V({},a),{dueDate:Yt});break;case"Annual Fee":T=U(V({},a),{feeOnMonthDay:Yt});break}this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}editChargeFeeInterval(a){let l=[new Ve({controlName:"feeInterval",label:"Fee Interval",value:a.feeInterval,type:"text",required:!1})],p={title:"Edit Charge Fee Interval",layout:{addButtonText:"Confirm"},formfields:l};this.dialog.open(ve,{data:p}).afterClosed().subscribe(h=>{if(h.data){let T=U(V({},a),{feeInterval:h.data.value.feeInterval});this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1,T),this.chargesDataSource=this.chargesDataSource.concat([])}}),this.pristine=!1}deleteCharge(a){this.chargesDataSource.splice(this.chargesDataSource.indexOf(a),1),this.chargesDataSource=this.chargesDataSource.concat([]),this.pristine=!1}get fixedDepositAccountCharges(){return{charges:this.chargesDataSource}}static{this.\u0275fac=function(l){return new(l||e)(_(Ut),_(W),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-charges-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountFormValid:"fixedDepositAccountFormValid"},features:[Zt],decls:96,vars:19,consts:[["charge",""],[1,"layout-row-wrap","gap-2px","responsive-column"],[1,"flex-48"],[3,"value",4,"ngFor","ngForOf"],[1,"flex-48","align-center"],["type","button","mat-raised-button","","color","primary",3,"click","disabled"],["icon","plus",1,"m-r-10"],["mat-table","",1,"flex-98","mat-elevation-z1",3,"dataSource","hidden"],["matColumnDef","name"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","chargeCalculationType"],["matColumnDef","amount"],["matColumnDef","chargeTimeType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","action"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext","",3,"disabled"],["icon","arrow-right",1,"m-l-10"],[3,"value"],["mat-header-cell",""],["mat-cell",""],["mat-icon-button","","color","primary",3,"click"],["icon","pen"],[4,"ngIf"],["mat-icon-button","","color","primary",3,"click",4,"ngIf"],["mat-icon-button","","color","warn",3,"click"],["icon","trash"],["mat-header-row",""],["mat-row",""]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-form-field",2),t(3,`
- `),n(4,"mat-label"),t(5),r(6,"translate"),i(),t(7,`
- `),n(8,"mat-select",null,0),t(10,`
- `),m(11,qp,2,2,"mat-option",3),t(12,`
- `),i(),t(13,`
- `),i(),t(14,`
-
- `),n(15,"div",4),t(16,`
- `),n(17,"button",5),b("click",function(){P(x);let T=w(9);return M(p.addCharge(T))}),t(18,`
- `),g(19,"fa-icon",6),t(20),r(21,"translate"),i(),t(22,`
- `),i(),t(23,`
-
- `),n(24,"table",7),t(25,`
- `),v(26,8),t(27,`
- `),m(28,jp,3,3,"th",9),t(29,`
- `),m(30,zp,2,1,"td",10),t(31,`
- `),D(),t(32,`
-
- `),v(33,11),t(34,`
- `),m(35,$p,3,3,"th",9),t(36,`
- `),m(37,Hp,2,1,"td",10),t(38,`
- `),D(),t(39,`
-
- `),v(40,12),t(41,`
- `),m(42,Up,3,3,"th",9),t(43,`
- `),m(44,Gp,7,1,"td",10),t(45,`
- `),D(),t(46,`
-
- `),v(47,13),t(48,`
- `),m(49,Lp,3,3,"th",9),t(50,`
- `),m(51,Wp,2,1,"td",10),t(52,`
- `),D(),t(53,`
-
- `),v(54,14),t(55,`
- `),m(56,Kp,3,3,"th",9),t(57,`
- `),m(58,Zp,10,4,"td",10),t(59,`
- `),D(),t(60,`
-
- `),v(61,15),t(62,`
- `),m(63,t0,3,3,"th",9),t(64,`
- `),m(65,n0,4,2,"td",10),t(66,`
- `),D(),t(67,`
-
- `),v(68,16),t(69,`
- `),m(70,i0,3,3,"th",9),t(71,`
- `),m(72,a0,7,0,"td",10),t(73,`
- `),D(),t(74,`
-
- `),m(75,o0,1,0,"tr",17),t(76,`
- `),m(77,r0,1,0,"tr",18),t(78,`
- `),i(),t(79,`
-`),i(),t(80,`
-
-`),n(81,"div",19),t(82,`
- `),n(83,"button",20),t(84,`
- `),g(85,"fa-icon",21),t(86),r(87,"translate"),i(),t(88,`
- `),n(89,"button",22),t(90),r(91,"translate"),g(92,"fa-icon",23),t(93,`
- `),i(),t(94,`
-`),i(),t(95,`
-`)}if(l&2){let x=w(9);o(5),u(c(6,11,"labels.inputs.Charge")),o(6),d("ngForOf",p.chargeData),o(6),d("disabled",!x.value),o(3),f(`
- `,c(21,13,"labels.buttons.Add"),`
- `),o(4),d("dataSource",p.chargesDataSource)("hidden",p.chargesDataSource.length===0),o(51),d("matHeaderRowDef",p.displayedColumns),o(2),d("matRowDefColumns",p.displayedColumns),o(9),f(`
- `,c(87,15,"labels.buttons.Previous"),`
- `),o(3),d("disabled",!p.fixedDepositAccountFormValid),o(),f(`
- `,c(91,17,"labels.buttons.Next"),`
- `)}},dependencies:[_t,F,tt,Pt,E,Be,Y,Q,Mt,oe,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,O,At],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}"]})}}return e})();var p0=["chartsTable"];function c0(e,s){if(e&1&&(n(0,"div",3),t(1,`
- `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",5),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.name"),":"),o(4),u(a.fixedDepositsAccountProductTemplate.accountChart.name)}}function l0(e,s){if(e&1&&(n(0,"div",3),t(1,`
- `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",5),t(7),r(8,"dateFormat"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.End Date"),":"),o(4),u(c(8,4,a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function s0(e,s){if(e&1&&(n(0,"div",3),t(1,`
- `),n(2,"span",4),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",5),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Description"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.description)}}function m0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function d0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),le(`
- `,a.fromPeriod,"-",a.toPeriod,"\xA0",a.periodType.value,`
- `)}}function u0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function x0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),S("",a.amountRangeFrom,"-",a.amountRangeTo,"")}}function f0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function g0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),u(a.annualInterestRate)}}function _0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function C0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function h0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function v0(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",27),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.View Incentives"),`
- `))}function D0(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",28),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.Hide Incentives"),`
- `))}function b0(e,s){if(e&1){let a=y();n(0,"td",24),t(1,`
- `),n(2,"button",25),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
- `),m(4,v0,5,3,"span",26),t(5,`
- `),m(6,D0,5,3,"span",26),t(7,`
- `),i(),t(8,`
- `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function S0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function P0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.entityType.value,`
- `)}}function M0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function T0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.attributeName.value,`
- `)}}function A0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function y0(e,s){if(e&1&&(n(0,"td",24),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
- `,c(2,1,a.conditionType.value),`
- `)}}function O0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function I0(e,s){if(e&1&&(n(0,"td",41),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
- `,a.attributeValueDesc,`
- `)}}function F0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function E0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.incentiveType.value,`
- `)}}function w0(e,s){e&1&&(n(0,"th",23),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function B0(e,s){if(e&1&&(n(0,"td",24),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.amount,`
- `)}}function k0(e,s){e&1&&g(0,"tr",42)}function R0(e,s){e&1&&g(0,"tr",43)}function N0(e,s){if(e&1&&(n(0,"table",33),t(1,`
- `),v(2,34),t(3,`
- `),m(4,S0,3,3,"th",8),t(5,`
- `),m(6,P0,2,1,"td",9),t(7,`
- `),D(),t(8,`
-
- `),v(9,35),t(10,`
- `),m(11,M0,3,3,"th",8),t(12,`
- `),m(13,T0,2,1,"td",9),t(14,`
- `),D(),t(15,`
-
- `),v(16,36),t(17,`
- `),m(18,A0,3,3,"th",8),t(19,`
- `),m(20,y0,3,3,"td",9),t(21,`
- `),D(),t(22,`
-
- `),v(23,37),t(24,`
- `),m(25,O0,3,3,"th",8),t(26,`
- `),m(27,I0,2,2,"td",38),t(28,`
- `),D(),t(29,`
-
- `),v(30,39),t(31,`
- `),m(32,F0,3,3,"th",8),t(33,`
- `),m(34,E0,2,1,"td",9),t(35,`
- `),D(),t(36,`
-
- `),v(37,40),t(38,`
- `),m(39,w0,3,3,"th",8),t(40,`
- `),m(41,B0,2,1,"td",9),t(42,`
- `),D(),t(43,`
-
- `),m(44,k0,1,0,"tr",15),t(45,`
- `),m(46,R0,1,0,"tr",16),t(47,`
- `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function V0(e,s){if(e&1&&(n(0,"td",24),t(1,`
- `),n(2,"div",29),t(3,`
- `),n(4,"mat-card",30),t(5,`
- `),n(6,"h4",31),t(7),r(8,"translate"),i(),t(9,`
-
- `),m(10,N0,48,3,"table",32),t(11,`
- `),i(),t(12,`
- `),i(),t(13,`
- `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
- `,c(8,4,"labels.heading.Incentives"),`
- `),o(3),d("ngIf",a.incentives.length)}}function q0(e,s){e&1&&g(0,"tr",42)}function j0(e,s){e&1&&g(0,"tr",43)}function z0(e,s){e&1&&g(0,"tr",44)}var on=(()=>{class e{constructor(){this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"]}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs,this.chartsTableRef.renderRows())}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-interest-rate-chart-step"]],viewQuery:function(l,p){if(l&1&&xt(p0,7),l&2){let x;ft(x=gt())&&(p.chartsTableRef=x.first)}},inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate"},features:[Zt],decls:95,vars:23,consts:[["chartsTable",""],[1,"layout-column","gap-2px"],["class","flex-fill",4,"ngIf"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","","matStepperNext",""],["icon","arrow-right",1,"m-l-10"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"incentives","layout-row-wrap","flex-fill"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"]],template:function(l,p){l&1&&(n(0,"div",1),t(1,`
- `),m(2,c0,9,4,"div",2),t(3,`
-
- `),n(4,"div",3),t(5,`
- `),n(6,"span",4),t(7),r(8,"translate"),i(),t(9,`
- `),n(10,"span",5),t(11),r(12,"dateFormat"),i(),t(13,`
- `),i(),t(14,`
-
- `),m(15,l0,10,6,"div",2),t(16,`
-
- `),m(17,s0,9,4,"div",2),t(18,`
-
- `),n(19,"div",3),t(20,`
- `),n(21,"span",4),t(22),r(23,"translate"),i(),t(24,`
- `),n(25,"span",5),t(26),i(),t(27,`
- `),i(),t(28,`
-
- `),n(29,"table",6,0),t(31,`
- `),v(32,7),t(33,`
- `),m(34,m0,3,3,"th",8),t(35,`
- `),m(36,d0,2,3,"td",9),t(37,`
- `),D(),t(38,`
-
- `),v(39,10),t(40,`
- `),m(41,u0,3,3,"th",8),t(42,`
- `),m(43,x0,2,2,"td",9),t(44,`
- `),D(),t(45,`
-
- `),v(46,11),t(47,`
- `),m(48,f0,3,3,"th",8),t(49,`
- `),m(50,g0,2,1,"td",9),t(51,`
- `),D(),t(52,`
-
- `),v(53,12),t(54,`
- `),m(55,_0,3,3,"th",8),t(56,`
- `),m(57,C0,2,1,"td",9),t(58,`
- `),D(),t(59,`
-
- `),v(60,13),t(61,`
- `),m(62,h0,3,3,"th",8),t(63,`
- `),m(64,b0,9,2,"td",9),t(65,`
- `),D(),t(66,`
-
- `),v(67,14),t(68,`
- `),m(69,V0,14,6,"td",9),t(70,`
- `),D(),t(71,`
-
- `),m(72,q0,1,0,"tr",15),t(73,`
- `),m(74,j0,1,0,"tr",16),t(75,`
- `),m(76,z0,1,0,"tr",17),t(77,`
- `),i(),t(78,`
-`),i(),t(79,`
-
-`),n(80,"div",18),t(81,`
- `),n(82,"button",19),t(83,`
- `),g(84,"fa-icon",20),t(85),r(86,"translate"),i(),t(87,`
- `),n(88,"button",21),t(89),r(90,"translate"),g(91,"fa-icon",22),t(92,`
- `),i(),t(93,`
-`),i(),t(94,`
-`)),l&2&&(o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.name),o(5),f("",c(8,13,"labels.inputs.Valid from Date"),":"),o(4),u(c(12,15,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.fromDate)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.endDate),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.description),o(5),f("",c(23,17,"labels.inputs.Primary Grouping by Amount"),":"),o(4),u(p.fixedDepositsAccountProductTemplate!=null&&p.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount?"Yes":"No"),o(3),d("dataSource",p.interestRateChartData),o(43),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns),o(9),f(`
- `,c(86,19,"labels.buttons.Previous"),`
- `),o(4),f(`
- `,c(90,21,"labels.buttons.Next"),`
- `))},dependencies:[F,Oe,tt,E,$,oe,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,Ie,O,At],styles:[".margin-t[_ngcontent-%COMP%]{margin-top:2em}table[_ngcontent-%COMP%]{width:100%}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();var $0=()=>["../.."],H0=()=>[2e3];function U0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.External Id")),o(4),u(a.fixedDepositAccountData.externalId)}}function G0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"find"),r(9,"translateKey"),i(),t(10,`
- `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.Lock-in Period"),":"),o(4),S("",a.fixedDepositAccountData.lockinPeriodFrequency,`
- `,I(9,10,J(8,5,a.fixedDepositAccountData.lockinPeriodFrequencyType,a.fixedDepositsAccountProductTemplate.lockinPeriodFrequencyTypeOptions,"id","value"),"catalogs"),"")}}function L0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"translateKey"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.Minimum Deposit Term"),":"),o(4),S("",a.fixedDepositsAccountProductTemplate.minDepositTerm,`
- `,I(8,5,a.fixedDepositsAccountProductTemplate.minDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.minDepositTermType.value,"catalogs"),"")}}function W0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"translateKey"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),f("",c(4,3,"labels.inputs.In Multiples Of"),":"),o(4),S("",a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm,`
- `,I(8,5,a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTermType.value,"catalogs"),"")}}function K0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"translateKey"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Maximum Deposit Term")),o(4),S("",a.fixedDepositsAccountProductTemplate.maxDepositTerm,`
- `,I(8,5,a.fixedDepositsAccountProductTemplate.maxDepositTermType==null?null:a.fixedDepositsAccountProductTemplate.maxDepositTermType.value,"catalogs"),"")}}function Q0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"find"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Linked Savings Account")),o(4),u(J(8,4,a.fixedDepositAccountData.linkAccountId,a.fixedDepositsAccountProductTemplate.savingsAccounts,"id","accountNo"))}}function Y0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"find"),r(9,"translateKey"),i(),t(10,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Maturity Instructions")),o(4),u(I(9,9,J(8,4,a.fixedDepositAccountData.maturityInstructionId,a.fixedDepositsAccountProductTemplate.maturityInstructionOptions,"id","value"),"catalogs"))}}function J0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Penal Interest")," (%):"),o(4),u(a.fixedDepositsAccountProductTemplate.preClosurePenalInterest+"% ("+(a.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType==null?null:a.fixedDepositsAccountProductTemplate.preClosurePenalInterestOnType.id)+")")}}function X0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"yesNo"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Withhold Tax is Applicable"),":"),o(4),u(c(8,4,a.fixedDepositAccountData.withHoldTax))}}function Z0(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.name"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.name)}}function tc(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),r(8,"dateFormat"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.End Date"),":"),o(4),u(c(8,4,a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.endDate))}}function ec(e,s){if(e&1&&(n(0,"div",2),t(1,`
- `),n(2,"span",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"span",4),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),f("",c(4,2,"labels.inputs.Description"),":"),o(4),u(a.fixedDepositsAccountProductTemplate==null?null:a.fixedDepositsAccountProductTemplate.accountChart.description)}}function nc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Period")))}function ic(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"translateKey"),i()),e&2){let a=s.$implicit;o(),le(`
- `,a.fromPeriod," - ",a.toPeriod,"\xA0",I(2,3,a.periodType.value,"catalogs"),`
- `)}}function ac(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount Range")))}function oc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),r(3,"formatNumber"),i()),e&2){let a=s.$implicit;o(),S(`
- `,c(2,2,a.amountRangeFrom)," - ",c(3,4,a.amountRangeTo),`
- `)}}function rc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function pc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f("",c(2,1,a.annualInterestRate)," %")}}function cc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Description")))}function lc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),u(a.description)}}function sc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Actions")))}function mc(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",29),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.View Incentives"),`
- `))}function dc(e,s){e&1&&(n(0,"span"),t(1,`
- `),g(2,"fa-icon",30),t(3),r(4,"translate"),i()),e&2&&(o(3),f(`
- `,c(4,1,"labels.buttons.Hide Incentives"),`
- `))}function uc(e,s){if(e&1){let a=y();n(0,"td",26),t(1,`
- `),n(2,"button",27),b("click",function(){let p=P(a).dataIndex,x=C();return M(x.expandChartSlabIndex=x.expandChartSlabIndex===p?null:p)}),t(3,`
- `),m(4,mc,5,3,"span",28),t(5,`
- `),m(6,dc,5,3,"span",28),t(7,`
- `),i(),t(8,`
- `),i()}if(e&2){let a=s.dataIndex,l=C();o(4),d("ngIf",l.expandChartSlabIndex!==a),o(2),d("ngIf",l.expandChartSlabIndex===a)}}function xc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Entity Type")))}function fc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.entityType.value,`
- `)}}function gc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Name")))}function _c(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.attributeName.value,`
- `)}}function Cc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Condition Type")))}function hc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"titlecase"),i()),e&2){let a=s.$implicit;o(),f(`
- `,c(2,1,a.conditionType.value),`
- `)}}function vc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Attribute Value")))}function Dc(e,s){if(e&1&&(n(0,"td",43),t(1),i()),e&2){let a=s.$implicit;d("ngSwitch",a.attributeName),o(),f(`
- `,a.attributeValueDesc,`
- `)}}function bc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Incentive Type")))}function Sc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.incentiveType.value,`
- `)}}function Pc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Interest")))}function Mc(e,s){if(e&1&&(n(0,"td",26),t(1),r(2,"formatNumber"),i()),e&2){let a=s.$implicit;o(),f(`
- `,c(2,1,a.amount),`
- `)}}function Tc(e,s){e&1&&g(0,"tr",44)}function Ac(e,s){e&1&&g(0,"tr",45)}function yc(e,s){if(e&1&&(n(0,"table",35),t(1,`
- `),v(2,36),t(3,`
- `),m(4,xc,3,3,"th",9),t(5,`
- `),m(6,fc,2,1,"td",10),t(7,`
- `),D(),t(8,`
-
- `),v(9,37),t(10,`
- `),m(11,gc,3,3,"th",9),t(12,`
- `),m(13,_c,2,1,"td",10),t(14,`
- `),D(),t(15,`
-
- `),v(16,38),t(17,`
- `),m(18,Cc,3,3,"th",9),t(19,`
- `),m(20,hc,3,3,"td",10),t(21,`
- `),D(),t(22,`
-
- `),v(23,39),t(24,`
- `),m(25,vc,3,3,"th",9),t(26,`
- `),m(27,Dc,2,2,"td",40),t(28,`
- `),D(),t(29,`
-
- `),v(30,41),t(31,`
- `),m(32,bc,3,3,"th",9),t(33,`
- `),m(34,Sc,2,1,"td",10),t(35,`
- `),D(),t(36,`
-
- `),v(37,42),t(38,`
- `),m(39,Pc,3,3,"th",9),t(40,`
- `),m(41,Mc,3,3,"td",10),t(42,`
- `),D(),t(43,`
-
- `),m(44,Tc,1,0,"tr",16),t(45,`
- `),m(46,Ac,1,0,"tr",17),t(47,`
- `),i()),e&2){let a=C().$implicit,l=C();d("dataSource",a.incentives),o(44),d("matHeaderRowDef",l.incentivesDisplayedColumns),o(2),d("matRowDefColumns",l.incentivesDisplayedColumns)}}function Oc(e,s){if(e&1&&(n(0,"td",26),t(1,`
- `),n(2,"div",31),t(3,`
- `),n(4,"mat-card",32),t(5,`
- `),n(6,"h4",33),t(7),r(8,"translate"),i(),t(9,`
-
- `),m(10,yc,48,3,"table",34),t(11,`
- `),i(),t(12,`
- `),i(),t(13,`
- `),i()),e&2){let a=s.$implicit,l=s.dataIndex,p=C();Ae("colspan",p.chartSlabsDisplayedColumns.length),o(2),d("@expandChartSlab",l===p.expandChartSlabIndex?"expanded":"collapsed"),o(5),f(`
- `,c(8,4,"labels.heading.Incentives"),`
- `),o(3),d("ngIf",a.incentives.length)}}function Ic(e,s){e&1&&g(0,"tr",44)}function Fc(e,s){e&1&&g(0,"tr",45)}function Ec(e,s){e&1&&g(0,"tr",46)}function wc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.name")))}function Bc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.name+", "+a.currency.displaySymbol,`
- `)}}function kc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Type")))}function Rc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.chargeCalculationType.value,`
- `)}}function Nc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Amount")))}function Vc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.amount,`
- `)}}function qc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Date")))}function jc(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
- `,c(2,1,a.dueDate)||"Unassigned",`
- `)}}function zc(e,s){if(e&1&&(n(0,"span"),t(1),r(2,"dateFormat"),i()),e&2){let a=C().$implicit;o(),f(`
- `,a.feeOnMonthDay?I(2,1,B(4,H0).concat(a.feeOnMonthDay),"dd MMMM"):"Unassigned",`
- `)}}function $c(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
- `,c(2,1,"labels.inputs.N/A"),`
- `))}function Hc(e,s){if(e&1&&(n(0,"td",26),t(1,`
- `),m(2,jc,3,3,"span",28),t(3,`
- `),m(4,zc,3,5,"span",28),t(5,`
- `),m(6,$c,3,3,"span",28),t(7,`
- `),i()),e&2){let a=s.$implicit;o(2),d("ngIf",a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"),o(2),d("ngIf",a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"),o(2),d("ngIf",!(a.chargeTimeType.value==="Monthly Fee"||a.chargeTimeType.value==="Annual Fee"||a.chargeTimeType.value==="Specified due date"||a.chargeTimeType.value==="Weekly Fee"))}}function Uc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Repayments Every")))}function Gc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.feeInterval||"Not Provided",`
- `)}}function Lc(e,s){e&1&&(n(0,"th",25),t(1),r(2,"translate"),i()),e&2&&(o(),u(c(2,1,"labels.inputs.Collected On")))}function Wc(e,s){if(e&1&&(n(0,"td",26),t(1),i()),e&2){let a=s.$implicit;o(),f(`
- `,a.chargeTimeType.value,`
- `)}}function Kc(e,s){e&1&&g(0,"tr",44)}function Qc(e,s){e&1&&g(0,"tr",45)}function Yc(e,s){if(e&1&&(n(0,"div",47),t(1,`
- `),n(2,"h3",1),t(3),r(4,"translate"),i(),t(5,`
-
- `),g(6,"mat-divider",2),t(7,`
- `),n(8,"table",35),t(9,`
- `),v(10,48),t(11,`
- `),m(12,wc,3,3,"th",9),t(13,`
- `),m(14,Bc,2,1,"td",10),t(15,`
- `),D(),t(16,`
-
- `),v(17,49),t(18,`
- `),m(19,kc,3,3,"th",9),t(20,`
- `),m(21,Rc,2,1,"td",10),t(22,`
- `),D(),t(23,`
-
- `),v(24,42),t(25,`
- `),m(26,Nc,3,3,"th",9),t(27,`
- `),m(28,Vc,2,1,"td",10),t(29,`
- `),D(),t(30,`
-
- `),v(31,50),t(32,`
- `),m(33,qc,3,3,"th",9),t(34,`
- `),m(35,Hc,8,3,"td",10),t(36,`
- `),D(),t(37,`
-
- `),v(38,51),t(39,`
- `),m(40,Uc,3,3,"th",9),t(41,`
- `),m(42,Gc,2,1,"td",10),t(43,`
- `),D(),t(44,`
-
- `),v(45,52),t(46,`
- `),m(47,Lc,3,3,"th",9),t(48,`
- `),m(49,Wc,2,1,"td",10),t(50,`
- `),D(),t(51,`
-
- `),m(52,Kc,1,0,"tr",16),t(53,`
- `),m(54,Qc,1,0,"tr",17),t(55,`
- `),i(),t(56,`
- `),i()),e&2){let a=C();o(3),u(c(4,4,"labels.heading.Charges")),o(5),d("dataSource",a.fixedDepositAccountData.charges),o(44),d("matHeaderRowDef",a.chargesDisplayedColumns),o(2),d("matRowDefColumns",a.chargesDisplayedColumns)}}var rn=(()=>{class e{constructor(){this.chargesDisplayedColumns=["name","chargeCalculationType","amount","chargeTimeType","date","repaymentsEvery"],this.interestRateChartData=[],this.chartSlabsDisplayedColumns=["period","amountRange","interest","description","actions"],this.incentivesDisplayedColumns=["entityType","attributeName","conditionType","attributeValue","incentiveType","amount"],this.chartSlabsIncentivesDisplayedColumns=["incentives"],this.submitEvent=new Ue}ngOnChanges(){this.fixedDepositsAccountProductTemplate&&(this.interestRateChartData=this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs)}static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-fixed-deposit-account-preview-step"]],inputs:{fixedDepositsAccountTemplate:"fixedDepositsAccountTemplate",fixedDepositsAccountProductTemplate:"fixedDepositsAccountProductTemplate",fixedDepositAccountData:"fixedDepositAccountData"},outputs:{submitEvent:"submitEvent"},features:[Zt],decls:307,vars:176,consts:[[1,"layout-row-wrap","responsive-column"],[1,"mat-h3","flex-fill"],[1,"flex-fill"],[1,"flex-40"],[1,"flex-60"],["class","flex-fill",4,"ngIf"],[1,"margin-b","layout-column","flex-fill"],["mat-table","","multiTemplateDataRows","",1,"mat-elevation-z1","irc-table",3,"dataSource"],["matColumnDef","period"],["mat-header-cell","",4,"matHeaderCellDef"],["mat-cell","",4,"matCellDef"],["matColumnDef","amountRange"],["matColumnDef","interest"],["matColumnDef","description"],["matColumnDef","actions"],["matColumnDef","incentives"],["mat-header-row","",4,"matHeaderRowDef"],["mat-row","",4,"matRowDef","matRowDefColumns"],["mat-row","","class","incentives-row",4,"matRowDef","matRowDefColumns"],["class","layout-row-wrap responsive-column flex-fill",4,"ngIf"],[1,"layout-row","responsive-column","align-center","gap-2px","margin-t"],["mat-raised-button","","matStepperPrevious",""],["icon","arrow-left",1,"m-r-10"],["mat-raised-button","",3,"routerLink"],["mat-raised-button","","color","primary",3,"click"],["mat-header-cell",""],["mat-cell",""],["mat-button","","color","primary",3,"click"],[4,"ngIf"],["icon","eye",1,"m-r-10"],["icon","eye-slash",1,"m-r-10"],[1,"layout-row-wrap","flex-fill","incentives"],[1,"layout-row-wrap","flex-fill"],[1,"m-b-10","flex-13"],["class","flex-fill mat-elevation-z1","mat-table","",3,"dataSource",4,"ngIf"],["mat-table","",1,"flex-fill","mat-elevation-z1",3,"dataSource"],["matColumnDef","entityType"],["matColumnDef","attributeName"],["matColumnDef","conditionType"],["matColumnDef","attributeValue"],["mat-cell","",3,"ngSwitch",4,"matCellDef"],["matColumnDef","incentiveType"],["matColumnDef","amount"],["mat-cell","",3,"ngSwitch"],["mat-header-row",""],["mat-row",""],["mat-row","",1,"incentives-row"],[1,"layout-row-wrap","responsive-column","flex-fill"],["matColumnDef","name"],["matColumnDef","chargeCalculationType"],["matColumnDef","date"],["matColumnDef","repaymentsEvery"],["matColumnDef","chargeTimeType"]],template:function(l,p){l&1&&(n(0,"div",0),t(1,`
- `),n(2,"h3",1),t(3),r(4,"translate"),i(),t(5,`
-
- `),g(6,"mat-divider",2),t(7,`
- `),n(8,"div",2),t(9,`
- `),n(10,"span",3),t(11),r(12,"translate"),i(),t(13,`
- `),n(14,"span",4),t(15),r(16,"find"),i(),t(17,`
- `),i(),t(18,`
-
- `),n(19,"div",2),t(20,`
- `),n(21,"span",3),t(22),r(23,"translate"),i(),t(24,`
- `),n(25,"span",4),t(26),r(27,"dateFormat"),i(),t(28,`
- `),i(),t(29,`
-
- `),m(30,U0,9,4,"div",5),t(31,`
-
- `),n(32,"div",2),t(33,`
- `),n(34,"span",3),t(35),r(36,"translate"),i(),t(37,`
- `),n(38,"span",4),t(39),r(40,"find"),r(41,"translateKey"),i(),t(42,`
- `),i(),t(43,`
-
- `),n(44,"h3",1),t(45),r(46,"translate"),i(),t(47,`
-
- `),g(48,"mat-divider",2),t(49,`
- `),n(50,"div",2),t(51,`
- `),n(52,"span",3),t(53),r(54,"translate"),i(),t(55,`
- `),n(56,"span",4),t(57),i(),t(58,`
- `),i(),t(59,`
-
- `),n(60,"div",2),t(61,`
- `),n(62,"span",3),t(63),r(64,"translate"),i(),t(65,`
- `),n(66,"span",4),t(67),i(),t(68,`
- `),i(),t(69,`
-
- `),n(70,"div",2),t(71,`
- `),n(72,"span",3),t(73),r(74,"translate"),i(),t(75,`
- `),n(76,"span",4),t(77),i(),t(78,`
- `),i(),t(79,`
-
- `),n(80,"h3",1),t(81),r(82,"translate"),i(),t(83,`
-
- `),g(84,"mat-divider",2),t(85,`
- `),n(86,"div",2),t(87,`
- `),n(88,"span",3),t(89),r(90,"translate"),i(),t(91,`
- `),n(92,"span",4),t(93),r(94,"currency"),i(),t(95,`
- `),i(),t(96,`
-
- `),n(97,"div",2),t(98,`
- `),n(99,"span",3),t(100),r(101,"translate"),i(),t(102,`
- `),n(103,"span",4),t(104),r(105,"find"),r(106,"translateKey"),i(),t(107,`
- `),i(),t(108,`
-
- `),n(109,"div",2),t(110,`
- `),n(111,"span",3),t(112),r(113,"translate"),i(),t(114,`
- `),n(115,"span",4),t(116),r(117,"find"),r(118,"translateKey"),i(),t(119,`
- `),i(),t(120,`
-
- `),n(121,"div",2),t(122,`
- `),n(123,"span",3),t(124),r(125,"translate"),i(),t(126,`
- `),n(127,"span",4),t(128),r(129,"find"),r(130,"translateKey"),i(),t(131,`
- `),i(),t(132,`
-
- `),n(133,"div",2),t(134,`
- `),n(135,"span",3),t(136),r(137,"translate"),i(),t(138,`
- `),n(139,"span",4),t(140),r(141,"find"),r(142,"translateKey"),i(),t(143,`
- `),i(),t(144,`
-
- `),n(145,"div",2),t(146,`
- `),n(147,"span",3),t(148),r(149,"translate"),i(),t(150,`
- `),n(151,"span",4),t(152),r(153,"find"),r(154,"translateKey"),i(),t(155,`
- `),i(),t(156,`
-
- `),n(157,"h3",1),t(158),r(159,"translate"),i(),t(160,`
-
- `),g(161,"mat-divider",2),t(162,`
- `),m(163,G0,11,13,"div",5),t(164,`
-
- `),m(165,L0,10,8,"div",5),t(166,`
-
- `),m(167,W0,10,8,"div",5),t(168,`
-
- `),m(169,K0,10,8,"div",5),t(170,`
-
- `),n(171,"div",2),t(172,`
- `),n(173,"span",3),t(174),r(175,"translate"),i(),t(176,`
- `),n(177,"span",4),t(178),r(179,"yesNo"),i(),t(180,`
- `),i(),t(181,`
-
- `),m(182,Q0,10,9,"div",5),t(183,`
-
- `),m(184,Y0,11,12,"div",5),t(185,`
-
- `),n(186,"div",2),t(187,`
- `),n(188,"span",3),t(189),r(190,"translate"),i(),t(191,`
- `),n(192,"span",4),t(193),r(194,"yesNo"),i(),t(195,`
- `),i(),t(196,`
-
- `),m(197,J0,9,4,"div",5),t(198,`
-
- `),m(199,X0,10,6,"div",5),t(200,`
-
- `),n(201,"h3",1),t(202),r(203,"translate"),i(),t(204,`
-
- `),g(205,"mat-divider",2),t(206,`
- `),n(207,"div",6),t(208,`
- `),m(209,Z0,9,4,"div",5),t(210,`
-
- `),n(211,"div",2),t(212,`
- `),n(213,"span",3),t(214),r(215,"translate"),i(),t(216,`
- `),n(217,"span",4),t(218),r(219,"dateFormat"),i(),t(220,`
- `),i(),t(221,`
-
- `),m(222,tc,10,6,"div",5),t(223,`
-
- `),m(224,ec,9,4,"div",5),t(225,`
-
- `),n(226,"div",2),t(227,`
- `),n(228,"span",3),t(229),r(230,"translate"),i(),t(231,`
- `),n(232,"span",4),t(233),r(234,"yesNo"),i(),t(235,`
- `),i(),t(236,`
-
- `),n(237,"table",7),t(238,`
- `),v(239,8),t(240,`
- `),m(241,nc,3,3,"th",9),t(242,`
- `),m(243,ic,3,6,"td",10),t(244,`
- `),D(),t(245,`
-
- `),v(246,11),t(247,`
- `),m(248,ac,3,3,"th",9),t(249,`
- `),m(250,oc,4,6,"td",10),t(251,`
- `),D(),t(252,`
-
- `),v(253,12),t(254,`
- `),m(255,rc,3,3,"th",9),t(256,`
- `),m(257,pc,3,3,"td",10),t(258,`
- `),D(),t(259,`
-
- `),v(260,13),t(261,`
- `),m(262,cc,3,3,"th",9),t(263,`
- `),m(264,lc,2,1,"td",10),t(265,`
- `),D(),t(266,`
-
- `),v(267,14),t(268,`
- `),m(269,sc,3,3,"th",9),t(270,`
- `),m(271,uc,9,2,"td",10),t(272,`
- `),D(),t(273,`
-
- `),v(274,15),t(275,`
- `),m(276,Oc,14,6,"td",10),t(277,`
- `),D(),t(278,`
-
- `),m(279,Ic,1,0,"tr",16),t(280,`
- `),m(281,Fc,1,0,"tr",17),t(282,`
- `),m(283,Ec,1,0,"tr",18),t(284,`
- `),i(),t(285,`
- `),i(),t(286,`
-
- `),m(287,Yc,57,6,"div",19),t(288,`
-`),i(),t(289,`
-
-`),n(290,"div",20),t(291,`
- `),n(292,"button",21),t(293,`
- `),g(294,"fa-icon",22),t(295),r(296,"translate"),i(),t(297,`
- `),n(298,"button",23),t(299),r(300,"translate"),i(),t(301,`
- `),n(302,"button",24),b("click",function(){return p.submitEvent.emit()}),t(303),r(304,"translate"),i(),t(305,`
-`),i(),t(306,`
-`)),l&2&&(o(3),u(c(4,59,"labels.heading.Details")),o(8),u(c(12,61,"labels.inputs.Product")),o(4),u(J(16,63,p.fixedDepositAccountData.productId,p.fixedDepositsAccountTemplate.productOptions,"id","name")),o(7),u(c(23,68,"labels.inputs.Submitted On")),o(4),u(c(27,70,p.fixedDepositAccountData.submittedOnDate)),o(4),d("ngIf",p.fixedDepositAccountData.externalId),o(5),u(c(36,72,"labels.inputs.Field Officer")),o(4),u(I(41,79,J(40,74,p.fixedDepositAccountData.fieldOfficerId,p.fixedDepositsAccountProductTemplate.fieldOfficerOptions,"id","displayName")||"Unassigned","inputs")),o(6),u(c(46,82,"labels.heading.Currency")),o(8),u(c(54,84,"labels.inputs.Currency")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.code),o(6),u(c(64,86,"labels.inputs.Currency Multiple")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.inMultiplesOf),o(6),u(c(74,88,"labels.inputs.Decimal Places")),o(4),u(p.fixedDepositsAccountProductTemplate.currency.decimalPlaces),o(4),u(c(82,90,"labels.heading.Terms")),o(8),f("",c(90,92,"labels.inputs.Fixed Deposit Amount"),":"),o(4),u(J(94,94,p.fixedDepositAccountData.depositAmount,p.fixedDepositsAccountProductTemplate.currency.code,"symbol-narrow","1.2-2")),o(7),f("",c(101,99,"labels.inputs.Deposit Period"),":"),o(4),S("",p.fixedDepositAccountData.depositPeriod,`
- `,I(106,106,J(105,101,p.fixedDepositAccountData.depositPeriodFrequencyId,p.fixedDepositsAccountProductTemplate.periodFrequencyTypeOptions,"id","value"),"catalogs"),""),o(8),f("",c(113,109,"labels.inputs.Interest Compounding Period"),":"),o(4),u(I(118,116,J(117,111,p.fixedDepositAccountData.interestCompoundingPeriodType,p.fixedDepositsAccountProductTemplate.interestCompoundingPeriodTypeOptions,"id","value"),"catalogs")),o(8),f("",c(125,119,"labels.inputs.Interest Posting Period"),":"),o(4),u(I(130,126,J(129,121,p.fixedDepositAccountData.interestPostingPeriodType,p.fixedDepositsAccountProductTemplate.interestPostingPeriodTypeOptions,"id","value"),"catalogs")),o(8),f("",c(137,129,"labels.inputs.Interest Calculated using"),":"),o(4),u(I(142,136,J(141,131,p.fixedDepositAccountData.interestCalculationType,p.fixedDepositsAccountProductTemplate.interestCalculationTypeOptions,"id","value"),"catalogs")),o(8),f("",c(149,139,"labels.inputs.Days in Year"),":"),o(4),u(I(154,146,J(153,141,p.fixedDepositAccountData.interestCalculationDaysInYearType,p.fixedDepositsAccountProductTemplate.interestCalculationDaysInYearTypeOptions,"id","value"),"catalogs")),o(6),u(c(159,149,"labels.heading.Settings")),o(5),d("ngIf",p.fixedDepositAccountData.lockinPeriodFrequency),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.minDepositTerm),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.inMultiplesOfDepositTerm),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.maxDepositTerm),o(5),f("",c(175,151,"labels.inputs.Transfer Interest to Savings Account"),"?"),o(4),u(c(179,153,p.fixedDepositAccountData.transferInterestToSavings)),o(4),d("ngIf",p.fixedDepositAccountData.transferInterestToSavings),o(2),d("ngIf",p.fixedDepositAccountData.maturityInstructionId),o(5),f("",c(190,155,"labels.inputs.Apply Penal Interest (less)"),":"),o(4),u(c(194,157,p.fixedDepositsAccountProductTemplate.preClosurePenalApplicable)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate.preClosurePenalApplicable),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate.withHoldTax),o(3),u(c(203,159,"labels.heading.Interest Rate Chart")),o(7),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.name),o(5),f("",c(215,161,"labels.inputs.Valid from Date"),":"),o(4),u(c(219,163,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.fromDate)),o(4),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.endDate),o(2),d("ngIf",p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.description),o(5),f("",c(230,165,"labels.inputs.Primary Grouping by Amount"),":"),o(4),u(c(234,167,p.fixedDepositsAccountProductTemplate==null?null:p.fixedDepositsAccountProductTemplate.accountChart.isPrimaryGroupingByAmount)),o(4),d("dataSource",p.interestRateChartData),o(42),d("matHeaderRowDef",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsDisplayedColumns),o(2),d("matRowDefColumns",p.chartSlabsIncentivesDisplayedColumns),o(4),d("ngIf",p.fixedDepositAccountData.charges.length),o(8),f(`
- `,c(296,169,"labels.buttons.Previous"),`
- `),o(3),d("routerLink",B(175,$0)),o(),f(`
- `,c(300,171,"labels.buttons.Cancel"),`
- `),o(4),f(`
- `,c(304,173,"labels.buttons.Submit"),`
- `))},dependencies:[F,Oe,tt,E,$,Ne,Lt,It,Et,Rt,wt,Ft,Nt,Bt,kt,Vt,qt,L,Ie,se,O,Rn,At,ue,Vn,Tt],styles:["table[_ngcontent-%COMP%]{width:100%}.mat-elevation-z1[_ngcontent-%COMP%]{margin:1em 0 1.5em}h2[_ngcontent-%COMP%], h3[_ngcontent-%COMP%], h4[_ngcontent-%COMP%]{margin:0;font-weight:500}span[_ngcontent-%COMP%]{margin:.5em 0}mat-divider[_ngcontent-%COMP%]{margin:0 0 .5em}.margin-t[_ngcontent-%COMP%]{margin-top:1em}.margin-b[_ngcontent-%COMP%]{margin-bottom:.25em}.irc-table[_ngcontent-%COMP%]{width:100%}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%]{height:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] > td[_ngcontent-%COMP%]{padding:0}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .incentives[_ngcontent-%COMP%]{overflow:hidden}.irc-table[_ngcontent-%COMP%] tr.incentives-row[_ngcontent-%COMP%] .mat-card[_ngcontent-%COMP%]{border-radius:0}"],data:{animation:[Fe("expandChartSlab",[ce("collapsed",pe({height:"0px",minHeight:"0"})),ce("expanded",pe({height:"*"})),we("expanded <=> collapsed",Ee("225ms cubic-bezier(0.4, 0.0, 0.2, 1)"))])]}})}}return e})();function Jc(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",14),t(2,`
- `))}function Xc(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",14),t(2,`
- `))}function Zc(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",15),t(2,`
- `))}function tl(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",16),t(2,`
- `))}function el(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",17),t(2,`
- `))}function nl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.DETAILS"))}function il(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.TERMS"))}function al(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.SETTINGS"))}function ol(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.INTEREST RATE CHART"))}function rl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.CHARGES"))}function pl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.PREVIEW"))}function cl(e,s){if(e&1){let a=y();n(0,"mat-step",18),t(1,`
- `),m(2,pl,2,3,"ng-template",9),t(3,`
-
- `),n(4,"mifosx-fixed-deposit-account-preview-step",19),b("submitEvent",function(){P(a);let p=C();return M(p.submit())}),t(5,`
- `),i(),t(6,`
- `),i()}if(e&2){let a=C();o(4),d("fixedDepositsAccountTemplate",a.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",a.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",a.fixedDepositAccount)}}var Di=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.dateUtils=p,this.fixedDepositsService=x,this.settingsService=h,this.route.data.subscribe(T=>{this.fixedDepositsAccountTemplate=T.fixedDepositsAccountTemplate})}setTemplate(a){this.fixedDepositsAccountProductTemplate=a}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValid(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid}get fixedDepositAccount(){return V(V(V(V({},this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails),this.fixedDepositAccountTermsStep.fixedDepositAccountTerms),this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings),this.fixedDepositAccountChargesStep.fixedDepositAccountCharges)}submit(){let a=this.settingsService.language.code,l=this.settingsService.dateFormat,p="dd MMMM",x=U(V({},this.fixedDepositAccount),{clientId:this.fixedDepositsAccountTemplate.clientId,charges:this.fixedDepositAccount.charges.map(h=>({chargeId:h.id,amount:h.amount,dueDate:h.dueDate&&this.dateUtils.formatDate(h.dueDate,l),feeOnMonthDay:h.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(h.feeOnMonthDay),p),feeInterval:h.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,l),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:l,monthDayFormat:p,locale:a});this.fixedDepositsService.createFixedDepositAccount(x).subscribe(h=>{this.router.navigate(["../",h.resourceId],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-create-fixed-deposit-account"]],viewQuery:function(l,p){if(l&1&&(xt(ge,7),xt(_e,7),xt(Ce,7),xt(he,7)),l&2){let x;ft(x=gt())&&(p.fixedDepositsAccountDetailsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountTermsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountSettingsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountChargesStep=x.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-horizontal-stepper",2,0),t(4,`
- `),m(5,Jc,3,0,"ng-template",3),t(6,`
-
- `),m(7,Xc,3,0,"ng-template",4),t(8,`
-
- `),m(9,Zc,3,0,"ng-template",5),t(10,`
-
- `),m(11,tl,3,0,"ng-template",6),t(12,`
-
- `),m(13,el,3,0,"ng-template",7),t(14,`
-
- `),n(15,"mat-step",8),t(16,`
- `),m(17,nl,2,3,"ng-template",9),t(18,`
-
- `),n(19,"mifosx-fixed-deposit-account-details-step",10),b("fixedDepositsAccountProductTemplate",function(T){return P(x),M(p.setTemplate(T))}),t(20,`
- `),i(),t(21,`
- `),i(),t(22,`
-
- `),n(23,"mat-step",8),t(24,`
- `),m(25,il,2,3,"ng-template",9),t(26,`
-
- `),n(27,"mifosx-fixed-deposit-account-terms-step",11),t(28,`
- `),i(),t(29,`
- `),i(),t(30,`
-
- `),n(31,"mat-step",8),t(32,`
- `),m(33,al,2,3,"ng-template",9),t(34,`
-
- `),n(35,"mifosx-fixed-deposit-account-settings-step",11),t(36,`
- `),i(),t(37,`
- `),i(),t(38,`
-
- `),n(39,"mat-step"),t(40,`
- `),m(41,ol,2,3,"ng-template",9),t(42,`
-
- `),n(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t(44,`
- `),i(),t(45,`
- `),i(),t(46,`
-
- `),n(47,"mat-step"),t(48,`
- `),m(49,rl,2,3,"ng-template",9),t(50,`
-
- `),n(51,"mifosx-fixed-deposit-account-charges-step",12),t(52,`
- `),i(),t(53,`
- `),i(),t(54,`
-
- `),m(55,cl,7,3,"mat-step",13),t(56,`
- `),i(),t(57,`
-`),i(),t(58,`
-`)}l&2&&(o(15),d("stepControl",p.fixedDepositAccountDetailsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate),o(4),d("stepControl",p.fixedDepositAccountTermsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(4),d("stepControl",p.fixedDepositAccountSettingsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",p.fixedDepositAccountFormValid),o(4),d("ngIf",p.fixedDepositAccountFormValid))},dependencies:[F,tt,Ze,Je,tn,Xe,ge,_e,he,Ce,on,rn,O]})}}return e})();function ll(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",14),t(2,`
- `))}function sl(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",14),t(2,`
- `))}function ml(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",15),t(2,`
- `))}function dl(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",16),t(2,`
- `))}function ul(e,s){e&1&&(t(0,`
- `),g(1,"fa-icon",17),t(2,`
- `))}function xl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.DETAILS"))}function fl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.TERMS"))}function gl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.SETTINGS"))}function _l(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.INTEREST RATE CHART"))}function Cl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.CHARGES"))}function hl(e,s){e&1&&(t(0),r(1,"translate")),e&2&&u(c(1,1,"labels.inputs.PREVIEW"))}function vl(e,s){if(e&1){let a=y();n(0,"mat-step",18),t(1,`
- `),m(2,hl,2,3,"ng-template",9),t(3,`
-
- `),n(4,"mifosx-fixed-deposit-account-preview-step",19),b("submitEvent",function(){P(a);let p=C();return M(p.submit())}),t(5,`
- `),i(),t(6,`
- `),i()}if(e&2){let a=C();o(4),d("fixedDepositsAccountTemplate",a.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",a.fixedDepositsAccountProductTemplate)("fixedDepositAccountData",a.fixedDepositAccount)}}var bi=(()=>{class e{constructor(a,l,p,x,h){this.route=a,this.router=l,this.dateUtils=p,this.fixedDepositsService=x,this.settingsService=h,this.route.data.subscribe(T=>{this.fixedDepositsAccountAndTemplate=T.fixedDepositsAccountAndTemplate})}setTemplate(a){this.fixedDepositsAccountProductTemplate=a,this.currency=this.fixedDepositsAccountAndTemplate.currency}get fixedDepositAccountDetailsForm(){return this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetailsForm}get fixedDepositAccountTermsForm(){return this.fixedDepositAccountTermsStep.fixedDepositAccountTermsForm}get fixedDepositAccountSettingsForm(){return this.fixedDepositAccountSettingsStep.fixedDepositAccountSettingsForm}get fixedDepositAccountFormValidAndNotPristine(){return this.fixedDepositAccountDetailsForm.valid&&this.fixedDepositAccountTermsForm.valid&&this.fixedDepositAccountSettingsForm.valid&&(!this.fixedDepositAccountDetailsForm.pristine||!this.fixedDepositAccountTermsForm.pristine||!this.fixedDepositAccountSettingsForm.pristine||!this.fixedDepositAccountChargesStep.pristine)}get fixedDepositAccount(){return V(V(V(V({},this.fixedDepositsAccountDetailsStep.fixedDepositAccountDetails),this.fixedDepositAccountTermsStep.fixedDepositAccountTerms),this.fixedDepositAccountSettingsStep.fixedDepositAccountSettings),this.fixedDepositAccountChargesStep?.fixedDepositAccountCharges)}submit(){let a=this.settingsService.language.code,l=this.settingsService.dateFormat,p="dd MMMM",x=U(V({},this.fixedDepositAccount),{clientId:this.fixedDepositsAccountAndTemplate.clientId,charges:this.fixedDepositAccount.charges.map(h=>({chargeId:h.id,amount:h.amount,dueDate:h.dueDate&&this.dateUtils.formatDate(h.dueDate,l),feeOnMonthDay:h.feeOnMonthDay&&this.dateUtils.formatDate([2e3].concat(h.feeOnMonthDay),p),feeInterval:h.feeInterval})),submittedOnDate:this.dateUtils.formatDate(this.fixedDepositAccount.submittedOnDate,l),charts:[{chartSlabs:this.fixedDepositsAccountProductTemplate.accountChart.chartSlabs}],dateFormat:l,monthDayFormat:p,locale:a});this.fixedDepositsService.updateFixedDepositAccount(this.fixedDepositsAccountAndTemplate.id,x).subscribe(h=>{this.router.navigate(["../"],{relativeTo:this.route})})}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z),_(W),_(j),_(q))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-edit-fixed-deposit-account"]],viewQuery:function(l,p){if(l&1&&(xt(ge,7),xt(_e,7),xt(Ce,7),xt(he,7)),l&2){let x;ft(x=gt())&&(p.fixedDepositsAccountDetailsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountTermsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountSettingsStep=x.first),ft(x=gt())&&(p.fixedDepositAccountChargesStep=x.first)}},decls:59,vars:14,consts:[["fixedDepositAccountStepper",""],[1,"container"],["labelPosition","bottom",1,"mat-elevation-z8"],["matStepperIcon","number"],["matStepperIcon","edit"],["matStepperIcon","done"],["matStepperIcon","error"],["matStepperIcon","preview"],[3,"stepControl"],["matStepLabel",""],[3,"fixedDepositsAccountProductTemplate","fixedDepositsAccountTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate"],[3,"fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountFormValid"],["state","preview","completed","",4,"ngIf"],["icon","pencil-alt","size","sm"],["icon","check","size","sm"],["icon","exclamation-triangle","size","lg"],["icon","eye","size","sm"],["state","preview","completed",""],[3,"submitEvent","fixedDepositsAccountTemplate","fixedDepositsAccountProductTemplate","fixedDepositAccountData"]],template:function(l,p){if(l&1){let x=y();n(0,"div",1),t(1,`
- `),n(2,"mat-horizontal-stepper",2,0),t(4,`
- `),m(5,ll,3,0,"ng-template",3),t(6,`
-
- `),m(7,sl,3,0,"ng-template",4),t(8,`
-
- `),m(9,ml,3,0,"ng-template",5),t(10,`
-
- `),m(11,dl,3,0,"ng-template",6),t(12,`
-
- `),m(13,ul,3,0,"ng-template",7),t(14,`
-
- `),n(15,"mat-step",8),t(16,`
- `),m(17,xl,2,3,"ng-template",9),t(18,`
-
- `),n(19,"mifosx-fixed-deposit-account-details-step",10),b("fixedDepositsAccountProductTemplate",function(T){return P(x),M(p.setTemplate(T))}),t(20,`
- `),i(),t(21,`
- `),i(),t(22,`
-
- `),n(23,"mat-step",8),t(24,`
- `),m(25,fl,2,3,"ng-template",9),t(26,`
-
- `),n(27,"mifosx-fixed-deposit-account-terms-step",11),t(28,`
- `),i(),t(29,`
- `),i(),t(30,`
-
- `),n(31,"mat-step",8),t(32,`
- `),m(33,gl,2,3,"ng-template",9),t(34,`
-
- `),n(35,"mifosx-fixed-deposit-account-settings-step",11),t(36,`
- `),i(),t(37,`
- `),i(),t(38,`
-
- `),n(39,"mat-step"),t(40,`
- `),m(41,_l,2,3,"ng-template",9),t(42,`
-
- `),n(43,"mifosx-fixed-deposit-account-interest-rate-chart-step",11),t(44,`
- `),i(),t(45,`
- `),i(),t(46,`
-
- `),n(47,"mat-step"),t(48,`
- `),m(49,Cl,2,3,"ng-template",9),t(50,`
-
- `),n(51,"mifosx-fixed-deposit-account-charges-step",12),t(52,`
- `),i(),t(53,`
- `),i(),t(54,`
-
- `),m(55,vl,7,3,"mat-step",13),t(56,`
- `),i(),t(57,`
-`),i(),t(58,`
-`)}l&2&&(o(15),d("stepControl",p.fixedDepositAccountDetailsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate),o(4),d("stepControl",p.fixedDepositAccountTermsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(4),d("stepControl",p.fixedDepositAccountSettingsForm),o(4),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate),o(8),d("fixedDepositsAccountTemplate",p.fixedDepositsAccountAndTemplate)("fixedDepositsAccountProductTemplate",p.fixedDepositsAccountProductTemplate)("fixedDepositAccountFormValid",p.fixedDepositAccountFormValidAndNotPristine),o(4),d("ngIf",p.fixedDepositAccountFormValidAndNotPristine))},dependencies:[F,tt,Ze,Je,tn,Xe,ge,_e,he,Ce,on,rn,O]})}}return e})();var pn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountData(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var fn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.parent.paramMap.get("fixedDepositAccountId"),p=a.paramMap.get("id");return this.fixedDepositsService.getFixedDepositsAccountTransaction(l,p)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var gn=(()=>{class e{constructor(a,l){this.savingsService=a,this.fixedDepositsService=l}resolve(a){let l=a.paramMap.get("name"),p=a.paramMap.get("fixedDepositAccountId")||a.parent.parent.paramMap.get("fixedDepositAccountId");switch(l){case"Add Charge":return this.savingsService.getSavingsChargeTemplateResource(p);case"Close":return this.fixedDepositsService.getFixedDepositsAccountClosureTemplate(p);case"Withdrawal":return this.fixedDepositsService.getFixedDepositsAccountTransactionTemplate(p);default:return}}static{this.\u0275fac=function(l){return new(l||e)(zt(jt),zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var _n=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.parent.parent.paramMap.get("clientId");return this.fixedDepositsService.getFixedDepositsAccountTemplate(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();var Cn=(()=>{class e{constructor(a){this.fixedDepositsService=a}resolve(a){let l=a.paramMap.get("fixedDepositAccountId");return this.fixedDepositsService.getFixedDepositsAccountAndTemplate(l)}static{this.\u0275fac=function(l){return new(l||e)(zt(j))}}static{this.\u0275prov=Ht({token:e,factory:e.\u0275fac})}}return e})();function Dl(e,s){if(e&1&&(n(0,"span"),t(1,`
- `),g(2,"mifosx-external-identifier",7),t(3,`
- `),i()),e&2){let a=C();o(2),dt("externalId",a.fixedDepositsAccountData.externalId)}}function bl(e,s){e&1&&(n(0,"span"),t(1),r(2,"translate"),i()),e&2&&(o(),f(`
- `,c(2,1,"labels.inputs.Not Available"),`
- `))}function Sl(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td"),t(7),r(8,"dateFormat"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Closed On")),o(4),u(c(8,4,a.fixedDepositsAccountData.timeline.closedOnDate))}}function Pl(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td"),t(7),i(),t(8,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Tax Group")),o(4),u(a.fixedDepositsAccountData.taxGroup.name)}}function Ml(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td"),t(7),r(8,"translateKey"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),u(c(4,2,"labels.inputs.Maturity Instructions")),o(4),u(I(8,4,a.fixedDepositsAccountData.onAccountClosure.value,"catalogs"))}}function Tl(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td"),t(7),r(8,"translateKey"),i(),t(9,`
- `),i()),e&2){let a=C();o(3),u(c(4,3,"labels.inputs.Pre-cloure Penal")),o(4),S(`
- `,a.fixedDepositsAccountData.preClosurePenalInterest,` % on
- `,I(8,5,a.fixedDepositsAccountData.preClosurePenalInterestOnType.value,"catalogs"),`
- `)}}function Al(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
- `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Deposits")),o(4),f(`
- `,J(8,4,a.fixedDepositsAccountData.summary.totalDeposits,a.currency.code,"symbol-narrow","1.2-2"),`
- `)}}function yl(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
- `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Withdrawals")),o(4),f(`
- `,J(8,4,a.fixedDepositsAccountData.summary.totalWithdrawals,a.currency.code,"symbol-narrow","1.2-2"),`
- `)}}function Ol(e,s){if(e&1&&(n(0,"tr"),t(1,`
- `),n(2,"td"),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"td",8),t(7),r(8,"currency"),i(),t(9,`
- `),i()),e&2){let a=C(2);o(3),u(c(4,2,"labels.inputs.Total Interest Earned")),o(4),f(`
- `,J(8,4,a.fixedDepositsAccountData.summary.totalInterestEarned,a.currency.code,"symbol-narrow","1.2-2"),`
- `)}}function Il(e,s){if(e&1&&(n(0,"div"),t(1,`
- `),n(2,"h4",3),t(3),r(4,"translate"),i(),t(5,`
- `),n(6,"table"),t(7,`
- `),n(8,"tbody"),t(9,`
- `),n(10,"tr"),t(11,`
- `),n(12,"td"),t(13),r(14,"translate"),i(),t(15,`
- `),n(16,"td",8),t(17),r(18,"currency"),i(),t(19,`
- `),i(),t(20,`
- `),n(21,"tr"),t(22,`
- `),n(23,"td"),t(24),r(25,"translate"),i(),t(26,`
- `),n(27,"td",8),t(28),r(29,"currency"),i(),t(30,`
- `),i(),t(31,`
- `),m(32,Al,10,9,"tr",4),t(33,`
- `),m(34,yl,10,9,"tr",4),t(35,`
- `),m(36,Ol,10,9,"tr",4),t(37,`
- `),i(),t(38,`
- `),i(),t(39,`
- `),i()),e&2){let a=C();o(3),u(c(4,8,"labels.heading.Performance History")),o(10),u(c(14,10,"labels.inputs.Principal Amount")),o(4),f(`
- `,J(18,12,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
- `),o(7),u(c(25,17,"labels.inputs.Maturity Amount")),o(4),f(`
- `,J(29,19,a.fixedDepositsAccountData.maturityAmount,a.currency.code,"symbol-narrow","1.2-2"),`
- `),o(4),d("ngIf",a.fixedDepositsAccountData.summary.totalDeposits),o(2),d("ngIf",a.fixedDepositsAccountData.summary.totalWithdrawals),o(2),d("ngIf",a.fixedDepositsAccountData.summary.totalInterestEarned>=0)}}function Fl(e,s){if(e&1&&(t(0,`
- `),n(1,"div"),t(2,`
- `),n(3,"h4",3),t(4),r(5,"translate"),i(),t(6,`
- `),n(7,"table"),t(8,`
- `),n(9,"tbody"),t(10,`
- `),n(11,"tr"),t(12,`
- `),n(13,"td"),t(14),r(15,"translate"),i(),t(16,`
- `),n(17,"td",8),t(18),r(19,"currency"),i(),t(20,`
- `),i(),t(21,`
- `),n(22,"tr"),t(23,`
- `),n(24,"td"),t(25),r(26,"translate"),i(),t(27,`
- `),n(28,"td",8),t(29),r(30,"currency"),i(),t(31,`
- `),i(),t(32,`
- `),i(),t(33,`
- `),i(),t(34,`
- `),i(),t(35,`
- `)),e&2){let a=C();o(4),u(c(5,5,"labels.heading.Other Details")),o(10),u(c(15,7,"labels.inputs.Principal Amount")),o(4),f(`
- `,J(19,9,a.fixedDepositsAccountData.depositAmount,a.currency.code,"symbol-narrow","1.2-2"),`
- `),o(7),u(c(26,14,"labels.inputs.Maturity Amount")),o(4),f(`
- `,J(30,16,a.fixedDepositsAccountData.maturityAmount,a.currency.code,"symbol-narrow","1.2-2"),`
- `)}}var Si=(()=>{class e{constructor(a,l){this.route=a,this.router=l,this.route.parent.data.subscribe(p=>{this.fixedDepositsAccountData=p.fixedDepositsAccountData,this.currency=this.fixedDepositsAccountData.currency}),this.router.url.includes("clients")?this.entityType="Client":this.router.url.includes("groups")?this.entityType="Group":this.router.url.includes("centers")&&(this.entityType="Center")}static{this.\u0275fac=function(l){return new(l||e)(_(k),_(z))}}static{this.\u0275cmp=A({type:e,selectors:[["mifosx-general-tab"]],decls:161,vars:78,consts:[["otherDetails",""],[1,"fixed-deposits-account-tables","layout-row","gap-2percent"],[1,"flex-49","layout-column","gap-4percent"],[1,"table-headers"],[4,"ngIf"],[1,"flex-49"],[4,"ngIf","ngIfElse"],["completed","true",3,"externalId"],[1,"r-amount"]],template:function(l,p){if(l&1&&(n(0,"div",1),t(1,`
- `),n(2,"div",2),t(3,`
- `),n(4,"div"),t(5,`
- `),n(6,"h4",3),t(7),r(8,"translate"),i(),t(9,`
- `),n(10,"table"),t(11,`
- `),n(12,"tbody"),t(13,`
- `),n(14,"tr"),t(15,`
- `),n(16,"td"),t(17),r(18,"translate"),i(),t(19,`
- `),n(20,"td"),t(21,`
- `),m(22,Dl,4,1,"span",4),t(23,`
- `),m(24,bl,3,3,"span",4),t(25,`
- `),i(),t(26,`
- `),i(),t(27,`
- `),n(28,"tr"),t(29,`
- `),n(30,"td"),t(31),r(32,"translate"),i(),t(33,`
- `),n(34,"td"),t(35),r(36,"dateFormat"),r(37,"translate"),i(),t(38,`
- `),i(),t(39,`
- `),m(40,Sl,10,6,"tr",4),t(41,`
- `),n(42,"tr"),t(43,`
- `),n(44,"td"),t(45),r(46,"translate"),i(),t(47,`
- `),n(48,"td"),t(49),r(50,"translateKey"),i(),t(51,`
- `),i(),t(52,`
- `),n(53,"tr"),t(54,`
- `),n(55,"td"),t(56),r(57,"translate"),i(),t(58,`
- `),n(59,"td"),t(60),r(61,"dateFormat"),i(),t(62,`
- `),i(),t(63,`
- `),n(64,"tr"),t(65,`
- `),n(66,"td"),t(67),r(68,"translate"),i(),t(69,`
- `),n(70,"td"),t(71),r(72,"translateKey"),i(),t(73,`
- `),i(),t(74,`
- `),m(75,Pl,9,4,"tr",4),t(76,`
- `),m(77,Ml,10,7,"tr",4),t(78,`
- `),i(),t(79,`
- `),i(),t(80,`
- `),i(),t(81,`
-
- `),n(82,"div"),t(83,`
- `),n(84,"h4",3),t(85),r(86,"translate"),i(),t(87,`
- `),n(88,"table"),t(89,`
- `),n(90,"tbody"),t(91,`
- `),n(92,"tr"),t(93,`
- `),n(94,"td"),t(95),r(96,"translate"),i(),t(97,`
- `),n(98,"td"),t(99),i(),t(100,`
- `),i(),t(101,`
- `),n(102,"tr"),t(103,`
- `),n(104,"td"),t(105),r(106,"translate"),i(),t(107,`
- `),n(108,"td"),t(109),r(110,"translateKey"),i(),t(111,`
- `),i(),t(112,`
- `),n(113,"tr"),t(114,`
- `),n(115,"td"),t(116),r(117,"translate"),i(),t(118,`
- `),n(119,"td"),t(120),r(121,"translateKey"),i(),t(122,`
- `),i(),t(123,`
- `),n(124,"tr"),t(125,`
- `),n(126,"td"),t(127),r(128,"translate"),i(),t(129,`
- `),n(130,"td"),t(131),r(132,"translateKey"),i(),t(133,`
- `),i(),t(134,`
- `),n(135,"tr"),t(136,`
- `),n(137,"td"),t(138),r(139,"translate"),i(),t(140,`
- `),n(141,"td"),t(142),r(143,"translateKey"),i(),t(144,`
- `),i(),t(145,`
- `),m(146,Tl,10,8,"tr",4),t(147,`
- `),i(),t(148,`
- `),i(),t(149,`
- `),i(),t(150,`
- `),i(),t(151,`
-
- `),n(152,"div",5),t(153,`
- `),m(154,Il,40,24,"div",6),t(155,`
-
- `),m(156,Fl,36,21,"ng-template",null,0,vn),t(158,`
- `),i(),t(159,`
-`),i(),t(160,`
-`)),l&2){let x=w(157);o(7),u(c(8,30,"labels.heading.Fixed Deposit Details")),o(10),u(c(18,32,"labels.inputs.External Id")),o(5),d("ngIf",p.fixedDepositsAccountData.externalId),o(2),d("ngIf",!p.fixedDepositsAccountData.externalId),o(7),u(c(32,34,"labels.inputs.Activated On")),o(4),f(`
- `,p.fixedDepositsAccountData.timeline.activatedOnDate?c(36,36,p.fixedDepositsAccountData.timeline.activatedOnDate):c(37,38,"labels.text.Not Activated"),`
- `),o(5),d("ngIf",p.fixedDepositsAccountData.timeline.closedOnDate),o(5),u(c(46,40,"labels.inputs.Field Officer")),o(4),f(`
- `,p.fixedDepositsAccountData.fieldOfficerName?p.fixedDepositsAccountData.fieldOfficerName:I(50,42,"Unassigned","inputs"),`
- `),o(7),u(c(57,45,"labels.inputs.Maturity Date")),o(4),f(`
- `,p.fixedDepositsAccountData.maturityDate?c(61,47,p.fixedDepositsAccountData.maturityDate):"N/A",`
- `),o(7),u(c(68,49,"labels.inputs.Deposit Period")),o(4),S(`
- `,p.fixedDepositsAccountData.depositPeriod,"\xA0",I(72,51,p.fixedDepositsAccountData.depositPeriodFrequency.value,"catalogs"),`
- `),o(4),d("ngIf",p.fixedDepositsAccountData.withHoldTax),o(2),d("ngIf",p.fixedDepositsAccountData.onAccountClosure),o(8),u(c(86,54,"labels.heading.Interest Details")),o(10),u(c(96,56,"labels.inputs.Interest Rate")),o(4),f("",p.fixedDepositsAccountData.nominalAnnualInterestRate," %"),o(6),u(c(106,58,"labels.inputs.Interest Compounding Period")),o(4),u(I(110,60,p.fixedDepositsAccountData.interestCompoundingPeriodType.value,"catalogs")),o(7),u(c(117,63,"labels.inputs.Interest Posting Period")),o(4),u(I(121,65,p.fixedDepositsAccountData.interestPostingPeriodType.value,"catalogs")),o(7),u(c(128,68,"labels.inputs.Interest Calculated Using")),o(4),u(I(132,70,p.fixedDepositsAccountData.interestCalculationType.value,"catalogs")),o(7),u(c(139,73,"labels.inputs.No. of Days in Year")),o(4),u(I(143,75,p.fixedDepositsAccountData.interestCalculationDaysInYearType.value,"catalogs")),o(4),d("ngIf",p.fixedDepositsAccountData.preClosurePenalApplicable),o(8),d("ngIf",!p.fixedDepositsAccountData.status.rejected&&!p.fixedDepositsAccountData.status.submittedAndPendingApproval)("ngIfElse",x)}},dependencies:[F,kn,se,O,At,Tt],styles:[".fixed-deposits-account-tables[_ngcontent-%COMP%]{padding:1%}"]})}}return e})();var El=[{path:"",data:{title:"All Fixed Deposits",breadcrumb:"Fixed Deposits",routeParamBreadcrumb:!1},children:[{path:"create",data:{title:"Create Fixed Deposit Account",breadcrumb:"Create Fixed Deposit Account"},component:Di,resolve:{fixedDepositsAccountTemplate:_n}},{path:":fixedDepositAccountId",data:{title:"Fixed Deposit Account View",routeParamBreadcrumb:"fixedDepositAccountId"},resolve:{fixedDepositsAccountData:pn},children:[{path:"",component:Qn,resolve:{fixedDepositsAccountData:pn,savingsDatatables:sn},children:[{path:"",redirectTo:"general",pathMatch:"full"},{path:"general",component:Si,data:{title:"Fixed Deposit Account Details",breadcrumb:"General",routeParamBreadcrumb:!1}},{path:"interest-rate-chart",component:Yn,data:{title:"Fixed Deposit Account Interest Rate Chart",breadcrumb:"Interest Rate Chart",routeParamBreadcrumb:!1}},{path:"transactions",component:Jn,data:{title:"Fixed Deposit Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1}},{path:"charges",component:ti,data:{title:"Fixed Deposit Account Charges",breadcrumb:"Charges",routeParamBreadcrumb:!1}},{path:"standing-instructions",component:ei,data:{title:"Fixed Deposit Account Standing Instructions",breadcrumb:"Standing Instructions",routeParamBreadcrumb:!1}},{path:"datatables",children:[{path:":datatableName",component:ni,data:{title:"View Data Table",routeParamBreadcrumb:"datatableName"},resolve:{savingsDatatable:ln}}]}]},{path:"edit",data:{title:"Edit Fixed Deposit Account",breadcrumb:"Edit",routeParamBreadcrumb:!1},component:bi,resolve:{fixedDepositsAccountAndTemplate:Cn}},{path:"transactions",data:{title:"Fixed Deposits Account Transactions",breadcrumb:"Transactions",routeParamBreadcrumb:!1},children:[{path:"",redirectTo:"../transactions",pathMatch:"prefix"},{path:"account-transfers",loadChildren:()=>import("./account-transfers.module-UZHQKER5.js").then(e=>e.AccountTransfersModule)},{path:":id",data:{routeParamBreadcrumb:"id"},children:[{path:"",component:ui,resolve:{fixedDepositsAccountTransaction:fn}}]}]},{path:"actions/:name",data:{title:"Fixed Deposits Account Actions",routeParamBreadcrumb:"name"},component:di,resolve:{fixedDepositsAccountActionData:gn}}]}]}],Pi=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=He({type:e})}static{this.\u0275inj=$e({providers:[pn,ln,sn,fn,gn,_n,Cn],imports:[cn.forChild(El),cn]})}}return e})();var S1=(()=>{class e{static{this.\u0275fac=function(l){return new(l||e)}}static{this.\u0275mod=He({type:e})}static{this.\u0275inj=$e({imports:[Un,qn,jn,Pi]})}}return e})();export{S1 as FixedDepositsModule};
diff --git a/browser/html2canvas-CRGYTWK7.js b/browser/html2canvas-CRGYTWK7.js
deleted file mode 100644
index 491c3ecc5..000000000
--- a/browser/html2canvas-CRGYTWK7.js
+++ /dev/null
@@ -1,5 +0,0 @@
-import{e as OQ}from"./chunk-O7S4L63H.js";var MQ=OQ((nt,st)=>{(function(IA,P){typeof nt=="object"&&typeof st<"u"?st.exports=P():typeof define=="function"&&define.amd?define(P):(IA=typeof globalThis<"u"?globalThis:IA||self,IA.html2canvas=P())})(nt,function(){"use strict";var IA=function(e,A){return IA=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var B in r)Object.prototype.hasOwnProperty.call(r,B)&&(t[B]=r[B])},IA(e,A)};function P(e,A){if(typeof A!="function"&&A!==null)throw new TypeError("Class extends value "+String(A)+" is not a constructor or null");IA(e,A);function t(){this.constructor=e}e.prototype=A===null?Object.create(A):(t.prototype=A.prototype,new t)}var ir=function(){return ir=Object.assign||function(A){for(var t,r=1,B=arguments.length;r0&&n[n.length-1])&&(o[0]===6||o[0]===2)){t=0;continue}if(o[0]===3&&(!n||o[1]>n[0]&&o[1]=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},at="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",gn=typeof Uint8Array>"u"?[]:new Uint8Array(256),fe=0;fe"u"?[]:new Uint8Array(256),Ue=0;Ue>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},cn=function(e){for(var A=e.length,t=[],r=0;r>vA,ln=1<>vA,Un=ot+fn,Fn=Un,hn=32,dn=Fn+hn,En=65536>>or,Hn=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>vA],t=(t<>vA)],t=(t<>or),t=this.index[t],t+=A>>vA&pn,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Fe=0;Fewt?(B.push(!0),i-=wt):B.push(!1),["normal","auto","loose"].indexOf(A)!==-1&&[8208,8211,12316,12448].indexOf(n)!==-1)return r.push(s),t.push(Cr);if(i===Dn||i===wr){if(s===0)return r.push(s),t.push(yA);var a=t[s-1];return Rn.indexOf(a)===-1?(r.push(r[s-1]),t.push(a)):(r.push(s),t.push(yA))}if(r.push(s),i===On)return t.push(A==="strict"?ur:$A);if(i===ht||i===Sn)return t.push(yA);if(i===Mn)return n>=131072&&n<=196605||n>=196608&&n<=262141?t.push($A):t.push(yA);t.push(i)}),[r,t,B]},pr=function(e,A,t,r){var B=r[t];if(Array.isArray(e)?e.indexOf(B)!==-1:e===B)for(var n=t;n<=r.length;){n++;var s=r[n];if(s===A)return!0;if(s!==CA)break}if(B===CA)for(var n=t;n>0;){n--;var i=r[n];if(Array.isArray(e)?e.indexOf(i)!==-1:e===i)for(var a=t;a<=r.length;){a++;var s=r[a];if(s===A)return!0;if(s!==CA)break}if(i!==CA)break}return!1},It=function(e,A){for(var t=e;t>=0;){var r=A[t];if(r===CA)t--;else return r}return 0},Xn=function(e,A,t,r,B){if(t[r]===0)return I;var n=r-1;if(Array.isArray(B)&&B[n]===!0)return I;var s=n-1,i=n+1,a=A[n],o=s>=0?A[s]:0,Q=A[i];if(a===ct&&Q===Ct)return I;if(Hr.indexOf(a)!==-1)return dt;if(Hr.indexOf(Q)!==-1||Et.indexOf(Q)!==-1)return I;if(It(n,A)===lt)return Ie;if(Er.get(e[n])===wr||(a===de||a===Ee)&&Er.get(e[i])===wr||a===ut||Q===ut||a===ft||[CA,cr,WA].indexOf(a)===-1&&Q===ft||[he,ZA,Tn,SA,OA].indexOf(Q)!==-1||It(n,A)===qA||pr(lr,qA,n,A)||pr([he,ZA],ur,n,A)||pr(Ut,Ut,n,A))return I;if(a===CA)return Ie;if(a===lr||Q===lr)return I;if(Q===Cr||a===Cr)return Ie;if([cr,WA,ur].indexOf(Q)!==-1||a===xn||o===Fr&&Vn.indexOf(a)!==-1||a===OA&&Q===Fr||Q===Ft||oA.indexOf(Q)!==-1&&a===j||oA.indexOf(a)!==-1&&Q===j||a===zA&&[$A,de,Ee].indexOf(Q)!==-1||[$A,de,Ee].indexOf(a)!==-1&&Q===jA||oA.indexOf(a)!==-1&&Ht.indexOf(Q)!==-1||Ht.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||[zA,jA].indexOf(a)!==-1&&(Q===j||[qA,WA].indexOf(Q)!==-1&&A[i+1]===j)||[qA,WA].indexOf(a)!==-1&&Q===j||a===j&&[j,OA,SA].indexOf(Q)!==-1)return I;if([j,OA,SA,he,ZA].indexOf(Q)!==-1)for(var g=n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if([zA,jA].indexOf(Q)!==-1)for(var g=[he,ZA].indexOf(a)!==-1?s:n;g>=0;){var w=A[g];if(w===j)return I;if([OA,SA].indexOf(w)!==-1)g--;else break}if(hr===a&&[hr,He,fr,Ur].indexOf(Q)!==-1||[He,fr].indexOf(a)!==-1&&[He,pe].indexOf(Q)!==-1||[pe,Ur].indexOf(a)!==-1&&Q===pe||pt.indexOf(a)!==-1&&[Ft,jA].indexOf(Q)!==-1||pt.indexOf(Q)!==-1&&a===zA||oA.indexOf(a)!==-1&&oA.indexOf(Q)!==-1||a===SA&&oA.indexOf(Q)!==-1||oA.concat(j).indexOf(a)!==-1&&Q===qA&&Gn.indexOf(e[i])===-1||oA.concat(j).indexOf(Q)!==-1&&a===ZA)return I;if(a===dr&&Q===dr){for(var f=t[n],c=1;f>0&&(f--,A[f]===dr);)c++;if(c%2!==0)return I}return a===de&&Q===Ee?I:Ie},_n=function(e,A){A||(A={lineBreak:"normal",wordBreak:"normal"});var t=Nn(e,A.lineBreak),r=t[0],B=t[1],n=t[2];(A.wordBreak==="break-all"||A.wordBreak==="break-word")&&(B=B.map(function(i){return[j,yA,ht].indexOf(i)!==-1?$A:i}));var s=A.wordBreak==="keep-all"?n.map(function(i,a){return i&&e[a]>=19968&&e[a]<=40959}):void 0;return[r,B,s]},Jn=function(){function e(A,t,r,B){this.codePoints=A,this.required=t===dt,this.start=r,this.end=B}return e.prototype.slice=function(){return T.apply(void 0,this.codePoints.slice(this.start,this.end))},e}(),Pn=function(e,A){var t=le(e),r=_n(t,A),B=r[0],n=r[1],s=r[2],i=t.length,a=0,o=0;return{next:function(){if(o>=i)return{done:!0,value:null};for(var Q=I;o=Lt&&e<=57},Is=function(e){return e>=55296&&e<=57343},MA=function(e){return J(e)||e>=xt&&e<=St||e>=Dt&&e<=hs},vs=function(e){return e>=Dt&&e<=Es},ys=function(e){return e>=xt&&e<=ps},Ks=function(e){return vs(e)||ys(e)},ms=function(e){return e>=Qs},De=function(e){return e===ve||e===Wn||e===Zn},be=function(e){return Ks(e)||ms(e)||e===$n},Ot=function(e){return be(e)||J(e)||e===Y},Ls=function(e){return e>=Cs&&e<=us||e===ls||e>=fs&&e<=Us||e===Fs},uA=function(e,A){return e!==ee?!1:A!==ve},xe=function(e,A,t){return e===Y?be(A)||uA(A,t):be(e)?!0:!!(e===ee&&uA(e,A))},vr=function(e,A,t){return e===KA||e===Y?J(A)?!0:A===Be&&J(t):J(e===Be?A:e)},Ds=function(e){var A=0,t=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(t=-1),A++);for(var r=[];J(e[A]);)r.push(e[A++]);var B=r.length?parseInt(T.apply(void 0,r),10):0;e[A]===Be&&A++;for(var n=[];J(e[A]);)n.push(e[A++]);var s=n.length,i=s?parseInt(T.apply(void 0,n),10):0;(e[A]===Tt||e[A]===bt)&&A++;var a=1;(e[A]===KA||e[A]===Y)&&(e[A]===Y&&(a=-1),A++);for(var o=[];J(e[A]);)o.push(e[A++]);var Q=o.length?parseInt(T.apply(void 0,o),10):0;return t*(B+i*Math.pow(10,-s))*Math.pow(10,a*Q)},bs={type:2},xs={type:3},Ts={type:4},Ss={type:13},Os={type:8},Ms={type:21},Gs={type:9},Rs={type:10},Vs={type:11},Ns={type:12},Xs={type:14},Te={type:23},_s={type:1},Js={type:25},Ps={type:24},ks={type:26},Ys={type:27},Ws={type:28},Zs={type:29},qs={type:31},yr={type:32},Mt=function(){function e(){this._value=[]}return e.prototype.write=function(A){this._value=this._value.concat(le(A))},e.prototype.read=function(){for(var A=[],t=this.consumeToken();t!==yr;)A.push(t),t=this.consumeToken();return A},e.prototype.consumeToken=function(){var A=this.consumeCodePoint();switch(A){case ye:return this.consumeStringToken(ye);case qn:var t=this.peekCodePoint(0),r=this.peekCodePoint(1),B=this.peekCodePoint(2);if(Ot(t)||uA(r,B)){var n=xe(t,r,B)?Yn:kn,s=this.consumeName();return{type:5,value:s,flags:n}}break;case jn:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Ss;break;case Ke:return this.consumeStringToken(Ke);case me:return bs;case te:return xs;case Ir:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Xs;break;case KA:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case gs:return Ts;case Y:var i=A,a=this.peekCodePoint(0),o=this.peekCodePoint(1);if(vr(i,a,o))return this.reconsumeCodePoint(A),this.consumeNumericToken();if(xe(i,a,o))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();if(a===Y&&o===rs)return this.consumeCodePoint(),this.consumeCodePoint(),Ps;break;case Be:if(vr(A,this.peekCodePoint(0),this.peekCodePoint(1)))return this.reconsumeCodePoint(A),this.consumeNumericToken();break;case yt:if(this.peekCodePoint(0)===Ir)for(this.consumeCodePoint();;){var Q=this.consumeCodePoint();if(Q===Ir&&(Q=this.consumeCodePoint(),Q===yt))return this.consumeToken();if(Q===BA)return this.consumeToken()}break;case ws:return ks;case cs:return Ys;case es:if(this.peekCodePoint(0)===As&&this.peekCodePoint(1)===Y&&this.peekCodePoint(2)===Y)return this.consumeCodePoint(),this.consumeCodePoint(),Js;break;case ts:var g=this.peekCodePoint(0),w=this.peekCodePoint(1),f=this.peekCodePoint(2);if(xe(g,w,f)){var s=this.consumeName();return{type:7,value:s}}break;case Bs:return Ws;case ee:if(uA(A,this.peekCodePoint(0)))return this.reconsumeCodePoint(A),this.consumeIdentLikeToken();break;case ns:return Zs;case ss:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Os;break;case as:return Vs;case is:return Ns;case ds:case Hs:var c=this.peekCodePoint(0),C=this.peekCodePoint(1);return c===KA&&(MA(C)||C===Le)&&(this.consumeCodePoint(),this.consumeUnicodeRangeToken()),this.reconsumeCodePoint(A),this.consumeIdentLikeToken();case Kt:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Gs;if(this.peekCodePoint(0)===Kt)return this.consumeCodePoint(),Ms;break;case os:if(this.peekCodePoint(0)===re)return this.consumeCodePoint(),Rs;break;case BA:return yr}return De(A)?(this.consumeWhiteSpace(),qs):J(A)?(this.reconsumeCodePoint(A),this.consumeNumericToken()):be(A)?(this.reconsumeCodePoint(A),this.consumeIdentLikeToken()):{type:6,value:T(A)}},e.prototype.consumeCodePoint=function(){var A=this._value.shift();return typeof A>"u"?-1:A},e.prototype.reconsumeCodePoint=function(A){this._value.unshift(A)},e.prototype.peekCodePoint=function(A){return A>=this._value.length?-1:this._value[A]},e.prototype.consumeUnicodeRangeToken=function(){for(var A=[],t=this.consumeCodePoint();MA(t)&&A.length<6;)A.push(t),t=this.consumeCodePoint();for(var r=!1;t===Le&&A.length<6;)A.push(t),t=this.consumeCodePoint(),r=!0;if(r){var B=parseInt(T.apply(void 0,A.map(function(a){return a===Le?Lt:a})),16),n=parseInt(T.apply(void 0,A.map(function(a){return a===Le?St:a})),16);return{type:30,start:B,end:n}}var s=parseInt(T.apply(void 0,A),16);if(this.peekCodePoint(0)===Y&&MA(this.peekCodePoint(1))){this.consumeCodePoint(),t=this.consumeCodePoint();for(var i=[];MA(t)&&i.length<6;)i.push(t),t=this.consumeCodePoint();var n=parseInt(T.apply(void 0,i),16);return{type:30,start:s,end:n}}else return{type:30,start:s,end:s}},e.prototype.consumeIdentLikeToken=function(){var A=this.consumeName();return A.toLowerCase()==="url"&&this.peekCodePoint(0)===me?(this.consumeCodePoint(),this.consumeUrlToken()):this.peekCodePoint(0)===me?(this.consumeCodePoint(),{type:19,value:A}):{type:20,value:A}},e.prototype.consumeUrlToken=function(){var A=[];if(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA)return{type:22,value:""};var t=this.peekCodePoint(0);if(t===Ke||t===ye){var r=this.consumeStringToken(this.consumeCodePoint());return r.type===0&&(this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te)?(this.consumeCodePoint(),{type:22,value:r.value}):(this.consumeBadUrlRemnants(),Te)}for(;;){var B=this.consumeCodePoint();if(B===BA||B===te)return{type:22,value:T.apply(void 0,A)};if(De(B))return this.consumeWhiteSpace(),this.peekCodePoint(0)===BA||this.peekCodePoint(0)===te?(this.consumeCodePoint(),{type:22,value:T.apply(void 0,A)}):(this.consumeBadUrlRemnants(),Te);if(B===ye||B===Ke||B===me||Ls(B))return this.consumeBadUrlRemnants(),Te;if(B===ee)if(uA(B,this.peekCodePoint(0)))A.push(this.consumeEscapedCodePoint());else return this.consumeBadUrlRemnants(),Te;else A.push(B)}},e.prototype.consumeWhiteSpace=function(){for(;De(this.peekCodePoint(0));)this.consumeCodePoint()},e.prototype.consumeBadUrlRemnants=function(){for(;;){var A=this.consumeCodePoint();if(A===te||A===BA)return;uA(A,this.peekCodePoint(0))&&this.consumeEscapedCodePoint()}},e.prototype.consumeStringSlice=function(A){for(var t=5e4,r="";A>0;){var B=Math.min(t,A);r+=T.apply(void 0,this._value.splice(0,B)),A-=B}return this._value.shift(),r},e.prototype.consumeStringToken=function(A){var t="",r=0;do{var B=this._value[r];if(B===BA||B===void 0||B===A)return t+=this.consumeStringSlice(r),{type:0,value:t};if(B===ve)return this._value.splice(0,r),_s;if(B===ee){var n=this._value[r+1];n!==BA&&n!==void 0&&(n===ve?(t+=this.consumeStringSlice(r),r=-1,this._value.shift()):uA(B,n)&&(t+=this.consumeStringSlice(r),t+=T(this.consumeEscapedCodePoint()),r=-1))}r++}while(!0)},e.prototype.consumeNumber=function(){var A=[],t=Ae,r=this.peekCodePoint(0);for((r===KA||r===Y)&&A.push(this.consumeCodePoint());J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0);var B=this.peekCodePoint(1);if(r===Be&&J(B))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());r=this.peekCodePoint(0),B=this.peekCodePoint(1);var n=this.peekCodePoint(2);if((r===Tt||r===bt)&&((B===KA||B===Y)&&J(n)||J(B)))for(A.push(this.consumeCodePoint(),this.consumeCodePoint()),t=vt;J(this.peekCodePoint(0));)A.push(this.consumeCodePoint());return[Ds(A),t]},e.prototype.consumeNumericToken=function(){var A=this.consumeNumber(),t=A[0],r=A[1],B=this.peekCodePoint(0),n=this.peekCodePoint(1),s=this.peekCodePoint(2);if(xe(B,n,s)){var i=this.consumeName();return{type:15,number:t,flags:r,unit:i}}return B===zn?(this.consumeCodePoint(),{type:16,number:t,flags:r}):{type:17,number:t,flags:r}},e.prototype.consumeEscapedCodePoint=function(){var A=this.consumeCodePoint();if(MA(A)){for(var t=T(A);MA(this.peekCodePoint(0))&&t.length<6;)t+=T(this.consumeCodePoint());De(this.peekCodePoint(0))&&this.consumeCodePoint();var r=parseInt(t,16);return r===0||Is(r)||r>1114111?mt:r}return A===BA?mt:A},e.prototype.consumeName=function(){for(var A="";;){var t=this.consumeCodePoint();if(Ot(t))A+=T(t);else if(uA(t,this.peekCodePoint(0)))A+=T(this.consumeEscapedCodePoint());else return this.reconsumeCodePoint(t),A}},e}(),Gt=function(){function e(A){this._tokens=A}return e.create=function(A){var t=new Mt;return t.write(A),new e(t.read())},e.parseValue=function(A){return e.create(A).parseComponentValue()},e.parseValues=function(A){return e.create(A).parseComponentValues()},e.prototype.parseComponentValue=function(){for(var A=this.consumeToken();A.type===31;)A=this.consumeToken();if(A.type===32)throw new SyntaxError("Error parsing CSS component value, unexpected EOF");this.reconsumeToken(A);var t=this.consumeComponentValue();do A=this.consumeToken();while(A.type===31);if(A.type===32)return t;throw new SyntaxError("Error parsing CSS component value, multiple values found when expecting only one")},e.prototype.parseComponentValues=function(){for(var A=[];;){var t=this.consumeComponentValue();if(t.type===32)return A;A.push(t),A.push()}},e.prototype.consumeComponentValue=function(){var A=this.consumeToken();switch(A.type){case 11:case 28:case 2:return this.consumeSimpleBlock(A.type);case 19:return this.consumeFunction(A)}return A},e.prototype.consumeSimpleBlock=function(A){for(var t={type:A,values:[]},r=this.consumeToken();;){if(r.type===32||zs(r,A))return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue()),r=this.consumeToken()}},e.prototype.consumeFunction=function(A){for(var t={name:A.value,values:[],type:18};;){var r=this.consumeToken();if(r.type===32||r.type===3)return t;this.reconsumeToken(r),t.values.push(this.consumeComponentValue())}},e.prototype.consumeToken=function(){var A=this._tokens.shift();return typeof A>"u"?yr:A},e.prototype.reconsumeToken=function(A){this._tokens.unshift(A)},e}(),ne=function(e){return e.type===15},GA=function(e){return e.type===17},L=function(e){return e.type===20},js=function(e){return e.type===0},Kr=function(e,A){return L(e)&&e.value===A},Rt=function(e){return e.type!==31},RA=function(e){return e.type!==31&&e.type!==4},nA=function(e){var A=[],t=[];return e.forEach(function(r){if(r.type===4){if(t.length===0)throw new Error("Error parsing function args, zero tokens for arg");A.push(t),t=[];return}r.type!==31&&t.push(r)}),t.length&&A.push(t),A},zs=function(e,A){return A===11&&e.type===12||A===28&&e.type===29?!0:A===2&&e.type===3},lA=function(e){return e.type===17||e.type===15},O=function(e){return e.type===16||lA(e)},Vt=function(e){return e.length>1?[e[0],e[1]]:[e[0]]},V={type:17,number:0,flags:Ae},mr={type:16,number:50,flags:Ae},fA={type:16,number:100,flags:Ae},se=function(e,A,t){var r=e[0],B=e[1];return[b(r,A),b(typeof B<"u"?B:r,t)]},b=function(e,A){if(e.type===16)return e.number/100*A;if(ne(e))switch(e.unit){case"rem":case"em":return 16*e.number;case"px":default:return e.number}return e.number},Nt="deg",Xt="grad",_t="rad",Jt="turn",Se={name:"angle",parse:function(e,A){if(A.type===15)switch(A.unit){case Nt:return Math.PI*A.number/180;case Xt:return Math.PI/200*A.number;case _t:return A.number;case Jt:return Math.PI*2*A.number}throw new Error("Unsupported angle type")}},Pt=function(e){return e.type===15&&(e.unit===Nt||e.unit===Xt||e.unit===_t||e.unit===Jt)},kt=function(e){var A=e.filter(L).map(function(t){return t.value}).join(" ");switch(A){case"to bottom right":case"to right bottom":case"left top":case"top left":return[V,V];case"to top":case"bottom":return $(0);case"to bottom left":case"to left bottom":case"right top":case"top right":return[V,fA];case"to right":case"left":return $(90);case"to top left":case"to left top":case"right bottom":case"bottom right":return[fA,fA];case"to bottom":case"top":return $(180);case"to top right":case"to right top":case"left bottom":case"bottom left":return[fA,V];case"to left":case"right":return $(270)}return 0},$=function(e){return Math.PI*e/180},UA={name:"color",parse:function(e,A){if(A.type===18){var t=$s[A.name];if(typeof t>"u")throw new Error('Attempting to parse an unsupported color function "'+A.name+'"');return t(e,A.values)}if(A.type===5){if(A.value.length===3){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),1)}if(A.value.length===4){var r=A.value.substring(0,1),B=A.value.substring(1,2),n=A.value.substring(2,3),s=A.value.substring(3,4);return hA(parseInt(r+r,16),parseInt(B+B,16),parseInt(n+n,16),parseInt(s+s,16)/255)}if(A.value.length===6){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),1)}if(A.value.length===8){var r=A.value.substring(0,2),B=A.value.substring(2,4),n=A.value.substring(4,6),s=A.value.substring(6,8);return hA(parseInt(r,16),parseInt(B,16),parseInt(n,16),parseInt(s,16)/255)}}if(A.type===20){var i=QA[A.value.toUpperCase()];if(typeof i<"u")return i}return QA.TRANSPARENT}},FA=function(e){return(255&e)===0},R=function(e){var A=255&e,t=255&e>>8,r=255&e>>16,B=255&e>>24;return A<255?"rgba("+B+","+r+","+t+","+A/255+")":"rgb("+B+","+r+","+t+")"},hA=function(e,A,t,r){return(e<<24|A<<16|t<<8|Math.round(r*255)<<0)>>>0},Yt=function(e,A){if(e.type===17)return e.number;if(e.type===16){var t=A===3?1:255;return A===3?e.number/100*t:Math.round(e.number/100*t)}return 0},Wt=function(e,A){var t=A.filter(RA);if(t.length===3){var r=t.map(Yt),B=r[0],n=r[1],s=r[2];return hA(B,n,s,1)}if(t.length===4){var i=t.map(Yt),B=i[0],n=i[1],s=i[2],a=i[3];return hA(B,n,s,a)}return 0};function Lr(e,A,t){return t<0&&(t+=1),t>=1&&(t-=1),t<1/6?(A-e)*t*6+e:t<1/2?A:t<2/3?(A-e)*6*(2/3-t)+e:e}var Zt=function(e,A){var t=A.filter(RA),r=t[0],B=t[1],n=t[2],s=t[3],i=(r.type===17?$(r.number):Se.parse(e,r))/(Math.PI*2),a=O(B)?B.number/100:0,o=O(n)?n.number/100:0,Q=typeof s<"u"&&O(s)?b(s,1):1;if(a===0)return hA(o*255,o*255,o*255,1);var g=o<=.5?o*(a+1):o+a-o*a,w=o*2-g,f=Lr(w,g,i+1/3),c=Lr(w,g,i),C=Lr(w,g,i-1/3);return hA(f*255,c*255,C*255,Q)},$s={hsl:Zt,hsla:Zt,rgb:Wt,rgba:Wt},ae=function(e,A){return UA.parse(e,Gt.create(A).parseComponentValue())},QA={ALICEBLUE:4042850303,ANTIQUEWHITE:4209760255,AQUA:16777215,AQUAMARINE:2147472639,AZURE:4043309055,BEIGE:4126530815,BISQUE:4293182719,BLACK:255,BLANCHEDALMOND:4293643775,BLUE:65535,BLUEVIOLET:2318131967,BROWN:2771004159,BURLYWOOD:3736635391,CADETBLUE:1604231423,CHARTREUSE:2147418367,CHOCOLATE:3530104575,CORAL:4286533887,CORNFLOWERBLUE:1687547391,CORNSILK:4294499583,CRIMSON:3692313855,CYAN:16777215,DARKBLUE:35839,DARKCYAN:9145343,DARKGOLDENROD:3095837695,DARKGRAY:2846468607,DARKGREEN:6553855,DARKGREY:2846468607,DARKKHAKI:3182914559,DARKMAGENTA:2332068863,DARKOLIVEGREEN:1433087999,DARKORANGE:4287365375,DARKORCHID:2570243327,DARKRED:2332033279,DARKSALMON:3918953215,DARKSEAGREEN:2411499519,DARKSLATEBLUE:1211993087,DARKSLATEGRAY:793726975,DARKSLATEGREY:793726975,DARKTURQUOISE:13554175,DARKVIOLET:2483082239,DEEPPINK:4279538687,DEEPSKYBLUE:12582911,DIMGRAY:1768516095,DIMGREY:1768516095,DODGERBLUE:512819199,FIREBRICK:2988581631,FLORALWHITE:4294635775,FORESTGREEN:579543807,FUCHSIA:4278255615,GAINSBORO:3705462015,GHOSTWHITE:4177068031,GOLD:4292280575,GOLDENROD:3668254975,GRAY:2155905279,GREEN:8388863,GREENYELLOW:2919182335,GREY:2155905279,HONEYDEW:4043305215,HOTPINK:4285117695,INDIANRED:3445382399,INDIGO:1258324735,IVORY:4294963455,KHAKI:4041641215,LAVENDER:3873897215,LAVENDERBLUSH:4293981695,LAWNGREEN:2096890111,LEMONCHIFFON:4294626815,LIGHTBLUE:2916673279,LIGHTCORAL:4034953471,LIGHTCYAN:3774873599,LIGHTGOLDENRODYELLOW:4210742015,LIGHTGRAY:3553874943,LIGHTGREEN:2431553791,LIGHTGREY:3553874943,LIGHTPINK:4290167295,LIGHTSALMON:4288707327,LIGHTSEAGREEN:548580095,LIGHTSKYBLUE:2278488831,LIGHTSLATEGRAY:2005441023,LIGHTSLATEGREY:2005441023,LIGHTSTEELBLUE:2965692159,LIGHTYELLOW:4294959359,LIME:16711935,LIMEGREEN:852308735,LINEN:4210091775,MAGENTA:4278255615,MAROON:2147483903,MEDIUMAQUAMARINE:1724754687,MEDIUMBLUE:52735,MEDIUMORCHID:3126187007,MEDIUMPURPLE:2473647103,MEDIUMSEAGREEN:1018393087,MEDIUMSLATEBLUE:2070474495,MEDIUMSPRINGGREEN:16423679,MEDIUMTURQUOISE:1221709055,MEDIUMVIOLETRED:3340076543,MIDNIGHTBLUE:421097727,MINTCREAM:4127193855,MISTYROSE:4293190143,MOCCASIN:4293178879,NAVAJOWHITE:4292783615,NAVY:33023,OLDLACE:4260751103,OLIVE:2155872511,OLIVEDRAB:1804477439,ORANGE:4289003775,ORANGERED:4282712319,ORCHID:3664828159,PALEGOLDENROD:4008225535,PALEGREEN:2566625535,PALETURQUOISE:2951671551,PALEVIOLETRED:3681588223,PAPAYAWHIP:4293907967,PEACHPUFF:4292524543,PERU:3448061951,PINK:4290825215,PLUM:3718307327,POWDERBLUE:2967529215,PURPLE:2147516671,REBECCAPURPLE:1714657791,RED:4278190335,ROSYBROWN:3163525119,ROYALBLUE:1097458175,SADDLEBROWN:2336560127,SALMON:4202722047,SANDYBROWN:4104413439,SEAGREEN:780883967,SEASHELL:4294307583,SIENNA:2689740287,SILVER:3233857791,SKYBLUE:2278484991,SLATEBLUE:1784335871,SLATEGRAY:1887473919,SLATEGREY:1887473919,SNOW:4294638335,SPRINGGREEN:16744447,STEELBLUE:1182971135,TAN:3535047935,TEAL:8421631,THISTLE:3636451583,TOMATO:4284696575,TRANSPARENT:0,TURQUOISE:1088475391,VIOLET:4001558271,WHEAT:4125012991,WHITE:4294967295,WHITESMOKE:4126537215,YELLOW:4294902015,YELLOWGREEN:2597139199},Aa={name:"background-clip",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ea={name:"background-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Oe=function(e,A){var t=UA.parse(e,A[0]),r=A[1];return r&&O(r)?{color:t,stop:r}:{color:t,stop:null}},qt=function(e,A){var t=e[0],r=e[e.length-1];t.stop===null&&(t.stop=V),r.stop===null&&(r.stop=fA);for(var B=[],n=0,s=0;sn?B.push(a):B.push(n),n=a}else B.push(null)}for(var o=null,s=0;ss.optimumDistance)?{optimumCorner:i,optimumDistance:Q}:s},{optimumDistance:B?1/0:-1/0,optimumCorner:null}).optimumCorner},Ba=function(e,A,t,r,B){var n=0,s=0;switch(e.size){case 0:e.shape===0?n=s=Math.min(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.min(Math.abs(A),Math.abs(A-r)),s=Math.min(Math.abs(t),Math.abs(t-B)));break;case 2:if(e.shape===0)n=s=Math.min(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.min(Math.abs(t),Math.abs(t-B))/Math.min(Math.abs(A),Math.abs(A-r)),a=jt(r,B,A,t,!0),o=a[0],Q=a[1];n=tA(o-A,(Q-t)/i),s=i*n}break;case 1:e.shape===0?n=s=Math.max(Math.abs(A),Math.abs(A-r),Math.abs(t),Math.abs(t-B)):e.shape===1&&(n=Math.max(Math.abs(A),Math.abs(A-r)),s=Math.max(Math.abs(t),Math.abs(t-B)));break;case 3:if(e.shape===0)n=s=Math.max(tA(A,t),tA(A,t-B),tA(A-r,t),tA(A-r,t-B));else if(e.shape===1){var i=Math.max(Math.abs(t),Math.abs(t-B))/Math.max(Math.abs(A),Math.abs(A-r)),g=jt(r,B,A,t,!1),o=g[0],Q=g[1];n=tA(o-A,(Q-t)/i),s=i*n}break}return Array.isArray(e.size)&&(n=b(e.size[0],r),s=e.size.length===2?b(e.size[1],B):n),[n,s]},na=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&s.value==="to"){t=kt(B);return}else if(Pt(s)){t=Se.parse(e,s);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},Me=function(e,A){var t=$(180),r=[];return nA(A).forEach(function(B,n){if(n===0){var s=B[0];if(s.type===20&&["top","left","right","bottom"].indexOf(s.value)!==-1){t=kt(B);return}else if(Pt(s)){t=(Se.parse(e,s)+$(270))%$(360);return}}var i=Oe(e,B);r.push(i)}),{angle:t,stops:r,type:1}},sa=function(e,A){var t=$(180),r=[],B=1,n=0,s=3,i=[];return nA(A).forEach(function(a,o){var Q=a[0];if(o===0){if(L(Q)&&Q.value==="linear"){B=1;return}else if(L(Q)&&Q.value==="radial"){B=2;return}}if(Q.type===18){if(Q.name==="from"){var g=UA.parse(e,Q.values[0]);r.push({stop:V,color:g})}else if(Q.name==="to"){var g=UA.parse(e,Q.values[0]);r.push({stop:fA,color:g})}else if(Q.name==="color-stop"){var w=Q.values.filter(RA);if(w.length===2){var g=UA.parse(e,w[1]),f=w[0];GA(f)&&r.push({stop:{type:16,number:f.number*100,flags:f.flags},color:g})}}}}),B===1?{angle:(t+$(180))%$(360),stops:r,type:B}:{size:s,shape:n,stops:r,position:i,type:B}},zt="closest-side",$t="farthest-side",AB="closest-corner",eB="farthest-corner",rB="circle",tB="ellipse",BB="cover",nB="contain",aa=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0){var o=!1;a=s.reduce(function(g,w){if(o)if(L(w))switch(w.value){case"center":return n.push(mr),g;case"top":case"left":return n.push(V),g;case"right":case"bottom":return n.push(fA),g}else(O(w)||lA(w))&&n.push(w);else if(L(w))switch(w.value){case rB:return t=0,!1;case tB:return t=1,!1;case"at":return o=!0,!1;case zt:return r=0,!1;case BB:case $t:return r=1,!1;case nB:case AB:return r=2,!1;case eB:return r=3,!1}else if(lA(w)||O(w))return Array.isArray(r)||(r=[]),r.push(w),!1;return g},a)}if(a){var Q=Oe(e,s);B.push(Q)}}),{size:r,shape:t,stops:B,position:n,type:2}},Ge=function(e,A){var t=0,r=3,B=[],n=[];return nA(A).forEach(function(s,i){var a=!0;if(i===0?a=s.reduce(function(Q,g){if(L(g))switch(g.value){case"center":return n.push(mr),!1;case"top":case"left":return n.push(V),!1;case"right":case"bottom":return n.push(fA),!1}else if(O(g)||lA(g))return n.push(g),!1;return Q},a):i===1&&(a=s.reduce(function(Q,g){if(L(g))switch(g.value){case rB:return t=0,!1;case tB:return t=1,!1;case nB:case zt:return r=0,!1;case $t:return r=1,!1;case AB:return r=2,!1;case BB:case eB:return r=3,!1}else if(lA(g)||O(g))return Array.isArray(r)||(r=[]),r.push(g),!1;return Q},a)),a){var o=Oe(e,s);B.push(o)}}),{size:r,shape:t,stops:B,position:n,type:2}},ia=function(e){return e.type===1},oa=function(e){return e.type===2},Dr={name:"image",parse:function(e,A){if(A.type===22){var t={url:A.value,type:0};return e.cache.addImage(A.value),t}if(A.type===18){var r=sB[A.name];if(typeof r>"u")throw new Error('Attempting to parse an unsupported image function "'+A.name+'"');return r(e,A.values)}throw new Error("Unsupported image type "+A.type)}};function Qa(e){return!(e.type===20&&e.value==="none")&&(e.type!==18||!!sB[e.name])}for(var sB={"linear-gradient":na,"-moz-linear-gradient":Me,"-ms-linear-gradient":Me,"-o-linear-gradient":Me,"-webkit-linear-gradient":Me,"radial-gradient":aa,"-moz-radial-gradient":Ge,"-ms-radial-gradient":Ge,"-o-radial-gradient":Ge,"-webkit-radial-gradient":Ge,"-webkit-gradient":sa},ga={name:"background-image",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A.filter(function(r){return RA(r)&&Qa(r)}).map(function(r){return Dr.parse(e,r)})}},wa={name:"background-origin",initialValue:"border-box",prefix:!1,type:1,parse:function(e,A){return A.map(function(t){if(L(t))switch(t.value){case"padding-box":return 1;case"content-box":return 2}return 0})}},ca={name:"background-position",initialValue:"0% 0%",type:1,prefix:!1,parse:function(e,A){return nA(A).map(function(t){return t.filter(O)}).map(Vt)}},Ca={name:"background-repeat",initialValue:"repeat",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(L).map(function(r){return r.value}).join(" ")}).map(ua)}},ua=function(e){switch(e){case"no-repeat":return 1;case"repeat-x":case"repeat no-repeat":return 2;case"repeat-y":case"no-repeat repeat":return 3;case"repeat":default:return 0}},ie=function(e){return e.AUTO="auto",e.CONTAIN="contain",e.COVER="cover",e}(ie||{}),la={name:"background-size",initialValue:"0",prefix:!1,type:1,parse:function(e,A){return nA(A).map(function(t){return t.filter(fa)})}},fa=function(e){return L(e)||O(e)},Re=function(e){return{name:"border-"+e+"-color",initialValue:"transparent",prefix:!1,type:3,format:"color"}},Ua=Re("top"),Fa=Re("right"),ha=Re("bottom"),da=Re("left"),Ve=function(e){return{name:"border-radius-"+e,initialValue:"0 0",prefix:!1,type:1,parse:function(A,t){return Vt(t.filter(O))}}},Ea=Ve("top-left"),Ha=Ve("top-right"),pa=Ve("bottom-right"),Ia=Ve("bottom-left"),Ne=function(e){return{name:"border-"+e+"-style",initialValue:"solid",prefix:!1,type:2,parse:function(A,t){switch(t){case"none":return 0;case"dashed":return 2;case"dotted":return 3;case"double":return 4}return 1}}},va=Ne("top"),ya=Ne("right"),Ka=Ne("bottom"),ma=Ne("left"),Xe=function(e){return{name:"border-"+e+"-width",initialValue:"0",type:0,prefix:!1,parse:function(A,t){return ne(t)?t.number:0}}},La=Xe("top"),Da=Xe("right"),ba=Xe("bottom"),xa=Xe("left"),Ta={name:"color",initialValue:"transparent",prefix:!1,type:3,format:"color"},Sa={name:"direction",initialValue:"ltr",prefix:!1,type:2,parse:function(e,A){switch(A){case"rtl":return 1;case"ltr":default:return 0}}},Oa={name:"display",initialValue:"inline-block",prefix:!1,type:1,parse:function(e,A){return A.filter(L).reduce(function(t,r){return t|Ma(r.value)},0)}},Ma=function(e){switch(e){case"block":case"-webkit-box":return 2;case"inline":return 4;case"run-in":return 8;case"flow":return 16;case"flow-root":return 32;case"table":return 64;case"flex":case"-webkit-flex":return 128;case"grid":case"-ms-grid":return 256;case"ruby":return 512;case"subgrid":return 1024;case"list-item":return 2048;case"table-row-group":return 4096;case"table-header-group":return 8192;case"table-footer-group":return 16384;case"table-row":return 32768;case"table-cell":return 65536;case"table-column-group":return 131072;case"table-column":return 262144;case"table-caption":return 524288;case"ruby-base":return 1048576;case"ruby-text":return 2097152;case"ruby-base-container":return 4194304;case"ruby-text-container":return 8388608;case"contents":return 16777216;case"inline-block":return 33554432;case"inline-list-item":return 67108864;case"inline-table":return 134217728;case"inline-flex":return 268435456;case"inline-grid":return 536870912}return 0},Ga={name:"float",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"left":return 1;case"right":return 2;case"inline-start":return 3;case"inline-end":return 4}return 0}},Ra={name:"letter-spacing",initialValue:"0",prefix:!1,type:0,parse:function(e,A){return A.type===20&&A.value==="normal"?0:A.type===17||A.type===15?A.number:0}},br=function(e){return e.NORMAL="normal",e.STRICT="strict",e}(br||{}),Va={name:"line-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"strict":return br.STRICT;case"normal":default:return br.NORMAL}}},Na={name:"line-height",initialValue:"normal",prefix:!1,type:4},aB=function(e,A){return L(e)&&e.value==="normal"?1.2*A:e.type===17?A*e.number:O(e)?b(e,A):A},Xa={name:"list-style-image",initialValue:"none",type:0,prefix:!1,parse:function(e,A){return A.type===20&&A.value==="none"?null:Dr.parse(e,A)}},_a={name:"list-style-position",initialValue:"outside",prefix:!1,type:2,parse:function(e,A){switch(A){case"inside":return 0;case"outside":default:return 1}}},xr={name:"list-style-type",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"disc":return 0;case"circle":return 1;case"square":return 2;case"decimal":return 3;case"cjk-decimal":return 4;case"decimal-leading-zero":return 5;case"lower-roman":return 6;case"upper-roman":return 7;case"lower-greek":return 8;case"lower-alpha":return 9;case"upper-alpha":return 10;case"arabic-indic":return 11;case"armenian":return 12;case"bengali":return 13;case"cambodian":return 14;case"cjk-earthly-branch":return 15;case"cjk-heavenly-stem":return 16;case"cjk-ideographic":return 17;case"devanagari":return 18;case"ethiopic-numeric":return 19;case"georgian":return 20;case"gujarati":return 21;case"gurmukhi":return 22;case"hebrew":return 22;case"hiragana":return 23;case"hiragana-iroha":return 24;case"japanese-formal":return 25;case"japanese-informal":return 26;case"kannada":return 27;case"katakana":return 28;case"katakana-iroha":return 29;case"khmer":return 30;case"korean-hangul-formal":return 31;case"korean-hanja-formal":return 32;case"korean-hanja-informal":return 33;case"lao":return 34;case"lower-armenian":return 35;case"malayalam":return 36;case"mongolian":return 37;case"myanmar":return 38;case"oriya":return 39;case"persian":return 40;case"simp-chinese-formal":return 41;case"simp-chinese-informal":return 42;case"tamil":return 43;case"telugu":return 44;case"thai":return 45;case"tibetan":return 46;case"trad-chinese-formal":return 47;case"trad-chinese-informal":return 48;case"upper-armenian":return 49;case"disclosure-open":return 50;case"disclosure-closed":return 51;case"none":default:return-1}}},_e=function(e){return{name:"margin-"+e,initialValue:"0",prefix:!1,type:4}},Ja=_e("top"),Pa=_e("right"),ka=_e("bottom"),Ya=_e("left"),Wa={name:"overflow",initialValue:"visible",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"hidden":return 1;case"scroll":return 2;case"clip":return 3;case"auto":return 4;case"visible":default:return 0}})}},Za={name:"overflow-wrap",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-word":return"break-word";case"normal":default:return"normal"}}},Je=function(e){return{name:"padding-"+e,initialValue:"0",prefix:!1,type:3,format:"length-percentage"}},qa=Je("top"),ja=Je("right"),za=Je("bottom"),$a=Je("left"),Ai={name:"text-align",initialValue:"left",prefix:!1,type:2,parse:function(e,A){switch(A){case"right":return 2;case"center":case"justify":return 1;case"left":default:return 0}}},ei={name:"position",initialValue:"static",prefix:!1,type:2,parse:function(e,A){switch(A){case"relative":return 1;case"absolute":return 2;case"fixed":return 3;case"sticky":return 4}return 0}},ri={name:"text-shadow",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.length===1&&Kr(A[0],"none")?[]:nA(A).map(function(t){for(var r={color:QA.TRANSPARENT,offsetX:V,offsetY:V,blur:V},B=0,n=0;n"u")throw new Error('Attempting to parse an unsupported transform function "'+A.name+'"');return t(A.values)}return null}},ni=function(e){var A=e.filter(function(t){return t.type===17}).map(function(t){return t.number});return A.length===6?A:null},si=function(e){var A=e.filter(function(a){return a.type===17}).map(function(a){return a.number}),t=A[0],r=A[1];A[2],A[3];var B=A[4],n=A[5];A[6],A[7],A[8],A[9],A[10],A[11];var s=A[12],i=A[13];return A[14],A[15],A.length===16?[t,r,B,n,s,i]:null},ai={matrix:ni,matrix3d:si},iB={type:16,number:50,flags:Ae},ii=[iB,iB],oi={name:"transform-origin",initialValue:"50% 50%",prefix:!0,type:1,parse:function(e,A){var t=A.filter(O);return t.length!==2?ii:[t[0],t[1]]}},Qi={name:"visible",initialValue:"none",prefix:!1,type:2,parse:function(e,A){switch(A){case"hidden":return 1;case"collapse":return 2;case"visible":default:return 0}}},Pe=function(e){return e.NORMAL="normal",e.BREAK_ALL="break-all",e.KEEP_ALL="keep-all",e}(Pe||{}),gi={name:"word-break",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"break-all":return Pe.BREAK_ALL;case"keep-all":return Pe.KEEP_ALL;case"normal":default:return Pe.NORMAL}}},wi={name:"z-index",initialValue:"auto",prefix:!1,type:0,parse:function(e,A){if(A.type===20)return{auto:!0,order:0};if(GA(A))return{auto:!1,order:A.number};throw new Error("Invalid z-index number parsed")}},oB={name:"time",parse:function(e,A){if(A.type===15)switch(A.unit.toLowerCase()){case"s":return 1e3*A.number;case"ms":return A.number}throw new Error("Unsupported time type")}},ci={name:"opacity",initialValue:"1",type:0,prefix:!1,parse:function(e,A){return GA(A)?A.number:1}},Ci={name:"text-decoration-color",initialValue:"transparent",prefix:!1,type:3,format:"color"},ui={name:"text-decoration-line",initialValue:"none",prefix:!1,type:1,parse:function(e,A){return A.filter(L).map(function(t){switch(t.value){case"underline":return 1;case"overline":return 2;case"line-through":return 3;case"none":return 4}return 0}).filter(function(t){return t!==0})}},li={name:"font-family",initialValue:"",prefix:!1,type:1,parse:function(e,A){var t=[],r=[];return A.forEach(function(B){switch(B.type){case 20:case 0:t.push(B.value);break;case 17:t.push(B.number.toString());break;case 4:r.push(t.join(" ")),t.length=0;break}}),t.length&&r.push(t.join(" ")),r.map(function(B){return B.indexOf(" ")===-1?B:"'"+B+"'"})}},fi={name:"font-size",initialValue:"0",prefix:!1,type:3,format:"length"},Ui={name:"font-weight",initialValue:"normal",type:0,prefix:!1,parse:function(e,A){if(GA(A))return A.number;if(L(A))switch(A.value){case"bold":return 700;case"normal":default:return 400}return 400}},Fi={name:"font-variant",initialValue:"none",type:1,prefix:!1,parse:function(e,A){return A.filter(L).map(function(t){return t.value})}},hi={name:"font-style",initialValue:"normal",prefix:!1,type:2,parse:function(e,A){switch(A){case"oblique":return"oblique";case"italic":return"italic";case"normal":default:return"normal"}}},G=function(e,A){return(e&A)!==0},di={name:"content",initialValue:"none",type:1,prefix:!1,parse:function(e,A){if(A.length===0)return[];var t=A[0];return t.type===20&&t.value==="none"?[]:A}},Ei={name:"counter-increment",initialValue:"none",prefix:!0,type:1,parse:function(e,A){if(A.length===0)return null;var t=A[0];if(t.type===20&&t.value==="none")return null;for(var r=[],B=A.filter(Rt),n=0;n1?1:0],this.overflowWrap=U(A,Za,t.overflowWrap),this.paddingTop=U(A,qa,t.paddingTop),this.paddingRight=U(A,ja,t.paddingRight),this.paddingBottom=U(A,za,t.paddingBottom),this.paddingLeft=U(A,$a,t.paddingLeft),this.paintOrder=U(A,yi,t.paintOrder),this.position=U(A,ei,t.position),this.textAlign=U(A,Ai,t.textAlign),this.textDecorationColor=U(A,Ci,(r=t.textDecorationColor)!==null&&r!==void 0?r:t.color),this.textDecorationLine=U(A,ui,(B=t.textDecorationLine)!==null&&B!==void 0?B:t.textDecoration),this.textShadow=U(A,ri,t.textShadow),this.textTransform=U(A,ti,t.textTransform),this.transform=U(A,Bi,t.transform),this.transformOrigin=U(A,oi,t.transformOrigin),this.visibility=U(A,Qi,t.visibility),this.webkitTextStrokeColor=U(A,Ki,t.webkitTextStrokeColor),this.webkitTextStrokeWidth=U(A,mi,t.webkitTextStrokeWidth),this.wordBreak=U(A,gi,t.wordBreak),this.zIndex=U(A,wi,t.zIndex)}return e.prototype.isVisible=function(){return this.display>0&&this.opacity>0&&this.visibility===0},e.prototype.isTransparent=function(){return FA(this.backgroundColor)},e.prototype.isTransformed=function(){return this.transform!==null},e.prototype.isPositioned=function(){return this.position!==0},e.prototype.isPositionedWithZIndex=function(){return this.isPositioned()&&!this.zIndex.auto},e.prototype.isFloating=function(){return this.float!==0},e.prototype.isInlineLevel=function(){return G(this.display,4)||G(this.display,33554432)||G(this.display,268435456)||G(this.display,536870912)||G(this.display,67108864)||G(this.display,134217728)},e}(),Di=function(){function e(A,t){this.content=U(A,di,t.content),this.quotes=U(A,Ii,t.quotes)}return e}(),gB=function(){function e(A,t){this.counterIncrement=U(A,Ei,t.counterIncrement),this.counterReset=U(A,Hi,t.counterReset)}return e}(),U=function(e,A,t){var r=new Mt,B=t!==null&&typeof t<"u"?t.toString():A.initialValue;r.write(B);var n=new Gt(r.read());switch(A.type){case 2:var s=n.parseComponentValue();return A.parse(e,L(s)?s.value:A.initialValue);case 0:return A.parse(e,n.parseComponentValue());case 1:return A.parse(e,n.parseComponentValues());case 4:return n.parseComponentValue();case 3:switch(A.format){case"angle":return Se.parse(e,n.parseComponentValue());case"color":return UA.parse(e,n.parseComponentValue());case"image":return Dr.parse(e,n.parseComponentValue());case"length":var i=n.parseComponentValue();return lA(i)?i:V;case"length-percentage":var a=n.parseComponentValue();return O(a)?a:V;case"time":return oB.parse(e,n.parseComponentValue())}break}},bi="data-html2canvas-debug",xi=function(e){var A=e.getAttribute(bi);switch(A){case"all":return 1;case"clone":return 2;case"parse":return 3;case"render":return 4;default:return 0}},Tr=function(e,A){var t=xi(e);return t===1||A===t},sA=function(){function e(A,t){if(this.context=A,this.textNodes=[],this.elements=[],this.flags=0,Tr(t,3))debugger;this.styles=new Li(A,window.getComputedStyle(t,null)),Wr(t)&&(this.styles.animationDuration.some(function(r){return r>0})&&(t.style.animationDuration="0s"),this.styles.transform!==null&&(t.style.transform="none")),this.bounds=ue(this.context,t),Tr(t,4)&&(this.flags|=16)}return e}(),Ti="AAAAAAAAAAAAEA4AGBkAAFAaAAACAAAAAAAIABAAGAAwADgACAAQAAgAEAAIABAACAAQAAgAEAAIABAACAAQAAgAEAAIABAAQABIAEQATAAIABAACAAQAAgAEAAIABAAVABcAAgAEAAIABAACAAQAGAAaABwAHgAgACIAI4AlgAIABAAmwCjAKgAsAC2AL4AvQDFAMoA0gBPAVYBWgEIAAgACACMANoAYgFkAWwBdAF8AX0BhQGNAZUBlgGeAaMBlQGWAasBswF8AbsBwwF0AcsBYwHTAQgA2wG/AOMBdAF8AekB8QF0AfkB+wHiAHQBfAEIAAMC5gQIAAsCEgIIAAgAFgIeAggAIgIpAggAMQI5AkACygEIAAgASAJQAlgCYAIIAAgACAAKBQoFCgUTBRMFGQUrBSsFCAAIAAgACAAIAAgACAAIAAgACABdAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABoAmgCrwGvAQgAbgJ2AggAHgEIAAgACADnAXsCCAAIAAgAgwIIAAgACAAIAAgACACKAggAkQKZAggAPADJAAgAoQKkAqwCsgK6AsICCADJAggA0AIIAAgACAAIANYC3gIIAAgACAAIAAgACABAAOYCCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAkASoB+QIEAAgACAA8AEMCCABCBQgACABJBVAFCAAIAAgACAAIAAgACAAIAAgACABTBVoFCAAIAFoFCABfBWUFCAAIAAgACAAIAAgAbQUIAAgACAAIAAgACABzBXsFfQWFBYoFigWKBZEFigWKBYoFmAWfBaYFrgWxBbkFCAAIAAgACAAIAAgACAAIAAgACAAIAMEFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAMgFCADQBQgACAAIAAgACAAIAAgACAAIAAgACAAIAO4CCAAIAAgAiQAIAAgACABAAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAD0AggACAD8AggACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIANYFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAMDvwAIAAgAJAIIAAgACAAIAAgACAAIAAgACwMTAwgACAB9BOsEGwMjAwgAKwMyAwsFYgE3A/MEPwMIAEUDTQNRAwgAWQOsAGEDCAAIAAgACAAIAAgACABpAzQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFOgU0BTUFNgU3BTgFOQU6BTQFNQU2BTcFOAU5BToFNAU1BTYFNwU4BTkFIQUoBSwFCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABtAwgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABMAEwACAAIAAgACAAIABgACAAIAAgACAC/AAgACAAyAQgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACAAIAAwAAgACAAIAAgACAAIAAgACAAIAAAARABIAAgACAAIABQASAAIAAgAIABwAEAAjgCIABsAqAC2AL0AigDQAtwC+IJIQqVAZUBWQqVAZUBlQGVAZUBlQGrC5UBlQGVAZUBlQGVAZUBlQGVAXsKlQGVAbAK6wsrDGUMpQzlDJUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAZUBlQGVAfAKAAuZA64AtwCJALoC6ADwAAgAuACgA/oEpgO6AqsD+AAIAAgAswMIAAgACAAIAIkAuwP5AfsBwwPLAwgACAAIAAgACADRA9kDCAAIAOED6QMIAAgACAAIAAgACADuA/YDCAAIAP4DyQAIAAgABgQIAAgAXQAOBAgACAAIAAgACAAIABMECAAIAAgACAAIAAgACAD8AAQBCAAIAAgAGgQiBCoECAExBAgAEAEIAAgACAAIAAgACAAIAAgACAAIAAgACAA4BAgACABABEYECAAIAAgATAQYAQgAVAQIAAgACAAIAAgACAAIAAgACAAIAFoECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAOQEIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAB+BAcACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAEABhgSMBAgACAAIAAgAlAQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAwAEAAQABAADAAMAAwADAAQABAAEAAQABAAEAAQABHATAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAdQMIAAgACAAIAAgACAAIAMkACAAIAAgAfQMIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACACFA4kDCAAIAAgACAAIAOcBCAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAIcDCAAIAAgACAAIAAgACAAIAAgACAAIAJEDCAAIAAgACADFAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABgBAgAZgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAbAQCBXIECAAIAHkECAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACABAAJwEQACjBKoEsgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAC6BMIECAAIAAgACAAIAAgACABmBAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAxwQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAGYECAAIAAgAzgQIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBd0FXwUIAOIF6gXxBYoF3gT5BQAGCAaKBYoFigWKBYoFigWKBYoFigWKBYoFigXWBIoFigWKBYoFigWKBYoFigWKBYsFEAaKBYoFigWKBYoFigWKBRQGCACKBYoFigWKBQgACAAIANEECAAIABgGigUgBggAJgYIAC4GMwaKBYoF0wQ3Bj4GigWKBYoFigWKBYoFigWKBYoFigWKBYoFigUIAAgACAAIAAgACAAIAAgAigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWKBYoFigWLBf///////wQABAAEAAQABAAEAAQABAAEAAQAAwAEAAQAAgAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAQADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUAAAAFAAUAAAAFAAUAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUAAQAAAAUABQAFAAUABQAFAAAAAAAFAAUAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAFAAUAAQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAAABwAHAAcAAAAHAAcABwAFAAEAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAcABwAFAAUAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAAAAQABAAAAAAAAAAAAAAAFAAUABQAFAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAHAAcAAAAHAAcAAAAAAAUABQAHAAUAAQAHAAEABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwABAAUABQAFAAUAAAAAAAAAAAAAAAEAAQABAAEAAQABAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABQANAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAEAAQABAAEAAQABAAEAAQABAAEAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAABQAHAAUABQAFAAAAAAAAAAcABQAFAAUABQAFAAQABAAEAAQABAAEAAQABAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUAAAAFAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAUAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAcABwAFAAcABwAAAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUABwAHAAUABQAFAAUAAAAAAAcABwAAAAAABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAABQAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAAAAAAAAAAABQAFAAAAAAAFAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAFAAUABQAFAAUAAAAFAAUABwAAAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABwAFAAUABQAFAAAAAAAHAAcAAAAAAAcABwAFAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAAAAAAAAAHAAcABwAAAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAABQAHAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAUABQAFAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAHAAcABQAHAAcAAAAFAAcABwAAAAcABwAFAAUAAAAAAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAFAAcABwAFAAUABQAAAAUAAAAHAAcABwAHAAcABwAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAHAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAABwAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAUAAAAFAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABwAFAAUABQAFAAUAAAAFAAUAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABwAFAAUABQAFAAUABQAAAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABQAFAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABQAFAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAHAAUABQAFAAUABQAFAAUABwAHAAcABwAHAAcABwAHAAUABwAHAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABwAHAAcABwAFAAUABwAHAAcAAAAAAAAAAAAHAAcABQAHAAcABwAHAAcABwAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAcABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAUABQAFAAUABQAFAAUAAAAFAAAABQAAAAAABQAFAAUABQAFAAUABQAFAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAFAAUAAAAAAAUABQAFAAUABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABwAFAAcABwAHAAcABwAFAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAUABQAFAAUABwAHAAUABQAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABQAFAAcABwAHAAUABwAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAcABQAFAAUABQAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAAAAAABwAFAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAAAAAAAAAFAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAUABQAHAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAUABQAFAAUABQAHAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAcABwAFAAUABQAFAAcABwAFAAUABwAHAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAFAAcABwAFAAUABwAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAFAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAFAAUABQAAAAAABQAFAAAAAAAAAAAAAAAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAcABwAAAAAAAAAAAAAABwAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAcABwAFAAcABwAAAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAFAAUABQAAAAUABQAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABwAFAAUABQAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAUABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAHAAcABQAHAAUABQAAAAAAAAAAAAAAAAAFAAAABwAHAAcABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAHAAcABwAAAAAABwAHAAAAAAAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABwAHAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAFAAUABwAFAAcABwAFAAcABQAFAAcABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAHAAcABQAFAAUABQAAAAAABwAHAAcABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAHAAUABQAFAAUABQAFAAUABQAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABwAFAAcABwAFAAUABQAFAAUABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAcABwAFAAUABQAFAAcABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAUABQAFAAUABQAHAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAFAAUABQAFAAAAAAAFAAUABwAHAAcABwAFAAAAAAAAAAcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABwAHAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAcABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUAAAAHAAUABQAFAAUABQAFAAUABwAFAAUABwAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUAAAAAAAAABQAAAAUABQAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAHAAcABwAHAAcAAAAFAAUAAAAHAAcABQAHAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAAAAUABQAFAAAAAAAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAFAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAFAAUABQAAAAAABQAFAAUABQAFAAUABQAAAAUABQAAAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFAAUABQAFAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQAFAAUABQAFAAUABQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAFAAUABQAFAAUADgAOAA4ADgAOAA4ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAA8ADwAPAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAcABwAHAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAgACAAIAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAMAAwADAAMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAAAAAAAAAAAAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAKAAoACgAAAAAAAAAAAAsADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwACwAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAMAAwADAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAADgAOAA4AAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAAAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4AAAAOAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAAAAAAAAAAAA4AAAAOAAAAAAAAAAAADgAOAA4AAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAA4AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4AAAAAAA4ADgAOAA4ADgAOAA4ADgAOAAAADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4ADgAOAAAAAAAAAAAAAAAAAAAAAAAAAAAADgAOAA4ADgAOAA4AAAAAAAAAAAAAAAAAAAAAAA4ADgAOAA4ADgAOAA4ADgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAOAA4ADgAOAA4ADgAAAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4ADgAOAA4AAAAAAAAAAAA=",wB="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",oe=typeof Uint8Array>"u"?[]:new Uint8Array(256),ke=0;ke>4,Q[B++]=(s&15)<<4|i>>2,Q[B++]=(i&3)<<6|a&63;return o},Oi=function(e){for(var A=e.length,t=[],r=0;r>mA,Ri=1<>mA,Ni=cB+Vi,Xi=Ni,_i=32,Ji=Xi+_i,Pi=65536>>Sr,ki=1<=0){if(A<55296||A>56319&&A<=65535)return t=this.index[A>>mA],t=(t<>mA)],t=(t<>Sr),t=this.index[t],t+=A>>mA&Yi,t=this.index[t],t=(t<"u"?[]:new Uint8Array(256),Ye=0;Ye=55296&&B<=56319&&t>10)+55296,s%1024+56320)),(B+1===t||r.length>16384)&&(n+=String.fromCharCode.apply(String,r),r.length=0)}return n},ro=Zi(Ti),AA="\xD7",_r="\xF7",to=function(e){return ro.get(e)},Bo=function(e,A,t){var r=t-2,B=A[r],n=A[t-1],s=A[t];if(n===Gr&&s===Rr)return AA;if(n===Gr||n===Rr||n===lB||s===Gr||s===Rr||s===lB)return _r;if(n===UB&&[UB,Vr,FB,hB].indexOf(s)!==-1||(n===FB||n===Vr)&&(s===Vr||s===Nr)||(n===hB||n===Nr)&&s===Nr||s===dB||s===fB||s===$i||n===zi)return AA;if(n===dB&&s===EB){for(;B===fB;)B=A[--r];if(B===EB)return AA}if(n===Xr&&s===Xr){for(var i=0;B===Xr;)i++,B=A[--r];if(i%2===0)return AA}return _r},no=function(e){var A=Ao(e),t=A.length,r=0,B=0,n=A.map(to);return{next:function(){if(r>=t)return{done:!0,value:null};for(var s=AA;rs.x||Q.y>s.y;return s=Q,o===0?!0:g});return e.body.removeChild(A),i},oo=function(){return typeof new Image().crossOrigin<"u"},Qo=function(){return typeof new XMLHttpRequest().responseType=="string"},go=function(e){var A=new Image,t=e.createElement("canvas"),r=t.getContext("2d");if(!r)return!1;A.src="data:image/svg+xml,";try{r.drawImage(A,0,0),t.toDataURL()}catch{return!1}return!0},HB=function(e){return e[0]===0&&e[1]===255&&e[2]===0&&e[3]===255},wo=function(e){var A=e.createElement("canvas"),t=100;A.width=t,A.height=t;var r=A.getContext("2d");if(!r)return Promise.reject(!1);r.fillStyle="rgb(0, 255, 0)",r.fillRect(0,0,t,t);var B=new Image,n=A.toDataURL();B.src=n;var s=Jr(t,t,0,0,B);return r.fillStyle="red",r.fillRect(0,0,t,t),pB(s).then(function(i){r.drawImage(i,0,0);var a=r.getImageData(0,0,t,t).data;r.fillStyle="red",r.fillRect(0,0,t,t);var o=e.createElement("div");return o.style.backgroundImage="url("+n+")",o.style.height=t+"px",HB(a)?pB(Jr(t,t,0,0,o)):Promise.reject(!1)}).then(function(i){return r.drawImage(i,0,0),HB(r.getImageData(0,0,t,t).data)}).catch(function(){return!1})},Jr=function(e,A,t,r,B){var n="http://www.w3.org/2000/svg",s=document.createElementNS(n,"svg"),i=document.createElementNS(n,"foreignObject");return s.setAttributeNS(null,"width",e.toString()),s.setAttributeNS(null,"height",A.toString()),i.setAttributeNS(null,"width","100%"),i.setAttributeNS(null,"height","100%"),i.setAttributeNS(null,"x",t.toString()),i.setAttributeNS(null,"y",r.toString()),i.setAttributeNS(null,"externalResourcesRequired","true"),s.appendChild(i),i.appendChild(B),s},pB=function(e){return new Promise(function(A,t){var r=new Image;r.onload=function(){return A(r)},r.onerror=t,r.src="data:image/svg+xml;charset=utf-8,"+encodeURIComponent(new XMLSerializer().serializeToString(e))})},N={get SUPPORT_RANGE_BOUNDS(){var e=ao(document);return Object.defineProperty(N,"SUPPORT_RANGE_BOUNDS",{value:e}),e},get SUPPORT_WORD_BREAKING(){var e=N.SUPPORT_RANGE_BOUNDS&&io(document);return Object.defineProperty(N,"SUPPORT_WORD_BREAKING",{value:e}),e},get SUPPORT_SVG_DRAWING(){var e=go(document);return Object.defineProperty(N,"SUPPORT_SVG_DRAWING",{value:e}),e},get SUPPORT_FOREIGNOBJECT_DRAWING(){var e=typeof Array.from=="function"&&typeof window.fetch=="function"?wo(document):Promise.resolve(!1);return Object.defineProperty(N,"SUPPORT_FOREIGNOBJECT_DRAWING",{value:e}),e},get SUPPORT_CORS_IMAGES(){var e=oo();return Object.defineProperty(N,"SUPPORT_CORS_IMAGES",{value:e}),e},get SUPPORT_RESPONSE_TYPE(){var e=Qo();return Object.defineProperty(N,"SUPPORT_RESPONSE_TYPE",{value:e}),e},get SUPPORT_CORS_XHR(){var e="withCredentials"in new XMLHttpRequest;return Object.defineProperty(N,"SUPPORT_CORS_XHR",{value:e}),e},get SUPPORT_NATIVE_TEXT_SEGMENTATION(){var e=!!(typeof Intl<"u"&&Intl.Segmenter);return Object.defineProperty(N,"SUPPORT_NATIVE_TEXT_SEGMENTATION",{value:e}),e}},Qe=function(){function e(A,t){this.text=A,this.bounds=t}return e}(),co=function(e,A,t,r){var B=lo(A,t),n=[],s=0;return B.forEach(function(i){if(t.textDecorationLine.length||i.trim().length>0)if(N.SUPPORT_RANGE_BOUNDS){var a=IB(r,s,i.length).getClientRects();if(a.length>1){var o=Pr(i),Q=0;o.forEach(function(w){n.push(new Qe(w,iA.fromDOMRectList(e,IB(r,Q+s,w.length).getClientRects()))),Q+=w.length})}else n.push(new Qe(i,iA.fromDOMRectList(e,a)))}else{var g=r.splitText(i.length);n.push(new Qe(i,Co(e,r))),r=g}else N.SUPPORT_RANGE_BOUNDS||(r=r.splitText(i.length));s+=i.length}),n},Co=function(e,A){var t=A.ownerDocument;if(t){var r=t.createElement("html2canvaswrapper");r.appendChild(A.cloneNode(!0));var B=A.parentNode;if(B){B.replaceChild(r,A);var n=ue(e,r);return r.firstChild&&B.replaceChild(r.firstChild,r),n}}return iA.EMPTY},IB=function(e,A,t){var r=e.ownerDocument;if(!r)throw new Error("Node has no owner document");var B=r.createRange();return B.setStart(e,A),B.setEnd(e,A+t),B},Pr=function(e){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var A=new Intl.Segmenter(void 0,{granularity:"grapheme"});return Array.from(A.segment(e)).map(function(t){return t.segment})}return so(e)},uo=function(e,A){if(N.SUPPORT_NATIVE_TEXT_SEGMENTATION){var t=new Intl.Segmenter(void 0,{granularity:"word"});return Array.from(t.segment(e)).map(function(r){return r.segment})}return Uo(e,A)},lo=function(e,A){return A.letterSpacing!==0?Pr(e):uo(e,A)},fo=[32,160,4961,65792,65793,4153,4241],Uo=function(e,A){for(var t=Pn(e,{lineBreak:A.lineBreak,wordBreak:A.overflowWrap==="break-word"?"break-word":A.wordBreak}),r=[],B,n=function(){if(B.value){var s=B.value.slice(),i=le(s),a="";i.forEach(function(o){fo.indexOf(o)===-1?a+=T(o):(a.length&&r.push(a),r.push(T(o)),a="")}),a.length&&r.push(a)}};!(B=t.next()).done;)n();return r},Fo=function(){function e(A,t,r){this.text=ho(t.data,r.textTransform),this.textBounds=co(A,this.text,r,t)}return e}(),ho=function(e,A){switch(A){case 1:return e.toLowerCase();case 3:return e.replace(Eo,Ho);case 2:return e.toUpperCase();default:return e}},Eo=/(^|\s|:|-|\(|\))([a-z])/g,Ho=function(e,A,t){return e.length>0?A+t.toUpperCase():e},vB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.src=r.currentSrc||r.src,B.intrinsicWidth=r.naturalWidth,B.intrinsicHeight=r.naturalHeight,B.context.cache.addImage(B.src),B}return A}(sA),yB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.canvas=r,B.intrinsicWidth=r.width,B.intrinsicHeight=r.height,B}return A}(sA),KB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this,n=new XMLSerializer,s=ue(t,r);return r.setAttribute("width",s.width+"px"),r.setAttribute("height",s.height+"px"),B.svg="data:image/svg+xml,"+encodeURIComponent(n.serializeToString(r)),B.intrinsicWidth=r.width.baseVal.value,B.intrinsicHeight=r.height.baseVal.value,B.context.cache.addImage(B.svg),B}return A}(sA),mB=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.value=r.value,B}return A}(sA),kr=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B.start=r.start,B.reversed=typeof r.reversed=="boolean"&&r.reversed===!0,B}return A}(sA),po=[{type:15,flags:0,unit:"px",number:3}],Io=[{type:16,flags:0,number:50}],vo=function(e){return e.width>e.height?new iA(e.left+(e.width-e.height)/2,e.top,e.height,e.height):e.width0)t.textNodes.push(new Fo(e,B,t.styles));else if(VA(B))if(XB(B)&&B.assignedNodes)B.assignedNodes().forEach(function(i){return qe(e,i,t,r)});else{var s=TB(e,B);s.styles.isVisible()&&(Lo(B,s,r)?s.flags|=4:Do(s.styles)&&(s.flags|=2),mo.indexOf(B.tagName)!==-1&&(s.flags|=8),t.elements.push(s),B.slot,B.shadowRoot?qe(e,B.shadowRoot,s,r):!ze(B)&&!MB(B)&&!$e(B)&&qe(e,B,s,r))}},TB=function(e,A){return qr(A)?new vB(e,A):GB(A)?new yB(e,A):MB(A)?new KB(e,A):bo(A)?new mB(e,A):xo(A)?new kr(e,A):To(A)?new Yr(e,A):$e(A)?new DB(e,A):ze(A)?new bB(e,A):VB(A)?new xB(e,A):new sA(e,A)},SB=function(e,A){var t=TB(e,A);return t.flags|=4,qe(e,A,t,t),t},Lo=function(e,A,t){return A.styles.isPositionedWithZIndex()||A.styles.opacity<1||A.styles.isTransformed()||Zr(e)&&t.styles.isTransparent()},Do=function(e){return e.isPositioned()||e.isFloating()},OB=function(e){return e.nodeType===Node.TEXT_NODE},VA=function(e){return e.nodeType===Node.ELEMENT_NODE},Wr=function(e){return VA(e)&&typeof e.style<"u"&&!je(e)},je=function(e){return typeof e.className=="object"},bo=function(e){return e.tagName==="LI"},xo=function(e){return e.tagName==="OL"},To=function(e){return e.tagName==="INPUT"},So=function(e){return e.tagName==="HTML"},MB=function(e){return e.tagName==="svg"},Zr=function(e){return e.tagName==="BODY"},GB=function(e){return e.tagName==="CANVAS"},RB=function(e){return e.tagName==="VIDEO"},qr=function(e){return e.tagName==="IMG"},VB=function(e){return e.tagName==="IFRAME"},NB=function(e){return e.tagName==="STYLE"},Oo=function(e){return e.tagName==="SCRIPT"},ze=function(e){return e.tagName==="TEXTAREA"},$e=function(e){return e.tagName==="SELECT"},XB=function(e){return e.tagName==="SLOT"},_B=function(e){return e.tagName.indexOf("-")>0},Mo=function(){function e(){this.counters={}}return e.prototype.getCounterValue=function(A){var t=this.counters[A];return t&&t.length?t[t.length-1]:1},e.prototype.getCounterValues=function(A){var t=this.counters[A];return t||[]},e.prototype.pop=function(A){var t=this;A.forEach(function(r){return t.counters[r].pop()})},e.prototype.parse=function(A){var t=this,r=A.counterIncrement,B=A.counterReset,n=!0;r!==null&&r.forEach(function(i){var a=t.counters[i.counter];a&&i.increment!==0&&(n=!1,a.length||a.push(1),a[Math.max(0,a.length-1)]+=i.increment)});var s=[];return n&&B.forEach(function(i){var a=t.counters[i.counter];s.push(i.counter),a||(a=t.counters[i.counter]=[]),a.push(i.reset)}),s},e}(),JB={integers:[1e3,900,500,400,100,90,50,40,10,9,5,4,1],values:["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"]},PB={integers:[9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u0554","\u0553","\u0552","\u0551","\u0550","\u054F","\u054E","\u054D","\u054C","\u054B","\u054A","\u0549","\u0548","\u0547","\u0546","\u0545","\u0544","\u0543","\u0542","\u0541","\u0540","\u053F","\u053E","\u053D","\u053C","\u053B","\u053A","\u0539","\u0538","\u0537","\u0536","\u0535","\u0534","\u0533","\u0532","\u0531"]},Go={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,400,300,200,100,90,80,70,60,50,40,30,20,19,18,17,16,15,10,9,8,7,6,5,4,3,2,1],values:["\u05D9\u05F3","\u05D8\u05F3","\u05D7\u05F3","\u05D6\u05F3","\u05D5\u05F3","\u05D4\u05F3","\u05D3\u05F3","\u05D2\u05F3","\u05D1\u05F3","\u05D0\u05F3","\u05EA","\u05E9","\u05E8","\u05E7","\u05E6","\u05E4","\u05E2","\u05E1","\u05E0","\u05DE","\u05DC","\u05DB","\u05D9\u05D8","\u05D9\u05D7","\u05D9\u05D6","\u05D8\u05D6","\u05D8\u05D5","\u05D9","\u05D8","\u05D7","\u05D6","\u05D5","\u05D4","\u05D3","\u05D2","\u05D1","\u05D0"]},Ro={integers:[1e4,9e3,8e3,7e3,6e3,5e3,4e3,3e3,2e3,1e3,900,800,700,600,500,400,300,200,100,90,80,70,60,50,40,30,20,10,9,8,7,6,5,4,3,2,1],values:["\u10F5","\u10F0","\u10EF","\u10F4","\u10EE","\u10ED","\u10EC","\u10EB","\u10EA","\u10E9","\u10E8","\u10E7","\u10E6","\u10E5","\u10E4","\u10F3","\u10E2","\u10E1","\u10E0","\u10DF","\u10DE","\u10DD","\u10F2","\u10DC","\u10DB","\u10DA","\u10D9","\u10D8","\u10D7","\u10F1","\u10D6","\u10D5","\u10D4","\u10D3","\u10D2","\u10D1","\u10D0"]},NA=function(e,A,t,r,B,n){return et?we(e,B,n.length>0):r.integers.reduce(function(s,i,a){for(;e>=i;)e-=i,s+=r.values[a];return s},"")+n},kB=function(e,A,t,r){var B="";do t||e--,B=r(e)+B,e/=A;while(e*A>=A);return B},S=function(e,A,t,r,B){var n=t-A+1;return(e<0?"-":"")+(kB(Math.abs(e),n,r,function(s){return T(Math.floor(s%n)+A)})+B)},LA=function(e,A,t){t===void 0&&(t=". ");var r=A.length;return kB(Math.abs(e),r,!1,function(B){return A[Math.floor(B%r)]})+t},XA=1,dA=2,EA=4,ge=8,gA=function(e,A,t,r,B,n){if(e<-9999||e>9999)return we(e,4,B.length>0);var s=Math.abs(e),i=B;if(s===0)return A[0]+i;for(var a=0;s>0&&a<=4;a++){var o=s%10;o===0&&G(n,XA)&&i!==""?i=A[o]+i:o>1||o===1&&a===0||o===1&&a===1&&G(n,dA)||o===1&&a===1&&G(n,EA)&&e>100||o===1&&a>1&&G(n,ge)?i=A[o]+(a>0?t[a-1]:"")+i:o===1&&a>0&&(i=t[a-1]+i),s=Math.floor(s/10)}return(e<0?r:"")+i},YB="\u5341\u767E\u5343\u842C",WB="\u62FE\u4F70\u4EDF\u842C",ZB="\u30DE\u30A4\u30CA\u30B9",jr="\uB9C8\uC774\uB108\uC2A4",we=function(e,A,t){var r=t?". ":"",B=t?"\u3001":"",n=t?", ":"",s=t?" ":"";switch(A){case 0:return"\u2022"+s;case 1:return"\u25E6"+s;case 2:return"\u25FE"+s;case 5:var i=S(e,48,57,!0,r);return i.length<4?"0"+i:i;case 4:return LA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",B);case 6:return NA(e,1,3999,JB,3,r).toLowerCase();case 7:return NA(e,1,3999,JB,3,r);case 8:return S(e,945,969,!1,r);case 9:return S(e,97,122,!1,r);case 10:return S(e,65,90,!1,r);case 11:return S(e,1632,1641,!0,r);case 12:case 49:return NA(e,1,9999,PB,3,r);case 35:return NA(e,1,9999,PB,3,r).toLowerCase();case 13:return S(e,2534,2543,!0,r);case 14:case 30:return S(e,6112,6121,!0,r);case 15:return LA(e,"\u5B50\u4E11\u5BC5\u536F\u8FB0\u5DF3\u5348\u672A\u7533\u9149\u620C\u4EA5",B);case 16:return LA(e,"\u7532\u4E59\u4E19\u4E01\u620A\u5DF1\u5E9A\u8F9B\u58EC\u7678",B);case 17:case 48:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8CA0",B,dA|EA|ge);case 47:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u8086\u4F0D\u9678\u67D2\u634C\u7396",WB,"\u8CA0",B,XA|dA|EA|ge);case 42:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D",YB,"\u8D1F",B,dA|EA|ge);case 41:return gA(e,"\u96F6\u58F9\u8D30\u53C1\u8086\u4F0D\u9646\u67D2\u634C\u7396",WB,"\u8D1F",B,XA|dA|EA|ge);case 26:return gA(e,"\u3007\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u4E07",ZB,B,0);case 25:return gA(e,"\u96F6\u58F1\u5F10\u53C2\u56DB\u4F0D\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343\u4E07",ZB,B,XA|dA|EA);case 31:return gA(e,"\uC601\uC77C\uC774\uC0BC\uC0AC\uC624\uC721\uCE60\uD314\uAD6C","\uC2ED\uBC31\uCC9C\uB9CC",jr,n,XA|dA|EA);case 33:return gA(e,"\u96F6\u4E00\u4E8C\u4E09\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u5341\u767E\u5343\u842C",jr,n,0);case 32:return gA(e,"\u96F6\u58F9\u8CB3\u53C3\u56DB\u4E94\u516D\u4E03\u516B\u4E5D","\u62FE\u767E\u5343",jr,n,XA|dA|EA);case 18:return S(e,2406,2415,!0,r);case 20:return NA(e,1,19999,Ro,3,r);case 21:return S(e,2790,2799,!0,r);case 22:return S(e,2662,2671,!0,r);case 22:return NA(e,1,10999,Go,3,r);case 23:return LA(e,"\u3042\u3044\u3046\u3048\u304A\u304B\u304D\u304F\u3051\u3053\u3055\u3057\u3059\u305B\u305D\u305F\u3061\u3064\u3066\u3068\u306A\u306B\u306C\u306D\u306E\u306F\u3072\u3075\u3078\u307B\u307E\u307F\u3080\u3081\u3082\u3084\u3086\u3088\u3089\u308A\u308B\u308C\u308D\u308F\u3090\u3091\u3092\u3093");case 24:return LA(e,"\u3044\u308D\u306F\u306B\u307B\u3078\u3068\u3061\u308A\u306C\u308B\u3092\u308F\u304B\u3088\u305F\u308C\u305D\u3064\u306D\u306A\u3089\u3080\u3046\u3090\u306E\u304A\u304F\u3084\u307E\u3051\u3075\u3053\u3048\u3066\u3042\u3055\u304D\u3086\u3081\u307F\u3057\u3091\u3072\u3082\u305B\u3059");case 27:return S(e,3302,3311,!0,r);case 28:return LA(e,"\u30A2\u30A4\u30A6\u30A8\u30AA\u30AB\u30AD\u30AF\u30B1\u30B3\u30B5\u30B7\u30B9\u30BB\u30BD\u30BF\u30C1\u30C4\u30C6\u30C8\u30CA\u30CB\u30CC\u30CD\u30CE\u30CF\u30D2\u30D5\u30D8\u30DB\u30DE\u30DF\u30E0\u30E1\u30E2\u30E4\u30E6\u30E8\u30E9\u30EA\u30EB\u30EC\u30ED\u30EF\u30F0\u30F1\u30F2\u30F3",B);case 29:return LA(e,"\u30A4\u30ED\u30CF\u30CB\u30DB\u30D8\u30C8\u30C1\u30EA\u30CC\u30EB\u30F2\u30EF\u30AB\u30E8\u30BF\u30EC\u30BD\u30C4\u30CD\u30CA\u30E9\u30E0\u30A6\u30F0\u30CE\u30AA\u30AF\u30E4\u30DE\u30B1\u30D5\u30B3\u30A8\u30C6\u30A2\u30B5\u30AD\u30E6\u30E1\u30DF\u30B7\u30F1\u30D2\u30E2\u30BB\u30B9",B);case 34:return S(e,3792,3801,!0,r);case 37:return S(e,6160,6169,!0,r);case 38:return S(e,4160,4169,!0,r);case 39:return S(e,2918,2927,!0,r);case 40:return S(e,1776,1785,!0,r);case 43:return S(e,3046,3055,!0,r);case 44:return S(e,3174,3183,!0,r);case 45:return S(e,3664,3673,!0,r);case 46:return S(e,3872,3881,!0,r);case 3:default:return S(e,48,57,!0,r)}},qB="data-html2canvas-ignore",jB=function(){function e(A,t,r){if(this.context=A,this.options=r,this.scrolledElements=[],this.referenceElement=t,this.counters=new Mo,this.quoteDepth=0,!t.ownerDocument)throw new Error("Cloned element does not have an owner document");this.documentElement=this.cloneNode(t.ownerDocument.documentElement,!1)}return e.prototype.toIFrame=function(A,t){var r=this,B=Vo(A,t);if(!B.contentWindow)return Promise.reject("Unable to find iframe window");var n=A.defaultView.pageXOffset,s=A.defaultView.pageYOffset,i=B.contentWindow,a=i.document,o=_o(B).then(function(){return k(r,void 0,void 0,function(){var Q,g;return _(this,function(w){switch(w.label){case 0:return this.scrolledElements.forEach(Yo),i&&(i.scrollTo(t.left,t.top),/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&(i.scrollY!==t.top||i.scrollX!==t.left)&&(this.context.logger.warn("Unable to restore scroll position for cloned document"),this.context.windowBounds=this.context.windowBounds.add(i.scrollX-t.left,i.scrollY-t.top,0,0))),Q=this.options.onclone,g=this.clonedReferenceElement,typeof g>"u"?[2,Promise.reject("Error finding the "+this.referenceElement.nodeName+" in the cloned document")]:a.fonts&&a.fonts.ready?[4,a.fonts.ready]:[3,2];case 1:w.sent(),w.label=2;case 2:return/(AppleWebKit)/g.test(navigator.userAgent)?[4,Xo(a)]:[3,4];case 3:w.sent(),w.label=4;case 4:return typeof Q=="function"?[2,Promise.resolve().then(function(){return Q(a,g)}).then(function(){return B})]:[2,B]}})})});return a.open(),a.write(Po(document.doctype)+""),ko(this.referenceElement.ownerDocument,n,s),a.replaceChild(a.adoptNode(this.documentElement),a.documentElement),a.close(),o},e.prototype.createElementClone=function(A){if(Tr(A,2))debugger;if(GB(A))return this.createCanvasClone(A);if(RB(A))return this.createVideoClone(A);if(NB(A))return this.createStyleClone(A);var t=A.cloneNode(!1);return qr(t)&&(qr(A)&&A.currentSrc&&A.currentSrc!==A.src&&(t.src=A.currentSrc,t.srcset=""),t.loading==="lazy"&&(t.loading="eager")),_B(t)?this.createCustomElementClone(t):t},e.prototype.createCustomElementClone=function(A){var t=document.createElement("html2canvascustomelement");return zr(A.style,t),t},e.prototype.createStyleClone=function(A){try{var t=A.sheet;if(t&&t.cssRules){var r=[].slice.call(t.cssRules,0).reduce(function(n,s){return s&&typeof s.cssText=="string"?n+s.cssText:n},""),B=A.cloneNode(!1);return B.textContent=r,B}}catch(n){if(this.context.logger.error("Unable to access cssRules property",n),n.name!=="SecurityError")throw n}return A.cloneNode(!1)},e.prototype.createCanvasClone=function(A){var t;if(this.options.inlineImages&&A.ownerDocument){var r=A.ownerDocument.createElement("img");try{return r.src=A.toDataURL(),r}catch{this.context.logger.info("Unable to inline canvas contents, canvas is tainted",A)}}var B=A.cloneNode(!1);try{B.width=A.width,B.height=A.height;var n=A.getContext("2d"),s=B.getContext("2d");if(s)if(!this.options.allowTaint&&n)s.putImageData(n.getImageData(0,0,A.width,A.height),0,0);else{var i=(t=A.getContext("webgl2"))!==null&&t!==void 0?t:A.getContext("webgl");if(i){var a=i.getContextAttributes();a?.preserveDrawingBuffer===!1&&this.context.logger.warn("Unable to clone WebGL context as it has preserveDrawingBuffer=false",A)}s.drawImage(A,0,0)}return B}catch{this.context.logger.info("Unable to clone canvas as it is tainted",A)}return B},e.prototype.createVideoClone=function(A){var t=A.ownerDocument.createElement("canvas");t.width=A.offsetWidth,t.height=A.offsetHeight;var r=t.getContext("2d");try{return r&&(r.drawImage(A,0,0,t.width,t.height),this.options.allowTaint||r.getImageData(0,0,t.width,t.height)),t}catch{this.context.logger.info("Unable to clone video as it is tainted",A)}var B=A.ownerDocument.createElement("canvas");return B.width=A.offsetWidth,B.height=A.offsetHeight,B},e.prototype.appendChildNode=function(A,t,r){(!VA(t)||!Oo(t)&&!t.hasAttribute(qB)&&(typeof this.options.ignoreElements!="function"||!this.options.ignoreElements(t)))&&(!this.options.copyStyles||!VA(t)||!NB(t))&&A.appendChild(this.cloneNode(t,r))},e.prototype.cloneChildNodes=function(A,t,r){for(var B=this,n=A.shadowRoot?A.shadowRoot.firstChild:A.firstChild;n;n=n.nextSibling)if(VA(n)&&XB(n)&&typeof n.assignedNodes=="function"){var s=n.assignedNodes();s.length&&s.forEach(function(i){return B.appendChildNode(t,i,r)})}else this.appendChildNode(t,n,r)},e.prototype.cloneNode=function(A,t){if(OB(A))return document.createTextNode(A.data);if(!A.ownerDocument)return A.cloneNode(!1);var r=A.ownerDocument.defaultView;if(r&&VA(A)&&(Wr(A)||je(A))){var B=this.createElementClone(A);B.style.transitionProperty="none";var n=r.getComputedStyle(A),s=r.getComputedStyle(A,":before"),i=r.getComputedStyle(A,":after");this.referenceElement===A&&Wr(B)&&(this.clonedReferenceElement=B),Zr(B)&&qo(B);var a=this.counters.parse(new gB(this.context,n)),o=this.resolvePseudoContent(A,B,s,Ar.BEFORE);_B(A)&&(t=!0),RB(A)||this.cloneChildNodes(A,B,t),o&&B.insertBefore(o,B.firstChild);var Q=this.resolvePseudoContent(A,B,i,Ar.AFTER);return Q&&B.appendChild(Q),this.counters.pop(a),(n&&(this.options.copyStyles||je(A))&&!VB(A)||t)&&zr(n,B),(A.scrollTop!==0||A.scrollLeft!==0)&&this.scrolledElements.push([B,A.scrollLeft,A.scrollTop]),(ze(A)||$e(A))&&(ze(B)||$e(B))&&(B.value=A.value),B}return A.cloneNode(!1)},e.prototype.resolvePseudoContent=function(A,t,r,B){var n=this;if(r){var s=r.content,i=t.ownerDocument;if(!(!i||!s||s==="none"||s==="-moz-alt-content"||r.display==="none")){this.counters.parse(new gB(this.context,r));var a=new Di(this.context,r),o=i.createElement("html2canvaspseudoelement");zr(r,o),a.content.forEach(function(g){if(g.type===0)o.appendChild(i.createTextNode(g.value));else if(g.type===22){var w=i.createElement("img");w.src=g.value,w.style.opacity="1",o.appendChild(w)}else if(g.type===18){if(g.name==="attr"){var f=g.values.filter(L);f.length&&o.appendChild(i.createTextNode(A.getAttribute(f[0].value)||""))}else if(g.name==="counter"){var c=g.values.filter(RA),C=c[0],H=c[1];if(C&&L(C)){var h=n.counters.getCounterValue(C.value),F=H&&L(H)?xr.parse(n.context,H.value):3;o.appendChild(i.createTextNode(we(h,F,!1)))}}else if(g.name==="counters"){var K=g.values.filter(RA),C=K[0],p=K[1],H=K[2];if(C&&L(C)){var d=n.counters.getCounterValues(C.value),l=H&&L(H)?xr.parse(n.context,H.value):3,v=p&&p.type===0?p.value:"",y=d.map(function(W){return we(W,l,!1)}).join(v);o.appendChild(i.createTextNode(y))}}}else if(g.type===20)switch(g.value){case"open-quote":o.appendChild(i.createTextNode(QB(a.quotes,n.quoteDepth++,!0)));break;case"close-quote":o.appendChild(i.createTextNode(QB(a.quotes,--n.quoteDepth,!1)));break;default:o.appendChild(i.createTextNode(g.value))}}),o.className=$r+" "+At;var Q=B===Ar.BEFORE?" "+$r:" "+At;return je(t)?t.className.baseValue+=Q:t.className+=Q,o}}},e.destroy=function(A){return A.parentNode?(A.parentNode.removeChild(A),!0):!1},e}(),Ar=function(e){return e[e.BEFORE=0]="BEFORE",e[e.AFTER=1]="AFTER",e}(Ar||{}),Vo=function(e,A){var t=e.createElement("iframe");return t.className="html2canvas-container",t.style.visibility="hidden",t.style.position="fixed",t.style.left="-10000px",t.style.top="0px",t.style.border="0",t.width=A.width.toString(),t.height=A.height.toString(),t.scrolling="no",t.setAttribute(qB,"true"),e.body.appendChild(t),t},No=function(e){return new Promise(function(A){if(e.complete){A();return}if(!e.src){A();return}e.onload=A,e.onerror=A})},Xo=function(e){return Promise.all([].slice.call(e.images,0).map(No))},_o=function(e){return new Promise(function(A,t){var r=e.contentWindow;if(!r)return t("No window assigned for iframe");var B=r.document;r.onload=e.onload=function(){r.onload=e.onload=null;var n=setInterval(function(){B.body.childNodes.length>0&&B.readyState==="complete"&&(clearInterval(n),A(e))},50)}})},Jo=["all","d","content"],zr=function(e,A){for(var t=e.length-1;t>=0;t--){var r=e.item(t);Jo.indexOf(r)===-1&&A.style.setProperty(r,e.getPropertyValue(r))}return A},Po=function(e){var A="";return e&&(A+=""),A},ko=function(e,A,t){e&&e.defaultView&&(A!==e.defaultView.pageXOffset||t!==e.defaultView.pageYOffset)&&e.defaultView.scrollTo(A,t)},Yo=function(e){var A=e[0],t=e[1],r=e[2];A.scrollLeft=t,A.scrollTop=r},Wo=":before",Zo=":after",$r="___html2canvas___pseudoelement_before",At="___html2canvas___pseudoelement_after",zB=`{
- content: "" !important;
- display: none !important;
-}`,qo=function(e){jo(e,"."+$r+Wo+zB+`
- .`+At+Zo+zB)},jo=function(e,A){var t=e.ownerDocument;if(t){var r=t.createElement("style");r.textContent=A,e.appendChild(r)}},$B=function(){function e(){}return e.getOrigin=function(A){var t=e._link;return t?(t.href=A,t.href=t.href,t.protocol+t.hostname+t.port):"about:blank"},e.isSameOrigin=function(A){return e.getOrigin(A)===e._origin},e.setContext=function(A){e._link=A.document.createElement("a"),e._origin=e.getOrigin(A.location.href)},e._origin="about:blank",e}(),zo=function(){function e(A,t){this.context=A,this._options=t,this._cache={}}return e.prototype.addImage=function(A){var t=Promise.resolve();return this.has(A)||(rt(A)||rQ(A))&&(this._cache[A]=this.loadImage(A)).catch(function(){}),t},e.prototype.match=function(A){return this._cache[A]},e.prototype.loadImage=function(A){return k(this,void 0,void 0,function(){var t,r,B,n,s=this;return _(this,function(i){switch(i.label){case 0:return t=$B.isSameOrigin(A),r=!et(A)&&this._options.useCORS===!0&&N.SUPPORT_CORS_IMAGES&&!t,B=!et(A)&&!t&&!rt(A)&&typeof this._options.proxy=="string"&&N.SUPPORT_CORS_XHR&&!r,!t&&this._options.allowTaint===!1&&!et(A)&&!rt(A)&&!B&&!r?[2]:(n=A,B?[4,this.proxy(n)]:[3,2]);case 1:n=i.sent(),i.label=2;case 2:return this.context.logger.debug("Added image "+A.substring(0,256)),[4,new Promise(function(a,o){var Q=new Image;Q.onload=function(){return a(Q)},Q.onerror=o,(tQ(n)||r)&&(Q.crossOrigin="anonymous"),Q.src=n,Q.complete===!0&&setTimeout(function(){return a(Q)},500),s._options.imageTimeout>0&&setTimeout(function(){return o("Timed out ("+s._options.imageTimeout+"ms) loading image")},s._options.imageTimeout)})];case 3:return[2,i.sent()]}})})},e.prototype.has=function(A){return typeof this._cache[A]<"u"},e.prototype.keys=function(){return Promise.resolve(Object.keys(this._cache))},e.prototype.proxy=function(A){var t=this,r=this._options.proxy;if(!r)throw new Error("No proxy defined");var B=A.substring(0,256);return new Promise(function(n,s){var i=N.SUPPORT_RESPONSE_TYPE?"blob":"text",a=new XMLHttpRequest;a.onload=function(){if(a.status===200)if(i==="text")n(a.response);else{var g=new FileReader;g.addEventListener("load",function(){return n(g.result)},!1),g.addEventListener("error",function(w){return s(w)},!1),g.readAsDataURL(a.response)}else s("Failed to proxy resource "+B+" with status code "+a.status)},a.onerror=s;var o=r.indexOf("?")>-1?"&":"?";if(a.open("GET",""+r+o+"url="+encodeURIComponent(A)+"&responseType="+i),i!=="text"&&a instanceof XMLHttpRequest&&(a.responseType=i),t._options.imageTimeout){var Q=t._options.imageTimeout;a.timeout=Q,a.ontimeout=function(){return s("Timed out ("+Q+"ms) proxying "+B)}}a.send()})},e}(),$o=/^data:image\/svg\+xml/i,AQ=/^data:image\/.*;base64,/i,eQ=/^data:image\/.*/i,rQ=function(e){return N.SUPPORT_SVG_DRAWING||!BQ(e)},et=function(e){return eQ.test(e)},tQ=function(e){return AQ.test(e)},rt=function(e){return e.substr(0,4)==="blob"},BQ=function(e){return e.substr(-3).toLowerCase()==="svg"||$o.test(e)},u=function(){function e(A,t){this.type=0,this.x=A,this.y=t}return e.prototype.add=function(A,t){return new e(this.x+A,this.y+t)},e}(),_A=function(e,A,t){return new u(e.x+(A.x-e.x)*t,e.y+(A.y-e.y)*t)},er=function(){function e(A,t,r,B){this.type=1,this.start=A,this.startControl=t,this.endControl=r,this.end=B}return e.prototype.subdivide=function(A,t){var r=_A(this.start,this.startControl,A),B=_A(this.startControl,this.endControl,A),n=_A(this.endControl,this.end,A),s=_A(r,B,A),i=_A(B,n,A),a=_A(s,i,A);return t?new e(this.start,r,s,a):new e(a,i,n,this.end)},e.prototype.add=function(A,t){return new e(this.start.add(A,t),this.startControl.add(A,t),this.endControl.add(A,t),this.end.add(A,t))},e.prototype.reverse=function(){return new e(this.end,this.endControl,this.startControl,this.start)},e}(),eA=function(e){return e.type===1},nQ=function(){function e(A){var t=A.styles,r=A.bounds,B=se(t.borderTopLeftRadius,r.width,r.height),n=B[0],s=B[1],i=se(t.borderTopRightRadius,r.width,r.height),a=i[0],o=i[1],Q=se(t.borderBottomRightRadius,r.width,r.height),g=Q[0],w=Q[1],f=se(t.borderBottomLeftRadius,r.width,r.height),c=f[0],C=f[1],H=[];H.push((n+a)/r.width),H.push((c+g)/r.width),H.push((s+C)/r.height),H.push((o+w)/r.height);var h=Math.max.apply(Math,H);h>1&&(n/=h,s/=h,a/=h,o/=h,g/=h,w/=h,c/=h,C/=h);var F=r.width-a,K=r.height-w,p=r.width-g,d=r.height-C,l=t.borderTopWidth,v=t.borderRightWidth,y=t.borderBottomWidth,E=t.borderLeftWidth,M=b(t.paddingTop,A.bounds.width),W=b(t.paddingRight,A.bounds.width),z=b(t.paddingBottom,A.bounds.width),D=b(t.paddingLeft,A.bounds.width);this.topLeftBorderDoubleOuterBox=n>0||s>0?x(r.left+E/3,r.top+l/3,n-E/3,s-l/3,m.TOP_LEFT):new u(r.left+E/3,r.top+l/3),this.topRightBorderDoubleOuterBox=n>0||s>0?x(r.left+F,r.top+l/3,a-v/3,o-l/3,m.TOP_RIGHT):new u(r.left+r.width-v/3,r.top+l/3),this.bottomRightBorderDoubleOuterBox=g>0||w>0?x(r.left+p,r.top+K,g-v/3,w-y/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v/3,r.top+r.height-y/3),this.bottomLeftBorderDoubleOuterBox=c>0||C>0?x(r.left+E/3,r.top+d,c-E/3,C-y/3,m.BOTTOM_LEFT):new u(r.left+E/3,r.top+r.height-y/3),this.topLeftBorderDoubleInnerBox=n>0||s>0?x(r.left+E*2/3,r.top+l*2/3,n-E*2/3,s-l*2/3,m.TOP_LEFT):new u(r.left+E*2/3,r.top+l*2/3),this.topRightBorderDoubleInnerBox=n>0||s>0?x(r.left+F,r.top+l*2/3,a-v*2/3,o-l*2/3,m.TOP_RIGHT):new u(r.left+r.width-v*2/3,r.top+l*2/3),this.bottomRightBorderDoubleInnerBox=g>0||w>0?x(r.left+p,r.top+K,g-v*2/3,w-y*2/3,m.BOTTOM_RIGHT):new u(r.left+r.width-v*2/3,r.top+r.height-y*2/3),this.bottomLeftBorderDoubleInnerBox=c>0||C>0?x(r.left+E*2/3,r.top+d,c-E*2/3,C-y*2/3,m.BOTTOM_LEFT):new u(r.left+E*2/3,r.top+r.height-y*2/3),this.topLeftBorderStroke=n>0||s>0?x(r.left+E/2,r.top+l/2,n-E/2,s-l/2,m.TOP_LEFT):new u(r.left+E/2,r.top+l/2),this.topRightBorderStroke=n>0||s>0?x(r.left+F,r.top+l/2,a-v/2,o-l/2,m.TOP_RIGHT):new u(r.left+r.width-v/2,r.top+l/2),this.bottomRightBorderStroke=g>0||w>0?x(r.left+p,r.top+K,g-v/2,w-y/2,m.BOTTOM_RIGHT):new u(r.left+r.width-v/2,r.top+r.height-y/2),this.bottomLeftBorderStroke=c>0||C>0?x(r.left+E/2,r.top+d,c-E/2,C-y/2,m.BOTTOM_LEFT):new u(r.left+E/2,r.top+r.height-y/2),this.topLeftBorderBox=n>0||s>0?x(r.left,r.top,n,s,m.TOP_LEFT):new u(r.left,r.top),this.topRightBorderBox=a>0||o>0?x(r.left+F,r.top,a,o,m.TOP_RIGHT):new u(r.left+r.width,r.top),this.bottomRightBorderBox=g>0||w>0?x(r.left+p,r.top+K,g,w,m.BOTTOM_RIGHT):new u(r.left+r.width,r.top+r.height),this.bottomLeftBorderBox=c>0||C>0?x(r.left,r.top+d,c,C,m.BOTTOM_LEFT):new u(r.left,r.top+r.height),this.topLeftPaddingBox=n>0||s>0?x(r.left+E,r.top+l,Math.max(0,n-E),Math.max(0,s-l),m.TOP_LEFT):new u(r.left+E,r.top+l),this.topRightPaddingBox=a>0||o>0?x(r.left+Math.min(F,r.width-v),r.top+l,F>r.width+v?0:Math.max(0,a-v),Math.max(0,o-l),m.TOP_RIGHT):new u(r.left+r.width-v,r.top+l),this.bottomRightPaddingBox=g>0||w>0?x(r.left+Math.min(p,r.width-E),r.top+Math.min(K,r.height-y),Math.max(0,g-v),Math.max(0,w-y),m.BOTTOM_RIGHT):new u(r.left+r.width-v,r.top+r.height-y),this.bottomLeftPaddingBox=c>0||C>0?x(r.left+E,r.top+Math.min(d,r.height-y),Math.max(0,c-E),Math.max(0,C-y),m.BOTTOM_LEFT):new u(r.left+E,r.top+r.height-y),this.topLeftContentBox=n>0||s>0?x(r.left+E+D,r.top+l+M,Math.max(0,n-(E+D)),Math.max(0,s-(l+M)),m.TOP_LEFT):new u(r.left+E+D,r.top+l+M),this.topRightContentBox=a>0||o>0?x(r.left+Math.min(F,r.width+E+D),r.top+l+M,F>r.width+E+D?0:a-E+D,o-(l+M),m.TOP_RIGHT):new u(r.left+r.width-(v+W),r.top+l+M),this.bottomRightContentBox=g>0||w>0?x(r.left+Math.min(p,r.width-(E+D)),r.top+Math.min(K,r.height+l+M),Math.max(0,g-(v+W)),w-(y+z),m.BOTTOM_RIGHT):new u(r.left+r.width-(v+W),r.top+r.height-(y+z)),this.bottomLeftContentBox=c>0||C>0?x(r.left+E+D,r.top+d,Math.max(0,c-(E+D)),C-(y+z),m.BOTTOM_LEFT):new u(r.left+E+D,r.top+r.height-(y+z))}return e}(),m=function(e){return e[e.TOP_LEFT=0]="TOP_LEFT",e[e.TOP_RIGHT=1]="TOP_RIGHT",e[e.BOTTOM_RIGHT=2]="BOTTOM_RIGHT",e[e.BOTTOM_LEFT=3]="BOTTOM_LEFT",e}(m||{}),x=function(e,A,t,r,B){var n=4*((Math.sqrt(2)-1)/3),s=t*n,i=r*n,a=e+t,o=A+r;switch(B){case m.TOP_LEFT:return new er(new u(e,o),new u(e,o-i),new u(a-s,A),new u(a,A));case m.TOP_RIGHT:return new er(new u(e,A),new u(e+s,A),new u(a,o-i),new u(a,o));case m.BOTTOM_RIGHT:return new er(new u(a,A),new u(a,A+i),new u(e+s,o),new u(e,o));case m.BOTTOM_LEFT:default:return new er(new u(a,o),new u(a-s,o),new u(e,A+i),new u(e,A))}},rr=function(e){return[e.topLeftBorderBox,e.topRightBorderBox,e.bottomRightBorderBox,e.bottomLeftBorderBox]},sQ=function(e){return[e.topLeftContentBox,e.topRightContentBox,e.bottomRightContentBox,e.bottomLeftContentBox]},tr=function(e){return[e.topLeftPaddingBox,e.topRightPaddingBox,e.bottomRightPaddingBox,e.bottomLeftPaddingBox]},aQ=function(){function e(A,t,r){this.offsetX=A,this.offsetY=t,this.matrix=r,this.type=0,this.target=6}return e}(),Br=function(){function e(A,t){this.path=A,this.target=t,this.type=1}return e}(),iQ=function(){function e(A){this.opacity=A,this.type=2,this.target=6}return e}(),oQ=function(e){return e.type===0},An=function(e){return e.type===1},QQ=function(e){return e.type===2},en=function(e,A){return e.length===A.length?e.some(function(t,r){return t===A[r]}):!1},gQ=function(e,A,t,r,B){return e.map(function(n,s){switch(s){case 0:return n.add(A,t);case 1:return n.add(A+r,t);case 2:return n.add(A+r,t+B);case 3:return n.add(A,t+B)}return n})},rn=function(){function e(A){this.element=A,this.inlineLevel=[],this.nonInlineLevel=[],this.negativeZIndex=[],this.zeroOrAutoZIndexOrTransformedOrOpacity=[],this.positiveZIndex=[],this.nonPositionedFloats=[],this.nonPositionedInlineLevel=[]}return e}(),tn=function(){function e(A,t){if(this.container=A,this.parent=t,this.effects=[],this.curves=new nQ(this.container),this.container.styles.opacity<1&&this.effects.push(new iQ(this.container.styles.opacity)),this.container.styles.transform!==null){var r=this.container.bounds.left+this.container.styles.transformOrigin[0].number,B=this.container.bounds.top+this.container.styles.transformOrigin[1].number,n=this.container.styles.transform;this.effects.push(new aQ(r,B,n))}if(this.container.styles.overflowX!==0){var s=rr(this.curves),i=tr(this.curves);en(s,i)?this.effects.push(new Br(s,6)):(this.effects.push(new Br(s,2)),this.effects.push(new Br(i,4)))}}return e.prototype.getEffects=function(A){for(var t=[2,3].indexOf(this.container.styles.position)===-1,r=this.parent,B=this.effects.slice(0);r;){var n=r.effects.filter(function(a){return!An(a)});if(t||r.container.styles.position!==0||!r.parent){if(B.unshift.apply(B,n),t=[2,3].indexOf(r.container.styles.position)===-1,r.container.styles.overflowX!==0){var s=rr(r.curves),i=tr(r.curves);en(s,i)||B.unshift(new Br(i,6))}}else B.unshift.apply(B,n);r=r.parent}return B.filter(function(a){return G(a.target,A)})},e}(),tt=function(e,A,t,r){e.container.elements.forEach(function(B){var n=G(B.flags,4),s=G(B.flags,2),i=new tn(B,e);G(B.styles.display,2048)&&r.push(i);var a=G(B.flags,8)?[]:r;if(n||s){var o=n||B.styles.isPositioned()?t:A,Q=new rn(i);if(B.styles.isPositioned()||B.styles.opacity<1||B.styles.isTransformed()){var g=B.styles.zIndex.order;if(g<0){var w=0;o.negativeZIndex.some(function(c,C){return g>c.element.container.styles.zIndex.order?(w=C,!1):w>0}),o.negativeZIndex.splice(w,0,Q)}else if(g>0){var f=0;o.positiveZIndex.some(function(c,C){return g>=c.element.container.styles.zIndex.order?(f=C+1,!1):f>0}),o.positiveZIndex.splice(f,0,Q)}else o.zeroOrAutoZIndexOrTransformedOrOpacity.push(Q)}else B.styles.isFloating()?o.nonPositionedFloats.push(Q):o.nonPositionedInlineLevel.push(Q);tt(i,Q,n?Q:t,a)}else B.styles.isInlineLevel()?A.inlineLevel.push(i):A.nonInlineLevel.push(i),tt(i,A,t,a);G(B.flags,8)&&Bn(B,a)})},Bn=function(e,A){for(var t=e instanceof kr?e.start:1,r=e instanceof kr?e.reversed:!1,B=0;B"u"?e[0]:t},FQ=function(e,A,t,r,B){var n=A[0],s=A[1],i=t[0],a=t[1];switch(e){case 2:return[new u(Math.round(r.left),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(r.top+s)),new u(Math.round(r.left+r.width),Math.round(a+r.top+s)),new u(Math.round(r.left),Math.round(a+r.top+s))];case 3:return[new u(Math.round(r.left+n),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.top)),new u(Math.round(r.left+n+i),Math.round(r.height+r.top)),new u(Math.round(r.left+n),Math.round(r.height+r.top))];case 1:return[new u(Math.round(r.left+n),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s)),new u(Math.round(r.left+n+i),Math.round(r.top+s+a)),new u(Math.round(r.left+n),Math.round(r.top+s+a))];default:return[new u(Math.round(B.left),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.top)),new u(Math.round(B.left+B.width),Math.round(B.height+B.top)),new u(Math.round(B.left),Math.round(B.height+B.top))]}},hQ="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7",an="Hidden Text",dQ=function(){function e(A){this._data={},this._document=A}return e.prototype.parseMetrics=function(A,t){var r=this._document.createElement("div"),B=this._document.createElement("img"),n=this._document.createElement("span"),s=this._document.body;r.style.visibility="hidden",r.style.fontFamily=A,r.style.fontSize=t,r.style.margin="0",r.style.padding="0",r.style.whiteSpace="nowrap",s.appendChild(r),B.src=hQ,B.width=1,B.height=1,B.style.margin="0",B.style.padding="0",B.style.verticalAlign="baseline",n.style.fontFamily=A,n.style.fontSize=t,n.style.margin="0",n.style.padding="0",n.appendChild(this._document.createTextNode(an)),r.appendChild(n),r.appendChild(B);var i=B.offsetTop-n.offsetTop+2;r.removeChild(n),r.appendChild(this._document.createTextNode(an)),r.style.lineHeight="normal",B.style.verticalAlign="super";var a=B.offsetTop-r.offsetTop+2;return s.removeChild(r),{baseline:i,middle:a}},e.prototype.getMetrics=function(A,t){var r=A+" "+t;return typeof this._data[r]>"u"&&(this._data[r]=this.parseMetrics(A,t)),this._data[r]},e}(),on=function(){function e(A,t){this.context=A,this.options=t}return e}(),EQ=1e4,HQ=function(e){P(A,e);function A(t,r){var B=e.call(this,t,r)||this;return B._activeEffects=[],B.canvas=r.canvas?r.canvas:document.createElement("canvas"),B.ctx=B.canvas.getContext("2d"),r.canvas||(B.canvas.width=Math.floor(r.width*r.scale),B.canvas.height=Math.floor(r.height*r.scale),B.canvas.style.width=r.width+"px",B.canvas.style.height=r.height+"px"),B.fontMetrics=new dQ(document),B.ctx.scale(B.options.scale,B.options.scale),B.ctx.translate(-r.x,-r.y),B.ctx.textBaseline="bottom",B._activeEffects=[],B.context.logger.debug("Canvas renderer initialized ("+r.width+"x"+r.height+") with scale "+r.scale),B}return A.prototype.applyEffects=function(t){for(var r=this;this._activeEffects.length;)this.popEffect();t.forEach(function(B){return r.applyEffect(B)})},A.prototype.applyEffect=function(t){this.ctx.save(),QQ(t)&&(this.ctx.globalAlpha=t.opacity),oQ(t)&&(this.ctx.translate(t.offsetX,t.offsetY),this.ctx.transform(t.matrix[0],t.matrix[1],t.matrix[2],t.matrix[3],t.matrix[4],t.matrix[5]),this.ctx.translate(-t.offsetX,-t.offsetY)),An(t)&&(this.path(t.path),this.ctx.clip()),this._activeEffects.push(t)},A.prototype.popEffect=function(){this._activeEffects.pop(),this.ctx.restore()},A.prototype.renderStack=function(t){return k(this,void 0,void 0,function(){var r;return _(this,function(B){switch(B.label){case 0:return r=t.element.container.styles,r.isVisible()?[4,this.renderStackContent(t)]:[3,2];case 1:B.sent(),B.label=2;case 2:return[2]}})})},A.prototype.renderNode=function(t){return k(this,void 0,void 0,function(){return _(this,function(r){switch(r.label){case 0:if(G(t.container.flags,16))debugger;return t.container.styles.isVisible()?[4,this.renderNodeBackgroundAndBorders(t)]:[3,3];case 1:return r.sent(),[4,this.renderNodeContent(t)];case 2:r.sent(),r.label=3;case 3:return[2]}})})},A.prototype.renderTextWithLetterSpacing=function(t,r,B){var n=this;if(r===0)this.ctx.fillText(t.text,t.bounds.left,t.bounds.top+B);else{var s=Pr(t.text);s.reduce(function(i,a){return n.ctx.fillText(a,i,t.bounds.top+B),i+n.ctx.measureText(a).width},t.bounds.left)}},A.prototype.createFontStyle=function(t){var r=t.fontVariant.filter(function(s){return s==="normal"||s==="small-caps"}).join(""),B=KQ(t.fontFamily).join(", "),n=ne(t.fontSize)?""+t.fontSize.number+t.fontSize.unit:t.fontSize.number+"px";return[[t.fontStyle,r,t.fontWeight,n,B].join(" "),B,n]},A.prototype.renderTextNode=function(t,r){return k(this,void 0,void 0,function(){var B,n,s,i,a,o,Q,g,w=this;return _(this,function(f){return B=this.createFontStyle(r),n=B[0],s=B[1],i=B[2],this.ctx.font=n,this.ctx.direction=r.direction===1?"rtl":"ltr",this.ctx.textAlign="left",this.ctx.textBaseline="alphabetic",a=this.fontMetrics.getMetrics(s,i),o=a.baseline,Q=a.middle,g=r.paintOrder,t.textBounds.forEach(function(c){g.forEach(function(C){switch(C){case 0:w.ctx.fillStyle=R(r.color),w.renderTextWithLetterSpacing(c,r.letterSpacing,o);var H=r.textShadow;H.length&&c.text.trim().length&&(H.slice(0).reverse().forEach(function(h){w.ctx.shadowColor=R(h.color),w.ctx.shadowOffsetX=h.offsetX.number*w.options.scale,w.ctx.shadowOffsetY=h.offsetY.number*w.options.scale,w.ctx.shadowBlur=h.blur.number,w.renderTextWithLetterSpacing(c,r.letterSpacing,o)}),w.ctx.shadowColor="",w.ctx.shadowOffsetX=0,w.ctx.shadowOffsetY=0,w.ctx.shadowBlur=0),r.textDecorationLine.length&&(w.ctx.fillStyle=R(r.textDecorationColor||r.color),r.textDecorationLine.forEach(function(h){switch(h){case 1:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top+o),c.bounds.width,1);break;case 2:w.ctx.fillRect(c.bounds.left,Math.round(c.bounds.top),c.bounds.width,1);break;case 3:w.ctx.fillRect(c.bounds.left,Math.ceil(c.bounds.top+Q),c.bounds.width,1);break}}));break;case 1:r.webkitTextStrokeWidth&&c.text.trim().length&&(w.ctx.strokeStyle=R(r.webkitTextStrokeColor),w.ctx.lineWidth=r.webkitTextStrokeWidth,w.ctx.lineJoin=window.chrome?"miter":"round",w.ctx.strokeText(c.text,c.bounds.left,c.bounds.top+o)),w.ctx.strokeStyle="",w.ctx.lineWidth=0,w.ctx.lineJoin="miter";break}})}),[2]})})},A.prototype.renderReplacedElement=function(t,r,B){if(B&&t.intrinsicWidth>0&&t.intrinsicHeight>0){var n=sr(t),s=tr(r);this.path(s),this.ctx.save(),this.ctx.clip(),this.ctx.drawImage(B,0,0,t.intrinsicWidth,t.intrinsicHeight,n.left,n.top,n.width,n.height),this.ctx.restore()}},A.prototype.renderNodeContent=function(t){return k(this,void 0,void 0,function(){var r,B,n,s,i,a,F,F,o,Q,g,w,p,f,c,d,C,H,h,F,K,p,d;return _(this,function(l){switch(l.label){case 0:this.applyEffects(t.getEffects(4)),r=t.container,B=t.curves,n=r.styles,s=0,i=r.textNodes,l.label=1;case 1:return s0&&X>0&&(y=n.ctx.createPattern(d,"repeat"),n.renderRepeat(M,y,Z,q))):oa(Q)&&(E=Bt(t,r,[null,null,null]),M=E[0],W=E[1],z=E[2],D=E[3],X=E[4],HA=Q.position.length===0?[mr]:Q.position,Z=b(HA[0],D),q=b(HA[HA.length-1],X),DA=Ba(Q,Z,q,D,X),aA=DA[0],pA=DA[1],aA>0&&pA>0&&(bA=n.ctx.createRadialGradient(W+Z,z+q,0,W+Z,z+q,aA),qt(Q.stops,aA*2).forEach(function(ce){return bA.addColorStop(ce.stop,R(ce.color))}),n.path(M),n.ctx.fillStyle=bA,aA!==pA?(xA=t.bounds.left+.5*t.bounds.width,wA=t.bounds.top+.5*t.bounds.height,TA=pA/aA,cA=1/TA,n.ctx.save(),n.ctx.translate(xA,wA),n.ctx.transform(1,0,0,TA,0,0),n.ctx.translate(-xA,-wA),n.ctx.fillRect(W,cA*(z-wA)+wA,D,X*cA),n.ctx.restore()):n.ctx.fill())),kA.label=6;case 6:return r--,[2]}})},n=this,s=0,i=t.styles.backgroundImage.slice(0).reverse(),o.label=1;case 1:return s0?Q.style!==2?[3,5]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,2)]:[3,11]):[3,13];case 4:return w.sent(),[3,11];case 5:return Q.style!==3?[3,7]:[4,this.renderDashedDottedBorder(Q.color,Q.width,i,t.curves,3)];case 6:return w.sent(),[3,11];case 7:return Q.style!==4?[3,9]:[4,this.renderDoubleBorder(Q.color,Q.width,i,t.curves)];case 8:return w.sent(),[3,11];case 9:return[4,this.renderSolidBorder(Q.color,i,t.curves)];case 10:w.sent(),w.label=11;case 11:i++,w.label=12;case 12:return a++,[3,3];case 13:return[2]}})})},A.prototype.renderDashedDottedBorder=function(t,r,B,n,s){return k(this,void 0,void 0,function(){var i,a,o,Q,g,w,f,c,C,H,h,F,K,p,d,l,d,l;return _(this,function(v){return this.ctx.save(),i=uQ(n,B),a=nn(n,B),s===2&&(this.path(a),this.ctx.clip()),eA(a[0])?(o=a[0].start.x,Q=a[0].start.y):(o=a[0].x,Q=a[0].y),eA(a[1])?(g=a[1].end.x,w=a[1].end.y):(g=a[1].x,w=a[1].y),B===0||B===2?f=Math.abs(o-g):f=Math.abs(Q-w),this.ctx.beginPath(),s===3?this.formatPath(i):this.formatPath(a.slice(0,2)),c=r<3?r*3:r*2,C=r<3?r*2:r,s===3&&(c=r,C=r),H=!0,f<=c*2?H=!1:f<=c*2+C?(h=f/(2*c+C),c*=h,C*=h):(F=Math.floor((f+C)/(c+C)),K=(f-F*c)/(F-1),p=(f-(F+1)*c)/F,C=p<=0||Math.abs(C-K){"use strict";var br=function(i){return i&&i.Math===Math&&i};ks.exports=br(typeof globalThis=="object"&&globalThis)||br(typeof window=="object"&&window)||br(typeof self=="object"&&self)||br(typeof global=="object"&&global)||br(typeof Pi=="object"&&Pi)||function(){return this}()||Function("return this")()});var D=d((bO,Bs)=>{"use strict";Bs.exports=function(i){try{return!!i()}catch{return!0}}});var ue=d((xO,Us)=>{"use strict";var gg=D();Us.exports=!gg(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7})});var xr=d((TO,js)=>{"use strict";var dg=D();js.exports=!dg(function(){var i=function(){}.bind();return typeof i!="function"||i.hasOwnProperty("prototype")})});var G=d((OO,Fs)=>{"use strict";var pg=xr(),st=Function.prototype.call;Fs.exports=pg?st.bind(st):function(){return st.apply(st,arguments)}});var Gs=d(Hs=>{"use strict";var zs={}.propertyIsEnumerable,$s=Object.getOwnPropertyDescriptor,yg=$s&&!zs.call({1:2},1);Hs.f=yg?function(e){var r=$s(this,e);return!!r&&r.enumerable}:zs});var ot=d((EO,Ys)=>{"use strict";Ys.exports=function(i,e){return{enumerable:!(i&1),configurable:!(i&2),writable:!(i&4),value:e}}});var L=d((wO,Qs)=>{"use strict";var Xs=xr(),Ws=Function.prototype,Ri=Ws.call,mg=Xs&&Ws.bind.bind(Ri,Ri);Qs.exports=Xs?mg:function(i){return function(){return Ri.apply(i,arguments)}}});var Ae=d((CO,Zs)=>{"use strict";var Ks=L(),bg=Ks({}.toString),xg=Ks("".slice);Zs.exports=function(i){return xg(bg(i),8,-1)}});var Ii=d((qO,Js)=>{"use strict";var Tg=L(),Og=D(),Sg=Ae(),Ni=Object,Eg=Tg("".split);Js.exports=Og(function(){return!Ni("z").propertyIsEnumerable(0)})?function(i){return Sg(i)==="String"?Eg(i,""):Ni(i)}:Ni});var Tr=d((AO,eo)=>{"use strict";eo.exports=function(i){return i==null}});var le=d((PO,ro)=>{"use strict";var wg=Tr(),Cg=TypeError;ro.exports=function(i){if(wg(i))throw new Cg("Can't call method on "+i);return i}});var We=d((RO,to)=>{"use strict";var qg=Ii(),Ag=le();to.exports=function(i){return qg(Ag(i))}});var k=d((NO,io)=>{"use strict";var Mi=typeof document=="object"&&document.all;io.exports=typeof Mi>"u"&&Mi!==void 0?function(i){return typeof i=="function"||i===Mi}:function(i){return typeof i=="function"}});var te=d((IO,ao)=>{"use strict";var Pg=k();ao.exports=function(i){return typeof i=="object"?i!==null:Pg(i)}});var Pe=d((MO,no)=>{"use strict";var Vi=V(),Rg=k(),Ng=function(i){return Rg(i)?i:void 0};no.exports=function(i,e){return arguments.length<2?Ng(Vi[i]):Vi[i]&&Vi[i][e]}});var Or=d((VO,so)=>{"use strict";var Ig=L();so.exports=Ig({}.isPrototypeOf)});var Qe=d((_O,lo)=>{"use strict";var Mg=V(),oo=Mg.navigator,uo=oo&&oo.userAgent;lo.exports=uo?String(uo):""});var lt=d((DO,po)=>{"use strict";var go=V(),_i=Qe(),ho=go.process,co=go.Deno,fo=ho&&ho.versions||co&&co.version,vo=fo&&fo.v8,fe,ut;vo&&(fe=vo.split("."),ut=fe[0]>0&&fe[0]<4?1:+(fe[0]+fe[1]));!ut&&_i&&(fe=_i.match(/Edge\/(\d+)/),(!fe||fe[1]>=74)&&(fe=_i.match(/Chrome\/(\d+)/),fe&&(ut=+fe[1])));po.exports=ut});var Di=d((LO,mo)=>{"use strict";var yo=lt(),Vg=D(),_g=V(),Dg=_g.String;mo.exports=!!Object.getOwnPropertySymbols&&!Vg(function(){var i=Symbol("symbol detection");return!Dg(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&yo&&yo<41})});var Li=d((kO,bo)=>{"use strict";var Lg=Di();bo.exports=Lg&&!Symbol.sham&&typeof Symbol.iterator=="symbol"});var ki=d((BO,xo)=>{"use strict";var kg=Pe(),Bg=k(),Ug=Or(),jg=Li(),Fg=Object;xo.exports=jg?function(i){return typeof i=="symbol"}:function(i){var e=kg("Symbol");return Bg(e)&&Ug(e.prototype,Fg(i))}});var Sr=d((UO,To)=>{"use strict";var zg=String;To.exports=function(i){try{return zg(i)}catch{return"Object"}}});var be=d((jO,Oo)=>{"use strict";var $g=k(),Hg=Sr(),Gg=TypeError;Oo.exports=function(i){if($g(i))return i;throw new Gg(Hg(i)+" is not a function")}});var ke=d((FO,So)=>{"use strict";var Yg=be(),Xg=Tr();So.exports=function(i,e){var r=i[e];return Xg(r)?void 0:Yg(r)}});var wo=d((zO,Eo)=>{"use strict";var Bi=G(),Ui=k(),ji=te(),Wg=TypeError;Eo.exports=function(i,e){var r,t;if(e==="string"&&Ui(r=i.toString)&&!ji(t=Bi(r,i))||Ui(r=i.valueOf)&&!ji(t=Bi(r,i))||e!=="string"&&Ui(r=i.toString)&&!ji(t=Bi(r,i)))return t;throw new Wg("Can't convert object to primitive value")}});var ve=d(($O,Co)=>{"use strict";Co.exports=!1});var ht=d((HO,Ao)=>{"use strict";var qo=V(),Qg=Object.defineProperty;Ao.exports=function(i,e){try{Qg(qo,i,{value:e,configurable:!0,writable:!0})}catch{qo[i]=e}return e}});var ct=d((GO,No)=>{"use strict";var Kg=ve(),Zg=V(),Jg=ht(),Po="__core-js_shared__",Ro=No.exports=Zg[Po]||Jg(Po,{});(Ro.versions||(Ro.versions=[])).push({version:"3.42.0",mode:Kg?"pure":"global",copyright:"\xA9 2014-2025 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.42.0/LICENSE",source:"https://github.com/zloirock/core-js"})});var ft=d((YO,Mo)=>{"use strict";var Io=ct();Mo.exports=function(i,e){return Io[i]||(Io[i]=e||{})}});var Er=d((XO,Vo)=>{"use strict";var ed=le(),rd=Object;Vo.exports=function(i){return rd(ed(i))}});var he=d((WO,_o)=>{"use strict";var td=L(),id=Er(),ad=td({}.hasOwnProperty);_o.exports=Object.hasOwn||function(e,r){return ad(id(e),r)}});var Fi=d((QO,Do)=>{"use strict";var nd=L(),sd=0,od=Math.random(),ud=nd(1 .toString);Do.exports=function(i){return"Symbol("+(i===void 0?"":i)+")_"+ud(++sd+od,36)}});var z=d((KO,ko)=>{"use strict";var ld=V(),hd=ft(),Lo=he(),cd=Fi(),fd=Di(),vd=Li(),Ke=ld.Symbol,zi=hd("wks"),gd=vd?Ke.for||Ke:Ke&&Ke.withoutSetter||cd;ko.exports=function(i){return Lo(zi,i)||(zi[i]=fd&&Lo(Ke,i)?Ke[i]:gd("Symbol."+i)),zi[i]}});var Fo=d((ZO,jo)=>{"use strict";var dd=G(),Bo=te(),Uo=ki(),pd=ke(),yd=wo(),md=z(),bd=TypeError,xd=md("toPrimitive");jo.exports=function(i,e){if(!Bo(i)||Uo(i))return i;var r=pd(i,xd),t;if(r){if(e===void 0&&(e="default"),t=dd(r,i,e),!Bo(t)||Uo(t))return t;throw new bd("Can't convert object to primitive value")}return e===void 0&&(e="number"),yd(i,e)}});var $i=d((JO,zo)=>{"use strict";var Td=Fo(),Od=ki();zo.exports=function(i){var e=Td(i,"string");return Od(e)?e:e+""}});var wr=d((eS,Ho)=>{"use strict";var Sd=V(),$o=te(),Hi=Sd.document,Ed=$o(Hi)&&$o(Hi.createElement);Ho.exports=function(i){return Ed?Hi.createElement(i):{}}});var Gi=d((rS,Go)=>{"use strict";var wd=ue(),Cd=D(),qd=wr();Go.exports=!wd&&!Cd(function(){return Object.defineProperty(qd("div"),"a",{get:function(){return 7}}).a!==7})});var Cr=d(Xo=>{"use strict";var Ad=ue(),Pd=G(),Rd=Gs(),Nd=ot(),Id=We(),Md=$i(),Vd=he(),_d=Gi(),Yo=Object.getOwnPropertyDescriptor;Xo.f=Ad?Yo:function(e,r){if(e=Id(e),r=Md(r),_d)try{return Yo(e,r)}catch{}if(Vd(e,r))return Nd(!Pd(Rd.f,e,r),e[r])}});var Yi=d((iS,Wo)=>{"use strict";var Dd=ue(),Ld=D();Wo.exports=Dd&&Ld(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42})});var J=d((aS,Qo)=>{"use strict";var kd=te(),Bd=String,Ud=TypeError;Qo.exports=function(i){if(kd(i))return i;throw new Ud(Bd(i)+" is not an object")}});var Te=d(Zo=>{"use strict";var jd=ue(),Fd=Gi(),zd=Yi(),vt=J(),Ko=$i(),$d=TypeError,Xi=Object.defineProperty,Hd=Object.getOwnPropertyDescriptor,Wi="enumerable",Qi="configurable",Ki="writable";Zo.f=jd?zd?function(e,r,t){if(vt(e),r=Ko(r),vt(t),typeof e=="function"&&r==="prototype"&&"value"in t&&Ki in t&&!t[Ki]){var a=Hd(e,r);a&&a[Ki]&&(e[r]=t.value,t={configurable:Qi in t?t[Qi]:a[Qi],enumerable:Wi in t?t[Wi]:a[Wi],writable:!1})}return Xi(e,r,t)}:Xi:function(e,r,t){if(vt(e),r=Ko(r),vt(t),Fd)try{return Xi(e,r,t)}catch{}if("get"in t||"set"in t)throw new $d("Accessors not supported");return"value"in t&&(e[r]=t.value),e}});var Ze=d((sS,Jo)=>{"use strict";var Gd=ue(),Yd=Te(),Xd=ot();Jo.exports=Gd?function(i,e,r){return Yd.f(i,e,Xd(1,r))}:function(i,e,r){return i[e]=r,i}});var qr=d((oS,ru)=>{"use strict";var Zi=ue(),Wd=he(),eu=Function.prototype,Qd=Zi&&Object.getOwnPropertyDescriptor,Ji=Wd(eu,"name"),Kd=Ji&&function(){}.name==="something",Zd=Ji&&(!Zi||Zi&&Qd(eu,"name").configurable);ru.exports={EXISTS:Ji,PROPER:Kd,CONFIGURABLE:Zd}});var gt=d((uS,tu)=>{"use strict";var Jd=L(),ep=k(),ea=ct(),rp=Jd(Function.toString);ep(ea.inspectSource)||(ea.inspectSource=function(i){return rp(i)});tu.exports=ea.inspectSource});var nu=d((lS,au)=>{"use strict";var tp=V(),ip=k(),iu=tp.WeakMap;au.exports=ip(iu)&&/native code/.test(String(iu))});var dt=d((hS,ou)=>{"use strict";var ap=ft(),np=Fi(),su=ap("keys");ou.exports=function(i){return su[i]||(su[i]=np(i))}});var pt=d((cS,uu)=>{"use strict";uu.exports={}});var Pr=d((fS,cu)=>{"use strict";var sp=nu(),hu=V(),op=te(),up=Ze(),ra=he(),ta=ct(),lp=dt(),hp=pt(),lu="Object already initialized",ia=hu.TypeError,cp=hu.WeakMap,yt,Ar,mt,fp=function(i){return mt(i)?Ar(i):yt(i,{})},vp=function(i){return function(e){var r;if(!op(e)||(r=Ar(e)).type!==i)throw new ia("Incompatible receiver, "+i+" required");return r}};sp||ta.state?(ge=ta.state||(ta.state=new cp),ge.get=ge.get,ge.has=ge.has,ge.set=ge.set,yt=function(i,e){if(ge.has(i))throw new ia(lu);return e.facade=i,ge.set(i,e),e},Ar=function(i){return ge.get(i)||{}},mt=function(i){return ge.has(i)}):(Be=lp("state"),hp[Be]=!0,yt=function(i,e){if(ra(i,Be))throw new ia(lu);return e.facade=i,up(i,Be,e),e},Ar=function(i){return ra(i,Be)?i[Be]:{}},mt=function(i){return ra(i,Be)});var ge,Be;cu.exports={set:yt,get:Ar,has:mt,enforce:fp,getterFor:vp}});var sa=d((vS,gu)=>{"use strict";var na=L(),gp=D(),dp=k(),bt=he(),aa=ue(),pp=qr().CONFIGURABLE,yp=gt(),vu=Pr(),mp=vu.enforce,bp=vu.get,fu=String,xt=Object.defineProperty,xp=na("".slice),Tp=na("".replace),Op=na([].join),Sp=aa&&!gp(function(){return xt(function(){},"length",{value:8}).length!==8}),Ep=String(String).split("String"),wp=gu.exports=function(i,e,r){xp(fu(e),0,7)==="Symbol("&&(e="["+Tp(fu(e),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),r&&r.getter&&(e="get "+e),r&&r.setter&&(e="set "+e),(!bt(i,"name")||pp&&i.name!==e)&&(aa?xt(i,"name",{value:e,configurable:!0}):i.name=e),Sp&&r&&bt(r,"arity")&&i.length!==r.arity&&xt(i,"length",{value:r.arity});try{r&&bt(r,"constructor")&&r.constructor?aa&&xt(i,"prototype",{writable:!1}):i.prototype&&(i.prototype=void 0)}catch{}var t=mp(i);return bt(t,"source")||(t.source=Op(Ep,typeof e=="string"?e:"")),i};Function.prototype.toString=wp(function(){return dp(this)&&bp(this).source||yp(this)},"toString")});var Re=d((gS,du)=>{"use strict";var Cp=k(),qp=Te(),Ap=sa(),Pp=ht();du.exports=function(i,e,r,t){t||(t={});var a=t.enumerable,n=t.name!==void 0?t.name:e;if(Cp(r)&&Ap(r,n,t),t.global)a?i[e]=r:Pp(e,r);else{try{t.unsafe?i[e]&&(a=!0):delete i[e]}catch{}a?i[e]=r:qp.f(i,e,{value:r,enumerable:!1,configurable:!t.nonConfigurable,writable:!t.nonWritable})}return i}});var yu=d((dS,pu)=>{"use strict";var Rp=Math.ceil,Np=Math.floor;pu.exports=Math.trunc||function(e){var r=+e;return(r>0?Np:Rp)(r)}});var Rr=d((pS,mu)=>{"use strict";var Ip=yu();mu.exports=function(i){var e=+i;return e!==e||e===0?0:Ip(e)}});var xu=d((yS,bu)=>{"use strict";var Mp=Rr(),Vp=Math.max,_p=Math.min;bu.exports=function(i,e){var r=Mp(i);return r<0?Vp(r+e,0):_p(r,e)}});var Ue=d((mS,Tu)=>{"use strict";var Dp=Rr(),Lp=Math.min;Tu.exports=function(i){var e=Dp(i);return e>0?Lp(e,9007199254740991):0}});var Tt=d((bS,Ou)=>{"use strict";var kp=Ue();Ou.exports=function(i){return kp(i.length)}});var oa=d((xS,Eu)=>{"use strict";var Bp=We(),Up=xu(),jp=Tt(),Su=function(i){return function(e,r,t){var a=Bp(e),n=jp(a);if(n===0)return!i&&-1;var o=Up(t,n),s;if(i&&r!==r){for(;n>o;)if(s=a[o++],s!==s)return!0}else for(;n>o;o++)if((i||o in a)&&a[o]===r)return i||o||0;return!i&&-1}};Eu.exports={includes:Su(!0),indexOf:Su(!1)}});var la=d((TS,Cu)=>{"use strict";var Fp=L(),ua=he(),zp=We(),$p=oa().indexOf,Hp=pt(),wu=Fp([].push);Cu.exports=function(i,e){var r=zp(i),t=0,a=[],n;for(n in r)!ua(Hp,n)&&ua(r,n)&&wu(a,n);for(;e.length>t;)ua(r,n=e[t++])&&(~$p(a,n)||wu(a,n));return a}});var Ot=d((OS,qu)=>{"use strict";qu.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]});var Pu=d(Au=>{"use strict";var Gp=la(),Yp=Ot(),Xp=Yp.concat("length","prototype");Au.f=Object.getOwnPropertyNames||function(e){return Gp(e,Xp)}});var Nu=d(Ru=>{"use strict";Ru.f=Object.getOwnPropertySymbols});var Mu=d((wS,Iu)=>{"use strict";var Wp=Pe(),Qp=L(),Kp=Pu(),Zp=Nu(),Jp=J(),ey=Qp([].concat);Iu.exports=Wp("Reflect","ownKeys")||function(e){var r=Kp.f(Jp(e)),t=Zp.f;return t?ey(r,t(e)):r}});var Du=d((CS,_u)=>{"use strict";var Vu=he(),ry=Mu(),ty=Cr(),iy=Te();_u.exports=function(i,e,r){for(var t=ry(e),a=iy.f,n=ty.f,o=0;o{"use strict";var ay=D(),ny=k(),sy=/#|\.prototype\./,Nr=function(i,e){var r=uy[oy(i)];return r===hy?!0:r===ly?!1:ny(e)?ay(e):!!e},oy=Nr.normalize=function(i){return String(i).replace(sy,".").toLowerCase()},uy=Nr.data={},ly=Nr.NATIVE="N",hy=Nr.POLYFILL="P";Lu.exports=Nr});var ee=d((AS,ku)=>{"use strict";var St=V(),cy=Cr().f,fy=Ze(),vy=Re(),gy=ht(),dy=Du(),py=ha();ku.exports=function(i,e){var r=i.target,t=i.global,a=i.stat,n,o,s,u,l,h;if(t?o=St:a?o=St[r]||gy(r,{}):o=St[r]&&St[r].prototype,o)for(s in e){if(l=e[s],i.dontCallGetSet?(h=cy(o,s),u=h&&h.value):u=o[s],n=py(t?s:r+(a?".":"#")+s,i.forced),!n&&u!==void 0){if(typeof l==typeof u)continue;dy(l,u)}(i.sham||u&&u.sham)&&fy(l,"sham",!0),vy(o,s,l,i)}}});var ca=d((PS,Bu)=>{"use strict";var Ir=V(),yy=Qe(),my=Ae(),Et=function(i){return yy.slice(0,i.length)===i};Bu.exports=function(){return Et("Bun/")?"BUN":Et("Cloudflare-Workers")?"CLOUDFLARE":Et("Deno/")?"DENO":Et("Node.js/")?"NODE":Ir.Bun&&typeof Bun.version=="string"?"BUN":Ir.Deno&&typeof Deno.version=="object"?"DENO":my(Ir.process)==="process"?"NODE":Ir.window&&Ir.document?"BROWSER":"REST"}()});var Mr=d((RS,Uu)=>{"use strict";var by=ca();Uu.exports=by==="NODE"});var Fu=d((NS,ju)=>{"use strict";var xy=L(),Ty=be();ju.exports=function(i,e,r){try{return xy(Ty(Object.getOwnPropertyDescriptor(i,e)[r]))}catch{}}});var $u=d((IS,zu)=>{"use strict";var Oy=te();zu.exports=function(i){return Oy(i)||i===null}});var Gu=d((MS,Hu)=>{"use strict";var Sy=$u(),Ey=String,wy=TypeError;Hu.exports=function(i){if(Sy(i))return i;throw new wy("Can't set "+Ey(i)+" as a prototype")}});var fa=d((VS,Yu)=>{"use strict";var Cy=Fu(),qy=te(),Ay=le(),Py=Gu();Yu.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var i=!1,e={},r;try{r=Cy(Object.prototype,"__proto__","set"),r(e,[]),i=e instanceof Array}catch{}return function(a,n){return Ay(a),Py(n),qy(a)&&(i?r(a,n):a.__proto__=n),a}}():void 0)});var Vr=d((_S,Wu)=>{"use strict";var Ry=Te().f,Ny=he(),Iy=z(),Xu=Iy("toStringTag");Wu.exports=function(i,e,r){i&&!r&&(i=i.prototype),i&&!Ny(i,Xu)&&Ry(i,Xu,{configurable:!0,value:e})}});var Zu=d((DS,Ku)=>{"use strict";var Qu=sa(),My=Te();Ku.exports=function(i,e,r){return r.get&&Qu(r.get,e,{getter:!0}),r.set&&Qu(r.set,e,{setter:!0}),My.f(i,e,r)}});var rl=d((LS,el)=>{"use strict";var Vy=Pe(),_y=Zu(),Dy=z(),Ly=ue(),Ju=Dy("species");el.exports=function(i){var e=Vy(i);Ly&&e&&!e[Ju]&&_y(e,Ju,{configurable:!0,get:function(){return this}})}});var il=d((kS,tl)=>{"use strict";var ky=Or(),By=TypeError;tl.exports=function(i,e){if(ky(e,i))return i;throw new By("Incorrect invocation")}});var sl=d((BS,nl)=>{"use strict";var Uy=z(),jy=Uy("toStringTag"),al={};al[jy]="z";nl.exports=String(al)==="[object z]"});var Ct=d((US,ol)=>{"use strict";var Fy=sl(),zy=k(),wt=Ae(),$y=z(),Hy=$y("toStringTag"),Gy=Object,Yy=wt(function(){return arguments}())==="Arguments",Xy=function(i,e){try{return i[e]}catch{}};ol.exports=Fy?wt:function(i){var e,r,t;return i===void 0?"Undefined":i===null?"Null":typeof(r=Xy(e=Gy(i),Hy))=="string"?r:Yy?wt(e):(t=wt(e))==="Object"&&zy(e.callee)?"Arguments":t}});var vl=d((jS,fl)=>{"use strict";var Wy=L(),Qy=D(),ul=k(),Ky=Ct(),Zy=Pe(),Jy=gt(),ll=function(){},hl=Zy("Reflect","construct"),va=/^\s*(?:class|function)\b/,e0=Wy(va.exec),r0=!va.test(ll),_r=function(e){if(!ul(e))return!1;try{return hl(ll,[],e),!0}catch{return!1}},cl=function(e){if(!ul(e))return!1;switch(Ky(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return r0||!!e0(va,Jy(e))}catch{return!0}};cl.sham=!0;fl.exports=!hl||Qy(function(){var i;return _r(_r.call)||!_r(Object)||!_r(function(){i=!0})||i})?cl:_r});var dl=d((FS,gl)=>{"use strict";var t0=vl(),i0=Sr(),a0=TypeError;gl.exports=function(i){if(t0(i))return i;throw new a0(i0(i)+" is not a constructor")}});var ga=d((zS,yl)=>{"use strict";var pl=J(),n0=dl(),s0=Tr(),o0=z(),u0=o0("species");yl.exports=function(i,e){var r=pl(i).constructor,t;return r===void 0||s0(t=pl(r)[u0])?e:n0(t)}});var da=d(($S,Tl)=>{"use strict";var l0=xr(),xl=Function.prototype,ml=xl.apply,bl=xl.call;Tl.exports=typeof Reflect=="object"&&Reflect.apply||(l0?bl.bind(ml):function(){return bl.apply(ml,arguments)})});var Dr=d((HS,Ol)=>{"use strict";var h0=Ae(),c0=L();Ol.exports=function(i){if(h0(i)==="Function")return c0(i)}});var qt=d((GS,El)=>{"use strict";var Sl=Dr(),f0=be(),v0=xr(),g0=Sl(Sl.bind);El.exports=function(i,e){return f0(i),e===void 0?i:v0?g0(i,e):function(){return i.apply(e,arguments)}}});var pa=d((YS,wl)=>{"use strict";var d0=Pe();wl.exports=d0("document","documentElement")});var ql=d((XS,Cl)=>{"use strict";var p0=L();Cl.exports=p0([].slice)});var Pl=d((WS,Al)=>{"use strict";var y0=TypeError;Al.exports=function(i,e){if(i{"use strict";var m0=Qe();Rl.exports=/(?:ipad|iphone|ipod).*applewebkit/i.test(m0)});var Ca=d((KS,Bl)=>{"use strict";var ne=V(),b0=da(),x0=qt(),Nl=k(),T0=he(),kl=D(),Il=pa(),O0=ql(),Ml=wr(),S0=Pl(),E0=ya(),w0=Mr(),Sa=ne.setImmediate,Ea=ne.clearImmediate,C0=ne.process,ma=ne.Dispatch,q0=ne.Function,Vl=ne.MessageChannel,A0=ne.String,ba=0,Lr={},_l="onreadystatechange",kr,je,xa,Ta;kl(function(){kr=ne.location});var wa=function(i){if(T0(Lr,i)){var e=Lr[i];delete Lr[i],e()}},Oa=function(i){return function(){wa(i)}},Dl=function(i){wa(i.data)},Ll=function(i){ne.postMessage(A0(i),kr.protocol+"//"+kr.host)};(!Sa||!Ea)&&(Sa=function(e){S0(arguments.length,1);var r=Nl(e)?e:q0(e),t=O0(arguments,1);return Lr[++ba]=function(){b0(r,void 0,t)},je(ba),ba},Ea=function(e){delete Lr[e]},w0?je=function(i){C0.nextTick(Oa(i))}:ma&&ma.now?je=function(i){ma.now(Oa(i))}:Vl&&!E0?(xa=new Vl,Ta=xa.port2,xa.port1.onmessage=Dl,je=x0(Ta.postMessage,Ta)):ne.addEventListener&&Nl(ne.postMessage)&&!ne.importScripts&&kr&&kr.protocol!=="file:"&&!kl(Ll)?(je=Ll,ne.addEventListener("message",Dl,!1)):_l in Ml("script")?je=function(i){Il.appendChild(Ml("script"))[_l]=function(){Il.removeChild(this),wa(i)}}:je=function(i){setTimeout(Oa(i),0)});Bl.exports={set:Sa,clear:Ea}});var Fl=d((ZS,jl)=>{"use strict";var Ul=V(),P0=ue(),R0=Object.getOwnPropertyDescriptor;jl.exports=function(i){if(!P0)return Ul[i];var e=R0(Ul,i);return e&&e.value}});var qa=d((JS,$l)=>{"use strict";var zl=function(){this.head=null,this.tail=null};zl.prototype={add:function(i){var e={item:i,next:null},r=this.tail;r?r.next=e:this.head=e,this.tail=e},get:function(){var i=this.head;if(i){var e=this.head=i.next;return e===null&&(this.tail=null),i.item}}};$l.exports=zl});var Gl=d((eE,Hl)=>{"use strict";var N0=Qe();Hl.exports=/ipad|iphone|ipod/i.test(N0)&&typeof Pebble<"u"});var Xl=d((rE,Yl)=>{"use strict";var I0=Qe();Yl.exports=/web0s(?!.*chrome)/i.test(I0)});var rh=d((tE,eh)=>{"use strict";var er=V(),M0=Fl(),Wl=qt(),Aa=Ca().set,V0=qa(),_0=ya(),D0=Gl(),L0=Xl(),Pa=Mr(),Ql=er.MutationObserver||er.WebKitMutationObserver,Kl=er.document,Zl=er.process,At=er.Promise,Ia=M0("queueMicrotask"),Je,Ra,Na,Pt,Jl;Ia||(Br=new V0,Ur=function(){var i,e;for(Pa&&(i=Zl.domain)&&i.exit();e=Br.get();)try{e()}catch(r){throw Br.head&&Je(),r}i&&i.enter()},!_0&&!Pa&&!L0&&Ql&&Kl?(Ra=!0,Na=Kl.createTextNode(""),new Ql(Ur).observe(Na,{characterData:!0}),Je=function(){Na.data=Ra=!Ra}):!D0&&At&&At.resolve?(Pt=At.resolve(void 0),Pt.constructor=At,Jl=Wl(Pt.then,Pt),Je=function(){Jl(Ur)}):Pa?Je=function(){Zl.nextTick(Ur)}:(Aa=Wl(Aa,er),Je=function(){Aa(Ur)}),Ia=function(i){Br.head||Je(),Br.add(i)});var Br,Ur;eh.exports=Ia});var ih=d((iE,th)=>{"use strict";th.exports=function(i,e){try{arguments.length===1?console.error(i):console.error(i,e)}catch{}}});var Rt=d((aE,ah)=>{"use strict";ah.exports=function(i){try{return{error:!1,value:i()}}catch(e){return{error:!0,value:e}}}});var rr=d((nE,nh)=>{"use strict";var k0=V();nh.exports=k0.Promise});var tr=d((sE,lh)=>{"use strict";var B0=V(),jr=rr(),U0=k(),j0=ha(),F0=gt(),z0=z(),sh=ca(),$0=ve(),Ma=lt(),oh=jr&&jr.prototype,H0=z0("species"),Va=!1,uh=U0(B0.PromiseRejectionEvent),G0=j0("Promise",function(){var i=F0(jr),e=i!==String(jr);if(!e&&Ma===66||$0&&!(oh.catch&&oh.finally))return!0;if(!Ma||Ma<51||!/native code/.test(i)){var r=new jr(function(n){n(1)}),t=function(n){n(function(){},function(){})},a=r.constructor={};if(a[H0]=t,Va=r.then(function(){})instanceof t,!Va)return!0}return!e&&(sh==="BROWSER"||sh==="DENO")&&!uh});lh.exports={CONSTRUCTOR:G0,REJECTION_EVENT:uh,SUBCLASSING:Va}});var ir=d((oE,ch)=>{"use strict";var hh=be(),Y0=TypeError,X0=function(i){var e,r;this.promise=new i(function(t,a){if(e!==void 0||r!==void 0)throw new Y0("Bad Promise constructor");e=t,r=a}),this.resolve=hh(e),this.reject=hh(r)};ch.exports.f=function(i){return new X0(i)}});var Rh=d(()=>{"use strict";var W0=ee(),Q0=ve(),Vt=Mr(),Ne=V(),or=G(),fh=Re(),vh=fa(),K0=Vr(),Z0=rl(),J0=be(),Mt=k(),em=te(),rm=il(),tm=ga(),mh=Ca().set,Ba=rh(),im=ih(),am=Rt(),nm=qa(),bh=Pr(),_t=rr(),Ua=tr(),xh=ir(),Dt="Promise",Th=Ua.CONSTRUCTOR,sm=Ua.REJECTION_EVENT,om=Ua.SUBCLASSING,_a=bh.getterFor(Dt),um=bh.set,ar=_t&&_t.prototype,Fe=_t,Nt=ar,Oh=Ne.TypeError,Da=Ne.document,ja=Ne.process,La=xh.f,lm=La,hm=!!(Da&&Da.createEvent&&Ne.dispatchEvent),Sh="unhandledrejection",cm="rejectionhandled",gh=0,Eh=1,fm=2,Fa=1,wh=2,It,dh,vm,ph,Ch=function(i){var e;return em(i)&&Mt(e=i.then)?e:!1},qh=function(i,e){var r=e.value,t=e.state===Eh,a=t?i.ok:i.fail,n=i.resolve,o=i.reject,s=i.domain,u,l,h;try{a?(t||(e.rejection===wh&&dm(e),e.rejection=Fa),a===!0?u=r:(s&&s.enter(),u=a(r),s&&(s.exit(),h=!0)),u===i.promise?o(new Oh("Promise-chain cycle")):(l=Ch(u))?or(l,u,n,o):n(u)):o(r)}catch(f){s&&!h&&s.exit(),o(f)}},Ah=function(i,e){i.notified||(i.notified=!0,Ba(function(){for(var r=i.reactions,t;t=r.get();)qh(t,i);i.notified=!1,e&&!i.rejection&&gm(i)}))},Ph=function(i,e,r){var t,a;hm?(t=Da.createEvent("Event"),t.promise=e,t.reason=r,t.initEvent(i,!1,!0),Ne.dispatchEvent(t)):t={promise:e,reason:r},!sm&&(a=Ne["on"+i])?a(t):i===Sh&&im("Unhandled promise rejection",r)},gm=function(i){or(mh,Ne,function(){var e=i.facade,r=i.value,t=yh(i),a;if(t&&(a=am(function(){Vt?ja.emit("unhandledRejection",r,e):Ph(Sh,e,r)}),i.rejection=Vt||yh(i)?wh:Fa,a.error))throw a.value})},yh=function(i){return i.rejection!==Fa&&!i.parent},dm=function(i){or(mh,Ne,function(){var e=i.facade;Vt?ja.emit("rejectionHandled",e):Ph(cm,e,i.value)})},nr=function(i,e,r){return function(t){i(e,t,r)}},sr=function(i,e,r){i.done||(i.done=!0,r&&(i=r),i.value=e,i.state=fm,Ah(i,!0))},ka=function(i,e,r){if(!i.done){i.done=!0,r&&(i=r);try{if(i.facade===e)throw new Oh("Promise can't be resolved itself");var t=Ch(e);t?Ba(function(){var a={done:!1};try{or(t,e,nr(ka,a,i),nr(sr,a,i))}catch(n){sr(a,n,i)}}):(i.value=e,i.state=Eh,Ah(i,!1))}catch(a){sr({done:!1},a,i)}}};if(Th&&(Fe=function(e){rm(this,Nt),J0(e),or(It,this);var r=_a(this);try{e(nr(ka,r),nr(sr,r))}catch(t){sr(r,t)}},Nt=Fe.prototype,It=function(e){um(this,{type:Dt,done:!1,notified:!1,parent:!1,reactions:new nm,rejection:!1,state:gh,value:null})},It.prototype=fh(Nt,"then",function(e,r){var t=_a(this),a=La(tm(this,Fe));return t.parent=!0,a.ok=Mt(e)?e:!0,a.fail=Mt(r)&&r,a.domain=Vt?ja.domain:void 0,t.state===gh?t.reactions.add(a):Ba(function(){qh(a,t)}),a.promise}),dh=function(){var i=new It,e=_a(i);this.promise=i,this.resolve=nr(ka,e),this.reject=nr(sr,e)},xh.f=La=function(i){return i===Fe||i===vm?new dh(i):lm(i)},!Q0&&Mt(_t)&&ar!==Object.prototype)){ph=ar.then,om||fh(ar,"then",function(e,r){var t=this;return new Fe(function(a,n){or(ph,t,a,n)}).then(e,r)},{unsafe:!0});try{delete ar.constructor}catch{}vh&&vh(ar,Nt)}W0({global:!0,constructor:!0,wrap:!0,forced:Th},{Promise:Fe});K0(Fe,Dt,!1,!0);Z0(Dt)});var ur=d((hE,Nh)=>{"use strict";Nh.exports={}});var Mh=d((cE,Ih)=>{"use strict";var pm=z(),ym=ur(),mm=pm("iterator"),bm=Array.prototype;Ih.exports=function(i){return i!==void 0&&(ym.Array===i||bm[mm]===i)}});var za=d((fE,_h)=>{"use strict";var xm=Ct(),Vh=ke(),Tm=Tr(),Om=ur(),Sm=z(),Em=Sm("iterator");_h.exports=function(i){if(!Tm(i))return Vh(i,Em)||Vh(i,"@@iterator")||Om[xm(i)]}});var Lh=d((vE,Dh)=>{"use strict";var wm=G(),Cm=be(),qm=J(),Am=Sr(),Pm=za(),Rm=TypeError;Dh.exports=function(i,e){var r=arguments.length<2?Pm(i):e;if(Cm(r))return qm(wm(r,i));throw new Rm(Am(i)+" is not iterable")}});var Uh=d((gE,Bh)=>{"use strict";var Nm=G(),kh=J(),Im=ke();Bh.exports=function(i,e,r){var t,a;kh(i);try{if(t=Im(i,"return"),!t){if(e==="throw")throw r;return r}t=Nm(t,i)}catch(n){a=!0,t=n}if(e==="throw")throw r;if(a)throw t;return kh(t),r}});var $a=d((dE,$h)=>{"use strict";var Mm=qt(),Vm=G(),_m=J(),Dm=Sr(),Lm=Mh(),km=Tt(),jh=Or(),Bm=Lh(),Um=za(),Fh=Uh(),jm=TypeError,Lt=function(i,e){this.stopped=i,this.result=e},zh=Lt.prototype;$h.exports=function(i,e,r){var t=r&&r.that,a=!!(r&&r.AS_ENTRIES),n=!!(r&&r.IS_RECORD),o=!!(r&&r.IS_ITERATOR),s=!!(r&&r.INTERRUPTED),u=Mm(e,t),l,h,f,v,c,g,p,y=function(T){return l&&Fh(l,"normal",T),new Lt(!0,T)},m=function(T){return a?(_m(T),s?u(T[0],T[1],y):u(T[0],T[1])):s?u(T,y):u(T)};if(n)l=i.iterator;else if(o)l=i;else{if(h=Um(i),!h)throw new jm(Dm(i)+" is not iterable");if(Lm(h)){for(f=0,v=km(i);v>f;f++)if(c=m(i[f]),c&&jh(zh,c))return c;return new Lt(!1)}l=Bm(i,h)}for(g=n?i.next:l.next;!(p=Vm(g,l)).done;){try{c=m(p.value)}catch(T){Fh(l,"throw",T)}if(typeof c=="object"&&c&&jh(zh,c))return c}return new Lt(!1)}});var Wh=d((pE,Xh)=>{"use strict";var Fm=z(),Gh=Fm("iterator"),Yh=!1;try{Hh=0,Ha={next:function(){return{done:!!Hh++}},return:function(){Yh=!0}},Ha[Gh]=function(){return this},Array.from(Ha,function(){throw 2})}catch{}var Hh,Ha;Xh.exports=function(i,e){try{if(!e&&!Yh)return!1}catch{return!1}var r=!1;try{var t={};t[Gh]=function(){return{next:function(){return{done:r=!0}}}},i(t)}catch{}return r}});var Ga=d((yE,Qh)=>{"use strict";var zm=rr(),$m=Wh(),Hm=tr().CONSTRUCTOR;Qh.exports=Hm||!$m(function(i){zm.all(i).then(void 0,function(){})})});var Kh=d(()=>{"use strict";var Gm=ee(),Ym=G(),Xm=be(),Wm=ir(),Qm=Rt(),Km=$a(),Zm=Ga();Gm({target:"Promise",stat:!0,forced:Zm},{all:function(e){var r=this,t=Wm.f(r),a=t.resolve,n=t.reject,o=Qm(function(){var s=Xm(r.resolve),u=[],l=0,h=1;Km(e,function(f){var v=l++,c=!1;h++,Ym(s,r,f).then(function(g){c||(c=!0,u[v]=g,--h||a(u))},n)}),--h||a(u)});return o.error&&n(o.value),t.promise}})});var Jh=d(()=>{"use strict";var Jm=ee(),eb=ve(),rb=tr().CONSTRUCTOR,Xa=rr(),tb=Pe(),ib=k(),ab=Re(),Zh=Xa&&Xa.prototype;Jm({target:"Promise",proto:!0,forced:rb,real:!0},{catch:function(i){return this.then(void 0,i)}});!eb&&ib(Xa)&&(Ya=tb("Promise").prototype.catch,Zh.catch!==Ya&&ab(Zh,"catch",Ya,{unsafe:!0}));var Ya});var ec=d(()=>{"use strict";var nb=ee(),sb=G(),ob=be(),ub=ir(),lb=Rt(),hb=$a(),cb=Ga();nb({target:"Promise",stat:!0,forced:cb},{race:function(e){var r=this,t=ub.f(r),a=t.reject,n=lb(function(){var o=ob(r.resolve);hb(e,function(s){sb(o,r,s).then(t.resolve,a)})});return n.error&&a(n.value),t.promise}})});var rc=d(()=>{"use strict";var fb=ee(),vb=ir(),gb=tr().CONSTRUCTOR;fb({target:"Promise",stat:!0,forced:gb},{reject:function(e){var r=vb.f(this),t=r.reject;return t(e),r.promise}})});var ic=d((CE,tc)=>{"use strict";var db=J(),pb=te(),yb=ir();tc.exports=function(i,e){if(db(i),pb(e)&&e.constructor===i)return e;var r=yb.f(i),t=r.resolve;return t(e),r.promise}});var sc=d(()=>{"use strict";var mb=ee(),bb=Pe(),ac=ve(),xb=rr(),nc=tr().CONSTRUCTOR,Tb=ic(),Ob=bb("Promise"),Sb=ac&&!nc;mb({target:"Promise",stat:!0,forced:ac||nc},{resolve:function(e){return Tb(Sb&&this===Ob?xb:this,e)}})});var oc=d(()=>{"use strict";Rh();Kh();Jh();ec();rc();sc()});var de=d((IE,lc)=>{"use strict";var Eb=Ct(),wb=String;lc.exports=function(i){if(Eb(i)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return wb(i)}});var Wa=d((ME,hc)=>{"use strict";var Cb=J();hc.exports=function(){var i=Cb(this),e="";return i.hasIndices&&(e+="d"),i.global&&(e+="g"),i.ignoreCase&&(e+="i"),i.multiline&&(e+="m"),i.dotAll&&(e+="s"),i.unicode&&(e+="u"),i.unicodeSets&&(e+="v"),i.sticky&&(e+="y"),e}});var Ja=d((VE,cc)=>{"use strict";var Qa=D(),qb=V(),Ka=qb.RegExp,Za=Qa(function(){var i=Ka("a","y");return i.lastIndex=2,i.exec("abcd")!==null}),Ab=Za||Qa(function(){return!Ka("a","y").sticky}),Pb=Za||Qa(function(){var i=Ka("^r","gy");return i.lastIndex=2,i.exec("str")!==null});cc.exports={BROKEN_CARET:Pb,MISSED_STICKY:Ab,UNSUPPORTED_Y:Za}});var vc=d((_E,fc)=>{"use strict";var Rb=la(),Nb=Ot();fc.exports=Object.keys||function(e){return Rb(e,Nb)}});var dc=d(gc=>{"use strict";var Ib=ue(),Mb=Yi(),Vb=Te(),_b=J(),Db=We(),Lb=vc();gc.f=Ib&&!Mb?Object.defineProperties:function(e,r){_b(e);for(var t=Db(r),a=Lb(r),n=a.length,o=0,s;n>o;)Vb.f(e,s=a[o++],t[s]);return e}});var Fr=d((LE,Oc)=>{"use strict";var kb=J(),Bb=dc(),pc=Ot(),Ub=pt(),jb=pa(),Fb=wr(),zb=dt(),yc=">",mc="<",rn="prototype",tn="script",xc=zb("IE_PROTO"),en=function(){},Tc=function(i){return mc+tn+yc+i+mc+"/"+tn+yc},bc=function(i){i.write(Tc("")),i.close();var e=i.parentWindow.Object;return i=null,e},$b=function(){var i=Fb("iframe"),e="java"+tn+":",r;return i.style.display="none",jb.appendChild(i),i.src=String(e),r=i.contentWindow.document,r.open(),r.write(Tc("document.F=Object")),r.close(),r.F},kt,Bt=function(){try{kt=new ActiveXObject("htmlfile")}catch{}Bt=typeof document<"u"?document.domain&&kt?bc(kt):$b():bc(kt);for(var i=pc.length;i--;)delete Bt[rn][pc[i]];return Bt()};Ub[xc]=!0;Oc.exports=Object.create||function(e,r){var t;return e!==null?(en[rn]=kb(e),t=new en,en[rn]=null,t[xc]=e):t=Bt(),r===void 0?t:Bb.f(t,r)}});var Ec=d((kE,Sc)=>{"use strict";var Hb=D(),Gb=V(),Yb=Gb.RegExp;Sc.exports=Hb(function(){var i=Yb(".","s");return!(i.dotAll&&i.test(`
-`)&&i.flags==="s")})});var Cc=d((BE,wc)=>{"use strict";var Xb=D(),Wb=V(),Qb=Wb.RegExp;wc.exports=Xb(function(){var i=Qb("(?b)","g");return i.exec("b").groups.a!=="b"||"b".replace(i,"$c")!=="bc"})});var Ft=d((UE,Ac)=>{"use strict";var lr=G(),jt=L(),Kb=de(),Zb=Wa(),Jb=Ja(),ex=ft(),rx=Fr(),tx=Pr().get,ix=Ec(),ax=Cc(),nx=ex("native-string-replace",String.prototype.replace),Ut=RegExp.prototype.exec,nn=Ut,sx=jt("".charAt),ox=jt("".indexOf),ux=jt("".replace),an=jt("".slice),sn=function(){var i=/a/,e=/b*/g;return lr(Ut,i,"a"),lr(Ut,e,"a"),i.lastIndex!==0||e.lastIndex!==0}(),qc=Jb.BROKEN_CARET,on=/()??/.exec("")[1]!==void 0,lx=sn||on||qc||ix||ax;lx&&(nn=function(e){var r=this,t=tx(r),a=Kb(e),n=t.raw,o,s,u,l,h,f,v;if(n)return n.lastIndex=r.lastIndex,o=lr(nn,n,a),r.lastIndex=n.lastIndex,o;var c=t.groups,g=qc&&r.sticky,p=lr(Zb,r),y=r.source,m=0,T=a;if(g&&(p=ux(p,"y",""),ox(p,"g")===-1&&(p+="g"),T=an(a,r.lastIndex),r.lastIndex>0&&(!r.multiline||r.multiline&&sx(a,r.lastIndex-1)!==`
-`)&&(y="(?: "+y+")",T=" "+T,m++),s=new RegExp("^(?:"+y+")",p)),on&&(s=new RegExp("^"+y+"$(?!\\s)",p)),sn&&(u=r.lastIndex),l=lr(Ut,g?s:r,T),g?l?(l.input=an(l.input,m),l[0]=an(l[0],m),l.index=r.lastIndex,r.lastIndex+=l[0].length):r.lastIndex=0:sn&&l&&(r.lastIndex=r.global?l.index+l[0].length:u),on&&l&&l.length>1&&lr(nx,l[0],s,function(){for(h=1;h{"use strict";var hx=ee(),Pc=Ft();hx({target:"RegExp",proto:!0,forced:/./.exec!==Pc},{exec:Pc})});var zt=d((zE,_c)=>{"use strict";Rc();var Nc=G(),Ic=Re(),cx=Ft(),Mc=D(),Vc=z(),fx=Ze(),vx=Vc("species"),un=RegExp.prototype;_c.exports=function(i,e,r,t){var a=Vc(i),n=!Mc(function(){var l={};return l[a]=function(){return 7},""[i](l)!==7}),o=n&&!Mc(function(){var l=!1,h=/a/;return i==="split"&&(h={},h.constructor={},h.constructor[vx]=function(){return h},h.flags="",h[a]=/./[a]),h.exec=function(){return l=!0,null},h[a](""),!l});if(!n||!o||r){var s=/./[a],u=e(a,""[i],function(l,h,f,v,c){var g=h.exec;return g===cx||g===un.exec?n&&!c?{done:!0,value:Nc(s,h,f,v)}:{done:!0,value:Nc(l,f,h,v)}:{done:!1}});Ic(String.prototype,i,u[0]),Ic(un,a,u[1])}t&&fx(un[a],"sham",!0)}});var Bc=d(($E,kc)=>{"use strict";var ln=L(),gx=Rr(),dx=de(),px=le(),yx=ln("".charAt),Dc=ln("".charCodeAt),mx=ln("".slice),Lc=function(i){return function(e,r){var t=dx(px(e)),a=gx(r),n=t.length,o,s;return a<0||a>=n?i?"":void 0:(o=Dc(t,a),o<55296||o>56319||a+1===n||(s=Dc(t,a+1))<56320||s>57343?i?yx(t,a):o:i?mx(t,a,a+2):(o-55296<<10)+(s-56320)+65536)}};kc.exports={codeAt:Lc(!1),charAt:Lc(!0)}});var $t=d((HE,Uc)=>{"use strict";var bx=Bc().charAt;Uc.exports=function(i,e,r){return e+(r?bx(i,e).length:1)}});var Ht=d((GE,Fc)=>{"use strict";var jc=G(),xx=J(),Tx=k(),Ox=Ae(),Sx=Ft(),Ex=TypeError;Fc.exports=function(i,e){var r=i.exec;if(Tx(r)){var t=jc(r,i,e);return t!==null&&xx(t),t}if(Ox(i)==="RegExp")return jc(Sx,i,e);throw new Ex("RegExp#exec called on incompatible receiver")}});var $c=d(()=>{"use strict";var wx=G(),Cx=zt(),qx=J(),Ax=te(),Px=Ue(),hn=de(),Rx=le(),Nx=ke(),Ix=$t(),zc=Ht();Cx("match",function(i,e,r){return[function(a){var n=Rx(this),o=Ax(a)?Nx(a,i):void 0;return o?wx(o,a,n):new RegExp(a)[i](hn(n))},function(t){var a=qx(this),n=hn(t),o=r(e,a,n);if(o.done)return o.value;if(!a.global)return zc(a,n);var s=a.unicode;a.lastIndex=0;for(var u=[],l=0,h;(h=zc(a,n))!==null;){var f=hn(h[0]);u[l]=f,f===""&&(a.lastIndex=Ix(n,Px(a.lastIndex),s)),l++}return l===0?null:u}]})});var Gc=d((WE,Hc)=>{"use strict";var vn=L(),Mx=Er(),Vx=Math.floor,cn=vn("".charAt),_x=vn("".replace),fn=vn("".slice),Dx=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,Lx=/\$([$&'`]|\d{1,2})/g;Hc.exports=function(i,e,r,t,a,n){var o=r+i.length,s=t.length,u=Lx;return a!==void 0&&(a=Mx(a),u=Dx),_x(n,u,function(l,h){var f;switch(cn(h,0)){case"$":return"$";case"&":return i;case"`":return fn(e,0,r);case"'":return fn(e,o);case"<":f=a[fn(h,1,-1)];break;default:var v=+h;if(v===0)return l;if(v>s){var c=Vx(v/10);return c===0?l:c<=s?t[c-1]===void 0?cn(h,1):t[c-1]+cn(h,1):l}f=t[v-1]}return f===void 0?"":f})}});var Kc=d(()=>{"use strict";var kx=da(),Yc=G(),Gt=L(),Bx=zt(),Ux=D(),jx=J(),Fx=k(),zx=te(),$x=Rr(),Hx=Ue(),hr=de(),Gx=le(),Yx=$t(),Xx=ke(),Wx=Gc(),Qx=Ht(),Kx=z(),dn=Kx("replace"),Zx=Math.max,Jx=Math.min,e1=Gt([].concat),gn=Gt([].push),Xc=Gt("".indexOf),Wc=Gt("".slice),r1=function(i){return i===void 0?i:String(i)},t1=function(){return"a".replace(/./,"$0")==="$0"}(),Qc=function(){return/./[dn]?/./[dn]("a","$0")==="":!1}(),i1=!Ux(function(){var i=/./;return i.exec=function(){var e=[];return e.groups={a:"7"},e},"".replace(i,"$")!=="7"});Bx("replace",function(i,e,r){var t=Qc?"$":"$0";return[function(n,o){var s=Gx(this),u=zx(n)?Xx(n,dn):void 0;return u?Yc(u,n,s,o):Yc(e,hr(s),n,o)},function(a,n){var o=jx(this),s=hr(a);if(typeof n=="string"&&Xc(n,t)===-1&&Xc(n,"$<")===-1){var u=r(e,o,s,n);if(u.done)return u.value}var l=Fx(n);l||(n=hr(n));var h=o.global,f;h&&(f=o.unicode,o.lastIndex=0);for(var v=[],c;c=Qx(o,s),!(c===null||(gn(v,c),!h));){var g=hr(c[0]);g===""&&(o.lastIndex=Yx(s,Hx(o.lastIndex),f))}for(var p="",y=0,m=0;m=y&&(p+=Wc(s,y,x)+E,y=x+T.length)}return p+Wc(s,y)}]},!i1||!t1||Qc)});var Jc=d((ZE,Zc)=>{"use strict";var a1=te(),n1=Ae(),s1=z(),o1=s1("match");Zc.exports=function(i){var e;return a1(i)&&((e=i[o1])!==void 0?!!e:n1(i)==="RegExp")}});var Yt=d((JE,ef)=>{"use strict";var u1=Jc(),l1=TypeError;ef.exports=function(i){if(u1(i))throw new l1("The method doesn't accept regular expressions");return i}});var Xt=d((ew,rf)=>{"use strict";var h1=z(),c1=h1("match");rf.exports=function(i){var e=/./;try{"/./"[i](e)}catch{try{return e[c1]=!1,"/./"[i](e)}catch{}}return!1}});var nf=d(()=>{"use strict";var f1=ee(),v1=Dr(),g1=Cr().f,d1=Ue(),tf=de(),p1=Yt(),y1=le(),m1=Xt(),b1=ve(),x1=v1("".slice),T1=Math.min,af=m1("startsWith"),O1=!b1&&!af&&!!function(){var i=g1(String.prototype,"startsWith");return i&&!i.writable}();f1({target:"String",proto:!0,forced:!O1&&!af},{startsWith:function(e){var r=tf(y1(this));p1(e);var t=d1(T1(arguments.length>1?arguments[1]:void 0,r.length)),a=tf(e);return x1(r,t,t+a.length)===a}})});var of=d((iw,sf)=>{"use strict";var S1=z(),E1=Fr(),w1=Te().f,pn=S1("unscopables"),yn=Array.prototype;yn[pn]===void 0&&w1(yn,pn,{configurable:!0,value:E1(null)});sf.exports=function(i){yn[pn][i]=!0}});var lf=d((aw,uf)=>{"use strict";var C1=D();uf.exports=!C1(function(){function i(){}return i.prototype.constructor=null,Object.getPrototypeOf(new i)!==i.prototype})});var bn=d((nw,cf)=>{"use strict";var q1=he(),A1=k(),P1=Er(),R1=dt(),N1=lf(),hf=R1("IE_PROTO"),mn=Object,I1=mn.prototype;cf.exports=N1?mn.getPrototypeOf:function(i){var e=P1(i);if(q1(e,hf))return e[hf];var r=e.constructor;return A1(r)&&e instanceof r?r.prototype:e instanceof mn?I1:null}});var Sn=d((sw,gf)=>{"use strict";var M1=D(),V1=k(),_1=te(),D1=Fr(),ff=bn(),L1=Re(),k1=z(),B1=ve(),On=k1("iterator"),vf=!1,Oe,xn,Tn;[].keys&&(Tn=[].keys(),"next"in Tn?(xn=ff(ff(Tn)),xn!==Object.prototype&&(Oe=xn)):vf=!0);var U1=!_1(Oe)||M1(function(){var i={};return Oe[On].call(i)!==i});U1?Oe={}:B1&&(Oe=D1(Oe));V1(Oe[On])||L1(Oe,On,function(){return this});gf.exports={IteratorPrototype:Oe,BUGGY_SAFARI_ITERATORS:vf}});var pf=d((ow,df)=>{"use strict";var j1=Sn().IteratorPrototype,F1=Fr(),z1=ot(),$1=Vr(),H1=ur(),G1=function(){return this};df.exports=function(i,e,r,t){var a=e+" Iterator";return i.prototype=F1(j1,{next:z1(+!t,r)}),$1(i,a,!1,!0),H1[a]=G1,i}});var qf=d((uw,Cf)=>{"use strict";var Y1=ee(),X1=G(),Wt=ve(),Ef=qr(),W1=k(),Q1=pf(),yf=bn(),mf=fa(),K1=Vr(),Z1=Ze(),En=Re(),J1=z(),bf=ur(),wf=Sn(),e2=Ef.PROPER,r2=Ef.CONFIGURABLE,xf=wf.IteratorPrototype,Qt=wf.BUGGY_SAFARI_ITERATORS,zr=J1("iterator"),Tf="keys",$r="values",Of="entries",Sf=function(){return this};Cf.exports=function(i,e,r,t,a,n,o){Q1(r,e,t);var s=function(m){if(m===a&&v)return v;if(!Qt&&m&&m in h)return h[m];switch(m){case Tf:return function(){return new r(this,m)};case $r:return function(){return new r(this,m)};case Of:return function(){return new r(this,m)}}return function(){return new r(this)}},u=e+" Iterator",l=!1,h=i.prototype,f=h[zr]||h["@@iterator"]||a&&h[a],v=!Qt&&f||s(a),c=e==="Array"&&h.entries||f,g,p,y;if(c&&(g=yf(c.call(new i)),g!==Object.prototype&&g.next&&(!Wt&&yf(g)!==xf&&(mf?mf(g,xf):W1(g[zr])||En(g,zr,Sf)),K1(g,u,!0,!0),Wt&&(bf[u]=Sf))),e2&&a===$r&&f&&f.name!==$r&&(!Wt&&r2?Z1(h,"name",$r):(l=!0,v=function(){return X1(f,this)})),a)if(p={values:s($r),keys:n?v:s(Tf),entries:s(Of)},o)for(y in p)(Qt||l||!(y in h))&&En(h,y,p[y]);else Y1({target:e,proto:!0,forced:Qt||l},p);return(!Wt||o)&&h[zr]!==v&&En(h,zr,v,{name:a}),bf[e]=v,p}});var Pf=d((lw,Af)=>{"use strict";Af.exports=function(i,e){return{value:i,done:e}}});var Cn=d((hw,Vf)=>{"use strict";var t2=We(),wn=of(),Rf=ur(),If=Pr(),i2=Te().f,a2=qf(),Kt=Pf(),n2=ve(),s2=ue(),Mf="Array Iterator",o2=If.set,u2=If.getterFor(Mf);Vf.exports=a2(Array,"Array",function(i,e){o2(this,{type:Mf,target:t2(i),index:0,kind:e})},function(){var i=u2(this),e=i.target,r=i.index++;if(!e||r>=e.length)return i.target=null,Kt(void 0,!0);switch(i.kind){case"keys":return Kt(r,!1);case"values":return Kt(e[r],!1)}return Kt([r,e[r]],!1)},"values");var Nf=Rf.Arguments=Rf.Array;wn("keys");wn("values");wn("entries");if(!n2&&s2&&Nf.name!=="values")try{i2(Nf,"name",{value:"values"})}catch{}});var Df=d((cw,_f)=>{"use strict";_f.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}});var Bf=d((fw,kf)=>{"use strict";var l2=wr(),qn=l2("span").classList,Lf=qn&&qn.constructor&&qn.constructor.prototype;kf.exports=Lf===Object.prototype?void 0:Lf});var $f=d(()=>{"use strict";var Uf=V(),Ff=Df(),h2=Bf(),Hr=Cn(),jf=Ze(),c2=Vr(),f2=z(),An=f2("iterator"),Pn=Hr.values,zf=function(i,e){if(i){if(i[An]!==Pn)try{jf(i,An,Pn)}catch{i[An]=Pn}if(c2(i,e,!0),Ff[e]){for(var r in Hr)if(i[r]!==Hr[r])try{jf(i,r,Hr[r])}catch{i[r]=Hr[r]}}}};for(Zt in Ff)zf(Uf[Zt]&&Uf[Zt].prototype,Zt);var Zt;zf(h2,"DOMTokenList")});var Kf=d((Ow,Qf)=>{"use strict";var v2=be(),g2=Er(),d2=Ii(),p2=Tt(),Yf=TypeError,Xf="Reduce of empty array with no initial value",Wf=function(i){return function(e,r,t,a){var n=g2(e),o=d2(n),s=p2(n);if(v2(r),s===0&&t<2)throw new Yf(Xf);var u=i?s-1:0,l=i?-1:1;if(t<2)for(;;){if(u in o){a=o[u],u+=l;break}if(u+=l,i?u<0:s<=u)throw new Yf(Xf)}for(;i?u>=0:s>u;u+=l)u in o&&(a=r(a,o[u],u,n));return a}};Qf.exports={left:Wf(!1),right:Wf(!0)}});var Rn=d((Sw,Zf)=>{"use strict";var y2=D();Zf.exports=function(i,e){var r=[][i];return!!r&&y2(function(){r.call(null,e||function(){return 1},1)})}});var ev=d(()=>{"use strict";var m2=ee(),b2=Kf().left,x2=Rn(),Jf=lt(),T2=Mr(),O2=!T2&&Jf>79&&Jf<83,S2=O2||!x2("reduce");m2({target:"Array",proto:!0,forced:S2},{reduce:function(e){var r=arguments.length;return b2(this,e,r,r>1?arguments[1]:void 0)}})});var iv=d(()=>{"use strict";var E2=ee(),w2=Dr(),C2=Cr().f,q2=Ue(),rv=de(),A2=Yt(),P2=le(),R2=Xt(),N2=ve(),I2=w2("".slice),M2=Math.min,tv=R2("endsWith"),V2=!N2&&!tv&&!!function(){var i=C2(String.prototype,"endsWith");return i&&!i.writable}();E2({target:"String",proto:!0,forced:!V2&&!tv},{endsWith:function(e){var r=rv(P2(this));A2(e);var t=arguments.length>1?arguments[1]:void 0,a=r.length,n=t===void 0?a:M2(q2(t),a),o=rv(e);return I2(r,n-o.length,n)===o}})});var uv=d(()=>{"use strict";var Nn=G(),ov=L(),_2=zt(),D2=J(),L2=te(),k2=le(),B2=ga(),U2=$t(),j2=Ue(),av=de(),F2=ke(),nv=Ht(),z2=Ja(),$2=D(),cr=z2.UNSUPPORTED_Y,H2=4294967295,G2=Math.min,In=ov([].push),Mn=ov("".slice),Y2=!$2(function(){var i=/(?:)/,e=i.exec;i.exec=function(){return e.apply(this,arguments)};var r="ab".split(i);return r.length!==2||r[0]!=="a"||r[1]!=="b"}),sv="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;_2("split",function(i,e,r){var t="0".split(void 0,0).length?function(a,n){return a===void 0&&n===0?[]:Nn(e,this,a,n)}:e;return[function(n,o){var s=k2(this),u=L2(n)?F2(n,i):void 0;return u?Nn(u,n,s,o):Nn(t,av(s),n,o)},function(a,n){var o=D2(this),s=av(a);if(!sv){var u=r(t,o,s,n,t!==e);if(u.done)return u.value}var l=B2(o,RegExp),h=o.unicode,f=(o.ignoreCase?"i":"")+(o.multiline?"m":"")+(o.unicode?"u":"")+(cr?"g":"y"),v=new l(cr?"^(?:"+o.source+")":o,f),c=n===void 0?H2:n>>>0;if(c===0)return[];if(s.length===0)return nv(v,s)===null?[s]:[];for(var g=0,p=0,y=[];p{(function(){var i,e,r,t,a,n;typeof performance<"u"&&performance!==null&&performance.now?Gr.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Gr.exports=function(){return(i()-a)/1e6},e=process.hrtime,i=function(){var o;return o=e(),o[0]*1e9+o[1]},t=i(),n=process.uptime()*1e9,a=t-n):Date.now?(Gr.exports=function(){return Date.now()-r},r=Date.now()):(Gr.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(lv)});var fv=d((Rw,ti)=>{var X2=hv(),Se=typeof window>"u"?global:window,ei=["moz","webkit"],vr="AnimationFrame",gr=Se["request"+vr],Yr=Se["cancel"+vr]||Se["cancelRequest"+vr];for(fr=0;!gr&&fr{"use strict";vv.exports=`
-\v\f\r \xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF`});var pv=d((Iw,dv)=>{"use strict";var W2=L(),Q2=le(),K2=de(),Ln=_n(),gv=W2("".replace),Z2=RegExp("^["+Ln+"]+"),J2=RegExp("(^|[^"+Ln+"])["+Ln+"]+$"),Dn=function(i){return function(e){var r=K2(Q2(e));return i&1&&(r=gv(r,Z2,"")),i&2&&(r=gv(r,J2,"$1")),r}};dv.exports={start:Dn(1),end:Dn(2),trim:Dn(3)}});var xv=d((Mw,bv)=>{"use strict";var eT=qr().PROPER,rT=D(),yv=_n(),mv="\u200B\x85\u180E";bv.exports=function(i){return rT(function(){return!!yv[i]()||mv[i]()!==mv||eT&&yv[i].name!==i})}});var Tv=d(()=>{"use strict";var tT=ee(),iT=pv().trim,aT=xv();tT({target:"String",proto:!0,forced:aT("trim")},{trim:function(){return iT(this)}})});var Sv=d((Dw,Ov)=>{Ov.exports=function(i){this.ok=!1,this.alpha=1,i.charAt(0)=="#"&&(i=i.substr(1,6)),i=i.replace(/ /g,""),i=i.toLowerCase();var e={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dodgerblue:"1e90ff",feldspar:"d19275",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgrey:"d3d3d3",lightgreen:"90ee90",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslateblue:"8470ff",lightslategray:"778899",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"00ff00",limegreen:"32cd32",linen:"faf0e6",magenta:"ff00ff",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370d8",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"d87093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"663399",red:"ff0000",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",violetred:"d02090",wheat:"f5deb3",white:"ffffff",whitesmoke:"f5f5f5",yellow:"ffff00",yellowgreen:"9acd32"};i=e[i]||i;for(var r=[{re:/^rgba\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3}),\s*((?:\d?\.)?\d)\)$/,example:["rgba(123, 234, 45, 0.8)","rgba(255,234,245,1.0)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3]),parseFloat(u[4])]}},{re:/^rgb\((\d{1,3}),\s*(\d{1,3}),\s*(\d{1,3})\)$/,example:["rgb(123, 234, 45)","rgb(255,234,245)"],process:function(u){return[parseInt(u[1]),parseInt(u[2]),parseInt(u[3])]}},{re:/^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,example:["#00ff00","336699"],process:function(u){return[parseInt(u[1],16),parseInt(u[2],16),parseInt(u[3],16)]}},{re:/^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,example:["#fb0","f0f"],process:function(u){return[parseInt(u[1]+u[1],16),parseInt(u[2]+u[2],16),parseInt(u[3]+u[3],16)]}}],t=0;t3&&(this.alpha=s[3]),this.ok=!0}}this.r=this.r<0||isNaN(this.r)?0:this.r>255?255:this.r,this.g=this.g<0||isNaN(this.g)?0:this.g>255?255:this.g,this.b=this.b<0||isNaN(this.b)?0:this.b>255?255:this.b,this.alpha=this.alpha<0?0:this.alpha>1||isNaN(this.alpha)?1:this.alpha,this.toRGB=function(){return"rgb("+this.r+", "+this.g+", "+this.b+")"},this.toRGBA=function(){return"rgba("+this.r+", "+this.g+", "+this.b+", "+this.alpha+")"},this.toHex=function(){var u=this.r.toString(16),l=this.g.toString(16),h=this.b.toString(16);return u.length==1&&(u="0"+u),l.length==1&&(l="0"+l),h.length==1&&(h="0"+h),"#"+u+l+h},this.getHelpXML=function(){for(var u=new Array,l=0;l "+p.toRGB()+" -> "+p.toHex());g.appendChild(y),g.appendChild(m),c.appendChild(g)}catch{}return c}}});var wv=d(()=>{"use strict";var nT=ee(),sT=Dr(),oT=oa().indexOf,uT=Rn(),kn=sT([].indexOf),Ev=!!kn&&1/kn([1],1,-0)<0,lT=Ev||!uT("indexOf");nT({target:"Array",proto:!0,forced:lT},{indexOf:function(e){var r=arguments.length>1?arguments[1]:void 0;return Ev?kn(this,e,r)||0:oT(this,e,r)}})});var qv=d(()=>{"use strict";var hT=ee(),cT=L(),fT=Yt(),vT=le(),Cv=de(),gT=Xt(),dT=cT("".indexOf);hT({target:"String",proto:!0,forced:!gT("includes")},{includes:function(e){return!!~dT(Cv(vT(this)),Cv(fT(e)),arguments.length>1?arguments[1]:void 0)}})});var Pv=d((jw,Av)=>{"use strict";var pT=Ae();Av.exports=Array.isArray||function(e){return pT(e)==="Array"}});var Nv=d(()=>{"use strict";var yT=ee(),mT=L(),bT=Pv(),xT=mT([].reverse),Rv=[1,2];yT({target:"Array",proto:!0,forced:String(Rv)===String(Rv.reverse())},{reverse:function(){return bT(this)&&(this.length=this.length),xT(this)}})});var zv=d((Hw,Fv)=>{"use strict";var wT=G(),CT=he(),qT=Or(),AT=Wa(),jv=RegExp.prototype;Fv.exports=function(i){var e=i.flags;return e===void 0&&!("flags"in jv)&&!CT(i,"flags")&&qT(jv,i)?wT(AT,i):e}});var Yv=d(()=>{"use strict";var PT=qr().PROPER,RT=Re(),NT=J(),$v=de(),IT=D(),MT=zv(),jn="toString",Hv=RegExp.prototype,Gv=Hv[jn],VT=IT(function(){return Gv.call({source:"a",flags:"b"})!=="/a/b"}),_T=PT&&Gv.name!==jn;(VT||_T)&&RT(Hv,jn,function(){var e=NT(this),r=$v(e.source),t=$v(MT(e));return"/"+r+"/"+t},{unsafe:!0})});var Ww=Z(oc(),1);function uc(i,e,r,t,a,n,o){try{var s=i[n](o),u=s.value}catch(l){return void r(l)}s.done?e(u):Promise.resolve(u).then(t,a)}function xe(i){return function(){var e=this,r=arguments;return new Promise(function(t,a){var n=i.apply(e,r);function o(u){uc(n,t,a,o,s,"next",u)}function s(u){uc(n,t,a,o,s,"throw",u)}o(void 0)})}}var Kw=Z($c(),1),Zw=Z(Kc(),1),Jw=Z(nf(),1),eC=Z(Cn(),1),rC=Z($f(),1);function Hf(i,e){if(mr(i)!="object"||!i)return i;var r=i[Symbol.toPrimitive];if(r!==void 0){var t=r.call(i,e||"default");if(mr(t)!="object")return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return(e==="string"?String:Number)(i)}function Gf(i){var e=Hf(i,"string");return mr(e)=="symbol"?e:e+""}function Jt(i,e,r){return(e=Gf(e))in i?Object.defineProperty(i,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):i[e]=r,i}var iC=Z(ev(),1),aC=Z(iv(),1),nC=Z(uv(),1),oi=Z(fv(),1),sC=Z(Tv(),1),ui=Z(Sv(),1),oC=Z(wv(),1),uC=Z(qv(),1),lC=Z(Nv(),1);var kv=function(i,e){return(kv=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(r,t){r.__proto__=t}||function(r,t){for(var a in t)Object.prototype.hasOwnProperty.call(t,a)&&(r[a]=t[a])})(i,e)};function Bv(i,e){if(typeof e!="function"&&e!==null)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function r(){this.constructor=i}kv(i,e),i.prototype=e===null?Object.create(e):(r.prototype=e.prototype,new r)}function TT(i){var e="";Array.isArray(i)||(i=[i]);for(var r=0;ri.phi1&&(i.phi2-=2*Me),i.sweepFlag===1&&i.phi2t)return[];if(t===0)return[[i*r/(i*i+e*e),e*r/(i*i+e*e)]];var a=Math.sqrt(t);return[[(i*r+e*a)/(i*i+e*e),(e*r-i*a)/(i*i+e*e)],[(i*r-e*a)/(i*i+e*e),(e*r+i*a)/(i*i+e*e)]]}var U,Ee=Math.PI/180;function Mv(i,e,r){return(1-r)*i+r*e}function Vv(i,e,r,t){return i+Math.cos(t/180*Me)*e+Math.sin(t/180*Me)*r}function _v(i,e,r,t){var a=1e-6,n=e-i,o=r-e,s=3*n+3*(t-r)-6*o,u=6*(o-n),l=3*n;return Math.abs(s)S&&(c.sweepFlag=+!c.sweepFlag),c})}function o(){return function(s){var u={};for(var l in s)u[l]=s[l];return u}}i.ROUND=function(s){function u(l){return Math.round(l*s)/s}return s===void 0&&(s=1e13),ye(s),function(l){return l.x1!==void 0&&(l.x1=u(l.x1)),l.y1!==void 0&&(l.y1=u(l.y1)),l.x2!==void 0&&(l.x2=u(l.x2)),l.y2!==void 0&&(l.y2=u(l.y2)),l.x!==void 0&&(l.x=u(l.x)),l.y!==void 0&&(l.y=u(l.y)),l.rX!==void 0&&(l.rX=u(l.rX)),l.rY!==void 0&&(l.rY=u(l.rY)),l}},i.TO_ABS=e,i.TO_REL=function(){return a(function(s,u,l){return s.relative||(s.x1!==void 0&&(s.x1-=u),s.y1!==void 0&&(s.y1-=l),s.x2!==void 0&&(s.x2-=u),s.y2!==void 0&&(s.y2-=l),s.x!==void 0&&(s.x-=u),s.y!==void 0&&(s.y-=l),s.relative=!0),s})},i.NORMALIZE_HVZ=function(s,u,l){return s===void 0&&(s=!0),u===void 0&&(u=!0),l===void 0&&(l=!0),a(function(h,f,v,c,g){if(isNaN(c)&&!(h.type&b.MOVE_TO))throw new Error("path must start with moveto");return u&&h.type&b.HORIZ_LINE_TO&&(h.type=b.LINE_TO,h.y=h.relative?0:v),l&&h.type&b.VERT_LINE_TO&&(h.type=b.LINE_TO,h.x=h.relative?0:f),s&&h.type&b.CLOSE_PATH&&(h.type=b.LINE_TO,h.x=h.relative?c-f:c,h.y=h.relative?g-v:g),h.type&b.ARC&&(h.rX===0||h.rY===0)&&(h.type=b.LINE_TO,delete h.rX,delete h.rY,delete h.xRot,delete h.lArcFlag,delete h.sweepFlag),h})},i.NORMALIZE_ST=r,i.QT_TO_C=t,i.INFO=a,i.SANITIZE=function(s){s===void 0&&(s=0),ye(s);var u=NaN,l=NaN,h=NaN,f=NaN;return a(function(v,c,g,p,y){var m=Math.abs,T=!1,x=0,O=0;if(v.type&b.SMOOTH_CURVE_TO&&(x=isNaN(u)?0:c-u,O=isNaN(l)?0:g-l),v.type&(b.CURVE_TO|b.SMOOTH_CURVE_TO)?(u=v.relative?c+v.x2:v.x2,l=v.relative?g+v.y2:v.y2):(u=NaN,l=NaN),v.type&b.SMOOTH_QUAD_TO?(h=isNaN(h)?c:2*c-h,f=isNaN(f)?g:2*g-f):v.type&b.QUAD_TO?(h=v.relative?c+v.x1:v.x1,f=v.relative?g+v.y1:v.y2):(h=NaN,f=NaN),v.type&b.LINE_COMMANDS||v.type&b.ARC&&(v.rX===0||v.rY===0||!v.lArcFlag)||v.type&b.CURVE_TO||v.type&b.SMOOTH_CURVE_TO||v.type&b.QUAD_TO||v.type&b.SMOOTH_QUAD_TO){var E=v.x===void 0?0:v.relative?v.x:v.x-c,C=v.y===void 0?0:v.relative?v.y:v.y-g;x=isNaN(h)?v.x1===void 0?x:v.relative?v.x:v.x1-c:h-c,O=isNaN(f)?v.y1===void 0?O:v.relative?v.y:v.y1-g:f-g;var S=v.x2===void 0?0:v.relative?v.x:v.x2-c,A=v.y2===void 0?0:v.relative?v.y:v.y2-g;m(E)<=s&&m(C)<=s&&m(x)<=s&&m(O)<=s&&m(S)<=s&&m(A)<=s&&(T=!0)}return v.type&b.CLOSE_PATH&&m(c-p)<=s&&m(g-y)<=s&&(T=!0),T?[]:v})},i.MATRIX=n,i.ROTATE=function(s,u,l){u===void 0&&(u=0),l===void 0&&(l=0),ye(s,u,l);var h=Math.sin(s),f=Math.cos(s);return n(f,h,-h,f,u-u*f+l*h,l-u*h-l*f)},i.TRANSLATE=function(s,u){return u===void 0&&(u=0),ye(s,u),n(1,0,0,1,s,u)},i.SCALE=function(s,u){return u===void 0&&(u=s),ye(s,u),n(s,0,0,u,0,0)},i.SKEW_X=function(s){return ye(s),n(1,0,Math.atan(s),1,0,0)},i.SKEW_Y=function(s){return ye(s),n(1,Math.atan(s),0,1,0,0)},i.X_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(-1,0,0,1,s,0)},i.Y_AXIS_SYMMETRY=function(s){return s===void 0&&(s=0),ye(s),n(1,0,0,-1,0,s)},i.A_TO_C=function(){return a(function(s,u,l){return b.ARC===s.type?function(h,f,v){var c,g,p,y;h.cX||Bn(h,f,v);for(var m=Math.min(h.phi1,h.phi2),T=Math.max(h.phi1,h.phi2)-m,x=Math.ceil(T/90),O=new Array(x),E=f,C=v,S=0;Sf.maxX&&(f.maxX=P),Pf.maxY&&(f.maxY=P),PI&&y(Dv(c,p.x1,p.x2,p.x,I));for(var O=0,E=_v(g,p.y1,p.y2,p.y);OI&&m(Dv(g,p.y1,p.y2,p.y,I))}if(p.type&b.ARC){y(p.x),m(p.y),Bn(p,c,g);for(var C=p.xRot/180*Math.PI,S=Math.cos(C)*p.rX,A=Math.sin(C)*p.rX,R=-Math.sin(C)*p.rY,M=Math.cos(C)*p.rY,_=p.phi1p.phi2?[p.phi2+360,p.phi1+360]:[p.phi2,p.phi1],N=_[0],X=_[1],W=function(P){var re=P[0],ce=P[1],me=180*Math.atan2(ce,re)/Math.PI;return meN&&IN&&Ih)throw new SyntaxError('Expected positive number, got "'+h+'" at index "'+o+'"')}else if((this.curArgs.length===3||this.curArgs.length===4)&&this.curNumber!=="0"&&this.curNumber!=="1")throw new SyntaxError('Expected a flag, got "'+this.curNumber+'" at index "'+o+'"')}this.curArgs.push(h),this.curArgs.length===ET[this.curCommandType]&&(b.HORIZ_LINE_TO===this.curCommandType?n({type:b.HORIZ_LINE_TO,relative:this.curCommandRelative,x:h}):b.VERT_LINE_TO===this.curCommandType?n({type:b.VERT_LINE_TO,relative:this.curCommandRelative,y:h}):this.curCommandType===b.MOVE_TO||this.curCommandType===b.LINE_TO||this.curCommandType===b.SMOOTH_QUAD_TO?(n({type:this.curCommandType,relative:this.curCommandRelative,x:this.curArgs[0],y:this.curArgs[1]}),b.MOVE_TO===this.curCommandType&&(this.curCommandType=b.LINE_TO)):this.curCommandType===b.CURVE_TO?n({type:b.CURVE_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x2:this.curArgs[2],y2:this.curArgs[3],x:this.curArgs[4],y:this.curArgs[5]}):this.curCommandType===b.SMOOTH_CURVE_TO?n({type:b.SMOOTH_CURVE_TO,relative:this.curCommandRelative,x2:this.curArgs[0],y2:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.QUAD_TO?n({type:b.QUAD_TO,relative:this.curCommandRelative,x1:this.curArgs[0],y1:this.curArgs[1],x:this.curArgs[2],y:this.curArgs[3]}):this.curCommandType===b.ARC&&n({type:b.ARC,relative:this.curCommandRelative,rX:this.curArgs[0],rY:this.curArgs[1],xRot:this.curArgs[2],lArcFlag:this.curArgs[3],sweepFlag:this.curArgs[4],x:this.curArgs[5],y:this.curArgs[6]})),this.curNumber="",this.curNumberHasExpDigits=!1,this.curNumberHasExp=!1,this.curNumberHasDecimal=!1,this.canParseCommandOrComma=!0}if(!OT(s))if(s===","&&this.canParseCommandOrComma)this.canParseCommandOrComma=!1;else if(s!=="+"&&s!=="-"&&s!==".")if(l)this.curNumber=s,this.curNumberHasDecimal=!1;else{if(this.curArgs.length!==0)throw new SyntaxError("Unterminated command at index "+o+".");if(!this.canParseCommandOrComma)throw new SyntaxError('Unexpected character "'+s+'" at index '+o+". Command cannot follow comma");if(this.canParseCommandOrComma=!1,s!=="z"&&s!=="Z")if(s==="h"||s==="H")this.curCommandType=b.HORIZ_LINE_TO,this.curCommandRelative=s==="h";else if(s==="v"||s==="V")this.curCommandType=b.VERT_LINE_TO,this.curCommandRelative=s==="v";else if(s==="m"||s==="M")this.curCommandType=b.MOVE_TO,this.curCommandRelative=s==="m";else if(s==="l"||s==="L")this.curCommandType=b.LINE_TO,this.curCommandRelative=s==="l";else if(s==="c"||s==="C")this.curCommandType=b.CURVE_TO,this.curCommandRelative=s==="c";else if(s==="s"||s==="S")this.curCommandType=b.SMOOTH_CURVE_TO,this.curCommandRelative=s==="s";else if(s==="q"||s==="Q")this.curCommandType=b.QUAD_TO,this.curCommandRelative=s==="q";else if(s==="t"||s==="T")this.curCommandType=b.SMOOTH_QUAD_TO,this.curCommandRelative=s==="t";else{if(s!=="a"&&s!=="A")throw new SyntaxError('Unexpected character "'+s+'" at index '+o+".");this.curCommandType=b.ARC,this.curCommandRelative=s==="a"}else t.push({type:b.CLOSE_PATH}),this.canParseCommandOrComma=!0,this.curCommandType=-1}else this.curNumber=s,this.curNumberHasDecimal=s==="."}else this.curNumber+=s,this.curNumberHasDecimal=!0;else this.curNumber+=s;else this.curNumber+=s,this.curNumberHasExp=!0;else this.curNumber+=s,this.curNumberHasExpDigits=this.curNumberHasExp}return t},e.prototype.transform=function(r){return Object.create(this,{parse:{value:function(t,a){a===void 0&&(a=[]);for(var n=0,o=Object.getPrototypeOf(this).parse.call(this,t);n>>E;if(o[x+3]=mi,mi!==0){var bi=255/mi;o[x]=(P*O>>>E)*bi,o[x+1]=(re*O>>>E)*bi,o[x+2]=(ce*O>>>E)*bi}else o[x]=o[x+1]=o[x+2]=0;P-=Q,re-=Y,ce-=K,me-=I,Q-=y.r,Y-=y.g,K-=y.b,I-=y.a;var Ve=yi+n+1;Ve=T+(Ve>>E,ie>0?(ie=255/ie,o[ae]=(et*O>>>E)*ie,o[ae+1]=(rt*O>>>E)*ie,o[ae+2]=(tt*O>>>E)*ie):o[ae]=o[ae+1]=o[ae+2]=0,et-=xi,rt-=Ti,tt-=Oi,it-=Si,xi-=y.r,Ti-=y.g,Oi-=y.b,Si-=y.a,ae=Xe+((ae=Ai+h)0&&arguments[0]!==void 0?arguments[0]:{},e={window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:i,createCanvas(r,t){return new OffscreenCanvas(r,t)},createImage(r){return xe(function*(){var t=yield fetch(r),a=yield t.blob(),n=yield createImageBitmap(a);return n})()}};return(typeof DOMParser<"u"||typeof i>"u")&&Reflect.deleteProperty(e,"DOMParser"),e}function FT(i){var{DOMParser:e,canvas:r,fetch:t}=i;return{window:null,ignoreAnimation:!0,ignoreMouse:!0,DOMParser:e,fetch:t,createCanvas:r.createCanvas,createImage:r.loadImage}}var vC=Object.freeze({__proto__:null,offscreen:jT,node:FT});function yr(i){return i.replace(/(?!\u3000)\s+/gm," ")}function zT(i){return i.replace(/^[\n \t]+/,"")}function $T(i){return i.replace(/[\n \t]+$/,"")}function se(i){var e=(i||"").match(/-?(\d+(?:\.\d*(?:[eE][+-]?\d+)?)?|\.\d+)(?=\D|$)/gm)||[];return e.map(parseFloat)}var HT=/^[A-Z-]+$/;function GT(i){return HT.test(i)?i.toLowerCase():i}function Qv(i){var e=/url\(('([^']+)'|"([^"]+)"|([^'")]+))\)/.exec(i)||[];return e[2]||e[3]||e[4]}function YT(i){if(!i.startsWith("rgb"))return i;var e=3,r=i.replace(/\d+(\.\d+)?/g,(t,a)=>e--&&a?String(Math.round(parseFloat(t))):t);return r}var XT=/(\[[^\]]+\])/g,WT=/(#[^\s+>~.[:]+)/g,QT=/(\.[^\s+>~.[:]+)/g,KT=/(::[^\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi,ZT=/(:[\w-]+\([^)]*\))/gi,JT=/(:[^\s+>~.[:]+)/g,eO=/([^\s+>~.[:]+)/g;function ze(i,e){var r=e.exec(i);return r?[i.replace(e," "),r.length]:[i,0]}function rO(i){var e=[0,0,0],r=i.replace(/:not\(([^)]*)\)/g," $1 ").replace(/{[\s\S]*/gm," "),t=0;return[r,t]=ze(r,XT),e[1]+=t,[r,t]=ze(r,WT),e[0]+=t,[r,t]=ze(r,QT),e[1]+=t,[r,t]=ze(r,KT),e[2]+=t,[r,t]=ze(r,ZT),e[1]+=t,[r,t]=ze(r,JT),e[1]+=t,r=r.replace(/[*\s+>~]/g," ").replace(/[#.]/g," "),[r,t]=ze(r,eO),e[2]+=t,e.join("")}var dr=1e-8;function Kv(i){return Math.sqrt(Math.pow(i[0],2)+Math.pow(i[1],2))}function Fn(i,e){return(i[0]*e[0]+i[1]*e[1])/(Kv(i)*Kv(e))}function Zv(i,e){return(i[0]*e[1]{class i{constructor(r,t,a){this.document=r,this.name=t,this.value=a,this.isNormalizedColor=!1}static empty(r){return new i(r,"EMPTY","")}split(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:" ",{document:t,name:a}=this;return yr(this.getString()).trim().split(r).map(n=>new i(t,a,n))}hasValue(r){var{value:t}=this;return t!==null&&t!==""&&(r||t!==0)&&typeof t<"u"}isString(r){var{value:t}=this,a=typeof t=="string";return!a||!r?a:r.test(t)}isUrlDefinition(){return this.isString(/^url\(/)}isPixels(){if(!this.hasValue())return!1;var r=this.getString();switch(!0){case r.endsWith("px"):case/^[0-9]+$/.test(r):return!0;default:return!1}}setValue(r){return this.value=r,this}getValue(r){return typeof r>"u"||this.hasValue()?this.value:r}getNumber(r){if(!this.hasValue())return typeof r>"u"?0:parseFloat(r);var{value:t}=this,a=parseFloat(t);return this.isString(/%$/)&&(a/=100),a}getString(r){return typeof r>"u"||this.hasValue()?typeof this.value>"u"?"":String(this.value):String(r)}getColor(r){var t=this.getString(r);return this.isNormalizedColor||(this.isNormalizedColor=!0,t=YT(t),this.value=t),t}getDpi(){return 96}getRem(){return this.document.rootEmSize}getEm(){return this.document.emSize}getUnits(){return this.getString().replace(/[0-9.-]/g,"")}getPixels(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;if(!this.hasValue())return 0;var[a,n]=typeof r=="boolean"?[void 0,r]:[r],{viewPort:o}=this.document.screen;switch(!0){case this.isString(/vmin$/):return this.getNumber()/100*Math.min(o.computeSize("x"),o.computeSize("y"));case this.isString(/vmax$/):return this.getNumber()/100*Math.max(o.computeSize("x"),o.computeSize("y"));case this.isString(/vw$/):return this.getNumber()/100*o.computeSize("x");case this.isString(/vh$/):return this.getNumber()/100*o.computeSize("y");case this.isString(/rem$/):return this.getNumber()*this.getRem();case this.isString(/em$/):return this.getNumber()*this.getEm();case this.isString(/ex$/):return this.getNumber()*this.getEm()/2;case this.isString(/px$/):return this.getNumber();case this.isString(/pt$/):return this.getNumber()*this.getDpi()*(1/72);case this.isString(/pc$/):return this.getNumber()*15;case this.isString(/cm$/):return this.getNumber()*this.getDpi()/2.54;case this.isString(/mm$/):return this.getNumber()*this.getDpi()/25.4;case this.isString(/in$/):return this.getNumber()*this.getDpi();case(this.isString(/%$/)&&n):return this.getNumber()*this.getEm();case this.isString(/%$/):return this.getNumber()*o.computeSize(a);default:{var s=this.getNumber();return t&&s<1?s*o.computeSize(a):s}}}getMilliseconds(){return this.hasValue()?this.isString(/ms$/)?this.getNumber():this.getNumber()*1e3:0}getRadians(){if(!this.hasValue())return 0;switch(!0){case this.isString(/deg$/):return this.getNumber()*(Math.PI/180);case this.isString(/grad$/):return this.getNumber()*(Math.PI/200);case this.isString(/rad$/):return this.getNumber();default:return this.getNumber()*(Math.PI/180)}}getDefinition(){var r=this.getString(),t=/#([^)'"]+)/.exec(r);return t&&(t=t[1]),t||(t=r),this.document.definitions[t]}getFillStyleDefinition(r,t){var a=this.getDefinition();if(!a)return null;if(typeof a.createGradient=="function")return a.createGradient(this.document.ctx,r,t);if(typeof a.createPattern=="function"){if(a.getHrefAttribute().hasValue()){var n=a.getAttribute("patternTransform");a=a.getHrefAttribute().getDefinition(),n.hasValue()&&a.getAttribute("patternTransform",!0).setValue(n.value)}return a.createPattern(this.document.ctx,r,t)}return null}getTextBaseline(){return this.hasValue()?i.textBaselineMapping[this.getString()]:null}addOpacity(r){for(var t=this.getColor(),a=t.length,n=0,o=0;o1&&arguments[1]!==void 0?arguments[1]:0,[t=r,a=r]=se(e);return new i(t,a)}static parseScale(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:1,[t=r,a=t]=se(e);return new i(t,a)}static parsePath(e){for(var r=se(e),t=r.length,a=[],n=0;n0}runEvents(){if(this.working){var{screen:e,events:r,eventElements:t}=this,{style:a}=e.ctx.canvas;a&&(a.cursor=""),r.forEach((n,o)=>{for(var{run:s}=n,u=t[o];u;)s(u),u=u.parent}),this.events=[],this.eventElements=[]}}checkPath(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInPath&&r.isPointInPath(s,u)&&(a[o]=e)})}}checkBoundingBox(e,r){if(!(!this.working||!r)){var{events:t,eventElements:a}=this;t.forEach((n,o)=>{var{x:s,y:u}=n;!a[o]&&r.isPointInBox(s,u)&&(a[o]=e)})}}mapXY(e,r){for(var{window:t,ctx:a}=this.screen,n=new $(e,r),o=a.canvas;o;)n.x-=o.offsetLeft,n.y-=o.offsetTop,o=o.offsetParent;return t.scrollX&&(n.x+=t.scrollX),t.scrollY&&(n.y+=t.scrollY),n}onClick(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onclick",x:r,y:t,run(a){a.onClick&&a.onClick()}})}onMouseMove(e){var{x:r,y:t}=this.mapXY(e.clientX,e.clientY);this.events.push({type:"onmousemove",x:r,y:t,run(a){a.onMouseMove&&a.onMouseMove()}})}},sg=typeof window<"u"?window:null,og=typeof fetch<"u"?fetch.bind(void 0):null,vg=(()=>{class i{constructor(r){var{fetch:t=og,window:a=sg}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};this.ctx=r,this.FRAMERATE=30,this.MAX_VIRTUAL_PIXELS=3e4,this.CLIENT_WIDTH=800,this.CLIENT_HEIGHT=600,this.viewPort=new zn,this.mouse=new $n(this),this.animations=[],this.waits=[],this.frameDuration=0,this.isReadyLock=!1,this.isFirstRender=!0,this.intervalId=null,this.window=a,this.fetch=t}wait(r){this.waits.push(r)}ready(){return this.readyPromise?this.readyPromise:Promise.resolve()}isReady(){if(this.isReadyLock)return!0;var r=this.waits.every(t=>t());return r&&(this.waits=[],this.resolveReady&&this.resolveReady()),this.isReadyLock=r,r}setDefaults(r){r.strokeStyle="rgba(0,0,0,0)",r.lineCap="butt",r.lineJoin="miter",r.miterLimit=4}setViewBox(r){var{document:t,ctx:a,aspectRatio:n,width:o,desiredWidth:s,height:u,desiredHeight:l,minX:h=0,minY:f=0,refX:v,refY:c,clip:g=!1,clipX:p=0,clipY:y=0}=r,m=yr(n).replace(/^defer\s/,""),[T,x]=m.split(" "),O=T||"xMidYMid",E=x||"meet",C=o/s,S=u/l,A=Math.min(C,S),R=Math.max(C,S),M=s,_=l;E==="meet"&&(M*=A,_*=A),E==="slice"&&(M*=R,_*=R);var N=new w(t,"refX",v),X=new w(t,"refY",c),W=N.hasValue()&&X.hasValue();if(W&&a.translate(-A*N.getPixels("x"),-A*X.getPixels("y")),g){var H=A*p,Q=A*y;a.beginPath(),a.moveTo(H,Q),a.lineTo(o,Q),a.lineTo(o,u),a.lineTo(H,u),a.closePath(),a.clip()}if(!W){var Y=E==="meet"&&A===S,K=E==="slice"&&R===S,I=E==="meet"&&A===C,P=E==="slice"&&R===C;O.startsWith("xMid")&&(Y||K)&&a.translate(o/2-M/2,0),O.endsWith("YMid")&&(I||P)&&a.translate(0,u/2-_/2),O.startsWith("xMax")&&(Y||K)&&a.translate(o-M,0),O.endsWith("YMax")&&(I||P)&&a.translate(0,u-_)}switch(!0){case O==="none":a.scale(C,S);break;case E==="meet":a.scale(A,A);break;case E==="slice":a.scale(R,R);break}a.translate(-h,-f)}start(r){var{enableRedraw:t=!1,ignoreMouse:a=!1,ignoreAnimation:n=!1,ignoreDimensions:o=!1,ignoreClear:s=!1,forceRedraw:u,scaleWidth:l,scaleHeight:h,offsetX:f,offsetY:v}=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},{FRAMERATE:c,mouse:g}=this,p=1e3/c;if(this.frameDuration=p,this.readyPromise=new Promise(O=>{this.resolveReady=O}),this.isReady()&&this.render(r,o,s,l,h,f,v),!!t){var y=Date.now(),m=y,T=0,x=()=>{y=Date.now(),T=y-m,T>=p&&(m=y-T%p,this.shouldUpdate(n,u)&&(this.render(r,o,s,l,h,f,v),g.runEvents())),this.intervalId=(0,oi.default)(x)};a||g.start(),this.intervalId=(0,oi.default)(x)}}stop(){this.intervalId&&(oi.default.cancel(this.intervalId),this.intervalId=null),this.mouse.stop()}shouldUpdate(r,t){if(!r){var{frameDuration:a}=this,n=this.animations.reduce((o,s)=>s.update(a)||o,!1);if(n)return!0}return!!(typeof t=="function"&&t()||!this.isReadyLock&&this.isReady()||this.mouse.hasEvents())}render(r,t,a,n,o,s,u){var{CLIENT_WIDTH:l,CLIENT_HEIGHT:h,viewPort:f,ctx:v,isFirstRender:c}=this,g=v.canvas;f.clear(),g.width&&g.height?f.setCurrent(g.width,g.height):f.setCurrent(l,h);var p=r.getStyle("width"),y=r.getStyle("height");!t&&(c||typeof n!="number"&&typeof o!="number")&&(p.hasValue()&&(g.width=p.getPixels("x"),g.style&&(g.style.width="".concat(g.width,"px"))),y.hasValue()&&(g.height=y.getPixels("y"),g.style&&(g.style.height="".concat(g.height,"px"))));var m=g.clientWidth||g.width,T=g.clientHeight||g.height;if(t&&p.hasValue()&&y.hasValue()&&(m=p.getPixels("x"),T=y.getPixels("y")),f.setCurrent(m,T),typeof s=="number"&&r.getAttribute("x",!0).setValue(s),typeof u=="number"&&r.getAttribute("y",!0).setValue(u),typeof n=="number"||typeof o=="number"){var x=se(r.getAttribute("viewBox").getString()),O=0,E=0;if(typeof n=="number"){var C=r.getStyle("width");C.hasValue()?O=C.getPixels("x")/n:isNaN(x[2])||(O=x[2]/n)}if(typeof o=="number"){var S=r.getStyle("height");S.hasValue()?E=S.getPixels("y")/o:isNaN(x[3])||(E=x[3]/o)}O||(O=E),E||(E=O),r.getAttribute("width",!0).setValue(n),r.getAttribute("height",!0).setValue(o);var A=r.getStyle("transform",!0,!0);A.setValue("".concat(A.getString()," scale(").concat(1/O,", ").concat(1/E,")"))}a||v.clearRect(0,0,m,T),r.render(v),c&&(this.isFirstRender=!1)}}return i.defaultWindow=sg,i.defaultFetch=og,i})(),{defaultFetch:tO}=vg,iO=typeof DOMParser<"u"?DOMParser:null,Xr=class{constructor(){var{fetch:e=tO,DOMParser:r=iO}=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};this.fetch=e,this.DOMParser=r}parse(e){var r=this;return xe(function*(){return e.startsWith("<")?r.parseFromString(e):r.load(e)})()}parseFromString(e){var r=new this.DOMParser;try{return this.checkDocument(r.parseFromString(e,"image/svg+xml"))}catch{return this.checkDocument(r.parseFromString(e,"text/xml"))}}checkDocument(e){var r=e.getElementsByTagName("parsererror")[0];if(r)throw new Error(r.textContent);return e}load(e){var r=this;return xe(function*(){var t=yield r.fetch(e),a=yield t.text();return r.parseFromString(a)})()}},Hn=class{constructor(e,r){this.type="translate",this.point=null,this.point=$.parse(r)}apply(e){var{x:r,y:t}=this.point;e.translate(r||0,t||0)}unapply(e){var{x:r,y:t}=this.point;e.translate(-1*r||0,-1*t||0)}applyToPoint(e){var{x:r,y:t}=this.point;e.applyTransform([1,0,0,1,r||0,t||0])}},Gn=class{constructor(e,r,t){this.type="rotate",this.angle=null,this.originX=null,this.originY=null,this.cx=0,this.cy=0;var a=se(r);this.angle=new w(e,"angle",a[0]),this.originX=t[0],this.originY=t[1],this.cx=a[1]||0,this.cy=a[2]||0}apply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(o.getRadians()),e.translate(-s,-u)}unapply(e){var{cx:r,cy:t,originX:a,originY:n,angle:o}=this,s=r+a.getPixels("x"),u=t+n.getPixels("y");e.translate(s,u),e.rotate(-1*o.getRadians()),e.translate(-s,-u)}applyToPoint(e){var{cx:r,cy:t,angle:a}=this,n=a.getRadians();e.applyTransform([1,0,0,1,r||0,t||0]),e.applyTransform([Math.cos(n),Math.sin(n),-Math.sin(n),Math.cos(n),0,0]),e.applyTransform([1,0,0,1,-r||0,-t||0])}},Yn=class{constructor(e,r,t){this.type="scale",this.scale=null,this.originX=null,this.originY=null;var a=$.parseScale(r);(a.x===0||a.y===0)&&(a.x=dr,a.y=dr),this.scale=a,this.originX=t[0],this.originY=t[1]}apply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(r,t||r),e.translate(-o,-s)}unapply(e){var{scale:{x:r,y:t},originX:a,originY:n}=this,o=a.getPixels("x"),s=n.getPixels("y");e.translate(o,s),e.scale(1/r,1/t||r),e.translate(-o,-s)}applyToPoint(e){var{x:r,y:t}=this.scale;e.applyTransform([r||0,0,0,t||0,0,0])}},li=class{constructor(e,r,t){this.type="matrix",this.matrix=[],this.originX=null,this.originY=null,this.matrix=se(r),this.originX=t[0],this.originY=t[1]}apply(e){var{originX:r,originY:t,matrix:a}=this,n=r.getPixels("x"),o=t.getPixels("y");e.translate(n,o),e.transform(a[0],a[1],a[2],a[3],a[4],a[5]),e.translate(-n,-o)}unapply(e){var{originX:r,originY:t,matrix:a}=this,n=a[0],o=a[2],s=a[4],u=a[1],l=a[3],h=a[5],f=0,v=0,c=1,g=1/(n*(l*c-h*v)-o*(u*c-h*f)+s*(u*v-l*f)),p=r.getPixels("x"),y=t.getPixels("y");e.translate(p,y),e.transform(g*(l*c-h*v),g*(h*f-u*c),g*(s*v-o*c),g*(n*c-s*f),g*(o*h-s*l),g*(s*u-n*h)),e.translate(-p,-y)}applyToPoint(e){e.applyTransform(this.matrix)}},hi=class extends li{constructor(e,r,t){super(e,r,t),this.type="skew",this.angle=null,this.angle=new w(e,"angle",r)}},Xn=class extends hi{constructor(e,r,t){super(e,r,t),this.type="skewX",this.matrix=[1,0,Math.tan(this.angle.getRadians()),1,0,0]}},Wn=class extends hi{constructor(e,r,t){super(e,r,t),this.type="skewY",this.matrix=[1,Math.tan(this.angle.getRadians()),0,1,0,0]}};function aO(i){return yr(i).trim().replace(/\)([a-zA-Z])/g,") $1").replace(/\)(\s?,\s?)/g,") ").split(/\s(?=[a-z])/)}function nO(i){var[e,r]=i.split("(");return[e.trim(),r.trim().replace(")","")]}var As=(()=>{class i{constructor(r,t,a){this.document=r,this.transforms=[];var n=aO(t);n.forEach(o=>{if(o!=="none"){var[s,u]=nO(o),l=i.transformTypes[s];typeof l<"u"&&this.transforms.push(new l(this.document,u,a))}})}static fromElement(r,t){var a=t.getStyle("transform",!1,!0),[n,o=n]=t.getStyle("transform-origin",!1,!0).split(),s=[n,o];return a.hasValue()?new i(r,a.getString(),s):null}apply(r){for(var{transforms:t}=this,a=t.length,n=0;n=0;n--)t[n].unapply(r)}applyToPoint(r){for(var{transforms:t}=this,a=t.length,n=0;n{class i{constructor(r,t){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1;if(this.document=r,this.node=t,this.captureTextNodes=a,this.attributes=Object.create(null),this.styles=Object.create(null),this.stylesSpecificity=Object.create(null),this.animationFrozen=!1,this.animationFrozenValue="",this.parent=null,this.children=[],!(!t||t.nodeType!==1)){if(Array.from(t.attributes).forEach(u=>{var l=GT(u.nodeName);this.attributes[l]=new w(r,l,u.value)}),this.addStylesFromStyleDefinition(),this.getAttribute("style").hasValue()){var n=this.getAttribute("style").getString().split(";").map(u=>u.trim());n.forEach(u=>{if(u){var[l,h]=u.split(":").map(f=>f.trim());this.styles[l]=new w(r,l,h)}})}var{definitions:o}=r,s=this.getAttribute("id");s.hasValue()&&(o[s.getString()]||(o[s.getString()]=this)),Array.from(t.childNodes).forEach(u=>{if(u.nodeType===1)this.addChild(u);else if(a&&(u.nodeType===3||u.nodeType===4)){var l=r.createTextNode(u);l.getText().length>0&&this.addChild(l)}})}}getAttribute(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=this.attributes[r];if(!a&&t){var n=new w(this.document,r,"");return this.attributes[r]=n,n}return a||w.empty(this.document)}getHrefAttribute(){for(var r in this.attributes)if(r==="href"||r.endsWith(":href"))return this.attributes[r];return w.empty(this.document)}getStyle(r){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1,a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,n=this.styles[r];if(n)return n;var o=this.getAttribute(r);if(o!=null&&o.hasValue())return this.styles[r]=o,o;if(!a){var{parent:s}=this;if(s){var u=s.getStyle(r);if(u!=null&&u.hasValue())return u}}if(t){var l=new w(this.document,r,"");return this.styles[r]=l,l}return n||w.empty(this.document)}render(r){if(!(this.getStyle("display").getString()==="none"||this.getStyle("visibility").getString()==="hidden")){if(r.save(),this.getStyle("mask").hasValue()){var t=this.getStyle("mask").getDefinition();t&&(this.applyEffects(r),t.apply(r,this))}else if(this.getStyle("filter").getValue("none")!=="none"){var a=this.getStyle("filter").getDefinition();a&&(this.applyEffects(r),a.apply(r,this))}else this.setContext(r),this.renderChildren(r),this.clearContext(r);r.restore()}}setContext(r){}applyEffects(r){var t=As.fromElement(this.document,this);t&&t.apply(r);var a=this.getStyle("clip-path",!1,!0);if(a.hasValue()){var n=a.getDefinition();n&&n.apply(r)}}clearContext(r){}renderChildren(r){this.children.forEach(t=>{t.render(r)})}addChild(r){var t=r instanceof i?r:this.document.createElement(r);t.parent=this,i.ignoreChildTypes.includes(t.type)||this.children.push(t)}matchesSelector(r){var t,{node:a}=this;if(typeof a.matches=="function")return a.matches(r);var n=(t=a.getAttribute)===null||t===void 0?void 0:t.call(a,"class");return!n||n===""?!1:n.split(" ").some(o=>".".concat(o)===r)}addStylesFromStyleDefinition(){var{styles:r,stylesSpecificity:t}=this.document;for(var a in r)if(!a.startsWith("@")&&this.matchesSelector(a)){var n=r[a],o=t[a];if(n)for(var s in n){var u=this.stylesSpecificity[s];typeof u>"u"&&(u="000"),o>=u&&(this.styles[s]=n[s],this.stylesSpecificity[s]=o)}}}removeStyles(r,t){var a=t.reduce((n,o)=>{var s=r.getStyle(o);if(!s.hasValue())return n;var u=s.getString();return s.setValue(""),[...n,[o,u]]},[]);return a}restoreStyles(r,t){t.forEach(a=>{var[n,o]=a;r.getStyle(n,!0).setValue(o)})}isFirstChild(){var r;return((r=this.parent)===null||r===void 0?void 0:r.children.indexOf(this))===0}}return i.ignoreChildTypes=["title"],i})(),Qn=class extends B{constructor(e,r,t){super(e,r,t)}};function sO(i){var e=i.trim();return/^('|")/.test(e)?e:'"'.concat(e,'"')}function oO(i){return typeof process>"u"?i:i.trim().split(",").map(sO).join(",")}function uO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"italic":case"oblique":case"inherit":case"initial":case"unset":return e;default:return/^oblique\s+(-|)\d+deg$/.test(e)?e:""}}function lO(i){if(!i)return"";var e=i.trim().toLowerCase();switch(e){case"normal":case"bold":case"lighter":case"bolder":case"inherit":case"initial":case"unset":return e;default:return/^[\d.]+$/.test(e)?e:""}}var pr=(()=>{class i{constructor(r,t,a,n,o,s){var u=s?typeof s=="string"?i.parse(s):s:{};this.fontFamily=o||u.fontFamily,this.fontSize=n||u.fontSize,this.fontStyle=r||u.fontStyle,this.fontWeight=a||u.fontWeight,this.fontVariant=t||u.fontVariant}static parse(){var r=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"",t=arguments.length>1?arguments[1]:void 0,a="",n="",o="",s="",u="",l=yr(r).trim().split(" "),h={fontSize:!1,fontStyle:!1,fontWeight:!1,fontVariant:!1};return l.forEach(f=>{switch(!0){case(!h.fontStyle&&i.styles.includes(f)):f!=="inherit"&&(a=f),h.fontStyle=!0;break;case(!h.fontVariant&&i.variants.includes(f)):f!=="inherit"&&(n=f),h.fontStyle=!0,h.fontVariant=!0;break;case(!h.fontWeight&&i.weights.includes(f)):f!=="inherit"&&(o=f),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0;break;case!h.fontSize:f!=="inherit"&&([s]=f.split("/")),h.fontStyle=!0,h.fontVariant=!0,h.fontWeight=!0,h.fontSize=!0;break;default:f!=="inherit"&&(u+=f)}}),new i(a,n,o,s,u,t)}toString(){return[uO(this.fontStyle),this.fontVariant,lO(this.fontWeight),this.fontSize,oO(this.fontFamily)].join(" ").trim()}}return i.styles="normal|italic|oblique|inherit",i.variants="normal|small-caps|inherit",i.weights="normal|bold|bolder|lighter|100|200|300|400|500|600|700|800|900|inherit",i})(),oe=class{constructor(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Number.NaN,r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Number.NaN,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Number.NaN,a=arguments.length>3&&arguments[3]!==void 0?arguments[3]:Number.NaN;this.x1=e,this.y1=r,this.x2=t,this.y2=a,this.addPoint(e,r),this.addPoint(t,a)}get x(){return this.x1}get y(){return this.y1}get width(){return this.x2-this.x1}get height(){return this.y2-this.y1}addPoint(e,r){typeof e<"u"&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),ethis.x2&&(this.x2=e)),typeof r<"u"&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=r,this.y2=r),rthis.y2&&(this.y2=r))}addX(e){this.addPoint(e,null)}addY(e){this.addPoint(null,e)}addBoundingBox(e){if(e){var{x1:r,y1:t,x2:a,y2:n}=e;this.addPoint(r,t),this.addPoint(a,n)}}sumCubic(e,r,t,a,n){return Math.pow(1-e,3)*r+3*Math.pow(1-e,2)*e*t+3*(1-e)*Math.pow(e,2)*a+Math.pow(e,3)*n}bezierCurveAdd(e,r,t,a,n){var o=6*r-12*t+6*a,s=-3*r+9*t-9*a+3*n,u=3*t-3*r;if(s===0){if(o===0)return;var l=-u/o;0=r.length-1}next(){var e=this.commands[++this.i];return this.previousCommand=this.command,this.command=e,e}getPoint(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"x",r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:"y",t=new $(this.command[e],this.command[r]);return this.makeAbsolute(t)}getAsControlPoint(e,r){var t=this.getPoint(e,r);return this.control=t,t}getAsCurrentPoint(e,r){var t=this.getPoint(e,r);return this.current=t,t}getReflectedControlPoint(){var e=this.previousCommand.type;if(e!==b.CURVE_TO&&e!==b.SMOOTH_CURVE_TO&&e!==b.QUAD_TO&&e!==b.SMOOTH_QUAD_TO)return this.current;var{current:{x:r,y:t},control:{x:a,y:n}}=this,o=new $(2*r-a,2*t-n);return o}makeAbsolute(e){if(this.command.relative){var{x:r,y:t}=this.current;e.x+=r,e.y+=t}return e}addMarker(e,r,t){var{points:a,angles:n}=this;t&&n.length>0&&!n[n.length-1]&&(n[n.length-1]=a[a.length-1].angleTo(t)),this.addMarkerAngle(e,r?r.angleTo(e):null)}addMarkerAngle(e,r){this.points.push(e),this.angles.push(r)}getMarkerPoints(){return this.points}getMarkerAngles(){for(var{angles:e}=this,r=e.length,t=0;t1&&arguments[1]!==void 0?arguments[1]:!1;if(!r){var t=this.getStyle("fill"),a=this.getStyle("fill-opacity"),n=this.getStyle("stroke"),o=this.getStyle("stroke-opacity");if(t.isUrlDefinition()){var s=t.getFillStyleDefinition(this,a);s&&(e.fillStyle=s)}else if(t.hasValue()){t.getString()==="currentColor"&&t.setValue(this.getStyle("color").getColor());var u=t.getColor();u!=="inherit"&&(e.fillStyle=u==="none"?"rgba(0,0,0,0)":u)}if(a.hasValue()){var l=new w(this.document,"fill",e.fillStyle).addOpacity(a).getColor();e.fillStyle=l}if(n.isUrlDefinition()){var h=n.getFillStyleDefinition(this,o);h&&(e.strokeStyle=h)}else if(n.hasValue()){n.getString()==="currentColor"&&n.setValue(this.getStyle("color").getColor());var f=n.getString();f!=="inherit"&&(e.strokeStyle=f==="none"?"rgba(0,0,0,0)":f)}if(o.hasValue()){var v=new w(this.document,"stroke",e.strokeStyle).addOpacity(o).getString();e.strokeStyle=v}var c=this.getStyle("stroke-width");if(c.hasValue()){var g=c.getPixels();e.lineWidth=g||dr}var p=this.getStyle("stroke-linecap"),y=this.getStyle("stroke-linejoin"),m=this.getStyle("stroke-miterlimit"),T=this.getStyle("stroke-dasharray"),x=this.getStyle("stroke-dashoffset");if(p.hasValue()&&(e.lineCap=p.getString()),y.hasValue()&&(e.lineJoin=y.getString()),m.hasValue()&&(e.miterLimit=m.getNumber()),T.hasValue()&&T.getString()!=="none"){var O=se(T.getString());typeof e.setLineDash<"u"?e.setLineDash(O):typeof e.webkitLineDash<"u"?e.webkitLineDash=O:typeof e.mozDash<"u"&&!(O.length===1&&O[0]===0)&&(e.mozDash=O);var E=x.getPixels();typeof e.lineDashOffset<"u"?e.lineDashOffset=E:typeof e.webkitLineDashOffset<"u"?e.webkitLineDashOffset=E:typeof e.mozDashOffset<"u"&&(e.mozDashOffset=E)}}if(this.modifiedEmSizeStack=!1,typeof e.font<"u"){var C=this.getStyle("font"),S=this.getStyle("font-style"),A=this.getStyle("font-variant"),R=this.getStyle("font-weight"),M=this.getStyle("font-size"),_=this.getStyle("font-family"),N=new pr(S.getString(),A.getString(),R.getString(),M.hasValue()?"".concat(M.getPixels(!0),"px"):"",_.getString(),pr.parse(C.getString(),e.font));S.setValue(N.fontStyle),A.setValue(N.fontVariant),R.setValue(N.fontWeight),M.setValue(N.fontSize),_.setValue(N.fontFamily),e.font=N.toString(),M.isPixels()&&(this.document.emSize=M.getPixels(),this.modifiedEmSizeStack=!0)}r||(this.applyEffects(e),e.globalAlpha=this.calculateOpacity())}clearContext(e){super.clearContext(e),this.modifiedEmSizeStack&&this.document.popEmSize()}},F=class i extends Ce{constructor(e,r,t){super(e,r,t),this.type="path",this.pathParser=null,this.pathParser=new q(this.getAttribute("d").getString())}path(e){var{pathParser:r}=this,t=new oe;for(r.reset(),e&&e.beginPath();!r.isEnd();)switch(r.next().type){case q.MOVE_TO:this.pathM(e,t);break;case q.LINE_TO:this.pathL(e,t);break;case q.HORIZ_LINE_TO:this.pathH(e,t);break;case q.VERT_LINE_TO:this.pathV(e,t);break;case q.CURVE_TO:this.pathC(e,t);break;case q.SMOOTH_CURVE_TO:this.pathS(e,t);break;case q.QUAD_TO:this.pathQ(e,t);break;case q.SMOOTH_QUAD_TO:this.pathT(e,t);break;case q.ARC:this.pathA(e,t);break;case q.CLOSE_PATH:this.pathZ(e,t);break}return t}getBoundingBox(e){return this.path()}getMarkers(){var{pathParser:e}=this,r=e.getMarkerPoints(),t=e.getMarkerAngles(),a=r.map((n,o)=>[n,t[o]]);return a}renderChildren(e){this.path(e),this.document.screen.mouse.checkPath(this,e);var r=this.getStyle("fill-rule");e.fillStyle!==""&&(r.getString("inherit")!=="inherit"?e.fill(r.getString()):e.fill()),e.strokeStyle!==""&&(this.getAttribute("vector-effect").getString()==="non-scaling-stroke"?(e.save(),e.setTransform(1,0,0,1,0,0),e.stroke(),e.restore()):e.stroke());var t=this.getMarkers();if(t){var a=t.length-1,n=this.getStyle("marker-start"),o=this.getStyle("marker-mid"),s=this.getStyle("marker-end");if(n.isUrlDefinition()){var u=n.getDefinition(),[l,h]=t[0];u.render(e,l,h)}if(o.isUrlDefinition())for(var f=o.getDefinition(),v=1;v1&&(a*=Math.sqrt(v),n*=Math.sqrt(v));var c=(s===u?-1:1)*Math.sqrt((Math.pow(a,2)*Math.pow(n,2)-Math.pow(a,2)*Math.pow(f.y,2)-Math.pow(n,2)*Math.pow(f.x,2))/(Math.pow(a,2)*Math.pow(f.y,2)+Math.pow(n,2)*Math.pow(f.x,2)));isNaN(c)&&(c=0);var g=new $(c*a*f.y/n,c*-n*f.x/a),p=new $((r.x+h.x)/2+Math.cos(l)*g.x-Math.sin(l)*g.y,(r.y+h.y)/2+Math.sin(l)*g.x+Math.cos(l)*g.y),y=Zv([1,0],[(f.x-g.x)/a,(f.y-g.y)/n]),m=[(f.x-g.x)/a,(f.y-g.y)/n],T=[(-f.x-g.x)/a,(-f.y-g.y)/n],x=Zv(m,T);return Fn(m,T)<=-1&&(x=Math.PI),Fn(m,T)>=1&&(x=0),{currentPoint:h,rX:a,rY:n,sweepFlag:u,xAxisRotation:l,centp:p,a1:y,ad:x}}pathA(e,r){var{pathParser:t}=this,{currentPoint:a,rX:n,rY:o,sweepFlag:s,xAxisRotation:u,centp:l,a1:h,ad:f}=i.pathA(t),v=1-s?1:-1,c=h+v*(f/2),g=new $(l.x+n*Math.cos(c),l.y+o*Math.sin(c));if(t.addMarkerAngle(g,c-v*Math.PI/2),t.addMarkerAngle(a,c-v*Math.PI),r.addPoint(a.x,a.y),e&&!isNaN(h)&&!isNaN(f)){var p=n>o?n:o,y=n>o?1:n/o,m=n>o?o/n:1;e.translate(l.x,l.y),e.rotate(u),e.scale(y,m),e.arc(0,0,p,h,h+f,!!(1-s)),e.scale(1/y,1/m),e.rotate(-u),e.translate(-l.x,-l.y)}}static pathZ(e){e.current=e.start}pathZ(e,r){i.pathZ(this.pathParser),e&&r.x1!==r.x2&&r.y1!==r.y2&&e.closePath()}},ci=class extends F{constructor(e,r,t){super(e,r,t),this.type="glyph",this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber(),this.unicode=this.getAttribute("unicode").getString(),this.arabicForm=this.getAttribute("arabic-form").getString()}},He=class i extends Ce{constructor(e,r,t){super(e,r,new.target===i?!0:t),this.type="text",this.x=0,this.y=0,this.measureCache=-1}setContext(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:!1;super.setContext(e,r);var t=this.getStyle("dominant-baseline").getTextBaseline()||this.getStyle("alignment-baseline").getTextBaseline();t&&(e.textBaseline=t)}initializeCoordinates(){this.x=0,this.y=0,this.leafTexts=[],this.textChunkStart=0,this.minX=Number.POSITIVE_INFINITY,this.maxX=Number.NEGATIVE_INFINITY}getBoundingBox(e){if(this.type!=="text")return this.getTElementBoundingBox(e);this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e);var r=null;return this.children.forEach((t,a)=>{var n=this.getChildBoundingBox(e,this,this,a);r?r.addBoundingBox(n):r=n}),r}getFontSize(){var{document:e,parent:r}=this,t=pr.parse(e.ctx.font).fontSize,a=r.getStyle("font-size").getNumber(t);return a}getTElementBoundingBox(e){var r=this.getFontSize();return new oe(this.x,this.y-r,this.x+this.measureText(e),this.y)}getGlyph(e,r,t){var a=r[t],n=null;if(e.isArabic){var o=r.length,s=r[t-1],u=r[t+1],l="isolated";if((t===0||s===" ")&&t0&&s!==" "&&t0&&s!==" "&&(t===o-1||u===" ")&&(l="initial"),typeof e.glyphs[a]<"u"){var h=e.glyphs[a];n=h instanceof ci?h:h[l]}}else n=e.glyphs[a];return n||(n=e.missingGlyph),n}getText(){return""}getTextFromNode(e){var r=e||this.node,t=Array.from(r.parentNode.childNodes),a=t.indexOf(r),n=t.length-1,o=yr(r.textContent||"");return a===0&&(o=zT(o)),a===n&&(o=$T(o)),o}renderChildren(e){if(this.type!=="text"){this.renderTElementChildren(e);return}this.initializeCoordinates(),this.adjustChildCoordinatesRecursive(e),this.children.forEach((t,a)=>{this.renderChild(e,this,this,a)});var{mouse:r}=this.document.screen;r.isWorking()&&r.checkBoundingBox(this,this.getBoundingBox(e))}renderTElementChildren(e){var{document:r,parent:t}=this,a=this.getText(),n=t.getStyle("font-family").getDefinition();if(n){for(var{unitsPerEm:o}=n.fontFace,s=pr.parse(r.ctx.font),u=t.getStyle("font-size").getNumber(s.fontSize),l=t.getStyle("font-style").getString(s.fontStyle),h=u/o,f=n.isRTL?a.split("").reverse().join(""):a,v=se(t.getAttribute("dx").getString()),c=f.length,g=0;g=this.leafTexts.length)){var e=this.leafTexts[this.textChunkStart],r=e.getStyle("text-anchor").getString("start"),t=!1,a=0;r==="start"&&!t||r==="end"&&t?a=e.x-this.minX:r==="end"&&!t||r==="start"&&t?a=e.x-this.maxX:a=e.x-(this.minX+this.maxX)/2;for(var n=this.textChunkStart;n{this.adjustChildCoordinatesRecursiveCore(e,this,this,t)}),this.applyAnchoring()}adjustChildCoordinatesRecursiveCore(e,r,t,a){var n=t.children[a];n.children.length>0?n.children.forEach((o,s)=>{r.adjustChildCoordinatesRecursiveCore(e,r,n,s)}):this.adjustChildCoordinates(e,r,t,a)}adjustChildCoordinates(e,r,t,a){var n=t.children[a];if(typeof n.measureText!="function")return n;e.save(),n.setContext(e,!0);var o=n.getAttribute("x"),s=n.getAttribute("y"),u=n.getAttribute("dx"),l=n.getAttribute("dy"),h=n.getStyle("font-family").getDefinition(),f=!!h&&h.isRTL;a===0&&(o.hasValue()||o.setValue(n.getInheritedAttribute("x")),s.hasValue()||s.setValue(n.getInheritedAttribute("y")),u.hasValue()||u.setValue(n.getInheritedAttribute("dx")),l.hasValue()||l.setValue(n.getInheritedAttribute("dy")));var v=n.measureText(e);return f&&(r.x-=v),o.hasValue()?(r.applyAnchoring(),n.x=o.getPixels("x"),u.hasValue()&&(n.x+=u.getPixels("x"))):(u.hasValue()&&(r.x+=u.getPixels("x")),n.x=r.x),r.x=n.x,f||(r.x+=v),s.hasValue()?(n.y=s.getPixels("y"),l.hasValue()&&(n.y+=l.getPixels("y"))):(l.hasValue()&&(r.y+=l.getPixels("y")),n.y=r.y),r.y=n.y,r.leafTexts.push(n),r.minX=Math.min(r.minX,n.x,n.x+v),r.maxX=Math.max(r.maxX,n.x,n.x+v),n.clearContext(e),e.restore(),n}getChildBoundingBox(e,r,t,a){var n=t.children[a];if(typeof n.getBoundingBox!="function")return null;var o=n.getBoundingBox(e);return o?(n.children.forEach((s,u)=>{var l=r.getChildBoundingBox(e,r,n,u);o.addBoundingBox(l)}),o):null}renderChild(e,r,t,a){var n=t.children[a];n.render(e),n.children.forEach((o,s)=>{r.renderChild(e,r,n,s)})}measureText(e){var{measureCache:r}=this;if(~r)return r;var t=this.getText(),a=this.measureTargetText(e,t);return this.measureCache=a,a}measureTargetText(e,r){if(!r.length)return 0;var{parent:t}=this,a=t.getStyle("font-family").getDefinition();if(a){for(var n=this.getFontSize(),o=a.isRTL?r.split("").reverse().join(""):r,s=se(t.getAttribute("dx").getString()),u=o.length,l=0,h=0;h0?"":this.getTextFromNode()}getText(){return this.text}},Kn=class extends fi{constructor(){super(...arguments),this.type="textNode"}},Ge=class extends Ce{constructor(){super(...arguments),this.type="svg",this.root=!1}setContext(e){var r,{document:t}=this,{screen:a,window:n}=t,o=e.canvas;if(a.setDefaults(e),o.style&&typeof e.font<"u"&&n&&typeof n.getComputedStyle<"u"){e.font=n.getComputedStyle(o).getPropertyValue("font");var s=new w(t,"fontSize",pr.parse(e.font).fontSize);s.hasValue()&&(t.rootEmSize=s.getPixels("y"),t.emSize=t.rootEmSize)}this.getAttribute("x").hasValue()||this.getAttribute("x",!0).setValue(0),this.getAttribute("y").hasValue()||this.getAttribute("y",!0).setValue(0);var{width:u,height:l}=a.viewPort;this.getStyle("width").hasValue()||this.getStyle("width",!0).setValue("100%"),this.getStyle("height").hasValue()||this.getStyle("height",!0).setValue("100%"),this.getStyle("color").hasValue()||this.getStyle("color",!0).setValue("black");var h=this.getAttribute("refX"),f=this.getAttribute("refY"),v=this.getAttribute("viewBox"),c=v.hasValue()?se(v.getString()):null,g=!this.root&&this.getStyle("overflow").getValue("hidden")!=="visible",p=0,y=0,m=0,T=0;c&&(p=c[0],y=c[1]),this.root||(u=this.getStyle("width").getPixels("x"),l=this.getStyle("height").getPixels("y"),this.type==="marker"&&(m=p,T=y,p=0,y=0)),a.viewPort.setCurrent(u,l),this.node&&(!this.parent||((r=this.node.parentNode)===null||r===void 0?void 0:r.nodeName)==="foreignObject")&&this.getStyle("transform",!1,!0).hasValue()&&!this.getStyle("transform-origin",!1,!0).hasValue()&&this.getStyle("transform-origin",!0,!0).setValue("50% 50%"),super.setContext(e),e.translate(this.getAttribute("x").getPixels("x"),this.getAttribute("y").getPixels("y")),c&&(u=c[2],l=c[3]),t.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:a.viewPort.width,desiredWidth:u,height:a.viewPort.height,desiredHeight:l,minX:p,minY:y,refX:h.getValue(),refY:f.getValue(),clip:g,clipX:m,clipY:T}),c&&(a.viewPort.removeCurrent(),a.viewPort.setCurrent(u,l))}clearContext(e){super.clearContext(e),this.document.screen.viewPort.removeCurrent()}resize(e){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:e,t=arguments.length>2&&arguments[2]!==void 0?arguments[2]:!1,a=this.getAttribute("width",!0),n=this.getAttribute("height",!0),o=this.getAttribute("viewBox"),s=this.getAttribute("style"),u=a.getNumber(0),l=n.getNumber(0);if(t)if(typeof t=="string")this.getAttribute("preserveAspectRatio",!0).setValue(t);else{var h=this.getAttribute("preserveAspectRatio");h.hasValue()&&h.setValue(h.getString().replace(/^\s*(\S.*\S)\s*$/,"$1"))}if(a.setValue(e),n.setValue(r),o.hasValue()||o.setValue("0 0 ".concat(u||e," ").concat(l||r)),s.hasValue()){var f=this.getStyle("width"),v=this.getStyle("height");f.hasValue()&&f.setValue("".concat(e,"px")),v.hasValue()&&v.setValue("".concat(r,"px"))}}},vi=class extends F{constructor(){super(...arguments),this.type="rect"}path(e){var r=this.getAttribute("x").getPixels("x"),t=this.getAttribute("y").getPixels("y"),a=this.getStyle("width",!1,!0).getPixels("x"),n=this.getStyle("height",!1,!0).getPixels("y"),o=this.getAttribute("rx"),s=this.getAttribute("ry"),u=o.getPixels("x"),l=s.getPixels("y");if(o.hasValue()&&!s.hasValue()&&(l=u),s.hasValue()&&!o.hasValue()&&(u=l),u=Math.min(u,a/2),l=Math.min(l,n/2),e){var h=4*((Math.sqrt(2)-1)/3);e.beginPath(),n>0&&a>0&&(e.moveTo(r+u,t),e.lineTo(r+a-u,t),e.bezierCurveTo(r+a-u+h*u,t,r+a,t+l-h*l,r+a,t+l),e.lineTo(r+a,t+n-l),e.bezierCurveTo(r+a,t+n-l+h*l,r+a-u+h*u,t+n,r+a-u,t+n),e.lineTo(r+u,t+n),e.bezierCurveTo(r+u-h*u,t+n,r,t+n-l+h*l,r,t+n-l),e.lineTo(r,t+l),e.bezierCurveTo(r,t+l-h*l,r+u-h*u,t,r+u,t),e.closePath())}return new oe(r,t,r+a,t+n)}getMarkers(){return null}},Zn=class extends F{constructor(){super(...arguments),this.type="circle"}path(e){var r=this.getAttribute("cx").getPixels("x"),t=this.getAttribute("cy").getPixels("y"),a=this.getAttribute("r").getPixels();return e&&a>0&&(e.beginPath(),e.arc(r,t,a,0,Math.PI*2,!1),e.closePath()),new oe(r-a,t-a,r+a,t+a)}getMarkers(){return null}},Jn=class extends F{constructor(){super(...arguments),this.type="ellipse"}path(e){var r=4*((Math.sqrt(2)-1)/3),t=this.getAttribute("rx").getPixels("x"),a=this.getAttribute("ry").getPixels("y"),n=this.getAttribute("cx").getPixels("x"),o=this.getAttribute("cy").getPixels("y");return e&&t>0&&a>0&&(e.beginPath(),e.moveTo(n+t,o),e.bezierCurveTo(n+t,o+r*a,n+r*t,o+a,n,o+a),e.bezierCurveTo(n-r*t,o+a,n-t,o+r*a,n-t,o),e.bezierCurveTo(n-t,o-r*a,n-r*t,o-a,n,o-a),e.bezierCurveTo(n+r*t,o-a,n+t,o-r*a,n+t,o),e.closePath()),new oe(n-t,o-a,n+t,o+a)}getMarkers(){return null}},es=class extends F{constructor(){super(...arguments),this.type="line"}getPoints(){return[new $(this.getAttribute("x1").getPixels("x"),this.getAttribute("y1").getPixels("y")),new $(this.getAttribute("x2").getPixels("x"),this.getAttribute("y2").getPixels("y"))]}path(e){var[{x:r,y:t},{x:a,y:n}]=this.getPoints();return e&&(e.beginPath(),e.moveTo(r,t),e.lineTo(a,n)),new oe(r,t,a,n)}getMarkers(){var[e,r]=this.getPoints(),t=e.angleTo(r);return[[e,t],[r,t]]}},gi=class extends F{constructor(e,r,t){super(e,r,t),this.type="polyline",this.points=[],this.points=$.parsePath(this.getAttribute("points").getString())}path(e){var{points:r}=this,[{x:t,y:a}]=r,n=new oe(t,a);return e&&(e.beginPath(),e.moveTo(t,a)),r.forEach(o=>{var{x:s,y:u}=o;n.addPoint(s,u),e&&e.lineTo(s,u)}),n}getMarkers(){var{points:e}=this,r=e.length-1,t=[];return e.forEach((a,n)=>{n!==r&&t.push([a,a.angleTo(e[n+1])])}),t.length>0&&t.push([e[e.length-1],t[t.length-1][1]]),t}},rs=class extends gi{constructor(){super(...arguments),this.type="polygon"}path(e){var r=super.path(e),[{x:t,y:a}]=this.points;return e&&(e.lineTo(t,a),e.closePath()),r}},ts=class extends B{constructor(){super(...arguments),this.type="pattern"}createPattern(e,r,t){var a=this.getStyle("width").getPixels("x",!0),n=this.getStyle("height").getPixels("y",!0),o=new Ge(this.document,null);o.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),o.attributes.width=new w(this.document,"width","".concat(a,"px")),o.attributes.height=new w(this.document,"height","".concat(n,"px")),o.attributes.transform=new w(this.document,"transform",this.getAttribute("patternTransform").getValue()),o.children=this.children;var s=this.document.createCanvas(a,n),u=s.getContext("2d"),l=this.getAttribute("x"),h=this.getAttribute("y");l.hasValue()&&h.hasValue()&&u.translate(l.getPixels("x",!0),h.getPixels("y",!0)),t.hasValue()?this.styles["fill-opacity"]=t:Reflect.deleteProperty(this.styles,"fill-opacity");for(var f=-1;f<=1;f++)for(var v=-1;v<=1;v++)u.save(),o.attributes.x=new w(this.document,"x",f*s.width),o.attributes.y=new w(this.document,"y",v*s.height),o.render(u),u.restore();var c=e.createPattern(s,"repeat");return c}},is=class extends B{constructor(){super(...arguments),this.type="marker"}render(e,r,t){if(r){var{x:a,y:n}=r,o=this.getAttribute("orient").getString("auto"),s=this.getAttribute("markerUnits").getString("strokeWidth");e.translate(a,n),o==="auto"&&e.rotate(t),s==="strokeWidth"&&e.scale(e.lineWidth,e.lineWidth),e.save();var u=new Ge(this.document,null);u.type=this.type,u.attributes.viewBox=new w(this.document,"viewBox",this.getAttribute("viewBox").getValue()),u.attributes.refX=new w(this.document,"refX",this.getAttribute("refX").getValue()),u.attributes.refY=new w(this.document,"refY",this.getAttribute("refY").getValue()),u.attributes.width=new w(this.document,"width",this.getAttribute("markerWidth").getValue()),u.attributes.height=new w(this.document,"height",this.getAttribute("markerHeight").getValue()),u.attributes.overflow=new w(this.document,"overflow",this.getAttribute("overflow").getValue()),u.attributes.fill=new w(this.document,"fill",this.getAttribute("fill").getColor("black")),u.attributes.stroke=new w(this.document,"stroke",this.getAttribute("stroke").getValue("none")),u.children=this.children,u.render(e),e.restore(),s==="strokeWidth"&&e.scale(1/e.lineWidth,1/e.lineWidth),o==="auto"&&e.rotate(-t),e.translate(-a,-n)}}},as=class extends B{constructor(){super(...arguments),this.type="defs"}render(){}},Wr=class extends Ce{constructor(){super(...arguments),this.type="g"}getBoundingBox(e){var r=new oe;return this.children.forEach(t=>{r.addBoundingBox(t.getBoundingBox(e))}),r}},di=class extends B{constructor(e,r,t){super(e,r,t),this.attributesToInherit=["gradientUnits"],this.stops=[];var{stops:a,children:n}=this;n.forEach(o=>{o.type==="stop"&&a.push(o)})}getGradientUnits(){return this.getAttribute("gradientUnits").getString("objectBoundingBox")}createGradient(e,r,t){var a=this;this.getHrefAttribute().hasValue()&&(a=this.getHrefAttribute().getDefinition(),this.inheritStopContainer(a));var{stops:n}=a,o=this.getGradient(e,r);if(!o)return this.addParentOpacity(t,n[n.length-1].color);if(n.forEach(y=>{o.addColorStop(y.offset,this.addParentOpacity(t,y.color))}),this.getAttribute("gradientTransform").hasValue()){var{document:s}=this,{MAX_VIRTUAL_PIXELS:u,viewPort:l}=s.screen,[h]=l.viewPorts,f=new vi(s,null);f.attributes.x=new w(s,"x",-u/3),f.attributes.y=new w(s,"y",-u/3),f.attributes.width=new w(s,"width",u),f.attributes.height=new w(s,"height",u);var v=new Wr(s,null);v.attributes.transform=new w(s,"transform",this.getAttribute("gradientTransform").getValue()),v.children=[f];var c=new Ge(s,null);c.attributes.x=new w(s,"x",0),c.attributes.y=new w(s,"y",0),c.attributes.width=new w(s,"width",h.width),c.attributes.height=new w(s,"height",h.height),c.children=[v];var g=s.createCanvas(h.width,h.height),p=g.getContext("2d");return p.fillStyle=o,c.render(p),p.createPattern(g,"no-repeat")}return o}inheritStopContainer(e){this.attributesToInherit.forEach(r=>{!this.getAttribute(r).hasValue()&&e.getAttribute(r).hasValue()&&this.getAttribute(r,!0).setValue(e.getAttribute(r).getValue())})}addParentOpacity(e,r){if(e.hasValue()){var t=new w(this.document,"color",r);return t.addOpacity(e).getColor()}return r}},ns=class extends di{constructor(e,r,t){super(e,r,t),this.type="linearGradient",this.attributesToInherit.push("x1","y1","x2","y2")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=t?r.getBoundingBox(e):null;if(t&&!a)return null;!this.getAttribute("x1").hasValue()&&!this.getAttribute("y1").hasValue()&&!this.getAttribute("x2").hasValue()&&!this.getAttribute("y2").hasValue()&&(this.getAttribute("x1",!0).setValue(0),this.getAttribute("y1",!0).setValue(0),this.getAttribute("x2",!0).setValue(1),this.getAttribute("y2",!0).setValue(0));var n=t?a.x+a.width*this.getAttribute("x1").getNumber():this.getAttribute("x1").getPixels("x"),o=t?a.y+a.height*this.getAttribute("y1").getNumber():this.getAttribute("y1").getPixels("y"),s=t?a.x+a.width*this.getAttribute("x2").getNumber():this.getAttribute("x2").getPixels("x"),u=t?a.y+a.height*this.getAttribute("y2").getNumber():this.getAttribute("y2").getPixels("y");return n===s&&o===u?null:e.createLinearGradient(n,o,s,u)}},ss=class extends di{constructor(e,r,t){super(e,r,t),this.type="radialGradient",this.attributesToInherit.push("cx","cy","r","fx","fy","fr")}getGradient(e,r){var t=this.getGradientUnits()==="objectBoundingBox",a=r.getBoundingBox(e);if(t&&!a)return null;this.getAttribute("cx").hasValue()||this.getAttribute("cx",!0).setValue("50%"),this.getAttribute("cy").hasValue()||this.getAttribute("cy",!0).setValue("50%"),this.getAttribute("r").hasValue()||this.getAttribute("r",!0).setValue("50%");var n=t?a.x+a.width*this.getAttribute("cx").getNumber():this.getAttribute("cx").getPixels("x"),o=t?a.y+a.height*this.getAttribute("cy").getNumber():this.getAttribute("cy").getPixels("y"),s=n,u=o;this.getAttribute("fx").hasValue()&&(s=t?a.x+a.width*this.getAttribute("fx").getNumber():this.getAttribute("fx").getPixels("x")),this.getAttribute("fy").hasValue()&&(u=t?a.y+a.height*this.getAttribute("fy").getNumber():this.getAttribute("fy").getPixels("y"));var l=t?(a.width+a.height)/2*this.getAttribute("r").getNumber():this.getAttribute("r").getPixels(),h=this.getAttribute("fr").getPixels();return e.createRadialGradient(s,u,h,n,o,l)}},os=class extends B{constructor(e,r,t){super(e,r,t),this.type="stop";var a=Math.max(0,Math.min(1,this.getAttribute("offset").getNumber())),n=this.getStyle("stop-opacity"),o=this.getStyle("stop-color",!0);o.getString()===""&&o.setValue("#000"),n.hasValue()&&(o=o.addOpacity(n)),this.offset=a,this.color=o.getColor()}},Qr=class extends B{constructor(e,r,t){super(e,r,t),this.type="animate",this.duration=0,this.initialValue=null,this.initialUnits="",this.removed=!1,this.frozen=!1,e.screen.animations.push(this),this.begin=this.getAttribute("begin").getMilliseconds(),this.maxDuration=this.begin+this.getAttribute("dur").getMilliseconds(),this.from=this.getAttribute("from"),this.to=this.getAttribute("to"),this.values=new w(e,"values",null);var a=this.getAttribute("values");a.hasValue()&&this.values.setValue(a.getString().split(";"))}getProperty(){var e=this.getAttribute("attributeType").getString(),r=this.getAttribute("attributeName").getString();return e==="CSS"?this.parent.getStyle(r,!0):this.parent.getAttribute(r,!0)}calcValue(){var{initialUnits:e}=this,{progress:r,from:t,to:a}=this.getProgress(),n=t.getNumber()+(a.getNumber()-t.getNumber())*r;return e==="%"&&(n*=100),"".concat(n).concat(e)}update(e){var{parent:r}=this,t=this.getProperty();if(this.initialValue||(this.initialValue=t.getString(),this.initialUnits=t.getUnits()),this.duration>this.maxDuration){var a=this.getAttribute("fill").getString("remove");if(this.getAttribute("repeatCount").getString()==="indefinite"||this.getAttribute("repeatDur").getString()==="indefinite")this.duration=0;else if(a==="freeze"&&!this.frozen)this.frozen=!0,r.animationFrozen=!0,r.animationFrozenValue=t.getString();else if(a==="remove"&&!this.removed)return this.removed=!0,t.setValue(r.animationFrozen?r.animationFrozenValue:this.initialValue),!0;return!1}this.duration+=e;var n=!1;if(this.begin{var l=n[u];return s+(l-s)*e}).join(" ");return o}},hs=class extends B{constructor(e,r,t){super(e,r,t),this.type="font",this.glyphs=Object.create(null),this.horizAdvX=this.getAttribute("horiz-adv-x").getNumber();var{definitions:a}=e,{children:n}=this;for(var o of n)switch(o.type){case"font-face":{this.fontFace=o;var s=o.getStyle("font-family");s.hasValue()&&(a[s.getString()]=this);break}case"missing-glyph":this.missingGlyph=o;break;case"glyph":{var u=o;u.arabicForm?(this.isRTL=!0,this.isArabic=!0,typeof this.glyphs[u.unicode]>"u"&&(this.glyphs[u.unicode]=Object.create(null)),this.glyphs[u.unicode][u.arabicForm]=u):this.glyphs[u.unicode]=u;break}}}render(){}},cs=class extends B{constructor(e,r,t){super(e,r,t),this.type="font-face",this.ascent=this.getAttribute("ascent").getNumber(),this.descent=this.getAttribute("descent").getNumber(),this.unitsPerEm=this.getAttribute("units-per-em").getNumber()}},fs=class extends F{constructor(){super(...arguments),this.type="missing-glyph",this.horizAdvX=0}},vs=class extends He{constructor(){super(...arguments),this.type="tref"}getText(){var e=this.getHrefAttribute().getDefinition();if(e){var r=e.children[0];if(r)return r.getText()}return""}},gs=class extends He{constructor(e,r,t){super(e,r,t),this.type="a";var{childNodes:a}=r,n=a[0],o=a.length>0&&Array.from(a).every(s=>s.nodeType===3);this.hasText=o,this.text=o?this.getTextFromNode(n):""}getText(){return this.text}renderChildren(e){if(this.hasText){super.renderChildren(e);var{document:r,x:t,y:a}=this,{mouse:n}=r.screen,o=new w(r,"fontSize",pr.parse(r.ctx.font).fontSize);n.isWorking()&&n.checkBoundingBox(this,new oe(t,a-o.getPixels("y"),t+this.measureText(e),a))}else if(this.children.length>0){var s=new Wr(this.document,null);s.children=this.children,s.parent=this,s.render(e)}}onClick(){var{window:e}=this.document;e&&e.open(this.getHrefAttribute().getString())}onMouseMove(){var e=this.document.ctx;e.canvas.style.cursor="pointer"}};function ug(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function ai(i){for(var e=1;e{var{type:a,points:n}=t;switch(a){case q.LINE_TO:e&&e.lineTo(n[0],n[1]);break;case q.MOVE_TO:e&&e.moveTo(n[0],n[1]);break;case q.CURVE_TO:e&&e.bezierCurveTo(n[0],n[1],n[2],n[3],n[4],n[5]);break;case q.QUAD_TO:e&&e.quadraticCurveTo(n[0],n[1],n[2],n[3]);break;case q.ARC:{var[o,s,u,l,h,f,v,c]=n,g=u>l?u:l,p=u>l?1:u/l,y=u>l?l/u:1;e&&(e.translate(o,s),e.rotate(v),e.scale(p,y),e.arc(0,0,g,h,h+f,!!(1-c)),e.scale(1/p,1/y),e.rotate(-v),e.translate(-o,-s));break}case q.CLOSE_PATH:e&&e.closePath();break}})}renderChildren(e){this.setTextData(e),e.save();var r=this.parent.getStyle("text-decoration").getString(),t=this.getFontSize(),{glyphInfo:a}=this,n=e.fillStyle;r==="underline"&&e.beginPath(),a.forEach((o,s)=>{var{p0:u,p1:l,rotation:h,text:f}=o;e.save(),e.translate(u.x,u.y),e.rotate(h),e.fillStyle&&e.fillText(f,0,0),e.strokeStyle&&e.strokeText(f,0,0),e.restore(),r==="underline"&&(s===0&&e.moveTo(u.x,u.y+t/8),e.lineTo(l.x,l.y+t/5))}),r==="underline"&&(e.lineWidth=t/20,e.strokeStyle=n,e.stroke(),e.closePath()),e.restore()}getLetterSpacingAt(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;return this.letterSpacingCache[e]||0}findSegmentToFitChar(e,r,t,a,n,o,s,u,l){var h=o,f=this.measureText(e,u);u===" "&&r==="justify"&&t-1&&(h+=this.getLetterSpacingAt(l));var v=this.textHeight/20,c=this.getEquidistantPointOnPath(h,v,0),g=this.getEquidistantPointOnPath(h+f,v,0),p={p0:c,p1:g},y=c&&g?Math.atan2(g.y-c.y,g.x-c.x):0;if(s){var m=Math.cos(Math.PI/2+y)*s,T=Math.cos(-y)*s;p.p0=ai(ai({},c),{},{x:c.x+m,y:c.y+T}),p.p1=ai(ai({},g),{},{x:g.x+m,y:g.y+T})}return h+=f,{offset:h,segment:p,rotation:y}}measureText(e,r){var{measuresCache:t}=this,a=r||this.getText();if(t.has(a))return t.get(a);var n=this.measureTargetText(e,a);return t.set(a,n),n}setTextData(e){if(!this.glyphInfo){var r=this.getText(),t=r.split(""),a=r.split(" ").length-1,n=this.parent.getAttribute("dx").split().map(O=>O.getPixels("x")),o=this.parent.getAttribute("dy").getPixels("y"),s=this.parent.getStyle("text-anchor").getString("start"),u=this.getStyle("letter-spacing"),l=this.parent.getStyle("letter-spacing"),h=0;!u.hasValue()||u.getValue()==="inherit"?h=l.getPixels():u.hasValue()&&u.getValue()!=="initial"&&u.getValue()!=="unset"&&(h=u.getPixels());var f=[],v=r.length;this.letterSpacingCache=f;for(var c=0;cC===0?0:O+E||0,0),p=this.measureText(e),y=Math.max(p+g,0);this.textWidth=p,this.textHeight=this.getFontSize(),this.glyphInfo=[];var m=this.getPathLength(),T=this.getStyle("startOffset").getNumber(0)*m,x=0;(s==="middle"||s==="center")&&(x=-y/2),(s==="end"||s==="right")&&(x=-y),x+=T,t.forEach((O,E)=>{var{offset:C,segment:S,rotation:A}=this.findSegmentToFitChar(e,s,y,m,a,x,o,O,E);x=C,!(!S.p0||!S.p1)&&this.glyphInfo.push({text:t[E],p0:S.p0,p1:S.p1,rotation:A})})}}parsePathData(e){if(this.pathLength=-1,!e)return[];var r=[],{pathParser:t}=e;for(t.reset();!t.isEnd();){var{current:a}=t,n=a?a.x:0,o=a?a.y:0,s=t.next(),u=s.type,l=[];switch(s.type){case q.MOVE_TO:this.pathM(t,l);break;case q.LINE_TO:u=this.pathL(t,l);break;case q.HORIZ_LINE_TO:u=this.pathH(t,l);break;case q.VERT_LINE_TO:u=this.pathV(t,l);break;case q.CURVE_TO:this.pathC(t,l);break;case q.SMOOTH_CURVE_TO:u=this.pathS(t,l);break;case q.QUAD_TO:this.pathQ(t,l);break;case q.SMOOTH_QUAD_TO:u=this.pathT(t,l);break;case q.ARC:l=this.pathA(t);break;case q.CLOSE_PATH:F.pathZ(t);break}s.type!==q.CLOSE_PATH?r.push({type:u,points:l,start:{x:n,y:o},pathLength:this.calcLength(n,o,u,l)}):r.push({type:q.CLOSE_PATH,points:[],pathLength:0})}return r}pathM(e,r){var{x:t,y:a}=F.pathM(e).point;r.push(t,a)}pathL(e,r){var{x:t,y:a}=F.pathL(e).point;return r.push(t,a),q.LINE_TO}pathH(e,r){var{x:t,y:a}=F.pathH(e).point;return r.push(t,a),q.LINE_TO}pathV(e,r){var{x:t,y:a}=F.pathV(e).point;return r.push(t,a),q.LINE_TO}pathC(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathC(e);r.push(t.x,t.y,a.x,a.y,n.x,n.y)}pathS(e,r){var{point:t,controlPoint:a,currentPoint:n}=F.pathS(e);return r.push(t.x,t.y,a.x,a.y,n.x,n.y),q.CURVE_TO}pathQ(e,r){var{controlPoint:t,currentPoint:a}=F.pathQ(e);r.push(t.x,t.y,a.x,a.y)}pathT(e,r){var{controlPoint:t,currentPoint:a}=F.pathT(e);return r.push(t.x,t.y,a.x,a.y),q.QUAD_TO}pathA(e){var{rX:r,rY:t,sweepFlag:a,xAxisRotation:n,centp:o,a1:s,ad:u}=F.pathA(e);return a===0&&u>0&&(u-=2*Math.PI),a===1&&u<0&&(u+=2*Math.PI),[o.x,o.y,r,t,s,u,n,a]}calcLength(e,r,t,a){var n=0,o=null,s=null,u=0;switch(t){case q.LINE_TO:return this.getLineLength(e,r,a[0],a[1]);case q.CURVE_TO:for(n=0,o=this.getPointOnCubicBezier(0,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),u=.01;u<=1;u+=.01)s=this.getPointOnCubicBezier(u,e,r,a[0],a[1],a[2],a[3],a[4],a[5]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.QUAD_TO:for(n=0,o=this.getPointOnQuadraticBezier(0,e,r,a[0],a[1],a[2],a[3]),u=.01;u<=1;u+=.01)s=this.getPointOnQuadraticBezier(u,e,r,a[0],a[1],a[2],a[3]),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;return n;case q.ARC:{n=0;var l=a[4],h=a[5],f=a[4]+h,v=Math.PI/180;if(Math.abs(l-f)f;u-=v)s=this.getPointOnEllipticalArc(a[0],a[1],a[2],a[3],u,0),n+=this.getLineLength(o.x,o.y,s.x,s.y),o=s;else for(u=l+v;u5&&arguments[5]!==void 0?arguments[5]:r,s=arguments.length>6&&arguments[6]!==void 0?arguments[6]:t,u=(n-t)/(a-r+dr),l=Math.sqrt(e*e/(1+u*u));ar)return null;var{dataArray:n}=this;for(var o of n){if(o&&(o.pathLength<5e-5||t+o.pathLength+5e-5=0&&u>f)break;a=this.getPointOnEllipticalArc(o.points[0],o.points[1],o.points[2],o.points[3],u,o.points[6]);break}case q.CURVE_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnCubicBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3],o.points[4],o.points[5]);break;case q.QUAD_TO:u=s/o.pathLength,u>1&&(u=1),a=this.getPointOnQuadraticBezier(u,o.start.x,o.start.y,o.points[0],o.points[1],o.points[2],o.points[3]);break}if(a)return a;break}return null}getLineLength(e,r,t,a){return Math.sqrt((t-e)*(t-e)+(a-r)*(a-r))}getPathLength(){return this.pathLength===-1&&(this.pathLength=this.dataArray.reduce((e,r)=>r.pathLength>0?e+r.pathLength:e,0)),this.pathLength}getPointOnCubicBezier(e,r,t,a,n,o,s,u,l){var h=u*Jv(e)+o*eg(e)+a*rg(e)+r*tg(e),f=l*Jv(e)+s*eg(e)+n*rg(e)+t*tg(e);return{x:h,y:f}}getPointOnQuadraticBezier(e,r,t,a,n,o,s){var u=o*ig(e)+a*ag(e)+r*ng(e),l=s*ig(e)+n*ag(e)+t*ng(e);return{x:u,y:l}}getPointOnEllipticalArc(e,r,t,a,n,o){var s=Math.cos(o),u=Math.sin(o),l={x:t*Math.cos(n),y:a*Math.sin(n)};return{x:e+(l.x*s-l.y*u),y:r+(l.x*u+l.y*s)}}buildEquidistantCache(e,r){var t=this.getPathLength(),a=r||.25,n=e||t/100;if(!this.equidistantCache||this.equidistantCache.step!==n||this.equidistantCache.precision!==a){this.equidistantCache={step:n,precision:a,points:[]};for(var o=0,s=0;s<=t;s+=a){var u=this.getPointOnPath(s),l=this.getPointOnPath(s+a);!u||!l||(o+=this.getLineLength(u.x,u.y,l.x,l.y),o>=n&&(this.equidistantCache.points.push({x:u.x,y:u.y,distance:s}),o-=n))}}}getEquidistantPointOnPath(e,r,t){if(this.buildEquidistantCache(r,t),e<0||e-this.getPathLength()>5e-5)return null;var a=Math.round(e/this.getPathLength()*(this.equidistantCache.points.length-1));return this.equidistantCache.points[a]||null}},hO=/^\s*data:(([^/,;]+\/[^/,;]+)(?:;([^,;=]+=[^,;=]+))?)?(?:;(base64))?,(.*)$/i,ps=class extends Ce{constructor(e,r,t){super(e,r,t),this.type="image",this.loaded=!1;var a=this.getHrefAttribute().getString();if(a){var n=a.endsWith(".svg")||/^\s*data:image\/svg\+xml/i.test(a);e.images.push(this),n?this.loadSvg(a):this.loadImage(a),this.isSvg=n}}loadImage(e){var r=this;return xe(function*(){try{var t=yield r.document.createImage(e);r.image=t}catch(a){console.error('Error while loading image "'.concat(e,'":'),a)}r.loaded=!0})()}loadSvg(e){var r=this;return xe(function*(){var t=hO.exec(e);if(t){var a=t[5];t[4]==="base64"?r.image=atob(a):r.image=decodeURIComponent(a)}else try{var n=yield r.document.fetch(e),o=yield n.text();r.image=o}catch(s){console.error('Error while loading image "'.concat(e,'":'),s)}r.loaded=!0})()}renderChildren(e){var{document:r,image:t,loaded:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!(!a||!t||!s||!u)){if(e.save(),e.translate(n,o),this.isSvg){var l=r.canvg.forkString(e,this.image,{ignoreMouse:!0,ignoreAnimation:!0,ignoreDimensions:!0,ignoreClear:!0,offsetX:0,offsetY:0,scaleWidth:s,scaleHeight:u});l.document.documentElement.parent=this,l.render()}else{var h=this.image;r.setViewBox({ctx:e,aspectRatio:this.getAttribute("preserveAspectRatio").getString(),width:s,desiredWidth:h.width,height:u,desiredHeight:h.height}),this.loaded&&(typeof h.complete>"u"||h.complete)&&e.drawImage(h,0,0)}e.restore()}}getBoundingBox(){var e=this.getAttribute("x").getPixels("x"),r=this.getAttribute("y").getPixels("y"),t=this.getStyle("width").getPixels("x"),a=this.getStyle("height").getPixels("y");return new oe(e,r,e+t,r+a)}},ys=class extends Ce{constructor(){super(...arguments),this.type="symbol"}render(e){}},ms=class{constructor(e){this.document=e,this.loaded=!1,e.fonts.push(this)}load(e,r){var t=this;return xe(function*(){try{var{document:a}=t,n=yield a.canvg.parser.load(r),o=n.getElementsByTagName("font");Array.from(o).forEach(s=>{var u=a.createElement(s);a.definitions[e]=u})}catch(s){console.error('Error while loading font "'.concat(r,'":'),s)}t.loaded=!0})()}},cO=(()=>{class i extends B{constructor(r,t,a){super(r,t,a),this.type="style";var n=yr(Array.from(t.childNodes).map(s=>s.textContent).join("").replace(/(\/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+\/)|(^[\s]*\/\/.*)/gm,"").replace(/@import.*;/g,"")),o=n.split("}");o.forEach(s=>{var u=s.trim();if(u){var l=u.split("{"),h=l[0].split(","),f=l[1].split(";");h.forEach(v=>{var c=v.trim();if(c){var g=r.styles[c]||{};if(f.forEach(m=>{var T=m.indexOf(":"),x=m.substr(0,T).trim(),O=m.substr(T+1,m.length-T).trim();x&&O&&(g[x]=new w(r,x,O))}),r.styles[c]=g,r.stylesSpecificity[c]=rO(c),c==="@font-face"){var p=g["font-family"].getString().replace(/"|'/g,""),y=g.src.getString().split(",");y.forEach(m=>{if(m.indexOf('format("svg")')>0){var T=Qv(m);T&&new ms(r).load(p,T)}})}}})}})}}return i.parseExternalUrl=Qv,i})(),bs=class extends Ce{constructor(){super(...arguments),this.type="use"}setContext(e){super.setContext(e);var r=this.getAttribute("x"),t=this.getAttribute("y");r.hasValue()&&e.translate(r.getPixels("x"),0),t.hasValue()&&e.translate(0,t.getPixels("y"))}path(e){var{element:r}=this;r&&r.path(e)}renderChildren(e){var{document:r,element:t}=this;if(t){var a=t;if(t.type==="symbol"&&(a=new Ge(r,null),a.attributes.viewBox=new w(r,"viewBox",t.getAttribute("viewBox").getString()),a.attributes.preserveAspectRatio=new w(r,"preserveAspectRatio",t.getAttribute("preserveAspectRatio").getString()),a.attributes.overflow=new w(r,"overflow",t.getAttribute("overflow").getString()),a.children=t.children,t.styles.opacity=new w(r,"opacity",this.calculateOpacity())),a.type==="svg"){var n=this.getStyle("width",!1,!0),o=this.getStyle("height",!1,!0);n.hasValue()&&(a.attributes.width=new w(r,"width",n.getString())),o.hasValue()&&(a.attributes.height=new w(r,"height",o.getString()))}var s=a.parent;a.parent=this,a.render(e),a.parent=s}}getBoundingBox(e){var{element:r}=this;return r?r.getBoundingBox(e):null}elementTransform(){var{document:e,element:r}=this;return As.fromElement(e,r)}get element(){return this.cachedElement||(this.cachedElement=this.getHrefAttribute().getDefinition()),this.cachedElement}};function ni(i,e,r,t,a,n){return i[r*t*4+e*4+n]}function si(i,e,r,t,a,n,o){i[r*t*4+e*4+n]=o}function j(i,e,r){var t=i[e];return t*r}function we(i,e,r,t){return e+Math.cos(i)*r+Math.sin(i)*t}var pi=class extends B{constructor(e,r,t){super(e,r,t),this.type="feColorMatrix";var a=se(this.getAttribute("values").getString());switch(this.getAttribute("type").getString("matrix")){case"saturate":{var n=a[0];a=[.213+.787*n,.715-.715*n,.072-.072*n,0,0,.213-.213*n,.715+.285*n,.072-.072*n,0,0,.213-.213*n,.715-.715*n,.072+.928*n,0,0,0,0,0,1,0,0,0,0,0,1];break}case"hueRotate":{var o=a[0]*Math.PI/180;a=[we(o,.213,.787,-.213),we(o,.715,-.715,-.715),we(o,.072,-.072,.928),0,0,we(o,.213,-.213,.143),we(o,.715,.285,.14),we(o,.072,-.072,-.283),0,0,we(o,.213,-.213,-.787),we(o,.715,-.715,.715),we(o,.072,.928,.072),0,0,0,0,0,1,0,0,0,0,0,1];break}case"luminanceToAlpha":a=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.2125,.7154,.0721,0,0,0,0,0,0,1];break}this.matrix=a,this.includeOpacity=this.getAttribute("includeOpacity").hasValue()}apply(e,r,t,a,n){for(var{includeOpacity:o,matrix:s}=this,u=e.getImageData(0,0,a,n),l=0;l{class i extends B{constructor(){super(...arguments),this.type="mask"}apply(r,t){var{document:a}=this,n=this.getAttribute("x").getPixels("x"),o=this.getAttribute("y").getPixels("y"),s=this.getStyle("width").getPixels("x"),u=this.getStyle("height").getPixels("y");if(!s&&!u){var l=new oe;this.children.forEach(p=>{l.addBoundingBox(p.getBoundingBox(r))}),n=Math.floor(l.x1),o=Math.floor(l.y1),s=Math.floor(l.width),u=Math.floor(l.height)}var h=this.removeStyles(t,i.ignoreStyles),f=a.createCanvas(n+s,o+u),v=f.getContext("2d");a.screen.setDefaults(v),this.renderChildren(v),new pi(a,{nodeType:1,childNodes:[],attributes:[{nodeName:"type",value:"luminanceToAlpha"},{nodeName:"includeOpacity",value:"true"}]}).apply(v,0,0,n+s,o+u);var c=a.createCanvas(n+s,o+u),g=c.getContext("2d");a.screen.setDefaults(g),t.render(g),g.globalCompositeOperation="destination-in",g.fillStyle=v.createPattern(f,"no-repeat"),g.fillRect(0,0,n+s,o+u),r.fillStyle=g.createPattern(c,"no-repeat"),r.fillRect(0,0,n+s,o+u),this.restoreStyles(t,h)}render(r){}}return i.ignoreStyles=["mask","transform","clip-path"],i})(),lg=()=>{},xs=class extends B{constructor(){super(...arguments),this.type="clipPath"}apply(e){var{document:r}=this,t=Reflect.getPrototypeOf(e),{beginPath:a,closePath:n}=e;t&&(t.beginPath=lg,t.closePath=lg),Reflect.apply(a,e,[]),this.children.forEach(o=>{if(!(typeof o.path>"u")){var s=typeof o.elementTransform<"u"?o.elementTransform():null;s||(s=As.fromElement(r,o)),s&&s.apply(e),o.path(e),t&&(t.closePath=n),s&&s.unapply(e)}}),Reflect.apply(n,e,[]),e.clip(),t&&(t.beginPath=a,t.closePath=n)}render(e){}},vO=(()=>{class i extends B{constructor(){super(...arguments),this.type="filter"}apply(r,t){var{document:a,children:n}=this,o=t.getBoundingBox(r);if(o){var s=0,u=0;n.forEach(T=>{var x=T.extraFilterDistance||0;s=Math.max(s,x),u=Math.max(u,x)});var l=Math.floor(o.width),h=Math.floor(o.height),f=l+2*s,v=h+2*u;if(!(f<1||v<1)){var c=Math.floor(o.x),g=Math.floor(o.y),p=this.removeStyles(t,i.ignoreStyles),y=a.createCanvas(f,v),m=y.getContext("2d");a.screen.setDefaults(m),m.translate(-c+s,-g+u),t.render(m),n.forEach(T=>{typeof T.apply=="function"&&T.apply(m,0,0,f,v)}),r.drawImage(y,0,0,f,v,c-s,g-u,f,v),this.restoreStyles(t,p)}}}render(r){}}return i.ignoreStyles=["filter","transform","clip-path"],i})(),Ts=class extends B{constructor(e,r,t){super(e,r,t),this.type="feDropShadow",this.addStylesFromStyleDefinition()}apply(e,r,t,a,n){}},Os=class extends B{constructor(){super(...arguments),this.type="feMorphology"}apply(e,r,t,a,n){}},Ss=class extends B{constructor(){super(...arguments),this.type="feComposite"}apply(e,r,t,a,n){}},Es=class extends B{constructor(e,r,t){super(e,r,t),this.type="feGaussianBlur",this.blurRadius=Math.floor(this.getAttribute("stdDeviation").getNumber()),this.extraFilterDistance=this.blurRadius}apply(e,r,t,a,n){var{document:o,blurRadius:s}=this,u=o.window?o.window.document.body:null,l=e.canvas;l.id=o.getUniqueId(),u&&(l.style.display="none",u.appendChild(l)),Wv(l,r,t,a,n,s),u&&u.removeChild(l)}},ws=class extends B{constructor(){super(...arguments),this.type="title"}},Cs=class extends B{constructor(){super(...arguments),this.type="desc"}},gO={svg:Ge,rect:vi,circle:Zn,ellipse:Jn,line:es,polyline:gi,polygon:rs,path:F,pattern:ts,marker:is,defs:as,linearGradient:ns,radialGradient:ss,stop:os,animate:Qr,animateColor:us,animateTransform:ls,font:hs,"font-face":cs,"missing-glyph":fs,glyph:ci,text:He,tspan:fi,tref:vs,a:gs,textPath:ds,image:ps,g:Wr,symbol:ys,style:cO,use:bs,mask:fO,clipPath:xs,filter:vO,feDropShadow:Ts,feMorphology:Os,feComposite:Ss,feColorMatrix:pi,feGaussianBlur:Es,title:ws,desc:Cs};function hg(i,e){var r=Object.keys(i);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(i);e&&(t=t.filter(function(a){return Object.getOwnPropertyDescriptor(i,a).enumerable})),r.push.apply(r,t)}return r}function dO(i){for(var e=1;e