dealposbooks 5.33.2 → 5.34.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/3rdpartylicenses.txt +15 -15
- package/{chunk-YDEVG4CR.js → chunk-2KERKGCG.js} +1 -1
- package/chunk-2NODLQR6.js +1 -0
- package/{chunk-BPAXVUBR.js → chunk-2YCI2ZLH.js} +1 -1
- package/{chunk-Q33XIUDN.js → chunk-3NU3P6NL.js} +1 -1
- package/{chunk-EDCDR4RJ.js → chunk-3VJJTR55.js} +1 -1
- package/{chunk-5R3XKSDM.js → chunk-4CDAAU6Z.js} +1 -1
- package/{chunk-42UIGXWH.js → chunk-4DOELXOP.js} +1 -1
- package/chunk-4QYZNOBR.js +160 -0
- package/chunk-4WMH4AEV.js +1 -0
- package/{chunk-EXGI2AG7.js → chunk-5E7SENLI.js} +1 -1
- package/{chunk-67VPWIWW.js → chunk-5FSMHZSY.js} +1 -1
- package/{chunk-R2SYW2WU.js → chunk-5MWVNA7L.js} +2 -2
- package/{chunk-KJ6CKUEI.js → chunk-5XDCBC5Q.js} +1 -1
- package/chunk-6DNEPPVS.js +129 -0
- package/chunk-6NTWTJMB.js +1 -0
- package/chunk-6OLVNISY.js +202 -0
- package/chunk-6XMT5N3G.js +1 -0
- package/{chunk-HHJMN4BS.js → chunk-AACWH3EJ.js} +1 -1
- package/{chunk-ABBBWSSO.js → chunk-B46T5XRJ.js} +1 -1
- package/{chunk-2CSSUKCF.js → chunk-BBQJC5RS.js} +1 -1
- package/chunk-BG6PUELE.js +1 -0
- package/{chunk-HICPZPJI.js → chunk-BGOI3WIG.js} +1 -1
- package/{chunk-VFEEFGWW.js → chunk-BLQJXMNV.js} +1 -1
- package/{chunk-6UGXXSQ3.js → chunk-BV4GM72W.js} +1 -1
- package/chunk-BY6QUHQI.js +1 -0
- package/{chunk-AZUQDRJU.js → chunk-DHW7UHFT.js} +1 -1
- package/{chunk-LRRVQSMI.js → chunk-DLUALPHU.js} +1 -1
- package/{chunk-PI5RBOCG.js → chunk-E7RUVUID.js} +1 -1
- package/chunk-ED5LANRC.js +1 -0
- package/{chunk-QYXQYPHB.js → chunk-EDGADVEY.js} +1 -1
- package/chunk-FIK2YCVV.js +1 -0
- package/{chunk-YOUPD27G.js → chunk-FLZXCWDU.js} +1 -1
- package/{chunk-GH5Z5SPB.js → chunk-FUZFAJGJ.js} +1 -1
- package/{chunk-FMVCTBCQ.js → chunk-G5S5AZA7.js} +4 -4
- package/{chunk-PKN47FQE.js → chunk-GDX5XEV3.js} +1 -1
- package/chunk-GDXGKHOL.js +1 -0
- package/chunk-GGVVJNM3.js +1 -0
- package/{chunk-4LGDNQMZ.js → chunk-H57SDRPH.js} +1 -1
- package/chunk-HIPJS62A.js +1 -0
- package/chunk-HJU5H3BY.js +1 -0
- package/chunk-HO4P24NF.js +1 -0
- package/chunk-ID36VIZQ.js +1 -0
- package/chunk-IDW6F2F3.js +1 -0
- package/chunk-IICRNXZ2.js +1 -0
- package/chunk-J7NE4FZG.js +1 -0
- package/chunk-JF4X2NRA.js +1 -0
- package/{chunk-JBSIAXM5.js → chunk-JMEBBWX4.js} +1 -1
- package/{chunk-FBEBMNVC.js → chunk-JTDJJORR.js} +1 -1
- package/{chunk-J4XRJAME.js → chunk-JYCUE5HV.js} +1 -1
- package/{chunk-WTBARN66.js → chunk-KL455HIW.js} +3 -3
- package/{chunk-JL2CN3ZY.js → chunk-LGRJSELQ.js} +1 -1
- package/{chunk-QCLAOAVG.js → chunk-LWLJZPBI.js} +1 -1
- package/{chunk-6NGIQJIP.js → chunk-LZUGPBFD.js} +1 -1
- package/chunk-MQDQSWR6.js +1 -0
- package/chunk-MXNRSORU.js +1 -0
- package/chunk-NEXPS7KD.js +1 -0
- package/{chunk-TVNXFJII.js → chunk-NJO5TWIA.js} +1 -1
- package/{chunk-RPPLUBX5.js → chunk-NMVZFOQ7.js} +1 -1
- package/chunk-NUTKQRB6.js +1 -0
- package/chunk-NXXA2OTE.js +1 -0
- package/chunk-OGLSZ3RG.js +1 -0
- package/chunk-OKCHQM5Q.js +2 -0
- package/{chunk-GY4LV6HX.js → chunk-PVXR4USB.js} +1 -1
- package/{chunk-YO23YVSC.js → chunk-Q23KXB3T.js} +1 -1
- package/chunk-QZUCPIZP.js +1 -0
- package/{chunk-6LENP6AB.js → chunk-RN2UFUFZ.js} +1 -1
- package/{chunk-OLOVFS3Y.js → chunk-S6X7PJAB.js} +1 -1
- package/{chunk-BMBVCXB4.js → chunk-SLHUSJER.js} +1 -1
- package/{chunk-EW3R2HAB.js → chunk-SVXDMOLP.js} +1 -1
- package/{chunk-BLJMNWUM.js → chunk-SY6XFKYM.js} +1 -1
- package/{chunk-33PMTNWY.js → chunk-T4EHT3H4.js} +1 -1
- package/chunk-TF5WKDAX.js +1 -0
- package/chunk-U2LBDVNR.js +1 -0
- package/{chunk-MWDWM2EU.js → chunk-UQZHGK5W.js} +1 -1
- package/chunk-UW2MQD5Q.js +130 -0
- package/{chunk-BDDB5AS7.js → chunk-VS7EWHRJ.js} +1 -1
- package/{chunk-NA5YXAMJ.js → chunk-VVUSFS6O.js} +1 -1
- package/chunk-WSOH6CXK.js +180 -0
- package/chunk-WURLP7FN.js +1 -0
- package/{chunk-C7LM5UCK.js → chunk-X22YKT5B.js} +1 -1
- package/{chunk-B7WHT2EP.js → chunk-XAWSZFE3.js} +4 -4
- package/chunk-XFEO3TKF.js +1 -0
- package/{chunk-SUYXXZHZ.js → chunk-XMMQFUBI.js} +1 -1
- package/chunk-XSPQTUYD.js +1 -0
- package/chunk-Y5C5TOKB.js +1 -0
- package/chunk-YDTKSUC7.js +1 -0
- package/{chunk-2PDTOOPI.js → chunk-YEUGY3NM.js} +1 -1
- package/chunk-YL2UL62U.js +7 -0
- package/{chunk-P7Z64VPC.js → chunk-YPBGL37O.js} +1 -1
- package/{chunk-HHDFSN55.js → chunk-YYDAQ7AW.js} +1 -1
- package/{chunk-YRCXWYJC.js → chunk-YYVQS5LF.js} +1 -1
- package/chunk-Z45NTTES.js +1 -0
- package/{chunk-253IFSMV.js → chunk-ZTEDQLOG.js} +1 -1
- package/index.html +35 -2
- package/main-JOMQDR5F.js +1 -0
- package/package.json +1 -1
- package/chunk-2WBUZJAU.js +0 -1
- package/chunk-452RR3Q5.js +0 -1
- package/chunk-4BWEZFB4.js +0 -1
- package/chunk-4W2QF5R5.js +0 -130
- package/chunk-5R5OXGVI.js +0 -1
- package/chunk-62S343UQ.js +0 -1
- package/chunk-6ACYDH2N.js +0 -1
- package/chunk-7MHKOL2S.js +0 -129
- package/chunk-AGLKA7OG.js +0 -1
- package/chunk-AWXT2WGR.js +0 -180
- package/chunk-B63BKC6F.js +0 -2
- package/chunk-GQWMJTTS.js +0 -1
- package/chunk-GYKMLBSE.js +0 -1
- package/chunk-HD2SASNC.js +0 -1
- package/chunk-HNPBGZU4.js +0 -1
- package/chunk-JMFWGTOZ.js +0 -1
- package/chunk-JT7FHN7T.js +0 -1
- package/chunk-LMNTEWLI.js +0 -1
- package/chunk-LRQ6Z4ZX.js +0 -1
- package/chunk-MNFWDRDS.js +0 -1
- package/chunk-N7OV4C3V.js +0 -1
- package/chunk-NI56PZU2.js +0 -1
- package/chunk-OD62LD7H.js +0 -160
- package/chunk-OLUQUWUK.js +0 -1
- package/chunk-P37DL4A6.js +0 -1
- package/chunk-PBN5IYNX.js +0 -1
- package/chunk-PDFK6YU3.js +0 -1
- package/chunk-Q25US4N2.js +0 -1
- package/chunk-QAQ2CXF3.js +0 -202
- package/chunk-RPZIOMLU.js +0 -1
- package/chunk-RVEUNKOZ.js +0 -1
- package/chunk-SHEVSJ34.js +0 -1
- package/chunk-U2WKXQQF.js +0 -1
- package/chunk-UEWFM35O.js +0 -1
- package/chunk-VAXEGESW.js +0 -1
- package/chunk-VXM4FDHN.js +0 -7
- package/chunk-Y6H6VNCN.js +0 -1
- package/chunk-ZGXJEG37.js +0 -1
- package/chunk-ZXCNQW44.js +0 -1
- package/main-GHHA6Y2C.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a as
|
|
1
|
+
import{a as un}from"./chunk-NEXPS7KD.js";import{a as qn}from"./chunk-BTDW4G2F.js";import{a as Xn}from"./chunk-BY6QUHQI.js";import"./chunk-C2GO6SPF.js";import{a as Fn}from"./chunk-LWLJZPBI.js";import{a as $n}from"./chunk-3NU3P6NL.js";import{b as Wn}from"./chunk-DLUALPHU.js";import"./chunk-4DOELXOP.js";import{a as Vn}from"./chunk-ZTEDQLOG.js";import{a as Dn}from"./chunk-EDGADVEY.js";import"./chunk-LZUGPBFD.js";import"./chunk-2KERKGCG.js";import{b as jn}from"./chunk-4CDAAU6Z.js";import{b as Yn,c as Ti}from"./chunk-X22YKT5B.js";import{b as Gn}from"./chunk-JYCUE5HV.js";import{c as Mn}from"./chunk-FUZFAJGJ.js";import{a as et,c as An,f as ai,o as Bn,p as Rn,t as Hn,u as Si,w as Nn,x as oi}from"./chunk-5FSMHZSY.js";import"./chunk-BHV2HCJY.js";import{Da as si,G as Sn,Ia as Ln,J as Tn,Ja as kn,K as Pn,Ka as zn,La as ri,Ma as ge,P as Ie,Q as _t,R as Nt,S as En,Ua as Je,b as mn,e as fn,f as gn,h as hn,ia as On,j as vn,k as wn,ma as In,p as bn,q as yn,r as _n,s as Cn,w as ni,x as xn}from"./chunk-G5S5AZA7.js";import{b as rn,d as an,e as on,f as ln,l as Ht}from"./chunk-Z45NTTES.js";import{a as cn,b as Mi}from"./chunk-JF4X2NRA.js";import{a as pn}from"./chunk-BLQJXMNV.js";import{c as dn,d as _i,f as Ci,h as xi}from"./chunk-F2X3VGZZ.js";import{G as sn,h as ct,j as ii,k as Ft,l as Bt,m as Rt,n as tn,r as we,s as Oe,y as nn}from"./chunk-OKCHQM5Q.js";import{Aa as Wi,Ab as Ke,Ac as pe,Bc as Be,Ca as qi,Cb as X,Cc as ti,Da as xe,Ea as wt,Ga as Ee,Jb as Z,Jc as Dt,Ka as Ui,Kb as $,Kc as $t,Mb as Ki,Mc as dt,Nb as Qt,Ob as ye,Pb as Kt,Qb as Zt,Sb as Jt,Tb as ei,Ub as G,V as Xi,Vb as N,Vc as pt,Wb as te,Wc as Vt,Xb as at,Yb as ot,Yc as en,Zb as Me,_b as ve,aa as Yi,ba as Ye,bb as bi,ca as je,cb as qe,dc as ie,ec as H,fc as bt,gb as R,gc as lt,ha as ae,jc as fe,kc as yt,lc as ne,mb as Ue,mc as se,oa as ji,pa as U,pc as Lt,qa as Q,qc as le,rb as Ut,rc as Fe,s as wi,sc as yi,t as Gi,ta as Ae,tc as Zi,vc as kt,wb as he,wc as zt,xb as Qe,xc as At,yc as Ze,za as We,zb as Qi,zc as Ji}from"./chunk-JP6RBSB3.js";import{a as me,b as It}from"./chunk-YQFG5XE2.js";var sr=["*"],rr=({dt:i})=>`
|
|
2
2
|
.p-inputgroup,
|
|
3
3
|
.p-inputgroup .p-floatlabel,
|
|
4
4
|
.p-inputgroup .p-iftalabel {
|
|
@@ -188,7 +188,7 @@ import{a as Ti}from"./chunk-Y6H6VNCN.js";import{a as un}from"./chunk-AGLKA7OG.js
|
|
|
188
188
|
.p-menu-overlay {
|
|
189
189
|
position: absolute;
|
|
190
190
|
}
|
|
191
|
-
`,sa={root:({props:i})=>["p-menu p-component",{"p-menu-overlay":i.popup}],start:"p-menu-start",list:"p-menu-list",submenuLabel:"p-menu-submenu-label",separator:"p-menu-separator",end:"p-menu-end",item:({instance:i})=>["p-menu-item",{"p-focus":i.id===i.focusedOptionId,"p-disabled":i.disabled()}],itemContent:"p-menu-item-content",itemLink:"p-menu-item-link",itemIcon:"p-menu-item-icon",itemLabel:"p-menu-item-label"},Jn=(()=>{class i extends Je{name="menu";theme=na;classes=sa;static \u0275fac=(()=>{let t;return function(s){return(t||(t=Ae(i)))(s||i)}})();static \u0275prov=Ye({token:i,factory:i.\u0275fac})}return i})();var is=(()=>{class i{platformId;sanitizer;constructor(t,n){this.platformId=t,this.sanitizer=n}transform(t){return!t||!Oe(this.platformId)?t:this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(n){return new(n||i)(Ue(Ui,16),Ue(sn,16))};static \u0275pipe=Qi({name:"safeHtml",type:i,pure:!0})}return i})(),ra=(()=>{class i{item;itemTemplate;onMenuItemClick=new We;menu;constructor(t){this.menu=t}onItemClick(t,n){this.onMenuItemClick.emit({originalEvent:t,item:n})}static \u0275fac=function(n){return new(n||i)(Ue(Yi(()=>ns)))};static \u0275cmp=he({type:i,selectors:[["","pMenuItemContent",""]],inputs:{item:[0,"pMenuItemContent","item"],itemTemplate:"itemTemplate"},outputs:{onMenuItemClick:"onMenuItemClick"},attrs:cr,decls:5,vars:3,consts:[["itemContent",""],["htmlLabel",""],[1,"p-menu-item-content",3,"click"],[4,"ngIf"],["class","p-menu-item-link","pRipple","",3,"target","ngClass",4,"ngIf"],["routerLinkActive","p-menu-item-link-active","class","p-menu-item-link","pRipple","",3,"routerLink","queryParams","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",1,"p-menu-item-link",3,"target","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","p-menu-item-link-active","pRipple","",1,"p-menu-item-link",3,"routerLink","queryParams","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],["class","p-menu-item-icon",3,"ngClass","class","ngStyle",4,"ngIf"],["class","p-menu-item-label",4,"ngIf","ngIfElse"],[3,"styleClass","value",4,"ngIf"],[1,"p-menu-item-icon",3,"ngClass","ngStyle"],[1,"p-menu-item-label"],[1,"p-menu-item-label",3,"innerHTML"],[3,"styleClass","value"]],template:function(n,s){if(n&1){let r=ve();G(0,"div",2),ie("click",function(d){return U(r),Q(s.onItemClick(d,s.item))}),X(1,vr,3,2,"ng-container",3)(2,yr,2,4,"ng-container",3)(3,Sr,5,4,"ng-template",null,0,dt),N()}n&2&&(Z("data-pc-section","content"),R(),$("ngIf",!s.itemTemplate),R(),$("ngIf",s.itemTemplate))},dependencies:[we,ct,Ft,Rt,Bt,Ht,on,ln,Rn,Si,Mi,Hn,ge,is],encapsulation:2})}return i})(),ns=(()=>{class i extends et{overlayService;model;popup;style;styleClass;appendTo;autoZIndex=!0;baseZIndex=0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";ariaLabel;ariaLabelledBy;id;tabindex=0;onShow=new We;onHide=new We;onBlur=new We;onFocus=new We;listViewChild;containerViewChild;container;scrollHandler;documentClickListener;documentResizeListener;preventDocumentDefault;target;visible;focusedOptionId=en(()=>this.focusedOptionIndex()!==-1?this.focusedOptionIndex():null);focusedOptionIndex=Ee(-1);selectedOptionIndex=Ee(-1);focused=!1;overlayVisible=!1;relativeAlign;_componentStyle=ae(Jn);constructor(t){super(),this.overlayService=t,this.id=this.id||si("pn_id_")}toggle(t){this.visible?this.hide():this.show(t),this.preventDocumentDefault=!0}show(t){this.target=t.currentTarget,this.relativeAlign=t.relativeAlign,this.visible=!0,this.preventDocumentDefault=!0,this.overlayVisible=!0,this.cd.markForCheck()}ngOnInit(){super.ngOnInit(),this.popup||this.bindDocumentClickListener()}startTemplate;_startTemplate;endTemplate;_endTemplate;headerTemplate;_headerTemplate;itemTemplate;_itemTemplate;submenuHeaderTemplate;_submenuHeaderTemplate;templates;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this._startTemplate=t.template;break;case"end":this._endTemplate=t.template;break;case"item":this._itemTemplate=t.template;break;case"submenuheader":this._submenuHeaderTemplate=t.template;break;default:this._itemTemplate=t.template;break}})}getTabIndexValue(){return this.tabindex!==void 0?this.tabindex.toString():null}onOverlayAnimationStart(t){switch(t.toState){case"visible":this.popup&&(this.container=t.element,this.moveOnTop(),this.onShow.emit({}),this.appendOverlay(),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),Nt(this.listViewChild.nativeElement));break;case"void":this.onOverlayHide(),this.onHide.emit({});break}}onOverlayAnimationEnd(t){switch(t.toState){case"void":this.autoZIndex&&ai.clear(t.element);break}}alignOverlay(){this.relativeAlign?Tn(this.container,this.target):Sn(this.container,this.target)}appendOverlay(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.container):Pn(this.appendTo,this.container))}restoreOverlayAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}moveOnTop(){this.autoZIndex&&ai.set("menu",this.container,this.baseZIndex+this.config.zIndex.menu)}hide(){this.visible=!1,this.relativeAlign=!1,this.cd.markForCheck()}onWindowResize(){this.visible&&!On()&&this.hide()}menuitemId(t,n,s,r){return t?.id??`${n}_${s}${r!==void 0?"_"+r:""}`}isItemFocused(t){return this.focusedOptionId()===t}label(t){return typeof t=="function"?t():t}disabled(t){return typeof t=="function"?t():typeof t>"u"?!1:t}activedescendant(){return this.focused?this.focusedOptionId():void 0}onListFocus(t){this.focused||(this.focused=!0,this.onFocus.emit(t))}onListBlur(t){this.focused&&(this.focused=!1,this.changeFocusedOptionIndex(-1),this.selectedOptionIndex.set(-1),this.focusedOptionIndex.set(-1),this.onBlur.emit(t))}onListKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Enter":this.onEnterKey(t);break;case"NumpadEnter":this.onEnterKey(t);break;case"Space":this.onSpaceKey(t);break;case"Escape":case"Tab":this.popup&&(Nt(this.target),this.hide()),this.overlayVisible&&this.hide();break;default:break}}onArrowDownKey(t){let n=this.findNextOptionIndex(this.focusedOptionIndex());this.changeFocusedOptionIndex(n),t.preventDefault()}onArrowUpKey(t){if(t.altKey&&this.popup)Nt(this.target),this.hide(),t.preventDefault();else{let n=this.findPrevOptionIndex(this.focusedOptionIndex());this.changeFocusedOptionIndex(n),t.preventDefault()}}onHomeKey(t){this.changeFocusedOptionIndex(0),t.preventDefault()}onEndKey(t){this.changeFocusedOptionIndex(Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]').length-1),t.preventDefault()}onEnterKey(t){let n=_t(this.containerViewChild.nativeElement,`li[id="${`${this.focusedOptionIndex()}`}"]`),s=n&&_t(n,'a[data-pc-section="action"]');this.popup&&Nt(this.target),s?s.click():n&&n.click(),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}findNextOptionIndex(t){let s=[...Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]')].findIndex(r=>r.id===t);return s>-1?s+1:0}findPrevOptionIndex(t){let s=[...Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]')].findIndex(r=>r.id===t);return s>-1?s-1:0}changeFocusedOptionIndex(t){let n=Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]');if(n.length>0){let s=t>=n.length?n.length-1:t<0?0:t;s>-1&&this.focusedOptionIndex.set(n[s].getAttribute("id"))}}itemClick(t,n){let{originalEvent:s,item:r}=t;if(this.focused||(this.focused=!0,this.onFocus.emit()),r.disabled){s.preventDefault();return}!r.url&&!r.routerLink&&s.preventDefault(),r.command&&r.command({originalEvent:s,item:r}),this.popup&&this.hide(),!this.popup&&this.focusedOptionIndex()!==n&&this.focusedOptionIndex.set(n)}onOverlayClick(t){this.popup&&this.overlayService.add({originalEvent:t,target:this.el.nativeElement}),this.preventDocumentDefault=!0}bindDocumentClickListener(){if(!this.documentClickListener&&Oe(this.platformId)){let t=this.el?this.el.nativeElement.ownerDocument:"document";this.documentClickListener=this.renderer.listen(t,"click",n=>{let s=this.containerViewChild?.nativeElement&&!this.containerViewChild?.nativeElement.contains(n.target),r=!(this.target&&(this.target===n.target||this.target.contains(n.target)));!this.popup&&s&&r&&this.onListBlur(n),this.preventDocumentDefault&&this.overlayVisible&&s&&r&&(this.hide(),this.preventDocumentDefault=!1)})}}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){if(!this.documentResizeListener&&Oe(this.platformId)){let t=this.document.defaultView;this.documentResizeListener=this.renderer.listen(t,"resize",this.onWindowResize.bind(this))}}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){!this.scrollHandler&&Oe(this.platformId)&&(this.scrollHandler=new An(this.target,()=>{this.visible&&this.hide()})),this.scrollHandler?.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&(this.scrollHandler.unbindScrollListener(),this.scrollHandler=null)}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.preventDocumentDefault=!1,this.cd.destroyed||(this.target=null)}ngOnDestroy(){this.popup&&(this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.container&&this.autoZIndex&&ai.clear(this.container),this.restoreOverlayAppend(),this.onOverlayHide()),this.popup||this.unbindDocumentClickListener(),super.ngOnDestroy()}hasSubMenu(){return this.model?.some(t=>t.items)??!1}isItemHidden(t){return t.separator?t.visible===!1||t.items&&t.items.some(n=>n.visible!==!1):t.visible===!1}static \u0275fac=function(n){return new(n||i)(Ue(Ln))};static \u0275cmp=he({type:i,selectors:[["p-menu"]],contentQueries:function(n,s,r){if(n&1&&(fe(r,Tr,4),fe(r,Pr,4),fe(r,Er,4),fe(r,Or,4),fe(r,Ir,4),fe(r,ri,4)),n&2){let a;ne(a=se())&&(s.startTemplate=a.first),ne(a=se())&&(s.endTemplate=a.first),ne(a=se())&&(s.headerTemplate=a.first),ne(a=se())&&(s.itemTemplate=a.first),ne(a=se())&&(s.submenuHeaderTemplate=a.first),ne(a=se())&&(s.templates=a)}},viewQuery:function(n,s){if(n&1&&(yt(Lr,5),yt(kr,5)),n&2){let r;ne(r=se())&&(s.listViewChild=r.first),ne(r=se())&&(s.containerViewChild=r.first)}},inputs:{model:"model",popup:[2,"popup","popup",pt],style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:[2,"autoZIndex","autoZIndex",pt],baseZIndex:[2,"baseZIndex","baseZIndex",Vt],showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",id:"id",tabindex:[2,"tabindex","tabindex",Vt]},outputs:{onShow:"onShow",onHide:"onHide",onBlur:"onBlur",onFocus:"onFocus"},features:[Ze([Jn]),Ke],decls:1,vars:1,consts:[["container",""],["list",""],["htmlSubmenuLabel",""],[3,"ngClass","class","ngStyle","click",4,"ngIf"],[3,"click","ngClass","ngStyle"],["class","p-menu-start",4,"ngIf"],["role","menu",1,"p-menu-list","p-reset",3,"focus","blur","keydown"],[4,"ngIf"],["class","p-menu-end",4,"ngIf"],[1,"p-menu-start"],[4,"ngTemplateOutlet"],["ngFor","",3,"ngForOf"],["class","p-menu-separator","role","separator",4,"ngIf"],["class","p-menu-submenu-label","pTooltip","","role","none",3,"ngClass","tooltipOptions",4,"ngIf"],["role","separator",1,"p-menu-separator"],["pTooltip","","role","none",1,"p-menu-submenu-label",3,"ngClass","tooltipOptions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"innerHTML"],["class","p-menu-item","pTooltip","","role","menuitem",3,"pMenuItemContent","itemTemplate","ngClass","ngStyle","class","tooltipOptions","onMenuItemClick",4,"ngIf"],["pTooltip","","role","menuitem",1,"p-menu-item",3,"onMenuItemClick","pMenuItemContent","itemTemplate","ngClass","ngStyle","tooltipOptions"],[1,"p-menu-end"]],template:function(n,s){n&1&&X(0,ia,8,25,"div",3),n&2&&$("ngIf",!s.popup||s.visible)},dependencies:[we,ct,ii,Ft,Rt,Bt,Ht,ra,Si,Yn,Mi,ge,is],encapsulation:2,data:{animation:[dn("overlayAnimation",[xi(":enter",[Ci({opacity:0,transform:"scaleY(0.8)"}),_i("{{showTransitionParams}}")]),xi(":leave",[_i("{{hideTransitionParams}}",Ci({opacity:0}))])])]},changeDetection:0})}return i})(),ss=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=Qe({type:i});static \u0275inj=je({imports:[ns,ge,ge]})}return i})();var aa=["item"],oa=["header"],la=["footer"],da=["previousicon"],pa=["nexticon"],ca=["itemsContainer"],ua=["indicatorContent"],ma=[[["p-header"]],[["p-footer"]]],fa=["p-header","p-footer"],ga=(i,e)=>({"p-carousel p-component":!0,"p-carousel-vertical":i,"p-carousel-horizontal":e}),ha=i=>({height:i}),va=i=>({"p-carousel-prev-button":!0,"p-disabled":i}),as=(i,e,t)=>({"p-carousel-item p-carousel-item-clone":!0,"p-carousel-item-active":i,"p-carousel-item-start":e,"p-carousel-item-end":t}),Ei=i=>({$implicit:i}),wa=(i,e,t)=>({"p-carousel-item":!0,"p-carousel-item-active":i,"p-carousel-item-start":e,"p-carousel-item-end":t}),ba=i=>({"p-carousel-next-button":!0,"p-disabled":i}),ya=i=>({"p-carousel-indicator":!0,"p-carousel-indicator-active":i});function _a(i,e){i&1&&Me(0)}function Ca(i,e){if(i&1&&(G(0,"div",14),lt(1),X(2,_a,1,0,"ng-container",15),N()),i&2){let t=H();R(2),$("ngTemplateOutlet",t.headerTemplate)}}function xa(i,e){i&1&&te(0,"ChevronLeftIcon",20),i&2&&$("styleClass","carousel-prev-icon")}function Ma(i,e){i&1&&te(0,"ChevronUpIcon",20),i&2&&$("styleClass","carousel-prev-icon")}function Sa(i,e){if(i&1&&(at(0),X(1,xa,1,1,"ChevronLeftIcon",19)(2,Ma,1,1,"ChevronUpIcon",19),ot()),i&2){let t=H(3);R(),$("ngIf",!t.isVertical()),R(),$("ngIf",t.isVertical())}}function Ta(i,e){}function Pa(i,e){i&1&&X(0,Ta,0,0,"ng-template")}function Ea(i,e){if(i&1&&(G(0,"span",21),X(1,Pa,1,0,null,15),N()),i&2){let t=H(3);R(),$("ngTemplateOutlet",t.previousIconTemplate||t._previousIconTemplate)}}function Oa(i,e){if(i&1&&X(0,Sa,3,2,"ng-container",17)(1,Ea,2,1,"span",18),i&2){let t=H(2);$("ngIf",!t.previousIconTemplate&&!t._previousIconTemplate&&!(t.prevButtonProps!=null&&t.prevButtonProps.icon)),R(),$("ngIf",(t.previousIconTemplate||t._previousIconTemplate)&&!(t.prevButtonProps!=null&&t.prevButtonProps.icon))}}function Ia(i,e){if(i&1){let t=ve();G(0,"p-button",16),ie("click",function(s){U(t);let r=H();return Q(r.navBackward(s))}),X(1,Oa,2,2,"ng-template",null,1,dt),N()}if(i&2){let t=H();$("ngClass",pe(5,va,t.isBackwardNavDisabled()))("disabled",t.isBackwardNavDisabled())("text",!0)("buttonProps",t.prevButtonProps),Z("aria-label",t.ariaPrevButtonLabel())}}function La(i,e){i&1&&Me(0)}function ka(i,e){if(i&1&&(G(0,"div",5),X(1,La,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(6,as,s.totalShiftedItems*-1===s.value.length,n===0,s.clonedItemsForStarting.length-1===n)),Z("aria-hidden",s.totalShiftedItems*-1!==s.value.length)("aria-label",s.ariaSlideNumber(n))("aria-roledescription",s.ariaSlideLabel()),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(10,Ei,t))}}function za(i,e){i&1&&Me(0)}function Aa(i,e){if(i&1&&(G(0,"div",5),X(1,za,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(6,wa,s.firstIndex()<=n&&s.lastIndex()>=n,s.firstIndex()===n,s.lastIndex()===n)),Z("aria-hidden",!(s.firstIndex()<=n&&s.lastIndex()>=n))("aria-label",s.ariaSlideNumber(n))("aria-roledescription",s.ariaSlideLabel()),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(10,Ei,t))}}function Da(i,e){i&1&&Me(0)}function $a(i,e){if(i&1&&(G(0,"div",5),X(1,Da,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(3,as,s.totalShiftedItems*-1===s.numVisible,n===0,s.clonedItemsForFinishing.length-1===n)),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(7,Ei,t))}}function Va(i,e){i&1&&te(0,"ChevronRightIcon",20),i&2&&$("styleClass","carousel-next-icon")}function Fa(i,e){i&1&&te(0,"ChevronDownIcon",20),i&2&&$("styleClass","carousel-next-icon")}function Ba(i,e){if(i&1&&(at(0),X(1,Va,1,1,"ChevronRightIcon",19)(2,Fa,1,1,"ChevronDownIcon",19),ot()),i&2){let t=H(3);R(),$("ngIf",!t.isVertical()),R(),$("ngIf",t.isVertical())}}function Ra(i,e){}function Ha(i,e){i&1&&X(0,Ra,0,0,"ng-template")}function Na(i,e){if(i&1&&(G(0,"span",25),X(1,Ha,1,0,null,15),N()),i&2){let t=H(3);R(),$("ngTemplateOutlet",t.nextIconTemplate||t._nextIconTemplate)}}function Ga(i,e){if(i&1&&X(0,Ba,3,2,"ng-container",17)(1,Na,2,1,"span",24),i&2){let t=H(2);$("ngIf",!t.nextIconTemplate&&!t._nextIconTemplate&&!(t.nextButtonProps!=null&&t.nextButtonProps.icon)),R(),$("ngIf",t.nextIconTemplate||t._nextIconTemplate&&!(t.nextButtonProps!=null&&t.nextButtonProps.icon))}}function Xa(i,e){if(i&1){let t=ve();G(0,"p-button",23),ie("click",function(s){U(t);let r=H();return Q(r.navForward(s))}),X(1,Ga,2,2,"ng-template",null,1,dt),N()}if(i&2){let t=H();$("ngClass",pe(5,ba,t.isForwardNavDisabled()))("disabled",t.isForwardNavDisabled())("buttonProps",t.nextButtonProps)("text",!0),Z("aria-label",t.ariaNextButtonLabel())}}function Ya(i,e){if(i&1){let t=ve();G(0,"li",5)(1,"button",27),ie("click",function(s){let r=U(t).index,a=H(2);return Q(a.onDotClick(s,r))}),N()()}if(i&2){let t=e.index,n=H(2);$("ngClass",pe(9,ya,n._page===t)),Z("data-pc-section","indicator"),R(),ye(n.indicatorStyleClass),$("ngClass","p-carousel-indicator-button")("ngStyle",n.indicatorStyle)("tabindex",n._page===t?0:-1),Z("aria-label",n.ariaPageLabel(t+1))("aria-current",n._page===t?"page":void 0)}}function ja(i,e){if(i&1){let t=ve();G(0,"ul",26,2),ie("keydown",function(s){U(t);let r=H();return Q(r.onIndicatorKeydown(s))}),X(2,Ya,2,11,"li",10),N()}if(i&2){let t=H();ye(t.indicatorsContentClass),$("ngClass","p-carousel-indicator-list")("ngStyle",t.indicatorsContentStyle),R(2),$("ngForOf",t.totalDotsArray())}}function Wa(i,e){i&1&&Me(0)}function qa(i,e){if(i&1&&(G(0,"div",28),lt(1,1),X(2,Wa,1,0,"ng-container",15),N()),i&2){let t=H();R(2),$("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}var Ua=({dt:i})=>`
|
|
191
|
+
`,sa={root:({props:i})=>["p-menu p-component",{"p-menu-overlay":i.popup}],start:"p-menu-start",list:"p-menu-list",submenuLabel:"p-menu-submenu-label",separator:"p-menu-separator",end:"p-menu-end",item:({instance:i})=>["p-menu-item",{"p-focus":i.id===i.focusedOptionId,"p-disabled":i.disabled()}],itemContent:"p-menu-item-content",itemLink:"p-menu-item-link",itemIcon:"p-menu-item-icon",itemLabel:"p-menu-item-label"},Jn=(()=>{class i extends Je{name="menu";theme=na;classes=sa;static \u0275fac=(()=>{let t;return function(s){return(t||(t=Ae(i)))(s||i)}})();static \u0275prov=Ye({token:i,factory:i.\u0275fac})}return i})();var is=(()=>{class i{platformId;sanitizer;constructor(t,n){this.platformId=t,this.sanitizer=n}transform(t){return!t||!Oe(this.platformId)?t:this.sanitizer.bypassSecurityTrustHtml(t)}static \u0275fac=function(n){return new(n||i)(Ue(Ui,16),Ue(sn,16))};static \u0275pipe=Qi({name:"safeHtml",type:i,pure:!0})}return i})(),ra=(()=>{class i{item;itemTemplate;onMenuItemClick=new We;menu;constructor(t){this.menu=t}onItemClick(t,n){this.onMenuItemClick.emit({originalEvent:t,item:n})}static \u0275fac=function(n){return new(n||i)(Ue(Yi(()=>ns)))};static \u0275cmp=he({type:i,selectors:[["","pMenuItemContent",""]],inputs:{item:[0,"pMenuItemContent","item"],itemTemplate:"itemTemplate"},outputs:{onMenuItemClick:"onMenuItemClick"},attrs:cr,decls:5,vars:3,consts:[["itemContent",""],["htmlLabel",""],[1,"p-menu-item-content",3,"click"],[4,"ngIf"],["class","p-menu-item-link","pRipple","",3,"target","ngClass",4,"ngIf"],["routerLinkActive","p-menu-item-link-active","class","p-menu-item-link","pRipple","",3,"routerLink","queryParams","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state",4,"ngIf"],["pRipple","",1,"p-menu-item-link",3,"target","ngClass"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],["routerLinkActive","p-menu-item-link-active","pRipple","",1,"p-menu-item-link",3,"routerLink","queryParams","routerLinkActiveOptions","target","ngClass","fragment","queryParamsHandling","preserveFragment","skipLocationChange","replaceUrl","state"],["class","p-menu-item-icon",3,"ngClass","class","ngStyle",4,"ngIf"],["class","p-menu-item-label",4,"ngIf","ngIfElse"],[3,"styleClass","value",4,"ngIf"],[1,"p-menu-item-icon",3,"ngClass","ngStyle"],[1,"p-menu-item-label"],[1,"p-menu-item-label",3,"innerHTML"],[3,"styleClass","value"]],template:function(n,s){if(n&1){let r=ve();G(0,"div",2),ie("click",function(d){return U(r),Q(s.onItemClick(d,s.item))}),X(1,vr,3,2,"ng-container",3)(2,yr,2,4,"ng-container",3)(3,Sr,5,4,"ng-template",null,0,dt),N()}n&2&&(Z("data-pc-section","content"),R(),$("ngIf",!s.itemTemplate),R(),$("ngIf",s.itemTemplate))},dependencies:[we,ct,Ft,Rt,Bt,Ht,on,ln,Rn,Ti,Si,Hn,ge,is],encapsulation:2})}return i})(),ns=(()=>{class i extends et{overlayService;model;popup;style;styleClass;appendTo;autoZIndex=!0;baseZIndex=0;showTransitionOptions=".12s cubic-bezier(0, 0, 0.2, 1)";hideTransitionOptions=".1s linear";ariaLabel;ariaLabelledBy;id;tabindex=0;onShow=new We;onHide=new We;onBlur=new We;onFocus=new We;listViewChild;containerViewChild;container;scrollHandler;documentClickListener;documentResizeListener;preventDocumentDefault;target;visible;focusedOptionId=en(()=>this.focusedOptionIndex()!==-1?this.focusedOptionIndex():null);focusedOptionIndex=Ee(-1);selectedOptionIndex=Ee(-1);focused=!1;overlayVisible=!1;relativeAlign;_componentStyle=ae(Jn);constructor(t){super(),this.overlayService=t,this.id=this.id||si("pn_id_")}toggle(t){this.visible?this.hide():this.show(t),this.preventDocumentDefault=!0}show(t){this.target=t.currentTarget,this.relativeAlign=t.relativeAlign,this.visible=!0,this.preventDocumentDefault=!0,this.overlayVisible=!0,this.cd.markForCheck()}ngOnInit(){super.ngOnInit(),this.popup||this.bindDocumentClickListener()}startTemplate;_startTemplate;endTemplate;_endTemplate;headerTemplate;_headerTemplate;itemTemplate;_itemTemplate;submenuHeaderTemplate;_submenuHeaderTemplate;templates;ngAfterContentInit(){this.templates?.forEach(t=>{switch(t.getType()){case"start":this._startTemplate=t.template;break;case"end":this._endTemplate=t.template;break;case"item":this._itemTemplate=t.template;break;case"submenuheader":this._submenuHeaderTemplate=t.template;break;default:this._itemTemplate=t.template;break}})}getTabIndexValue(){return this.tabindex!==void 0?this.tabindex.toString():null}onOverlayAnimationStart(t){switch(t.toState){case"visible":this.popup&&(this.container=t.element,this.moveOnTop(),this.onShow.emit({}),this.appendOverlay(),this.alignOverlay(),this.bindDocumentClickListener(),this.bindDocumentResizeListener(),this.bindScrollListener(),Nt(this.listViewChild.nativeElement));break;case"void":this.onOverlayHide(),this.onHide.emit({});break}}onOverlayAnimationEnd(t){switch(t.toState){case"void":this.autoZIndex&&ai.clear(t.element);break}}alignOverlay(){this.relativeAlign?Tn(this.container,this.target):Sn(this.container,this.target)}appendOverlay(){this.appendTo&&(this.appendTo==="body"?this.renderer.appendChild(this.document.body,this.container):Pn(this.appendTo,this.container))}restoreOverlayAppend(){this.container&&this.appendTo&&this.renderer.appendChild(this.el.nativeElement,this.container)}moveOnTop(){this.autoZIndex&&ai.set("menu",this.container,this.baseZIndex+this.config.zIndex.menu)}hide(){this.visible=!1,this.relativeAlign=!1,this.cd.markForCheck()}onWindowResize(){this.visible&&!On()&&this.hide()}menuitemId(t,n,s,r){return t?.id??`${n}_${s}${r!==void 0?"_"+r:""}`}isItemFocused(t){return this.focusedOptionId()===t}label(t){return typeof t=="function"?t():t}disabled(t){return typeof t=="function"?t():typeof t>"u"?!1:t}activedescendant(){return this.focused?this.focusedOptionId():void 0}onListFocus(t){this.focused||(this.focused=!0,this.onFocus.emit(t))}onListBlur(t){this.focused&&(this.focused=!1,this.changeFocusedOptionIndex(-1),this.selectedOptionIndex.set(-1),this.focusedOptionIndex.set(-1),this.onBlur.emit(t))}onListKeyDown(t){switch(t.code){case"ArrowDown":this.onArrowDownKey(t);break;case"ArrowUp":this.onArrowUpKey(t);break;case"Home":this.onHomeKey(t);break;case"End":this.onEndKey(t);break;case"Enter":this.onEnterKey(t);break;case"NumpadEnter":this.onEnterKey(t);break;case"Space":this.onSpaceKey(t);break;case"Escape":case"Tab":this.popup&&(Nt(this.target),this.hide()),this.overlayVisible&&this.hide();break;default:break}}onArrowDownKey(t){let n=this.findNextOptionIndex(this.focusedOptionIndex());this.changeFocusedOptionIndex(n),t.preventDefault()}onArrowUpKey(t){if(t.altKey&&this.popup)Nt(this.target),this.hide(),t.preventDefault();else{let n=this.findPrevOptionIndex(this.focusedOptionIndex());this.changeFocusedOptionIndex(n),t.preventDefault()}}onHomeKey(t){this.changeFocusedOptionIndex(0),t.preventDefault()}onEndKey(t){this.changeFocusedOptionIndex(Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]').length-1),t.preventDefault()}onEnterKey(t){let n=_t(this.containerViewChild.nativeElement,`li[id="${`${this.focusedOptionIndex()}`}"]`),s=n&&_t(n,'a[data-pc-section="action"]');this.popup&&Nt(this.target),s?s.click():n&&n.click(),t.preventDefault()}onSpaceKey(t){this.onEnterKey(t)}findNextOptionIndex(t){let s=[...Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]')].findIndex(r=>r.id===t);return s>-1?s+1:0}findPrevOptionIndex(t){let s=[...Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]')].findIndex(r=>r.id===t);return s>-1?s-1:0}changeFocusedOptionIndex(t){let n=Ie(this.containerViewChild.nativeElement,'li[data-pc-section="menuitem"][data-p-disabled="false"]');if(n.length>0){let s=t>=n.length?n.length-1:t<0?0:t;s>-1&&this.focusedOptionIndex.set(n[s].getAttribute("id"))}}itemClick(t,n){let{originalEvent:s,item:r}=t;if(this.focused||(this.focused=!0,this.onFocus.emit()),r.disabled){s.preventDefault();return}!r.url&&!r.routerLink&&s.preventDefault(),r.command&&r.command({originalEvent:s,item:r}),this.popup&&this.hide(),!this.popup&&this.focusedOptionIndex()!==n&&this.focusedOptionIndex.set(n)}onOverlayClick(t){this.popup&&this.overlayService.add({originalEvent:t,target:this.el.nativeElement}),this.preventDocumentDefault=!0}bindDocumentClickListener(){if(!this.documentClickListener&&Oe(this.platformId)){let t=this.el?this.el.nativeElement.ownerDocument:"document";this.documentClickListener=this.renderer.listen(t,"click",n=>{let s=this.containerViewChild?.nativeElement&&!this.containerViewChild?.nativeElement.contains(n.target),r=!(this.target&&(this.target===n.target||this.target.contains(n.target)));!this.popup&&s&&r&&this.onListBlur(n),this.preventDocumentDefault&&this.overlayVisible&&s&&r&&(this.hide(),this.preventDocumentDefault=!1)})}}unbindDocumentClickListener(){this.documentClickListener&&(this.documentClickListener(),this.documentClickListener=null)}bindDocumentResizeListener(){if(!this.documentResizeListener&&Oe(this.platformId)){let t=this.document.defaultView;this.documentResizeListener=this.renderer.listen(t,"resize",this.onWindowResize.bind(this))}}unbindDocumentResizeListener(){this.documentResizeListener&&(this.documentResizeListener(),this.documentResizeListener=null)}bindScrollListener(){!this.scrollHandler&&Oe(this.platformId)&&(this.scrollHandler=new An(this.target,()=>{this.visible&&this.hide()})),this.scrollHandler?.bindScrollListener()}unbindScrollListener(){this.scrollHandler&&(this.scrollHandler.unbindScrollListener(),this.scrollHandler=null)}onOverlayHide(){this.unbindDocumentClickListener(),this.unbindDocumentResizeListener(),this.unbindScrollListener(),this.preventDocumentDefault=!1,this.cd.destroyed||(this.target=null)}ngOnDestroy(){this.popup&&(this.scrollHandler&&(this.scrollHandler.destroy(),this.scrollHandler=null),this.container&&this.autoZIndex&&ai.clear(this.container),this.restoreOverlayAppend(),this.onOverlayHide()),this.popup||this.unbindDocumentClickListener(),super.ngOnDestroy()}hasSubMenu(){return this.model?.some(t=>t.items)??!1}isItemHidden(t){return t.separator?t.visible===!1||t.items&&t.items.some(n=>n.visible!==!1):t.visible===!1}static \u0275fac=function(n){return new(n||i)(Ue(Ln))};static \u0275cmp=he({type:i,selectors:[["p-menu"]],contentQueries:function(n,s,r){if(n&1&&(fe(r,Tr,4),fe(r,Pr,4),fe(r,Er,4),fe(r,Or,4),fe(r,Ir,4),fe(r,ri,4)),n&2){let a;ne(a=se())&&(s.startTemplate=a.first),ne(a=se())&&(s.endTemplate=a.first),ne(a=se())&&(s.headerTemplate=a.first),ne(a=se())&&(s.itemTemplate=a.first),ne(a=se())&&(s.submenuHeaderTemplate=a.first),ne(a=se())&&(s.templates=a)}},viewQuery:function(n,s){if(n&1&&(yt(Lr,5),yt(kr,5)),n&2){let r;ne(r=se())&&(s.listViewChild=r.first),ne(r=se())&&(s.containerViewChild=r.first)}},inputs:{model:"model",popup:[2,"popup","popup",pt],style:"style",styleClass:"styleClass",appendTo:"appendTo",autoZIndex:[2,"autoZIndex","autoZIndex",pt],baseZIndex:[2,"baseZIndex","baseZIndex",Vt],showTransitionOptions:"showTransitionOptions",hideTransitionOptions:"hideTransitionOptions",ariaLabel:"ariaLabel",ariaLabelledBy:"ariaLabelledBy",id:"id",tabindex:[2,"tabindex","tabindex",Vt]},outputs:{onShow:"onShow",onHide:"onHide",onBlur:"onBlur",onFocus:"onFocus"},features:[Ze([Jn]),Ke],decls:1,vars:1,consts:[["container",""],["list",""],["htmlSubmenuLabel",""],[3,"ngClass","class","ngStyle","click",4,"ngIf"],[3,"click","ngClass","ngStyle"],["class","p-menu-start",4,"ngIf"],["role","menu",1,"p-menu-list","p-reset",3,"focus","blur","keydown"],[4,"ngIf"],["class","p-menu-end",4,"ngIf"],[1,"p-menu-start"],[4,"ngTemplateOutlet"],["ngFor","",3,"ngForOf"],["class","p-menu-separator","role","separator",4,"ngIf"],["class","p-menu-submenu-label","pTooltip","","role","none",3,"ngClass","tooltipOptions",4,"ngIf"],["role","separator",1,"p-menu-separator"],["pTooltip","","role","none",1,"p-menu-submenu-label",3,"ngClass","tooltipOptions"],[4,"ngTemplateOutlet","ngTemplateOutletContext"],[4,"ngIf","ngIfElse"],[3,"innerHTML"],["class","p-menu-item","pTooltip","","role","menuitem",3,"pMenuItemContent","itemTemplate","ngClass","ngStyle","class","tooltipOptions","onMenuItemClick",4,"ngIf"],["pTooltip","","role","menuitem",1,"p-menu-item",3,"onMenuItemClick","pMenuItemContent","itemTemplate","ngClass","ngStyle","tooltipOptions"],[1,"p-menu-end"]],template:function(n,s){n&1&&X(0,ia,8,25,"div",3),n&2&&$("ngIf",!s.popup||s.visible)},dependencies:[we,ct,ii,Ft,Rt,Bt,Ht,ra,Ti,Yn,Si,ge,is],encapsulation:2,data:{animation:[dn("overlayAnimation",[xi(":enter",[Ci({opacity:0,transform:"scaleY(0.8)"}),_i("{{showTransitionParams}}")]),xi(":leave",[_i("{{hideTransitionParams}}",Ci({opacity:0}))])])]},changeDetection:0})}return i})(),ss=(()=>{class i{static \u0275fac=function(n){return new(n||i)};static \u0275mod=Qe({type:i});static \u0275inj=je({imports:[ns,ge,ge]})}return i})();var aa=["item"],oa=["header"],la=["footer"],da=["previousicon"],pa=["nexticon"],ca=["itemsContainer"],ua=["indicatorContent"],ma=[[["p-header"]],[["p-footer"]]],fa=["p-header","p-footer"],ga=(i,e)=>({"p-carousel p-component":!0,"p-carousel-vertical":i,"p-carousel-horizontal":e}),ha=i=>({height:i}),va=i=>({"p-carousel-prev-button":!0,"p-disabled":i}),as=(i,e,t)=>({"p-carousel-item p-carousel-item-clone":!0,"p-carousel-item-active":i,"p-carousel-item-start":e,"p-carousel-item-end":t}),Ei=i=>({$implicit:i}),wa=(i,e,t)=>({"p-carousel-item":!0,"p-carousel-item-active":i,"p-carousel-item-start":e,"p-carousel-item-end":t}),ba=i=>({"p-carousel-next-button":!0,"p-disabled":i}),ya=i=>({"p-carousel-indicator":!0,"p-carousel-indicator-active":i});function _a(i,e){i&1&&Me(0)}function Ca(i,e){if(i&1&&(G(0,"div",14),lt(1),X(2,_a,1,0,"ng-container",15),N()),i&2){let t=H();R(2),$("ngTemplateOutlet",t.headerTemplate)}}function xa(i,e){i&1&&te(0,"ChevronLeftIcon",20),i&2&&$("styleClass","carousel-prev-icon")}function Ma(i,e){i&1&&te(0,"ChevronUpIcon",20),i&2&&$("styleClass","carousel-prev-icon")}function Sa(i,e){if(i&1&&(at(0),X(1,xa,1,1,"ChevronLeftIcon",19)(2,Ma,1,1,"ChevronUpIcon",19),ot()),i&2){let t=H(3);R(),$("ngIf",!t.isVertical()),R(),$("ngIf",t.isVertical())}}function Ta(i,e){}function Pa(i,e){i&1&&X(0,Ta,0,0,"ng-template")}function Ea(i,e){if(i&1&&(G(0,"span",21),X(1,Pa,1,0,null,15),N()),i&2){let t=H(3);R(),$("ngTemplateOutlet",t.previousIconTemplate||t._previousIconTemplate)}}function Oa(i,e){if(i&1&&X(0,Sa,3,2,"ng-container",17)(1,Ea,2,1,"span",18),i&2){let t=H(2);$("ngIf",!t.previousIconTemplate&&!t._previousIconTemplate&&!(t.prevButtonProps!=null&&t.prevButtonProps.icon)),R(),$("ngIf",(t.previousIconTemplate||t._previousIconTemplate)&&!(t.prevButtonProps!=null&&t.prevButtonProps.icon))}}function Ia(i,e){if(i&1){let t=ve();G(0,"p-button",16),ie("click",function(s){U(t);let r=H();return Q(r.navBackward(s))}),X(1,Oa,2,2,"ng-template",null,1,dt),N()}if(i&2){let t=H();$("ngClass",pe(5,va,t.isBackwardNavDisabled()))("disabled",t.isBackwardNavDisabled())("text",!0)("buttonProps",t.prevButtonProps),Z("aria-label",t.ariaPrevButtonLabel())}}function La(i,e){i&1&&Me(0)}function ka(i,e){if(i&1&&(G(0,"div",5),X(1,La,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(6,as,s.totalShiftedItems*-1===s.value.length,n===0,s.clonedItemsForStarting.length-1===n)),Z("aria-hidden",s.totalShiftedItems*-1!==s.value.length)("aria-label",s.ariaSlideNumber(n))("aria-roledescription",s.ariaSlideLabel()),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(10,Ei,t))}}function za(i,e){i&1&&Me(0)}function Aa(i,e){if(i&1&&(G(0,"div",5),X(1,za,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(6,wa,s.firstIndex()<=n&&s.lastIndex()>=n,s.firstIndex()===n,s.lastIndex()===n)),Z("aria-hidden",!(s.firstIndex()<=n&&s.lastIndex()>=n))("aria-label",s.ariaSlideNumber(n))("aria-roledescription",s.ariaSlideLabel()),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(10,Ei,t))}}function Da(i,e){i&1&&Me(0)}function $a(i,e){if(i&1&&(G(0,"div",5),X(1,Da,1,0,"ng-container",22),N()),i&2){let t=e.$implicit,n=e.index,s=H();$("ngClass",ti(3,as,s.totalShiftedItems*-1===s.numVisible,n===0,s.clonedItemsForFinishing.length-1===n)),R(),$("ngTemplateOutlet",s.itemTemplate||s._itemTemplate)("ngTemplateOutletContext",pe(7,Ei,t))}}function Va(i,e){i&1&&te(0,"ChevronRightIcon",20),i&2&&$("styleClass","carousel-next-icon")}function Fa(i,e){i&1&&te(0,"ChevronDownIcon",20),i&2&&$("styleClass","carousel-next-icon")}function Ba(i,e){if(i&1&&(at(0),X(1,Va,1,1,"ChevronRightIcon",19)(2,Fa,1,1,"ChevronDownIcon",19),ot()),i&2){let t=H(3);R(),$("ngIf",!t.isVertical()),R(),$("ngIf",t.isVertical())}}function Ra(i,e){}function Ha(i,e){i&1&&X(0,Ra,0,0,"ng-template")}function Na(i,e){if(i&1&&(G(0,"span",25),X(1,Ha,1,0,null,15),N()),i&2){let t=H(3);R(),$("ngTemplateOutlet",t.nextIconTemplate||t._nextIconTemplate)}}function Ga(i,e){if(i&1&&X(0,Ba,3,2,"ng-container",17)(1,Na,2,1,"span",24),i&2){let t=H(2);$("ngIf",!t.nextIconTemplate&&!t._nextIconTemplate&&!(t.nextButtonProps!=null&&t.nextButtonProps.icon)),R(),$("ngIf",t.nextIconTemplate||t._nextIconTemplate&&!(t.nextButtonProps!=null&&t.nextButtonProps.icon))}}function Xa(i,e){if(i&1){let t=ve();G(0,"p-button",23),ie("click",function(s){U(t);let r=H();return Q(r.navForward(s))}),X(1,Ga,2,2,"ng-template",null,1,dt),N()}if(i&2){let t=H();$("ngClass",pe(5,ba,t.isForwardNavDisabled()))("disabled",t.isForwardNavDisabled())("buttonProps",t.nextButtonProps)("text",!0),Z("aria-label",t.ariaNextButtonLabel())}}function Ya(i,e){if(i&1){let t=ve();G(0,"li",5)(1,"button",27),ie("click",function(s){let r=U(t).index,a=H(2);return Q(a.onDotClick(s,r))}),N()()}if(i&2){let t=e.index,n=H(2);$("ngClass",pe(9,ya,n._page===t)),Z("data-pc-section","indicator"),R(),ye(n.indicatorStyleClass),$("ngClass","p-carousel-indicator-button")("ngStyle",n.indicatorStyle)("tabindex",n._page===t?0:-1),Z("aria-label",n.ariaPageLabel(t+1))("aria-current",n._page===t?"page":void 0)}}function ja(i,e){if(i&1){let t=ve();G(0,"ul",26,2),ie("keydown",function(s){U(t);let r=H();return Q(r.onIndicatorKeydown(s))}),X(2,Ya,2,11,"li",10),N()}if(i&2){let t=H();ye(t.indicatorsContentClass),$("ngClass","p-carousel-indicator-list")("ngStyle",t.indicatorsContentStyle),R(2),$("ngForOf",t.totalDotsArray())}}function Wa(i,e){i&1&&Me(0)}function qa(i,e){if(i&1&&(G(0,"div",28),lt(1,1),X(2,Wa,1,0,"ng-container",15),N()),i&2){let t=H();R(2),$("ngTemplateOutlet",t.footerTemplate||t._footerTemplate)}}var Ua=({dt:i})=>`
|
|
192
192
|
.p-carousel {
|
|
193
193
|
display: flex;
|
|
194
194
|
flex-direction: column;
|
|
@@ -325,4 +325,4 @@ import{a as Ti}from"./chunk-Y6H6VNCN.js";import{a as un}from"./chunk-AGLKA7OG.js
|
|
|
325
325
|
${qs(this.passedParams)?`
|
|
326
326
|
<div part="scrollbar" class="swiper-scrollbar"></div>
|
|
327
327
|
`:""}
|
|
328
|
-
`),this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var e=this;if(this.swiper&&this.swiper.initialized)return;let{params:t,passedParams:n}=Bi(this);this.swiperParams=t,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new st(this.shadowRoot.querySelector(".swiper"),It(me(me({},t.virtual?{}:{observer:!0}),t),{touchEventsTarget:"container",onAny:function(s){s==="observerUpdate"&&e.calcSlideSlots();let r=t.eventsPrefix?`${t.eventsPrefix}${s.toLowerCase()}`:s.toLowerCase();for(var a=arguments.length,d=new Array(a>1?a-1:0),u=1;u<a;u++)d[u-1]=arguments[u];let c=new CustomEvent(r,{detail:d,bubbles:s!=="hashChange",cancelable:!0});e.dispatchEvent(c)}}))}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(e,t){let{params:n,passedParams:s}=Bi(this,e,t);this.passedParams=s,this.swiperParams=n,!(this.swiper&&this.swiper.params[e]===t)&&Us(me(me(me({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Tt(e)]},e==="navigation"&&s[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{}),e==="pagination"&&s[e]?{paginationEl:".swiper-pagination"}:{}),e==="scrollbar"&&s[e]?{scrollbarEl:".swiper-scrollbar"}:{}))}attributeChangedCallback(e,t,n){this.swiper&&this.swiper.initialized&&(t==="true"&&n===null&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return St.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}};St.forEach(i=>{i!=="init"&&(i=i.replace("_",""),Object.defineProperty(ui.prototype,i,{configurable:!0,get(){return(this.passedParams||{})[i]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[i]=e,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(i,e)}}))});var Hi=class extends Js{constructor(){super(),this.attachShadow({mode:"open"})}render(){let e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(er(this.shadowRoot,bl),this.shadowRoot.appendChild(document.createElement("slot")),e){let t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}},tr=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ui),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Hi))};typeof window<"u"&&(window.SwiperElementRegisterParams=i=>{St.push(...i)});function yl(i,e){if(i&1&&(G(0,"swiper-slide")(1,"div")(2,"a",1),te(3,"img",2),N()(),G(4,"a",3),le(5),N(),G(6,"p",4),le(7),N()()),i&2){let t=e.$implicit;R(2),$("href",t.href,qe),R(),$("src",t.imgSrc,qe),R(),$("href",t.href,qe),R(),Fe(t.title),R(2),Fe(t.description)}}tr();var ir=(()=>{class i{constructor(){this.elementRef=ae(wt),this.newsList=xe([]),this.colorTheme=xe()}ngOnInit(){this.applyThemeColors()}applyThemeColors(){this.elementRef.nativeElement.style.setProperty("--swiper-primary-color",this.colorTheme())}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-news-swiper"]],inputs:{newsList:[1,"newsList"],colorTheme:[1,"colorTheme"]},decls:3,vars:0,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000","autoplay-disable-on-interaction","false"],["target","_blank",3,"href"],[1,"border-0","rounded-1","swiper-image",3,"src"],["target","_blank",1,"h5","swiper-text",3,"href"],[1,"mb-0"]],template:function(n,s){n&1&&(G(0,"swiper-container",0),Jt(1,yl,8,5,"swiper-slide",null,Zt),N()),n&2&&(R(),ei(s.newsList()))},dependencies:[we],styles:["[_nghost-%COMP%]{--swiper-primary-color: #89b03e}[_nghost-%COMP%] swiper-container[_ngcontent-%COMP%]{--swiper-pagination-bullet-inactive-color: var(--swiper-primary-color);--swiper-pagination-color: var(--swiper-primary-color);--swiper-pagination-bottom: 0px;margin-top:30px;height:265px}[_nghost-%COMP%] img.swiper-image[_ngcontent-%COMP%]{width:252px;height:152px;margin-bottom:16px}[_nghost-%COMP%] .swiper-text[_ngcontent-%COMP%]{color:var(--swiper-primary-color);font-weight:700}[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .h5[_ngcontent-%COMP%]{font-size:.875rem!important}"]})}}return i})();var _l=(i,e)=>({"fa-eye":i,"fa-eye-slash":e});function Cl(i,e){if(i&1&&(G(0,"option",25),le(1),N()),i&2){let t=e.$implicit;$("value",t),R(),Fe(t)}}function xl(i,e){if(i&1){let t=ve();G(0,"div",15)(1,"h2",16),le(2),N(),G(3,"small",17),le(4),N()(),G(5,"form",18)(6,"div",19)(7,"div",20)(8,"div",21)(9,"span"),te(10,"i",22),N()(),G(11,"input",23,0),At("ngModelChange",function(s){U(t);let r=H();return zt(r.subdomain,s)||(r.subdomain=s),Q(s)}),N(),G(13,"div")(14,"select",24),At("ngModelChange",function(s){U(t);let r=H();return zt(r.domain,s)||(r.domain=s),Q(s)}),Jt(15,Cl,2,2,"option",25,Zt),N()()(),G(17,"div",26)(18,"button",27),ie("click",function(){U(t);let s=H();return Q(s.onNextState())}),le(19," Next "),N()()()()}if(i&2){let t=H();R(2),Fe(t.title()),R(2),yi(" ",t.subtitle()," "),R(7),kt("ngModel",t.subdomain),R(3),kt("ngModel",t.domain),R(),ei(t.domains())}}function Ml(i,e){i&1&&(G(0,"span",30),le(1,"to"),N())}function Sl(i,e){if(i&1){let t=ve();G(0,"h6",31)(1,"div",42),le(2),N(),G(3,"i",43),ie("click",function(){U(t);let s=H(2);return Q(s.onEditDomain())}),N()()}if(i&2){let t=H(2);R(2),Zi("(",t.subdomain(),"",t.domain(),")")}}function Tl(i,e){if(i&1){let t=ve();G(0,"div",28)(1,"h3",29)(2,"span"),le(3,"Sign in"),N(),X(4,Ml,2,0,"span",30),N(),X(5,Sl,4,2,"h6",31),N(),G(6,"form",32)(7,"div",20)(8,"div",21)(9,"span"),te(10,"i",33),N()(),G(11,"input",34,1),At("ngModelChange",function(s){U(t);let r=H();return zt(r.username,s)||(r.username=s),Q(s)}),N()(),G(13,"div",35)(14,"div",21)(15,"span"),te(16,"i",36),N()(),G(17,"input",37,2),At("ngModelChange",function(s){U(t);let r=H();return zt(r.password,s)||(r.password=s),Q(s)}),N(),G(19,"span",38)(20,"i",39),ie("click",function(){U(t);let s=H();return Q(s.onHidePassowrd())}),N()()(),G(21,"div",40)(22,"button",41),ie("click",function(){U(t);let s=H();return Q(s.onLogin())}),le(23," Log in "),N()()()}if(i&2){let t=H();R(4),Kt(t.hasSubdomainInput()?4:-1),R(),Kt(t.hasSubdomainInput()?5:-1),R(6),kt("ngModel",t.username),R(6),$("type",t.passwordVisible()?"text":"password"),kt("ngModel",t.password),R(3),$("ngClass",Be(6,_l,t.passwordVisible()===!1,t.passwordVisible()))}}var nr=(()=>{class i{constructor(){this.elementRef=ae(wt),this.toastr=ae(pn),this.changelogUrl=xe(),this.version=xe(),this.domains=xe([".dealpos.co.id",".dealpos.net",".dealpos.com",".dealpos.app"]),this.news=xe([]),this.colorTheme=xe("#1a73e8"),this.subtitle=xe("Your Subtitle Here"),this.title=xe("Your title here"),this.loginChange=qi({alias:"onLoginChange"}),this.hasSubdomainInput=xe(!0),this.loginState=Ee("FORM_DOMAIN"),this.subdomain=Ut(null),this.domain=Ut(".dealpos.app"),this.username=Ut(null),this.password=Ee(null),this.passwordVisible=Ee(!1)}ngOnInit(){document.body.classList.add("login-body"),this.applyThemeColors(),this.initLoginState()}initLoginState(){this.hasSubdomainInput()?this.loginState.set("FORM_DOMAIN"):this.loginState.set("FORM_LOGIN")}onNextState(){if(!this.subdomain()){this.toastr.error("Subdomain is required","Warning");return}this.loginState.set("FORM_LOGIN")}onEditDomain(){this.loginState.set("FORM_DOMAIN")}onHidePassowrd(){this.passwordVisible.set(!this.passwordVisible())}onLogin(){let t=this.subdomain()?.trim(),n={username:this.username(),password:this.password()};this.hasSubdomainInput()&&(n=me({domain:this.domain(),subdomain:t},n)),this.loginChange.emit(n)}applyThemeColors(){this.elementRef.nativeElement.style.setProperty("--login-primary-color",this.colorTheme())}ngOnDestroy(){document.body.classList.remove("login-body")}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-login-ui"]],inputs:{changelogUrl:[1,"changelogUrl"],version:[1,"version"],domains:[1,"domains"],news:[1,"news"],colorTheme:[1,"colorTheme"],subtitle:[1,"subtitle"],title:[1,"title"],hasSubdomainInput:[1,"hasSubdomainInput"],subdomain:[1,"subdomain"],domain:[1,"domain"],username:[1,"username"]},outputs:{loginChange:"onLoginChange",subdomain:"subdomainChange",domain:"domainChange",username:"usernameChange"},decls:17,vars:5,consts:[["subdomainEl",""],["usernameCtrl","ngModel"],["passwordCtrl","ngModel"],[1,"container-fluid"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","features-pane","pt-12","pb-9"],[1,"text-center"],[3,"colorTheme","newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","copyright"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"text-md-start","text-center"],[1,"me-2","mb-0"],[1,"text-secondary-emphasis","fst-italic","opacity-75",2,"font-size","11px"],[2,"margin-top","50px"],[1,"form-block"],[1,"input-group","input-group-lg"],[1,"input-group-text","border-end-0","bg-white",2,"width","52px","border-bottom-left-radius","8px","border-top-left-radius","8px"],[1,"fa-solid","fa-cloud","text-dark","input-icon"],["placeholder","Store Address","aria-label","Store Address","aria-describedby","basic-addon1","autofocus","","name","Store Address",1,"form-control","form-control-lg","rounded-end-0","border-start-0","ps-1","fs-4","text-dark",2,"height","58px",3,"ngModelChange","ngModel"],["name","domainOption",1,"form-select","form-control","form-control-lg","border-start-0","rounded-start-0","domain-option",2,"height","58px","border-bottom-right-radius","8px","border-top-right-radius","8px",3,"ngModelChange","ngModel"],[3,"value"],[1,"w-100",2,"margin-top","1.8rem"],["name","next","data-cy","next","type","submit",1,"btn","btn-xl","btn-theme","btn-block","w-100",2,"height","44.6px","border-radius","7px",3,"click"],[1,"d-flex","align-items-center","justify-content-start","mb-2"],[1,"fw-normal","mb-0","me-2"],[1,"ms-2"],[1,"fw-normal","mb-0","d-flex","align-items-center"],[2,"margin-top","46px"],[1,"fas","fa-user","fa-lg","text-dark","input-icon"],["id","txtUsername","type","text","data-cy","username","required","","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username","autocomplete","off",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1","text-dark",2,"height","58px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg",2,"margin-top","16px"],[1,"fas","fa-key","fa-lg","input-icon","text-dark"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","autofocus","","name","password","autocomplete","off",1,"form-control","form-control-lg","rounded-end","border-start-0","border-end-0","ps-1","text-dark",2,"height","58px",3,"ngModelChange","type","ngModel"],[1,"input-group-text","border-start-0","rounded-end","bg-white"],[1,"input-icon","fa",3,"click","ngClass"],[1,"w-100",2,"margin-top","16px"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-theme","btn-block","w-100",3,"click"],[1,"text-theme","me-2"],["title","Edit Store Address",1,"fa-solid","fa-edit","text-theme","pointer",2,"font-size","0.875rem",3,"click"]],template:function(n,s){n&1&&(G(0,"div",3)(1,"div",4)(2,"div",5)(3,"h2",6),le(4,"New Features"),N(),te(5,"app-news-swiper",7),N(),G(6,"div",8),X(7,xl,20,4)(8,Tl,24,9),N()(),G(9,"div",9)(10,"span",10),le(11,"powered by :"),N(),te(12,"a",11),N(),G(13,"div",12)(14,"a",13),le(15),te(16,"i",14),N()()()),n&2&&(R(5),$("colorTheme",s.colorTheme())("newsList",s.news()),R(2),Kt(s.loginState()=="FORM_DOMAIN"?7:8),R(7),$("href",s.changelogUrl(),qe),R(),yi("version ",s.version(),""))},dependencies:[we,ct,ni,wn,yn,_n,mn,bn,fn,gn,Cn,vn,hn,ir],styles:["[_nghost-%COMP%]{--login-primary-color: red}[_nghost-%COMP%] .mt-0[_ngcontent-%COMP%]{margin-top:0!important}[_nghost-%COMP%] .mb-0[_ngcontent-%COMP%]{margin-bottom:0!important}[_nghost-%COMP%] .ms-0[_ngcontent-%COMP%]{margin-left:0!important}[_nghost-%COMP%] .me-0[_ngcontent-%COMP%]{margin-right:0!important}[_nghost-%COMP%] .mx-0[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}[_nghost-%COMP%] .my-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}[_nghost-%COMP%] .m-0[_ngcontent-%COMP%]{margin:0!important}[_nghost-%COMP%] .pt-0[_ngcontent-%COMP%]{padding-top:0!important}[_nghost-%COMP%] .pb-0[_ngcontent-%COMP%]{padding-bottom:0!important}[_nghost-%COMP%] .ps-0[_ngcontent-%COMP%]{padding-left:0!important}[_nghost-%COMP%] .pe-0[_ngcontent-%COMP%]{padding-right:0!important}[_nghost-%COMP%] .px-0[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}[_nghost-%COMP%] .py-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}[_nghost-%COMP%] .p-0[_ngcontent-%COMP%]{padding:0!important}[_nghost-%COMP%] .gap-0[_ngcontent-%COMP%]{gap:0!important}[_nghost-%COMP%] .mt-1[_ngcontent-%COMP%]{margin-top:.125rem!important}[_nghost-%COMP%] .mb-1[_ngcontent-%COMP%]{margin-bottom:.125rem!important}[_nghost-%COMP%] .ms-1[_ngcontent-%COMP%]{margin-left:.125rem!important}[_nghost-%COMP%] .me-1[_ngcontent-%COMP%]{margin-right:.125rem!important}[_nghost-%COMP%] .mx-1[_ngcontent-%COMP%]{margin-left:.125rem!important;margin-right:.125rem!important}[_nghost-%COMP%] .my-1[_ngcontent-%COMP%]{margin-top:.125rem!important;margin-bottom:.125rem!important}[_nghost-%COMP%] .m-1[_ngcontent-%COMP%]{margin:.125rem!important}[_nghost-%COMP%] .pt-1[_ngcontent-%COMP%]{padding-top:.125rem!important}[_nghost-%COMP%] .pb-1[_ngcontent-%COMP%]{padding-bottom:.125rem!important}[_nghost-%COMP%] .ps-1[_ngcontent-%COMP%]{padding-left:.125rem!important}[_nghost-%COMP%] .pe-1[_ngcontent-%COMP%]{padding-right:.125rem!important}[_nghost-%COMP%] .px-1[_ngcontent-%COMP%]{padding-left:.125rem!important;padding-right:.125rem!important}[_nghost-%COMP%] .py-1[_ngcontent-%COMP%]{padding-top:.125rem!important;padding-bottom:.125rem!important}[_nghost-%COMP%] .p-1[_ngcontent-%COMP%]{padding:.125rem!important}[_nghost-%COMP%] .gap-1[_ngcontent-%COMP%]{gap:.125rem!important}[_nghost-%COMP%] .mt-2[_ngcontent-%COMP%]{margin-top:.25rem!important}[_nghost-%COMP%] .mb-2[_ngcontent-%COMP%]{margin-bottom:.25rem!important}[_nghost-%COMP%] .ms-2[_ngcontent-%COMP%]{margin-left:.25rem!important}[_nghost-%COMP%] .me-2[_ngcontent-%COMP%]{margin-right:.25rem!important}[_nghost-%COMP%] .mx-2[_ngcontent-%COMP%]{margin-left:.25rem!important;margin-right:.25rem!important}[_nghost-%COMP%] .my-2[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}[_nghost-%COMP%] .m-2[_ngcontent-%COMP%]{margin:.25rem!important}[_nghost-%COMP%] .pt-2[_ngcontent-%COMP%]{padding-top:.25rem!important}[_nghost-%COMP%] .pb-2[_ngcontent-%COMP%]{padding-bottom:.25rem!important}[_nghost-%COMP%] .ps-2[_ngcontent-%COMP%]{padding-left:.25rem!important}[_nghost-%COMP%] .pe-2[_ngcontent-%COMP%]{padding-right:.25rem!important}[_nghost-%COMP%] .px-2[_ngcontent-%COMP%]{padding-left:.25rem!important;padding-right:.25rem!important}[_nghost-%COMP%] .py-2[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}[_nghost-%COMP%] .p-2[_ngcontent-%COMP%]{padding:.25rem!important}[_nghost-%COMP%] .gap-2[_ngcontent-%COMP%]{gap:.25rem!important}[_nghost-%COMP%] .mt-3[_ngcontent-%COMP%]{margin-top:.375rem!important}[_nghost-%COMP%] .mb-3[_ngcontent-%COMP%]{margin-bottom:.375rem!important}[_nghost-%COMP%] .ms-3[_ngcontent-%COMP%]{margin-left:.375rem!important}[_nghost-%COMP%] .me-3[_ngcontent-%COMP%]{margin-right:.375rem!important}[_nghost-%COMP%] .mx-3[_ngcontent-%COMP%]{margin-left:.375rem!important;margin-right:.375rem!important}[_nghost-%COMP%] .my-3[_ngcontent-%COMP%]{margin-top:.375rem!important;margin-bottom:.375rem!important}[_nghost-%COMP%] .m-3[_ngcontent-%COMP%]{margin:.375rem!important}[_nghost-%COMP%] .pt-3[_ngcontent-%COMP%]{padding-top:.375rem!important}[_nghost-%COMP%] .pb-3[_ngcontent-%COMP%]{padding-bottom:.375rem!important}[_nghost-%COMP%] .ps-3[_ngcontent-%COMP%]{padding-left:.375rem!important}[_nghost-%COMP%] .pe-3[_ngcontent-%COMP%]{padding-right:.375rem!important}[_nghost-%COMP%] .px-3[_ngcontent-%COMP%]{padding-left:.375rem!important;padding-right:.375rem!important}[_nghost-%COMP%] .py-3[_ngcontent-%COMP%]{padding-top:.375rem!important;padding-bottom:.375rem!important}[_nghost-%COMP%] .p-3[_ngcontent-%COMP%]{padding:.375rem!important}[_nghost-%COMP%] .gap-3[_ngcontent-%COMP%]{gap:.375rem!important}[_nghost-%COMP%] .mt-4[_ngcontent-%COMP%]{margin-top:.5rem!important}[_nghost-%COMP%] .mb-4[_ngcontent-%COMP%]{margin-bottom:.5rem!important}[_nghost-%COMP%] .ms-4[_ngcontent-%COMP%]{margin-left:.5rem!important}[_nghost-%COMP%] .me-4[_ngcontent-%COMP%]{margin-right:.5rem!important}[_nghost-%COMP%] .mx-4[_ngcontent-%COMP%]{margin-left:.5rem!important;margin-right:.5rem!important}[_nghost-%COMP%] .my-4[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}[_nghost-%COMP%] .m-4[_ngcontent-%COMP%]{margin:.5rem!important}[_nghost-%COMP%] .pt-4[_ngcontent-%COMP%]{padding-top:.5rem!important}[_nghost-%COMP%] .pb-4[_ngcontent-%COMP%]{padding-bottom:.5rem!important}[_nghost-%COMP%] .ps-4[_ngcontent-%COMP%]{padding-left:.5rem!important}[_nghost-%COMP%] .pe-4[_ngcontent-%COMP%]{padding-right:.5rem!important}[_nghost-%COMP%] .px-4[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}[_nghost-%COMP%] .py-4[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}[_nghost-%COMP%] .p-4[_ngcontent-%COMP%]{padding:.5rem!important}[_nghost-%COMP%] .gap-4[_ngcontent-%COMP%]{gap:.5rem!important}[_nghost-%COMP%] .mt-5[_ngcontent-%COMP%]{margin-top:.625rem!important}[_nghost-%COMP%] .mb-5[_ngcontent-%COMP%]{margin-bottom:.625rem!important}[_nghost-%COMP%] .ms-5[_ngcontent-%COMP%]{margin-left:.625rem!important}[_nghost-%COMP%] .me-5[_ngcontent-%COMP%]{margin-right:.625rem!important}[_nghost-%COMP%] .mx-5[_ngcontent-%COMP%]{margin-left:.625rem!important;margin-right:.625rem!important}[_nghost-%COMP%] .my-5[_ngcontent-%COMP%]{margin-top:.625rem!important;margin-bottom:.625rem!important}[_nghost-%COMP%] .m-5[_ngcontent-%COMP%]{margin:.625rem!important}[_nghost-%COMP%] .pt-5[_ngcontent-%COMP%]{padding-top:.625rem!important}[_nghost-%COMP%] .pb-5[_ngcontent-%COMP%]{padding-bottom:.625rem!important}[_nghost-%COMP%] .ps-5[_ngcontent-%COMP%]{padding-left:.625rem!important}[_nghost-%COMP%] .pe-5[_ngcontent-%COMP%]{padding-right:.625rem!important}[_nghost-%COMP%] .px-5[_ngcontent-%COMP%]{padding-left:.625rem!important;padding-right:.625rem!important}[_nghost-%COMP%] .py-5[_ngcontent-%COMP%]{padding-top:.625rem!important;padding-bottom:.625rem!important}[_nghost-%COMP%] .p-5[_ngcontent-%COMP%]{padding:.625rem!important}[_nghost-%COMP%] .gap-5[_ngcontent-%COMP%]{gap:.625rem!important}[_nghost-%COMP%] .mt-6[_ngcontent-%COMP%]{margin-top:.75rem!important}[_nghost-%COMP%] .mb-6[_ngcontent-%COMP%]{margin-bottom:.75rem!important}[_nghost-%COMP%] .ms-6[_ngcontent-%COMP%]{margin-left:.75rem!important}[_nghost-%COMP%] .me-6[_ngcontent-%COMP%]{margin-right:.75rem!important}[_nghost-%COMP%] .mx-6[_ngcontent-%COMP%]{margin-left:.75rem!important;margin-right:.75rem!important}[_nghost-%COMP%] .my-6[_ngcontent-%COMP%]{margin-top:.75rem!important;margin-bottom:.75rem!important}[_nghost-%COMP%] .m-6[_ngcontent-%COMP%]{margin:.75rem!important}[_nghost-%COMP%] .pt-6[_ngcontent-%COMP%]{padding-top:.75rem!important}[_nghost-%COMP%] .pb-6[_ngcontent-%COMP%]{padding-bottom:.75rem!important}[_nghost-%COMP%] .ps-6[_ngcontent-%COMP%]{padding-left:.75rem!important}[_nghost-%COMP%] .pe-6[_ngcontent-%COMP%]{padding-right:.75rem!important}[_nghost-%COMP%] .px-6[_ngcontent-%COMP%]{padding-left:.75rem!important;padding-right:.75rem!important}[_nghost-%COMP%] .py-6[_ngcontent-%COMP%]{padding-top:.75rem!important;padding-bottom:.75rem!important}[_nghost-%COMP%] .p-6[_ngcontent-%COMP%]{padding:.75rem!important}[_nghost-%COMP%] .gap-6[_ngcontent-%COMP%]{gap:.75rem!important}[_nghost-%COMP%] .mt-7[_ngcontent-%COMP%]{margin-top:.875rem!important}[_nghost-%COMP%] .mb-7[_ngcontent-%COMP%]{margin-bottom:.875rem!important}[_nghost-%COMP%] .ms-7[_ngcontent-%COMP%]{margin-left:.875rem!important}[_nghost-%COMP%] .me-7[_ngcontent-%COMP%]{margin-right:.875rem!important}[_nghost-%COMP%] .mx-7[_ngcontent-%COMP%]{margin-left:.875rem!important;margin-right:.875rem!important}[_nghost-%COMP%] .my-7[_ngcontent-%COMP%]{margin-top:.875rem!important;margin-bottom:.875rem!important}[_nghost-%COMP%] .m-7[_ngcontent-%COMP%]{margin:.875rem!important}[_nghost-%COMP%] .pt-7[_ngcontent-%COMP%]{padding-top:.875rem!important}[_nghost-%COMP%] .pb-7[_ngcontent-%COMP%]{padding-bottom:.875rem!important}[_nghost-%COMP%] .ps-7[_ngcontent-%COMP%]{padding-left:.875rem!important}[_nghost-%COMP%] .pe-7[_ngcontent-%COMP%]{padding-right:.875rem!important}[_nghost-%COMP%] .px-7[_ngcontent-%COMP%]{padding-left:.875rem!important;padding-right:.875rem!important}[_nghost-%COMP%] .py-7[_ngcontent-%COMP%]{padding-top:.875rem!important;padding-bottom:.875rem!important}[_nghost-%COMP%] .p-7[_ngcontent-%COMP%]{padding:.875rem!important}[_nghost-%COMP%] .gap-7[_ngcontent-%COMP%]{gap:.875rem!important}[_nghost-%COMP%] .mt-8[_ngcontent-%COMP%]{margin-top:1rem!important}[_nghost-%COMP%] .mb-8[_ngcontent-%COMP%]{margin-bottom:1rem!important}[_nghost-%COMP%] .ms-8[_ngcontent-%COMP%]{margin-left:1rem!important}[_nghost-%COMP%] .me-8[_ngcontent-%COMP%]{margin-right:1rem!important}[_nghost-%COMP%] .mx-8[_ngcontent-%COMP%]{margin-left:1rem!important;margin-right:1rem!important}[_nghost-%COMP%] .my-8[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}[_nghost-%COMP%] .m-8[_ngcontent-%COMP%]{margin:1rem!important}[_nghost-%COMP%] .pt-8[_ngcontent-%COMP%]{padding-top:1rem!important}[_nghost-%COMP%] .pb-8[_ngcontent-%COMP%]{padding-bottom:1rem!important}[_nghost-%COMP%] .ps-8[_ngcontent-%COMP%]{padding-left:1rem!important}[_nghost-%COMP%] .pe-8[_ngcontent-%COMP%]{padding-right:1rem!important}[_nghost-%COMP%] .px-8[_ngcontent-%COMP%]{padding-left:1rem!important;padding-right:1rem!important}[_nghost-%COMP%] .py-8[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}[_nghost-%COMP%] .p-8[_ngcontent-%COMP%]{padding:1rem!important}[_nghost-%COMP%] .gap-8[_ngcontent-%COMP%]{gap:1rem!important}[_nghost-%COMP%] .mt-9[_ngcontent-%COMP%]{margin-top:1.125rem!important}[_nghost-%COMP%] .mb-9[_ngcontent-%COMP%]{margin-bottom:1.125rem!important}[_nghost-%COMP%] .ms-9[_ngcontent-%COMP%]{margin-left:1.125rem!important}[_nghost-%COMP%] .me-9[_ngcontent-%COMP%]{margin-right:1.125rem!important}[_nghost-%COMP%] .mx-9[_ngcontent-%COMP%]{margin-left:1.125rem!important;margin-right:1.125rem!important}[_nghost-%COMP%] .my-9[_ngcontent-%COMP%]{margin-top:1.125rem!important;margin-bottom:1.125rem!important}[_nghost-%COMP%] .m-9[_ngcontent-%COMP%]{margin:1.125rem!important}[_nghost-%COMP%] .pt-9[_ngcontent-%COMP%]{padding-top:1.125rem!important}[_nghost-%COMP%] .pb-9[_ngcontent-%COMP%]{padding-bottom:1.125rem!important}[_nghost-%COMP%] .ps-9[_ngcontent-%COMP%]{padding-left:1.125rem!important}[_nghost-%COMP%] .pe-9[_ngcontent-%COMP%]{padding-right:1.125rem!important}[_nghost-%COMP%] .px-9[_ngcontent-%COMP%]{padding-left:1.125rem!important;padding-right:1.125rem!important}[_nghost-%COMP%] .py-9[_ngcontent-%COMP%]{padding-top:1.125rem!important;padding-bottom:1.125rem!important}[_nghost-%COMP%] .p-9[_ngcontent-%COMP%]{padding:1.125rem!important}[_nghost-%COMP%] .gap-9[_ngcontent-%COMP%]{gap:1.125rem!important}[_nghost-%COMP%] .mt-10[_ngcontent-%COMP%]{margin-top:1.25rem!important}[_nghost-%COMP%] .mb-10[_ngcontent-%COMP%]{margin-bottom:1.25rem!important}[_nghost-%COMP%] .ms-10[_ngcontent-%COMP%]{margin-left:1.25rem!important}[_nghost-%COMP%] .me-10[_ngcontent-%COMP%]{margin-right:1.25rem!important}[_nghost-%COMP%] .mx-10[_ngcontent-%COMP%]{margin-left:1.25rem!important;margin-right:1.25rem!important}[_nghost-%COMP%] .my-10[_ngcontent-%COMP%]{margin-top:1.25rem!important;margin-bottom:1.25rem!important}[_nghost-%COMP%] .m-10[_ngcontent-%COMP%]{margin:1.25rem!important}[_nghost-%COMP%] .pt-10[_ngcontent-%COMP%]{padding-top:1.25rem!important}[_nghost-%COMP%] .pb-10[_ngcontent-%COMP%]{padding-bottom:1.25rem!important}[_nghost-%COMP%] .ps-10[_ngcontent-%COMP%]{padding-left:1.25rem!important}[_nghost-%COMP%] .pe-10[_ngcontent-%COMP%]{padding-right:1.25rem!important}[_nghost-%COMP%] .px-10[_ngcontent-%COMP%]{padding-left:1.25rem!important;padding-right:1.25rem!important}[_nghost-%COMP%] .py-10[_ngcontent-%COMP%]{padding-top:1.25rem!important;padding-bottom:1.25rem!important}[_nghost-%COMP%] .p-10[_ngcontent-%COMP%]{padding:1.25rem!important}[_nghost-%COMP%] .gap-10[_ngcontent-%COMP%]{gap:1.25rem!important}[_nghost-%COMP%] .mt-11[_ngcontent-%COMP%]{margin-top:1.375rem!important}[_nghost-%COMP%] .mb-11[_ngcontent-%COMP%]{margin-bottom:1.375rem!important}[_nghost-%COMP%] .ms-11[_ngcontent-%COMP%]{margin-left:1.375rem!important}[_nghost-%COMP%] .me-11[_ngcontent-%COMP%]{margin-right:1.375rem!important}[_nghost-%COMP%] .mx-11[_ngcontent-%COMP%]{margin-left:1.375rem!important;margin-right:1.375rem!important}[_nghost-%COMP%] .my-11[_ngcontent-%COMP%]{margin-top:1.375rem!important;margin-bottom:1.375rem!important}[_nghost-%COMP%] .m-11[_ngcontent-%COMP%]{margin:1.375rem!important}[_nghost-%COMP%] .pt-11[_ngcontent-%COMP%]{padding-top:1.375rem!important}[_nghost-%COMP%] .pb-11[_ngcontent-%COMP%]{padding-bottom:1.375rem!important}[_nghost-%COMP%] .ps-11[_ngcontent-%COMP%]{padding-left:1.375rem!important}[_nghost-%COMP%] .pe-11[_ngcontent-%COMP%]{padding-right:1.375rem!important}[_nghost-%COMP%] .px-11[_ngcontent-%COMP%]{padding-left:1.375rem!important;padding-right:1.375rem!important}[_nghost-%COMP%] .py-11[_ngcontent-%COMP%]{padding-top:1.375rem!important;padding-bottom:1.375rem!important}[_nghost-%COMP%] .p-11[_ngcontent-%COMP%]{padding:1.375rem!important}[_nghost-%COMP%] .gap-11[_ngcontent-%COMP%]{gap:1.375rem!important}[_nghost-%COMP%] .mt-12[_ngcontent-%COMP%]{margin-top:1.5rem!important}[_nghost-%COMP%] .mb-12[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}[_nghost-%COMP%] .ms-12[_ngcontent-%COMP%]{margin-left:1.5rem!important}[_nghost-%COMP%] .me-12[_ngcontent-%COMP%]{margin-right:1.5rem!important}[_nghost-%COMP%] .mx-12[_ngcontent-%COMP%]{margin-left:1.5rem!important;margin-right:1.5rem!important}[_nghost-%COMP%] .my-12[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}[_nghost-%COMP%] .m-12[_ngcontent-%COMP%]{margin:1.5rem!important}[_nghost-%COMP%] .pt-12[_ngcontent-%COMP%]{padding-top:1.5rem!important}[_nghost-%COMP%] .pb-12[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}[_nghost-%COMP%] .ps-12[_ngcontent-%COMP%]{padding-left:1.5rem!important}[_nghost-%COMP%] .pe-12[_ngcontent-%COMP%]{padding-right:1.5rem!important}[_nghost-%COMP%] .px-12[_ngcontent-%COMP%]{padding-left:1.5rem!important;padding-right:1.5rem!important}[_nghost-%COMP%] .py-12[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}[_nghost-%COMP%] .p-12[_ngcontent-%COMP%]{padding:1.5rem!important}[_nghost-%COMP%] .gap-12[_ngcontent-%COMP%]{gap:1.5rem!important}[_nghost-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .h1[_ngcontent-%COMP%]{font-size:1.375rem;font-weight:500!important}[_nghost-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .h2[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:500!important}[_nghost-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .h3[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:500!important}[_nghost-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:500!important}[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .h5[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500!important}[_nghost-%COMP%] h6[_ngcontent-%COMP%], [_nghost-%COMP%] .h6[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500!important}[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px;min-height:370px}@media (max-width: 768px){[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{margin-top:30px}}[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{box-shadow:none;border-color:#dfe5ef!important}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid var(--login-primary-color);border-right:1px solid var(--login-primary-color);border-top:1px solid var(--login-primary-color);border-radius:0 10px 10px 0}}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:15px!important}@media (max-width: 768px){[_nghost-%COMP%] .features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){[_nghost-%COMP%] .features-pane[_ngcontent-%COMP%]{border-left:1px solid var(--login-primary-color);border-bottom:1px solid var(--login-primary-color);border-top:1px solid var(--login-primary-color);border-radius:10px 0 0 10px}}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%]{position:fixed;bottom:1.25rem;left:1.25rem;margin-left:20px}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}[_nghost-%COMP%] .version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:fixed;margin-right:18px}@media (max-width: 768px){[_nghost-%COMP%] .copyright[_ngcontent-%COMP%], [_nghost-%COMP%] .version[_ngcontent-%COMP%]{position:static;margin-top:10px}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%] div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}[_nghost-%COMP%] button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}[_nghost-%COMP%] .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}[_nghost-%COMP%] .fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}[_nghost-%COMP%] .domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}[_nghost-%COMP%] .btn-theme[_ngcontent-%COMP%]{background-color:var(--login-primary-color)!important;color:#fff!important;font-size:14px;height:36.6px;border-radius:7px}[_nghost-%COMP%] .text-theme[_ngcontent-%COMP%]{color:var(--login-primary-color)!important}[_nghost-%COMP%] .input-icon[_ngcontent-%COMP%]{font-size:15px}"]})}}return i})();var em=(()=>{class i{constructor(){this.authService=ae(un),this.router=ae(an),this.httpService=ae(cn),this.appVersion=Ti.version,this.changelogUrl=Ti.changelogUrl,this.route=ae(rn),this.roleService=ae(Xn),this.subdomain=Ee(""),this.domain=Ee(""),this.username=Ee("")}ngOnInit(){this.initNews()}ngAfterViewInit(){this.subdomain.set(localStorage.getItem("AUTH_SUB_DOMAIN")||""),this.username.set(localStorage.getItem("AUTH_USERNAME")||""),this.domain.set(localStorage.getItem("AUTH_DOMAIN")||".dealpos.co.id")}initNews(){let t=new nn().set("fetch","children:books").set("sort","sortOrder:asc");this.news$=this.httpService.get("https://changelog.dealpos.app/","umbraco/delivery/api/v2/content",{params:t}).pipe(wi(n=>n.items.map(r=>r.properties)),Xi(1))}onLogin(t){let n={SubDomain:t.subdomain+t.domain,Username:t.username,Password:t.password};Gi([this.authService.login(n),this.route.queryParams.pipe(wi(s=>s.returnUrl||"/"))]).subscribe(s=>{let r=s[1];if(r=="/"){if(this.roleService.report.view){if(!this.roleService.coa.view){this.router.navigate(["/pages/journal/journal-entry"]);return}}else{this.router.navigate(["/pages/chart-of-account/account"]);return}this.router.navigate(["/pages/dashboard"])}else this.router.navigate([r])})}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-login"]],decls:2,vars:8,consts:[["colorTheme","#0a8754","title","DealPOS Accounting","subtitle","Streamline Your Accounting with Ease",3,"onLoginChange","news","subdomain","domain","username","version","changelogUrl"]],template:function(n,s){n&1&&(G(0,"app-login-ui",0),Dt(1,"async"),ie("onLoginChange",function(a){return s.onLogin(a)}),N()),n&2&&$("news",$t(1,6,s.news$))("subdomain",s.subdomain())("domain",s.domain())("username",s.username())("version",s.appVersion)("changelogUrl",s.changelogUrl)},dependencies:[we,tn,Ht,Mn,qn,xn,ni,Bn,Qn,Zn,oi,ss,Wn,jn,Gn,os,nr],encapsulation:2})}}return i})();export{em as LoginComponent};
|
|
328
|
+
`),this.shadowRoot.appendChild(t),this.rendered=!0}initialize(){var e=this;if(this.swiper&&this.swiper.initialized)return;let{params:t,passedParams:n}=Bi(this);this.swiperParams=t,this.passedParams=n,delete this.swiperParams.init,this.render(),this.swiper=new st(this.shadowRoot.querySelector(".swiper"),It(me(me({},t.virtual?{}:{observer:!0}),t),{touchEventsTarget:"container",onAny:function(s){s==="observerUpdate"&&e.calcSlideSlots();let r=t.eventsPrefix?`${t.eventsPrefix}${s.toLowerCase()}`:s.toLowerCase();for(var a=arguments.length,d=new Array(a>1?a-1:0),u=1;u<a;u++)d[u-1]=arguments[u];let c=new CustomEvent(r,{detail:d,bubbles:s!=="hashChange",cancelable:!0});e.dispatchEvent(c)}}))}connectedCallback(){this.swiper&&this.swiper.initialized&&this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.init===!1||this.getAttribute("init")==="false"||this.initialize()}disconnectedCallback(){this.nested&&this.closest("swiper-slide")&&this.closest("swiper-slide").swiperLoopMoveDOM||this.swiper&&this.swiper.destroy&&this.swiper.destroy()}updateSwiperOnPropChange(e,t){let{params:n,passedParams:s}=Bi(this,e,t);this.passedParams=s,this.swiperParams=n,!(this.swiper&&this.swiper.params[e]===t)&&Us(me(me(me({swiper:this.swiper,passedParams:this.passedParams,changedParams:[Tt(e)]},e==="navigation"&&s[e]?{prevEl:".swiper-button-prev",nextEl:".swiper-button-next"}:{}),e==="pagination"&&s[e]?{paginationEl:".swiper-pagination"}:{}),e==="scrollbar"&&s[e]?{scrollbarEl:".swiper-scrollbar"}:{}))}attributeChangedCallback(e,t,n){this.swiper&&this.swiper.initialized&&(t==="true"&&n===null&&(n=!1),this.updateSwiperOnPropChange(e,n))}static get observedAttributes(){return St.filter(t=>t.includes("_")).map(t=>t.replace(/[A-Z]/g,n=>`-${n}`).replace("_","").toLowerCase())}};St.forEach(i=>{i!=="init"&&(i=i.replace("_",""),Object.defineProperty(ui.prototype,i,{configurable:!0,get(){return(this.passedParams||{})[i]},set(e){this.passedParams||(this.passedParams={}),this.passedParams[i]=e,this.swiper&&this.swiper.initialized&&this.updateSwiperOnPropChange(i,e)}}))});var Hi=class extends Js{constructor(){super(),this.attachShadow({mode:"open"})}render(){let e=this.lazy||this.getAttribute("lazy")===""||this.getAttribute("lazy")==="true";if(er(this.shadowRoot,bl),this.shadowRoot.appendChild(document.createElement("slot")),e){let t=document.createElement("div");t.classList.add("swiper-lazy-preloader"),t.part.add("preloader"),this.shadowRoot.appendChild(t)}}initialize(){this.render()}connectedCallback(){this.swiperLoopMoveDOM||this.initialize()}},tr=()=>{typeof window>"u"||(window.customElements.get("swiper-container")||window.customElements.define("swiper-container",ui),window.customElements.get("swiper-slide")||window.customElements.define("swiper-slide",Hi))};typeof window<"u"&&(window.SwiperElementRegisterParams=i=>{St.push(...i)});function yl(i,e){if(i&1&&(G(0,"swiper-slide")(1,"div")(2,"a",1),te(3,"img",2),N()(),G(4,"a",3),le(5),N(),G(6,"p",4),le(7),N()()),i&2){let t=e.$implicit;R(2),$("href",t.href,qe),R(),$("src",t.imgSrc,qe),R(),$("href",t.href,qe),R(),Fe(t.title),R(2),Fe(t.description)}}tr();var ir=(()=>{class i{constructor(){this.elementRef=ae(wt),this.newsList=xe([]),this.colorTheme=xe()}ngOnInit(){this.applyThemeColors()}applyThemeColors(){this.elementRef.nativeElement.style.setProperty("--swiper-primary-color",this.colorTheme())}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-news-swiper"]],inputs:{newsList:[1,"newsList"],colorTheme:[1,"colorTheme"]},decls:3,vars:0,consts:[["pagination","true","pagination-clickable","true","autoplay-delay","5000","autoplay-disable-on-interaction","false"],["target","_blank",3,"href"],[1,"border-0","rounded-1","swiper-image",3,"src"],["target","_blank",1,"h5","swiper-text",3,"href"],[1,"mb-0"]],template:function(n,s){n&1&&(G(0,"swiper-container",0),Jt(1,yl,8,5,"swiper-slide",null,Zt),N()),n&2&&(R(),ei(s.newsList()))},dependencies:[we],styles:["[_nghost-%COMP%]{--swiper-primary-color: #89b03e}[_nghost-%COMP%] swiper-container[_ngcontent-%COMP%]{--swiper-pagination-bullet-inactive-color: var(--swiper-primary-color);--swiper-pagination-color: var(--swiper-primary-color);--swiper-pagination-bottom: 0px;margin-top:30px;height:265px}[_nghost-%COMP%] img.swiper-image[_ngcontent-%COMP%]{width:252px;height:152px;margin-bottom:16px}[_nghost-%COMP%] .swiper-text[_ngcontent-%COMP%]{color:var(--swiper-primary-color);font-weight:700}[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .h5[_ngcontent-%COMP%]{font-size:.875rem!important}"]})}}return i})();var _l=(i,e)=>({"fa-eye":i,"fa-eye-slash":e});function Cl(i,e){if(i&1&&(G(0,"option",25),le(1),N()),i&2){let t=e.$implicit;$("value",t),R(),Fe(t)}}function xl(i,e){if(i&1){let t=ve();G(0,"div",15)(1,"h2",16),le(2),N(),G(3,"small",17),le(4),N()(),G(5,"form",18)(6,"div",19)(7,"div",20)(8,"div",21)(9,"span"),te(10,"i",22),N()(),G(11,"input",23,0),At("ngModelChange",function(s){U(t);let r=H();return zt(r.subdomain,s)||(r.subdomain=s),Q(s)}),N(),G(13,"div")(14,"select",24),At("ngModelChange",function(s){U(t);let r=H();return zt(r.domain,s)||(r.domain=s),Q(s)}),Jt(15,Cl,2,2,"option",25,Zt),N()()(),G(17,"div",26)(18,"button",27),ie("click",function(){U(t);let s=H();return Q(s.onNextState())}),le(19," Next "),N()()()()}if(i&2){let t=H();R(2),Fe(t.title()),R(2),yi(" ",t.subtitle()," "),R(7),kt("ngModel",t.subdomain),R(3),kt("ngModel",t.domain),R(),ei(t.domains())}}function Ml(i,e){i&1&&(G(0,"span",30),le(1,"to"),N())}function Sl(i,e){if(i&1){let t=ve();G(0,"h6",31)(1,"div",42),le(2),N(),G(3,"i",43),ie("click",function(){U(t);let s=H(2);return Q(s.onEditDomain())}),N()()}if(i&2){let t=H(2);R(2),Zi("(",t.subdomain(),"",t.domain(),")")}}function Tl(i,e){if(i&1){let t=ve();G(0,"div",28)(1,"h3",29)(2,"span"),le(3,"Sign in"),N(),X(4,Ml,2,0,"span",30),N(),X(5,Sl,4,2,"h6",31),N(),G(6,"form",32)(7,"div",20)(8,"div",21)(9,"span"),te(10,"i",33),N()(),G(11,"input",34,1),At("ngModelChange",function(s){U(t);let r=H();return zt(r.username,s)||(r.username=s),Q(s)}),N()(),G(13,"div",35)(14,"div",21)(15,"span"),te(16,"i",36),N()(),G(17,"input",37,2),At("ngModelChange",function(s){U(t);let r=H();return zt(r.password,s)||(r.password=s),Q(s)}),N(),G(19,"span",38)(20,"i",39),ie("click",function(){U(t);let s=H();return Q(s.onHidePassowrd())}),N()()(),G(21,"div",40)(22,"button",41),ie("click",function(){U(t);let s=H();return Q(s.onLogin())}),le(23," Log in "),N()()()}if(i&2){let t=H();R(4),Kt(t.hasSubdomainInput()?4:-1),R(),Kt(t.hasSubdomainInput()?5:-1),R(6),kt("ngModel",t.username),R(6),$("type",t.passwordVisible()?"text":"password"),kt("ngModel",t.password),R(3),$("ngClass",Be(6,_l,t.passwordVisible()===!1,t.passwordVisible()))}}var nr=(()=>{class i{constructor(){this.elementRef=ae(wt),this.toastr=ae(pn),this.changelogUrl=xe(),this.version=xe(),this.domains=xe([".dealpos.co.id",".dealpos.net",".dealpos.com",".dealpos.app"]),this.news=xe([]),this.colorTheme=xe("#1a73e8"),this.subtitle=xe("Your Subtitle Here"),this.title=xe("Your title here"),this.loginChange=qi({alias:"onLoginChange"}),this.hasSubdomainInput=xe(!0),this.loginState=Ee("FORM_DOMAIN"),this.subdomain=Ut(null),this.domain=Ut(".dealpos.app"),this.username=Ut(null),this.password=Ee(null),this.passwordVisible=Ee(!1)}ngOnInit(){document.body.classList.add("login-body"),this.applyThemeColors(),this.initLoginState()}initLoginState(){this.hasSubdomainInput()?this.loginState.set("FORM_DOMAIN"):this.loginState.set("FORM_LOGIN")}onNextState(){if(!this.subdomain()){this.toastr.error("Subdomain is required","Warning");return}this.loginState.set("FORM_LOGIN")}onEditDomain(){this.loginState.set("FORM_DOMAIN")}onHidePassowrd(){this.passwordVisible.set(!this.passwordVisible())}onLogin(){let t=this.subdomain()?.trim(),n={username:this.username(),password:this.password()};this.hasSubdomainInput()&&(n=me({domain:this.domain(),subdomain:t},n)),this.loginChange.emit(n)}applyThemeColors(){this.elementRef.nativeElement.style.setProperty("--login-primary-color",this.colorTheme())}ngOnDestroy(){document.body.classList.remove("login-body")}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-login-ui"]],inputs:{changelogUrl:[1,"changelogUrl"],version:[1,"version"],domains:[1,"domains"],news:[1,"news"],colorTheme:[1,"colorTheme"],subtitle:[1,"subtitle"],title:[1,"title"],hasSubdomainInput:[1,"hasSubdomainInput"],subdomain:[1,"subdomain"],domain:[1,"domain"],username:[1,"username"]},outputs:{loginChange:"onLoginChange",subdomain:"subdomainChange",domain:"domainChange",username:"usernameChange"},decls:17,vars:5,consts:[["subdomainEl",""],["usernameCtrl","ngModel"],["passwordCtrl","ngModel"],[1,"container-fluid"],[1,"row","mx-auto","bg-white","login-pane"],[1,"col-md-5","order-md-first","order-last","border-end","features-pane","pt-12","pb-9"],[1,"text-center"],[3,"colorTheme","newsList"],[1,"col-md-7","order-md-last","order-first","py-12","sign-in-pane"],[1,"d-flex","copyright"],[1,"align-self-center","me-5"],["target","_blank","href","http://www.dealpos.com"],[1,"version"],["target","_blank",1,"text-dark","fst-italic",3,"href"],[1,"fa-solid","fa-circle-exclamation","ms-2",2,"font-size","16px"],[1,"text-md-start","text-center"],[1,"me-2","mb-0"],[1,"text-secondary-emphasis","fst-italic","opacity-75",2,"font-size","11px"],[2,"margin-top","50px"],[1,"form-block"],[1,"input-group","input-group-lg"],[1,"input-group-text","border-end-0","bg-white",2,"width","52px","border-bottom-left-radius","8px","border-top-left-radius","8px"],[1,"fa-solid","fa-cloud","text-dark","input-icon"],["placeholder","Store Address","aria-label","Store Address","aria-describedby","basic-addon1","autofocus","","name","Store Address",1,"form-control","form-control-lg","rounded-end-0","border-start-0","ps-1","fs-4","text-dark",2,"height","58px",3,"ngModelChange","ngModel"],["name","domainOption",1,"form-select","form-control","form-control-lg","border-start-0","rounded-start-0","domain-option",2,"height","58px","border-bottom-right-radius","8px","border-top-right-radius","8px",3,"ngModelChange","ngModel"],[3,"value"],[1,"w-100",2,"margin-top","1.8rem"],["name","next","data-cy","next","type","submit",1,"btn","btn-xl","btn-theme","btn-block","w-100",2,"height","44.6px","border-radius","7px",3,"click"],[1,"d-flex","align-items-center","justify-content-start","mb-2"],[1,"fw-normal","mb-0","me-2"],[1,"ms-2"],[1,"fw-normal","mb-0","d-flex","align-items-center"],[2,"margin-top","46px"],[1,"fas","fa-user","fa-lg","text-dark","input-icon"],["id","txtUsername","type","text","data-cy","username","required","","placeholder","Username","aria-label","Username","aria-describedby","basic-addon1","autofocus","","name","username","autocomplete","off",1,"form-control","form-control-lg","rounded-end","border-start-0","ps-1","text-dark",2,"height","58px",3,"ngModelChange","ngModel"],[1,"input-group","input-group-lg",2,"margin-top","16px"],[1,"fas","fa-key","fa-lg","input-icon","text-dark"],["id","txtPassword","data-cy","password","placeholder","Password","aria-label","Password","autofocus","","name","password","autocomplete","off",1,"form-control","form-control-lg","rounded-end","border-start-0","border-end-0","ps-1","text-dark",2,"height","58px",3,"ngModelChange","type","ngModel"],[1,"input-group-text","border-start-0","rounded-end","bg-white"],[1,"input-icon","fa",3,"click","ngClass"],[1,"w-100",2,"margin-top","16px"],["data-cy","login","type","submit",1,"btn","btn-lg","btn-theme","btn-block","w-100",3,"click"],[1,"text-theme","me-2"],["title","Edit Store Address",1,"fa-solid","fa-edit","text-theme","pointer",2,"font-size","0.875rem",3,"click"]],template:function(n,s){n&1&&(G(0,"div",3)(1,"div",4)(2,"div",5)(3,"h2",6),le(4,"New Features"),N(),te(5,"app-news-swiper",7),N(),G(6,"div",8),X(7,xl,20,4)(8,Tl,24,9),N()(),G(9,"div",9)(10,"span",10),le(11,"powered by :"),N(),te(12,"a",11),N(),G(13,"div",12)(14,"a",13),le(15),te(16,"i",14),N()()()),n&2&&(R(5),$("colorTheme",s.colorTheme())("newsList",s.news()),R(2),Kt(s.loginState()=="FORM_DOMAIN"?7:8),R(7),$("href",s.changelogUrl(),qe),R(),yi("version ",s.version(),""))},dependencies:[we,ct,ni,wn,yn,_n,mn,bn,fn,gn,Cn,vn,hn,ir],styles:["[_nghost-%COMP%]{--login-primary-color: red}[_nghost-%COMP%] .mt-0[_ngcontent-%COMP%]{margin-top:0!important}[_nghost-%COMP%] .mb-0[_ngcontent-%COMP%]{margin-bottom:0!important}[_nghost-%COMP%] .ms-0[_ngcontent-%COMP%]{margin-left:0!important}[_nghost-%COMP%] .me-0[_ngcontent-%COMP%]{margin-right:0!important}[_nghost-%COMP%] .mx-0[_ngcontent-%COMP%]{margin-left:0!important;margin-right:0!important}[_nghost-%COMP%] .my-0[_ngcontent-%COMP%]{margin-top:0!important;margin-bottom:0!important}[_nghost-%COMP%] .m-0[_ngcontent-%COMP%]{margin:0!important}[_nghost-%COMP%] .pt-0[_ngcontent-%COMP%]{padding-top:0!important}[_nghost-%COMP%] .pb-0[_ngcontent-%COMP%]{padding-bottom:0!important}[_nghost-%COMP%] .ps-0[_ngcontent-%COMP%]{padding-left:0!important}[_nghost-%COMP%] .pe-0[_ngcontent-%COMP%]{padding-right:0!important}[_nghost-%COMP%] .px-0[_ngcontent-%COMP%]{padding-left:0!important;padding-right:0!important}[_nghost-%COMP%] .py-0[_ngcontent-%COMP%]{padding-top:0!important;padding-bottom:0!important}[_nghost-%COMP%] .p-0[_ngcontent-%COMP%]{padding:0!important}[_nghost-%COMP%] .gap-0[_ngcontent-%COMP%]{gap:0!important}[_nghost-%COMP%] .mt-1[_ngcontent-%COMP%]{margin-top:.125rem!important}[_nghost-%COMP%] .mb-1[_ngcontent-%COMP%]{margin-bottom:.125rem!important}[_nghost-%COMP%] .ms-1[_ngcontent-%COMP%]{margin-left:.125rem!important}[_nghost-%COMP%] .me-1[_ngcontent-%COMP%]{margin-right:.125rem!important}[_nghost-%COMP%] .mx-1[_ngcontent-%COMP%]{margin-left:.125rem!important;margin-right:.125rem!important}[_nghost-%COMP%] .my-1[_ngcontent-%COMP%]{margin-top:.125rem!important;margin-bottom:.125rem!important}[_nghost-%COMP%] .m-1[_ngcontent-%COMP%]{margin:.125rem!important}[_nghost-%COMP%] .pt-1[_ngcontent-%COMP%]{padding-top:.125rem!important}[_nghost-%COMP%] .pb-1[_ngcontent-%COMP%]{padding-bottom:.125rem!important}[_nghost-%COMP%] .ps-1[_ngcontent-%COMP%]{padding-left:.125rem!important}[_nghost-%COMP%] .pe-1[_ngcontent-%COMP%]{padding-right:.125rem!important}[_nghost-%COMP%] .px-1[_ngcontent-%COMP%]{padding-left:.125rem!important;padding-right:.125rem!important}[_nghost-%COMP%] .py-1[_ngcontent-%COMP%]{padding-top:.125rem!important;padding-bottom:.125rem!important}[_nghost-%COMP%] .p-1[_ngcontent-%COMP%]{padding:.125rem!important}[_nghost-%COMP%] .gap-1[_ngcontent-%COMP%]{gap:.125rem!important}[_nghost-%COMP%] .mt-2[_ngcontent-%COMP%]{margin-top:.25rem!important}[_nghost-%COMP%] .mb-2[_ngcontent-%COMP%]{margin-bottom:.25rem!important}[_nghost-%COMP%] .ms-2[_ngcontent-%COMP%]{margin-left:.25rem!important}[_nghost-%COMP%] .me-2[_ngcontent-%COMP%]{margin-right:.25rem!important}[_nghost-%COMP%] .mx-2[_ngcontent-%COMP%]{margin-left:.25rem!important;margin-right:.25rem!important}[_nghost-%COMP%] .my-2[_ngcontent-%COMP%]{margin-top:.25rem!important;margin-bottom:.25rem!important}[_nghost-%COMP%] .m-2[_ngcontent-%COMP%]{margin:.25rem!important}[_nghost-%COMP%] .pt-2[_ngcontent-%COMP%]{padding-top:.25rem!important}[_nghost-%COMP%] .pb-2[_ngcontent-%COMP%]{padding-bottom:.25rem!important}[_nghost-%COMP%] .ps-2[_ngcontent-%COMP%]{padding-left:.25rem!important}[_nghost-%COMP%] .pe-2[_ngcontent-%COMP%]{padding-right:.25rem!important}[_nghost-%COMP%] .px-2[_ngcontent-%COMP%]{padding-left:.25rem!important;padding-right:.25rem!important}[_nghost-%COMP%] .py-2[_ngcontent-%COMP%]{padding-top:.25rem!important;padding-bottom:.25rem!important}[_nghost-%COMP%] .p-2[_ngcontent-%COMP%]{padding:.25rem!important}[_nghost-%COMP%] .gap-2[_ngcontent-%COMP%]{gap:.25rem!important}[_nghost-%COMP%] .mt-3[_ngcontent-%COMP%]{margin-top:.375rem!important}[_nghost-%COMP%] .mb-3[_ngcontent-%COMP%]{margin-bottom:.375rem!important}[_nghost-%COMP%] .ms-3[_ngcontent-%COMP%]{margin-left:.375rem!important}[_nghost-%COMP%] .me-3[_ngcontent-%COMP%]{margin-right:.375rem!important}[_nghost-%COMP%] .mx-3[_ngcontent-%COMP%]{margin-left:.375rem!important;margin-right:.375rem!important}[_nghost-%COMP%] .my-3[_ngcontent-%COMP%]{margin-top:.375rem!important;margin-bottom:.375rem!important}[_nghost-%COMP%] .m-3[_ngcontent-%COMP%]{margin:.375rem!important}[_nghost-%COMP%] .pt-3[_ngcontent-%COMP%]{padding-top:.375rem!important}[_nghost-%COMP%] .pb-3[_ngcontent-%COMP%]{padding-bottom:.375rem!important}[_nghost-%COMP%] .ps-3[_ngcontent-%COMP%]{padding-left:.375rem!important}[_nghost-%COMP%] .pe-3[_ngcontent-%COMP%]{padding-right:.375rem!important}[_nghost-%COMP%] .px-3[_ngcontent-%COMP%]{padding-left:.375rem!important;padding-right:.375rem!important}[_nghost-%COMP%] .py-3[_ngcontent-%COMP%]{padding-top:.375rem!important;padding-bottom:.375rem!important}[_nghost-%COMP%] .p-3[_ngcontent-%COMP%]{padding:.375rem!important}[_nghost-%COMP%] .gap-3[_ngcontent-%COMP%]{gap:.375rem!important}[_nghost-%COMP%] .mt-4[_ngcontent-%COMP%]{margin-top:.5rem!important}[_nghost-%COMP%] .mb-4[_ngcontent-%COMP%]{margin-bottom:.5rem!important}[_nghost-%COMP%] .ms-4[_ngcontent-%COMP%]{margin-left:.5rem!important}[_nghost-%COMP%] .me-4[_ngcontent-%COMP%]{margin-right:.5rem!important}[_nghost-%COMP%] .mx-4[_ngcontent-%COMP%]{margin-left:.5rem!important;margin-right:.5rem!important}[_nghost-%COMP%] .my-4[_ngcontent-%COMP%]{margin-top:.5rem!important;margin-bottom:.5rem!important}[_nghost-%COMP%] .m-4[_ngcontent-%COMP%]{margin:.5rem!important}[_nghost-%COMP%] .pt-4[_ngcontent-%COMP%]{padding-top:.5rem!important}[_nghost-%COMP%] .pb-4[_ngcontent-%COMP%]{padding-bottom:.5rem!important}[_nghost-%COMP%] .ps-4[_ngcontent-%COMP%]{padding-left:.5rem!important}[_nghost-%COMP%] .pe-4[_ngcontent-%COMP%]{padding-right:.5rem!important}[_nghost-%COMP%] .px-4[_ngcontent-%COMP%]{padding-left:.5rem!important;padding-right:.5rem!important}[_nghost-%COMP%] .py-4[_ngcontent-%COMP%]{padding-top:.5rem!important;padding-bottom:.5rem!important}[_nghost-%COMP%] .p-4[_ngcontent-%COMP%]{padding:.5rem!important}[_nghost-%COMP%] .gap-4[_ngcontent-%COMP%]{gap:.5rem!important}[_nghost-%COMP%] .mt-5[_ngcontent-%COMP%]{margin-top:.625rem!important}[_nghost-%COMP%] .mb-5[_ngcontent-%COMP%]{margin-bottom:.625rem!important}[_nghost-%COMP%] .ms-5[_ngcontent-%COMP%]{margin-left:.625rem!important}[_nghost-%COMP%] .me-5[_ngcontent-%COMP%]{margin-right:.625rem!important}[_nghost-%COMP%] .mx-5[_ngcontent-%COMP%]{margin-left:.625rem!important;margin-right:.625rem!important}[_nghost-%COMP%] .my-5[_ngcontent-%COMP%]{margin-top:.625rem!important;margin-bottom:.625rem!important}[_nghost-%COMP%] .m-5[_ngcontent-%COMP%]{margin:.625rem!important}[_nghost-%COMP%] .pt-5[_ngcontent-%COMP%]{padding-top:.625rem!important}[_nghost-%COMP%] .pb-5[_ngcontent-%COMP%]{padding-bottom:.625rem!important}[_nghost-%COMP%] .ps-5[_ngcontent-%COMP%]{padding-left:.625rem!important}[_nghost-%COMP%] .pe-5[_ngcontent-%COMP%]{padding-right:.625rem!important}[_nghost-%COMP%] .px-5[_ngcontent-%COMP%]{padding-left:.625rem!important;padding-right:.625rem!important}[_nghost-%COMP%] .py-5[_ngcontent-%COMP%]{padding-top:.625rem!important;padding-bottom:.625rem!important}[_nghost-%COMP%] .p-5[_ngcontent-%COMP%]{padding:.625rem!important}[_nghost-%COMP%] .gap-5[_ngcontent-%COMP%]{gap:.625rem!important}[_nghost-%COMP%] .mt-6[_ngcontent-%COMP%]{margin-top:.75rem!important}[_nghost-%COMP%] .mb-6[_ngcontent-%COMP%]{margin-bottom:.75rem!important}[_nghost-%COMP%] .ms-6[_ngcontent-%COMP%]{margin-left:.75rem!important}[_nghost-%COMP%] .me-6[_ngcontent-%COMP%]{margin-right:.75rem!important}[_nghost-%COMP%] .mx-6[_ngcontent-%COMP%]{margin-left:.75rem!important;margin-right:.75rem!important}[_nghost-%COMP%] .my-6[_ngcontent-%COMP%]{margin-top:.75rem!important;margin-bottom:.75rem!important}[_nghost-%COMP%] .m-6[_ngcontent-%COMP%]{margin:.75rem!important}[_nghost-%COMP%] .pt-6[_ngcontent-%COMP%]{padding-top:.75rem!important}[_nghost-%COMP%] .pb-6[_ngcontent-%COMP%]{padding-bottom:.75rem!important}[_nghost-%COMP%] .ps-6[_ngcontent-%COMP%]{padding-left:.75rem!important}[_nghost-%COMP%] .pe-6[_ngcontent-%COMP%]{padding-right:.75rem!important}[_nghost-%COMP%] .px-6[_ngcontent-%COMP%]{padding-left:.75rem!important;padding-right:.75rem!important}[_nghost-%COMP%] .py-6[_ngcontent-%COMP%]{padding-top:.75rem!important;padding-bottom:.75rem!important}[_nghost-%COMP%] .p-6[_ngcontent-%COMP%]{padding:.75rem!important}[_nghost-%COMP%] .gap-6[_ngcontent-%COMP%]{gap:.75rem!important}[_nghost-%COMP%] .mt-7[_ngcontent-%COMP%]{margin-top:.875rem!important}[_nghost-%COMP%] .mb-7[_ngcontent-%COMP%]{margin-bottom:.875rem!important}[_nghost-%COMP%] .ms-7[_ngcontent-%COMP%]{margin-left:.875rem!important}[_nghost-%COMP%] .me-7[_ngcontent-%COMP%]{margin-right:.875rem!important}[_nghost-%COMP%] .mx-7[_ngcontent-%COMP%]{margin-left:.875rem!important;margin-right:.875rem!important}[_nghost-%COMP%] .my-7[_ngcontent-%COMP%]{margin-top:.875rem!important;margin-bottom:.875rem!important}[_nghost-%COMP%] .m-7[_ngcontent-%COMP%]{margin:.875rem!important}[_nghost-%COMP%] .pt-7[_ngcontent-%COMP%]{padding-top:.875rem!important}[_nghost-%COMP%] .pb-7[_ngcontent-%COMP%]{padding-bottom:.875rem!important}[_nghost-%COMP%] .ps-7[_ngcontent-%COMP%]{padding-left:.875rem!important}[_nghost-%COMP%] .pe-7[_ngcontent-%COMP%]{padding-right:.875rem!important}[_nghost-%COMP%] .px-7[_ngcontent-%COMP%]{padding-left:.875rem!important;padding-right:.875rem!important}[_nghost-%COMP%] .py-7[_ngcontent-%COMP%]{padding-top:.875rem!important;padding-bottom:.875rem!important}[_nghost-%COMP%] .p-7[_ngcontent-%COMP%]{padding:.875rem!important}[_nghost-%COMP%] .gap-7[_ngcontent-%COMP%]{gap:.875rem!important}[_nghost-%COMP%] .mt-8[_ngcontent-%COMP%]{margin-top:1rem!important}[_nghost-%COMP%] .mb-8[_ngcontent-%COMP%]{margin-bottom:1rem!important}[_nghost-%COMP%] .ms-8[_ngcontent-%COMP%]{margin-left:1rem!important}[_nghost-%COMP%] .me-8[_ngcontent-%COMP%]{margin-right:1rem!important}[_nghost-%COMP%] .mx-8[_ngcontent-%COMP%]{margin-left:1rem!important;margin-right:1rem!important}[_nghost-%COMP%] .my-8[_ngcontent-%COMP%]{margin-top:1rem!important;margin-bottom:1rem!important}[_nghost-%COMP%] .m-8[_ngcontent-%COMP%]{margin:1rem!important}[_nghost-%COMP%] .pt-8[_ngcontent-%COMP%]{padding-top:1rem!important}[_nghost-%COMP%] .pb-8[_ngcontent-%COMP%]{padding-bottom:1rem!important}[_nghost-%COMP%] .ps-8[_ngcontent-%COMP%]{padding-left:1rem!important}[_nghost-%COMP%] .pe-8[_ngcontent-%COMP%]{padding-right:1rem!important}[_nghost-%COMP%] .px-8[_ngcontent-%COMP%]{padding-left:1rem!important;padding-right:1rem!important}[_nghost-%COMP%] .py-8[_ngcontent-%COMP%]{padding-top:1rem!important;padding-bottom:1rem!important}[_nghost-%COMP%] .p-8[_ngcontent-%COMP%]{padding:1rem!important}[_nghost-%COMP%] .gap-8[_ngcontent-%COMP%]{gap:1rem!important}[_nghost-%COMP%] .mt-9[_ngcontent-%COMP%]{margin-top:1.125rem!important}[_nghost-%COMP%] .mb-9[_ngcontent-%COMP%]{margin-bottom:1.125rem!important}[_nghost-%COMP%] .ms-9[_ngcontent-%COMP%]{margin-left:1.125rem!important}[_nghost-%COMP%] .me-9[_ngcontent-%COMP%]{margin-right:1.125rem!important}[_nghost-%COMP%] .mx-9[_ngcontent-%COMP%]{margin-left:1.125rem!important;margin-right:1.125rem!important}[_nghost-%COMP%] .my-9[_ngcontent-%COMP%]{margin-top:1.125rem!important;margin-bottom:1.125rem!important}[_nghost-%COMP%] .m-9[_ngcontent-%COMP%]{margin:1.125rem!important}[_nghost-%COMP%] .pt-9[_ngcontent-%COMP%]{padding-top:1.125rem!important}[_nghost-%COMP%] .pb-9[_ngcontent-%COMP%]{padding-bottom:1.125rem!important}[_nghost-%COMP%] .ps-9[_ngcontent-%COMP%]{padding-left:1.125rem!important}[_nghost-%COMP%] .pe-9[_ngcontent-%COMP%]{padding-right:1.125rem!important}[_nghost-%COMP%] .px-9[_ngcontent-%COMP%]{padding-left:1.125rem!important;padding-right:1.125rem!important}[_nghost-%COMP%] .py-9[_ngcontent-%COMP%]{padding-top:1.125rem!important;padding-bottom:1.125rem!important}[_nghost-%COMP%] .p-9[_ngcontent-%COMP%]{padding:1.125rem!important}[_nghost-%COMP%] .gap-9[_ngcontent-%COMP%]{gap:1.125rem!important}[_nghost-%COMP%] .mt-10[_ngcontent-%COMP%]{margin-top:1.25rem!important}[_nghost-%COMP%] .mb-10[_ngcontent-%COMP%]{margin-bottom:1.25rem!important}[_nghost-%COMP%] .ms-10[_ngcontent-%COMP%]{margin-left:1.25rem!important}[_nghost-%COMP%] .me-10[_ngcontent-%COMP%]{margin-right:1.25rem!important}[_nghost-%COMP%] .mx-10[_ngcontent-%COMP%]{margin-left:1.25rem!important;margin-right:1.25rem!important}[_nghost-%COMP%] .my-10[_ngcontent-%COMP%]{margin-top:1.25rem!important;margin-bottom:1.25rem!important}[_nghost-%COMP%] .m-10[_ngcontent-%COMP%]{margin:1.25rem!important}[_nghost-%COMP%] .pt-10[_ngcontent-%COMP%]{padding-top:1.25rem!important}[_nghost-%COMP%] .pb-10[_ngcontent-%COMP%]{padding-bottom:1.25rem!important}[_nghost-%COMP%] .ps-10[_ngcontent-%COMP%]{padding-left:1.25rem!important}[_nghost-%COMP%] .pe-10[_ngcontent-%COMP%]{padding-right:1.25rem!important}[_nghost-%COMP%] .px-10[_ngcontent-%COMP%]{padding-left:1.25rem!important;padding-right:1.25rem!important}[_nghost-%COMP%] .py-10[_ngcontent-%COMP%]{padding-top:1.25rem!important;padding-bottom:1.25rem!important}[_nghost-%COMP%] .p-10[_ngcontent-%COMP%]{padding:1.25rem!important}[_nghost-%COMP%] .gap-10[_ngcontent-%COMP%]{gap:1.25rem!important}[_nghost-%COMP%] .mt-11[_ngcontent-%COMP%]{margin-top:1.375rem!important}[_nghost-%COMP%] .mb-11[_ngcontent-%COMP%]{margin-bottom:1.375rem!important}[_nghost-%COMP%] .ms-11[_ngcontent-%COMP%]{margin-left:1.375rem!important}[_nghost-%COMP%] .me-11[_ngcontent-%COMP%]{margin-right:1.375rem!important}[_nghost-%COMP%] .mx-11[_ngcontent-%COMP%]{margin-left:1.375rem!important;margin-right:1.375rem!important}[_nghost-%COMP%] .my-11[_ngcontent-%COMP%]{margin-top:1.375rem!important;margin-bottom:1.375rem!important}[_nghost-%COMP%] .m-11[_ngcontent-%COMP%]{margin:1.375rem!important}[_nghost-%COMP%] .pt-11[_ngcontent-%COMP%]{padding-top:1.375rem!important}[_nghost-%COMP%] .pb-11[_ngcontent-%COMP%]{padding-bottom:1.375rem!important}[_nghost-%COMP%] .ps-11[_ngcontent-%COMP%]{padding-left:1.375rem!important}[_nghost-%COMP%] .pe-11[_ngcontent-%COMP%]{padding-right:1.375rem!important}[_nghost-%COMP%] .px-11[_ngcontent-%COMP%]{padding-left:1.375rem!important;padding-right:1.375rem!important}[_nghost-%COMP%] .py-11[_ngcontent-%COMP%]{padding-top:1.375rem!important;padding-bottom:1.375rem!important}[_nghost-%COMP%] .p-11[_ngcontent-%COMP%]{padding:1.375rem!important}[_nghost-%COMP%] .gap-11[_ngcontent-%COMP%]{gap:1.375rem!important}[_nghost-%COMP%] .mt-12[_ngcontent-%COMP%]{margin-top:1.5rem!important}[_nghost-%COMP%] .mb-12[_ngcontent-%COMP%]{margin-bottom:1.5rem!important}[_nghost-%COMP%] .ms-12[_ngcontent-%COMP%]{margin-left:1.5rem!important}[_nghost-%COMP%] .me-12[_ngcontent-%COMP%]{margin-right:1.5rem!important}[_nghost-%COMP%] .mx-12[_ngcontent-%COMP%]{margin-left:1.5rem!important;margin-right:1.5rem!important}[_nghost-%COMP%] .my-12[_ngcontent-%COMP%]{margin-top:1.5rem!important;margin-bottom:1.5rem!important}[_nghost-%COMP%] .m-12[_ngcontent-%COMP%]{margin:1.5rem!important}[_nghost-%COMP%] .pt-12[_ngcontent-%COMP%]{padding-top:1.5rem!important}[_nghost-%COMP%] .pb-12[_ngcontent-%COMP%]{padding-bottom:1.5rem!important}[_nghost-%COMP%] .ps-12[_ngcontent-%COMP%]{padding-left:1.5rem!important}[_nghost-%COMP%] .pe-12[_ngcontent-%COMP%]{padding-right:1.5rem!important}[_nghost-%COMP%] .px-12[_ngcontent-%COMP%]{padding-left:1.5rem!important;padding-right:1.5rem!important}[_nghost-%COMP%] .py-12[_ngcontent-%COMP%]{padding-top:1.5rem!important;padding-bottom:1.5rem!important}[_nghost-%COMP%] .p-12[_ngcontent-%COMP%]{padding:1.5rem!important}[_nghost-%COMP%] .gap-12[_ngcontent-%COMP%]{gap:1.5rem!important}[_nghost-%COMP%] h1[_ngcontent-%COMP%], [_nghost-%COMP%] .h1[_ngcontent-%COMP%]{font-size:1.375rem;font-weight:500!important}[_nghost-%COMP%] h2[_ngcontent-%COMP%], [_nghost-%COMP%] .h2[_ngcontent-%COMP%]{font-size:1.25rem;font-weight:500!important}[_nghost-%COMP%] h3[_ngcontent-%COMP%], [_nghost-%COMP%] .h3[_ngcontent-%COMP%]{font-size:1.125rem;font-weight:500!important}[_nghost-%COMP%] h4[_ngcontent-%COMP%], [_nghost-%COMP%] .h4[_ngcontent-%COMP%]{font-size:1rem;font-weight:500!important}[_nghost-%COMP%] h5[_ngcontent-%COMP%], [_nghost-%COMP%] .h5[_ngcontent-%COMP%]{font-size:.875rem;font-weight:500!important}[_nghost-%COMP%] h6[_ngcontent-%COMP%], [_nghost-%COMP%] .h6[_ngcontent-%COMP%]{font-size:.75rem;font-weight:500!important}[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{max-width:57rem;height:max-content;margin-top:115px;min-height:370px}@media (max-width: 768px){[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{margin-top:0}}@media only screen and (max-width: 1300px) and (min-width: 1024px){[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%]{margin-top:30px}}[_nghost-%COMP%] .login-pane[_ngcontent-%COMP%] .form-control[_ngcontent-%COMP%]:focus{box-shadow:none;border-color:#dfe5ef!important}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{padding:0 3rem 0 3.5rem}@media (max-width: 768px){[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{padding:24px 12px}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{padding-left:8px!important}}@media (min-width: 1200px){[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%]{border-bottom:1px solid var(--login-primary-color);border-right:1px solid var(--login-primary-color);border-top:1px solid var(--login-primary-color);border-radius:0 10px 10px 0}}[_nghost-%COMP%] .sign-in-pane[_ngcontent-%COMP%] input[_ngcontent-%COMP%]{font-size:15px!important}@media (max-width: 768px){[_nghost-%COMP%] .features-pane[_ngcontent-%COMP%]{border-right:0px!important}}@media (min-width: 1200px){[_nghost-%COMP%] .features-pane[_ngcontent-%COMP%]{border-left:1px solid var(--login-primary-color);border-bottom:1px solid var(--login-primary-color);border-top:1px solid var(--login-primary-color);border-radius:10px 0 0 10px}}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%]{position:fixed;bottom:1.25rem;left:1.25rem;margin-left:20px}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%] a[_ngcontent-%COMP%]{width:8.125rem;height:2.5rem;background-image:url(//res.cloudinary.com/pos/image/upload/POS/Images/Login/dealpos.png);background-position:left top;background-repeat:no-repeat;background-size:contain}[_nghost-%COMP%] .version[_ngcontent-%COMP%]{bottom:1.25rem;right:1.25rem;position:fixed;margin-right:18px}@media (max-width: 768px){[_nghost-%COMP%] .copyright[_ngcontent-%COMP%], [_nghost-%COMP%] .version[_ngcontent-%COMP%]{position:static;margin-top:10px}[_nghost-%COMP%] .copyright[_ngcontent-%COMP%]{justify-content:center}}[_nghost-%COMP%] div.divider[_ngcontent-%COMP%] > hr[_ngcontent-%COMP%]{margin-top:1.2rem;margin-bottom:1.2rem;border-top:1px solid rgba(0,0,0,.855);width:20%}[_nghost-%COMP%] button.btn-social-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}[_nghost-%COMP%] .btn-login[_ngcontent-%COMP%]{border:1px solid var(--bs-success)}[_nghost-%COMP%] .fa-google[_ngcontent-%COMP%]{background:conic-gradient(from -45deg,#ea4335 110deg,#4285f4 90deg 180deg,#34a853 180deg 270deg,#fbbc05 270deg) 73% 55%/150% 150% no-repeat;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%] i[_ngcontent-%COMP%]{color:#fe3a00!important}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited i[_ngcontent-%COMP%]{color:#f4f4f4!important}[_nghost-%COMP%] .version[_ngcontent-%COMP%] a[_ngcontent-%COMP%]:visited{margin-left:-10px}[_nghost-%COMP%] .domain-option[_ngcontent-%COMP%]{padding:.75rem;color:#343434;font-size:.875rem;width:8.5rem}[_nghost-%COMP%] .btn-theme[_ngcontent-%COMP%]{background-color:var(--login-primary-color)!important;color:#fff!important;font-size:14px;height:36.6px;border-radius:7px}[_nghost-%COMP%] .text-theme[_ngcontent-%COMP%]{color:var(--login-primary-color)!important}[_nghost-%COMP%] .input-icon[_ngcontent-%COMP%]{font-size:15px}"]})}}return i})();var em=(()=>{class i{constructor(){this.authService=ae(un),this.router=ae(an),this.httpService=ae(cn),this.appVersion=Mi.version,this.changelogUrl=Mi.changelogUrl,this.route=ae(rn),this.roleService=ae(Xn),this.subdomain=Ee(""),this.domain=Ee(""),this.username=Ee("")}ngOnInit(){this.initNews()}ngAfterViewInit(){this.subdomain.set(localStorage.getItem("AUTH_SUB_DOMAIN")||""),this.username.set(localStorage.getItem("AUTH_USERNAME")||""),this.domain.set(localStorage.getItem("AUTH_DOMAIN")||".dealpos.co.id")}initNews(){let t=new nn().set("fetch","children:books").set("sort","sortOrder:asc");this.news$=this.httpService.get("https://changelog.dealpos.app/","umbraco/delivery/api/v2/content",{params:t}).pipe(wi(n=>n.items.map(r=>r.properties)),Xi(1))}onLogin(t){let n={SubDomain:t.subdomain+t.domain,Username:t.username,Password:t.password};Gi([this.authService.login(n),this.route.queryParams.pipe(wi(s=>s.returnUrl||"/"))]).subscribe(s=>{let r=s[1];if(r=="/"){if(this.roleService.report.view){if(!this.roleService.coa.view){this.router.navigate(["/pages/journal/journal-entry"]);return}}else{this.router.navigate(["/pages/chart-of-account/account"]);return}this.router.navigate(["/pages/dashboard"])}else this.router.navigate([r])})}static{this.\u0275fac=function(n){return new(n||i)}}static{this.\u0275cmp=he({type:i,selectors:[["app-login"]],decls:2,vars:8,consts:[["colorTheme","#0a8754","title","DealPOS Accounting","subtitle","Streamline Your Accounting with Ease",3,"onLoginChange","news","subdomain","domain","username","version","changelogUrl"]],template:function(n,s){n&1&&(G(0,"app-login-ui",0),Dt(1,"async"),ie("onLoginChange",function(a){return s.onLogin(a)}),N()),n&2&&$("news",$t(1,6,s.news$))("subdomain",s.subdomain())("domain",s.domain())("username",s.username())("version",s.appVersion)("changelogUrl",s.changelogUrl)},dependencies:[we,tn,Ht,Mn,qn,xn,ni,Bn,Qn,Zn,oi,ss,Wn,jn,Gn,os,nr],encapsulation:2})}}return i})();export{em as LoginComponent};
|