From 01abff3054c3774b9d0496739bbfbc1841595736 Mon Sep 17 00:00:00 2001 From: Pop John Date: Thu, 24 Oct 2024 20:36:56 +0300 Subject: [PATCH] rebuild app --- frontend/server/modelsmith-build/browser/chunk-4TBXUE4Q.js | 1 - frontend/server/modelsmith-build/browser/chunk-572IZ672.js | 1 - frontend/server/modelsmith-build/browser/chunk-6DYG67KU.js | 1 + .../browser/{chunk-666IVLAB.js => chunk-ACFRFOTT.js} | 2 +- .../browser/{chunk-MEWVE3KA.js => chunk-GU6QGHQ6.js} | 2 +- frontend/server/modelsmith-build/browser/chunk-GYTTCMYG.js | 1 + .../browser/{chunk-4U6LNT5Y.js => chunk-IG2F6LQR.js} | 2 +- .../browser/{chunk-S6LLWZTQ.js => chunk-IWNWWHR2.js} | 2 +- .../browser/{chunk-GA7FJHQG.js => chunk-JIVTEK4P.js} | 2 +- frontend/server/modelsmith-build/browser/chunk-JLPHX76X.js | 1 + .../browser/{chunk-P735PSGD.js => chunk-KARKM4NW.js} | 2 +- .../browser/{chunk-PKD4Y463.js => chunk-KLXF22V6.js} | 2 +- .../browser/{chunk-2LRAK75P.js => chunk-KWLNQCA6.js} | 2 +- .../browser/{chunk-2XICAOUA.js => chunk-OHPNN2ZF.js} | 2 +- .../browser/{chunk-DZVKHAZU.js => chunk-P2CUAPHG.js} | 2 +- .../browser/{chunk-J5LLRHIR.js => chunk-RVUR74XF.js} | 2 +- .../browser/{chunk-WX5VBQ6J.js => chunk-TNFH2H5N.js} | 2 +- .../browser/{chunk-FNUDZPJE.js => chunk-TTKDIG3U.js} | 2 +- frontend/server/modelsmith-build/browser/chunk-WNZTCIQC.js | 1 - frontend/server/modelsmith-build/browser/index.html | 4 ++-- .../browser/{main-GWOAM5HF.js => main-FCCQC4JE.js} | 2 +- .../browser/{styles-YWQUSFK6.css => styles-WVA6NT4X.css} | 2 +- 22 files changed, 20 insertions(+), 20 deletions(-) delete mode 100644 frontend/server/modelsmith-build/browser/chunk-4TBXUE4Q.js delete mode 100644 frontend/server/modelsmith-build/browser/chunk-572IZ672.js create mode 100644 frontend/server/modelsmith-build/browser/chunk-6DYG67KU.js rename frontend/server/modelsmith-build/browser/{chunk-666IVLAB.js => chunk-ACFRFOTT.js} (87%) rename frontend/server/modelsmith-build/browser/{chunk-MEWVE3KA.js => chunk-GU6QGHQ6.js} (98%) create mode 100644 frontend/server/modelsmith-build/browser/chunk-GYTTCMYG.js rename frontend/server/modelsmith-build/browser/{chunk-4U6LNT5Y.js => chunk-IG2F6LQR.js} (99%) rename frontend/server/modelsmith-build/browser/{chunk-S6LLWZTQ.js => chunk-IWNWWHR2.js} (87%) rename frontend/server/modelsmith-build/browser/{chunk-GA7FJHQG.js => chunk-JIVTEK4P.js} (86%) create mode 100644 frontend/server/modelsmith-build/browser/chunk-JLPHX76X.js rename frontend/server/modelsmith-build/browser/{chunk-P735PSGD.js => chunk-KARKM4NW.js} (95%) rename frontend/server/modelsmith-build/browser/{chunk-PKD4Y463.js => chunk-KLXF22V6.js} (99%) rename frontend/server/modelsmith-build/browser/{chunk-2LRAK75P.js => chunk-KWLNQCA6.js} (87%) rename frontend/server/modelsmith-build/browser/{chunk-2XICAOUA.js => chunk-OHPNN2ZF.js} (93%) rename frontend/server/modelsmith-build/browser/{chunk-DZVKHAZU.js => chunk-P2CUAPHG.js} (94%) rename frontend/server/modelsmith-build/browser/{chunk-J5LLRHIR.js => chunk-RVUR74XF.js} (79%) rename frontend/server/modelsmith-build/browser/{chunk-WX5VBQ6J.js => chunk-TNFH2H5N.js} (98%) rename frontend/server/modelsmith-build/browser/{chunk-FNUDZPJE.js => chunk-TTKDIG3U.js} (97%) delete mode 100644 frontend/server/modelsmith-build/browser/chunk-WNZTCIQC.js rename frontend/server/modelsmith-build/browser/{main-GWOAM5HF.js => main-FCCQC4JE.js} (99%) rename frontend/server/modelsmith-build/browser/{styles-YWQUSFK6.css => styles-WVA6NT4X.css} (91%) diff --git a/frontend/server/modelsmith-build/browser/chunk-4TBXUE4Q.js b/frontend/server/modelsmith-build/browser/chunk-4TBXUE4Q.js deleted file mode 100644 index dab0436..0000000 --- a/frontend/server/modelsmith-build/browser/chunk-4TBXUE4Q.js +++ /dev/null @@ -1 +0,0 @@ -import{a as h,b as V}from"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import{b as v,c as b}from"./chunk-572IZ672.js";import"./chunk-3IJULEGV.js";import{a as F}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as c,Ab as M,Da as T,Ea as u,Ra as f,Zb as D,ab as m,bb as d,fb as g,ga as _,ib as w,oa as t,p,pa as n,sb as i,tb as C}from"./chunk-DL2LTWBU.js";var r,x=(r=class{constructor(s){this.dialogRef=s}closeDialog(){this.dialogRef.close()}},r.\u0275fac=function(a){return new(a||r)(u(v))},r.\u0275cmp=_({type:r,selectors:[["ms-terminal-fullscreen-dialog"]],standalone:!0,features:[M],decls:8,vars:1,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch","exitFullscreen","isFullscreen"]],template:function(a,y){if(a&1){let o=g();c(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3),C(4,"Terminal"),m(),c(5,"ms-terminal-toolbar",4),w("clearTerminal",function(){t(o);let e=i(7);return n(e.clearTerminal())})("scrollToTopTerminal",function(){t(o);let e=i(7);return n(e.scrollToTop())})("scrollToBottomTerminal",function(){t(o);let e=i(7);return n(e.scrollToBottom())})("searchTerminal",function(e){t(o);let O=i(7);return n(O.search(e))})("disposeSearch",function(){t(o);let e=i(7);return n(e.clearSearch())})("exitFullscreen",function(){return t(o),n(y.closeDialog())}),m()(),d(6,"ms-terminal-xterm",null,0),m()()}a&2&&(T(5),f("isFullscreen",!0))},dependencies:[D,b,V,h],styles:[".ms-terminal-wrapper[_ngcontent-%COMP%]{overflow-x:auto}.ms-terminal-wrapper[_ngcontent-%COMP%] .terminal-wrapper[_ngcontent-%COMP%]{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%]{overflow-y:auto!important}.ms-terminal-wrapper[_ngcontent-%COMP%] .top-terminal-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r);x=p([F({})],x);export{x as MsTerminalFullscreenDialogComponent}; diff --git a/frontend/server/modelsmith-build/browser/chunk-572IZ672.js b/frontend/server/modelsmith-build/browser/chunk-572IZ672.js deleted file mode 100644 index 75c41a1..0000000 --- a/frontend/server/modelsmith-build/browser/chunk-572IZ672.js +++ /dev/null @@ -1 +0,0 @@ -import{a as J,b as Q}from"./chunk-QJ55TOIV.js";import{b as nt,s as it}from"./chunk-CYUWMGXJ.js";import{$ as B,$a as r,Ab as K,Ba as R,Da as a,Ea as y,Eb as N,Gb as W,Hb as E,Pa as m,Ra as g,Ub as $,Vb as X,Xa as u,Z as j,Zb as q,a as w,ab as l,ba as S,bb as F,eb as O,fb as h,ga as L,ib as _,j as P,ja as H,kb as s,lb as z,mb as G,oa as f,p as A,pa as C,qe as Y,sb as M,se as Z,tb as D,te as tt,ua as x,ub as U,vb as k,ve as et,we as ot,xa as V}from"./chunk-DL2LTWBU.js";var b=new B("DIALOG_DATA");var p=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new P}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};function v(t,e){let o={};return t&&at(o,t,"width"),e&&at(o,e,"height"),o}function at(t,e,o){let n=_t(e);n==="px"||n==="rem"||n==="em"?t[`${o}.${n}`]=parseFloat(e):t[o]=e}function _t(t){let o=(typeof t=="string"?t:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"}var d=function(t){return t.OPEN="open",t.DISMISS="dismiss",t.SAVE="save",t.CLOSE="close",t}(d||{});var lt=(()=>{let e=class e{transform(n,i){return v(n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=H({name:"dialogSizeStyles",type:e,pure:!0,standalone:!0});let t=e;return t})();var ft=["*"];function Ct(t,e){t&1&&O(0)}function xt(t,e){if(t&1){let o=h();r(0,"div",7)(1,"div",8),D(2),l(),r(3,"div",9)(4,"button",10),_("click",function(){f(o);let i=s(2);return C(i.onDismiss())}),F(5,"mat-icon",11),l()()()}if(t&2){let o=s(2);a(2),U(o.data.title)}}function ht(t,e){if(t&1&&(r(0,"div",3),m(1,Ct,1,0,"ng-container",6)(2,xt,6,1,"ng-template",null,0,E),l()),t&2){let o=M(3),n=s();a(),g("ngTemplateOutlet",n.headerTemplate||o)}}function Dt(t,e){t&1&&O(0)}function bt(t,e){if(t&1){let o=h();r(0,"button",15),_("click",function(){f(o);let i=s(3);return C(i.onClose())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isDismissDisabled),a(),k(" ",o.data.closeButtonLabel," ")}}function vt(t,e){if(t&1){let o=h();r(0,"button",16),_("click",function(){f(o);let i=s(3);return C(i.onSave())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isSaveDisabled),a(),k(" ",o.data.saveButtonLabel," ")}}function wt(t,e){if(t&1&&(r(0,"div",12),m(1,bt,2,2,"button",13)(2,vt,2,2,"button",14),l()),t&2){let o=s(2);a(),u(o.data.showCloseButton?1:-1),a(),u(o.data.showSaveButton?2:-1)}}function St(t,e){if(t&1&&(r(0,"div",5),m(1,Dt,1,0,"ng-container",6)(2,wt,3,2,"ng-template",null,1,E),l()),t&2){let o=M(3),n=s();a(),g("ngTemplateOutlet",n.actionsTemplate||o)}}var c,st=(c=class{constructor(e,o){this.dialogRef=e,this.data=o,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.closeDialogOnBackdropClick=!0,this.closeDialogOnEscKeyUp=!0,this.actionEvent=new V,this.closeDrawerOnBackdropClick()}get dialogSizeStyles(){return v(this.data.width,this.data.height)}onClose(){this.actionEvent.emit(d.CLOSE),this.dialogRef.close({status:d.CLOSE})}onSave(){this.actionEvent.emit(d.SAVE)}onDismiss(){this.actionEvent.emit(d.DISMISS),this.dialogRef.close({status:d.DISMISS})}closeDrawerOnBackdropClick(){this.closeDialogOnBackdropClick&&this.dialogRef.backdropClick().pipe(Q(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.closeDialogOnEscKeyUp&&this.onDismiss()}},c.\u0275fac=function(o){return new(o||c)(y(p),y(b))},c.\u0275cmp=L({type:c,selectors:[["ms-dialog"]],hostBindings:function(o,n){o&1&&_("keyup.esc",function(){return n.onEscKeyDown()},!1,R)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled",closeDialogOnBackdropClick:"closeDialogOnBackdropClick",closeDialogOnEscKeyUp:"closeDialogOnEscKeyUp"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[K],ngContentSelectors:ft,decls:6,vars:6,consts:[["defaultDialogHeader",""],["defaultDialogActions",""],[1,"dialog-wrapper",3,"ngStyle"],[1,"dialog-header"],[1,"dialog-content"],[1,"dialog-actions"],[4,"ngTemplateOutlet"],[1,"dialog-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(o,n){o&1&&(z(),r(0,"div",2),N(1,"dialogSizeStyles"),m(2,ht,4,1,"div",3),r(3,"div",4),G(4),l(),m(5,St,4,1,"div",5),l()),o&2&&(g("ngStyle",W(1,3,n.data.width,n.data.height)),a(2),u(n.data.showHeader?2:-1),a(3),u(n.data.showFooter?5:-1))},dependencies:[q,X,$,tt,Y,Z,ot,et,lt],styles:[".dialog-wrapper[_ngcontent-%COMP%]{width:inherit;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header[_ngcontent-%COMP%]{min-height:60px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:24px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:16px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:16px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),c);st=A([J()],st);var ct="1024px",pt="400px";var ae=(()=>{let e=class e{constructor(n,i){this.overlay=n,this.injector=i}open(n,i){let dt=this.overlay.position().global().centerHorizontally().centerVertically(),T=this.overlay.create(w({positionStrategy:dt,hasBackdrop:!0,backdropClass:"dialog-backdrop"},i)),I=new p(T),mt=x.create({parent:this.injector,providers:[{provide:p,useValue:I},{provide:b,useValue:w({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,showHeader:!0,showFooter:!0,width:i?.width||ct,height:i?.height||pt},i)}]}),gt=new nt(n,null,mt);return T.attach(gt),I}};e.\u0275fac=function(i){return new(i||e)(S(it),S(x))},e.\u0275prov=j({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,p as b,st as c,ae as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-6DYG67KU.js b/frontend/server/modelsmith-build/browser/chunk-6DYG67KU.js new file mode 100644 index 0000000..74ca7cd --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-6DYG67KU.js @@ -0,0 +1 @@ +import{a as We,b as $}from"./chunk-HOFUFSNV.js";import{b as ze}from"./chunk-LRK34XDC.js";import{i as Ue}from"./chunk-2CKK74GJ.js";import{a as rt,b as nt,c as st}from"./chunk-VLO6NL53.js";import{a as Re,b as Be}from"./chunk-GWFXRHCV.js";import{c as Xe}from"./chunk-XX6ZYDLH.js";import{d as Ye}from"./chunk-GYTTCMYG.js";import{a as He,b as G}from"./chunk-3IJULEGV.js";import{a as M,b as p}from"./chunk-QJ55TOIV.js";import{b as je,s as Ve}from"./chunk-CYUWMGXJ.js";import{a as ke,d as xe,h as Ie,i as Y,j as Ae,k as N}from"./chunk-HULQWYRR.js";import{$ as se,$a as n,Ab as C,Ba as ce,D as re,Da as w,Ea as s,Eb as be,Gb as Te,I as ne,J as j,Ra as F,Rb as ge,Ub as ye,Xd as Fe,Z as V,Zb as _,a as k,ab as l,ae as Ce,ba as x,bb as c,be as Me,ce as we,e as Z,ee as De,f as ee,fb as me,ga as T,ia as ae,ib as m,ie as Pe,j as te,ja as le,lb as pe,le as Ee,mb as fe,ne as _e,oa as g,oe as Oe,p as b,pa as y,pb as ue,pe as z,qb as de,rb as he,sb as ve,se as X,tb as E,te as U,ua as R,ub as Se,ve as W,wa as B,we as L,xa as f,zb as H}from"./chunk-DL2LTWBU.js";var Ne=Z(rt()),Ge=Z(nt()),$e=Z(st());var lt=["terminal"],u,Le=(u=class{constructor(e){this.terminalWebSocketService=e,this.fitAddon=new Ne.FitAddon,this.searchAddon=new Ge.SearchAddon}ngOnInit(){this.initializeTerminal(),this.subscribeToWebSocketMessages()}ngAfterViewInit(){requestAnimationFrame(()=>{this.adjustTerminalContainer()})}initializeTerminal(){this.terminal=new $e.Terminal(k({cursorBlink:!0,theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000",selectionBackground:"#FFDD00",selectionForeground:"#000000"},allowProposedApi:!0},this.options)),this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalDiv.nativeElement),this.setupResizeObserver(),this.terminal.onData(e=>{this.terminalWebSocketService.sendMessage(e)})}subscribeToWebSocketMessages(){this.terminalWebSocketService.messages$.pipe(p(this)).subscribe(e=>{this.terminal.write(e)})}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>{this.adjustTerminalContainer()}),this.resizeObserver.observe(this.terminalDiv.nativeElement)}adjustTerminalContainer(){this.adjustHeightToParent(),this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){this.terminalDiv.nativeElement.style.height="auto";let i=e.offsetHeight-100;this.terminalDiv.nativeElement.style.height=`${i}px`}}ngOnDestroy(){this.resizeObserver?.disconnect(),this.terminal.dispose()}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}clearSearch(){this.searchAddon.clearDecorations()}clearTerminal(){this.terminal.clear()}scrollToTop(){this.terminal.scrollToTop()}scrollToBottom(){this.terminal.scrollToBottom()}},u.\u0275fac=function(o){return new(o||u)(s($))},u.\u0275cmp=T({type:u,selectors:[["ms-terminal-xterm"]],viewQuery:function(o,t){if(o&1&&ue(lt,7),o&2){let i;de(i=he())&&(t.terminalDiv=i.first)}},inputs:{options:"options"},standalone:!0,features:[H([G,We]),C],decls:2,vars:0,consts:[["terminal",""],[1,"terminal-wrapper"]],template:function(o,t){o&1&&c(0,"div",1,0)}}),u);Le=b([M({})],Le);var d=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new te,this.dataSubject=new te,this.data$=this.dataSubject.asObservable()}emitData(e){this.dataSubject.next(e)}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete(),this.dataSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var O=new se("POPOVER");var Ke="200px",Qe="80px",oe="top";var K=(()=>{let e=class e{constructor(t,i){this.overlay=t,this.injector=i}open(t,i,a){let I=this.getPositionStrategy(i,a?.position??oe),A=this.overlay.create(k({positionStrategy:I},a||{})),ie=new d(A),ot=R.create({parent:this.injector,providers:[{provide:d,useValue:ie},{provide:O,useValue:k({position:oe,closePopoverOnBackdropClick:!1,closePopoverOnEscKeyUp:!0,width:a?.width||Ke,height:a?.height||Qe},a)}]}),it=new je(t,null,ot);return A.attach(it),ie}getPositionStrategy(t,i){let a=t instanceof B?t.nativeElement:t,A={top:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",offsetY:-24,offsetX:-9},bottom:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",offsetY:4,offsetX:-7},left:{originX:"start",originY:"center",overlayX:"end",overlayY:"center",offsetX:-22,offsetY:-12},right:{originX:"end",originY:"center",overlayX:"start",overlayY:"center",offsetX:8,offsetY:-10}}[i];return this.overlay.position().flexibleConnectedTo(a).withFlexibleDimensions(!1).withPush(!1).withPositions([A])}};e.\u0275fac=function(i){return new(i||e)(x(Ve),x(R))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})();var qe=(()=>{let e=class e{constructor(t){this.el=t}ngAfterViewInit(){setTimeout(()=>{this.el.nativeElement.focus()},0)}};e.\u0275fac=function(i){return new(i||e)(s(B))},e.\u0275dir=ae({type:e,selectors:[["","msAutofocus",""]],standalone:!0});let r=e;return r})();var Q=(()=>{let e=class e{constructor(t){this.dialogService=t}openFullScreenDialog(t){return ee(this,null,function*(){if(t)return;let{MsTerminalFullscreenDialogComponent:i}=yield import("./chunk-JLPHX76X.js");document.body.classList.add("no-scroll"),this.dialogService.open(i,{showHeader:!1,showFooter:!1,showSaveButton:!1,width:"100vw",height:"100vh"}).afterClosed().pipe(ne(1)).subscribe(()=>{document.body.classList.remove("no-scroll")})})}openMessagesHistoryDialog(){return ee(this,null,function*(){let{MsTerminalMessagesHistoryDialogComponent:t}=yield import("./chunk-GU6QGHQ6.js");this.dialogService.open(t,{title:"Terminal history",showSaveButton:!1,width:"60vw",height:"75vh"})})}};e.\u0275fac=function(i){return new(i||e)(x(Ye))},e.\u0275prov=V({token:e,factory:e.\u0275fac});let r=e;return r})();var P=function(r){return r.OPEN="open",r.DISMISS="dismiss",r.SAVE="save",r.CLOSE="close",r}(P||{});function Ze(r,e){let o={};return r&&Je(o,r,"width"),e&&Je(o,e,"height"),o}function Je(r,e,o){let t=ut(e);t==="px"||t==="rem"||t==="em"?r[`${o}.${t}`]=parseFloat(e):r[o]=e}function ut(r){let o=(typeof r=="string"?r:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"}var et=(()=>{let e=class e{transform(t,i){return Ze(t,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=le({name:"iconPanelSizeStyles",type:e,pure:!0,standalone:!0});let r=e;return r})();var vt=["*"],h,q=(h=class{constructor(e,o){this.popoverRef=e,this.data=o,this.actionEvent=new f,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(P.CLOSE),this.popoverRef.close({status:P.CLOSE})}onSave(){this.actionEvent.emit(P.SAVE)}onDismiss(){this.actionEvent.emit(P.DISMISS),this.popoverRef.close({status:P.DISMISS})}closeDrawerOnBackdropClick(){this.data.closePopoverOnBackdropClick&&this.popoverRef.backdropClick().pipe(p(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closePopoverOnEscKeyUp&&this.onDismiss()}},h.\u0275fac=function(o){return new(o||h)(s(d),s(O))},h.\u0275cmp=T({type:h,selectors:[["ms-popover"]],hostBindings:function(o,t){o&1&&m("keyup.esc",function(){return t.onEscKeyDown()},!1,ce)},inputs:{contentTemplate:"contentTemplate"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[C],ngContentSelectors:vt,decls:8,vars:5,consts:[[1,"tooltip-container",3,"ngClass","ngStyle"],[1,"tooltip-arrow"],[1,"popover-content"],[1,"close-button"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error","size-20"]],template:function(o,t){o&1&&(pe(),n(0,"div",0),be(1,"iconPanelSizeStyles"),c(2,"div",1),n(3,"div",2),fe(4),l(),n(5,"div",3)(6,"button",4),m("click",function(){return t.onClose()}),c(7,"mat-icon",5),l()()()),o&2&&F("ngClass",t.data.position)("ngStyle",Te(1,2,t.data.width,t.data.height))},dependencies:[_,ge,ye,L,W,U,X,et],styles:[".tooltip-container[_ngcontent-%COMP%]{position:relative;background-color:var(--tooltip);color:var(--terminal-color);border-radius:6px;box-shadow:0 4px 8px #0000001a;padding:10px 8px}.tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-style:solid}.tooltip-content[_ngcontent-%COMP%]{padding:12px}.tooltip-container.top[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:-10px;left:50%;transform:translate(-50%);border-width:10px 10px 0 10px;border-color:var(--tooltip) transparent transparent transparent}.tooltip-container.bottom[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:-10px;left:50%;transform:translate(-50%);border-width:0 10px 10px 10px;border-color:transparent transparent var(--tooltip) transparent}.tooltip-container.left[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{right:-10px;top:50%;transform:translateY(-50%);border-width:10px 0 10px 10px;border-color:transparent transparent transparent var(--tooltip)}.tooltip-container.right[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{left:-10px;top:50%;transform:translateY(-50%);border-width:10px 10px 10px 0;border-color:transparent var(--tooltip) transparent transparent}.close-button[_ngcontent-%COMP%]{position:absolute;right:0;top:0}"]}),h);q=b([M()],q);var v,J=(v=class{get searchFormControl(){return this.searchForm.get("search")}constructor(e,o,t){this.popoverRef=e,this.iconPanelConfig=o,this.fb=t,this.searchForm=new we({})}ngOnInit(){this.initForm(),this.listenToSearchFormControlValueChanges()}initForm(){this.searchForm=this.fb.group({search:[""]})}listenToSearchFormControlValueChanges(){this.searchFormControl.valueChanges.pipe(p(this),j(200)).subscribe(e=>{this.popoverRef.emitData(e)})}},v.\u0275fac=function(o){return new(o||v)(s(d),s(O),s(_e))},v.\u0275cmp=T({type:v,selectors:[["ms-terminal-toolbar-search-popover"]],standalone:!0,features:[C],decls:7,vars:1,consts:[[1,"form-field-container","dark",3,"formGroup"],["subscriptSizing","dynamic"],["msErrorDisplay","","matInput","","msAutofocus","","formControlName","search"],["fontSet","ms","fontIcon","icon-MagnifyingGlass","matSuffix",""]],template:function(o,t){o&1&&(n(0,"ms-popover")(1,"div",0)(2,"mat-label"),E(3," Search... "),l(),n(4,"mat-form-field",1),c(5,"input",2)(6,"mat-icon",3),l()()()),o&2&&(w(),F("formGroup",t.searchForm))},dependencies:[_,N,Ae,Ie,ke,xe,Y,z,Fe,Ce,Me,Pe,Ee,q,Ue,qe]}),v);J=b([M({})],J);var S,tt=(S=class{constructor(e,o,t,i){this.scriptFacadeService=e,this.terminalWebSocketService=o,this.terminalDialogService=t,this.popoverService=i,this.isFullscreen=!1,this.isScriptActive=!1,this.clearTerminal=new f,this.scrollToTopTerminal=new f,this.scrollToBottomTerminal=new f,this.searchTerminal=new f,this.disposeSearch=new f,this.exitFullscreen=new f,this.searchFormControl=new De("")}ngOnInit(){this.listenToScriptStateChanges(),this.listenToSearchFormControlChanges()}clearTerminalScreen(){this.terminalWebSocketService.clearScreen()}openPanel(e){this.popoverService.open(J,e._elementRef,{position:this.isFullscreen?"bottom":"top",width:"200px",height:"60px"}).data$.pipe(p(this)).subscribe(t=>{this.searchTerminal.emit(t)})}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(p(this),j(300),re(e=>!Xe(e))).subscribe(e=>{this.searchTerminal.emit(e)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(p(this)).subscribe(e=>{this.isScriptActive=ze(e)})}ctaStopScript(){this.scriptFacadeService.dispatch(He.stopScript())}openTerminalMessagesHistoryDialog(){this.terminalDialogService.openMessagesHistoryDialog()}openFullScreenMode(){if(this.isFullscreen){this.exitFullscreen.emit();return}this.terminalDialogService.openFullScreenDialog(this.isFullscreen)}},S.\u0275fac=function(o){return new(o||S)(s(G),s($),s(Q),s(K))},S.\u0275cmp=T({type:S,selectors:[["ms-terminal-toolbar"]],inputs:{isFullscreen:"isFullscreen",isScriptActive:"isScriptActive"},outputs:{clearTerminal:"clearTerminal",scrollToTopTerminal:"scrollToTopTerminal",scrollToBottomTerminal:"scrollToBottomTerminal",searchTerminal:"searchTerminal",disposeSearch:"disposeSearch",exitFullscreen:"exitFullscreen"},standalone:!0,features:[H([Q,K]),C],decls:19,vars:4,consts:[["searchTooltip",""],[1,"buttons-wrapper"],["mat-icon-button","","color","primary","matTooltip","Search terminal",3,"click"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["mat-icon-button","","color","primary","matTooltip","Terminal history",3,"click"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],["mat-icon-button","","color","primary","matTooltip","Clear terminal",3,"click","disabled"],["mat-icon-button","","color","primary",3,"click","matTooltip"],["mat-icon-button","","color","warn","matTooltip","Stop current process",3,"click","disabled"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(o,t){if(o&1){let i=me();n(0,"div",1)(1,"button",2,0),m("click",function(){g(i);let I=ve(2);return y(t.openPanel(I))}),c(3,"mat-icon",3),l(),n(4,"button",4),m("click",function(){return g(i),y(t.openTerminalMessagesHistoryDialog())}),n(5,"mat-icon"),E(6,"history"),l()(),n(7,"button",5),m("click",function(){return g(i),y(t.scrollToTopTerminal.emit())}),c(8,"mat-icon",6),l(),n(9,"button",7),m("click",function(){return g(i),y(t.scrollToBottomTerminal.emit())}),c(10,"mat-icon",8),l(),n(11,"button",9),m("click",function(){return g(i),y(t.clearTerminalScreen())}),n(12,"mat-icon"),E(13," clear_all"),l()(),n(14,"button",10),m("click",function(){return g(i),y(t.openFullScreenMode())}),n(15,"mat-icon"),E(16),l()(),n(17,"button",11),m("click",function(){return g(i),y(t.ctaStopScript())}),c(18,"mat-icon",12),l()()}o&2&&(w(11),F("disabled",t.isScriptActive),w(3),F("matTooltip",t.isFullscreen?"Exit fullscreen":"Enter fullscreen"),w(2),Se(t.isFullscreen?"fullscreen_exit":"fullscreen"),w(),F("disabled",!t.isScriptActive))},dependencies:[_,U,X,L,W,Be,Re,Oe,z,Y,N]}),S);tt=b([M({})],tt);export{Le as a,tt as b}; diff --git a/frontend/server/modelsmith-build/browser/chunk-666IVLAB.js b/frontend/server/modelsmith-build/browser/chunk-ACFRFOTT.js similarity index 87% rename from frontend/server/modelsmith-build/browser/chunk-666IVLAB.js rename to frontend/server/modelsmith-build/browser/chunk-ACFRFOTT.js index d9341cf..39e48a1 100644 --- a/frontend/server/modelsmith-build/browser/chunk-666IVLAB.js +++ b/frontend/server/modelsmith-build/browser/chunk-ACFRFOTT.js @@ -1 +1 @@ -import{a as u}from"./chunk-XSACZZU3.js";import{a as g}from"./chunk-DZVKHAZU.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-2CKK74GJ.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as d}from"./chunk-FNUDZPJE.js";import"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import{b as N,c as x,g as w}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as q,b as $}from"./chunk-3IJULEGV.js";import{a as k,b as D}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,$c as O,Da as m,Ea as f,Ra as a,Zb as V,_ as l,a as v,ab as p,b as M,bb as b,be as Q,cb as P,db as E,fb as I,ga as F,ha as c,ib as T,ie as B,kc as j,ne as L,oa as y,oc as A,oe as H,p as U,pa as S,pb as R,pe as K,qb as _,qe as W,rb as G,tb as h,te as X}from"./chunk-DL2LTWBU.js";var Z=["panelParameters"],o,C=(o=class{constructor(t,i,e){this.fb=t,this.scriptFacadeService=i,this.router=e,this.AlgorithmType=x,this.MachineUnlearningAlgorithmsEnum=w,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(D(this)).subscribe(t=>{this.isScriptActive=N(t),N(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(w.MU)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,r=M(v({},t),{params:M(v({},this.panelParametersComponent.parametersFormatted),{arch:e})});this.scriptFacadeService.dispatch(q.callScript({configs:r}))}goToChartPage(){this.router.navigate([O.RUNNING.ROOT])}},o.\u0275fac=function(i){return new(i||o)(f(L),f($),f(j))},o.\u0275cmp=F({type:o,selectors:[["ms-machine-unlearning"]],viewQuery:function(i,e){if(i&1&&R(Z,5),i&2){let r;_(r=G())&&(e.panelParametersComponent=r.first)}},decls:15,vars:5,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(i,e){if(i&1){let r=I();s(0,"p",1),h(1,"Machine Unlearning"),p(),s(2,"div",2)(3,"div",3),P(4,4),b(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),E(),s(8,"div")(9,"button",7),T("click",function(){return y(r),S(e.submit())}),h(10," Run "),p(),s(11,"button",8),T("click",function(){return y(r),S(e.goToChartPage())}),h(12,"View Chart"),p()()(),s(13,"div",9),b(14,"ms-terminal-xterm-with-toolbar"),p()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.MACHINE_UNLEARNING),m(),a("algorithm",e.MachineUnlearningAlgorithmsEnum.MU),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,g,u,W,Q,B],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),o);C=U([k()],C);var tt=[{path:"",component:C}],J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[A.forChild(tt),A]});let n=t;return n})();var Ft=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[V,J,d,g,u,X,H,K]});let n=t;return n})();export{Ft as MachineUnlearningModule}; +import{a as u}from"./chunk-XSACZZU3.js";import{a as g}from"./chunk-P2CUAPHG.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as d}from"./chunk-TTKDIG3U.js";import"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import{b as N,c as x,g as w}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as q,b as $}from"./chunk-3IJULEGV.js";import{a as k,b as D}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,$c as O,Da as m,Ea as f,Ra as a,Zb as V,_ as l,a as v,ab as p,b as M,bb as b,be as Q,cb as P,db as E,fb as I,ga as F,ha as c,ib as T,ie as B,kc as j,ne as L,oa as y,oc as A,oe as H,p as U,pa as S,pb as R,pe as K,qb as _,qe as W,rb as G,tb as h,te as X}from"./chunk-DL2LTWBU.js";var Z=["panelParameters"],o,C=(o=class{constructor(t,i,e){this.fb=t,this.scriptFacadeService=i,this.router=e,this.AlgorithmType=x,this.MachineUnlearningAlgorithmsEnum=w,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(D(this)).subscribe(t=>{this.isScriptActive=N(t),N(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(w.MU)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,r=M(v({},t),{params:M(v({},this.panelParametersComponent.parametersFormatted),{arch:e})});this.scriptFacadeService.dispatch(q.callScript({configs:r}))}goToChartPage(){this.router.navigate([O.RUNNING.ROOT])}},o.\u0275fac=function(i){return new(i||o)(f(L),f($),f(j))},o.\u0275cmp=F({type:o,selectors:[["ms-machine-unlearning"]],viewQuery:function(i,e){if(i&1&&R(Z,5),i&2){let r;_(r=G())&&(e.panelParametersComponent=r.first)}},decls:15,vars:5,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(i,e){if(i&1){let r=I();s(0,"p",1),h(1,"Machine Unlearning"),p(),s(2,"div",2)(3,"div",3),P(4,4),b(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),E(),s(8,"div")(9,"button",7),T("click",function(){return y(r),S(e.submit())}),h(10," Run "),p(),s(11,"button",8),T("click",function(){return y(r),S(e.goToChartPage())}),h(12,"View Chart"),p()()(),s(13,"div",9),b(14,"ms-terminal-xterm-with-toolbar"),p()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.MACHINE_UNLEARNING),m(),a("algorithm",e.MachineUnlearningAlgorithmsEnum.MU),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,g,u,W,Q,B],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),o);C=U([k()],C);var tt=[{path:"",component:C}],J=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[A.forChild(tt),A]});let n=t;return n})();var Ft=(()=>{let t=class t{};t.\u0275fac=function(r){return new(r||t)},t.\u0275mod=c({type:t}),t.\u0275inj=l({imports:[V,J,d,g,u,X,H,K]});let n=t;return n})();export{Ft as MachineUnlearningModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-MEWVE3KA.js b/frontend/server/modelsmith-build/browser/chunk-GU6QGHQ6.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-MEWVE3KA.js rename to frontend/server/modelsmith-build/browser/chunk-GU6QGHQ6.js index f04e327..622f8af 100644 --- a/frontend/server/modelsmith-build/browser/chunk-MEWVE3KA.js +++ b/frontend/server/modelsmith-build/browser/chunk-GU6QGHQ6.js @@ -1,2 +1,2 @@ -import{a as te}from"./chunk-UHYTAY7O.js";import{a as se,b as le,c as me}from"./chunk-VLO6NL53.js";import{a as J,b as $}from"./chunk-GWFXRHCV.js";import{c as K,f as W,g as X}from"./chunk-XX6ZYDLH.js";import{a as Y,c as Z}from"./chunk-572IZ672.js";import{n as ee}from"./chunk-3IJULEGV.js";import{a as E,b as v}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{a as Q,d as N,h as P,j as q,k as G}from"./chunk-HULQWYRR.js";import{$a as o,Ab as H,D as C,Da as f,Ea as u,J as F,Pa as M,Ra as w,Xa as S,Xd as k,Zb as A,ab as n,ae as B,bb as s,e as h,ee as I,fb as g,ga as y,he as O,ib as c,kb as b,oa as l,oe as V,p as T,pa as m,pb as _,pe as z,qb as D,rb as x,se as R,tb as d,te as j,ve as L,we as U}from"./chunk-DL2LTWBU.js";var re=h(se()),oe=h(le()),ne=h(me());var ce=["terminalHistory"];function de(p,e){if(p&1){let t=g();o(0,"mat-icon",16),c("click",function(){l(t);let a=b();return m(a.disposeSearch())}),d(1," close "),n()}}function pe(p,e){p&1&&(o(0,"mat-icon",8),d(1,"search"),n())}var i,ie=(i=class{constructor(e,t){this.dialogConfig=e,this.terminalFacadeService=t,this.searchFormControl=new I(""),this.terminal=new ne.Terminal({theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000"},cursorBlink:!1,disableStdin:!0,allowProposedApi:!0}),this.fitAddon=new re.FitAddon,this.searchAddon=new oe.SearchAddon}ngOnInit(){this.initializeTerminal(),this.loadData(),this.listenToSearchFormControlChanges(),W()}ngAfterViewInit(){this.adjustHeightToParent(),this.fitTerminalToContainer()}loadData(){this.terminalFacadeService.dispatch(te.getTerminalHistory()),this.terminalFacadeService.terminalHistory.pipe(v(this)).subscribe(e=>{e&&this.writeToTerminal(e)})}initializeTerminal(){this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalHistoryDiv.nativeElement),this.setupResizeObserver()}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(v(this),F(300),C(e=>!K(e))).subscribe(e=>{this.search(e)})}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}disposeSearch(){this.searchAddon.clearDecorations(),this.searchFormControl.setValue("")}writeToTerminal(e){let t=this.filterClearCommand(e);this.terminal.write(t)}filterClearCommand(e){let t=/\x1B\[H\x1B\[J/g;return e.replace(t,"")}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>this.fitTerminalToContainer()),this.resizeObserver.observe(this.terminalHistoryDiv.nativeElement)}fitTerminalToContainer(){this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalHistoryDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){let t;t=e.offsetHeight-280,this.terminalHistoryDiv.nativeElement.style.height=`${t}px`}}scrollToTopTerminal(){this.terminal.scrollToTop()}scrollToBottomTerminal(){this.terminal.scrollToBottom()}ngOnDestroy(){this.resizeObserver?.disconnect(),X()}},i.\u0275fac=function(t){return new(t||i)(u(Y),u(ee))},i.\u0275cmp=y({type:i,selectors:[["ms-terminal-messages-history-dialog"]],viewQuery:function(t,r){if(t&1&&_(ce,7),t&2){let a;D(a=x())&&(r.terminalHistoryDiv=a.first)}},standalone:!0,features:[H],decls:19,vars:2,consts:[["terminalHistory",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"left"],[1,"form-field-container"],["subscriptSizing","dynamic"],["matInput","","placeholder","Search terminal messages",3,"formControl"],["matSuffix","",1,"mat-error","scale-on-hover"],["matSuffix","",1,"mat-primary"],[1,"right"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],[1,"terminal"],[1,"terminal-wrapper"],["matSuffix","",1,"mat-error","scale-on-hover",3,"click"]],template:function(t,r){if(t&1){let a=g();o(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"mat-label"),d(6,"Search"),n(),o(7,"mat-form-field",5),s(8,"input",6),M(9,de,2,0,"mat-icon",7)(10,pe,2,0,"mat-icon",8),n()()(),o(11,"div",9)(12,"button",10),c("click",function(){return l(a),m(r.scrollToTopTerminal())}),s(13,"mat-icon",11),n(),o(14,"button",12),c("click",function(){return l(a),m(r.scrollToBottomTerminal())}),s(15,"mat-icon",13),n()()(),o(16,"div",14),s(17,"div",15,0),n()()()}t&2&&(f(8),w("formControl",r.searchFormControl),f(),S(r.searchFormControl.value?9:10))},dependencies:[A,Z,U,L,j,R,V,k,B,z,O,G,q,P,Q,N,$,J],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .xterm-viewport{overflow-y:auto!important}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between;margin-bottom:10px}.ms-terminal-wrapper .top-terminal-section .right{display:flex;align-items:flex-end} +import{a as te}from"./chunk-UHYTAY7O.js";import{a as se,b as le,c as me}from"./chunk-VLO6NL53.js";import{a as J,b as $}from"./chunk-GWFXRHCV.js";import{c as K,f as W,g as X}from"./chunk-XX6ZYDLH.js";import{a as Y,c as Z}from"./chunk-GYTTCMYG.js";import{n as ee}from"./chunk-3IJULEGV.js";import{a as E,b as v}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{a as Q,d as N,h as P,j as q,k as G}from"./chunk-HULQWYRR.js";import{$a as o,Ab as H,D as C,Da as f,Ea as u,J as F,Pa as M,Ra as w,Xa as S,Xd as k,Zb as A,ab as n,ae as B,bb as s,e as h,ee as I,fb as g,ga as y,he as O,ib as c,kb as b,oa as l,oe as V,p as T,pa as m,pb as _,pe as z,qb as D,rb as x,se as R,tb as d,te as j,ve as L,we as U}from"./chunk-DL2LTWBU.js";var re=h(se()),oe=h(le()),ne=h(me());var ce=["terminalHistory"];function de(p,e){if(p&1){let t=g();o(0,"mat-icon",16),c("click",function(){l(t);let a=b();return m(a.disposeSearch())}),d(1," close "),n()}}function pe(p,e){p&1&&(o(0,"mat-icon",8),d(1,"search"),n())}var i,ie=(i=class{constructor(e,t){this.dialogConfig=e,this.terminalFacadeService=t,this.searchFormControl=new I(""),this.terminal=new ne.Terminal({theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000"},cursorBlink:!1,disableStdin:!0,allowProposedApi:!0}),this.fitAddon=new re.FitAddon,this.searchAddon=new oe.SearchAddon}ngOnInit(){this.initializeTerminal(),this.loadData(),this.listenToSearchFormControlChanges(),W()}ngAfterViewInit(){this.adjustHeightToParent(),this.fitTerminalToContainer()}loadData(){this.terminalFacadeService.dispatch(te.getTerminalHistory()),this.terminalFacadeService.terminalHistory.pipe(v(this)).subscribe(e=>{e&&this.writeToTerminal(e)})}initializeTerminal(){this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalHistoryDiv.nativeElement),this.setupResizeObserver()}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(v(this),F(300),C(e=>!K(e))).subscribe(e=>{this.search(e)})}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}disposeSearch(){this.searchAddon.clearDecorations(),this.searchFormControl.setValue("")}writeToTerminal(e){let t=this.filterClearCommand(e);this.terminal.write(t)}filterClearCommand(e){let t=/\x1B\[H\x1B\[J/g;return e.replace(t,"")}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>this.fitTerminalToContainer()),this.resizeObserver.observe(this.terminalHistoryDiv.nativeElement)}fitTerminalToContainer(){this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalHistoryDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){let t;t=e.offsetHeight-280,this.terminalHistoryDiv.nativeElement.style.height=`${t}px`}}scrollToTopTerminal(){this.terminal.scrollToTop()}scrollToBottomTerminal(){this.terminal.scrollToBottom()}ngOnDestroy(){this.resizeObserver?.disconnect(),X()}},i.\u0275fac=function(t){return new(t||i)(u(Y),u(ee))},i.\u0275cmp=y({type:i,selectors:[["ms-terminal-messages-history-dialog"]],viewQuery:function(t,r){if(t&1&&_(ce,7),t&2){let a;D(a=x())&&(r.terminalHistoryDiv=a.first)}},standalone:!0,features:[H],decls:19,vars:2,consts:[["terminalHistory",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"left"],[1,"form-field-container"],["subscriptSizing","dynamic"],["matInput","","placeholder","Search terminal messages",3,"formControl"],["matSuffix","",1,"mat-error","scale-on-hover"],["matSuffix","",1,"mat-primary"],[1,"right"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],[1,"terminal"],[1,"terminal-wrapper"],["matSuffix","",1,"mat-error","scale-on-hover",3,"click"]],template:function(t,r){if(t&1){let a=g();o(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3)(4,"div",4)(5,"mat-label"),d(6,"Search"),n(),o(7,"mat-form-field",5),s(8,"input",6),M(9,de,2,0,"mat-icon",7)(10,pe,2,0,"mat-icon",8),n()()(),o(11,"div",9)(12,"button",10),c("click",function(){return l(a),m(r.scrollToTopTerminal())}),s(13,"mat-icon",11),n(),o(14,"button",12),c("click",function(){return l(a),m(r.scrollToBottomTerminal())}),s(15,"mat-icon",13),n()()(),o(16,"div",14),s(17,"div",15,0),n()()()}t&2&&(f(8),w("formControl",r.searchFormControl),f(),S(r.searchFormControl.value?9:10))},dependencies:[A,Z,U,L,j,R,V,k,B,z,O,G,q,P,Q,N,$,J],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .xterm-viewport{overflow-y:auto!important}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between;margin-bottom:10px}.ms-terminal-wrapper .top-terminal-section .right{display:flex;align-items:flex-end} `],encapsulation:2}),i);ie=T([E()],ie);export{ie as MsTerminalMessagesHistoryDialogComponent}; diff --git a/frontend/server/modelsmith-build/browser/chunk-GYTTCMYG.js b/frontend/server/modelsmith-build/browser/chunk-GYTTCMYG.js new file mode 100644 index 0000000..d8fccfc --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-GYTTCMYG.js @@ -0,0 +1 @@ +import{a as J,b as Q}from"./chunk-QJ55TOIV.js";import{b as nt,s as it}from"./chunk-CYUWMGXJ.js";import{$ as B,$a as r,Ab as K,Ba as R,Da as a,Ea as y,Eb as N,Gb as W,Hb as E,Pa as m,Ra as g,Ub as $,Vb as X,Xa as u,Z as j,Zb as q,a as w,ab as l,ba as S,bb as F,eb as M,fb as h,ga as L,ib as _,j as P,ja as H,kb as s,lb as z,mb as G,oa as f,p as A,pa as C,qe as Y,sb as O,se as Z,tb as D,te as tt,ua as x,ub as U,vb as k,ve as et,we as ot,xa as V}from"./chunk-DL2LTWBU.js";var b=new B("DIALOG_DATA");var p=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new P}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};function v(t,e){let o={};return t&&at(o,t,"width"),e&&at(o,e,"height"),o}function at(t,e,o){let n=_t(e);n==="px"||n==="rem"||n==="em"?t[`${o}.${n}`]=parseFloat(e):t[o]=e}function _t(t){let o=(typeof t=="string"?t:"").match(/(px|rem|em|vw|vh|%)$/);return o?o[0]:"px"}var d=function(t){return t.OPEN="open",t.DISMISS="dismiss",t.SAVE="save",t.CLOSE="close",t}(d||{});var lt=(()=>{let e=class e{transform(n,i){return v(n,i)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=H({name:"dialogSizeStyles",type:e,pure:!0,standalone:!0});let t=e;return t})();var ft=["*"];function Ct(t,e){t&1&&M(0)}function xt(t,e){if(t&1){let o=h();r(0,"div",7)(1,"div",8),D(2),l(),r(3,"div",9)(4,"button",10),_("click",function(){f(o);let i=s(2);return C(i.onDismiss())}),F(5,"mat-icon",11),l()()()}if(t&2){let o=s(2);a(2),U(o.data.title)}}function ht(t,e){if(t&1&&(r(0,"div",3),m(1,Ct,1,0,"ng-container",6)(2,xt,6,1,"ng-template",null,0,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.headerTemplate||o)}}function Dt(t,e){t&1&&M(0)}function bt(t,e){if(t&1){let o=h();r(0,"button",15),_("click",function(){f(o);let i=s(3);return C(i.onClose())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isDismissDisabled),a(),k(" ",o.data.closeButtonLabel," ")}}function vt(t,e){if(t&1){let o=h();r(0,"button",16),_("click",function(){f(o);let i=s(3);return C(i.onSave())}),D(1),l()}if(t&2){let o=s(3);g("disabled",o.isSaveDisabled),a(),k(" ",o.data.saveButtonLabel," ")}}function wt(t,e){if(t&1&&(r(0,"div",12),m(1,bt,2,2,"button",13)(2,vt,2,2,"button",14),l()),t&2){let o=s(2);a(),u(o.data.showCloseButton?1:-1),a(),u(o.data.showSaveButton?2:-1)}}function St(t,e){if(t&1&&(r(0,"div",5),m(1,Dt,1,0,"ng-container",6)(2,wt,3,2,"ng-template",null,1,E),l()),t&2){let o=O(3),n=s();a(),g("ngTemplateOutlet",n.actionsTemplate||o)}}var c,st=(c=class{constructor(e,o){this.dialogRef=e,this.data=o,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new V,this.closeDrawerOnBackdropClick()}get dialogSizeStyles(){return v(this.data.width,this.data.height)}onClose(){this.actionEvent.emit(d.CLOSE),this.dialogRef.close({status:d.CLOSE})}onSave(){this.actionEvent.emit(d.SAVE)}onDismiss(){this.actionEvent.emit(d.DISMISS),this.dialogRef.close({status:d.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.dialogRef.backdropClick().pipe(Q(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},c.\u0275fac=function(o){return new(o||c)(y(p),y(b))},c.\u0275cmp=L({type:c,selectors:[["ms-dialog"]],hostBindings:function(o,n){o&1&&_("keyup.esc",function(){return n.onEscKeyDown()},!1,R)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[K],ngContentSelectors:ft,decls:6,vars:6,consts:[["defaultDialogHeader",""],["defaultDialogActions",""],[1,"dialog-wrapper",3,"ngStyle"],[1,"dialog-header"],[1,"dialog-content"],[1,"dialog-actions"],[4,"ngTemplateOutlet"],[1,"dialog-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(o,n){o&1&&(z(),r(0,"div",2),N(1,"dialogSizeStyles"),m(2,ht,4,1,"div",3),r(3,"div",4),G(4),l(),m(5,St,4,1,"div",5),l()),o&2&&(g("ngStyle",W(1,3,n.data.width,n.data.height)),a(2),u(n.data.showHeader?2:-1),a(3),u(n.data.showFooter?5:-1))},dependencies:[q,X,$,tt,Y,Z,ot,et,lt],styles:[".dialog-wrapper[_ngcontent-%COMP%]{width:inherit;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header[_ngcontent-%COMP%]{min-height:60px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:24px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.dialog-wrapper[_ngcontent-%COMP%] .dialog-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:16px 32px}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:16px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.dialog-wrapper[_ngcontent-%COMP%] .dialog-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),c);st=A([J()],st);var ct="1024px",pt="400px";var ae=(()=>{let e=class e{constructor(n,i){this.overlay=n,this.injector=i}open(n,i){let dt=this.overlay.position().global().centerHorizontally().centerVertically(),T=this.overlay.create(w({positionStrategy:dt,hasBackdrop:!0,backdropClass:"dialog-backdrop"},i)),I=new p(T),mt=x.create({parent:this.injector,providers:[{provide:p,useValue:I},{provide:b,useValue:w({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,showHeader:!0,showFooter:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||ct,height:i?.height||pt},i)}]}),gt=new nt(n,null,mt);return T.attach(gt),I}};e.\u0275fac=function(i){return new(i||e)(S(it),S(x))},e.\u0275prov=j({token:e,factory:e.\u0275fac});let t=e;return t})();export{b as a,p as b,st as c,ae as d}; diff --git a/frontend/server/modelsmith-build/browser/chunk-4U6LNT5Y.js b/frontend/server/modelsmith-build/browser/chunk-IG2F6LQR.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-4U6LNT5Y.js rename to frontend/server/modelsmith-build/browser/chunk-IG2F6LQR.js index 0d969c4..dbc6bca 100644 --- a/frontend/server/modelsmith-build/browser/chunk-4U6LNT5Y.js +++ b/frontend/server/modelsmith-build/browser/chunk-IG2F6LQR.js @@ -1,4 +1,4 @@ -import{a as Si,b as xi,c as Ei,d as Ci,e as Di,f as _i,g as wi,h as Mi,i as yi,j as Oi,k as Ii,l as qi,m as O,n as Pi,o as I,p as M,q as ke}from"./chunk-2LRAK75P.js";import{a as ci,b as di}from"./chunk-ORGA47GB.js";import{a as ii,b as ni,c as ai}from"./chunk-FBWZYOSM.js";import{a as pi,b as fi,c as vi,d as tt,e as it,f as gi,g as hi,h as bi}from"./chunk-Y56BMHRM.js";import{a as Kt,b as Xt,c as Yt,d as Zt}from"./chunk-DCK4WYKK.js";import{a as oi,b as li,c as mi,d as me}from"./chunk-VVXFBAG6.js";import{a as si,b as ui}from"./chunk-GACPU6QS.js";import{i as Jt}from"./chunk-2CKK74GJ.js";import{a as ei,b as ti}from"./chunk-6JSLXF7X.js";import{a as h,b as Nt}from"./chunk-NAEQPCWM.js";import{a as oe,b as ri}from"./chunk-PGXHYGLR.js";import{a as qe,b as Pe,c as le,d as Te}from"./chunk-572IZ672.js";import{c as Ti}from"./chunk-3IJULEGV.js";import{a as Ot}from"./chunk-QJ55TOIV.js";import{c as Ut,e as Gt,f as $t,l as Qt}from"./chunk-CYUWMGXJ.js";import{a as Me,b as Wt,h as ye,i as jt,j as Ie,k as Ht}from"./chunk-HULQWYRR.js";import{$a as t,$c as y,Ab as he,Ac as Je,Ad as qt,Bb as ne,Cb as _,Cd as Pt,Da as u,Db as pe,Ea as d,Fa as Ve,Gd as et,Hb as ae,I as P,Id as ve,K as st,Kb as Ge,Kd as Tt,Ld as kt,Ma as St,Na as H,Pa as x,Q as ut,Qa as se,Qd as At,R as ct,Ra as c,S as ze,Ta as B,Va as xt,Vb as $e,Wa as Et,Xa as F,Xd as Se,Y as dt,Ya as Z,Z as pt,Za as J,Zb as be,Zd as V,_ as K,_a as ee,ab as e,ae as re,bb as a,be as xe,ca as ft,cb as ue,ce as Ft,da as vt,db as ce,ea as gt,eb as U,fb as T,fe as Rt,g as ot,ga as f,gb as We,ge as Ee,ha as X,hd as It,ia as Y,ib as v,ie as Ce,j as Le,jc as Mt,kb as g,lb as je,lc as yt,le as De,mb as He,ne as _e,oa as C,ob as de,oc as fe,oe as Lt,p as lt,pa as D,pb as Ct,pe as zt,qb as te,qe as w,rb as ie,rc as Qe,re as Bt,sa as ge,sb as E,sc as Ke,se as we,tb as i,tc as Xe,te as Vt,ub as R,vb as k,vc as G,ve as A,w as mt,wa as Be,wb as Dt,wc as $,we as Oe,xa as ht,xb as _t,ya as bt,yb as wt,yc as Ye,zb as Ue,zc as Ze}from"./chunk-DL2LTWBU.js";function yn(o,n){if(o&1&&U(0,2),o&2){let s=g();c("ngTemplateOutlet",s.iconOverrides[s.state])("ngTemplateOutletContext",s._getIconContext())}}function On(o,n){if(o&1&&(t(0,"span",7),i(1),e()),o&2){let s=g(2);u(),R(s._getDefaultTextForState(s.state))}}function In(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.completedLabel)}}function qn(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.editableLabel)}}function Pn(o,n){if(o&1&&(x(0,In,2,1,"span",8)(1,qn,2,1,"span",8),t(2,"mat-icon",7),i(3),e()),o&2){let s=g(2);F(s.state==="done"?0:s.state==="edit"?1:-1),u(3),R(s._getDefaultTextForState(s.state))}}function Tn(o,n){if(o&1&&x(0,On,2,1,"span",7)(1,Pn,4,2,"mat-icon",7),o&2){let s,l=g();F((s=l.state)==="number"?0:1)}}function kn(o,n){o&1&&(t(0,"div",4),U(1,9),e()),o&2&&(u(),c("ngTemplateOutlet",n.template))}function An(o,n){if(o&1&&(t(0,"div",4),i(1),e()),o&2){let s=g();u(),R(s.label)}}function Nn(o,n){if(o&1&&(t(0,"div",5),i(1),e()),o&2){let s=g();u(),R(s._intl.optionalLabel)}}function Fn(o,n){if(o&1&&(t(0,"div",6),i(1),e()),o&2){let s=g();u(),R(s.errorMessage)}}var Ai=["*"];function Rn(o,n){}function Ln(o,n){if(o&1&&(He(0),x(1,Rn,0,0,"ng-template",0)),o&2){let s=g();u(),c("cdkPortalOutlet",s._portal)}}var Ni=(o,n)=>({step:o,i:n}),Fi=o=>({animationDuration:o}),Ri=(o,n)=>({value:o,params:n});function zn(o,n){o&1&&He(0)}function Bn(o,n){o&1&&a(0,"div",6)}function Vn(o,n){if(o&1&&(U(0,5),x(1,Bn,1,0,"div",6)),o&2){let s=n.$implicit,l=n.$index,r=n.$count;g(2);let m=E(4);c("ngTemplateOutlet",m)("ngTemplateOutletContext",pe(3,Ni,s,l)),u(),F(l!==r-1?1:-1)}}function Wn(o,n){if(o&1){let s=T();t(0,"div",7),v("@horizontalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),U(1,8),e()}if(o&2){let s=n.$implicit,l=n.$index,r=g(2);B("mat-horizontal-stepper-content-inactive",r.selectedIndex!==l),c("@horizontalStepTransition",pe(8,Ri,r._getAnimationDirection(l),_(6,Fi,r._getAnimationDuration())))("id",r._getStepContentId(l)),se("aria-labelledby",r._getStepLabelId(l)),u(),c("ngTemplateOutlet",s.content)}}function jn(o,n){if(o&1&&(t(0,"div",1)(1,"div",2),J(2,Vn,2,6,null,null,Z),e(),t(4,"div",3),J(5,Wn,2,11,"div",4,Z),e()()),o&2){let s=g();u(2),ee(s.steps),u(3),ee(s.steps)}}function Hn(o,n){if(o&1){let s=T();t(0,"div",9),U(1,5),t(2,"div",10)(3,"div",11),v("@verticalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),t(4,"div",12),U(5,8),e()()()()}if(o&2){let s=n.$implicit,l=n.$index,r=n.$count,m=g(2),p=E(4);u(),c("ngTemplateOutlet",p)("ngTemplateOutletContext",pe(10,Ni,s,l)),u(),B("mat-stepper-vertical-line",l!==r-1),u(),B("mat-vertical-stepper-content-inactive",m.selectedIndex!==l),c("@verticalStepTransition",pe(15,Ri,m._getAnimationDirection(l),_(13,Fi,m._getAnimationDuration())))("id",m._getStepContentId(l)),se("aria-labelledby",m._getStepLabelId(l)),u(2),c("ngTemplateOutlet",s.content)}}function Un(o,n){if(o&1&&J(0,Hn,6,18,"div",9,Z),o&2){let s=g();ee(s.steps)}}function Gn(o,n){if(o&1){let s=T();t(0,"mat-step-header",13),v("click",function(){let r=C(s).step;return D(r.select())})("keydown",function(r){C(s);let m=g();return D(m._onKeydown(r))}),e()}if(o&2){let s=n.step,l=n.i,r=g();B("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),c("tabIndex",r._getFocusIndex()===l?0:-1)("id",r._getStepLabelId(l))("index",l)("state",r._getIndicatorType(l,s.state))("label",s.stepLabel||s.label)("selected",r.selectedIndex===l)("active",r._stepIsNavigable(l,s))("optional",s.optional)("errorMessage",s.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(l,s))("color",s.color||r.color),se("aria-posinset",l+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(l))("aria-selected",r.selectedIndex==l)("aria-label",s.ariaLabel||null)("aria-labelledby",!s.ariaLabel&&s.ariaLabelledby?s.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(l,s)?null:!0)}}var nt=(()=>{let n=class n extends fi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["","matStepLabel",""]],standalone:!0,features:[H]});let o=n;return o})(),Ae=(()=>{let n=class n{constructor(){this.changes=new Le,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=pt({token:n,factory:n.\u0275fac,providedIn:"root"});let o=n;return o})();function $n(o){return o||new Ae}var Qn={provide:Ae,deps:[[new vt,new gt,Ae]],useFactory:$n},at=(()=>{let n=class n extends pi{constructor(l,r,m,p){super(m),this._intl=l,this._focusMonitor=r,this._intlSubscription=l.changes.subscribe(()=>p.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(l,r){l?this._focusMonitor.focusVia(this._elementRef,l,r):this._elementRef.nativeElement.focus(r)}_stringLabel(){return this.label instanceof nt?null:this.label}_templateLabel(){return this.label instanceof nt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(l){return l=="number"?`${this.index+1}`:l=="edit"?"create":l=="error"?"warning":l}};n.\u0275fac=function(r){return new(r||n)(d(Ae),d(qt),d(Be),d(Ge))},n.\u0275cmp=f({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(r,m){r&2&&xt("mat-"+(m.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:[H,he],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(r,m){if(r&1&&(a(0,"div",0),t(1,"div")(2,"div",1),x(3,yn,1,2,"ng-container",2)(4,Tn,2,1),e()(),t(5,"div",3),x(6,kn,2,1,"div",4)(7,An,2,1,"div",4)(8,Nn,2,1,"div",5)(9,Fn,2,1,"div",6),e()),r&2){let p;c("matRippleTrigger",m._getHostElement())("matRippleDisabled",m.disableRipple),u(),Et("mat-step-icon-state-",m.state," mat-step-icon"),B("mat-step-icon-selected",m.selected),u(2),F(m.iconOverrides&&m.iconOverrides[m.state]?3:4),u(2),B("mat-step-label-active",m.active)("mat-step-label-selected",m.selected)("mat-step-label-error",m.state=="error"),u(),F((p=m._templateLabel())?6:m._stringLabel()?7:-1,p),u(2),F(m.optional&&m.state!="error"?8:-1),u(),F(m.state==="error"?9:-1)}},dependencies:[Tt,$e,A],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)}.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)}@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)}.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);background-color:var(--mat-stepper-header-icon-background-color)}.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)}.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);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-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);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.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);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let o=n;return o})(),Li="500ms",zi="225ms",ki={horizontalStepTransition:Qe("horizontalStepTransition",[$("previous",G({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),$("current",G({transform:"none",visibility:"inherit"})),$("next",G({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ye("* => *",Xe([Ke("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:Li}})]),verticalStepTransition:Qe("verticalStepTransition",[$("previous",G({height:"0px",visibility:"hidden"})),$("next",G({height:"0px",visibility:"hidden"})),$("current",G({height:"*",visibility:"inherit"})),Ye("* <=> current",Xe([Ke("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:zi}})])},Kn=(()=>{let n=class n{constructor(l){this.templateRef=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});let o=n;return o})(),Xn=(()=>{let n=class n{constructor(l){this._template=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepContent",""]],standalone:!0});let o=n;return o})(),rt=(()=>{let n=class n extends tt{constructor(l,r,m,p){super(l,p),this._errorStateMatcher=r,this._viewContainerRef=m,this._isSelected=ot.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(ct(()=>this._stepper.selectionChange.pipe(mt(l=>l.selectedStep===this),ut(this._stepper.selected===this)))).subscribe(l=>{l&&this._lazyContent&&!this._portal&&(this._portal=new Ut(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(l,r){let m=this._errorStateMatcher.isErrorState(l,r),p=!!(l&&l.invalid&&this.interacted);return m||p}};n.\u0275fac=function(r){return new(r||n)(d(dt(()=>Ne)),d(ve,4),d(St),d(vi,8))},n.\u0275cmp=f({type:n,selectors:[["mat-step"]],contentQueries:function(r,m,p){if(r&1&&(de(p,nt,5),de(p,Xn,5)),r&2){let S;te(S=ie())&&(m.stepLabel=S.first),te(S=ie())&&(m._lazyContent=S.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[Ue([{provide:ve,useExisting:n},{provide:tt,useExisting:n}]),H,he],ngContentSelectors:Ai,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(r,m){r&1&&(je(),x(0,Ln,2,1,"ng-template"))},dependencies:[Gt],encapsulation:2,changeDetection:0});let o=n;return o})(),Ne=(()=>{let n=class n extends it{get animationDuration(){return this._animationDuration}set animationDuration(l){this._animationDuration=/^\d+$/.test(l)?l+"ms":l}constructor(l,r,m){super(l,r,m),this._stepHeader=void 0,this._steps=void 0,this.steps=new bt,this.animationDone=new ht,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Le,this._animationDuration="",this._isServer=!ft(It).isBrowser;let p=m.nativeElement.nodeName.toLowerCase();this.orientation=p==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:l,templateRef:r})=>this._iconOverrides[l]=r),this.steps.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(st((l,r)=>l.fromState===r.fromState&&l.toState===r.toState),ze(this._destroyed)).subscribe(l=>{l.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(l,r){return r.completed||this.selectedIndex===l||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Li:zi}};n.\u0275fac=function(r){return new(r||n)(d(Pt,8),d(Ge),d(Be))},n.\u0275cmp=f({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(r,m,p){if(r&1&&(de(p,rt,5),de(p,Kn,5)),r&2){let S;te(S=ie())&&(m._steps=S),te(S=ie())&&(m._icons=S)}},viewQuery:function(r,m){if(r&1&&Ct(at,5),r&2){let p;te(p=ie())&&(m._stepHeader=p)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(r,m){r&2&&(se("aria-orientation",m.orientation),B("mat-stepper-horizontal",m.orientation==="horizontal")("mat-stepper-vertical",m.orientation==="vertical")("mat-stepper-label-position-end",m.orientation==="horizontal"&&m.labelPosition=="end")("mat-stepper-label-position-bottom",m.orientation==="horizontal"&&m.labelPosition=="bottom")("mat-stepper-header-position-bottom",m.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[Ue([{provide:it,useExisting:n}]),H,he],ngContentSelectors:Ai,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(r,m){if(r&1&&(je(),x(0,zn,1,0)(1,jn,7,0,"div",1)(2,Un,2,0)(3,Gn,1,23,"ng-template",null,0,ae)),r&2){let p;F(m._isServer?0:-1),u(),F((p=m.orientation)==="horizontal"?1:p==="vertical"?2:-1)}},dependencies:[$e,at],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.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)}.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)}.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);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:[ki.horizontalStepTransition,ki.verticalStepTransition]},changeDetection:0});let o=n;return o})(),Bi=(()=>{let n=class n extends gi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Vi=(()=>{let n=class n extends hi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Wi=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=X({type:n}),n.\u0275inj=K({providers:[Qn,ve],imports:[et,be,$t,bi,Oe,kt,Ne,at,et]});let o=n;return o})();var ji=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-buttons-demo"]],decls:220,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-6"],["mat-button",""],["mat-button","","color","primary"],["mat-button","","color","accent"],["mat-button","","color","warn"],["mat-button","","disabled",""],["mat-button","","href","https://www.google.com/","target","_blank"],["mat-raised-button",""],["mat-raised-button","","color","primary"],["mat-raised-button","","color","accent"],["mat-raised-button","","color","warn"],["mat-raised-button","","disabled","","color","accent"],["mat-raised-button","","href","https://www.google.com/","target","_blank"],[1,"parent","items-per-row-7"],["mat-stroked-button",""],["mat-stroked-button","",1,"ms-white-stroked-button"],["mat-stroked-button","","color","primary"],["mat-stroked-button","","color","accent"],["mat-stroked-button","","color","warn"],["mat-stroked-button","","disabled","","color","accent"],["mat-stroked-button","","href","https://www.google.com/","target","_blank"],["mat-flat-button",""],["mat-flat-button","","color","primary"],["mat-flat-button","","color","accent"],["mat-flat-button","","color","warn"],["mat-flat-button","","disabled","","color","primary"],["mat-flat-button","","href","https://www.google.com/","target","_blank"],[2,"grid-column","span 2"],["mat-icon-button",""],["mat-icon-button","","color","primary"],["mat-icon-button","","color","accent"],["mat-icon-button","","color","warn"],["mat-icon-button","","disabled","","color","accent"],[1,"parent","items-per-row-5"],["checked",""],["color","primary","checked",""],["color","accent","checked",""],["color","warn","checked",""],["disabled",""]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Buttons"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Default"),e(),t(7,"div",2)(8,"div"),i(9,"Basic"),e(),t(10,"div"),i(11,"Primary"),e(),t(12,"div"),i(13,"Accent"),e(),t(14,"div"),i(15,"Warn"),e(),t(16,"div"),i(17,"Disabled"),e(),t(18,"div"),i(19,"Link"),e(),t(20,"div")(21,"button",3),i(22,"Lorem Ipsum"),e()(),t(23,"div")(24,"button",4),i(25,"Lorem Ipsum"),e()(),t(26,"div")(27,"button",5),i(28,"Lorem Ipsum"),e()(),t(29,"div")(30,"button",6),i(31,"Lorem Ipsum"),e()(),t(32,"div")(33,"button",7),i(34,"Lorem Ipsum"),e()(),t(35,"div")(36,"a",8),i(37,"Link"),e()()(),t(38,"div",0),a(39,"mat-divider"),e()(),t(40,"div",1)(41,"h2"),i(42,"Raised buttons"),e(),t(43,"div",2)(44,"div"),i(45,"Basic"),e(),t(46,"div"),i(47,"Primary"),e(),t(48,"div"),i(49,"Accent"),e(),t(50,"div"),i(51,"Warn"),e(),t(52,"div"),i(53,"Disabled"),e(),t(54,"div"),i(55,"Link"),e(),t(56,"div")(57,"button",9),i(58,"Lorem Ipsum"),e()(),t(59,"div")(60,"button",10),i(61,"Lorem Ipsum"),e()(),t(62,"div")(63,"button",11),i(64,"Lorem Ipsum"),e()(),t(65,"div")(66,"button",12),i(67,"Lorem Ipsum"),e()(),t(68,"div")(69,"button",13),i(70,"Lorem Ipsum"),e()(),t(71,"div")(72,"a",14),i(73,"Link"),e()()(),t(74,"div",0),a(75,"mat-divider"),e()(),t(76,"div",1)(77,"h2"),i(78,"Stroked buttons"),e(),t(79,"div",15)(80,"div"),i(81,"Basic"),e(),t(82,"div"),i(83,"Basic White"),e(),t(84,"div"),i(85,"Primary"),e(),t(86,"div"),i(87,"Accent"),e(),t(88,"div"),i(89,"Warn"),e(),t(90,"div"),i(91,"Disabled"),e(),t(92,"div"),i(93,"Link"),e(),t(94,"div")(95,"button",16),i(96,"Lorem Ipsum"),e()(),t(97,"div")(98,"button",17),i(99,"Lorem Ipsum"),e()(),t(100,"div")(101,"button",18),i(102,"Lorem Ipsum"),e()(),t(103,"div")(104,"button",19),i(105,"Lorem Ipsum"),e()(),t(106,"div")(107,"button",20),i(108,"Lorem Ipsum"),e()(),t(109,"div")(110,"button",21),i(111,"Lorem Ipsum"),e()(),t(112,"div")(113,"a",22),i(114,"Link"),e()()(),t(115,"div",0),a(116,"mat-divider"),e()(),t(117,"div",1)(118,"h2"),i(119,"Flat buttons"),e(),t(120,"div",2)(121,"div"),i(122,"Basic"),e(),t(123,"div"),i(124,"Primary"),e(),t(125,"div"),i(126,"Accent"),e(),t(127,"div"),i(128,"Warn"),e(),t(129,"div"),i(130,"Disabled"),e(),t(131,"div"),i(132,"Link"),e(),t(133,"div")(134,"button",23),i(135,"Lorem Ipsum"),e()(),t(136,"div")(137,"button",24),i(138,"Lorem Ipsum"),e()(),t(139,"div")(140,"button",25),i(141,"Lorem Ipsum"),e()(),t(142,"div")(143,"button",26),i(144,"Lorem Ipsum"),e()(),t(145,"div")(146,"button",27),i(147,"Lorem Ipsum"),e()(),t(148,"div")(149,"a",28),i(150,"Link"),e()()(),t(151,"div",0),a(152,"mat-divider"),e()(),t(153,"div",1)(154,"h2"),i(155,"Icon buttons"),e(),t(156,"div",2)(157,"div"),i(158,"Basic"),e(),t(159,"div"),i(160,"Primary"),e(),t(161,"div"),i(162,"Accent"),e(),t(163,"div"),i(164,"Warn"),e(),t(165,"div",29),i(166,"Disabled"),e(),t(167,"div")(168,"button",30)(169,"mat-icon"),i(170,"more_vert"),e()()(),t(171,"div")(172,"button",31)(173,"mat-icon"),i(174,"home"),e()()(),t(175,"div")(176,"button",32)(177,"mat-icon"),i(178,"menu"),e()()(),t(179,"div")(180,"button",33)(181,"mat-icon"),i(182,"favorite"),e()()(),t(183,"div",29)(184,"button",34)(185,"mat-icon"),i(186,"open_in_new"),e()()()(),t(187,"div",0),a(188,"mat-divider"),e()(),t(189,"div",1)(190,"h2"),i(191,"Slide toggle buttons"),e(),t(192,"div",35)(193,"div"),i(194,"Basic"),e(),t(195,"div"),i(196,"Primary"),e(),t(197,"div"),i(198,"Accent"),e(),t(199,"div"),i(200,"Warn"),e(),t(201,"div"),i(202,"Disabled"),e(),t(203,"div")(204,"mat-slide-toggle",36),i(205,"Slide me!"),e()(),t(206,"div")(207,"mat-slide-toggle",37),i(208,"Slide me!"),e()(),t(209,"div")(210,"mat-slide-toggle",38),i(211,"Slide me!"),e()(),t(212,"div")(213,"mat-slide-toggle",39),i(214,"Slide me!"),e()(),t(215,"div")(216,"mat-slide-toggle",40),i(217,"Slide me!"),e()()()(),t(218,"div",0),a(219,"mat-divider"),e())},dependencies:[A,h,Bt,w,we,ci],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var Jn=()=>["Option 1","Option 2","Option 3"],Ui=(()=>{let n=class n{constructor(){}ngOnInit(){}handleSelected(l){console.log("Selected option:",l)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ag-cards-demo"]],decls:39,vars:2,consts:[[1,"line"],[1,"section"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key","paragraph-semibold-p4-xSmall-emphasis"],[1,"key-value-value","paragraph-regular-p4-xSmall"],[3,"selectedOption","options"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Cards"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"h2"),i(5,"Basic cards"),e(),t(6,"div",1)(7,"mat-card",2)(8,"p",3),i(9,"Card with text"),e(),t(10,"p"),i(11," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et cursus eros, a ultricies massa. Morbi commodo sapien magna, vitae facilisis erat blandit ac. Praesent vulputate nulla quis nibh consectetur euismod. Nulla justo dolor, molestie vitae ultricies id, malesuada id tortor. Ut rutrum nisi enim. Pellentesque sed blandit tortor, id fringilla turpis. In vel arcu nec urna dictum mollis ac sed sem. Integer orci eros, hendrerit a dui nec, auctor mattis mi. Curabitur quis tempor ex. "),e()()(),a(12,"br"),t(13,"div",1)(14,"mat-card",2)(15,"p",3),i(16,"Key Value Card"),e(),t(17,"div",4)(18,"div",5)(19,"div",6),i(20,"Key 1"),e(),t(21,"div",7),i(22,"Value 1"),e()(),a(23,"mat-divider"),t(24,"div",5)(25,"div",6),i(26,"Key 2"),e(),t(27,"div",7),i(28,"Value 2"),e()(),a(29,"mat-divider"),t(30,"div",5)(31,"div",6),i(32,"Key 1"),e(),t(33,"div",7),i(34,"Value 1"),e()()()()(),a(35,"br"),t(36,"h2"),i(37,"Option Card Selector"),e(),t(38,"ms-card-selector",8),v("selectedOption",function(S){return m.handleSelected(S)}),e()),r&2&&(u(38),c("options",ne(1,Jn)))},dependencies:[me,h,oe],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();function ea(o,n){if(o&1){let s=T();t(0,"li")(1,"mat-checkbox",5),wt("ngModelChange",function(r){let m=C(s).$implicit;return _t(m.completed,r)||(m.completed=r),D(r)}),v("ngModelChange",function(){C(s);let r=g();return D(r.updateAllComplete())}),i(2),e()()}if(o&2){let s=n.$implicit;u(),Dt("ngModel",s.completed),c("color",s.color),u(),k(" ",s.name," ")}}var $i=(()=>{let n=class n{updateAllComplete(){this.allComplete=this.task.subtasks!=null&&this.task.subtasks.every(l=>l.completed)}someComplete(){return this.task.subtasks==null?!1:this.task.subtasks.filter(l=>l.completed).length>0&&!this.allComplete}setAll(l){this.allComplete=l,this.task.subtasks!=null&&this.task.subtasks.forEach(r=>r.completed=l)}constructor(){this.task={name:"Indeterminate",completed:!1,color:"primary",subtasks:[{name:"Primary",completed:!1,color:"primary"},{name:"Accent",completed:!1,color:"accent"},{name:"Warn",completed:!1,color:"warn"}]},this.allComplete=!1}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-checkboxes-demo"]],decls:18,vars:5,consts:[[1,"line"],[1,"ms-card"],[3,"disabled"],[3,"change","checked","color","indeterminate"],[1,"list-none"],[3,"ngModelChange","ngModel","color"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Checkboxes"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"section")(6,"mat-checkbox"),i(7,"Check me!"),e(),t(8,"mat-checkbox",2),i(9,"Disabled"),e()(),t(10,"section")(11,"span")(12,"mat-checkbox",3),v("change",function(S){return m.setAll(S.checked)}),i(13),e()(),t(14,"span")(15,"ul",4),J(16,ea,3,3,"li",null,Z),e()()()()),r&2&&(u(8),c("disabled",!0),u(4),c("checked",m.allComplete)("color",m.task.color)("indeterminate",m.someComplete()),u(),k(" ",m.task.name," "),u(3),ee(m.task.subtasks))},dependencies:[h,re,Rt,oe,ei],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();var Qi=(()=>{let n=class n{constructor(){}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-chips-demo"]],decls:17,vars:0,consts:[[1,"line"],[1,"section"],[1,"ms-chip"],["color","primary",1,"ms-chip"],["color","accent",1,"ms-chip"],["color","warn",1,"ms-chip"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Chips"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Basic Chips"),e(),t(7,"div")(8,"mat-chip-set")(9,"mat-chip",2),i(10," Default "),e(),t(11,"mat-chip",3),i(12," Primary "),e(),t(13,"mat-chip",4),i(14," Accent "),e(),t(15,"mat-chip",5),i(16," Warn "),e()()()())},dependencies:[h,oi,li],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}.mat-standard-chip[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px} .mat-chip-list-wrapper .mat-chip.mat-standard-chip{margin:4px}.example-box.cdk-drag-animating[_ngcontent-%COMP%], .example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-chip-list[_ngcontent-%COMP%]{width:100%}mat-chip[_ngcontent-%COMP%]{max-width:200px}"]});let o=n;return o})();var q=o=>[o],Ki=(()=>{let n=class n{constructor(){this.RoutesList=y}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-demo"]],decls:33,vars:42,consts:[[1,"main-container"],[1,"content","routes"],["vertical","true"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"mt-2",3,"routerLink"],[1,"content"]],template:function(r,m){r&1&&(t(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2)(3,"mat-button-toggle",3),i(4," Buttons "),e(),t(5,"mat-button-toggle",3),i(6," Typograpghy "),e(),t(7,"mat-button-toggle",3),i(8," Form Fields "),e(),t(9,"mat-button-toggle",3),i(10," Checkboxes "),e(),t(11,"mat-button-toggle",3),i(12," Menu "),e(),t(13,"mat-button-toggle",3),i(14," Tables "),e(),t(15,"mat-button-toggle",3),i(16," Icons "),e(),t(17,"mat-button-toggle",3),i(18," Cards "),e(),t(19,"mat-button-toggle",3),i(20," Chips "),e(),t(21,"mat-button-toggle",3),i(22," Notifications "),e(),t(23,"mat-button-toggle",3),i(24," Wizard "),e(),t(25,"mat-button-toggle",3),i(26," Drawer "),e(),t(27,"mat-button-toggle",3),i(28," Dialog "),e()(),t(29,"button",4),i(30," Back to login "),e()(),t(31,"div",5),a(32,"router-outlet"),e()()),r&2&&(u(3),c("routerLink",_(14,q,m.RoutesList.DEMO)),u(2),c("routerLink",_(16,q,m.RoutesList.DEMO.TYPOGRAPHY)),u(2),c("routerLink",_(18,q,m.RoutesList.DEMO.FORM_FIELDS)),u(2),c("routerLink",_(20,q,m.RoutesList.DEMO.CHECKBOXES)),u(2),c("routerLink",_(22,q,m.RoutesList.DEMO.MENU)),u(2),c("routerLink",_(24,q,m.RoutesList.DEMO.TABLE)),u(2),c("routerLink",_(26,q,m.RoutesList.DEMO.ICONS)),u(2),c("routerLink",_(28,q,m.RoutesList.DEMO.CARDS)),u(2),c("routerLink",_(30,q,m.RoutesList.DEMO.CHIPS)),u(2),c("routerLink",_(32,q,m.RoutesList.DEMO.NOTIFICATIONS)),u(2),c("routerLink",_(34,q,m.RoutesList.DEMO.WIZARD)),u(2),c("routerLink",_(36,q,m.RoutesList.DEMO.DRAWER)),u(2),c("routerLink",_(38,q,m.RoutesList.DEMO.DIALOG)),u(2),c("routerLink",_(40,q,"/"+m.RoutesList.AUTH.ROOT)))},dependencies:[Mt,yt,w,ii,ni],styles:[".main-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr)}.main-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;align-self:flex-start;grid-column:span 11;padding:14px 20px 0;width:90%}.main-container[_ngcontent-%COMP%] .routes[_ngcontent-%COMP%]{grid-column:span 1}.mat-button-toggle[_ngcontent-%COMP%]{display:flex;height:40px}"],changeDetection:0});let o=n;return o})();var Yi=(()=>{let n=class n{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};n.\u0275fac=function(r){return new(r||n)(d(Pe),d(qe))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-basic-demo"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. +import{a as Si,b as xi,c as Ei,d as Ci,e as Di,f as _i,g as wi,h as Mi,i as yi,j as Oi,k as Ii,l as qi,m as O,n as Pi,o as I,p as M,q as ke}from"./chunk-KWLNQCA6.js";import{a as ci,b as di}from"./chunk-ORGA47GB.js";import{a as ii,b as ni,c as ai}from"./chunk-FBWZYOSM.js";import{a as pi,b as fi,c as vi,d as tt,e as it,f as gi,g as hi,h as bi}from"./chunk-Y56BMHRM.js";import{a as Kt,b as Xt,c as Yt,d as Zt}from"./chunk-DCK4WYKK.js";import{a as oi,b as li,c as mi,d as me}from"./chunk-VVXFBAG6.js";import{a as si,b as ui}from"./chunk-GACPU6QS.js";import{a as ei,b as ti}from"./chunk-6JSLXF7X.js";import{a as h,b as Nt}from"./chunk-NAEQPCWM.js";import{a as oe,b as ri}from"./chunk-PGXHYGLR.js";import{i as Jt}from"./chunk-2CKK74GJ.js";import{a as qe,b as Pe,c as le,d as Te}from"./chunk-GYTTCMYG.js";import{c as Ti}from"./chunk-3IJULEGV.js";import{a as Ot}from"./chunk-QJ55TOIV.js";import{c as Ut,e as Gt,f as $t,l as Qt}from"./chunk-CYUWMGXJ.js";import{a as Me,b as Wt,h as ye,i as jt,j as Ie,k as Ht}from"./chunk-HULQWYRR.js";import{$a as t,$c as y,Ab as he,Ac as Je,Ad as qt,Bb as ne,Cb as _,Cd as Pt,Da as u,Db as pe,Ea as d,Fa as Ve,Gd as et,Hb as ae,I as P,Id as ve,K as st,Kb as Ge,Kd as Tt,Ld as kt,Ma as St,Na as H,Pa as x,Q as ut,Qa as se,Qd as At,R as ct,Ra as c,S as ze,Ta as B,Va as xt,Vb as $e,Wa as Et,Xa as F,Xd as Se,Y as dt,Ya as Z,Z as pt,Za as J,Zb as be,Zd as V,_ as K,_a as ee,ab as e,ae as re,bb as a,be as xe,ca as ft,cb as ue,ce as Ft,da as vt,db as ce,ea as gt,eb as U,fb as T,fe as Rt,g as ot,ga as f,gb as We,ge as Ee,ha as X,hd as It,ia as Y,ib as v,ie as Ce,j as Le,jc as Mt,kb as g,lb as je,lc as yt,le as De,mb as He,ne as _e,oa as C,ob as de,oc as fe,oe as Lt,p as lt,pa as D,pb as Ct,pe as zt,qb as te,qe as w,rb as ie,rc as Qe,re as Bt,sa as ge,sb as E,sc as Ke,se as we,tb as i,tc as Xe,te as Vt,ub as R,vb as k,vc as G,ve as A,w as mt,wa as Be,wb as Dt,wc as $,we as Oe,xa as ht,xb as _t,ya as bt,yb as wt,yc as Ye,zb as Ue,zc as Ze}from"./chunk-DL2LTWBU.js";function yn(o,n){if(o&1&&U(0,2),o&2){let s=g();c("ngTemplateOutlet",s.iconOverrides[s.state])("ngTemplateOutletContext",s._getIconContext())}}function On(o,n){if(o&1&&(t(0,"span",7),i(1),e()),o&2){let s=g(2);u(),R(s._getDefaultTextForState(s.state))}}function In(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.completedLabel)}}function qn(o,n){if(o&1&&(t(0,"span",8),i(1),e()),o&2){let s=g(3);u(),R(s._intl.editableLabel)}}function Pn(o,n){if(o&1&&(x(0,In,2,1,"span",8)(1,qn,2,1,"span",8),t(2,"mat-icon",7),i(3),e()),o&2){let s=g(2);F(s.state==="done"?0:s.state==="edit"?1:-1),u(3),R(s._getDefaultTextForState(s.state))}}function Tn(o,n){if(o&1&&x(0,On,2,1,"span",7)(1,Pn,4,2,"mat-icon",7),o&2){let s,l=g();F((s=l.state)==="number"?0:1)}}function kn(o,n){o&1&&(t(0,"div",4),U(1,9),e()),o&2&&(u(),c("ngTemplateOutlet",n.template))}function An(o,n){if(o&1&&(t(0,"div",4),i(1),e()),o&2){let s=g();u(),R(s.label)}}function Nn(o,n){if(o&1&&(t(0,"div",5),i(1),e()),o&2){let s=g();u(),R(s._intl.optionalLabel)}}function Fn(o,n){if(o&1&&(t(0,"div",6),i(1),e()),o&2){let s=g();u(),R(s.errorMessage)}}var Ai=["*"];function Rn(o,n){}function Ln(o,n){if(o&1&&(He(0),x(1,Rn,0,0,"ng-template",0)),o&2){let s=g();u(),c("cdkPortalOutlet",s._portal)}}var Ni=(o,n)=>({step:o,i:n}),Fi=o=>({animationDuration:o}),Ri=(o,n)=>({value:o,params:n});function zn(o,n){o&1&&He(0)}function Bn(o,n){o&1&&a(0,"div",6)}function Vn(o,n){if(o&1&&(U(0,5),x(1,Bn,1,0,"div",6)),o&2){let s=n.$implicit,l=n.$index,r=n.$count;g(2);let m=E(4);c("ngTemplateOutlet",m)("ngTemplateOutletContext",pe(3,Ni,s,l)),u(),F(l!==r-1?1:-1)}}function Wn(o,n){if(o&1){let s=T();t(0,"div",7),v("@horizontalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),U(1,8),e()}if(o&2){let s=n.$implicit,l=n.$index,r=g(2);B("mat-horizontal-stepper-content-inactive",r.selectedIndex!==l),c("@horizontalStepTransition",pe(8,Ri,r._getAnimationDirection(l),_(6,Fi,r._getAnimationDuration())))("id",r._getStepContentId(l)),se("aria-labelledby",r._getStepLabelId(l)),u(),c("ngTemplateOutlet",s.content)}}function jn(o,n){if(o&1&&(t(0,"div",1)(1,"div",2),J(2,Vn,2,6,null,null,Z),e(),t(4,"div",3),J(5,Wn,2,11,"div",4,Z),e()()),o&2){let s=g();u(2),ee(s.steps),u(3),ee(s.steps)}}function Hn(o,n){if(o&1){let s=T();t(0,"div",9),U(1,5),t(2,"div",10)(3,"div",11),v("@verticalStepTransition.done",function(r){C(s);let m=g(2);return D(m._animationDone.next(r))}),t(4,"div",12),U(5,8),e()()()()}if(o&2){let s=n.$implicit,l=n.$index,r=n.$count,m=g(2),p=E(4);u(),c("ngTemplateOutlet",p)("ngTemplateOutletContext",pe(10,Ni,s,l)),u(),B("mat-stepper-vertical-line",l!==r-1),u(),B("mat-vertical-stepper-content-inactive",m.selectedIndex!==l),c("@verticalStepTransition",pe(15,Ri,m._getAnimationDirection(l),_(13,Fi,m._getAnimationDuration())))("id",m._getStepContentId(l)),se("aria-labelledby",m._getStepLabelId(l)),u(2),c("ngTemplateOutlet",s.content)}}function Un(o,n){if(o&1&&J(0,Hn,6,18,"div",9,Z),o&2){let s=g();ee(s.steps)}}function Gn(o,n){if(o&1){let s=T();t(0,"mat-step-header",13),v("click",function(){let r=C(s).step;return D(r.select())})("keydown",function(r){C(s);let m=g();return D(m._onKeydown(r))}),e()}if(o&2){let s=n.step,l=n.i,r=g();B("mat-horizontal-stepper-header",r.orientation==="horizontal")("mat-vertical-stepper-header",r.orientation==="vertical"),c("tabIndex",r._getFocusIndex()===l?0:-1)("id",r._getStepLabelId(l))("index",l)("state",r._getIndicatorType(l,s.state))("label",s.stepLabel||s.label)("selected",r.selectedIndex===l)("active",r._stepIsNavigable(l,s))("optional",s.optional)("errorMessage",s.errorMessage)("iconOverrides",r._iconOverrides)("disableRipple",r.disableRipple||!r._stepIsNavigable(l,s))("color",s.color||r.color),se("aria-posinset",l+1)("aria-setsize",r.steps.length)("aria-controls",r._getStepContentId(l))("aria-selected",r.selectedIndex==l)("aria-label",s.ariaLabel||null)("aria-labelledby",!s.ariaLabel&&s.ariaLabelledby?s.ariaLabelledby:null)("aria-disabled",r._stepIsNavigable(l,s)?null:!0)}}var nt=(()=>{let n=class n extends fi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["","matStepLabel",""]],standalone:!0,features:[H]});let o=n;return o})(),Ae=(()=>{let n=class n{constructor(){this.changes=new Le,this.optionalLabel="Optional",this.completedLabel="Completed",this.editableLabel="Editable"}};n.\u0275fac=function(r){return new(r||n)},n.\u0275prov=pt({token:n,factory:n.\u0275fac,providedIn:"root"});let o=n;return o})();function $n(o){return o||new Ae}var Qn={provide:Ae,deps:[[new vt,new gt,Ae]],useFactory:$n},at=(()=>{let n=class n extends pi{constructor(l,r,m,p){super(m),this._intl=l,this._focusMonitor=r,this._intlSubscription=l.changes.subscribe(()=>p.markForCheck())}ngAfterViewInit(){this._focusMonitor.monitor(this._elementRef,!0)}ngOnDestroy(){this._intlSubscription.unsubscribe(),this._focusMonitor.stopMonitoring(this._elementRef)}focus(l,r){l?this._focusMonitor.focusVia(this._elementRef,l,r):this._elementRef.nativeElement.focus(r)}_stringLabel(){return this.label instanceof nt?null:this.label}_templateLabel(){return this.label instanceof nt?this.label:null}_getHostElement(){return this._elementRef.nativeElement}_getIconContext(){return{index:this.index,active:this.active,optional:this.optional}}_getDefaultTextForState(l){return l=="number"?`${this.index+1}`:l=="edit"?"create":l=="error"?"warning":l}};n.\u0275fac=function(r){return new(r||n)(d(Ae),d(qt),d(Be),d(Ge))},n.\u0275cmp=f({type:n,selectors:[["mat-step-header"]],hostAttrs:["role","tab",1,"mat-step-header"],hostVars:2,hostBindings:function(r,m){r&2&&xt("mat-"+(m.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:[H,he],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(r,m){if(r&1&&(a(0,"div",0),t(1,"div")(2,"div",1),x(3,yn,1,2,"ng-container",2)(4,Tn,2,1),e()(),t(5,"div",3),x(6,kn,2,1,"div",4)(7,An,2,1,"div",4)(8,Nn,2,1,"div",5)(9,Fn,2,1,"div",6),e()),r&2){let p;c("matRippleTrigger",m._getHostElement())("matRippleDisabled",m.disableRipple),u(),Et("mat-step-icon-state-",m.state," mat-step-icon"),B("mat-step-icon-selected",m.selected),u(2),F(m.iconOverrides&&m.iconOverrides[m.state]?3:4),u(2),B("mat-step-label-active",m.active)("mat-step-label-selected",m.selected)("mat-step-label-error",m.state=="error"),u(),F((p=m._templateLabel())?6:m._stringLabel()?7:-1,p),u(2),F(m.optional&&m.state!="error"?8:-1),u(),F(m.state==="error"?9:-1)}},dependencies:[Tt,$e,A],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)}.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)}@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)}.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);background-color:var(--mat-stepper-header-icon-background-color)}.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)}.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);font-size:var(--mat-stepper-header-label-text-size);font-weight:var(--mat-stepper-header-label-text-weight);color:var(--mat-stepper-header-label-text-color)}.mat-step-label.mat-step-label-active{color:var(--mat-stepper-header-selected-state-label-text-color)}.mat-step-label.mat-step-label-error{color:var(--mat-stepper-header-error-state-label-text-color);font-size:var(--mat-stepper-header-error-state-label-text-size)}.mat-step-label.mat-step-label-selected{font-size:var(--mat-stepper-header-selected-state-label-text-size);font-weight:var(--mat-stepper-header-selected-state-label-text-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);color:var(--mat-stepper-header-selected-state-icon-foreground-color)}.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);color:var(--mat-stepper-header-edit-state-icon-foreground-color)}'],encapsulation:2,changeDetection:0});let o=n;return o})(),Li="500ms",zi="225ms",ki={horizontalStepTransition:Qe("horizontalStepTransition",[$("previous",G({transform:"translate3d(-100%, 0, 0)",visibility:"hidden"})),$("current",G({transform:"none",visibility:"inherit"})),$("next",G({transform:"translate3d(100%, 0, 0)",visibility:"hidden"})),Ye("* => *",Xe([Ke("{{animationDuration}} cubic-bezier(0.35, 0, 0.25, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:Li}})]),verticalStepTransition:Qe("verticalStepTransition",[$("previous",G({height:"0px",visibility:"hidden"})),$("next",G({height:"0px",visibility:"hidden"})),$("current",G({height:"*",visibility:"inherit"})),Ye("* <=> current",Xe([Ke("{{animationDuration}} cubic-bezier(0.4, 0.0, 0.2, 1)"),Je("@*",Ze(),{optional:!0})]),{params:{animationDuration:zi}})])},Kn=(()=>{let n=class n{constructor(l){this.templateRef=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepperIcon",""]],inputs:{name:[0,"matStepperIcon","name"]},standalone:!0});let o=n;return o})(),Xn=(()=>{let n=class n{constructor(l){this._template=l}};n.\u0275fac=function(r){return new(r||n)(d(Ve))},n.\u0275dir=Y({type:n,selectors:[["ng-template","matStepContent",""]],standalone:!0});let o=n;return o})(),rt=(()=>{let n=class n extends tt{constructor(l,r,m,p){super(l,p),this._errorStateMatcher=r,this._viewContainerRef=m,this._isSelected=ot.EMPTY,this.stepLabel=void 0}ngAfterContentInit(){this._isSelected=this._stepper.steps.changes.pipe(ct(()=>this._stepper.selectionChange.pipe(mt(l=>l.selectedStep===this),ut(this._stepper.selected===this)))).subscribe(l=>{l&&this._lazyContent&&!this._portal&&(this._portal=new Ut(this._lazyContent._template,this._viewContainerRef))})}ngOnDestroy(){this._isSelected.unsubscribe()}isErrorState(l,r){let m=this._errorStateMatcher.isErrorState(l,r),p=!!(l&&l.invalid&&this.interacted);return m||p}};n.\u0275fac=function(r){return new(r||n)(d(dt(()=>Ne)),d(ve,4),d(St),d(vi,8))},n.\u0275cmp=f({type:n,selectors:[["mat-step"]],contentQueries:function(r,m,p){if(r&1&&(de(p,nt,5),de(p,Xn,5)),r&2){let S;te(S=ie())&&(m.stepLabel=S.first),te(S=ie())&&(m._lazyContent=S.first)}},hostAttrs:["hidden",""],inputs:{color:"color"},exportAs:["matStep"],standalone:!0,features:[Ue([{provide:ve,useExisting:n},{provide:tt,useExisting:n}]),H,he],ngContentSelectors:Ai,decls:1,vars:0,consts:[[3,"cdkPortalOutlet"]],template:function(r,m){r&1&&(je(),x(0,Ln,2,1,"ng-template"))},dependencies:[Gt],encapsulation:2,changeDetection:0});let o=n;return o})(),Ne=(()=>{let n=class n extends it{get animationDuration(){return this._animationDuration}set animationDuration(l){this._animationDuration=/^\d+$/.test(l)?l+"ms":l}constructor(l,r,m){super(l,r,m),this._stepHeader=void 0,this._steps=void 0,this.steps=new bt,this.animationDone=new ht,this.labelPosition="end",this.headerPosition="top",this._iconOverrides={},this._animationDone=new Le,this._animationDuration="",this._isServer=!ft(It).isBrowser;let p=m.nativeElement.nodeName.toLowerCase();this.orientation=p==="mat-vertical-stepper"?"vertical":"horizontal"}ngAfterContentInit(){super.ngAfterContentInit(),this._icons.forEach(({name:l,templateRef:r})=>this._iconOverrides[l]=r),this.steps.changes.pipe(ze(this._destroyed)).subscribe(()=>{this._stateChanged()}),this._animationDone.pipe(st((l,r)=>l.fromState===r.fromState&&l.toState===r.toState),ze(this._destroyed)).subscribe(l=>{l.toState==="current"&&this.animationDone.emit()})}_stepIsNavigable(l,r){return r.completed||this.selectedIndex===l||!this.linear}_getAnimationDuration(){return this.animationDuration?this.animationDuration:this.orientation==="horizontal"?Li:zi}};n.\u0275fac=function(r){return new(r||n)(d(Pt,8),d(Ge),d(Be))},n.\u0275cmp=f({type:n,selectors:[["mat-stepper"],["mat-vertical-stepper"],["mat-horizontal-stepper"],["","matStepper",""]],contentQueries:function(r,m,p){if(r&1&&(de(p,rt,5),de(p,Kn,5)),r&2){let S;te(S=ie())&&(m._steps=S),te(S=ie())&&(m._icons=S)}},viewQuery:function(r,m){if(r&1&&Ct(at,5),r&2){let p;te(p=ie())&&(m._stepHeader=p)}},hostAttrs:["role","tablist"],hostVars:11,hostBindings:function(r,m){r&2&&(se("aria-orientation",m.orientation),B("mat-stepper-horizontal",m.orientation==="horizontal")("mat-stepper-vertical",m.orientation==="vertical")("mat-stepper-label-position-end",m.orientation==="horizontal"&&m.labelPosition=="end")("mat-stepper-label-position-bottom",m.orientation==="horizontal"&&m.labelPosition=="bottom")("mat-stepper-header-position-bottom",m.headerPosition==="bottom"))},inputs:{disableRipple:"disableRipple",color:"color",labelPosition:"labelPosition",headerPosition:"headerPosition",animationDuration:"animationDuration"},outputs:{animationDone:"animationDone"},exportAs:["matStepper","matVerticalStepper","matHorizontalStepper"],standalone:!0,features:[Ue([{provide:it,useExisting:n}]),H,he],ngContentSelectors:Ai,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(r,m){if(r&1&&(je(),x(0,zn,1,0)(1,jn,7,0,"div",1)(2,Un,2,0)(3,Gn,1,23,"ng-template",null,0,ae)),r&2){let p;F(m._isServer?0:-1),u(),F((p=m.orientation)==="horizontal"?1:p==="vertical"?2:-1)}},dependencies:[$e,at],styles:['.mat-stepper-vertical,.mat-stepper-horizontal{display:block;font-family:var(--mat-stepper-container-text-font);background:var(--mat-stepper-container-color)}.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)}.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)}.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);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:[ki.horizontalStepTransition,ki.verticalStepTransition]},changeDetection:0});let o=n;return o})(),Bi=(()=>{let n=class n extends gi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperNext",""]],hostAttrs:[1,"mat-stepper-next"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Vi=(()=>{let n=class n extends hi{};n.\u0275fac=(()=>{let l;return function(m){return(l||(l=ge(n)))(m||n)}})(),n.\u0275dir=Y({type:n,selectors:[["button","matStepperPrevious",""]],hostAttrs:[1,"mat-stepper-previous"],hostVars:1,hostBindings:function(r,m){r&2&&We("type",m.type)},standalone:!0,features:[H]});let o=n;return o})(),Wi=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=X({type:n}),n.\u0275inj=K({providers:[Qn,ve],imports:[et,be,$t,bi,Oe,kt,Ne,at,et]});let o=n;return o})();var ji=(()=>{let n=class n{};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-buttons-demo"]],decls:220,vars:0,consts:[[1,"line"],[1,"section"],[1,"parent","items-per-row-6"],["mat-button",""],["mat-button","","color","primary"],["mat-button","","color","accent"],["mat-button","","color","warn"],["mat-button","","disabled",""],["mat-button","","href","https://www.google.com/","target","_blank"],["mat-raised-button",""],["mat-raised-button","","color","primary"],["mat-raised-button","","color","accent"],["mat-raised-button","","color","warn"],["mat-raised-button","","disabled","","color","accent"],["mat-raised-button","","href","https://www.google.com/","target","_blank"],[1,"parent","items-per-row-7"],["mat-stroked-button",""],["mat-stroked-button","",1,"ms-white-stroked-button"],["mat-stroked-button","","color","primary"],["mat-stroked-button","","color","accent"],["mat-stroked-button","","color","warn"],["mat-stroked-button","","disabled","","color","accent"],["mat-stroked-button","","href","https://www.google.com/","target","_blank"],["mat-flat-button",""],["mat-flat-button","","color","primary"],["mat-flat-button","","color","accent"],["mat-flat-button","","color","warn"],["mat-flat-button","","disabled","","color","primary"],["mat-flat-button","","href","https://www.google.com/","target","_blank"],[2,"grid-column","span 2"],["mat-icon-button",""],["mat-icon-button","","color","primary"],["mat-icon-button","","color","accent"],["mat-icon-button","","color","warn"],["mat-icon-button","","disabled","","color","accent"],[1,"parent","items-per-row-5"],["checked",""],["color","primary","checked",""],["color","accent","checked",""],["color","warn","checked",""],["disabled",""]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Buttons"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Default"),e(),t(7,"div",2)(8,"div"),i(9,"Basic"),e(),t(10,"div"),i(11,"Primary"),e(),t(12,"div"),i(13,"Accent"),e(),t(14,"div"),i(15,"Warn"),e(),t(16,"div"),i(17,"Disabled"),e(),t(18,"div"),i(19,"Link"),e(),t(20,"div")(21,"button",3),i(22,"Lorem Ipsum"),e()(),t(23,"div")(24,"button",4),i(25,"Lorem Ipsum"),e()(),t(26,"div")(27,"button",5),i(28,"Lorem Ipsum"),e()(),t(29,"div")(30,"button",6),i(31,"Lorem Ipsum"),e()(),t(32,"div")(33,"button",7),i(34,"Lorem Ipsum"),e()(),t(35,"div")(36,"a",8),i(37,"Link"),e()()(),t(38,"div",0),a(39,"mat-divider"),e()(),t(40,"div",1)(41,"h2"),i(42,"Raised buttons"),e(),t(43,"div",2)(44,"div"),i(45,"Basic"),e(),t(46,"div"),i(47,"Primary"),e(),t(48,"div"),i(49,"Accent"),e(),t(50,"div"),i(51,"Warn"),e(),t(52,"div"),i(53,"Disabled"),e(),t(54,"div"),i(55,"Link"),e(),t(56,"div")(57,"button",9),i(58,"Lorem Ipsum"),e()(),t(59,"div")(60,"button",10),i(61,"Lorem Ipsum"),e()(),t(62,"div")(63,"button",11),i(64,"Lorem Ipsum"),e()(),t(65,"div")(66,"button",12),i(67,"Lorem Ipsum"),e()(),t(68,"div")(69,"button",13),i(70,"Lorem Ipsum"),e()(),t(71,"div")(72,"a",14),i(73,"Link"),e()()(),t(74,"div",0),a(75,"mat-divider"),e()(),t(76,"div",1)(77,"h2"),i(78,"Stroked buttons"),e(),t(79,"div",15)(80,"div"),i(81,"Basic"),e(),t(82,"div"),i(83,"Basic White"),e(),t(84,"div"),i(85,"Primary"),e(),t(86,"div"),i(87,"Accent"),e(),t(88,"div"),i(89,"Warn"),e(),t(90,"div"),i(91,"Disabled"),e(),t(92,"div"),i(93,"Link"),e(),t(94,"div")(95,"button",16),i(96,"Lorem Ipsum"),e()(),t(97,"div")(98,"button",17),i(99,"Lorem Ipsum"),e()(),t(100,"div")(101,"button",18),i(102,"Lorem Ipsum"),e()(),t(103,"div")(104,"button",19),i(105,"Lorem Ipsum"),e()(),t(106,"div")(107,"button",20),i(108,"Lorem Ipsum"),e()(),t(109,"div")(110,"button",21),i(111,"Lorem Ipsum"),e()(),t(112,"div")(113,"a",22),i(114,"Link"),e()()(),t(115,"div",0),a(116,"mat-divider"),e()(),t(117,"div",1)(118,"h2"),i(119,"Flat buttons"),e(),t(120,"div",2)(121,"div"),i(122,"Basic"),e(),t(123,"div"),i(124,"Primary"),e(),t(125,"div"),i(126,"Accent"),e(),t(127,"div"),i(128,"Warn"),e(),t(129,"div"),i(130,"Disabled"),e(),t(131,"div"),i(132,"Link"),e(),t(133,"div")(134,"button",23),i(135,"Lorem Ipsum"),e()(),t(136,"div")(137,"button",24),i(138,"Lorem Ipsum"),e()(),t(139,"div")(140,"button",25),i(141,"Lorem Ipsum"),e()(),t(142,"div")(143,"button",26),i(144,"Lorem Ipsum"),e()(),t(145,"div")(146,"button",27),i(147,"Lorem Ipsum"),e()(),t(148,"div")(149,"a",28),i(150,"Link"),e()()(),t(151,"div",0),a(152,"mat-divider"),e()(),t(153,"div",1)(154,"h2"),i(155,"Icon buttons"),e(),t(156,"div",2)(157,"div"),i(158,"Basic"),e(),t(159,"div"),i(160,"Primary"),e(),t(161,"div"),i(162,"Accent"),e(),t(163,"div"),i(164,"Warn"),e(),t(165,"div",29),i(166,"Disabled"),e(),t(167,"div")(168,"button",30)(169,"mat-icon"),i(170,"more_vert"),e()()(),t(171,"div")(172,"button",31)(173,"mat-icon"),i(174,"home"),e()()(),t(175,"div")(176,"button",32)(177,"mat-icon"),i(178,"menu"),e()()(),t(179,"div")(180,"button",33)(181,"mat-icon"),i(182,"favorite"),e()()(),t(183,"div",29)(184,"button",34)(185,"mat-icon"),i(186,"open_in_new"),e()()()(),t(187,"div",0),a(188,"mat-divider"),e()(),t(189,"div",1)(190,"h2"),i(191,"Slide toggle buttons"),e(),t(192,"div",35)(193,"div"),i(194,"Basic"),e(),t(195,"div"),i(196,"Primary"),e(),t(197,"div"),i(198,"Accent"),e(),t(199,"div"),i(200,"Warn"),e(),t(201,"div"),i(202,"Disabled"),e(),t(203,"div")(204,"mat-slide-toggle",36),i(205,"Slide me!"),e()(),t(206,"div")(207,"mat-slide-toggle",37),i(208,"Slide me!"),e()(),t(209,"div")(210,"mat-slide-toggle",38),i(211,"Slide me!"),e()(),t(212,"div")(213,"mat-slide-toggle",39),i(214,"Slide me!"),e()(),t(215,"div")(216,"mat-slide-toggle",40),i(217,"Slide me!"),e()()()(),t(218,"div",0),a(219,"mat-divider"),e())},dependencies:[A,h,Bt,w,we,ci],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var Jn=()=>["Option 1","Option 2","Option 3"],Ui=(()=>{let n=class n{constructor(){}ngOnInit(){}handleSelected(l){console.log("Selected option:",l)}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ag-cards-demo"]],decls:39,vars:2,consts:[[1,"line"],[1,"section"],[1,"ms-card"],[1,"heading-sub-section-title"],[1,"key-value-container","single"],[1,"key-value-pair"],[1,"key-value-key","paragraph-semibold-p4-xSmall-emphasis"],[1,"key-value-value","paragraph-regular-p4-xSmall"],[3,"selectedOption","options"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Cards"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"h2"),i(5,"Basic cards"),e(),t(6,"div",1)(7,"mat-card",2)(8,"p",3),i(9,"Card with text"),e(),t(10,"p"),i(11," Lorem ipsum dolor sit amet, consectetur adipiscing elit. Fusce et cursus eros, a ultricies massa. Morbi commodo sapien magna, vitae facilisis erat blandit ac. Praesent vulputate nulla quis nibh consectetur euismod. Nulla justo dolor, molestie vitae ultricies id, malesuada id tortor. Ut rutrum nisi enim. Pellentesque sed blandit tortor, id fringilla turpis. In vel arcu nec urna dictum mollis ac sed sem. Integer orci eros, hendrerit a dui nec, auctor mattis mi. Curabitur quis tempor ex. "),e()()(),a(12,"br"),t(13,"div",1)(14,"mat-card",2)(15,"p",3),i(16,"Key Value Card"),e(),t(17,"div",4)(18,"div",5)(19,"div",6),i(20,"Key 1"),e(),t(21,"div",7),i(22,"Value 1"),e()(),a(23,"mat-divider"),t(24,"div",5)(25,"div",6),i(26,"Key 2"),e(),t(27,"div",7),i(28,"Value 2"),e()(),a(29,"mat-divider"),t(30,"div",5)(31,"div",6),i(32,"Key 1"),e(),t(33,"div",7),i(34,"Value 1"),e()()()()(),a(35,"br"),t(36,"h2"),i(37,"Option Card Selector"),e(),t(38,"ms-card-selector",8),v("selectedOption",function(S){return m.handleSelected(S)}),e()),r&2&&(u(38),c("options",ne(1,Jn)))},dependencies:[me,h,oe],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();function ea(o,n){if(o&1){let s=T();t(0,"li")(1,"mat-checkbox",5),wt("ngModelChange",function(r){let m=C(s).$implicit;return _t(m.completed,r)||(m.completed=r),D(r)}),v("ngModelChange",function(){C(s);let r=g();return D(r.updateAllComplete())}),i(2),e()()}if(o&2){let s=n.$implicit;u(),Dt("ngModel",s.completed),c("color",s.color),u(),k(" ",s.name," ")}}var $i=(()=>{let n=class n{updateAllComplete(){this.allComplete=this.task.subtasks!=null&&this.task.subtasks.every(l=>l.completed)}someComplete(){return this.task.subtasks==null?!1:this.task.subtasks.filter(l=>l.completed).length>0&&!this.allComplete}setAll(l){this.allComplete=l,this.task.subtasks!=null&&this.task.subtasks.forEach(r=>r.completed=l)}constructor(){this.task={name:"Indeterminate",completed:!1,color:"primary",subtasks:[{name:"Primary",completed:!1,color:"primary"},{name:"Accent",completed:!1,color:"accent"},{name:"Warn",completed:!1,color:"warn"}]},this.allComplete=!1}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-checkboxes-demo"]],decls:18,vars:5,consts:[[1,"line"],[1,"ms-card"],[3,"disabled"],[3,"change","checked","color","indeterminate"],[1,"list-none"],[3,"ngModelChange","ngModel","color"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Checkboxes"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"mat-card",1)(5,"section")(6,"mat-checkbox"),i(7,"Check me!"),e(),t(8,"mat-checkbox",2),i(9,"Disabled"),e()(),t(10,"section")(11,"span")(12,"mat-checkbox",3),v("change",function(S){return m.setAll(S.checked)}),i(13),e()(),t(14,"span")(15,"ul",4),J(16,ea,3,3,"li",null,Z),e()()()()),r&2&&(u(8),c("disabled",!0),u(4),c("checked",m.allComplete)("color",m.task.color)("indeterminate",m.someComplete()),u(),k(" ",m.task.name," "),u(3),ee(m.task.subtasks))},dependencies:[h,re,Rt,oe,ei],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"]});let o=n;return o})();var Qi=(()=>{let n=class n{constructor(){}ngOnInit(){}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-chips-demo"]],decls:17,vars:0,consts:[[1,"line"],[1,"section"],[1,"ms-chip"],["color","primary",1,"ms-chip"],["color","accent",1,"ms-chip"],["color","warn",1,"ms-chip"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Chips"),e(),t(2,"div",0),a(3,"mat-divider"),e(),t(4,"div",1)(5,"h2"),i(6,"Basic Chips"),e(),t(7,"div")(8,"mat-chip-set")(9,"mat-chip",2),i(10," Default "),e(),t(11,"mat-chip",3),i(12," Primary "),e(),t(13,"mat-chip",4),i(14," Accent "),e(),t(15,"mat-chip",5),i(16," Warn "),e()()()())},dependencies:[h,oi,li],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}.mat-standard-chip[_ngcontent-%COMP%]{transition:box-shadow .28s cubic-bezier(.4,0,.2,1);display:inline-flex;padding:7px 12px;border-radius:16px;align-items:center;cursor:default;min-height:32px;height:1px} .mat-chip-list-wrapper .mat-chip.mat-standard-chip{margin:4px}.example-box.cdk-drag-animating[_ngcontent-%COMP%], .example-chip[_ngcontent-%COMP%] .cdk-drop-list-dragging[_ngcontent-%COMP%]{transition:transform .25s cubic-bezier(0,0,.2,1)}.example-chip-list[_ngcontent-%COMP%]{width:100%}mat-chip[_ngcontent-%COMP%]{max-width:200px}"]});let o=n;return o})();var q=o=>[o],Ki=(()=>{let n=class n{constructor(){this.RoutesList=y}};n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=f({type:n,selectors:[["ms-demo"]],decls:33,vars:42,consts:[[1,"main-container"],[1,"content","routes"],["vertical","true"],[3,"routerLink"],["mat-raised-button","","color","primary",1,"mt-2",3,"routerLink"],[1,"content"]],template:function(r,m){r&1&&(t(0,"div",0)(1,"div",1)(2,"mat-button-toggle-group",2)(3,"mat-button-toggle",3),i(4," Buttons "),e(),t(5,"mat-button-toggle",3),i(6," Typograpghy "),e(),t(7,"mat-button-toggle",3),i(8," Form Fields "),e(),t(9,"mat-button-toggle",3),i(10," Checkboxes "),e(),t(11,"mat-button-toggle",3),i(12," Menu "),e(),t(13,"mat-button-toggle",3),i(14," Tables "),e(),t(15,"mat-button-toggle",3),i(16," Icons "),e(),t(17,"mat-button-toggle",3),i(18," Cards "),e(),t(19,"mat-button-toggle",3),i(20," Chips "),e(),t(21,"mat-button-toggle",3),i(22," Notifications "),e(),t(23,"mat-button-toggle",3),i(24," Wizard "),e(),t(25,"mat-button-toggle",3),i(26," Drawer "),e(),t(27,"mat-button-toggle",3),i(28," Dialog "),e()(),t(29,"button",4),i(30," Back to login "),e()(),t(31,"div",5),a(32,"router-outlet"),e()()),r&2&&(u(3),c("routerLink",_(14,q,m.RoutesList.DEMO)),u(2),c("routerLink",_(16,q,m.RoutesList.DEMO.TYPOGRAPHY)),u(2),c("routerLink",_(18,q,m.RoutesList.DEMO.FORM_FIELDS)),u(2),c("routerLink",_(20,q,m.RoutesList.DEMO.CHECKBOXES)),u(2),c("routerLink",_(22,q,m.RoutesList.DEMO.MENU)),u(2),c("routerLink",_(24,q,m.RoutesList.DEMO.TABLE)),u(2),c("routerLink",_(26,q,m.RoutesList.DEMO.ICONS)),u(2),c("routerLink",_(28,q,m.RoutesList.DEMO.CARDS)),u(2),c("routerLink",_(30,q,m.RoutesList.DEMO.CHIPS)),u(2),c("routerLink",_(32,q,m.RoutesList.DEMO.NOTIFICATIONS)),u(2),c("routerLink",_(34,q,m.RoutesList.DEMO.WIZARD)),u(2),c("routerLink",_(36,q,m.RoutesList.DEMO.DRAWER)),u(2),c("routerLink",_(38,q,m.RoutesList.DEMO.DIALOG)),u(2),c("routerLink",_(40,q,"/"+m.RoutesList.AUTH.ROOT)))},dependencies:[Mt,yt,w,ii,ni],styles:[".main-container[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(12,1fr)}.main-container[_ngcontent-%COMP%] .content[_ngcontent-%COMP%]{position:-webkit-sticky;position:sticky;top:0;align-self:flex-start;grid-column:span 11;padding:14px 20px 0;width:90%}.main-container[_ngcontent-%COMP%] .routes[_ngcontent-%COMP%]{grid-column:span 1}.mat-button-toggle[_ngcontent-%COMP%]{display:flex;height:40px}"],changeDetection:0});let o=n;return o})();var Yi=(()=>{let n=class n{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};n.\u0275fac=function(r){return new(r||n)(d(Pe),d(qe))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-basic-demo"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. `),e())},dependencies:[le]});let o=n;return o})();var Zi=(()=>{let n=class n{constructor(l,r){this.dialogRef=l,this.dialogConfig=r}};n.\u0275fac=function(r){return new(r||n)(d(Pe),d(qe))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-custom-size"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-dialog"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. `),e())},dependencies:[le]});let o=n;return o})();var Ji=(()=>{let n=class n{constructor(l){this.dialogService=l}ngOnInit(){}openBasicDialog(){this.dialogService.open(Yi,{title:"Lorem Ipsum"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Dialog closed!")})}openCustomSizeDialog(){this.dialogService.open(Zi,{title:"Lorem Ipsum",width:"40vw",height:"50vh"}).afterClosed().pipe(P(1)).subscribe(()=>{console.log("Dialog with custom width closed!")})}};n.\u0275fac=function(r){return new(r||n)(d(Te))},n.\u0275cmp=f({type:n,selectors:[["ms-dialog-demo"]],decls:70,vars:0,consts:[[1,"section"],[1,"parent","items-per-row-5"],["mat-raised-button","",3,"click"],[1,"line"]],template:function(r,m){r&1&&(t(0,"h1"),i(1,"Dialog"),e(),t(2,"div")(3,"h2"),i(4,"Description:"),e(),t(5,"p"),i(6,"Dialog panel it's opened using the dialog service. (ex. this.dialogService.open(COMPONENT, customData)"),e(),t(7,"p"),i(8," Those are the custom data available for "),t(9,"b"),i(10,"dialog config:"),e(),a(11,"br"),t(12,"b"),i(13,"data?: any;"),e(),i(14," | Custom data that you would need to add from outside inside the dialog. "),a(15,"br"),t(16,"b"),i(17,"title?: string;"),e(),i(18," | Dialog title "),a(19,"br"),t(20,"b"),i(21,"showSaveButton?: boolean;"),e(),i(22," | Option to configure the show/hide of the save button. "),a(23,"br"),t(24,"b"),i(25,"showDismissButton?: boolean;"),e(),i(26," | Option to configure the show/hide of the dismiss button. "),a(27,"br"),t(28,"b"),i(29,"saveButtonLabel?: string;"),e(),i(30," | Option to configure the save button label."),a(31,"br"),t(32,"b"),i(33,"dismissButtonLabel?: string;"),e(),i(34," | Option to configure the dismiss button label."),a(35,"br"),t(36,"b"),i(37,"width?: DialogCSSSize;"),e(),i(38," | Option to configure the width in 'px', 'vw' | 'vh', 'em', 'rem' of the dialog."),a(39,"br"),t(40,"b"),i(41,"height?: DialogCSSSize;"),e(),i(42," | Option to configure the height 'px', 'vw', 'vh', 'em', 'rem' of the dialog."),a(43,"br"),e(),t(44,"p"),i(45," On each dialog action an event it's emitted: If you click on the X icon, the event emitted it's DialogStatus.CLOSE, if you click on save the event emitted is DialogStatus.SAVE, if you click on dismiss the event it's DialogStatus.DISMISS. By using this action on the actionEvent output event emitter, you can bind your function and listen to events for your custom functionality. "),e(),t(46,"p"),i(47,' Additionaly, you can change the templates of the header and footer and provide a totally custom implementation as you would need it. Check the "alternative templates" examples '),e()(),t(48,"div",0)(49,"h2"),i(50,"Basic Dialogs"),e(),t(51,"div",1)(52,"div"),i(53,"Open basic dialog with fixed size"),e(),t(54,"div"),i(55,"Open basic dialog with custom size with resizable units (vw, vh)"),e(),a(56,"div")(57,"div")(58,"div"),t(59,"div")(60,"button",2),v("click",function(){return m.openBasicDialog()}),i(61,"Open Dialog"),e()(),t(62,"div")(63,"button",2),v("click",function(){return m.openCustomSizeDialog()}),i(64,"Open Custom Size Dialog"),e()(),a(65,"div")(66,"div")(67,"div"),e(),t(68,"div",3),a(69,"mat-divider"),e()())},dependencies:[h,w],styles:[".title[_ngcontent-%COMP%]{font-size:18px;font-weight:700;margin-bottom:20px}.subtitle[_ngcontent-%COMP%]{font-weight:600;margin-bottom:20px}.parent[_ngcontent-%COMP%]{display:grid;column-gap:10px;row-gap:20px}.parent.items-per-row-2[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.parent.items-per-row-3[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}.parent.items-per-row-4[_ngcontent-%COMP%]{grid-template-columns:repeat(4,1fr)}.parent.items-per-row-5[_ngcontent-%COMP%]{grid-template-columns:repeat(5,1fr)}.parent.items-per-row-6[_ngcontent-%COMP%]{grid-template-columns:repeat(6,1fr)}.parent.items-per-row-7[_ngcontent-%COMP%]{grid-template-columns:repeat(7,1fr)}.parent.items-per-row-8[_ngcontent-%COMP%]{grid-template-columns:repeat(8,1fr)}.parent.items-per-row-9[_ngcontent-%COMP%]{grid-template-columns:repeat(9,1fr)}.parent.items-per-row-10[_ngcontent-%COMP%]{grid-template-columns:repeat(10,1fr)}.line[_ngcontent-%COMP%], .description[_ngcontent-%COMP%]{margin:20px 0}"],changeDetection:0});let o=n;return o})();var en=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}close(){this.drawerRef.close()}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-run-drawer-actions"]],decls:2,vars:0,template:function(r,m){r&1&&(t(0,"ms-drawer"),i(1,` Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque.Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. Curabitur purus lectus, sollicitudin eu aliquet in, imperdiet nec sapien. Nullam posuere erat nisl, sit amet consectetur dui aliquet consectetur. Sed mollis nibh et dolor maximus consectetur. Cras quam ex, efficitur eu lacus eu, dignissim pellentesque massa. Fusce nibh elit, iaculis ut neque at, finibus ornare libero. Duis maximus rutrum urna gravida posuere. Fusce tristique mollis venenatis. In mi augue, ullamcorper nec urna et, pellentesque pellentesque magna. Aenean porttitor ultrices efficitur. Vestibulum pellentesque tempus est, eget luctus ligula porta et. Donec interdum ante ut quam sagittis, tristique rutrum ipsum tempus. Ut posuere urna lorem. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia curae; Donec elementum vestibulum risus, et molestie sapien malesuada at. Donec malesuada vestibulum iaculis. Donec porttitor malesuada metus, vel tempor nulla gravida ut. Cras cursus felis vitae magna laoreet porta. Sed non leo tristique, rhoncus sapien et, consectetur lectus. Suspendisse potenti. Nam finibus, sapien eu tristique porttitor, ante eros pretium mauris, sed hendrerit risus eros ac lacus. Proin consectetur ligula aliquet velit vestibulum placerat. Vivamus et orci id augue tempor molestie. Morbi id nisl vitae lacus porta gravida ut vitae ante. In posuere ultrices arcu. Aliquam a finibus arcu. Sed consequat libero mi, eu fermentum arcu aliquet quis. Vestibulum iaculis rhoncus neque, quis congue justo egestas at. Ut placerat diam quis risus dapibus convallis. Donec non tempor nisl. Donec vulputate malesuada tempor. Pellentesque ac lectus eu massa tristique placerat. Proin suscipit ante risus, at elementum quam euismod eget. Nunc sollicitudin pretium eros, quis imperdiet metus aliquet at. Maecenas sit amet felis vitae nunc dignissim varius. Vivamus nibh orci, volutpat vitae rutrum eu, pharetra ac enim. Ut orci metus, luctus sed lacus vel, bibendum dapibus nulla. Nulla nisl ex, hendrerit ut pretium rhoncus, posuere vitae est. Fusce accumsan ac lorem imperdiet convallis. Etiam vehicula sapien vitae dignissim efficitur. Morbi finibus lacus in felis condimentum tristique. Maecenas aliquam ipsum facilisis sapien lobortis pellentesque. `),e())},dependencies:[M],changeDetection:0});let o=n;return o})();function ia(o,n){if(o&1){let s=T();t(0,"div",2)(1,"button",3),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(2,"Button 1"),e(),t(3,"button",4),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(4,"Button 2"),e(),t(5,"button",5),v("click",function(){C(s);let r=g();return D(r.onDismiss())}),i(6,"Button 3"),e()()}}var tn=(()=>{let n=class n{constructor(l,r){this.drawerRef=l,this.drawerConfig=r}ngOnInit(){}onDismiss(){this.drawerRef.close()}};n.\u0275fac=function(r){return new(r||n)(d(I),d(O))},n.\u0275cmp=f({type:n,selectors:[["ms-drawer-with-alternative-actions-template"]],decls:4,vars:1,consts:[["alternativeActions",""],[3,"actionsTemplate"],[1,"buttons-wrapper"],["mat-raised-button","","color","primary",3,"click"],["mat-flat-button","","color","accent",3,"click"],["mat-stroked-button","","color","primary",3,"click"]],template:function(r,m){if(r&1&&(t(0,"ms-drawer",1),i(1,`Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sit amet elit at dolor consectetur luctus. Mauris tellus ipsum, pellentesque eu vulputate et, vehicula a risus. Nunc lacus nulla, tristique non dictum ut, placerat semper nunc. Cras nulla nulla, cursus eu ultricies non, tempus eget tellus. Sed ac dapibus diam. Vestibulum et tempor sapien. Donec pretium, arcu et ornare finibus, lacus ligula laoreet lacus, sodales laoreet augue purus et elit. Duis massa dui, sagittis id vulputate eu, aliquet ornare eros. Duis libero velit, venenatis id ante a, pretium porta nibh. Donec sed metus blandit, iaculis tortor vitae, consequat diam. Nullam id justo sodales, congue leo ut, laoreet ligula. Vestibulum aliquam risus et urna commodo venenatis. Aliquam porttitor eget mauris id semper. Curabitur sed bibendum lectus, at volutpat augue. Nulla vitae nisl elit. Mauris tempor arcu vitae turpis eleifend maximus. Pellentesque tempus tellus tortor. Nunc massa leo, iaculis non nisl ac, laoreet consectetur quam. Nullam eu erat augue. Aliquam ex lacus, consequat porta laoreet non, varius vel magna. Nunc eget felis velit. Maecenas blandit dui velit, ac faucibus risus rutrum ut. In nunc elit, suscipit aliquet dictum non, scelerisque in lectus. Nulla ipsum turpis, molestie eu ipsum eget, gravida suscipit risus. Donec nec euismod est. Aliquam erat volutpat. Sed rutrum sodales lectus. diff --git a/frontend/server/modelsmith-build/browser/chunk-S6LLWZTQ.js b/frontend/server/modelsmith-build/browser/chunk-IWNWWHR2.js similarity index 87% rename from frontend/server/modelsmith-build/browser/chunk-S6LLWZTQ.js rename to frontend/server/modelsmith-build/browser/chunk-IWNWWHR2.js index ffc6bee..7f88e2e 100644 --- a/frontend/server/modelsmith-build/browser/chunk-S6LLWZTQ.js +++ b/frontend/server/modelsmith-build/browser/chunk-IWNWWHR2.js @@ -1 +1 @@ -import{a as u}from"./chunk-DZVKHAZU.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-2CKK74GJ.js";import"./chunk-6JSLXF7X.js";import{a as f}from"./chunk-FNUDZPJE.js";import"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import{b as S,c as X,e as y}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as x,b as q}from"./chunk-3IJULEGV.js";import{a as G,b as L}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,Da as n,Ea as g,Ra as a,Zb as D,_ as p,a as h,ab as c,b,bb as v,be as U,cb as E,db as P,fb as I,ga as w,ha as l,ib as N,ie as V,ne as _,oa as T,oc as C,oe as Q,p as F,pa as A,pb as O,pe as W,qb as R,qe as k,rb as j,tb as M,te as B}from"./chunk-DL2LTWBU.js";var $=["panelParameters"],r,d=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=X,this.MultiflowAlgorithmsEnum=y,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(y.MULTIFLOW_PRUNE)},0)}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(L(this)).subscribe(t=>{this.isScriptActive=S(t),S(t)?this.form.disable():this.form.enable()})}submit(){if(this.isScriptActive)return;let{algorithm:t}=this.form.getRawValue(),i=b(h({},t),{params:h({},this.panelParametersComponent.parametersFormatted)});this.scriptFacadeService.dispatch(x.callScript({configs:i}))}},r.\u0275fac=function(i){return new(i||r)(g(_),g(q))},r.\u0275cmp=w({type:r,selectors:[["ms-multi-modal"]],viewQuery:function(i,e){if(i&1&&O($,5),i&2){let o;R(o=j())&&(e.panelParametersComponent=o.first)}},decls:12,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=I();s(0,"p",1),M(1,"Multi-modal"),c(),s(2,"div",2)(3,"div",3),E(4,4),v(5,"ms-panel-parameters",5,0),P(),s(7,"div")(8,"button",6),N("click",function(){return T(o),A(e.submit())}),M(9," Run "),c()()(),s(10,"div",7),v(11,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(n(2),a("formGroup",e.form),n(2),a("formGroup",e.form),n(),a("algorithm",e.MultiflowAlgorithmsEnum.MULTIFLOW_PRUNE),n(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[u,f,U,V,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);d=F([G()],d);var z=[{path:"",component:d}],Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[C.forChild(z),C]});let m=t;return m})();var yt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[D,u,f,Z,Q,W,B]});let m=t;return m})();export{yt as MultiModalModule}; +import{a as u}from"./chunk-P2CUAPHG.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import{a as f}from"./chunk-TTKDIG3U.js";import"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import{b as S,c as X,e as y}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as x,b as q}from"./chunk-3IJULEGV.js";import{a as G,b as L}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,Da as n,Ea as g,Ra as a,Zb as D,_ as p,a as h,ab as c,b,bb as v,be as U,cb as E,db as P,fb as I,ga as w,ha as l,ib as N,ie as V,ne as _,oa as T,oc as C,oe as Q,p as F,pa as A,pb as O,pe as W,qb as R,qe as k,rb as j,tb as M,te as B}from"./chunk-DL2LTWBU.js";var $=["panelParameters"],r,d=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=X,this.MultiflowAlgorithmsEnum=y,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(y.MULTIFLOW_PRUNE)},0)}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(L(this)).subscribe(t=>{this.isScriptActive=S(t),S(t)?this.form.disable():this.form.enable()})}submit(){if(this.isScriptActive)return;let{algorithm:t}=this.form.getRawValue(),i=b(h({},t),{params:h({},this.panelParametersComponent.parametersFormatted)});this.scriptFacadeService.dispatch(x.callScript({configs:i}))}},r.\u0275fac=function(i){return new(i||r)(g(_),g(q))},r.\u0275cmp=w({type:r,selectors:[["ms-multi-modal"]],viewQuery:function(i,e){if(i&1&&O($,5),i&2){let o;R(o=j())&&(e.panelParametersComponent=o.first)}},decls:12,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=I();s(0,"p",1),M(1,"Multi-modal"),c(),s(2,"div",2)(3,"div",3),E(4,4),v(5,"ms-panel-parameters",5,0),P(),s(7,"div")(8,"button",6),N("click",function(){return T(o),A(e.submit())}),M(9," Run "),c()()(),s(10,"div",7),v(11,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(n(2),a("formGroup",e.form),n(2),a("formGroup",e.form),n(),a("algorithm",e.MultiflowAlgorithmsEnum.MULTIFLOW_PRUNE),n(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[u,f,U,V,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);d=F([G()],d);var z=[{path:"",component:d}],Z=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[C.forChild(z),C]});let m=t;return m})();var yt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[D,u,f,Z,Q,W,B]});let m=t;return m})();export{yt as MultiModalModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-GA7FJHQG.js b/frontend/server/modelsmith-build/browser/chunk-JIVTEK4P.js similarity index 86% rename from frontend/server/modelsmith-build/browser/chunk-GA7FJHQG.js rename to frontend/server/modelsmith-build/browser/chunk-JIVTEK4P.js index fafad3b..269460c 100644 --- a/frontend/server/modelsmith-build/browser/chunk-GA7FJHQG.js +++ b/frontend/server/modelsmith-build/browser/chunk-JIVTEK4P.js @@ -1 +1 @@ -import{a as d}from"./chunk-XSACZZU3.js";import{a as u}from"./chunk-DZVKHAZU.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-2CKK74GJ.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as f}from"./chunk-FNUDZPJE.js";import"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import{b as A,c as K,h as T}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as q,b as X}from"./chunk-3IJULEGV.js";import{a as j,b as G}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,Da as m,Ea as y,Ra as a,Zb as R,_ as p,a as g,ab as c,b as v,bb as C,be as z,cb as w,db as I,fb as N,ga as Q,ha as l,ib as E,ie as D,ne as O,oa as F,oc as M,oe as _,p as b,pa as P,pb as V,pe as U,qb as W,qe as k,rb as L,tb as S,te as B}from"./chunk-DL2LTWBU.js";var $=["panelParameters"],r,h=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=K,this.AWQAlgorithmsEnum=T,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(G(this)).subscribe(t=>{this.isScriptActive=A(t),A(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(T.AWQ_QUANTIZATION)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,o=v(g({},t),{params:v(g({},this.panelParametersComponent.parametersFormatted),{model:e})});this.scriptFacadeService.dispatch(q.callScript({configs:o}))}},r.\u0275fac=function(i){return new(i||r)(y(O),y(X))},r.\u0275cmp=Q({type:r,selectors:[["ms-llm-quantization"]],viewQuery:function(i,e){if(i&1&&V($,5),i&2){let o;W(o=L())&&(e.panelParametersComponent=o.first)}},decls:13,vars:6,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType","isTrainModelsPageRouteVisible"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=N();s(0,"p",1),S(1,"LLM Quantization"),c(),s(2,"div",2)(3,"div",3),w(4,4),C(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),I(),s(8,"div")(9,"button",7),E("click",function(){return F(o),P(e.submit())}),S(10," Run "),c()()(),s(11,"div",8),C(12,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.AWQ)("isTrainModelsPageRouteVisible",!1),m(),a("algorithm",e.AWQAlgorithmsEnum.AWQ_QUANTIZATION),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,u,f,z,D,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);h=b([j()],h);var H=[{path:"",component:h}],x=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[M.forChild(H),M]});let n=t;return n})();var bt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[R,x,d,u,f,U,_,B]});let n=t;return n})();export{bt as LlmQuantizationModule}; +import{a as d}from"./chunk-XSACZZU3.js";import{a as u}from"./chunk-P2CUAPHG.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as f}from"./chunk-TTKDIG3U.js";import"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import{b as A,c as K,h as T}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as q,b as X}from"./chunk-3IJULEGV.js";import{a as j,b as G}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as s,Da as m,Ea as y,Ra as a,Zb as R,_ as p,a as g,ab as c,b as v,bb as C,be as z,cb as w,db as I,fb as N,ga as Q,ha as l,ib as E,ie as D,ne as O,oa as F,oc as M,oe as _,p as b,pa as P,pb as V,pe as U,qb as W,qe as k,rb as L,tb as S,te as B}from"./chunk-DL2LTWBU.js";var $=["panelParameters"],r,h=(r=class{constructor(t,i){this.fb=t,this.scriptFacadeService=i,this.AlgorithmType=K,this.AWQAlgorithmsEnum=T,this.isScriptActive=!1}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(G(this)).subscribe(t=>{this.isScriptActive=A(t),A(t)?this.form.disable():this.form.enable()})}initForm(){this.form=this.fb.group({algorithm:this.fb.group({alg:[]})}),setTimeout(()=>{this.form.get("algorithm.alg")?.setValue(T.AWQ_QUANTIZATION)},0)}submit(){if(this.isScriptActive)return;let{algorithm:t,model:i}=this.form.getRawValue(),{model:e}=i,o=v(g({},t),{params:v(g({},this.panelParametersComponent.parametersFormatted),{model:e})});this.scriptFacadeService.dispatch(q.callScript({configs:o}))}},r.\u0275fac=function(i){return new(i||r)(y(O),y(X))},r.\u0275cmp=Q({type:r,selectors:[["ms-llm-quantization"]],viewQuery:function(i,e){if(i&1&&V($,5),i&2){let o;W(o=L())&&(e.panelParametersComponent=o.first)}},decls:13,vars:6,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","model",3,"algorithmType","isTrainModelsPageRouteVisible"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],[1,"right"]],template:function(i,e){if(i&1){let o=N();s(0,"p",1),S(1,"LLM Quantization"),c(),s(2,"div",2)(3,"div",3),w(4,4),C(5,"ms-panel-model",5)(6,"ms-panel-parameters",6,0),I(),s(8,"div")(9,"button",7),E("click",function(){return F(o),P(e.submit())}),S(10," Run "),c()()(),s(11,"div",8),C(12,"ms-terminal-xterm-with-toolbar"),c()()}i&2&&(m(2),a("formGroup",e.form),m(2),a("formGroup",e.form),m(),a("algorithmType",e.AlgorithmType.AWQ)("isTrainModelsPageRouteVisible",!1),m(),a("algorithm",e.AWQAlgorithmsEnum.AWQ_QUANTIZATION),m(3),a("disabled",e.isScriptActive||e.form.invalid))},dependencies:[d,u,f,z,D,k],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),r);h=b([j()],h);var H=[{path:"",component:h}],x=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[M.forChild(H),M]});let n=t;return n})();var bt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=l({type:t}),t.\u0275inj=p({imports:[R,x,d,u,f,U,_,B]});let n=t;return n})();export{bt as LlmQuantizationModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-JLPHX76X.js b/frontend/server/modelsmith-build/browser/chunk-JLPHX76X.js new file mode 100644 index 0000000..c2276e4 --- /dev/null +++ b/frontend/server/modelsmith-build/browser/chunk-JLPHX76X.js @@ -0,0 +1 @@ +import{a as h,b as V}from"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import{b as v,c as b}from"./chunk-GYTTCMYG.js";import"./chunk-3IJULEGV.js";import{a as F}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as c,Ab as M,Da as T,Ea as u,Ra as f,Zb as D,ab as m,bb as d,fb as g,ga as _,ib as w,oa as t,p,pa as n,sb as i,tb as C}from"./chunk-DL2LTWBU.js";var r,x=(r=class{constructor(s){this.dialogRef=s}closeDialog(){this.dialogRef.close()}},r.\u0275fac=function(a){return new(a||r)(u(v))},r.\u0275cmp=_({type:r,selectors:[["ms-terminal-fullscreen-dialog"]],standalone:!0,features:[M],decls:8,vars:1,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch","exitFullscreen","isFullscreen"]],template:function(a,y){if(a&1){let o=g();c(0,"ms-dialog")(1,"div",1)(2,"div",2)(3,"div",3),C(4,"Terminal"),m(),c(5,"ms-terminal-toolbar",4),w("clearTerminal",function(){t(o);let e=i(7);return n(e.clearTerminal())})("scrollToTopTerminal",function(){t(o);let e=i(7);return n(e.scrollToTop())})("scrollToBottomTerminal",function(){t(o);let e=i(7);return n(e.scrollToBottom())})("searchTerminal",function(e){t(o);let O=i(7);return n(O.search(e))})("disposeSearch",function(){t(o);let e=i(7);return n(e.clearSearch())})("exitFullscreen",function(){return t(o),n(y.closeDialog())}),m()(),d(6,"ms-terminal-xterm",null,0),m()()}a&2&&(T(5),f("isFullscreen",!0))},dependencies:[D,b,V,h],styles:[".ms-terminal-wrapper[_ngcontent-%COMP%]{overflow-x:auto}.ms-terminal-wrapper[_ngcontent-%COMP%] .terminal-wrapper[_ngcontent-%COMP%]{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper[_ngcontent-%COMP%] .xterm-viewport[_ngcontent-%COMP%]{overflow-y:auto!important}.ms-terminal-wrapper[_ngcontent-%COMP%] .top-terminal-section[_ngcontent-%COMP%]{display:flex;justify-content:space-between}"]}),r);x=p([F({})],x);export{x as MsTerminalFullscreenDialogComponent}; diff --git a/frontend/server/modelsmith-build/browser/chunk-P735PSGD.js b/frontend/server/modelsmith-build/browser/chunk-KARKM4NW.js similarity index 95% rename from frontend/server/modelsmith-build/browser/chunk-P735PSGD.js rename to frontend/server/modelsmith-build/browser/chunk-KARKM4NW.js index e03ec4c..3fb40b2 100644 --- a/frontend/server/modelsmith-build/browser/chunk-P735PSGD.js +++ b/frontend/server/modelsmith-build/browser/chunk-KARKM4NW.js @@ -1 +1 @@ -import{a as nt,b as at,c as mt}from"./chunk-7PEG3RXI.js";import{a as rt}from"./chunk-XK5WXYJA.js";import{a as de}from"./chunk-DZVKHAZU.js";import{b as Xe,c as Je,e as it,f as ot,g as O}from"./chunk-DSSER6OZ.js";import{b as Ze}from"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import{a as se,b as pe}from"./chunk-GACPU6QS.js";import"./chunk-2CKK74GJ.js";import"./chunk-6JSLXF7X.js";import{a as Ve,b as je}from"./chunk-NAEQPCWM.js";import{a as ce}from"./chunk-FNUDZPJE.js";import{a as U,b as le}from"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import{a as K}from"./chunk-HOFUFSNV.js";import{b as E,c as p,i as g,j as We}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import{b as Ye,c as G,d as qe}from"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as me,b as D,c as et,k as tt}from"./chunk-3IJULEGV.js";import{a as A,b as d}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{h as oe,i as re}from"./chunk-HULQWYRR.js";import{$a as m,$c as Ue,Ab as Re,D as P,Da as n,Ea as s,Eb as I,Fb as b,Gb as we,H as ge,I as Ne,K as Ce,P as Q,Pa as C,Pd as Ke,Q as Fe,Qd as W,Ra as c,Wb as ke,Xa as M,Xb as Le,Ya as Ae,Yb as De,Za as x,Zb as q,Zd as X,_ as z,_a as R,_d as h,a as Te,ab as r,ae as J,b as Se,bb as u,be as k,ca as H,cb as Pe,ce as L,db as be,ee as $,fb as Ee,ga as F,ha as Z,he as $e,ib as _e,ie as Be,je as ee,kb as w,le as te,na as Ie,oa as Me,oc as ve,oe as Qe,p as S,pa as ye,pb as Ge,pe as ie,qb as Oe,qe as ze,rb as xe,tb as l,te as He,vb as f,ve as ne,w as N,we as ae,zb as Y}from"./chunk-DL2LTWBU.js";var Ct=(i,e)=>e.name;function Mt(i,e){i&1&&u(0,"mat-icon",10)}function yt(i,e){if(i&1&&(m(0,"mat-option",8),l(1),C(2,Mt,1,0,"mat-icon",10),r()),i&2){let t=e.$implicit;c("value",t.name),n(),f(" ",t.name," "),n(),M(t.isTrained?-1:2)}}function _t(i,e){i&1&&(m(0,"mat-option",9),l(1,"No results found"),r())}function vt(i,e){if(i&1&&(x(0,yt,3,3,"mat-option",8,Ct),C(2,_t,2,0,"mat-option",9)),i&2){let t=e;R(t),n(2),M(t.length===0?2:-1)}}var y,V=(y=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,o,a){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=o,this.pageRunningScriptSpiningIndicatorService=a,this.controlKey="",this.PageKey=Xe,this.RoutesList=Ue,this.searchModel=new $,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){if(e)switch(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(O.getModelsList({algorithmType:e})),e){case p.PRUNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.PRUNING_TRAIN}));break}case p.QUANTIZATION:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.QUANTIZATION_TRAIN}));break}case p.MACHINE_UNLEARNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.MACHINE_UNLEARNING_TRAIN}));break}}}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(d(this)).subscribe(e=>{if(G(e))return;this.models.find(o=>o.name===e)&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(P(o=>!qe(o)),N(o=>[...o].sort((a,j)=>Number(j.isTrained)-Number(a.isTrained)))).subscribe(o=>{this.models=o,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.MODEL_CONTROL_NAME]:new $("",X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(d(this),Fe(""),N(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(o=>o.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},y.\u0275fac=function(t){return new(t||y)(s(h),s(K),s(D),s(Je))},y.\u0275cmp=F({type:y,selectors:[["ms-panel-model-training"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType"},standalone:!0,features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}]),Ie,Re],decls:12,vars:5,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"value"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"div",1)(2,"div",2),l(3,"Model"),r()(),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5)(7,"mat-option"),u(8,"ngx-mat-select-search",6),r(),m(9,"mat-optgroup",7),C(10,vt,3,1),I(11,"async"),r()()()()()),t&2){let a;n(4),c("formGroupName",o.controlKey),n(4),c("formControl",o.searchModel),n(2),M((a=b(11,3,o.filteredModels))?10:-1,a)}},dependencies:[ie,J,k,$e,te,ee,le,U,re,oe,pe,se,W,Ke,ae,ne,q,ke,ot,it,Ze],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),y);V=S([A()],V);var Nt=(i,e)=>e.key;function Ft(i,e){if(i&1&&(m(0,"mat-option",6),l(1),r()),i&2){let t=e.$implicit;c("value",t.key),n(),f(" ",t.value," ")}}var _,ue=(_=class{get parentFormGroup(){return this.controlContainer.control}get algorithmTypeFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmTypeFormControl(){return this.algorithmTypeFormGroup.get(this.ALGORITHM_TYPE_CONTROL_NAME)}constructor(e,t){this.controlContainer=e,this.scriptFacadeService=t,this.controlKey="",this.algorithmTypesOptions=[{key:p.QUANTIZATION,value:"Quantization"},{key:p.PRUNING,value:"Pruning"},{key:p.MACHINE_UNLEARNING,value:"Machine Unlearning"}],this.ALGORITHM_TYPE_CONTROL_NAME="algorithmType"}ngOnInit(){this.initForm(),this.loadInitialData(),this.listenToScriptStateChanges()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(Q(1),Ne(1),P(e=>!G(e?.algKey)),N(e=>e.algKey)).subscribe(e=>{switch(e){case g.PRUNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.PRUNING);break}case g.MACHINE_UNLEARNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.MACHINE_UNLEARNING);break}case g.QUANTIZATION_TRAIN:{this.algorithmTypeFormControl.patchValue(p.QUANTIZATION);break}default:this.algorithmTypeFormControl.patchValue(p.PRUNING)}}),this.scriptFacadeService.dispatch(me.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.ALGORITHM_TYPE_CONTROL_NAME]:new $(p.PRUNING,X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.algorithmTypeFormGroup.disable():this.algorithmTypeFormGroup.enable()})}},_.\u0275fac=function(t){return new(t||_)(s(h),s(D))},_.\u0275cmp=F({type:_,selectors:[["ms-panel-algorithm-type-for-training"]],inputs:{controlKey:"controlKey"},features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}])],decls:9,vars:2,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[3,"formGroupName"],[1,"form-field-container"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],[3,"value"]],template:function(t,o){t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Algorithm Type"),r(),Pe(3,2),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5),x(7,Ft,2,2,"mat-option",6,Nt),r()()(),be(),r()),t&2&&(n(3),c("formGroupName",o.controlKey),n(3),c("formControlName",o.ALGORITHM_TYPE_CONTROL_NAME),n(),R(o.algorithmTypesOptions))},dependencies:[U,oe,se,W,J,k,te,ee]}),_);ue=S([A()],ue);function At(i,e){if(i&1&&(l(0),I(1,"adaptiveFileSize")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Pt(i,e){if(i&1&&(l(0),I(1,"date")),i&2){let t=w().$implicit;f(" ",we(1,1,t.value,"medium")," ")}}function bt(i,e){if(i&1&&(l(0),I(1,"readableDuration")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Et(i,e){if(i&1&&l(0),i&2){let t=w().$implicit;f(" ",t.value," ")}}function Gt(i,e){i&1&&(m(0,"div",8),u(1,"mat-divider"),r())}function Ot(i,e){if(i&1&&(m(0,"div")(1,"div",5)(2,"div",6),l(3),I(4,"parametersLabel"),r(),m(5,"div",7),C(6,At,2,3)(7,Pt,2,4)(8,bt,2,3)(9,Et,1,1),r()(),C(10,Gt,2,0,"div",8),r()),i&2){let t,o=e.$implicit,a=e.$index,j=e.$count;n(3),f("",b(4,3,o.key),":"),n(3),M((t=o.key)==="file_size_bytes"?6:t==="creation_date"?7:t==="training_duration_seconds"?8:9),n(4),M(a!==j-1?10:-1)}}function xt(i,e){if(i&1&&(m(0,"div",3),x(1,Ot,11,5,"div",null,Ae),r()),i&2){let t=w();n(),R(t)}}function Rt(i,e){i&1&&u(0,"ms-empty-state",4)}function wt(i,e){i&1&&(m(0,"div",2),C(1,xt,3,0,"div",3)(2,Rt,1,0,"ms-empty-state",4),r()),i&2&&(n(),M(e.length>0?1:2))}var v,fe=(v=class{constructor(e){this.modelsFacadeService=e,this.metadata={}}ngOnInit(){this.modelsFacadeService.modelMetadata$.pipe(Q(1),d(this)).subscribe(e=>{this.metadata=e})}},v.\u0275fac=function(t){return new(t||v)(s(K))},v.\u0275cmp=F({type:v,selectors:[["ms-panel-model-metadata"]],decls:5,vars:3,consts:[[1,"ms-card","metadata-card"],[1,"heading-sub-section-title"],[1,"metadata-wrapper"],[1,"key-value-container","single"],["title","No metadata available"],[1,"key-value-pair","space-between"],[1,"key-value-key"],[1,"key-value-value"],[1,"pt-2"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Model Training Information"),r(),C(3,wt,3,1,"div",2),I(4,"keyvalue"),r()),t&2){let a;n(3),M((a=b(4,1,o.metadata))?3:-1,a)}},dependencies:[rt,U,Ve,Le,De,nt,mt,at],styles:[".metadata-wrapper[_ngcontent-%COMP%]{max-height:300px;overflow:auto;padding-right:20px}"]}),v);fe=S([A()],fe);var Lt=["panelParameters"],T,he=(T=class{constructor(e,t,o,a){this.navigationService=e,this.scriptFacadeService=t,this.snackbarService=o,this.modelsFacadeService=a,this.form=new L({}),this.isScriptActive=!1,this.selectedAlgorithmType=p.PRUNING,this.selectedAlgorithmKey=g.PRUNING_TRAIN}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges(),this.listenToFormChangesToLoadModelMetadata()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(ge(50),N(()=>{let e=this.form.getRawValue();return e.algorithmTypeGroup&&e.algorithmTypeGroup.algorithmType}),Ce(),P(e=>!!e),d(this)).subscribe(e=>{this.selectedAlgorithmType=e,this.selectedAlgorithmKey=We[e]})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{this.isScriptActive=E(e),E(e)?this.form.disable():this.form.enable()})}listenToFormChangesToLoadModelMetadata(){this.form.valueChanges.pipe(ge(50),N(e=>{let t=e.algorithmTypeGroup?.algorithmType,o=e.model?.model;return{algorithmType:t,model:o}}),Ce((e,t)=>JSON.stringify(e)===JSON.stringify(t)),P(({algorithmType:e,model:t})=>!G(e)&&!G(t)),d(this)).subscribe(({algorithmType:e,model:t})=>{this.modelsFacadeService.dispatch(O.getModelMetadata({algorithmType:e,modelName:t}))})}submit(){if(Ye(this.selectedAlgorithmType)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{model:e}=this.form.getRawValue(),{model:t}=e,o={alg:this.selectedAlgorithmKey,params:Se(Te({},this.panelParametersComponent.parametersFormatted),{arch:t})};this.scriptFacadeService.dispatch(me.callScript({configs:o}))}},T.\u0275fac=function(t){return new(t||T)(s(tt),s(D),s(et),s(K))},T.\u0275cmp=F({type:T,selectors:[["ms-model-training"]],viewQuery:function(t,o){if(t&1&&Ge(Lt,5),t&2){let a;Oe(a=xe())&&(o.panelParametersComponent=a.first)}},decls:17,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper"],[1,"left",3,"formGroup"],["controlKey","algorithmTypeGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"ml-2",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],[1,"right"]],template:function(t,o){if(t&1){let a=Ee();m(0,"p",1),l(1,"Model Training"),r(),m(2,"div",2)(3,"div",3),u(4,"ms-panel-algorithm-type-for-training",4)(5,"ms-panel-model-training",5)(6,"ms-panel-model-metadata")(7,"ms-panel-parameters",6,0),m(9,"div")(10,"button",7),_e("click",function(){return Me(a),ye(o.submit())}),l(11," Run "),r(),m(12,"button",8),_e("click",function(){return Me(a),ye(o.navigationService.goToPreviousPage())}),u(13,"mat-icon",9),l(14," Go back "),r()()(),m(15,"div",10),u(16,"ms-terminal-xterm-with-toolbar"),r()()}t&2&&(n(3),c("formGroup",o.form),n(2),c("algorithmType",o.selectedAlgorithmType),n(2),c("algorithm",o.selectedAlgorithmKey),n(3),c("disabled",o.isScriptActive||o.form.invalid))},dependencies:[ce,V,de,k,Be,ne,ze,ue,fe],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),T);he=S([A()],he);var Dt=[{path:"",component:he}],ct=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ve.forChild(Dt),ve]});let i=e;return i})();var yo=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[q,ct,ce,V,de,le,je,pe,re,Qe,ie,ae,He]});let i=e;return i})();export{yo as ModelTrainingModule}; +import{a as nt,b as at,c as mt}from"./chunk-7PEG3RXI.js";import{a as rt}from"./chunk-XK5WXYJA.js";import{a as de}from"./chunk-P2CUAPHG.js";import{b as Xe,c as Je,e as it,f as ot,g as O}from"./chunk-DSSER6OZ.js";import{b as Ze}from"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import{a as se,b as pe}from"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import{a as Ve,b as je}from"./chunk-NAEQPCWM.js";import{a as ce}from"./chunk-TTKDIG3U.js";import{a as U,b as le}from"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import{a as K}from"./chunk-HOFUFSNV.js";import{b as E,c as p,i as g,j as We}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import{b as Ye,c as G,d as qe}from"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as me,b as D,c as et,k as tt}from"./chunk-3IJULEGV.js";import{a as A,b as d}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{h as oe,i as re}from"./chunk-HULQWYRR.js";import{$a as m,$c as Ue,Ab as Re,D as P,Da as n,Ea as s,Eb as I,Fb as b,Gb as we,H as ge,I as Ne,K as Ce,P as Q,Pa as C,Pd as Ke,Q as Fe,Qd as W,Ra as c,Wb as ke,Xa as M,Xb as Le,Ya as Ae,Yb as De,Za as x,Zb as q,Zd as X,_ as z,_a as R,_d as h,a as Te,ab as r,ae as J,b as Se,bb as u,be as k,ca as H,cb as Pe,ce as L,db as be,ee as $,fb as Ee,ga as F,ha as Z,he as $e,ib as _e,ie as Be,je as ee,kb as w,le as te,na as Ie,oa as Me,oc as ve,oe as Qe,p as S,pa as ye,pb as Ge,pe as ie,qb as Oe,qe as ze,rb as xe,tb as l,te as He,vb as f,ve as ne,w as N,we as ae,zb as Y}from"./chunk-DL2LTWBU.js";var Ct=(i,e)=>e.name;function Mt(i,e){i&1&&u(0,"mat-icon",10)}function yt(i,e){if(i&1&&(m(0,"mat-option",8),l(1),C(2,Mt,1,0,"mat-icon",10),r()),i&2){let t=e.$implicit;c("value",t.name),n(),f(" ",t.name," "),n(),M(t.isTrained?-1:2)}}function _t(i,e){i&1&&(m(0,"mat-option",9),l(1,"No results found"),r())}function vt(i,e){if(i&1&&(x(0,yt,3,3,"mat-option",8,Ct),C(2,_t,2,0,"mat-option",9)),i&2){let t=e;R(t),n(2),M(t.length===0?2:-1)}}var y,V=(y=class{ngOnChanges(e){e.algorithmType&&e.algorithmType.currentValue&&this.configureModels(e.algorithmType.currentValue)}get parentFormGroup(){return this.controlContainer.control}get modelFormGroup(){return this.parentFormGroup.get(this.controlKey)}get modelControl(){return this.modelFormGroup?.get(this.MODEL_CONTROL_NAME)}constructor(e,t,o,a){this.controlContainer=e,this.modelsFacadeService=t,this.scriptFacadeService=o,this.pageRunningScriptSpiningIndicatorService=a,this.controlKey="",this.PageKey=Xe,this.RoutesList=Ue,this.searchModel=new $,this.models=[],this.MODEL_CONTROL_NAME="model"}ngOnInit(){this.initializeForm(),this.listenToScriptStateChanges(),this.listenToSearchModelValueChanges(),this.configureModels(this.algorithmType)}configureModels(e){if(e)switch(this.getModelsByTypeSubscription?.unsubscribe(),this.getModelsByTypeSubscription=this.subscribeToModelsListChanges(e),this.modelsFacadeService.dispatch(O.getModelsList({algorithmType:e})),e){case p.PRUNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.PRUNING_TRAIN}));break}case p.QUANTIZATION:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.QUANTIZATION_TRAIN}));break}case p.MACHINE_UNLEARNING:{this.modelsFacadeService.dispatch(O.getCurrentOrPreviousSelectedModel({algorithmType:g.MACHINE_UNLEARNING_TRAIN}));break}}}listenToCurrentModelChanges(){this.modelsFacadeService.currentModel$.pipe(d(this)).subscribe(e=>{if(G(e))return;this.models.find(o=>o.name===e)&&this.modelControl?.patchValue(e)})}subscribeToModelsListChanges(e){let t=!1;return this.modelsFacadeService.getModelsByType(e).pipe(P(o=>!qe(o)),N(o=>[...o].sort((a,j)=>Number(j.isTrained)-Number(a.isTrained)))).subscribe(o=>{this.models=o,this.searchModel.setValue(""),t||(this.listenToCurrentModelChanges(),t=!0)})}initializeForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.MODEL_CONTROL_NAME]:new $("",X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.modelFormGroup.disable():this.modelFormGroup.enable()})}listenToSearchModelValueChanges(){this.filteredModels=this.searchModel.valueChanges.pipe(d(this),Fe(""),N(e=>this.filterModels(e)))}filterModels(e){let t=e.toLowerCase();return this.models.filter(o=>o.name.toLowerCase().includes(t))}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},y.\u0275fac=function(t){return new(t||y)(s(h),s(K),s(D),s(Je))},y.\u0275cmp=F({type:y,selectors:[["ms-panel-model-training"]],inputs:{controlKey:"controlKey",algorithmType:"algorithmType"},standalone:!0,features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}]),Ie,Re],decls:12,vars:5,consts:[[1,"ms-card","model-card"],[1,"panel-title-wrapper"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],["formControlName","model","placeholder","Select a model..."],[3,"formControl"],["label","Predefined Models"],[3,"value"],["disabled",""],["fontSet","ms","fontIcon","icon-X",1,"mat-error"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"div",1)(2,"div",2),l(3,"Model"),r()(),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5)(7,"mat-option"),u(8,"ngx-mat-select-search",6),r(),m(9,"mat-optgroup",7),C(10,vt,3,1),I(11,"async"),r()()()()()),t&2){let a;n(4),c("formGroupName",o.controlKey),n(4),c("formControl",o.searchModel),n(2),M((a=b(11,3,o.filteredModels))?10:-1,a)}},dependencies:[ie,J,k,$e,te,ee,le,U,re,oe,pe,se,W,Ke,ae,ne,q,ke,ot,it,Ze],styles:[".panel-title-wrapper[_ngcontent-%COMP%]{display:flex;justify-content:space-between;margin-bottom:12px}.panel-title-wrapper[_ngcontent-%COMP%] .train-models[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center}"]}),y);V=S([A()],V);var Nt=(i,e)=>e.key;function Ft(i,e){if(i&1&&(m(0,"mat-option",6),l(1),r()),i&2){let t=e.$implicit;c("value",t.key),n(),f(" ",t.value," ")}}var _,ue=(_=class{get parentFormGroup(){return this.controlContainer.control}get algorithmTypeFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmTypeFormControl(){return this.algorithmTypeFormGroup.get(this.ALGORITHM_TYPE_CONTROL_NAME)}constructor(e,t){this.controlContainer=e,this.scriptFacadeService=t,this.controlKey="",this.algorithmTypesOptions=[{key:p.QUANTIZATION,value:"Quantization"},{key:p.PRUNING,value:"Pruning"},{key:p.MACHINE_UNLEARNING,value:"Machine Unlearning"}],this.ALGORITHM_TYPE_CONTROL_NAME="algorithmType"}ngOnInit(){this.initForm(),this.loadInitialData(),this.listenToScriptStateChanges()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(Q(1),Ne(1),P(e=>!G(e?.algKey)),N(e=>e.algKey)).subscribe(e=>{switch(e){case g.PRUNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.PRUNING);break}case g.MACHINE_UNLEARNING_TRAIN:{this.algorithmTypeFormControl.patchValue(p.MACHINE_UNLEARNING);break}case g.QUANTIZATION_TRAIN:{this.algorithmTypeFormControl.patchValue(p.QUANTIZATION);break}default:this.algorithmTypeFormControl.patchValue(p.PRUNING)}}),this.scriptFacadeService.dispatch(me.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new L({[this.ALGORITHM_TYPE_CONTROL_NAME]:new $(p.PRUNING,X.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{E(e)?this.algorithmTypeFormGroup.disable():this.algorithmTypeFormGroup.enable()})}},_.\u0275fac=function(t){return new(t||_)(s(h),s(D))},_.\u0275cmp=F({type:_,selectors:[["ms-panel-algorithm-type-for-training"]],inputs:{controlKey:"controlKey"},features:[Y([],[{provide:h,useFactory:()=>H(h,{skipSelf:!0})}])],decls:9,vars:2,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[3,"formGroupName"],[1,"form-field-container"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],[3,"value"]],template:function(t,o){t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Algorithm Type"),r(),Pe(3,2),m(4,"div",3)(5,"mat-form-field",4)(6,"mat-select",5),x(7,Ft,2,2,"mat-option",6,Nt),r()()(),be(),r()),t&2&&(n(3),c("formGroupName",o.controlKey),n(3),c("formControlName",o.ALGORITHM_TYPE_CONTROL_NAME),n(),R(o.algorithmTypesOptions))},dependencies:[U,oe,se,W,J,k,te,ee]}),_);ue=S([A()],ue);function At(i,e){if(i&1&&(l(0),I(1,"adaptiveFileSize")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Pt(i,e){if(i&1&&(l(0),I(1,"date")),i&2){let t=w().$implicit;f(" ",we(1,1,t.value,"medium")," ")}}function bt(i,e){if(i&1&&(l(0),I(1,"readableDuration")),i&2){let t=w().$implicit;f(" ",b(1,1,t.value)," ")}}function Et(i,e){if(i&1&&l(0),i&2){let t=w().$implicit;f(" ",t.value," ")}}function Gt(i,e){i&1&&(m(0,"div",8),u(1,"mat-divider"),r())}function Ot(i,e){if(i&1&&(m(0,"div")(1,"div",5)(2,"div",6),l(3),I(4,"parametersLabel"),r(),m(5,"div",7),C(6,At,2,3)(7,Pt,2,4)(8,bt,2,3)(9,Et,1,1),r()(),C(10,Gt,2,0,"div",8),r()),i&2){let t,o=e.$implicit,a=e.$index,j=e.$count;n(3),f("",b(4,3,o.key),":"),n(3),M((t=o.key)==="file_size_bytes"?6:t==="creation_date"?7:t==="training_duration_seconds"?8:9),n(4),M(a!==j-1?10:-1)}}function xt(i,e){if(i&1&&(m(0,"div",3),x(1,Ot,11,5,"div",null,Ae),r()),i&2){let t=w();n(),R(t)}}function Rt(i,e){i&1&&u(0,"ms-empty-state",4)}function wt(i,e){i&1&&(m(0,"div",2),C(1,xt,3,0,"div",3)(2,Rt,1,0,"ms-empty-state",4),r()),i&2&&(n(),M(e.length>0?1:2))}var v,fe=(v=class{constructor(e){this.modelsFacadeService=e,this.metadata={}}ngOnInit(){this.modelsFacadeService.modelMetadata$.pipe(Q(1),d(this)).subscribe(e=>{this.metadata=e})}},v.\u0275fac=function(t){return new(t||v)(s(K))},v.\u0275cmp=F({type:v,selectors:[["ms-panel-model-metadata"]],decls:5,vars:3,consts:[[1,"ms-card","metadata-card"],[1,"heading-sub-section-title"],[1,"metadata-wrapper"],[1,"key-value-container","single"],["title","No metadata available"],[1,"key-value-pair","space-between"],[1,"key-value-key"],[1,"key-value-value"],[1,"pt-2"]],template:function(t,o){if(t&1&&(m(0,"mat-card",0)(1,"p",1),l(2,"Model Training Information"),r(),C(3,wt,3,1,"div",2),I(4,"keyvalue"),r()),t&2){let a;n(3),M((a=b(4,1,o.metadata))?3:-1,a)}},dependencies:[rt,U,Ve,Le,De,nt,mt,at],styles:[".metadata-wrapper[_ngcontent-%COMP%]{max-height:300px;overflow:auto;padding-right:20px}"]}),v);fe=S([A()],fe);var Lt=["panelParameters"],T,he=(T=class{constructor(e,t,o,a){this.navigationService=e,this.scriptFacadeService=t,this.snackbarService=o,this.modelsFacadeService=a,this.form=new L({}),this.isScriptActive=!1,this.selectedAlgorithmType=p.PRUNING,this.selectedAlgorithmKey=g.PRUNING_TRAIN}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges(),this.listenToFormChangesToLoadModelMetadata()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(ge(50),N(()=>{let e=this.form.getRawValue();return e.algorithmTypeGroup&&e.algorithmTypeGroup.algorithmType}),Ce(),P(e=>!!e),d(this)).subscribe(e=>{this.selectedAlgorithmType=e,this.selectedAlgorithmKey=We[e]})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(d(this)).subscribe(e=>{this.isScriptActive=E(e),E(e)?this.form.disable():this.form.enable()})}listenToFormChangesToLoadModelMetadata(){this.form.valueChanges.pipe(ge(50),N(e=>{let t=e.algorithmTypeGroup?.algorithmType,o=e.model?.model;return{algorithmType:t,model:o}}),Ce((e,t)=>JSON.stringify(e)===JSON.stringify(t)),P(({algorithmType:e,model:t})=>!G(e)&&!G(t)),d(this)).subscribe(({algorithmType:e,model:t})=>{this.modelsFacadeService.dispatch(O.getModelMetadata({algorithmType:e,modelName:t}))})}submit(){if(Ye(this.selectedAlgorithmType)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{model:e}=this.form.getRawValue(),{model:t}=e,o={alg:this.selectedAlgorithmKey,params:Se(Te({},this.panelParametersComponent.parametersFormatted),{arch:t})};this.scriptFacadeService.dispatch(me.callScript({configs:o}))}},T.\u0275fac=function(t){return new(t||T)(s(tt),s(D),s(et),s(K))},T.\u0275cmp=F({type:T,selectors:[["ms-model-training"]],viewQuery:function(t,o){if(t&1&&Ge(Lt,5),t&2){let a;Oe(a=xe())&&(o.panelParametersComponent=a.first)}},decls:17,vars:4,consts:[["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper"],[1,"left",3,"formGroup"],["controlKey","algorithmTypeGroup"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-stroked-button","","color","primary",1,"ml-2",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],[1,"right"]],template:function(t,o){if(t&1){let a=Ee();m(0,"p",1),l(1,"Model Training"),r(),m(2,"div",2)(3,"div",3),u(4,"ms-panel-algorithm-type-for-training",4)(5,"ms-panel-model-training",5)(6,"ms-panel-model-metadata")(7,"ms-panel-parameters",6,0),m(9,"div")(10,"button",7),_e("click",function(){return Me(a),ye(o.submit())}),l(11," Run "),r(),m(12,"button",8),_e("click",function(){return Me(a),ye(o.navigationService.goToPreviousPage())}),u(13,"mat-icon",9),l(14," Go back "),r()()(),m(15,"div",10),u(16,"ms-terminal-xterm-with-toolbar"),r()()}t&2&&(n(3),c("formGroup",o.form),n(2),c("algorithmType",o.selectedAlgorithmType),n(2),c("algorithm",o.selectedAlgorithmKey),n(3),c("disabled",o.isScriptActive||o.form.invalid))},dependencies:[ce,V,de,k,Be,ne,ze,ue,fe],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),T);he=S([A()],he);var Dt=[{path:"",component:he}],ct=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[ve.forChild(Dt),ve]});let i=e;return i})();var yo=(()=>{let e=class e{};e.\u0275fac=function(a){return new(a||e)},e.\u0275mod=Z({type:e}),e.\u0275inj=z({imports:[q,ct,ce,V,de,le,je,pe,re,Qe,ie,ae,He]});let i=e;return i})();export{yo as ModelTrainingModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-PKD4Y463.js b/frontend/server/modelsmith-build/browser/chunk-KLXF22V6.js similarity index 99% rename from frontend/server/modelsmith-build/browser/chunk-PKD4Y463.js rename to frontend/server/modelsmith-build/browser/chunk-KLXF22V6.js index 50b53d9..26b6d6c 100644 --- a/frontend/server/modelsmith-build/browser/chunk-PKD4Y463.js +++ b/frontend/server/modelsmith-build/browser/chunk-KLXF22V6.js @@ -1,4 +1,4 @@ -import{a as vt,e as xt,g as fn,h as ze,i as Ge}from"./chunk-DGFKYJ2M.js";import{a as _n,b as bt,c as Cn}from"./chunk-7PEG3RXI.js";import{a as Ct}from"./chunk-XK5WXYJA.js";import{a as Gt,d as Ui,e as Qi,f as vn,g as xn}from"./chunk-V2KM6V6H.js";import{a as tn,b as nn,c as on,d as rn,e as an,f as sn,g as ln,h as cn,i as dn,j as pn,k as mn,l as hn,m as un,n as ye,o as gn,p as _t,q as je}from"./chunk-2LRAK75P.js";import{a as Ji,b as en}from"./chunk-ORGA47GB.js";import{a as Xi,b as Wi}from"./chunk-OWJBZ7BL.js";import{a as ft,b as Zi}from"./chunk-GACPU6QS.js";import{a as at,b as Ti}from"./chunk-NAEQPCWM.js";import{a as Ki,b as qi}from"./chunk-PGXHYGLR.js";import{c as R}from"./chunk-LRK34XDC.js";import{a as ut}from"./chunk-GWFXRHCV.js";import{a as Le,c as gt,d as zt}from"./chunk-XX6ZYDLH.js";import"./chunk-3IJULEGV.js";import{a as be,b as L}from"./chunk-QJ55TOIV.js";import{c as Gi,e as Yi,f as $i,m as ht}from"./chunk-CYUWMGXJ.js";import{a as pt,h as mt,i as Hi,j as ji,k as zi}from"./chunk-HULQWYRR.js";import{$ as me,$a as s,Aa as Ft,Ab as it,Ac as Qe,Ad as Ai,Ba as di,Bc as Lt,C as Tt,Ca as It,Cb as Bt,D as Ee,Da as c,Ea as p,Eb as D,Ed as Mi,Fa as pi,Fb as M,Fd as Ei,Ga as mi,Gb as fi,Gd as jt,H as ii,I as de,Ib as _i,Kb as J,Ma as hi,Mb as ee,Na as Ot,Nb as Ci,Oa as ie,P as Pt,Pa as f,Pb as vi,Q as kt,Qa as et,Qd as rt,Ra as h,Rc as yi,Sa as B,Sb as xi,Ta as q,Tb as Nt,Ua as ui,Ub as nt,Wb as Oe,Wd as Pi,Xa as S,Xb as bi,Xd as ki,Y as ni,Ya as ne,Yb as wi,Z as pe,Za as X,Zb as ot,Zd as Te,_ as Y,_a as W,_d as Ke,a as Ae,ab as l,ae as we,b as Xe,ba as he,bb as g,be as Ne,ca as oi,cb as U,ce as st,db as Q,fb as E,fe as Fi,g as Ze,ga as A,ge as lt,ha as $,ia as P,ib as _,ie as ct,j as Me,ja as Je,je as Ii,k as Et,kb as m,l as ei,lb as tt,le as Ve,mb as fe,na as ue,ne as dt,o as ti,oa as v,ob as Rt,oc as Vt,od as Si,oe as Oi,p as ce,pa as x,pb as Z,pe as Ri,qa as Ie,qb as N,qe as Bi,ra as ri,rb as V,rc as We,sa as ai,sb as gi,sc as Re,se as Ni,ta as si,tb as u,te as Vi,ua as li,ub as _e,vb as w,vc as k,ve as He,wa as ge,wb as Ce,wc as Ue,wd as Di,we as Li,xa as y,xb as ve,xc as Ht,ya as ci,yb as xe,yc as Be,zb as H}from"./chunk-DL2LTWBU.js";var Un=["hueSlider"],Qn=["alphaSlider"];function Kn(n,i){if(n&1){let e=E();s(0,"div",10),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("saturation-lightness",o))}),s(1,"div",11),g(2,"div"),l()()}if(n&2){let e=m();B("background-color",e.hueSliderColor),h("rgX",1)("rgY",1),c(),B("top",e.slider==null?null:e.slider.v,"px")("left",e.slider==null?null:e.slider.s,"px")}}function qn(n,i){if(n&1&&(s(0,"div",12),g(1,"div",13)(2,"div",14),l()),n&2){let e=m();c(2),B("background-color",e.selectedColor)}}function Zn(n,i){if(n&1){let e=E();s(0,"div",15,1),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("hue",o))}),s(2,"div",16)(3,"div"),g(4,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),B("left",e.slider==null?null:e.slider.h,"px")}}function Jn(n,i){if(n&1){let e=E();s(0,"div",17,2),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("alpha",o))}),g(2,"div",18),s(3,"div",16)(4,"div"),g(5,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),h("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),c(),B("left",e.slider==null?null:e.slider.a,"px")}}var eo=["dialog"],yn=n=>({background:n});function to(n,i){n&1&&g(0,"div",12)}function io(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",10),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.onColorClick(o))}),f(3,to,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=i.index,o=m(2);c(2),q("colornull",!e),h("ngStyle",o.getBackgroundColor(e)),c(),h("ngIf",t==o.indexSeleccionado)}}function no(n,i){if(n&1&&g(0,"div",18),n&2){let e=m(3);h("ngStyle",e.getBackgroundColor(e.color))}}function oo(n,i){if(n&1){let e=E();s(0,"div",13),_("click",function(){v(e);let o=m(2);return x(o.addColor())}),f(1,no,1,1,"div",14),Ie(),s(2,"svg",15),g(3,"path",16)(4,"path",17),l()()}if(n&2){let e=m(2);c(),h("ngIf",e.indexSeleccionado===void 0)}}function ro(n,i){if(n&1){let e=E();s(0,"color-picker",19),_("colorChange",function(o){v(e);let r=m(2);return x(r.onChangeColorPicker(o))})("onAlphaChange",function(o){v(e);let r=m(2);return x(r.onAlphaChange(o))}),l()}if(n&2){let e=m(2);h("controls",e.colorPickerControls)("color",e.hsva)}}function ao(n,i){if(n&1&&(U(0),s(1,"div",5),f(2,io,4,4,"ng-container",6)(3,oo,5,1,"div",7)(4,ro,1,2,"color-picker",8),l(),Q()),n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(),h("ngForOf",e.palette),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls!="only-alpha"),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls=="only-alpha")}}function so(n,i){n&1&&g(0,"div",12)}function lo(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",25),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.changeColor(o))}),f(3,so,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=m(2);c(2),q("colornull",!e),h("ngStyle",Bt(4,yn,e)),c(),h("ngIf",t.isSelected(e))}}function co(n,i){if(n&1){let e=E();U(0),s(1,"div",5)(2,"div",20)(3,"div",21),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(4,"svg",22),g(5,"path",23)(6,"path",24),l()()(),f(7,lo,4,6,"ng-container",6),l(),Q()}if(n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(6),h("ngForOf",e.variants)}}function po(n,i){if(n&1){let e=E();U(0),s(1,"div",26)(2,"div",27),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(3,"svg",22),g(4,"path",23)(5,"path",24),l()(),ri(),s(6,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("cancel"))}),u(7),l(),s(8,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("accept"))}),u(9),l()(),s(10,"div",29)(11,"color-picker",30),_("sliderChange",function(o){v(e);let r=m();return x(r.onChangeColorPicker(o))}),l()(),Q()}if(n&2){let e=m();c(7),w(" ",e.cancelLabel," "),c(2),w(" ",e.acceptLabel," "),c(2),h("controls",e.colorPickerControls)("color",e.hsva)}}function mo(n,i){if(n&1){let e=E();s(0,"div",31)(1,"p",32),_("click",function(){v(e);let o=m();return x(o.nextFormat())}),u(2),l(),s(3,"div",33)(4,"input",34,1),_("keyup",function(){v(e);let o=gi(5),r=m();return x(r.changeColorManual(o.value))})("keydown.enter",function(){v(e);let o=m();return x(o.emitClose("accept"))}),l()()()}if(n&2){let e=m();c(2),_e(e.colorFormats[e.format]),c(2),B("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),h("placeholder",e.placeholder)("value",e.color)}}var Yt=["hex","rgba","hsla","cmyk"],F=function(n){return n[n.HEX=0]="HEX",n[n.RGBA=1]="RGBA",n[n.HSLA=2]="HSLA",n[n.CMYK=3]="CMYK",n}(F||{}),bn=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],te=class{constructor(i,e,t,o){this.r=i,this.g=e,this.b=t,this.a=o}denormalize(){return this.r=Math.round(this.r*255),this.g=Math.round(this.g*255),this.b=Math.round(this.b*255),this}toString(){return this.denormalize(),"rgb"+(this.a!=1?"a(":"(")+this.r+", "+this.g+", "+this.b+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},K=class{constructor(i,e,t,o){this.h=i,this.s=e,this.v=t,this.a=o,this.onChange=new y(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}},Pe=class{constructor(i,e,t,o){this.h=i,this.s=e,this.l=t,this.a=o}denormalize(){return this.h=Math.round(this.h*360),this.s=Math.round(this.s*100),this.l=Math.round(this.l*100),this}toString(){return"hsl"+(this.a!=1?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},Se=class{constructor(i,e,t,o,r=1){this.c=i,this.m=e,this.y=t,this.k=o,this.a=r}denormalize(){return this.c=Math.round(this.c*100),this.m=Math.round(this.m*100),this.y=Math.round(this.y*100),this.k=Math.round(this.k*100),this}toString(){return this.denormalize(),"cmyk("+this.c+", "+this.m+", "+this.y+", "+this.k+")"}},$t=class{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}},yt=(()=>{class n{constructor(){}toFormat(e,t){var o="";if(e)switch(t){case F.HEX:var a=this.hsvaToRgba(e);a.denormalize();var o=this.rgbaToHex(a,!0);break;case F.HSLA:var r=this.hsva2hsla(e);r.denormalize();var o=r.toString();break;case F.RGBA:var a=this.hsvaToRgba(e),o=a.toString();break;case F.CMYK:var d=this.hsvaToCmyk(e),o=d.toString();break}return o}stringToFormat(e,t){var o=this.stringToHsva(e,!0);return this.toFormat(o,t)}hsva2hsla(e){let t=e.h,o=e.s,r=e.v,a=e.a;if(r===0)return new Pe(t,0,0,a);if(o===0&&r===1)return new Pe(t,1,1,a);{let d=r*(2-o)/2;return new Pe(t,r*o/(1-Math.abs(2*d-1)),d,a)}}hsla2hsva(e){let t=Math.min(e.h,1),o=Math.min(e.s,1),r=Math.min(e.l,1),a=Math.min(e.a,1);if(r===0)return new K(t,0,0,a);{let d=r+o*(1-Math.abs(2*r-1))/2;return new K(t,2*(d-r)/d,d,a)}}hsvaToRgba(e){let t,o,r,a=e.h,d=e.s,C=e.v,b=e.a,G=Math.floor(a*6),I=a*6-G,O=C*(1-d),$e=C*(1-I*d),De=C*(1-(1-I)*d);switch(G%6){case 0:t=C,o=De,r=O;break;case 1:t=$e,o=C,r=O;break;case 2:t=O,o=C,r=De;break;case 3:t=O,o=$e,r=C;break;case 4:t=De,o=O,r=C;break;case 5:t=C,o=O,r=$e;break;default:t=0,o=0,r=0}return new te(t,o,r,b)}cmykToRgb(e){let t=(1-e.c)*(1-e.k),o=(1-e.m)*(1-e.k),r=(1-e.y)*(1-e.k);return new te(t,o,r,e.a)}rgbaToCmyk(e){let t=1-Math.max(e.r,e.g,e.b);if(t===1)return new Se(0,0,0,1,e.a);{let o=(1-e.r-t)/(1-t),r=(1-e.g-t)/(1-t),a=(1-e.b-t)/(1-t);return new Se(o,r,a,t,e.a)}}hsvaToCmyk(e){let t=this.hsvaToRgba(e);return this.rgbaToCmyk(t)}rgbaToHsva(e){let t,o,r=Math.min(e.r,1),a=Math.min(e.g,1),d=Math.min(e.b,1),C=Math.min(e.a,1),b=Math.max(r,a,d),G=Math.min(r,a,d),I=b,O=b-G;if(o=b===0?0:O/b,b===G)t=0;else{switch(b){case r:t=(a-d)/O+(a{class n{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new y,this.dragStart=new y,this.newValue=new y,this.listenerMove=t=>this.move(t),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageX!==void 0?e.pageX:e.touches[0].pageX)-t.left-window.pageXOffset}getY(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageY!==void 0?e.pageY:e.touches[0].pageY)-t.top-window.pageYOffset}setCursor(e){let t=this.elRef.nativeElement.offsetWidth,o=this.elRef.nativeElement.offsetHeight,r=Math.max(0,Math.min(this.getX(e),t)),a=Math.max(0,Math.min(this.getY(e),o));this.rgX!==void 0&&this.rgY!==void 0?this.newValue.emit({s:r/t,v:1-a/o,rgX:this.rgX,rgY:this.rgY}):this.rgX===void 0&&this.rgY!==void 0?this.newValue.emit({v:a/o,rgY:this.rgY}):this.rgX!==void 0&&this.rgY===void 0&&this.newValue.emit({v:r/t,rgX:this.rgX})}}return n.\u0275fac=function(e){return new(e||n)(p(ge))},n.\u0275dir=P({type:n,selectors:[["","slider",""]],hostBindings:function(e,t){e&1&&_("mousedown",function(r){return t.mouseDown(r)})("touchstart",function(r){return t.touchStart(r)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),n})(),uo=(()=>{class n{constructor(e,t){this.service=e,this.cdr=t,this.color=new K(0,1,1,1),this.controls="default",this.sliderChange=new y(!1),this.onAlphaChange=new y(!1),this.hsva=new K(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new K(0,1,1,1)),this.slider=new wt(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){let e=this.hueSlider?.nativeElement.offsetWidth||140,t=this.alphaSlider?.nativeElement.offsetWidth||140;this.sliderDimMax=new Xt(e,220,130,t),this.update()}onSliderChange(e,t){switch(e){case"saturation-lightness":this.hsva.onColorChange(t);break;case"hue":this.hsva.onHueChange(t);break;case"alpha":this.hsva.onAlphaChange(t),this.onAlphaChange.emit(t);break;case"value":this.hsva.onValueChange(t);break}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),t=this.service.hsvaToRgba(new K(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new wt(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return n.\u0275fac=function(e){return new(e||n)(p(yt),p(J))},n.\u0275cmp=A({type:n,selectors:[["color-picker"]],viewQuery:function(e,t){if(e&1&&(Z(Un,5),Z(Qn,5)),e&2){let o;N(o=V())&&(t.hueSlider=o.first),N(o=V())&&(t.alphaSlider=o.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[ue],decls:8,vars:4,consts:[["dialogPopup",""],["hueSlider",""],["alphaSlider",""],[1,"color-picker",3,"click"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"newValue","slider","rgX","rgY"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"newValue","slider","rgX"],[1,"sliderCursor"],[1,"alpha",3,"newValue","slider","rgX"],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,t){if(e&1){let o=E();s(0,"div",3,0),_("click",function(a){return v(o),x(a.stopPropagation())}),f(2,Kn,3,8,"div",4),s(3,"div",5),f(4,qn,3,2,"div",6),s(5,"div",7),f(6,Zn,5,3,"div",8)(7,Jn,6,4,"div",9),l()()()}e&2&&(c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(),h("ngIf",t.controls!="no-alpha"))},dependencies:[Nt,nt,ho],styles:[`.color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)} +import{a as vt,e as xt,g as fn,h as ze,i as Ge}from"./chunk-DGFKYJ2M.js";import{a as _n,b as bt,c as Cn}from"./chunk-7PEG3RXI.js";import{a as Ct}from"./chunk-XK5WXYJA.js";import{a as Gt,d as Ui,e as Qi,f as vn,g as xn}from"./chunk-V2KM6V6H.js";import{a as tn,b as nn,c as on,d as rn,e as an,f as sn,g as ln,h as cn,i as dn,j as pn,k as mn,l as hn,m as un,n as ye,o as gn,p as _t,q as je}from"./chunk-KWLNQCA6.js";import{a as Ji,b as en}from"./chunk-ORGA47GB.js";import{a as Xi,b as Wi}from"./chunk-OWJBZ7BL.js";import{a as ft,b as Zi}from"./chunk-GACPU6QS.js";import{a as at,b as Ti}from"./chunk-NAEQPCWM.js";import{a as Ki,b as qi}from"./chunk-PGXHYGLR.js";import{c as R}from"./chunk-LRK34XDC.js";import{a as ut}from"./chunk-GWFXRHCV.js";import{a as Le,c as gt,d as zt}from"./chunk-XX6ZYDLH.js";import"./chunk-3IJULEGV.js";import{a as be,b as L}from"./chunk-QJ55TOIV.js";import{c as Gi,e as Yi,f as $i,m as ht}from"./chunk-CYUWMGXJ.js";import{a as pt,h as mt,i as Hi,j as ji,k as zi}from"./chunk-HULQWYRR.js";import{$ as me,$a as s,Aa as Ft,Ab as it,Ac as Qe,Ad as Ai,Ba as di,Bc as Lt,C as Tt,Ca as It,Cb as Bt,D as Ee,Da as c,Ea as p,Eb as D,Ed as Mi,Fa as pi,Fb as M,Fd as Ei,Ga as mi,Gb as fi,Gd as jt,H as ii,I as de,Ib as _i,Kb as J,Ma as hi,Mb as ee,Na as Ot,Nb as Ci,Oa as ie,P as Pt,Pa as f,Pb as vi,Q as kt,Qa as et,Qd as rt,Ra as h,Rc as yi,Sa as B,Sb as xi,Ta as q,Tb as Nt,Ua as ui,Ub as nt,Wb as Oe,Wd as Pi,Xa as S,Xb as bi,Xd as ki,Y as ni,Ya as ne,Yb as wi,Z as pe,Za as X,Zb as ot,Zd as Te,_ as Y,_a as W,_d as Ke,a as Ae,ab as l,ae as we,b as Xe,ba as he,bb as g,be as Ne,ca as oi,cb as U,ce as st,db as Q,fb as E,fe as Fi,g as Ze,ga as A,ge as lt,ha as $,ia as P,ib as _,ie as ct,j as Me,ja as Je,je as Ii,k as Et,kb as m,l as ei,lb as tt,le as Ve,mb as fe,na as ue,ne as dt,o as ti,oa as v,ob as Rt,oc as Vt,od as Si,oe as Oi,p as ce,pa as x,pb as Z,pe as Ri,qa as Ie,qb as N,qe as Bi,ra as ri,rb as V,rc as We,sa as ai,sb as gi,sc as Re,se as Ni,ta as si,tb as u,te as Vi,ua as li,ub as _e,vb as w,vc as k,ve as He,wa as ge,wb as Ce,wc as Ue,wd as Di,we as Li,xa as y,xb as ve,xc as Ht,ya as ci,yb as xe,yc as Be,zb as H}from"./chunk-DL2LTWBU.js";var Un=["hueSlider"],Qn=["alphaSlider"];function Kn(n,i){if(n&1){let e=E();s(0,"div",10),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("saturation-lightness",o))}),s(1,"div",11),g(2,"div"),l()()}if(n&2){let e=m();B("background-color",e.hueSliderColor),h("rgX",1)("rgY",1),c(),B("top",e.slider==null?null:e.slider.v,"px")("left",e.slider==null?null:e.slider.s,"px")}}function qn(n,i){if(n&1&&(s(0,"div",12),g(1,"div",13)(2,"div",14),l()),n&2){let e=m();c(2),B("background-color",e.selectedColor)}}function Zn(n,i){if(n&1){let e=E();s(0,"div",15,1),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("hue",o))}),s(2,"div",16)(3,"div"),g(4,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),B("left",e.slider==null?null:e.slider.h,"px")}}function Jn(n,i){if(n&1){let e=E();s(0,"div",17,2),_("newValue",function(o){v(e);let r=m();return x(r.onSliderChange("alpha",o))}),g(2,"div",18),s(3,"div",16)(4,"div"),g(5,"div"),l()()()}if(n&2){let e=m();h("rgX",1),c(2),h("ngStyle",e.getBackgroundColor(e.alphaSliderColor)),c(),B("left",e.slider==null?null:e.slider.a,"px")}}var eo=["dialog"],yn=n=>({background:n});function to(n,i){n&1&&g(0,"div",12)}function io(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",10),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.onColorClick(o))}),f(3,to,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=i.index,o=m(2);c(2),q("colornull",!e),h("ngStyle",o.getBackgroundColor(e)),c(),h("ngIf",t==o.indexSeleccionado)}}function no(n,i){if(n&1&&g(0,"div",18),n&2){let e=m(3);h("ngStyle",e.getBackgroundColor(e.color))}}function oo(n,i){if(n&1){let e=E();s(0,"div",13),_("click",function(){v(e);let o=m(2);return x(o.addColor())}),f(1,no,1,1,"div",14),Ie(),s(2,"svg",15),g(3,"path",16)(4,"path",17),l()()}if(n&2){let e=m(2);c(),h("ngIf",e.indexSeleccionado===void 0)}}function ro(n,i){if(n&1){let e=E();s(0,"color-picker",19),_("colorChange",function(o){v(e);let r=m(2);return x(r.onChangeColorPicker(o))})("onAlphaChange",function(o){v(e);let r=m(2);return x(r.onAlphaChange(o))}),l()}if(n&2){let e=m(2);h("controls",e.colorPickerControls)("color",e.hsva)}}function ao(n,i){if(n&1&&(U(0),s(1,"div",5),f(2,io,4,4,"ng-container",6)(3,oo,5,1,"div",7)(4,ro,1,2,"color-picker",8),l(),Q()),n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(),h("ngForOf",e.palette),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls!="only-alpha"),c(),h("ngIf",!e.hideColorPicker&&e.colorPickerControls=="only-alpha")}}function so(n,i){n&1&&g(0,"div",12)}function lo(n,i){if(n&1){let e=E();U(0),s(1,"div",9)(2,"div",25),_("click",function(){let o=v(e).$implicit,r=m(2);return x(r.changeColor(o))}),f(3,so,1,0,"div",11),l()(),Q()}if(n&2){let e=i.$implicit,t=m(2);c(2),q("colornull",!e),h("ngStyle",Bt(4,yn,e)),c(),h("ngIf",t.isSelected(e))}}function co(n,i){if(n&1){let e=E();U(0),s(1,"div",5)(2,"div",20)(3,"div",21),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(4,"svg",22),g(5,"path",23)(6,"path",24),l()()(),f(7,lo,4,6,"ng-container",6),l(),Q()}if(n&2){let e=m();c(),h("@colorsAnimation",e.colorsAnimationEffect),c(6),h("ngForOf",e.variants)}}function po(n,i){if(n&1){let e=E();U(0),s(1,"div",26)(2,"div",27),_("click",function(){v(e);let o=m();return x(o.onClickBack())}),Ie(),s(3,"svg",22),g(4,"path",23)(5,"path",24),l()(),ri(),s(6,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("cancel"))}),u(7),l(),s(8,"button",28),_("click",function(){v(e);let o=m();return x(o.emitClose("accept"))}),u(9),l()(),s(10,"div",29)(11,"color-picker",30),_("sliderChange",function(o){v(e);let r=m();return x(r.onChangeColorPicker(o))}),l()(),Q()}if(n&2){let e=m();c(7),w(" ",e.cancelLabel," "),c(2),w(" ",e.acceptLabel," "),c(2),h("controls",e.colorPickerControls)("color",e.hsva)}}function mo(n,i){if(n&1){let e=E();s(0,"div",31)(1,"p",32),_("click",function(){v(e);let o=m();return x(o.nextFormat())}),u(2),l(),s(3,"div",33)(4,"input",34,1),_("keyup",function(){v(e);let o=gi(5),r=m();return x(r.changeColorManual(o.value))})("keydown.enter",function(){v(e);let o=m();return x(o.emitClose("accept"))}),l()()()}if(n&2){let e=m();c(2),_e(e.colorFormats[e.format]),c(2),B("font-size",e.color&&e.color.length>23?9:10,"px")("letter-spacing",e.color&&e.color.length>16?0:1.5,"px"),h("placeholder",e.placeholder)("value",e.color)}}var Yt=["hex","rgba","hsla","cmyk"],F=function(n){return n[n.HEX=0]="HEX",n[n.RGBA=1]="RGBA",n[n.HSLA=2]="HSLA",n[n.CMYK=3]="CMYK",n}(F||{}),bn=[{color:"rojo",preview:"#E57373",variants:["#FFEBEE","#FFCDD2","#EF9A9A","#E57373","#EF5350","#F44336","#E53935","#D32F2F","#C62828"]},{color:"rosa",preview:"#F06292",variants:["#FCE4EC","#F8BBD0","#F48FB1","#F06292","#EC407A","#E91E63","#D81B60","#C2185B","#AD1457"]},{color:"purpura",preview:"#BA68C8",variants:["#F3E5F5","#E1BEE7","#CE93D8","#BA68C8","#AB47BC","#9C27B0","#8E24AA","#7B1FA2","#6A1B9A"]},{color:"purpura oscuro",preview:"#9575CD",variants:["#EDE7F6","#D1C4E9","#B39DDB","#9575CD","#7E57C2","#673AB7","#5E35B1","#512DA8","#4527A0"]},{color:"indigo",preview:"#7986CB",variants:["#E8EAF6","#C5CAE9","#9FA8DA","#7986CB","#5C6BC0","#3F51B5","#3949AB","#303F9F","#283593"]},{color:"azul",preview:"#64B5F6",variants:["#E3F2FD","#BBDEFB","#90CAF9","#64B5F6","#42A5F5","#2196F3","#1E88E5","#1976D2","#1565C0"]},{color:"celeste",preview:"#4FC3F7",variants:["#E1F5FE","#B3E5FC","#81D4FA","#4FC3F7","#29B6F6","#03A9F4","#039BE5","#0288D1","#0277BD"]},{color:"cyan",preview:"#4DD0E1",variants:["#E0F7FA","#B2EBF2","#80DEEA","#4DD0E1","#26C6DA","#00BCD4","#00ACC1","#0097A7","#00838F"]},{color:"color",preview:"#4DB6AC",variants:["#E0F2F1","#B2DFDB","#80CBC4","#4DB6AC","#26A69A","#009688","#00897B","#00796B","#00695C"]},{color:"verde",preview:"#81C784",variants:["#E8F5E9","#C8E6C9","#A5D6A7","#81C784","#66BB6A","#4CAF50","#43A047","#388E3C","#2E7D32"]},{color:"verde claro",preview:"#AED581",variants:["#F1F8E9","#DCEDC8","#C5E1A5","#AED581","#9CCC65","#8BC34A","#7CB342","#689F38","#558B2F"]},{color:"lima",preview:"#DCE775",variants:["#F9FBE7","#F0F4C3","#E6EE9C","#DCE775","#D4E157","#CDDC39","#C0CA33","#AFB42B","#9E9D24"]},{color:"amarillo",preview:"#FFF176",variants:["#FFFDE7","#FFF9C4","#FFF59D","#FFF176","#FFEE58","#FFEB3B","#FDD835","#FBC02D","#F9A825"]},{color:"ambar",preview:"#FFD54F",variants:["#FFF8E1","#FFECB3","#FFE082","#FFD54F","#FFCA28","#FFC107","#FFB300","#FFA000","#FF8F00"]},{color:"naranja",preview:"#FFB74D",variants:["#FFF3E0","#FFE0B2","#FFCC80","#FFB74D","#FFA726","#FF9800","#FB8C00","#F57C00","#EF6C00"]},{color:"naranja oscuro",preview:"#FF8A65",variants:["#FBE9E7","#FFCCBC","#FFAB91","#FF8A65","#FF7043","#FF5722","#F4511E","#E64A19","#D84315"]},{color:"marron",preview:"#A1887F",variants:["#EFEBE9","#D7CCC8","#BCAAA4","#A1887F","#8D6E63","#795548","#6D4C41","#5D4037","#4E342E"]},{color:"escala de grises",preview:"#E0E0E0",variants:["#FFFFFF","#FAFAFA","#F5F5F5","#EEEEEE","#E0E0E0","#BDBDBD","#9E9E9E","#757575","#616161","#424242","#000000"]},{color:"azul gris",preview:"#90A4AE",variants:["#ECEFF1","#CFD8DC","#B0BEC5","#90A4AE","#78909C","#607D8B","#546E7A","#455A64","#37474F"]}],te=class{constructor(i,e,t,o){this.r=i,this.g=e,this.b=t,this.a=o}denormalize(){return this.r=Math.round(this.r*255),this.g=Math.round(this.g*255),this.b=Math.round(this.b*255),this}toString(){return this.denormalize(),"rgb"+(this.a!=1?"a(":"(")+this.r+", "+this.g+", "+this.b+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},K=class{constructor(i,e,t,o){this.h=i,this.s=e,this.v=t,this.a=o,this.onChange=new y(!0)}onColorChange(i){this.s=i.s/i.rgX,this.v=i.v/i.rgY}onHueChange(i){this.h=i.v/i.rgX}onValueChange(i){this.v=i.v/i.rgX}onAlphaChange(i){this.a=i.v/i.rgX}},Pe=class{constructor(i,e,t,o){this.h=i,this.s=e,this.l=t,this.a=o}denormalize(){return this.h=Math.round(this.h*360),this.s=Math.round(this.s*100),this.l=Math.round(this.l*100),this}toString(){return"hsl"+(this.a!=1?"a(":"(")+this.h+", "+this.s+"%, "+this.l+"%"+(this.a!=1?", "+this.a.toPrecision(2)+")":")")}},Se=class{constructor(i,e,t,o,r=1){this.c=i,this.m=e,this.y=t,this.k=o,this.a=r}denormalize(){return this.c=Math.round(this.c*100),this.m=Math.round(this.m*100),this.y=Math.round(this.y*100),this.k=Math.round(this.k*100),this}toString(){return this.denormalize(),"cmyk("+this.c+", "+this.m+", "+this.y+", "+this.k+")"}},$t=class{constructor(i){i&&(this.preview=i.preview,this.variants=i.variants)}},yt=(()=>{class n{constructor(){}toFormat(e,t){var o="";if(e)switch(t){case F.HEX:var a=this.hsvaToRgba(e);a.denormalize();var o=this.rgbaToHex(a,!0);break;case F.HSLA:var r=this.hsva2hsla(e);r.denormalize();var o=r.toString();break;case F.RGBA:var a=this.hsvaToRgba(e),o=a.toString();break;case F.CMYK:var d=this.hsvaToCmyk(e),o=d.toString();break}return o}stringToFormat(e,t){var o=this.stringToHsva(e,!0);return this.toFormat(o,t)}hsva2hsla(e){let t=e.h,o=e.s,r=e.v,a=e.a;if(r===0)return new Pe(t,0,0,a);if(o===0&&r===1)return new Pe(t,1,1,a);{let d=r*(2-o)/2;return new Pe(t,r*o/(1-Math.abs(2*d-1)),d,a)}}hsla2hsva(e){let t=Math.min(e.h,1),o=Math.min(e.s,1),r=Math.min(e.l,1),a=Math.min(e.a,1);if(r===0)return new K(t,0,0,a);{let d=r+o*(1-Math.abs(2*r-1))/2;return new K(t,2*(d-r)/d,d,a)}}hsvaToRgba(e){let t,o,r,a=e.h,d=e.s,C=e.v,b=e.a,G=Math.floor(a*6),I=a*6-G,O=C*(1-d),$e=C*(1-I*d),De=C*(1-(1-I)*d);switch(G%6){case 0:t=C,o=De,r=O;break;case 1:t=$e,o=C,r=O;break;case 2:t=O,o=C,r=De;break;case 3:t=O,o=$e,r=C;break;case 4:t=De,o=O,r=C;break;case 5:t=C,o=O,r=$e;break;default:t=0,o=0,r=0}return new te(t,o,r,b)}cmykToRgb(e){let t=(1-e.c)*(1-e.k),o=(1-e.m)*(1-e.k),r=(1-e.y)*(1-e.k);return new te(t,o,r,e.a)}rgbaToCmyk(e){let t=1-Math.max(e.r,e.g,e.b);if(t===1)return new Se(0,0,0,1,e.a);{let o=(1-e.r-t)/(1-t),r=(1-e.g-t)/(1-t),a=(1-e.b-t)/(1-t);return new Se(o,r,a,t,e.a)}}hsvaToCmyk(e){let t=this.hsvaToRgba(e);return this.rgbaToCmyk(t)}rgbaToHsva(e){let t,o,r=Math.min(e.r,1),a=Math.min(e.g,1),d=Math.min(e.b,1),C=Math.min(e.a,1),b=Math.max(r,a,d),G=Math.min(r,a,d),I=b,O=b-G;if(o=b===0?0:O/b,b===G)t=0;else{switch(b){case r:t=(a-d)/O+(a{class n{mouseDown(e){this.start(e)}touchStart(e){this.start(e)}constructor(e){this.elRef=e,this.dragEnd=new y,this.dragStart=new y,this.newValue=new y,this.listenerMove=t=>this.move(t),this.listenerStop=()=>this.stop()}move(e){e.preventDefault(),this.setCursor(e)}start(e){this.setCursor(e),e.stopPropagation(),document.addEventListener("mouseup",this.listenerStop),document.addEventListener("touchend",this.listenerStop),document.addEventListener("mousemove",this.listenerMove),document.addEventListener("touchmove",this.listenerMove),this.dragStart.emit()}stop(){document.removeEventListener("mouseup",this.listenerStop),document.removeEventListener("touchend",this.listenerStop),document.removeEventListener("mousemove",this.listenerMove),document.removeEventListener("touchmove",this.listenerMove),this.dragEnd.emit()}getX(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageX!==void 0?e.pageX:e.touches[0].pageX)-t.left-window.pageXOffset}getY(e){let t=this.elRef.nativeElement.getBoundingClientRect();return(e.pageY!==void 0?e.pageY:e.touches[0].pageY)-t.top-window.pageYOffset}setCursor(e){let t=this.elRef.nativeElement.offsetWidth,o=this.elRef.nativeElement.offsetHeight,r=Math.max(0,Math.min(this.getX(e),t)),a=Math.max(0,Math.min(this.getY(e),o));this.rgX!==void 0&&this.rgY!==void 0?this.newValue.emit({s:r/t,v:1-a/o,rgX:this.rgX,rgY:this.rgY}):this.rgX===void 0&&this.rgY!==void 0?this.newValue.emit({v:a/o,rgY:this.rgY}):this.rgX!==void 0&&this.rgY===void 0&&this.newValue.emit({v:r/t,rgX:this.rgX})}}return n.\u0275fac=function(e){return new(e||n)(p(ge))},n.\u0275dir=P({type:n,selectors:[["","slider",""]],hostBindings:function(e,t){e&1&&_("mousedown",function(r){return t.mouseDown(r)})("touchstart",function(r){return t.touchStart(r)})},inputs:{rgX:"rgX",rgY:"rgY",slider:"slider"},outputs:{dragEnd:"dragEnd",dragStart:"dragStart",newValue:"newValue"}}),n})(),uo=(()=>{class n{constructor(e,t){this.service=e,this.cdr=t,this.color=new K(0,1,1,1),this.controls="default",this.sliderChange=new y(!1),this.onAlphaChange=new y(!1),this.hsva=new K(0,1,1,1),this.selectedColor="#000000",this.fallbackColor="#000000"}ngOnInit(){this.color||(this.color=new K(0,1,1,1)),this.slider=new wt(0,0,0,0),this.update()}ngOnDestroy(){}ngOnChanges(e){e.color&&this.color&&this.update()}ngAfterViewInit(){let e=this.hueSlider?.nativeElement.offsetWidth||140,t=this.alphaSlider?.nativeElement.offsetWidth||140;this.sliderDimMax=new Xt(e,220,130,t),this.update()}onSliderChange(e,t){switch(e){case"saturation-lightness":this.hsva.onColorChange(t);break;case"hue":this.hsva.onHueChange(t);break;case"alpha":this.hsva.onAlphaChange(t),this.onAlphaChange.emit(t);break;case"value":this.hsva.onValueChange(t);break}this.update(),this.setColor(this.outputColor)}setColor(e){this.color=e,this.sliderChange.emit(this.color)}getBackgroundColor(e){return{background:"linear-gradient(90deg, rgba(36,0,0,0) 0%, "+e+" 100%)"}}update(){if(this.hsva=this.color,this.sliderDimMax){let e=this.service.hsvaToRgba(this.hsva).denormalize(),t=this.service.hsvaToRgba(new K(this.hsva.h,1,1,1)).denormalize();this.hueSliderColor="rgb("+t.r+","+t.g+","+t.b+")",this.alphaSliderColor="rgb("+e.r+","+e.g+","+e.b+")",this.outputColor=this.hsva,this.selectedColor=this.service.hsvaToRgba(this.hsva).toString(),this.slider=new wt(this.hsva.h*this.sliderDimMax.h-5,this.hsva.s*this.sliderDimMax.s-8,(1-this.hsva.v)*this.sliderDimMax.v-8,this.hsva.a*this.sliderDimMax.a-5),this.cdr.detectChanges()}}}return n.\u0275fac=function(e){return new(e||n)(p(yt),p(J))},n.\u0275cmp=A({type:n,selectors:[["color-picker"]],viewQuery:function(e,t){if(e&1&&(Z(Un,5),Z(Qn,5)),e&2){let o;N(o=V())&&(t.hueSlider=o.first),N(o=V())&&(t.alphaSlider=o.first)}},inputs:{color:"color",controls:"controls"},outputs:{sliderChange:"sliderChange",onAlphaChange:"onAlphaChange"},features:[ue],decls:8,vars:4,consts:[["dialogPopup",""],["hueSlider",""],["alphaSlider",""],[1,"color-picker",3,"click"],["class","saturation-lightness",3,"slider","rgX","rgY","background-color","newValue",4,"ngIf"],[1,"hue-alpha","box"],["class","left",4,"ngIf"],[1,"right"],["class","hue",3,"slider","rgX","newValue",4,"ngIf"],["class","alpha",3,"slider","rgX","newValue",4,"ngIf"],[1,"saturation-lightness",3,"newValue","slider","rgX","rgY"],[1,"cursor"],[1,"left"],[1,"selected-color-background"],[1,"selected-color"],[1,"hue",3,"newValue","slider","rgX"],[1,"sliderCursor"],[1,"alpha",3,"newValue","slider","rgX"],[1,"alpha-gradient",3,"ngStyle"]],template:function(e,t){if(e&1){let o=E();s(0,"div",3,0),_("click",function(a){return v(o),x(a.stopPropagation())}),f(2,Kn,3,8,"div",4),s(3,"div",5),f(4,qn,3,2,"div",6),s(5,"div",7),f(6,Zn,5,3,"div",8)(7,Jn,6,4,"div",9),l()()()}e&2&&(c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(2),h("ngIf",t.controls!="only-alpha"),c(),h("ngIf",t.controls!="no-alpha"))},dependencies:[Nt,nt,ho],styles:[`.color-picker{position:relative;z-index:1000;width:220px;height:auto;cursor:default;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;touch-action:none}.color-picker *{box-sizing:border-box;margin:0;font-size:11px}.color-picker input{width:0;height:26px;min-width:0;font-size:13px;text-align:center;color:#000}.color-picker input:invalid,.color-picker input:-moz-ui-invalid,.color-picker input:-moz-submit-invalid{box-shadow:none}.color-picker input::-webkit-inner-spin-button,.color-picker input::-webkit-outer-spin-button{margin:0;-webkit-appearance:none}.color-picker .sliderCursor{width:10px;border-radius:5px;position:absolute;margin-top:-3px;border:1px solid black}.color-picker .sliderCursor>div{border:2px solid white;border-radius:5px}.color-picker .sliderCursor>div>div{border-radius:5px;border:1px solid black;height:24px}.color-picker .cursor{position:absolute;width:21px;border:3px solid black;border-radius:100%;margin:-2px 0 0 -2px}.color-picker .cursor>div{height:15px;border:3px solid white;border-radius:100%}.color-picker .box{display:flex;padding:4px 8px}.color-picker .left{position:relative;padding:16px 8px}.color-picker .right{flex:1 1 auto;display:flex;flex-direction:column;gap:10px;padding:12px 8px}.color-picker .hue-alpha{display:flex;align-items:center;margin-bottom:3px}.color-picker .hue{direction:ltr;width:100%;height:24px;border:none;border-radius:5px;position:relative;cursor:pointer;background-size:100% 100%;background:linear-gradient(to right,red 0%,#ff0 17%,lime 33%,cyan 50%,blue 66%,#f0f 83%,red 100%)}.color-picker .alpha{direction:ltr;position:relative;width:100%;height:24px;border:none;border-radius:5px;cursor:pointer;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .alpha-gradient{width:100%;height:100%;border-radius:5px;position:absolute}.color-picker .selected-color{position:absolute;top:16px;left:8px;width:40px;height:40px;box-shadow:0 1px 1px 1px #00000026;border-radius:50%}.color-picker .selected-color-background{width:40px;height:40px;border-radius:50%;background-image:linear-gradient(45deg,#ccc 25%,transparent 25%),linear-gradient(-45deg,#ccc 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#ccc 75%),linear-gradient(-45deg,transparent 75%,#ccc 75%);background-size:16px 16px;background-position:0 0,0 8px,8px -8px,-8px 0px}.color-picker .saturation-lightness{direction:ltr;cursor:crosshair;width:100%;position:relative;height:130px;border:none;touch-action:manipulation;background-image:linear-gradient(to top,#000 0%,transparent 100%),linear-gradient(to right,#fff 0%,transparent 100%)} `],encapsulation:2}),n})(),go=(()=>{class n{click(e){this.isOutside(e)&&this.emitClose("cancel")}onScroll(){this.onScreenMovement()}onResize(){this.onScreenMovement()}constructor(e,t){this.service=e,this.cdr=t,this.color="#000000",this.previewColor="#000000",this.hsva=new K(0,1,1,1),this.colorsAnimationEffect="slide-in",this.palette=bn,this.variants=[],this.userFormats=[],this.colorFormats=Yt,this.format=F.HEX,this.formatMap={hex:F.HEX,rgba:F.RGBA,hsla:F.HSLA,cmyk:F.CMYK},this.canChangeFormat=!0,this.menu=1,this.hideColorPicker=!1,this.hideTextInput=!1,this.colorPickerControls="default",this.placeholder="#FFFFFF"}ngOnInit(){this.setPosition(),this.hsva=this.service.stringToHsva(this.color),this.indexSeleccionado=this.findIndexSelectedColor(this.palette)}ngAfterViewInit(){this.setPositionY()}onScreenMovement(){this.setPosition(),this.setPositionY(),this.panelRef.nativeElement.style.transition||(this.panelRef.nativeElement.style.transition="transform 0.5s ease-out")}findIndexSelectedColor(e){let t;if(this.color)for(let o=0;oYt.includes(Wn))&&(this.colorFormats=De),d?this.colorFormats.includes(d)?(this.format=this.colorFormats.indexOf(d.toLowerCase()),this.canChangeFormat=!1,this.service.getFormatByString(this.color)!=d.toLowerCase()&&this.setColor(this.service.stringToHsva(this.color))):(console.error("Format provided is invalid, using HEX"),this.format=F.HEX):(this.format=this.colorFormats.indexOf(this.service.getFormatByString(this.color)),this.format<0&&(this.format=0)),this.previewColor=this.color,this.palette=r??bn,this.colorsAnimationEffect=a,$e=="top"){let Jt=this.TriggerBBox.nativeElement.getBoundingClientRect();this.positionString="transform: translateY(calc( -100% - "+Jt.height+"px ))"}}setPosition(){if(this.TriggerBBox){let t=this.TriggerBBox.nativeElement.getBoundingClientRect();this.top=t.top+t.height,t.left+250>window.innerWidth?this.left=t.right<250?window.innerWidth/2-250/2:t.right-250:this.left=t.left}}setPositionY(){let e=this.TriggerBBox.nativeElement.getBoundingClientRect(),t=this.panelRef.nativeElement.getBoundingClientRect(),o=t.height;e.bottom+o>window.innerHeight?this.positionString=e.topt.toUpperCase()==this.previewColor.toUpperCase()):!1}isSelected(e){return this.previewColor?typeof e=="string"&&e.toUpperCase()==this.previewColor.toUpperCase():!1}getBackgroundColor(e){return typeof e=="string"?{background:e}:{background:e?.preview}}onAlphaChange(e){this.palette=this.ChangeAlphaOnPalette(e,this.palette)}ChangeAlphaOnPalette(e,t){var o=[];for(let r=0;r{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let n=e;return n})(),Ee=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=e;return n})(),Et=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=e;return n})(),J=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(i){return new(i||e)(c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,xe,5),T(a,Ee,5),T(a,Et,5)),i&2){let s;I(s=F())&&(o.cell=s.first),I(s=F())&&(o.headerCell=s.first),I(s=F())&&(o.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[C([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),L]});let n=e;return n})(),ve=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},Mt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[m]});let n=e;return n})();var Tt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i);let o=t._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[m]});let n=e;return n})(),Re=class{constructor(){this.tasks=[],this.endTasks=[]}},be=new $("_COALESCED_STYLE_SCHEDULER"),Pe=(()=>{let e=class e{constructor(t){this._currentSchedule=null,this._ngZone=B(ie)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Re,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Re;for(let i of t.tasks)i();for(let i of t.endTasks)i()}this._currentSchedule=null})))}};e.\u0275fac=function(i){return new(i||e)(te(ie))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();var Be=(()=>{let e=class e{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){let i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof se?t.headerCell.template:this instanceof Le?t.footerCell.template:t.cell.template}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G))},e.\u0275dir=h({type:e,features:[fe]});let n=e;return n})(),se=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Le=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Me=(()=>{let e=class e extends Be{constructor(t,i,o){super(t,i),this._table=o}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[m]});let n=e;return n})(),H=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(i){return new(i||e)(c(q))},e.\u0275dir=h({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=e;return n})(),He=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})(),It=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=e;return n})(),St=["top","bottom","left","right"],je=class{constructor(e,r,t,i,o=!0,a=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){t.push(i);for(let o=0;o{for(let i of t)this._removeStickyStyle(i,r)})}updateStickyColumns(e,r,t,i=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],a=o.children.length,s=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(s,r),d=this._getStickyEndColumnPositions(s,t),u=r.lastIndexOf(!0),w=t.indexOf(!0),y=this.direction==="rtl",N=y?"right":"left",Ke=y?"left":"right";for(let ee of e)for(let D=0;Dr[D]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:s.slice(w).map((ee,D)=>t[D+w]?ee:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let u=0,w=0;u{let t=e.querySelector("tfoot");t&&(r.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let i of r)e.style[i]="",e.classList.remove(this._borderCellCss[i]);St.some(i=>r.indexOf(i)===-1&&e.style[i])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let i of St)e.style[i]&&(t+=r[i]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=i,i+=e[o]);return t}};var ke=new $("CDK_SPL");var ze=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(q),c(j))},e.\u0275dir=h({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let n=e;return n})(),Ue=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(q),c(j))},e.\u0275dir=h({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=e;return n})(),We=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(q),c(j))},e.\u0275dir=h({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=e;return n})(),Qe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(q),c(j))},e.\u0275dir=h({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=e;return n})();var $e=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),i=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,i,o,a,s,l,d,u,w,y,N,Ke){this._differs=t,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=d,this._viewRepeater=u,this._coalescedStyleScheduler=w,this._viewportRuler=y,this._stickyPositioningListener=N,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 ge,this.viewChange=new W({start:0,end:Number.MAX_VALUE}),this._injector=B(K),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(le(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(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),_e(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===vt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let a=i.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),et(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),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 t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let d=l.shift();return d.dataIndex=i,d}else return{data:t,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ce(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Ce(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ce(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ce(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,l)=>s||!!l.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(t,!1);return a&&this._forceRenderFooterRows(),i||o||a}_switchDataSource(t){this._data=[],_e(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;_e(this.dataSource)?t=this.dataSource.connect(this):Ye(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Q(this.dataSource)),this._renderChangeSubscription=t.pipe(le(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){let o=Array.from(i.columns||[]).map(l=>{let d=this._columnDefsByName.get(l);return d}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let i=[];for(let o=0;o!a.when||a.when(i,t));else{let a=this._rowDefs.find(s=>s.when&&s.when(i,t))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(t,i){let o=t.rowDef,a={$implicit:t.data};return{templateRef:o.template,context:a,index:i}}_renderRow(t,i,o,a={}){let s=t.viewContainer.createEmbeddedView(i.template,a,o);return this._renderCellTemplateForItem(i,a),s}_renderCellTemplateForItem(t,i){for(let o of this._getCellTemplates(t))H.mostRecentCellOutlet&&H.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let i=0,o=t.length;i{let o=this._columnDefsByName.get(i);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new je(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Q()).pipe(le(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(i){let a=o.createEmbeddedView(t.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(i){return new(i||e)(c(G),c(rt),c(j),Ge("role"),c(mt,8),c(st),c(ft),c(re),c(be),c(Rt),c(ke,12),c(ie,8))},e.\u0275cmp=b({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,It,5),T(a,J,5),T(a,Me,5),T(a,se,5),T(a,Le,5)),i&2){let s;I(s=F())&&(o._noDataRow=s.first),I(s=F())&&(o._contentColumnDefs=s),I(s=F())&&(o._contentRowDefs=s),I(s=F())&&(o._contentHeaderRowDefs=s),I(s=F())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[C([{provide:R,useExisting:e},{provide:re,useClass:De},{provide:be,useClass:Pe},{provide:ke,useValue:null}]),L,x],ngContentSelectors:Ut,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(zt),S(0),S(1,1),P(2,Wt,1,0)(3,Qt,7,0)(4,$t,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=e;return n})();function Ce(n,e){return n.concat(Array.from(e))}function xt(n,e){let r=e.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===r)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Ft=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[bt]});let n=e;return n})();var Kt=[[["caption"]],[["colgroup"],["col"]],"*"],qt=["caption","colgroup, col","*"];function Zt(n,e){n&1&&S(0,2)}function Yt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",2),g(3,3)(4,4),p(),f(5,"tfoot",0),g(6,5),p())}function Xt(n,e){n&1&&g(0,1)(1,3)(2,4)(3,5)}var Gi=(()=>{let e=class e extends $e{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[C([{provide:$e,useExisting:e},{provide:R,useExisting:e},{provide:be,useClass:Pe},{provide:re,useClass:De},{provide:ke,useValue:null}]),m,x],ngContentSelectors:qt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(Kt),S(0),S(1,1),P(2,Zt,1,0)(3,Yt,7,0)(4,Xt,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],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)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, 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, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);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, 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);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)}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});let n=e;return n})(),Ji=(()=>{let e=class e extends xe{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[C([{provide:xe,useExisting:e}]),m]});let n=e;return n})(),en=(()=>{let e=class e extends Ee{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[C([{provide:Ee,useExisting:e}]),m]});let n=e;return n})();var tn=(()=>{let e=class e extends J{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[C([{provide:J,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),m]});let n=e;return n})(),nn=(()=>{let e=class e extends Mt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[m]});let n=e;return n})();var on=(()=>{let e=class e extends Tt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[m]});let n=e;return n})();var rn=(()=>{let e=class e extends se{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[C([{provide:se,useExisting:e}]),L,m]});let n=e;return n})();var sn=(()=>{let e=class e extends Me{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[C([{provide:Me,useExisting:e}]),m]});let n=e;return n})(),an=(()=>{let e=class e extends He{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,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:[C([{provide:He,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var cn=(()=>{let e=class e extends Ve{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[C([{provide:Ve,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var ln=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[Ne,Ft,Ne]});let n=e;return n})(),Gt=9007199254740991,Ot=class extends Ct{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new W([]),this._filter=new W(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let i=r[t];if(ht(i)){let o=Number(i);return o{let i=t.active,o=t.direction;return!i||o==""?r:r.sort((a,s)=>{let l=this.sortingDataAccessor(a,i),d=this.sortingDataAccessor(s,i),u=typeof l,w=typeof d;u!==w&&(u==="number"&&(l+=""),w==="number"&&(d+=""));let y=0;return l!=null&&d!=null?l>d?y=1:l{let i=Object.keys(r).reduce((a,s)=>a+r[s]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return i.indexOf(o)!=-1},this._data=new W(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Fe(this._sort.sortChange,this._sort.initialized):Q(null),r=this._paginator?Fe(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Q(null),t=this._data,i=ce([t,this._filter]).pipe(ae(([s])=>this._filterData(s))),o=ce([i,e]).pipe(ae(([s])=>this._orderData(s))),a=ce([o,r]).pipe(ae(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let r=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(r,r+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=e,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,i=Math.min(r.pageIndex,t);i!==r.pageIndex&&(r.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Te=new $("DRAWER_DATA");var V=function(n){return n.OPEN="open",n.DISMISS="dismiss",n.SAVE="save",n.CLOSE="close",n}(V||{});function At(n){let e={};return n&&Jt(e,n,"width"),e}function Jt(n,e,r){let t=ei(e);t==="px"||t==="rem"||t==="em"?n[`${r}.${t}`]=parseFloat(e):n[r]=e}function ei(n){let r=(typeof n=="string"?n:"").match(/(px|rem|em|vw|vh|%)$/);return r?r[0]:"px"}var Nt=(()=>{let e=class e{transform(t){return At(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=Xe({name:"drawerSizeStyles",type:e,pure:!0,standalone:!0});let n=e;return n})();var z=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new U}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var ii=["*"];function ni(n,e){n&1&&g(0)}function oi(n,e){if(n&1){let r=we();f(0,"div",7)(1,"div",8),X(2),p(),f(3,"div",9)(4,"button",10),ne("click",function(){me(r);let i=k();return pe(i.onDismiss())}),tt(5,"mat-icon",11),p()()()}if(n&2){let r=k();_(2),it(r.data.title)}}function ri(n,e){n&1&&g(0)}function si(n,e){if(n&1){let r=we();f(0,"button",15),ne("click",function(){me(r);let i=k(2);return pe(i.onClose())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isDismissDisabled),_(),oe(" ",r.data.closeButtonLabel," ")}}function ai(n,e){if(n&1){let r=we();f(0,"button",16),ne("click",function(){me(r);let i=k(2);return pe(i.onSave())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isSaveDisabled),_(),oe(" ",r.data.saveButtonLabel," ")}}function ci(n,e){if(n&1&&(f(0,"div",12),P(1,si,2,2,"button",13)(2,ai,2,2,"button",14),p()),n&2){let r=k();_(),M(r.data.showCloseButton?1:-1),_(),M(r.data.showSaveButton?2:-1)}}var A,jt=(A=class{constructor(e,r){this.drawerRef=e,this.data=r,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.closeDialogOnBackdropClick=!0,this.closeDialogOnEscKeyUp=!0,this.actionEvent=new ge,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(V.CLOSE),this.drawerRef.close({status:V.CLOSE})}onSave(){this.actionEvent.emit(V.SAVE)}onDismiss(){this.actionEvent.emit(V.DISMISS),this.drawerRef.close({status:V.DISMISS})}closeDrawerOnBackdropClick(){this.closeDialogOnBackdropClick&&this.drawerRef.backdropClick().pipe(ut(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.closeDialogOnEscKeyUp&&this.onDismiss()}},A.\u0275fac=function(r){return new(r||A)(c(z),c(Te))},A.\u0275cmp=b({type:A,selectors:[["ms-drawer"]],hostBindings:function(r,t){r&1&&ne("keyup.esc",function(){return t.onEscKeyDown()},!1,Je)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled",closeDialogOnBackdropClick:"closeDialogOnBackdropClick",closeDialogOnEscKeyUp:"closeDialogOnEscKeyUp"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[x],ngContentSelectors:ii,decls:12,vars:5,consts:[["defaultDrawerHeader",""],["defaultDrawerActions",""],[1,"drawer-wrapper",3,"ngStyle"],[1,"drawer-header"],[4,"ngTemplateOutlet"],[1,"drawer-content"],[1,"drawer-actions"],[1,"drawer-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(r,t){if(r&1&&(Y(),f(0,"div",2),nt(1,"drawerSizeStyles"),f(2,"div",3),P(3,ni,1,0,"ng-container",4)(4,oi,6,1,"ng-template",null,0,Ae),p(),f(6,"div",5),S(7),p(),f(8,"div",6),P(9,ri,1,0,"ng-container",4)(10,ci,3,2,"ng-template",null,1,Ae),p()()),r&2){let i=Oe(5),o=Oe(11);Z("ngStyle",ot(1,3,t.data.width)),_(3),Z("ngTemplateOutlet",t.headerTemplate||i),_(6),Z("ngTemplateOutlet",t.actionsTemplate||o)}},dependencies:[lt,ct,at,yt,pt,gt,_t,wt,Nt],styles:[".drawer-wrapper[_ngcontent-%COMP%]{width:inherit;height:100vh;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header[_ngcontent-%COMP%]{min-height:90px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:20px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),A);jt=Ze([dt()],jt);var Pt="768px";var Wn=(()=>{let e=class e{constructor(t,i){this.overlay=t,this.injector=i}open(t,i){let o=this.overlay.position().global().right(),a=this.overlay.create(Ie({positionStrategy:o,hasBackdrop:!0,backdropClass:"drawer-backdrop",height:"100vh"},i)),s=new z(a),l=K.create({parent:this.injector,providers:[{provide:z,useValue:s},{provide:Te,useValue:Ie({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,width:i?.width||Pt},i)}]}),d=new Dt(t,null,l);return a.attach(d),s}};e.\u0275fac=function(i){return new(i||e)(te(kt),te(K))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();export{Gi as a,Ji as b,en as c,tn as d,nn as e,on as f,rn as g,sn as h,an as i,cn as j,ln as k,Ot as l,Te as m,V as n,z as o,jt as p,Wn as q}; +import{a as dt,b as ut}from"./chunk-QJ55TOIV.js";import{b as Dt,g as Ct,h as _e,i as vt,j as re,k as De,o as Rt,q as bt,s as kt}from"./chunk-CYUWMGXJ.js";import{$,$a as f,Ab as x,Ba as Je,C as Fe,Cd as mt,Da as _,Ea as c,Eb as nt,Fa as E,Fb as ot,Gd as Ne,Hb as Ae,Ja as ie,Kb as rt,La as et,Lb as G,Ma as K,Mb as O,Na as m,Oa as L,Pa as P,Pb as st,Ra as Z,S as le,Ta as ye,Ub as at,Vb as ct,Xa as M,Z as de,Zb as lt,_ as ue,a as Ie,ab as p,ba as te,bb as tt,ca as B,dd as ht,eb as g,fb as we,ga as b,ha as he,hd as ft,ia as h,ib as ne,j as U,ja as Xe,k as W,kb as k,lb as Y,mb as S,na as fe,oa as me,ob as T,p as Ze,pa as pe,qb as I,qe as pt,rb as F,s as Q,sa as v,sb as Oe,se as gt,ta as Ge,tb as X,te as yt,u as Ye,ua as q,ub as it,vb as oe,ve as wt,w as ae,wa as j,we as _t,x as ce,xa as ge,zb as C}from"./chunk-DL2LTWBU.js";var zt=[[["caption"]],[["colgroup"],["col"]],"*"],Ut=["caption","colgroup, col","*"];function Wt(n,e){n&1&&S(0,2)}function Qt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",0),g(3,2)(4,3),p(),f(5,"tfoot",0),g(6,4),p())}function $t(n,e){n&1&&g(0,1)(1,2)(2,3)(3,4)}var R=new $("CDK_TABLE");var xe=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkCellDef",""]],standalone:!0});let n=e;return n})(),Ee=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderCellDef",""]],standalone:!0});let n=e;return n})(),Et=(()=>{let e=class e{constructor(t){this.template=t}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterCellDef",""]],standalone:!0});let n=e;return n})(),J=(()=>{let e=class e{get name(){return this._name}set name(t){this._setNameInput(t)}get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}get stickyEnd(){return this._stickyEnd}set stickyEnd(t){t!==this._stickyEnd&&(this._stickyEnd=t,this._hasStickyChanged=!0)}constructor(t){this._table=t,this._hasStickyChanged=!1,this._sticky=!1,this._stickyEnd=!1}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}_updateColumnCssClassName(){this._columnCssClassName=[`cdk-column-${this.cssClassFriendlyName}`]}_setNameInput(t){t&&(this._name=t,this.cssClassFriendlyName=t.replace(/[^a-z0-9_-]/gi,"-"),this._updateColumnCssClassName())}};e.\u0275fac=function(i){return new(i||e)(c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkColumnDef",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,xe,5),T(a,Ee,5),T(a,Et,5)),i&2){let s;I(s=F())&&(o.cell=s.first),I(s=F())&&(o.headerCell=s.first),I(s=F())&&(o.footerCell=s.first)}},inputs:{name:[0,"cdkColumnDef","name"],sticky:[2,"sticky","sticky",O],stickyEnd:[2,"stickyEnd","stickyEnd",O]},standalone:!0,features:[C([{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),L]});let n=e;return n})(),ve=class{constructor(e,r){r.nativeElement.classList.add(...e._columnCssClassName)}},Mt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-header-cell"],["th","cdk-header-cell",""]],hostAttrs:["role","columnheader",1,"cdk-header-cell"],standalone:!0,features:[m]});let n=e;return n})();var Tt=(()=>{let e=class e extends ve{constructor(t,i){super(t,i);let o=t._table?._getCellRole();o&&i.nativeElement.setAttribute("role",o)}};e.\u0275fac=function(i){return new(i||e)(c(J),c(j))},e.\u0275dir=h({type:e,selectors:[["cdk-cell"],["td","cdk-cell",""]],hostAttrs:[1,"cdk-cell"],standalone:!0,features:[m]});let n=e;return n})(),Re=class{constructor(){this.tasks=[],this.endTasks=[]}},be=new $("_COALESCED_STYLE_SCHEDULER"),Pe=(()=>{let e=class e{constructor(t){this._currentSchedule=null,this._ngZone=B(ie)}schedule(t){this._createScheduleIfNeeded(),this._currentSchedule.tasks.push(t)}scheduleEnd(t){this._createScheduleIfNeeded(),this._currentSchedule.endTasks.push(t)}_createScheduleIfNeeded(){this._currentSchedule||(this._currentSchedule=new Re,this._ngZone.runOutsideAngular(()=>queueMicrotask(()=>{for(;this._currentSchedule.tasks.length||this._currentSchedule.endTasks.length;){let t=this._currentSchedule;this._currentSchedule=new Re;for(let i of t.tasks)i();for(let i of t.endTasks)i()}this._currentSchedule=null})))}};e.\u0275fac=function(i){return new(i||e)(te(ie))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();var Be=(()=>{let e=class e{constructor(t,i){this.template=t,this._differs=i}ngOnChanges(t){if(!this._columnsDiffer){let i=t.columns&&t.columns.currentValue||[];this._columnsDiffer=this._differs.find(i).create(),this._columnsDiffer.diff(i)}}getColumnsDiff(){return this._columnsDiffer.diff(this.columns)}extractCellTemplate(t){return this instanceof se?t.headerCell.template:this instanceof Le?t.footerCell.template:t.cell.template}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G))},e.\u0275dir=h({type:e,features:[fe]});let n=e;return n})(),se=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkHeaderRowDef",""]],inputs:{columns:[0,"cdkHeaderRowDef","columns"],sticky:[2,"cdkHeaderRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Le=(()=>{let e=class e extends Be{get sticky(){return this._sticky}set sticky(t){t!==this._sticky&&(this._sticky=t,this._hasStickyChanged=!0)}constructor(t,i,o){super(t,i),this._table=o,this._hasStickyChanged=!1,this._sticky=!1}ngOnChanges(t){super.ngOnChanges(t)}hasStickyChanged(){let t=this._hasStickyChanged;return this.resetStickyChanged(),t}resetStickyChanged(){this._hasStickyChanged=!1}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkFooterRowDef",""]],inputs:{columns:[0,"cdkFooterRowDef","columns"],sticky:[2,"cdkFooterRowDefSticky","sticky",O]},standalone:!0,features:[L,m,fe]});let n=e;return n})(),Me=(()=>{let e=class e extends Be{constructor(t,i,o){super(t,i),this._table=o}};e.\u0275fac=function(i){return new(i||e)(c(E),c(G),c(R,8))},e.\u0275dir=h({type:e,selectors:[["","cdkRowDef",""]],inputs:{columns:[0,"cdkRowDefColumns","columns"],when:[0,"cdkRowDefWhen","when"]},standalone:!0,features:[m]});let n=e;return n})(),H=(()=>{let e=class e{constructor(t){this._viewContainer=t,e.mostRecentCellOutlet=this}ngOnDestroy(){e.mostRecentCellOutlet===this&&(e.mostRecentCellOutlet=null)}};e.mostRecentCellOutlet=null,e.\u0275fac=function(i){return new(i||e)(c(K))},e.\u0275dir=h({type:e,selectors:[["","cdkCellOutlet",""]],standalone:!0});let n=e;return n})(),He=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-header-row"],["tr","cdk-header-row",""]],hostAttrs:["role","row",1,"cdk-header-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var Ve=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["cdk-row"],["tr","cdk-row",""]],hostAttrs:["role","row",1,"cdk-row"],standalone:!0,features:[x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})(),It=(()=>{let e=class e{constructor(t){this.templateRef=t,this._contentClassName="cdk-no-data-row"}};e.\u0275fac=function(i){return new(i||e)(c(E))},e.\u0275dir=h({type:e,selectors:[["ng-template","cdkNoDataRow",""]],standalone:!0});let n=e;return n})(),St=["top","bottom","left","right"],je=class{constructor(e,r,t,i,o=!0,a=!0,s){this._isNativeHtmlTable=e,this._stickCellCss=r,this.direction=t,this._coalescedStyleScheduler=i,this._isBrowser=o,this._needsPositionStickyOnElement=a,this._positionListener=s,this._cachedCellWidths=[],this._borderCellCss={top:`${r}-border-elem-top`,bottom:`${r}-border-elem-bottom`,left:`${r}-border-elem-left`,right:`${r}-border-elem-right`}}clearStickyPositioning(e,r){let t=[];for(let i of e)if(i.nodeType===i.ELEMENT_NODE){t.push(i);for(let o=0;o{for(let i of t)this._removeStickyStyle(i,r)})}updateStickyColumns(e,r,t,i=!0){if(!e.length||!this._isBrowser||!(r.some(o=>o)||t.some(o=>o))){this._positionListener&&(this._positionListener.stickyColumnsUpdated({sizes:[]}),this._positionListener.stickyEndColumnsUpdated({sizes:[]}));return}this._coalescedStyleScheduler.schedule(()=>{let o=e[0],a=o.children.length,s=this._getCellWidths(o,i),l=this._getStickyStartColumnPositions(s,r),d=this._getStickyEndColumnPositions(s,t),u=r.lastIndexOf(!0),w=t.indexOf(!0),y=this.direction==="rtl",N=y?"right":"left",qe=y?"left":"right";for(let ee of e)for(let D=0;Dr[D]?ee:null)}),this._positionListener.stickyEndColumnsUpdated({sizes:w===-1?[]:s.slice(w).map((ee,D)=>t[D+w]?ee:null).reverse()}))})}stickRows(e,r,t){this._isBrowser&&this._coalescedStyleScheduler.schedule(()=>{let i=t==="bottom"?e.slice().reverse():e,o=t==="bottom"?r.slice().reverse():r,a=[],s=[],l=[];for(let u=0,w=0;u{let t=e.querySelector("tfoot");t&&(r.some(i=>!i)?this._removeStickyStyle(t,["bottom"]):this._addStickyStyle(t,"bottom",0,!1))})}_removeStickyStyle(e,r){for(let i of r)e.style[i]="",e.classList.remove(this._borderCellCss[i]);St.some(i=>r.indexOf(i)===-1&&e.style[i])?e.style.zIndex=this._getCalculatedZIndex(e):(e.style.zIndex="",this._needsPositionStickyOnElement&&(e.style.position=""),e.classList.remove(this._stickCellCss))}_addStickyStyle(e,r,t,i){e.classList.add(this._stickCellCss),i&&e.classList.add(this._borderCellCss[r]),e.style[r]=`${t}px`,e.style.zIndex=this._getCalculatedZIndex(e),this._needsPositionStickyOnElement&&(e.style.cssText+="position: -webkit-sticky; position: sticky; ")}_getCalculatedZIndex(e){let r={top:100,bottom:10,left:1,right:1},t=0;for(let i of St)e.style[i]&&(t+=r[i]);return t?`${t}`:""}_getCellWidths(e,r=!0){if(!r&&this._cachedCellWidths.length)return this._cachedCellWidths;let t=[],i=e.children;for(let o=0;o0;o--)r[o]&&(t[o]=i,i+=e[o]);return t}};var ke=new $("CDK_SPL");var ze=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._rowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","rowOutlet",""]],standalone:!0});let n=e;return n})(),Ue=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._headerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","headerRowOutlet",""]],standalone:!0});let n=e;return n})(),We=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._footerRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","footerRowOutlet",""]],standalone:!0});let n=e;return n})(),Qe=(()=>{let e=class e{constructor(t,i){this.viewContainer=t,this.elementRef=i;let o=B(R);o._noDataRowOutlet=this,o._outletAssigned()}};e.\u0275fac=function(i){return new(i||e)(c(K),c(j))},e.\u0275dir=h({type:e,selectors:[["","noDataRowOutlet",""]],standalone:!0});let n=e;return n})();var $e=(()=>{let e=class e{_getCellRole(){if(this._cellRoleInternal===void 0){let t=this._elementRef.nativeElement.getAttribute("role"),i=t==="grid"||t==="treegrid"?"gridcell":"cell";this._cellRoleInternal=this._isNativeHtmlTable&&i==="cell"?null:i}return this._cellRoleInternal}get trackBy(){return this._trackByFn}set trackBy(t){this._trackByFn=t}get dataSource(){return this._dataSource}set dataSource(t){this._dataSource!==t&&this._switchDataSource(t)}get multiTemplateDataRows(){return this._multiTemplateDataRows}set multiTemplateDataRows(t){this._multiTemplateDataRows=t,this._rowOutlet&&this._rowOutlet.viewContainer.length&&(this._forceRenderDataRows(),this.updateStickyColumnStyles())}get fixedLayout(){return this._fixedLayout}set fixedLayout(t){this._fixedLayout=t,this._forceRecalculateCellWidths=!0,this._stickyColumnStylesNeedReset=!0}constructor(t,i,o,a,s,l,d,u,w,y,N,qe){this._differs=t,this._changeDetectorRef=i,this._elementRef=o,this._dir=s,this._platform=d,this._viewRepeater=u,this._coalescedStyleScheduler=w,this._viewportRuler=y,this._stickyPositioningListener=N,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 ge,this.viewChange=new W({start:0,end:Number.MAX_VALUE}),this._injector=B(q),a||o.nativeElement.setAttribute("role","table"),this._document=l,this._isServer=!d.isBrowser,this._isNativeHtmlTable=o.nativeElement.nodeName==="TABLE"}ngOnInit(){this._setupStickyStyler(),this._dataDiffer=this._differs.find([]).create((t,i)=>this.trackBy?this.trackBy(i.dataIndex,i.data):i),this._viewportRuler.change().pipe(le(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(t=>{t?.clear()}),this._headerRowDefs=[],this._footerRowDefs=[],this._defaultRowDef=null,this._onDestroy.next(),this._onDestroy.complete(),_e(this.dataSource)&&this.dataSource.disconnect(this)}renderRows(){this._renderRows=this._getAllRenderRows();let t=this._dataDiffer.diff(this._renderRows);if(!t){this._updateNoDataRow(),this.contentChanged.next();return}let i=this._rowOutlet.viewContainer;this._viewRepeater.applyChanges(t,i,(o,a,s)=>this._getEmbeddedViewArgs(o.item,s),o=>o.item.data,o=>{o.operation===vt.INSERTED&&o.context&&this._renderCellTemplateForItem(o.record.item.rowDef,o.context)}),this._updateRowIndexContext(),t.forEachIdentityChange(o=>{let a=i.get(o.currentIndex);a.context.$implicit=o.item.data}),this._updateNoDataRow(),et(()=>{this.updateStickyColumnStyles()},{injector:this._injector}),this.contentChanged.next()}addColumnDef(t){this._customColumnDefs.add(t)}removeColumnDef(t){this._customColumnDefs.delete(t)}addRowDef(t){this._customRowDefs.add(t)}removeRowDef(t){this._customRowDefs.delete(t)}addHeaderRowDef(t){this._customHeaderRowDefs.add(t),this._headerRowDefChanged=!0}removeHeaderRowDef(t){this._customHeaderRowDefs.delete(t),this._headerRowDefChanged=!0}addFooterRowDef(t){this._customFooterRowDefs.add(t),this._footerRowDefChanged=!0}removeFooterRowDef(t){this._customFooterRowDefs.delete(t),this._footerRowDefChanged=!0}setNoDataRow(t){this._customNoDataRow=t}updateStickyHeaderRowStyles(){let t=this._getRenderedRows(this._headerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._headerRowOutlet,"thead");o&&(o.style.display=t.length?"":"none")}let i=this._headerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["top"]),this._stickyStyler.stickRows(t,i,"top"),this._headerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyFooterRowStyles(){let t=this._getRenderedRows(this._footerRowOutlet);if(this._isNativeHtmlTable){let o=xt(this._footerRowOutlet,"tfoot");o&&(o.style.display=t.length?"":"none")}let i=this._footerRowDefs.map(o=>o.sticky);this._stickyStyler.clearStickyPositioning(t,["bottom"]),this._stickyStyler.stickRows(t,i,"bottom"),this._stickyStyler.updateStickyFooterContainer(this._elementRef.nativeElement,i),this._footerRowDefs.forEach(o=>o.resetStickyChanged())}updateStickyColumnStyles(){let t=this._getRenderedRows(this._headerRowOutlet),i=this._getRenderedRows(this._rowOutlet),o=this._getRenderedRows(this._footerRowOutlet);(this._isNativeHtmlTable&&!this._fixedLayout||this._stickyColumnStylesNeedReset)&&(this._stickyStyler.clearStickyPositioning([...t,...i,...o],["left","right"]),this._stickyColumnStylesNeedReset=!1),t.forEach((a,s)=>{this._addStickyColumnStyles([a],this._headerRowDefs[s])}),this._rowDefs.forEach(a=>{let s=[];for(let l=0;l{this._addStickyColumnStyles([a],this._footerRowDefs[s])}),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 t=[],i=this._cachedRenderRowsMap;this._cachedRenderRowsMap=new Map;for(let o=0;o{let l=o&&o.has(s)?o.get(s):[];if(l.length){let d=l.shift();return d.dataIndex=i,d}else return{data:t,rowDef:s,dataIndex:i}})}_cacheColumnDefs(){this._columnDefsByName.clear(),Ce(this._getOwnDefs(this._contentColumnDefs),this._customColumnDefs).forEach(i=>{this._columnDefsByName.has(i.name),this._columnDefsByName.set(i.name,i)})}_cacheRowDefs(){this._headerRowDefs=Ce(this._getOwnDefs(this._contentHeaderRowDefs),this._customHeaderRowDefs),this._footerRowDefs=Ce(this._getOwnDefs(this._contentFooterRowDefs),this._customFooterRowDefs),this._rowDefs=Ce(this._getOwnDefs(this._contentRowDefs),this._customRowDefs);let t=this._rowDefs.filter(i=>!i.when);!this.multiTemplateDataRows&&t.length>1,this._defaultRowDef=t[0]}_renderUpdatedColumns(){let t=(s,l)=>s||!!l.getColumnsDiff(),i=this._rowDefs.reduce(t,!1);i&&this._forceRenderDataRows();let o=this._headerRowDefs.reduce(t,!1);o&&this._forceRenderHeaderRows();let a=this._footerRowDefs.reduce(t,!1);return a&&this._forceRenderFooterRows(),i||o||a}_switchDataSource(t){this._data=[],_e(this.dataSource)&&this.dataSource.disconnect(this),this._renderChangeSubscription&&(this._renderChangeSubscription.unsubscribe(),this._renderChangeSubscription=null),t||(this._dataDiffer&&this._dataDiffer.diff([]),this._rowOutlet&&this._rowOutlet.viewContainer.clear()),this._dataSource=t}_observeRenderChanges(){if(!this.dataSource)return;let t;_e(this.dataSource)?t=this.dataSource.connect(this):Ye(this.dataSource)?t=this.dataSource:Array.isArray(this.dataSource)&&(t=Q(this.dataSource)),this._renderChangeSubscription=t.pipe(le(this._onDestroy)).subscribe(i=>{this._data=i||[],this.renderRows()})}_forceRenderHeaderRows(){this._headerRowOutlet.viewContainer.length>0&&this._headerRowOutlet.viewContainer.clear(),this._headerRowDefs.forEach((t,i)=>this._renderRow(this._headerRowOutlet,t,i)),this.updateStickyHeaderRowStyles()}_forceRenderFooterRows(){this._footerRowOutlet.viewContainer.length>0&&this._footerRowOutlet.viewContainer.clear(),this._footerRowDefs.forEach((t,i)=>this._renderRow(this._footerRowOutlet,t,i)),this.updateStickyFooterRowStyles()}_addStickyColumnStyles(t,i){let o=Array.from(i.columns||[]).map(l=>{let d=this._columnDefsByName.get(l);return d}),a=o.map(l=>l.sticky),s=o.map(l=>l.stickyEnd);this._stickyStyler.updateStickyColumns(t,a,s,!this._fixedLayout||this._forceRecalculateCellWidths)}_getRenderedRows(t){let i=[];for(let o=0;o!a.when||a.when(i,t));else{let a=this._rowDefs.find(s=>s.when&&s.when(i,t))||this._defaultRowDef;a&&o.push(a)}return o.length,o}_getEmbeddedViewArgs(t,i){let o=t.rowDef,a={$implicit:t.data};return{templateRef:o.template,context:a,index:i}}_renderRow(t,i,o,a={}){let s=t.viewContainer.createEmbeddedView(i.template,a,o);return this._renderCellTemplateForItem(i,a),s}_renderCellTemplateForItem(t,i){for(let o of this._getCellTemplates(t))H.mostRecentCellOutlet&&H.mostRecentCellOutlet._viewContainer.createEmbeddedView(o,i);this._changeDetectorRef.markForCheck()}_updateRowIndexContext(){let t=this._rowOutlet.viewContainer;for(let i=0,o=t.length;i{let o=this._columnDefsByName.get(i);return t.extractCellTemplate(o)})}_forceRenderDataRows(){this._dataDiffer.diff([]),this._rowOutlet.viewContainer.clear(),this.renderRows()}_checkStickyStates(){let t=(i,o)=>i||o.hasStickyChanged();this._headerRowDefs.reduce(t,!1)&&this.updateStickyHeaderRowStyles(),this._footerRowDefs.reduce(t,!1)&&this.updateStickyFooterRowStyles(),Array.from(this._columnDefsByName.values()).reduce(t,!1)&&(this._stickyColumnStylesNeedReset=!0,this.updateStickyColumnStyles())}_setupStickyStyler(){let t=this._dir?this._dir.value:"ltr";this._stickyStyler=new je(this._isNativeHtmlTable,this.stickyCssClass,t,this._coalescedStyleScheduler,this._platform.isBrowser,this.needsPositionStickyOnElement,this._stickyPositioningListener),(this._dir?this._dir.change:Q()).pipe(le(this._onDestroy)).subscribe(i=>{this._stickyStyler.direction=i,this.updateStickyColumnStyles()})}_getOwnDefs(t){return t.filter(i=>!i._table||i._table===this)}_updateNoDataRow(){let t=this._customNoDataRow||this._noDataRow;if(!t)return;let i=this._rowOutlet.viewContainer.length===0;if(i===this._isShowingNoDataRow)return;let o=this._noDataRowOutlet.viewContainer;if(i){let a=o.createEmbeddedView(t.templateRef),s=a.rootNodes[0];a.rootNodes.length===1&&s?.nodeType===this._document.ELEMENT_NODE&&(s.setAttribute("role","row"),s.classList.add(t._contentClassName))}else o.clear();this._isShowingNoDataRow=i,this._changeDetectorRef.markForCheck()}};e.\u0275fac=function(i){return new(i||e)(c(G),c(rt),c(j),Ge("role"),c(mt,8),c(st),c(ft),c(re),c(be),c(Rt),c(ke,12),c(ie,8))},e.\u0275cmp=b({type:e,selectors:[["cdk-table"],["table","cdk-table",""]],contentQueries:function(i,o,a){if(i&1&&(T(a,It,5),T(a,J,5),T(a,Me,5),T(a,se,5),T(a,Le,5)),i&2){let s;I(s=F())&&(o._noDataRow=s.first),I(s=F())&&(o._contentColumnDefs=s),I(s=F())&&(o._contentRowDefs=s),I(s=F())&&(o._contentHeaderRowDefs=s),I(s=F())&&(o._contentFooterRowDefs=s)}},hostAttrs:[1,"cdk-table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("cdk-table-fixed-layout",o.fixedLayout)},inputs:{trackBy:"trackBy",dataSource:"dataSource",multiTemplateDataRows:[2,"multiTemplateDataRows","multiTemplateDataRows",O],fixedLayout:[2,"fixedLayout","fixedLayout",O]},outputs:{contentChanged:"contentChanged"},exportAs:["cdkTable"],standalone:!0,features:[C([{provide:R,useExisting:e},{provide:re,useClass:De},{provide:be,useClass:Pe},{provide:ke,useValue:null}]),L,x],ngContentSelectors:Ut,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(zt),S(0),S(1,1),P(2,Wt,1,0)(3,Qt,7,0)(4,$t,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],styles:[".cdk-table-fixed-layout{table-layout:fixed}"],encapsulation:2});let n=e;return n})();function Ce(n,e){return n.concat(Array.from(e))}function xt(n,e){let r=e.toUpperCase(),t=n.viewContainer.element.nativeElement;for(;t;){let i=t.nodeType===1?t.nodeName:null;if(i===r)return t;if(i==="TABLE")break;t=t.parentNode}return null}var Ft=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[bt]});let n=e;return n})();var qt=[[["caption"]],[["colgroup"],["col"]],"*"],Kt=["caption","colgroup, col","*"];function Zt(n,e){n&1&&S(0,2)}function Yt(n,e){n&1&&(f(0,"thead",0),g(1,1),p(),f(2,"tbody",2),g(3,3)(4,4),p(),f(5,"tfoot",0),g(6,5),p())}function Xt(n,e){n&1&&g(0,1)(1,3)(2,4)(3,5)}var Gi=(()=>{let e=class e extends $e{constructor(){super(...arguments),this.stickyCssClass="mat-mdc-table-sticky",this.needsPositionStickyOnElement=!1}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-table"],["table","mat-table",""]],hostAttrs:[1,"mat-mdc-table","mdc-data-table__table"],hostVars:2,hostBindings:function(i,o){i&2&&ye("mdc-table-fixed-layout",o.fixedLayout)},exportAs:["matTable"],standalone:!0,features:[C([{provide:$e,useExisting:e},{provide:R,useExisting:e},{provide:be,useClass:Pe},{provide:re,useClass:De},{provide:ke,useValue:null}]),m,x],ngContentSelectors:Kt,decls:5,vars:2,consts:[["role","rowgroup"],["headerRowOutlet",""],["role","rowgroup",1,"mdc-data-table__content"],["rowOutlet",""],["noDataRowOutlet",""],["footerRowOutlet",""]],template:function(i,o){i&1&&(Y(qt),S(0),S(1,1),P(2,Zt,1,0)(3,Yt,7,0)(4,Xt,4,0)),i&2&&(_(2),M(o._isServer?2:-1),_(),M(o._isNativeHtmlTable?3:4))},dependencies:[Ue,ze,Qe,We],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)}.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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-header-headline-font, Roboto, sans-serif);line-height:var(--mat-table-header-headline-line-height);font-size:var(--mat-table-header-headline-size, 14px);font-weight:var(--mat-table-header-headline-weight, 500)}.mat-mdc-row{height:var(--mat-table-row-item-container-height, 52px);color:var(--mat-table-row-item-label-text-color, 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, Roboto, sans-serif);line-height:var(--mat-table-row-item-label-text-line-height);font-size:var(--mat-table-row-item-label-text-size, 14px);font-weight:var(--mat-table-row-item-label-text-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, rgba(0, 0, 0, 0.87));font-family:var(--mat-table-footer-supporting-text-font, Roboto, sans-serif);line-height:var(--mat-table-footer-supporting-text-line-height);font-size:var(--mat-table-footer-supporting-text-size, 14px);font-weight:var(--mat-table-footer-supporting-text-weight);letter-spacing:var(--mat-table-footer-supporting-text-tracking)}.mat-mdc-header-cell{border-bottom-color:var(--mat-table-row-item-outline-color, 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);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, 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);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)}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});let n=e;return n})(),Ji=(()=>{let e=class e extends xe{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matCellDef",""]],standalone:!0,features:[C([{provide:xe,useExisting:e}]),m]});let n=e;return n})(),en=(()=>{let e=class e extends Ee{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderCellDef",""]],standalone:!0,features:[C([{provide:Ee,useExisting:e}]),m]});let n=e;return n})();var tn=(()=>{let e=class e extends J{get name(){return this._name}set name(t){this._setNameInput(t)}_updateColumnCssClassName(){super._updateColumnCssClassName(),this._columnCssClassName.push(`mat-column-${this.cssClassFriendlyName}`)}};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matColumnDef",""]],inputs:{name:[0,"matColumnDef","name"]},standalone:!0,features:[C([{provide:J,useExisting:e},{provide:"MAT_SORT_HEADER_COLUMN_DEF",useExisting:e}]),m]});let n=e;return n})(),nn=(()=>{let e=class e extends Mt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-header-cell"],["th","mat-header-cell",""]],hostAttrs:["role","columnheader",1,"mat-mdc-header-cell","mdc-data-table__header-cell"],standalone:!0,features:[m]});let n=e;return n})();var on=(()=>{let e=class e extends Tt{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["mat-cell"],["td","mat-cell",""]],hostAttrs:[1,"mat-mdc-cell","mdc-data-table__cell"],standalone:!0,features:[m]});let n=e;return n})();var rn=(()=>{let e=class e extends se{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matHeaderRowDef",""]],inputs:{columns:[0,"matHeaderRowDef","columns"],sticky:[2,"matHeaderRowDefSticky","sticky",O]},standalone:!0,features:[C([{provide:se,useExisting:e}]),L,m]});let n=e;return n})();var sn=(()=>{let e=class e extends Me{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275dir=h({type:e,selectors:[["","matRowDef",""]],inputs:{columns:[0,"matRowDefColumns","columns"],when:[0,"matRowDefWhen","when"]},standalone:!0,features:[C([{provide:Me,useExisting:e}]),m]});let n=e;return n})(),an=(()=>{let e=class e extends He{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,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:[C([{provide:He,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var cn=(()=>{let e=class e extends Ve{};e.\u0275fac=(()=>{let t;return function(o){return(t||(t=v(e)))(o||e)}})(),e.\u0275cmp=b({type:e,selectors:[["mat-row"],["tr","mat-row",""]],hostAttrs:["role","row",1,"mat-mdc-row","mdc-data-table__row"],exportAs:["matRow"],standalone:!0,features:[C([{provide:Ve,useExisting:e}]),m,x],decls:1,vars:0,consts:[["cdkCellOutlet",""]],template:function(i,o){i&1&&g(0,0)},dependencies:[H],encapsulation:2});let n=e;return n})();var ln=(()=>{let e=class e{};e.\u0275fac=function(i){return new(i||e)},e.\u0275mod=he({type:e}),e.\u0275inj=ue({imports:[Ne,Ft,Ne]});let n=e;return n})(),Gt=9007199254740991,Ot=class extends Ct{get data(){return this._data.value}set data(e){e=Array.isArray(e)?e:[],this._data.next(e),this._renderChangesSubscription||this._filterData(e)}get filter(){return this._filter.value}set filter(e){this._filter.next(e),this._renderChangesSubscription||this._filterData(this.data)}get sort(){return this._sort}set sort(e){this._sort=e,this._updateChangeSubscription()}get paginator(){return this._paginator}set paginator(e){this._paginator=e,this._updateChangeSubscription()}constructor(e=[]){super(),this._renderData=new W([]),this._filter=new W(""),this._internalPageChanges=new U,this._renderChangesSubscription=null,this.sortingDataAccessor=(r,t)=>{let i=r[t];if(ht(i)){let o=Number(i);return o{let i=t.active,o=t.direction;return!i||o==""?r:r.sort((a,s)=>{let l=this.sortingDataAccessor(a,i),d=this.sortingDataAccessor(s,i),u=typeof l,w=typeof d;u!==w&&(u==="number"&&(l+=""),w==="number"&&(d+=""));let y=0;return l!=null&&d!=null?l>d?y=1:l{let i=Object.keys(r).reduce((a,s)=>a+r[s]+"\u25EC","").toLowerCase(),o=t.trim().toLowerCase();return i.indexOf(o)!=-1},this._data=new W(e),this._updateChangeSubscription()}_updateChangeSubscription(){let e=this._sort?Fe(this._sort.sortChange,this._sort.initialized):Q(null),r=this._paginator?Fe(this._paginator.page,this._internalPageChanges,this._paginator.initialized):Q(null),t=this._data,i=ce([t,this._filter]).pipe(ae(([s])=>this._filterData(s))),o=ce([i,e]).pipe(ae(([s])=>this._orderData(s))),a=ce([o,r]).pipe(ae(([s])=>this._pageData(s)));this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=a.subscribe(s=>this._renderData.next(s))}_filterData(e){return this.filteredData=this.filter==null||this.filter===""?e:e.filter(r=>this.filterPredicate(r,this.filter)),this.paginator&&this._updatePaginator(this.filteredData.length),this.filteredData}_orderData(e){return this.sort?this.sortData(e.slice(),this.sort):e}_pageData(e){if(!this.paginator)return e;let r=this.paginator.pageIndex*this.paginator.pageSize;return e.slice(r,r+this.paginator.pageSize)}_updatePaginator(e){Promise.resolve().then(()=>{let r=this.paginator;if(r&&(r.length=e,r.pageIndex>0)){let t=Math.ceil(r.length/r.pageSize)-1||0,i=Math.min(r.pageIndex,t);i!==r.pageIndex&&(r.pageIndex=i,this._internalPageChanges.next())}})}connect(){return this._renderChangesSubscription||this._updateChangeSubscription(),this._renderData}disconnect(){this._renderChangesSubscription?.unsubscribe(),this._renderChangesSubscription=null}};var Te=new $("DRAWER_DATA");var V=function(n){return n.OPEN="open",n.DISMISS="dismiss",n.SAVE="save",n.CLOSE="close",n}(V||{});function At(n){let e={};return n&&Jt(e,n,"width"),e}function Jt(n,e,r){let t=ei(e);t==="px"||t==="rem"||t==="em"?n[`${r}.${t}`]=parseFloat(e):n[r]=e}function ei(n){let r=(typeof n=="string"?n:"").match(/(px|rem|em|vw|vh|%)$/);return r?r[0]:"px"}var Nt=(()=>{let e=class e{transform(t){return At(t)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275pipe=Xe({name:"drawerSizeStyles",type:e,pure:!0,standalone:!0});let n=e;return n})();var z=class{constructor(e){this.overlayRef=e,this.afterClosedSubject=new U}backdropClick(){return this.overlayRef.backdropClick()}close(e){this.overlayRef.dispose(),this.afterClosedSubject.next(e),this.afterClosedSubject.complete()}afterClosed(){return this.afterClosedSubject.asObservable()}};var ii=["*"];function ni(n,e){n&1&&g(0)}function oi(n,e){if(n&1){let r=we();f(0,"div",7)(1,"div",8),X(2),p(),f(3,"div",9)(4,"button",10),ne("click",function(){me(r);let i=k();return pe(i.onDismiss())}),tt(5,"mat-icon",11),p()()()}if(n&2){let r=k();_(2),it(r.data.title)}}function ri(n,e){n&1&&g(0)}function si(n,e){if(n&1){let r=we();f(0,"button",15),ne("click",function(){me(r);let i=k(2);return pe(i.onClose())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isDismissDisabled),_(),oe(" ",r.data.closeButtonLabel," ")}}function ai(n,e){if(n&1){let r=we();f(0,"button",16),ne("click",function(){me(r);let i=k(2);return pe(i.onSave())}),X(1),p()}if(n&2){let r=k(2);Z("disabled",r.isSaveDisabled),_(),oe(" ",r.data.saveButtonLabel," ")}}function ci(n,e){if(n&1&&(f(0,"div",12),P(1,si,2,2,"button",13)(2,ai,2,2,"button",14),p()),n&2){let r=k();_(),M(r.data.showCloseButton?1:-1),_(),M(r.data.showSaveButton?2:-1)}}var A,jt=(A=class{constructor(e,r){this.drawerRef=e,this.data=r,this.isSaveDisabled=!1,this.isDismissDisabled=!1,this.actionEvent=new ge,this.closeDrawerOnBackdropClick()}onClose(){this.actionEvent.emit(V.CLOSE),this.drawerRef.close({status:V.CLOSE})}onSave(){this.actionEvent.emit(V.SAVE)}onDismiss(){this.actionEvent.emit(V.DISMISS),this.drawerRef.close({status:V.DISMISS})}closeDrawerOnBackdropClick(){this.data.closeDialogOnBackdropClick&&this.drawerRef.backdropClick().pipe(ut(this)).subscribe(()=>{this.onDismiss()})}onEscKeyDown(){this.data.closeDialogOnEscKeyUp&&this.onDismiss()}},A.\u0275fac=function(r){return new(r||A)(c(z),c(Te))},A.\u0275cmp=b({type:A,selectors:[["ms-drawer"]],hostBindings:function(r,t){r&1&&ne("keyup.esc",function(){return t.onEscKeyDown()},!1,Je)},inputs:{headerTemplate:"headerTemplate",actionsTemplate:"actionsTemplate",isSaveDisabled:"isSaveDisabled",isDismissDisabled:"isDismissDisabled"},outputs:{actionEvent:"actionEvent"},standalone:!0,features:[x],ngContentSelectors:ii,decls:12,vars:5,consts:[["defaultDrawerHeader",""],["defaultDrawerActions",""],[1,"drawer-wrapper",3,"ngStyle"],[1,"drawer-header"],[4,"ngTemplateOutlet"],[1,"drawer-content"],[1,"drawer-actions"],[1,"drawer-header-wrapper"],[1,"heading-section-title"],[1,"close-icon"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X"],[1,"actions-wrapper"],["mat-stroked-button","",3,"disabled"],["mat-flat-button","","color","primary",3,"disabled"],["mat-stroked-button","",3,"click","disabled"],["mat-flat-button","","color","primary",3,"click","disabled"]],template:function(r,t){if(r&1&&(Y(),f(0,"div",2),nt(1,"drawerSizeStyles"),f(2,"div",3),P(3,ni,1,0,"ng-container",4)(4,oi,6,1,"ng-template",null,0,Ae),p(),f(6,"div",5),S(7),p(),f(8,"div",6),P(9,ri,1,0,"ng-container",4)(10,ci,3,2,"ng-template",null,1,Ae),p()()),r&2){let i=Oe(5),o=Oe(11);Z("ngStyle",ot(1,3,t.data.width)),_(3),Z("ngTemplateOutlet",t.headerTemplate||i),_(6),Z("ngTemplateOutlet",t.actionsTemplate||o)}},dependencies:[lt,ct,at,yt,pt,gt,_t,wt,Nt],styles:[".drawer-wrapper[_ngcontent-%COMP%]{width:inherit;height:100vh;box-shadow:0 0 4px 0 var(--backgrounds-700);display:flex;flex-direction:column}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header[_ngcontent-%COMP%]{min-height:90px;background-color:var(--backgrounds-200);box-sizing:border-box;border-bottom:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]{color:var(--foregrounds-100)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-header-wrapper[_ngcontent-%COMP%] .close-icon[_ngcontent-%COMP%] .icon-cancel[_ngcontent-%COMP%]:hover{color:var(--foregrounds-300)!important}.drawer-wrapper[_ngcontent-%COMP%] .drawer-content[_ngcontent-%COMP%]{overflow-y:auto;background-color:var(--backgrounds-100);flex-grow:1;padding:32px}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%]{background-color:var(--backgrounds-200);padding:20px 32px;box-sizing:border-box;border-top:1px solid var(--backgrounds-500)}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-end}.drawer-wrapper[_ngcontent-%COMP%] .drawer-actions[_ngcontent-%COMP%] .actions-wrapper[_ngcontent-%COMP%] button[_ngcontent-%COMP%]{margin-left:20px}"]}),A);jt=Ze([dt()],jt);var Pt="768px";var Wn=(()=>{let e=class e{constructor(t,i){this.overlay=t,this.injector=i}open(t,i){let o=this.overlay.position().global().right(),a=this.overlay.create(Ie({positionStrategy:o,hasBackdrop:!0,backdropClass:"drawer-backdrop",height:"100vh"},i)),s=new z(a),l=q.create({parent:this.injector,providers:[{provide:z,useValue:s},{provide:Te,useValue:Ie({saveButtonLabel:"Save",closeButtonLabel:"Close",showSaveButton:!0,showCloseButton:!0,closeDialogOnBackdropClick:!0,closeDialogOnEscKeyUp:!0,width:i?.width||Pt},i)}]}),d=new Dt(t,null,l);return a.attach(d),s}};e.\u0275fac=function(i){return new(i||e)(te(kt),te(q))},e.\u0275prov=de({token:e,factory:e.\u0275fac});let n=e;return n})();export{Gi as a,Ji as b,en as c,tn as d,nn as e,on as f,rn as g,sn as h,an as i,cn as j,ln as k,Ot as l,Te as m,V as n,z as o,jt as p,Wn as q}; diff --git a/frontend/server/modelsmith-build/browser/chunk-2XICAOUA.js b/frontend/server/modelsmith-build/browser/chunk-OHPNN2ZF.js similarity index 93% rename from frontend/server/modelsmith-build/browser/chunk-2XICAOUA.js rename to frontend/server/modelsmith-build/browser/chunk-OHPNN2ZF.js index 6b67082..d267d5d 100644 --- a/frontend/server/modelsmith-build/browser/chunk-2XICAOUA.js +++ b/frontend/server/modelsmith-build/browser/chunk-OHPNN2ZF.js @@ -1 +1 @@ -import{a as O}from"./chunk-XSACZZU3.js";import{a as b}from"./chunk-DZVKHAZU.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import{a as Ot,b as bt}from"./chunk-GACPU6QS.js";import"./chunk-2CKK74GJ.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as _,b as Et,c as Rt,d as x}from"./chunk-FNUDZPJE.js";import{a as Nt,b as _t}from"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import{b as g,c as d,f as Ft,k as Pt}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import{b as z,c as Mt}from"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as P,b as N,c as It,j as Gt}from"./chunk-3IJULEGV.js";import{a as T,b as f}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{h as At,i as Tt}from"./chunk-HULQWYRR.js";import{$a as a,$c as st,D as C,Da as n,Ea as c,H as B,I as Z,K as W,P as X,Pd as lt,Qd as pt,Ra as m,Za as D,Zb as at,Zd as ct,_ as v,_a as k,_d as u,a as R,ab as s,ae as ht,b as L,bb as U,be as M,ca as J,cb as Y,ce as F,db as tt,ee as dt,fb as et,ga as y,ha as A,ib as K,ie as ft,je as ut,kc as mt,le as gt,oa as w,oc as Q,oe as St,p as S,pa as j,pb as it,pe as Ct,qb as rt,qe as vt,rb as ot,tb as h,te as yt,vb as V,w as q,zb as nt}from"./chunk-DL2LTWBU.js";var Lt=(r,t)=>t.key;function Ut(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}function Kt(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}var l,I=(l=class{get parentFormGroup(){return this.controlContainer.control}get algorithmFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmFormControl(){return this.algorithmFormGroup?.get(this.ALGORITHM_CONTROL_NAME)}constructor(t,e){this.controlContainer=t,this.scriptFacadeService=e,this.controlKey="",this.pruningAlgorithmsList=Et,this.quantAlgorithmsList=Rt,this.ALGORITHM_CONTROL_NAME="alg"}ngOnInit(){this.initForm(),this.listenToScriptStateChanges(),this.loadInitialData()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(X(1),Z(1),C(t=>!Mt(t?.algKey))).subscribe(t=>{let e=t.type,o=e===d.PRUNING||e===d.QUANTIZATION?t.algKey:x;this.algorithmFormControl?.setValue(o)}),this.scriptFacadeService.dispatch(P.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new F({[this.ALGORITHM_CONTROL_NAME]:new dt(x,ct.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{g(t)?this.algorithmFormGroup.disable():this.algorithmFormGroup.enable()})}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},l.\u0275fac=function(e){return new(e||l)(c(u),c(N))},l.\u0275cmp=y({type:l,selectors:[["ms-panel-algorithm"]],inputs:{controlKey:"controlKey"},features:[nt([],[{provide:u,useFactory:()=>J(u,{skipSelf:!0})}])],decls:12,vars:2,consts:[[1,"ms-card","algorithm-card"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],["label","Pruning"],[3,"value"],["label","Quantization"]],template:function(e,i){e&1&&(a(0,"mat-card",0)(1,"p",1),h(2,"Algorithm"),s(),a(3,"div",2)(4,"mat-form-field",3)(5,"mat-select",4)(6,"mat-optgroup",5),D(7,Ut,2,2,"mat-option",6,Lt),s(),a(9,"mat-optgroup",7),D(10,Kt,2,2,"mat-option",6,Lt),s()()()()()),e&2&&(n(3),m("formGroupName",i.controlKey),n(2),m("formControlName",i.ALGORITHM_CONTROL_NAME),n(2),k(i.pruningAlgorithmsList),n(3),k(i.quantAlgorithmsList))},dependencies:[Nt,At,Ot,pt,lt,ht,M,gt,ut]}),l);I=S([T()],I);var $="custommodel";function wt(r){let t=r.replace(/[^a-zA-Z0-9_]/g,"_");return/^[0-9_]/.test(t)&&(t="file_"+t),/.py$/.test(t)||(t+=".py"),t}var Qt=["panelParameters"],p,G=(p=class{constructor(t,e,i,o){this.scriptFacadeService=t,this.fileService=e,this.snackbarService=i,this.router=o,this.form=new F({}),this.AlgorithmType=d,this.isScriptActive=!1,this.isQuantAlgorithmSelected=!1,this.selectedAlgorithm=Ft.IMP,this.selectedAlgorithmType=d.PRUNING}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(B(50),q(()=>{let t=this.form.getRawValue();return t.algorithm&&t.algorithm.alg}),W(),C(t=>!z(t)),f(this)).subscribe(t=>{this.selectedAlgorithm=t,this.selectedAlgorithmType=Pt(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{this.isScriptActive=g(t),g(t)?this.form.disable():this.form.enable()})}submit(){if(z(this.selectedAlgorithm)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{algorithm:t,model:e}=this.form.getRawValue(),{model:i}=e;if(i===$&&!this.fileService.isFileLoaded){this.snackbarService.showError("Please select a predefined model or upload a custom file.");return}let o=i===$?wt(this.fileService?.file.name):i,E=L(R({},t),{params:L(R({},this.panelParametersComponent.parametersFormatted),{arch:o})});this.scriptFacadeService.dispatch(P.callScript({configs:E}))}goToChartPage(){this.router.navigate([st.RUNNING.ROOT])}},p.\u0275fac=function(e){return new(e||p)(c(N),c(Gt),c(It),c(mt))},p.\u0275cmp=y({type:p,selectors:[["ms-machine-unlearning"]],viewQuery:function(e,i){if(e&1&&it(Qt,5),e&2){let o;rt(o=ot())&&(i.panelParametersComponent=o.first)}},decls:17,vars:5,consts:[["panelAlgorithm",""],["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","algorithm"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(e,i){if(e&1){let o=et();a(0,"p",2),h(1,"Model Compression"),s(),a(2,"div",3)(3,"div",4),Y(4,5),U(5,"ms-panel-algorithm",6,0)(7,"ms-panel-model",7)(8,"ms-panel-parameters",8,1),tt(),a(10,"div")(11,"button",9),K("click",function(){return w(o),j(i.submit())}),h(12," Run "),s(),a(13,"button",10),K("click",function(){return w(o),j(i.goToChartPage())}),h(14,"View Chart"),s()()(),a(15,"div",11),U(16,"ms-terminal-xterm-with-toolbar"),s()()}e&2&&(n(2),m("formGroup",i.form),n(2),m("formGroup",i.form),n(3),m("algorithmType",i.selectedAlgorithmType),n(),m("algorithm",i.selectedAlgorithm),n(3),m("disabled",i.isScriptActive||i.form.invalid))},dependencies:[_,O,b,M,ft,vt,I],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),p);G=S([T()],G);var zt=[{path:"",component:G}],jt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[Q.forChild(zt),Q]});let r=t;return r})();var He=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[at,jt,_,O,b,_t,Tt,bt,St,Ct,yt]});let r=t;return r})();export{He as ModelCompressionModule}; +import{a as O}from"./chunk-XSACZZU3.js";import{a as b}from"./chunk-P2CUAPHG.js";import"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import"./chunk-BTI2I76F.js";import"./chunk-SLUK3QXN.js";import{a as Ot,b as bt}from"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import"./chunk-NAEQPCWM.js";import{a as _,b as Et,c as Rt,d as x}from"./chunk-TTKDIG3U.js";import{a as Nt,b as _t}from"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import{b as g,c as d,f as Ft,k as Pt}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import{b as z,c as Mt}from"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as P,b as N,c as It,j as Gt}from"./chunk-3IJULEGV.js";import{a as T,b as f}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import{h as At,i as Tt}from"./chunk-HULQWYRR.js";import{$a as a,$c as st,D as C,Da as n,Ea as c,H as B,I as Z,K as W,P as X,Pd as lt,Qd as pt,Ra as m,Za as D,Zb as at,Zd as ct,_ as v,_a as k,_d as u,a as R,ab as s,ae as ht,b as L,bb as U,be as M,ca as J,cb as Y,ce as F,db as tt,ee as dt,fb as et,ga as y,ha as A,ib as K,ie as ft,je as ut,kc as mt,le as gt,oa as w,oc as Q,oe as St,p as S,pa as j,pb as it,pe as Ct,qb as rt,qe as vt,rb as ot,tb as h,te as yt,vb as V,w as q,zb as nt}from"./chunk-DL2LTWBU.js";var Lt=(r,t)=>t.key;function Ut(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}function Kt(r,t){if(r&1&&(a(0,"mat-option",6),h(1),s()),r&2){let e=t.$implicit;m("value",e.key),n(),V(" ",e.value," ")}}var l,I=(l=class{get parentFormGroup(){return this.controlContainer.control}get algorithmFormGroup(){return this.parentFormGroup.get(this.controlKey)}get algorithmFormControl(){return this.algorithmFormGroup?.get(this.ALGORITHM_CONTROL_NAME)}constructor(t,e){this.controlContainer=t,this.scriptFacadeService=e,this.controlKey="",this.pruningAlgorithmsList=Et,this.quantAlgorithmsList=Rt,this.ALGORITHM_CONTROL_NAME="alg"}ngOnInit(){this.initForm(),this.listenToScriptStateChanges(),this.loadInitialData()}loadInitialData(){this.scriptFacadeService.scriptDetails$.pipe(X(1),Z(1),C(t=>!Mt(t?.algKey))).subscribe(t=>{let e=t.type,o=e===d.PRUNING||e===d.QUANTIZATION?t.algKey:x;this.algorithmFormControl?.setValue(o)}),this.scriptFacadeService.dispatch(P.getCurrentOrLastActiveScriptDetails())}initForm(){this.parentFormGroup.addControl(this.controlKey,new F({[this.ALGORITHM_CONTROL_NAME]:new dt(x,ct.required)}))}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{g(t)?this.algorithmFormGroup.disable():this.algorithmFormGroup.enable()})}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},l.\u0275fac=function(e){return new(e||l)(c(u),c(N))},l.\u0275cmp=y({type:l,selectors:[["ms-panel-algorithm"]],inputs:{controlKey:"controlKey"},features:[nt([],[{provide:u,useFactory:()=>J(u,{skipSelf:!0})}])],decls:12,vars:2,consts:[[1,"ms-card","algorithm-card"],[1,"heading-sub-section-title"],[1,"form-field-container",3,"formGroupName"],["appearance","outline","subscriptSizing","dynamic"],[3,"formControlName"],["label","Pruning"],[3,"value"],["label","Quantization"]],template:function(e,i){e&1&&(a(0,"mat-card",0)(1,"p",1),h(2,"Algorithm"),s(),a(3,"div",2)(4,"mat-form-field",3)(5,"mat-select",4)(6,"mat-optgroup",5),D(7,Ut,2,2,"mat-option",6,Lt),s(),a(9,"mat-optgroup",7),D(10,Kt,2,2,"mat-option",6,Lt),s()()()()()),e&2&&(n(3),m("formGroupName",i.controlKey),n(2),m("formControlName",i.ALGORITHM_CONTROL_NAME),n(2),k(i.pruningAlgorithmsList),n(3),k(i.quantAlgorithmsList))},dependencies:[Nt,At,Ot,pt,lt,ht,M,gt,ut]}),l);I=S([T()],I);var $="custommodel";function wt(r){let t=r.replace(/[^a-zA-Z0-9_]/g,"_");return/^[0-9_]/.test(t)&&(t="file_"+t),/.py$/.test(t)||(t+=".py"),t}var Qt=["panelParameters"],p,G=(p=class{constructor(t,e,i,o){this.scriptFacadeService=t,this.fileService=e,this.snackbarService=i,this.router=o,this.form=new F({}),this.AlgorithmType=d,this.isScriptActive=!1,this.isQuantAlgorithmSelected=!1,this.selectedAlgorithm=Ft.IMP,this.selectedAlgorithmType=d.PRUNING}ngOnInit(){this.listenToAlgorithmPanelChanges(),this.listenToScriptStateChanges()}listenToAlgorithmPanelChanges(){this.form.valueChanges.pipe(B(50),q(()=>{let t=this.form.getRawValue();return t.algorithm&&t.algorithm.alg}),W(),C(t=>!z(t)),f(this)).subscribe(t=>{this.selectedAlgorithm=t,this.selectedAlgorithmType=Pt(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(f(this)).subscribe(t=>{this.isScriptActive=g(t),g(t)?this.form.disable():this.form.enable()})}submit(){if(z(this.selectedAlgorithm)){this.snackbarService.showError("Select an algorithm before running a script.");return}let{algorithm:t,model:e}=this.form.getRawValue(),{model:i}=e;if(i===$&&!this.fileService.isFileLoaded){this.snackbarService.showError("Please select a predefined model or upload a custom file.");return}let o=i===$?wt(this.fileService?.file.name):i,E=L(R({},t),{params:L(R({},this.panelParametersComponent.parametersFormatted),{arch:o})});this.scriptFacadeService.dispatch(P.callScript({configs:E}))}goToChartPage(){this.router.navigate([st.RUNNING.ROOT])}},p.\u0275fac=function(e){return new(e||p)(c(N),c(Gt),c(It),c(mt))},p.\u0275cmp=y({type:p,selectors:[["ms-machine-unlearning"]],viewQuery:function(e,i){if(e&1&&it(Qt,5),e&2){let o;rt(o=ot())&&(i.panelParametersComponent=o.first)}},decls:17,vars:5,consts:[["panelAlgorithm",""],["panelParameters",""],[1,"heading-primary-title","title"],[1,"page-wrapper",3,"formGroup"],[1,"left"],[3,"formGroup"],["controlKey","algorithm"],["controlKey","model",3,"algorithmType"],["controlKey","params",3,"algorithm"],["mat-raised-button","","color","primary",3,"click","disabled"],["mat-raised-button","","color","primary",1,"ml-2",3,"click"],[1,"right"]],template:function(e,i){if(e&1){let o=et();a(0,"p",2),h(1,"Model Compression"),s(),a(2,"div",3)(3,"div",4),Y(4,5),U(5,"ms-panel-algorithm",6,0)(7,"ms-panel-model",7)(8,"ms-panel-parameters",8,1),tt(),a(10,"div")(11,"button",9),K("click",function(){return w(o),j(i.submit())}),h(12," Run "),s(),a(13,"button",10),K("click",function(){return w(o),j(i.goToChartPage())}),h(14,"View Chart"),s()()(),a(15,"div",11),U(16,"ms-terminal-xterm-with-toolbar"),s()()}e&2&&(n(2),m("formGroup",i.form),n(2),m("formGroup",i.form),n(3),m("algorithmType",i.selectedAlgorithmType),n(),m("algorithm",i.selectedAlgorithm),n(3),m("disabled",i.isScriptActive||i.form.invalid))},dependencies:[_,O,b,M,ft,vt,I],styles:[".title[_ngcontent-%COMP%]{margin-bottom:13px}"]}),p);G=S([T()],G);var zt=[{path:"",component:G}],jt=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[Q.forChild(zt),Q]});let r=t;return r})();var He=(()=>{let t=class t{};t.\u0275fac=function(o){return new(o||t)},t.\u0275mod=A({type:t}),t.\u0275inj=v({imports:[at,jt,_,O,b,_t,Tt,bt,St,Ct,yt]});let r=t;return r})();export{He as ModelCompressionModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-DZVKHAZU.js b/frontend/server/modelsmith-build/browser/chunk-P2CUAPHG.js similarity index 94% rename from frontend/server/modelsmith-build/browser/chunk-DZVKHAZU.js rename to frontend/server/modelsmith-build/browser/chunk-P2CUAPHG.js index 517902e..7d1ec11 100644 --- a/frontend/server/modelsmith-build/browser/chunk-DZVKHAZU.js +++ b/frontend/server/modelsmith-build/browser/chunk-P2CUAPHG.js @@ -1 +1 @@ -import{a as Me}from"./chunk-BTI2I76F.js";import{a as ye,b as Fe}from"./chunk-GACPU6QS.js";import{a as ne,b as me,c as pe,d as se,e as le,f as ce,g as de,h as ue,i as fe}from"./chunk-2CKK74GJ.js";import{a as he,b as _e}from"./chunk-6JSLXF7X.js";import{d as ge}from"./chunk-FNUDZPJE.js";import{a as Ce,b as ve}from"./chunk-PGXHYGLR.js";import{b as ae}from"./chunk-LRK34XDC.js";import{a as re,b as ie}from"./chunk-GWFXRHCV.js";import{b as oe,l as xe}from"./chunk-3IJULEGV.js";import{a as L,b as M}from"./chunk-QJ55TOIV.js";import{a as Y,d as z,h as J,i as Q,j as ee,k as te}from"./chunk-HULQWYRR.js";import{$a as n,$c as O,Ab as V,Da as a,Ea as d,P as A,Pa as y,Qd as R,Ra as c,Xa as u,Xd as G,Ya as F,Za as x,Zd as p,_a as g,_d as h,ab as o,ae as $,bb as _,be as w,ca as T,cb as P,ce as K,db as D,ga as b,je as j,kb as f,ke as q,le as B,me as U,na as E,nb as C,ne as H,p as S,pe as X,tb as l,ub as v,vb as N,ve as W,w as I,we as Z,zb as k}from"./chunk-DL2LTWBU.js";var Se=i=>{let e=[];if(i.validators)for(let[t,r]of Object.entries(i.validators))switch(t){case"required":r&&e.push(p.required);break;case"min":e.push(p.min(r));break;case"max":e.push(p.max(r));break;case"minLength":e.push(p.minLength(r));break;case"maxLength":e.push(p.maxLength(r));break;case"pattern":e.push(p.pattern(r));break;case"requiredTrue":r&&e.push(p.requiredTrue);break;case"email":r&&e.push(p.email);break;case le:e.push(ce(r));break;case de:e.push(ue());break;case ne:e.push(me());break;case pe:Array.isArray(r)&&r.length===2&&e.push(se(r));break}return e};function Ae(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8),_(4,"input",9)(5,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m)("placeholder",r.placeholder)("type",r.inputType)("step",r.inputArrowsStepRate||1),a(),C("matTooltip",r.help)}}function Te(i,e){if(i&1&&(n(0,"mat-option",12),l(1),o()),i&2){let t=e.$implicit;c("value",t.value),a(),N(" ",t.viewValue," ")}}function be(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8)(4,"mat-select",11),x(5,Te,2,2,"mat-option",12,F),o(),_(7,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m),a(),g(r.options),a(2),C("matTooltip",r.help)}}function Ee(i,e){if(i&1&&(n(0,"div",7)(1,"mat-checkbox",13),l(2),o(),n(3,"div",14),_(4,"mat-icon",15),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(),c("formControlName",m),a(),v(r.label),a(2),C("matTooltip",r.help)}}function Pe(i,e){if(i&1&&y(0,Ae,6,6,"div",6)(1,be,8,3,"div",6)(2,Ee,5,3,"div",7),i&2){let t=e.$implicit;u(t.inputType==="text"||t.inputType==="number"?0:-1),a(),u(t.inputType==="select"?1:-1),a(),u(t.inputType==="checkbox"?2:-1)}}function De(i,e){if(i&1&&(n(0,"div",2),P(1,4),n(2,"div",5),x(3,Pe,3,3,null,null,F),o(),D(),o()),i&2){let t=f();a(),c("formGroupName",t.controlKey),a(2),g(t.parameters)}}function Ne(i,e){i&1&&(n(0,"p",3),l(1,"No parameters configured."),o())}var s,Ie=(s=class{ngOnChanges(e){e.algorithm&&e.algorithm.currentValue&&(this.alg=e.algorithm.currentValue,this.loadParametersForAlgorithm(this.alg))}get parentFormGroup(){return this.controlContainer.control}get paramsFormGroup(){return this.parentFormGroup.get(this.controlKey)}get parametersFormArray(){return this.paramsFormGroup.get("parametersArray")}constructor(e,t,r,m){this.fb=e,this.controlContainer=t,this.parametersFacadeService=r,this.scriptFacadeService=m,this.controlKey="",this.RoutesList=O,this.alg=ge,this.isScriptActive=!1,this.parameters=[]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.parentFormGroup.addControl(this.controlKey,new K({parametersArray:new U([])}))}loadParametersForAlgorithm(e){this.parametersFacadeService.dispatch(Me.loadParameters({arg:e})),this.parametersFacadeService.parameters$.pipe(I(t=>t[e]?.data||[]),A(1),M(this)).subscribe(t=>{this.buildFormArray(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(M(this)).subscribe(e=>{this.isScriptActive=ae(e)})}buildFormArray(e){this.parametersFormArray.clear(),e.forEach(t=>{let r=this.fb.control(t.defaultValue,Se(t));this.parametersFormArray.push(r)}),this.isScriptActive?this.paramsFormGroup.disable():this.paramsFormGroup.enable(),this.parameters=e}get parametersFormatted(){let e={},t=this.parametersFormArray.getRawValue();return this.parameters.forEach((r,m)=>{e[r.argName]=t[m]}),e}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},s.\u0275fac=function(t){return new(t||s)(d(H),d(h),d(xe),d(oe))},s.\u0275cmp=b({type:s,selectors:[["ms-panel-parameters"]],inputs:{controlKey:"controlKey",algorithm:"algorithm"},standalone:!0,features:[k([],[{provide:h,useFactory:()=>T(h,{skipSelf:!0})}]),E,V],decls:5,vars:1,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[1,"parameters-wrapper"],[1,"no-parameters-message"],[3,"formGroupName"],["formArrayName","parametersArray"],[1,"form-field-container"],[1,"form-field-container","inline-container","mb-[22px]"],["appearance","outline"],["matInput","","msErrorDisplay","",3,"formControlName","placeholder","type","step"],["fontSet","ms","fontIcon","icon-Info","matSuffix","",3,"matTooltip"],["msErrorDisplay","",3,"formControlName"],[3,"value"],[3,"formControlName"],[1,"ml-2"],["fontSet","ms","fontIcon","icon-Info",3,"matTooltip"]],template:function(t,r){t&1&&(n(0,"mat-card",0)(1,"p",1),l(2,"Parameters"),o(),y(3,De,5,1,"div",2)(4,Ne,2,0,"p",3),o()),t&2&&(a(3),u(r.parameters.length?3:4))},dependencies:[te,ee,J,Y,z,X,G,$,w,B,j,q,ve,Ce,Q,Fe,ye,R,ie,re,_e,he,Z,W,fe],styles:[".parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%]{max-height:400px;overflow:auto;padding-right:20px}.parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%] .parameter-divider[_ngcontent-%COMP%]{margin-bottom:20px}"]}),s);Ie=S([L()],Ie);export{Ie as a}; +import{a as Me}from"./chunk-BTI2I76F.js";import{a as ye,b as Fe}from"./chunk-GACPU6QS.js";import{a as he,b as _e}from"./chunk-6JSLXF7X.js";import{d as ge}from"./chunk-TTKDIG3U.js";import{a as Ce,b as ve}from"./chunk-PGXHYGLR.js";import{b as ae}from"./chunk-LRK34XDC.js";import{a as ne,b as me,c as pe,d as se,e as le,f as ce,g as de,h as ue,i as fe}from"./chunk-2CKK74GJ.js";import{a as re,b as ie}from"./chunk-GWFXRHCV.js";import{b as oe,l as xe}from"./chunk-3IJULEGV.js";import{a as L,b as M}from"./chunk-QJ55TOIV.js";import{a as Y,d as z,h as J,i as Q,j as ee,k as te}from"./chunk-HULQWYRR.js";import{$a as n,$c as O,Ab as V,Da as a,Ea as d,P as A,Pa as y,Qd as R,Ra as c,Xa as u,Xd as G,Ya as F,Za as x,Zd as p,_a as g,_d as h,ab as o,ae as $,bb as _,be as w,ca as T,cb as P,ce as K,db as D,ga as b,je as j,kb as f,ke as q,le as B,me as U,na as E,nb as C,ne as H,p as S,pe as X,tb as l,ub as v,vb as N,ve as W,w as I,we as Z,zb as k}from"./chunk-DL2LTWBU.js";var Se=i=>{let e=[];if(i.validators)for(let[t,r]of Object.entries(i.validators))switch(t){case"required":r&&e.push(p.required);break;case"min":e.push(p.min(r));break;case"max":e.push(p.max(r));break;case"minLength":e.push(p.minLength(r));break;case"maxLength":e.push(p.maxLength(r));break;case"pattern":e.push(p.pattern(r));break;case"requiredTrue":r&&e.push(p.requiredTrue);break;case"email":r&&e.push(p.email);break;case le:e.push(ce(r));break;case de:e.push(ue());break;case ne:e.push(me());break;case pe:Array.isArray(r)&&r.length===2&&e.push(se(r));break}return e};function Ae(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8),_(4,"input",9)(5,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m)("placeholder",r.placeholder)("type",r.inputType)("step",r.inputArrowsStepRate||1),a(),C("matTooltip",r.help)}}function Te(i,e){if(i&1&&(n(0,"mat-option",12),l(1),o()),i&2){let t=e.$implicit;c("value",t.value),a(),N(" ",t.viewValue," ")}}function be(i,e){if(i&1&&(n(0,"div",6)(1,"mat-label"),l(2),o(),n(3,"mat-form-field",8)(4,"mat-select",11),x(5,Te,2,2,"mat-option",12,F),o(),_(7,"mat-icon",10),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(2),v(r.label),a(2),c("formControlName",m),a(),g(r.options),a(2),C("matTooltip",r.help)}}function Ee(i,e){if(i&1&&(n(0,"div",7)(1,"mat-checkbox",13),l(2),o(),n(3,"div",14),_(4,"mat-icon",15),o()()),i&2){let t=f(),r=t.$implicit,m=t.$index;a(),c("formControlName",m),a(),v(r.label),a(2),C("matTooltip",r.help)}}function Pe(i,e){if(i&1&&y(0,Ae,6,6,"div",6)(1,be,8,3,"div",6)(2,Ee,5,3,"div",7),i&2){let t=e.$implicit;u(t.inputType==="text"||t.inputType==="number"?0:-1),a(),u(t.inputType==="select"?1:-1),a(),u(t.inputType==="checkbox"?2:-1)}}function De(i,e){if(i&1&&(n(0,"div",2),P(1,4),n(2,"div",5),x(3,Pe,3,3,null,null,F),o(),D(),o()),i&2){let t=f();a(),c("formGroupName",t.controlKey),a(2),g(t.parameters)}}function Ne(i,e){i&1&&(n(0,"p",3),l(1,"No parameters configured."),o())}var s,Ie=(s=class{ngOnChanges(e){e.algorithm&&e.algorithm.currentValue&&(this.alg=e.algorithm.currentValue,this.loadParametersForAlgorithm(this.alg))}get parentFormGroup(){return this.controlContainer.control}get paramsFormGroup(){return this.parentFormGroup.get(this.controlKey)}get parametersFormArray(){return this.paramsFormGroup.get("parametersArray")}constructor(e,t,r,m){this.fb=e,this.controlContainer=t,this.parametersFacadeService=r,this.scriptFacadeService=m,this.controlKey="",this.RoutesList=O,this.alg=ge,this.isScriptActive=!1,this.parameters=[]}ngOnInit(){this.initForm(),this.listenToScriptStateChanges()}initForm(){this.parentFormGroup.addControl(this.controlKey,new K({parametersArray:new U([])}))}loadParametersForAlgorithm(e){this.parametersFacadeService.dispatch(Me.loadParameters({arg:e})),this.parametersFacadeService.parameters$.pipe(I(t=>t[e]?.data||[]),A(1),M(this)).subscribe(t=>{this.buildFormArray(t)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(M(this)).subscribe(e=>{this.isScriptActive=ae(e)})}buildFormArray(e){this.parametersFormArray.clear(),e.forEach(t=>{let r=this.fb.control(t.defaultValue,Se(t));this.parametersFormArray.push(r)}),this.isScriptActive?this.paramsFormGroup.disable():this.paramsFormGroup.enable(),this.parameters=e}get parametersFormatted(){let e={},t=this.parametersFormArray.getRawValue();return this.parameters.forEach((r,m)=>{e[r.argName]=t[m]}),e}ngOnDestroy(){this.parentFormGroup.removeControl(this.controlKey)}},s.\u0275fac=function(t){return new(t||s)(d(H),d(h),d(xe),d(oe))},s.\u0275cmp=b({type:s,selectors:[["ms-panel-parameters"]],inputs:{controlKey:"controlKey",algorithm:"algorithm"},standalone:!0,features:[k([],[{provide:h,useFactory:()=>T(h,{skipSelf:!0})}]),E,V],decls:5,vars:1,consts:[[1,"ms-card","parameters-card"],[1,"heading-sub-section-title"],[1,"parameters-wrapper"],[1,"no-parameters-message"],[3,"formGroupName"],["formArrayName","parametersArray"],[1,"form-field-container"],[1,"form-field-container","inline-container","mb-[22px]"],["appearance","outline"],["matInput","","msErrorDisplay","",3,"formControlName","placeholder","type","step"],["fontSet","ms","fontIcon","icon-Info","matSuffix","",3,"matTooltip"],["msErrorDisplay","",3,"formControlName"],[3,"value"],[3,"formControlName"],[1,"ml-2"],["fontSet","ms","fontIcon","icon-Info",3,"matTooltip"]],template:function(t,r){t&1&&(n(0,"mat-card",0)(1,"p",1),l(2,"Parameters"),o(),y(3,De,5,1,"div",2)(4,Ne,2,0,"p",3),o()),t&2&&(a(3),u(r.parameters.length?3:4))},dependencies:[te,ee,J,Y,z,X,G,$,w,B,j,q,ve,Ce,Q,Fe,ye,R,ie,re,_e,he,Z,W,fe],styles:[".parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%]{max-height:400px;overflow:auto;padding-right:20px}.parameters-card[_ngcontent-%COMP%] .parameters-wrapper[_ngcontent-%COMP%] .parameter-divider[_ngcontent-%COMP%]{margin-bottom:20px}"]}),s);Ie=S([L()],Ie);export{Ie as a}; diff --git a/frontend/server/modelsmith-build/browser/chunk-J5LLRHIR.js b/frontend/server/modelsmith-build/browser/chunk-RVUR74XF.js similarity index 79% rename from frontend/server/modelsmith-build/browser/chunk-J5LLRHIR.js rename to frontend/server/modelsmith-build/browser/chunk-RVUR74XF.js index 9b58b04..e5c7300 100644 --- a/frontend/server/modelsmith-build/browser/chunk-J5LLRHIR.js +++ b/frontend/server/modelsmith-build/browser/chunk-RVUR74XF.js @@ -1,4 +1,4 @@ -import{a as E,b as P,c as te,d as _}from"./chunk-VVXFBAG6.js";import{a as x,e as I,f as ie}from"./chunk-FNUDZPJE.js";import"./chunk-PGXHYGLR.js";import"./chunk-WNZTCIQC.js";import"./chunk-HOFUFSNV.js";import{b as J,d as z,f as N}from"./chunk-LRK34XDC.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-572IZ672.js";import{a as K,b as ee}from"./chunk-3IJULEGV.js";import{a as V,b as Z}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as i,$c as O,Bb as y,Da as d,Ea as p,Ra as u,Z as F,Zb as W,_ as j,ab as o,ba as H,bb as f,ga as h,ha as q,ib as c,ic as S,jc as Y,kc as g,oc as G,p as Q,qe as v,tb as r,te as $,ve as C,we as X}from"./chunk-DL2LTWBU.js";var s={PRETRAINED_MODEL:"pretrained-model",PRUNING_TIME:"pruning-time",PTQ_TIME:"ptq-time",SIMILAR_ACCURACY:"similar-accuracy",HIGHER_ACCURACY:"higher-accuracy",RECOMMENDED_BASIC_PTQ:"recommended-basic-ptq",RECOMMENDED_BRECQ:"recommended-brecq",RECOMMENDED_GRASP:"recommended-grasp",RECOMMENDED_ITERATIVE:"recommended-iterative",RECOMMENDED_ITERATIVE_ONE_SHOT:"recommended-iterative-one-shot",RECOMMENDED_MINMAX:"recommended-minmax"};var fe=()=>["Yes","No"],oe=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_BASIC_PTQ],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_BRECQ],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-higher-accuracy"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you need relatively higher accuracy?"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Short PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,fe)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Se=()=>["Yes","No"],ne=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pretrained-model"]],decls:6,vars:3,consts:[[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you have a pre-trained model?"),o(),i(2,"ms-card-selector",1),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(3,"div",2)(4,"button",3),c("click",function(){return t.handleSelection()}),r(5,"Next"),o()()),n&2&&(d(2),u("options",y(2,Se)),d(2),u("disabled",!t.selectedOption))},dependencies:[_,v]});let l=e;return l})();var ge=()=>["Yes","No"],re=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.wizardSteps=s,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pruning-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long pruning time?"),o(),i(2,"p",1),r(3,` The model pruning phase may require a similar or even longer duration compared to the model training period. +import{a as E,b as P,c as te,d as _}from"./chunk-VVXFBAG6.js";import{a as x,e as I,f as ie}from"./chunk-TTKDIG3U.js";import"./chunk-PGXHYGLR.js";import"./chunk-6DYG67KU.js";import"./chunk-HOFUFSNV.js";import{b as J,d as z,f as N}from"./chunk-LRK34XDC.js";import"./chunk-2CKK74GJ.js";import"./chunk-VLO6NL53.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import"./chunk-GYTTCMYG.js";import{a as K,b as ee}from"./chunk-3IJULEGV.js";import{a as V,b as Z}from"./chunk-QJ55TOIV.js";import"./chunk-CYUWMGXJ.js";import"./chunk-HULQWYRR.js";import{$a as i,$c as O,Bb as y,Da as d,Ea as p,Ra as u,Z as F,Zb as W,_ as j,ab as o,ba as H,bb as f,ga as h,ha as q,ib as c,ic as S,jc as Y,kc as g,oc as G,p as Q,qe as v,tb as r,te as $,ve as C,we as X}from"./chunk-DL2LTWBU.js";var s={PRETRAINED_MODEL:"pretrained-model",PRUNING_TIME:"pruning-time",PTQ_TIME:"ptq-time",SIMILAR_ACCURACY:"similar-accuracy",HIGHER_ACCURACY:"higher-accuracy",RECOMMENDED_BASIC_PTQ:"recommended-basic-ptq",RECOMMENDED_BRECQ:"recommended-brecq",RECOMMENDED_GRASP:"recommended-grasp",RECOMMENDED_ITERATIVE:"recommended-iterative",RECOMMENDED_ITERATIVE_ONE_SHOT:"recommended-iterative-one-shot",RECOMMENDED_MINMAX:"recommended-minmax"};var fe=()=>["Yes","No"],oe=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_BASIC_PTQ],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_BRECQ],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-higher-accuracy"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you need relatively higher accuracy?"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Short PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,fe)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Se=()=>["Yes","No"],ne=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pretrained-model"]],decls:6,vars:3,consts:[[1,"heading-primary-title"],[3,"selectedOption","options"],[1,"mt-4"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you have a pre-trained model?"),o(),i(2,"ms-card-selector",1),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(3,"div",2)(4,"button",3),c("click",function(){return t.handleSelection()}),r(5,"Next"),o()()),n&2&&(d(2),u("options",y(2,Se)),d(2),u("disabled",!t.selectedOption))},dependencies:[_,v]});let l=e;return l})();var ge=()=>["Yes","No"],re=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.wizardSteps=s,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-pruning-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long pruning time?"),o(),i(2,"p",1),r(3,` The model pruning phase may require a similar or even longer duration compared to the model training period. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(6," Pruning "),o()(),i(7,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",5)(9,"button",6),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",7),r(11," Previous "),o(),i(12,"button",8),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,ge)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var ve=()=>["Yes","No"],ce=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_MINMAX],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-ptq-time"]],decls:14,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you tolerate long PTQ time?"),o(),i(2,"p",1),r(3,` Our system supports processing times ranging from minutes (short) to several hours (long), ensuring consistent efficiency and reliability for tasks of any duration. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(6," Post-training quantization "),o()(),i(7,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",5)(9,"button",6),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",7),r(11," Previous "),o(),i(12,"button",8),c("click",function(){return t.handleSelection()}),r(13,"Next"),o()()),n&2&&(d(7),u("options",y(2,ve)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var D,R=(D=class{constructor(e){this.scriptFacadeService=e,this.isScriptActive=!1,this.listenToScriptStateChanges()}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(Z(this)).subscribe(e=>{this.isScriptActive=J(e)})}ctaCallScript(e){if(!e)return;let L=ie(e);L&&this.scriptFacadeService.dispatch(K.callScript({configs:{alg:L}}))}},D.\u0275fac=function(L){return new(L||D)(H(ee))},D.\u0275prov=F({token:D,factory:D.\u0275fac}),D);R=Q([V()],R);var ae=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.BPTQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPTQPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-basic-ptq"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPTQPage()}),r(6," Short PTQ time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," High Accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var me=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.BRECQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.HIGHER_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPTQPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-brecq"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPTQPage()}),r(6," Short PTQ time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Low Accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var se=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IPG,N.IPR,N.IPM])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPruningTimePage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-grasp"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPruningTimePage()}),r(6," Short pruning time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Init pruning "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var le=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IMP,N.OMP])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.SIMILAR_ACCURACY],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToPruningTimePage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-iterative-one-shot"]],decls:18,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPruningTimePage()}),r(6," Long pruning time "),o(),i(7,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(8," Higher accuracy "),o()(),i(9,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",4)(11,"button",5),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",6),r(13," Previous "),o(),i(14,"button",7),c("click",function(){return t.handleSelection()}),r(15," Run "),o(),i(16,"button",8),c("click",function(){return t.goToChartPage()}),r(17,"View Chart"),o()()),n&2&&(d(9),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var pe=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([N.IMP])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-iterative"]],decls:16,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Pruning "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Long pruning time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13," Run "),o(),i(14,"button",8),c("click",function(){return t.goToChartPage()}),r(15,"View Chart"),o()()),n&2&&(d(7),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var de=(()=>{let e=class e{constructor(a,n,t){this.router=a,this.route=n,this.wizardUtilsService=t,this.selectedOption="",this.algorithms=[],this.algorithms=I([z.MINMAXPTQ])}trackSelection(a){this.selectedOption=a}handleSelection(){this.wizardUtilsService.ctaCallScript(this.selectedOption)}goToPreviousPage(){this.router.navigate([s.PTQ_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}goToChartPage(){this.router.navigate([`${O.RUNNING.ROOT}`])}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S),p(R))},e.\u0275cmp=h({type:e,selectors:[["ms-step-recommend-minmax"]],decls:16,vars:2,consts:[[1,"heading-primary-title"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",1,"mr-3",3,"click","disabled"],["mat-raised-button","","color","primary",3,"click"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Recommended Algorithm:"),o(),i(2,"mat-chip-set",1)(3,"mat-chip",2),c("click",function(){return t.goToPretrainedPage()}),r(4," Post-training quantization "),o(),i(5,"mat-chip",2),c("click",function(){return t.goToPreviousPage()}),r(6," Long PTQ time "),o()(),i(7,"ms-card-selector",3),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(8,"div",4)(9,"button",5),c("click",function(){return t.goToPreviousPage()}),f(10,"mat-icon",6),r(11," Previous "),o(),i(12,"button",7),c("click",function(){return t.handleSelection()}),r(13," Run "),o(),i(14,"button",8),c("click",function(){return t.goToChartPage()}),r(15,"View Chart"),o()()),n&2&&(d(7),u("options",t.algorithms),d(5),u("disabled",!t.selectedOption||t.wizardUtilsService.isScriptActive))},dependencies:[_,C,E,P,v]});let l=e;return l})();var Te=()=>["Yes","No"],ue=(()=>{let e=class e{constructor(a,n){this.router=a,this.route=n,this.selectedOption=""}trackSelection(a){this.selectedOption=a}handleSelection(){this.selectedOption==="Yes"?this.router.navigate([s.RECOMMENDED_ITERATIVE_ONE_SHOT],{relativeTo:this.route.parent}):this.selectedOption==="No"&&this.router.navigate([s.RECOMMENDED_GRASP],{relativeTo:this.route.parent})}goToPreviousPage(){this.router.navigate([s.PRUNING_TIME],{relativeTo:this.route.parent})}goToPretrainedPage(){this.router.navigate([s.PRETRAINED_MODEL],{relativeTo:this.route.parent})}};e.\u0275fac=function(n){return new(n||e)(p(g),p(S))},e.\u0275cmp=h({type:e,selectors:[["ms-step-similar-accuracy"]],decls:16,vars:3,consts:[[1,"heading-primary-title"],[1,"paragraph-regular-p3-default","text-hint"],[1,"mt-2","mb-2"],["color","accent",1,"ms-chip",3,"click"],[3,"selectedOption","options"],[1,"mt-4"],["mat-button","",1,"mr-3",3,"click"],["fontSet","ms","fontIcon","icon-ArrowLeft"],["mat-raised-button","","color","primary",3,"click","disabled"]],template:function(n,t){n&1&&(i(0,"p",0),r(1,"Do you want to have a similar or higher accuracy?\xA0"),o(),i(2,"p",1),r(3,` Expectations for compressed model performance: Anticipate achieving comparable or enhanced accuracy relative to the original model. `),o(),i(4,"mat-chip-set",2)(5,"mat-chip",3),c("click",function(){return t.goToPretrainedPage()}),r(6," Pruning "),o(),i(7,"mat-chip",3),c("click",function(){return t.goToPreviousPage()}),r(8," Short pruning time "),o()(),i(9,"ms-card-selector",4),c("selectedOption",function(T){return t.trackSelection(T)}),o(),i(10,"div",5)(11,"button",6),c("click",function(){return t.goToPreviousPage()}),f(12,"mat-icon",7),r(13," Previous "),o(),i(14,"button",8),c("click",function(){return t.handleSelection()}),r(15,"Next"),o()()),n&2&&(d(9),u("options",y(2,Te)),d(5),u("disabled",!t.selectedOption))},dependencies:[_,C,E,P,v]});let l=e;return l})();var he=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=h({type:e,selectors:[["ms-wizard"]],decls:5,vars:0,consts:[[1,"wizard-layout"],[1,"left"],[1,"right"]],template:function(n,t){n&1&&(i(0,"div",0)(1,"div",1),f(2,"router-outlet"),o(),i(3,"div",2),f(4,"ms-terminal-xterm-with-toolbar"),o()())},dependencies:[Y,x],styles:[".wizard-layout[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:20px;height:100%}.wizard-layout[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{width:45%;gap:20px}.wizard-layout[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{width:55%}"]});let l=e;return l})();var Ce=[{path:"",component:he,children:[{path:"",redirectTo:s.PRETRAINED_MODEL,pathMatch:"full"},{path:s.PRETRAINED_MODEL,component:ne},{path:s.PRUNING_TIME,component:re},{path:s.PTQ_TIME,component:ce},{path:s.SIMILAR_ACCURACY,component:ue},{path:s.HIGHER_ACCURACY,component:oe},{path:s.RECOMMENDED_BASIC_PTQ,component:ae},{path:s.RECOMMENDED_BRECQ,component:me},{path:s.RECOMMENDED_GRASP,component:se},{path:s.RECOMMENDED_ITERATIVE,component:pe},{path:s.RECOMMENDED_MINMAX,component:de},{path:s.RECOMMENDED_ITERATIVE_ONE_SHOT,component:le}]}],_e=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=q({type:e}),e.\u0275inj=j({imports:[G.forChild(Ce),G]});let l=e;return l})();var li=(()=>{let e=class e{};e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=q({type:e}),e.\u0275inj=j({providers:[R],imports:[W,_e,x,_,X,te,$]});let l=e;return l})();export{li as WizardModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WX5VBQ6J.js b/frontend/server/modelsmith-build/browser/chunk-TNFH2H5N.js similarity index 98% rename from frontend/server/modelsmith-build/browser/chunk-WX5VBQ6J.js rename to frontend/server/modelsmith-build/browser/chunk-TNFH2H5N.js index 64a4e93..354d6fd 100644 --- a/frontend/server/modelsmith-build/browser/chunk-WX5VBQ6J.js +++ b/frontend/server/modelsmith-build/browser/chunk-TNFH2H5N.js @@ -1 +1 @@ -import{a as Q}from"./chunk-J45Y4KU7.js";import{a as u}from"./chunk-P6DGDYT5.js";import{i as Y}from"./chunk-2CKK74GJ.js";import"./chunk-NAEQPCWM.js";import{a as x}from"./chunk-QJ55TOIV.js";import{a as V,h as k,i as W,j as q,k as X}from"./chunk-HULQWYRR.js";import{$a as o,$c as y,Da as c,Ea as m,Ee as K,Ia as _,Ma as b,Ra as g,Xd as L,Zb as N,Zd as C,_ as d,ab as r,ae as A,bb as p,be as F,ga as w,ge as z,ha as h,ia as S,ib as E,ie as R,le as D,ne as T,oc as O,oe as j,p as I,pe as H,qe as G,tb as s,te as U,ve as B,wa as P,xe as J}from"./chunk-DL2LTWBU.js";var Z=(()=>{let t=class t{constructor(e,i,f){this.el=e,this.renderer=i,this.viewContainer=f,this.isHidden=!0}ngOnInit(){let e=this.el.nativeElement,i=this.createIcon();this.setupIconInContainer(e,i),i.location.nativeElement.addEventListener("click",()=>{this.toggleVisibility(e,i.instance)})}createIcon(){let e=this.viewContainer.createComponent(B);return e.instance.fontIcon=this.isHidden?"visibility_off":"visibility",e}setupIconInContainer(e,i){let f=this.renderer.createElement("div");this.renderer.addClass(f,t.CLASS_ICON_SUFFIX),this.renderer.setStyle(i.location.nativeElement,"padding","0"),this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),this.renderer.appendChild(f,i.location.nativeElement),this.renderer.appendChild(e?.parentElement?.parentElement,f)}toggleVisibility(e,i){this.isHidden=!this.isHidden,this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),i.fontIcon=this.isHidden?"visibility_off":"visibility"}};t.CLASS_ICON_SUFFIX="mat-mdc-form-field-icon-suffix",t.\u0275fac=function(i){return new(i||t)(m(P),m(_),m(b))},t.\u0275dir=S({type:t,selectors:[["","msPasswordToggle",""]],standalone:!0});let n=t;return n})();var a,M=(a=class{constructor(t,l){this.fb=t,this.authFacadeService=l,this.CONTROL_NAMES={EMAIL:"email",PASSWORD:"password"}}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({[this.CONTROL_NAMES.EMAIL]:["alexander@cisco.com",[C.email,C.required]],[this.CONTROL_NAMES.PASSWORD]:["GUfCRHz7VD9R",[C.required]]})}get emailControl(){return this.form.get(this.CONTROL_NAMES.EMAIL)}get passwordControl(){return this.form.get(this.CONTROL_NAMES.PASSWORD)}login(){let t=this.form.getRawValue();this.authFacadeService.dispatch(J.login(t))}},a.\u0275fac=function(l){return new(l||a)(m(T),m(K))},a.\u0275cmp=w({type:a,selectors:[["ms-login"]],decls:24,vars:4,consts:[[1,"login-container"],[1,"logo-section"],["src","/assets/logo/login-logo.svg","alt","ModelSmith Logo"],[1,"login-title"],[1,"login-subtitle"],[1,"login-section"],[3,"submit","formGroup"],[1,"form-field-container","ms-white-form-field"],["matInput","","msErrorDisplay","","autocomplete","current-password",3,"formControlName"],["msPasswordToggle","","msErrorDisplay","","matInput","","autocomplete","current-password",3,"formControlName"],[1,"mt-[2px]"],["type","submit","mat-raised-button","","color","primary",1,"w-full",3,"disabled"],["styleMode","fullWidth"]],template:function(l,e){l&1&&(o(0,"ms-background-gradient")(1,"div",0)(2,"div",1),p(3,"img",2),o(4,"div",3),s(5,"ModelSmith"),r(),o(6,"div",4),s(7,"A super cool compression tool"),r()(),o(8,"div",5)(9,"form",6),E("submit",function(){return e.login()}),o(10,"div",7)(11,"mat-label"),s(12," Email "),r(),o(13,"mat-form-field"),p(14,"input",8),r()(),o(15,"div",7)(16,"mat-label"),s(17," Password "),r(),o(18,"mat-form-field"),p(19,"input",9),r()(),o(20,"div",10)(21,"button",11),s(22," Login "),r()()()()(),p(23,"ms-footer",12),r()),l&2&&(c(9),g("formGroup",e.form),c(5),g("formControlName",e.CONTROL_NAMES.EMAIL),c(5),g("formControlName",e.CONTROL_NAMES.PASSWORD),c(2),g("disabled",e.form.invalid))},dependencies:[z,L,A,F,R,D,k,V,q,Z,Q,u,G,Y],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.login-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:95%;background:linear-gradient(to left,transparent,var(--backgrounds-50),transparent);padding:60px 30px;text-align:center}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;margin-bottom:10px}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-size:2.5rem;line-height:3.359rem;font-weight:400;color:var(--login-title)}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-subtitle[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem;color:var(--foregrounds-550)}.login-container[_ngcontent-%COMP%] .login-section[_ngcontent-%COMP%]{margin-top:20px;width:100%;max-width:400px}"]}),a);M=I([x()],M);var et=[{path:"",pathMatch:"full",redirectTo:y.AUTH.LOGIN},{path:y.AUTH.LOGIN,component:M}],$=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[O.forChild(et),O]});let n=t;return n})();var Rt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[N,j,H,W,X,$,u,U]});let n=t;return n})();export{Rt as AuthModule}; +import{a as Q}from"./chunk-J45Y4KU7.js";import{a as u}from"./chunk-P6DGDYT5.js";import"./chunk-NAEQPCWM.js";import{i as Y}from"./chunk-2CKK74GJ.js";import{a as x}from"./chunk-QJ55TOIV.js";import{a as V,h as k,i as W,j as q,k as X}from"./chunk-HULQWYRR.js";import{$a as o,$c as y,Da as c,Ea as m,Ee as K,Ia as _,Ma as b,Ra as g,Xd as L,Zb as N,Zd as C,_ as d,ab as r,ae as A,bb as p,be as F,ga as w,ge as z,ha as h,ia as S,ib as E,ie as R,le as D,ne as T,oc as O,oe as j,p as I,pe as H,qe as G,tb as s,te as U,ve as B,wa as P,xe as J}from"./chunk-DL2LTWBU.js";var Z=(()=>{let t=class t{constructor(e,i,f){this.el=e,this.renderer=i,this.viewContainer=f,this.isHidden=!0}ngOnInit(){let e=this.el.nativeElement,i=this.createIcon();this.setupIconInContainer(e,i),i.location.nativeElement.addEventListener("click",()=>{this.toggleVisibility(e,i.instance)})}createIcon(){let e=this.viewContainer.createComponent(B);return e.instance.fontIcon=this.isHidden?"visibility_off":"visibility",e}setupIconInContainer(e,i){let f=this.renderer.createElement("div");this.renderer.addClass(f,t.CLASS_ICON_SUFFIX),this.renderer.setStyle(i.location.nativeElement,"padding","0"),this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),this.renderer.appendChild(f,i.location.nativeElement),this.renderer.appendChild(e?.parentElement?.parentElement,f)}toggleVisibility(e,i){this.isHidden=!this.isHidden,this.renderer.setAttribute(e,"type",this.isHidden?"password":"text"),i.fontIcon=this.isHidden?"visibility_off":"visibility"}};t.CLASS_ICON_SUFFIX="mat-mdc-form-field-icon-suffix",t.\u0275fac=function(i){return new(i||t)(m(P),m(_),m(b))},t.\u0275dir=S({type:t,selectors:[["","msPasswordToggle",""]],standalone:!0});let n=t;return n})();var a,M=(a=class{constructor(t,l){this.fb=t,this.authFacadeService=l,this.CONTROL_NAMES={EMAIL:"email",PASSWORD:"password"}}ngOnInit(){this.initForm()}initForm(){this.form=this.fb.group({[this.CONTROL_NAMES.EMAIL]:["alexander@cisco.com",[C.email,C.required]],[this.CONTROL_NAMES.PASSWORD]:["GUfCRHz7VD9R",[C.required]]})}get emailControl(){return this.form.get(this.CONTROL_NAMES.EMAIL)}get passwordControl(){return this.form.get(this.CONTROL_NAMES.PASSWORD)}login(){let t=this.form.getRawValue();this.authFacadeService.dispatch(J.login(t))}},a.\u0275fac=function(l){return new(l||a)(m(T),m(K))},a.\u0275cmp=w({type:a,selectors:[["ms-login"]],decls:24,vars:4,consts:[[1,"login-container"],[1,"logo-section"],["src","/assets/logo/login-logo.svg","alt","ModelSmith Logo"],[1,"login-title"],[1,"login-subtitle"],[1,"login-section"],[3,"submit","formGroup"],[1,"form-field-container","ms-white-form-field"],["matInput","","msErrorDisplay","","autocomplete","current-password",3,"formControlName"],["msPasswordToggle","","msErrorDisplay","","matInput","","autocomplete","current-password",3,"formControlName"],[1,"mt-[2px]"],["type","submit","mat-raised-button","","color","primary",1,"w-full",3,"disabled"],["styleMode","fullWidth"]],template:function(l,e){l&1&&(o(0,"ms-background-gradient")(1,"div",0)(2,"div",1),p(3,"img",2),o(4,"div",3),s(5,"ModelSmith"),r(),o(6,"div",4),s(7,"A super cool compression tool"),r()(),o(8,"div",5)(9,"form",6),E("submit",function(){return e.login()}),o(10,"div",7)(11,"mat-label"),s(12," Email "),r(),o(13,"mat-form-field"),p(14,"input",8),r()(),o(15,"div",7)(16,"mat-label"),s(17," Password "),r(),o(18,"mat-form-field"),p(19,"input",9),r()(),o(20,"div",10)(21,"button",11),s(22," Login "),r()()()()(),p(23,"ms-footer",12),r()),l&2&&(c(9),g("formGroup",e.form),c(5),g("formControlName",e.CONTROL_NAMES.EMAIL),c(5),g("formControlName",e.CONTROL_NAMES.PASSWORD),c(2),g("disabled",e.form.invalid))},dependencies:[z,L,A,F,R,D,k,V,q,Z,Q,u,G,Y],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.login-container[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;align-items:center;width:95%;background:linear-gradient(to left,transparent,var(--backgrounds-50),transparent);padding:60px 30px;text-align:center}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] img[_ngcontent-%COMP%]{max-width:100%;margin-bottom:10px}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-title[_ngcontent-%COMP%]{font-size:2.5rem;line-height:3.359rem;font-weight:400;color:var(--login-title)}.login-container[_ngcontent-%COMP%] .logo-section[_ngcontent-%COMP%] .login-subtitle[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem;color:var(--foregrounds-550)}.login-container[_ngcontent-%COMP%] .login-section[_ngcontent-%COMP%]{margin-top:20px;width:100%;max-width:400px}"]}),a);M=I([x()],M);var et=[{path:"",pathMatch:"full",redirectTo:y.AUTH.LOGIN},{path:y.AUTH.LOGIN,component:M}],$=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[O.forChild(et),O]});let n=t;return n})();var Rt=(()=>{let t=class t{};t.\u0275fac=function(i){return new(i||t)},t.\u0275mod=h({type:t}),t.\u0275inj=d({imports:[N,j,H,W,X,$,u,U]});let n=t;return n})();export{Rt as AuthModule}; diff --git a/frontend/server/modelsmith-build/browser/chunk-FNUDZPJE.js b/frontend/server/modelsmith-build/browser/chunk-TTKDIG3U.js similarity index 97% rename from frontend/server/modelsmith-build/browser/chunk-FNUDZPJE.js rename to frontend/server/modelsmith-build/browser/chunk-TTKDIG3U.js index e09a0ff..30ac900 100644 --- a/frontend/server/modelsmith-build/browser/chunk-FNUDZPJE.js +++ b/frontend/server/modelsmith-build/browser/chunk-TTKDIG3U.js @@ -1,2 +1,2 @@ -import{a as I,b}from"./chunk-WNZTCIQC.js";import{d as T,f as e}from"./chunk-LRK34XDC.js";import{a as w}from"./chunk-QJ55TOIV.js";import{$a as _,Ab as y,ab as u,bb as h,fb as M,ga as f,ib as g,oa as o,p as d,pa as l,sb as a,tb as v}from"./chunk-DL2LTWBU.js";var t,P=(t=class{},t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=f({type:t,selectors:[["ms-terminal-xterm-with-toolbar"]],standalone:!0,features:[y],decls:8,vars:0,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch"]],template:function(i,c){if(i&1){let m=M();_(0,"div",1)(1,"div",2)(2,"div",3),v(3,"Terminal"),u(),_(4,"div")(5,"ms-terminal-toolbar",4),g("clearTerminal",function(){o(m);let r=a(7);return l(r.clearTerminal())})("scrollToTopTerminal",function(){o(m);let r=a(7);return l(r.scrollToTop())})("scrollToBottomTerminal",function(){o(m);let r=a(7);return l(r.scrollToBottom())})("searchTerminal",function(r){o(m);let k=a(7);return l(k.search(r))})("disposeSearch",function(){o(m);let r=a(7);return l(r.clearSearch())}),u()()(),h(6,"ms-terminal-xterm",null,0),u()}},dependencies:[b,I],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between} +import{a as I,b}from"./chunk-6DYG67KU.js";import{d as T,f as e}from"./chunk-LRK34XDC.js";import{a as w}from"./chunk-QJ55TOIV.js";import{$a as _,Ab as y,ab as u,bb as h,fb as M,ga as f,ib as g,oa as o,p as d,pa as l,sb as a,tb as v}from"./chunk-DL2LTWBU.js";var t,P=(t=class{},t.\u0275fac=function(i){return new(i||t)},t.\u0275cmp=f({type:t,selectors:[["ms-terminal-xterm-with-toolbar"]],standalone:!0,features:[y],decls:8,vars:0,consts:[["terminal",""],[1,"ms-terminal-wrapper"],[1,"top-terminal-section"],[1,"heading-section-title","mb-1","flex","items-center"],[3,"clearTerminal","scrollToTopTerminal","scrollToBottomTerminal","searchTerminal","disposeSearch"]],template:function(i,c){if(i&1){let m=M();_(0,"div",1)(1,"div",2)(2,"div",3),v(3,"Terminal"),u(),_(4,"div")(5,"ms-terminal-toolbar",4),g("clearTerminal",function(){o(m);let r=a(7);return l(r.clearTerminal())})("scrollToTopTerminal",function(){o(m);let r=a(7);return l(r.scrollToTop())})("scrollToBottomTerminal",function(){o(m);let r=a(7);return l(r.scrollToBottom())})("searchTerminal",function(r){o(m);let k=a(7);return l(k.search(r))})("disposeSearch",function(){o(m);let r=a(7);return l(r.clearSearch())}),u()()(),h(6,"ms-terminal-xterm",null,0),u()}},dependencies:[b,I],styles:[`.ms-terminal-wrapper{overflow-x:auto}.ms-terminal-wrapper .terminal-wrapper{border:10px solid var(--terminal-color);background-color:var(--terminal-color);border-radius:10px}.ms-terminal-wrapper .top-terminal-section{display:flex;justify-content:space-between} `],encapsulation:2}),t);P=d([w()],P);var S=[{key:e.IPG,value:"GraSP pruning"},{key:e.IPM,value:"Magnitude-based init pruning"},{key:e.IPR,value:"Random init pruning"},{key:e.IMP,value:"Iterative Magnitude Pruning"},{key:e.OMP,value:"One-shot Magnitude Pruning"},{key:e.IPS,value:"Init Pruning Snip"},{key:e.IPSY,value:"Init Pruning Synflow"},{key:e.IPMB,value:"Init Pruning Magnitude Both"}],x=[{key:T.BPTQ,value:"Basic PTQ"},{key:T.BRECQ,value:"Brec-q"},{key:T.MINMAXPTQ,value:"Minmax-ptq"}],A=[...S,...x],R=e.IMP,G=s=>A.filter(n=>s.includes(n.key)).map(n=>n.value),W=s=>{let n=S.find(c=>c.value===s);if(n)return n.key;let i=x.find(c=>c.value===s);return i?i.key:null};export{P as a,S as b,x as c,R as d,G as e,W as f}; diff --git a/frontend/server/modelsmith-build/browser/chunk-WNZTCIQC.js b/frontend/server/modelsmith-build/browser/chunk-WNZTCIQC.js deleted file mode 100644 index 7a1543d..0000000 --- a/frontend/server/modelsmith-build/browser/chunk-WNZTCIQC.js +++ /dev/null @@ -1 +0,0 @@ -import{a as Oe,b as A}from"./chunk-HOFUFSNV.js";import{b as Pe}from"./chunk-LRK34XDC.js";import{a as Xe,b as Ye,c as We}from"./chunk-VLO6NL53.js";import{a as _e,b as Fe}from"./chunk-GWFXRHCV.js";import{c as De}from"./chunk-XX6ZYDLH.js";import{d as xe}from"./chunk-572IZ672.js";import{a as ke,b as I}from"./chunk-3IJULEGV.js";import{a as D,b as M}from"./chunk-QJ55TOIV.js";import{b as ye,s as Me}from"./chunk-CYUWMGXJ.js";import{a as Te,d as ge,h as be,i as Se,j as Ce,k as we}from"./chunk-HULQWYRR.js";import{$a as s,Ab as S,Ca as ee,D as q,Da as u,Ea as h,Hb as le,I as U,J as $,Ma as te,Pa as C,Ra as g,Rb as ae,Vb as ce,Xa as j,Xd as pe,Z as G,Zb as P,a as Q,ab as l,ae as de,ba as K,bb as m,e as H,eb as ie,ee as ue,f as z,fb as F,ga as b,he,ia as J,ib as a,kb as w,oa as p,oe as fe,p as _,pa as d,pb as oe,pe as ve,qb as ne,rb as re,rc as me,sb as X,sc as Y,se as x,tb as y,te as O,ub as se,vc as W,ve as B,wa as Z,wc as L,we as E,xa as c,yc as N,zb as k}from"./chunk-DL2LTWBU.js";var Ee=H(Xe()),Ie=H(Ye()),Ae=H(We());var Ne=["terminal"],v,Be=(v=class{constructor(e){this.terminalWebSocketService=e,this.fitAddon=new Ee.FitAddon,this.searchAddon=new Ie.SearchAddon}ngOnInit(){this.initializeTerminal(),this.subscribeToWebSocketMessages()}ngAfterViewInit(){requestAnimationFrame(()=>{this.adjustTerminalContainer()})}initializeTerminal(){this.terminal=new Ae.Terminal(Q({cursorBlink:!0,theme:{background:"#D0D4D9",foreground:"#000000",cursor:"#000000",selectionBackground:"#FFDD00",selectionForeground:"#000000"},allowProposedApi:!0},this.options)),this.terminal.loadAddon(this.fitAddon),this.terminal.loadAddon(this.searchAddon),this.terminal.open(this.terminalDiv.nativeElement),this.setupResizeObserver(),this.terminal.onData(e=>{this.terminalWebSocketService.sendMessage(e)})}subscribeToWebSocketMessages(){this.terminalWebSocketService.messages$.pipe(M(this)).subscribe(e=>{this.terminal.write(e)})}setupResizeObserver(){this.resizeObserver&&this.resizeObserver.disconnect(),this.resizeObserver=new ResizeObserver(()=>{this.adjustTerminalContainer()}),this.resizeObserver.observe(this.terminalDiv.nativeElement)}adjustTerminalContainer(){this.adjustHeightToParent(),this.fitAddon.fit()}adjustHeightToParent(){let e=this.terminalDiv.nativeElement.parentElement.parentElement.parentElement.parentElement;if(e){this.terminalDiv.nativeElement.style.height="auto";let i=e.offsetHeight-100;this.terminalDiv.nativeElement.style.height=`${i}px`}}ngOnDestroy(){this.resizeObserver?.disconnect(),this.terminal.dispose()}search(e){this.searchAddon.findNext(e,{decorations:{matchBackground:"#FFFF00",matchBorder:"#FFFF00",matchOverviewRuler:"#FFFF00",activeMatchBackground:"#FFFF00",activeMatchBorder:"#FFFF00",activeMatchColorOverviewRuler:"#FFFF00"}})}clearSearch(){this.searchAddon.clearDecorations()}clearTerminal(){this.terminal.clear()}scrollToTop(){this.terminal.scrollToTop()}scrollToBottom(){this.terminal.scrollToBottom()}},v.\u0275fac=function(n){return new(n||v)(h(A))},v.\u0275cmp=b({type:v,selectors:[["ms-terminal-xterm"]],viewQuery:function(n,t){if(n&1&&oe(Ne,7),n&2){let i;ne(i=re())&&(t.terminalDiv=i.first)}},inputs:{options:"options"},standalone:!0,features:[k([I,Oe]),S],decls:2,vars:0,consts:[["terminal",""],[1,"terminal-wrapper"]],template:function(n,t){n&1&&m(0,"div",1,0)}}),v);Be=_([D({})],Be);var Re=me("tooltipState",[L("hidden",W({opacity:0,transform:"scale(0.9)"})),L("visible",W({opacity:1,transform:"scale(1)"})),N("hidden => visible",Y("150ms ease-in")),N("visible => hidden",Y("150ms ease-out"))]);function Ue(o,e){o&1&&ie(0)}function $e(o,e){if(o&1&&(s(0,"div",3),C(1,Ue,1,0,"ng-container",5),l()),o&2){let n=w();u(),g("ngTemplateOutlet",n.contentTemplate)}}function Ge(o,e){if(o&1){let n=F();s(0,"div",4)(1,"button",6),a("click",function(){p(n);let i=w();return d(i.triggerClose())}),m(2,"mat-icon",7),l()()}}var Ve=(()=>{let e=class e{constructor(){this.position="bottom",this.showCloseButton=!1,this.state="hidden",this.close=new c}triggerClose(){this.state="hidden",setTimeout(()=>this.close.emit(),150)}};e.\u0275fac=function(i){return new(i||e)},e.\u0275cmp=b({type:e,selectors:[["ms-tooltip-panel"]],inputs:{contentTemplate:"contentTemplate",position:"position",showCloseButton:"showCloseButton",state:"state"},outputs:{close:"close"},standalone:!0,features:[S],decls:5,vars:4,consts:[[1,"tooltip-container",3,"ngClass"],[1,"tooltip-arrow"],[1,"tooltip-wrapper"],[1,"tooltip-content"],[1,"close-button"],[4,"ngTemplateOutlet"],["mat-icon-button","",3,"click"],["fontSet","ms","fontIcon","icon-X",1,"mat-error","size-20"]],template:function(i,r){i&1&&(s(0,"div",0),m(1,"div",1),s(2,"div",2),C(3,$e,2,1,"div",3)(4,Ge,3,0,"div",4),l()()),i&2&&(g("ngClass",r.position)("@tooltipState",r.state),u(3),j(r.contentTemplate?3:-1),u(),j(r.showCloseButton?4:-1))},dependencies:[P,ae,ce,E,B,O,x],styles:[".tooltip-container[_ngcontent-%COMP%]{position:relative;background-color:var(--tooltip);color:var(--terminal-color);border-radius:6px;box-shadow:0 4px 8px #0000001a}.tooltip-wrapper[_ngcontent-%COMP%]{display:flex;padding:2px 6px}.tooltip-arrow[_ngcontent-%COMP%]{position:absolute;width:0;height:0;border-style:solid}.tooltip-content[_ngcontent-%COMP%]{padding:12px}.tooltip-container.top[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{bottom:-10px;left:50%;transform:translate(-50%);border-width:10px 10px 0 10px;border-color:var(--tooltip) transparent transparent transparent}.tooltip-container.bottom[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{top:-10px;left:50%;transform:translate(-50%);border-width:0 10px 10px 10px;border-color:transparent transparent var(--tooltip) transparent}.tooltip-container.left[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{right:-10px;top:50%;transform:translateY(-50%);border-width:10px 0 10px 10px;border-color:transparent transparent transparent var(--tooltip)}.tooltip-container.right[_ngcontent-%COMP%] .tooltip-arrow[_ngcontent-%COMP%]{left:-10px;top:50%;transform:translateY(-50%);border-width:10px 10px 10px 0;border-color:transparent var(--tooltip) transparent transparent}.close-button[_ngcontent-%COMP%]{right:0;top:-2;position:absolute}"],data:{animation:[Re]}});let o=e;return o})();var He=(()=>{let e=class e{constructor(t,i,r){this.overlay=t,this.viewContainerRef=i,this.elementRef=r,this.position="bottom",this.showCloseButton=!1,this.closeOnBackdropClick=!0,this.allowCloseOnEscPress=!0,this.freezePageScroll=!0,this.closed=new c,this.overlayRef=null}onClick(){this.overlayRef?this.closePanel():this.openPanel()}handleEscKey(t){this.allowCloseOnEscPress&&this.closePanel()}openPanel(){let t=this.getPositionStrategy();this.overlayRef=this.overlay.create({positionStrategy:t});let i=new ye(Ve,this.viewContainerRef),f=this.overlayRef.attach(i).instance;f.contentTemplate=this.contentTemplate,f.position=this.position,f.showCloseButton=this.showCloseButton,this.freezePageScroll&&document.body.classList.add("no-scroll"),setTimeout(()=>{f.state="visible"},0),f.close.subscribe(()=>{this.closePanel()}),this.closeOnBackdropClick&&(this.backdropClickSubscription=this.overlayRef.backdropClick().subscribe(()=>{this.closePanel()}))}closePanel(){if(this.overlayRef){let t=this.overlayRef.overlayElement.querySelector("ms-tooltip-panel");t&&(t.state="hidden",setTimeout(()=>{this.overlayRef?.detach(),this.overlayRef=null,this.closed.emit()},150)),this.freezePageScroll&&document.body.classList.remove("no-scroll"),this.backdropClickSubscription&&this.backdropClickSubscription.unsubscribe()}}getPositionStrategy(){let t={top:{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom"},bottom:{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top"},left:{originX:"start",originY:"center",overlayX:"end",overlayY:"center"},right:{originX:"end",originY:"center",overlayX:"start",overlayY:"center"}};return this.overlay.position().flexibleConnectedTo(this.elementRef).withPositions([t[this.position]])}ngOnDestroy(){this.overlayRef&&this.overlayRef.dispose(),this.backdropClickSubscription&&this.backdropClickSubscription.unsubscribe()}};e.\u0275fac=function(i){return new(i||e)(h(Me),h(te),h(Z))},e.\u0275dir=J({type:e,selectors:[["","msTooltipPanel",""]],hostBindings:function(i,r){i&1&&a("click",function(){return r.onClick()})("keydown.escape",function(je){return r.handleEscKey(je)},!1,ee)},inputs:{contentTemplate:[0,"msTooltipPanel","contentTemplate"],position:"position",showCloseButton:"showCloseButton",closeOnBackdropClick:"closeOnBackdropClick",allowCloseOnEscPress:"allowCloseOnEscPress",freezePageScroll:"freezePageScroll"},outputs:{closed:"closed"},exportAs:["msTooltipPanel"],standalone:!0});let o=e;return o})();var V=(()=>{let e=class e{constructor(t){this.dialogService=t}openFullScreenDialog(t){return z(this,null,function*(){if(t)return;let{MsTerminalFullscreenDialogComponent:i}=yield import("./chunk-4TBXUE4Q.js");document.body.classList.add("no-scroll"),this.dialogService.open(i,{showHeader:!1,showFooter:!1,showSaveButton:!1,width:"100vw",height:"100vh"}).afterClosed().pipe(U(1)).subscribe(()=>{document.body.classList.remove("no-scroll")})})}openMessagesHistoryDialog(){return z(this,null,function*(){let{MsTerminalMessagesHistoryDialogComponent:t}=yield import("./chunk-MEWVE3KA.js");this.dialogService.open(t,{title:"Terminal history",showSaveButton:!1,width:"60vw",height:"75vh"})})}};e.\u0275fac=function(i){return new(i||e)(K(xe))},e.\u0275prov=G({token:e,factory:e.\u0275fac});let o=e;return o})();function Je(o,e){if(o&1&&(s(0,"div",14)(1,"mat-label"),y(2," Search... "),l(),s(3,"mat-form-field",15),m(4,"input",16)(5,"mat-icon",17),l()()),o&2){let n=w();u(4),g("formControl",n.searchFormControl)}}var T,ze=(T=class{constructor(e,n,t){this.scriptFacadeService=e,this.terminalWebSocketService=n,this.terminalDialogService=t,this.isFullscreen=!1,this.isScriptActive=!1,this.clearTerminal=new c,this.scrollToTopTerminal=new c,this.scrollToBottomTerminal=new c,this.searchTerminal=new c,this.disposeSearch=new c,this.exitFullscreen=new c,this.searchFormControl=new ue("")}ngOnInit(){this.listenToScriptStateChanges(),this.listenToSearchFormControlChanges()}clearTerminalScreen(){this.terminalWebSocketService.clearScreen()}listenToSearchFormControlChanges(){this.searchFormControl.valueChanges.pipe(M(this),$(300),q(e=>!De(e))).subscribe(e=>{this.searchTerminal.emit(e)})}listenToScriptStateChanges(){this.scriptFacadeService.scriptStatus$.pipe(M(this)).subscribe(e=>{this.isScriptActive=Pe(e)})}ctaStopScript(){this.scriptFacadeService.dispatch(ke.stopScript())}openTerminalMessagesHistoryDialog(){this.terminalDialogService.openMessagesHistoryDialog()}openFullScreenMode(){if(this.isFullscreen){this.exitFullscreen.emit();return}this.terminalDialogService.openFullScreenDialog(this.isFullscreen)}},T.\u0275fac=function(n){return new(n||T)(h(I),h(A),h(V))},T.\u0275cmp=b({type:T,selectors:[["ms-terminal-toolbar"]],inputs:{isFullscreen:"isFullscreen",isScriptActive:"isScriptActive"},outputs:{clearTerminal:"clearTerminal",scrollToTopTerminal:"scrollToTopTerminal",scrollToBottomTerminal:"scrollToBottomTerminal",searchTerminal:"searchTerminal",disposeSearch:"disposeSearch",exitFullscreen:"exitFullscreen"},standalone:!0,features:[k([V]),S],decls:21,vars:6,consts:[["tooltipPanel","msTooltipPanel"],["searchTooltipContent",""],[1,"buttons-wrapper"],["mat-icon-button","","color","primary","matTooltip","Search terminal","position","top",3,"closed","msTooltipPanel","closeOnBackdropClick","showCloseButton"],["fontSet","ms","fontIcon","icon-MagnifyingGlass"],["mat-icon-button","","color","primary","matTooltip","Terminal history",3,"click"],["mat-icon-button","","color","primary","matTooltip","Scroll to top",3,"click"],["fontSet","ms","fontIcon","icon-ArrowUp"],["mat-icon-button","","color","primary","matTooltip","Scroll to bottom",3,"click"],["fontSet","ms","fontIcon","icon-ArrowDown"],["mat-icon-button","","color","primary","matTooltip","Clear terminal",3,"click","disabled"],["mat-icon-button","","color","primary","matTooltip","Toggle fullscreen",3,"click"],["mat-icon-button","","color","warn","matTooltip","Stop current process",3,"click","disabled"],["fontSet","ms","fontIcon","icon-X",1,"mat-error"],[1,"form-field-container","dark"],["subscriptSizing","dynamic"],["msErrorDisplay","","matInput","",3,"formControl"],["fontSet","ms","fontIcon","icon-MagnifyingGlass","matSuffix",""]],template:function(n,t){if(n&1){let i=F();s(0,"div",2)(1,"button",3,0),a("closed",function(){return p(i),t.disposeSearch.emit(),d(t.searchFormControl.setValue(""))}),m(3,"mat-icon",4),l(),s(4,"button",5),a("click",function(){p(i);let f=X(2);return t.openTerminalMessagesHistoryDialog(),d(f.closePanel())}),s(5,"mat-icon"),y(6,"history"),l()(),s(7,"button",6),a("click",function(){return p(i),d(t.scrollToTopTerminal.emit())}),m(8,"mat-icon",7),l(),s(9,"button",8),a("click",function(){return p(i),d(t.scrollToBottomTerminal.emit())}),m(10,"mat-icon",9),l(),s(11,"button",10),a("click",function(){return p(i),d(t.clearTerminalScreen())}),s(12,"mat-icon"),y(13," clear_all"),l()(),s(14,"button",11),a("click",function(){return p(i),d(t.openFullScreenMode())}),s(15,"mat-icon"),y(16),l()(),s(17,"button",12),a("click",function(){return p(i),d(t.ctaStopScript())}),m(18,"mat-icon",13),l()(),C(19,Je,6,1,"ng-template",null,1,le)}if(n&2){let i=X(20);u(),g("msTooltipPanel",i)("closeOnBackdropClick",!1)("showCloseButton",!0),u(10),g("disabled",t.isScriptActive),u(5),se(t.isFullscreen?"fullscreen_exit":"fullscreen"),u(),g("disabled",!t.isScriptActive)}},dependencies:[P,O,x,E,B,Fe,_e,He,fe,pe,de,ve,he,Se,be,Te,ge,we,Ce]}),T);ze=_([D({})],ze);export{Be as a,ze as b}; diff --git a/frontend/server/modelsmith-build/browser/index.html b/frontend/server/modelsmith-build/browser/index.html index 750818d..4fb4f68 100644 --- a/frontend/server/modelsmith-build/browser/index.html +++ b/frontend/server/modelsmith-build/browser/index.html @@ -28,8 +28,8 @@ - + - + diff --git a/frontend/server/modelsmith-build/browser/main-GWOAM5HF.js b/frontend/server/modelsmith-build/browser/main-FCCQC4JE.js similarity index 99% rename from frontend/server/modelsmith-build/browser/main-GWOAM5HF.js rename to frontend/server/modelsmith-build/browser/main-FCCQC4JE.js index 1a7410b..20fb095 100644 --- a/frontend/server/modelsmith-build/browser/main-GWOAM5HF.js +++ b/frontend/server/modelsmith-build/browser/main-FCCQC4JE.js @@ -1 +1 @@ -import{b as Rr,c as Nr,h as Hr}from"./chunk-V2KM6V6H.js";import{a as Zr}from"./chunk-4PRKP63F.js";import{a as Cr}from"./chunk-YGMM67YV.js";import{a as Be,b as fe}from"./chunk-P2GS2NFW.js";import{a as Er}from"./chunk-P6DGDYT5.js";import{c as Dr}from"./chunk-Y56BMHRM.js";import"./chunk-DCK4WYKK.js";import{b as Gr,c as Vr}from"./chunk-UHYTAY7O.js";import{a as Ar,b as it,c as nt,d as Wr,g as K}from"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import{a as Oe}from"./chunk-BTI2I76F.js";import{a as Pr,b as Ir}from"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import{a as Sr,b as vr}from"./chunk-NAEQPCWM.js";import{a as Qr,b as Oi}from"./chunk-HOFUFSNV.js";import{c as tt}from"./chunk-LRK34XDC.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import{d as xr}from"./chunk-572IZ672.js";import{a as Nt,b as bi,c as Dt,e as Fr,f as kr,g as Lr,h as jr,i as ne,j as zr,k as wi,l as $r,m as Ur,n as Kr,p as Br,q as qr,s as Mi}from"./chunk-3IJULEGV.js";import{a as Mt,b as ar}from"./chunk-QJ55TOIV.js";import{a as qe}from"./chunk-CYUWMGXJ.js";import{g as _r}from"./chunk-HULQWYRR.js";import{$ as Ze,$a as x,$b as Xn,$c as C,Aa as gi,Ab as Te,Ae as br,Be as Me,C as mi,Cc as $e,Ce as wr,D as je,Da as q,Dc as Ei,De as Mr,Ea as Xe,Eb as Qn,Ec as Ot,Ee as Or,F as Z,Fb as Gn,Fc as fr,G as Rn,H as Nn,Ha as Bn,I as Dn,J as xn,Ja as vt,Jb as Tt,Jc as _i,Kc as Ct,Lc as mr,M as Fn,Mc as pr,N as kn,Nc as hr,Oc as Ti,P as Ln,Pa as ve,Pb as Vn,Pc as gr,Qc as yr,R as G,Ra as Ee,S as St,Sc as At,Uc as Je,V as jn,Vc as V,W as O,Wb as Wn,Wc as Ue,Xa as _e,Xc as ue,Yc as Ke,Z as L,Za as Et,Zb as Hn,Zc as de,_ as pi,_a as _t,_b as Zn,_c as et,a as A,ab as F,ac as Si,ad as Pt,b as N,ba as _,bb as z,bc as Yn,c as wn,ca as ce,cc as Jn,d as Oo,dc as er,e as Co,ec as tr,fa as zn,fc as ir,ga as ye,gc as nr,h as fi,ha as hi,ib as yi,jc as bt,ka as $n,kb as oe,kc as be,l as Mn,la as Se,lc as rr,mc as sr,n as On,nc as or,o as Cn,oc as wt,p as yt,pc as b,q as An,qc as ae,rc as lr,s as W,sa as Un,sc as cr,t as Pn,tb as Re,ub as qn,uc as ur,ue as Tr,v as In,va as Kn,vb as Ye,vc as ze,ve as It,w as Q,wc as vi,we as Rt,yc as dr,ze as we}from"./chunk-DL2LTWBU.js";var co=Oo((vd,lo)=>{"use strict";var xl=function(e){return Fl(e)&&!kl(e)};function Fl(n){return!!n&&typeof n=="object"}function kl(n){var e=Object.prototype.toString.call(n);return e==="[object RegExp]"||e==="[object Date]"||zl(n)}var Ll=typeof Symbol=="function"&&Symbol.for,jl=Ll?Symbol.for("react.element"):60103;function zl(n){return n.$$typeof===jl}function $l(n){return Array.isArray(n)?[]:{}}function pt(n,e){return e.clone!==!1&&e.isMergeableObject(n)?He($l(n),n,e):n}function Ul(n,e,t){return n.concat(e).map(function(i){return pt(i,t)})}function Kl(n,e){if(!e.customMerge)return He;var t=e.customMerge(n);return typeof t=="function"?t:He}function Bl(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(e){return Object.propertyIsEnumerable.call(n,e)}):[]}function oo(n){return Object.keys(n).concat(Bl(n))}function ao(n,e){try{return e in n}catch{return!1}}function ql(n,e){return ao(n,e)&&!(Object.hasOwnProperty.call(n,e)&&Object.propertyIsEnumerable.call(n,e))}function Ql(n,e,t){var i={};return t.isMergeableObject(n)&&oo(n).forEach(function(r){i[r]=pt(n[r],t)}),oo(e).forEach(function(r){ql(n,r)||(ao(n,r)&&t.isMergeableObject(e[r])?i[r]=Kl(r,t)(n[r],e[r],t):i[r]=pt(e[r],t))}),i}function He(n,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Ul,t.isMergeableObject=t.isMergeableObject||xl,t.cloneUnlessOtherwiseSpecified=pt;var i=Array.isArray(e),r=Array.isArray(n),s=i===r;return s?i?t.arrayMerge(n,e,t):Ql(n,e,t):pt(e,t)}He.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,r){return He(i,r,t)},{})};var Gl=He;lo.exports=Gl});var me,xt=(me=class{constructor(){this.title="modelsmith"}ngOnInit(){}},me.\u0275fac=function(t){return new(t||me)},me.\u0275cmp=ye({type:me,selectors:[["app-root"]],standalone:!0,features:[Te],decls:1,vars:0,template:function(t,i){t&1&&z(0,"router-outlet")},dependencies:[bt]}),me);xt=yt([Mt()],xt);function Xr(n){return new O(3e3,!1)}function Ao(){return new O(3100,!1)}function Po(){return new O(3101,!1)}function Io(n){return new O(3001,!1)}function Ro(n){return new O(3003,!1)}function No(n){return new O(3004,!1)}function Do(n,e){return new O(3005,!1)}function xo(){return new O(3006,!1)}function Fo(){return new O(3007,!1)}function ko(n,e){return new O(3008,!1)}function Lo(n){return new O(3002,!1)}function jo(n,e,t,i,r){return new O(3010,!1)}function zo(){return new O(3011,!1)}function $o(){return new O(3012,!1)}function Uo(){return new O(3200,!1)}function Ko(){return new O(3202,!1)}function Bo(){return new O(3013,!1)}function qo(n){return new O(3014,!1)}function Qo(n){return new O(3015,!1)}function Go(n){return new O(3016,!1)}function Vo(n,e){return new O(3404,!1)}function Wo(n){return new O(3502,!1)}function Ho(n){return new O(3503,!1)}function Zo(){return new O(3300,!1)}function Xo(n){return new O(3504,!1)}function Yo(n){return new O(3301,!1)}function Jo(n,e){return new O(3302,!1)}function ea(n){return new O(3303,!1)}function ta(n,e){return new O(3400,!1)}function ia(n){return new O(3401,!1)}function na(n){return new O(3402,!1)}function ra(n,e){return new O(3505,!1)}function Ce(n){switch(n.length){case 0:return new $e;case 1:return n[0];default:return new Ei(n)}}function ds(n,e,t=new Map,i=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((p,g)=>{let f=g,m=p;if(g!=="offset")switch(f=n.normalizePropertyName(f,r),m){case Ot:m=t.get(g);break;case ae:m=i.get(g);break;default:m=n.normalizeStyleValue(g,f,m,r);break}u.set(f,m)}),d||s.push(u),a=u,o=c}),r.length)throw Wo(r);return s}function Hi(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Ci(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Ci(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Ci(t,"destroy",n)));break}}function Ci(n,e,t){let i=t.totalTime,r=!!t.disabled,s=Zi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),o=n._data;return o!=null&&(s._data=o),s}function Zi(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function J(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Yr(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var sa=typeof document>"u"?null:document.documentElement;function Xi(n){let e=n.parentNode||n.host||null;return e===sa?null:e}function oa(n){return n.substring(1,6)=="ebkit"}var Ne=null,Jr=!1;function aa(n){Ne||(Ne=la()||{},Jr=Ne.style?"WebkitAppearance"in Ne.style:!1);let e=!0;return Ne.style&&!oa(n)&&(e=n in Ne.style,!e&&Jr&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Ne.style)),e}function la(){return typeof document<"u"?document.body:null}function fs(n,e){for(;e;){if(e===n)return!0;e=Xi(e)}return!1}function ms(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var Yi=(()=>{let e=class e{validateStyleProperty(i){return aa(i)}containsElement(i,r){return fs(i,r)}getParentElement(i){return Xi(i)}query(i,r,s){return ms(i,r,s)}computeStyle(i,r,s){return s||""}animate(i,r,s,o,a,l=[],c){return new $e(s,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),nn=class nn{};nn.NOOP=new Yi;var Fe=nn,ke=class{};var ca=1e3,ps="{{",ua="}}",hs="ng-enter",Di="ng-leave",Ft="ng-trigger",$t=".ng-trigger",es="ng-animating",xi=".ng-animating";function pe(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Fi(parseFloat(e[1]),e[2])}function Fi(n,e){switch(e){case"s":return n*ca;default:return n}}function Ut(n,e,t){return n.hasOwnProperty("duration")?n:da(n,e,t)}function da(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,s=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(Xr(n)),{duration:0,delay:0,easing:""};r=Fi(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=Fi(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(Ao()),a=!0),s<0&&(e.push(Po()),a=!0),a&&e.splice(l,0,Xr(n))}return{duration:r,delay:s,easing:o}}function fa(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function le(n,e,t){e.forEach((i,r)=>{let s=Ji(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function xe(n,e){e.forEach((t,i)=>{let r=Ji(i);n.style[r]=""})}function rt(n){return Array.isArray(n)?n.length==1?n[0]:ur(n):n}function ma(n,e,t){let i=e.params||{},r=gs(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(Io(s))})}var ki=new RegExp(`${ps}\\s*(.+?)\\s*${ua}`,"g");function gs(n){let e=[];if(typeof n=="string"){let t;for(;t=ki.exec(n);)e.push(t[1]);ki.lastIndex=0}return e}function ot(n,e,t){let i=`${n}`,r=i.replace(ki,(s,o)=>{let a=e[o];return a==null&&(t.push(Ro(o)),a=""),a.toString()});return r==i?n:r}var pa=/-+([a-z0-9])/g;function Ji(n){return n.replace(pa,(...e)=>e[1].toUpperCase())}function ha(n,e){return n===0||e===0}function ga(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;so.set(a,en(n,a)))}}return e}function Y(n,e,t){switch(e.type){case b.Trigger:return n.visitTrigger(e,t);case b.State:return n.visitState(e,t);case b.Transition:return n.visitTransition(e,t);case b.Sequence:return n.visitSequence(e,t);case b.Group:return n.visitGroup(e,t);case b.Animate:return n.visitAnimate(e,t);case b.Keyframes:return n.visitKeyframes(e,t);case b.Style:return n.visitStyle(e,t);case b.Reference:return n.visitReference(e,t);case b.AnimateChild:return n.visitAnimateChild(e,t);case b.AnimateRef:return n.visitAnimateRef(e,t);case b.Query:return n.visitQuery(e,t);case b.Stagger:return n.visitStagger(e,t);default:throw No(e.type)}}function en(n,e){return window.getComputedStyle(n)[e]}var ya=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Kt=class extends ke{normalizePropertyName(e,t){return Ji(e)}normalizeStyleValue(e,t,i,r){let s="",o=i.toString().trim();if(ya.has(t)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Do(e,i))}return o+s}};var Bt="*";function Sa(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>va(i,t,e)):t.push(n),t}function va(n,e,t){if(n[0]==":"){let l=Ea(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(Qo(n)),e;let r=i[1],s=i[2],o=i[3];e.push(ts(r,o));let a=r==Bt&&o==Bt;s[0]=="<"&&!a&&e.push(ts(o,r))}function Ea(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var kt=new Set(["true","1"]),Lt=new Set(["false","0"]);function ts(n,e){let t=kt.has(n)||Lt.has(n),i=kt.has(e)||Lt.has(e);return(r,s)=>{let o=n==Bt||n==r,a=e==Bt||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?kt.has(n):Lt.has(n)),!a&&i&&typeof s=="boolean"&&(a=s?kt.has(e):Lt.has(e)),o&&a}}var ys=":self",_a=new RegExp(`s*${ys}s*,?`,"g");function Ss(n,e,t,i){return new Li(n).build(e,t,i)}var is="",Li=class{constructor(e){this._driver=e}build(e,t,i){let r=new ji(t);return this._resetContextStyleTimingState(r),Y(this,rt(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=is,e.collectedStyles=new Map,e.collectedStyles.set(is,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(xo()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==b.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==b.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(Fo())}),{type:b.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{gs(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push(ko(e.name,[...s.values()]))}return{type:b.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=Y(this,rt(e.animation),t),r=Sa(e.expr,t.errors);return{type:b.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:De(e.options)}}visitSequence(e,t){return{type:b.Sequence,steps:e.steps.map(i=>Y(this,i,t)),options:De(e.options)}}visitGroup(e,t){let i=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=i;let a=Y(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:b.Group,steps:s,options:De(e.options)}}visitAnimate(e,t){let i=Ma(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:ze({});if(s.type==b.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=ze(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:b.Animate,timings:i,style:r,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===ae?i.push(a):t.errors.push(Lo(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(ps)>=0){s=!0;break}}}),{type:b.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(s!=r&&s>=d.startTime&&r<=d.endTime&&(t.errors.push(jo(l,d.startTime,d.endTime,s,r)),u=!1),s=d.startTime),u&&c.set(l,{startTime:s,endTime:r}),t.options&&ma(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:b.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(zo()),i;let r=1,s=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(w=>{let P=this._makeStyleAst(w,t),j=P.offset!=null?P.offset:wa(P.styles),v=0;return j!=null&&(s++,v=P.offset=j),l=l||v<0||v>1,a=a||v0&&s{let j=p>0?P==g?1:p*P:o[P],v=j*T;t.currentTime=f+m.delay+v,m.duration=v,this._validateStyleAst(w,t),w.offset=j,i.styles.push(w)}),i}visitReference(e,t){return{type:b.Reference,animation:Y(this,rt(e.animation),t),options:De(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:b.AnimateChild,options:De(e.options)}}visitAnimateRef(e,t){return{type:b.AnimateRef,animation:this.visitReference(e.animation,t),options:De(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=Ta(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,J(t.collectedStyles,t.currentQuerySelector,new Map);let a=Y(this,rt(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:b.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:De(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Bo());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ut(e.timings,t.errors,!0);return{type:b.Stagger,animation:Y(this,rt(e.animation),t),timings:i,options:null}}};function Ta(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace(_a,"")),n=n.replace(/@\*/g,$t).replace(/@\w+/g,t=>$t+"-"+t.slice(1)).replace(/:animating/g,xi),[n,e]}function ba(n){return n?A({},n):null}var ji=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function wa(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ma(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let s=Ut(n,e).duration;return Ai(s,0,"")}let t=n;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Ai(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=Ut(t,e);return Ai(r.duration,r.delay,r.easing)}function De(n){return n?(n=A({},n),n.params&&(n.params=ba(n.params))):n={},n}function Ai(n,e,t){return{duration:n,delay:e,easing:t}}function tn(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var at=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Oa=1,Ca=":enter",Aa=new RegExp(Ca,"g"),Pa=":leave",Ia=new RegExp(Pa,"g");function vs(n,e,t,i,r,s=new Map,o=new Map,a,l,c=[]){return new zi().buildKeyframes(n,e,t,i,r,s,o,a,l,c)}var zi=class{buildKeyframes(e,t,i,r,s,o,a,l,c,d=[]){c=c||new at;let u=new $i(e,t,c,r,s,d,[]);u.options=l;let p=l.delay?pe(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([o],null,u.errors,l),Y(this,i,u);let g=u.timelines.filter(f=>f.containsAnimation());if(g.length&&a.size){let f;for(let m=g.length-1;m>=0;m--){let T=g[m];if(T.element===t){f=T;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l)}return g.length?g.map(f=>f.buildKeyframes()):[tn(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:pe(ot(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?pe(i.duration):null,a=i.delay!=null?pe(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==b.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=qt);let o=pe(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>Y(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?pe(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),Y(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,r=t.params?ot(i,t.params,t.errors):i;return Ut(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());let s=e.style;s.type==b.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?pe(r.delay):0;s&&(t.previousNode.type===b.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=qt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);s&&u.delayNextStep(s),c===t.element&&(l=u.currentTimeline),Y(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;o=Math.max(o,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Y(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},qt={},$i=class n{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Qt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=pe(i.duration)),i.delay!=null&&(r.delay=pe(i.delay));let s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=ot(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){let r=t||this.element,s=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=qt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new Ui(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Aa,"."+this._enterClassName),e=e.replace(Ia,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(qo(t)),a}},Qt=class n{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Oa,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ae),this._currentKeyframe.set(t,ae);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=Ra(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ot(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ae),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Ot?e.add(u):d===ae&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return tn(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},Ui=class extends Qt{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",ns(a)),s.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let p=new Map(e[u]),g=p.get("offset"),f=t+g*i;p.set("offset",ns(f/o)),s.push(p)}i=o,t=0,r="",e=s}return tn(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}};function ns(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Ra(n,e){let t=new Map,i;return n.forEach(r=>{if(r==="*"){i??=e.keys();for(let s of i)t.set(s,ae)}else for(let[s,o]of r)t.set(s,o)}),t}function rs(n,e,t,i,r,s,o,a,l,c,d,u,p){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var Pi={},Gt=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return Na(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,a,l,c,d){let u=[],p=this.ast.options&&this.ast.options.params||Pi,g=a&&a.params||Pi,f=this.buildStyles(i,g,u),m=l&&l.params||Pi,T=this.buildStyles(r,m,u),w=new Set,P=new Map,j=new Map,v=r==="void",I={params:Es(m,p),delay:this.ast.options?.delay},E=d?[]:vs(e,t,this.ast.animation,s,o,f,T,I,c,u),D=0;return E.forEach(R=>{D=Math.max(R.duration+R.delay,D)}),u.length?rs(t,this._triggerName,i,r,v,f,T,[],[],P,j,D,u):(E.forEach(R=>{let ie=R.element,Le=J(P,ie,new Set);R.preStyleProps.forEach(Pe=>Le.add(Pe));let En=J(j,ie,new Set);R.postStyleProps.forEach(Pe=>En.add(Pe)),ie!==t&&w.add(ie)}),rs(t,this._triggerName,i,r,v,f,T,E,[...w.values()],P,j,D))}};function Na(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}function Es(n,e){let t=A({},e);return Object.entries(n).forEach(([i,r])=>{r!=null&&(t[i]=r)}),t}var Ki=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,r=Es(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=ot(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Da(n,e,t){return new Bi(n,e,t)}var Bi=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new Ki(r.style,s,i))}),ss(this.states,"true","1"),ss(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Gt(e,r,this.states))}),this.fallbackTransition=xa(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function xa(n,e,t){let i=[(o,a)=>!0],r={type:b.Sequence,steps:[],options:null},s={type:b.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Gt(n,s,e)}function ss(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var Fa=new at,qi=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],r=[],s=Ss(this._driver,t,i,r);if(i.length)throw Ho(i);r.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,i){let r=e.element,s=ds(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=vs(this._driver,t,s,hs,Di,new Map,new Map,i,Fa,r),o.forEach(d=>{let u=J(a,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(r.push(Zo()),o=[]),r.length)throw Xo(r);a.forEach((d,u)=>{d.forEach((p,g)=>{d.set(g,this._driver.computeStyle(u,g,ae))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ce(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Yo(e);return t}listen(e,t,i,r){let s=Zi(t,"","","");return Hi(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},os="ng-animate-queued",ka=".ng-animate-queued",Ii="ng-animate-disabled",La=".ng-animate-disabled",ja="ng-star-inserted",za=".ng-star-inserted",$a=[],_s={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ua={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},re="__ng_removed",lt=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Ba(r),i){let s=e,{value:o}=s,a=wn(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(r=>{i[r]==null&&(i[r]=t[r])})}}},st="void",Ri=new lt(st),Qi=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,te(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw Jo(i,t);if(i==null||i.length==0)throw ea(t);if(!qa(i))throw ta(i,t);let s=J(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);let a=J(this._engine.statesByElement,e,new Map);return a.has(t)||(te(e,Ft),te(e,Ft+"-"+t),a.set(t,Ri)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw ia(e);return t}trigger(e,t,i,r=!0){let s=this._getTrigger(t),o=new ct(this.id,t,e),a=this._engine.statesByElement.get(e);a||(te(e,Ft),te(e,Ft+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new lt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ri),!(c.value===st)&&l.value===c.value){if(!Va(l.params,c.params)){let m=[],T=s.matchStyles(l.value,l.params,m),w=s.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{xe(e,T),le(e,w)})}return}let p=J(this._engine.playersByElement,e,[]);p.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let g=s.matchTransition(l.value,c.value,e,c.params),f=!1;if(!g){if(!r)return;g=s.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:g,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(te(e,os),o.onStart(()=>{Qe(e,os)})),o.onDone(()=>{let m=this.players.indexOf(o);m>=0&&this.players.splice(m,1);let T=this._engine.playersByElement.get(e);if(T){let w=T.indexOf(o);w>=0&&T.splice(w,1)}}),this.players.push(o),p.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,$t,!0);i.forEach(r=>{if(r[re])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,st,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Ce(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Ri,d=new lt(st),u=new ct(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[re];(!s||s===_s)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){te(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Zi(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Hi(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{let s=i.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Gi=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Qi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,r){if(jt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!jt(t))return;let s=t[re];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),te(e,Ii)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Qe(e,Ii))}removeNode(e,t,i){if(jt(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[re]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return jt(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,$t,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,xi,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ce(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[re];if(t&&t.setForRemoval){if(e[re]=_s,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ii)&&this.markElementAsDisabled(e,!1),this.driver.query(e,La,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ce(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw na(e)}_flushAnimations(e,t){let i=new at,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let y=this.driver.query(h,ka,!0);for(let S=0;S{let S=hs+m++;f.set(y,S),h.forEach(M=>te(M,S))});let T=[],w=new Set,P=new Set;for(let h=0;hw.add(M)):P.add(y))}let j=new Map,v=cs(p,Array.from(w));v.forEach((h,y)=>{let S=Di+m++;j.set(y,S),h.forEach(M=>te(M,S))}),e.push(()=>{g.forEach((h,y)=>{let S=f.get(y);h.forEach(M=>Qe(M,S))}),v.forEach((h,y)=>{let S=j.get(y);h.forEach(M=>Qe(M,S))}),T.forEach(h=>{this.processLeaveNode(h)})});let I=[],E=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(S=>{let M=S.player,U=S.element;if(I.push(M),this.collectedEnterElements.length){let B=U[re];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(S.triggerName)){let Ie=B.previousTriggersValues.get(S.triggerName),ee=this.statesByElement.get(S.element);if(ee&&ee.has(S.triggerName)){let gt=ee.get(S.triggerName);gt.value=Ie,ee.set(S.triggerName,gt)}}M.destroy();return}}let se=!u||!this.driver.containsElement(u,U),H=j.get(U),ge=f.get(U),k=this._buildInstruction(S,i,ge,H,se);if(k.errors&&k.errors.length){E.push(k);return}if(se){M.onStart(()=>xe(U,k.fromStyles)),M.onDestroy(()=>le(U,k.toStyles)),r.push(M);return}if(S.isFallbackTransition){M.onStart(()=>xe(U,k.fromStyles)),M.onDestroy(()=>le(U,k.toStyles)),r.push(M);return}let bn=[];k.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||bn.push(B)}),k.timelines=bn,i.append(U,k.timelines);let Mo={instruction:k,player:M,element:U};o.push(Mo),k.queriedElements.forEach(B=>J(a,B,[]).push(M)),k.preStyleProps.forEach((B,Ie)=>{if(B.size){let ee=l.get(Ie);ee||l.set(Ie,ee=new Set),B.forEach((gt,di)=>ee.add(di))}}),k.postStyleProps.forEach((B,Ie)=>{let ee=c.get(Ie);ee||c.set(Ie,ee=new Set),B.forEach((gt,di)=>ee.add(di))})});if(E.length){let h=[];E.forEach(y=>{h.push(ra(y.triggerName,y.errors))}),I.forEach(y=>y.destroy()),this.reportError(h)}let D=new Map,R=new Map;o.forEach(h=>{let y=h.element;i.has(y)&&(R.set(y,y),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,D))}),r.forEach(h=>{let y=h.element;this._getPreviousPlayers(y,!1,h.namespaceId,h.triggerName,null).forEach(M=>{J(D,y,[]).push(M),M.destroy()})});let ie=T.filter(h=>us(h,l,c)),Le=new Map;ls(Le,this.driver,P,c,ae).forEach(h=>{us(h,l,c)&&ie.push(h)});let Pe=new Map;g.forEach((h,y)=>{ls(Pe,this.driver,new Set(h),l,Ot)}),ie.forEach(h=>{let y=Le.get(h),S=Pe.get(h);Le.set(h,new Map([...y?.entries()??[],...S?.entries()??[]]))});let ui=[],_n=[],Tn={};o.forEach(h=>{let{element:y,player:S,instruction:M}=h;if(i.has(y)){if(d.has(y)){S.onDestroy(()=>le(y,M.toStyles)),S.disabled=!0,S.overrideTotalTime(M.totalTime),r.push(S);return}let U=Tn;if(R.size>1){let H=y,ge=[];for(;H=H.parentNode;){let k=R.get(H);if(k){U=k;break}ge.push(H)}ge.forEach(k=>R.set(k,U))}let se=this._buildAnimation(S.namespaceId,M,D,s,Pe,Le);if(S.setRealPlayer(se),U===Tn)ui.push(S);else{let H=this.playersByElement.get(U);H&&H.length&&(S.parentPlayer=Ce(H)),r.push(S)}}else xe(y,M.fromStyles),S.onDestroy(()=>le(y,M.toStyles)),_n.push(S),d.has(y)&&r.push(S)}),_n.forEach(h=>{let y=s.get(h.element);if(y&&y.length){let S=Ce(y);h.setRealPlayer(S)}}),r.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h!se.destroyed);U.length?Qa(this,y,U):this.processLeaveNode(y)}return T.length=0,ui.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let y=this.players.indexOf(h);this.players.splice(y,1)}),h.play()}),ui}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==st;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,d=c!==s,u=J(i,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(g=>{let f=g.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),g.destroy(),u.push(g)})}xe(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(f=>{let m=f.element;d.add(m);let T=m[re];if(T&&T.removedBeforeQueried)return new $e(f.duration,f.delay);let w=m!==l,P=Ga((i.get(m)||$a).map(D=>D.getRealPlayer())).filter(D=>{let R=D;return R.element?R.element===m:!1}),j=s.get(m),v=o.get(m),I=ds(this._normalizer,f.keyframes,j,v),E=this._buildPlayer(f,I,P);if(f.subTimeline&&r&&u.add(m),w){let D=new ct(e,a,m);D.setRealPlayer(E),c.push(D)}return E});c.forEach(f=>{J(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Ka(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>te(f,es));let g=Ce(p);return g.onDestroy(()=>{d.forEach(f=>Qe(f,es)),le(l,t.toStyles)}),u.forEach(f=>{J(r,f,[]).push(g)}),g}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new $e(e.duration,e.delay)}},ct=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new $e,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Hi(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){J(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Ka(n,e,t){let i=n.get(e);if(i){if(i.length){let r=i.indexOf(t);i.splice(r,1)}i.length==0&&n.delete(e)}return i}function Ba(n){return n??null}function jt(n){return n&&n.nodeType===1}function qa(n){return n=="start"||n=="done"}function as(n,e){let t=n.style.display;return n.style.display=e??"none",t}function ls(n,e,t,i,r){let s=[];t.forEach(l=>s.push(as(l)));let o=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let p=e.computeStyle(c,u,r);d.set(u,p),(!p||p.length==0)&&(c[re]=Ua,o.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>as(l,s[a++])),o}function cs(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,r=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=i:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function te(n,e){n.classList?.add(e)}function Qe(n,e){n.classList?.remove(e)}function Qa(n,e,t){Ce(t).onDone(()=>n.processLeaveNode(e))}function Ga(n){let e=[];return Ts(n,e),e}function Ts(n,e){for(let t=0;tr.add(s)):e.set(n,i),t.delete(n),!0}var Ve=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Gi(e.body,t,i),this._timelineEngine=new qi(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],d=Ss(this._driver,s,l,c);if(l.length)throw Vo(r,l);c.length&&void 0,a=Da(r,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if(i.charAt(0)=="@"){let[s,o]=Yr(i),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if(i.charAt(0)=="@"){let[o,a]=Yr(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Wa(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Ni(e[0]),e.length>1&&(i=Ni(e[e.length-1]))):e instanceof Map&&(t=Ni(e)),t||i?new Vi(n,t,i):null}var Ge=class Ge{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let r=Ge.initialStylesByElement.get(e);r||Ge.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&le(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(le(this._element,this._initialStyles),this._endStyles&&(le(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ge.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),le(this._element,this._initialStyles),this._state=3)}};Ge.initialStylesByElement=new WeakMap;var Vi=Ge;function Ni(n){let e=null;return n.forEach((t,i)=>{Ha(i)&&(e=e||new Map,e.set(i,t))}),e}function Ha(n){return n==="display"||n==="position"}var Vt=class{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:en(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Wt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return fs(e,t)}getParentElement(e){return Xi(e)}query(e,t,i){return ms(e,t,i)}computeStyle(e,t,i){return en(e,t)}animate(e,t,i,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};s&&(l.easing=s);let c=new Map,d=o.filter(g=>g instanceof Vt);ha(i,r)&&d.forEach(g=>{g.currentSnapshot.forEach((f,m)=>c.set(m,f))});let u=fa(t).map(g=>new Map(g));u=ga(e,u,c);let p=Wa(e,u);return new Vt(e,u,l,p)}};var zt="@",bs="@.disabled",Ht=class{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==zt&&t==bs?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Wi=class extends Ht{constructor(e,t,i,r,s){super(t,i,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==zt?t.charAt(1)=="."&&t==bs?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==zt){let r=Za(e),s=t.slice(1),o="";return s.charAt(0)!=zt&&([s,o]=Xa(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function Za(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Xa(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var Zt=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{let o=s?.parentNode(r);o&&s.removeChild(o,r)}}createRenderer(e,t){let i="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Ht(i,r,this.engine,u),c.set(r,d)}return d}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new Wi(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Ja=(()=>{let e=class e extends Ve{constructor(i,r,s){super(i,r,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(_(Vn),_(Fe),_(ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function el(){return new Kt}function tl(n,e,t){return new Zt(n,e,t)}var Ms=[{provide:ke,useFactory:el},{provide:Ve,useClass:Ja},{provide:Bn,useFactory:tl,deps:[er,Ve,vt]}],ws=[{provide:Fe,useFactory:()=>new Wt},{provide:gi,useValue:"BrowserAnimations"},...Ms],il=[{provide:Fe,useClass:Yi},{provide:gi,useValue:"NoopAnimations"},...Ms],Os=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?il:ws}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=hi({type:e}),e.\u0275inj=pi({providers:ws,imports:[ir]});let n=e;return n})();var Ae=class{static setItem(e,t){localStorage.setItem(e,JSON.stringify(t))}static getItem(e){let t=localStorage.getItem(e);return t?JSON.parse(t):null}static getNestedItem(e,t){let i=this.getItem(e);return i?this.getNestedProperty(i,t):null}static removeItem(e){localStorage.removeItem(e)}static clear(){localStorage.clear()}static getNestedProperty(e,t){if(!t)return e;let i=t.split(".");for(let r=0;r{let e=class e{constructor(i){this.router=i}canActivate(){return Ae.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?!0:(this.router.navigate([`/${C.AUTH.ROOT}`]),!1)}};e.\u0275fac=function(r){return new(r||e)(_(be))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var Xt=(()=>{let e=class e{constructor(i,r){this.router=i,this.configFacadeService=r}canActivate(){let i=Ae.getNestedItem($.CORE.ROOT,`${$.CONFIGS.ROOT}.${$.CONFIGS.DEFAULT_MODE}`);return i&&(i===fe.GUIDED?(this.router.navigate([`/${C.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED}))):(this.router.navigate([`/${C.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT})))),!0}};e.\u0275fac=function(r){return new(r||e)(_(be),_(qe))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var Yt=(()=>{let e=class e{constructor(i){this.router=i}canActivate(){return Ae.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?(this.router.navigate([`/${C.MODE_SELECT.ROOT}`]),!1):!0}};e.\u0275fac=function(r){return new(r||e)(_(be))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function sl(n,e){if(n&1&&(x(0,"div")(1,"div",5),Re(2),F()()),n&2){let t=oe();q(2),Ye(" ",t.item.label," ")}}function ol(n,e){n&1&&(x(0,"div"),z(1,"ms-spining-indicator"),F())}function al(n,e){if(n&1&&ve(0,ol,2,0,"div"),n&2){let t=oe();_e(t.isExpanded&&e===t.item.key?0:-1)}}var Cs=(()=>{let e=class e{constructor(i){this.pageRunningScriptSpiningIndicatorService=i,this.itemStyle="accent",this.isExpanded=!0}};e.\u0275fac=function(r){return new(r||e)(Xe(nt))},e.\u0275cmp=ye({type:e,selectors:[["ms-sidenav-item"]],inputs:{item:"item",itemStyle:"itemStyle",isExpanded:"isExpanded"},standalone:!0,features:[Te],decls:8,vars:6,consts:[["routerLinkActive","active-route",1,"sidenav-item",3,"routerLink"],[1,"left-side"],[1,"item-icon"],["fontSet","ms",3,"fontIcon"],[1,"right-side"],[1,"item-label","paragraph-semibold-p3-small-emphasis"]],template:function(r,s){if(r&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),z(3,"mat-icon",3),F(),ve(4,sl,3,1,"div"),F(),x(5,"div",4),ve(6,al,1,1),Qn(7,"async"),F()()),r&2){let o;Ee("routerLink",s.item.route),q(3),Ee("fontIcon",s.item.icon),q(),_e(s.isExpanded?4:-1),q(2),_e((o=Gn(7,4,s.pageRunningScriptSpiningIndicatorService.currentRunningPage$))?6:-1,o)}},dependencies:[Hn,Wn,Rt,It,Ar,wt,rr,sr],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.sidenav-item[_ngcontent-%COMP%]{padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.sidenav-item[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .sidenav-item[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{margin-left:10px;white-space:nowrap}.sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}[itemStyle=grey][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--foregrounds-750)}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%]{background-color:var(--foregrounds-150);border-radius:8px}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{color:var(--foregrounds-800)}[itemStyle=accent][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--accent-400)}"]});let n=e;return n})();var ll=[{route:C.ADMIN.ROOT,label:"Admin",icon:"icon-Admin"}],cl=[{route:C.WIZARD.ROOT,label:"Wizard",icon:"icon-Question"}],ul=[{route:C.MODEL_COMPRESSION.ROOT,label:"Clasic Model Compression",icon:"icon-GearSix",key:it.MODEL_COMPRESSION},{route:C.MACHINE_UNLEARNING.ROOT,label:"Machine Unlearning",icon:"icon-Systems-Manager",key:it.MACHINE_UNLEARNING},{route:C.AWQ.ROOT,label:"LLM Quantization",icon:"icon-Lightning",key:it.AWQ},{route:C.MULTI_MODAL.ROOT,label:"Multi-modal",icon:"icon-Environmental",key:it.MODEL_SPECIALIZATION},{route:C.ALGORITHM_COMPARISON.ROOT,label:"Algorithm Comparison",icon:"icon-Rocket"}],As={guided:cl,expert:ul,common:ll};var rn=(n,e)=>e.route;function dl(n,e){if(n&1&&(x(0,"div",5)(1,"div",13),Re(2),F(),x(3,"div",14),Re(4),z(5,"mat-icon",15),F()()),n&2){let t=oe();q(2),Ye(" ",t.currentMode===t.Modes.GUIDED?"Guided mode":"Expert mode"," "),q(2),Ye(" ",t.currentMode===t.Modes.GUIDED?"Switch to expert mode":"Switch to guided mode"," ")}}function fl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=oe(2);q(),Ee("item",t)("isExpanded",i.isExpanded)}}function ml(n,e){if(n&1&&Et(0,fl,2,2,"div",8,rn),n&2){let t=oe();_t(t.SidenavConstants.guided)}}function pl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=oe(2);q(),Ee("item",t)("isExpanded",i.isExpanded)}}function hl(n,e){if(n&1&&Et(0,pl,2,2,"div",8,rn),n&2){let t=oe();_t(t.SidenavConstants.expert)}}function gl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",17),F()),n&2){let t=e.$implicit,i=oe();q(),Ee("item",t)("isExpanded",i.isExpanded)}}function yl(n,e){n&1&&(x(0,"span",12),Re(1,"Collapse"),F())}var he,Jt=(he=class{constructor(e,t){this.router=e,this.configFacadeService=t,this.SidenavConstants=As,this.Modes=fe,this.isExpanded=!0}ngOnInit(){this.listenToCurrentModeChanges()}listenToCurrentModeChanges(){this.configFacadeService.currentMode$.pipe(ar(this)).subscribe(e=>{this.currentMode=e})}toggleMode(){this.currentMode===fe.GUIDED?(this.router.navigate([`/${C.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT}))):(this.router.navigate([`/${C.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED})))}toggleSidebar(){this.isExpanded=!this.isExpanded}},he.\u0275fac=function(t){return new(t||he)(Xe(be),Xe(qe))},he.\u0275cmp=ye({type:he,selectors:[["ms-sidenav"]],standalone:!0,features:[Te],decls:21,vars:5,consts:[[1,"sidenav-wrapper"],[1,"top-section-items"],[1,"switch",3,"click"],[1,"left"],["fontSet","ms","fontIcon","icon-User"],[1,"right"],[1,"mt-3"],[1,"mt-5"],[1,"sidenav-items-wrapper"],[1,"mt-2","mb-4"],[1,"bottom-section-items"],[1,"sidebar-toggle",3,"click"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis","text-container"],[1,"paragraph-regular-p4-small","switch-button","text-container"],["fontSet","ms","fontIcon","icon-ArrowRight",1,"switch-icon"],["itemStyle","grey",3,"item","isExpanded"],["itemStyle","accent",3,"item","isExpanded"]],template:function(t,i){t&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),yi("click",function(){return i.toggleMode()}),x(3,"div",3),z(4,"mat-icon",4),F(),ve(5,dl,6,2,"div",5),F(),x(6,"div",6),z(7,"mat-divider"),F(),ve(8,ml,2,0)(9,hl,2,0),x(10,"div",7),z(11,"mat-divider"),F(),Et(12,gl,2,2,"div",8,rn),F(),x(14,"div",9),z(15,"mat-divider"),F(),x(16,"div",10)(17,"div",11),yi("click",function(){return i.toggleSidebar()}),x(18,"mat-icon"),Re(19),F(),ve(20,yl,2,0,"span",12),F()()()),t&2&&(Ee("@expandCollapse",i.isExpanded?"expanded":"collapsed"),q(5),_e(i.isExpanded?5:-1),q(3),_e(i.currentMode===i.Modes.GUIDED?8:9),q(4),_t(i.SidenavConstants.common),q(7),qn(i.isExpanded?"chevron_left":"chevron_right"),q(),_e(i.isExpanded?20:-1))},dependencies:[Cs,Rt,It,vr,Sr],styles:["[_nghost-%COMP%]{height:100%}.sidenav-wrapper[_ngcontent-%COMP%]{padding:0 12px;display:flex;flex-direction:column;justify-content:space-between}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%]{display:flex;cursor:pointer;height:38px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-600);margin-left:8px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{margin-left:10px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%] .switch-icon[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;width:16px;height:16px}.sidenav-wrapper[_ngcontent-%COMP%] .sidenav-items-wrapper[_ngcontent-%COMP%]{margin-top:10px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;padding:6px;cursor:pointer;transition:background-color .3s ease;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]:hover{color:var(--foregrounds-800);background-color:var(--foregrounds-150);border-radius:8px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--foregrounds-750)}.text-container[_ngcontent-%COMP%]{width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],data:{animation:[lr("expandCollapse",[vi("expanded",ze({width:"270px"})),vi("collapsed",ze({width:"40px"})),dr("expanded <=> collapsed",cr("300ms ease-in-out"))])]}}),he);Jt=yt([Mt()],Jt);var Ps=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ye({type:e,selectors:[["ms-main-layout"]],standalone:!0,features:[Te],decls:9,vars:0,consts:[[1,"container"],[1,"body"],[1,"content"],[1,"router-outlet"],[1,"footer"],["styleMode","mainLayout"]],template:function(r,s){r&1&&(x(0,"div",0),z(1,"ms-header"),x(2,"div",1),z(3,"ms-sidenav"),x(4,"div",2)(5,"div",3),z(6,"router-outlet"),F(),x(7,"div",4),z(8,"ms-footer",5),F()()()())},dependencies:[Er,Cr,Jt,wt,bt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden;max-width:100vw}.body[_ngcontent-%COMP%]{flex:1;display:flex;margin-top:20px}.content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;margin:0 10px;overflow-x:hidden}.router-outlet[_ngcontent-%COMP%]{flex:1;padding:0 2px}ms-footer[_ngcontent-%COMP%]{height:60px}ms-header[_ngcontent-%COMP%], ms-sidenav[_ngcontent-%COMP%]{overflow-x:hidden}"]});let n=e;return n})();var Is={records:Nr};var Rs=[{path:C.AUTH.ROOT,loadChildren:()=>import("./chunk-WX5VBQ6J.js").then(n=>n.AuthModule),canActivate:[Yt]},{path:C.MODE_SELECT.ROOT,loadChildren:()=>import("./chunk-BHT4CU75.js").then(n=>n.ModeSelectModule),canActivate:[dt,Xt]},{path:C.DEMO.ROOT,loadChildren:()=>import("./chunk-4U6LNT5Y.js").then(n=>n.DemoModule)},{path:"",pathMatch:"full",redirectTo:C.AUTH.ROOT},{path:"",component:Ps,canActivate:[dt],children:[{path:"",redirectTo:C.WIZARD.ROOT,pathMatch:"full"},{path:C.WIZARD.ROOT,loadChildren:()=>import("./chunk-J5LLRHIR.js").then(n=>n.WizardModule)},{path:C.MODEL_COMPRESSION.ROOT,loadChildren:()=>import("./chunk-2XICAOUA.js").then(n=>n.ModelCompressionModule)},{path:C.MACHINE_UNLEARNING.ROOT,loadChildren:()=>import("./chunk-666IVLAB.js").then(n=>n.MachineUnlearningModule)},{path:C.AWQ.ROOT,loadChildren:()=>import("./chunk-GA7FJHQG.js").then(n=>n.LlmQuantizationModule)},{path:C.RUNNING.ROOT,loadChildren:()=>import("./chunk-6VUZT3BW.js").then(n=>n.RunningModule)},{path:C.MODEL_TRAINING.ROOT,loadChildren:()=>import("./chunk-P735PSGD.js").then(n=>n.ModelTrainingModule)},{path:C.ALGORITHM_COMPARISON.ROOT,loadChildren:()=>import("./chunk-PKD4Y463.js").then(n=>n.AlgorithmComparisonModule),providers:[Se(Je.forFeature("runRecords",Is)),Se(et.forFeature([Rr]))]},{path:C.MULTI_MODAL.ROOT,loadChildren:()=>import("./chunk-S6LLWZTQ.js").then(n=>n.MultiModalModule)},{path:C.ADMIN.ROOT,loadChildren:()=>import("./chunk-EXJWLBV7.js").then(n=>n.AdminModule)}]}];function Ns(){return[Mi,Oi,dt,wi,Yt,Xt,bi,qe,Or,zr,jr,Lr,$r,Kr,Ur,nt,Qr,xr,{provide:zn,multi:!0,useValue(){let n=ce(wi),e=ce(nt),t=ce(Tr),i=ce(bi),r=ce(Mi),s=ce(Oi);r.connect(),s.connect(),n.trackNavigationHistory(),e.trackCurrentRunningPage(),t.registerFontClassAlias("icomoon","ms"),i.dispatch(Nt.fetchScriptStatus())}}]}function Ds(){return[{provide:_r,useValue:{floatLabel:"always",appearance:"outline",density:"cozy"}},{provide:Dr,useValue:{displayDefaultIndicatorType:!0,showError:!1}},{provide:Wr,useValue:{placeholderLabel:"Search...",noEntriesFoundLabel:"No matching entries found..."}}]}var ei=class{constructor(e){this.httpClient=e}get httpHeaders(){return new Zn}getRequestOptions(e){let t=e.getParams||void 0;return{headers:this.httpHeaders,params:t}}serviceCall(e){return Tt()&&console.log(`serviceCall@Client - ${e.getMethod} - ${e.getUrl}`),W(e).pipe(G(t=>{if(t.getMock)return this.httpClient.get(t.getUrl,this.getRequestOptions(t)).pipe(xn(t.getMockDelay));switch(t.getMethod){case"GET":return this.httpClient.get(t.getUrl,this.getRequestOptions(t));case"POST":return this.httpClient.post(t.getUrl,t.getBody,this.getRequestOptions(t));case"PUT":return this.httpClient.put(t.getUrl,null,this.getRequestOptions(t));default:throw new Error(`Unsupported method: ${t.getMethod}`)}}))}};function xs(){return[{provide:Me,useFactory:n=>new ei(n),deps:[Xn]}]}var Sl=(()=>{let e=class e{constructor(i){this.bannerService=i}handleError(i,r){let s=r.error,{error:o}=s;switch(r.status){case 400:case 404:case 500:case 503:this.spawnNotification(o);break;case 504:this.spawnNotification(s);break;default:this.spawnNotification(o);break}return Pn(()=>r)}spawnNotification(i){this.bannerService.showError(i)}};e.\u0275fac=function(r){return new(r||e)(_(Dt))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fs=(()=>{let e=class e{constructor(i){this.errorHandler=i}intercept(i,r){return r.handle(i).pipe(Z(s=>this.errorHandler.handleError(i,s)))}};e.\u0275fac=function(r){return new(r||e)(_(Sl))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function ks(){return[{provide:Si,useClass:Fs,multi:!0},{provide:Si,useClass:Hr,multi:!0}]}var mt="PERFORM_ACTION",vl="REFRESH",Ks="RESET",Bs="ROLLBACK",qs="COMMIT",Qs="SWEEP",Gs="TOGGLE_ACTION",El="SET_ACTIONS_ACTIVE",Vs="JUMP_TO_STATE",Ws="JUMP_TO_ACTION",yn="IMPORT_STATE",Hs="LOCK_CHANGES",Zs="PAUSE_RECORDING",We=class{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=mt,typeof e.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},sn=class{constructor(){this.type=vl}},on=class{constructor(e){this.timestamp=e,this.type=Ks}},an=class{constructor(e){this.timestamp=e,this.type=Bs}},ln=class{constructor(e){this.timestamp=e,this.type=qs}},cn=class{constructor(){this.type=Qs}},un=class{constructor(e){this.id=e,this.type=Gs}};var dn=class{constructor(e){this.index=e,this.type=Vs}},fn=class{constructor(e){this.actionId=e,this.type=Ws}},mn=class{constructor(e){this.nextLiftedState=e,this.type=yn}},pn=class{constructor(e){this.status=e,this.type=Hs}},hn=class{constructor(e){this.status=e,this.type=Zs}};var ri=new Ze("@ngrx/store-devtools Options"),Ls=new Ze("@ngrx/store-devtools Initial Config");function Xs(){return null}var _l="NgRx Store DevTools";function Tl(n){let e={maxAge:!1,monitor:Xs,actionSanitizer:void 0,stateSanitizer:void 0,name:_l,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},t=typeof n=="function"?n():n,i=t.logOnly?{pause:!0,export:!0,test:!0}:!1,r=t.features||i||e.features;r.import===!0&&(r.import="custom");let s=Object.assign({},e,{features:r},t);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function js(n,e){return n.filter(t=>e.indexOf(t)<0)}function Ys(n){let{computedStates:e,currentStateIndex:t}=n;if(t>=e.length){let{state:r}=e[e.length-1];return r}let{state:i}=e[t];return i}function ft(n){return new We(n,+Date.now())}function bl(n,e){return Object.keys(e).reduce((t,i)=>{let r=Number(i);return t[r]=Js(n,e[r],r),t},{})}function Js(n,e,t){return N(A({},e),{action:n(e.action,t)})}function wl(n,e){return e.map((t,i)=>({state:eo(n,t.state,i),error:t.error}))}function eo(n,e,t){return n(e,t)}function to(n){return n.predicate||n.actionsSafelist||n.actionsBlocklist}function Ml(n,e,t,i){let r=[],s={},o=[];return n.stagedActionIds.forEach((a,l)=>{let c=n.actionsById[a];c&&(l&&Sn(n.computedStates[l],c,e,t,i)||(s[a]=c,r.push(a),o.push(n.computedStates[l])))}),N(A({},n),{stagedActionIds:r,actionsById:s,computedStates:o})}function Sn(n,e,t,i,r){let s=t&&!t(n,e.action),o=i&&!e.action.type.match(i.map(l=>zs(l)).join("|")),a=r&&e.action.type.match(r.map(l=>zs(l)).join("|"));return s||o||a}function zs(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function io(n){return{ngZone:n?ce(vt):null,connectInZone:n}}var si=(()=>{let e=class e extends Ct{};e.\u0275fac=(()=>{let i;return function(s){return(i||(i=Un(e)))(s||e)}})(),e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),ti={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},gn=new Ze("@ngrx/store-devtools Redux Devtools Extension"),no=(()=>{let e=class e{constructor(i,r,s){this.config=r,this.dispatcher=s,this.zoneConfig=io(this.config.connectInZone),this.devtoolsExtension=i,this.createActionStreams()}notify(i,r){if(this.devtoolsExtension)if(i.type===mt){if(r.isLocked||r.isPaused)return;let s=Ys(r);if(to(this.config)&&Sn(s,i,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?eo(this.config.stateSanitizer,s,r.currentStateIndex):s,a=this.config.actionSanitizer?Js(this.config.actionSanitizer,i,r.nextActionId):i;this.sendToReduxDevtools(()=>this.extensionConnection.send(a,o))}else{let s=N(A({},r),{stagedActionIds:r.stagedActionIds,actionsById:this.config.actionSanitizer?bl(this.config.actionSanitizer,r.actionsById):r.actionsById,computedStates:this.config.stateSanitizer?wl(this.config.stateSanitizer,r.computedStates):r.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,s,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new fi(i=>{let r=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=r,r.init(),r.subscribe(s=>i.next(s)),r.unsubscribe}):Cn}createActionStreams(){let i=this.createChangesObservable().pipe(kn()),r=i.pipe(je(d=>d.type===ti.START)),s=i.pipe(je(d=>d.type===ti.STOP)),o=i.pipe(je(d=>d.type===ti.DISPATCH),Q(d=>this.unwrapAction(d.payload)),Rn(d=>d.type===yn?this.dispatcher.pipe(je(u=>u.type===Ti),In(1e3),Nn(1e3),Q(()=>d),Z(()=>W(d)),Dn(1)):W(d))),l=i.pipe(je(d=>d.type===ti.ACTION),Q(d=>this.unwrapAction(d.payload))).pipe(St(s)),c=o.pipe(St(s));this.start$=r.pipe(St(s)),this.actions$=this.start$.pipe(G(()=>l)),this.liftedActions$=this.start$.pipe(G(()=>c))}unwrapAction(i){return typeof i=="string"?(0,eval)(`(${i})`):i}getExtensionConfig(i){let r={name:i.name,features:i.features,serialize:i.serialize,autoPause:i.autoPause??!1,trace:i.trace??!1,traceLimit:i.traceLimit??75};return i.maxAge!==!1&&(r.maxAge=i.maxAge),r}sendToReduxDevtools(i){try{i()}catch(r){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",r)}}};e.\u0275fac=function(r){return new(r||e)(_(gn),_(ri),_(si))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),ni={type:_i},Ol="@ngrx/store-devtools/recompute",Cl={type:Ol};function ro(n,e,t,i,r){if(i)return{state:t,error:"Interrupted by an error up the chain"};let s=t,o;try{s=n(t,e)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function ii(n,e,t,i,r,s,o,a,l){if(e>=n.length&&n.length===s.length)return n;let c=n.slice(0,e),d=s.length-(l?1:0);for(let u=e;u-1?f:ro(t,g,m,T,a);c.push(P)}return l&&c.push(n[n.length-1]),c}function Al(n,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:ft(ni)},stagedActionIds:[0],skippedActionIds:[],committedState:n,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function Pl(n,e,t,i,r={}){return s=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:f,computedStates:m,isLocked:T,isPaused:w}=o||e;o||(c=Object.create(c));function P(I){let E=I,D=u.slice(1,E+1);for(let R=0;RD.indexOf(R)===-1),u=[0,...u.slice(E+1)],g=m[E].state,m=m.slice(E),f=f>E?f-E:0}function j(){c={0:ft(ni)},d=1,u=[0],p=[],g=m[f].state,f=0,m=[]}let v=0;switch(a.type){case Hs:{T=a.status,v=1/0;break}case Zs:{w=a.status,w?(u=[...u,d],c[d]=new We({type:"@ngrx/devtools/pause"},+Date.now()),d++,v=u.length-1,m=m.concat(m[m.length-1]),f===u.length-2&&f++,v=1/0):j();break}case Ks:{c={0:ft(ni)},d=1,u=[0],p=[],g=n,f=0,m=[];break}case qs:{j();break}case Bs:{c={0:ft(ni)},d=1,u=[0],p=[],f=0,m=[];break}case Gs:{let{id:I}=a;p.indexOf(I)===-1?p=[I,...p]:p=p.filter(D=>D!==I),v=u.indexOf(I);break}case El:{let{start:I,end:E,active:D}=a,R=[];for(let ie=I;ier.maxAge&&(m=ii(m,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);break}case Ti:{if(m.filter(E=>E.error).length>0)v=0,r.maxAge&&u.length>r.maxAge&&(m=ii(m,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);else{if(!w&&!T){f===u.length-1&&f++;let E=d++;c[E]=new We(a,+Date.now()),u=[...u,E],v=u.length-1,m=ii(m,v,s,g,c,u,p,t,w)}m=m.map(E=>N(A({},E),{state:s(E.state,Cl)})),f=u.length-1,r.maxAge&&u.length>r.maxAge&&P(u.length-r.maxAge),v=1/0}break}default:{v=1/0;break}}return m=ii(m,v,s,g,c,u,p,t,w),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:f,computedStates:m,isLocked:T,isPaused:w}}}var $s=(()=>{let e=class e{constructor(i,r,s,o,a,l,c,d){let u=Al(c,d.monitor),p=Pl(c,u,l,d.monitor,d),g=mi(mi(r.asObservable().pipe(Ln(1)),o.actions$).pipe(Q(ft)),i,o.liftedActions$).pipe(An(On)),f=s.pipe(Q(p)),m=io(d.connectInZone),T=new Mn(1);this.liftedStateSubscription=g.pipe(jn(f),Us(m),Fn(({state:j},[v,I])=>{let E=I(j,v);return v.type!==mt&&to(d)&&(E=Ml(E,d.predicate,d.actionsSafelist,d.actionsBlocklist)),o.notify(v,E),{state:E,action:v}},{state:u,action:null})).subscribe(({state:j,action:v})=>{if(T.next(j),v.type===mt){let I=v.action;a.next(I)}}),this.extensionStartSubscription=o.start$.pipe(Us(m)).subscribe(()=>{this.refresh()});let w=T.asObservable(),P=w.pipe(Q(Ys));Object.defineProperty(P,"state",{value:fr(P,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=i,this.liftedState=w,this.state=P}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(i){this.dispatcher.next(i)}next(i){this.dispatcher.next(i)}error(i){}complete(){}performAction(i){this.dispatch(new We(i,+Date.now()))}refresh(){this.dispatch(new sn)}reset(){this.dispatch(new on(+Date.now()))}rollback(){this.dispatch(new an(+Date.now()))}commit(){this.dispatch(new ln(+Date.now()))}sweep(){this.dispatch(new cn)}toggleAction(i){this.dispatch(new un(i))}jumpToAction(i){this.dispatch(new fn(i))}jumpToState(i){this.dispatch(new dn(i))}importState(i){this.dispatch(new mn(i))}lockChanges(i){this.dispatch(new pn(i))}pauseRecording(i){this.dispatch(new hn(i))}};e.\u0275fac=function(r){return new(r||e)(_(si),_(Ct),_(pr),_(no),_(gr),_(Kn),_(mr),_(ri))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function Us({ngZone:n,connectInZone:e}){return t=>e?new fi(i=>t.subscribe({next:r=>n.run(()=>i.next(r)),error:r=>n.run(()=>i.error(r)),complete:()=>n.run(()=>i.complete())})):t}var Il=new Ze("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function Rl(n,e){return!!n||e.monitor!==Xs}function Nl(){let n="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[n]<"u"?window[n]:null}function so(n={}){return $n([no,si,$s,{provide:Ls,useValue:n},{provide:Il,deps:[gn,ri],useFactory:Rl},{provide:gn,useFactory:Nl},{provide:ri,deps:[Ls],useFactory:Tl},{provide:yr,deps:[$s],useFactory:Dl},{provide:hr,useExisting:si}])}function Dl(n){return n.state}var uo=Co(co(),1);var vn="@ngrx/store/init",Vl="@ngrx/store/update-reducers",Wl=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/,Hl=(n,e)=>typeof e=="string"&&Wl.test(e)?new Date(e):e,Zl=(n,e)=>e,Xl=()=>typeof window<"u",Yl=n=>n.map(e=>{let t=e;if(typeof e=="object"&&(t=Object.keys(e)[0]),typeof t!="string")throw new TypeError(`localStorageSync Unknown Parameter Type: Expected type of string, got ${typeof t}`);return e}),Jl=(n,e,t,i)=>n.reduce((r,s)=>{let o=s,a=i?Hl:Zl,l,c;if(typeof o=="object"&&(o=Object.keys(o)[0],typeof s[o]=="function"?a=s[o]:(s[o].reviver&&(a=s[o].reviver),s[o].deserialize&&(l=s[o].deserialize)),s[o].encrypt&&s[o].decrypt?typeof s[o].encrypt=="function"&&typeof s[o].decrypt=="function"?c=s[o].decrypt:console.error(`Either encrypt or decrypt is not a function on '${s[o]}' key object.`):(s[o].encrypt||s[o].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${s[o]}' key object.`)),e!==void 0){let d=e.getItem(t(o));if(d){c&&(d=c(d));let u=new RegExp("{|\\["),p=d;return(d==="null"||d==="true"||d==="false"||u.test(d.charAt(0)))&&(p=JSON.parse(d,a)),Object.assign({},r,{[o]:l?l(p):p})}}return r},{});function fo(n,e){return e.reduce((t,i)=>{if(typeof i=="string"||typeof i=="number"){let r=n?.[i];r!==void 0&&(t[i]=r)}else for(let r in i)if(Object.prototype.hasOwnProperty.call(i,r)){let s=i[r];t[r]=fo(n[r],s)}return t},{})}var ec=(n,e,t,i,r,s)=>{if(s)try{if(s(n)!==!0)return}catch(o){if(o instanceof TypeError)return;throw o}e.forEach(o=>{let a=n[o],l,c,d;if(typeof o=="object"){let u=Object.keys(o)[0];if(a=n[u],typeof a<"u"&&o[u]){if(o[u].serialize)a=o[u].serialize(a);else{let p;o[u].reduce?p=o[u]:o[u].filter&&(p=o[u].filter),p&&(a=fo(a,p)),o[u].encrypt&&o[u].decrypt?typeof o[u].encrypt=="function"&&(d=o[u].encrypt):(o[u].encrypt||o[u].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${o[u]}' key object.`)}l=o[u].replacer,c=o[u].space}o=u}if(typeof a<"u"&&t!==void 0)try{d&&(a=d(typeof a=="string"?a:JSON.stringify(a,l,c))),t.setItem(i(o),typeof a=="string"?a:JSON.stringify(a,l,c))}catch(u){console.warn("Unable to save state to localStorage:",u)}else if(typeof a>"u"&&r&&t!==void 0)try{t.removeItem(i(o))}catch(u){console.warn(`Exception on removing/cleaning undefined '${o}' state`,u)}})},tc=(n,e,t)=>((t.type===vn||t.type===Vl)&&e&&(n=(0,uo.default)(n,e,{arrayMerge:(s,o,a)=>o})),n),mo=n=>e=>{(n.storage===void 0&&!n.checkStorageAvailability||n.checkStorageAvailability&&Xl())&&(n.storage=localStorage||window.localStorage),n.storageKeySerializer===void 0&&(n.storageKeySerializer=s=>s),n.restoreDates===void 0&&(n.restoreDates=!0);let t=n.mergeReducer;(t===void 0||typeof t!="function")&&(t=tc);let i=Yl(n.keys),r=n.rehydrate?Jl(i,n.storage,n.storageKeySerializer,n.restoreDates):void 0;return function(s,o){let a;return o.type===vn&&!s?a=e(s,o):a=A({},s),a=t(a,r,o),a=e(a,o),o.type!==vn&&ec(a,i,n.storage,n.storageKeySerializer,n.removeOnUndefined,n.syncCondition),a}};function ic(n){let t={keys:[{[$.CORE.ROOT]:[$.AUTH.ROOT,$.CONFIGS.ROOT,$.SCRIPT.ROOT]}],rehydrate:!0};return mo(t)(n)}var po=[ic];var ht=class extends br{constructor(e){if(!e)return;let t=new FormData;t.append("file",e),super("upload-model",t,!1)}};var go=(()=>{let e=class e{constructor(i,r,s){this.apiClient=i,this.bannerService=r,this.actions$=s,this.uploadFile$=ue(()=>this.actions$.pipe(de(ne.uploadFile),G(o=>this.apiClient.serviceCall(new ht(o.file)).pipe(Q(a=>ne.uploadFileSuccess({data:a})),Z(a=>W(ne.uploadFileFailure({error:a}))))))),this.uploadFileAndCallScript$=ue(()=>this.actions$.pipe(de(ne.uploadFileAndCallScript),G(o=>(this.bannerService.showInfo("Uploading file"),this.apiClient.serviceCall(new ht(o.file)).pipe(G(a=>(this.bannerService.showSuccess("File uploaded successfully."),[ne.uploadFileSuccess({data:a}),Nt.callScript({configs:o.configs})])),Z(a=>W(ne.uploadFileFailure({error:a}))))))))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Dt),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var nc={uploading:!1},yo=Ue(nc,V(ne.uploadFile,n=>N(A({},n),{uploading:!0})),V(ne.uploadFileSuccess,(n,{data:e})=>N(A({},n),{uploading:!1,uploadedData:e})),V(ne.uploadFileFailure,(n,{error:e})=>N(A({},n),{uploading:!1,error:e})));var Kd=At(Pt,({fileState:n})=>n.uploading),Bd=At(Pt,({fileState:n})=>n.uploadedData),qd=At(Pt,({fileState:n})=>n.error);var rc={quantizationModels:[],pruningModels:[],machineUnlearningModels:[],awqModels:[],currentModel:"",modelMetadata:{},error:void 0},So=Ue(rc,V(K.getModelsListSuccess,(n,{algorithmType:e,models:t})=>{switch(e){case tt.QUANTIZATION:return N(A({},n),{quantizationModels:t,error:void 0});case tt.PRUNING:return N(A({},n),{pruningModels:t,error:void 0});case tt.MACHINE_UNLEARNING:return N(A({},n),{machineUnlearningModels:t,error:void 0});case tt.AWQ:return N(A({},n),{awqModels:t,error:void 0});default:return n}}),V(K.getModelsListFailure,(n,{error:e})=>N(A({},n),{error:e})),V(K.getCurrentOrPreviousSelectedModelSuccess,(n,{model:e})=>N(A({},n),{currentModel:e})),V(K.getCurrentOrPreviousSelectedModelFailure,(n,{error:e})=>N(A({},n),{error:e})),V(K.getModelMetadataSuccess,(n,{metadata:e})=>N(A({},n),{modelMetadata:e,error:void 0})),V(K.getModelMetadataFailure,(n,{error:e})=>N(A({},n),{modelMetadata:{},error:e})));var oi=class extends we{constructor(e){super(`parameters/${e}`,void 0,void 0,!1),this.mock&&(this.url+="/get-response-body-200.json")}};var vo=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadParameters$=ue(()=>this.actions$.pipe(de(Oe.loadParameters),G(({arg:s})=>this.apiClient.serviceCall(new oi(s)).pipe(Q(o=>Oe.loadParametersSuccess({arg:s,parameters:o.parameters})),Z(o=>W(Oe.loadParametersFailure({arg:s,error:o})))))))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var sc={},Eo=Ue(sc,V(Oe.loadParameters,(n,{arg:e})=>N(A({},n),{[e]:N(A({},n[e]),{loaded:!1,error:null})})),V(Oe.loadParametersSuccess,(n,{arg:e,parameters:t})=>N(A({},n),{[e]:{data:t,error:null,loaded:!0}})),V(Oe.loadParametersFailure,(n,{arg:e,error:t})=>N(A({},n),{[e]:N(A({},n[e]),{error:t,loaded:!0})})));var _o={auth:Mr,configs:Zr,script:Ir,uploadFile:yo,charts:kr,parameters:Eo,terminal:Vr,statistics:qr,models:So};var ai=class extends we{constructor(e){super(`current-or-previous-selected-model/${e}`,void 0,void 0,!1)}};var li=class extends we{constructor(e,t){super(`model-metadata/${e}/${t}`,void 0,void 0,!1)}};var ci=class extends we{constructor(e){super(`models-list/${e}`,void 0,void 0,!1)}};var To=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadModels$=ue(()=>this.actions$.pipe(de(K.getModelsList),G(s=>{let{algorithmType:o}=s;return this.apiClient.serviceCall(new ci(o)).pipe(Q(a=>K.getModelsListSuccess({algorithmType:o,models:a})),Z(a=>W(K.getModelsListFailure({error:a}))))}))),this.getCurrentOrPreviousSelectedModel$=ue(()=>this.actions$.pipe(de(K.getCurrentOrPreviousSelectedModel),G(s=>this.apiClient.serviceCall(new ai(s.algorithmType)).pipe(Q(o=>K.getCurrentOrPreviousSelectedModelSuccess({model:o.model})),Z(o=>W(K.getCurrentOrPreviousSelectedModelFailure({error:o}))))))),this.getModelMetadata$=ue(()=>this.actions$.pipe(de(K.getModelMetadata),G(s=>{let{algorithmType:o,modelName:a}=s;return this.apiClient.serviceCall(new li(o,a)).pipe(Q(l=>K.getModelMetadataSuccess({metadata:l})),Z(l=>W(K.getModelMetadataFailure({error:l}))))})))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function bo(){return[so({maxAge:25,logOnly:Tt(),connectInZone:!0}),Se([Je.forRoot({},{metaReducers:po}),et.forRoot([]),Je.forFeature("core",_o)]),Se(et.forFeature([wr,Pr,go,Fr,vo,Gr,Br,To]))]}var wo={providers:[Se(Os),or(Rs),Ds(),bo(),xs(),Ns(),ks(),nr(),Yn(Jn())]};tr(xt,wo).catch(n=>console.error(n)); +import{b as Rr,c as Nr,h as Hr}from"./chunk-V2KM6V6H.js";import{a as Zr}from"./chunk-4PRKP63F.js";import{a as Cr}from"./chunk-YGMM67YV.js";import{a as Be,b as fe}from"./chunk-P2GS2NFW.js";import{a as Er}from"./chunk-P6DGDYT5.js";import{c as Dr}from"./chunk-Y56BMHRM.js";import"./chunk-DCK4WYKK.js";import{b as Gr,c as Vr}from"./chunk-UHYTAY7O.js";import{a as Ar,b as it,c as nt,d as Wr,g as K}from"./chunk-DSSER6OZ.js";import"./chunk-OWJBZ7BL.js";import{a as Oe}from"./chunk-BTI2I76F.js";import{a as Pr,b as Ir}from"./chunk-SLUK3QXN.js";import"./chunk-GACPU6QS.js";import"./chunk-6JSLXF7X.js";import{a as Sr,b as vr}from"./chunk-NAEQPCWM.js";import{a as Qr,b as Oi}from"./chunk-HOFUFSNV.js";import{c as tt}from"./chunk-LRK34XDC.js";import"./chunk-GWFXRHCV.js";import"./chunk-XX6ZYDLH.js";import{d as xr}from"./chunk-GYTTCMYG.js";import{a as Nt,b as bi,c as Dt,e as Fr,f as kr,g as Lr,h as jr,i as ne,j as zr,k as wi,l as $r,m as Ur,n as Kr,p as Br,q as qr,s as Mi}from"./chunk-3IJULEGV.js";import{a as Mt,b as ar}from"./chunk-QJ55TOIV.js";import{a as qe}from"./chunk-CYUWMGXJ.js";import{g as _r}from"./chunk-HULQWYRR.js";import{$ as Ze,$a as x,$b as Xn,$c as C,Aa as gi,Ab as Te,Ae as br,Be as Me,C as mi,Cc as $e,Ce as wr,D as je,Da as q,Dc as Ei,De as Mr,Ea as Xe,Eb as Qn,Ec as Ot,Ee as Or,F as Z,Fb as Gn,Fc as fr,G as Rn,H as Nn,Ha as Bn,I as Dn,J as xn,Ja as vt,Jb as Tt,Jc as _i,Kc as Ct,Lc as mr,M as Fn,Mc as pr,N as kn,Nc as hr,Oc as Ti,P as Ln,Pa as ve,Pb as Vn,Pc as gr,Qc as yr,R as G,Ra as Ee,S as St,Sc as At,Uc as Je,V as jn,Vc as V,W as O,Wb as Wn,Wc as Ue,Xa as _e,Xc as ue,Yc as Ke,Z as L,Za as Et,Zb as Hn,Zc as de,_ as pi,_a as _t,_b as Zn,_c as et,a as A,ab as F,ac as Si,ad as Pt,b as N,ba as _,bb as z,bc as Yn,c as wn,ca as ce,cc as Jn,d as Oo,dc as er,e as Co,ec as tr,fa as zn,fc as ir,ga as ye,gc as nr,h as fi,ha as hi,ib as yi,jc as bt,ka as $n,kb as oe,kc as be,l as Mn,la as Se,lc as rr,mc as sr,n as On,nc as or,o as Cn,oc as wt,p as yt,pc as b,q as An,qc as ae,rc as lr,s as W,sa as Un,sc as cr,t as Pn,tb as Re,ub as qn,uc as ur,ue as Tr,v as In,va as Kn,vb as Ye,vc as ze,ve as It,w as Q,wc as vi,we as Rt,yc as dr,ze as we}from"./chunk-DL2LTWBU.js";var co=Oo((vd,lo)=>{"use strict";var xl=function(e){return Fl(e)&&!kl(e)};function Fl(n){return!!n&&typeof n=="object"}function kl(n){var e=Object.prototype.toString.call(n);return e==="[object RegExp]"||e==="[object Date]"||zl(n)}var Ll=typeof Symbol=="function"&&Symbol.for,jl=Ll?Symbol.for("react.element"):60103;function zl(n){return n.$$typeof===jl}function $l(n){return Array.isArray(n)?[]:{}}function pt(n,e){return e.clone!==!1&&e.isMergeableObject(n)?He($l(n),n,e):n}function Ul(n,e,t){return n.concat(e).map(function(i){return pt(i,t)})}function Kl(n,e){if(!e.customMerge)return He;var t=e.customMerge(n);return typeof t=="function"?t:He}function Bl(n){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(n).filter(function(e){return Object.propertyIsEnumerable.call(n,e)}):[]}function oo(n){return Object.keys(n).concat(Bl(n))}function ao(n,e){try{return e in n}catch{return!1}}function ql(n,e){return ao(n,e)&&!(Object.hasOwnProperty.call(n,e)&&Object.propertyIsEnumerable.call(n,e))}function Ql(n,e,t){var i={};return t.isMergeableObject(n)&&oo(n).forEach(function(r){i[r]=pt(n[r],t)}),oo(e).forEach(function(r){ql(n,r)||(ao(n,r)&&t.isMergeableObject(e[r])?i[r]=Kl(r,t)(n[r],e[r],t):i[r]=pt(e[r],t))}),i}function He(n,e,t){t=t||{},t.arrayMerge=t.arrayMerge||Ul,t.isMergeableObject=t.isMergeableObject||xl,t.cloneUnlessOtherwiseSpecified=pt;var i=Array.isArray(e),r=Array.isArray(n),s=i===r;return s?i?t.arrayMerge(n,e,t):Ql(n,e,t):pt(e,t)}He.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(i,r){return He(i,r,t)},{})};var Gl=He;lo.exports=Gl});var me,xt=(me=class{constructor(){this.title="modelsmith"}ngOnInit(){}},me.\u0275fac=function(t){return new(t||me)},me.\u0275cmp=ye({type:me,selectors:[["app-root"]],standalone:!0,features:[Te],decls:1,vars:0,template:function(t,i){t&1&&z(0,"router-outlet")},dependencies:[bt]}),me);xt=yt([Mt()],xt);function Xr(n){return new O(3e3,!1)}function Ao(){return new O(3100,!1)}function Po(){return new O(3101,!1)}function Io(n){return new O(3001,!1)}function Ro(n){return new O(3003,!1)}function No(n){return new O(3004,!1)}function Do(n,e){return new O(3005,!1)}function xo(){return new O(3006,!1)}function Fo(){return new O(3007,!1)}function ko(n,e){return new O(3008,!1)}function Lo(n){return new O(3002,!1)}function jo(n,e,t,i,r){return new O(3010,!1)}function zo(){return new O(3011,!1)}function $o(){return new O(3012,!1)}function Uo(){return new O(3200,!1)}function Ko(){return new O(3202,!1)}function Bo(){return new O(3013,!1)}function qo(n){return new O(3014,!1)}function Qo(n){return new O(3015,!1)}function Go(n){return new O(3016,!1)}function Vo(n,e){return new O(3404,!1)}function Wo(n){return new O(3502,!1)}function Ho(n){return new O(3503,!1)}function Zo(){return new O(3300,!1)}function Xo(n){return new O(3504,!1)}function Yo(n){return new O(3301,!1)}function Jo(n,e){return new O(3302,!1)}function ea(n){return new O(3303,!1)}function ta(n,e){return new O(3400,!1)}function ia(n){return new O(3401,!1)}function na(n){return new O(3402,!1)}function ra(n,e){return new O(3505,!1)}function Ce(n){switch(n.length){case 0:return new $e;case 1:return n[0];default:return new Ei(n)}}function ds(n,e,t=new Map,i=new Map){let r=[],s=[],o=-1,a=null;if(e.forEach(l=>{let c=l.get("offset"),d=c==o,u=d&&a||new Map;l.forEach((p,g)=>{let f=g,m=p;if(g!=="offset")switch(f=n.normalizePropertyName(f,r),m){case Ot:m=t.get(g);break;case ae:m=i.get(g);break;default:m=n.normalizeStyleValue(g,f,m,r);break}u.set(f,m)}),d||s.push(u),a=u,o=c}),r.length)throw Wo(r);return s}function Hi(n,e,t,i){switch(e){case"start":n.onStart(()=>i(t&&Ci(t,"start",n)));break;case"done":n.onDone(()=>i(t&&Ci(t,"done",n)));break;case"destroy":n.onDestroy(()=>i(t&&Ci(t,"destroy",n)));break}}function Ci(n,e,t){let i=t.totalTime,r=!!t.disabled,s=Zi(n.element,n.triggerName,n.fromState,n.toState,e||n.phaseName,i??n.totalTime,r),o=n._data;return o!=null&&(s._data=o),s}function Zi(n,e,t,i,r="",s=0,o){return{element:n,triggerName:e,fromState:t,toState:i,phaseName:r,totalTime:s,disabled:!!o}}function J(n,e,t){let i=n.get(e);return i||n.set(e,i=t),i}function Yr(n){let e=n.indexOf(":"),t=n.substring(1,e),i=n.slice(e+1);return[t,i]}var sa=typeof document>"u"?null:document.documentElement;function Xi(n){let e=n.parentNode||n.host||null;return e===sa?null:e}function oa(n){return n.substring(1,6)=="ebkit"}var Ne=null,Jr=!1;function aa(n){Ne||(Ne=la()||{},Jr=Ne.style?"WebkitAppearance"in Ne.style:!1);let e=!0;return Ne.style&&!oa(n)&&(e=n in Ne.style,!e&&Jr&&(e="Webkit"+n.charAt(0).toUpperCase()+n.slice(1)in Ne.style)),e}function la(){return typeof document<"u"?document.body:null}function fs(n,e){for(;e;){if(e===n)return!0;e=Xi(e)}return!1}function ms(n,e,t){if(t)return Array.from(n.querySelectorAll(e));let i=n.querySelector(e);return i?[i]:[]}var Yi=(()=>{let e=class e{validateStyleProperty(i){return aa(i)}containsElement(i,r){return fs(i,r)}getParentElement(i){return Xi(i)}query(i,r,s){return ms(i,r,s)}computeStyle(i,r,s){return s||""}animate(i,r,s,o,a,l=[],c){return new $e(s,o)}};e.\u0275fac=function(r){return new(r||e)},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),nn=class nn{};nn.NOOP=new Yi;var Fe=nn,ke=class{};var ca=1e3,ps="{{",ua="}}",hs="ng-enter",Di="ng-leave",Ft="ng-trigger",$t=".ng-trigger",es="ng-animating",xi=".ng-animating";function pe(n){if(typeof n=="number")return n;let e=n.match(/^(-?[\.\d]+)(m?s)/);return!e||e.length<2?0:Fi(parseFloat(e[1]),e[2])}function Fi(n,e){switch(e){case"s":return n*ca;default:return n}}function Ut(n,e,t){return n.hasOwnProperty("duration")?n:da(n,e,t)}function da(n,e,t){let i=/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i,r,s=0,o="";if(typeof n=="string"){let a=n.match(i);if(a===null)return e.push(Xr(n)),{duration:0,delay:0,easing:""};r=Fi(parseFloat(a[1]),a[2]);let l=a[3];l!=null&&(s=Fi(parseFloat(l),a[4]));let c=a[5];c&&(o=c)}else r=n;if(!t){let a=!1,l=e.length;r<0&&(e.push(Ao()),a=!0),s<0&&(e.push(Po()),a=!0),a&&e.splice(l,0,Xr(n))}return{duration:r,delay:s,easing:o}}function fa(n){return n.length?n[0]instanceof Map?n:n.map(e=>new Map(Object.entries(e))):[]}function le(n,e,t){e.forEach((i,r)=>{let s=Ji(r);t&&!t.has(r)&&t.set(r,n.style[s]),n.style[s]=i})}function xe(n,e){e.forEach((t,i)=>{let r=Ji(i);n.style[r]=""})}function rt(n){return Array.isArray(n)?n.length==1?n[0]:ur(n):n}function ma(n,e,t){let i=e.params||{},r=gs(n);r.length&&r.forEach(s=>{i.hasOwnProperty(s)||t.push(Io(s))})}var ki=new RegExp(`${ps}\\s*(.+?)\\s*${ua}`,"g");function gs(n){let e=[];if(typeof n=="string"){let t;for(;t=ki.exec(n);)e.push(t[1]);ki.lastIndex=0}return e}function ot(n,e,t){let i=`${n}`,r=i.replace(ki,(s,o)=>{let a=e[o];return a==null&&(t.push(Ro(o)),a=""),a.toString()});return r==i?n:r}var pa=/-+([a-z0-9])/g;function Ji(n){return n.replace(pa,(...e)=>e[1].toUpperCase())}function ha(n,e){return n===0||e===0}function ga(n,e,t){if(t.size&&e.length){let i=e[0],r=[];if(t.forEach((s,o)=>{i.has(o)||r.push(o),i.set(o,s)}),r.length)for(let s=1;so.set(a,en(n,a)))}}return e}function Y(n,e,t){switch(e.type){case b.Trigger:return n.visitTrigger(e,t);case b.State:return n.visitState(e,t);case b.Transition:return n.visitTransition(e,t);case b.Sequence:return n.visitSequence(e,t);case b.Group:return n.visitGroup(e,t);case b.Animate:return n.visitAnimate(e,t);case b.Keyframes:return n.visitKeyframes(e,t);case b.Style:return n.visitStyle(e,t);case b.Reference:return n.visitReference(e,t);case b.AnimateChild:return n.visitAnimateChild(e,t);case b.AnimateRef:return n.visitAnimateRef(e,t);case b.Query:return n.visitQuery(e,t);case b.Stagger:return n.visitStagger(e,t);default:throw No(e.type)}}function en(n,e){return window.getComputedStyle(n)[e]}var ya=new Set(["width","height","minWidth","minHeight","maxWidth","maxHeight","left","top","bottom","right","fontSize","outlineWidth","outlineOffset","paddingTop","paddingLeft","paddingBottom","paddingRight","marginTop","marginLeft","marginBottom","marginRight","borderRadius","borderWidth","borderTopWidth","borderLeftWidth","borderRightWidth","borderBottomWidth","textIndent","perspective"]),Kt=class extends ke{normalizePropertyName(e,t){return Ji(e)}normalizeStyleValue(e,t,i,r){let s="",o=i.toString().trim();if(ya.has(t)&&i!==0&&i!=="0")if(typeof i=="number")s="px";else{let a=i.match(/^[+-]?[\d\.]+([a-z]*)$/);a&&a[1].length==0&&r.push(Do(e,i))}return o+s}};var Bt="*";function Sa(n,e){let t=[];return typeof n=="string"?n.split(/\s*,\s*/).forEach(i=>va(i,t,e)):t.push(n),t}function va(n,e,t){if(n[0]==":"){let l=Ea(n,t);if(typeof l=="function"){e.push(l);return}n=l}let i=n.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(i==null||i.length<4)return t.push(Qo(n)),e;let r=i[1],s=i[2],o=i[3];e.push(ts(r,o));let a=r==Bt&&o==Bt;s[0]=="<"&&!a&&e.push(ts(o,r))}function Ea(n,e){switch(n){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(t,i)=>parseFloat(i)>parseFloat(t);case":decrement":return(t,i)=>parseFloat(i) *"}}var kt=new Set(["true","1"]),Lt=new Set(["false","0"]);function ts(n,e){let t=kt.has(n)||Lt.has(n),i=kt.has(e)||Lt.has(e);return(r,s)=>{let o=n==Bt||n==r,a=e==Bt||e==s;return!o&&t&&typeof r=="boolean"&&(o=r?kt.has(n):Lt.has(n)),!a&&i&&typeof s=="boolean"&&(a=s?kt.has(e):Lt.has(e)),o&&a}}var ys=":self",_a=new RegExp(`s*${ys}s*,?`,"g");function Ss(n,e,t,i){return new Li(n).build(e,t,i)}var is="",Li=class{constructor(e){this._driver=e}build(e,t,i){let r=new ji(t);return this._resetContextStyleTimingState(r),Y(this,rt(e),r)}_resetContextStyleTimingState(e){e.currentQuerySelector=is,e.collectedStyles=new Map,e.collectedStyles.set(is,new Map),e.currentTime=0}visitTrigger(e,t){let i=t.queryCount=0,r=t.depCount=0,s=[],o=[];return e.name.charAt(0)=="@"&&t.errors.push(xo()),e.definitions.forEach(a=>{if(this._resetContextStyleTimingState(t),a.type==b.State){let l=a,c=l.name;c.toString().split(/\s*,\s*/).forEach(d=>{l.name=d,s.push(this.visitState(l,t))}),l.name=c}else if(a.type==b.Transition){let l=this.visitTransition(a,t);i+=l.queryCount,r+=l.depCount,o.push(l)}else t.errors.push(Fo())}),{type:b.Trigger,name:e.name,states:s,transitions:o,queryCount:i,depCount:r,options:null}}visitState(e,t){let i=this.visitStyle(e.styles,t),r=e.options&&e.options.params||null;if(i.containsDynamicStyles){let s=new Set,o=r||{};i.styles.forEach(a=>{a instanceof Map&&a.forEach(l=>{gs(l).forEach(c=>{o.hasOwnProperty(c)||s.add(c)})})}),s.size&&t.errors.push(ko(e.name,[...s.values()]))}return{type:b.State,name:e.name,style:i,options:r?{params:r}:null}}visitTransition(e,t){t.queryCount=0,t.depCount=0;let i=Y(this,rt(e.animation),t),r=Sa(e.expr,t.errors);return{type:b.Transition,matchers:r,animation:i,queryCount:t.queryCount,depCount:t.depCount,options:De(e.options)}}visitSequence(e,t){return{type:b.Sequence,steps:e.steps.map(i=>Y(this,i,t)),options:De(e.options)}}visitGroup(e,t){let i=t.currentTime,r=0,s=e.steps.map(o=>{t.currentTime=i;let a=Y(this,o,t);return r=Math.max(r,t.currentTime),a});return t.currentTime=r,{type:b.Group,steps:s,options:De(e.options)}}visitAnimate(e,t){let i=Ma(e.timings,t.errors);t.currentAnimateTimings=i;let r,s=e.styles?e.styles:ze({});if(s.type==b.Keyframes)r=this.visitKeyframes(s,t);else{let o=e.styles,a=!1;if(!o){a=!0;let c={};i.easing&&(c.easing=i.easing),o=ze(c)}t.currentTime+=i.duration+i.delay;let l=this.visitStyle(o,t);l.isEmptyStep=a,r=l}return t.currentAnimateTimings=null,{type:b.Animate,timings:i,style:r,options:null}}visitStyle(e,t){let i=this._makeStyleAst(e,t);return this._validateStyleAst(i,t),i}_makeStyleAst(e,t){let i=[],r=Array.isArray(e.styles)?e.styles:[e.styles];for(let a of r)typeof a=="string"?a===ae?i.push(a):t.errors.push(Lo(a)):i.push(new Map(Object.entries(a)));let s=!1,o=null;return i.forEach(a=>{if(a instanceof Map&&(a.has("easing")&&(o=a.get("easing"),a.delete("easing")),!s)){for(let l of a.values())if(l.toString().indexOf(ps)>=0){s=!0;break}}}),{type:b.Style,styles:i,easing:o,offset:e.offset,containsDynamicStyles:s,options:null}}_validateStyleAst(e,t){let i=t.currentAnimateTimings,r=t.currentTime,s=t.currentTime;i&&s>0&&(s-=i.duration+i.delay),e.styles.forEach(o=>{typeof o!="string"&&o.forEach((a,l)=>{let c=t.collectedStyles.get(t.currentQuerySelector),d=c.get(l),u=!0;d&&(s!=r&&s>=d.startTime&&r<=d.endTime&&(t.errors.push(jo(l,d.startTime,d.endTime,s,r)),u=!1),s=d.startTime),u&&c.set(l,{startTime:s,endTime:r}),t.options&&ma(a,t.options,t.errors)})})}visitKeyframes(e,t){let i={type:b.Keyframes,styles:[],options:null};if(!t.currentAnimateTimings)return t.errors.push(zo()),i;let r=1,s=0,o=[],a=!1,l=!1,c=0,d=e.steps.map(w=>{let P=this._makeStyleAst(w,t),j=P.offset!=null?P.offset:wa(P.styles),v=0;return j!=null&&(s++,v=P.offset=j),l=l||v<0||v>1,a=a||v0&&s{let j=p>0?P==g?1:p*P:o[P],v=j*T;t.currentTime=f+m.delay+v,m.duration=v,this._validateStyleAst(w,t),w.offset=j,i.styles.push(w)}),i}visitReference(e,t){return{type:b.Reference,animation:Y(this,rt(e.animation),t),options:De(e.options)}}visitAnimateChild(e,t){return t.depCount++,{type:b.AnimateChild,options:De(e.options)}}visitAnimateRef(e,t){return{type:b.AnimateRef,animation:this.visitReference(e.animation,t),options:De(e.options)}}visitQuery(e,t){let i=t.currentQuerySelector,r=e.options||{};t.queryCount++,t.currentQuery=e;let[s,o]=Ta(e.selector);t.currentQuerySelector=i.length?i+" "+s:s,J(t.collectedStyles,t.currentQuerySelector,new Map);let a=Y(this,rt(e.animation),t);return t.currentQuery=null,t.currentQuerySelector=i,{type:b.Query,selector:s,limit:r.limit||0,optional:!!r.optional,includeSelf:o,animation:a,originalSelector:e.selector,options:De(e.options)}}visitStagger(e,t){t.currentQuery||t.errors.push(Bo());let i=e.timings==="full"?{duration:0,delay:0,easing:"full"}:Ut(e.timings,t.errors,!0);return{type:b.Stagger,animation:Y(this,rt(e.animation),t),timings:i,options:null}}};function Ta(n){let e=!!n.split(/\s*,\s*/).find(t=>t==ys);return e&&(n=n.replace(_a,"")),n=n.replace(/@\*/g,$t).replace(/@\w+/g,t=>$t+"-"+t.slice(1)).replace(/:animating/g,xi),[n,e]}function ba(n){return n?A({},n):null}var ji=class{constructor(e){this.errors=e,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles=new Map,this.options=null,this.unsupportedCSSPropertiesFound=new Set}};function wa(n){if(typeof n=="string")return null;let e=null;if(Array.isArray(n))n.forEach(t=>{if(t instanceof Map&&t.has("offset")){let i=t;e=parseFloat(i.get("offset")),i.delete("offset")}});else if(n instanceof Map&&n.has("offset")){let t=n;e=parseFloat(t.get("offset")),t.delete("offset")}return e}function Ma(n,e){if(n.hasOwnProperty("duration"))return n;if(typeof n=="number"){let s=Ut(n,e).duration;return Ai(s,0,"")}let t=n;if(t.split(/\s+/).some(s=>s.charAt(0)=="{"&&s.charAt(1)=="{")){let s=Ai(0,0,"");return s.dynamic=!0,s.strValue=t,s}let r=Ut(t,e);return Ai(r.duration,r.delay,r.easing)}function De(n){return n?(n=A({},n),n.params&&(n.params=ba(n.params))):n={},n}function Ai(n,e,t){return{duration:n,delay:e,easing:t}}function tn(n,e,t,i,r,s,o=null,a=!1){return{type:1,element:n,keyframes:e,preStyleProps:t,postStyleProps:i,duration:r,delay:s,totalTime:r+s,easing:o,subTimeline:a}}var at=class{constructor(){this._map=new Map}get(e){return this._map.get(e)||[]}append(e,t){let i=this._map.get(e);i||this._map.set(e,i=[]),i.push(...t)}has(e){return this._map.has(e)}clear(){this._map.clear()}},Oa=1,Ca=":enter",Aa=new RegExp(Ca,"g"),Pa=":leave",Ia=new RegExp(Pa,"g");function vs(n,e,t,i,r,s=new Map,o=new Map,a,l,c=[]){return new zi().buildKeyframes(n,e,t,i,r,s,o,a,l,c)}var zi=class{buildKeyframes(e,t,i,r,s,o,a,l,c,d=[]){c=c||new at;let u=new $i(e,t,c,r,s,d,[]);u.options=l;let p=l.delay?pe(l.delay):0;u.currentTimeline.delayNextStep(p),u.currentTimeline.setStyles([o],null,u.errors,l),Y(this,i,u);let g=u.timelines.filter(f=>f.containsAnimation());if(g.length&&a.size){let f;for(let m=g.length-1;m>=0;m--){let T=g[m];if(T.element===t){f=T;break}}f&&!f.allowOnlyTimelineStyles()&&f.setStyles([a],null,u.errors,l)}return g.length?g.map(f=>f.buildKeyframes()):[tn(t,[],[],[],0,p,"",!1)]}visitTrigger(e,t){}visitState(e,t){}visitTransition(e,t){}visitAnimateChild(e,t){let i=t.subInstructions.get(t.element);if(i){let r=t.createSubContext(e.options),s=t.currentTimeline.currentTime,o=this._visitSubInstructions(i,r,r.options);s!=o&&t.transformIntoNewTimeline(o)}t.previousNode=e}visitAnimateRef(e,t){let i=t.createSubContext(e.options);i.transformIntoNewTimeline(),this._applyAnimationRefDelays([e.options,e.animation.options],t,i),this.visitReference(e.animation,i),t.transformIntoNewTimeline(i.currentTimeline.currentTime),t.previousNode=e}_applyAnimationRefDelays(e,t,i){for(let r of e){let s=r?.delay;if(s){let o=typeof s=="number"?s:pe(ot(s,r?.params??{},t.errors));i.delayNextStep(o)}}}_visitSubInstructions(e,t,i){let s=t.currentTimeline.currentTime,o=i.duration!=null?pe(i.duration):null,a=i.delay!=null?pe(i.delay):null;return o!==0&&e.forEach(l=>{let c=t.appendInstructionToTimeline(l,o,a);s=Math.max(s,c.duration+c.delay)}),s}visitReference(e,t){t.updateOptions(e.options,!0),Y(this,e.animation,t),t.previousNode=e}visitSequence(e,t){let i=t.subContextCount,r=t,s=e.options;if(s&&(s.params||s.delay)&&(r=t.createSubContext(s),r.transformIntoNewTimeline(),s.delay!=null)){r.previousNode.type==b.Style&&(r.currentTimeline.snapshotCurrentStyles(),r.previousNode=qt);let o=pe(s.delay);r.delayNextStep(o)}e.steps.length&&(e.steps.forEach(o=>Y(this,o,r)),r.currentTimeline.applyStylesToKeyframe(),r.subContextCount>i&&r.transformIntoNewTimeline()),t.previousNode=e}visitGroup(e,t){let i=[],r=t.currentTimeline.currentTime,s=e.options&&e.options.delay?pe(e.options.delay):0;e.steps.forEach(o=>{let a=t.createSubContext(e.options);s&&a.delayNextStep(s),Y(this,o,a),r=Math.max(r,a.currentTimeline.currentTime),i.push(a.currentTimeline)}),i.forEach(o=>t.currentTimeline.mergeTimelineCollectedStyles(o)),t.transformIntoNewTimeline(r),t.previousNode=e}_visitTiming(e,t){if(e.dynamic){let i=e.strValue,r=t.params?ot(i,t.params,t.errors):i;return Ut(r,t.errors)}else return{duration:e.duration,delay:e.delay,easing:e.easing}}visitAnimate(e,t){let i=t.currentAnimateTimings=this._visitTiming(e.timings,t),r=t.currentTimeline;i.delay&&(t.incrementTime(i.delay),r.snapshotCurrentStyles());let s=e.style;s.type==b.Keyframes?this.visitKeyframes(s,t):(t.incrementTime(i.duration),this.visitStyle(s,t),r.applyStylesToKeyframe()),t.currentAnimateTimings=null,t.previousNode=e}visitStyle(e,t){let i=t.currentTimeline,r=t.currentAnimateTimings;!r&&i.hasCurrentStyleProperties()&&i.forwardFrame();let s=r&&r.easing||e.easing;e.isEmptyStep?i.applyEmptyStep(s):i.setStyles(e.styles,s,t.errors,t.options),t.previousNode=e}visitKeyframes(e,t){let i=t.currentAnimateTimings,r=t.currentTimeline.duration,s=i.duration,a=t.createSubContext().currentTimeline;a.easing=i.easing,e.styles.forEach(l=>{let c=l.offset||0;a.forwardTime(c*s),a.setStyles(l.styles,l.easing,t.errors,t.options),a.applyStylesToKeyframe()}),t.currentTimeline.mergeTimelineCollectedStyles(a),t.transformIntoNewTimeline(r+s),t.previousNode=e}visitQuery(e,t){let i=t.currentTimeline.currentTime,r=e.options||{},s=r.delay?pe(r.delay):0;s&&(t.previousNode.type===b.Style||i==0&&t.currentTimeline.hasCurrentStyleProperties())&&(t.currentTimeline.snapshotCurrentStyles(),t.previousNode=qt);let o=i,a=t.invokeQuery(e.selector,e.originalSelector,e.limit,e.includeSelf,!!r.optional,t.errors);t.currentQueryTotal=a.length;let l=null;a.forEach((c,d)=>{t.currentQueryIndex=d;let u=t.createSubContext(e.options,c);s&&u.delayNextStep(s),c===t.element&&(l=u.currentTimeline),Y(this,e.animation,u),u.currentTimeline.applyStylesToKeyframe();let p=u.currentTimeline.currentTime;o=Math.max(o,p)}),t.currentQueryIndex=0,t.currentQueryTotal=0,t.transformIntoNewTimeline(o),l&&(t.currentTimeline.mergeTimelineCollectedStyles(l),t.currentTimeline.snapshotCurrentStyles()),t.previousNode=e}visitStagger(e,t){let i=t.parentContext,r=t.currentTimeline,s=e.timings,o=Math.abs(s.duration),a=o*(t.currentQueryTotal-1),l=o*t.currentQueryIndex;switch(s.duration<0?"reverse":s.easing){case"reverse":l=a-l;break;case"full":l=i.currentStaggerTime;break}let d=t.currentTimeline;l&&d.delayNextStep(l);let u=d.currentTime;Y(this,e.animation,t),t.previousNode=e,i.currentStaggerTime=r.currentTime-u+(r.startTime-i.currentTimeline.startTime)}},qt={},$i=class n{constructor(e,t,i,r,s,o,a,l){this._driver=e,this.element=t,this.subInstructions=i,this._enterClassName=r,this._leaveClassName=s,this.errors=o,this.timelines=a,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=qt,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=l||new Qt(this._driver,t,0),a.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(e,t){if(!e)return;let i=e,r=this.options;i.duration!=null&&(r.duration=pe(i.duration)),i.delay!=null&&(r.delay=pe(i.delay));let s=i.params;if(s){let o=r.params;o||(o=this.options.params={}),Object.keys(s).forEach(a=>{(!t||!o.hasOwnProperty(a))&&(o[a]=ot(s[a],o,this.errors))})}}_copyOptions(){let e={};if(this.options){let t=this.options.params;if(t){let i=e.params={};Object.keys(t).forEach(r=>{i[r]=t[r]})}}return e}createSubContext(e=null,t,i){let r=t||this.element,s=new n(this._driver,r,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(r,i||0));return s.previousNode=this.previousNode,s.currentAnimateTimings=this.currentAnimateTimings,s.options=this._copyOptions(),s.updateOptions(e),s.currentQueryIndex=this.currentQueryIndex,s.currentQueryTotal=this.currentQueryTotal,s.parentContext=this,this.subContextCount++,s}transformIntoNewTimeline(e){return this.previousNode=qt,this.currentTimeline=this.currentTimeline.fork(this.element,e),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(e,t,i){let r={duration:t??e.duration,delay:this.currentTimeline.currentTime+(i??0)+e.delay,easing:""},s=new Ui(this._driver,e.element,e.keyframes,e.preStyleProps,e.postStyleProps,r,e.stretchStartingKeyframe);return this.timelines.push(s),r}incrementTime(e){this.currentTimeline.forwardTime(this.currentTimeline.duration+e)}delayNextStep(e){e>0&&this.currentTimeline.delayNextStep(e)}invokeQuery(e,t,i,r,s,o){let a=[];if(r&&a.push(this.element),e.length>0){e=e.replace(Aa,"."+this._enterClassName),e=e.replace(Ia,"."+this._leaveClassName);let l=i!=1,c=this._driver.query(this.element,e,l);i!==0&&(c=i<0?c.slice(c.length+i,c.length):c.slice(0,i)),a.push(...c)}return!s&&a.length==0&&o.push(qo(t)),a}},Qt=class n{constructor(e,t,i,r){this._driver=e,this.element=t,this.startTime=i,this._elementTimelineStylesLookup=r,this.duration=0,this.easing=null,this._previousKeyframe=new Map,this._currentKeyframe=new Map,this._keyframes=new Map,this._styleSummary=new Map,this._localTimelineStyles=new Map,this._pendingStyles=new Map,this._backFill=new Map,this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(t),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(t,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.hasCurrentStyleProperties();default:return!0}}hasCurrentStyleProperties(){return this._currentKeyframe.size>0}get currentTime(){return this.startTime+this.duration}delayNextStep(e){let t=this._keyframes.size===1&&this._pendingStyles.size;this.duration||t?(this.forwardTime(this.currentTime+e),t&&this.snapshotCurrentStyles()):this.startTime+=e}fork(e,t){return this.applyStylesToKeyframe(),new n(this._driver,e,t||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=new Map,this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=Oa,this._loadKeyframe()}forwardTime(e){this.applyStylesToKeyframe(),this.duration=e,this._loadKeyframe()}_updateStyle(e,t){this._localTimelineStyles.set(e,t),this._globalTimelineStyles.set(e,t),this._styleSummary.set(e,{time:this.currentTime,value:t})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(e){e&&this._previousKeyframe.set("easing",e);for(let[t,i]of this._globalTimelineStyles)this._backFill.set(t,i||ae),this._currentKeyframe.set(t,ae);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(e,t,i,r){t&&this._previousKeyframe.set("easing",t);let s=r&&r.params||{},o=Ra(e,this._globalTimelineStyles);for(let[a,l]of o){let c=ot(l,s,i);this._pendingStyles.set(a,c),this._localTimelineStyles.has(a)||this._backFill.set(a,this._globalTimelineStyles.get(a)??ae),this._updateStyle(a,c)}}applyStylesToKeyframe(){this._pendingStyles.size!=0&&(this._pendingStyles.forEach((e,t)=>{this._currentKeyframe.set(t,e)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach((e,t)=>{this._currentKeyframe.has(t)||this._currentKeyframe.set(t,e)}))}snapshotCurrentStyles(){for(let[e,t]of this._localTimelineStyles)this._pendingStyles.set(e,t),this._updateStyle(e,t)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){let e=[];for(let t in this._currentKeyframe)e.push(t);return e}mergeTimelineCollectedStyles(e){e._styleSummary.forEach((t,i)=>{let r=this._styleSummary.get(i);(!r||t.time>r.time)&&this._updateStyle(i,t.value)})}buildKeyframes(){this.applyStylesToKeyframe();let e=new Set,t=new Set,i=this._keyframes.size===1&&this.duration===0,r=[];this._keyframes.forEach((a,l)=>{let c=new Map([...this._backFill,...a]);c.forEach((d,u)=>{d===Ot?e.add(u):d===ae&&t.add(u)}),i||c.set("offset",l/this.duration),r.push(c)});let s=[...e.values()],o=[...t.values()];if(i){let a=r[0],l=new Map(a);a.set("offset",0),l.set("offset",1),r=[a,l]}return tn(this.element,r,s,o,this.duration,this.startTime,this.easing,!1)}},Ui=class extends Qt{constructor(e,t,i,r,s,o,a=!1){super(e,t,o.delay),this.keyframes=i,this.preStyleProps=r,this.postStyleProps=s,this._stretchStartingKeyframe=a,this.timings={duration:o.duration,delay:o.delay,easing:o.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let e=this.keyframes,{delay:t,duration:i,easing:r}=this.timings;if(this._stretchStartingKeyframe&&t){let s=[],o=i+t,a=t/o,l=new Map(e[0]);l.set("offset",0),s.push(l);let c=new Map(e[0]);c.set("offset",ns(a)),s.push(c);let d=e.length-1;for(let u=1;u<=d;u++){let p=new Map(e[u]),g=p.get("offset"),f=t+g*i;p.set("offset",ns(f/o)),s.push(p)}i=o,t=0,r="",e=s}return tn(this.element,e,this.preStyleProps,this.postStyleProps,i,t,r,!0)}};function ns(n,e=3){let t=Math.pow(10,e-1);return Math.round(n*t)/t}function Ra(n,e){let t=new Map,i;return n.forEach(r=>{if(r==="*"){i??=e.keys();for(let s of i)t.set(s,ae)}else for(let[s,o]of r)t.set(s,o)}),t}function rs(n,e,t,i,r,s,o,a,l,c,d,u,p){return{type:0,element:n,triggerName:e,isRemovalTransition:r,fromState:t,fromStyles:s,toState:i,toStyles:o,timelines:a,queriedElements:l,preStyleProps:c,postStyleProps:d,totalTime:u,errors:p}}var Pi={},Gt=class{constructor(e,t,i){this._triggerName=e,this.ast=t,this._stateStyles=i}match(e,t,i,r){return Na(this.ast.matchers,e,t,i,r)}buildStyles(e,t,i){let r=this._stateStyles.get("*");return e!==void 0&&(r=this._stateStyles.get(e?.toString())||r),r?r.buildStyles(t,i):new Map}build(e,t,i,r,s,o,a,l,c,d){let u=[],p=this.ast.options&&this.ast.options.params||Pi,g=a&&a.params||Pi,f=this.buildStyles(i,g,u),m=l&&l.params||Pi,T=this.buildStyles(r,m,u),w=new Set,P=new Map,j=new Map,v=r==="void",I={params:Es(m,p),delay:this.ast.options?.delay},E=d?[]:vs(e,t,this.ast.animation,s,o,f,T,I,c,u),D=0;return E.forEach(R=>{D=Math.max(R.duration+R.delay,D)}),u.length?rs(t,this._triggerName,i,r,v,f,T,[],[],P,j,D,u):(E.forEach(R=>{let ie=R.element,Le=J(P,ie,new Set);R.preStyleProps.forEach(Pe=>Le.add(Pe));let En=J(j,ie,new Set);R.postStyleProps.forEach(Pe=>En.add(Pe)),ie!==t&&w.add(ie)}),rs(t,this._triggerName,i,r,v,f,T,E,[...w.values()],P,j,D))}};function Na(n,e,t,i,r){return n.some(s=>s(e,t,i,r))}function Es(n,e){let t=A({},e);return Object.entries(n).forEach(([i,r])=>{r!=null&&(t[i]=r)}),t}var Ki=class{constructor(e,t,i){this.styles=e,this.defaultParams=t,this.normalizer=i}buildStyles(e,t){let i=new Map,r=Es(e,this.defaultParams);return this.styles.styles.forEach(s=>{typeof s!="string"&&s.forEach((o,a)=>{o&&(o=ot(o,r,t));let l=this.normalizer.normalizePropertyName(a,t);o=this.normalizer.normalizeStyleValue(a,l,o,t),i.set(a,o)})}),i}};function Da(n,e,t){return new Bi(n,e,t)}var Bi=class{constructor(e,t,i){this.name=e,this.ast=t,this._normalizer=i,this.transitionFactories=[],this.states=new Map,t.states.forEach(r=>{let s=r.options&&r.options.params||{};this.states.set(r.name,new Ki(r.style,s,i))}),ss(this.states,"true","1"),ss(this.states,"false","0"),t.transitions.forEach(r=>{this.transitionFactories.push(new Gt(e,r,this.states))}),this.fallbackTransition=xa(e,this.states,this._normalizer)}get containsQueries(){return this.ast.queryCount>0}matchTransition(e,t,i,r){return this.transitionFactories.find(o=>o.match(e,t,i,r))||null}matchStyles(e,t,i){return this.fallbackTransition.buildStyles(e,t,i)}};function xa(n,e,t){let i=[(o,a)=>!0],r={type:b.Sequence,steps:[],options:null},s={type:b.Transition,animation:r,matchers:i,options:null,queryCount:0,depCount:0};return new Gt(n,s,e)}function ss(n,e,t){n.has(e)?n.has(t)||n.set(t,n.get(e)):n.has(t)&&n.set(e,n.get(t))}var Fa=new at,qi=class{constructor(e,t,i){this.bodyNode=e,this._driver=t,this._normalizer=i,this._animations=new Map,this._playersById=new Map,this.players=[]}register(e,t){let i=[],r=[],s=Ss(this._driver,t,i,r);if(i.length)throw Ho(i);r.length&&void 0,this._animations.set(e,s)}_buildPlayer(e,t,i){let r=e.element,s=ds(this._normalizer,e.keyframes,t,i);return this._driver.animate(r,s,e.duration,e.delay,e.easing,[],!0)}create(e,t,i={}){let r=[],s=this._animations.get(e),o,a=new Map;if(s?(o=vs(this._driver,t,s,hs,Di,new Map,new Map,i,Fa,r),o.forEach(d=>{let u=J(a,d.element,new Map);d.postStyleProps.forEach(p=>u.set(p,null))})):(r.push(Zo()),o=[]),r.length)throw Xo(r);a.forEach((d,u)=>{d.forEach((p,g)=>{d.set(g,this._driver.computeStyle(u,g,ae))})});let l=o.map(d=>{let u=a.get(d.element);return this._buildPlayer(d,new Map,u)}),c=Ce(l);return this._playersById.set(e,c),c.onDestroy(()=>this.destroy(e)),this.players.push(c),c}destroy(e){let t=this._getPlayer(e);t.destroy(),this._playersById.delete(e);let i=this.players.indexOf(t);i>=0&&this.players.splice(i,1)}_getPlayer(e){let t=this._playersById.get(e);if(!t)throw Yo(e);return t}listen(e,t,i,r){let s=Zi(t,"","","");return Hi(this._getPlayer(e),i,s,r),()=>{}}command(e,t,i,r){if(i=="register"){this.register(e,r[0]);return}if(i=="create"){let o=r[0]||{};this.create(e,t,o);return}let s=this._getPlayer(e);switch(i){case"play":s.play();break;case"pause":s.pause();break;case"reset":s.reset();break;case"restart":s.restart();break;case"finish":s.finish();break;case"init":s.init();break;case"setPosition":s.setPosition(parseFloat(r[0]));break;case"destroy":this.destroy(e);break}}},os="ng-animate-queued",ka=".ng-animate-queued",Ii="ng-animate-disabled",La=".ng-animate-disabled",ja="ng-star-inserted",za=".ng-star-inserted",$a=[],_s={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Ua={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},re="__ng_removed",lt=class{get params(){return this.options.params}constructor(e,t=""){this.namespaceId=t;let i=e&&e.hasOwnProperty("value"),r=i?e.value:e;if(this.value=Ba(r),i){let s=e,{value:o}=s,a=wn(s,["value"]);this.options=a}else this.options={};this.options.params||(this.options.params={})}absorbOptions(e){let t=e.params;if(t){let i=this.options.params;Object.keys(t).forEach(r=>{i[r]==null&&(i[r]=t[r])})}}},st="void",Ri=new lt(st),Qi=class{constructor(e,t,i){this.id=e,this.hostElement=t,this._engine=i,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+e,te(t,this._hostClassName)}listen(e,t,i,r){if(!this._triggers.has(t))throw Jo(i,t);if(i==null||i.length==0)throw ea(t);if(!qa(i))throw ta(i,t);let s=J(this._elementListeners,e,[]),o={name:t,phase:i,callback:r};s.push(o);let a=J(this._engine.statesByElement,e,new Map);return a.has(t)||(te(e,Ft),te(e,Ft+"-"+t),a.set(t,Ri)),()=>{this._engine.afterFlush(()=>{let l=s.indexOf(o);l>=0&&s.splice(l,1),this._triggers.has(t)||a.delete(t)})}}register(e,t){return this._triggers.has(e)?!1:(this._triggers.set(e,t),!0)}_getTrigger(e){let t=this._triggers.get(e);if(!t)throw ia(e);return t}trigger(e,t,i,r=!0){let s=this._getTrigger(t),o=new ct(this.id,t,e),a=this._engine.statesByElement.get(e);a||(te(e,Ft),te(e,Ft+"-"+t),this._engine.statesByElement.set(e,a=new Map));let l=a.get(t),c=new lt(i,this.id);if(!(i&&i.hasOwnProperty("value"))&&l&&c.absorbOptions(l.options),a.set(t,c),l||(l=Ri),!(c.value===st)&&l.value===c.value){if(!Va(l.params,c.params)){let m=[],T=s.matchStyles(l.value,l.params,m),w=s.matchStyles(c.value,c.params,m);m.length?this._engine.reportError(m):this._engine.afterFlush(()=>{xe(e,T),le(e,w)})}return}let p=J(this._engine.playersByElement,e,[]);p.forEach(m=>{m.namespaceId==this.id&&m.triggerName==t&&m.queued&&m.destroy()});let g=s.matchTransition(l.value,c.value,e,c.params),f=!1;if(!g){if(!r)return;g=s.fallbackTransition,f=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:t,transition:g,fromState:l,toState:c,player:o,isFallbackTransition:f}),f||(te(e,os),o.onStart(()=>{Qe(e,os)})),o.onDone(()=>{let m=this.players.indexOf(o);m>=0&&this.players.splice(m,1);let T=this._engine.playersByElement.get(e);if(T){let w=T.indexOf(o);w>=0&&T.splice(w,1)}}),this.players.push(o),p.push(o),o}deregister(e){this._triggers.delete(e),this._engine.statesByElement.forEach(t=>t.delete(e)),this._elementListeners.forEach((t,i)=>{this._elementListeners.set(i,t.filter(r=>r.name!=e))})}clearElementCache(e){this._engine.statesByElement.delete(e),this._elementListeners.delete(e);let t=this._engine.playersByElement.get(e);t&&(t.forEach(i=>i.destroy()),this._engine.playersByElement.delete(e))}_signalRemovalForInnerTriggers(e,t){let i=this._engine.driver.query(e,$t,!0);i.forEach(r=>{if(r[re])return;let s=this._engine.fetchNamespacesByElement(r);s.size?s.forEach(o=>o.triggerLeaveAnimation(r,t,!1,!0)):this.clearElementCache(r)}),this._engine.afterFlushAnimationsDone(()=>i.forEach(r=>this.clearElementCache(r)))}triggerLeaveAnimation(e,t,i,r){let s=this._engine.statesByElement.get(e),o=new Map;if(s){let a=[];if(s.forEach((l,c)=>{if(o.set(c,l.value),this._triggers.has(c)){let d=this.trigger(e,c,st,r);d&&a.push(d)}}),a.length)return this._engine.markElementAsRemoved(this.id,e,!0,t,o),i&&Ce(a).onDone(()=>this._engine.processLeaveNode(e)),!0}return!1}prepareLeaveAnimationListeners(e){let t=this._elementListeners.get(e),i=this._engine.statesByElement.get(e);if(t&&i){let r=new Set;t.forEach(s=>{let o=s.name;if(r.has(o))return;r.add(o);let l=this._triggers.get(o).fallbackTransition,c=i.get(o)||Ri,d=new lt(st),u=new ct(this.id,o,e);this._engine.totalQueuedPlayers++,this._queue.push({element:e,triggerName:o,transition:l,fromState:c,toState:d,player:u,isFallbackTransition:!0})})}}removeNode(e,t){let i=this._engine;if(e.childElementCount&&this._signalRemovalForInnerTriggers(e,t),this.triggerLeaveAnimation(e,t,!0))return;let r=!1;if(i.totalAnimations){let s=i.players.length?i.playersByQueriedElement.get(e):[];if(s&&s.length)r=!0;else{let o=e;for(;o=o.parentNode;)if(i.statesByElement.get(o)){r=!0;break}}}if(this.prepareLeaveAnimationListeners(e),r)i.markElementAsRemoved(this.id,e,!1,t);else{let s=e[re];(!s||s===_s)&&(i.afterFlush(()=>this.clearElementCache(e)),i.destroyInnerAnimations(e),i._onRemovalComplete(e,t))}}insertNode(e,t){te(e,this._hostClassName)}drainQueuedTransitions(e){let t=[];return this._queue.forEach(i=>{let r=i.player;if(r.destroyed)return;let s=i.element,o=this._elementListeners.get(s);o&&o.forEach(a=>{if(a.name==i.triggerName){let l=Zi(s,i.triggerName,i.fromState.value,i.toState.value);l._data=e,Hi(i.player,a.phase,l,a.callback)}}),r.markedForDestroy?this._engine.afterFlush(()=>{r.destroy()}):t.push(i)}),this._queue=[],t.sort((i,r)=>{let s=i.transition.ast.depCount,o=r.transition.ast.depCount;return s==0||o==0?s-o:this._engine.driver.containsElement(i.element,r.element)?1:-1})}destroy(e){this.players.forEach(t=>t.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,e)}},Gi=class{_onRemovalComplete(e,t){this.onRemovalComplete(e,t)}constructor(e,t,i){this.bodyNode=e,this.driver=t,this._normalizer=i,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(r,s)=>{}}get queuedPlayers(){let e=[];return this._namespaceList.forEach(t=>{t.players.forEach(i=>{i.queued&&e.push(i)})}),e}createNamespace(e,t){let i=new Qi(e,t,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,t)?this._balanceNamespaceList(i,t):(this.newHostElements.set(t,i),this.collectEnterElement(t)),this._namespaceLookup[e]=i}_balanceNamespaceList(e,t){let i=this._namespaceList,r=this.namespacesByHostElement;if(i.length-1>=0){let o=!1,a=this.driver.getParentElement(t);for(;a;){let l=r.get(a);if(l){let c=i.indexOf(l);i.splice(c+1,0,e),o=!0;break}a=this.driver.getParentElement(a)}o||i.unshift(e)}else i.push(e);return r.set(t,e),e}register(e,t){let i=this._namespaceLookup[e];return i||(i=this.createNamespace(e,t)),i}registerTrigger(e,t,i){let r=this._namespaceLookup[e];r&&r.register(t,i)&&this.totalAnimations++}destroy(e,t){e&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{let i=this._fetchNamespace(e);this.namespacesByHostElement.delete(i.hostElement);let r=this._namespaceList.indexOf(i);r>=0&&this._namespaceList.splice(r,1),i.destroy(t),delete this._namespaceLookup[e]}))}_fetchNamespace(e){return this._namespaceLookup[e]}fetchNamespacesByElement(e){let t=new Set,i=this.statesByElement.get(e);if(i){for(let r of i.values())if(r.namespaceId){let s=this._fetchNamespace(r.namespaceId);s&&t.add(s)}}return t}trigger(e,t,i,r){if(jt(t)){let s=this._fetchNamespace(e);if(s)return s.trigger(t,i,r),!0}return!1}insertNode(e,t,i,r){if(!jt(t))return;let s=t[re];if(s&&s.setForRemoval){s.setForRemoval=!1,s.setForMove=!0;let o=this.collectedLeaveElements.indexOf(t);o>=0&&this.collectedLeaveElements.splice(o,1)}if(e){let o=this._fetchNamespace(e);o&&o.insertNode(t,i)}r&&this.collectEnterElement(t)}collectEnterElement(e){this.collectedEnterElements.push(e)}markElementAsDisabled(e,t){t?this.disabledNodes.has(e)||(this.disabledNodes.add(e),te(e,Ii)):this.disabledNodes.has(e)&&(this.disabledNodes.delete(e),Qe(e,Ii))}removeNode(e,t,i){if(jt(t)){let r=e?this._fetchNamespace(e):null;r?r.removeNode(t,i):this.markElementAsRemoved(e,t,!1,i);let s=this.namespacesByHostElement.get(t);s&&s.id!==e&&s.removeNode(t,i)}else this._onRemovalComplete(t,i)}markElementAsRemoved(e,t,i,r,s){this.collectedLeaveElements.push(t),t[re]={namespaceId:e,setForRemoval:r,hasAnimation:i,removedBeforeQueried:!1,previousTriggersValues:s}}listen(e,t,i,r,s){return jt(t)?this._fetchNamespace(e).listen(t,i,r,s):()=>{}}_buildInstruction(e,t,i,r,s){return e.transition.build(this.driver,e.element,e.fromState.value,e.toState.value,i,r,e.fromState.options,e.toState.options,t,s)}destroyInnerAnimations(e){let t=this.driver.query(e,$t,!0);t.forEach(i=>this.destroyActiveAnimationsForElement(i)),this.playersByQueriedElement.size!=0&&(t=this.driver.query(e,xi,!0),t.forEach(i=>this.finishActiveQueriedAnimationOnElement(i)))}destroyActiveAnimationsForElement(e){let t=this.playersByElement.get(e);t&&t.forEach(i=>{i.queued?i.markedForDestroy=!0:i.destroy()})}finishActiveQueriedAnimationOnElement(e){let t=this.playersByQueriedElement.get(e);t&&t.forEach(i=>i.finish())}whenRenderingDone(){return new Promise(e=>{if(this.players.length)return Ce(this.players).onDone(()=>e());e()})}processLeaveNode(e){let t=e[re];if(t&&t.setForRemoval){if(e[re]=_s,t.namespaceId){this.destroyInnerAnimations(e);let i=this._fetchNamespace(t.namespaceId);i&&i.clearElementCache(e)}this._onRemovalComplete(e,t.setForRemoval)}e.classList?.contains(Ii)&&this.markElementAsDisabled(e,!1),this.driver.query(e,La,!0).forEach(i=>{this.markElementAsDisabled(i,!1)})}flush(e=-1){let t=[];if(this.newHostElements.size&&(this.newHostElements.forEach((i,r)=>this._balanceNamespaceList(i,r)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let i=0;ii()),this._flushFns=[],this._whenQuietFns.length){let i=this._whenQuietFns;this._whenQuietFns=[],t.length?Ce(t).onDone(()=>{i.forEach(r=>r())}):i.forEach(r=>r())}}reportError(e){throw na(e)}_flushAnimations(e,t){let i=new at,r=[],s=new Map,o=[],a=new Map,l=new Map,c=new Map,d=new Set;this.disabledNodes.forEach(h=>{d.add(h);let y=this.driver.query(h,ka,!0);for(let S=0;S{let S=hs+m++;f.set(y,S),h.forEach(M=>te(M,S))});let T=[],w=new Set,P=new Set;for(let h=0;hw.add(M)):P.add(y))}let j=new Map,v=cs(p,Array.from(w));v.forEach((h,y)=>{let S=Di+m++;j.set(y,S),h.forEach(M=>te(M,S))}),e.push(()=>{g.forEach((h,y)=>{let S=f.get(y);h.forEach(M=>Qe(M,S))}),v.forEach((h,y)=>{let S=j.get(y);h.forEach(M=>Qe(M,S))}),T.forEach(h=>{this.processLeaveNode(h)})});let I=[],E=[];for(let h=this._namespaceList.length-1;h>=0;h--)this._namespaceList[h].drainQueuedTransitions(t).forEach(S=>{let M=S.player,U=S.element;if(I.push(M),this.collectedEnterElements.length){let B=U[re];if(B&&B.setForMove){if(B.previousTriggersValues&&B.previousTriggersValues.has(S.triggerName)){let Ie=B.previousTriggersValues.get(S.triggerName),ee=this.statesByElement.get(S.element);if(ee&&ee.has(S.triggerName)){let gt=ee.get(S.triggerName);gt.value=Ie,ee.set(S.triggerName,gt)}}M.destroy();return}}let se=!u||!this.driver.containsElement(u,U),H=j.get(U),ge=f.get(U),k=this._buildInstruction(S,i,ge,H,se);if(k.errors&&k.errors.length){E.push(k);return}if(se){M.onStart(()=>xe(U,k.fromStyles)),M.onDestroy(()=>le(U,k.toStyles)),r.push(M);return}if(S.isFallbackTransition){M.onStart(()=>xe(U,k.fromStyles)),M.onDestroy(()=>le(U,k.toStyles)),r.push(M);return}let bn=[];k.timelines.forEach(B=>{B.stretchStartingKeyframe=!0,this.disabledNodes.has(B.element)||bn.push(B)}),k.timelines=bn,i.append(U,k.timelines);let Mo={instruction:k,player:M,element:U};o.push(Mo),k.queriedElements.forEach(B=>J(a,B,[]).push(M)),k.preStyleProps.forEach((B,Ie)=>{if(B.size){let ee=l.get(Ie);ee||l.set(Ie,ee=new Set),B.forEach((gt,di)=>ee.add(di))}}),k.postStyleProps.forEach((B,Ie)=>{let ee=c.get(Ie);ee||c.set(Ie,ee=new Set),B.forEach((gt,di)=>ee.add(di))})});if(E.length){let h=[];E.forEach(y=>{h.push(ra(y.triggerName,y.errors))}),I.forEach(y=>y.destroy()),this.reportError(h)}let D=new Map,R=new Map;o.forEach(h=>{let y=h.element;i.has(y)&&(R.set(y,y),this._beforeAnimationBuild(h.player.namespaceId,h.instruction,D))}),r.forEach(h=>{let y=h.element;this._getPreviousPlayers(y,!1,h.namespaceId,h.triggerName,null).forEach(M=>{J(D,y,[]).push(M),M.destroy()})});let ie=T.filter(h=>us(h,l,c)),Le=new Map;ls(Le,this.driver,P,c,ae).forEach(h=>{us(h,l,c)&&ie.push(h)});let Pe=new Map;g.forEach((h,y)=>{ls(Pe,this.driver,new Set(h),l,Ot)}),ie.forEach(h=>{let y=Le.get(h),S=Pe.get(h);Le.set(h,new Map([...y?.entries()??[],...S?.entries()??[]]))});let ui=[],_n=[],Tn={};o.forEach(h=>{let{element:y,player:S,instruction:M}=h;if(i.has(y)){if(d.has(y)){S.onDestroy(()=>le(y,M.toStyles)),S.disabled=!0,S.overrideTotalTime(M.totalTime),r.push(S);return}let U=Tn;if(R.size>1){let H=y,ge=[];for(;H=H.parentNode;){let k=R.get(H);if(k){U=k;break}ge.push(H)}ge.forEach(k=>R.set(k,U))}let se=this._buildAnimation(S.namespaceId,M,D,s,Pe,Le);if(S.setRealPlayer(se),U===Tn)ui.push(S);else{let H=this.playersByElement.get(U);H&&H.length&&(S.parentPlayer=Ce(H)),r.push(S)}}else xe(y,M.fromStyles),S.onDestroy(()=>le(y,M.toStyles)),_n.push(S),d.has(y)&&r.push(S)}),_n.forEach(h=>{let y=s.get(h.element);if(y&&y.length){let S=Ce(y);h.setRealPlayer(S)}}),r.forEach(h=>{h.parentPlayer?h.syncPlayerEvents(h.parentPlayer):h.destroy()});for(let h=0;h!se.destroyed);U.length?Qa(this,y,U):this.processLeaveNode(y)}return T.length=0,ui.forEach(h=>{this.players.push(h),h.onDone(()=>{h.destroy();let y=this.players.indexOf(h);this.players.splice(y,1)}),h.play()}),ui}afterFlush(e){this._flushFns.push(e)}afterFlushAnimationsDone(e){this._whenQuietFns.push(e)}_getPreviousPlayers(e,t,i,r,s){let o=[];if(t){let a=this.playersByQueriedElement.get(e);a&&(o=a)}else{let a=this.playersByElement.get(e);if(a){let l=!s||s==st;a.forEach(c=>{c.queued||!l&&c.triggerName!=r||o.push(c)})}}return(i||r)&&(o=o.filter(a=>!(i&&i!=a.namespaceId||r&&r!=a.triggerName))),o}_beforeAnimationBuild(e,t,i){let r=t.triggerName,s=t.element,o=t.isRemovalTransition?void 0:e,a=t.isRemovalTransition?void 0:r;for(let l of t.timelines){let c=l.element,d=c!==s,u=J(i,c,[]);this._getPreviousPlayers(c,d,o,a,t.toState).forEach(g=>{let f=g.getRealPlayer();f.beforeDestroy&&f.beforeDestroy(),g.destroy(),u.push(g)})}xe(s,t.fromStyles)}_buildAnimation(e,t,i,r,s,o){let a=t.triggerName,l=t.element,c=[],d=new Set,u=new Set,p=t.timelines.map(f=>{let m=f.element;d.add(m);let T=m[re];if(T&&T.removedBeforeQueried)return new $e(f.duration,f.delay);let w=m!==l,P=Ga((i.get(m)||$a).map(D=>D.getRealPlayer())).filter(D=>{let R=D;return R.element?R.element===m:!1}),j=s.get(m),v=o.get(m),I=ds(this._normalizer,f.keyframes,j,v),E=this._buildPlayer(f,I,P);if(f.subTimeline&&r&&u.add(m),w){let D=new ct(e,a,m);D.setRealPlayer(E),c.push(D)}return E});c.forEach(f=>{J(this.playersByQueriedElement,f.element,[]).push(f),f.onDone(()=>Ka(this.playersByQueriedElement,f.element,f))}),d.forEach(f=>te(f,es));let g=Ce(p);return g.onDestroy(()=>{d.forEach(f=>Qe(f,es)),le(l,t.toStyles)}),u.forEach(f=>{J(r,f,[]).push(g)}),g}_buildPlayer(e,t,i){return t.length>0?this.driver.animate(e.element,t,e.duration,e.delay,e.easing,i):new $e(e.duration,e.delay)}},ct=class{constructor(e,t,i){this.namespaceId=e,this.triggerName=t,this.element=i,this._player=new $e,this._containsRealPlayer=!1,this._queuedCallbacks=new Map,this.destroyed=!1,this.parentPlayer=null,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(e){this._containsRealPlayer||(this._player=e,this._queuedCallbacks.forEach((t,i)=>{t.forEach(r=>Hi(e,i,void 0,r))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime(e.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(e){this.totalTime=e}syncPlayerEvents(e){let t=this._player;t.triggerCallback&&e.onStart(()=>t.triggerCallback("start")),e.onDone(()=>this.finish()),e.onDestroy(()=>this.destroy())}_queueEvent(e,t){J(this._queuedCallbacks,e,[]).push(t)}onDone(e){this.queued&&this._queueEvent("done",e),this._player.onDone(e)}onStart(e){this.queued&&this._queueEvent("start",e),this._player.onStart(e)}onDestroy(e){this.queued&&this._queueEvent("destroy",e),this._player.onDestroy(e)}init(){this._player.init()}hasStarted(){return this.queued?!1:this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(e){this.queued||this._player.setPosition(e)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(e){let t=this._player;t.triggerCallback&&t.triggerCallback(e)}};function Ka(n,e,t){let i=n.get(e);if(i){if(i.length){let r=i.indexOf(t);i.splice(r,1)}i.length==0&&n.delete(e)}return i}function Ba(n){return n??null}function jt(n){return n&&n.nodeType===1}function qa(n){return n=="start"||n=="done"}function as(n,e){let t=n.style.display;return n.style.display=e??"none",t}function ls(n,e,t,i,r){let s=[];t.forEach(l=>s.push(as(l)));let o=[];i.forEach((l,c)=>{let d=new Map;l.forEach(u=>{let p=e.computeStyle(c,u,r);d.set(u,p),(!p||p.length==0)&&(c[re]=Ua,o.push(c))}),n.set(c,d)});let a=0;return t.forEach(l=>as(l,s[a++])),o}function cs(n,e){let t=new Map;if(n.forEach(a=>t.set(a,[])),e.length==0)return t;let i=1,r=new Set(e),s=new Map;function o(a){if(!a)return i;let l=s.get(a);if(l)return l;let c=a.parentNode;return t.has(c)?l=c:r.has(c)?l=i:l=o(c),s.set(a,l),l}return e.forEach(a=>{let l=o(a);l!==i&&t.get(l).push(a)}),t}function te(n,e){n.classList?.add(e)}function Qe(n,e){n.classList?.remove(e)}function Qa(n,e,t){Ce(t).onDone(()=>n.processLeaveNode(e))}function Ga(n){let e=[];return Ts(n,e),e}function Ts(n,e){for(let t=0;tr.add(s)):e.set(n,i),t.delete(n),!0}var Ve=class{constructor(e,t,i){this._driver=t,this._normalizer=i,this._triggerCache={},this.onRemovalComplete=(r,s)=>{},this._transitionEngine=new Gi(e.body,t,i),this._timelineEngine=new qi(e.body,t,i),this._transitionEngine.onRemovalComplete=(r,s)=>this.onRemovalComplete(r,s)}registerTrigger(e,t,i,r,s){let o=e+"-"+r,a=this._triggerCache[o];if(!a){let l=[],c=[],d=Ss(this._driver,s,l,c);if(l.length)throw Vo(r,l);c.length&&void 0,a=Da(r,d,this._normalizer),this._triggerCache[o]=a}this._transitionEngine.registerTrigger(t,r,a)}register(e,t){this._transitionEngine.register(e,t)}destroy(e,t){this._transitionEngine.destroy(e,t)}onInsert(e,t,i,r){this._transitionEngine.insertNode(e,t,i,r)}onRemove(e,t,i){this._transitionEngine.removeNode(e,t,i)}disableAnimations(e,t){this._transitionEngine.markElementAsDisabled(e,t)}process(e,t,i,r){if(i.charAt(0)=="@"){let[s,o]=Yr(i),a=r;this._timelineEngine.command(s,t,o,a)}else this._transitionEngine.trigger(e,t,i,r)}listen(e,t,i,r,s){if(i.charAt(0)=="@"){let[o,a]=Yr(i);return this._timelineEngine.listen(o,t,a,s)}return this._transitionEngine.listen(e,t,i,r,s)}flush(e=-1){this._transitionEngine.flush(e)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone(e){this._transitionEngine.afterFlushAnimationsDone(e)}};function Wa(n,e){let t=null,i=null;return Array.isArray(e)&&e.length?(t=Ni(e[0]),e.length>1&&(i=Ni(e[e.length-1]))):e instanceof Map&&(t=Ni(e)),t||i?new Vi(n,t,i):null}var Ge=class Ge{constructor(e,t,i){this._element=e,this._startStyles=t,this._endStyles=i,this._state=0;let r=Ge.initialStylesByElement.get(e);r||Ge.initialStylesByElement.set(e,r=new Map),this._initialStyles=r}start(){this._state<1&&(this._startStyles&&le(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(le(this._element,this._initialStyles),this._endStyles&&(le(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Ge.initialStylesByElement.delete(this._element),this._startStyles&&(xe(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(xe(this._element,this._endStyles),this._endStyles=null),le(this._element,this._initialStyles),this._state=3)}};Ge.initialStylesByElement=new WeakMap;var Vi=Ge;function Ni(n){let e=null;return n.forEach((t,i)=>{Ha(i)&&(e=e||new Map,e.set(i,t))}),e}function Ha(n){return n==="display"||n==="position"}var Vt=class{constructor(e,t,i,r){this.element=e,this.keyframes=t,this.options=i,this._specialStyles=r,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this._originalOnDoneFns=[],this._originalOnStartFns=[],this.time=0,this.parentPlayer=null,this.currentSnapshot=new Map,this._duration=i.duration,this._delay=i.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(e=>e()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;let e=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,e,this.options),this._finalKeyframe=e.length?e[e.length-1]:new Map;let t=()=>this._onFinish();this.domPlayer.addEventListener("finish",t),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",t)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject(e){let t=[];return e.forEach(i=>{t.push(Object.fromEntries(i))}),t}_triggerWebAnimation(e,t,i){return e.animate(this._convertKeyframesToObject(t),i)}onStart(e){this._originalOnStartFns.push(e),this._onStartFns.push(e)}onDone(e){this._originalOnDoneFns.push(e),this._onDoneFns.push(e)}onDestroy(e){this._onDestroyFns.push(e)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(e=>e()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(e=>e()),this._onDestroyFns=[])}setPosition(e){this.domPlayer===void 0&&this.init(),this.domPlayer.currentTime=e*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){let e=new Map;this.hasStarted()&&this._finalKeyframe.forEach((i,r)=>{r!=="offset"&&e.set(r,this._finished?i:en(this.element,r))}),this.currentSnapshot=e}triggerCallback(e){let t=e==="start"?this._onStartFns:this._onDoneFns;t.forEach(i=>i()),t.length=0}},Wt=class{validateStyleProperty(e){return!0}validateAnimatableStyleProperty(e){return!0}containsElement(e,t){return fs(e,t)}getParentElement(e){return Xi(e)}query(e,t,i){return ms(e,t,i)}computeStyle(e,t,i){return en(e,t)}animate(e,t,i,r,s,o=[]){let a=r==0?"both":"forwards",l={duration:i,delay:r,fill:a};s&&(l.easing=s);let c=new Map,d=o.filter(g=>g instanceof Vt);ha(i,r)&&d.forEach(g=>{g.currentSnapshot.forEach((f,m)=>c.set(m,f))});let u=fa(t).map(g=>new Map(g));u=ga(e,u,c);let p=Wa(e,u);return new Vt(e,u,l,p)}};var zt="@",bs="@.disabled",Ht=class{constructor(e,t,i,r){this.namespaceId=e,this.delegate=t,this.engine=i,this._onDestroy=r,this.\u0275type=0}get data(){return this.delegate.data}destroyNode(e){this.delegate.destroyNode?.(e)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement(e,t){return this.delegate.createElement(e,t)}createComment(e){return this.delegate.createComment(e)}createText(e){return this.delegate.createText(e)}appendChild(e,t){this.delegate.appendChild(e,t),this.engine.onInsert(this.namespaceId,t,e,!1)}insertBefore(e,t,i,r=!0){this.delegate.insertBefore(e,t,i),this.engine.onInsert(this.namespaceId,t,e,r)}removeChild(e,t,i){this.engine.onRemove(this.namespaceId,t,this.delegate)}selectRootElement(e,t){return this.delegate.selectRootElement(e,t)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setAttribute(e,t,i,r){this.delegate.setAttribute(e,t,i,r)}removeAttribute(e,t,i){this.delegate.removeAttribute(e,t,i)}addClass(e,t){this.delegate.addClass(e,t)}removeClass(e,t){this.delegate.removeClass(e,t)}setStyle(e,t,i,r){this.delegate.setStyle(e,t,i,r)}removeStyle(e,t,i){this.delegate.removeStyle(e,t,i)}setProperty(e,t,i){t.charAt(0)==zt&&t==bs?this.disableAnimations(e,!!i):this.delegate.setProperty(e,t,i)}setValue(e,t){this.delegate.setValue(e,t)}listen(e,t,i){return this.delegate.listen(e,t,i)}disableAnimations(e,t){this.engine.disableAnimations(e,t)}},Wi=class extends Ht{constructor(e,t,i,r,s){super(t,i,r,s),this.factory=e,this.namespaceId=t}setProperty(e,t,i){t.charAt(0)==zt?t.charAt(1)=="."&&t==bs?(i=i===void 0?!0:!!i,this.disableAnimations(e,i)):this.engine.process(this.namespaceId,e,t.slice(1),i):this.delegate.setProperty(e,t,i)}listen(e,t,i){if(t.charAt(0)==zt){let r=Za(e),s=t.slice(1),o="";return s.charAt(0)!=zt&&([s,o]=Xa(s)),this.engine.listen(this.namespaceId,r,s,o,a=>{let l=a._data||-1;this.factory.scheduleListenerCallback(l,i,a)})}return this.delegate.listen(e,t,i)}};function Za(n){switch(n){case"body":return document.body;case"document":return document;case"window":return window;default:return n}}function Xa(n){let e=n.indexOf("."),t=n.substring(0,e),i=n.slice(e+1);return[t,i]}var Zt=class{constructor(e,t,i){this.delegate=e,this.engine=t,this._zone=i,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,t.onRemovalComplete=(r,s)=>{let o=s?.parentNode(r);o&&s.removeChild(o,r)}}createRenderer(e,t){let i="",r=this.delegate.createRenderer(e,t);if(!e||!t?.data?.animation){let c=this._rendererCache,d=c.get(r);if(!d){let u=()=>c.delete(r);d=new Ht(i,r,this.engine,u),c.set(r,d)}return d}let s=t.id,o=t.id+"-"+this._currentId;this._currentId++,this.engine.register(o,e);let a=c=>{Array.isArray(c)?c.forEach(a):this.engine.registerTrigger(s,o,e,c.name,c)};return t.data.animation.forEach(a),new Wi(this,o,r,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback(e,t,i){if(e>=0&&et(i));return}let r=this._animationCallbacksBuffer;r.length==0&&queueMicrotask(()=>{this._zone.run(()=>{r.forEach(s=>{let[o,a]=s;o(a)}),this._animationCallbacksBuffer=[]})}),r.push([t,i])}end(){this._cdRecurDepth--,this._cdRecurDepth==0&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}};var Ja=(()=>{let e=class e extends Ve{constructor(i,r,s){super(i,r,s)}ngOnDestroy(){this.flush()}};e.\u0275fac=function(r){return new(r||e)(_(Vn),_(Fe),_(ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function el(){return new Kt}function tl(n,e,t){return new Zt(n,e,t)}var Ms=[{provide:ke,useFactory:el},{provide:Ve,useClass:Ja},{provide:Bn,useFactory:tl,deps:[er,Ve,vt]}],ws=[{provide:Fe,useFactory:()=>new Wt},{provide:gi,useValue:"BrowserAnimations"},...Ms],il=[{provide:Fe,useClass:Yi},{provide:gi,useValue:"NoopAnimations"},...Ms],Os=(()=>{let e=class e{static withConfig(i){return{ngModule:e,providers:i.disableAnimations?il:ws}}};e.\u0275fac=function(r){return new(r||e)},e.\u0275mod=hi({type:e}),e.\u0275inj=pi({providers:ws,imports:[ir]});let n=e;return n})();var Ae=class{static setItem(e,t){localStorage.setItem(e,JSON.stringify(t))}static getItem(e){let t=localStorage.getItem(e);return t?JSON.parse(t):null}static getNestedItem(e,t){let i=this.getItem(e);return i?this.getNestedProperty(i,t):null}static removeItem(e){localStorage.removeItem(e)}static clear(){localStorage.clear()}static getNestedProperty(e,t){if(!t)return e;let i=t.split(".");for(let r=0;r{let e=class e{constructor(i){this.router=i}canActivate(){return Ae.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?!0:(this.router.navigate([`/${C.AUTH.ROOT}`]),!1)}};e.\u0275fac=function(r){return new(r||e)(_(be))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var Xt=(()=>{let e=class e{constructor(i,r){this.router=i,this.configFacadeService=r}canActivate(){let i=Ae.getNestedItem($.CORE.ROOT,`${$.CONFIGS.ROOT}.${$.CONFIGS.DEFAULT_MODE}`);return i&&(i===fe.GUIDED?(this.router.navigate([`/${C.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED}))):(this.router.navigate([`/${C.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT})))),!0}};e.\u0275fac=function(r){return new(r||e)(_(be),_(qe))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var Yt=(()=>{let e=class e{constructor(i){this.router=i}canActivate(){return Ae.getNestedItem($.CORE.ROOT,`${$.AUTH.ROOT}.${$.AUTH.USER.ROOT}.${$.AUTH.USER.JWT}`)?(this.router.navigate([`/${C.MODE_SELECT.ROOT}`]),!1):!0}};e.\u0275fac=function(r){return new(r||e)(_(be))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function sl(n,e){if(n&1&&(x(0,"div")(1,"div",5),Re(2),F()()),n&2){let t=oe();q(2),Ye(" ",t.item.label," ")}}function ol(n,e){n&1&&(x(0,"div"),z(1,"ms-spining-indicator"),F())}function al(n,e){if(n&1&&ve(0,ol,2,0,"div"),n&2){let t=oe();_e(t.isExpanded&&e===t.item.key?0:-1)}}var Cs=(()=>{let e=class e{constructor(i){this.pageRunningScriptSpiningIndicatorService=i,this.itemStyle="accent",this.isExpanded=!0}};e.\u0275fac=function(r){return new(r||e)(Xe(nt))},e.\u0275cmp=ye({type:e,selectors:[["ms-sidenav-item"]],inputs:{item:"item",itemStyle:"itemStyle",isExpanded:"isExpanded"},standalone:!0,features:[Te],decls:8,vars:6,consts:[["routerLinkActive","active-route",1,"sidenav-item",3,"routerLink"],[1,"left-side"],[1,"item-icon"],["fontSet","ms",3,"fontIcon"],[1,"right-side"],[1,"item-label","paragraph-semibold-p3-small-emphasis"]],template:function(r,s){if(r&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),z(3,"mat-icon",3),F(),ve(4,sl,3,1,"div"),F(),x(5,"div",4),ve(6,al,1,1),Qn(7,"async"),F()()),r&2){let o;Ee("routerLink",s.item.route),q(3),Ee("fontIcon",s.item.icon),q(),_e(s.isExpanded?4:-1),q(2),_e((o=Gn(7,4,s.pageRunningScriptSpiningIndicatorService.currentRunningPage$))?6:-1,o)}},dependencies:[Hn,Wn,Rt,It,Ar,wt,rr,sr],styles:["html[_ngcontent-%COMP%]{color:var(--foregrounds-800)}.text-hint[_ngcontent-%COMP%]{color:var(--foregrounds-700)}.heading-primary-title[_ngcontent-%COMP%]{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title[_ngcontent-%COMP%]{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title[_ngcontent-%COMP%]{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small[_ngcontent-%COMP%]{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall[_ngcontent-%COMP%]{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default[_ngcontent-%COMP%]{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large[_ngcontent-%COMP%]{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}.sidenav-item[_ngcontent-%COMP%]{padding:8px;cursor:pointer;display:flex;align-items:center;justify-content:space-between}.sidenav-item[_ngcontent-%COMP%] .left-side[_ngcontent-%COMP%], .sidenav-item[_ngcontent-%COMP%] .item-icon[_ngcontent-%COMP%]{display:flex;align-items:center}.sidenav-item[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{margin-left:10px;white-space:nowrap}.sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}[itemStyle=grey][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--foregrounds-750)}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%]{background-color:var(--foregrounds-150);border-radius:8px}[itemStyle=grey][_nghost-%COMP%] .sidenav-item.active-route[_ngcontent-%COMP%] .item-label[_ngcontent-%COMP%]{color:var(--foregrounds-800)}[itemStyle=accent][_nghost-%COMP%] .sidenav-item[_ngcontent-%COMP%]{color:var(--accent-400)}"]});let n=e;return n})();var ll=[{route:C.ADMIN.ROOT,label:"Admin",icon:"icon-Admin"}],cl=[{route:C.WIZARD.ROOT,label:"Wizard",icon:"icon-Question"}],ul=[{route:C.MODEL_COMPRESSION.ROOT,label:"Clasic Model Compression",icon:"icon-GearSix",key:it.MODEL_COMPRESSION},{route:C.MACHINE_UNLEARNING.ROOT,label:"Machine Unlearning",icon:"icon-Systems-Manager",key:it.MACHINE_UNLEARNING},{route:C.AWQ.ROOT,label:"LLM Quantization",icon:"icon-Lightning",key:it.AWQ},{route:C.MULTI_MODAL.ROOT,label:"Multi-modal",icon:"icon-Environmental",key:it.MODEL_SPECIALIZATION},{route:C.ALGORITHM_COMPARISON.ROOT,label:"Algorithm Comparison",icon:"icon-Rocket"}],As={guided:cl,expert:ul,common:ll};var rn=(n,e)=>e.route;function dl(n,e){if(n&1&&(x(0,"div",5)(1,"div",13),Re(2),F(),x(3,"div",14),Re(4),z(5,"mat-icon",15),F()()),n&2){let t=oe();q(2),Ye(" ",t.currentMode===t.Modes.GUIDED?"Guided mode":"Expert mode"," "),q(2),Ye(" ",t.currentMode===t.Modes.GUIDED?"Switch to expert mode":"Switch to guided mode"," ")}}function fl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=oe(2);q(),Ee("item",t)("isExpanded",i.isExpanded)}}function ml(n,e){if(n&1&&Et(0,fl,2,2,"div",8,rn),n&2){let t=oe();_t(t.SidenavConstants.guided)}}function pl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",16),F()),n&2){let t=e.$implicit,i=oe(2);q(),Ee("item",t)("isExpanded",i.isExpanded)}}function hl(n,e){if(n&1&&Et(0,pl,2,2,"div",8,rn),n&2){let t=oe();_t(t.SidenavConstants.expert)}}function gl(n,e){if(n&1&&(x(0,"div",8),z(1,"ms-sidenav-item",17),F()),n&2){let t=e.$implicit,i=oe();q(),Ee("item",t)("isExpanded",i.isExpanded)}}function yl(n,e){n&1&&(x(0,"span",12),Re(1,"Collapse"),F())}var he,Jt=(he=class{constructor(e,t){this.router=e,this.configFacadeService=t,this.SidenavConstants=As,this.Modes=fe,this.isExpanded=!0}ngOnInit(){this.listenToCurrentModeChanges()}listenToCurrentModeChanges(){this.configFacadeService.currentMode$.pipe(ar(this)).subscribe(e=>{this.currentMode=e})}toggleMode(){this.currentMode===fe.GUIDED?(this.router.navigate([`/${C.MODEL_COMPRESSION.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.EXPERT}))):(this.router.navigate([`/${C.WIZARD.ROOT}`]),this.configFacadeService.dispatch(Be.setCurrentMode({mode:fe.GUIDED})))}toggleSidebar(){this.isExpanded=!this.isExpanded}},he.\u0275fac=function(t){return new(t||he)(Xe(be),Xe(qe))},he.\u0275cmp=ye({type:he,selectors:[["ms-sidenav"]],standalone:!0,features:[Te],decls:21,vars:5,consts:[[1,"sidenav-wrapper"],[1,"top-section-items"],[1,"switch",3,"click"],[1,"left"],["fontSet","ms","fontIcon","icon-User"],[1,"right"],[1,"mt-3"],[1,"mt-5"],[1,"sidenav-items-wrapper"],[1,"mt-2","mb-4"],[1,"bottom-section-items"],[1,"sidebar-toggle",3,"click"],[1,"paragraph-semibold-p3-small-emphasis"],[1,"paragraph-semibold-p3-default-emphasis","text-container"],[1,"paragraph-regular-p4-small","switch-button","text-container"],["fontSet","ms","fontIcon","icon-ArrowRight",1,"switch-icon"],["itemStyle","grey",3,"item","isExpanded"],["itemStyle","accent",3,"item","isExpanded"]],template:function(t,i){t&1&&(x(0,"div",0)(1,"div",1)(2,"div",2),yi("click",function(){return i.toggleMode()}),x(3,"div",3),z(4,"mat-icon",4),F(),ve(5,dl,6,2,"div",5),F(),x(6,"div",6),z(7,"mat-divider"),F(),ve(8,ml,2,0)(9,hl,2,0),x(10,"div",7),z(11,"mat-divider"),F(),Et(12,gl,2,2,"div",8,rn),F(),x(14,"div",9),z(15,"mat-divider"),F(),x(16,"div",10)(17,"div",11),yi("click",function(){return i.toggleSidebar()}),x(18,"mat-icon"),Re(19),F(),ve(20,yl,2,0,"span",12),F()()()),t&2&&(Ee("@expandCollapse",i.isExpanded?"expanded":"collapsed"),q(5),_e(i.isExpanded?5:-1),q(3),_e(i.currentMode===i.Modes.GUIDED?8:9),q(4),_t(i.SidenavConstants.common),q(7),qn(i.isExpanded?"chevron_left":"chevron_right"),q(),_e(i.isExpanded?20:-1))},dependencies:[Cs,Rt,It,vr,Sr],styles:["[_nghost-%COMP%]{height:100%}.sidenav-wrapper[_ngcontent-%COMP%]{padding:0 12px;display:flex;flex-direction:column;justify-content:space-between}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%]{display:flex;cursor:pointer;height:38px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .left[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-600);margin-left:8px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%]{margin-left:10px}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%]{display:flex;align-items:center;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .switch[_ngcontent-%COMP%] .right[_ngcontent-%COMP%] .switch-button[_ngcontent-%COMP%] .switch-icon[_ngcontent-%COMP%]{margin-left:5px;font-size:16px;width:16px;height:16px}.sidenav-wrapper[_ngcontent-%COMP%] .sidenav-items-wrapper[_ngcontent-%COMP%]{margin-top:10px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]{flex-shrink:0;display:flex;align-items:center;padding:6px;cursor:pointer;transition:background-color .3s ease;color:var(--foregrounds-750)}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%]:hover{color:var(--foregrounds-800);background-color:var(--foregrounds-150);border-radius:8px}.sidenav-wrapper[_ngcontent-%COMP%] .sidebar-toggle[_ngcontent-%COMP%] mat-icon[_ngcontent-%COMP%]{margin-right:8px;color:var(--foregrounds-750)}.text-container[_ngcontent-%COMP%]{width:180px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}"],data:{animation:[lr("expandCollapse",[vi("expanded",ze({width:"270px"})),vi("collapsed",ze({width:"40px"})),dr("expanded <=> collapsed",cr("300ms ease-in-out"))])]}}),he);Jt=yt([Mt()],Jt);var Ps=(()=>{let e=class e{};e.\u0275fac=function(r){return new(r||e)},e.\u0275cmp=ye({type:e,selectors:[["ms-main-layout"]],standalone:!0,features:[Te],decls:9,vars:0,consts:[[1,"container"],[1,"body"],[1,"content"],[1,"router-outlet"],[1,"footer"],["styleMode","mainLayout"]],template:function(r,s){r&1&&(x(0,"div",0),z(1,"ms-header"),x(2,"div",1),z(3,"ms-sidenav"),x(4,"div",2)(5,"div",3),z(6,"router-outlet"),F(),x(7,"div",4),z(8,"ms-footer",5),F()()()())},dependencies:[Er,Cr,Jt,wt,bt],styles:[".container[_ngcontent-%COMP%]{display:flex;flex-direction:column;min-height:100vh;overflow-x:hidden;max-width:100vw}.body[_ngcontent-%COMP%]{flex:1;display:flex;margin-top:20px}.content[_ngcontent-%COMP%]{flex:1;display:flex;flex-direction:column;margin:0 10px;overflow-x:hidden}.router-outlet[_ngcontent-%COMP%]{flex:1;padding:0 2px}ms-footer[_ngcontent-%COMP%]{height:60px}ms-header[_ngcontent-%COMP%], ms-sidenav[_ngcontent-%COMP%]{overflow-x:hidden}"]});let n=e;return n})();var Is={records:Nr};var Rs=[{path:C.AUTH.ROOT,loadChildren:()=>import("./chunk-TNFH2H5N.js").then(n=>n.AuthModule),canActivate:[Yt]},{path:C.MODE_SELECT.ROOT,loadChildren:()=>import("./chunk-BHT4CU75.js").then(n=>n.ModeSelectModule),canActivate:[dt,Xt]},{path:C.DEMO.ROOT,loadChildren:()=>import("./chunk-IG2F6LQR.js").then(n=>n.DemoModule)},{path:"",pathMatch:"full",redirectTo:C.AUTH.ROOT},{path:"",component:Ps,canActivate:[dt],children:[{path:"",redirectTo:C.WIZARD.ROOT,pathMatch:"full"},{path:C.WIZARD.ROOT,loadChildren:()=>import("./chunk-RVUR74XF.js").then(n=>n.WizardModule)},{path:C.MODEL_COMPRESSION.ROOT,loadChildren:()=>import("./chunk-OHPNN2ZF.js").then(n=>n.ModelCompressionModule)},{path:C.MACHINE_UNLEARNING.ROOT,loadChildren:()=>import("./chunk-ACFRFOTT.js").then(n=>n.MachineUnlearningModule)},{path:C.AWQ.ROOT,loadChildren:()=>import("./chunk-JIVTEK4P.js").then(n=>n.LlmQuantizationModule)},{path:C.RUNNING.ROOT,loadChildren:()=>import("./chunk-6VUZT3BW.js").then(n=>n.RunningModule)},{path:C.MODEL_TRAINING.ROOT,loadChildren:()=>import("./chunk-KARKM4NW.js").then(n=>n.ModelTrainingModule)},{path:C.ALGORITHM_COMPARISON.ROOT,loadChildren:()=>import("./chunk-KLXF22V6.js").then(n=>n.AlgorithmComparisonModule),providers:[Se(Je.forFeature("runRecords",Is)),Se(et.forFeature([Rr]))]},{path:C.MULTI_MODAL.ROOT,loadChildren:()=>import("./chunk-IWNWWHR2.js").then(n=>n.MultiModalModule)},{path:C.ADMIN.ROOT,loadChildren:()=>import("./chunk-EXJWLBV7.js").then(n=>n.AdminModule)}]}];function Ns(){return[Mi,Oi,dt,wi,Yt,Xt,bi,qe,Or,zr,jr,Lr,$r,Kr,Ur,nt,Qr,xr,{provide:zn,multi:!0,useValue(){let n=ce(wi),e=ce(nt),t=ce(Tr),i=ce(bi),r=ce(Mi),s=ce(Oi);r.connect(),s.connect(),n.trackNavigationHistory(),e.trackCurrentRunningPage(),t.registerFontClassAlias("icomoon","ms"),i.dispatch(Nt.fetchScriptStatus())}}]}function Ds(){return[{provide:_r,useValue:{floatLabel:"always",appearance:"outline",density:"cozy"}},{provide:Dr,useValue:{displayDefaultIndicatorType:!0,showError:!1}},{provide:Wr,useValue:{placeholderLabel:"Search...",noEntriesFoundLabel:"No matching entries found..."}}]}var ei=class{constructor(e){this.httpClient=e}get httpHeaders(){return new Zn}getRequestOptions(e){let t=e.getParams||void 0;return{headers:this.httpHeaders,params:t}}serviceCall(e){return Tt()&&console.log(`serviceCall@Client - ${e.getMethod} - ${e.getUrl}`),W(e).pipe(G(t=>{if(t.getMock)return this.httpClient.get(t.getUrl,this.getRequestOptions(t)).pipe(xn(t.getMockDelay));switch(t.getMethod){case"GET":return this.httpClient.get(t.getUrl,this.getRequestOptions(t));case"POST":return this.httpClient.post(t.getUrl,t.getBody,this.getRequestOptions(t));case"PUT":return this.httpClient.put(t.getUrl,null,this.getRequestOptions(t));default:throw new Error(`Unsupported method: ${t.getMethod}`)}}))}};function xs(){return[{provide:Me,useFactory:n=>new ei(n),deps:[Xn]}]}var Sl=(()=>{let e=class e{constructor(i){this.bannerService=i}handleError(i,r){let s=r.error,{error:o}=s;switch(r.status){case 400:case 404:case 500:case 503:this.spawnNotification(o);break;case 504:this.spawnNotification(s);break;default:this.spawnNotification(o);break}return Pn(()=>r)}spawnNotification(i){this.bannerService.showError(i)}};e.\u0275fac=function(r){return new(r||e)(_(Dt))},e.\u0275prov=L({token:e,factory:e.\u0275fac,providedIn:"root"});let n=e;return n})(),Fs=(()=>{let e=class e{constructor(i){this.errorHandler=i}intercept(i,r){return r.handle(i).pipe(Z(s=>this.errorHandler.handleError(i,s)))}};e.\u0275fac=function(r){return new(r||e)(_(Sl))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function ks(){return[{provide:Si,useClass:Fs,multi:!0},{provide:Si,useClass:Hr,multi:!0}]}var mt="PERFORM_ACTION",vl="REFRESH",Ks="RESET",Bs="ROLLBACK",qs="COMMIT",Qs="SWEEP",Gs="TOGGLE_ACTION",El="SET_ACTIONS_ACTIVE",Vs="JUMP_TO_STATE",Ws="JUMP_TO_ACTION",yn="IMPORT_STATE",Hs="LOCK_CHANGES",Zs="PAUSE_RECORDING",We=class{constructor(e,t){if(this.action=e,this.timestamp=t,this.type=mt,typeof e.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?')}},sn=class{constructor(){this.type=vl}},on=class{constructor(e){this.timestamp=e,this.type=Ks}},an=class{constructor(e){this.timestamp=e,this.type=Bs}},ln=class{constructor(e){this.timestamp=e,this.type=qs}},cn=class{constructor(){this.type=Qs}},un=class{constructor(e){this.id=e,this.type=Gs}};var dn=class{constructor(e){this.index=e,this.type=Vs}},fn=class{constructor(e){this.actionId=e,this.type=Ws}},mn=class{constructor(e){this.nextLiftedState=e,this.type=yn}},pn=class{constructor(e){this.status=e,this.type=Hs}},hn=class{constructor(e){this.status=e,this.type=Zs}};var ri=new Ze("@ngrx/store-devtools Options"),Ls=new Ze("@ngrx/store-devtools Initial Config");function Xs(){return null}var _l="NgRx Store DevTools";function Tl(n){let e={maxAge:!1,monitor:Xs,actionSanitizer:void 0,stateSanitizer:void 0,name:_l,serialize:!1,logOnly:!1,autoPause:!1,trace:!1,traceLimit:75,features:{pause:!0,lock:!0,persist:!0,export:!0,import:"custom",jump:!0,skip:!0,reorder:!0,dispatch:!0,test:!0},connectInZone:!1},t=typeof n=="function"?n():n,i=t.logOnly?{pause:!0,export:!0,test:!0}:!1,r=t.features||i||e.features;r.import===!0&&(r.import="custom");let s=Object.assign({},e,{features:r},t);if(s.maxAge&&s.maxAge<2)throw new Error(`Devtools 'maxAge' cannot be less than 2, got ${s.maxAge}`);return s}function js(n,e){return n.filter(t=>e.indexOf(t)<0)}function Ys(n){let{computedStates:e,currentStateIndex:t}=n;if(t>=e.length){let{state:r}=e[e.length-1];return r}let{state:i}=e[t];return i}function ft(n){return new We(n,+Date.now())}function bl(n,e){return Object.keys(e).reduce((t,i)=>{let r=Number(i);return t[r]=Js(n,e[r],r),t},{})}function Js(n,e,t){return N(A({},e),{action:n(e.action,t)})}function wl(n,e){return e.map((t,i)=>({state:eo(n,t.state,i),error:t.error}))}function eo(n,e,t){return n(e,t)}function to(n){return n.predicate||n.actionsSafelist||n.actionsBlocklist}function Ml(n,e,t,i){let r=[],s={},o=[];return n.stagedActionIds.forEach((a,l)=>{let c=n.actionsById[a];c&&(l&&Sn(n.computedStates[l],c,e,t,i)||(s[a]=c,r.push(a),o.push(n.computedStates[l])))}),N(A({},n),{stagedActionIds:r,actionsById:s,computedStates:o})}function Sn(n,e,t,i,r){let s=t&&!t(n,e.action),o=i&&!e.action.type.match(i.map(l=>zs(l)).join("|")),a=r&&e.action.type.match(r.map(l=>zs(l)).join("|"));return s||o||a}function zs(n){return n.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function io(n){return{ngZone:n?ce(vt):null,connectInZone:n}}var si=(()=>{let e=class e extends Ct{};e.\u0275fac=(()=>{let i;return function(s){return(i||(i=Un(e)))(s||e)}})(),e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),ti={START:"START",DISPATCH:"DISPATCH",STOP:"STOP",ACTION:"ACTION"},gn=new Ze("@ngrx/store-devtools Redux Devtools Extension"),no=(()=>{let e=class e{constructor(i,r,s){this.config=r,this.dispatcher=s,this.zoneConfig=io(this.config.connectInZone),this.devtoolsExtension=i,this.createActionStreams()}notify(i,r){if(this.devtoolsExtension)if(i.type===mt){if(r.isLocked||r.isPaused)return;let s=Ys(r);if(to(this.config)&&Sn(s,i,this.config.predicate,this.config.actionsSafelist,this.config.actionsBlocklist))return;let o=this.config.stateSanitizer?eo(this.config.stateSanitizer,s,r.currentStateIndex):s,a=this.config.actionSanitizer?Js(this.config.actionSanitizer,i,r.nextActionId):i;this.sendToReduxDevtools(()=>this.extensionConnection.send(a,o))}else{let s=N(A({},r),{stagedActionIds:r.stagedActionIds,actionsById:this.config.actionSanitizer?bl(this.config.actionSanitizer,r.actionsById):r.actionsById,computedStates:this.config.stateSanitizer?wl(this.config.stateSanitizer,r.computedStates):r.computedStates});this.sendToReduxDevtools(()=>this.devtoolsExtension.send(null,s,this.getExtensionConfig(this.config)))}}createChangesObservable(){return this.devtoolsExtension?new fi(i=>{let r=this.zoneConfig.connectInZone?this.zoneConfig.ngZone.runOutsideAngular(()=>this.devtoolsExtension.connect(this.getExtensionConfig(this.config))):this.devtoolsExtension.connect(this.getExtensionConfig(this.config));return this.extensionConnection=r,r.init(),r.subscribe(s=>i.next(s)),r.unsubscribe}):Cn}createActionStreams(){let i=this.createChangesObservable().pipe(kn()),r=i.pipe(je(d=>d.type===ti.START)),s=i.pipe(je(d=>d.type===ti.STOP)),o=i.pipe(je(d=>d.type===ti.DISPATCH),Q(d=>this.unwrapAction(d.payload)),Rn(d=>d.type===yn?this.dispatcher.pipe(je(u=>u.type===Ti),In(1e3),Nn(1e3),Q(()=>d),Z(()=>W(d)),Dn(1)):W(d))),l=i.pipe(je(d=>d.type===ti.ACTION),Q(d=>this.unwrapAction(d.payload))).pipe(St(s)),c=o.pipe(St(s));this.start$=r.pipe(St(s)),this.actions$=this.start$.pipe(G(()=>l)),this.liftedActions$=this.start$.pipe(G(()=>c))}unwrapAction(i){return typeof i=="string"?(0,eval)(`(${i})`):i}getExtensionConfig(i){let r={name:i.name,features:i.features,serialize:i.serialize,autoPause:i.autoPause??!1,trace:i.trace??!1,traceLimit:i.traceLimit??75};return i.maxAge!==!1&&(r.maxAge=i.maxAge),r}sendToReduxDevtools(i){try{i()}catch(r){console.warn("@ngrx/store-devtools: something went wrong inside the redux devtools",r)}}};e.\u0275fac=function(r){return new(r||e)(_(gn),_(ri),_(si))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})(),ni={type:_i},Ol="@ngrx/store-devtools/recompute",Cl={type:Ol};function ro(n,e,t,i,r){if(i)return{state:t,error:"Interrupted by an error up the chain"};let s=t,o;try{s=n(t,e)}catch(a){o=a.toString(),r.handleError(a)}return{state:s,error:o}}function ii(n,e,t,i,r,s,o,a,l){if(e>=n.length&&n.length===s.length)return n;let c=n.slice(0,e),d=s.length-(l?1:0);for(let u=e;u-1?f:ro(t,g,m,T,a);c.push(P)}return l&&c.push(n[n.length-1]),c}function Al(n,e){return{monitorState:e(void 0,{}),nextActionId:1,actionsById:{0:ft(ni)},stagedActionIds:[0],skippedActionIds:[],committedState:n,currentStateIndex:0,computedStates:[],isLocked:!1,isPaused:!1}}function Pl(n,e,t,i,r={}){return s=>(o,a)=>{let{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:f,computedStates:m,isLocked:T,isPaused:w}=o||e;o||(c=Object.create(c));function P(I){let E=I,D=u.slice(1,E+1);for(let R=0;RD.indexOf(R)===-1),u=[0,...u.slice(E+1)],g=m[E].state,m=m.slice(E),f=f>E?f-E:0}function j(){c={0:ft(ni)},d=1,u=[0],p=[],g=m[f].state,f=0,m=[]}let v=0;switch(a.type){case Hs:{T=a.status,v=1/0;break}case Zs:{w=a.status,w?(u=[...u,d],c[d]=new We({type:"@ngrx/devtools/pause"},+Date.now()),d++,v=u.length-1,m=m.concat(m[m.length-1]),f===u.length-2&&f++,v=1/0):j();break}case Ks:{c={0:ft(ni)},d=1,u=[0],p=[],g=n,f=0,m=[];break}case qs:{j();break}case Bs:{c={0:ft(ni)},d=1,u=[0],p=[],f=0,m=[];break}case Gs:{let{id:I}=a;p.indexOf(I)===-1?p=[I,...p]:p=p.filter(D=>D!==I),v=u.indexOf(I);break}case El:{let{start:I,end:E,active:D}=a,R=[];for(let ie=I;ier.maxAge&&(m=ii(m,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);break}case Ti:{if(m.filter(E=>E.error).length>0)v=0,r.maxAge&&u.length>r.maxAge&&(m=ii(m,v,s,g,c,u,p,t,w),P(u.length-r.maxAge),v=1/0);else{if(!w&&!T){f===u.length-1&&f++;let E=d++;c[E]=new We(a,+Date.now()),u=[...u,E],v=u.length-1,m=ii(m,v,s,g,c,u,p,t,w)}m=m.map(E=>N(A({},E),{state:s(E.state,Cl)})),f=u.length-1,r.maxAge&&u.length>r.maxAge&&P(u.length-r.maxAge),v=1/0}break}default:{v=1/0;break}}return m=ii(m,v,s,g,c,u,p,t,w),l=i(l,a),{monitorState:l,actionsById:c,nextActionId:d,stagedActionIds:u,skippedActionIds:p,committedState:g,currentStateIndex:f,computedStates:m,isLocked:T,isPaused:w}}}var $s=(()=>{let e=class e{constructor(i,r,s,o,a,l,c,d){let u=Al(c,d.monitor),p=Pl(c,u,l,d.monitor,d),g=mi(mi(r.asObservable().pipe(Ln(1)),o.actions$).pipe(Q(ft)),i,o.liftedActions$).pipe(An(On)),f=s.pipe(Q(p)),m=io(d.connectInZone),T=new Mn(1);this.liftedStateSubscription=g.pipe(jn(f),Us(m),Fn(({state:j},[v,I])=>{let E=I(j,v);return v.type!==mt&&to(d)&&(E=Ml(E,d.predicate,d.actionsSafelist,d.actionsBlocklist)),o.notify(v,E),{state:E,action:v}},{state:u,action:null})).subscribe(({state:j,action:v})=>{if(T.next(j),v.type===mt){let I=v.action;a.next(I)}}),this.extensionStartSubscription=o.start$.pipe(Us(m)).subscribe(()=>{this.refresh()});let w=T.asObservable(),P=w.pipe(Q(Ys));Object.defineProperty(P,"state",{value:fr(P,{manualCleanup:!0,requireSync:!0})}),this.dispatcher=i,this.liftedState=w,this.state=P}ngOnDestroy(){this.liftedStateSubscription.unsubscribe(),this.extensionStartSubscription.unsubscribe()}dispatch(i){this.dispatcher.next(i)}next(i){this.dispatcher.next(i)}error(i){}complete(){}performAction(i){this.dispatch(new We(i,+Date.now()))}refresh(){this.dispatch(new sn)}reset(){this.dispatch(new on(+Date.now()))}rollback(){this.dispatch(new an(+Date.now()))}commit(){this.dispatch(new ln(+Date.now()))}sweep(){this.dispatch(new cn)}toggleAction(i){this.dispatch(new un(i))}jumpToAction(i){this.dispatch(new fn(i))}jumpToState(i){this.dispatch(new dn(i))}importState(i){this.dispatch(new mn(i))}lockChanges(i){this.dispatch(new pn(i))}pauseRecording(i){this.dispatch(new hn(i))}};e.\u0275fac=function(r){return new(r||e)(_(si),_(Ct),_(pr),_(no),_(gr),_(Kn),_(mr),_(ri))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function Us({ngZone:n,connectInZone:e}){return t=>e?new fi(i=>t.subscribe({next:r=>n.run(()=>i.next(r)),error:r=>n.run(()=>i.error(r)),complete:()=>n.run(()=>i.complete())})):t}var Il=new Ze("@ngrx/store-devtools Is Devtools Extension or Monitor Present");function Rl(n,e){return!!n||e.monitor!==Xs}function Nl(){let n="__REDUX_DEVTOOLS_EXTENSION__";return typeof window=="object"&&typeof window[n]<"u"?window[n]:null}function so(n={}){return $n([no,si,$s,{provide:Ls,useValue:n},{provide:Il,deps:[gn,ri],useFactory:Rl},{provide:gn,useFactory:Nl},{provide:ri,deps:[Ls],useFactory:Tl},{provide:yr,deps:[$s],useFactory:Dl},{provide:hr,useExisting:si}])}function Dl(n){return n.state}var uo=Co(co(),1);var vn="@ngrx/store/init",Vl="@ngrx/store/update-reducers",Wl=/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2})/,Hl=(n,e)=>typeof e=="string"&&Wl.test(e)?new Date(e):e,Zl=(n,e)=>e,Xl=()=>typeof window<"u",Yl=n=>n.map(e=>{let t=e;if(typeof e=="object"&&(t=Object.keys(e)[0]),typeof t!="string")throw new TypeError(`localStorageSync Unknown Parameter Type: Expected type of string, got ${typeof t}`);return e}),Jl=(n,e,t,i)=>n.reduce((r,s)=>{let o=s,a=i?Hl:Zl,l,c;if(typeof o=="object"&&(o=Object.keys(o)[0],typeof s[o]=="function"?a=s[o]:(s[o].reviver&&(a=s[o].reviver),s[o].deserialize&&(l=s[o].deserialize)),s[o].encrypt&&s[o].decrypt?typeof s[o].encrypt=="function"&&typeof s[o].decrypt=="function"?c=s[o].decrypt:console.error(`Either encrypt or decrypt is not a function on '${s[o]}' key object.`):(s[o].encrypt||s[o].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${s[o]}' key object.`)),e!==void 0){let d=e.getItem(t(o));if(d){c&&(d=c(d));let u=new RegExp("{|\\["),p=d;return(d==="null"||d==="true"||d==="false"||u.test(d.charAt(0)))&&(p=JSON.parse(d,a)),Object.assign({},r,{[o]:l?l(p):p})}}return r},{});function fo(n,e){return e.reduce((t,i)=>{if(typeof i=="string"||typeof i=="number"){let r=n?.[i];r!==void 0&&(t[i]=r)}else for(let r in i)if(Object.prototype.hasOwnProperty.call(i,r)){let s=i[r];t[r]=fo(n[r],s)}return t},{})}var ec=(n,e,t,i,r,s)=>{if(s)try{if(s(n)!==!0)return}catch(o){if(o instanceof TypeError)return;throw o}e.forEach(o=>{let a=n[o],l,c,d;if(typeof o=="object"){let u=Object.keys(o)[0];if(a=n[u],typeof a<"u"&&o[u]){if(o[u].serialize)a=o[u].serialize(a);else{let p;o[u].reduce?p=o[u]:o[u].filter&&(p=o[u].filter),p&&(a=fo(a,p)),o[u].encrypt&&o[u].decrypt?typeof o[u].encrypt=="function"&&(d=o[u].encrypt):(o[u].encrypt||o[u].decrypt)&&console.error(`Either encrypt or decrypt function is not present on '${o[u]}' key object.`)}l=o[u].replacer,c=o[u].space}o=u}if(typeof a<"u"&&t!==void 0)try{d&&(a=d(typeof a=="string"?a:JSON.stringify(a,l,c))),t.setItem(i(o),typeof a=="string"?a:JSON.stringify(a,l,c))}catch(u){console.warn("Unable to save state to localStorage:",u)}else if(typeof a>"u"&&r&&t!==void 0)try{t.removeItem(i(o))}catch(u){console.warn(`Exception on removing/cleaning undefined '${o}' state`,u)}})},tc=(n,e,t)=>((t.type===vn||t.type===Vl)&&e&&(n=(0,uo.default)(n,e,{arrayMerge:(s,o,a)=>o})),n),mo=n=>e=>{(n.storage===void 0&&!n.checkStorageAvailability||n.checkStorageAvailability&&Xl())&&(n.storage=localStorage||window.localStorage),n.storageKeySerializer===void 0&&(n.storageKeySerializer=s=>s),n.restoreDates===void 0&&(n.restoreDates=!0);let t=n.mergeReducer;(t===void 0||typeof t!="function")&&(t=tc);let i=Yl(n.keys),r=n.rehydrate?Jl(i,n.storage,n.storageKeySerializer,n.restoreDates):void 0;return function(s,o){let a;return o.type===vn&&!s?a=e(s,o):a=A({},s),a=t(a,r,o),a=e(a,o),o.type!==vn&&ec(a,i,n.storage,n.storageKeySerializer,n.removeOnUndefined,n.syncCondition),a}};function ic(n){let t={keys:[{[$.CORE.ROOT]:[$.AUTH.ROOT,$.CONFIGS.ROOT,$.SCRIPT.ROOT]}],rehydrate:!0};return mo(t)(n)}var po=[ic];var ht=class extends br{constructor(e){if(!e)return;let t=new FormData;t.append("file",e),super("upload-model",t,!1)}};var go=(()=>{let e=class e{constructor(i,r,s){this.apiClient=i,this.bannerService=r,this.actions$=s,this.uploadFile$=ue(()=>this.actions$.pipe(de(ne.uploadFile),G(o=>this.apiClient.serviceCall(new ht(o.file)).pipe(Q(a=>ne.uploadFileSuccess({data:a})),Z(a=>W(ne.uploadFileFailure({error:a}))))))),this.uploadFileAndCallScript$=ue(()=>this.actions$.pipe(de(ne.uploadFileAndCallScript),G(o=>(this.bannerService.showInfo("Uploading file"),this.apiClient.serviceCall(new ht(o.file)).pipe(G(a=>(this.bannerService.showSuccess("File uploaded successfully."),[ne.uploadFileSuccess({data:a}),Nt.callScript({configs:o.configs})])),Z(a=>W(ne.uploadFileFailure({error:a}))))))))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Dt),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var nc={uploading:!1},yo=Ue(nc,V(ne.uploadFile,n=>N(A({},n),{uploading:!0})),V(ne.uploadFileSuccess,(n,{data:e})=>N(A({},n),{uploading:!1,uploadedData:e})),V(ne.uploadFileFailure,(n,{error:e})=>N(A({},n),{uploading:!1,error:e})));var Kd=At(Pt,({fileState:n})=>n.uploading),Bd=At(Pt,({fileState:n})=>n.uploadedData),qd=At(Pt,({fileState:n})=>n.error);var rc={quantizationModels:[],pruningModels:[],machineUnlearningModels:[],awqModels:[],currentModel:"",modelMetadata:{},error:void 0},So=Ue(rc,V(K.getModelsListSuccess,(n,{algorithmType:e,models:t})=>{switch(e){case tt.QUANTIZATION:return N(A({},n),{quantizationModels:t,error:void 0});case tt.PRUNING:return N(A({},n),{pruningModels:t,error:void 0});case tt.MACHINE_UNLEARNING:return N(A({},n),{machineUnlearningModels:t,error:void 0});case tt.AWQ:return N(A({},n),{awqModels:t,error:void 0});default:return n}}),V(K.getModelsListFailure,(n,{error:e})=>N(A({},n),{error:e})),V(K.getCurrentOrPreviousSelectedModelSuccess,(n,{model:e})=>N(A({},n),{currentModel:e})),V(K.getCurrentOrPreviousSelectedModelFailure,(n,{error:e})=>N(A({},n),{error:e})),V(K.getModelMetadataSuccess,(n,{metadata:e})=>N(A({},n),{modelMetadata:e,error:void 0})),V(K.getModelMetadataFailure,(n,{error:e})=>N(A({},n),{modelMetadata:{},error:e})));var oi=class extends we{constructor(e){super(`parameters/${e}`,void 0,void 0,!1),this.mock&&(this.url+="/get-response-body-200.json")}};var vo=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadParameters$=ue(()=>this.actions$.pipe(de(Oe.loadParameters),G(({arg:s})=>this.apiClient.serviceCall(new oi(s)).pipe(Q(o=>Oe.loadParametersSuccess({arg:s,parameters:o.parameters})),Z(o=>W(Oe.loadParametersFailure({arg:s,error:o})))))))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();var sc={},Eo=Ue(sc,V(Oe.loadParameters,(n,{arg:e})=>N(A({},n),{[e]:N(A({},n[e]),{loaded:!1,error:null})})),V(Oe.loadParametersSuccess,(n,{arg:e,parameters:t})=>N(A({},n),{[e]:{data:t,error:null,loaded:!0}})),V(Oe.loadParametersFailure,(n,{arg:e,error:t})=>N(A({},n),{[e]:N(A({},n[e]),{error:t,loaded:!0})})));var _o={auth:Mr,configs:Zr,script:Ir,uploadFile:yo,charts:kr,parameters:Eo,terminal:Vr,statistics:qr,models:So};var ai=class extends we{constructor(e){super(`current-or-previous-selected-model/${e}`,void 0,void 0,!1)}};var li=class extends we{constructor(e,t){super(`model-metadata/${e}/${t}`,void 0,void 0,!1)}};var ci=class extends we{constructor(e){super(`models-list/${e}`,void 0,void 0,!1)}};var To=(()=>{let e=class e{constructor(i,r){this.apiClient=i,this.actions$=r,this.loadModels$=ue(()=>this.actions$.pipe(de(K.getModelsList),G(s=>{let{algorithmType:o}=s;return this.apiClient.serviceCall(new ci(o)).pipe(Q(a=>K.getModelsListSuccess({algorithmType:o,models:a})),Z(a=>W(K.getModelsListFailure({error:a}))))}))),this.getCurrentOrPreviousSelectedModel$=ue(()=>this.actions$.pipe(de(K.getCurrentOrPreviousSelectedModel),G(s=>this.apiClient.serviceCall(new ai(s.algorithmType)).pipe(Q(o=>K.getCurrentOrPreviousSelectedModelSuccess({model:o.model})),Z(o=>W(K.getCurrentOrPreviousSelectedModelFailure({error:o}))))))),this.getModelMetadata$=ue(()=>this.actions$.pipe(de(K.getModelMetadata),G(s=>{let{algorithmType:o,modelName:a}=s;return this.apiClient.serviceCall(new li(o,a)).pipe(Q(l=>K.getModelMetadataSuccess({metadata:l})),Z(l=>W(K.getModelMetadataFailure({error:l}))))})))}};e.\u0275fac=function(r){return new(r||e)(_(Me),_(Ke))},e.\u0275prov=L({token:e,factory:e.\u0275fac});let n=e;return n})();function bo(){return[so({maxAge:25,logOnly:Tt(),connectInZone:!0}),Se([Je.forRoot({},{metaReducers:po}),et.forRoot([]),Je.forFeature("core",_o)]),Se(et.forFeature([wr,Pr,go,Fr,vo,Gr,Br,To]))]}var wo={providers:[Se(Os),or(Rs),Ds(),bo(),xs(),Ns(),ks(),nr(),Yn(Jn())]};tr(xt,wo).catch(n=>console.error(n)); diff --git a/frontend/server/modelsmith-build/browser/styles-YWQUSFK6.css b/frontend/server/modelsmith-build/browser/styles-WVA6NT4X.css similarity index 91% rename from frontend/server/modelsmith-build/browser/styles-YWQUSFK6.css rename to frontend/server/modelsmith-build/browser/styles-WVA6NT4X.css index 4d24de6..4143d36 100644 --- a/frontend/server/modelsmith-build/browser/styles-YWQUSFK6.css +++ b/frontend/server/modelsmith-build/browser/styles-WVA6NT4X.css @@ -1 +1 @@ -.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}html{color:var(--foregrounds-800)}.text-hint{color:var(--foregrounds-700)}.heading-primary-title{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}button.ms-white-stroked-button.mat-mdc-outlined-button{font-size:1rem;line-height:1.375rem;font-weight:400;border-color:var(--backgrounds-50);color:var(--backgrounds-50)}.mat-mdc-button.mat-unthemed{color:var(--foregrounds-700)!important;font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button{border-radius:6px;border-width:1px!important;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button:not(:disabled).mat-primary{border-color:var(--primary-800)}.mat-mdc-outlined-button:not(:disabled).mat-accent{border-color:var(--accent-400);font-weight:700}.mat-mdc-outlined-button:not(:disabled).mat-warn{border-color:var(--error-500);font-weight:700}.mat-button-toggle-group .mat-button-toggle{margin:0 5px;font-size:.875rem}:root{--mat-divider-width: 2px;--mat-divider-color: var(--foregrounds-300)}.vertical-divider{height:100%;width:1px;background-color:var(--backgrounds-50);margin:0 12px}mat-card.ms-card{border-radius:8px;padding:24px;box-shadow:0 3px 8px #00000014;border:2px solid transparent;transition:transform .3s cubic-bezier(.25,.8,.25,1),box-shadow .3s cubic-bezier(.25,.8,.25,1),border-color .3s cubic-bezier(.25,.8,.25,1)}mat-card.ms-card.action-card{cursor:pointer}mat-card.ms-card.action-card:hover{box-shadow:0 5px 15px #0000001f;background-color:var(--backgrounds-80)}mat-card.ms-card.action-card.selected{background-color:var(--backgrounds-80);box-shadow:inset 0 3px 8px #0000001a;border-color:var(--accent-400)}:root{--mat-option-label-text-size: .75rem;--mat-optgroup-label-text-size: .75rem;--background-color: #ffffff;--border-color: #dcdcdc;--text-color: #000000;--placeholder-color: #888888;--hover-border-color: #bcbcbc;--dark-background-color: #121212;--dark-border-color: #2c2c2c;--dark-text-color: #e0e0e0;--dark-placeholder-color: #757575;--dark-hover-border-color: #5e5e5e}.form-field-container{display:flex;flex-direction:column;color:var(--text-color)}.form-field-container.inline-container{flex-direction:row;align-items:center}.form-field-container .mat-mdc-form-field-hint-wrapper,.form-field-container .mat-mdc-form-field-error-wrapper{padding:0}.form-field-container .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color)}.form-field-container .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--text-color)}.form-field-container .mat-mdc-text-field-wrapper ::placeholder{color:var(--placeholder-color)}.form-field-container.dark{color:var(--dark-text-color)}.form-field-container.dark mat-label{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper:hover{border-color:var(--dark-hover-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper ::placeholder{color:var(--dark-placeholder-color)}.form-field-container.dark mat-icon{color:var(--dark-text-color)}.form-field-container mat-label{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;color:var(--text-color)}.form-field-container mat-label.dark{color:var(--dark-text-color)}.form-field-container mat-form-field .mat-mdc-form-field-icon-prefix>.mat-icon,.form-field-container mat-form-field .mat-mdc-form-field-icon-suffix>.mat-icon{padding:8.5px}.form-field-container mat-form-field .mdc-notched-outline{display:none}.form-field-container mat-form-field .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:6px}.form-field-container mat-form-field .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mdc-text-field__input{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;color:var(--text-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark:hover{border-color:var(--dark-hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mdc-text-field__input{color:var(--dark-text-color)}mat-table.ms-table .mat-mdc-header-row{background:transparent;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem;text-align:left;color:var(--foregrounds-800)}mat-table.ms-table .mdc-data-table__cell,mat-table.ms-table .mdc-data-table__header-cell{padding-left:0}mat-table.ms-table .mat-mdc-cell{background:transparent;font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;text-align:left;color:var(--foregrounds-750)}mat-stepper.ms-wizard{background-color:transparent}mat-stepper.ms-wizard .mat-horizontal-stepper-header-container{display:none}.mat-mdc-chip.ms-chip .mdc-evolution-chip__text-label{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.mat-mdc-chip.ms-chip.mat-accent.mat-mdc-standard-chip{background-color:var(--accent-50)}.mat-mdc-chip.ms-chip.mat-primary.mat-mdc-standard-chip{background-color:var(--primary-100)}.mat-mdc-chip.ms-chip.mat-warn.mat-mdc-standard-chip{background-color:var(--error-200)}.ms-mat-menu{--mat-menu-item-label-text-size: .875rem}.mdc-label{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.ms-checkbox-white{--mdc-checkbox-unselected-hover-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-focus-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-pressed-state-layer-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-icon-color: var(--backgrounds-50) !important}.ms-checkbox-white .mdc-label{color:var(--backgrounds-50)}.mat-mdc-tooltip:before{background-color:var(--tooltip);height:12px;width:12px;rotate:45deg;right:50%!important;left:auto!important;transform:translate(4px,-4px)}.mdc-tooltip__surface{background-color:var(--tooltip)!important}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip:before{top:auto;bottom:-6px!important}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip:before{top:-6px!important;bottom:auto}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: rgba(255, 255, 255, 1) !important;--mdc-snackbar-supporting-text-color: rgba(35, 40, 46, 1) !important}.notification-panel-success .mdc-snackbar__surface{border-left:6px solid var(--success-500)}.notification-panel-error .mdc-snackbar__surface{border-left:6px solid var(--error-500)}.notification-panel-warning .mdc-snackbar__surface{border-left:6px solid var(--warning-500)}.notification-panel-info .mdc-snackbar__surface{border-left:6px solid var(--primary-800)}.dialog-backdrop,.drawer-backdrop{background-color:var(--foregrounds-500-alpha)}.mdc-list-item__primary-text{width:100%}.mat-mdc-optgroup-label{padding:5px 16px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-h1,.mat-headline-5,body .mat-h1,body .mat-headline-5,body h1{font:700 1.5rem/2.125rem Montserrat;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,body .mat-h2,body .mat-headline-6,body h2{font:500 1.25rem/2rem Montserrat;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,body .mat-h3,body .mat-subtitle-1,body h3{font:400 1rem/1.75rem Montserrat;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,body .mat-h4,body .mat-body-1,body h4{font:400 1rem/1.5rem Montserrat;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,body .mat-h5,body h5{font:400 .72625rem/1.25rem Montserrat;margin:0 0 12px}.mat-h6,body .mat-h6,body h6{font:400 .58625rem/1.25rem Montserrat;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,body .mat-body-strong,body .mat-subtitle-2{font:500 .875rem/1.375rem Montserrat;letter-spacing:.0071428571em}.mat-body,.mat-body-2,body .mat-body,body .mat-body-2,body{font:400 .875rem/1.25rem Montserrat;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,body .mat-body p,body .mat-body-2 p,body p{margin:0 0 12px}.mat-small,.mat-caption,body .mat-small,body .mat-caption{font:400 .75rem/1.25rem Montserrat;letter-spacing:.0333333333em}.mat-headline-1,body .mat-headline-1{font:300 7rem/7rem Montserrat;letter-spacing:-.05em;margin:0 0 56px}.mat-headline-2,body .mat-headline-2{font:400 3.5rem/3.5rem Montserrat;letter-spacing:-.02em;margin:0 0 64px}.mat-headline-3,body .mat-headline-3{font:400 2.8125rem/3rem Montserrat;letter-spacing:-.005em;margin:0 0 64px}.mat-headline-4,body .mat-headline-4{font:400 2.125rem/2.5rem Montserrat;letter-spacing:normal;margin:0 0 64px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--backgrounds-100)}::-webkit-scrollbar-thumb{background:var(--backgrounds-500);border-radius:16px}::-webkit-scrollbar-thumb:hover{background:var(--backgrounds-700)}@font-face{font-family:icomoon;src:url("./media/icomoon-N4UB7WA7.eot?39lrb6");src:url("./media/icomoon-N4UB7WA7.eot?39lrb6#iefix") format("embedded-opentype"),url("./media/icomoon-ALHP4THO.ttf?39lrb6") format("truetype"),url("./media/icomoon-FCELVRZF.woff?39lrb6") format("woff"),url("./media/icomoon-JVEKTUSA.svg?39lrb6#icomoon") format("svg");font-weight:400;font-style:normal;font-display:block}[class^=icon-],[class*=" icon-"]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-Admin:before{content:"\e955"}.icon-Environmental:before{content:"\e956"}.icon-Inventory:before{content:"\e957"}.icon-Systems-Manager:before{content:"\e958"}.icon-SelectedFalse:before{content:"\e958"}.icon-Alerts-Info .path1:before{content:"\e900";color:#5b92f0}.icon-Alerts-Info .path2:before{content:"\e901";margin-left:-1em;color:#fff}.icon-Alerts-Info .path3:before{content:"\e902";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path1:before{content:"\e903";color:#c24632}.icon-Alerts-Negative .path2:before{content:"\e904";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path3:before{content:"\e905";margin-left:-1em;color:#fff}.icon-Alerts-Positive .path1:before{content:"\e906";color:#45991f}.icon-Alerts-Positive .path2:before{content:"\e907";margin-left:-1em;color:#fff}.icon-Alerts-Warning .path1:before{content:"\e908";color:#d9b216}.icon-Alerts-Warning .path2:before{content:"\e909";margin-left:-1em;color:#464c54}.icon-Alerts-Warning .path3:before{content:"\e90a";margin-left:-1em;color:#464c54}.icon-ArrowDown:before{content:"\e90b"}.icon-ArrowLeft:before{content:"\e90c"}.icon-ArrowRight:before{content:"\e90d"}.icon-ArrowSquareOut:before{content:"\e90e"}.icon-ArrowUp:before{content:"\e90f"}.icon-Bell:before{content:"\e910"}.icon-CalendarBlank:before{content:"\e911"}.icon-CaretDoubleLeft:before{content:"\e912"}.icon-CaretDoubleRight:before{content:"\e913"}.icon-CaretDown:before{content:"\e914"}.icon-CaretLeft:before{content:"\e915"}.icon-CaretRight:before{content:"\e916"}.icon-CaretUp:before{content:"\e917"}.icon-Check:before{content:"\e918"}.icon-CheckCircle:before{content:"\e919"}.icon-Clock:before{content:"\e91a"}.icon-Copy:before{content:"\e91b"}.icon-Crosshair:before{content:"\e91c"}.icon-DotsSix:before{content:"\e91d"}.icon-DotsThree:before{content:"\e91e"}.icon-DotsThreeVertical:before{content:"\e91f"}.icon-DownloadSimple:before{content:"\e920"}.icon-DropdownCaretDown:before{content:"\e921"}.icon-DropdownCaretRight:before{content:"\e922"}.icon-DropdownCaretUp:before{content:"\e923"}.icon-EnvelopeSimple:before{content:"\e924"}.icon-Eye:before{content:"\e925"}.icon-EyeSlash:before{content:"\e926"}.icon-FunnelSimple:before{content:"\e927"}.icon-GearSix:before{content:"\e928"}.icon-Info:before{content:"\e929"}.icon-Lightning:before{content:"\e92a"}.icon-ListBullets:before{content:"\e92b"}.icon-Loader:before{content:"\e92c"}.icon-Lock:before{content:"\e92d"}.icon-MagicWand:before{content:"\e92e"}.icon-Magnet:before{content:"\e92f"}.icon-MagnifyingGlass:before{content:"\e930"}.icon-MapTrifold:before{content:"\e931"}.icon-Minus:before{content:"\e932"}.icon-Nav:before{content:"\e933"}.icon-Paperclip:before{content:"\e934"}.icon-Passthrough:before{content:"\e935"}.icon-PencilSimple:before{content:"\e936"}.icon-Placeholder:before{content:"\e937"}.icon-Plus:before{content:"\e938"}.icon-Printer:before{content:"\e939"}.icon-Prohibit:before{content:"\e93a"}.icon-Question:before{content:"\e93b"}.icon-Refresh:before{content:"\e93c"}.icon-Rocket:before{content:"\e93d"}.icon-SignOut:before{content:"\e93e"}.icon-Sort:before{content:"\e93f"}.icon-SortDown .path1:before{content:"\e940";color:#000}.icon-SortDown .path2:before{content:"\e941";margin-left:-1em;color:#232323}.icon-SortUp .path1:before{content:"\e942";color:#232323}.icon-SortUp .path2:before{content:"\e943";margin-left:-1em;color:#000}.icon-Stack:before{content:"\e944"}.icon-StackPort:before{content:"\e945"}.icon-TrashSimple:before{content:"\e946"}.icon-TrendDown:before{content:"\e947"}.icon-TrendUp:before{content:"\e948"}.icon-UploadSimple:before{content:"\e949"}.icon-User:before{content:"\e94a"}.icon-Users:before{content:"\e94b"}.icon-WifiHigh:before{content:"\e94c"}.icon-WifiLightning:before{content:"\e94d"}.icon-WifiLow:before{content:"\e94e"}.icon-WifiMedium:before{content:"\e94f"}.icon-WifiNone:before{content:"\e950"}.icon-WifiSlash:before{content:"\e951"}.icon-WifiX:before{content:"\e952"}.icon-X:before{content:"\e953"}.icon-XCircle:before{content:"\e954"}.mat-icon.size-18{font-size:1.125rem;width:1.125rem;height:1.125rem}.mat-icon.size-20{font-size:1.25rem;width:1.25rem;height:1.25rem}.mat-icon.size-24{font-size:1.5rem;width:1.5rem;height:1.5rem}.mat-icon.size-32{font-size:2rem;width:2rem;height:2rem}.mat-icon.size-48{font-size:3rem;width:3rem;height:3rem}mat-icon{font-size:1.5rem}mat-icon.mat-primary{color:var(--primary-800)!important}mat-icon.mat-complementary{color:var(--complementary-800)!important}mat-icon.mat-gray{color:var(--foregrounds-600)!important}mat-icon.mat-white{color:var(--backgrounds-50)!important}mat-icon.mat-accent{color:var(--accent-400)!important}mat-icon.mat-success{color:var(--success-500)!important}mat-icon.mat-warn{color:var(--warning-500)!important}mat-icon.mat-error{color:var(--error-500)!important}button[disabled] mat-icon{color:var(--backgroudns-800)!important}button[disabled] .scale-on-hover:hover{transform:none}.scale-on-hover{cursor:pointer;transition:transform .3s ease;display:inline-flex;align-items:center;justify-content:center}.scale-on-hover:hover{transform:scale(1.1);transform-origin:center}.key-value-container.single{display:grid;grid-template-columns:repeat(1,1fr)}.key-value-container.two-per-row{display:grid;grid-template-columns:repeat(2,1fr)}.key-value-container.three-per-row{display:grid;grid-template-columns:repeat(3,1fr)}.key-value-container.flexible{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.key-value-container.dense{display:flex;flex-wrap:wrap;justify-content:space-between}.key-value-container.dense .key-value-pair{flex-basis:calc(50% - 6px);margin-bottom:12px}@media (max-width: 768px){.key-value-container.dense .key-value-pair{flex-basis:100%}}.key-value-pair{display:flex;align-items:center;padding:6px 0}.key-value-pair.space-between{display:flex;justify-content:space-between;align-items:center}.key-value-key{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.key-value-value{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;margin-left:5px}a{cursor:pointer;color:var(--primary-800);text-decoration:none;font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}a:hover{color:var(--primary-600)}.page-wrapper{display:flex;justify-content:space-between;gap:20px;height:100%}.page-wrapper .left{display:flex;flex-direction:column;width:45%;gap:20px}.page-wrapper .right{display:flex;flex-direction:column;width:55%;height:100%}.xterm-viewport{overflow-y:auto!important}.visible{visibility:visible}.static{position:static}.fixed{position:fixed}.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-\[22px\]{margin-bottom:22px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-8px\]{margin-left:-8px}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-\[2px\]{margin-top:2px}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-9{height:2.25rem}.w-56{width:14rem}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.p-2{padding:.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-base{font-size:1rem;line-height:1.5rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in{transition-timing-function:cubic-bezier(.4,0,1,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}html,body{height:100%;background-color:var(--backgrounds-100)}body{margin:0}.no-scroll{overflow:hidden} +.xterm{cursor:text;position:relative;user-select:none;-ms-user-select:none;-webkit-user-select:none}.xterm.focus,.xterm:focus{outline:none}.xterm .xterm-helpers{position:absolute;top:0;z-index:5}.xterm .xterm-helper-textarea{padding:0;border:0;margin:0;position:absolute;opacity:0;left:-9999em;top:0;width:0;height:0;z-index:-5;white-space:nowrap;overflow:hidden;resize:none}.xterm .composition-view{background:#000;color:#fff;display:none;position:absolute;white-space:nowrap;z-index:1}.xterm .composition-view.active{display:block}.xterm .xterm-viewport{background-color:#000;overflow-y:scroll;cursor:default;position:absolute;inset:0}.xterm .xterm-screen{position:relative}.xterm .xterm-screen canvas{position:absolute;left:0;top:0}.xterm .xterm-scroll-area{visibility:hidden}.xterm-char-measure-element{display:inline-block;visibility:hidden;position:absolute;top:0;left:-9999em;line-height:normal}.xterm.enable-mouse-events{cursor:default}.xterm.xterm-cursor-pointer,.xterm .xterm-cursor-pointer{cursor:pointer}.xterm.column-select.focus{cursor:crosshair}.xterm .xterm-accessibility:not(.debug),.xterm .xterm-message{position:absolute;inset:0;z-index:10;color:transparent;pointer-events:none}.xterm .xterm-accessibility-tree:not(.debug) *::selection{color:transparent}.xterm .xterm-accessibility-tree{-webkit-user-select:text;user-select:text;white-space:pre}.xterm .live-region{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.xterm-dim{opacity:1!important}.xterm-underline-1{text-decoration:underline}.xterm-underline-2{text-decoration:double underline}.xterm-underline-3{text-decoration:wavy underline}.xterm-underline-4{text-decoration:dotted underline}.xterm-underline-5{text-decoration:dashed underline}.xterm-overline{text-decoration:overline}.xterm-overline.xterm-underline-1{text-decoration:overline underline}.xterm-overline.xterm-underline-2{text-decoration:overline double underline}.xterm-overline.xterm-underline-3{text-decoration:overline wavy underline}.xterm-overline.xterm-underline-4{text-decoration:overline dotted underline}.xterm-overline.xterm-underline-5{text-decoration:overline dashed underline}.xterm-strikethrough{text-decoration:line-through}.xterm-screen .xterm-decoration-container .xterm-decoration{z-index:6;position:absolute}.xterm-screen .xterm-decoration-container .xterm-decoration.xterm-decoration-top-layer{z-index:7}.xterm-decoration-overview-ruler{z-index:8;position:absolute;top:0;right:0;pointer-events:none}.xterm-decoration-top{z-index:2;position:relative}html{color:var(--foregrounds-800)}.text-hint{color:var(--foregrounds-700)}.heading-primary-title{font-family:Montserrat;font-weight:700;font-size:1.5rem;line-height:2.125rem}.heading-section-title{font-weight:700;font-size:1.125rem;line-height:1.5em}.paragraph-bold-p4-small-bold{font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}.paragraph-monospace-p2-large{font-size:1rem;line-height:1.375rem;font-weight:400}.heading-sub-section-title{font-size:1rem;line-height:1.375rem;font-weight:700}.paragraph-regular-p3-small{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.paragraph-bold-p3-small-bold{font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p2-large-emphasis{font-family:Inter;font-weight:600;font-size:1rem;line-height:1.375rem}.paragraph-semibold-p1-xlarge-emphasis{font-family:Inter;font-weight:600;font-size:1.125rem;line-height:1.5rem}.paragraph-regular-p3-default{font-family:Inter;font-weight:400;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p3-default-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-regular-p4-small{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem}.paragraph-semibold-p3-small-emphasis{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.paragraph-semibold-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400}.paragraph-semibold-p4-xSmall-emphasis{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.paragraph-regular-p4-xSmall{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;color:var(--foregrounds-750)}.paragraph-regular-p3-default{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400}.paragraph-regular-p2-large{font-family:Inter;font-size:1rem;font-weight:400;line-height:1.375rem}button.ms-white-stroked-button.mat-mdc-outlined-button{font-size:1rem;line-height:1.375rem;font-weight:400;border-color:var(--backgrounds-50);color:var(--backgrounds-50)}.mat-mdc-button.mat-unthemed{color:var(--foregrounds-700)!important;font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button{border-radius:6px;border-width:1px!important;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem}.mat-mdc-outlined-button:not(:disabled).mat-primary{border-color:var(--primary-800)}.mat-mdc-outlined-button:not(:disabled).mat-accent{border-color:var(--accent-400);font-weight:700}.mat-mdc-outlined-button:not(:disabled).mat-warn{border-color:var(--error-500);font-weight:700}.mat-button-toggle-group .mat-button-toggle{margin:0 5px;font-size:.875rem}:root{--mat-divider-width: 2px;--mat-divider-color: var(--foregrounds-300)}.vertical-divider{height:100%;width:1px;background-color:var(--backgrounds-50);margin:0 12px}mat-card.ms-card{border-radius:8px;padding:24px;box-shadow:0 3px 8px #00000014;border:2px solid transparent;transition:transform .3s cubic-bezier(.25,.8,.25,1),box-shadow .3s cubic-bezier(.25,.8,.25,1),border-color .3s cubic-bezier(.25,.8,.25,1)}mat-card.ms-card.action-card{cursor:pointer}mat-card.ms-card.action-card:hover{box-shadow:0 5px 15px #0000001f;background-color:var(--backgrounds-80)}mat-card.ms-card.action-card.selected{background-color:var(--backgrounds-80);box-shadow:inset 0 3px 8px #0000001a;border-color:var(--accent-400)}:root{--mat-option-label-text-size: .75rem;--mat-optgroup-label-text-size: .75rem;--background-color: #ffffff;--border-color: #dcdcdc;--text-color: #000000;--placeholder-color: #888888;--hover-border-color: #bcbcbc;--dark-background-color: #121212;--dark-border-color: #2c2c2c;--dark-text-color: #e0e0e0;--dark-placeholder-color: #757575;--dark-hover-border-color: #5e5e5e}.form-field-container{display:flex;flex-direction:column;color:var(--text-color)}.form-field-container.inline-container{flex-direction:row;align-items:center}.form-field-container .mat-mdc-form-field-hint-wrapper,.form-field-container .mat-mdc-form-field-error-wrapper{padding:0}.form-field-container .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color)}.form-field-container .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--text-color)}.form-field-container .mat-mdc-text-field-wrapper ::placeholder{color:var(--placeholder-color)}.form-field-container.dark{color:var(--dark-text-color)}.form-field-container.dark mat-label{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper:hover{border-color:var(--dark-hover-border-color)}.form-field-container.dark .mat-mdc-text-field-wrapper .mdc-text-field__input{color:var(--dark-text-color)}.form-field-container.dark .mat-mdc-text-field-wrapper ::placeholder{color:var(--dark-placeholder-color)}.form-field-container.dark mat-icon{color:var(--dark-text-color)}.form-field-container mat-label{font-family:Inter;font-weight:400;font-size:.75rem;line-height:1.125rem;color:var(--text-color)}.form-field-container mat-label.dark{color:var(--dark-text-color)}.form-field-container mat-form-field .mat-mdc-form-field-icon-prefix>.mat-icon,.form-field-container mat-form-field .mat-mdc-form-field-icon-suffix>.mat-icon{padding:8.5px}.form-field-container mat-form-field .mdc-notched-outline{display:none}.form-field-container mat-form-field .mat-mdc-text-field-wrapper{background-color:var(--background-color);border:1px solid var(--border-color);border-radius:6px}.form-field-container mat-form-field .mat-mdc-text-field-wrapper:hover{border-color:var(--hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper .mdc-text-field__input{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;color:var(--text-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark{background-color:var(--dark-background-color);border:1px solid var(--dark-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark:hover{border-color:var(--dark-hover-border-color)}.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mat-mdc-select-value,.form-field-container mat-form-field .mat-mdc-text-field-wrapper.dark .mdc-text-field__input{color:var(--dark-text-color)}mat-table.ms-table .mat-mdc-header-row{background:transparent;font-family:Inter;font-weight:700;font-size:.875rem;line-height:1.25rem;text-align:left;color:var(--foregrounds-800)}mat-table.ms-table .mdc-data-table__cell,mat-table.ms-table .mdc-data-table__header-cell{padding-left:0}mat-table.ms-table .mat-mdc-cell{background:transparent;font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:400;text-align:left;color:var(--foregrounds-750)}mat-stepper.ms-wizard{background-color:transparent}mat-stepper.ms-wizard .mat-horizontal-stepper-header-container{display:none}.mat-mdc-chip.ms-chip .mdc-evolution-chip__text-label{font-family:Inter;font-size:.75rem;line-height:1.125rem;font-weight:600}.mat-mdc-chip.ms-chip.mat-accent.mat-mdc-standard-chip{background-color:var(--accent-50)}.mat-mdc-chip.ms-chip.mat-primary.mat-mdc-standard-chip{background-color:var(--primary-100)}.mat-mdc-chip.ms-chip.mat-warn.mat-mdc-standard-chip{background-color:var(--error-200)}.ms-mat-menu{--mat-menu-item-label-text-size: .875rem}.mdc-label{font-family:Inter;font-weight:400;font-size:.875;line-height:1.25rem}.ms-checkbox-white{--mdc-checkbox-unselected-hover-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-focus-icon-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-pressed-state-layer-color: var(--backgrounds-300) !important;--mdc-checkbox-unselected-icon-color: var(--backgrounds-50) !important}.ms-checkbox-white .mdc-label{color:var(--backgrounds-50)}.mat-mdc-tooltip:before{background-color:var(--tooltip);height:12px;width:12px;rotate:45deg;right:50%!important;left:auto!important;transform:translate(4px,-4px)}.mdc-tooltip__surface{background-color:var(--tooltip)!important}.mat-mdc-tooltip-panel-above .mat-mdc-tooltip:before{top:auto;bottom:-6px!important}.mat-mdc-tooltip-panel-below .mat-mdc-tooltip:before{top:-6px!important;bottom:auto}.mat-mdc-snack-bar-container{--mdc-snackbar-container-color: rgba(255, 255, 255, 1) !important;--mdc-snackbar-supporting-text-color: rgba(35, 40, 46, 1) !important}.notification-panel-success .mdc-snackbar__surface{border-left:6px solid var(--success-500)}.notification-panel-error .mdc-snackbar__surface{border-left:6px solid var(--error-500)}.notification-panel-warning .mdc-snackbar__surface{border-left:6px solid var(--warning-500)}.notification-panel-info .mdc-snackbar__surface{border-left:6px solid var(--primary-800)}.dialog-backdrop,.drawer-backdrop{background-color:var(--foregrounds-500-alpha)}.mdc-list-item__primary-text{width:100%}.mat-mdc-optgroup-label{padding:5px 16px}.mat-ripple{overflow:hidden;position:relative}.mat-ripple:not(:empty){transform:translateZ(0)}.mat-ripple.mat-ripple-unbounded{overflow:visible}.mat-ripple-element{position:absolute;border-radius:50%;pointer-events:none;transition:opacity,transform 0ms cubic-bezier(0,0,.2,1);transform:scale3d(0,0,0);background-color:var(--mat-ripple-color, rgba(0, 0, 0, .1))}.cdk-high-contrast-active .mat-ripple-element,.cdk-drag-preview .mat-ripple-element,.cdk-drag-placeholder .mat-ripple-element{display:none}.cdk-visually-hidden{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap;outline:0;-webkit-appearance:none;-moz-appearance:none;left:0}[dir=rtl] .cdk-visually-hidden{left:auto;right:0}.cdk-overlay-container,.cdk-global-overlay-wrapper{pointer-events:none;top:0;left:0;height:100%;width:100%}.cdk-overlay-container{position:fixed;z-index:1000}.cdk-overlay-container:empty{display:none}.cdk-global-overlay-wrapper{display:flex;position:absolute;z-index:1000}.cdk-overlay-pane{position:absolute;pointer-events:auto;box-sizing:border-box;z-index:1000;display:flex;max-width:100%;max-height:100%}.cdk-overlay-backdrop{position:absolute;inset:0;z-index:1000;pointer-events:auto;-webkit-tap-highlight-color:transparent;transition:opacity .4s cubic-bezier(.25,.8,.25,1);opacity:0}.cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:1}.cdk-high-contrast-active .cdk-overlay-backdrop.cdk-overlay-backdrop-showing{opacity:.6}.cdk-overlay-dark-backdrop{background:#00000052}.cdk-overlay-transparent-backdrop{transition:visibility 1ms linear,opacity 1ms linear;visibility:hidden;opacity:1}.cdk-overlay-transparent-backdrop.cdk-overlay-backdrop-showing{opacity:0;visibility:visible}.cdk-overlay-backdrop-noop-animation{transition:none}.cdk-overlay-connected-position-bounding-box{position:absolute;z-index:1000;display:flex;flex-direction:column;min-width:1px;min-height:1px}.cdk-global-scrollblock{position:fixed;width:100%;overflow-y:scroll}textarea.cdk-textarea-autosize{resize:none}textarea.cdk-textarea-autosize-measuring{padding:2px 0!important;box-sizing:content-box!important;height:auto!important;overflow:hidden!important}textarea.cdk-textarea-autosize-measuring-firefox{padding:2px 0!important;box-sizing:content-box!important;height:0!important}@keyframes cdk-text-field-autofill-start{}@keyframes cdk-text-field-autofill-end{}.cdk-text-field-autofill-monitored:-webkit-autofill{animation:cdk-text-field-autofill-start 0s 1ms}.cdk-text-field-autofill-monitored:not(:-webkit-autofill){animation:cdk-text-field-autofill-end 0s 1ms}.mat-focus-indicator{position:relative}.mat-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-focus-indicator-display, none);border:var(--mat-focus-indicator-border-width, 3px) var(--mat-focus-indicator-border-style, solid) var(--mat-focus-indicator-border-color, transparent);border-radius:var(--mat-focus-indicator-border-radius, 4px)}.mat-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-focus-indicator-display: block}.mat-mdc-focus-indicator{position:relative}.mat-mdc-focus-indicator:before{inset:0;position:absolute;box-sizing:border-box;pointer-events:none;display:var(--mat-mdc-focus-indicator-display, none);border:var(--mat-mdc-focus-indicator-border-width, 3px) var(--mat-mdc-focus-indicator-border-style, solid) var(--mat-mdc-focus-indicator-border-color, transparent);border-radius:var(--mat-mdc-focus-indicator-border-radius, 4px)}.mat-mdc-focus-indicator:focus:before{content:""}.cdk-high-contrast-active{--mat-mdc-focus-indicator-display: block}.mat-app-background{background-color:var(--mat-app-background-color, transparent);color:var(--mat-app-text-color, inherit)}.mat-elevation-z0,.mat-mdc-elevation-specific.mat-elevation-z0{box-shadow:var(--mat-app-elevation-shadow-level-0, none)}.mat-elevation-z1,.mat-mdc-elevation-specific.mat-elevation-z1{box-shadow:var(--mat-app-elevation-shadow-level-1, none)}.mat-elevation-z2,.mat-mdc-elevation-specific.mat-elevation-z2{box-shadow:var(--mat-app-elevation-shadow-level-2, none)}.mat-elevation-z3,.mat-mdc-elevation-specific.mat-elevation-z3{box-shadow:var(--mat-app-elevation-shadow-level-3, none)}.mat-elevation-z4,.mat-mdc-elevation-specific.mat-elevation-z4{box-shadow:var(--mat-app-elevation-shadow-level-4, none)}.mat-elevation-z5,.mat-mdc-elevation-specific.mat-elevation-z5{box-shadow:var(--mat-app-elevation-shadow-level-5, none)}.mat-elevation-z6,.mat-mdc-elevation-specific.mat-elevation-z6{box-shadow:var(--mat-app-elevation-shadow-level-6, none)}.mat-elevation-z7,.mat-mdc-elevation-specific.mat-elevation-z7{box-shadow:var(--mat-app-elevation-shadow-level-7, none)}.mat-elevation-z8,.mat-mdc-elevation-specific.mat-elevation-z8{box-shadow:var(--mat-app-elevation-shadow-level-8, none)}.mat-elevation-z9,.mat-mdc-elevation-specific.mat-elevation-z9{box-shadow:var(--mat-app-elevation-shadow-level-9, none)}.mat-elevation-z10,.mat-mdc-elevation-specific.mat-elevation-z10{box-shadow:var(--mat-app-elevation-shadow-level-10, none)}.mat-elevation-z11,.mat-mdc-elevation-specific.mat-elevation-z11{box-shadow:var(--mat-app-elevation-shadow-level-11, none)}.mat-elevation-z12,.mat-mdc-elevation-specific.mat-elevation-z12{box-shadow:var(--mat-app-elevation-shadow-level-12, none)}.mat-elevation-z13,.mat-mdc-elevation-specific.mat-elevation-z13{box-shadow:var(--mat-app-elevation-shadow-level-13, none)}.mat-elevation-z14,.mat-mdc-elevation-specific.mat-elevation-z14{box-shadow:var(--mat-app-elevation-shadow-level-14, none)}.mat-elevation-z15,.mat-mdc-elevation-specific.mat-elevation-z15{box-shadow:var(--mat-app-elevation-shadow-level-15, none)}.mat-elevation-z16,.mat-mdc-elevation-specific.mat-elevation-z16{box-shadow:var(--mat-app-elevation-shadow-level-16, none)}.mat-elevation-z17,.mat-mdc-elevation-specific.mat-elevation-z17{box-shadow:var(--mat-app-elevation-shadow-level-17, none)}.mat-elevation-z18,.mat-mdc-elevation-specific.mat-elevation-z18{box-shadow:var(--mat-app-elevation-shadow-level-18, none)}.mat-elevation-z19,.mat-mdc-elevation-specific.mat-elevation-z19{box-shadow:var(--mat-app-elevation-shadow-level-19, none)}.mat-elevation-z20,.mat-mdc-elevation-specific.mat-elevation-z20{box-shadow:var(--mat-app-elevation-shadow-level-20, none)}.mat-elevation-z21,.mat-mdc-elevation-specific.mat-elevation-z21{box-shadow:var(--mat-app-elevation-shadow-level-21, none)}.mat-elevation-z22,.mat-mdc-elevation-specific.mat-elevation-z22{box-shadow:var(--mat-app-elevation-shadow-level-22, none)}.mat-elevation-z23,.mat-mdc-elevation-specific.mat-elevation-z23{box-shadow:var(--mat-app-elevation-shadow-level-23, none)}.mat-elevation-z24,.mat-mdc-elevation-specific.mat-elevation-z24{box-shadow:var(--mat-app-elevation-shadow-level-24, none)}.mat-h1,.mat-headline-5,body .mat-h1,body .mat-headline-5,body h1{font:700 1.5rem/2.125rem Montserrat;letter-spacing:normal;margin:0 0 16px}.mat-h2,.mat-headline-6,body .mat-h2,body .mat-headline-6,body h2{font:500 1.25rem/2rem Montserrat;letter-spacing:.0125em;margin:0 0 16px}.mat-h3,.mat-subtitle-1,body .mat-h3,body .mat-subtitle-1,body h3{font:400 1rem/1.75rem Montserrat;letter-spacing:.009375em;margin:0 0 16px}.mat-h4,.mat-body-1,body .mat-h4,body .mat-body-1,body h4{font:400 1rem/1.5rem Montserrat;letter-spacing:.03125em;margin:0 0 16px}.mat-h5,body .mat-h5,body h5{font:400 .72625rem/1.25rem Montserrat;margin:0 0 12px}.mat-h6,body .mat-h6,body h6{font:400 .58625rem/1.25rem Montserrat;margin:0 0 12px}.mat-body-strong,.mat-subtitle-2,body .mat-body-strong,body .mat-subtitle-2{font:500 .875rem/1.375rem Montserrat;letter-spacing:.0071428571em}.mat-body,.mat-body-2,body .mat-body,body .mat-body-2,body{font:400 .875rem/1.25rem Montserrat;letter-spacing:.0178571429em}.mat-body p,.mat-body-2 p,body .mat-body p,body .mat-body-2 p,body p{margin:0 0 12px}.mat-small,.mat-caption,body .mat-small,body .mat-caption{font:400 .75rem/1.25rem Montserrat;letter-spacing:.0333333333em}.mat-headline-1,body .mat-headline-1{font:300 7rem/7rem Montserrat;letter-spacing:-.05em;margin:0 0 56px}.mat-headline-2,body .mat-headline-2{font:400 3.5rem/3.5rem Montserrat;letter-spacing:-.02em;margin:0 0 64px}.mat-headline-3,body .mat-headline-3{font:400 2.8125rem/3rem Montserrat;letter-spacing:-.005em;margin:0 0 64px}.mat-headline-4,body .mat-headline-4{font:400 2.125rem/2.5rem Montserrat;letter-spacing:normal;margin:0 0 64px}::-webkit-scrollbar{width:6px;height:6px}::-webkit-scrollbar-track{background:var(--backgrounds-100)}::-webkit-scrollbar-thumb{background:var(--backgrounds-500);border-radius:16px}::-webkit-scrollbar-thumb:hover{background:var(--backgrounds-700)}@font-face{font-family:icomoon;src:url("./media/icomoon-N4UB7WA7.eot?39lrb6");src:url("./media/icomoon-N4UB7WA7.eot?39lrb6#iefix") format("embedded-opentype"),url("./media/icomoon-ALHP4THO.ttf?39lrb6") format("truetype"),url("./media/icomoon-FCELVRZF.woff?39lrb6") format("woff"),url("./media/icomoon-JVEKTUSA.svg?39lrb6#icomoon") format("svg");font-weight:400;font-style:normal;font-display:block}[class^=icon-],[class*=" icon-"]{font-family:icomoon!important;speak:never;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-Admin:before{content:"\e955"}.icon-Environmental:before{content:"\e956"}.icon-Inventory:before{content:"\e957"}.icon-Systems-Manager:before{content:"\e958"}.icon-SelectedFalse:before{content:"\e958"}.icon-Alerts-Info .path1:before{content:"\e900";color:#5b92f0}.icon-Alerts-Info .path2:before{content:"\e901";margin-left:-1em;color:#fff}.icon-Alerts-Info .path3:before{content:"\e902";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path1:before{content:"\e903";color:#c24632}.icon-Alerts-Negative .path2:before{content:"\e904";margin-left:-1em;color:#fff}.icon-Alerts-Negative .path3:before{content:"\e905";margin-left:-1em;color:#fff}.icon-Alerts-Positive .path1:before{content:"\e906";color:#45991f}.icon-Alerts-Positive .path2:before{content:"\e907";margin-left:-1em;color:#fff}.icon-Alerts-Warning .path1:before{content:"\e908";color:#d9b216}.icon-Alerts-Warning .path2:before{content:"\e909";margin-left:-1em;color:#464c54}.icon-Alerts-Warning .path3:before{content:"\e90a";margin-left:-1em;color:#464c54}.icon-ArrowDown:before{content:"\e90b"}.icon-ArrowLeft:before{content:"\e90c"}.icon-ArrowRight:before{content:"\e90d"}.icon-ArrowSquareOut:before{content:"\e90e"}.icon-ArrowUp:before{content:"\e90f"}.icon-Bell:before{content:"\e910"}.icon-CalendarBlank:before{content:"\e911"}.icon-CaretDoubleLeft:before{content:"\e912"}.icon-CaretDoubleRight:before{content:"\e913"}.icon-CaretDown:before{content:"\e914"}.icon-CaretLeft:before{content:"\e915"}.icon-CaretRight:before{content:"\e916"}.icon-CaretUp:before{content:"\e917"}.icon-Check:before{content:"\e918"}.icon-CheckCircle:before{content:"\e919"}.icon-Clock:before{content:"\e91a"}.icon-Copy:before{content:"\e91b"}.icon-Crosshair:before{content:"\e91c"}.icon-DotsSix:before{content:"\e91d"}.icon-DotsThree:before{content:"\e91e"}.icon-DotsThreeVertical:before{content:"\e91f"}.icon-DownloadSimple:before{content:"\e920"}.icon-DropdownCaretDown:before{content:"\e921"}.icon-DropdownCaretRight:before{content:"\e922"}.icon-DropdownCaretUp:before{content:"\e923"}.icon-EnvelopeSimple:before{content:"\e924"}.icon-Eye:before{content:"\e925"}.icon-EyeSlash:before{content:"\e926"}.icon-FunnelSimple:before{content:"\e927"}.icon-GearSix:before{content:"\e928"}.icon-Info:before{content:"\e929"}.icon-Lightning:before{content:"\e92a"}.icon-ListBullets:before{content:"\e92b"}.icon-Loader:before{content:"\e92c"}.icon-Lock:before{content:"\e92d"}.icon-MagicWand:before{content:"\e92e"}.icon-Magnet:before{content:"\e92f"}.icon-MagnifyingGlass:before{content:"\e930"}.icon-MapTrifold:before{content:"\e931"}.icon-Minus:before{content:"\e932"}.icon-Nav:before{content:"\e933"}.icon-Paperclip:before{content:"\e934"}.icon-Passthrough:before{content:"\e935"}.icon-PencilSimple:before{content:"\e936"}.icon-Placeholder:before{content:"\e937"}.icon-Plus:before{content:"\e938"}.icon-Printer:before{content:"\e939"}.icon-Prohibit:before{content:"\e93a"}.icon-Question:before{content:"\e93b"}.icon-Refresh:before{content:"\e93c"}.icon-Rocket:before{content:"\e93d"}.icon-SignOut:before{content:"\e93e"}.icon-Sort:before{content:"\e93f"}.icon-SortDown .path1:before{content:"\e940";color:#000}.icon-SortDown .path2:before{content:"\e941";margin-left:-1em;color:#232323}.icon-SortUp .path1:before{content:"\e942";color:#232323}.icon-SortUp .path2:before{content:"\e943";margin-left:-1em;color:#000}.icon-Stack:before{content:"\e944"}.icon-StackPort:before{content:"\e945"}.icon-TrashSimple:before{content:"\e946"}.icon-TrendDown:before{content:"\e947"}.icon-TrendUp:before{content:"\e948"}.icon-UploadSimple:before{content:"\e949"}.icon-User:before{content:"\e94a"}.icon-Users:before{content:"\e94b"}.icon-WifiHigh:before{content:"\e94c"}.icon-WifiLightning:before{content:"\e94d"}.icon-WifiLow:before{content:"\e94e"}.icon-WifiMedium:before{content:"\e94f"}.icon-WifiNone:before{content:"\e950"}.icon-WifiSlash:before{content:"\e951"}.icon-WifiX:before{content:"\e952"}.icon-X:before{content:"\e953"}.icon-XCircle:before{content:"\e954"}.mat-icon.size-18{font-size:1.125rem;width:1.125rem;height:1.125rem}.mat-icon.size-20{font-size:1.25rem;width:1.25rem;height:1.25rem}.mat-icon.size-24{font-size:1.5rem;width:1.5rem;height:1.5rem}.mat-icon.size-32{font-size:2rem;width:2rem;height:2rem}.mat-icon.size-48{font-size:3rem;width:3rem;height:3rem}mat-icon{font-size:1.5rem}mat-icon.mat-primary{color:var(--primary-800)!important}mat-icon.mat-complementary{color:var(--complementary-800)!important}mat-icon.mat-gray{color:var(--foregrounds-600)!important}mat-icon.mat-white{color:var(--backgrounds-50)!important}mat-icon.mat-accent{color:var(--accent-400)!important}mat-icon.mat-success{color:var(--success-500)!important}mat-icon.mat-warn{color:var(--warning-500)!important}mat-icon.mat-error{color:var(--error-500)!important}button[disabled] mat-icon{color:var(--backgroudns-800)!important}button[disabled] .scale-on-hover:hover{transform:none}.scale-on-hover{cursor:pointer;transition:transform .3s ease;display:inline-flex;align-items:center;justify-content:center}.scale-on-hover:hover{transform:scale(1.1);transform-origin:center}.key-value-container.single{display:grid;grid-template-columns:repeat(1,1fr)}.key-value-container.two-per-row{display:grid;grid-template-columns:repeat(2,1fr)}.key-value-container.three-per-row{display:grid;grid-template-columns:repeat(3,1fr)}.key-value-container.flexible{display:grid;grid-template-columns:repeat(auto-fit,minmax(300px,1fr))}.key-value-container.dense{display:flex;flex-wrap:wrap;justify-content:space-between}.key-value-container.dense .key-value-pair{flex-basis:calc(50% - 6px);margin-bottom:12px}@media (max-width: 768px){.key-value-container.dense .key-value-pair{flex-basis:100%}}.key-value-pair{display:flex;align-items:center;padding:6px 0}.key-value-pair.space-between{display:flex;justify-content:space-between;align-items:center}.key-value-key{font-family:Inter;font-weight:600;font-size:.875rem;line-height:1.25rem}.key-value-value{font-family:Inter;font-size:.875rem;line-height:1.25rem;font-weight:400;margin-left:5px}a{cursor:pointer;color:var(--primary-800);text-decoration:none;font-family:Inter;font-weight:700;font-size:.75rem;line-height:1.125em}a:hover{color:var(--primary-600)}.page-wrapper{display:flex;justify-content:space-between;gap:20px;height:100%}.page-wrapper .left{display:flex;flex-direction:column;width:45%;gap:20px}.page-wrapper .right{display:flex;flex-direction:column;width:55%;height:100%}.xterm-viewport{overflow-y:auto!important}.static{position:static}.fixed{position:fixed}.relative{position:relative}.col-span-1{grid-column:span 1 / span 1}.col-span-10{grid-column:span 10 / span 10}.col-span-12{grid-column:span 12 / span 12}.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-4{margin-bottom:1rem}.mb-\[22px\]{margin-bottom:22px}.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.ml-4{margin-left:1rem}.ml-\[-8px\]{margin-left:-8px}.mr-1{margin-right:.25rem}.mr-2{margin-right:.5rem}.mr-3{margin-right:.75rem}.mr-4{margin-right:1rem}.mt-10{margin-top:2.5rem}.mt-2{margin-top:.5rem}.mt-20{margin-top:5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-5{margin-top:1.25rem}.mt-\[2px\]{margin-top:2px}.block{display:block}.flex{display:flex}.table{display:table}.grid{display:grid}.hidden{display:none}.h-9{height:2.25rem}.w-56{width:14rem}.w-full{width:100%}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.cursor-pointer{cursor:pointer}.list-none{list-style-type:none}.grid-cols-12{grid-template-columns:repeat(12,minmax(0,1fr))}.items-center{align-items:center}.justify-center{justify-content:center}.gap-1{gap:.25rem}.gap-2{gap:.5rem}.break-all{word-break:break-all}.rounded{border-radius:.25rem}.border{border-width:1px}.p-2{padding:.5rem}.pt-2{padding-top:.5rem}.text-left{text-align:left}.text-base{font-size:1rem;line-height:1.5rem}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.outline{outline-style:solid}.blur{--tw-blur: blur(8px);filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}html,body{height:100%;background-color:var(--backgrounds-100)}body{margin:0}.no-scroll{overflow:hidden}