PageSourceSearch

https://sonypicturespublicity.com/chunk-4CARVOOB.js

js sonypicturespublicity.com collected 2026-09-25 05:50:34 UTC 455,054 bytes, 3 lines download raw bytes

1import{a as qn}from"./chunk-FZYXLMV3.js";import{a as mn}from"./chunk-O33JRDJV.js";import{d as ci}from"./chunk-BXNZAEZ2.js";import{a as Qo}from"./chunk-OI4LXX3H.js";import{a as Ze,b as $n,c as Hn,d as _i}from"./chunk-3NI6JNNX.js";import{a as ai}from"./chunk-LBU7G4K5.js";import{a as si}from"./chunk-4CEG3LMV.js";import{c as Kn,d as bi}from"./chunk-5BNCNPOT.js";import{a as li,e as st}from"./chunk-EIERS4AC.js";import{d as fi}from"./chunk-PCNCNUBA.js";import{a as Wo,b as wt}from"./chunk-K63DZWDM.js";import{a as hi,b as tr}from"./chunk-J27NTKXM.js";import{a as gn}from"./chunk-WOADIGDF.js";import{A as vt,B as qo,C as yt,D as cn,E as Ye,G as kt,H as ni,I as ii,J as Be,K as pn,S as ri,aa as di,d as Je,ga as pi,i as on,la as gi,oa as mi,r as xt,t as rn,v as Ho,va as ui,w as an,x as le,z as sn}from"./chunk-M2OG6E6Y.js";import{c as $o}from"./chunk-QDMEEE6L.js";import{A as ei,B as ti,D as oi,G as dn,c as xe,h as Do,l as Jo,n as Yo,s as Zo,u as ln,v as Xo}from"./chunk-SS7LMV4F.js";import{Ia as Ro,Jb as nn,Ka as Go,Kb as Qe,Lb as Ko,Ta as en,U as Yt,Ua as tn,W as ne,X as Pt,a as Vn,ab as ae,b as An,bb as ve,c as re,db as We,la as Xt,qa as jo,ra as Ae,sa as oe,ta as ce}from"./chunk-IHKDVWVN.js";import{e as qe,g as _t,h as ht,i as Gt,j,k as Ne,l as Dt}from"./chunk-JAGJ6UJ3.js";import{$a as Y,A as yo,Aa as No,Ba as Wt,Ca as Qt,E as wo,G as ko,H as ft,I as So,Ja as ue,L as jn,La as at,Ma as Gn,O as Io,Sa as Jt,U as To,Ua as Uo,V as Lo,W as Eo,X as rt,Ya as _e,Za as J,_a as Zt,ca as Rn,db as Ao,eb as Bo,fa as bt,ha as Ue,ka as Ve,la as Ct,ma as zo,n as $t,oa as Fo,p as Bn,pa as Ht,r as xo,ra as Mt,sa as Ot,wa as Kt,z as vo,za as qt}from"./chunk-OUILU7SI.js";import{$a as mo,$d as Po,D as ao,Da as lo,Db as uo,Dc as Lt,Ea as O,Eb as _,Ec as G,Fa as P,Fc as V,G as Ut,Gc as A,Gd as fo,H as q,Ia as Bt,Jd as mt,Ka as Nn,Kc as K,Kd as te,L as Vt,Lc as m,Ld as B,Mb as E,Mc as v,Md as bo,Nb as De,Nc as S,Nd as Co,O as At,Oa as Z,Oc as ze,Pa as Ke,Q as we,Qb as It,Qc as _o,R as Fn,Rd as Mo,Sb as M,Sc as pe,T as so,Ta as se,Tc as ge,Td as Oo,Uc as me,Va as jt,Wa as po,Wc as ot,Yc as Fe,Yd as ut,Zc as Et,_a as go,_c as ho,bc as U,ca as co,cc as l,dc as W,dd as f,ea as St,ec as k,ed as b,f as F,fa as gt,fb as Un,g as ro,ga as L,hd as Q,jc as Tt,me as Pe,nd as Oe,oa as Te,oc as a,pa as Le,pc as s,q as Ie,qc as h,ra as Ee,rb as Ge,rc as D,re as Vo,sb as ee,sc as z,ta as Ce,ua as N,uc as y,ud as it,vb as $e,w as ie,wb as Me,wc as C,xb as r,xc as d,yc as nt,zc as ke,zd as Rt}from"./chunk-B3PMO4ZG.js";import{a as X,b as de,g as er,h as Nt}from"./chunk-Y7UTIEIO.js";var nr=new Ee("recaptcha-language"),or=new Ee("recaptcha-base-url"),ir=new Ee("recaptcha-nonce-tag"),rr=new Ee("recaptcha-settings"),ar=new Ee("recaptcha-v3-site-key"),sr=new Ee("recaptcha-loader-options");function cr(o,g,e,{url:t,lang:n,nonce:i}={}){window.ng2recaptchaloaded=()=>{e(grecaptcha)};let c=document.createElement("script");c.innerHTML="";let{url:p,nonce:u}=g(new URL(t||"https://www.google.com/recaptcha/api.js"));p.searchParams.set("render",o==="explicit"?o:o.key),p.searchParams.set("onload","ng2recaptchaloaded"),p.searchParams.set("trustedtypes","true"),n&&p.searchParams.set("hl",n),c.src=p.href;let x=u||i;x&&c.setAttribute("nonce",x),c.async=!0,c.defer=!0,document.head.appendChild(c)}function lr({v3SiteKey:o,onBeforeLoad:g,onLoaded:e}){let t=o?{key:o}:"explicit";Ci.loadScript(t,g,e)}var Ci={loadScript:cr,newLoadScript:lr};function dr(o){return o.asObservable().pipe(q(g=>g!==null))}var Mi=(()=>{class o{static{this.ready=null}constructor(e,t,n,i,c,p){this.platformId=e,this.language=t,this.baseUrl=n,this.nonce=i,this.v3SiteKey=c,this.options=p;let u=this.init();this.ready=u?dr(u):Ie()}init(){if(o.ready)return o.ready;if(!Po(this.platformId))return;let e=new ro(null);return o.ready=e,Ci.newLoadScript({v3SiteKey:this.v3SiteKey,onBeforeLoad:t=>{if(this.options?.onBeforeLoad)return this.options.onBeforeLoad(t);let n=new URL(this.baseUrl??t);return this.language&&n.searchParams.set("hl",this.language),{url:n,nonce:this.nonce}},onLoaded:t=>{let n=t;this.options?.onLoaded&&(n=this.options.onLoaded(t)),e.next(n)}}),e}static{this.\u0275fac=function(t){return new(t||o)(Ce(go),Ce(nr,8),Ce(or,8),Ce(ir,8),Ce(ar,8),Ce(sr,8))}}static{this.\u0275prov=Te({token:o,factory:o.\u0275fac})}}return o}
1)(),pr=0,Oi=(()=>{class o{constructor(e,t,n,i){this.elementRef=e,this.loader=t,this.zone=n,this.id=`ngrecaptcha-${pr++}`,this.errorMode="default",this.resolved=new Z,this.error=new Z,this.errored=new Z,i&&(this.siteKey=i.siteKey,this.theme=i.theme,this.type=i.type,this.size=i.size,this.badge=i.badge)}ngAfterViewInit(){this.subscription=this.loader.ready.subscribe(e=>{e!=null&&e.render instanceof Function&&(this.grecaptcha=e,this.renderRecaptcha())})}ngOnDestroy(){this.grecaptchaReset(),this.subscription&&this.subscription.unsubscribe()}execute(){this.size==="invisible"&&(this.widget!=null?this.grecaptcha.execute(this.widget):this.executeRequested=!0)}reset(){this.widget!=null&&(this.grecaptcha.getResponse(this.widget)&&this.resolved.emit(null),this.grecaptchaReset())}get __unsafe_widgetValue(){return this.widget!=null?this.grecaptcha.getResponse(this.widget):null}expired(){this.resolved.emit(null)}onError(e){this.error.emit(e),this.errored.emit(e)}captchaResponseCallback(e){this.resolved.emit(e)}grecaptchaReset(){this.widget!=null&&this.zone.runOutsideAngular(()=>this.grecaptcha.reset(this.widget))}renderRecaptcha(){let e={badge:this.badge,callback:t=>{this.zone.run(()=>this.captchaResponseCallback(t))},"expired-callback":()=>{this.zone.run(()=>this.expired())},sitekey:this.siteKey,size:this.size,tabindex:this.tabIndex,theme:this.theme,type:this.type};this.errorMode==="handled"&&(e["error-callback"]=(...t)=>{this.zone.run(()=>this.onError(t))}),this.widget=this.grecaptcha.render(this.elementRef.nativeElement,e),this.executeRequested===!0&&(this.executeRequested=!1,this.execute())}static{this.\u0275fac=function(t){return new(t||o)(_(se),_(Mi),_(Ke),_(rr,8))}}static{this.\u0275cmp=E({type:o,selectors:[["re-captcha"]],hostVars:1,hostBindings:function(t,n){t&2&&U("id",n.id)},inputs:{id:"id",siteKey:"siteKey",theme:"theme",type:"type",size:"size",tabIndex:"tabIndex",badge:"badge",errorMode:"errorMode"},outputs:{resolved:"resolved",error:"error",errored:"errored"},exportAs:["reCaptcha"],standalone:!1,decls:0,vars:0,template:function(t,n){},encapsulation:2})}}return o})(),Pi=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=De({type:o})}static{this.\u0275inj=Le({})}}return o})(),xi=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=De({type:o})}static{this.\u0275inj=Le({providers:[Mi],imports:[Pi]})}}return o})();var vi=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=De({type:o})}static{this.\u0275inj=Le({imports:[at,Pi]})}}return o})();var yi=Vn("[Layout] Set Layout",An()),nd=Vn("[Layout] Set Mode",An());var hn=["*"],ur=["content"],_r=[[["mat-drawer"]],[["mat-drawer-content"]],"*"],hr=["mat-drawer","mat-drawer-content","*"];function fr(o,g){if(o&1){let e=y();a(0,"div",1),C("click",function(){O(e);let n=d();return P(n._onBackdropClicked())}),s()}if(o&2){let e=d();k("mat-drawer-shown",e._isShowingBackdrop())}}function br(o,g){o&1&&(a(0,"mat-drawer-content"),ke(1,2),s())}var Cr=[[["mat-sidenav"]],[["mat-sidenav-content"]],"*"],Mr=["mat-sidenav","mat-sidenav-content","*"];function Or(o,g){if(o&1){let e=y();a(0,"div",1),C("click",function(){O(e);let n=d();return P(n._onBackdropClicked())}),s()}if(o&2){let e=d();k("mat-drawer-shown",e._isShowingBackdrop())}}function Pr(o,g){o&1&&(a(0,"mat-sidenav-content"),ke(1,2),s())}var xr=`.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}
1.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}
2`;var vr=new Ee("MAT_DRAWER_DEFAULT_AUTOSIZE",{providedIn:"root",factory:yr}),Jn=new Ee("MAT_DRAWER_CONTAINER");function yr(){return!1}var un=(()=>{class o extends ft{_platform=N($t);_changeDetectorRef=N(Oe);_container=N(Qn);constructor(){let e=N(se),t=N(ko),n=N(Ke);super(e,t,n)}ngAfterContentInit(){this._container._contentMarginChanges.subscribe(()=>{this._changeDetectorRef.markForCheck()})}_shouldBeHidden(){if(this._platform.isBrowser)return!1;let{start:e,end:t}=this._container;return e!=null&&e.mode!=="over"&&e.opened||t!=null&&t.mode!=="over"&&t.opened}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=E({type:o,selectors:[["mat-drawer-content"]],hostAttrs:[1,"mat-drawer-content"],hostVars:6,hostBindings:function(t,n){t&2&&(W("margin-left",n._container._contentMargins.left,"px")("margin-right",n._container._contentMargins.right,"px"),k("mat-drawer-content-hidden",n._shouldBeHidden()))},features:[ot([{provide:ft,useExisting:o}]),It],ngContentSelectors:hn,decls:1,vars:0,template:function(t,n){t&1&&(nt(),ke(0))},encapsulation:2,changeDetection:0})}return o}
2)(),Wn=(()=>{class o{_elementRef=N(se);_focusTrapFactory=N(yo);_focusMonitor=N(xo);_platform=N($t);_ngZone=N(Ke);_renderer=N(uo);_interactivityChecker=N(vo);_doc=N(Rt,{optional:!0});_container=N(Jn,{optional:!0});_focusTrap=null;_elementFocusedBeforeDrawerWasOpened=null;_eventCleanups;_isAttached;_anchor;get position(){return this._position}set position(e){e=e==="end"?"end":"start",e!==this._position&&(this._isAttached&&this._updatePositionInParent(e),this._position=e,this.onPositionChanged.emit())}_position="start";get mode(){return this._mode}set mode(e){this._mode=e,this._updateFocusTrapState(),this._modeChanged.next()}_mode="over";get disableClose(){return this._disableClose}set disableClose(e){this._disableClose=rt(e)}_disableClose=!1;get autoFocus(){let e=this._autoFocus;return e??(this.mode==="side"?"dialog":"first-tabbable")}set autoFocus(e){(e==="true"||e==="false"||e==null)&&(e=rt(e)),this._autoFocus=e}_autoFocus;get opened(){return this._opened}set opened(e){this.toggle(rt(e))}_opened=!1;_openedVia;_animationStarted=new F;_animationEnd=new F;openedChange=new Z(!0);_openedStream=this.openedChange.pipe(q(e=>e),ie(()=>{}));openedStart=this._animationStarted.pipe(q(()=>this.opened),Fn(void 0));
2_closedStream=this.openedChange.pipe(q(e=>!e),ie(()=>{}));closedStart=this._animationStarted.pipe(q(()=>!this.opened),Fn(void 0));_destroyed=new F;onPositionChanged=new Z;_content;_modeChanged=new F;_injector=N(Nn);_changeDetectorRef=N(Oe);constructor(){this.openedChange.pipe(L(this._destroyed)).subscribe(e=>{e?(this._doc&&(this._elementFocusedBeforeDrawerWasOpened=this._doc.activeElement),this._takeFocus()):this._isFocusWithinDrawer()&&this._restoreFocus(this._openedVia||"program")}),this._ngZone.runOutsideAngular(()=>{let e=this._elementRef.nativeElement;ao(e,"keydown").pipe(q(t=>t.keyCode===27&&!this.disableClose&&!Io(t)),L(this._destroyed)).subscribe(t=>this._ngZone.run(()=>{this.close(),t.stopPropagation(),t.preventDefault()})),this._eventCleanups=[this._renderer.listen(e,"transitionrun",this._handleTransitionEvent),this._renderer.listen(e,"transitionend",this._handleTransitionEvent),this._renderer.listen(e,"transitioncancel",this._handleTransitionEvent)]}),this._animationEnd.subscribe(()=>{this.openedChange.emit(this._opened)})}_forceFocus(e,t){this._interactivityChecker.isFocusable(e)||(e.tabIndex=-1,this._ngZone.runOutsideAngular(()=>{let n=()=>{i(),c(),e.removeAttribute("tabindex")},i=this._renderer.listen(e,"blur",n),c=this._renderer.listen(e,"mousedown",n)})),e.focus(t)}_focusByCssSelector(e,t){let n=this._elementRef.nativeElement.querySelector(e);n&&this._forceFocus(n,t)}_takeFocus(){if(!this._focusTrap)return;let e=this._elementRef.nativeElement;switch(this.autoFocus){case!1:case"dialog":return;case!0:case"first-tabbable":Un(()=>{!this._focusTrap.focusInitialElement()&&typeof e.focus=="function"&&e.focus()},{injector:this._injector});break;case"first-heading":this._focusByCssSelector('h1, h2, h3, h4, h5, h6, [role="heading"]');break;default:this._focusByCssSelector(this.autoFocus);break}}_restoreFocus(e){this.autoFocus!=="dialog"&&(this._elementFocusedBeforeDrawerWasOpened?this._focusMonitor.focusVia(this._elementFocusedBeforeDrawerWasOpened,e):this._elementRef.nativeElement.blur(),this._elementFocusedBeforeDrawerWasOpened=null)}_isFocusWithinDrawer(){let e=this._doc.activeElement;return!!e&&this._elementRef.nativeElement.contains(e)}ngAfterViewInit(){this._isAttached=!0,this._position==="end"&&this._updatePositionInParent("end"),this._platform.isBrowser&&(this._focusTrap=this._focusTrapFactory.create(this._elementRef.nativeElement),this._updateFocusTrapState())}ngOnDestroy(){this._eventCleanups.forEach(e=>e()),this._focusTrap?.destroy(),this._anchor?.remove(),this._anchor=null,this._animationStarted.complete(),this._animationEnd.complete(),this._modeChanged.complete(),this._destroyed.next(),this._destroyed.complete()}open(e){return this.toggle(!0,e)}close(){return this.toggle(!1)}_closeViaBackdropClick(){return this._setOpen(!1,!0,"mouse")}toggle(e=!this.opened,t){e&&t&&(this._openedVia=t);let n=this._setOpen(e,!e&&this._isFocusWithinDrawer(),this._openedVia||"program");return e||(this._openedVia=null),n}_setOpen(e,t,n){return e===this._opened?Promise.resolve(e?"open":"close"):(this._opened=e,this._container?._transitionsEnabled?this._setIsAnimating(!0):setTimeout(()=>{this._animationStarted.next(),this._animationEnd.next()}),this._elementRef.nativeElement.classList.toggle("mat-drawer-opened",e),!e&&t&&this._restoreFocus(n),this._changeDetectorRef.markForCheck(),this._updateFocusTrapState(),new Promise(i=>{this.openedChange.pipe(we(1)).subscribe(c=>i(c?"open":"close"))}))}_setIsAnimating(e){this._elementRef.nativeElement.classList.toggle("mat-drawer-animating",e)}_getWidth(){return this._elementRef.nativeElement.offsetWidth||0}_updateFocusTrapState(){this._focusTrap&&(this._focusTrap.enabled=!!this._container?.hasBackdrop&&this.opened)}_updatePositionInParent(e){if(!this._platform.isBrowser)return;let t=this._elementRef.nativeElement,n=t.parentNode;e==="end"?(this._anchor||(this._anchor=this._doc.createComment("mat-drawer-anchor"),n.insertBefore(this._anchor,t)),n.appendChild(t)):this._anchor&&this._anchor.parentNode.insertBefore(t,this._anchor)}_handleTransitionEvent=e=>{let t=this._elementRef.nativeElement;e.target===t&&this._ngZone.run(()=>{e.type==="transitionrun"?this._animationStarted.next(e):(e.type==="transitionend"&&this._setIsAnimating(!1),this._animationEnd.next(e))})};static \u0275fac=function(t){return new(t||o)};static \u0275cmp=E({type:o,selectors:[["mat-drawer"]],viewQuery:function(t,n){if(t&1&&G(ur,5),t&2){let i;V(i=A())&&(n._content=i.first)}},hostAttrs:[1,"mat-drawer"],hostVars:12,hostBindings:function(t,n){t&2&&(U("align",null)("tabIndex",n.mode!=="side"?"-1":null),W("visibility",!n._container&&!n.opened?"hidden":null),k("mat-drawer-end",n.position==="end")("mat-drawer-over",n.mode==="over")("mat-drawer-push",n.mode==="push")("mat-drawer-side",n.mode==="side"))},inputs:{position:"position",mode:"mode",disableClose:"disableClose",autoFocus:"autoFocus",opened:"opened"},outputs:{openedChange:"openedChange",_openedStream:"opened",openedStart:"openedStart",_closedStream:"closed",closedStart:"closedStart",onPositionChanged:"positionChanged"},exportAs:["matDrawer"],ngContentSelectors:hn,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,n){t&1&&(nt(),a(0,"div",1,0),ke(2),s())},dependencies:[ft],encapsulation:2,changeDetection:0})}return o}
2)(),Qn=(()=>{class o{_dir=N(wo,{optional:!0});_element=N(se);_ngZone=N(Ke);_changeDetectorRef=N(Oe);_animationMode=N(mo,{optional:!0});_transitionsEnabled=!1;_allDrawers;_drawers=new po;_content;_userContent;get start(){return this._start}get end(){return this._end}get autosize(){return this._autosize}set autosize(e){this._autosize=rt(e)}_autosize=N(vr);get hasBackdrop(){return this._drawerHasBackdrop(this._start)||this._drawerHasBackdrop(this._end)}set hasBackdrop(e){this._backdropOverride=e==null?null:rt(e)}_backdropOverride;backdropClick=new Z;_start;_end;_left;_right;_destroyed=new F;_doCheckSubject=new F;_contentMargins={left:null,right:null};_contentMarginChanges=new F;get scrollable(){return this._userContent||this._content}_injector=N(Nn);constructor(){let e=N($t),t=N(So);this._dir?.change.pipe(L(this._destroyed)).subscribe(()=>{this._validateDrawers(),this.updateContentMargins()}),t.change().pipe(L(this._destroyed)).subscribe(()=>this.updateContentMargins()),this._animationMode!=="NoopAnimations"&&e.isBrowser&&this._ngZone.runOutsideAngular(()=>{setTimeout(()=>{this._element.nativeElement.classList.add("mat-drawer-transition"),this._transitionsEnabled=!0},200)})}ngAfterContentInit(){this._allDrawers.changes.pipe(St(this._allDrawers),L(this._destroyed)).subscribe(e=>{this._drawers.reset(e.filter(t=>!t._container||t._container===this)),this._drawers.notifyOnChanges()}),this._drawers.changes.pipe(St(null)).subscribe(()=>{this._validateDrawers(),this._drawers.forEach(e=>{this._watchDrawerToggle(e),this._watchDrawerPosition(e),this._watchDrawerMode(e)}),(!this._drawers.length||this._isDrawerOpen(this._start)||this._isDrawerOpen(this._end))&&this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),this._ngZone.runOutsideAngular(()=>{this._doCheckSubject.pipe(At(10),L(this._destroyed)).subscribe(()=>this.updateContentMargins())})}ngOnDestroy(){this._contentMarginChanges.complete(),this._doCheckSubject.complete(),this._drawers.destroy(),this._destroyed.next(),this._destroyed.complete()}open(){this._drawers.forEach(e=>e.open())}close(){this._drawers.forEach(e=>e.close())}updateContentMargins(){let e=0,t=0;if(this._left&&this._left.opened){if(this._left.mode=="side")e+=this._left._getWidth();else if(this._left.mode=="push"){let n=this._left._getWidth();e+=n,t-=n}}if(this._right&&this._right.opened){if(this._right.mode=="side")t+=this._right._getWidth();else if(this._right.mode=="push"){let n=this._right._getWidth();t+=n,e-=n}}e=e||null,t=t||null,(e!==this._contentMargins.left||t!==this._contentMargins.right)&&(this._contentMargins={left:e,right:t},this._ngZone.run(()=>this._contentMarginChanges.next(this._contentMargins)))}ngDoCheck(){this._autosize&&this._isPushed()&&this._ngZone.runOutsideAngular(()=>this._doCheckSubject.next())}_watchDrawerToggle(e){e._animationStarted.pipe(L(this._drawers.changes)).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()}),e.mode!=="side"&&e.openedChange.pipe(L(this._drawers.changes)).subscribe(()=>this._setContainerClass(e.opened))}_watchDrawerPosition(e){e.onPositionChanged.pipe(L(this._drawers.changes)).subscribe(()=>{Un({read:()=>this._validateDrawers()},{injector:this._injector})})}_watchDrawerMode(e){e._modeChanged.pipe(L(Ut(this._drawers.changes,this._destroyed))).subscribe(()=>{this.updateContentMargins(),this._changeDetectorRef.markForCheck()})}_setContainerClass(e){let t=this._element.nativeElement.classList,n="mat-drawer-container-has-open";e?t.add(n):t.remove(n)}_validateDrawers(){this._start=this._end=null,this._drawers.forEach(e=>{e.position=="end"?(this._end!=null,this._end=e):(this._start!=null,this._start=e)}),this._right=this._left=null,this._dir&&this._dir.value==="rtl"?(this._left=this._end,this._right=this._start):(this._left=this._start,this._right=this._end)}_isPushed(){return this._isDrawerOpen(this._start)&&this._start.mode!="over"||this._isDrawerOpen(this._end)&&this._end.mode!="over"}_onBackdropClicked(){this.backdropClick.emit(),this._closeModalDrawersViaBackdrop()}_closeModalDrawersViaBackdrop(){[this._start,this._end].filter(e=>
2e&&!e.disableClose&&this._drawerHasBackdrop(e)).forEach(e=>e._closeViaBackdropClick())}_isShowingBackdrop(){return this._isDrawerOpen(this._start)&&this._drawerHasBackdrop(this._start)||this._isDrawerOpen(this._end)&&this._drawerHasBackdrop(this._end)}_isDrawerOpen(e){return e!=null&&e.opened}_drawerHasBackdrop(e){return this._backdropOverride==null?!!e&&e.mode!=="side":this._backdropOverride}static \u0275fac=function(t){return new(t||o)};static \u0275cmp=E({type:o,selectors:[["mat-drawer-container"]],contentQueries:function(t,n,i){if(t&1&&(Lt(i,un,5),Lt(i,Wn,5)),t&2){let c;V(c=A())&&(n._content=c.first),V(c=A())&&(n._allDrawers=c)}},viewQuery:function(t,n){if(t&1&&G(un,5),t&2){let i;V(i=A())&&(n._userContent=i.first)}},hostAttrs:[1,"mat-drawer-container"],hostVars:2,hostBindings:function(t,n){t&2&&k("mat-drawer-container-explicit-backdrop",n._backdropOverride)},inputs:{autosize:"autosize",hasBackdrop:"hasBackdrop"},outputs:{backdropClick:"backdropClick"},exportAs:["matDrawerContainer"],features:[ot([{provide:Jn,useExisting:o}])],ngContentSelectors:hr,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,n){t&1&&(nt(_r),M(0,fr,1,2,"div",0),ke(1),ke(2,1),M(3,br,2,0,"mat-drawer-content")),t&2&&(Tt(n.hasBackdrop?0:-1),r(3),Tt(n._content?-1:3))},dependencies:[un],styles:[`.mat-drawer-container{position:relative;z-index:1;color:var(--mat-sidenav-content-text-color, var(--mat-sys-on-background));background-color:var(--mat-sidenav-content-background-color, var(--mat-sys-background));box-sizing:border-box;display:block;overflow:hidden}.mat-drawer-container[fullscreen]{top:0;left:0;right:0;bottom:0;position:absolute}.mat-drawer-container[fullscreen].mat-drawer-container-has-open{overflow:hidden}.mat-drawer-container.mat-drawer-container-explicit-backdrop .mat-drawer-side{z-index:3}.mat-drawer-container.ng-animate-disabled .mat-drawer-backdrop,.mat-drawer-container.ng-animate-disabled .mat-drawer-content,.ng-animate-disabled .mat-drawer-container .mat-drawer-backdrop,.ng-animate-disabled .mat-drawer-container .mat-drawer-content{transition:none}.mat-drawer-backdrop{top:0;left:0;right:0;bottom:0;position:absolute;display:block;z-index:3;visibility:hidden}.mat-drawer-backdrop.mat-drawer-shown{visibility:visible;background-color:var(--mat-sidenav-scrim-color, color-mix(in srgb, var(--mat-sys-neutral-variant20) 40%, transparent))}.mat-drawer-transition .mat-drawer-backdrop{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:background-color,visibility}@media(forced-colors: active){.mat-drawer-backdrop{opacity:.5}}.mat-drawer-content{position:relative;z-index:1;display:block;height:100%;overflow:auto}.mat-drawer-content.mat-drawer-content-hidden{opacity:0}
2.mat-drawer-transition .mat-drawer-content{transition-duration:400ms;transition-timing-function:cubic-bezier(0.25, 0.8, 0.25, 1);transition-property:transform,margin-left,margin-right}.mat-drawer{position:relative;z-index:4;color:var(--mat-sidenav-container-text-color, var(--mat-sys-on-surface-variant));box-shadow:var(--mat-sidenav-container-elevation-shadow, none);background-color:var(--mat-sidenav-container-background-color, var(--mat-sys-surface));border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));width:var(--mat-sidenav-container-width, 360px);display:block;position:absolute;top:0;bottom:0;z-index:3;outline:0;box-sizing:border-box;overflow-y:auto;transform:translate3d(-100%, 0, 0)}@media(forced-colors: active){.mat-drawer,[dir=rtl] .mat-drawer.mat-drawer-end{border-right:solid 1px currentColor}}@media(forced-colors: active){[dir=rtl] .mat-drawer,.mat-drawer.mat-drawer-end{border-left:solid 1px currentColor;border-right:none}}.mat-drawer.mat-drawer-side{z-index:2}.mat-drawer.mat-drawer-end{right:0;transform:translate3d(100%, 0, 0);border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0}[dir=rtl] .mat-drawer{border-top-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-left-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-right-radius:0;border-bottom-right-radius:0;transform:translate3d(100%, 0, 0)}[dir=rtl] .mat-drawer.mat-drawer-end{border-top-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-bottom-right-radius:var(--mat-sidenav-container-shape, var(--mat-sys-corner-large));border-top-left-radius:0;border-bottom-left-radius:0;left:0;right:auto;transform:translate3d(-100%, 0, 0)}.mat-drawer-transition .mat-drawer{transition:transform 400ms cubic-bezier(0.25, 0.8, 0.25, 1)}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating){visibility:hidden;box-shadow:none}.mat-drawer:not(.mat-drawer-opened):not(.mat-drawer-animating) .mat-drawer-inner-container{display:none}.mat-drawer.mat-drawer-opened.mat-drawer-opened{transform:none}.mat-drawer-side{box-shadow:none;border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid}.mat-drawer-side.mat-drawer-end{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side{border-left-color:var(--mat-sidenav-container-divider-color, transparent);border-left-width:1px;border-left-style:solid;border-right:none}[dir=rtl] .mat-drawer-side.mat-drawer-end{border-right-color:var(--mat-sidenav-container-divider-color, transparent);border-right-width:1px;border-right-style:solid;border-left:none}.mat-drawer-inner-container{width:100%;height:100%;overflow:auto}.mat-sidenav-fixed{position:fixed}
3`],encapsulation:2,changeDetection:0})}return o})(),_n=(()=>{class o extends un{static \u0275fac=(()=>{let e;return function(n){return(e||(e=Bt(o)))(n||o)}})();static \u0275cmp=E({type:o,selectors:[["mat-sidenav-content"]],hostAttrs:[1,"mat-drawer-content","mat-sidenav-content"],features:[ot([{provide:ft,useExisting:o}]),It],ngContentSelectors:hn,decls:1,vars:0,template:function(t,n){t&1&&(nt(),ke(0))},encapsulation:2,changeDetection:0})}return o})(),Yn=(()=>{class o extends Wn{get fixedInViewport(){return this._fixedInViewport}set fixedInViewport(e){this._fixedInViewport=rt(e)}_fixedInViewport=!1;get fixedTopGap(){return this._fixedTopGap}set fixedTopGap(e){this._fixedTopGap=Bn(e)}_fixedTopGap=0;get fixedBottomGap(){return this._fixedBottomGap}set fixedBottomGap(e){this._fixedBottomGap=Bn(e)}_fixedBottomGap=0;static \u0275fac=(()=>{let e;return function(n){return(e||(e=Bt(o)))(n||o)}})();static \u0275cmp=E({type:o,selectors:[["mat-sidenav"]],hostAttrs:[1,"mat-drawer","mat-sidenav"],hostVars:16,hostBindings:function(t,n){t&2&&(U("tabIndex",n.mode!=="side"?"-1":null)("align",null),W("top",n.fixedInViewport?n.fixedTopGap:null,"px")("bottom",n.fixedInViewport?n.fixedBottomGap:null,"px"),k("mat-drawer-end",n.position==="end")("mat-drawer-over",n.mode==="over")("mat-drawer-push",n.mode==="push")("mat-drawer-side",n.mode==="side")("mat-sidenav-fixed",n.fixedInViewport))},inputs:{fixedInViewport:"fixedInViewport",fixedTopGap:"fixedTopGap",fixedBottomGap:"fixedBottomGap"},exportAs:["matSidenav"],features:[ot([{provide:Wn,useExisting:o}]),It],ngContentSelectors:hn,decls:3,vars:0,consts:[["content",""],["cdkScrollable","",1,"mat-drawer-inner-container"]],template:function(t,n){t&1&&(nt(),a(0,"div",1,0),ke(2),s())},dependencies:[ft],encapsulation:2,changeDetection:0})}return o}
3)(),wi=(()=>{class o extends Qn{_allDrawers=void 0;_content=void 0;static \u0275fac=(()=>{let e;return function(n){return(e||(e=Bt(o)))(n||o)}})();static \u0275cmp=E({type:o,selectors:[["mat-sidenav-container"]],contentQueries:function(t,n,i){if(t&1&&(Lt(i,_n,5),Lt(i,Yn,5)),t&2){let c;V(c=A())&&(n._content=c.first),V(c=A())&&(n._allDrawers=c)}},hostAttrs:[1,"mat-drawer-container","mat-sidenav-container"],hostVars:2,hostBindings:function(t,n){t&2&&k("mat-drawer-container-explicit-backdrop",n._backdropOverride)},exportAs:["matSidenavContainer"],features:[ot([{provide:Jn,useExisting:o},{provide:Qn,useExisting:o}]),It],ngContentSelectors:Mr,decls:4,vars:2,consts:[[1,"mat-drawer-backdrop",3,"mat-drawer-shown"],[1,"mat-drawer-backdrop",3,"click"]],template:function(t,n){t&1&&(nt(Cr),M(0,Or,1,2,"div",0),ke(1),ke(2,1),M(3,Pr,2,0,"mat-sidenav-content")),t&2&&(Tt(n.hasBackdrop?0:-1),r(3),Tt(n._content?-1:3))},dependencies:[_n],styles:[xr],encapsulation:2,changeDetection:0})}return o})(),ki=(()=>{class o{static \u0275fac=function(t){return new(t||o)};static \u0275mod=De({type:o});static \u0275inj=Le({imports:[Rn,jn,jn,Rn]})}return o})();var Si=(()=>{class o{constructor(e){this.http=e}callLogout(e){return this.http.post(Bo.LOGOUT,e)}static{this.\u0275fac=function(t){return new(t||o)(Ce(Pe))}}static{this.\u0275prov=Te({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();function Sr(o,g){o&1&&(a(0,"div",11),h(1,"div",12),a(2,"span"),h(3,"app-common-translate",4),s()()),o&2&&(r(3),l("key","myKitDrawer.loading"))}function Ir(o,g){o&1&&(a(0,"div",13)(1,"mat-icon",14),m(2,"folder_open"),s(),a(3,"p",15),h(4,"app-common-translate",4),s(),a(5,"p",16),h(6,"app-common-translate",4),s()()),o&2&&(r(4),l("key","myKitDrawer.emptyTitle"),r(2),l("key","myKitDrawer.emptySubtitle"))}function Tr(o,g){if(o&1){let e=y();a(0,"div",19)(1,"div",20),h(2,"app-thumbnail-wrapper",21),s(),a(3,"div",22)(4,"span",23),m(5),s(),a(6,"span",24),m(7),s()(),a(8,"button",25),f(9,"translate"),C("click",function(n){let i=O(e).$implicit,c=d(2);return P(c.onRemoveItem(i,n))}),a(10,"mat-icon"),m(11,"delete_outline"),s()()()}if(o&2){let e=g.$implicit,t=d(2);r(2),l("src",e.smallThumbnailUrl)("alt",e.assetName)("fallbackText",null)("assetFileType",t.getAssetFileType(e))("productIdForPreview",(e==null?null:e.productId)||(e==null?null:e.gpmsId)),r(3),v(t.getDisplayName(e)),r(2),ze("",e.assetType," \xB7 ",e.displayFileSize,""),r(),U("aria-label",b(9,9,"myKitDrawer.removeFromKit"))}}function Lr(o,g){if(o&1&&(a(0,"div",17),M(1,Tr,12,11,"div",18),s()),o&2){let e=d();r(),l("ngForOf",e.cartItems)("ngForTrackBy",e.trackByAssetId)}}function Er(o,g){if(o&1){let e=y();a(0,"div",26)(1,"div",27),m(2),f(3,"translate"),f(4,"translate"),s(),a(5,"button",28),C("click",function(){O(e);let n=d();return P(n.onViewKit())}),h(6,"app-common-translate",4),s()()}if(o&2){let e=d();r(2),ze(" ",e.cartItems.length," ",e.cartItems.length>1?b(3,3,"myKitDrawer.items"):b(4,5,"myKitDrawer.item")," "),r(4),l("key","myKitDrawer.viewMyKit")}}var Cn=(()=>{class o{getAssetFileType(e){return pn(e)}constructor(e,t,n,i,c){this.cartService=e,this.cdr=t,this.router=n,this.changeLobRefreshService=i,this.translateService=c,this.isOpen=!1,this.cartItems=[],this.isLoading=!1,this.defaultThumbnail="assets/images/dummy_thumbnail.jpg",this.destroy$=new F}ngOnInit(){this.cartService.isDrawerOpen$.pipe(L(this.destroy$)).subscribe(e=>{this.isOpen=e,this.cdr.markForCheck()}),this.cartService.cartItems$.pipe(L(this.destroy$)).subscribe(e=>{this.cartItems=e,this.cdr.markForCheck()}),this.cartService.isLoading$.pipe(L(this.destroy$)).subscribe(e=>{this.isLoading=e,this.cdr.markForCheck()}),this.changeLobRefreshService.refresh$.pipe(L(this.destroy$)).subscribe(()=>{this.cartService.loadCart()})}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}onEscapePress(){this.isOpen&&this.closeDrawer()}closeDrawer(){this.cartService.closeDrawer()}onBackdropClick(e){e.target.classList.contains("drawer-backdrop")&&this.closeDrawer()}onRemoveItem(e,t){t.stopPropagation(),this.cartService.removeFromCart(e.id)}onViewKit(){this.closeDrawer(),this.router.navigate(["/my-kit"])}trackByAssetId(e,t){return t.id}getDisplayName(e){return e.displayAssetName||e.assetType||e.assetName||this.translateService.instant("myKitDrawer.untitled")}
3getFileName(e){return e.fileName||e.assetDisplayName||""}static{this.\u0275fac=function(t){return new(t||o)(_(Ze),_(Oe),_(j),_(Ae),_(_e))}}static{this.\u0275cmp=E({type:o,selectors:[["app-my-kit-drawer"]],hostBindings:function(t,n){t&1&&C("keydown.escape",function(){return n.onEscapePress()},!1,Me)},decls:14,vars:12,consts:[[1,"drawer-backdrop",3,"click"],[1,"drawer-panel",3,"click"],[1,"drawer-header"],[1,"drawer-title"],[3,"key"],[1,"close-btn",3,"click"],[1,"drawer-content"],["class","loading-state",4,"ngIf"],["class","empty-state",4,"ngIf"],["class","items-list",4,"ngIf"],["class","drawer-footer",4,"ngIf"],[1,"loading-state"],[1,"spinner"],[1,"empty-state"],[1,"empty-icon"],[1,"empty-text"],[1,"empty-subtext"],[1,"items-list"],["class","cart-item",4,"ngFor","ngForOf","ngForTrackBy"],[1,"cart-item"],[1,"item-thumbnail"],["fallbackClass","fallback-thumb","fallbackTextClass","fallback-thumb-text","imageClass","img-fluid w-100","containerVariant","none","width","100%","height","100%",3,"src","alt","fallbackText","assetFileType","productIdForPreview"],[1,"item-info"],[1,"item-name"],[1,"item-meta"],[1,"delete-btn",3,"click"],[1,"drawer-footer"],[1,"item-count"],[1,"checkout-btn",3,"click"]],template:function(t,n){t&1&&(a(0,"div",0),C("click",function(c){return n.onBackdropClick(c)}),a(1,"div",1),C("click",function(c){return c.stopPropagation()}),a(2,"div",2)(3,"h3",3),h(4,"app-common-translate",4),s(),a(5,"button",5),f(6,"translate"),C("click",function(){return n.closeDrawer()}),a(7,"mat-icon"),m(8,"close"),s()()(),a(9,"div",6),M(10,Sr,4,1,"div",7)(11,Ir,7,2,"div",8)(12,Lr,2,2,"div",9),s(),M(13,Er,7,7,"div",10),s()()),t&2&&(k("open",n.isOpen),r(),k("open",n.isOpen),r(3),l("key","myKitDrawer.title"),r(),U("aria-label",b(6,10,"common.Close")),r(5),l("ngIf",n.isLoading),r(),l("ngIf",!n.isLoading&&n.cartItems.length===0),r(),l("ngIf",!n.isLoading&&n.cartItems.length>0),r(),l("ngIf",n.cartItems.length>0))},dependencies:[ut,te,B,Pt,ne,dn,nn,Y,J],styles:[".drawer-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;background-color:#0000;z-index:1050;visibility:hidden;transition:background-color .3s ease,visibility 0s linear .3s}
3.drawer-backdrop.open[_ngcontent-%COMP%]{background-color:#0006;visibility:visible;transition:background-color .3s ease,visibility 0s linear 0s}.drawer-panel[_ngcontent-%COMP%]{position:fixed;top:0;right:0;width:360px;height:100vh;background-color:#fff;box-shadow:-4px 0 20px #00000026;transform:translate(100%);transition:transform .3s cubic-bezier(.4,0,.2,1);display:flex;flex-direction:column;z-index:1051}.drawer-panel.open[_ngcontent-%COMP%]{transform:translate(0)}.drawer-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:20px 24px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.drawer-header[_ngcontent-%COMP%]   .drawer-title[_ngcontent-%COMP%]{margin:0;font-size:18px;font-weight:600;color:#1a1a1a;font-family:Poppins,-apple-system,BlinkMacSystemFont,sans-serif}.drawer-header[_ngcontent-%COMP%]   .close-btn[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:4px;display:flex;align-items:center;justify-content:center;border-radius:50%;transition:background-color .2s ease}.drawer-header[_ngcontent-%COMP%]   .close-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:22px;width:22px;height:22px;color:#666}.drawer-header[_ngcontent-%COMP%]   .close-btn[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.drawer-header[_ngcontent-%COMP%]   .close-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#333}.drawer-content[_ngcontent-%COMP%]{flex:1;overflow-y:auto;padding:0}.drawer-content[_ngcontent-%COMP%]::-webkit-scrollbar{width:6px}.drawer-content[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.drawer-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#ddd;border-radius:3px}.drawer-content[_ngcontent-%COMP%]::-webkit-scrollbar-thumb:hover{background-color:#ccc}.loading-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;color:#888}.loading-state[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#0091ff;border-radius:50%;animation:_ngcontent-%COMP%_spin .8s linear infinite;margin-bottom:12px}.loading-state[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:80px 32px;text-align:center}.empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%]{font-size:56px;width:56px;height:56px;color:#ddd;margin-bottom:16px}.empty-state[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%]{margin:0 0 8px;font-size:16px;font-weight:500;color:#666}.empty-state[_ngcontent-%COMP%]   .empty-subtext[_ngcontent-%COMP%]{margin:0;font-size:13px;color:#999;line-height:1.5}.items-list[_ngcontent-%COMP%]{padding:8px 0}.cart-item[_ngcontent-%COMP%]{display:flex;align-items:center;padding:12px 24px;gap:14px;transition:background-color .15s ease}.cart-item[_ngcontent-%COMP%]:hover{background-color:#fafafa}.cart-item[_ngcontent-%COMP%]:hover   .delete-btn[_ngcontent-%COMP%]{opacity:1}.cart-item[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #f5f5f5}.item-thumbnail[_ngcontent-%COMP%]{flex-shrink:0;width:56px;height:56px;border-radius:8px;overflow:hidden;background-color:#f5f5f5;position:relative}.item-info[_ngcontent-%COMP%]{flex:1;min-width:0;display:flex;flex-direction:column;gap:4px}.item-info[_ngcontent-%COMP%]   .item-name[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#1a1a1a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.item-info[_ngcontent-%COMP%]   .item-meta[_ngcontent-%COMP%]{font-size:12px;color:#888}.delete-btn[_ngcontent-%COMP%]{flex-shrink:0;background:none;border:none;cursor:pointer;padding:6px;display:flex;align-items:center;justify-content:center;border-radius:50%;opacity:0;transition:opacity .15s ease,background-color .15s ease}.delete-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;color:#999}.delete-btn[_ngcontent-%COMP%]:hover{background-color:#ffebee}.delete-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#e53935}
3.drawer-footer[_ngcontent-%COMP%]{flex-shrink:0;padding:16px 24px 24px;border-top:1px solid #f0f0f0;background-color:#fff}.drawer-footer[_ngcontent-%COMP%]   .item-count[_ngcontent-%COMP%]{font-size:13px;color:#888;margin-bottom:12px;text-align:center}.drawer-footer[_ngcontent-%COMP%]   .checkout-btn[_ngcontent-%COMP%]{width:100%;padding:14px 24px;background-color:#1a1a1a;color:#fff;border:none;border-radius:12px;font-size:15px;font-weight:600;cursor:pointer;transition:background-color .2s ease,transform .1s ease;font-family:Poppins,-apple-system,BlinkMacSystemFont,sans-serif}.drawer-footer[_ngcontent-%COMP%]   .checkout-btn[_ngcontent-%COMP%]:hover{background-color:#333}.drawer-footer[_ngcontent-%COMP%]   .checkout-btn[_ngcontent-%COMP%]:active{transform:scale(.98)}@media(max-width:400px){.drawer-panel[_ngcontent-%COMP%]{width:100%}}  [data-bs-theme=dark] .drawer-backdrop.open{background-color:#000000a6!important}  [data-bs-theme=dark] .drawer-panel{background-color:#2d2d2f!important;box-shadow:-4px 0 24px #0009!important}  [data-bs-theme=dark] .drawer-header{border-bottom-color:#404045!important}  [data-bs-theme=dark] .drawer-header .drawer-title{color:#f7f7f8!important}  [data-bs-theme=dark] .drawer-header .close-btn mat-icon{color:#aeaeb2!important}  [data-bs-theme=dark] .drawer-header .close-btn:hover{background-color:#ffffff14!important}  [data-bs-theme=dark] .drawer-header .close-btn:hover mat-icon{color:#f7f7f8!important}  [data-bs-theme=dark] .drawer-content::-webkit-scrollbar-track{background:#1a1a1a!important}  [data-bs-theme=dark] .drawer-content::-webkit-scrollbar-thumb{background-color:#4b5563!important}  [data-bs-theme=dark] .drawer-content::-webkit-scrollbar-thumb:hover{background-color:#60a5fa!important}  [data-bs-theme=dark] .loading-state{color:#aeaeb2!important}  [data-bs-theme=dark] .loading-state .spinner{border-color:#404045!important;border-top-color:#60a5fa!important}  [data-bs-theme=dark] .empty-state .empty-icon{color:#404045!important}  [data-bs-theme=dark] .empty-state .empty-text{color:#eaeaeb!important}  [data-bs-theme=dark] .empty-state .empty-subtext{color:#cacbcf!important}  [data-bs-theme=dark] .cart-item:hover{background-color:#34363a!important}  [data-bs-theme=dark] .cart-item:not(:last-child){border-bottom-color:#404045!important}  [data-bs-theme=dark] .item-thumbnail{background-color:#2f3748!important}  [data-bs-theme=dark] .item-info .item-name{color:#eaeaeb!important}  [data-bs-theme=dark] .item-info .item-meta{color:#cacbcf!important}  [data-bs-theme=dark] .delete-btn mat-icon{color:#eaeaeb!important}  [data-bs-theme=dark] .delete-btn:hover{background-color:#ef444426!important}  [data-bs-theme=dark] .delete-btn:hover mat-icon{color:#f87171!important}  [data-bs-theme=dark] .drawer-footer{border-top-color:#404045!important;background-color:#2d2d2f!important}  [data-bs-theme=dark] .drawer-footer .item-count{color:#cacbcf!important}  [data-bs-theme=dark] .drawer-footer .checkout-btn{background-color:#1e3a5f!important;color:#f7f7f8!important;border:1px solid #2563EB!important}  [data-bs-theme=dark] .drawer-footer .checkout-btn:hover{background-color:#1d4ed8!important}"],changeDetection:0})}}return o})();var Mn=(()=>{class o{constructor(){this.handler=new F}broadcast(e,t={}){this.handler.next({type:e,payload:t})}subscribe(e,t){return this.handler.pipe(q(n=>n.type===e)).pipe(ie(n=>n.payload)).subscribe(t)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275prov=Te({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();var zr=["typeaheadsearch"],Fr=o=>({"int-user":o});function Nr(o,g){if(o&1){let e=y();a(0,"button",11),C("click",function(){O(e);let n=d();return P(n.clearSearchInput())}),a(1,"mat-icon"),m(2,"close"),s()()}}function Ur(o,g){if(o&1){let e=y();a(0,"button",12),C("click",function(){O(e);let n=d();return P(n.openAdvancedSearch())}),a(1,"mat-icon"),m(2,"tune"),s()()}}function Vr(o,g){if(o&1&&(a(0,"span"),m(1),s()),o&2){let e=d().result;r(),v(e.message)}}function Ar(o,g){if(o&1&&(a(0,"span"),m(1),s()),o&2){let e=d(2).result;r(),S(" - ",e.productId,"")}}function Br(o,g){if(o&1&&(a(0,"span"),m(1),M(2,Ar,2,1,"span",13),s()),o&2){let e=d().result,t=d();r(),S(" ",e.name||e.primaryTitleName||e.displayName||""," "),r(),l("ngIf",e.productId&&t.hasUpdatePermission)}}function jr(o,g){if(o&1&&(a(0,"div"),M(1,Vr,2,1,"span",13)(2,Br,3,2,"span",13),s()),o&2){let e=g.result;k("hint-message",e.isHint)("search-result-item",!e.isHint),r(),l("ngIf",e.isHint),r(),l("ngIf",!e.isHint)}}var Ti=(()=>{class o{constructor(e,t,n,i,c,p,u,x){this.router=e,this.titleService=t,this.changeLobRefreshService=n,this.permissionService=i,this.dialog=c,this.eventService=p,this.titleDataService=u,this.productDataService=x,this.searchError="",this.type="title",this.click$=new F,this.focus$=new F,this.hasUpdatePermission=!1,this.isAdvancedSearchOpen=!1,this.search=w=>{let I=w.pipe(At(300),so()),T=this.click$.pipe(q(()=>!this.typeaheadSearch?.isPopupOpen())),R=this.focus$;return Ut(I,R,T).pipe(gt(H=>!H||H.length<2?Ie([{isHint:!0,message:"Please enter at least 2 characters to search."}]):this.performTypeaheadSearch(H).pipe(St([{isHint:!0,message:"Loading..."}]))))},this.formatter=w=>{if(w.isHint)return w.message;if(w.productId&&this.hasUpdatePermission)return(w.name||w.primaryTitleName||w.displayName||"")+" - "+w.productId;if(!this.hasUpdatePermission)return w.name||w.primaryTitleName||w.displayName||""}}ngOnInit(){this.hasUpdatePermission=this.permissionService.canUpdate("PRODUCT"),this.clearHeaderSearchSub=this.eventService.subscribe("clear-header-search",()=>{this.clearSearchInput()}),this.changeLobRefreshService.refresh$.subscribe(()=>{this.clearSearchInput()})}ngOnDestroy(){this.clearHeaderSearchSub?.unsubscribe()}isIntSalesUser(){let e=["repertory","airline","inflight"],t=window.sessionStorage.getItem("currentUserLob")||"";return e.includes(t.toLocaleLowerCase())}performTypeaheadSearch(e){let n={searchConditionGroups:[{searchConditions:this.titleService.searchConditionsForTitleSearch(e),operator:"AN
3D"}],startIndex:0,endIndex:10,sortFields:[{fieldName:"us_release_year",className:"number",sortType:"DESCENDING",sortOrder:1}]};return this.titleService.searchTitle(n).pipe(ie(i=>{let c=i.data||[];return c.length===0?[{isHint:!0,message:"No results found"}]:c}))}searchinput(e,t){console.log("searchinput called with:",e,t);let n=(e||"").trim();if(n.length<2){this.click$.next(n);return}window.sessionStorage.removeItem("rootSeriesId"),this.titleDataService.clearCache(),this.productDataService.clearCache(),window.sessionStorage.removeItem("titleTemplatePreviousUrl"),this.typeaheadSearch&&this.typeaheadSearch.isPopupOpen()&&this.typeaheadSearch.dismissPopup(),t==="title"&&this.router.navigate(["/search",t,n])}selectedItem(e){e.preventDefault();let t=e.item;if(t.isHint)return;let n=t.productId;n&&(this.typeaheadSearch&&this.typeaheadSearch.isPopupOpen()&&this.typeaheadSearch.dismissPopup(),this.searchString="",sessionStorage.setItem("selectedTitleDetails",JSON.stringify(t)),sessionStorage.removeItem("rootSeriesId"),this.titleDataService.clearCache(),this.productDataService.clearCache(),this.router.navigate(["/customer/title/",n,"-1","-1"]))}onSubmitSearch(e){window.sessionStorage.removeItem("titleTemplatePreviousUrl"),e&&(e.preventDefault(),e.stopPropagation()),this.typeaheadSearch&&this.typeaheadSearch.isPopupOpen()&&this.typeaheadSearch.dismissPopup();let t=(this.searchString||"").trim();t.length>1?(this.searchinput(t,this.type),this.searchString=""):this.click$.next(t)}clearSearchInput(){this.searchString="",this.typeaheadSearch&&this.typeaheadSearch.isPopupOpen()&&this.typeaheadSearch.dismissPopup()}openAdvancedSearch(){if(this.isAdvancedSearchOpen)return;this.isAdvancedSearchOpen=!0;let e=this.dialog.open(ri,{width:"1000px",maxHeight:"90vh",autoFocus:!1,panelClass:"enterprise-advanced-search-dialog",hasBackdrop:!0,backdropClass:"transparent-backdrop",disableClose:!1,data:{initialValue:null}});e.backdropClick().subscribe(()=>{e.close()}),this.router.events.subscribe(t=>{e.getState()===0&&e.close()}),e.afterClosed().subscribe(t=>{this.isAdvancedSearchOpen=!1})}static{this.\u0275fac=function(t){return new(t||o)(_(j),_(Ko),_(Ae),_(Je),_(xe),_(Mn),_(ai),_(si))}}static{this.\u0275cmp=E({type:o,selectors:[["app-header-search"]],viewQuery:function(t,n){if(t&1&&G(zr,5),t&2){let i;V(i=A())&&(n.typeaheadSearch=i.first)}},standalone:!1,decls:13,vars:14,consts:[["titleSearchForm","ngForm"],["typeaheadsearch","ngbTypeahead"],["resultTemplate",""],[1,"search-bar",3,"ngClass"],[1,"searchbox","normal-searchbox"],[1,"searchbox-input"],["autocomplete","off",1,"title-top-search-form",3,"ngSubmit"],["aria-hidden","true",1,"fa","fa-search","normal-search",3,"click"],["id","typeahead-basic","name","src","type","text","elementClass",".dropdown-item.active","divClass",".dropdown-menu.show",3,"ngModelChange","selectItem","click","placeholder","ngModel","ngbTypeahead","resultFormatter","resultTemplate","inputFormatter","focusFirst"],["type","button","class","clear-search-btn","aria-label","Clear search",3,"click",4,"ngIf"],["type","button","class","advanced-search-btn","aria-label","Advanced Search",3,"click",4,"ngIf"],["type","button","aria-label","Clear search",1,"clear-search-btn",3,"click"],["type","button","aria-label","Advanced Search",1,"advanced-search-btn",3,"click"],[4,"ngIf"]],template:function(t,n){if(t&1){let i=y();a(0,"div",3)(1,"div",4)(2,"div",5)(3,"form",6,0),C("ngSubmit",function(p){return O(i),P(n.onSubmitSearch(p))}),a(5,"i",7),C("click",function(){return O(i),P(n.searchinput(n.searchString,n.type))}),s(),a(6,"input",8,1),f(8,"translate"),me("ngModelChange",function(p){return O(i),ge(n.searchString,p)||(n.searchString=p),P(p)}),C("selectItem",function(p){return O(i),P(n.selectedItem(p))})("click",function(p){return O(i),P(n.click$.next(p.target.value))}),s(),M(9,Nr,3,0,"button",9)(10,Ur,3,0,"button",10),s()(),M(11,jr,3,6,"ng-template",null,2,Q),s()()}if(t&2){let i=K(12);l("ngClass",Et(12,Fr,n.isIntSalesUser())),r(6),l("placeholder",b(8,10,"headerSearch.searchPlaceholder")),pe("ngModel",n.searchString),l("ngbTypeahead",n.search)("resultFormatter",n.formatter)("resultTemplate",i
3)("inputFormatter",n.formatter)("focusFirst",!1),r(3),l("ngIf",n.searchString==null?null:n.searchString.length),r(),l("ngIf",n.isIntSalesUser())}},dependencies:[mt,B,ne,Ot,bt,Ve,Ct,Mt,Fo,ei,J],styles:[".searchbox[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:100%;display:block;border:none;padding:10px 56px 10px 16px;border-radius:24px}.int-user[_ngcontent-%COMP%]   .searchbox[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{padding-right:110px}.searchbox.normal-searchbox[_ngcontent-%COMP%]{position:relative}.searchbox.normal-searchbox[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{position:absolute;top:14px;right:13px}.int-user[_ngcontent-%COMP%]   .searchbox.normal-searchbox[_ngcontent-%COMP%]   i[_ngcontent-%COMP%]{right:64px}.clear-search-btn[_ngcontent-%COMP%]{position:absolute;top:7px;right:36px;background:transparent;border:none;padding:4px;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center}.clear-search-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;color:#555}.int-user[_ngcontent-%COMP%]   .clear-search-btn[_ngcontent-%COMP%]{right:86px}.searchbox[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]:focus-visible{border:none!important;outline:none;box-shadow:1px 1px 1px #e5e5e5}.title-top-search-form[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;position:relative}.title-top-search-form[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{flex:1}.advanced-search-btn[_ngcontent-%COMP%]{background:transparent;border:none;cursor:pointer;display:flex;align-items:center;justify-content:center;padding:6px;border-radius:6px;transition:background .2s ease}.advanced-search-btn[_ngcontent-%COMP%]:hover{background:#f3f4f6}.advanced-search-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#555}  .search-bar .searchbox .searchbox-input .dropdown-menu .dropdown-item .hint-message{background-color:#fff!important;color:#000;cursor:default;pointer-events:all;font-style:italic;display:block}  .search-bar .searchbox .searchbox-input .dropdown-menu .dropdown-item:has(.hint-message){background-color:#fff!important;cursor:default;pointer-events:none}  .search-bar .searchbox .searchbox-input .dropdown-menu .dropdown-item:has(.hint-message):hover   .search-bar .searchbox .searchbox-input .dropdown-menu .dropdown-item:has(.hint-message):focus,   .search-bar .searchbox .searchbox-input .dropdown-menu .dropdown-item:has(.hint-message).active{background-color:#fff!important;color:inherit}  .search-bar .searchbox .searchbox-input .dropdown-menu .search-result-item{cursor:pointer}  [data-bs-theme=dark]   .searchBar .searchbox .dropdown-menu{background-color:#484848!important}  [data-bs-theme=dark] .clear-search-btn mat-icon{color:#fdfdfd!important}"]})}}return o})();var Yr=["removenotification"],Zr=()=>["/logout"];function Xr(o,g){o&1&&(a(0,"div",11),h(1,"app-header-search"),s())}function ea(o,g){if(o&1&&(a(0,"p")(1,"mat-icon",40),m(2,"location_on"),s(),m(3),s()),o&2){let e=d(4);r(3),S("",e.currentUserLob," ")}}function ta(o,g){if(o&1&&(a(0,"p")(1,"mat-icon"),m(2,"domain"),s(),m(3),s()),o&2){let e=d(4);r(3),S("",e.currentUserTerritory||e.currentUserTerritoryGroup," ")}}function na(o,g){if(o&1){let e=y();a(0,"div",23)(1,"div",24)(2,"div",25)(3,"div",26),m(4),s(),a(5,"div",27)(6,"p",28),m(7),s(),a(8,"p",29),m(9),s(),a(10,"div",30),M(11,ea,4,1,"p",31)(12,ta,4,1,"p",31),s()()()(),a(13,"div",32)(14,"div",33),C("click",function(){O(e);let n=d(3);return P(n.onProfileClick())}),a(15,"mat-icon"),m(16,"person_outline"),s(),a(17,"span"),h(18,"app-common-translate",21),s()(),a(19,"div",33),C("click",function(){O(e);let n=d(3);return P(n.onHelpClick())}),a(20,"mat-icon"),m(21,"help_outline"),s(),a(22,"span"),h(23,"app-common-translate",21),s()()(),a(24,"div",34)(25,"div",35)(26,"div",36)(27,"button",37),C("click",function(){O(e);let n=d(3);return P(n.changeMode("light"))}),a(28,"mat-icon"),m(29,"light_mode"),s()(),a(30,"button",38),C("click",function(){O(e);let n=d(3);return P(n.changeMode("dark"))}
3),a(31,"mat-icon"),m(32,"dark_mode"),s()()(),a(33,"button",39)(34,"mat-icon"),m(35,"logout"),s(),h(36,"app-common-translate",21),s()()()()}if(o&2){let e=d(3);r(4),S(" ",e.userInitials," "),r(3),v(e.userName),r(2),v(e.userEmail),r(2),l("ngIf",e.currentUserLob),r(),l("ngIf",e.currentUserTerritory||e.currentUserTerritoryGroup),r(6),l("key","topbar.profile"),r(5),l("key","topbar.help"),r(4),k("active",e.currentMode==="light"),r(3),k("active",e.currentMode==="dark"),r(3),l("routerLink",Fe(13,Zr)),r(3),l("key","topbar.logout")}}function oa(o,g){if(o&1&&(a(0,"span",41),m(1),s()),o&2){let e=g.ngIf;r(),S(" ",e>99?"99+":e," ")}}function ia(o,g){if(o&1){let e=y();a(0,"div",12)(1,"div",13)(2,"div",14)(3,"app-language-selector",15),C("languageChange",function(n){O(e);let i=d(2);return P(i.onLanguageChanged(n))}),s()()(),a(4,"div",16,0),C("click",function(){O(e);let n=d(2);return P(n.isOpen=!n.isOpen)}),a(6,"div",17),m(7),s()(),M(8,na,37,14,"ng-template",18),C("detach",function(){O(e);let n=d(2);return P(n.isOpen=!1)})("backdropClick",function(){O(e);let n=d(2);return P(n.isOpen=!1)})("overlayOutsideClick",function(){O(e);let n=d(2);return P(n.isOpen=!1)}),a(9,"div",19),C("click",function(){O(e);let n=d(2);return P(n.openMyKitDrawer())}),a(10,"mat-icon"),m(11,"folder_open"),s(),a(12,"span",20),h(13,"app-common-translate",21),s(),M(14,oa,2,1,"span",22),f(15,"async"),s()()}if(o&2){let e=K(5),t=d(2);r(3),l("showToggleButton",!0)("showFlags",!1),r(3),l("title",t.userName),r(),S(" ",t.userInitials," "),r(),l("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.isOpen)("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop"),r(5),l("key","topbar.myKit"),r(),l("ngIf",b(15,10,t.cartCount))}}function ra(o,g){o&1&&(D(0),h(1,"mat-progress-bar",49),a(2,"div",50)(3,"mat-icon",51),m(4,"sync"),s(),a(5,"span"),h(6,"app-common-translate",21),s()(),z()),o&2&&(r(6),l("key","topbar.reportStartedDownloading"))}function aa(o,g){o&1&&(D(0),a(1,"div",50)(2,"mat-icon",52),m(3,"check_circle"),s(),a(4,"span"),h(5,"app-common-translate",21),s()(),z()),o&2&&(r(5),l("key","topbar.reportsReadyForDownload"))}function sa(o,g){o&1&&(D(0),a(1,"div",50)(2,"mat-icon",52),m(3,"warning"),s(),a(4,"span"),h(5,"app-common-translate",21),s()(),z()),o&2&&(r(5),l("key","topbar.reportsPartial"))}function ca(o,g){o&1&&(D(0),a(1,"div",50)(2,"mat-icon",52),m(3,"error_outline"),s(),a(4,"span"),h(5,"app-common-translate",21),s()(),z()),o&2&&(r(5),l("key","topbar.downloadFailed"))}function la(o,g){if(o&1){let e=y();a(0,"div",53)(1,"app-download-status-modal",54),C("closeModal",function(){O(e);let n=d(3);return P(n.isDownloadStatusOpen=!1)}),s()()}}function da(o,g){if(o&1){let e=y();a(0,"button",55),f(1,"translate"),C("click",function(){O(e);let n=d(3);return P(n.dismissStatusBar())}),a(2,"mat-icon"),m(3,"close"),s()()}o&2&&l("matTooltip",b(1,1,"topbar.dismissNotification"))}function pa(o,g){if(o&1){let e=y();a(0,"div",42),D(1,43),M(2,ra,7,1,"ng-container",44)(3,aa,6,1,"ng-container",44)(4,sa,6,1,"ng-container",44)(5,ca,6,1,"ng-container",44),z(),a(6,"div",45)(7,"button",46,1),C("click",function(){O(e);let n=d(2);return P(n.toggleDownloadStatusPopup())}),h(9,"app-common-translate",21),a(10,"mat-icon"),m(11,"keyboard_arrow_down"),s()(),M(12,la,2,0,"ng-template",47),C("backdropClick",function(){O(e);let n=d(2);return P(n.isDownloadStatusOpen=!1)})("overlayOutsideClick",function(){O(e);let n=d(2);return P(n.isDownloadStatusOpen=!1)})("detach",function(){O(e);let n=d(2);return P(n.isDownloadStatusOpen=!1)}),M(13,da,4,3,"button",48),s()()}if(o&2){let e=K(8),t=d(2);l("ngClass",t.exportStatus),r(),l("ngSwitch",t.exportStatus),r(),l("ngSwitchCase","downloading"),r(),l("ngSwitchCase","success"),r(),l("ngSwitchCase","partial"),r(),l("ngSwitchCase","error"),r(4),l("key","topbar.downloadStatus"),r(3),l("cdkConnectedOverlayOrigin",e)("cdkConnectedOverlayOpen",t.isDownloadStatusOpen)("cdkConnectedOverlayHasBackdrop",!0)("cdkConnectedOverlayBackdropClass","cdk-overlay-transparent-backdrop")("cdkConnectedOverlayPositions",t.downloadStatusPositions)("cdkConnectedOverlayPush",!0),r(),l("ngIf",t.exportStatus==="success"||t.exportStatus==="partial"||t.exportStatus==="error")}}function ga(o,g){if(o&1&&(a(0,"header",4)(1,"div",5)(2,"div",6),h(3,"app-brand-logo",7),M(4,Xr,2,0,"div",8)(5,ia,16,12,"div",9),s()(),M(6,pa,14,14,"div",10),s()),o&2){let e=d();r(3),l("disabled",e.isPreviewEnabled||e.isShareLinkView||e.hasGpmsIdParam),r(),l("ngIf",!e.isPreviewEnabled&&!e.hasGpmsIdParam&&!e.isShareLinkView),r(),l("ngIf",!e.isPreviewEnabled&&!e.hasGpmsIdParam&&!e.isShareLinkView),r(),l("ngIf",e.exportStatus!=="idle")}}function ma(o,g){o&1&&(a(0,"div",64),h(1,"app-header-search"),s())}function ua(o,g){if(o&1){let e=y();a(0,"header",56)(1,"div",5)(2,"div",57)(3,"div",58)(4,"button",59),f(5,"translate"),C("click",function(){O(e);let n=d();
3return P(n.mobileMenuButtonClicked.emit())}),a(6,"mat-icon"),m(7,"menu"),s()(),h(8,"app-brand-logo",7),s(),a(9,"div",60),f(10,"translate"),a(11,"button",61),f(12,"translate"),C("click",function(){O(e);let n=d();return P(n.toggleMobileSearch())}),a(13,"mat-icon"),m(14),s()(),a(15,"button",62),f(16,"translate"),a(17,"mat-icon"),m(18,"help_outline"),s()()()(),M(19,ma,2,0,"div",63),s()()}if(o&2){let e=d();r(4),U("aria-label",b(5,7,"topbar.toggleNavigationMenu")),r(4),l("disabled",e.isPreviewEnabled||e.isShareLinkView||e.hasGpmsIdParam),r(),U("aria-label",b(10,9,"topbar.mobileQuickActions")),r(2),U("aria-label",b(12,11,"topbar.toggleSearch")),r(3),v(e.showMobileSearch?"close":"search"),r(),U("aria-label",b(16,13,"topbar.help")),r(4),l("ngIf",e.showMobileSearch)}}var Pn=(()=>{class o{get domainLogoDark(){return this.domainConfig?.logoDark||null}get domainLogoLight(){return this.domainConfig?.logoLight||this.domainConfig?.logoDark||null}constructor(e,t,n,i,c,p,u,x,w,I,T,R,H,Se,ye,pt,xn,vn,yn,wn,kn,Sn,In,Tn,Ln,En,Dn,zn,Ji,Yi,Zi,Xi){this.document=e,this.languageService=t,this.modalService=n,this.authService=i,this.snackBar=c,this.loginResponseHandler=p,this.translateService=u,this.router=x,this.permissionService=w,this.adminServiceService=I,this.masterService=T,this.store=R,this.apStateStore=H,this.masterStore=Se,this.fb=ye,this.eRef=pt,this.authConnectorsService=xn,this.roleService=vn,this.translationLoader=yn,this.userPreferenceService=wn,this.appInitService=kn,this.refreshEventService=Sn,this.eventsService=In,this.cartService=Tn,this.changeLobRefreshService=Ln,this.navigationService=En,this.manageHomepageService=Dn,this.themeService=zn,this.exportStatusService=Ji,this.toastService=Yi,this.cdr=Zi,this.dialog=Xi,this.isMobileView=!1,this.isPreviewEnabled=!1,this.hasGpmsIdParam=!1,this.isShareLinkView=!1,this.lobs$=this.masterStore.masterLobs$,this.territories$=this.masterStore.masterTerritories$,this.languages$=this.masterStore.masterLanguages$,this.lobTerritoryLanguageMapping$=this.masterStore.lobTerritoryLanguageMap$,this.currentMode="light",this.showTerritoryDropdown=!0,this.showDropdown=!1,this.showMobileSearch=!1,this.mobileMenuButtonClicked=new Z,this.total=0,this.cart_length=0,this.totalNotify=0,this.newNotify=0,this.readNotify=0,this.isDropdownOpen=!1,this.languages={},this.defaultInitialized=!1,this.selectedTerritory="",this.selectedLanguage="EN",this.territoryHasDirectItems=!1,this.territoryHasGroupItems=!1,this.territories=[],this.filteredLanguages=[],this.currentLanguage=null,this.filteredLanguageOptions=[],this.appLanguages=[{code:"en",label:"English"},{code:"fr",label:"Fran\xE7ais"},{code:"de",label:"Deutsch"}],this.userName="",this.userEmail="",this.userInitials="",this.isOpen=!1,this.masterLobData=[],this.masterTerritoryData=[],this.lobOptions=[],this.territoryOptions=[],this.allLobTerritoryMap={},this.languageOptions=[],this.lobLanuageOptions=[],this.destroy$=new F,this.languageInitialized=!1,this.defaultLanguageId=null,this.showLobDropdown=!1,this.expandedLob=null,this.enableLobDropdown=!1,this.exportStatus="idle",this.isDownloadStatusOpen=!1,this.downloadStatusPositions=[{originX:"end",originY:"bottom",overlayX:"end",overlayY:"top",offsetY:8},{originX:"end",originY:"top",overlayX:"end",overlayY:"bottom",offsetY:-8},{originX:"start",originY:"bottom",overlayX:"start",overlayY:"top",offsetY:8}],this.compareNumericValues=(fe,tt)=>fe==null&&tt==null?!0:fe==null||tt==null?!1:Number(fe)===Number(tt),this.compareStringValues=(fe,tt)=>fe==null&&tt==null?!0:fe==null||tt==null?!1:String(fe)===String(tt),this.listLang=[{text:"English",flag:"assets/images/flags/us.svg",lang:"en"},{text:"Espa\xF1ola",flag:"assets/images/flags/spain.svg",lang:"es"},{text:"Deutsche",flag:"assets/images/flags/germany.svg",lang:"de"},{text:"Italiana",flag:"assets/images/flags/italy.svg",lang:"it"},{text:"\u0440\u0443\u0441\u0441\u043A\u0438\u0439",flag:"assets/images/flags/russia.svg",lang:"ru"},{text:"\u4E2D\u56FD\u4EBA",flag:"assets/images/flags/china.svg",lang:"ch"},{text:"fran\xE7ais",flag:"assets/images/flags/french.svg",lang:"fr"},{text:"Arabic",flag:"assets/images/flags/ar.svg",lang:"ar"}],this.selectedLobId$=this.apStateStore.select(fe=>fe.master.selectedLobId),this.selectedTerritoryId$=this.apStateStore.select(fe=>fe.master.selectedTerritoryId),this.selectedLanguageId$=this.apStateStore.select(fe=>fe.master.selectedLanguageId),this.lobTerritoryForm=this.fb.group({lob:[""],lobId:[""],territory:[""],territoryId:[""],territoryGroup:[""],territoryGroupId:[""],language:[""],languageId:[""]}),this.getCartCount()}get currentI18nLanguage(){return this.translateService.currentLang||this.translateService.defaultLang}getCartCount(){this.cartCount=this.cartService.cartCount$,this.isCartDrawerOpen=this.cartService.isDrawerOpen$}navigateToLanding(){window.sessionStorage.removeItem("eventTemplateActiveMenu"),window.localStorage.removeItem("eventTemplateActiveMenu"),window.sessionStorage.removeItem("redirectUrl"),window.sessionStorage.removeItem("app_redirect_url"),sessionStorage.removeItem("spotlightPackageData"),sessionStorage.removeItem("spotlightBackgroun
3d"),localStorage.removeItem("backToPreviousUrl"),this.navigationService.consumeRedirectUrl(),this.router.navigateByUrl("/")}onAppLanguageChange(e){let n=e.target.value?.toString().trim();n&&this.translateService.use(n)}ngOnInit(){this.isPreviewEnabled=sessionStorage.getItem("isPreviewEnabled")==="true",this.isShareLinkView=sessionStorage.getItem("isShareLinkView")==="true",this.hasGpmsIdParam=this.router.url.includes("gpmsId="),this.router.events.pipe(q(e=>e instanceof _t),L(this.destroy$)).subscribe(e=>{this.hasGpmsIdParam=e.urlAfterRedirects.includes("gpmsId=")}),this.currentMode=this.themeService.getTheme(),document.documentElement.setAttribute("data-bs-theme",this.currentMode),this.themeService.theme$.pipe(L(this.destroy$)).subscribe(e=>{this.currentMode=e}),this.updateViewportMode(),this.fetchUserDetails(),this.changeLobRefreshService.refresh$.pipe(L(this.destroy$)).subscribe(()=>{this.refreshTopbar()}),sessionStorage.getItem("shareLinkCode")||this.cartService.loadCart(),this.userDetails=this.userPreferenceService.getPreferences(),this.userName=this.userDetails.name||"",this.userEmail=this.userDetails.email||"",this.userInitials=this.generateUserInitials(this.userName),this.userPreferenceService.preferences$.pipe(L(this.destroy$)).subscribe(e=>{e&&(this.userName=e.name||"",this.userEmail=e.email||"",this.userInitials=this.generateUserInitials(this.userName))}),this.currentUserLob=sessionStorage.getItem("currentUserLob")||null,this.currentUserTerritory=sessionStorage.getItem("currentUserTerritory")||null,this.currentUserTerritoryGroup=sessionStorage.getItem("userPreferences")?JSON.parse(sessionStorage.getItem("userPreferences")||"{}").defaultTerritoryGroup:null,this.lobTerritoryLanguageMapping$.pipe(L(this.destroy$)).subscribe(e=>{this.lobTerritoryLanguageMapping=e||[],this.defaultLanguageId=sessionStorage.getItem("defaultLanguageId")?Number(sessionStorage.getItem("defaultLanguageId")):null}),this.dropdownForm=new zo({lob:new Ht,territory:new Ht,language:new Ht}),this.masterStore.lobLanguageFiles$.pipe(L(this.destroy$)).subscribe(e=>{if(console.log("Available language files:",e),e){let t=this.userPreferenceService.getPreferences(),n=t?.defaultLanguage?.toUpperCase()||null,i=t?.defaultLanguageId||null,c=sessionStorage.getItem("userPreferredLanguage"),p=(t?.userPreferredLanguage||c||"").toString().replace(/"/g,"").toLowerCase().trim();this.languageOptions=Object.entries(e).map(([u,x])=>{let w=x.languageCode?.toUpperCase()||"XX",I=`assets/Translation/Flags/${w}.svg`;return{id:x.languageId||Number(u),code:w,languageName:x.languageName,flag:I}}),console.log("Language options:",this.languageOptions),this.currentLanguage=(p?this.languageOptions.find(u=>u.languageName?.toLowerCase()===p):null)||this.languageOptions.find(u=>u.id===Number(i)||u.code===n)||this.languageOptions.find(u=>u.code==="EN")||this.languageOptions[0],this.currentLanguage&&(this.languageOptions=this.reorderLanguageOptions(this.languageOptions,this.currentLanguage))}}),this.element=document.documentElement,this.loadMasterData(),this.exportStatusService.status$.pipe(L(this.destroy$)).subscribe(e=>{console.log("\u{1F535} Export status changed:",e),this.exportStatus=e,this.cdr.detectChanges(),console.log("\u{1F535} Export status updated in component:",this.exportStatus)})}reorderLanguageOptions(e,t){if(!Array.isArray(e)||!t)return e;let n=t.id,i=t.languageName?.toLowerCase(),c=e.findIndex(x=>x?.id===n||x?.languageName?.toLowerCase()===i);if(c<=0)return e;let p=[...e],[u]=p.splice(c,1);return p.unshift(u),p}fetchUserDetails(){let t=this.userPreferenceService.getPreferences()?.config;this.domainConfig=t}onLobSelect(e){let t=this.allLobTerritoryMap[e.lobName];if(!Object.keys(t||{}).filter(p=>p!=="permissions").some(p=>{let u=t[p];return typeof u=="object"&&(u?.territoryId||u?.territoryGroupId)})){this.lobTerritoryForm.patchValue({lobId:e.lobId,lob:e.lobName,territory:null,territoryId:null,territoryGroup:null,territoryGroupId:null}),this.currentUserLob=e.lobName,this.currentUserTerritory=null,window.sessionStorage.removeItem("eventTemplateActiveMenu"),window.localStorage.removeItem("eventTemplateActiveMenu"),this.userPreferenceService.setPreferences({defaultLobId:e.lobId,defaultLob:e.lobName,preferredLanguage:t?.preferredLanguage??null,userLoginType:t?.userLoginType??null}),this.updateSelectedLobTerritory("lob"),this.updateLanguageOptions(e.lobName);return}if(this.expandedLob===e.lobName){this.expandedLob=null;return}this.expandedLob=e.lobName,this.lobTerritoryForm.patchValue({lobId:e.lobId,lob:e.lobName},{emitEvent:!1}),this.currentUserLob=e.lobName,this.appInitService.setConfigByLob(e.lobId);let c=this.appInitService.getConfig();this.domainConfig=c?JSON.parse(c):null,this.userPreferenceService.setPreferences({defaultLobId:e.lobId,defaultLob:e.lobName,preferredLanguage:t?.preferredLanguage??null,userLoginType:t?.userLoginType??null}),this.updateTerritoryOptionsWithoutRouting(e.lobId,e.lobName)}updateTerritoryOptionsWithoutRouting(e,t){let n=this.allLobTerritoryMap[t];if(this.lobTerritoryForm.get("lob")?.setValue(t,{emitEvent:!1}),this.showTerritoryDropdown=t.toLowerCase()!=="television",!n||typeof n!="object"){this.territoryOptions=[];return}let i=Object.keys(n).filter(p=>p!=="permissions");if(!i.some(p=>{let u=n[p];return typeof u=="object"&&(u?.territoryId||u?.territoryGroupId)})){console.log("\u{1F535} Metadata-only LOB detected:",t),this.territoryOptions=[];return}this.territoryOptions=i.map(p=>{let u=n[p];return{id:u.territoryId,displayName:p,territoryName:u.territoryName,territoryId:u.territoryId,territoryGroupName:u.territoryGroup??null,territoryGroupId:u.territoryGroupId??null,language:u.language,languageId:u.languageId,preferredLanguage:u.preferredLanguage??null,userLoginType:u.userLoginType??null}}),this.updateTerritorySections()}onTerritorySelect(e,t){t.stopPropagation();let n=this.lobTerritoryForm.get("lobId")?.value;this.lobTerritoryForm.patchValue({territory:e.territoryName,territoryId:e.territoryId??null,territoryGroup:e.territoryGroupName??null,territoryGroupId:e.territoryGroupId??null,language:e.language??null,languageId:e.languageId??null}),this.currentUserLob=this.lobTerritoryForm.get("lob")?.value||this.currentUserLob,this.currentUserTerritory=e.territoryGroupName||e.territoryName||null,this.userPreferenceService.setPreferences({defaultTerritory:e.territoryName??null,defaultTerritoryId:e.territoryId??null,defaultTerritoryGroup:e.territoryGroupName??null,defaultTerritoryGroupId:e.territoryGroupId??null,defaultLanguage:e.language??null,defaultLanguageId:e.languageId??null,preferredLanguage:e.preferredLanguage??null,userLoginType:e.userLoginType??null}),n&&this.updateLanguageOptions(this.lobTerritoryForm.get("lob")?.value),this.updateSelectedLobTerritory("territory")}isSelectedTerritory(e){let t=this.lobTerritoryForm.get("territory")?.value,n=this.lobTerritoryForm.get("lob")?.value;return t===e.territoryName&&n===this.expandedLob}generateUserInitials(e){if(!e||typeof e!="string")return"U";let t=e.trim().replace(/\s+/g," ");
3if(!t)return"U";let n=t.split(" ").filter(p=>p.length>0);if(n.length===0)return"U";if(n.length===1)return n[0].substring(0,2).toUpperCase();let i=n[0].charAt(0),c=n[n.length-1].charAt(0);return(i+c).toUpperCase()}onProfileClick(){console.log("Profile clicked!"),this.router.navigate(["/admin/users/user-profile"]),this.isOpen=!1}onHelpClick(){this.isOpen=!1,this.manageHomepageService.getUserGuideDetails().pipe(we(1),ie(e=>e?.data??e??[]),ie(e=>e.filter(t=>Number(t?.isDeleted??0)!==1)),ie(e=>e[0]),gt(e=>{let t=e?.storageKey||e?.s3Key;return t?this.manageHomepageService.getUserGuideFileByS3Key(t).pipe(ie(n=>({blob:n,file:e}))):(this.snackBar.open(this.translateService.instant("sidebar.userGuideNotAvailable"),this.translateService.instant("common.Close"),{duration:3e3}),Ie(null))}),Vt(()=>(this.snackBar.open(this.translateService.instant("sidebar.loadFileFailed"),this.translateService.instant("common.Close"),{duration:3e3}),Ie(null)))).subscribe(e=>{if(!e?.blob)return;let t=new Blob([e.blob],{type:"application/pdf"}),n=URL.createObjectURL(t),i=this.getUserGuideDownloadFileName(e.file),c=document.createElement("a");c.href=n,c.download=i,c.style.display="none",document.body.appendChild(c),c.click(),c.remove(),this.toastService.showSuccess(`${i} ${this.translateService.instant("common.downloadedSuccessfully")}`,this.translateService.instant("common.Close"),void 0,3e3),setTimeout(()=>URL.revokeObjectURL(n),1e4)})}getUserGuideDownloadFileName(e){let n=(e?.fileName||e?.name||e?.originalFileName||e?.originalFilename||"").toString().trim();if(n)return n;let i=(e?.storageKey||e?.s3Key||"").toString().trim();if(i){let c=i.split("/").filter(Boolean),p=c[c.length-1]||"",u=decodeURIComponent(p).trim();if(u)return u}return"User Guide.pdf"}toggleDownloadStatusPopup(){this.isDownloadStatusOpen=!this.isDownloadStatusOpen}refreshTopbar(){this.fetchUserDetails(),this.getCartCount(),this.currentUserLob=sessionStorage.getItem("currentUserLob")||this.currentUserLob,this.currentUserTerritory=sessionStorage.getItem("currentUserTerritory")||null,this.currentUserTerritoryGroup=sessionStorage.getItem("userPreferences")?JSON.parse(sessionStorage.getItem("userPreferences")||"{}").defaultTerritoryGroup:null}toggleLanguageDropdown(){this.isOpen&&(this.isOpen=!1),this.showDropdown=!this.showDropdown,console.log("\u{1F310} Language dropdown toggled:",this.showDropdown)}toggleMobileSearch(){this.showMobileSearch=!this.showMobileSearch}onWindowResize(){this.updateViewportMode()}updateViewportMode(){this.isMobileView=window.innerWidth<=1023,this.isMobileView||(this.showMobileSearch=!1)}onClickOutside(e){let t=e.target,n=this.eRef.nativeElement.querySelector(".globe-button"),i=this.eRef.nativeElement.querySelector(".language-dropdown-menu");this.showDropdown&&!n?.contains(t)&&!i?.contains(t)&&(this.showDropdown=!1,console.log("\u{1F512} Language dropdown closed (click outside)")),this.eRef.nativeElement.contains(e.target)||(this.showDropdown=!1);let c=this.eRef.nativeElement.querySelector(".user-profile"),p=this.eRef.nativeElement.querySelector(".profile-dropdown");this.isOpen&&!c?.contains(t)&&!p?.contains(t)&&(this.isOpen=!1)}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}hasValidTerritories(){return!this.territoryOptions||this.territoryOptions.length===0?!1:this.territoryOptions.some(e=>e.territoryId&&!e.territoryGroupId||!e.territoryId&&e.territoryGroupId)}hasTerritoriesForLob(e){let t=this.allLobTerritoryMap[e];return!t||typeof t!="object"?!1:Object.keys(t).filter(i=>i!=="permissions").some(i=>{let c=t[i];return typeof c=="object"&&(c?.territoryId||c?.territoryGroupId)})}loadMasterData(){this.masterStore.lobTerritoryGroupByUser$.pipe(L(this.destroy$)).subscribe(e=>{if(console.log("\u{1F504} LOB-Territory data loaded in Topbar:",e),!e||Object.keys(e).length===0||(this.allLobTerritoryMap=e,this.lobOptions=Object.keys(e).map(n=>{let i=e[n],c=null;if(i&&typeof i=="object"&&!("lobId"in i)){let p=Object.keys(i)[0];c=i[p]?.lobId??null}else c=i?.lobId??null;return{id:n,lobName:n,lobId:c??null}}),this.enableLobDropdown=!0,this.setDefaultLobTerritoryFromSession(),this.lobOptions.length===0))return;this.enableLobDropdown=this.lobOptions.length>1;let t=this.lobTerritoryForm.get("lobId")?.value;if(this.defaultInitialized&&t){console.log("\u{1F7E2} Rebinding selected LOB after rebuild"),Promise.resolve().then(()=>{this.lobTerritoryForm.get("lobId")?.setValue(t,{emitEvent:!1})});return}if(this.lobOptions.length===1){let n=this.lobOptions[0];this.lobTerritoryForm.patchValue({lob:n.lobName,lobId:n.lobId}),this.updateTerritoryOptions(n.lobId,n.lobName),this.updateLanguageOptions(n.lobName),this.defaultInitialized=!0;return}if(!this.defaultInitialized){let n=this.userPreferenceService.getPreferences(),i=n?.defaultLob,c=n?.defaultLobId;i&&this.allLobTerritoryMap[i]&&(console.log("\u{1F535} Restoring LOB after reload"),this.lobTerritoryForm.patchValue({lob:i,lobId:c},{emitEvent:!1}),this.updateTerritoryOptions(c,i)),this.defaultInitialized=!0;return}t&&Promise.resolve().then(()=>{this.lobTerritoryForm.get("lobId")?.setValue(t,{emitEvent:!1})})})}trackByLobId(e,t){return t.lobId}onLobChange(e){let t=Number(e.target.value),n=this.lobOptions.find(i=>i.lobId===t);if(!n){console.error("\u274C No matching LOB found");return}this.lobTerritoryForm.patchValue({lobId:n.lobId,lob:n.lobName}),window.sessionStorage.removeItem("redirectUrl"),this.updateTerritoryOptions(n.lobId,n.lobName),this.updateLanguageOptions(n.lobName),this.userPreferenceService.setPreferences({defaultLobId:n.lobId,defaultLob:n.lobName,preferredLanguage:(()=>{let i=this.allLobTerritoryMap[n.lobName],c=this.lobTerritoryForm.get("territory")?.value,p=this.lobTerritoryForm.get("territoryGroup")?.value;return c&&i?.[c]?i[c].preferredLanguage??null:p&&i?.[p]?i[p].preferredLanguage??null:i?.preferredLanguage??null})(),userLoginType:(()=>{let i=this.allLobTerritoryMap[n.lobName],c=this.lobTerritoryForm.get("territory")?.value,p=this.lobTerritoryForm.get("territoryGroup")?.value;return c&&i?.[c]?i[c].userLoginType??null:p&&i?.[p]?i[p].userLoginType??null:i?.userLoginType??null})()}),this.appInitService.setConfigByLob(n.lobId),setTimeout(()=>{this.updateSelectedLobTerritory("lob")},100)}updateSelectedLobTerritory(e){console.log("\u{1F7E2} ========== UPDATE LOB/TERRITORY (NO DOMAIN SWITCH) ==========");let t=this.lobTerritoryForm.value;console.log("\u{1F7E2} Step 1: Form data:",t);let n=this.userDetails.email||"";console.log("\u{1F7E2} Step 2: User email:",n);let i={userEmail:n,lobTerritoryId:this.getLoggedUserLobTerritoryId()};if(console.log("\u{1F7E2} Step 4: Payload prepared:",i),!t.lobId){console.warn("\u26A0\uFE0F No LOB ID found, skipping update");return}this.adminServiceService.updateLobTerritorySelection(i).subscribe({next:c=>Nt(this,null,function*(){if(sessionStorage.setItem("loggedIn","true"),!this.authService.isAuthenticated()){console.warn("\u26A0\uFE0F Authentication check failed");return}yield this.loginResponseHandler.processLoginResponse(c,{loginEmail:n,loginType:"externalUser",isTCCheck:this.userDetails?.config?.isTCCheck,isLobChange:!0}),this.changeLobRefreshService.triggerRefresh(),this.manageHomepageService.clearReleaseScheduleFilesCache(),this.manageHomepageService.loadReleaseScheduleFilesCache().subscribe({next:()=>console.log("\u2705 Release schedule cache reloaded after LOB/territory change"),error:p=>console.error("\u274C Error reloading release schedule cache:",p)})}),error:c=>{console.error("\u274C ========== API ERROR =========="),console.error("\u274C Error in updateLobTerritorySelection:",c),console.error("\u274C Error details:",{status:c.status,statusText:c.statusText,message:c.message,error:c.error,url:c.url}),console.error("\u274C Failed payload was:",i),console.error("\u274C Change type was:",e)}}),console.log("\u{1F4DD} Form lob value:",this.lobTerritoryForm.get("lob")?.value),console.log("\u{1F7E2} ========== END UPDATE LOB/TERRITORY ==========")}onTerritoryChange(e){let t=e.target.value,n=this.territoryOptions.find(i=>i.displayName===t);if(!n){console.warn("\u26A0\uFE0F No matching territory found for:",t);return}this.lobTerritoryForm.patchValue({territory:n.displayName,territoryId:n.territoryId,territoryGroup:n.territoryGroupName??null,territoryGroupId:n.territoryGroupId??null,language:n.language,languageId:n.languageId}),window.sessionStorage.removeItem("redirectUrl"),this.updateSelectedLobTerritory("territory")}updateTerritoryOptions(e,t){let n=this.allLobTerritoryMap[t];if(this.userDetails=this.userPreferenceService.getPreferences(),this.lobTerritoryForm.get("lob")?.setValue(t),this.showTerritoryDropdown=t.toLowerCase()!=="television",!n||typeof n!="object"){this.territoryOptions=[];return}let i=Object.keys(n).filter(u=>u!=="permissions");if(!i.some(u=>{let x=n[u];return typeof x=="object"&&(x?.territoryId||x?.territoryGroupId)})){console.log("\u{1F535} Metadata-only LOB detected:",t),this.territoryOptions=[],this.lobTerritoryForm.patchValue({lob:t,lobId:e,territory:n?.territory??null,territoryId:n?.territoryId??null,territoryGroup:n?.territoryGroup??null,territoryGroupId:n?.territoryGroupId??null,language:n?.language??null,languageId:n?.languageId??null});return}this.territoryOptions=i.map(u=>{let x=n[u];return{id:x.territoryId,displayName:u,territoryName:x.territoryName,territoryId:x.territoryId,territoryGroupName:x.territoryGroup??null,territoryGroupId:x.territoryGroupId??null,language:x.language,languageId:x.languageId}});let p;if(this.defaultInitialized)p=this.territoryOptions[0];else{let u=this.userDetails?.defaultTerritoryId,x=this.userDetails?.defaultTerritoryGroupId,w=this.userDetails?.defaultLanguageId;p=this.territoryOptions.find(I=>I.territoryId===u&&I.languageId===w)||this.territoryOptions.find(I=>I.territoryId===u)||this.territoryOptions.find(I=>I.territoryGroupId===x)||this.territoryOptions[0],console.log("\u{1F535} Restore selected territory/group:",{defaultTerritoryId:u,defaultTerritoryGroupId:x,selected:p?.displayName})}this.lobTerritoryForm.patchValue({lob:t,lobId:e,territory:p?.dis
3playName??null,territoryId:p?.territoryId??null,territoryGroup:p?.territoryGroupName??null,territoryGroupId:p?.territoryGroupId??null,language:p?.language??null,languageId:p?.languageId??null}),console.log("\u{1F535} Updating preferences for LOB with territories:",t),console.log("\u2705 Preferences updated for territory-based LOB"),this.updateTerritorySections()}updateTerritorySections(){if(!this.territoryOptions||!this.territoryOptions.length){this.territoryHasDirectItems=!1,this.territoryHasGroupItems=!1;return}this.territoryHasDirectItems=this.territoryOptions.some(e=>!!e.territoryId),this.territoryHasGroupItems=this.territoryOptions.some(e=>!!e.territoryGroupId)}onFlagError(e){let t=e.target;t.src="assets/images/dummy_thumbnail.jpg"}setDefaultLobTerritoryFromSession(){this.userDetails=this.userPreferenceService.getPreferences();let e=this.userDetails?.defaultLob||null,t=this.userDetails?.defaultLobId||null,n=this.userDetails?.defaultTerritory||null,i=this.userDetails?.defaultTerritoryId||null;e&&this.allLobTerritoryMap[e]&&(this.lobTerritoryForm.get("lob")?.setValue(e),this.lobTerritoryForm.get("lobId")?.setValue(t),this.updateTerritoryOptions(t,e),n&&n!==""&&this.territoryOptions.find(p=>p.territoryId===i||p.territoryGroupId===this.userDetails?.defaultTerritoryGroupId)&&this.lobTerritoryForm.get("territory")?.setValue(String(n)),this.updateSessionPermissions()),console.log("User Details in Topbar:",this.lobTerritoryForm.value)}updateLanguageOptions(e){let t=this.lobTerritoryLanguageMapping[e];if(!t){let c=this.languageOptions.find(p=>p.languageName.toLowerCase()==="english")?.flag||"assets/images/dummy_thumbnail.jpg";this.lobLanuageOptions=[{id:1,languageName:"English",flag:c}];return}let n=[];Object.values(t).forEach(c=>{Array.isArray(c)&&c.forEach(p=>{p.primaryLanguage&&p.primaryLanguageId&&p.primaryLanguage.toLowerCase()!=="all languages"&&n.push({id:p.primaryLanguageId,languageName:p.primaryLanguage})})});let i=new Map;n.forEach(c=>i.set(c.id,c.languageName)),this.lobLanuageOptions=Array.from(i,([c,p])=>{let u=this.languageOptions.find(x=>x.languageName.toLowerCase()===p.toLowerCase());return{id:c,languageName:p,flag:u?u.flag:"assets/images/dummy_thumbnail.jpg"}}),!(this.defaultLanguageId&&this.lobLanuageOptions.find(p=>p.id===this.defaultLanguageId))&&this.lobLanuageOptions.length>0}selectLanguage(e){e&&(this.languageOptions=this.reorderLanguageOptions(this.languageOptions,e),sessionStorage.setItem("currentLanguage",JSON.stringify(e.languageName)),sessionStorage.setItem("userPreferredLanguage",JSON.stringify(e.languageName)),this.currentLanguage=e,this.userPreferenceService.setPreferences({defaultLanguageId:e.id,defaultLanguageCode:e.code,userPreferredLanguage:e.languageName}),this.translationLoader.initTranslations().subscribe(()=>{console.log("\u2705 Translations reloaded for",e.languageName)}),this.store.dispatch(ae({languageId:e.id})),this.showDropdown=!1,window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}})))}updateCurrentLanguage(){let e=sessionStorage.getItem("currentLanguage"),t=e?e.replace(/"/g,""):null;if(!t){let n=this.userPreferenceService.getPreferences();if(n?.userPreferredLanguage){this.currentLanguage=this.languageOptions.find(i=>i.languageName===n.userPreferredLanguage);return}}this.currentLanguage=this.languageOptions.find(n=>n.languageName===t)}onLanguageChanged(e){e&&window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}}))}onLanguageChange(e){sessionStorage.setItem("currentLanguage",e.languageName),this.translationLoader.initTranslations(),this.store.dispatch(ae({languageId:e})),this.updateCurrentLanguage()}getSelectedPermissions(){let e=this.userDetails.defaultLob,t=this.userDetails.defaultTerritory,n=this.userDetails.defaultTerritoryGroup;if(!e)return[];let i=this.allLobTerritoryMap?.[e];return t&&i?.[t]?.permissions?i[t].permissions:n&&i?.[n]?.permissions?i[n].permissions:i?.permissions?i.permissions:[]}updateSessionPermissions(){let e=this.getSelectedPermissions();sessionStorage.setItem("currentUserPermissions",JSON.stringify(e))}openModal(e){this.modalService.open(e,{centered:!0})}changeMode(e){this.currentMode=e,sessionStorage.setItem("userPreferredTheme",e),this.themeService.setTheme(e)}logout(){this.router.navigate(["/auth/login"])}toggleDropdown(e){e.stopPropagation(),this.isDropdownOpen?this.isDropdownOpen=!1:this.isDropdownOpen=!0}Search(){var e=document.getElementById("search-close-options"),t=document.getElementById("search-dropdown"),n,i,c,p,u,x,w;n=document.getElementById("search-options"),i=n.value.toUpperCase();var I=i.length;if(I>0){t.classList.add("show"),e.classList.remove("d-none");var T=n.value.toUpperCase(),R=document.getElementsByClassName("notify-item");
3Array.from(R).forEach(function(H){var Se="";if(H.querySelector("h6")){var ye=H.getElementsByTagName("span")[0].innerText.toLowerCase(),pt=H.querySelector("h6").innerText.toLowerCase();pt.includes(T)?Se=pt:Se=ye}else H.getElementsByTagName("span")&&(Se=H.getElementsByTagName("span")[0].innerText.toLowerCase());Se&&(H.style.display=Se.includes(T)?"block":"none")})}else t.classList.remove("show"),e.classList.add("d-none")}closeBtn(){var e=document.getElementById("search-close-options"),t=document.getElementById("search-dropdown"),n=document.getElementById("search-options");t.classList.remove("show"),e.classList.add("d-none"),n.value=""}openMyKitDrawer(){this.cartService.openDrawer()}dismissStatusBar(){this.exportStatusService.setStatus("idle")}getLoggedUserLobTerritoryId(){let e=null;return this.masterStore.lobTerritoryGroupByUser$.pipe(we(1)).subscribe(t=>{if(t){let n=this.lobTerritoryForm.get("lob")?.value,i=this.lobTerritoryForm.get("lobId")?.value,c=this.lobTerritoryForm.get("territory")?.value,p=this.lobTerritoryForm.get("territoryGroup")?.value,u=t?.[n];u&&(c&&u?.[c]?.lobTerritoryId!=null?e=u[c].lobTerritoryId:p&&u?.[p]?.lobTerritoryId!=null?e=u[p].lobTerritoryId:u?.lobId==i&&!c&&!p&&(e=u.lobTerritoryId))}}),e}static{this.\u0275fac=function(t){return new(t||o)(_(Rt),_(Qo),_(ln
3),_(vt),_(Yt),_(sn),_(_e),_(j),_(Je),_(rn),_(jo),_(re),_(re),_(ce),_(ue),_(se),_(Si),_(on),_(ve),_(oe),_(le),_(Ho),_(yt),_(Ze),_(Ae),_(xt),_(wt),_(an),_(cn),_(Qe),_(Oe),_(xe))}}static{this.\u0275cmp=E({type:o,selectors:[["app-topbar"]],viewQuery:function(t,n){if(t&1&&G(Yr,5),t&2){let i;V(i=A())&&(n.removenotification=i.first)}},hostBindings:function(t,n){t&1&&C("resize",function(){return n.onWindowResize()},!1,$e)("click",function(c){return n.onClickOutside(c)},!1,Me)},outputs:{mobileMenuButtonClicked:"mobileMenuButtonClicked"},standalone:!1,decls:3,vars:2,consts:[["trigger","cdkOverlayOrigin"],["downloadStatusTrigger","cdkOverlayOrigin"],["id","page-topbar","data-scroll-header","",4,"ngIf"],["id","mobile-page-topbar","data-scroll-header","",4,"ngIf"],["id","page-topbar","data-scroll-header",""],[1,"layout-width"],[1,"navbar-header"],["action","landing",3,"disabled"],["class","searchBar",4,"ngIf"],["class","quickLinks",4,"ngIf"],["class","export-status-bar",3,"ngClass",4,"ngIf"],[1,"searchBar"],[1,"quickLinks"],[1,"lobTerritoryLanguage"],[1,"language-selector"],["icon","translate",3,"languageChange","showToggleButton","showFlags"],["cdkOverlayOrigin","",1,"user-profile",2,"cursor","pointer",3,"click"],[1,"user-avatar",3,"title"],["cdkConnectedOverlay","","overlayClass","custom-overlay-pane",3,"detach","backdropClick","overlayOutsideClick","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayBackdropClass"],[1,"mykit",3,"click"],[1,"folder-text"],[3,"key"],["class","cart-badge",4,"ngIf"],[1,"profile-dropdown"],[1,"profile-main-header"],[1,"profile-header"],[1,"profile-icon"],[1,"profile-details"],[1,"user-name"],[1,"user-email"],[1,"profile-lobTerritory"],[4,"ngIf"],[1,"profile-actions"],[1,"profile-action",3,"click"],[1,"profile-footer-actions"],[1,"footer-actions"],[1,"theme-toggle"],["mat-icon-button","",1,"toggle-btn","light-mode-btn",3,"click"],["mat-icon-button","",1,"toggle-btn","dark-mode-btn",3,"click"],["mat-button","",1,"logout-btn",3,"routerLink"],[1,"location-icon"],[1,"cart-badge"],[1,"export-status-bar",3,"ngClass"],[3,"ngSwitch"],[4,"ngSwitchCase"],[1,"status-actions"],["cdkOverlayOrigin","",1,"download-status-btn",3,"click"],["cdkConnectedOverlay","","overlayClass","custom-overlay-pane",3,"backdropClick","overlayOutsideClick","detach","cdkConnectedOverlayOrigin","cdkConnectedOverlayOpen","cdkConnectedOverlayHasBackdrop","cdkConnectedOverlayBackdropClass","cdkConnectedOverlayPositions","cdkConnectedOverlayPush"],["class","dismiss-status-btn","type","button","matTooltipPosition","left",3,"matTooltip","click",4,"ngIf"],["mode","indeterminate",1,"status-progress"],[1,"status-content"],[1,"status-icon","spin"],[1,"status-icon"],[1,"download-status-popup"],[3,"closeModal"],["type","button","matTooltipPosition","left",1,"dismiss-status-btn",3,"click","matTooltip"],["id","mobile-page-topbar","data-scroll-header",""],[1,"mobile-topbar-header"],[1,"mobile-left-group"],["type","button",1,"mobile-menu-toggle",3,"click"],[1,"mobile-top-actions"],["type","button",1,"mobile-icon-btn",3,"click"],["type","button",1,"mobile-icon-btn"],["class","mobile-search-row",4,"ngIf"],[1,"mobile-search-row"]],template:function(t,n){t&1&&(M(0,ga,7,4,"header",2)(1,ua,20,15,"header",3),h(2,"app-my-kit-drawer")),t&2&&(l("ngIf",!n.isMobileView),r(),l("ngIf",n.isMobileView))},dependencies:[mt,B,bo,Co,Ne,ne,Uo,Jt,Y,We,oi,ii,Lo,To,Be,en,Cn,Ti,Mo,J],styles:[".logo.pointer[_ngcontent-%COMP%]{cursor:pointer}.horizontal-logo[_ngcontent-%COMP%]   .logo-dark[_ngcontent-%COMP%]{display:none}.horizontal-logo[_ngcontent-%COMP%]   .logo-light[_ngcontent-%COMP%]{display:inline-block}[data-bs-theme=dark][_nghost-%COMP%]   .mykit[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]{background-color:#b0ddff!important;color:#0a385c!important;transition:background-color .2s ease,color .2s ease,box-shadow .2s ease}[data-bs-theme=dark][_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]:hover{background-color:#9dd3ff!important;box-shadow:0 2px 8px #b0ddff4d}[data-bs-theme=dark][_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]:active, [data-bs-theme=dark]   [_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]:active{background-color:#8bc9ff!important;box-shadow:0 1px 4px #b0ddff33}[data-bs-theme=dark][_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mykit[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#0a385c!important}[data-bs-theme=dark][_nghost-%COMP%]   .horizontal-logo[_ngcontent-%COMP%]   .logo-dark[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .horizontal-logo[_ngcontent-%COMP%]   .logo-dark[_ngcontent-%COMP%]{display:inline-block}[data-bs-theme=dark][_nghost-%COMP%]   .horizontal-logo[_ngcontent-%COMP%]   .logo-light[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .horizontal-logo[_ngcontent-%COMP%]   .logo-light[_ngcontent-%COMP%]{display:none}.quickLinks[_ngcontent-%COMP%]{width:20%;display:flex;gap:14px;justify-content:flex-end;align-items:center}.mobile-menu-toggle[_ngcontent-%COMP%]{display:none;align-items:center;justify-content:center;background:none;border:none;cursor:pointer;padding:6px 8px;border-radius:6px;color:var(--vlt-header-item-color, #6d7080);flex-shrink:0;transition:background-color .2s ease,color .2s ease}.mobile-menu-toggle[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:24px;width:24px;height:24px;line-height:24px}.mobile-menu-toggle[_ngcontent-%COMP%]:hover{background-color:#0000000f;color:var(--vlt-header-item-hover-color, #0091ff)}@media(max-width:1023px){.mobile-menu-toggle[_ngcontent-%COMP%]{display:flex}}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:inline-flex}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:large;cursor:pointer;margin:0 12px}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:#7
377}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:5px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-top:3px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:3px;border:1px solid #ccc;border-radius:4px;font-size:14px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{background-color:#f5f5f5;cursor:not-allowed}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{display:flex;background:none;border:none;font-size:24px;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;border-radius:8px;z-index:1000;min-width:280px;box-shadow:0 2px 8px #00000026;overflow-y:auto;max-height:200px}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.user-profile[_ngcontent-%COMP%]{display:flex;align-items:center;cursor:pointer;gap:5px}.user-profile[_ngcontent-%COMP%]   .user-avatar[_ngcontent-%COMP%]{width:30px;height:30px;border-radius:50%;background-color:#6744d4;color:#f7f7f8;display:flex;align-items:center;justify-content:center;font-weight:500;font-size:12px;text-transform:uppercase;flex-shrink:0}.profile-popup[_ngcontent-%COMP%]{display:flex;width:400px;padding:8px;flex-direction:column;align-items:flex-end;gap:16px;border-radius:16px;background:#fff;box-shadow:0 6px 9px 4px #0000001a,0 2px 3px #0003}  [data-bs-theme=dark] .profile-dropdown{background:#202022!important}.profile-dropdown[_ngcontent-%COMP%]{display:flex;padding:8px;flex-direction:column;align-items:flex-start;gap:16px;border-radius:16px;background:#fff;box-shadow:0 6px 9px 4px #0000001a,0 2px 3px #0003}.profile-main-header[_ngcontent-%COMP%]{display:flex;padding:0;flex-direction:column;align-items:flex-start;gap:8px;align-self:stretch}  [data-bs-theme=dark] .profile-header{background:#4c3691!important}.profile-header[_ngcontent-%COMP%]{display:flex;padding:12px 50px 12px 12px;flex-direction:row;align-items:flex-start;gap:8px;align-self:stretch;border-radius:8px;background:#efecfb}.profile-icon[_ngcontent-%COMP%]{display:flex;width:60px;height:60px;padding:14px;justify-content:center;align-items:center;color:#f7f7f8;font-size:1.3rem;font-weight:500;gap:14px;aspect-ratio:1/1;border-radius:50%;background:#6b4ccc}  [data-bs-theme=dark] .profile-icon{background:#8162df!important}.profile-details[_ngcontent-%COMP%]{display:flex;padding:4px 0;flex-direction:column;align-items:flex-start;flex:1 0 0;gap:4px}.profile-details[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0}.profile-details[_ngcontent-%COMP%]   .user-name[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#343437;display:inline-block;line-height:110%}.profile-details[_ngcontent-%COMP%]   .user-email[_ngcontent-%COMP%]{font-size:12px;font-weight:400;color:#828387}  [data-bs-theme=dark] .user-name{color:#eaeaeb!important}  [data-bs-theme=dark] .user-email{color:#b8b8bc!important}.profile-lobTerritory[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:flex-start;align-content:center;gap:4px 8px;align-self:stretch;color:#343437}.profile-lobTerritory[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0;display:flex;font-size:.625rem;align-items:center;font-weight:400;gap:2px}.profile-lobTerritory[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#343437}  [data-bs-theme=dark] .profile-lobTerritory{color:#eaeaeb!important}  [data-bs-theme=dark] .profile-lobTerritory mat-icon{color:#eaeaeb!important}  [data-bs-theme=dark]   .logout-btn span{color:#fff}  .logout-btn span{font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;color:#343437;cursor:pointer}.profile-actions[_ngcontent-%COMP%]{display:flex;padding:6px;flex-direction:row;align-items:flex-start;gap:8px;align-self:stretch;justify-content:space-between}.profile-action[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;align-content:center;gap:8px;color:#343437;font-size:14px;font-weight:500;cursor:pointer}.profile-action[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;color:#343437}  [data-bs-theme=dark] .profile-action{color:#f7f7f8!important}  [data-bs-theme=dark] .profile-action mat-icon{color:#eaeaeb!important}.profile-footer-actions[_ngcontent-%COMP%]{display:flex;padding:0;flex-direction:column;align-items:flex-start;gap:8px;align-self:stretch}.footer-actions[_ngcontent-%COMP%]{display:flex;align-items:flex-start;justify-content:space-between;gap:24px;width:100%}#page-topbar[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:auto}.theme-toggle[_ngcontent-%COMP%]{display:inline-flex;align-items:center;border-radius:999px;padding:4px 6px;border:1px solid #ddd;gap:4px}  [data-bs-theme=dark] .theme-toggle{background:#2c2c2e!important;border-color:#3a3a3c!important}  [data-bs-theme=dark] .toggle-btn{color:#9a9aab!important}.light-mode-btn[_ngcontent-%COMP%]{margin-right:0}.toggle-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;padding:5px 10px;height:32px;border-radius:999px;color:#6b6b80;background:transparent;border:none;cursor:pointer;transition:background .2s ease,color .2s ease,box-shadow .2s ease}.toggle-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;line-height:20px}.toggle-btn[_ngcontent-%COMP%]:hover:not(.active){background:#00000012;color:#333}.toggle-btn.active[_ngcontent-%COMP%]{background:#0090ff;color:#fff;box-shadow:0 1px 6px #0090ff66}  [data-bs-theme=dark] .toggle-btn.active{background:#0090ff!important;color:#fff!important}  [data-bs-theme=dark] .toggle-btn:hover:not(.active){background:#ffffff14!important;color:#e0e0e0!important}.logout-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;font-weight:500}  [data-bs-theme=dark] .logout-btn{color:#eaeaeb!important}.mykit[_ngcontent-%COMP%]{background-color:#0091ff0d;padding:5px 12px;border-radius:8px;display:flex;align-items:center;width:auto;min-width:96px;
3gap:5px;cursor:pointer;position:relative;transition:background-color .2s ease}.mykit[_ngcontent-%COMP%]:hover{background-color:#0091ff1f}.mykit[_ngcontent-%COMP%]   span.folder-text[_ngcontent-%COMP%]{font-size:.7rem;font-family:Poppins,sans-serif;font-weight:800}.mykit[_ngcontent-%COMP%]   .cart-badge[_ngcontent-%COMP%]{position:absolute;top:-6px;right:-6px;background-color:#ef4444;color:#fff;font-size:10px;font-weight:600;min-width:18px;height:18px;border-radius:9px;display:flex;align-items:center;justify-content:center;padding:0 4px;box-shadow:0 2px 4px #0003;animation:_ngcontent-%COMP%_badgePop .3s ease}@keyframes _ngcontent-%COMP%_badgePop{0%{transform:scale(0)}50%{transform:scale(1.2)}to{transform:scale(1)}}.lobTerritoryLanguage[_ngcontent-%COMP%]{display:flex;align-items:center}.language-selector[_ngcontent-%COMP%]{position:relative}.globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.language-option[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 10px;cursor:pointer;transition:background-color .2s ease}.language-option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.selected-language[_ngcontent-%COMP%]{background-color:#e6f7ff;font-weight:600}.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px;object-fit:cover}.disabled-text[_ngcontent-%COMP%]{color:#777}.lob-dropdown-wrapper[_ngcontent-%COMP%]{position:relative;display:inline-flex;align-items:center}.lob-trigger-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:6px;padding:6px 12px;background:transparent;border:1px solid #ccc;background:#fff;box-shadow:0 2px 8px #00000026;border:1px solid rgba(255,255,255,.15);border-radius:6px;color:inherit;cursor:pointer;font-size:13px;font-weight:500;transition:background .15s,border-color .15s;white-space:nowrap;max-width:260px}.lob-trigger-btn[_ngcontent-%COMP%]:hover, .lob-trigger-btn.active[_ngcontent-%COMP%]{background:#ffffff14;border-color:#ffffff4d}.lob-trigger-btn[_ngcontent-%COMP%]   .globe-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;flex-shrink:0}.lob-trigger-btn[_ngcontent-%COMP%]   .lob-trigger-label[_ngcontent-%COMP%]{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:180px}.lob-trigger-btn[_ngcontent-%COMP%]   .chevron-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;flex-shrink:0;transition:transform .2s ease}.lob-trigger-btn[_ngcontent-%COMP%]   .chevron-icon.rotated[_ngcontent-%COMP%]{transform:rotate(180deg)}  [data-bs-theme=dark] .lob-dropdown-panel{background:#1e1e1e!important;border:1px solid rgba(255,255,255,.1)!important}.lob-dropdown-panel[_ngcontent-%COMP%]{position:absolute;top:calc(100% + 8px);right:0;z-index:1050;width:280px;background:#fff;border:1px solid rgba(255,255,255,.1);border-radius:8px;box-shadow:0 8px 32px #0006;overflow:hidden;animation:_ngcontent-%COMP%_lobDropdownFadeIn .15s ease}@keyframes _ngcontent-%COMP%_lobDropdownFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}  [data-bs-theme=dark] .lob-panel-header{color:#fff!important;background:#000!important;border-bottom:1px solid rgba(255,255,255,.08)!important}  [data-bs-theme=dark] .lob-panel-header .header-globe{color:#aaa!important}  .cdk-overlay-pane{z-index:40001!important}  [data-bs-theme=dark] .language-dropdown-menu{color:#f7f7f8!important;background:#000!important;border:1px solid #404045!important}  [data-bs-theme=dark] .language-dropdown-menu::-webkit-scrollbar-track{background:#2a2a2a!important;border-radius:4px!important}  [data-bs-theme=dark] .language-dropdown-menu::-webkit-scrollbar-thumb{background:#555!important;border-radius:4px!important}  [data-bs-theme=dark] .language-dropdown-menu::-webkit-scrollbar-thumb:hover{background:#777!important}.lob-panel-header[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:12px 16px;font-size:13px;font-weight:600;color:#000;background:#fff;border-bottom:1px solid rgba(255,255,255,.08)}.lob-panel-header[_ngcontent-%COMP%]   .header-globe[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#000;flex-shrink:0}  [data-bs-theme=dark] .lob-panel-scroll .check-icon{color:#fff!important}.lob-panel-scroll[_ngcontent-%COMP%]{max-height:360px;overflow-y:auto}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.lob-panel-scroll[_ngcontent-%COMP%]   .check-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#101010;flex-shrink:0}  [data-bs-theme=dark] .lob-row{color:#d0d0d0!important}  [data-bs-theme=dark] .lob-row.lob-expanded{background:#ffffff0d!important;color:#fff!important}  [data-bs-theme=dark] .lob-row:hover{background:#ffffff0f!important;color:#fff!important}.lob-row[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;padding:10px 16px;font-size:13px;font-weight:500;color:#000;cursor:pointer;transition:background .12s;-webkit-user-select:none;user-select:none}.lob-row[_ngcontent-%COMP%]:hover, .lob-row.lob-expanded[_ngcontent-%COMP%]{background:#f1f1f1;color:#000}.lob-row[_ngcontent-%COMP%]   .row-chevron[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px;color:#888;flex-shrink:0}.lob-row[_ngcontent-%COMP%]   .row-label[_ngcontent-%COMP%]{flex:1}  [data-bs-theme=dark] .territory-group-label{color:#666!important}.territory-group-label[_ngcontent-%COMP%]{padding:4px 16px 4px 40px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3a3a3a}  [data-bs-theme=dark] .territory-row{color:#b0b0b0!important}  [data-bs-theme=dark] .territory-row:hover{background:#ffffff0f!important;color:#fff!important}  [data-bs-theme=dark] .territory-row.selected{color:#fff!important;background:#ffffff0a!important}  [data-bs-theme=dark] .territory-row .check-icon{color:#b8b8bc!important}.territory-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:9px 16px 9px 40px;font-size:13px;color:#4a4a4a;cursor:pointer;transition:background .12s;-webkit-user-select:none;user-select:none}.territory-row[_ngcontent-%COMP%]:hover, .territory-row.selected[_ngcontent-%COMP%]{background:#f1f1f1;color:#000}.territory-row[_ngcontent-%COMP%]   .territory-label[_ngcontent-%COMP%]{flex:1}.territory-row[_ngcontent-%COMP%]   .check-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#101010;flex-shrink:0}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-topbar-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:8px;height:62px;padding:0 10px}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-left-group[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;gap:2px;min-width:0}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-left-group[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{width:auto;min-width:0;margin-left:2px;margin-right:12px}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-left-group[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   .logo-lg[_ngcontent-%COMP%]   img[_ngcontent-%COMP%], #mobile-page-topbar[_ngcontent-%COMP%]   .mobile-left-group[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   .logo-sm[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:110px;height:18px;object-fit:contain}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-top-actions[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;flex-shrink:0;margin-left:auto}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-icon-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:transparent;border-radius:50%;cursor:pointer;color:#4b5563}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-icon-btn[_ngcontent-%COMP%]:hover{background:#0000000f;color:#0091ff}#mobile-page-topbar[_ngcontent-%COMP%]   .mobile-search-row[_ngcontent-%COMP%]{padding:0 10px 10px;background:var(--vlt-header-bg, #fff)}
3.export-status-bar[_ngcontent-%COMP%]{position:fixed;top:62px;left:0;right:0;z-index:9999;background:#fff;box-shadow:0 2px 8px #0000001a;padding:12px 24px;display:flex;align-items:center;justify-content:center;min-height:50px;transition:all .3s ease;animation:_ngcontent-%COMP%_slideDown .3s ease}.export-status-bar[_ngcontent-%COMP%]   .status-actions[_ngcontent-%COMP%]{position:absolute;right:20px;display:flex;align-items:center;gap:8px;flex-shrink:0}.export-status-bar[_ngcontent-%COMP%]   .download-status-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;background:transparent;border:1px solid currentColor;border-radius:6px;padding:6px 12px;font-size:13px;font-weight:600;cursor:pointer;opacity:.85;transition:all .2s ease;color:inherit}.export-status-bar[_ngcontent-%COMP%]   .download-status-btn[_ngcontent-%COMP%]:hover{opacity:1;background:#0000000d}.export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0;background:transparent;color:#64748b;border:none;border-radius:6px;cursor:pointer;transition:all .2s ease;flex-shrink:0}.export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]:hover{background:#64748b1a;color:#334155}.export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]:active{background:#64748b33;transform:scale(.95)}.export-status-bar.downloading[_ngcontent-%COMP%]{background:#e3f2fd;border-bottom:2px solid #2196f3}.export-status-bar.downloading[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{color:#2196f3}.export-status-bar.success[_ngcontent-%COMP%]{background:#e8f5e9;border-bottom:2px solid #4caf50}.export-status-bar.success[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{color:#4caf50}.export-status-bar.partial[_ngcontent-%COMP%]{background:#fff3e0;border-bottom:2px solid #ff9800}.export-status-bar.partial[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{color:#ff9800}.export-status-bar.error[_ngcontent-%COMP%]{background:#ffebee;border-bottom:2px solid #f44336}.export-status-bar.error[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{color:#f44336}.export-status-bar[_ngcontent-%COMP%]   .status-progress[_ngcontent-%COMP%]{position:absolute;top:0;left:0;right:0;height:3px}.export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;font-size:14px;font-weight:500}.export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px}.export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]   .status-icon.spin[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_spin 1s linear infinite}@keyframes _ngcontent-%COMP%_slideDown{0%{transform:translateY(-100%);opacity:0}to{transform:translateY(0);opacity:1}}@keyframes _ngcontent-%COMP%_spin{0%{transform:rotate(0)}to{transform:rotate(360deg)}}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]{background:#1e1e1e;box-shadow:0 2px 8px #ffffff1a}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar.downloading[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar.downloading[_ngcontent-%COMP%]{background:#0d47a1;border-bottom-color:#2196f3}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar.success[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar.success[_ngcontent-%COMP%]{background:#1b5e20;border-bottom-color:#4caf50}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar.partial[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar.partial[_ngcontent-%COMP%]{background:#e65100;border-bottom-color:#ff9800}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar.error[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar.error[_ngcontent-%COMP%]{background:#b71c1c;border-bottom-color:#f44336}
3[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]{color:#fff}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]{color:#94a3b8}[data-bs-theme=dark][_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .export-status-bar[_ngcontent-%COMP%]   .dismiss-status-btn[_ngcontent-%COMP%]:hover{background:#ffffff1a;color:#cbd5e1}@media(max-width:768px){.export-status-bar[_ngcontent-%COMP%]{top:60px;padding:10px 16px;min-height:45px}.export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]{font-size:13px}.export-status-bar[_ngcontent-%COMP%]   .status-content[_ngcontent-%COMP%]   .status-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px}.download-status-popup[_ngcontent-%COMP%]{width:560px;background:#fff;border-radius:12px;box-shadow:0 8px 32px #0000002e;overflow:visible;position:relative;z-index:40002}[data-bs-theme=dark][_ngcontent-%COMP%]   .download-status-popup[_ngcontent-%COMP%]{background:#1e293b}}"]})}}return o})();var Ni=(()=>{class o{constructor(e,t){this.http=e,this.authService=t,this.sidebarMenu=[]}getMenuData(){return this.http.get(Ao.MENU)}static{this.\u0275fac=function(t){return new(t||o)(Ce(Pe),Ce(vt))}}static{this.\u0275prov=Te({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();function ha(o,g){if(o&1&&(a(0,"option",25),m(1),s()),o&2){let e=g.$implicit;l("value",e.id),r(),S(" ",e.languageName," ")}}function fa(o,g){o&1&&(a(0,"mat-icon"),m(1,"expand_less"),s())}function ba(o,g){o&1&&(a(0,"mat-icon"),m(1,"expand_more"),s())}function Ca(o,g){if(o&1){let e=y();a(0,"mat-icon",32),C("click",function(n){O(e);let i=d().$implicit,c=d(2);return P(c.onLobExpandClick(n,i.lobName))}),m(1,"expand_less"),s()}}function Ma(o,g){if(o&1){let e=y();a(0,"mat-icon",32),C("click",function(n){O(e);let i=d().$implicit,c=d(2);return P(c.onLobExpandClick(n,i.lobName))}),m(1,"expand_more"),s()}}function Oa(o,g){o&1&&(a(0,"mat-icon"),m(1,"check_circle_outline"),s())}function Pa(o,g){if(o&1){let e=y();a(0,"div",36),C("click",function(){let n=O(e).$implicit,i=d(5);return P(i.onTerritoryMenuClick(n))}),a(1,"span"),m(2),s(),M(3,Oa,2,0,"mat-icon",18),s()}if(o&2){let e=g.$implicit,t=d(5);k("selected",t.selectedTerritoryControl==="T-"+e.territoryId),r(2),v(e.displayName),r(),l("ngIf",t.selectedTerritoryControl==="T-"+e.territoryId)}}function xa(o,g){if(o&1&&(D(0),a(1,"div",34),m(2),f(3,"translate"),s(),M(4,Pa,4,4,"div",35),z()),o&2){let e=d(4);r(2),v(b(3,2,"mobileSettings.territories")),r(2),l("ngForOf",e.directTerritoryOptions)}}function va(o,g){o&1&&(a(0,"mat-icon"),m(1,"check_circle_outline"),s())}function ya(o,g){if(o&1){let e=y();a(0,"div",36),C("click",function(){let n=O(e).$implicit,i=d(5);return P(i.onTerritoryMenuClick(n))}),a(1,"span"),m(2),s(),M(3,va,2,0,"mat-icon",18),s()}if(o&2){let e=g.$implicit,t=d(5);k("selected",t.selectedTerritoryControl==="G-"+e.territoryGroupId),r(2),v(e.territoryGroupName||e.displayName),r(),l("ngIf",t.selectedTerritoryControl==="G-"+e.territoryGroupId)}}function wa(o,g){if(o&1&&(D(0),a(1,"div",34),m(2),f(3,"translate"),s(),M(4,ya,4,4,"div",35),z()),o&2){let e=d(4);r(2),v(b(3,2,"mobileSettings.territoryGroups")),r(2),l("ngForOf",e.groupTerritoryOptions)}}function ka(o,g){if(o&1&&(a(0,"div",33),M(1,xa,5,4,"ng-container",18)(2,wa,5,4,"ng-container",18),s()),o&2){let e=d(3);r(),l("ngIf",e.directTerritoryOptions.length>0),r(),l("ngIf",e.groupTerritoryOptions.length>0)}}function Sa(o,g){if(o&1){let e=y();D(0),a(1,"div",28),C("click",function(){let n=O(e).$implicit,i=d(2);return P(i.onLobMenuClick(n.lobName))}),a(2,"div",29)(3,"mat-icon"),m(4,"business"),s(),a(5,"span"),m(6),s()(),M(7,Ca,2,0,"mat-icon",30)(8,Ma,2,0,"mat-icon",30),s(),M(9,ka,3,2,"div",31),z()}if(o&2){let e=g.$implicit,t=d(2);r(),k("selected",t.selectedLobControl===e.lobName),r(5),v(e.lobName),r(),l("ngIf",t.hasTerritoriesForLob(e.lobName)&&t.isLobExpanded(e.lobName)),r(),l("ngIf",t.hasTerritoriesForLob(e.lobName)&&!t.isLobExpanded(e.lobName)),r(),l("ngIf",t.isLobExpanded(e.lobName))}}function Ia(o,g){if(o&1&&(a(0,"div",26),M(1,Sa,10,6,"ng-container",27),s()),o&2){let e=d();r(),l("ngForOf",e.lobOptions)}}var Ui=(()=>{class o{constructor(){this.languageOptions=[],this.currentLanguage=null,this.currentUserLob="",this.currentUserTerritory="",this.currentMode="light",this.lobOptions=[],this.territoryOptions=[],this.allLobTerritoryMap={},this.goBack=new Z,this.profileNavigate=new Z,this.languageSelect=new Z,this.modeChange=new Z,this.lobSelect=new Z,this.territorySelect=new Z,this.selectedLobControl="",this.selectedTerritoryControl="",this.expandedLob="",this.showLobOptions=!1}get selectedLobTerritoryLabel(){return this.selectedLobControl||this.selectedLobValue||this.selectedUserLob}get selectedUserLob(){return this.normalizeDisplayValue(sessionStorage.getItem("currentUserLob")||"null")}get selectedUserTerritory(){return this.normalizeDisplayValue(sessionStorage.getItem("currentUserTerritory")||"null")}get selectedLobValue(){let e=this.currentUserLob||sessionStorage.getItem("currentUserLob")||"";return e||this.lobOptions?.[0]?.lobName||""}get selectedTerritoryValue(){let e=this.currentUserTerritory||sessionStorage.getItem("currentUserTerritory")||"";if(!e)return"";let t=this.territoryOptions.find(n=>{let i=n.displayName||"",c=n.territoryGroupName||"";return i===e||c===e});return t?t.territoryId?`T-${t.territoryId}`:`G-${t.territoryGroupId}`:""}ngOnInit(){this.syncUserSelections()}ngOnChanges(){this.syncUserSelections()}get directTerritoryOptions(){return(this.territoryOptions||[]).filter(e=>!!e.territoryId)}get groupTerritoryOptions(){return(this.territoryOptions||[]).filter(e=>!e.territoryId&&!!e.territoryGroupId)}onBack(){this.goBack.emit()}onNavigateToProfile(){this.profileNavigate.emit()}onSelectLanguage(e){this.languageSelect.emit(e)}onLanguageChange(e){let t=Number(e.target.value),n=this.languageOptions.find(i=>i.id===t);n&&this.onSelectLanguage(n)}onChangeMode(e){this.modeChange.emit(e)}onLobChange(e){let t=e.target.value;t&&(this.selectedLobControl=t,this.selectedTerritoryControl="",this.lobSelect.emit(t))}onLobMenuClick(e){this.selectedLobControl=e,this.selectedTerritoryControl="",this.expandedLob=e,this.lobSelect.emit(e),this.showLobOptions=!1}onLobExpandClick(e,t){if(e.stopPropagation(),!!this.hasTerritoriesForLob(t)){if(this.expandedLob===t){this.expandedLob="";return}this.selectedLobControl=t,this.selectedTerritoryControl="",this.expandedLob=t,this.lobSelect.emit(t)}}toggleLobOptions(){this.showLobOptions=!0}isLobExpanded(e){return this.expandedLob===e&&this.hasTerritoriesForLob(e)}hasTerritoriesForLob(e){let t=this.allLobTerritoryMap[e];return!t||typeof t!="object"?!1:Object.keys(t).filter(i=>i!=="permissions").some(i=>{let c=t[i];return typeof c=="object"&&(c?.territoryId||c?.territoryGroupId)})}onTerritoryChange(e){let t=e.target.value;t&&(this.selectedTerritoryControl=t,this.territorySelect.emit(t))}onTerritoryMenuClick(e){this.expandedLob&&(this.selectedLobControl=this.expandedLob,this.lobSelect.emit(this.expandedLob));let t=e.territoryId?`T-${e.territoryId}`:`G-${e.territoryGroupId}`;this.selectedTerritoryControl=t,this.territorySelect.emit(t),this.showLobOptions=!1}getSelectedTerritoryDisplay(){if(!this.selectedTerritoryControl){let x=(this.currentUserTerritory||sessionStorage.getItem("currentUserTerritory")||""||"").trim();if(!x)return"";let w=x.toLowerCase();return w!=="null"&&w!=="n/a"?x:""}let e=this.selectedTerritoryControl.startsWith("T-"),t=Number(this.selectedTerritoryControl.substring(2)),n=this.territoryOptions.find(u=>e?u.territoryId===t:u.territoryGroupId===t);if(!n)return"";let c=(e?n.displayName||"":n.territoryGroupName||n.displayName||"").trim();if(!c)return"";let p=c.toLowerCase();return p==="null"||p==="n/a"?"":c}normalizeDisplayValue(e){if(e==null)return"N/A";let t=String(e).trim();return!t||t.toLowerCase()==="null"?"N/A":t}syncUserSelections(){this.currentUserLob=sessionStorage.getItem("currentUserLob")||"null",this.currentUserTerritory=sessionStorage.getItem("currentUserTerritory")||"null",this.selectedLobControl=this.selectedLobValue,this.selectedTerritoryControl=this.selectedTerritoryValue,this.expandedLob||(this.expandedLob=this.selectedLobValue)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=E({type:o,selectors:[["app-mobile-account-settings"]],inputs:{languageOptions:"languageOptions",currentLanguage:"currentLanguage",currentUserLob:"currentUserLob",currentUserTerritory:"currentUserTerritory",currentMode:"currentMode",lobOptions:"lobOptions",territoryOptions:"territoryOptions",allLobTerritoryMap:"allLobTerritoryMap"},outputs:{goBack:"goBack",profileNavigate:"profileNavigate",languageSelect:"languageSelect",modeChange:"modeChange",lobSelect:"lobSelect",territorySelect:"territorySelect"},standalone:!1,features:[lo],decls:62,vars:43,consts:[[1,"account-settings-view"],[1,"account-settings-topbar"],[1,"account-title-wrap"],["type","button",1,"account-back-btn",3,"click"],[1,"account-settings-title"],[1,"account-settings-content"],[1,"account-settings-section"],[1,"account-action",3,"click"],[1,"action-icon"],[1,"action-label","profile-label"],[1,"action-chevron"],[1,"account-language-label"],[1,"account-language-field"],["aria-hidden","true",1,"language-input-icon"],[1,"account-language-select",3,"change","value"],[3,"value",4,"ngFor","ngForOf"],["type","button",1,"lob-mobile-trigger",3,"click"],[1,"lob-mobile-trigger-left"],[4,"ngIf"],["class","lob-mobile-menu",4,"ngIf"],[1,"account-settings-section","account-theme-section"],[1,"account-theme-toggle-row"],[1,"account-theme-toggle"],["type","button",1,"theme-toggle-btn","light-btn",3,"click"],["type","button",1,"theme-toggle-btn","dark-btn",3,"click"],[3,"value"],[1,"lob-mobile-menu"],[4,"ngFor","ngForOf"],[1,"lob-mobile-row",3,"click"],[1,"lob-mobile-row-left"],[3,"click",4,"ngIf"],["class","lob-mobile-submenu",4,"ngIf"],[3,"click"],[1,"lob-mobile-submenu"],[1,"lob-mobile-subtitle"],["class","lob-mobile-subrow",3,"selected","click",4,"ngFor","ngForOf"],[1,"lob-mobile-subrow",3,"click"]],template:function(t,n){t&1&&(a(0,"div",0)(1,"div",1)(2,"div",2)(3,"button",3),f(4,"translate"),C("click",function(){return n.onBack()}),a(5,"mat-icon"),m(6,"arrow_back"),s()(),a(7,"h3",4),m(8),f(9,"translate"),s()()(),a(10,"div",5)(11,"div",6)(12,"div",7),C("click",function(){return n.onNavigateToProfile()}),a(13,"mat-icon",8),m(14,"person_outline"),s(),a(15,"span",9),m(16),f(17,"translate"),s(),a(18,"mat-icon",10),m(19,"chevron_right"),s()()(),a(20,"div",6)(21,"label",11),m(22),f(23,"translate"),s(),a(24,"div",12)(25,"span",13)(26,"mat-icon"),m(27,"translate"),s()(),a(28,"select",14),C("change",function(c){return n.onLanguageChange(c)}),M(29,ha,2,2,"option",15),s()()(),a(30,"div",6)(31,"label",11),m(32),f(33,"translate"),s(),a(34,"button",16),f(35,"translate"),C("click",function(){return n.toggleLobOptions()}),a(36,"div",17)(37,"mat-icon"),m(38,"business"),s(),a(39,"span"),m(40),s()(),M(41,fa,2,0,"mat-icon",18)(42,ba,2,0,"mat-icon",18),s(),M(43,Ia,2,1,"div",19),s(),a(44,"div",20)(45,"label",11),m(46),f(47,"translate"),s(),a(48,"div",21)(49,"div",22)(50,"button",23),f(51,"translate"),C("click",function(){return n.onChangeMode("light")}),a(52,"mat-icon"),m(53,"light_mode"),s(),m(54),f(55,"translate"),s(),a(56,"button",24),f(57,"translate"),C("click",function(){return n.onChangeMode("dark")}
3),a(58,"mat-icon"),m(59,"dark_mode"),s(),m(60),f(61,"translate"),s()()()()()()),t&2&&(r(3),U("aria-label",b(4,21,"mobileSettings.goBack")),r(5),v(b(9,23,"mobileSettings.accountAndSettings")),r(8),v(b(17,25,"mobileSettings.viewAndEditProfile")),r(6),v(b(23,27,"mobileSettings.language")),r(6),l("value",n.currentLanguage==null?null:n.currentLanguage.id),r(),l("ngForOf",n.languageOptions),r(3),v(b(33,29,"mobileSettings.lob")),r(2),U("aria-label",b(35,31,"mobileSettings.selectLob")),r(6),v(n.selectedLobTerritoryLabel),r(),l("ngIf",n.showLobOptions),r(),l("ngIf",!n.showLobOptions),r(),l("ngIf",n.showLobOptions),r(3),v(b(47,33,"mobileSettings.appearance")),r(4),k("active",n.currentMode==="light"),U("aria-label",b(51,35,"mobileSettings.lightMode")),r(4),S(" ",b(55,37,"mobileSettings.light")," "),r(2),k("active",n.currentMode==="dark"),U("aria-label",b(57,39,"mobileSettings.darkMode")),r(4),S(" ",b(61,41,"mobileSettings.dark")," "))},dependencies:[te,B,ne,Wt,Qt,J],styles:[".account-settings-view[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;width:100%;background:#fff;gap:.5rem;overflow-x:hidden;box-sizing:border-box}.account-settings-topbar[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;gap:8px;padding:10px 12px;border-bottom:1px solid rgba(0,0,0,.08);background:#fff;position:sticky;top:0;z-index:1}.account-title-wrap[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:flex-start;padding:.2rem}.account-settings-content[_ngcontent-%COMP%]{flex:1 1 auto;width:100%;box-sizing:border-box;overflow-x:hidden;padding:0}.account-back-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;background:transparent;border:none;border-radius:50%;width:34px;height:34px;cursor:pointer;color:#1b1b1d;flex-shrink:0;padding:0 0 .75rem}.account-back-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;line-height:20px}.account-back-btn[_ngcontent-%COMP%]:hover{background:#0000000f}.account-settings-title[_ngcontent-%COMP%]{margin:0;margin-left:.45rem;font-size:1.375rem;font-weight:700;color:#1b1b1d;font-family:Poppins,sans-serif;line-height:1.2}.account-settings-section[_ngcontent-%COMP%]{border-radius:.5rem;margin:0 .75rem;width:calc(100% - 1.5rem);background:#fff;box-sizing:border-box;overflow-x:hidden}.account-action[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:13px 16px;cursor:pointer;color:#374151}.account-action[_ngcontent-%COMP%]:hover{background:#0000000a}.account-action.no-hover[_ngcontent-%COMP%]{cursor:default}.account-action.no-hover[_ngcontent-%COMP%]:hover{background:transparent}.action-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;line-height:18px;color:#6b7280;flex-shrink:0}.action-label[_ngcontent-%COMP%]{flex:1;font-size:.875rem;font-weight:500;font-family:Poppins,sans-serif}.profile-label[_ngcontent-%COMP%]{font-size:1rem;font-weight:400}.action-chevron[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;line-height:18px;color:#9ca3af;flex-shrink:0}.account-language-label[_ngcontent-%COMP%]{display:block;font-size:.75rem;font-weight:700;color:#828387;padding:.875rem 1rem .5rem;font-family:Poppins,sans-serif}.account-language-field[_ngcontent-%COMP%]{display:flex;align-items:center;min-height:4rem;margin:0 0 1rem;width:100%;max-width:100%;box-sizing:border-box;border:1px solid #D9DDE3;border-radius:.5rem;background:#fff;overflow:hidden}.language-input-icon[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:3.25rem;height:3.25rem;flex-shrink:0;color:#6b7280}.language-input-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;width:1.25rem;height:1.25rem;line-height:1.25rem}.account-language-select[_ngcontent-%COMP%]{border:none;outline:none;display:block;width:100%;min-width:0;height:100%;min-height:4rem;padding:0 1rem 0 0;font-size:.9375rem;color:#1b1b1d;background:transparent;font-family:Poppins,sans-serif;cursor:pointer;box-sizing:border-box;text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.account-static-select[_ngcontent-%COMP%]{appearance:none;-webkit-appearance:none;-moz-appearance:none;cursor:default}.lob-mobile-trigger[_ngcontent-%COMP%]{width:100%;border:1px solid #D9DDE3;border-radius:.5rem;background:#fff;display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;cursor:pointer}.lob-mobile-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#6b7280}.lob-mobile-trigger-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;min-width:0}.lob-mobile-trigger-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.1rem;width:1.1rem;height:1.1rem;line-height:1.1rem;flex-shrink:0}.lob-mobile-trigger-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.95rem;color:#1b1b1d;font-family:Poppins,sans-serif;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.lob-mobile-menu[_ngcontent-%COMP%]{border:1px solid #D9DDE3;border-radius:.5rem;overflow:hidden}.lob-mobile-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.875rem 1rem;border-bottom:1px solid #EEF0F3;cursor:pointer}.lob-mobile-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.lob-mobile-row.selected[_ngcontent-%COMP%]{background:#f3f8ff}.lob-mobile-row-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem}.lob-mobile-row-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.1rem;width:1.1rem;height:1.1rem;line-height:1.1rem;color:#6b7280}.lob-mobile-row-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.95rem;color:#1b1b1d;font-family:Poppins,sans-serif}.lob-mobile-submenu[_ngcontent-%COMP%]{background:#fafbfd;border-top:1px solid #EEF0F3}.lob-mobile-subtitle[_ngcontent-%COMP%]{padding:.625rem 1rem .35rem;font-size:.72rem;font-weight:700;color:#828387;text-transform:uppercase}.lob-mobile-subrow[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.625rem 1rem .625rem 2.25rem;cursor:pointer;border-top:1px solid #F0F2F5}.lob-mobile-subrow[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:.9rem;color:#343437}.lob-mobile-subrow[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1rem;width:1rem;height:1rem;line-height:1rem;color:#0071cc}.lob-mobile-subrow.selected[_ngcontent-%COMP%]{background:#eef6ff}.lob-mobile-empty[_ngcontent-%COMP%]{padding:.75rem 1rem .9rem 2.25rem;font-size:.82rem;color:#828387}.account-theme-toggle-row[_ngcontent-%COMP%]{padding:0 1rem 1rem}.account-theme-toggle[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.theme-toggle-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;height:2.75rem;border-radius:1000px;border:1px solid #D9DDE3;cursor:pointer;padding:.5rem 2.5rem;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;transition:background .2s,color .2s,border-color .2s;white-space:nowrap}.theme-toggle-btn.light-btn[_ngcontent-%COMP%]{background:#0071cc;border-color:#0071cc;color:#f8f9fd}.theme-toggle-btn.dark-btn[_ngcontent-%COMP%]{background:#fff0;color:#1b1b1d}.theme-toggle-btn.active[_ngcontent-%COMP%]{box-shadow:0 0 0 2px #0071cc26 inset}.theme-toggle-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.25rem;width:1.25rem;height:1.25rem;line-height:1.25rem}.theme-toggle-btn[_ngcontent-%COMP%]:hover:not(.active){background:#0000000f}[data-bs-theme=dark][_nghost-%COMP%]   .account-settings-view[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-settings-view[_ngcontent-%COMP%]{background:#000}[data-bs-theme=dark][_nghost-%COMP%]   .account-settings-topbar[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-settings-topbar[_ngcontent-%COMP%]{background:#000;border-bottom-color:#ffffff14}[data-bs-theme=dark][_nghost-%COMP%]   .account-settings-title[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-settings-title[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .account-back-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-back-btn[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .account-back-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .account-back-btn[_ngcontent-%COMP%]:hover{background:#ffffff14}[data-bs-theme=dark][_nghost-%COMP%]   .account-settings-section[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-settings-section[_ngcontent-%COMP%]{background:#000}[data-bs-theme=dark][_nghost-%COMP%]   .account-settings-content[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-settings-content[_ngcontent-%COMP%]{background:#000}[data-bs-theme=dark][_nghost-%COMP%]   .account-action[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-action[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .account-action[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .account-action[_ngcontent-%COMP%]:hover{background:#ffffff0f}[data-bs-theme=dark][_nghost-%COMP%]   .action-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .action-icon[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .action-label[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .action-label[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .action-chevron[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .action-chevron[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .account-language-label[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-language-label[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .account-language-field[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-language-field[_ngcontent-%COMP%]{background:#18181a;border-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .language-input-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .language-input-icon[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .language-input-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .language-input-icon[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .account-language-select[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .account-language-select[_ngcontent-%COMP%]{color:#f7f7f8;background:transparent}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-trigger[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-trigger[_ngcontent-%COMP%]{background:#18181a;border-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-trigger[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-trigger-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-trigger-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-trigger-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-trigger-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-menu[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-menu[_ngcontent-%COMP%]{border-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-row[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-row[_ngcontent-%COMP%]{border-bottom-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-row.selected[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-row.selected[_ngcontent-%COMP%]{background:#18181a}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-row-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-row-left[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-row-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-row-left[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-submenu[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-submenu[_ngcontent-%COMP%]{background:#111113;border-top-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-subtitle[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-subtitle[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-subrow[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-subrow[_ngcontent-%COMP%]{border-top-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-subrow[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-subrow[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-subrow.selected[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-subrow.selected[_ngcontent-%COMP%]{background:#1a2430}[data-bs-theme=dark][_nghost-%COMP%]   .lob-mobile-empty[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-mobile-empty[_ngcontent-%COMP%]{color:#9b9b9b}[data-bs-theme=dark][_nghost-%COMP%]   .theme-toggle-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .theme-toggle-btn[_ngcontent-%COMP%]{border-color:#2c2c2e;color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .theme-toggle-btn.dark-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .theme-toggle-btn.dark-btn[_ngcontent-%COMP%]{background:transparent;color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .theme-toggle-btn.light-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .theme-toggle-btn.light-btn[_ngcontent-%COMP%]{background:#0071cc;border-color:#0071cc;color:#f8f9fd}[data-bs-theme=dark][_nghost-%COMP%]   .theme-toggle-btn[_ngcontent-%COMP%]:hover:not(.active), [data-bs-theme=dark]   [_nghost-%COMP%]   .theme-toggle-btn[_ngcontent-%COMP%]:hover:not(.active){background:#ffffff14}"]})}}return o}
3)();var La=["sideMenu"],Ea=["trigger"],Da=["lobMenuTrigger"],za=["lobNavItem"],Fa=["lobLevel1Panel"],Vi=o=>({"muliple-submenu":o}),Ai=()=>({"has-arrow":!0}),Na=()=>["/logout"];function Ua(o,g){o&1&&(a(0,"li",34)(1,"span",35),m(2),f(3,"translate"),s()()),o&2&&(r(2),v(b(3,1,"sidebar.viewAs")))}function Va(o,g){if(o&1&&(D(0),m(1),z()),o&2){let e=d(4);r(),S(" - ",e.displayTerritory," ")}}function Aa(o,g){o&1&&(a(0,"mat-icon",43),m(1,"arrow_right"),s())}function Ba(o,g){if(o&1){let e=y();a(0,"div",44),C("click",function(){O(e);let n=d(4);return P(n.closeLobDropdown())}),s()}}function ja(o,g){o&1&&(a(0,"mat-icon",51),m(1," chevron_right "),s())}function Ra(o,g){o&1&&(a(0,"mat-icon",52),m(1," check_circle_outline "),s())}function Ga(o,g){if(o&1){let e=y();D(0),a(1,"div",47),C("click",function(){let n=O(e).$implicit,i=d(5);return P(i.onLobSelect(n))}),a(2,"span",48),m(3),s(),M(4,ja,2,0,"mat-icon",49)(5,Ra,2,0,"mat-icon",50),s(),z()}if(o&2){let e,t=g.$implicit,n=d(5);r(),k("lob-expanded",n.expandedLob===t.lobName)("lob-selectable",!n.hasTerritoriesForLob(t.lobName)),r(2),v(t.lobName),r(),l("ngIf",n.hasTerritoriesForLob(t.lobName)),r(),l("ngIf",!n.hasTerritoriesForLob(t.lobName)&&((e=n.lobTerritoryForm.get("lob"))==null?null:e.value)===t.lobName)}}function $a(o,g){if(o&1){let e=y();a(0,"div",45,2),C("click",function(n){return O(e),P(n.stopPropagation())}),a(2,"div",46),M(3,Ga,6,7,"ng-container",27),s()()}if(o&2){let e=d(4);W("top",e.lobFlyoutTop,"px")("left",e.lobFlyoutLeft,"px"),r(3),l("ngForOf",e.lobOptions)}}function Ha(o,g){o&1&&(a(0,"div",55),m(1),f(2,"translate"),s()),o&2&&(r(),v(b(2,1,"sidebar.territories")))}function Ka(o,g){if(o&1&&(D(0),m(1),z()),o&2){let e=d(2).$implicit;r(),S(" - ",e.language," ")}}function qa(o,g){o&1&&(a(0,"mat-icon",52),m(1,"check_circle_outline"),s())}function Wa(o,g){if(o&1){let e=y();a(0,"div",57),C("click",function(n){O(e);let i=d().$implicit,c=d(6);return P(c.onTerritorySelect(i,n))}),a(1,"span",58),m(2),M(3,Ka,2,1,"ng-container",17),s(),M(4,qa,2,0,"mat-icon",50),s()}if(o&2){let e=d().$implicit,t=d(6);k("selected",t.isSelectedTerritory(e)),r(2),S(" ",e.territoryName," "),r(),l("ngIf",e.language),r(),l("ngIf",t.isSelectedTerritory(e))}}function Qa(o,g){if(o&1&&(D(0),M(1,Wa,5,5,"div",56),z()),o&2){let e=g.$implicit;r(),l("ngIf",e.territoryId)}}function Ja(o,g){if(o&1&&(D(0),M(1,Ha,3,3,"div",54)(2,Qa,2,1,"ng-container",27),z()),o&2){let e=d(5);r(),l("ngIf",e.territoryHasGroupItems),r(),l("ngForOf",e.territoryOptions)}}function Ya(o,g){o&1&&(a(0,"mat-icon",52),m(1,"check_circle_outline"),s())}function Za(o,g){if(o&1){let e=y();a(0,"div",57),C("click",function(n){O(e);let i=d().$implicit,c=d(6);return P(c.onTerritorySelect(i,n))}),a(1,"span",58),m(2),s(),M(3,Ya,2,0,"mat-icon",50),s()}if(o&2){let e=d().$implicit,t=d(6);k("selected",t.isSelectedTerritory(e)),r(2),v(e.territoryGroupName),r(),l("ngIf",t.isSelectedTerritory(e))}}function Xa(o,g){if(o&1&&(D(0),M(1,Za,4,4,"div",56),z()),o&2){let e=g.$implicit;r(),l("ngIf",!e.territoryId&&e.territoryGroupId)}}function es(o,g){if(o&1&&(D(0),a(1,"div",55),m(2),f(3,"translate"),s(),M(4,Xa,2,1,"ng-container",27),z()),o&2){let e=d(5);r(2),v(b(3,2,"sidebar.territoryGroups")),r(2),l("ngForOf",e.territoryOptions)}}function ts(o,g){if(o&1){let e=y();a(0,"div",53),C("click",function(n){return O(e),P(n.stopPropagation())}),a(1,"div",46),M(2,Ja,3,2,"ng-container",17)(3,es,5,4,"ng-container",17),s()()}if(o&2){let e=d(4);W("top",e.lobLevel2Top,"px")("left",e.lobLevel2Left,"px"),r(2),l("ngIf",e.territoryHasDirectItems),r(),l("ngIf",e.hasTerritoryGroupOptions)}}function ns(o,g){if(o&1){let e=y();a(0,"li",36,1),C("clickOutside",function(){O(e);let n=d(3);return P(n.closeLobDropdown())}),a(2,"a",37),C("click",function(n){O(e);let i=d(3);return P(i.toggleLobDropdown(n))})("mouseenter",function(){O(e);let n=d(3);return P(n.cancelLobClose())}),h(3,"img",38),a(4,"span"),m(5),M(6,Va,2,1,"ng-container",17),s(),M(7,Aa,2,0,"mat-icon",39),s(),M(8,Ba,1,0,"div",40)(9,$a,4,5,"div",41)(10,ts,4,6,"div",42),s()}if(o&2){let e=d(3);r(2),k("active",e.showLobDropdown),r(),W("filter",e.currentMode==="dark"?"invert(1)":"invert(0)"),r(2),S(" ",e.displayLob," "),r(),l("ngIf",e.displayTerritory),r(),l("ngIf",e.isSidebarExpanded),r(),l("ngIf",e.showLobDropdown),r(),l("ngIf",e.showLobDropdown),r(),l("ngIf",e.showLobDropdown&&e.expandedLob&&e.hasValidTerritories())}}function os(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(6);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function is(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function rs(o,g){if(o&1){let e=y();a(0,"a",68),C("click",function(n){O(e);let i=d().$implicit,c=d(4);return P(c.handleMenuItemClick(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,os,4,5,"ng-container",18)(5,is,2,3,"ng-template",null,3,Q),s(),a(7,"p",70),m(8),f(9,"translate"),f(10,"translate"),f(11,"translate"),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(4);r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,7,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e),r(4),S(" ",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases"?(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="airline"||(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="inflight"?b(9,9,"sidebar.currentReleases"):b(10,11,"sidebar.home"):t.labelKey?b(11,13,t.labelKey):t.label," ")}}function as(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(6);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function ss(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function cs(o,g){if(o&1){let e=y();a(0,"a",71),C("click",function(n){O(e);let i=d().$implicit,c=d(4);return P(c.updateActive(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,as,4,5,"ng-container",18)(5,ss,2,3,"ng-template",null,4,Q),s(),a(7,"p",70),m(8),f(9,"translate"),f(10,"translate"),f(11,"translate"),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(4);l("routerLink",t.link),r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,8,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e),r(4),S(" ",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases"?(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="airline"||(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="inflight"?b(9,10,"sidebar.currentReleases"):b(10,12,"sidebar.home"):t.labelKey?b(11,14,t.labelKey):t.label," ")}}function ls(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(6);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function ds(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function ps(o,g){if(o&1){let e=y();a(0,"a",72),C("click",function(n){O(e);let i=d().$implicit,c=d(4);return P(c.updateActive(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,ls,4,5,"ng-container",18)(5,ds,2,3,"ng-template",null,5,Q),s(),a(7,"p",70),m(8),f(9,"translate"),f(10,"translate"),f(11,"translate"),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(4);r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,7,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e),r(4),S(" ",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases"?(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="airline"||(n.currentUserLob==null?null:n.currentUserLob.toLowerCase())==="inflight"?b(9,9,"sidebar.currentReleases"):b(10,11,"sidebar.home"):t.labelKey?b(11,13,t.labelKey):t.label," ")}}function gs(o,g){if(o&1&&(a(0,"mat-icon",75),m(1),s()),o&2){let e=d(2).$implicit;
3r(),S(" ",e.isCollapsed?"chevron_right":"expand_more"," ")}}function ms(o,g){if(o&1){let e=y();a(0,"a",73),C("click",function(){O(e);let n=d().$implicit,i=d(4);return P(i.toggleItem(n))}),h(1,"img",69),f(2,"translate"),a(3,"span"),m(4),f(5,"translate"),s(),M(6,gs,2,1,"mat-icon",74),a(7,"p",70),m(8),f(9,"translate"),s()()}if(o&2){let e=d().$implicit,t=d(4);l("ngClass",Fe(15,Ai)),U("aria-expanded",!e.isCollapsed),r(),W("filter",t.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",e.icon,ee)("alt",e.labelKey?b(2,9,e.labelKey):e.label),r(3),v(e.labelKey?b(5,11,e.labelKey):e.label),r(2),l("ngIf",t.isSidebarExpanded),r(2),v(e.labelKey?b(9,13,e.labelKey):e.label)}}function us(o,g){if(o&1){let e=y();a(0,"li",62)(1,"a",81),C("click",function(n){let i=O(e).$implicit,c=d(10);return P(c.updateActive(n,i))}),m(2),f(3,"translate"),s()()}if(o&2){let e=g.$implicit;r(),l("routerLink",e.link),r(),S(" ",e.labelKey?b(3,2,e.labelKey):e.label," ")}}function _s(o,g){if(o&1){let e=y();D(0),a(1,"a",78),C("click",function(){O(e);let n=d().$implicit,i=d(8);return P(i.toggleItem(n))}),m(2),f(3,"translate"),s(),a(4,"div",80),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(5,"ul",77),M(6,us,4,4,"li",61),s()(),z()}if(o&2){let e=d().$implicit;r(2),S(" ",e.labelKey?b(3,3,e.labelKey):e.label," "),r(2),pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function hs(o,g){if(o&1){let e=y();a(0,"a",78),C("click",function(n){O(e);let i=d(2).$implicit,c=d(8);return P(c.handleMenuItemClick(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;r(),S(" ",e.labelKey?b(2,1,e.labelKey):e.label," ")}}function fs(o,g){if(o&1){let e=y();a(0,"a",81),C("click",function(n){O(e);let i=d(2).$implicit,c=d(8);return P(c.updateActive(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;l("routerLink",e.link),r(),S(" ",e.labelKey?b(2,2,e.labelKey):e.label," ")}}function bs(o,g){if(o&1&&M(0,hs,3,3,"a",82)(1,fs,3,4,"ng-template",null,8,Q),o&2){let e=K(2),t=d().$implicit;l("ngIf",t.action==="openPdf")("ngIfElse",e)}}function Cs(o,g){if(o&1&&(a(0,"li",62),M(1,_s,7,5,"ng-container",18)(2,bs,3,2,"ng-template",null,7,Q),s()),o&2){let e=g.$implicit,t=K(3),n=d(8);r(),l("ngIf",n.hasItems(e))("ngIfElse",t)}}function Ms(o,g){if(o&1){let e=y();D(0),a(1,"a",78),C("click",function(){O(e);let n=d().$implicit,i=d(6);return P(i.toggleItem(n))}),m(2),f(3,"translate"),s(),a(4,"div",79),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(5,"ul",77),M(6,Cs,4,2,"li",61),s()(),z()}if(o&2){let e=d().$implicit;r(2),S(" ",e.labelKey?b(3,3,e.labelKey):e.label," "),r(2),pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function Os(o,g){if(o&1){let e=y();a(0,"a",78),C("click",function(n){O(e);let i=d(2).$implicit,c=d(6);return P(c.handleMenuItemClick(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;r(),S(" ",e.labelKey?b(2,1,e.labelKey):e.label," ")}}function Ps(o,g){if(o&1){let e=y();a(0,"a",81),C("click",function(n){O(e);let i=d(2).$implicit,c=d(6);return P(c.updateActive(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;l("routerLink",e.link),r(),S(" ",e.labelKey?b(2,2,e.labelKey):e.label," ")}}function xs(o,g){if(o&1&&M(0,Os,3,3,"a",82)(1,Ps,3,4,"ng-template",null,9,Q),o&2){let e=K(2),t=d().$implicit;l("ngIf",t.action==="openPdf")("ngIfElse",e)}}function vs(o,g){if(o&1&&(a(0,"li",62),M(1,Ms,7,5,"ng-container",18)(2,xs,3,2,"ng-template",null,6,Q),s()),o&2){let e=g.$implicit,t=K(3),n=d(6);r(),l("ngIf",n.hasItems(e))("ngIfElse",t)}}function ys(o,g){if(o&1){let e=y();a(0,"div",76),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(1,"ul",77),M(2,vs,4,2,"li",61),s()()}if(o&2){let e=d().$implicit;pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function ws(o,g){if(o&1&&(a(0,"li",62),M(1,rs,12,15,"a",63)(2,cs,12,16,"a",64)(3,ps,12,15,"a",65)(4,ms,10,16,"a",66)(5,ys,3,2,"div",67),s()),o&2){let e=g.$implicit,t=d(4);r(),l("ngIf",!t.hasItems(e)&&e.action==="openPdf"),r(),l("ngIf",!t.hasItems(e)&&e.action!=="openPdf"&&!t.isHomeMenu(e)),r(),l("ngIf",!t.hasItems(e)&&e.action!=="openPdf"&&t.isHomeMenu(e)),r(),l("ngIf",t.hasItems(e)),r(),l("ngIf",t.hasItems(e))}}function ks(o,g){if(o&1&&(D(0),a(1,"li",59)(2,"div",34)(3,"span"),m(4),f(5,"translate"),s()(),a(6,"ul",60),M(7,ws,6,5,"li",61),s()(),z()),o&2){let e=g.$implicit,t=d(3);r(4),v(e.titleKey?b(5,3,e.titleKey):e.title),r(2),l("ngClass",Et(5,Vi,t.hasMultipleSubmenus(e))),r(),l("ngForOf",e.items)}}function Ss(o,g){if(o&1){let e=y();a(0,"li",62)(1,"a",78),C("click",function(){O(e);let n=d(3);return P(n.showAlerts())}),h(2,"img",83),f(3,"translate"),a(4,"span"),m(5),f(6,"translate"),s(),a(7,"p",70),m(8),f(9,"translate"),s()()()}if(o&2){let e=d(3);r(2),W("filter",e.currentMode==="dark"?"invert(1)":"invert(0)"),U("alt",b(3,5,"sidebar.alerts")),r(3),v(b(6,7,"sidebar.alerts")),r(3),v(b(9,9,"sidebar.alerts"))}}function Is(o,g){if(o&1){let e=y();D(0),a(1,"div",19)(2,"div",20)(3,"div",21),h(4,"div",22),a(5,"ngx-simplebar",23)(6,"ul",24),D(7),M(8,Ua,4,3,"li",25)(9,ns,11,10,"li",26),z(),M(10,ks,8,7,"ng-container",27),s()()(),a(11,"div",28)(12,"ul",29),M(13,Ss,10,11,"li",30),a(14,"button",31),C("click",function(n){O(e);let i=d(2);return P(i.toggleMobileMenu(n))}),h(15,"img",32),f(16,"translate"),s(),h(17,"div",33),s()()()(),z()}if(o&2){let e=d(2);r(8),l("ngIf",e.shouldShowLobSelector),r(),l("ngIf",e.shouldShowLobSelector),r(),l("ngForOf",e.menuGroups),r(3),l("ngIf",e.canSeeAlerts),r(2),l("src",e.sidebarToggleIcon,ee),U("alt",b(16,6,"sidebar.menu"))}}function Ts(o,g){if(o&1){let e=y();a(0,"app-mobile-account-settings",96),C("goBack",function(){O(e);let n=d(3);return P(n.showProfileView=!1)})("profileNavigate",function(){O(e);let n=d(3);return P(n.navigateToProfile())})("languageSelect",function(n){O(e);let i=d(3);return P(i.selectLanguage(n))})("modeChange",function(n){O(e);let i=d(3);return P(i.changeModeExplicit(n))})("lobSelect",function(n){O(e);let i=d(3);return P(i.onMobileLobSelect(n))})("territorySelect",function(n){O(e);let i=d(3);return P(i.onMobileTerritorySelect(n))}),s()}if(o&2){let e=d(3);l("languageOptions",e.languageOptions)("currentLanguage",e.currentLanguage)("currentUserLob",e.currentUserLob)("currentUserTerritory",e.currentUserTerritory)("currentMode",e.currentMode)("lobOptions",e.lobOptions)("territoryOptions",e.territoryOptions)("allLobTerritoryMap",e.allLobTerritoryMap)}}function Ls(o,g){if(o&1&&(a(0,"p",111),m(1),s()),o&2){let e=d(4);r(),v(e.userEmail)}}function Es(o,g){if(o&1&&(a(0,"p")(1,"mat-icon"),m(2,"location_on"),s(),a(3,"span"),m(4),s()()),o&2){let e=d(5
3);r(4),v(e.currentUserLob)}}function Ds(o,g){if(o&1&&(a(0,"p")(1,"mat-icon"),m(2,"domain"),s(),a(3,"span"),m(4),s()()),o&2){let e=d(5);r(4),v(e.currentUserTerritory)}}function zs(o,g){if(o&1&&(a(0,"div",112),M(1,Es,5,1,"p",17)(2,Ds,5,1,"p",17),s()),o&2){let e=d(4);r(),l("ngIf",e.currentUserLob),r(),l("ngIf",e.currentUserTerritory)}}function Fs(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(7);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function Ns(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function Us(o,g){if(o&1){let e=y();a(0,"a",68),C("click",function(n){O(e);let i=d().$implicit,c=d(5);return P(c.handleMenuItemClick(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,Fs,4,5,"ng-container",18)(5,Ns,2,3,"ng-template",null,10,Q),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(5);r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,6,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e)}}function Vs(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(7);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function As(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function Bs(o,g){if(o&1){let e=y();a(0,"a",71),C("click",function(n){O(e);let i=d().$implicit,c=d(5);return P(c.updateActive(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,Vs,4,5,"ng-container",18)(5,As,2,3,"ng-template",null,11,Q),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(5);l("routerLink",t.link),r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,7,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e)}}function js(o,g){if(o&1&&(D(0),m(1),f(2,"translate"),f(3,"translate"),z()),o&2){let e=d(7);r(),S(" ",(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="airline"||(e.currentUserLob==null?null:e.currentUserLob.toLowerCase())==="inflight"?b(2,1,"sidebar.currentReleases"):b(3,3,"sidebar.home")," ")}}function Rs(o,g){if(o&1&&(m(0),f(1,"translate")),o&2){let e=d(2).$implicit;S(" ",e.labelKey?b(1,1,e.labelKey):e.label," ")}}function Gs(o,g){if(o&1){let e=y();a(0,"a",72),C("click",function(n){O(e);let i=d().$implicit,c=d(5);return P(c.updateActive(n,i))}),h(1,"img",69),f(2,"translate"),a(3,"span"),M(4,js,4,5,"ng-container",18)(5,Rs,2,3,"ng-template",null,12,Q),s()()}if(o&2){let e=K(6),t=d().$implicit,n=d(5);r(),W("filter",n.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",t.icon,ee)("alt",t.labelKey?b(2,6,t.labelKey):t.label),r(3),l("ngIf",t.resource==="HOME"||(t.label||"").toLowerCase()==="current releases")("ngIfElse",e)}}function $s(o,g){if(o&1){let e=y();a(0,"a",73),C("click",function(){O(e);let n=d().$implicit,i=d(5);return P(i.toggleItem(n))}),h(1,"img",69),f(2,"translate"),a(3,"span"),m(4),f(5,"translate"),s()()}if(o&2){let e=d().$implicit,t=d(5);l("ngClass",Fe(11,Ai)),U("aria-expanded",!e.isCollapsed),r(),W("filter",t.currentMode==="dark"?"invert(1)":"invert(0)"),l("src",e.icon,ee)("alt",e.labelKey?b(2,7,e.labelKey):e.label),r(3),v(e.labelKey?b(5,9,e.labelKey):e.label)}}function Hs(o,g){if(o&1){let e=y();a(0,"li",62)(1,"a",81),C("click",function(n){let i=O(e).$implicit,c=d(11);return P(c.updateActive(n,i))}),m(2),f(3,"translate"),s()()}if(o&2){let e=g.$implicit;r(),l("routerLink",e.link),r(),v(e.labelKey?b(3,2,e.labelKey):e.label)}}function Ks(o,g){if(o&1){let e=y();D(0),a(1,"a",78),C("click",function(){O(e);let n=d().$implicit,i=d(9);return P(i.toggleItem(n))}),m(2),f(3,"translate"),s(),a(4,"div",80),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(5,"ul",77),M(6,Hs,4,4,"li",61),s()(),z()}if(o&2){let e=d().$implicit;r(2),v(e.labelKey?b(3,3,e.labelKey):e.label),r(2),pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function qs(o,g){if(o&1){let e=y();a(0,"a",78),C("click",function(n){O(e);let i=d(2).$implicit,c=d(9);return P(c.handleMenuItemClick(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;r(),v(e.labelKey?b(2,1,e.labelKey):e.label)}}function Ws(o,g){if(o&1){let e=y();a(0,"a",81),C("click",function(n){O(e);let i=d(2).$implicit,c=d(9);return P(c.updateActive(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;l("routerLink",e.link),r(),v(e.labelKey?b(2,2,e.labelKey):e.label)}}function Qs(o,g){if(o&1&&M(0,qs,3,3,"a",82)(1,Ws,3,4,"ng-template",null,15,Q),o&2){let e=K(2),t=d().$implicit;l("ngIf",t.action==="openPdf")("ngIfElse",e)}}function Js(o,g){if(o&1&&(a(0,"li",62),M(1,Ks,7,5,"ng-container",18)(2,Qs,3,2,"ng-template",null,14,Q),s()),o&2){let e=g.$implicit,t=K(3),n=d(9);r(),l("ngIf",n.hasItems(e))("ngIfElse",t)}}function Ys(o,g){if(o&1){let e=y();D(0),a(1,"a",78),C("click",function(){O(e);let n=d().$implicit,i=d(7);return P(i.toggleItem(n))}),m(2),f(3,"translate"),s(),a(4,"div",79),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(5,"ul",77),M(6,Js,4,2,"li",61),s()(),z()}if(o&2){let e=d().$implicit;r(2),v(e.labelKey?b(3,3,e.labelKey):e.label),r(2),pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function Zs(o,g){if(o&1){let e=y();a(0,"a",78),C("click",function(n){O(e);let i=d(2).$implicit,c=d(7);return P(c.handleMenuItemClick(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;r(),v(e.labelKey?b(2,1,e.labelKey):e.label)}}function Xs(o,g){if(o&1){let e=y();a(0,"a",81),C("click",function(n){O(e);let i=d(2).$implicit,c=d(7);return P(c.updateActive(n,i))}),m(1),f(2,"translate"),s()}if(o&2){let e=d(2).$implicit;l("routerLink",e.link),r(),v(e.labelKey?b(2,2,e.labelKey):e.label)}}function ec(o,g){if(o&1&&M(0,Zs,3,3,"a",82)(1,Xs,3,4,"ng-template",null,16,Q),o&2){let e=K(2),t=d().$implicit;l("ngIf",t.action==="openPdf")("ngIfElse",e)}}function tc(o,g){if(o&1&&(a(0,"li",62),M(1,Ys,7,5,"ng-container",18)(2,ec,3,2,"ng-template",null,13,Q),s()),o&2){let e=g.$implicit,t=K(3),n=d(7);r(),l("ngIf",n.hasItems(e))("ngIfElse",t)}}function nc(o,g){if(o&1){let e=y();a(0,"div",76),me("ngbCollapseChange",function(n){O(e);let i=d().$implicit;return ge(i.isCollapsed,n)||(i.isCollapsed=n),P(n)}),a(1,"ul",77),M(2,tc,4,2,"li",61),s()()}if(o&2){let e=d().$implicit;pe("ngbCollapse",e.isCollapsed),r(2),l("ngForOf",e.subItems)}}function oc(o,g){if(o&1&&(a(0,"li",62),M(1,Us,7,8,"a",63)(2,Bs,7,9,"a",64)(3,Gs,7,8,"a",65)(4,$s,6,12,"a",66)(5,nc,3,2,"div",67),s()),o&2){let e=g.$implicit,t=d(5);r(),l("ngIf",!t.hasItems(e)&&e.action==="openPdf"),r(),l("ngIf",!t.hasItems(e)&&e.action!=="openPdf"&&!t.isHomeMenu(e)),r(),l("ngIf",!t.hasItems(e)&&e.action!=="openPdf"&&t.isHomeMenu(e)),r(),l("ngIf",t.hasItems(e)),r(),l("ngIf",t.hasItems(e))}}function ic(o,g){if(o&1&&(D(0),a(1,"li",59)(2,"div",113)(3,"h2",34),m(4),f(5,"translate"),s()(),a(6,"ul",60),M(7,oc,6,5,"li",61),s()(),z()),o&2){let e=g.$implicit,t=d(4);r(4),v(e.titleKey?b(5,3,e.titleKey):e.title),r(2),l("ngClass",Et(5,Vi,t.hasMultipleSubmenus(e))),r(),l("ngForOf",e.items)}}function rc(o,g){if(o&1){let e=y();a(0,"li",62)(1,"a",78),C("click",function(){O(e);let n=d(4);return P(n.showAlerts())}),h(2,"img",83),f(3,"translate"),a(4,"span"),h(5,"app-common-translate",90),s()()()}if(o&2){let e=d(4);r(2),W("filter",e.currentMode==="dark"?"invert(1)":"invert(0)"),U("alt",b(3,4,"sidebar.alerts")),r(3),l("key","sidebar.alerts")}}function ac(o,g){if(o&1){let e=y();a(0,"div",97)(1,"div",21)(2,"div",98),C("click",function(){O(e);let n=d(3);return P(n.showProfileView=!0)}),a(3,"div",99)(4,"div",100),m(5),s(),a(6,"div",101)(7,"p",102),m(8),f(9,"translate"),s(),M(10,Ls,2,1,"p",103)(11,zs,3,2,"div",104),s()(),a(12,"button",105)(13,"mat-icon"),m(14,"chevron_right"),s()()(),h(15,"div",106),a(16,"div",107)(17,"ngx-simplebar",23)(18,"ul",108),M(19,ic,8,7,"ng-container",27),s()()()(),a(20,"div",109)(21,"ul",29),M(22,rc,6,6,"li",30),h(23,"div",110),s()()()}if(o&2){let e=d(3);r(5),v(e.getUserInitials()),r(3),v(e.userName||b(9,6,"sidebar.user")),r(2),l("ngIf",e.userEmail),r(),l("ngIf",e.currentUserLob||e.currentUserTerritory),r(8),l("ngForOf",e.menuGroups),r(3),l("ngIf",e.canSeeAlerts)}}function sc(o,g){if(o&1){let e=y();a(0,"div",84),M(1,Ts,1,8,"app-mobile-account-settings",85)(2,ac,24,8,"div",86),a(3,"button",87),C("click",function(){O(e);let n=d(2);return P(n.openMyKitDrawer())}),a(4,"mat-icon",88),m(5,"folder_open"),s(),a(6,"span",89),h(7,"app-common-translate",90),s()(),a(8,"div",91)(9,"div",92)(10,"a",93)(11,"mat-icon",94),m(12,"logout"),s(),a(13,"span",95),h(14,"app-common-translate",90),s()()()()()}if(o&2){let e=d(2);r(),l("ngIf",e.showProfileView),r(),l("ngIf",!e.showProfileView),r(5),l("key","sidebar.myKit"),r(3),l("routerLink",Fe(5,Na)),r(4),l("key","sidebar.logOut")}}function cc(o,g){if(o&1&&(D(0),M(1,Is,18,8,"ng-container",18)(2,sc,15,6,"ng-template",null,0,Q),z()),o&2){let e=K(3),t=d();r(),l("ngIf",!t.isMobileLayout)("ngIfElse",e)}}var Bi=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T,R,H,Se,ye,pt,xn,vn,yn,wn,kn,Sn,In,Tn,Ln,En,Dn,zn){this.router=e,this.menuService=t,this.eventService=n,this.cdr=i,this.authStateService=c,this.oktaAuth=p,this.appInitService=u,this.translate=x,this.permissionService=w,this.roleService=I,this.userPreferenceService=T,this.ngZone=R,this.eventsService=H,this.changeLobRefreshService=Se,this.adminServiceService=ye,this.manageHomepageConnectorService=pt,this.manageHomepageService=xn,this.toastService=vn,this.themeRefreshService=yn,this.masterStore=wn,this.store=kn,this.translationLoader=Sn,this.cartService=In,this.fb=Tn,this.loginResponseHandler=Ln,this.authService=En,this.navigationService=Dn,this.homeNavigationService=zn,this.menuItems=[],this.menuGroups=[],this.permissions=[],this.currentMode="light",this.userName="",this.userEmail="",this.canSeeAlerts=!1,this.showLobDropdown=!1,this.expandedLob=null,this.showDropdown=!1,this.enableLobDropdown=!1,this.isOpen=!1,this.isMobileLayout=!1,this.showProfileView=!1,this.languageOptions=[],this.currentLanguage=null,this.currentUserLob="",this.currentUserTerritory="",this.territoryHasDirectItems=!1,this.territoryHasGroupItems=!1,this.territoryMenuLob=null,this.lobOptions=[],this.territoryOptions=[],this.allLobTerritoryMap={},this.lobLanuageOptions=[],this.defaultInitialized=!1,this.defaultLanguageId=null,this.lobFlyoutTop=0,this.lobFlyoutLeft=0,this.lobLevel2Left=0,this.lobLevel2Top=0,this.displayLob="",this.displayTerritory="",this.mobileMenuButtonClicked=new Z,this.publishedPagesRequiredFor=["library","spotlight","tvshorts","tvAndSh
3orts"],this.authState$=this.authStateService.authState$,this.lobTerritoryForm=this.fb.group({lob:[""],lobId:[""],territory:[""],territoryId:[""],territoryGroup:[""],territoryGroupId:[""],language:[""],languageId:[""]})}ngOnInit(){this.updateLayoutMode(),this.changeLobRefreshService.refresh$.subscribe(()=>{this.refreshMenu()}),this.themeRefreshService.theme$.subscribe(i=>{this.currentMode=i}),document.documentElement.setAttribute("data-sidebar-size","sm"),this.isDesktopView()||this.activateMobileSmHover();let e=this.userPreferenceService.getPreferences(),t=e?.userPermissions;this.permissions=t||[],this.displayLob=e?.defaultLob||"",this.displayTerritory=e?.defaultTerritory||e?.defaultTerritoryGroup||"",this.userName=e.name||"",this.userEmail=e.email||"",this.currentUserLob=sessionStorage.getItem("currentUserLob")||sessionStorage.getItem("currentUserLOB")||"",this.currentUserTerritory=sessionStorage.getItem("currentUserTerritory")||"",this.masterStore.lobTerritoryLanguageMap$.subscribe(i=>{this.lobTerritoryLanguageMapping=i||[],this.defaultLanguageId=sessionStorage.getItem("defaultLanguageId")?Number(sessionStorage.getItem("defaultLanguageId")):null}),this.masterStore.masterLanguageCode$.subscribe(i=>{if(i){let c=e?.defaultLanguage?.toUpperCase()||null,p=e?.defaultLanguageId||null;this.languageOptions=Object.entries(i).filter(([u,x])=>x?.name?.toLowerCase()!=="all languages").map(([u,x])=>{let w=(x.code||"XX").toUpperCase();return{id:Number(u),code:w,languageName:x.name,flag:`assets/Translation/Flags/${w}.svg`}}),this.currentLanguage=this.languageOptions.find(u=>u.id===Number(p)||u.code===c)||this.languageOptions.find(u=>u.code==="EN")||this.languageOptions[0]}}),this.getPublishedPages();let n=sessionStorage.getItem("theme");this.currentMode=n??"light",document.documentElement.setAttribute("data-sidebar-size","sm"),this.canSeeAlerts=this.permissionService.canView("Alerts"),this.updateSidebarVisibilityAttr(),this.permissionService.permissions$.subscribe(i=>{this.permissions=i||[],this.canSeeAlerts=this.permissionService.canView("Alerts"),this.loadMenuData(),this.updateSidebarVisibilityAttr(),this.cdr.detectChanges()}),this.loadMasterData()}hasMultipleSubmenus(e){return!!e?.items?.some(t=>(t?.subItems?.length??0)>1)}toggleLobDropdown(e){e.stopPropagation(),this.showLobDropdown=!this.showLobDropdown,this.showLobDropdown?(this.expandedLob=null,setTimeout(()=>this.recalculateFlyoutPosition(),0)):this.expandedLob=null}recalculateFlyoutPosition(){if(!this.lobNavItemRef)return;let t=this.lobNavItemRef.nativeElement.getBoundingClientRect();this.lobFlyoutTop=t.top,this.lobFlyoutLeft=t.right,this.recalculateLevel2Position()}recalculateLevel2Position(){setTimeout(()=>{if(!this.lobLevel1PanelRef)return;let e=this.lobLevel1PanelRef.nativeElement,t=e.getBoundingClientRect();this.lobLevel2Left=t.right+4;let n=e.querySelector(".lob-row.lob-expanded");if(n){let i=n.getBoundingClientRect();this.lobLevel2Top=i.top}else this.lobLevel2Top=this.lobFlyoutTop},0)}getPublishedPages(){this.eventsService.getAllLandingPages().subscribe({next:e=>{this.publishedPages=Array.isArray(e)?e:[],this.loadMenuData()},error:()=>{this.publishedPages=[],this.loadMenuData()}})}loadMenuData(){this.menuService.getMenuData().subscribe(e=>{this.cdr.detectChanges(),this.translate.use(this.translate.currentLang);let t=this.normalizeMenuData(e),n=this.applyLandingMenuLabel(t);this.menuItems=this.filterMenuByPermissions(n),this.menuGroups=this.buildMenuGroups(this.menuItems),this.updateSidebarVisibilityAttr(),this.applyMobileDefaultCollapsedState(),this.loadReleaseScheduleFiles()})}applyLandingMenuLabel(e){let t=(this.currentUserLob||"").toString().toLowerCase(),n=t==="airline"||t==="inflight";return e.map(i=>{if(i?.resource==="HOME"){if(!n&&(i.label||"").toString().toLowerCase()==="current releases")return de(X({},i),{label:this.translate.instant("sidebar.home")});if(n&&(i.label||"").toString().toLowerCase()==="home")return de(X({},i),{label:this.translate.instant("sidebar.currentReleases")})}return i})}normalizeMenuData(e){if(!Array.isArray(e))return[];if(e.some(i=>i&&typeof i=="object"&&"isTitle"in i))return e;let n=[];return e.forEach(i=>
3{!i||typeof i!="object"||Array.isArray(i)||Object.entries(i).forEach(([c,p])=>{c&&(n.push({label:c,labelKey:this.getGroupTitleKey(c),isTitle:!0}),Array.isArray(p)&&p.forEach(u=>{u&&typeof u=="object"&&n.push(this.normalizeMenuItem(u))}))})}),n}normalizeMenuItem(e){let t=de(X({},e),{labelKey:this.normalizeLabelKey(e.labelKey)});return e.subItems&&Array.isArray(e.subItems)&&(t.subItems=e.subItems.map(n=>this.normalizeMenuItem(n))),t}normalizeLabelKey(e){if(e)return e.startsWith("menu.")?e.replace(/^menu\./,""):e}buildMenuGroups(e){let t=[],n=null;return e.forEach(i=>{if(i.isTitle){n&&n.items.length>0&&t.push(n),n={title:i.label||"",titleKey:i.labelKey,items:[]};return}n||(n={title:"",items:[]}),n.items.push(i)}),n&&n.items.length>0&&t.push(n),t}getGroupTitleKey(e){return{"SALES & MARKETING TOOLS":"groups.salesMarketingTools",CONTENT:"groups.content",SERVICING:"groups.servicing",Admin:"groups.admin"}[e]||null}hasPermission(e,t="read"){if(!e||e.trim()==="")return!0;let n=p=>p.toLowerCase().replace(/[^a-z0-9]/g,""),i=n(e),c=n(t);return this.permissions.some(p=>{let u=p.resource||"";return n(u)!==i?!1:(Array.isArray(p.permission)?p.permission:[p.permission]).filter(I=>typeof I=="string").some(I=>n(I)===c)})}hasViewPermission(e){return this.hasPermission(e,"read")}getMenuPermissionType(e){return(e.permissionType||"read").toString()}isExhibitorUK(){let e=this.userPreferenceService.getPreferences();return!!(e.defaultLobId==3&&(e.defaultTerritory&&e.defaultTerritory=="United Kingdom"||e.defaultTerritoryGroup&&e.defaultTerritoryGroup=="United Kingdom & Ireland"))}filterMenuByPermissions(e){return e.map(t=>{if(!t||!t.label||Object.keys(t).length===0)return null;if(t.isTitle)return X({},t);if(!this.checkPublishedPages(t))return null;if(t.subItems&&Array.isArray(t.subItems)){let n=this.filterMenuByPermissions(t.subItems);return n.length===0?t.isCollapsed===!0?null:this.hasPermission(t.resource,this.getMenuPermissionType(t))&&!!t.link?de(X({},t),{subItems:[],isCollapsed:t.isCollapsed!==!1}):null:de(X({},t),{subItems:n,isCollapsed:t.isCollapsed!==!1})}return t.label==="Request POS Materials"||t.label==="Request In-Theater Materials"?null:this.hasPermission(t.resource,this.getMenuPermissionType(t))?de(X({},t),{isCollapsed:t.isCollapsed!==!1}):null}).filter(t=>
3!!t).filter((t,n,i)=>t.isTitle?i.slice(n+1).some(p=>!p.isTitle):!0)}removeActivation(e){e.forEach(t=>t.classList.remove("active"))}toggleItem(e){this.isDesktopView()||this.activateMobileSmHover(),this.isDesktopView()&&this.sidebarSize==="sm"&&document.documentElement.setAttribute("data-sidebar-size","lg"),this.menuItems.forEach(t=>{t==e?t.isCollapsed=!t.isCollapsed:t.isCollapsed=!0,t.subItems&&t.subItems.forEach(n=>{n==e?(t.isCollapsed=!t.isCollapsed,n.isCollapsed=!n.isCollapsed):n.isCollapsed=!0,n.subItems&&n.subItems.forEach(i=>{i==e?(i.isCollapsed=!i.isCollapsed,n.isCollapsed=!n.isCollapsed,t.isCollapsed=!t.isCollapsed):i.isCollapsed=!0,i.subItems&&i.subItems.forEach(c=>{c==e?(c.isCollapsed=!1,i.isCollapsed=!1,n.isCollapsed=!1,t.isCollapsed=!1):c.isCollapsed=!0})})})})}activateParentDropdown(e){e.classList.add("active");let t=e.closest(".collapse.menu-dropdown");return t&&(t.parentElement.children[0].classList.add("active"),t.parentElement.closest(".collapse.menu-dropdown")&&(t.parentElement.closest(".collapse").classList.add("show"),t.parentElement.closest(".collapse").previousElementSibling&&t.parentElement.closest(".collapse").previousElementSibling.classList.add("active"),t.parentElement.closest(".collapse").previousElementSibling.closest(".collapse")&&(t.parentElement.closest(".collapse").previousElementSibling.closest(".collapse").classList.add("show"),t.parentElement.closest(".collapse").previousElementSibling.closest(".collapse").previousElementSibling.classList.add("active")))),!1}updateActive(e,t){let n=(t?.label||e?.target?.innerText||"").toString(),i=this.resolveLandingTarget(t,n);i&&(window.localStorage.removeItem("backToPreviousUrl"),window.localStorage.removeItem("pageId"),this.getLandingPages(i.pageName,i.activeMenuResource));let c=document.getElementById("navbar-nav");if(c){let p=Array.from(c.querySelectorAll("a.nav-link"));this.removeActivation(p)}this.activateParentDropdown(e.target)}resolveLandingTarget(e,t){let n=(e?.label||t||"").toString(),i=(e?.resource||"").toString(),c=i.trim().toUpperCase(),p=n.trim().toUpperCase(),u=c||p;if(!u)return null;let x=null;return u.includes("TV")?x="TV_SHORTS":u.includes("SHORT")?x="SHORTS":u==="HOME"?x="LANDING":u.includes("SPOTLIGHT")?x="SPOTLIGHT":u.includes("LIBRARY")&&(x="LIBRARY"),x?{pageName:x,activeMenuResource:i||n}:null}isHomeMenu(e){let t=(e?.resource||"").toString().trim().toUpperCase(),n=(e?.label||"").toString().trim().toLowerCase();return t==="HOME"||n==="home"||n==="current releases"}getLandingPages(e,t){t&&(sessionStorage.setItem("eventTemplateActiveMenu",t),this.homeNavigationService.setActiveMenuItem({resource:t,label:t}),t.toUpperCase().includes("SPOTLIGHT")?sessionStorage.setItem("isFromSidebarSpotlight","true"):sessionStorage.removeItem("isFromSidebarSpotlight"));let n={pageNames:[e]};if(e==="SPOTLIGHT"||e==="SHORTS"){this.eventsService.getCustomerLanding(n).subscribe({next:c=>{if(!Array.isArray(c)||c.length===0)return;let p=c[0];if(!p?.pageDataJson)return;let u=JSON.parse(p.pageDataJson);console.log("\u{1F7E2} Parsed landing JSON:",u);let x=(u?.moduleArray||[]).filter(w=>w?.moduleName==="Carousel").map((w,I)=>({gpmsids:(Array.isArray(w?.carouselItems)?w.carouselItems:[]).map(H=>H?.titleGpmsId).filter(H=>H!=null&&`${H}`.trim()!=="")}));sessionStorage.setItem("carouselTitleGpmsIds",JSON.stringify(x)),sessionStorage.setItem("pageDataJson",JSON.stringify(p)),sessionStorage.setItem("isCarouselPage","true"),this.router.navigateByUrl(`/event-template/${u.routeUrl}`).then(()=>{console.log("\u2705 Landing navigation success")})},error:()=>{}});return}this.eventsService.getCustomerLanding(n).subscribe({next:c=>{if(!Array.isArray(c)||c.length===0){this.router.navigateByUrl("/home");return}let p=R=>(R||"").toLowerCase().replace(/[^a-z0-9]/g,""),u=p(e),x=c.filter(R=>(R?.status||"").toLowerCase()==="published"),w=x.find(R=>p(R?.templateName||R?.pageName||R?.templateType||"").includes(u))||x[0]||c[0];if(!w?.pageDataJson){this.router.navigateByUrl("/home");return}let I;try{I=JSON.parse(w.pageDataJson)}catch{this.router.navigateByUrl("/home");return}let T=I?.routeUrl;if(!T){this.router.navigateByUrl("/home");return}localStorage.setItem("pageId",w.id||""),this.navigationService.setRedirectUrl(`/event-template/${T}`),this.router.navigateByUrl(`/event-template/${T}`)},error:()=>{this.router.navigateByUrl("/home")}})}onProfileClick(){this.showProfileView=!0}navigateToProfile(){this.router.navigate(["/admin/users/user-profile"]),this.showProfileView=!1}toggleLanguageDropdown(){}selectLanguage(e){e&&(sessionStorage.setItem("currentLanguage",JSON.stringify(e.languageName)),sessionStorage.setItem("userPreferredLanguage",JSON.stringify(e.languageName)),this.userPreferenceService.setPreferences({defaultLanguageId:e.id,defaultLanguageCode:e.code,userPreferredLanguage:e.languageName}),this.translationLoader.initTranslations().subscribe(()=>{}),this.store.dispatch(ae({languageId:e.id})),this.currentLanguage=e,window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,languageId:e.id}})))}changeModeExplicit(e){this.currentMode=e,document.documentElement.setAttribute("data-bs-theme",this.currentMode),sessionStorage.setItem("theme",this.currentMode),this.ngZone.run(()=>{window.dispatchEvent(new Event("resize"))})}getUserInitials(){let e=(this.userName||this.userEmail||"").trim();if(!e)return"U";
3let t=e.split(" ").filter(Boolean);return t.length===1?t[0].substring(0,2).toUpperCase():`${t[0].charAt(0)}${t[t.length-1].charAt(0)}`.toUpperCase()}hasItems(e){return Array.isArray(e.subItems)&&e.subItems.length>0}handleMenuItemClick(e,t){t.action==="openPdf"&&t.actionData?.fileType?(e.preventDefault(),this.openPdfFile(t.actionData.fileType)):this.updateActive(e,t)}openPdfFile(e){let t=this.manageHomepageService.getCachedFile(e);t?.s3Key?this.downloadAndOpenPdf(t.s3Key,t.fileName):this.manageHomepageConnectorService.getReleaseScheduleDetails().subscribe({next:n=>{let c=(n?.data||n||[]).find(p=>p.fileType===e);c?.s3Key?(this.manageHomepageService.updateCacheFile(e,c),this.downloadAndOpenPdf(c.s3Key,c.fileName)):this.toastService.showError(this.translate.instant(e==="UG"?"sidebar.userGuideNotAvailable":"sidebar.releaseScheduleNotAvailable"))},error:n=>{console.error("Error fetching file details:",n),this.toastService.showError(this.translate.instant("sidebar.loadFileFailed"))}})}downloadAndOpenPdf(e,t){this.manageHomepageConnectorService.getReleaseScheduleFileByS3Key(e).subscribe({next:n=>{let i=new Blob([n],{type:"application/pdf"}),c=URL.createObjectURL(i);if(!window.open(c,"_blank")){let u=document.createElement("a");u.href=c,u.download=t||"document.pdf",u.click()}setTimeout(()=>URL.revokeObjectURL(c),1e4)},error:n=>{console.error("Error downloading file:",n),this.toastService.showError(this.translate.instant("sidebar.downloadFileFailed"))}})}isPdfAvailable(e){return this.manageHomepageService.isPdfAvailable(e)}loadReleaseScheduleFiles(){this.manageHomepageService.loadReleaseScheduleFilesCache().subscribe({next:()=>{this.updateMenuVisibility()},error:e=>{console.error("Error loading release schedule files:",e)}})}updateMenuVisibility(){this.menuItems=this.updateMenuItemsVisibility(this.menuItems),this.menuGroups=this.buildMenuGroups(this.menuItems),this.applyMobileDefaultCollapsedState(),this.cdr.detectChanges()}updateMenuItemsVisibility(e){return e.map(t=>(t.action==="openPdf"&&t.actionData?.fileType&&(t.hidden=!this.manageHomepageService.isPdfAvailable(t.actionData.fileType)),t.subItems&&Array.isArray(t.subItems)&&(t.subItems=this.updateMenuItemsVisibility(t.subItems)),t)).filter(t=>!t.hidden)}applyMobileDefaultCollapsedState(){if(this.isDesktopView())return;let e=(t=[])=>{t.forEach(n=>{n?.subItems?.length&&(n.isCollapsed=!0,e(n.subItems))})};e(this.menuItems)}checkPublishedPages(e){if(!e||!e.label)return!1;let t=this.resolvePublishedPageType(e);return t?!this.publishedPages||!Array.isArray(this.publishedPages)?!1:this.publishedPages.some(n=>this.normalizePublishedPageType(n)===t):!0}resolvePublishedPageType(e){let n=`${e?.resource||""} ${e?.label||""}`.toUpperCase().replace(/[^A-Z0-9]/g,"");return n.includes("TV")&&n.includes("SHORT")?"TV_SHORTS":n.includes("SPOTLIGHT")?"SPOTLIGHT":n.includes("LIBRARY")?"LIBRARY":n.includes("HOME")||n.includes("LANDING")||n.includes("CURRENTRELEASE")?"LANDING":null}normalizePublishedPageType(e){let t=(e||"").toUpperCase().replace(/[^A-Z0-9]/g,"");return t.includes("TV")&&t.includes("SHORT")?"TV_SHORTS":t==="HOME"||t==="CURRENTRELEASES"?"LANDING":(e||"").toUpperCase()}closeLobDropdown(){this.showLobDropdown=!1,this.expandedLob=null,this.lobMenuTrigger?.closeMenu()}onLobSelect(e){let t=(this.lobTerritoryForm.get("lob")?.value||this.currentUserLob||"").toString().trim().toLowerCase(),n=(e?.lobName||"").toString().trim().toLowerCase();n&&t!==n&&this.eventService.broadcast("clear-header-search");let c=this.allLobTerritoryMap[e.lobName];if(!Object.keys(c||{}).filter(x=>x!=="permissions").some(x=>{let w=c[x];return typeof w=="object"&&(w?.territoryId||w?.territoryGroupId)})){this.lobTerritoryForm.patchValue({lobId:e.lobId,lob:e.lobName,territory:null,territoryId:null,territoryGroup:null,territoryGroupId:null,language:null,languageId:null}),this.currentUserLob=e.lobName,this.currentUserTerritory=null,sessionStorage.setItem("currentUserLob",this.currentUserLob),sessionStorage.removeItem("currentUserTerritory"),sessionStorage.removeItem("spotlightPackageData"),sessionStorage.removeItem("spotlightBackgroun
3d"),localStorage.removeItem("backToPreviousUrl"),sessionStorage.removeItem("pageDataJson"),localStorage.removeItem("pageId"),localStorage.removeItem("pageDataJson"),this.updateSelectedLobTerritory("lob"),this.updateLanguageOptions(e.lobName),this.expandedLob=null,this.displayLob=e.lobName,this.displayTerritory="",this.closeLobDropdown();return}this.expandedLob=e.lobName,this.loadTerritoryOptionsForDisplay(e.lobId,e.lobName),this.recalculateLevel2Position()}onMobileLobSelect(e){let t=this.lobOptions.find(n=>n.lobName===e);t&&(this.expandedLob=t.lobName,this.onLobSelect(t))}onMobileTerritorySelect(e){if(!this.expandedLob){let n=this.lobTerritoryForm.get("lob")?.value;n&&(this.expandedLob=n)}let t=this.territoryOptions.find(n=>(n.territoryId?`T-${n.territoryId}`:`G-${n.territoryGroupId}`)===e);t&&this.onTerritorySelect(t)}onTerritorySelect(e,t){t?.stopPropagation();let n=this.expandedLob,c=this.lobOptions.find(w=>w.lobName===n)?.lobId,p=!!e.territoryGroupId&&!e.territoryId,u=e.territoryName||null,x=e.territoryGroupName||null;this.displayLob=n,this.displayTerritory=p?x:u,this.lobTerritoryForm.patchValue({lob:n,lobId:c??null,territory:p?null:u,territoryId:p?null:e.territoryId??null,territoryGroup:p?x:e.territoryGroupName??null,territoryGroupId:p?e.territoryGroupId:e.territoryGroupId??null,language:e.language??null,languageId:e.languageId??null},{emitEvent:!1}),this.userPreferenceService.setPreferences({defaultLob:n,defaultLobId:c??null,defaultTerritory:p?null:u,defaultTerritoryId:p?null:e.territoryId??null,defaultTerritoryGroup:p?x:e.territoryGroupName??null,defaultTerritoryGroupId:e.territoryGroupId??null,defaultLanguage:e.language??null,defaultLanguageId:e.languageId??null}),this.currentUserLob=n,this.currentUserTerritory=p?x:e.territoryGroupName||u,sessionStorage.setItem("currentUserLob",this.currentUserLob),this.currentUserTerritory?sessionStorage.setItem("currentUserTerritory",this.currentUserTerritory):sessionStorage.removeItem("currentUserTerritory"),c&&this.updateLanguageOptions(n),this.defaultInitialized=!0,this.updateSelectedLobTerritory("territory"),this.closeLobDropdown()}isSelectedTerritory(e){if(!e||typeof e!="object")return console.warn("\u26A0\uFE0F [Territory] Invalid territory object"),!1;let t=this.lobTerritoryForm.value,n=this.expandedLob??t.lob;if(t.lob!==n)return!1;let i=this.userPreferenceService.getPreferences(),c=i?.defaultTerritoryId,p=i?.defaultTerritoryGroupId,u=i?.defaultLanguageId,x=w=>w!=null&&!isNaN(Number(w));if(!x(u))return console.warn("\u26A0\uFE0F [Territory] Invalid language ID:",u),!1;if(e.territoryGroupId&&!e.territoryId){let w=x(p)&&Number(e.territoryGroupId)===Number(p),I=x(e.languageId)&&Number(e.languageId)===Number(u),T=w&&I;
3return T&&console.log("\u2705 [Territory] Territory Group match:",{territoryGroupName:e.territoryGroupName,territoryGroupId:e.territoryGroupId,language:e.language,languageId:e.languageId,selectedTerritoryGroupId:p,selectedLanguageId:u}),T}if(e.territoryId&&!e.territoryGroupId){let w=x(c)&&Number(e.territoryId)===Number(c),I=x(e.languageId)&&Number(e.languageId)===Number(u);return w&&I}return console.warn("\u26A0\uFE0F [Territory] Invalid territory structure:",{territoryId:e.territoryId,territoryGroupId:e.territoryGroupId,expected:"Either territoryId OR territoryGroupId, not both or neither"}),!1}hasValidTerritories(){return!this.territoryOptions||this.territoryOptions.length===0?!1:this.territoryOptions.some(e=>!!(e.territoryId||e.territoryGroupId))}get hasTerritoryGroupOptions(){return(this.territoryOptions||[]).some(e=>!e.territoryId&&!!e.territoryGroupId)}hasTerritoriesForLob(e){let t=this.allLobTerritoryMap[e];return!t||typeof t!="object"?!1:Object.keys(t).filter(i=>i!=="permissions").some(i=>{let c=t[i];return typeof c=="object"&&(c?.territoryId||c?.territoryGroupId)})}get shouldShowLobSelector(){if(this.lobOptions.length>1)return!0;if(this.lobOptions.length===1){let e=this.lobOptions[0].lobName,t=this.allLobTerritoryMap[e];return!t||typeof t!="object"?!1:Object.keys(t).filter(c=>c!=="permissions").filter(c=>{let p=t[c];return typeof p=="object"&&(p?.territoryId||p?.territoryGroupId)}).length>1}return!1}get hasSidebarContent(){return!!(this.menuGroups?.some(t=>Array.isArray(t.items)&&t.items.length>0)||this.shouldShowLobSelector||this.canSeeAlerts)}loadMasterData(){this.masterStore.lobTerritoryGroupByUser$.subscribe(e=>{if(!(!e||Object.keys(e).length===0)&&(this.allLobTerritoryMap=e,this.lobOptions=Object.keys(e).map(t=>{let n=e[t],i=null;if(n&&typeof n=="object"&&!("lobId"in n)){let c=Object.keys(n)[0];i=n[c]?.lobId??null}else i=n?.lobId??null;return{id:t,lobName:t,lobId:i??null}}),this.updateSidebarVisibilityAttr(),this.setDefaultLobTerritoryFromSession(),this.lobOptions.length!==0)){if(this.defaultInitialized){let t=this.lobTerritoryForm.get("lobId")?.value;t&&Promise.resolve().then(()=>{this.lobTerritoryForm.get("lobId")?.setValue(t,{emitEvent:!1})});return}if(this.lobOptions.length===1){let t=this.lobOptions[0];this.lobTerritoryForm.patchValue({lob:t.lobName,lobId:t.lobId}),this.updateTerritoryOptions(t.lobId,t.lobName),this.updateLanguageOptions(t.lobName),this.defaultInitialized=!0;return}if(!this.defaultInitialized){let t=this.userPreferenceService.getPreferences(),n=t?.defaultLob,i=t?.defaultLobId;n&&this.allLobTerritoryMap[n]&&(this.lobTerritoryForm.patchValue({lob:n,lobId:i},{emitEvent:!1}),this.updateTerritoryOptions(i,n)),this.defaultInitialized=!0}}})}updateTerritoryOptions(e,t){let n=this.allLobTerritoryMap[t];if(this.lobTerritoryForm.get("lob")?.setValue(t,{emitEvent:!1}),!n||typeof n!="object"){this.territoryOptions=[];return}let i=Object.keys(n).filter(u=>u!=="permissions");if(!i.some(u=>{let x=n[u];return typeof x=="object"&&(x?.territoryId||x?.territoryGroupId)})){this.territoryOptions=[],this.lobTerritoryForm.patchValue({lob:t,lobId:e,territory:n?.territory??null,territoryId:n?.territoryId??null,territoryGroup:n?.territoryGroup??null,territoryGroupId:n?.territoryGroupId??null,language:n?.language??null,languageId:n?.languageId??null},{emitEvent:!1});return}this.territoryOptions=i.map(u=>{let x=n[u];return{id:x.territoryId,displayName:u,territoryName:x.territoryName,territoryId:x.territoryId,territoryGroupName:x.territoryGroup??null,territoryGroupId:x.territoryGroupId??null,language:x.language,languageId:x.languageId}});let p;if(this.defaultInitialized)p=this.territoryOptions[0];else{let u=this.userPreferenceService.getPreferences(),x=u?.defaultTerritoryId,w=u?.defaultTerritoryGroupId,I=u?.defaultLanguageId;p=this.territoryOptions.find(T=>T.territoryId===x&&T.languageId===I)||this.territoryOptions.find(T=>T.territoryId===x)||this.territoryOptions.find(T=>T.territoryGroupId===w)||this.territoryOptions[0]}this.lobTerritoryForm.patchValue({lob:t,lobId:e,territory:p?.territoryName??null,territoryId:p?.territoryId??null,territoryGroup:p?.territoryGroupName??null,territoryGroupId:p?.territoryGroupId??null,language:p?.language??null,languageId:p?.languageId??null},{emitEvent:!1}),this.updateTerritorySections()}updateTerritorySections(){if(!this.territoryOptions||!this.territoryOptions.length){this.territoryHasDirectItems=!1,this.territoryHasGroupItems=!1;return}this.territoryHasDirectItems=this.territoryOptions.some(e=>!!e.territoryId),this.territoryHasGroupItems=this.territoryOptions.some(e=>!!e.territoryGroupId)}setDefaultLobTerritoryFromSession(){let e=this.userPreferenceService.getPreferences(),t=e?.defaultLob||null,n=e?.defaultLobId||null,i=e?.defaultTerritory||null,c=e?.defaultTerritoryId||null,p=e?.defaultTerritoryGroup||null,u=e?.defaultTerritoryGroupId||null;t&&this.allLobTerritoryMap[t]&&(this.lobTerritoryForm.get("lob")?.setValue(t,{emitEvent:!1}),this.lobTerritoryForm.get("lobId")?.setValue(n,{emitEvent:!1}),this.updateTerritoryOptions(n,t),p&&p!==""?this.territoryOptions.find(w=>w.territoryGroupId===u)&&this.lobTerritoryForm.patchValue({territory:null,territoryId:null,territoryGroup:p,territoryGroupId:u},{emitEvent:!1}):i&&i!==""&&this.territoryOptions.find(w=>w.territoryId===c)&&this.lobTerritoryForm.get("territory")?.setValue(String(i),{emitEvent:!1}),this.updateSessionPermissions())}updateLanguageOptions(e){let t=this.lobTerritoryLanguageMapping?.[e];
3if(!t){let c=this.languageOptions.find(p=>p.languageName.toLowerCase()==="english")?.flag||"assets/images/dummy_thumbnail.jpg";this.lobLanuageOptions=[{id:1,languageName:"English",flag:c}],this.selectLanguage(this.lobLanuageOptions[0]);return}let n=[];Object.values(t).forEach(c=>{Array.isArray(c)&&c.forEach(p=>{p.primaryLanguage&&p.primaryLanguageId&&p.primaryLanguage.toLowerCase()!=="all languages"&&n.push({id:p.primaryLanguageId,languageName:p.primaryLanguage})})});let i=new Map;if(n.forEach(c=>i.set(c.id,c.languageName)),this.lobLanuageOptions=Array.from(i,([c,p])=>{let u=this.languageOptions.find(x=>x.languageName.toLowerCase()===p.toLowerCase());return{id:c,languageName:p,flag:u?u.flag:"assets/images/dummy_thumbnail.jpg"}}),this.defaultLanguageId){let c=this.lobLanuageOptions.find(p=>p.id===this.defaultLanguageId);if(c){this.selectLanguage(c);return}}this.lobLanuageOptions.length>0&&this.selectLanguage(this.lobLanuageOptions[0])}updateSelectedLobTerritory(e){let t=this.lobTerritoryForm.value,n=this.userPreferenceService.getPreferences(),i=n?.email||"",c={userEmail:i,lobTerritoryId:this.getLoggedUserLobTerritoryId()};t.lobId&&this.adminServiceService.updateLobTerritorySelection(c).subscribe({next:p=>Nt(this,null,function*(){sessionStorage.setItem("loggedIn","true"),sessionStorage.removeItem("redirectUrl"),sessionStorage.removeItem("app_redirect_url"),this.navigationService.setRedirectUrl("/"),localStorage.removeItem("pageId"),sessionStorage.removeItem("pageDataJson"),sessionStorage.removeItem("app_default_landing_page_id"),sessionStorage.removeItem("app_default_landing_page_data_json"),sessionStorage.removeItem("app_default_landing_is_carousel"),sessionStorage.removeItem("app_default_landing_carousel_gpms_ids"),this.authService.isAuthenticated()&&(console.log("\u{1F504} [SIDEBAR] LOB change initiated"),yield this.loginResponseHandler.processLoginResponse(p,{loginEmail:i,loginType:"externalUser",isTCCheck:n?.config?.isTCCheck,isLobChange:!0}),console.log("\u{1F9F9} [SIDEBAR] Clearing landing pages cache"),this.eventsService.clearLandingPagesCache(),console.log("\u{1F4E2} [SIDEBAR] Triggering LOB refresh broadcast"),sessionStorage.setItem("app_lob_change_in_progress","true"),this.changeLobRefreshService.triggerRefresh(),this.manageHomepageService.clearReleaseScheduleFilesCache(),this.manageHomepageService.loadReleaseScheduleFilesCache().subscribe())}),error:()=>{}})}getLoggedUserLobTerritoryId(){let e=null;return this.masterStore.lobTerritoryGroupByUser$.pipe(we(1)).subscribe(t=>{if(t){let n=this.lobTerritoryForm.get("lob")?.value,i=this.lobTerritoryForm.get("lobId")?.value,c=this.lobTerritoryForm.get("territory")?.value,p=this.lobTerritoryForm.get("territoryGroup")?.value,u=this.lobTerritoryForm.get("language")?.value,x=t?.[n];if(console.log("LOB DATA WHILE CHANGING TERRITORY",x),x)if(c)if(u){let w=`${c} - ${u}`;x?.[w]?.lobTerritoryId!=null&&JSON.stringify(x).length>1?e=x[w].lobTerritoryId:e=x[c].lobTerritoryId}else x?.[c]?.lobTerritoryId!=null&&(e=x[c].lobTerritoryId);else if(p){if(u){let w=`${p} - ${u}`;x?.[w]?.lobTerritoryId!=null&&JSON.stringify(x).length>1?e=x[w].lobTerritoryId:e=x[p].lobTerritoryId}}else x?.Unknown.lobId==i&&!c&&!p&&(e=x.Unknown.lobTerritoryId)}}),e}getSelectedPermissions(){let e=this.userPreferenceService.getPreferences(),t=e?.defaultLob,n=e?.defaultTerritory,i=e?.defaultTerritoryGroup;if(!t)return[];let c=this.allLobTerritoryMap?.[t];return n&&c?.[n]?.permissions?c[n].permissions:i&&c?.[i]?.permissions?c[i].permissions:c?.permissions?c.permissions:[]}updateSessionPermissions(){let e=this.getSelectedPermissions();sessionStorage.setItem("currentUserPermissions",JSON.stringify(e))}showAlerts(){console.log("Alerts clicked!")}openMyKitDrawer(){this.cartService.openDrawer()}onResize(){this.updateLayoutMode(),this.showLobDropdown&&this.recalculateFlyoutPosition()}updateLayoutMode(){this.isMobileLayout=!this.isDesktopView()}toggleMobileMenu(e){document.documentElement.getAttribute("data-sidebar-size")==="lg"?document.documentElement.setAttribute("data-sidebar-size","sm"):document.documentElement.setAttribute("data-sidebar-size","lg"),this.ngZone.runOutsideAngular(()=>{requestAnimationFrame(()=>{window.dispatchEvent(new Event("resize"))})})}changeMode(){}activateSmHover(){this.isDesktopView()&&document.documentElement.setAttribute("data-sidebar-size","lg")}deactivateSmHover(){this.isDesktopView()&&document.documentElement.setAttribute("data-sidebar-size","sm")}activateMobileSmHover(){document.documentElement.setAttribute("data-mobile-sidebar-size","sm-hover-active")}deactivateMobileSmHover(){document.documentElement.setAttribute("data-mobile-sidebar-size","sm-hover")}get sidebarSize(){return document.documentElement.getAttribute("data-sidebar-size")||"sm"}get isSidebarExpanded(){return this.sidebarSize==="lg"}get sidebarToggleIcon(){return this.currentMode==="dark"?this.isSidebarExpanded?"assets/images/menuIcons/left_panel_close-dark-mode.svg":"assets/images/menuIcons/left_panel_open-dark-mode.svg":this.isSidebarExpanded?"assets/images/menuIcons/left_panel_close-lightmode.svg":"assets/images/menuIcons/left_panel_open-lightmode.svg"}isDesktopView(){return typeof window>"u"||!window.matchMedia?!0:window.innerWidth>=1025}loadTerritoryOptionsForDisplay(e,t){let n=this.allLobTerritoryMap[t];if(!n||typeof n!="object"){this.territoryOptions=[],this.updateTerritorySections();return}let i=Object.keys(n).filter(p=>p!=="permissions");if(!i.some(p=>{let u=n[p];return typeof u=="object"&&(u?.territoryId||u?.territoryGroupId)})){this.territoryOptions=[],this.updateTerritorySections();return}this.territoryOptions=i.map(p=>{let u=n[p];return{id:u.territoryId,displayName:p,territoryName:u.territoryName,territoryId:u.territoryId,territoryGroupName:u.territoryGroup??null,territoryGroupId:u.territoryGroupId??null,language:u.language,languageId:u.languageId}}),this.updateTerritorySections()}isIntSalesUser(){let e=["repertory","inflight"],t=window.sessionStorage.getItem("currentUserLob")||window.sessionStorage.getItem("currentUserLOB")||"";return e.includes(t.toLocaleLowerCase())}refreshMenu(){let e=this.userPreferenceService.getPreferences(),t=e?.userPermissions;this.permissions=t||[],this.displayLob=e?.defaultLob||"",this.displayTerritory=e?.defaultTerritory||e?.defaultTerritoryGroup||"",this.currentUserLob=sessionStorage.getItem("currentUserLob")||sessionStorage.getItem("currentUserLOB")||"",this.currentUserTerritory=sessionStorage.getItem("currentUserTerritory")||"",this.cdr.detectChanges(),this.eventsService.getAllLandingPages().subscribe({next:n=>{this.publishedPages=n,this.menuService.getMenuData().subscribe(i=>{let c=this.normalizeMenuData(i),p=this.applyLandingMenuLabel(c);this.menuItems=this.filterMenuByPermissions(p),this.menuGroups=this.buildMenuGroups(this.menuItems),this.updateSidebarVisibilityAttr(),this.applyMobileDefaultCollapsedState(),this.cdr.detectChanges()})}})}updateSidebarVisibilityAttr(){document.documentElement.setAttribute("data-sidebar-hidden",this.hasSidebarContent?"false":"true")}static{this.\u0275fac=function(t){return new(t||o)(_(j),_(Ni),_(Mn),_(Oe),_(ci),_($o),_(le),_(_e),_(Je),_(on),_(oe),_(Ke),_(yt),_(Ae),_(rn),_(Wo),_(wt),_(Qe),_(an),_(ce),_(re),_(ve),_(Ze),_(ue),_(sn),_(vt),_(xt),_(li))}}static{this.\u0275cmp=E({type:o,selectors:[["app-sidebar"]],viewQuery:function(t,n){if(t&1&&(G(La,5),G(Ea,5),G(Da,5),G(za,5),G(Fa,5)),t&2){let i;V(i=A())&&(n.sideMenu=i.first),V(i=A())&&(n.trigger=i.first),V(i=A())&&(n.lobMenuTrigger=i.first),V(i=A())&&(n.lobNavItemRef=i.first),V(i=A())&&(n.lobLevel1PanelRef=i.first)}},hostBindings:function(t,n){t&1&&C("resize",function(){return n.onResize()},!1,$e)},outputs:{mobileMenuButtonClicked:"mobileMenuButtonClicked"},standalone:!1,decls:1,vars:1,consts:[["mobileSidebarTpl",""],["lobNavItem",""],["lobLevel1Panel",""],["sidebarItemLabel",""],["sidebarItemLabelStandard",""],["sidebarItemLabelStandardHome",""],["simpleSubItem",""],["simpleSubSubItem",""],["normalSubSubLink",""],["normalSubLink",""],["mobileSidebarItemLabel",""],["mobileSidebarItemLabelStandard",""],["mobileSidebarItemLabelStandardHome",""],["mobSimpleSubItem",""],["mobSimpleSubSubItem",""],["mobNormalSubSubLink",""],["mobNormalSubLink",""],[4,"ngIf"],[4,"ngIf","ngIfElse"],[1,"app-menu","navbar-menu","desktop-app-menu"],["id","scrollbar",1,"sidebar-scrollbar","h-100","d-flex","flex-column"],[1,"container-fluid","flex-grow-1","topPart"],["id","two-column-menu",1,"two-column-menu"],[1,"sidebar-menu-scroll","h-100"],["id","navbar-nav",1,"metismenu","list-unstyled","navbar-nav"],["class","menu-title",4,"ngIf"],["class","nav-item lob-nav-item",3,"clickOutside",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"sidebar-bottom-menu"],[1,"list-unstyled","mb-0"],["class","nav-item",4,"ngIf"],["type","button","id","topnav-hamburger-icon",1,"vertical-menu-btn","topnav-hamburger",3,"click"],[1,"menu-icon",3,"src"],[1,"sidebar-background"],[1,"menu-title"],["data-key","t-menu"],[1,"nav-item","lob-nav-item",3,"clickOutside"],[1,"nav-link","menu-link",2,"cursor","pointer",3,"click","mouseenter"],["src","../../../../assets/images/menuIcons/switch_account.svg",1,"menu-icon",2,"transition","filter 0.3s ease"],["class","row-chevron",4,"ngIf"],["class","lob-flyout-backdrop",3,"click",4,"ngIf"],["class","lob-flyout-panel lob-level1-panel",3,"top","left","click",4,"ngIf"],["class","lob-flyout-panel lob-level2-panel",3,"top","left","click",4,"ngIf"],[1,"row-chevron"],[1,"lob-flyout-backdrop",3,"click"],[1,"lob-flyout-panel","lob-level1-panel",3,"click"],[1,"lob-panel-scroll"],[1,"lob-row",3,"click"],[1,"row-label"],["class","row-chevron-right",4,"ngIf"],["class","check-icon",4,"ngIf"],[1,"row-chevron-right"],[1,"check-icon"],[1,"lob-flyout-panel","lob-level2-panel",3,"click"],["class","territory-group-label",4,"ngIf"],[1,"territory-group-label"],["class","territory-row",3,"selected","click",4,"ngIf"],[1,"territory-row",3,"click"],[1,"territory-label"],[1,"menu-group"],[1,"list-unstyled","menu-group-list",3,"ngClass"],["class","nav-item",4,"ngFor","ngForOf"],[1,"nav-item"],["href","javascript:void(0);","class","nav-link menu-link","style","cursor: pointer;",3,"click",4,"ngIf"],["class","nav-link menu-link",3,"routerLink","click",4,"ngIf"],["href","javascript:void(0);","class","nav-link menu-link",3,"click",4,"ngIf"],["href","javascript:void(0);","class","is-parent nav-link menu-link",3,"ngClass","click",4,"ngIf"],["class","collapse menu-dropdown",3,"ngbCollapse","ngbCollapseChange",4,"ngIf"],["href","javascript:void(0);",1,"nav-link","menu-link",2,"cursor","pointer",3,"click"],[1,"menu-icon",2,"transition","filter 0.3s ease",3,"src","alt"],[1,"menu-tooltip"],[1,"nav-link","menu-link",3,"click","routerLink"],["href","javascript:void(0);",1,"nav-link","menu-link",3,"click"],["href","javascript:void(0);",1,"is-parent","nav-link","menu-link",3,"click","ngClass"],["class","menu-expand-icon",4,"ngIf"],[1,"menu-expand-icon"],[1,"collapse","menu-dropdown",3,"ngbCollapseChange","ngbCollapse"],[1,"nav","nav-sm","flex-column"],["href","javascript:void(0);",1,"nav-link",3,"click"],[1,"collapse","menu-dropdown","sub-menu",3,"ngbCollapseChange","ngbCollapse"],[1,"collapse","menu-dropdown","extra-sub-menu",3,"ngbCollapseChange","ngbCollapse"],[1,"nav-link",3,"click","routerLink"],["href","javascript:void(0);","class","nav-link",3,"click",4,"ngIf","ngIfElse"],["src","assets/images/menuIcons/notificationsIcon.svg",1,"menu-icon",2,"transition","filter 0.3s ease"],[1,"mobile-app-menu","mobile-navbar-menu"],[3,"languageOptions","currentLanguage","currentUserLob","currentUserTerritory","currentMode","lobOptions","territoryOptions","allLobTerritoryMap","goBack","profileNavigate","languageSelect","modeChange","lobSelect","territorySelect",4,"ngIf"],["id","mob-scrollbar","class","sidebar-scrollbar h-100 d-flex flex-column",4,"ngIf"],["type","button",1,"mobile-sidebar-mykit",3,"click"],[1,"mobile-sidebar-mykit-icon"],[1,"mobile-sidebar-mykit-label"],[3,"key"],[1,"mobile-shared-logout-footer"],[1,"mobile-shared-logout-footer-inner"],[1,"mobile-sidebar-logout",3,"routerLink"],[1,"mobile-sidebar-logout-icon"],[1,"mobile-sidebar-logout-label"],[3,"goBack","profileNavigate","languageSelect","modeChange","lobSelect","territorySelect","languageOptions","currentLanguage","currentUserLob","currentUserTerritory","currentMode","lobOptions","territoryOptions","allLobTerritoryMap"],["id","mob-scrollbar",1,"sidebar-scrollbar","h-100","d-flex","flex-column"],[1,"mobile-sidebar-user",3,"click"],[1,"mobile-sidebar-user-content"],[1,"mobile-sidebar-user-avatar"],[1,"mobile-sidebar-user-details"],[1,"mobile-sidebar-user-name"],["class","mobile-sidebar-user-email",4,"ngIf"],["class","mobile-sidebar-user-meta",4,"ngIf"],["type","button",1,"mobile-profile-chevron"],["
3id","mob-two-column-menu",1,"two-column-menu"],[1,"mobile-sidebar-menu-container"],["id","mob-navbar-nav",1,"metismenu","list-unstyled","navbar-nav","sidebar-navbar-nav"],[1,"mob-sidebar-bottom-menu"],[1,"mob-sidebar-background"],[1,"mobile-sidebar-user-email"],[1,"mobile-sidebar-user-meta"],[1,"menu-group-header"]],template:function(t,n){t&1&&M(0,cc,4,2,"ng-container",17),t&2&&l("ngIf",n.hasSidebarContent)},dependencies:[mt,te,B,Ne,ne,Jo,Y,Ui,J],styles:[".app-menu[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;z-index:1040}.app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]{flex:1 1 auto;max-height:100%;padding-bottom:60px;padding-top:16px;scrollbar-width:thin;scrollbar-color:transparent transparent}.app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar{width:8px}.app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000004d;border-radius:4px;transition:opacity .3s;opacity:0}.app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]:hover::-webkit-scrollbar-thumb{opacity:1}.app-menu[_ngcontent-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]{flex-shrink:0;padding-top:32px;bottom:0;background:#f0f4fa;padding-bottom:20px;width:100%;position:sticky}  [data-sidebar-size=lg] .app-menu .topPart{overflow-y:scroll;padding-top:16px}  ul#navbar-nav{padding-left:6px!important}li.nav-item[_ngcontent-%COMP%]{margin-top:2px!important}.nav-link[_ngcontent-%COMP%]{position:relative;display:flex!important;align-items:center!important;gap:12px!important;padding:6px 6px 6px 7px!important;border-radius:8px;transition:background-color .2s ease}.nav-link[_ngcontent-%COMP%]:hover{background-color:#0000000f!important}.nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{flex:1;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:transparent!important}.lob-flyout-backdrop[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1099;background:transparent}.nav-item[_ngcontent-%COMP%]   p.menu-tooltip[_ngcontent-%COMP%]{display:none}.nav-item[_ngcontent-%COMP%]:hover   p.menu-tooltip[_ngcontent-%COMP%]{position:absolute;top:0;left:70px;display:inline-block;background-color:#34363a;padding:8px 16px;color:#cacbcf;border-radius:3px;flex-wrap:nowrap;flex-direction:row;justify-content:center;align-items:center;width:max-content}.menu-expand-icon[_ngcontent-%COMP%]{margin-left:auto;font-size:18px;color:#878a99;flex-shrink:0}  [data-sidebar-size=lg] .nav-item:hover p.menu-tooltip{display:none!important}  .lob-dropdown-menu{width:280px;background:#fff;border:1px solid rgba(255,255,255,.1);border-radius:8px;box-shadow:0 8px 32px #0006;overflow:hidden}  .lob-dropdown-menu .mat-menu-content,   .lob-dropdown-menu .mat-mdc-menu-content{padding:0}  .lob-dropdown-menu .mat-menu-item,   .lob-dropdown-menu .mat-mdc-menu-item{height:auto;line-height:normal}@keyframes _ngcontent-%COMP%_lobDropdownFadeIn{0%{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:translateY(0)}}.lob-nav-item[_ngcontent-%COMP%]{position:relative}.lob-level1-panel[_ngcontent-%COMP%], .lob-level2-panel[_ngcontent-%COMP%]{position:fixed}  [data-bs-theme=dark] .lob-level1-panel,   [data-bs-theme=dark] .lob-level2-panel{background:#000!important;color:#fff!important;border:1px solid #404045!important}.lob-flyout-panel[_ngcontent-%COMP%]{position:fixed;top:auto;z-index:1100;
3min-width:200px;max-width:260px;background:var(--vz-card-bg, #fff);border:1px solid var(--vz-border-color, #e2e8f0);border-radius:8px;box-shadow:0 6px 9px 4px #0000001a,0 2px 3px #0003;overflow:hidden}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-panel-scroll[_ngcontent-%COMP%]{max-height:320px;overflow-y:auto;padding:6px 0}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-row[_ngcontent-%COMP%]{display:flex;align-items:center;padding:9px 14px;cursor:pointer;gap:8px;transition:background .15s;margin:0 5px;border-bottom:none}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-row[_ngcontent-%COMP%]:hover, .lob-flyout-panel[_ngcontent-%COMP%]   .lob-row.lob-expanded[_ngcontent-%COMP%]{background:var(--vz-light, #f3f6f9);border-radius:5px}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-row[_ngcontent-%COMP%]   .row-label[_ngcontent-%COMP%]{flex:1;font-size:13px}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-row[_ngcontent-%COMP%]   .row-chevron-right[_ngcontent-%COMP%]{font-size:18px;color:#878a99}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-row[_ngcontent-%COMP%]   .check-icon[_ngcontent-%COMP%]{font-size:18px}.lob-flyout-panel[_ngcontent-%COMP%]   .lob-panel-scroll[_ngcontent-%COMP%] > .lob-row[_ngcontent-%COMP%]:last-child{border-bottom:none}.lob-flyout-panel[_ngcontent-%COMP%]   .territory-group-label[_ngcontent-%COMP%]{font-size:11px;font-weight:600;text-transform:uppercase;letter-spacing:.06em;color:#878a99;padding:8px 14px 4px}.lob-flyout-panel[_ngcontent-%COMP%]   .territory-row[_ngcontent-%COMP%]{display:flex;align-items:center;padding:9px 14px;cursor:pointer;gap:8px;transition:background .15s;margin:0 5px;border-radius:5px}.lob-flyout-panel[_ngcontent-%COMP%]   .territory-row[_ngcontent-%COMP%]:hover, .lob-flyout-panel[_ngcontent-%COMP%]   .territory-row.selected[_ngcontent-%COMP%]{background:var(--vz-light, #f3f6f9)}.lob-flyout-panel[_ngcontent-%COMP%]   .territory-row[_ngcontent-%COMP%]   .territory-label[_ngcontent-%COMP%]{flex:1;font-size:13px}.lob-flyout-panel[_ngcontent-%COMP%]   .territory-row[_ngcontent-%COMP%]   .check-icon[_ngcontent-%COMP%]{font-size:18px}mat-icon.header-globe[_ngcontent-%COMP%]{font-size:20px!important;width:20px!important;height:20px!important;color:#6d7080!important;flex-shrink:0;vertical-align:middle;display:inline-flex;align-items:center;justify-content:center}.lob-panel-scroll[_ngcontent-%COMP%]{max-height:360px;overflow-y:auto}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar{width:4px}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.lob-panel-scroll[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:#ffffff26;border-radius:2px}.lob-panel-scroll[_ngcontent-%COMP%]   .check-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#101010;flex-shrink:0}.lob-nav-item[_ngcontent-%COMP%]   .row-chevron[_ngcontent-%COMP%]{color:#878a99!important;background:transparent!important;transition:none!important}.lob-nav-item[_ngcontent-%COMP%]:hover   .row-chevron[_ngcontent-%COMP%], .lob-row[_ngcontent-%COMP%]:hover   .row-chevron[_ngcontent-%COMP%], .lob-row.lob-expanded[_ngcontent-%COMP%]   .row-chevron[_ngcontent-%COMP%]{color:#878a99!important;background:transparent!important}  [data-bs-theme=dark] .lob-flyout-panel{background:#000!important;color:#fff!important;border:1px solid #404045!important}  [data-bs-theme=dark] .lob-panel-scroll>.lob-row:last-child{border-bottom:none!important}  [data-bs-theme=dark] .lob-row{color:#d0d0d0!important;border-bottom:none!important}  [data-bs-theme=dark] .lob-row.lob-expanded{background:#232323!important;color:#fff!important}  [data-bs-theme=dark] .lob-row:hover{background:#232323!important;color:#fff!important}  [data-bs-theme=dark] .territory-group-label{color:#666!important}  [data-bs-theme=dark] .territory-row{color:#b0b0b0!important}  [data-bs-theme=dark] .territory-row:hover{background:#ffffff0f!important;color:#fff!important}  [data-bs-theme=dark] .territory-row.selected{color:#fff!important;background:#232323!important}  [data-bs-theme=dark] .territory-row .check-icon{color:#b8b8bc!important}  [data-bs-theme=dark] .lob-territory-menu{background:#1e1e1e;border:1px solid rgba(255,255,255,.1)}  .lob-territory-menu .mat-menu-content,   .lob-territory-menu .mat-mdc-menu-content{padding:0}  [data-bs-theme=dark] .lob-territory-menu .lob-panel-header{color:#fff;background:#000;border-bottom:none}  .lob-territory-menu .lob-panel-scroll{max-height:360px;overflow-y:auto}  .lob-territory-menu .territory-group-label{padding:6px 16px;font-size:10px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:#3a3a3a}  [data-bs-theme=dark] .lob-territory-menu .territory-group-label{color:#666}  .lob-territory-menu .territory-row{display:flex;align-items:center;justify-content:space-between;padding:9px 16px;font-size:13px;color:#4a4a4a;margin:0 5px;border-radius:5px}  .lob-territory-menu .territory-row:hover{background:#f1f1f1;color:#000}  .lob-territory-menu .territory-row.selected{background:#f1f1f1;color:#000}  [data-bs-theme=dark] .lob-territory-menu .territory-row{color:#b0b0b0}  [data-bs-theme=dark] .lob-territory-menu .territory-row:hover{background:#ffffff0f;color:#fff}  [data-bs-theme=dark] .lob-territory-menu .territory-row.selected{color:#fff;background:#232323}  .lob-territory-menu .check-icon{font-size:18px;width:18px;height:18px;color:#101010;flex-shrink:0}  [data-bs-theme=dark] .lob-territory-menu .check-icon{color:#b8b8bc}.territory-label[_ngcontent-%COMP%]{flex:1}.check-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#101010;flex-shrink:0}button#topnav-hamburger-icon[_ngcontent-%COMP%]{border:none;padding-left:24px;background-color:transparent}#scrollbar[_ngcontent-%COMP%]{flex-grow:1;overflow:visible!important;overflow-y:auto}.sidebar-bottom-menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.nav-link[_ngcontent-%COMP%]{position:relative}.sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 20px 6px 26px;text-align:left;gap:8px;border-radius:8px;transition:background-color .2s ease}.sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{background-color:#0000000f!important}.sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#6d7080;font-size:.875rem;font-family:Poppins,sans-serif;font-weight:600;background:transparent!important}.sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0091ff}.profile-container[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{padding:6px 20px 6px 26px;width:100%;border:none;background:none;text-align:left;display:block}.profile-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:10px}.profile-content[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{flex-shrink:0;object-fit:contain;margin-top:2px}.profile-text[_ngcontent-%COMP%]{display:flex;flex-direction:column;justify-content:center;line-height:1.2;min-width:0}.username-wrapper[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;white-space:nowrap}.username[_ngcontent-%COMP%]{font-weight:600;font-family:Poppins,sans-serif;font-size:.875rem;color:#000;overflow:hidden;text-overflow:ellipsis}.email[_ngcontent-%COMP%]{font-size:.75rem;color:#a0a3b1;margin-top:2px;font-family:Poppins,sans-serif;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.dropdown-arrow[_ngcontent-%COMP%]{width:12px;height:12px;object-fit:contain;filter:var(--arrow-filter);transition:filter .3s ease;flex-shrink:0;margin-left:-10px}.profile-popup[_ngcontent-%COMP%]{position:static;top:100%;right:0;z-index:1045;background:#fff;border:1px solid #ddd;border-radius:4px;min-width:120px;margin-top:8px;box-shadow:0 2px 8px #00000014;transition:background-color .2s,color .2s,border-color .2s}.profile-popup[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{margin:0;padding:0;list-style:none}.profile-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px 16px;cursor:pointer;color:#222}.profile-popup.dark-mode[_ngcontent-%COMP%]{background:#111827;border-color:#374151;box-shadow:0 6px 18px #0009}.profile-popup.dark-mode[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{color:#e5e7eb}.profile-popup.dark-mode[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background:#ffffff0a}.profile-popup[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;margin:0;padding:0}.profile-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:10px 16px;cursor:pointer}.profile-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background:#f5f5f5}.profile-container.dark-mode[_ngcontent-%COMP%]   .username[_ngcontent-%COMP%]{color:#e5e7eb}.profile-container.dark-mode[_ngcontent-%COMP%]   .email[_ngcontent-%COMP%]{color:#9ca3af}.dropdown-arrow-btn[_ngcontent-%COMP%]{background:transparent;border:none;padding:0;margin-left:8px;
3cursor:pointer;display:inline-flex;align-items:center}.dropdown-arrow[_ngcontent-%COMP%]{width:16px;height:16px;transition:filter .3s ease;display:block}.profile-popup[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0;background:#fff;border-radius:4px;box-shadow:0 4px 8px #0003;min-width:150px;overflow:hidden}.profile-popup.dark-mode[_ngcontent-%COMP%]{background:#2a2a2a;color:#f0f0f0}.profile-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:12px 16px;cursor:pointer}.profile-popup[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f5f5f5}.profile-popup.dark-mode[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#444}[_nghost-%COMP%]     .cdk-overlay-container{z-index:1045}[_nghost-%COMP%]     .custom-overlay-pane{z-index:1045}.mobile-account-settings-label[_ngcontent-%COMP%], .mobile-sidebar-mykit[_ngcontent-%COMP%], .mobile-sidebar-user[_ngcontent-%COMP%], .mobile-sidebar-logout[_ngcontent-%COMP%], .mobile-shared-logout-footer[_ngcontent-%COMP%]{display:none}@media(max-width:1023px){.sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#1b1b1d;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;border-radius:8px;transition:background-color .2s ease}.sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{background-color:#0000000f!important}.sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;flex-shrink:0;color:#1b1b1d}.sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#1b1b1d;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;background:transparent!important}.mobile-account-settings-label[_ngcontent-%COMP%]{font-size:.75rem;color:#828387;font-weight:700;padding:12px 16px .5rem;display:block}.mobile-sidebar-user[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;padding:12px 16px;border-bottom:1px solid rgba(0,0,0,.08);cursor:pointer;justify-content:space-between}.mobile-sidebar-mykit[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;margin:0 1rem 1.15rem;padding:1rem .75rem;border:none;border-radius:.5rem;background:#d3e3ff;color:#204876;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;line-height:1.25rem}.mobile-sidebar-mykit-icon[_ngcontent-%COMP%]{color:#204876;font-size:1.25rem;width:1.25rem;height:1.25rem}.mobile-sidebar-mykit-label[_ngcontent-%COMP%]{color:#204876;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif}.mobile-sidebar-user-avatar[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#6744d4;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.18rem;font-weight:600;flex-shrink:0;text-transform:uppercase}.mobile-sidebar-user-details[_ngcontent-%COMP%]{min-width:0;flex:1}.mobile-sidebar-user-name[_ngcontent-%COMP%]{margin:0;font-size:1rem;font-weight:600;color:#343437;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-sidebar-user-email[_ngcontent-%COMP%]{margin:2px 0 0;font-size:.75rem;color:#828387;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-profile-chevron[_ngcontent-%COMP%]{background:transparent;border:none;padding:4px;color:#1b1b1d;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%}.mobile-profile-chevron[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.5rem;width:1.5rem;height:1.5rem;transition:transform .2s ease}.mobile-profile-chevron[_ngcontent-%COMP%]:hover{background:#0000000f}.mobile-shared-logout-footer[_ngcontent-%COMP%]{display:block;position:sticky;bottom:0;margin-top:auto;background:#fff;border-top:1px solid rgba(0,0,0,.08);z-index:2}.mobile-shared-logout-footer-inner[_ngcontent-%COMP%]{padding-bottom:.5rem;padding-left:.25rem;background:#fff}.mobile-sidebar-logout[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;color:#1b1b1d;text-decoration:none;border-bottom:none}.mobile-sidebar-logout[_ngcontent-%COMP%]:hover{background:#0000000a}.mobile-sidebar-logout-icon[_ngcontent-%COMP%]{font-size:2.2rem;width:2.2rem;height:2.2rem;line-height:2.2rem;color:#1b1b1d;flex-shrink:0}.mobile-sidebar-logout-label[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#1b1b1d;font-family:Poppins,sans-serif}.sidebar-bottom-menu[_ngcontent-%COMP%], .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{background:#fff}.mobile-sidebar-logout-item[_ngcontent-%COMP%]{display:none;background:#fff}}.mobile-app-menu[_ngcontent-%COMP%]{display:flex;flex-direction:column;height:100%;z-index:1040}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-scrollbar[_ngcontent-%COMP%]{flex-grow:1;overflow:visible!important;overflow-y:auto}
3.mobile-app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]{flex:1 1 auto;max-height:100%;padding-bottom:3.75rem;padding-top:10px;overflow:auto;scrollbar-width:thin;scrollbar-color:transparent transparent}.mobile-app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar{width:.5rem}.mobile-app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.mobile-app-menu[_ngcontent-%COMP%]   .topPart[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background-color:#0000004d;border-radius:.25rem}.mobile-app-menu[_ngcontent-%COMP%]   .mobile-sidebar-menu-container[_ngcontent-%COMP%]{margin-left:1rem;margin-right:1rem}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]{height:100%}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]{margin-left:1.5rem}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;color:#6d7080;font-size:.625rem;font-weight:600;font-family:Poppins,sans-serif;line-height:1.25rem;padding:.375rem 1rem .375rem 1.5rem;border-radius:8px;transition:background-color .2s ease}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{background-color:#0000000f!important}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0091ff}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{width:1.5rem;height:1.5rem;min-width:1.5rem;min-height:1.5rem;flex-shrink:0;color:#1b1b1d}.mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#6d7080;font-size:.675rem;font-weight:600;font-family:Poppins,sans-serif;background:transparent!important}.nav-link.active[_ngcontent-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#0091ff}.mob-sidebar-bottom-menu[_ngcontent-%COMP%]{position:sticky;bottom:0;background:#fff}.mob-sidebar-bottom-menu[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;padding:0;margin:0}.mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.5rem;padding:.375rem 1rem;background:#fff;border-radius:8px;transition:background-color .2s ease}.mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{background-color:#0000000f!important}.mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#6d7080;font-size:.875rem;font-family:Poppins,sans-serif;font-weight:600;background:transparent!important}.mobile-sidebar-user[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:12px;padding:1rem;border-bottom:1px solid rgba(0,0,0,.08);cursor:pointer;background-color:#efecfb;justify-content:space-between;margin-left:1rem;margin-right:1rem;border-radius:.5rem}.mobile-sidebar-user-content[_ngcontent-%COMP%]{display:flex;align-items:flex-start;gap:.75rem;flex:1;min-width:0}.mobile-sidebar-user-avatar[_ngcontent-%COMP%]{width:40px;height:40px;border-radius:50%;background:#6744d4;color:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:1.18rem;font-weight:600;flex-shrink:0;text-transform:uppercase}.mobile-sidebar-user-details[_ngcontent-%COMP%]{min-width:0;flex:1;display:flex;flex-direction:column;align-items:flex-start;gap:.25rem}.mobile-sidebar-user-name[_ngcontent-%COMP%]{margin:0;font-size:1rem;font-weight:600;color:#343437;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-sidebar-user-email[_ngcontent-%COMP%]{margin:0;font-size:.75rem;color:#828387;font-weight:400;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mobile-sidebar-user-meta[_ngcontent-%COMP%]{display:flex;flex-wrap:wrap;gap:.25rem .5rem;align-self:stretch}.mobile-sidebar-user-meta[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;padding:0;display:inline-flex;align-items:center;gap:.125rem;color:#343437;font-size:.625rem;font-weight:400;line-height:1rem;font-family:Poppins,sans-serif}.mobile-sidebar-user-meta[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#343437;font-size:.625rem;font-weight:400;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mobile-sidebar-user-meta[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1rem;width:1rem;height:1rem;line-height:1rem;color:#343437;flex-shrink:0}.mobile-profile-chevron[_ngcontent-%COMP%]{background:transparent;border:none;padding:4px;color:#1b1b1d;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;border-radius:50%}.mobile-profile-chevron[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:1.5rem;width:1.5rem;height:1.5rem;transition:transform .2s ease}.mobile-profile-chevron[_ngcontent-%COMP%]:hover{background:#0000000f}.mobile-sidebar-mykit[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;margin:0 1rem 1.15rem;padding:1rem .75rem;border:none;border-radius:.5rem;background:#d3e3ff;color:#204876;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif;line-height:1.25rem}.mobile-sidebar-mykit-icon[_ngcontent-%COMP%]{color:#204876;font-size:1.25rem;width:1.25rem;height:1.25rem}.mobile-sidebar-mykit-label[_ngcontent-%COMP%]{color:#204876;font-size:1rem;font-weight:600;font-family:Poppins,sans-serif}.mobile-shared-logout-footer[_ngcontent-%COMP%]{position:sticky;bottom:0;margin-top:auto;background:#fff;border-top:1px solid rgba(0,0,0,.08);z-index:2}.mobile-shared-logout-footer-inner[_ngcontent-%COMP%]{padding-bottom:.5rem;padding-left:.25rem;background:#fff}.mobile-sidebar-logout[_ngcontent-%COMP%]{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;background:#fff;color:#1b1b1d;text-decoration:none}.mobile-sidebar-logout[_ngcontent-%COMP%]:hover{background:#0000000a}.mobile-sidebar-logout-icon[_ngcontent-%COMP%]{font-size:2.2rem;width:2.2rem;height:2.2rem;line-height:2.2rem;color:#1b1b1d;flex-shrink:0}.mobile-sidebar-logout-label[_ngcontent-%COMP%]{font-size:1rem;font-weight:600;color:#1b1b1d;font-family:Poppins,sans-serif}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-scrollbar[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-scrollbar[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .container-fluid[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user[_ngcontent-%COMP%]{background-color:#18181a!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user-name[_ng
3content-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user-name[_ngcontent-%COMP%]{color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user-email[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user-email[_ngcontent-%COMP%]{color:#9b9b9b!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-user-meta[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#9b9b9b!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-profile-chevron[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-profile-chevron[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-profile-chevron[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-profile-chevron[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .mob-sidebar-background[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mob-sidebar-bottom-menu[_ngcontent-%COMP%]   .mob-sidebar-background[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-mykit[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-mykit[_ngcontent-%COMP%]{background-color:#0d2240!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-mykit-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-mykit-icon[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-mykit-label[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-mykit-label[_ngcontent-%COMP%]{color:#6ea8ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-shared-logout-footer[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-shared-logout-footer[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-shared-logout-footer-inner[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-shared-logout-footer-inner[_ngcontent-%COMP%]{background-color:#000!important;border-top-color:#ffffff14!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-logout[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-logout[_ngcontent-%COMP%]{background-color:#000!important;color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-logout-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-logout-icon[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidebar-logout-label[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidebar-logout-label[_ngcontent-%COMP%]{color:#f7f7f8!important}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .mobile-sidebar-menu-container[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-app-menu[_ngcontent-%COMP%]   .mobile-sidebar-menu-container[_ngcontent-%COMP%]{background-color:#000!important}[data-bs-theme=dark][_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link[class*=active][_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link[class*=active][_ngcontent-%COMP%]{background:#ffffff14!important;color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link[class*=active][_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .lob-nav-item[_ngcontent-%COMP%]   .nav-link[class*=active][_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#eaeaeb!important;border-radius:5px}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#eaeaeb!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{background:#ffffff14!important;color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{background:#ffffff14!important;color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#eaeaeb!important;font-size:.875rem!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#eaeaeb!important;font-size:.8rem!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_
3ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#eaeaeb!important;font-size:.75rem!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .collapse.menu-dropdown[_ngcontent-%COMP%]   .nav[_ngcontent-%COMP%]   .collapse.menu-dropdown.sub-menu[_ngcontent-%COMP%]   .collapse.menu-dropdown.extra-sub-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .menu-expand-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .menu-expand-icon[_ngcontent-%COMP%]{color:#eaeaeb!important}[data-bs-theme=dark][_nghost-%COMP%]   .menu-expand-icon[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .menu-expand-icon[_ngcontent-%COMP%]:hover{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .menu-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .menu-icon[_ngcontent-%COMP%]{filter:brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(151%) hue-rotate(184deg) brightness(95%) contrast(92%)!important;opacity:1!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-menu-scroll[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{filter:brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(151%) hue-rotate(184deg) brightness(95%) contrast(92%)!important;opacity:1!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   .menu-icon[_ngcontent-%COMP%]{filter:brightness(0) saturate(100%) invert(96%) sepia(4%) saturate(151%) hue-rotate(184deg) brightness(95%) contrast(92%)!important;opacity:1!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]{color:#eaeaeb!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcon
3tent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#eaeaeb!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link[_ngcontent-%COMP%]:hover   span[_ngcontent-%COMP%]{color:#0090ff!important}[data-bs-theme=dark][_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .sidebar-bottom-menu[_ngcontent-%COMP%]   .nav-link.active[_ngcontent-%COMP%]{color:#0090ff!important}"]})}}return o})();var dc=["appSidenav"],pc=["launchMsg"];function gc(o,g){if(o&1){let e=y();a(0,"app-topbar",7),C("mobileMenuButtonClicked",function(){O(e);let n=d();return P(n.toggleMobileSidenav())}),s()}}function mc(o,g){if(o&1){let e=y();a(0,"app-topbar",7),C("mobileMenuButtonClicked",function(){O(e);let n=d();return P(n.toggleMobileSidenav())}),s()}}function uc(o,g){if(o&1){let e=y();D(0),a(1,"mat-sidenav-container",8)(2,"mat-sidenav",9,1),C("openedChange",function(n){O(e);let i=d();return P(i.onSidenavOpenedChange(n))}),a(4,"div",10)(5,"button",11),C("click",function(){O(e);let n=d();return P(n.closeMobileSidenav())}),a(6,"mat-icon"),m(7,"close"),s()(),a(8,"button",12)(9,"mat-icon"),m(10,"help_outline"),s()()(),h(11,"app-sidebar"),s(),a(12,"mat-sidenav-content",13)(13,"div",14)(14,"div",15),h(15,"router-outlet"),s(),h(16,"app-footer"),s()()(),z()}if(o&2){let e=d();r(),k("mobile-topbar-visible-state",!e.isSidenavOpen)("mobile-topbar-hidden-state",e.isSidenavOpen),l("hasBackdrop",!0),r(),l("opened",e.isSidenavOpen)("disableClose",!1)}}function _c(o,g){o&1&&h(0,"app-sidebar")}function hc(o,g){if(o&1&&(a(0,"div",16),M(1,_c,1,0,"app-sidebar",17),a(2,"div",18)(3,"div",19),h(4,"router-outlet"),s(),h(5,"app-footer"),s()()),o&2){let e=d();r(),l("ngIf",!e.isShareLinkView)}}function fc(o,g){if(o&1){let e=y();a(0,"div",20,2),h(2,"div",21),a(3,"div",22)(4,"button",23),C("click",function(){O(e);let n=d();return P(n.closeLaunchMsg())}),a(5,"mat-icon"),m(6,"close"),s()(),a(7,"h2"),m(8),s(),a(9,"p",24),C("click",function(n){O(e);let i=d();return P(i.onLaunchDescriptionClick(n))}),s()()()}if(o&2){let e=d();r(8),v(e.launchTitle),r(),l("innerHTML",e.launchDescription,Ge)}}var Ri=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T){this.router=e,this.appInit=t,this.navigation=n,this.eventService=i,this.changeLobRefreshService=c,this.exportStatusService=p,this.userPreferenceService=u,this.sanitizer=x,this.manageHomepageService=w,this.snackBar=I,this.translateService=T,this.isMobile=!1,this.isSidenavOpen=!0,this.redirected=!1,this.userLobChanged=!1,this.initComplete=!1,this.exportBarVisible=!1,this.isShareLinkView=!1,this.destroy$=new F,this.launchTitle="We've Made Some Updates",this.launchDescription="",this.showLaunchMsg=!0,this.launchMsgDismissKey="launchMsgDismissed",this.launchMsgEnabledKey="launchMsgEnabled"}onResize(){this.checkScreenSize(),this.updateLaunchMsgOffset()}onScroll(){this.updateLaunchMsgOffset()}checkScreenSize(){let e=this.isMobile;this.isMobile=window.innerWidth<1024,e!==this.isMobile&&(this.isSidenavOpen=!this.isMobile)}toggleMobileSidenav(){this.isMobile&&(this.isSidenavOpen=!this.isSidenavOpen)}closeMobileSidenav(){this.isMobile&&(this.isSidenavOpen=!1)}onSidenavOpenedChange(e){this.isSidenavOpen=e}ngOnInit(){this.isShareLinkView=sessionStorage.getItem("isShareLinkView")==="true",this.updateLaunchVisibility(),this.checkScreenSize(),this.router.events.pipe(q(e=>e instanceof _t)).subscribe(e=>{if(this.isMobile&&this.isSidenavOpen&&this.closeMobileSidenav(),e.url.includes("/event-template")){console.log("\u2705 Event-template route detected, skipping init logic");return}if(e.urlAfterRedirects==="/"&&this.initComplete){let n=!!sessionStorage.getItem("eventTemplateActiveMenu"),i=this.navigation.hasRedirectUrl();if(n&&!this.userLobChanged||i){console.log("\u23ED\uFE0F Skipping root re-init due to active event-template selection or pending redirect");return}this.redirected=!1,this.userLobChanged=!1,this.handleInitialNavigation()}}),console.log("\u{1F7E2} [Vertical] ngOnInit START"),console.log("\u{1F7E2} Current URL:",window.location.href),this.userLobChanged=sessionStorage.getItem("lobChanged")==="true",console.log("\u{1F7E2} lobChanged flag on init:",this.userLobChanged),console.log("\u{1F7E2} redirected flag on init:",this.redirected),this.appInit.initDone$.pipe(q(e=>e===!0),we(1)).subscribe(()=>{console.log("\u{1F7E2} initDone$ emitted TRUE (initial load)"),this.initComplete=!0,this.handleInitialNavigation()}),this.changeLobRefreshService.refresh$.subscribe(()=>{console.log("\u{1F7E0} [Vertical] LOB Refresh Triggered"),this.userLobChanged=sessionStorage.getItem("lobChanged")==="true",console.log("\u{1F7E0} lobChanged flag after refresh:",this.userLobChanged),this.userLobChanged&&sessionStorage.removeItem("eventTemplateActiveMenu"),this.redirected=!1,console.log("\u{1F7E0} redirected reset to false"),this.appInit.initDone$.pipe(q(e=>e===!0),we(1)).subscribe(()=>{console.log("\u{1F7E0} initDone$ emitted TRUE (LOB change)"),this.handleInitialNavigation(),this.updateLaunchVisibility()})}),console.log("\u{1F9ED} SESSION SNAPSHOT:",{loggedIn:sessionStorage.getItem("loggedIn"),
3currentUserLob:sessionStorage.getItem("currentUserLob"),lobChanged:sessionStorage.getItem("lobChanged"),loginType:sessionStorage.getItem("loginType")}),this.exportStatusService.status$.pipe(L(this.destroy$)).subscribe(e=>{this.exportBarVisible=e!=="idle"}),this.updateLaunchMessage(),this.userPreferenceService.preferences$.pipe(L(this.destroy$)).subscribe(()=>{this.updateLaunchMessage(),this.updateLaunchVisibility()})}ngAfterViewInit(){this.updateLaunchMsgOffset()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}handleInitialNavigation(){console.log("\u{1F535} handleInitialNavigation START"),console.log("\u{1F535} redirected:",this.redirected),console.log("\u{1F535} userLobChanged:",this.userLobChanged),console.log("\u{1F535} current path:",window.location.pathname),this.userLobChanged&&sessionStorage.removeItem("eventTemplateActiveMenu");let e=(this.router.url||"").split("?")[0];if(sessionStorage.getItem("eventTemplateActiveMenu")&&!this.userLobChanged){let i=this.navigation.getDefaultLandingUrl();if(e==="/"&&i){console.log("\u21A9\uFE0F Root requested, redirecting to default landing:",i),this.redirected=!0,this.router.navigateByUrl(i);return}console.log("\u23ED\uFE0F Skipping handleInitialNavigation because eventTemplateActiveMenu is set");return}if(this.redirected&&!this.userLobChanged){console.log("\u26D4 Navigation blocked (already redirected & no LOB change)");return}let t=this.navigation.consumeRedirectUrl()||sessionStorage.getItem("redirectUrl");if(console.log("\u{1F535} redirectUrl found:",t),(t==="/"||t==="")&&sessionStorage.removeItem("redirectUrl"),t&&t!=="/"&&t.startsWith("/")){let i=(t||"").split("?")[0],c=e;if(i===c){console.log("\u{1F504} [INFINITE LOOP PREVENTION] redirectUrl matches currentPath, skipping redirect:",{redirectUrl:i,currentPath:c}),sessionStorage.removeItem("redirectUrl"),this.redirected=!0;return}console.log("\u{1F680} Redirecting to previousUrl:",t),this.redirected=!0,this.router.navigateByUrl(t).then(()=>{console.log("\u2705 Navigation to previousUrl complete")});return}if(e&&e!=="/"&&e!==""){console.log("\u{1F501} Deep link or reload detected. Staying on:",e),this.redirected=!0,this.userLobChanged=!1,sessionStorage.removeItem("lobChanged");return}if(!!sessionStorage.getItem("eventTemplateActiveMenu")&&!this.userLobChanged){console.log("\u23ED\uFE0F Skipping landing redirect due to active event-template menu selection"),this.redirected=!0,this.userLobChanged=!1,sessionStorage.removeItem("lobChanged");return}console.log("\u{1F535} No redirectUrl or deep link \u2192 going to landing"),this.redirectToLanding()}redirectToLanding(){if(console.log("\u{1F7E3} redirectToLanding START"),console.log("\u{1F7E3} redirected:",this.redirected),console.log("\u{1F7E3} userLobChanged:",this.userLobChanged),sessionStorage.getItem("eventTemplateActiveMenu")&&!this.userLobChanged){console.log("\u{1F6AB} Landing BLOCKED: eventTemplateActiveMenu is set"),this.redirected=!0,this.userLobChanged=!1,sessionStorage.removeItem("lobChanged");return}if(this.redirected&&!this.userLobChanged){console.log("\u26D4 Landing blocked (already redirected & no LOB change)");return}this.redirected=!0,console.log("\u{1F7E3} redirected set to TRUE");let e={pageNames:["LANDING"]};window.sessionStorage.getItem("currentUserLob").toLocaleLowerCase()==="repertory"&&(e={pageNames:["SPOTLIGHT"]});let t=e.pageNames[0]||"LANDING";if(sessionStorage.setItem("eventTemplateActiveMenu",t),console.log("\u{1F7E3} Landing API payload:",e),console.log("\u{1F7E3} currentUserLob:",sessionStorage.getItem("currentUserLob")),t==="SPOTLIGHT"||t==="SHORTS"){this.eventService.getCustomerLanding(e).subscribe({next:i=>{if(!Array.isArray(i)||i.length===0)return;let c=i[0];if(!c?.pageDataJson)return;let p=JSON.parse(c.pageDataJson);console.log("\u{1F7E2} Parsed landing JSON:",p);let u=(p?.moduleArray||[]).filter(T=>T?.moduleName==="Carousel").map((T,R)=>({gpmsids:(Array.isArray(T?.carouselItems)?T.carouselItems:[]).map(ye=>ye?.titleGpmsId).filter(ye=>ye!=null&&`${ye}`.trim()!=="")})),x=`/event-template/${p.routeUrl}`,w=JSON.stringify(c),I=JSON.stringify(u);sessionStorage.setItem("carouselTitleGpmsIds",I),sessionStorage.setItem("isCarouselPage","true"),sessionStorage.setItem("pageDataJson",w),sessionStorage.setItem("app_default_landing_page_id",c.id||""),sessionStorage.setItem("app_default_landing_page_data_json",w),sessionStorage.setItem("app_default_landing_is_carousel","true"),sessionStorage.setItem("app_default_landing_carousel_gpms_ids",I),this.navigation.setDefaultLandingUrl(x),this.router.navigateByUrl(x).then(()=>{console.log("\u2705 Landing navigation success")})},error:()=>{}}),sessionStorage.removeItem("lobChanged");return}this.eventService.getCustomerLanding(e).subscribe({next:i=>{if(console.log("\u{1F7E2} Landing API response:",i),!Array.isArray(i)||!i.length){console.warn("\u26A0\uFE0F Landing API returned empty result \u2192 /home"),this.router.navigateByUrl("/home");return}let c=i[0];if(console.log("\u{1F7E2} Selected landing record:",c),!c?.pageDataJson){console.warn("\u26A0\uFE0F pageDataJson missing \u2192 /home"),this.router.navigateByUrl("/home");return}try{let p=JSON.parse(c.pageDataJson);if(console.log("\u{1F7E2} Parsed landing JSON:",p),p?.routeUrl){console.log("\u{1F680} Navigating to landing route:",p.routeUrl);let u=`/event-template/${p.routeUrl}`,x=JSON.stringify(c);localStorage.setItem("pageId",c.id||""),sessionStorage.setItem("app_default_landing_page_id",c.id||""),sessionStorage.setItem("app_default_landing_page_data_json",x),sessionStorage.setItem("app_default_landing_is_carousel","false"),sessionStorage.removeItem("app_default_landing_carousel_gpms_ids"),this.navigation.setDefaultLandingUrl(u),sessionStorage.removeItem("lobChanged"),this.router.navigateByUrl(u).then(()=>{console.log("\u2705 Landing navigation success")});return}else console.warn("\u26A0\uFE0F routeUrl missing in landing JSON")}catch(p){console.error("\u274C Landing JSON parse error:",p)}console.warn("\u26A0\uFE0F Fallback to /home"),sessionStorage.removeItem("lobChanged"),this.router.navigateByUrl("/home")},error:i=>{sessionStorage.removeItem("lobChanged"),console.error("\u274C Landing API error:",i),this.router.navigateByUrl("/home")}}),sessionStorage.removeItem("lobChanged")}onLaunchDescriptionClick(e){let t=e.target;!t||!t.closest('a[data-action="user-guide"]')||(e.preventDefault(),this.onHelpClick())}onHelpClick(){this.manageHomepageService.getUserGuideDetails().pipe(we(1),ie(e=>e?.data??e??[]),ie(e=>e.filter(t=>Number(t?.isDeleted??0)!==1)),ie(e=>e[0]),gt(e=>{let t=e?.storageKey||e?.s3Key;return t?this.manageHomepageService.getUserGuideFileByS3Key(t).pipe(ie(n=>({blob:n,file:e}))):(this.snackBar.open(this.translateService.instant("sidebar.userGuideNotAvailable"),this.translateService.instant("common.Close"),{duration:3e3}),Ie(null))}),Vt(()=>(this.snackBar.open(this.translateService.instant("sidebar.loadFileFailed"),this.translateService.instant("common.Close"),{duration:3e3}),Ie(null)))).subscribe(e=>{if(!e?.blob)return;let t=new Blob([e.blob],{type:"application/pdf"}),n=URL.createObjectURL(t),i=this.getUserGuideDownloadFileName(),c=document.createElement("a");c.href=n,c.download=i,c.style.display="none",document.body.appendChild(c),c.click(),c.remove(),setTimeout(()=>URL.revokeObjectURL(n),1e4)})}getUserGuideDownloadFileName(){let e=(this.userPreferenceService.getPreferences()?.defaultLob||sessionStorage.getItem("currentUserLob")||"").toString().trim(),t=e.toLowerCase();return t==="exhibitor"||t==="publicity"?"Global Asset Hub User Guide.pdf":t==="airline"||t==="repertory"?"Inflight User Guide.pdf":`${e||"User"} User Guide.pdf`}closeLaunchMsg(){this.showLaunchMsg=!1,sessionStorage.setItem(this.lau
3nchMsgDismissKey,"true"),this.userPreferenceService.setLaunchMsgDismissedInSession()}updateLaunchVisibility(){let e=sessionStorage.getItem(this.launchMsgEnabledKey)==="true",t=sessionStorage.getItem(this.launchMsgDismissKey)==="true"||this.userPreferenceService.isLaunchMsgDismissedInSession(),n=this.userPreferenceService.getPreferences(),c=n?.config?.launch_config,p=this.getTerritoryLaunchConfig(c,n),u=this.isLaunchDurationActive(c,p);this.showLaunchMsg=e&&!t&&u}updateLaunchMessage(){let e=this.userPreferenceService.getPreferences(),n=e?.config?.launch_config;if(!n){this.launchDescription="";return}let c=this.getTerritoryLaunchConfig(n,e)?.launch_msg||n?.launch_msg;this.launchTitle=c?.Title||this.launchTitle;let u=(c?.Description||"").replace(/<mat-icon>(.*?)<\/mat-icon>/g,'<span class="material-icons">$1</span>');u.includes('data-action="user-guide"')||(u=u.replace(/user guide/gi,x=>`<a href="#" class="launch-msg-link" data-action="user-guide">${x}</a>`)),this.launchDescription=this.sanitizer.bypassSecurityTrustHtml(u)}getTerritoryLaunchConfig(e,t){if(!e)return null;let n=(t?.defaultTerritory||"").trim(),i=(t?.defaultLanguage||t?.preferredLanguage||t?.userPreferredLanguage||"").trim(),c=`${n}-${i}`.trim();return this.findTerritoryLaunchConfig(e?.territories,c)}isLaunchDurationActive(e,t){let n=t?.duration??e?.duration,i=this.parseLaunchEndDate(n);if(!i)return!1;let c=new Date,p=new Date(c.getFullYear(),c.getMonth(),c.getDate()),u=new Date(i.getFullYear(),i.getMonth(),i.getDate());return p<=u}parseLaunchEndDate(e){if(typeof e!="string"||!e.trim())return null;let t=e.trim();if(/^\d{4}-\d{2}-\d{2}$/.test(t)){let[p,u,x]=t.split("-").map(Number);return new Date(p,u-1,x)}let i=/^\d{2}-\d{2}-\d{4}$/.test(t),c=/^\d{2}\/\d{2}\/\d{4}$/.test(t);if(i||c){let p=t.split(i?"-":"/").map(Number),[u,x,w]=p;return new Date(w,u-1,x)}return null}findTerritoryLaunchConfig(e,t){if(!Array.isArray(e)||!t)return null;let n=t.toLowerCase();for(let i of e)if(!(!i||typeof i!="object")){for(let[c,p]of Object.entries(i))if(c.toLowerCase()===n)return p}return null}
3updateLaunchMsgOffset(){let e=this.launchMsgEl?.nativeElement;if(!e)return;let t=document.querySelector("app-footer");if(!t){e.style.setProperty("--launch-msg-offset","0px");return}let n=t.getBoundingClientRect(),i=window.innerHeight-n.top,c=Math.max(0,i);e.style.setProperty("--launch-msg-offset",`${c}px`)}static{this.\u0275fac=function(t){return new(t||o)(_(j),_(le),_(xt),_(yt),_(Ae),_(cn),_(oe),_(qe),_(wt),_(Yt),_(_e))}}static{this.\u0275cmp=E({type:o,selectors:[["app-vertical"]],viewQuery:function(t,n){if(t&1&&(G(dc,5),G(pc,5)),t&2){let i;V(i=A())&&(n.appSidenav=i.first),V(i=A())&&(n.launchMsgEl=i.first)}},hostBindings:function(t,n){t&1&&C("resize",function(){return n.onResize()},!1,$e)("scroll",function(){return n.onScroll()},!1,$e)},standalone:!1,decls:7,vars:9,consts:[["desktopLayout",""],["appSidenav",""],["launchMsg",""],["id","layout-wrapper"],[3,"mobileMenuButtonClicked",4,"ngIf"],[4,"ngIf","ngIfElse"],["id","launchMsg",4,"ngIf"],[3,"mobileMenuButtonClicked"],["autosize","",1,"mobile-sidenav-container",3,"hasBackdrop"],["mode","over",1,"mobile-overlay-sidenav",3,"openedChange","opened","disableClose"],[1,"mobile-nav-header"],["type","button","mat-icon-button","","aria-label","Close menu",3,"click"],["type","button","mat-icon-button","","aria-label","Help",1,"mobile-nav-help-btn"],[1,"mobile-sidenav-content"],[1,"desktop-main-content"],[1,"mobile-page-content"],[1,"desktop-layout-wrapper"],[4,"ngIf"],[1,"main-content"],[1,"page-content"],["id","launchMsg"],[1,"launch-msg-border"],[1,"launch-msg-content"],["type","button","aria-label","Close",1,"launch-msg-close",3,"click"],[3,"click","innerHTML"]],template:function(t,n){if(t&1&&(a(0,"div",3),M(1,gc,1,0,"app-topbar",4)(2,mc,1,0,"app-topbar",4)(3,uc,17,7,"ng-container",5)(4,hc,6,1,"ng-template",null,0,Q)(6,fc,10,2,"div",6),s()),t&2){let i=K(5);k("export-bar-visible",n.exportBarVisible)("share-view-mode",n.isShareLinkView),r(),l("ngIf",!n.isMobile),r(),l("ngIf",n.isMobile&&!n.isSidenavOpen),r(),l("ngIf",n.isMobile)("ngIfElse",i),r(3),l("ngIf",n.showLaunchMsg)}},dependencies:[B,Gt,ne,kt,Jt,Yn,wi,_n,Pn,Bi],styles:['.mobile-sidenav-container[_ngcontent-%COMP%]{position:fixed!important;left:0;right:0;bottom:0;z-index:1001;background-color:#fff;transition:top .2s ease}.mobile-sidenav-container.mobile-topbar-visible-state[_ngcontent-%COMP%]{top:62px}.mobile-sidenav-container.mobile-topbar-hidden-state[_ngcontent-%COMP%]{top:0}  .mobile-overlay-sidenav{width:100vw!important;max-width:100vw!important;background:#fff!important;box-shadow:4px 0 16px #00000026}  .mobile-overlay-sidenav.mat-drawer-side{border-right:none!important;box-shadow:none}  .mobile-overlay-sidenav .mobile-app-menu,   .mobile-overlay-sidenav .mobile-navbar-menu{height:100%;width:100%;background:#fff!important}  .mobile-overlay-sidenav app-sidebar{display:block;height:100%}  .mobile-sidenav-content .desktop-main-content{margin-left:0!important}  .mobile-sidenav-content .mobile-page-content{padding-top:0!important;min-height:calc(100vh - 62px)}.mobile-nav-header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:.5rem .25rem;background:#fff;border-bottom:1px solid rgba(0,0,0,.08)}.mobile-nav-help-btn[_ngcontent-%COMP%]{margin-left:auto}.desktop-layout-wrapper[_ngcontent-%COMP%]{display:block}.desktop-page-content[_ngcontent-%COMP%]{padding:72px 10px 0;min-height:90vh}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-sidenav-container[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-sidenav-container[_ngcontent-%COMP%]{background-color:#000}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%]{background:#000;border-bottom-color:#ffffff14}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%]   button[mat-icon-button][_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%]   button[mat-icon-button][_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%]   button[mat-icon-button][_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .mobile-nav-header[_ngcontent-%COMP%]   button[mat-icon-button][_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]     .mobile-overlay-sidenav, [data-bs-theme=dark]   [_nghost-%COMP%]     .mobile-overlay-sidenav{background:#000!important}[data-bs-theme=dark][_nghost-%COMP%]     .mobile-overlay-sidenav .mobile-app-menu, [data-bs-theme=dark]   [_nghost-%COMP%]     .mobile-overlay-sidenav .mobile-app-menu, [data-bs-theme=dark][_nghost-%COMP%]     .mobile-overlay-sidenav .mobile-navbar-menu, [data-bs-theme=dark]   [_nghost-%COMP%]     .mobile-overlay-sidenav .mobile-navbar-menu{background:#000!important}  .launch-msg-content span.material-icons{font-size:14px!important;margin:0 0 4px 3px!important;display:inline-block!important}  a.launch-msg-link{font-size:1rem;font-family:Roboto,sans-serif;color:#0071cc}  .launch-msg-content span{color:#343437;display:block;font-size:1rem;font-weight:600;margin-bottom:6px}#launchMsg[_ngcontent-%COMP%]{position:fixed;overflow:hidden;border-radius:20px;padding:2px;background:#f8fafff2;width:100%;max-width:40%;margin:auto;backdrop-filter:blur(10px);right:16px;border:2px solid rgb(113,171,234);z-index:999999999;bottom:calc(16px + var(--launch-msg-offset, 0px))}#launchMsg[_ngcontent-%COMP%]:after{content:"";position:absolute;box-shadow:0 0 24px #71abea2e,0 0 60px #71abea14;width:140%;height:140%;top:50%;left:50%;transform:translate(-50%,-50%);background:radial-gradient(circle,rgba(113,171,234,.2) 0%,rgba(113,171,234,.1) 30%,rgba(113,171,234,.05) 50%,transparent 72%);z-index:0;animation:_ngcontent-%COMP%_ambientGlow 4s ease-in-out infinite alternate;pointer-events:none}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]{position:relative;z-index:3;background:#fff;border-radius:1rem;padding:20px;color:#1b2a3a}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin-bottom:12px;font-size:1.375rem;font-family:Roboto,sans-serif;font-weight:700;color:#1b1b1d}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0;font-family:Roboto,sans-serif;color:#343437;font-size:1rem;line-height:138%;font-weight:400}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{display:block}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   .launch-msg-link[_ngcontent-%COMP%]{color:#1f5fbf;text-decoration:underline;font-weight:600;cursor:pointer}#launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;vertical-align:middle;color:#2b6cb0}#launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]{position:absolute;top:10px;right:10px;width:32px;height:32px;display:grid;place-items:center;border:0;border-radius:50%;background:#71abea26;color:#1b2a3a;cursor:pointer;padding:0}#launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;color:#1b2a3a}#launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]:hover{background:#71abea40}#launchMsg[_ngcontent-%COMP%]   .launch-msg-border[_ngcontent-%COMP%]{position:absolute;inset:-120%;z-index:1;background:conic-gradient(from 0deg,transparent 0deg,transparent 30deg,rgba(113,171,234,.7) 70deg,#b6dcff 95deg,#e4f2ff 120deg,#71abea 140deg,transparent 175deg,transparent 360deg);animation:_ngcontent-%COMP%_rotateGlow 3s linear infinite,_ngcontent-%COMP%_pulseGlow 2s ease-in-out infinite;filter:blur(18px) brightness(1.15) drop-shadow(0 0 14px rgba(113,171,234,.65)) drop-shadow(0 0 30px rgba(113,171,234,.45));opacity:.85;transform-origin:center}#launchMsg[_ngcontent-%COMP%]:before{content:"";position:absolute;inset:1px;border-radius:18px;background:#f3f7ff;z-index:2}@keyframes _ngcontent-%COMP%_ambientGlow{0%{transform:translate(-50%,-50%) scale(1);opacity:.7}to{transform:translate(-50%,-50%) scale(1.08);opacity:1}}@keyframes _ngcontent-%COMP%_pulseGlow{0%,to{opacity:.7}50%{opacity:1}}  [data-bs-theme=dark]-shadowcsshost-no-combinator .launch-msg-content span, [data-bs-theme=dark]   [_nghost-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff}[data-bs-theme=dark][_nghost-%COMP%]     .launch-msg-content span, [data-bs-theme=dark]   [_nghost-%COMP%]     .launch-msg-content span{color:#fff}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]{background:#09111ef2;border-color:#8accff73}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]:after, [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]:after{box-shadow:0 0 20px #71abea26,0 0 60px #71abea14;background:radial-gradient(circle,rgba(113,171,234,.22) 0%,rgba(113,171,234,.12) 25%,rgba(113,171,234,.05) 45%,transparent 70%)}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]{background:#000;color:#fff}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{color:#fff}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{color:#eaeaeb}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-content[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#71abea}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]{background:#71abea1f;color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#f7f7f8}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-close[_ngcontent-%COMP%]:hover{background:#71abea38}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-border[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]   .launch-msg-border[_ngcontent-%COMP%]{background:conic-gradient(from 0deg,transparent 0deg,transparent 25deg,rgba(113,171,234,.95) 70deg,#9fd0ff 90deg,#d6eeff 110deg,#71abea 130deg,transparent 170deg,transparent 360deg);filter:blur(18px) brightness(1.3) drop-shadow(0 0 18px #71abea) drop-shadow(0 0 40px rgba(113,171,234,.9));opacity:1}[data-bs-theme=dark][_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]:before, [data-bs-theme=dark]   [_nghost-%COMP%]   #launchMsg[_ngcontent-%COMP%]:before{background:#0d1525}@keyframes _ngcontent-%COMP%_rotateGlow{0%{transform:rotate(0)}to{transform:rotate(360deg)}}']})}}return o}
3)();var Gi=(()=>{class o{constructor(e,t,n){this.router=e,this.activatedRoute=t,this.store=n,this.isCondensed=!1}ngOnInit(){}static{this.\u0275fac=function(t){return new(t||o)(_(j),_(ht),_(re))}}static{this.\u0275cmp=E({type:o,selectors:[["app-horizontal-template"]],standalone:!1,decls:6,vars:0,consts:[["id","layout-wrapper"],[1,"main-content"],[1,"Horizontal-page"]],template:function(t,n){t&1&&(a(0,"div",0),h(1,"app-topbar"),a(2,"div",1)(3,"div",2),h(4,"router-outlet"),s(),h(5,"app-footer"),s()())},dependencies:[Gt,kt,Pn],styles:[".Horizontal-page[_ngcontent-%COMP%]{margin-top:60px}"]})}}return o})();function Mc(o,g){o&1&&h(0,"app-vertical")}function Oc(o,g){o&1&&h(0,"app-horizontal-template")}var Sp=(()=>{class o{constructor(e,t,n,i){this.store=e,this.idleService=t,this.router=n,this.masterStore=i,this.currentMode="light"}ngOnInit(){sessionStorage.getItem("loggedIn")==="true"&&this.idleService.startWatching(),this.store.select("layout").subscribe(t=>{this.layoutType=t.LAYOUT,document.documentElement.setAttribute("data-layout",t.LAYOUT);let n=sessionStorage.getItem("theme");this.currentMode=n??"light",document.documentElement.setAttribute("data-bs-theme",this.currentMode)}),this.applyLayout(this.router.url),this.router.events.pipe(q(t=>t instanceof _t)).subscribe(t=>{this.applyLayout(t.urlAfterRedirects)})}ngOnDestroy(){this.idleService.stopWatching()}applyLayout(e){let t=e.includes("/admin/asset-management");this.store.dispatch(yi({layout:t?"horizontal":"vertical"}))}isVerticalLayoutRequested(){return this.layoutType==="vertical"}isHorizontalLayoutRequested(){return this.layoutType==="horizontal"}static{this.\u0275fac=function(t){return new(t||o)(_(re),_(qo),_(j),_(ce))}}static{this.\u0275cmp=E({type:o,selectors:[["app-layout"]],standalone:!1,decls:2,vars:2,consts:[[4,"ngIf"]],template:function(t,n){t&1&&M(0,Mc,1,0,"app-vertical",0)(1,Oc,1,0,"app-horizontal-template",0),t&2&&(l("ngIf",n.isVerticalLayoutRequested()),r(),l("ngIf",n.isHorizontalLayoutRequested()))},dependencies:[B,Ri,Gi],encapsulation:2})}}return o})();var Qi=er(tr());var $i=(()=>{class o{constructor(e){this.router=e}ngOnInit(){let e=(sessionStorage.getItem("currentUserLOB")||sessionStorage.getItem("currentUserLob")||"").toLowerCase();(e==="exhibitor"||e==="publicity")&&this.router.navigateByUrl("/event-template")}static{this.\u0275fac=function(t){return new(t||o)(_(j))}}static{this.\u0275cmp=E({type:o,selectors:[["app-home"]],standalone:!1,decls:0,vars:0,template:function(t,n){},styles:["#HomeBanner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:auto}"]})}}return o})();var Hi=(()=>{class o{constructor(){this.http=N(Pe)}load(){return this.cache$||(this.cache$=this.http.get("assets/data/movie.json").pipe(co(1))),this.cache$}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275prov=Te({token:o,factory:o.\u0275fac,providedIn:"root"})}}return o})();function Pc(o,g){if(o&1&&h(0,"img",14),o&2){let e=g.ngIf;U("src",e,ee)}}function xc(o,g){if(o&1&&(D(0),M(1,Pc,1,1,"img",13),z()),o&2){let e=g.ngIf;r(),l("ngIf",e.hero==null?null:e.hero.poster)}}function vc(o,g){if(o&1&&(a(0,"li",33)(1,"div",34),m(2),s(),a(3,"div",35),m(4),s()()),o&2){let e=g.$implicit;r(2),v(e.name),r(2),v(e.role)}}function yc(o,g){if(o&1&&(a(0,"li"),m(1),s()),o&2){let e=g.$implicit;r(),v(e)}}function wc(o,g){if(o&1){let e=y();a(0,"button",46),C("click",function(){let n=O(e).$implicit,i=d(4);return P(i.setFilter(n))}),m(1),s()}if(o&2){let e=g.$implicit,t=d(4);k("pill--active",t.awardsFilter()===e),r(),v(e)}}function kc(o,g){if(o&1&&(a(0,"li"),m(1),s()),o&2){let e=g.$implicit;r(),v(e)}}function Sc(o,g){if(o&1&&(a(0,"div",41)(1,"div",42)(2,"div",43),M(3,wc,2,3,"button",44),s()(),a(4,"ul",45),M(5,kc,2,1,"li",26),s()()),o&2){let e=d().$implicit,t=d(2);r(3),l("ngForOf",t.years()),r(2),l("ngForOf",e.items)}}function Ic(o,g){if(o&1){let e=y();a(0,"div",36)(1,"button",37),C("click",function(){let n=O(e).index,i=d(2);return P(i.toggleSection(n))}),a(2,"span",38),m(3),s(),a(4,"span",39),m(5,"\u2303"),s()(),M(6,Sc,6,2,"div",40),s()}if(o&2){let e=g.$implicit,t=g.index,n=d(2);r(3),v(e.title),r(),k("rotate",n.isSectionOpen()(t)),r(2),l("ngIf",n.isSectionOpen()(t))}}function Tc(o,g){if(o&1&&(a(0,"main",15)(1,"section",16)(2,"h2",17),m(3),s(),a(4,"p",18),m(5),s(),a(6,"p",19),m(7),s()(),a(8,"section",20)(9,"div",16)(10,"h3",21),h(11,"app-common-translate",10),s(),a(12,"ul",22)(13,"li")(14,"span"),h(15,"app-common-translate",10),s(),a(16,"span"),m(17),s()(),a(18,"li")(19,"span"),h(20,"app-common-translate",10),s(),a(21,"span"),m(22),s()(),a(23,"li")(24,"span"),h(25,"app-common-translate",10),s(),a(26,"span"),m(27),s()(),a(28,"li")(29,"span"),h(30,"app-common-translate",10),s(),a(31,"span"),m(32),s()(),a(33,"li")(34,"span"),h(35,"app-common-translate",10),s(),a(36,"span"),m(37),f(38,"appDateFormat"),s()(),a(39,"li")(40,"span"),h(41,"app-common-translate",10),s(),a(42,"span"),m(43),f(44,"translate"),s()(),a(45,"li")(46,"span"),h(47,"app-common-translate",10),s(),a(48,"span"),m(49),s()(),a(50,"li")(51,"span"),h(52,"app-common-translate",10),s(),a(53,"span"),m(54),s()(),a(55,"li")(56,"span"),h(57,"app-common-translate",10),s(),a(58,"span"),m(59),s()(),a(60,"li")(61,"span"),h(62,"app-common-translate",10),s(),a(63,"span"),m(64),s()()()(),a(65,"div",16)(66,"h3",21),h(67,"app-common-translate",10),s(),a(68,"ul",23),M(69,vc,5,2,"li",24),s()(),a(70,"div",16)(71,"h3",21),h(72,"app-common-translate",10),s(),a(73,"ul",25),M(74,yc,2,1,"li",26),s()()(),a(75,"section",27)(76,"div",28)(77,"h3",21),h(78,"app-common-translate",10),s()(),a(79,"div",29),M(80,Ic,7,4,"div",30),s()(),a(81,"section",31)(82,"h3",21),h(83,"app-common-translate",10),s(),h(84,"app-common-carousel",32),s()()),o&2){let e=g.ngIf,t=d();r(3),v(e.hero.title),r(2),v(e.hero.subtitle),r(2),v(e.hero.description),r(4),l("key","titleDetails.details"),r(4),l("key","titleDetails.type"),r(2),v(e.details.type),r(3),l("key","titleDetails.genres"),r(2),v(e.details.genres.join(", ")),r(3),l("key","titleDetails.language"),r(2),v(e.details.language),r(3),l("key","titleDetails.country"),r(2),v(e.details.country),r(3),l("key","titleDetails.release"),r(2),v(b(38,33,e.details.releaseDate)),r(4),l("key","titleDetails.runtime"),r(2),ze("",e.details.runtime," ",b(44,35,"titleDetails.minutes"),""),r(4),l("key","titleDetails.rating"),r(2),v(e.details.rating),r(3),l("key","titleDetails.distributor"),r(2),v(e.details.distributor),r(3),l("key","titleDetails.production"),r(2),v(e.details.productionCompanies.join(", ")),r(3),l("key","titleDetails.originalTitle"),r(2),v(e.details.originalTitle),r(3),l("key","titleDetails.notableCrew"),r(2),l("ngForOf",t.crew()),r(3),l("key","titleDetails.cast"),r(2),l("ngForOf",t.castList(
3)),r(4),l("key","titleDetails.awards"),r(2),l("ngForOf",t.awardSections()),r(3),l("key","titleDetails.moreLikeThis"),r(),l("items",t.more())}}var Ki=(()=>{class o{constructor(){this.movieService=N(Hi),this.data=jt(null),this.awardsFilter=jt("All"),this.expandedSections=jt({}),this.years=it(()=>this.data()?.awards.years??[]),this.awardSections=it(()=>this.data()?.awards.sections??[]),this.crew=it(()=>this.data()?.notableCrew??[]),this.castList=it(()=>this.data()?.cast??[]),this.more=it(()=>this.data()?.moreLikeThis??[]),this.isSectionOpen=it(()=>e=>this.expandedSections()[e]??!1)}ngOnInit(){this.movieService.load().subscribe(e=>this.data.set(e))}toggleSection(e){let t=X({},this.expandedSections());t[e]=!this.isSectionOpen()(e),this.expandedSections.set(t)}setFilter(e){this.awardsFilter.set(e)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275cmp=E({type:o,selectors:[["app-title-overview"]],decls:15,vars:5,consts:[[1,"page"],[1,"page__header"],[1,"page__title"],[1,"layout"],[1,"sidebar"],[1,"poster"],[1,"poster__frame"],[4,"ngIf"],[1,"actions"],[1,"btn","btn--primary"],[3,"key"],[1,"btn","btn--secondary"],["class","content",4,"ngIf"],["alt","poster","class","poster__img",4,"ngIf"],["alt","poster",1,"poster__img"],[1,"content"],[1,"card"],[1,"card__title"],[1,"card__kicker"],[1,"card__body"],[1,"triple"],[1,"card__subtitle"],[1,"meta"],[1,"crew"],["class","person",4,"ngFor","ngForOf"],[1,"cast"],[4,"ngFor","ngForOf"],[1,"awards"],[1,"awards__head"],[1,"awards__list"],["class","awards__section",4,"ngFor","ngForOf"],[1,"more"],[3,"items"],[1,"person"],[1,"person__name"],[1,"person__role"],[1,"awards__section"],[1,"awards__toggle",3,"click"],[1,"awards__title"],[1,"awards__chev"],["class","awards__content",4,"ngIf"],[1,"awards__content"],[1,"awards__years"],[1,"pills"],["class","pill",3,"pill--active","click",4,"ngFor","ngForOf"],[1,"awards__items"],[1,"pill",3,"click"]],template:function(t,n){if(t&1&&(a(0,"section",0)(1,"header",1)(2,"h1",2),m(3),s()(),a(4,"div",3)(5,"aside",4)(6,"div",5)(7,"div",6),M(8,xc,2,1,"ng-container",7),s()(),a(9,"div",8)(10,"button",9),h(11,"app-common-translate",10),s(),a(12,"button",11),h(13,"app-common-translate",10),s()()(),M(14,Tc,85,37,"main",12),s()()),t&2){let i;r(3),v((i=n.data())==null?null:i.pageTitle),r(5),l("ngIf",n.data()),r(3),l("key","titleDetails.seriesOneSheet"),r(2),l("key","titleDetails.allSynopsis"),r(),l("ngIf",n.data())}},dependencies:[B,te,gi,nn,Go,Y,J],styles:["@tailwind base;@tailwind components;@tailwind utilities;.page[_ngcontent-%COMP%]{max-width:1280px;margin:0 auto;padding:24px;color:hsl(var(--foreground))}.page__header[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:24px}.page__title[_ngcontent-%COMP%]{font-size:1.75rem;font-weight:600}.layout[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:24px;align-items:start}.sidebar[_ngcontent-%COMP%]{grid-column:1/-1}.content[_ngcontent-%COMP%]{grid-column:1/-1;display:flex;flex-direction:column;gap:24px}@media(min-width:1024px){.layout[_ngcontent-%COMP%]{grid-template-columns:repeat(12,1fr)}.sidebar[_ngcontent-%COMP%]{grid-column:span 4;position:sticky;top:24px;align-self:start}.content[_ngcontent-%COMP%]{grid-column:span 8}}.poster[_ngcontent-%COMP%]{border-radius:12px;overflow:hidden;background:hsl(var(--card));box-shadow:0 1px hsl(var(--border)/.6) inset}.poster__frame[_ngcontent-%COMP%]{display:block;width:100%;aspect-ratio:2/3;background:linear-gradient(to bottom,hsl(var(--muted)),hsl(var(--muted-foreground)/.2))}.poster__img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;display:block}.actions[_ngcontent-%COMP%]{margin-top:16px;display:grid;gap:8px}.actions[_ngcontent-%COMP%]{grid-template-columns:1fr}.btn[_ngcontent-%COMP%]{height:40px;border-radius:10px;padding:0 16px;font-size:.9rem;font-weight:600;cursor:pointer;transition:filter .15s ease,background .15s ease,color .15s ease,border-color .15s ease;width:100%}.btn--primary[_ngcontent-%COMP%]{background:hsl(var(--primary));color:hsl(var(--primary-foreground));border:1px solid transparent}.btn--primary[_ngcontent-%COMP%]:hover{filter:brightness(1.08)}.btn--secondary[_ngcontent-%COMP%]{background:transparent;color:hsl(var(--foreground));border:1px solid hsl(var(--border))}.btn--secondary[_ngcontent-%COMP%]:hover{background:hsl(var(--muted))}.card[_ngcontent-%COMP%]{background:hsl(var(--card));border-radius:12px;padding:16px;border:1px solid hsl(var(--border)/.6);box-shadow:0 6px 18px #0000000a}.card__title[_ngcontent-%COMP%]{font-size:1.5rem;font-weight:700}.card__kicker[_ngcontent-%COMP%]{margin-top:4px;font-size:.9rem;text-transform:uppercase;letter-spacing:.06em;color:hsl(var(--muted-foreground))}.card__body[_ngcontent-%COMP%]{margin-top:12px;line-height:1.7;color:color-mix(in oklab,hsl(var(--foreground)),transparent 10%)}.card__subtitle[_ngcontent-%COMP%]{font-size:1.15rem;font-weight:700;margin-bottom:8px}.triple[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;gap:24px}@media(min-width:768px){.triple[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}.meta[_ngcontent-%COMP%]{margin-top:8px;display:grid;gap:8px}.meta[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr 2fr;gap:16px;padding:8px 0;border-bottom:1px solid hsl(var(--border)/.4);align-items:start}.meta[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:first-child{color:hsl(var(--muted-foreground));font-size:.875rem;font-weight:500;text-align:left}.meta[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]:last-child{font-weight:600;color:hsl(var(--foreground));text-align:left}.crew[_ngcontent-%COMP%]{margin-top:8px;list-style:none;padding:0;display:grid;gap:10px}.person__name[_ngcontent-%COMP%]{font-weight:600}.person__role[_ngcontent-%COMP%]{color:hsl(var(--muted-foreground));font-size:.9rem}.cast[_ngcontent-%COMP%]{margin-top:8px;list-style:none;padding:0}.cast[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-top:6px;color:inherit;cursor:default}.cast[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:first-child{margin-top:0}.awards[_ngcontent-%COMP%]{border-radius:12px;background:hsl(var(--card));padding:16px;border:1px solid hsl(var(--border)/.6);box-shadow:0 1px 4px #1018280f}.awards__head[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:8px}.awards__list[_ngcontent-%COMP%]{border-top:1px solid hsl(var(--border)/.6)}.awards__section[_ngcontent-%COMP%]{border-bottom:1px solid hsl(var(--border)/.6)}.awards__toggle[_ngcontent-%COMP%]{width:100%;background:none;border:0;color:inherit;text-align:left;display:flex;align-items:center;justify-content:space-between;padding:12px 0;cursor:pointer}.awards__title[_ngcontent-%COMP%]{font-weight:700}.awards__chev[_ngcontent-%COMP%]{transition:transform .18s ease,color .12s ease;color:hsl(var(--muted-foreground));
3display:inline-block;font-size:.9rem;line-height:1}.awards__chev.rotate[_ngcontent-%COMP%]{transform:rotate(180deg)}.awards__content[_ngcontent-%COMP%]{padding-bottom:16px}.awards__years[_ngcontent-%COMP%]{margin-bottom:12px;padding-bottom:8px}.pills[_ngcontent-%COMP%]{display:flex;gap:6px;overflow-x:auto;-webkit-overflow-scrolling:touch;padding-bottom:4px;scroll-behavior:smooth}.pills[_ngcontent-%COMP%]::-webkit-scrollbar{height:3px}.pills[_ngcontent-%COMP%]::-webkit-scrollbar-thumb{background:hsl(var(--border));border-radius:999px}.pills[_ngcontent-%COMP%]::-webkit-scrollbar-track{background:transparent}.pill[_ngcontent-%COMP%]{height:28px;min-width:50px;padding:0 12px;border-radius:4px;border:1px solid hsl(var(--border));background:hsl(var(--background));color:hsl(var(--muted-foreground));font-size:.75rem;font-weight:500;cursor:pointer;white-space:nowrap;transition:all .15s ease;display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto}.pill[_ngcontent-%COMP%]:hover{border-color:hsl(var(--primary)/.5);background:hsl(var(--muted)/.5)}.pill--active[_ngcontent-%COMP%]{border-color:hsl(var(--primary));color:hsl(var(--primary-foreground));background:hsl(var(--primary));font-weight:600}.awards__items[_ngcontent-%COMP%]{margin:8px 0 0;display:grid;grid-template-columns:1fr;gap:8px 16px;padding-left:12px;list-style:disc}@media(min-width:768px){.awards__items[_ngcontent-%COMP%]{grid-template-columns:repeat(1,minmax(0,1fr))}}.awards__items[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin:0;padding:4px 0;color:color-mix(in oklab,hsl(var(--foreground)),transparent 12%)}.awards__items[_ngcontent-%COMP%]{transition:opacity .18s ease,transform .18s ease}.more[_ngcontent-%COMP%]{background:hsl(var(--card));border-radius:12px;padding:16px;border:1px solid hsl(var(--border)/.7)}.more__grid[_ngcontent-%COMP%]{margin-top:12px;display:grid;grid-template-columns:repeat(1,1fr);gap:12px}@media(min-width:640px){.more__grid[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}@media(min-width:768px){.more__grid[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}@media(min-width:1024px){.more__grid[_ngcontent-%COMP%]{grid-template-columns:repeat(1,1fr)}}.thumb[_ngcontent-%COMP%]{aspect-ratio:2/3;overflow:hidden;border-radius:10px;background:hsl(var(--muted))}.thumb[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover;transition:transform .2s ease;display:block}.more__item[_ngcontent-%COMP%]:hover   .thumb[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{transform:scale(1.05)}.thumb__caption[_ngcontent-%COMP%]{margin-top:6px;font-size:.9rem;color:color-mix(in oklab,hsl(var(--foreground)),transparent 10%)}"]})}}return o})();function Lc(o,g){if(o&1&&(a(0,"span",19),m(1),f(2,"translate"),f(3,"translate"),s()),o&2){let e=d();r(),ze(" ",e.allCartItems.length," ",e.allCartItems.length>1?b(2,2,"cartPage.items"):b(3,4,"cartPage.item")," ")}}function Ec(o,g){if(o&1){let e=y();a(0,"button",13),f(1,"translate"),C("click",function(){O(e);let n=d();return P(n.onDownload())}),a(2,"mat-icon"),m(3,"download"),s(),a(4,"span"),m(5),f(6,"translate"),s()()}o&2&&(l("matTooltip",b(1,2,"common.download")),r(5),v(b(6,4,"common.download")))}function Dc(o,g){if(o&1){let e=y();a(0,"button",13),f(1,"translate"),C("click",function(){O(e);let n=d();return P(n.onShare())}),a(2,"mat-icon"),m(3,"share"),s(),a(4,"span"),m(5),f(6,"translate"),s()()}o&2&&(l("matTooltip",b(1,2,"common.share")),r(5),v(b(6,4,"common.share")))}function zc(o,g){o&1&&(a(0,"div",20),h(1,"div",21),a(2,"span"),m(3),f(4,"translate"),s()()),o&2&&(r(3),v(b(4,1,"common.loading")))}function Fc(o,g){o&1&&(a(0,"div",22)(1,"mat-icon",23),m(2,"folder_open"),s(),a(3,"h2",24),m(4),f(5,"translate"),s(),a(6,"p",25),m(7),f(8,"translate"),s()()),o&2&&(r(4),v(b(5,2,"cartPage.yourKitIsEmpty")),r(3),v(b(8,4,"cartPage.selectAssetsAndAdd")))}function Nc(o,g){if(o&1){let e=y();a(0,"button",40),C("click",function(){O(e);let n=d(2);return n.searchQuery="",P(n.onSearchChange())}),a(1,"mat-icon"),m(2,"close"),s()()}}function Uc(o,g){if(o&1&&(a(0,"option",41),m(1),s()),o&2){let e=g.$implicit;l("value",e),r(),v(e)}}function Vc(o,g){if(o&1){let e=y();a(0,"div",42)(1,"mat-icon"),m(2,"search_off"),s(),a(3,"p"),m(4),f(5,"translate"),s(),a(6,"button",43),C("click",function(){O(e);let n=d(2);return P(n.clearFilters())}),m(7),f(8,"translate"),s()()}o&2&&(r(4),v(b(5,2,"cartPage.noAssetsMatchFilters")),r(3),v(b(8,4,"cartPage.resetFilters")))}function Ac(o,g){o&1&&(a(0,"mat-icon"),m(1,"check"),s())}function Bc(o,g){o&1&&(a(0,"mat-icon"),m(1,"remove"),s())}function jc(o,g){o&1&&(a(0,"mat-icon"),m(1,"check"),s())}function Rc(o,g){if(o&1&&(a(0,"span",72),m(1),s()),o&2){let e=d().$implicit;r(),S(" ",e.displayFileSize," ")}}function Gc(o,g){if(o&1&&(a(0,"span",73)(1,"mat-icon"),m(2,"warning"),s(),m(3),s()),o&2){let e=d().$implicit,t=d(3);r(3),S(" ",t.getUsageRestriction(e)," ")}}function $c(o,g){o&1&&(a(0,"span",74),m(1,"\u2014"),s())}function Hc(o,g){if(o&1){let e=y();a(0,"tr",59),C("click",function(){let n=O(e).$implicit,i=d(3);return P(i.toggleItemSelection(n.id))}),a(1,"td",46)(2,"div",47),C("click",function(n){let i=O(e).$implicit,c=d(3);return n.stopPropagation(),P(c.toggleItemSelection(i.id))}
3),M(3,jc,2,0,"mat-icon",48),s()(),a(4,"td",49),h(5,"app-thumbnail-wrapper",60),s(),a(6,"td",61)(7,"div",62)(8,"span",63),m(9),s(),M(10,Rc,2,1,"span",64),s()(),a(11,"td",65)(12,"span",66),m(13),s()(),a(14,"td",55),M(15,Gc,4,1,"span",67)(16,$c,2,0,"span",68),s(),a(17,"td",69),C("click",function(n){return O(e),P(n.stopPropagation())}),a(18,"button",70),f(19,"translate"),C("click",function(n){let i=O(e).$implicit,c=d(3);return P(c.toggleMetadata(i.id,n))}),a(20,"mat-icon"),m(21,"info_outline"),s()()(),a(22,"td",57)(23,"button",71),f(24,"translate"),C("click",function(n){let i=O(e).$implicit,c=d(3);return P(c.onDeleteItem(i,n))}),a(25,"mat-icon"),m(26,"delete_outline"),s()()()()}if(o&2){let e=g.$implicit,t=d(3);k("selected",t.isItemSelected(e.id)),r(2),k("checked",t.isItemSelected(e.id)),r(),l("ngIf",t.isItemSelected(e.id)),r(2),l("src",t.getThumbnailUrl(e))("alt",e.fileName)("fallbackSrc",t.defaultThumbnail)("fallbackText",null)("assetFileType",t.getAssetFileType(e))("productIdForPreview",(e==null?null:e.productId)||(e==null?null:e.gpmsId)),r(4),v(e.fileName),r(),l("ngIf",e.displayFileSize),r(3),v(e.assetMenuCategory||"\u2014"),r(2),l("ngIf",t.getUsageRestriction(e)),r(),l("ngIf",!t.getUsageRestriction(e)),r(2),k("active",t.isMetadataOpen(e.id)),l("title",b(19,20,"cartPage.viewDetails")),r(5),l("title",b(24,22,"cartPage.deleteItem"))}}function Kc(o,g){if(o&1){let e=y();a(0,"div",44)(1,"table",45)(2,"thead")(3,"tr")(4,"th",46)(5,"div",47),C("click",function(){O(e);let n=d(2);return P(n.toggleSelectAll())}),M(6,Ac,2,0,"mat-icon",48)(7,Bc,2,0,"mat-icon",48),s()(),h(8,"th",49),a(9,"th",50),C("click",function(){O(e);let n=d(2);return P(n.onSort("fileName"))}),a(10,"span"),m(11),f(12,"translate"),s(),a(13,"span",51),h(14,"span",52)(15,"span",53),s()(),a(16,"th",54),C("click",function(){O(e);let n=d(2);return P(n.onSort("assetMenuCategory"))}),a(17,"span"),m(18),f(19,"translate"),s(),a(20,"span",51),h(21,"span",52)(22,"span",53),s()(),a(23,"th",55)(24,"span"),m(25),f(26,"translate"),s()(),h(27,"th",56)(28,"th",57),s()(),a(29,"tbody"),M(30,Hc,27,24,"tr",58),s()()()}if(o&2){let e=d(2);r(5),k("checked",e.isAllSelected)("indeterminate",e.hasSelection&&!e.isAllSelected),r(),l("ngIf",e.isAllSelected),r(),l("ngIf",e.hasSelection&&!e.isAllSelected),r(4),v(b(12,23,"cartPage.name")),r(2),k("active",e.sortField==="fileName"),r(),k("active",e.sortField==="fileName"&&e.sortDirection==="asc"),r(),k("active",e.sortField==="fileName"&&e.sortDirection==="desc"),r(3),v(b(19,25,"cartPage.category")),r(2),k("active",e.sortField==="assetMenuCategory"),r(),k("active",e.sortField==="assetMenuCategory"&&e.sortDirection==="asc"),r(),k("active",e.sortField==="assetMenuCategory"&&e.sortDirection==="desc"),r(3),v(b(26,27,"cartPage.usageRestriction")),r(5),l("ngForOf",e.paginatedItems)("ngForTrackBy",e.trackByAssetId)}}function qc(o,g){if(o&1&&(a(0,"option",41),m(1),s()),o&2){let e=g.$implicit;l("value",e),r(),v(e)}}function Wc(o,g){if(o&1){let e=y();a(0,"button",83),C("click",function(){let n=O(e).$implicit,i=d(4);return P(i.onPageChange(n))}),m(1),s()}if(o&2){let e=g.$implicit,t=d(4);k("active",e===t.currentPage),r(),S(" ",e," ")}}function Qc(o,g){if(o&1){let e=y();a(0,"div",80)(1,"button",81),C("click",function(){O(e);let n=d(3);return P(n.onPageChange(1))}),a(2,"mat-icon"),m(3,"first_page"),s()(),a(4,"button",81),C("click",function(){O(e);let n=d(3);return P(n.onPageChange(n.currentPage-1))}),a(5,"mat-icon"),m(6,"chevron_left"),s()(),M(7,Wc,2,3,"button",82),a(8,"button",81),C("click",function(){O(e);let n=d(3);return P(n.onPageChange(n.currentPage+1))}),a(9,"mat-icon"),m(10,"chevron_right"),s()(),a(11,"button",81),C("click",function(){O(e);let n=d(3);return P(n.onPageChange(n.totalPages))}),a(12,"mat-icon"),m(13,"last_page"),s()()()}if(o&2){let e=d(3);r(),l("disabled",e.currentPage===1),r(3),l("disabled",e.currentPage===1),r(3),l("ngForOf",e.visiblePages),r(),l("disabled",e.currentPage===e.totalPages),r(3),l("disabled",e.currentPage===e.totalPages)}}function Jc(o,g){if(o&1){let e=y();a(0,"div",75)(1,"div",76)(2,"span"),m(3),f(4,"translate"),s(),a(5,"select",77),me("ngModelChange",function(n){O(e);let i=d(2);return ge(i.pageSize,n)||(i.pageSize=n),P(n)}),C("ngModelChange",function(){O(e);let n=d(2);return P(n.onPageSizeChange())}),M(6,qc,2,2,"option",35),s(),a(7,"span"),m(8),f(9,"translate"),s()(),a(10,"div",78),m(11),f(12,"translate"),s(),M(13,Qc,14,5,"div",79),s()}if(o&2){let e=d(2);r(3),v(b(4,9,"cartPage.show")),r(2),pe("ngModel",e.pageSize),r(),l("ngForOf",e.pageSizeOptions),r(2),v(b(9,11,"cartPage.perPage")),r(3),_o(" ",e.startIndex,"\u2013",e.endIndex," ",b(12,13,"cartPage.of")," ",e.totalItems," "),r(2),l("ngIf",e.totalPages>1)}}function Yc(o,g){if(o&1){let e=y();a(0,"div",26)(1,"div",27)(2,"div",28)(3,"mat-icon",29),m(4,"search"),s(),a(5,"input",30),f(6,"translate"),me("ngModelChange",function(n){O(e);let i=d();return ge(i.searchQuery,n)||(i.searchQuery=n),P(n)}),C("ngModelChange",function(){O(e);let n=d();return P(n.onSearchChange())}),s(),M(7,Nc,3,0,"button",31),s(),a(8,"div",32)(9,"select",33),me("ngModelChange",function(n){O(e);let i=d();return ge(i.selectedCategoryFilter,n)||(i.selectedCategoryFilter=n),P(n)}),C("ngModelChange",function(){O(e);let n=d();return P(n.onCategoryFilterChange())}),a(10,"option",34),m(11),f(12,"translate"),s(),M(13,Uc,2,2,"option",35),s()(),a(14,"app-reset-button",36),C("reset",function(){O(e);let n=d();return P(n.clearFilters())}),s()(),M(15,Vc,9,6,"div",37)(16,Kc,31,29,"div",38)(17,Jc,14,15,"div",39),s()}if(o&2){let e=d();r(5),l("placeholder",b(6,10,"cartPage.searchByName")),pe("ngModel",e.searchQuery),r(2),l("ngIf",e.searchQuery),r(2),pe("ngModel",e.selectedCategoryFilter),r(2),v(b(12,12,"cartPage.allCategories")),r(2),l("ngForOf",e.assetCategories),r(),l("disabled",!e.hasActiveFilters),r(),l("ngIf",e.cartItems.length===0&&e.hasActiveFilters),r(),l("ngIf",e.cartItems.length>0),r(),l("ngIf",e.cartItems.length>0)}}function Zc(o,g){if(o&1&&(a(0,"div",87)(1,"span",88),m(2),f(3,"translate"),s(),a(4,"span",89),m(5),s()()),o&2){let e=d(2).$implicit;r(2),v(b(3,2,"cartPage.dimensions")),r(3),v(e.dimensions)}}function Xc(o,g){if(o&1&&(a(0,"div",87)(1,"span",88),m(2),f(3,"translate"),s(),a(4,"span",89),m(5),s()()),o&2){let e=d(2).$implicit;r(2),v(b(3,2,"cartPage.orientation")),r(3),v(e.orientation)}}function el(o,g){if(o&1){let e=y();a(0,"div",85),C("click",function(n){return O(e),P(n.stopPropagation())}),a(1,"div",86)(2,"div",87)(3,"span",88),m(4),f(5,"translate"),s(),a(6,"span",89),m(7),s()(),a(8,"div",87)(9,"span",88),m(10),f(11,"translate"),s(),a(12,"span",89),m(13),s()(),M(14,Zc,6,4,"div",90)(15,Xc,6,4,"div",90),a(16,"div",87)(17,"span",88),m(18),f(19,"translate"),s(),a(20,"span",89),m(21),s()()()()}if(o&2){let e=d().$implicit,t=d();W("top",t.popoverPosition.top,"px")("left",t.popoverPosition.left,"px"),r(4),v(b(5,12,"cartPage.type")),r(3),v(e.assetType||"\u2014"),r(3),v(b(11,14,"cartPage.size")),r(3),v(e.dis
3playFileSize||"\u2014"),r(),l("ngIf",e.dimensions),r(),l("ngIf",e.orientation),r(3),v(b(19,16,"cartPage.format")),r(3),v((e.fileExtension==null?null:e.fileExtension.toUpperCase())||"\u2014")}}function tl(o,g){if(o&1&&(D(0),M(1,el,22,18,"div",84),z()),o&2){let e=g.$implicit,t=d();r(),l("ngIf",t.isMetadataOpen(e.id))}}var qi=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T,R){this.cartService=e,this.assetConnectorsService=t,this.assetShareService=n,this.toastService=i,this.router=c,this.cdr=p,this.modalService=u,this.permissionService=x,this.location=w,this.userPreferenceService=I,this.dialog=T,this.translateService=R,this.cartItems=[],this.isLoading=!1,this.selectedItems=new Set,this.isAllSelected=!1,this.activeMetadataId=null,this.searchQuery="",this.selectedCategoryFilter="",this.assetCategories=[],this.sortField="fileName",this.sortDirection="asc",this.currentPage=1,this.pageSize=10,this.pageSizeOptions=[10,25,50,100],this.defaultThumbnail="assets/images/dummy_thumbnail.jpg",this.destroy$=new F,this.allCartItems=[],this.hasUpdatePermission=!1,this.USER_PERMISSION=Hn,this.popoverPosition={top:0,left:0}}ngOnInit(){this.cartService.cartItems$.pipe(L(this.destroy$)).subscribe(t=>{this.allCartItems=t,this.extractAssetCategories(),this.applyFiltersAndSort();let n=new Set(t.map(i=>i.id));this.selectedItems.forEach(i=>{n.has(i)||this.selectedItems.delete(i)}),this.updateAllSelectedState(),this.cdr.markForCheck()}),this.cartService.isLoading$.pipe(L(this.destroy$)).subscribe(t=>{this.isLoading=t,this.cdr.markForCheck()}),this.cartItems.length===0&&this.cartService.loadCart(),this.loadPermissionDetails();let e=this.userPreferenceService.getPreferences().userPermissions;this.assetsPermission=e?.find(t=>t.resource==="Assets")??void 0}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}extractAssetCategories(){let e=new Set;this.allCartItems.forEach(t=>{t.assetMenuCategory&&e.add(t.assetMenuCategory)}),this.assetCategories=Array.from(e).sort()}onSearchChange(){this.currentPage=1,this.applyFiltersAndSort()}onCategoryFilterChange(){this.currentPage=1,this.applyFiltersAndSort()}clearFilters(){this.searchQuery="",this.selectedCategoryFilter="",this.currentPage=1,this.applyFiltersAndSort()}get hasActiveFilters(){return this.searchQuery.trim()!==""||this.selectedCategoryFilter!==""}onSort(e){this.sortField===e?this.sortDirection=this.sortDirection==="asc"?"desc":"asc":(this.sortField=e,this.sortDirection="asc"),this.applyFiltersAndSort()}getSortIcon(e){return this.sortField!==e?"unfold_more":this.sortDirection==="asc"?"arrow_upward":"arrow_downward"}applyFiltersAndSort(){let e=[...this.allCartItems];if(this.searchQuery.trim()){let t=this.searchQuery.toLowerCase().trim();e=e.filter(n=>n.fileName?.toLowerCase().includes(t)||n.assetName?.toLowerCase().includes(t)||n.assetMenuCategory?.toLowerCase().includes(t))}this.selectedCategoryFilter&&(e=e.filter(t=>t.assetMenuCategory===this.selectedCategoryFilter)),e.sort((t,n)=>{let i,c;switch(this.sortField){case"fileName":i=t.fileName?.toLowerCase()||"",c=n.fileName?.toLowerCase()||"";break;case"assetMenuCategory":i=t.assetMenuCategory?.toLowerCase()||"",c=n.assetMenuCategory?.toLowerCase()||"";break;case"displayFileSize":i=this.parseSizeToBytes(t.displayFileSize),c=this.parseSizeToBytes(n.displayFileSize);break;case"updatedDt":i=new Date(t.updatedDt||0).getTime(),c=new Date(n.updatedDt||0).getTime();break;default:i=t.fileName?.toLowerCase()||"",c=n.fileName?.toLowerCase()||""}return i<c?this.sortDirection==="asc"?-1:1:i>c?this.sortDirection==="asc"?1:-1:0}),this.cartItems=e,this.cdr.markForCheck()}parseSizeToBytes(e){if(!e)return 0;let t=e.match(/^([\d.]+)\s*(B|KB|MB|GB|TB)?$/i);if(!t)return 0;let n=parseFloat(t[1]),i=(t[2]||"B").toUpperCase(),c={B:1,KB:1024,MB:1024*1024,GB:1024*1024*1024,TB:1024*1024*1024*1024};return n*(c[i]||1)}get totalItems(){return this.cartItems.length}get totalPages(){return Math.ceil(this.totalItems/this.pageSize)}get paginatedItems(){let e=(this.currentPage-1)*this.pageSize,t=e+this.pageSize;return this.cartItems.slice(e,t)}get startIndex(){return this.totalItems===0?0:(this.currentPage-1)*this.pageSize+1}get endIndex(){return Math.min(this.currentPage*this.pageSize,this.totalItems)}onPageChange(e){e>=1&&e<=this.totalPages&&(this.currentPage=e,this.cdr.markForCheck())}onPageSizeChange(){this.currentPage=1,this.cdr.markForCheck()}get visiblePages(){let e=[],t=this.totalPages,n=this.currentPage;if(t<=5)for(let i=1;i<=t;i++)e.push(i);else n<=3?e.push(1,2,3,4,5):n>=t-2?e.push(t-4,t-3,t-2,t-1,t):e.push(n-2,n-1,n,n+1,n+2);return e.filter(i=>i>=1&&i<=t)}get selectedCount(){return this.selectedItems.size}get hasSelection(){return this.selectedItems.size>0}toggleSelectAll(){this.isAllSelected?this.selectedItems.clear():this.cartItems.forEac
3h(e=>this.selectedItems.add(e.id)),this.updateAllSelectedState(),this.cdr.markForCheck()}toggleItemSelection(e){this.selectedItems.has(e)?this.selectedItems.delete(e):this.selectedItems.add(e),this.updateAllSelectedState(),this.cdr.markForCheck()}isItemSelected(e){return this.selectedItems.has(e)}updateAllSelectedState(){this.isAllSelected=this.cartItems.length>0&&this.selectedItems.size===this.cartItems.length}clearSelection(){this.selectedItems.clear(),this.updateAllSelectedState(),this.cdr.markForCheck()}downloadButtonVisibilityCheck(){return this.hasUserPermission(Hn.DOWNLOAD)?this.cartItems.filter(e=>this.selectedItems.has(e.id)).some(e=>!e.viewOnly):!1}hasUserPermission(e){return this.assetsPermission?.permission?.map(t=>t.toLocaleLowerCase()).includes(e.toLocaleLowerCase())??!1}onDownload(){if(!this.hasSelection)return;let e=this.cartItems.filter(t=>this.selectedItems.has(t.id)).filter(t=>this.hasUpdatePermission?!0:!t.viewOnly);e.length!==0&&(e.length===1?this.openSingleAssetDownloadModal(e[0]):this.openBulkDownloadModal(e))}openSingleAssetDownloadModal(e){let t={size:"lg",backdrop:!0,keyboard:!0,centered:!0,windowClass:"asset-download-modal-wrapper"},n=this.modalService.open($n,t);n.componentInstance.assetInfo={assetName:e.assetName,displayAssetName:e.displayAssetName,assetType:e.assetType,fileName:e.fileName,displayFileSize:e.displayFileSize,smallThumbnailUrl:e.smallThumbnailUrl,id:e.id,runnerId:e.runnerId,assetAccessId:e.id,fileExtension:e.fileExtension}}openBulkDownloadModal(e){let t={size:"lg",backdrop:!0,keyboard:!0,centered:!0,windowClass:"asset-download-modal-wrapper"},n=this.modalService.open($n,t);n.componentInstance.fromView="gad-bulk-download";let i=e.map(c=>({assetName:c.assetName,displayAssetName:c.displayAssetName,assetType:c.assetType,fileName:c.fileName,displayFileSize:c.displayFileSize,smallThumbnailUrl:c.smallThumbn
3ailUrl,thumbnailUrl:c.smallThumbnailUrl,id:c.id,runnerId:c.runnerId,assetAccessId:c.id,fileExtension:c.fileExtension}));n.componentInstance.parametersFromView={selectedAssetsInfo:i}}onRemoveSelected(){this.hasSelection&&(this.showConfirmationDialog(),this.confirmDialogRef.afterClosed().subscribe(e=>{if(e){let t=Array.from(this.selectedItems);this.cartService.removeMultipleFromCart(t)}}),this.confirmDialogRef=null)}onShare(){if(!this.hasSelection||!this.hasUpdatePermission)return;let e=this.cartItems.filter(t=>this.selectedItems.has(t.id)).map(t=>({id:t.id,runnerId:t.runnerId,assetName:t.assetName,fileName:t.fileName,assetType:t.assetType,smallThumbnailUrl:t.smallThumbnailUrl}));this.assetShareService.shareAssets(e,{isKit:!0})}onDeleteItem(e,t){t.stopPropagation(),this.showConfirmationDialog(),this.confirmDialogRef.afterClosed().subscribe(n=>{n&&(this.cartService.removeFromCart(e.id),this.selectedItems.delete(e.id),this.updateAllSelectedState())}),this.confirmDialogRef=null}toggleMetadata(e,t){if(t.stopPropagation(),this.activeMetadataId===e)this.activeMetadataId=null;else{let i=t.currentTarget.getBoundingClientRect();this.popoverPosition={top:i.top+i.height/2-60,left:i.left-230},this.activeMetadataId=e}this.cdr.markForCheck()}closeMetadata(){this.activeMetadataId=null,this.cdr.markForCheck()}onWindowScroll(){this.activeMetadataId!==null&&this.closeMetadata()}isMetadataOpen(e){return this.activeMetadataId===e}trackByAssetId(e,t){return t.id}getUsageRestriction(e){return e.localizedMetadata?.usageRestriction?.trim()?e.localizedMetadata.usageRestriction:e.usageRestriction?.show&&e.usageRestriction?.value?e.usageRestriction.value:null}getThumbnailUrl(e){return e.smallThumbnailUrl||e.largeThumbnailUrl}getAssetFileType(e){return pn(e)}goBack(){this.location.back()}loadPermissionDetails(){this.permissionService.getPermissionResource().subscribe(e=>{this.permission=e,this.hasUpdatePermission=this.permissionService.canUpdate(this.permission.Resource.ASSETS)||this.permissionService.canDelete(this.permission.Resource.ASSETS)})}hasPermission(e,t){return this.permissionService.hasPermission(e,t)}showConfirmationDialog(){let e={title:this.translateService.instant("cartPage.deleteConfirmationTitle"),message:this.translateService.instant("cartPage.deleteConfirmationMessage"),okText:this.translateService.instant("cartPage.delete"),cancelText:this.translateService.instant("cartPage.cancel"),showCancel:!0};this.confirmDialogRef=this.dialog.open(pi,{width:"340px",data:e,disableClose:!0})}static{this.\u0275fac=function(t){return new(t||o)(_(Ze),_(ni),_(_i),_(Qe),_(j),_(Oe),_(ln),_(Je),_(fo),_(oe),_(xe),_(_e))}}static{this.\u0275cmp=E({type:o,selectors:[["app-cart-page"]],hostBindings:function(t,n){t&1&&C("scroll",function(){return n.onWindowScroll()},!1,$e)},decls:34,vars:25,consts:[[1,"cart-page",3,"click"],[1,"page-header"],[1,"header-left"],[1,"back-btn",3,"click"],[1,"title-section"],[1,"page-title"],["class","item-count",4,"ngIf"],[1,"action-bar"],[1,"selection-info"],[1,"selected-count"],[1,"clear-btn",3,"click"],[1,"action-buttons"],["class","action-btn",3,"matTooltip","click",4,"ngIf"],[1,"action-btn",3,"click","matTooltip"],[1,"page-content"],["class","loading-state",4,"ngIf"],["class","empty-state",4,"ngIf"],["class","table-section",4,"ngIf"],[4,"ngFor","ngForOf"],[1,"item-count"],[1,"loading-state"],[1,"spinner"],[1,"empty-state"],[1,"empty-icon"],[1,"empty-title"],[1,"empty-text"],[1,"table-section"],[1,"filter-bar"],[1,"search-box"],[1,"search-icon"],["type","text",1,"search-input",3,"ngModelChange","placeholder","ngModel"],["class","clear-search",3,"click",4,"ngIf"],[1,"filter-group"],[1,"type-filter",3,"ngModelChange","ngModel"],["value",""],[3,"value",4,"ngFor","ngForOf"],[3,"reset","disabled"],["class","no-results",4,"ngIf"],["class","table-container",4,"ngIf"],["class","pagination-bar",4,"ngIf"],[1,"clear-search",3,"click"],[3,"value"],[1,"no-results"],[1,"reset-btn",3,"click"],[1,"table-container"],[1,"cart-table"],[1,"col-checkbox"],[1,"checkbox",3,"click"],[4,"ngIf"],[1,"col-thumbnail"],[1,"col-title","sortable",3,"click"],[1,"sort-indicator"],[1,"sort-arrow","up"],[1,"sort-arrow","down"],[1,"col-category","sortable",3,"click"],[1,"col-restriction"],[1,"col-metadata"],[1,"col-actions"],[3,"selected","click",4,"ngFor","ngForOf","ngForTrackBy"],[3,"click"],["wrapperClass","thumbnail-wrapper",3,"src","alt","fallbackSrc","fallbackText","assetFileType","productIdForPreview"],[1,"col-title"],[1,"title-cell"],[1,"file-name"],["class","file-meta",4,"ngIf"],[1,"col-category"],[1,"category-badge"],["class","restriction-badge",4,"ngIf"],["class","no-restriction",4,"ngIf"],[1,"col-metadata",3,"click"],[1,"info-btn",3,"click","title"],[1,"delete-btn",3,"click","title"],[1,"file-meta"],[1,"restriction-badge"],[1,"no-restriction"],[1,"pagination-bar"],[1,"page-size"],[3,"ngModelChange","ngModel"],[1,"page-info"],["class","page-control
3s",4,"ngIf"],[1,"page-controls"],[1,"page-btn",3,"click","disabled"],["class","page-btn page-number",3,"active","click",4,"ngFor","ngForOf"],[1,"page-btn","page-number",3,"click"],["class","metadata-popover",3,"top","left","click",4,"ngIf"],[1,"metadata-popover",3,"click"],[1,"popover-content"],[1,"detail-row"],[1,"detail-label"],[1,"detail-value"],["class","detail-row",4,"ngIf"]],template:function(t,n){t&1&&(a(0,"div",0),C("click",function(){return n.closeMetadata()}),a(1,"div",1)(2,"div",2)(3,"button",3),C("click",function(){return n.goBack()}),a(4,"mat-icon"),m(5,"arrow_back"),s()(),a(6,"div",4)(7,"h1",5),m(8),f(9,"translate"),s(),M(10,Lc,4,6,"span",6),s()()(),a(11,"div",7)(12,"div",8)(13,"span",9),m(14),f(15,"translate"),s(),a(16,"button",10),C("click",function(){return n.clearSelection()}),m(17),f(18,"translate"),s()(),a(19,"div",11),M(20,Ec,7,6,"button",12),a(21,"button",13),f(22,"translate"),C("click",function(){return n.onRemoveSelected()}),a(23,"mat-icon"),m(24,"delete_outline"),s(),a(25,"span"),m(26),f(27,"translate"),s()(),M(28,Dc,7,6,"button",12),s()(),a(29,"div",14),M(30,zc,5,3,"div",15)(31,Fc,9,6,"div",16)(32,Yc,18,14,"div",17),s(),M(33,tl,2,1,"ng-container",18),s()),t&2&&(r(8),v(b(9,15,"cartPage.myKit")),r(2),l("ngIf",n.allCartItems.length>0),r(),k("visible",n.hasSelection),r(3),ze("",n.selectedCount," ",b(15,17,"cartPage.selected"),""),r(3),v(b(18,19,"common.clear")),r(3),l("ngIf",n.downloadButtonVisibilityCheck()),r(),l("matTooltip",b(22,21,"common.remove")),r(5),v(b(27,23,"common.remove")),r(2),l("ngIf",n.hasUserPermission(n.USER_PERMISSION.SHARE)),r(2),l("ngIf",n.isLoading),r(),l("ngIf",!n.isLoading&&n.allCartItems.length===0),r(),l("ngIf",!n.isLoading&&n.allCartItems.length>0),r(),l("ngForOf",n.paginatedItems))},dependencies:[ut,te,B,at,Wt,Qt,bt,No,Ve,Mt,Pt,ne,tn,en,Zt,J,dn,mi],styles:[`.cart-page[_ngcontent-%COMP%]{min-height:100vh;background-color:#fff;font-family:-apple-system,BlinkMacSystemFont,SF Pro Text,SF Pro Display,Helvetica Neue,Helvetica,Arial,sans-serif;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-rendering:optimizeLegibility}.page-header[_ngcontent-%COMP%]{display:flex;align-items:center;padding:20px 32px;border-bottom:1px solid #e5e5e5;position:sticky;top:0;z-index:100;background:#ffffffeb;backdrop-filter:saturate(180%) blur(20px);-webkit-backdrop-filter:saturate(180%) blur(20px)}.page-header[_ngcontent-%COMP%]   .header-left[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:36px;height:36px;border:none;background:none;border-radius:50%;cursor:pointer;transition:background-color .2s ease}.page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:22px;width:22px;height:22px;color:#1d1d1f}.page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]:hover{background-color:#0000000a}.page-header[_ngcontent-%COMP%]   .title-section[_ngcontent-%COMP%]{display:flex;align-items:baseline;gap:10px}.page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%]{margin:0;font-size:24px;font-weight:600;color:#1d1d1f;letter-spacing:-.5px}.page-header[_ngcontent-%COMP%]   .item-count[_ngcontent-%COMP%]{font-size:14px;font-weight:400;color:#86868b;letter-spacing:-.1px}.action-bar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:10px 32px;background:#1d1d1f;color:#fff;height:0;overflow:hidden;opacity:0;transition:all .25s cubic-bezier(.4,0,.2,1)}.action-bar.visible[_ngcontent-%COMP%]{height:auto;padding:12px 32px;opacity:1}.action-bar[_ngcontent-%COMP%]   .selection-info[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px}.action-bar[_ngcontent-%COMP%]   .selection-info[_ngcontent-%COMP%]   .selected-count[_ngcontent-%COMP%]{font-size:14px;font-weight:500;letter-spacing:-.1px}.action-bar[_ngcontent-%COMP%]   .selection-info[_ngcontent-%COMP%]   .clear-btn[_ngcontent-%COMP%]{background:none;border:none;color:#ffffff8c;font-size:13px;font-weight:400;cursor:pointer;text-decoration:underline;letter-spacing:-.1px;transition:color .2s ease}
3.action-bar[_ngcontent-%COMP%]   .selection-info[_ngcontent-%COMP%]   .clear-btn[_ngcontent-%COMP%]:hover{color:#fff}.action-bar[_ngcontent-%COMP%]   .action-buttons[_ngcontent-%COMP%]{display:flex;gap:8px}.action-bar[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px;padding:8px 16px;background:transparent;border:1px solid rgba(255,255,255,.25);border-radius:8px;color:#fff;font-size:13px;font-weight:500;letter-spacing:-.1px;cursor:pointer;transition:all .2s ease}.action-bar[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:16px;width:16px;height:16px}.action-bar[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]:hover{background:#ffffff1f;border-color:#fff6}.page-content[_ngcontent-%COMP%]{padding:24px 32px}.loading-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:100px 20px;color:#86868b}.loading-state[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{width:28px;height:28px;border:2.5px solid #e5e5e5;border-top-color:#1d1d1f;border-radius:50%;animation:_ngcontent-%COMP%_spin .8s cubic-bezier(.5,0,.5,1) infinite;margin-bottom:14px}.loading-state[_ngcontent-%COMP%]   span[_ngcontent-%COMP%]{font-size:14px;font-weight:400;letter-spacing:-.1px}@keyframes _ngcontent-%COMP%_spin{to{transform:rotate(360deg)}}.empty-state[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:100px 20px;text-align:center}.empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%]{font-size:56px;width:56px;height:56px;color:#d2d2d7;margin-bottom:16px}.empty-state[_ngcontent-%COMP%]   .empty-title[_ngcontent-%COMP%]{margin:0 0 8px;font-size:19px;font-weight:600;color:#1d1d1f;letter-spacing:-.3px}.empty-state[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%]{margin:0;font-size:15px;font-weight:400;color:#86868b;letter-spacing:-.1px}.filter-bar[_ngcontent-%COMP%]{display:flex;align-items:center;gap:12px;margin-bottom:20px}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{position:relative;flex:1;max-width:320px}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-icon[_ngcontent-%COMP%]{position:absolute;left:12px;top:50%;transform:translateY(-50%);font-size:18px;width:18px;height:18px;color:#86868b}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{width:100%;padding:10px 36px 10px 40px;border:1px solid #d2d2d7;border-radius:10px;font-size:14px;font-weight:400;color:#1d1d1f;background:#f5f5f7;transition:all .2s ease;letter-spacing:-.1px}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]::placeholder{color:#aaa}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]:focus{outline:none;border-color:#0071e3;background:#fff;box-shadow:0 0 0 3px #0071e326}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .clear-search[_ngcontent-%COMP%]{position:absolute;right:10px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center;width:18px;height:18px;border:none;background:#c7c7cc;border-radius:50%;cursor:pointer;transition:background-color .2s ease}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .clear-search[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:12px;width:12px;height:12px;color:#fff}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .clear-search[_ngcontent-%COMP%]:hover{background:#86868b}.filter-bar[_ngcontent-%COMP%]   .filter-group[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px}.filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%]{padding:10px 32px 10px 14px;border:1px solid #d2d2d7;border-radius:10px;font-size:14px;font-weight:400;color:#1d1d1f;background:#f5f5f7 url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2386868b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 10px center;background-size:14px;appearance:none;cursor:pointer;min-width:150px;letter-spacing:-.1px;transition:all .2s ease}.filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%]:focus{outline:none;border-color:#0071e3;background-color:#fff;box-shadow:0 0 0 3px #0071e326}.filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]{padding:10px 16px;border:none;background:none;color:#0071e3;font-size:14px;font-weight:400;cursor:pointer;letter-spacing:-.1px;transition:color .2s ease}.filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]:hover{color:#0077ed;text-decoration:underline}.no-results[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center;padding:60px 20px;text-align:center;color:#86868b}.no-results[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:48px;width:48px;height:48px;margin-bottom:14px;color:#d2d2d7}.no-results[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:0 0 18px;font-size:15px;font-weight:400;letter-spacing:-.1px}.no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%]{padding:10px 22px;border:none;border-radius:980px;background:#0071e3;color:#fff;font-size:14px;font-weight:400;letter-spacing:-.1px;cursor:pointer;transition:all .2s ease}.no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%]:hover{background:#0077ed}.table-container[_ngcontent-%COMP%]{background:#fff;border:1px solid #e5e5e5;border-radius:12px;overflow:hidden;box-shadow:0 1px 2px #0000000a,0 2px 8px #00000005}.cart-table[_ngcontent-%COMP%]{width:100%;border-collapse:collapse}.cart-table[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], .cart-table[_ngcontent-%COMP%]   td[_ngcontent-%COMP%]{padding:14px 18px;text-align:left;vertical-align:middle}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background:#fff;border-bottom:1px solid #e5e5e5}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{font-size:13px;font-weight:600;color:#1d1d1f;text-transform:none;letter-spacing:-.1px;white-space:nowrap;position:relative}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]{cursor:pointer;-webkit-user-select:none;user-select:none;transition:color .2s ease}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover{color:#0071e3}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover   .sort-indicator[_ngcontent-%COMP%]{opacity:1}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.up[_ngcontent-%COMP%]{border-bottom-color:#0071e3}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.down[_ngcontent-%COMP%]{border-top-color:#0071e3}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]{display:inline-flex;flex-direction:column;gap:2px;margin-left:6px;vertical-align:middle;opacity:.3;transition:opacity .2s ease}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator.active[_ngcontent-%COMP%]{opacity:1}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow[_ngcontent-%COMP%]{width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;transition:border-color .2s ease}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.up[_ngcontent-%COMP%]{border-bottom:4px solid #c7c7cc}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.up.active[_ngcontent-%COMP%]{border-bottom-color:#0071e3}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.down[_ngcontent-%COMP%]{border-top:4px solid #c7c7cc}.cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]   .sort-indicator[_ngcontent-%COMP%]   .sort-arrow.down.active[_ngcontent-%COMP%]{border-top-color:#0071e3}.cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-bottom:1px solid #f2f2f2;cursor:pointer;transition:background-color .15s ease}.cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:last-child{border-bottom:none}.cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#f5f5f7}.cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover   .delete-btn[_ngcontent-%COMP%]{opacity:1}.cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.selected[_ngcontent-%COMP%]{background-color:#e8f4fd}.col-checkbox[_ngcontent-%COMP%]{width:48px;padding-left:20px!important}.col-thumbnail[_ngcontent-%COMP%]{width:64px}
3.col-title[_ngcontent-%COMP%]{min-width:200px}.col-category[_ngcontent-%COMP%]{width:200px;min-width:180px}.col-restriction[_ngcontent-%COMP%]{width:180px}.col-metadata[_ngcontent-%COMP%]{width:64px;padding:12px 8px!important;text-align:center}.col-actions[_ngcontent-%COMP%]{width:48px;padding-right:20px!important}.checkbox[_ngcontent-%COMP%]{width:18px;height:18px;border:1.5px solid #c7c7cc;border-radius:5px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .15s ease;background:#fff}.checkbox[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:12px;width:12px;height:12px;color:#fff}.checkbox[_ngcontent-%COMP%]:hover{border-color:#86868b}.checkbox.checked[_ngcontent-%COMP%], .checkbox.indeterminate[_ngcontent-%COMP%]{background:#0071e3;border-color:#0071e3}.thumbnail-wrapper[_ngcontent-%COMP%]{width:44px;height:44px;border-radius:8px;overflow:hidden;background:#f5f5f7}.thumbnail-wrapper[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%;height:100%;object-fit:cover}.title-cell[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:3px}.title-cell[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#1d1d1f;letter-spacing:-.1px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:280px}.title-cell[_ngcontent-%COMP%]   .file-meta[_ngcontent-%COMP%]{font-size:12px;font-weight:400;color:#86868b;letter-spacing:-.1px}.category-badge[_ngcontent-%COMP%]{display:inline-block;padding:4px 10px;background:#f5f5f7;border-radius:6px;font-size:12px;font-weight:500;color:#1d1d1f;letter-spacing:-.1px}.restriction-badge[_ngcontent-%COMP%]{display:inline-flex;align-items:center;gap:5px;padding:5px 12px;background:#fff3cd;border-radius:6px;font-size:12px;font-weight:500;color:#996b00;letter-spacing:-.1px}.restriction-badge[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:14px;width:14px;height:14px}.no-restriction[_ngcontent-%COMP%]{color:#ccc;font-size:12px}.col-metadata[_ngcontent-%COMP%]{position:relative;text-align:center}.info-btn[_ngcontent-%COMP%]{display:inline-flex;align-items:center;justify-content:center;width:30px;height:30px;border:none;background:none;border-radius:8px;cursor:pointer;transition:all .15s ease}.info-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#86868b}.info-btn[_ngcontent-%COMP%]:hover{background:#f5f5f7}.info-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#1d1d1f}.info-btn.active[_ngcontent-%COMP%]{background:#0071e3}.info-btn.active[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#fff}.metadata-popover[_ngcontent-%COMP%]{position:fixed;width:240px;background:#fff;border-radius:12px;box-shadow:0 4px 24px #0000001f,0 0 1px #00000014;z-index:9999;overflow:hidden}.metadata-popover[_ngcontent-%COMP%]   .popover-content[_ngcontent-%COMP%]{padding:14px 16px}.metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:8px 0}.metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]:not(:last-child){border-bottom:1px solid #f5f5f7}.metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-label[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#86868b;letter-spacing:-.1px}.metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-value[_ngcontent-%COMP%]{font-size:13px;font-weight:500;color:#1d1d1f;letter-spacing:-.1px}.delete-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;width:32px;height:32px;border:none;background:none;border-radius:8px;cursor:pointer;opacity:0;transition:all .2s ease}.delete-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px;width:20px;height:20px;color:#86868b}.delete-btn[_ngcontent-%COMP%]:hover{background:#ffecec}.delete-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#ff3b30}.pagination-bar[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;border-top:1px solid #e5e5e5;background:#f5f5f7}
3.pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]{display:flex;align-items:center;gap:8px;font-size:13px;font-weight:400;color:#86868b;letter-spacing:-.1px}.pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:7px 28px 7px 12px;border:1px solid #d2d2d7;border-radius:8px;font-size:13px;font-weight:400;color:#1d1d1f;letter-spacing:-.1px;background:#fff url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%2386868b' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e") no-repeat right 8px center;background-size:14px;appearance:none;cursor:pointer;transition:all .2s ease}.pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{outline:none;border-color:#0071e3;box-shadow:0 0 0 3px #0071e326}.pagination-bar[_ngcontent-%COMP%]   .page-info[_ngcontent-%COMP%]{font-size:13px;font-weight:400;color:#86868b;letter-spacing:-.1px}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]{display:flex;align-items:center;gap:6px}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:center;min-width:34px;height:34px;padding:0 10px;border:1px solid #d2d2d7;border-radius:8px;background:#fff;color:#1d1d1f;font-size:13px;font-weight:500;letter-spacing:-.1px;cursor:pointer;transition:all .15s ease}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:18px;width:18px;height:18px;color:#86868b}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#f5f5f7;border-color:#86868b}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]:disabled{opacity:.35;cursor:not-allowed}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn.page-number[_ngcontent-%COMP%]{min-width:38px}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn.active[_ngcontent-%COMP%]{background:#0071e3;border-color:#0071e3;color:#fff}@media(max-width:1024px){.filter-bar[_ngcontent-%COMP%]{flex-wrap:wrap}.filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]{max-width:none;order:1;flex-basis:100%}.filter-bar[_ngcontent-%COMP%]   .filter-group[_ngcontent-%COMP%]{order:2}.filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]{order:3}}@media(max-width:768px){.page-header[_ngcontent-%COMP%], .page-content[_ngcontent-%COMP%]{padding-left:16px;padding-right:16px}.action-bar[_ngcontent-%COMP%], .action-bar.visible[_ngcontent-%COMP%]{padding:10px 16px}.action-bar[_ngcontent-%COMP%]   .action-btn[_ngcontent-%COMP%]   span[_ngcontent-%COMP%], .col-category[_ngcontent-%COMP%], .col-restriction[_ngcontent-%COMP%]{display:none}.title-cell[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%]{max-width:160px}.pagination-bar[_ngcontent-%COMP%]{flex-wrap:wrap;gap:12px;justify-content:center}.pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]{order:2}.pagination-bar[_ngcontent-%COMP%]   .page-info[_ngcontent-%COMP%]{order:1;flex-basis:100%;text-align:center}.pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]{order:3}}[data-bs-theme=dark][_nghost-%COMP%]   .cart-page[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-page[_ngcontent-%COMP%]{background-color:#1a1a1a}[data-bs-theme=dark][_nghost-%COMP%]   .page-header[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]{border-bottom-color:#333;background:#1a1a1aeb}[data-bs-theme=dark][_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .back-btn[_ngcontent-%COMP%]:hover{background-color:#ffffff14}[data-bs-theme=dark][_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .page-title[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .item-count[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .page-header[_ngcontent-%COMP%]   .item-count[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .loading-state[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .loading-state[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .loading-state[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .loading-state[_ngcontent-%COMP%]   .spinner[_ngcontent-%COMP%]{border-color:#333;border-top-color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-icon[_ngcontent-%COMP%]{color:#48484a}[data-bs-theme=dark][_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-title[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-title[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .empty-state[_ngcontent-%COMP%]   .empty-text[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]{border-color:#48484a;color:#f5f5f7;background:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]::placeholder, [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]::placeholder{color:#636366}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]:focus, [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .search-input[_ngcontent-%COMP%]:focus{border-color:#0a84ff;background:#1c1c1e;box-shadow:0 0 0 3px #0a84ff33}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .clear-search[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .search-box[_ngcontent-%COMP%]   .clear-search[_ngcontent-%COMP%]{background:#636366}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%]{border-color:#48484a;color:#f5f5f7;background-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%]:focus, [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .type-filter[_ngcontent-%COMP%]:focus{border-color:#0a84ff;background-color:#1c1c1e;box-shadow:0 0 0 3px #0a84ff33}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]{color:#0a84ff}[data-bs-theme=dark][_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .filter-bar[_ngcontent-%COMP%]   .clear-filters-btn[_ngcontent-%COMP%]:hover{color:#409cff}[data-bs-theme=dark][_nghost-%COMP%]   .no-results[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#48484a}[data-bs-theme=dark][_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%]{background:#0a84ff}[data-bs-theme=dark][_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .no-results[_ngcontent-%COMP%]   .reset-btn[_ngcontent-%COMP%]:hover{background:#409cff}[data-bs-theme=dark][_nghost-%COMP%]   .table-container[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .table-container[_ngcontent-%COMP%]{background:#1c1c1e;border-color:#333;box-shadow:0 1px 2px #0003,0 2px 8px #0000001a}
3[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]{background:#1c1c1e;border-bottom-color:#333}[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   thead[_ngcontent-%COMP%]   th.sortable[_ngcontent-%COMP%]:hover{color:#0a84ff}[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]{border-bottom-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr[_ngcontent-%COMP%]:hover{background-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.selected[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .cart-table[_ngcontent-%COMP%]   tbody[_ngcontent-%COMP%]   tr.selected[_ngcontent-%COMP%]{background-color:#0a84ff1f}[data-bs-theme=dark][_nghost-%COMP%]   .checkbox[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .checkbox[_ngcontent-%COMP%]{border-color:#636366;background:#1c1c1e}[data-bs-theme=dark][_nghost-%COMP%]   .checkbox[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .checkbox[_ngcontent-%COMP%]:hover{border-color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .checkbox.checked[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .checkbox.checked[_ngcontent-%COMP%], [data-bs-theme=dark][_nghost-%COMP%]   .checkbox.indeterminate[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .checkbox.indeterminate[_ngcontent-%COMP%]{background:#0a84ff;border-color:#0a84ff}[data-bs-theme=dark][_nghost-%COMP%]   .thumbnail-wrapper[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .thumbnail-wrapper[_ngcontent-%COMP%]{background:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .title-cell[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .title-cell[_ngcontent-%COMP%]   .file-name[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .title-cell[_ngcontent-%COMP%]   .file-meta[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .title-cell[_ngcontent-%COMP%]   .file-meta[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .category-badge[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .category-badge[_ngcontent-%COMP%]{background:#2c2c2e;color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .restriction-badge[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .restriction-badge[_ngcontent-%COMP%]{background:#ffd60a1f;color:#ffd60a}[data-bs-theme=dark][_nghost-%COMP%]   .no-restriction[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .no-restriction[_ngcontent-%COMP%]{color:#636366}[data-bs-theme=dark][_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]:hover{background:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .info-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .info-btn.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .info-btn.active[_ngcontent-%COMP%]{background:#0a84ff}[data-bs-theme=dark][_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]{background:#2c2c2e;box-shadow:0 4px 24px #0006,0 0 1px #0000004d}[data-bs-theme=dark][_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]:not(:last-child), [data-bs-theme=dark]   [_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]:not(:last-child){border-bottom-color:#3a3a3c}[data-bs-theme=dark][_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-label[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-label[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-value[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .metadata-popover[_ngcontent-%COMP%]   .detail-row[_ngcontent-%COMP%]   .detail-value[_ngcontent-%COMP%]{color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]:hover, [data-bs-theme=dark]   [_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]:hover{background:#ff3b301f}[data-bs-theme=dark][_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .delete-btn[_ngcontent-%COMP%]:hover   mat-icon[_ngcontent-%COMP%]{color:#ff453a}
3[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]{border-top-color:#333;background:#1c1c1e}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{border-color:#48484a;color:#f5f5f7;background-color:#2c2c2e}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus, [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-size[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:focus{border-color:#0a84ff;box-shadow:0 0 0 3px #0a84ff33}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-info[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-info[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]{border-color:#48484a;background:#2c2c2e;color:#f5f5f7}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{color:#98989d}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]:hover:not(:disabled), [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#3a3a3c;border-color:#636366}[data-bs-theme=dark][_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn.active[_ngcontent-%COMP%], [data-bs-theme=dark]   [_nghost-%COMP%]   .pagination-bar[_ngcontent-%COMP%]   .page-controls[_ngcontent-%COMP%]   .page-btn.active[_ngcontent-%COMP%]{background:#0a84ff;border-color:#0a84ff;color:#fff}`],changeDetection:0})}}return o})();var nl=[{path:"home",component:$i},{path:"fileupload",component:di},{path:"my-kit",component:qi,data:{title:"My Kit"}},{path:"admin",loadChildren:()=>import("./chunk-5P7GYD4X.js").then(o=>o.AdminModule)},{path:"customer/favorites",component:qn,canActivate:[gn],data:{resource:"PRODUCT_FAVOURITES",permission:"VIEW"}},{path:"customer",loadChildren:()=>import("./chunk-OLQMXTCV.js").then(o=>o.CustomerModule)},{path:"event-config",loadChildren:()=>import("./chunk-SBRMOUKD.js").then(o=>o.EventAdminTemplateModule)},{path:"search",loadChildren:()=>import("./chunk-E33VCK6T.js").then(o=>o.TopSearchModule)},{path:"title-overview",component:Ki},{path:"category",component:st},{path:"sales-template/:eventRoute/:subRoute",component:Kn},{path:"sales-template/:eventRoute",component:Kn},{path:"event-template",component:bi,children:[{path:"",component:st},{path:"favorites",component:qn,canActivate:[gn],data:{resource:"My Favorites",permission:"READ"}},{path:"screening-request-cart",loadChildren:()=>import("./chunk-GSCPDBF2.js").then(o=>o.ManagerTheaterModule),canActivate:[gn],data:{resource:"My Screening Requests",permission:"READ"}},{path:"order-in-theater-trailer",component:mn,data:{title:"ORDER IN-THEATRE TRAILER"}},{path:"order-pos",component:mn,data:{title:"ORDER POS"}},{path:"order-requests",component:mn,data:{title:"ORDER_REQUESTS"}},{path:"**",component:st}]},{path:"admin/event-template/:eventRoute",component:st},{path:"admin/event-template/:eventRoute/:id",component:st},{path:"admin/event-template",component:st},{path:"user",loadChildren:()=>import("./chunk-4WA5YLZA.js").then(o=>o.OrderModule)}],Wi=(()=>{class o{static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=De({type:o})}static{this.\u0275inj=Le({imports:[Dt.forChild(nl),Dt]})}}return o}
3)();var ol=["termsDialog"],il=["licenseDialog"],rl=(o,g)=>["/public/terms_of_use_landing",o,g];function al(o,g){if(o&1&&(a(0,"li")(1,"a",14),m(2),s()()),o&2){let e=g.$implicit;r(),l("routerLink",ho(2,rl,e.territory,e.language)),r(),S(" ",e.label," ")}}function sl(o,g){o&1&&(a(0,"div",15),h(1,"app-common-translate",9),s()),o&2&&(r(),l("key","termsOfUseLinks.noTermsAvailable"))}var Og=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w){this.userPreferences=e,this.router=t,this.fb=n,this.http=i,this.sanitizer=c,this.appInitService=p,this.footerService=u,this.masterStore=x,this.dialog=w,this.selectedRegion="",this.isLoading=!0,this.territoryLinks=[],this.errorMessage="",this.currentLob=this.userPreferences.getPreferences()?.defaultLob||"",this.currentTerritory=this.userPreferences.getPreferences()?.defaultTerritory||"",this.destroy$=new F}ngOnInit(){this.http.get("assets/Translation/terms-and-conditions/terms-links.json").subscribe(t=>{this.termslinks=t.termsOfUseLinks,console.log("\u{1F4C4} Terms links loaded:",this.termslinks)});let e=this.appInitService.getConfig();this.domainConfig=e?JSON.parse(e):null,this.subscribeToRegionChanges(),this.detectCurrentLob()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}loadTerritoriesForCurrentLob(){if(!this.currentLob){console.warn("No LOB detected"),this.isLoading=!1;return}this.isLoading=!0,this.masterStore.lobTerritoryLanguageMap$.pipe(L(this.destroy$),q(e=>e&&Object.keys(e).length>0)).subscribe(e=>{let t=e[this.currentLob];if(!t){let i=Object.keys(e).find(c=>c.toLowerCase()===this.currentLob.toLowerCase());i&&(t=e[i])}this.territoryLinks=[];let n=new Set;t&&(Object.keys(t).forEach(i=>{let c=t[i];Array.isArray(c)&&c.forEach(p=>{let u=p.languageName||p.primaryLanguage||"English",x=p.languageId,w=`${i}-${u}-${x}`;!n.has(w)&&i&&(n.add(w),this.territoryLinks.push({territory:i,displayName:this.formatDisplayName(i,u),languageCode:x,languageName:u}))})}),this.territoryLinks.sort((i,c)=>{let p=i.territory.localeCompare(c.territory);return p!==0?p:(i.languageName||"").localeCompare(c.languageName||"")})),this.isLoading=!1})}formatDisplayName(e,t){let n=e?.trim()||"",i=t?.trim()||"English",c=i.toLowerCase();return c.includes("spanish")||c==="es"?`T\xC9RMINOS DE USO (${i}) (${n})`:c.includes("portuguese")||c==="pt"?`TERMOS DE USO (${i}) (${n})`:c.includes("german")||c==="de"?`NUTZUNGSBEDINGUNGEN (${i}) (${n})`:c.includes("french")||c==="fr"?`CONDITIONS D'UTILISATION (${i}) (${n})`:c.includes("italian")||c==="it"?`TERMINI DI UTILIZZO (${i}) (${n})`:c.includes("japanese")||c==="ja"?`\u5229\u7528\u898F\u7D04 (${i}) (${n})`:`TERMS OF USE (${i}) (${n})`}subscribeToRegionChanges(){this.footerService.selectedRegion$.pipe(L(this.destroy$)).subscribe(e=>{this.selectedRegion=e})}detectCurrentLob(){let e=sessionStorage.getItem("termsOfUseContext");if(e)try{let t=JSON.parse(e);if(t?.lob){this.currentLob=t.lob,this.loadTerritoriesForCurrentLob();return}}catch{}this.currentLob||(this.currentLob=this.userPreferences.getPreferences()?.defaultLob||""),!this.currentLob&&this.domainConfig?.userType&&(this.currentLob=String(this.domainConfig.userType)),this.currentLob?this.loadTerritoriesForCurrentLob():(this.isLoading=!1,console.warn("No LOB detected for terms-of-use links"))}setRegionWithLob(e,t){let n={territory:e,lob:this.currentLob,languageCode:t||""};this.footerService.setRegionLobData(e,this.currentLob,t),sessionStorage.setItem("termsOfUseContext",JSON.stringify(n))}static{this.\u0275fac=function(t){return new(t||o)(_(oe),_(j),_(ue),_(Pe),_(qe),_(le),_(Ye),_(ce),_(xe))}}static{this.\u0275cmp=E({type:o,selectors:[["app-globalasset-terms-of-use"]],viewQuery:function(t,n){if(t&1&&(G(ol,5),G(il,5)),t&2){let i;V(i=A())&&(n.termsDialogTpl=i.first),V(i=A())&&(n.licenseDialogTpl=i.first)}},standalone:!1,decls:14,vars:5,consts:[["id","legalWrap"],[1,"topbar-overlay"],["src","assets/images/sony-logo.svg"],[1,"topbar-spacer"],[1,"logo"],["action","login"],["icon","translate",3,"showToggleButton","showFlags"],[1,"legalContainer"],[1,"acceptTermsTitle"],[3,"key"],[1,"termsWrapper"],[1,"terms-list"],[4,"ngFor","ngForOf"],["class","text-center mt-3",4,"ngIf"],[3,"routerLink"],[1,"text-center","mt-3"]],template:function(t,n){t&1&&(a(0,"div",0)(1,"div",1),h(2,"img",2),s(),a(3,"div",3)(4,"div",4),h(5,"app-brand-logo",5),s(),h(6,"app-language-selector",6),s(),a(7,"div",7)(8,"h2",8),h(9,"app-common-translate",9),s(),a(10,"div",10)(11,"ul",11),M(12,al,3,5,"li",12),s(),M(13,sl,2,1,"div",13),s()()()),t&2&&(r(6),l("showToggleButton",!0)("showFlags",!1),r(3),l("key","termsOfUseLinks.title"),r(3),l("ngForOf",n.termslinks),r(),l("ngIf",!n.isLoading&&n.territoryLinks.length===0))},dependencies:[te,B,Ne,Y,We,Be],styles:["#globalAssetTermsOfUse[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}
3#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px;align-items:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:22px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:50%;margin:20px auto 0;text-align:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]{list-style:none;padding:0 0 0 20px;margin:0}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px;text-align:left}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;font-weight:300;color:inherit}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .lob-indicator[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:400}@media(max-width:992px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:80%}}@media(max-width:576px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:95%}}h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}  #legalWrap .legalContainer label.checkbox-option{align-items:flex-start!important}  #legalWrap .legalContainer label span{font-size:1.1rem!important}  #legalWrap .legalContainer label input{margin-top:8px!important;margin-right:10px;transform:scale(1.5)}  .bca-checkbox-field-container .error-message{position:absolute;right:0;width:100px;bottom:-30px}.acknowledge-text[_ngcontent-%COMP%]{display:flex;margin-bottom:14px}.topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}.legalContainer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem}.terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px}div#legalWrap[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}div#legalWrap[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:90%;margin:0 auto}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400;margin-left:30px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400}div#legalWrap[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:25px;font-size:1.6rem}div#legalWrap[_ngcontent-%COMP%]   .termsWrapper[_ngcontent-%COMP%]{padding:20px;margin-bottom:20px}div#legalWrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d32f2f;font-size:12px;margin-top:4px}.legalContainer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:1.1rem;padding:10px 20px;font-weight:800}  #legalWrap .bca-checkbox-field-container{margin:0!important;position:relative}.terms-scroll[_ngcontent-%COMP%]{max-height:60vh}.warning-terms-error[_ngcontent-%COMP%]{margin-bottom:10px}.topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:inline-flex}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:large;cursor:pointer;margin:0 12px}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:#777}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:5px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-top:3px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:3px;border:1px solid #ccc;border-radius:4px;font-size:14px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{background-color:#f5f5f5;cursor:not-allowed}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{display:flex;background:none;border:none;font-size:24px;
3cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;z-index:1000;width:180px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.mykit[_ngcontent-%COMP%]{background-color:#0091ff0d;padding:5px 12px;border-radius:8px;display:flex;align-items:center;width:110px;gap:5px}.mykit[_ngcontent-%COMP%]   span.folder-text[_ngcontent-%COMP%]{font-size:.7rem;font-family:Poppins,sans-serif;font-weight:800}.lobTerritoryLanguage[_ngcontent-%COMP%]{display:flex;align-items:center}.language-dropdown-menu[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto;padding:0;margin:0;list-style:none;border:1px solid #ccc;background:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:8px 12px;cursor:pointer;white-space:nowrap}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-selector[_ngcontent-%COMP%]{position:relative}.globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:100%;right:0;background:#fff;border:1px solid #ddd;border-radius:6px;list-style:none;padding:4px 0;margin:4px 0 0;box-shadow:0 2px 6px #00000026;width:180px;z-index:1000}.language-option[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 10px;cursor:pointer;transition:background-color .2s ease}.language-option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.selected-language[_ngcontent-%COMP%]{background-color:#e6f7ff;font-weight:600}.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px;object-fit:cover}.disabled-text[_ngcontent-%COMP%]{color:#777}.language-dropdown-menu[_ngcontent-%COMP%]   li.language-option[_ngcontent-%COMP%]:first-child{background-color:#e9e9e9}  .legalContainer .error-message{margin:0 0 15px!important}.terms-dialog-content[_ngcontent-%COMP%]{max-height:65vh;overflow:scroll}.acknowledge-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0;margin:0!important}  .terms-dialog-header h2#mat-mdc-dialog-title-1{margin:0;display:flex;align-content:center;align-items:center;justify-content:flex-start;padding:6px 20px;background-color:#959595;color:#fff;font-size:1.2rem}  a.open-terms{font-size:1.1rem;font-weight:700}  a.open-license{font-size:1.1rem;font-weight:700;cursor:pointer}"]})}}return o})();var ll=["contactCaptcha"];function dl(o,g){if(o&1){let e=y();a(0,"div",5)(1,"div",6),h(2,"app-brand-logo",7),s(),a(3,"div",8)(4,"app-language-selector",9),C("languageChange",function(n){O(e);let i=d();return P(i.onLanguageChanged(n))}),s()()()}o&2&&(r(4),l("showToggleButton",!0)("showFlags",!1))}function pl(o,g){o&1&&(a(0,"div",27),h(1,"app-common-translate",13),s()),o&2&&(r(),l("key","contactUs.confirmNotRobot"))}function gl(o,g){if(o&1){let e=y();a(0,"div")(1,"div",10)(2,"div",11)(3,"h1",12),h(4,"app-common-translate",13),s(),a(5,"p",14),h(6,"app-common-translate",13),s(),a(7,"p",15),h(8,"app-common-translate",13),s(),a(9,"form",16),C("ngSubmit",function(){O(e);let n=d();return P(n.onSubmit())}),h(10,"bca-input-field",17),f(11,"translate"),f(12,"translate"),h(13,"bca-input-field",17),f(14,"translate"),f(15,"translate"),h(16,"bca-selectbox-field",18),f(17,"translate"),f(18,"translate"),h(19,"bca-selectbox-field",18),f(20,"translate"),f(21,"translate"),h(22,"bca-input-field",17),f(23,"translate"),f(24,"translate"),a(25,"div",19)(26,"label",20),h(27,"app-common-translate",13),s(),a(28,"div",21)(29,"re-captcha",22,0),C("resolved",function(n){O(e);let i=d();return P(i.onCaptchaResolved(n))}),s()(),M(31,pl,2,1,"div",23),s(),a(32,"div",24)(33,"button",25),h(34,"app-common-translate",13),s(),a(35,"button",26),C("click",function(){O(e);let n=d();return P(n.clearForm())}),h(36,"app-common-translate",13),s()()()()()()}if(o&2){let e=d();r(4),l("key","contactUs.title"),r(2),l("key","contactUs.subtitle"),r(2),l("key","contactUs.requiredInfo"),r(),l("formGroup",e.contactForm),r(),l("id","name")("label",b(11,44,"contactUs.yourName"))("type","text")("placeholder",b(12,46,"contactUs.enterYourName"))("formControlName","name")("mandatory",!0)("size","font-size-13"),r(3),l("id","email")("label",b(14,48,"contactUs.yourEmail"))("type","email")("placeholder",b(15,50,"contactUs.enterYourEmail"))("formControlName","email")("mandatory",!0)("size","font-size-13"),r(3),l("id","subject")("label",b(17,52,"contactUs.subject"))("formControlName","subject")("options",e.subjectOptions)("placeholder",b(18,54,"contactUs.selectSubject"))("mandatory",!0)("size","font-size-13"),r(3),l("id","territory")("label",b(20,56,"contactUs.territory"))("formControlName","territory")("options",e.territoryOptions)("placeholder",b(21,58,"contactUs.selectTerritory"))("mandatory",!0)("size","font-size-13"),r(3),l("id","message")("label",b(23,60,"contactUs.message"))("type","textarea")("placeholder",b(24,62,"contactUs.enterYourMessage"))("formControlName","message")("mandatory",!0)("size","font-size-13"),r(5),l("key","contactUs.captcha"),r(2),l("siteKey",e.captchaSiteKey),r(2),l("ngIf",e.submitted&&(e.f.captcha.errors==null?null:e.f.captcha.errors.required)),r(3),l("key","contactUs.submit"),r(2),l("key","contactUs.clearFields")}}function ml(o,g){o&1&&(a(0,"div",27),h(1,"app-common-translate",13),s()),o&2&&(r(),l("key","contactUs.confirmNotRobot"))}function ul(o,g){if(o&1){let e=y();a(0,"div",10)(1,"div",11)(2,"h1",12),h(3,"app-common-translate",13),s(),a(4,"p",14),h(5,"app-common-translate",13),s(),a(6,"p",15),h(7,"app-common-translate",13),s(),a(8,"form",16),C("ngSubmit",function(){O(e);let n=d();return P(n.onSubmit())}),h(9,"bca-input-field",17),f(10,"translate"),f(11,"translate"),h(12,"bca-input-field",17),f(13,"translate"),f(14,"translate"),h(15,"bca-input-field",17),f(16,"translate"),f(17,"translate"),h(18,"bca-input-field",17),f(19,"translate"),f(20,"translate"),a(21,"div",19)(22,"label",20),h(23,"app-common-translate",13),s(),a(24,"div",21)(25,"re-captcha",22,0),C("resolved",function(n){O(e);let i=d();return P(i.onCaptchaResolved(n))}),s()(),M(27,ml,2,1,"div",23),s(),a(28,"div",24)(29,"button",25),h(30,"app-common-translate",13),s(),a(31,"button",26),C("click",function(){O(e);let n=d();return P(n.clearForm())}),h(32,"app-common-translate",13),s()()()()()}if(o&2){let e=d();r(3),l("key","contactUs.title"),r(2),l("key","contactUs.subtitle"),r(2),l("key","contactUs.requiredInfo"),r(),l("formGroup",e.contactForm),r(),l("id","name")("label",b(10,37,"contactUs.yourName"))("type","text")("placeholder",b(11,39,"contactUs.enterYourName"))("formControlName","name")("mandatory",!0)("size","font-size-13"),r(3),l("id","email")("label",b(13,41,"contactUs.yourEmail"))("type","email")("placeholder",b(14,43,"contactUs.enterYourEmail"))("formControlName","email")("mandatory",!0)("size","font-size-13"),r(3),l("id","subject")("label",b(16,45,"contactUs.subject"))("type","text")("placeholder",b(17,47,"contactUs.enterTheSubject"))("formControlName","subject")("mandatory",!0)("size","font-size-13"),r(3),l("id","message")("label",b(19,49,"contactUs.message"))("type","textarea")("placeholder",b(20,51,"contactUs.enterYourMessage"))("formControlName","message")("mandatory",!0)("size","font-size-13"),r(5),l("key","contactUs.captcha"),r(2),l("siteKey",e.captchaSiteKey),r(2),l("ngIf",e.submitted&&(e.f.captcha.errors==null?null:e.f.captcha.errors.required)),r(3),l("key","contactUs.submit"),r(2),l("key","contactUs.clearFields")}}function _l(o,g){o&1&&(a(0,"div",31),h(1,"app-common-translate",13),s()),o&2&&(r(),l("key","contactUs.loadingContacts"))}function hl(o,g){if(o&1&&(a(0,"div",33)(1,"h2"),m(2),s(),a(3,"p",34),m(4),s(),a(5,"p")(6,"strong"),h(7,"app-common-translate",13),s(),a(8,"a",35),m(9),s()(),a(10,"p")(11,"strong"),h(12,"app-common-translate",13),s(),m(13),s()()),o&2){let e=g.$implicit;r(2),v(e.contactName),r(2),v(e.details),r(3),l("key","contactUs.email"),r(),l("href","mailto:"+e.email,ee),r(),v(e.email),r(3),l("key","contactUs.phone"),r(),S(" ",e.phone,"")}}function fl(o,g){if(o&1&&(a(0,"div"),M(1,hl,14,7,"div",32),s()),o&2){let e=d(2);r(),l("ngForOf",e.contactList)}}function bl(o,g){o&1&&(a(0,"div",36),h(1,"app-common-translate",13),s()),o&2&&(r(),l("key","contactUs.noContactsAvailable"))}function Cl(o,g){if(o&1&&(a(0,"div",28)(1,"h1"),h(2,"app-common-translate",13),s(),M(3,_l,2,1,"div",29)(4,fl,2,1,"div",2)(5,bl,2,1,"div",30),s()),o&2){let e=d();r(2),l("key","contactUs.contactDirectory"),r(),l("ngIf",e.loadingContacts),r(),l("ngIf",!e.loadingContacts&&e.contactList.length>0),r(),l("ngIf",!e.loadingContacts&&e.contactList.length===0)}}var Ig=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T,R){this.formBuilder=e,this.appInitService=t,this.store=n,this.router=i,this.activatedRoute=c,this.footerService=p,this.toastService=u,this.masterStore=x,this.eRef=w,this.translationLoader=I,this.userPreferences=T,this.translateService=R,this.captchaSiteKey=Vo.captchaSiteKey,this.captchaToken="",this.submitted=!1,this.userType="",this.isUserLoggedIn=!1,this.userName="",this.userEmail="",this.currentUserTerritory="",this.userPreferencesParam=null,this.showContactDirectory=!1,this.contactList=[],this.loadingContacts=!1,this.lobTerritories=[],this.lobName="",this.lobId=null,this.isLoading=!0,this.showDropdown=!1,this.languageOptions=[],this.currentLanguage=null,this.destroy$=new F,this.subjectOptions=[{value:"New User Registration Support",label:"New User Registration Support"},{value:"Login Support",label:"Login Support"},{value:"Technical Support",label:"Technical Support"},{value:"Asset View/Download Support",label:"Asset View/Download Support"},{value:"My Account/Email Subscription Support",label:"My Account/Email Subscription Support"},{value:"General Question/Other Support",label:"General Question/Other Support"}],this.territoryOptions=[]}ngOnInit(){let e=this.appInitService.getConfig();this.domainConfig=e?JSON.parse(e):null,this.domainConfigData=this.domainConfig,this.loadLanguagesFromMaster(),this.domainConfig&&this.domainConfig.userType&&(this.userType=this.domainConfig.userType);let t=this.activatedRoute.snapshot.queryParams;this.userName=t.userName||"",this.userEmail=t.userEmail||"",this.isUserLoggedIn=t.loggedIn==="true",this.currentUserTerritory=t.currentUserTerritory||"",this.userPreferencesParam=this.parseUserPreferences(t.userPreferences),console.log("=== Query Params from C
3ontact Us Link ==="),console.log("userName (queryParam):",this.userName),console.log("userEmail (queryParam):",this.userEmail),console.log("loggedIn (queryParam):",t.loggedIn),console.log("currentUserTerritory (queryParam):",this.currentUserTerritory),console.log("userPreferences (queryParam):",this.userPreferencesParam),Object.keys(t).length>0&&this.router.navigate([],{relativeTo:this.activatedRoute,queryParams:{},replaceUrl:!0});try{let n=this.userPreferencesParam;if(n){let i=n;this.lobName=i?.lobName||i?.config?.lobName||"",this.lobId=i?.lobId||i?.config?.lobId||null}!this.lobId&&this.domainConfig&&(this.lobName=this.domainConfig.lobName||"",this.lobId=this.domainConfig.lobId||null)}catch(n){console.error("Error parsing LOB info:",n)}this.contactForm=this.formBuilder.group({name:[this.userName,[Ue.required]],email:[this.userEmail,[Ue.required,Ue.email]],subject:["",[Ue.required]],territory:[this.currentUserTerritory],message:["",[Ue.required]],country:[""],captcha:["",[Ue.required]]}),this.checkAndShowContactDirectory(),this.tryLoadTerritoriesFromSession(),this.masterStore.masterLobTerritories$.subscribe(n=>{n&&Array.isArray(n)&&(this.lobTerritories=n,this.lobId&&this.populateTerritoryOptions())})}tryLoadTerritoriesFromSession(){try{let e=sessionStorage.getItem("masterState");if(e){let t=JSON.parse(e);t.lobTerritories&&Array.isArray(t.lobTerritories)&&(this.lobTerritories=t.lobTerritories,this.lobId&&this.populateTerritoryOptions())}}catch(e){console.error("Error loading territories from session:",e)}}parseUserPreferences(e){if(!e)return null;try{return JSON.parse(e)}catch(t){return console.error("Error parsing userPreferences query param:",t),null}}populateTerritoryOptions(){if(!this.lobId||!Array.isArray(this.lobTerritories)||this.lobTerritories.length===0)return;let e=this.lobTerritories,t=new Map;e.forEach(n=>{n.territory&&n.territoryId&&t.set(n.territoryId,{value:n.territory,label:n.territory})}),this.territoryOptions=Array.from(t.values()).sort((n,i)=>n.label.localeCompare(i.label)),this.currentUserTerritory&&this.contactForm&&(this.contactForm.patchValue({territory:this.currentUserTerritory}),this.territoryOptions.some(i=>i.value===this.currentUserTerritory)||console.warn('Territory value "'+this.currentUserTerritory+'" not found in available options'),this.isUserLoggedIn&&setTimeout(()=>{this.contactForm.get("territory")?.disable()},0))}ngAfterViewInit(){this.isUserLoggedIn&&setTimeout(()=>{this.contactForm.get("name")?.disable(),this.contactForm.get("email")?.disable(),this.contactForm.get("territory")?.value&&this.contactForm.get("territory")?.disable()})}checkAndShowContactDirectory(){this.isUserLoggedIn?(this.showContactDirectory=!0,this.fetchContactDirectory()):this.showContactDirectory=!1}fetchContactDirectory(){this.loadingContacts=!0,this.footerService.getContactDirectory().subscribe({next:e=>{this.contactList=e.map(t=>({contactName:t.name,details:t.details,email:t.email,phone:t.phoneNumber})),this.loadingContacts=!1},error:e=>{console.error("Error fetching contact directory:",e),this.loadingContacts=!1}})}capitalizeFirstLetter(e){return e?e.charAt(0).toUpperCase()+e.slice(1).toLowerCase():""}getCapitalizedUserType(){return this.capitalizeFirstLetter(this.userType)}onSubmit(){if(this.submitted=!0,this.contactForm.invalid){Object.keys(this.contactForm.controls).forEach(c=>{let p=this.contactForm.get(c);p?.invalid&&p.markAsTouched()});return}let e=this.contactForm.getRawValue(),t=`Name: ${e.name}<br/>Email: ${e.email}`;e.territory&&(t+=`<br/>Territory: ${e.territory}`);let n=`<p>Hi Support Team,</p><p>${e.message}</p><p><strong>Requested User Information:</strong><br/>${t}</p>`,i={fromName:e.name,host:window.location.host,subject:e.subject,body:n};this.footerService.sendSupportEmail(i).subscribe({next:()=>{this.toastService.showSuccess(this.translateService.instant("contactUs.messageSent")),this.clearForm(),this.submitted=!1},error:c=>{console.error("Error sending support email:",c),this.toastService.showError(this.translateService.instant("contactUs.sendError"))}})}clearForm(){this.captchaToken="",this.contactCaptcha?.reset(),this.contactForm.patchValue({name:this.isUserLoggedIn?this.userName:"",email:this.isUserLoggedIn?this.userEmail:"",subject:"",territory:this.isUserLoggedIn?this.currentUserTerritory:"",message:"",country:"",captcha:""}),this.contactForm.markAsUntouched(),this.contactForm.markAsPristine(),this.submitted=!1,Object.keys(this.contactForm.controls).forEac
3h(e=>{this.contactForm.get(e)?.setErrors(null)}),this.isUserLoggedIn?(this.contactForm.get("name")?.disable(),this.contactForm.get("email")?.disable(),this.contactForm.get("territory")?.disable()):(this.contactForm.get("name")?.enable(),this.contactForm.get("email")?.enable(),this.contactForm.get("territory")?.enable())}get f(){return this.contactForm.controls}onCaptchaResolved(e){this.captchaToken=e||"",this.contactForm.get("captcha")?.setValue(this.captchaToken),this.contactForm.get("captcha")?.markAsTouched()}toggleLanguageDropdown(){this.showDropdown=!this.showDropdown}onClickOutside(e){this.eRef.nativeElement.contains(e.target)||(this.showDropdown=!1)}loadLanguagesFromMaster(){this.masterStore.masterLanguageCode$.pipe(L(this.destroy$)).subscribe(e=>{if(!e)return;let t=this.userPreferences.getPreferences(),n=t?.defaultLanguageId,i=t?.defaultLanguageCode?.toUpperCase();this.languageOptions=Object.entries(e).filter(([c,p])=>p?.name?.toLowerCase()!=="all languages").map(([c,p])=>({id:Number(c),languageName:p.name,code:p.code?.toUpperCase(),flag:`assets/Translation/Flags/${p.code?.toUpperCase()}.svg`})),this.currentLanguage=this.languageOptions.find(c=>c.id===n)||this.languageOptions.find(c=>c.code===i)||this.languageOptions.find(c=>c.code==="EN")||this.languageOptions[0],this.currentLanguage&&(this.translationLoader.initTranslations(),this.store.dispatch(ae({languageId:this.currentLanguage.id})))})}selectLanguage(e){if(!e)return;console.log("\u{1F310} Language selected:",e);let n={english:"EN",japanese:"JP",french:"FR",german:"DE",spanish:"ES",italian:"IT"}[e.languageName.toLowerCase()]||"EN",i=this.userPreferences.getPreferences();this.userPreferences.setPreferences(de(X({},i),{defaultLanguageCode:n,userPreferredLanguage:e.languageName})),sessionStorage.setItem("userPreferredLanguage",e.languageName),this.translationLoader.initTranslations().subscribe(()=>{console.log("\u2705 Translations reloaded for",n)}),this.store.dispatch(ae({languageId:e.id})),this.currentLanguage=e,this.showDropdown=!1,this.languageOptions=[e,...this.languageOptions.filter(c=>c.id!==e.id)],window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}}))}onFlagError(e){e.target.src="assets/images/dummy_thumbnail.jpg"}static{this.\u0275fac=function(t){return new(t||o)(_(ue),_(le),_(re),_(j),_(ht),_(Ye),_(Qe),_(ce),_(se),_(ve),_(oe),_(_e))}}static{this.\u0275cmp=E({type:o,selectors:[["app-contact-us"]],viewQuery:function(t,n){if(t&1&&G(ll,5),t&2){let i;V(i=A())&&(n.contactCaptcha=i.first)}},hostBindings:function(t,n){t&1&&C("click",function(c){return n.onClickOutside(c)},!1,Me)},standalone:!1,decls:4,vars:4,consts:[["contactCaptcha",""],["class","topLogoBar",4,"ngIf"],[4,"ngIf"],["class","airline-contact-container",4,"ngIf"],["class","contact-directory",4,"ngIf"],[1,"topLogoBar"],[1,"logo-container"],["action","login"],[1,"topbar-spacer"],["icon","translate",3,"languageChange","showToggleButton","showFlags"],[1,"airline-contact-container"],[1,"airline-contact-wrapper"],[1,"airline-contact-title"],[3,"key"],[1,"airline-contact-subtitle"],[1,"required-info"],[1,"airline-contact-form",3,"ngSubmit","formGroup"],[3,"id","label","type","placeholder","formControlName","mandatory","size"],[3,"id","label","formControlName","options","placeholder","mandatory","size"],[1,"airline-form-group"],[1,"airline-label"],[1,"airline-captcha-container"],[3,"resolved","siteKey"],["class","airline-error-message",4,"ngIf"],[1,"airline-button-group"],["type","submit",1,"airline-submit-btn"],["type","button",1,"airline-clear-btn",3,"click"],[1,"airline-error-message"],[1,"contact-directory"],["class","loading-message",4,"ngIf"],["class","no-contacts",4,"ngIf"],[1,"loading-message"],["class","contact",4,"ngFor","ngForOf"],[1,"contact"],[1,"contact-details"],[3,"href"],[1,"no-contacts"]],template:function(t,n){t&1&&M(0,dl,5,2,"div",1)(1,gl,37,64,"div",2)(2,ul,33,53,"div",3)(3,Cl,6,4,"div",4),t&2&&(l("ngIf",n.domainConfigData),r(),l("ngIf",n.userType==="publicity"||n.userType==="exhibitor"),r(),l("ngIf",n.userType==="airline"||n.userType==="repertory"),r(),l("ngIf",n.showContactDirectory))},dependencies:[te,B,Ot,Ve,Ct,Kt,qt,Xt,Ro,Y,We,Be,Oi,J],styles:[".airline-error-message[_ngcontent-%COMP%]{color:#dc3545;font-size:.8rem;margin-top:4px}.topLogoBar[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;background-color:#fff}.topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px;align-items:center;background-color:#fff}.logo[_ngcontent-%COMP%]{padding:0 20px}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:22px;background-color:#fff!important}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{background:#fff!important;border:none;cursor:pointer;padding:20px;
3display:flex}.globe-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{background:#fff!important}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff!important;overflow-y:auto;height:300px;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;z-index:1000;width:180px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.additional-documents-container[_ngcontent-%COMP%]{background-color:#000;min-height:100vh;padding:40px 20px;display:flex;justify-content:center;align-items:flex-start}.documents-wrapper[_ngcontent-%COMP%]{background-color:#000;max-width:1200px;width:100%;padding:40px}.documents-title[_ngcontent-%COMP%]{font-size:2.5rem;font-weight:300;text-align:center;margin-bottom:60px;margin-top:0}.document-links[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:20px}.document-link[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;padding:15px 0;transition:all .3s ease;border-bottom:1px solid transparent}.document-link[_ngcontent-%COMP%]:hover{color:#ccc!important;text-decoration:none}.contact-us-container[_ngcontent-%COMP%]{min-height:100vh;background:#000;display:flex;justify-content:center;align-items:center;padding:40px 20px}.contact-form-wrapper[_ngcontent-%COMP%]{background:transparent;border:2px solid #ffffff;border-radius:8px;padding:40px;max-width:600px;width:100%;box-shadow:0 8px 32px #0000004d}.contact-title[_ngcontent-%COMP%]{font-size:28px;font-weight:400;text-align:center;margin-bottom:30px;letter-spacing:1px}.contact-form[_ngcontent-%COMP%]   .form-group[_ngcontent-%COMP%]{margin-bottom:25px}.form-label[_ngcontent-%COMP%]{font-size:14px;font-weight:500;margin-bottom:8px;display:block}.form-label[_ngcontent-%COMP%]   .required[_ngcontent-%COMP%]{font-size:12px;font-weight:400}.captcha-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background:#f9f9f9;border:1px solid #d3d3d3;border-radius:4px;padding:15px;margin-top:8px}.captcha-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.captcha-checkbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:24px;height:24px;margin:0}.captcha-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;margin:0;cursor:pointer}.captcha-logo[_ngcontent-%COMP%]{font-size:12px;font-weight:700;text-align:right}.submit-btn[_ngcontent-%COMP%]{background:#6c757d!important;color:#fff;border:none;padding:12px 30px;font-size:16px;font-weight:600;border-radius:4px;cursor:pointer;transition:background-color .3s ease;width:auto;min-width:150px}.submit-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#5a6268!important}.submit-btn[_ngcontent-%COMP%]:disabled{background:#666;cursor:not-allowed}.airline-contact-container[_ngcontent-%COMP%]{min-height:100vh;background:#f8f9fa;padding:40px 20px;display:flex;justify-content:center;align-items:center}.airline-contact-wrapper[_ngcontent-%COMP%]{max-width:800px;margin:0 auto;background:#fff;border:2px solid #ddd;border-radius:8px;padding:40px;box-shadow:0 4px 20px #0000001a}.airline-submit-btn[_ngcontent-%COMP%]{color:#fff;background-color:#6c757d!important;border:none;border-radius:5px;padding:12px 30px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s ease;min-width:120px}.airline-submit-btn[_ngcontent-%COMP%]:hover:not(:disabled){background:#5a6268!important}.airline-submit-btn[_ngcontent-%COMP%]:disabled{background:#666;cursor:not-allowed}.airline-clear-btn[_ngcontent-%COMP%]{color:#fff;background-color:#6c757d!important;border:none;border-radius:5px;padding:12px 30px;font-size:16px;font-weight:600;cursor:pointer;transition:background-color .3s ease;min-width:120px}.airline-clear-btn[_ngcontent-%COMP%]:hover{background:#5a6268!important}.airline-contact-title[_ngcontent-%COMP%]{font-size:32px;font-weight:400;margin-bottom:20px;text-align:center}.airline-contact-subtitle[_ngcontent-%COMP%]{font-size:16px;line-height:1.6;margin-bottom:15px;text-align:center}.required-info[_ngcontent-%COMP%]{font-size:14px;margin-bottom:30px;text-align:center;font-style:italic}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field{margin-bottom:25px;display:block}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field .label{color:#333;font-size:14px;font-weight:500;margin-bottom:8px;display:block}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field .label .required-text{color:#dc3545;font-size:12px;font-weight:400}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field .input-container input, .airline-contact-form[_ngcontent-%COMP%]     bca-input-field .input-container textarea{width:100%;padding:12px 15px;border:1px solid #ddd;border-radius:4px;font-size:14px;transition:border-color .3s ease;box-sizing:border-box}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field .input-container input:focus, .airline-contact-form[_ngcontent-%COMP%]     bca-input-field .input-container textarea:focus{outline:none;border-color:#4a90e2}.airline-contact-form[_ngcontent-%COMP%]     bca-input-field .input-container textarea{resize:vertical;font-family:inherit;min-height:120px}.airline-form-group[_ngcontent-%COMP%]{margin-bottom:25px}.airline-form-group[_ngcontent-%COMP%]   .airline-label[_ngcontent-%COMP%]{display:block;font-size:14px;font-weight:500;margin-bottom:8px}.airline-captcha-container[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;background:#f9f9f9;border:1px solid #d3d3d3;border-radius:4px;padding:15px;margin-top:8px}.airline-captcha-checkbox[_ngcontent-%COMP%]{display:flex;align-items:center;gap:10px}.airline-captcha-checkbox[_ngcontent-%COMP%]   input[type=checkbox][_ngcontent-%COMP%]{width:24px;height:24px;margin:0}.airline-captcha-checkbox[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;margin:0;cursor:pointer}.airline-captcha-logo[_ngcontent-%COMP%]{font-size:12px;font-weight:700;text-align:right;line-height:1.3}.airline-button-group[_ngcontent-%COMP%]{display:flex;gap:15px;justify-content:flex-start;margin-top:30px}@media(max-width:768px){.contact-form-wrapper[_ngcontent-%COMP%], .airline-contact-wrapper[_ngcontent-%COMP%]{padding:30px 20px;margin:0 10px}.contact-title[_ngcontent-%COMP%], .airline-contact-title[_ngcontent-%COMP%]{font-size:24px}.airline-button-group[_ngcontent-%COMP%]{flex-direction:column}.airline-button-group[_ngcontent-%COMP%]   .airline-submit-btn[_ngcontent-%COMP%], .airline-button-group[_ngcontent-%COMP%]   .airline-clear-btn[_ngcontent-%COMP%]{width:100%}
3.captcha-container[_ngcontent-%COMP%], .airline-captcha-container[_ngcontent-%COMP%]{flex-direction:column;gap:10px;text-align:center}}.contact-directory[_ngcontent-%COMP%]{max-width:800px;margin:20px auto;background:#fff;padding:24px;border-radius:8px;border:1px solid #ddd;box-shadow:0 4px 20px #00000014}.contact-directory[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{text-align:center;font-size:22px;margin-bottom:20px;font-weight:600;color:#212529;background:#fff;padding:10px;border-radius:6px}.contact-directory[_ngcontent-%COMP%]   .loading-message[_ngcontent-%COMP%]{text-align:center;padding:15px;font-size:14px;color:#495057}.contact-directory[_ngcontent-%COMP%]   .no-contacts[_ngcontent-%COMP%]{text-align:center;padding:15px;font-size:14px;color:#6c757d}.contact-directory[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:12px}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]{margin-bottom:0;padding:12px;border:1px solid #e9ecef;border-radius:6px;background:#f8f9fa;color:#212529;transition:box-shadow .3s ease,transform .2s ease;display:flex;flex-direction:column}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]:hover{box-shadow:0 6px 16px #0000001f;transform:translateY(-1px)}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:0 0 5px;font-size:14px;font-weight:600;line-height:1.3;color:#212529}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   .contact-details[_ngcontent-%COMP%]{margin:0 0 8px;font-size:11px;font-style:italic;line-height:1.3;flex-grow:1;color:#495057}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:3px 0;font-size:11px;line-height:1.4;color:#212529}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   strong[_ngcontent-%COMP%]{font-weight:600;margin-right:3px;display:inline-block;color:#212529}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:var(--anchor-link);text-decoration:underline;word-break:break-word;transition:color .3s ease}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{color:#0a58ca;text-decoration:underline}@media(max-width:768px){.contact-directory[_ngcontent-%COMP%]{margin:15px 10px;padding:15px}.contact-directory[_ngcontent-%COMP%]   h1[_ngcontent-%COMP%]{font-size:20px}.contact-directory[_ngcontent-%COMP%] > div[_ngcontent-%COMP%]{grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:10px}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]{padding:10px}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{font-size:13px}.contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   .contact-details[_ngcontent-%COMP%], .contact-directory[_ngcontent-%COMP%]   .contact[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:10px}}  .custom-toast-panel{z-index:99999!important}  .custom-toast-panel .mat-mdc-snack-bar-container{margin-bottom:30px!important;background:transparent!important}  .custom-toast-panel .toast-container{box-shadow:0 8px 24px #ffffff26!important;border-radius:8px}  .custom-toast-panel .toast-container *{background:transparent!important}  .custom-toast-panel .toast-container .toast-content .toast-icon{font-size:24px!important;background:transparent!important}  .custom-toast-panel .toast-container .toast-content .toast-message{font-size:15px;font-weight:500;background:transparent!important}  .custom-toast-panel .toast-container .toast-actions{background:transparent!important}  .custom-toast-panel .toast-container .toast-actions button{font-weight:600!important;border-radius:4px;background:transparent!important}  .custom-toast-panel .toast-container .toast-actions button:hover{opacity:.9;background:#00000014!important}  .custom-toast-panel .toast-success{background-color:#d0f4e8!important;border-left-color:#4caf50!important;color:#1b5e20!important}  .custom-toast-panel .toast-success *{background:transparent!important}  .custom-toast-panel .toast-success.toast-container{background-color:#d0f4e8!important}  .custom-toast-panel .toast-success .toast-icon-success{color:#4caf50!important}  .custom-toast-panel .toast-success button{color:#1b5e20!important;background:transparent!important}  .custom-toast-panel .toast-error{background-color:#ffdad6!important;border-left-color:#f44336!important;color:#b71c1c!important}  .custom-toast-panel .toast-error *{background:transparent!important}  .custom-toast-panel .toast-error.toast-container{background-color:#ffdad6!important}  .custom-toast-panel .toast-error .toast-icon-error{color:#f44336!important}  .custom-toast-panel .toast-error button{color:#b71c1c!important;background:transparent!important}  .custom-toast-panel .toast-warning{background-color:#fff4e5!important;border-left-color:#ff9800!important;color:#e65100!important}  .custom-toast-panel .toast-warning *{background:transparent!important}  .custom-toast-panel .toast-warning.toast-container{background-color:#fff4e5!important}  .custom-toast-panel .toast-warning .toast-icon-warning{color:#ff9800!important}  .custom-toast-panel .toast-warning button{color:#e65100!important;background:transparent!important}  [data-bs-theme=dark] .topLogoBar,   [data-bs-theme=dark] .topbar-spacer,   [data-bs-theme=dark] .airline-contact-container,   [data-bs-theme=dark] .airline-captcha-container{background-color:#101010!important}  [data-bs-theme=dark] .airline-contact-wrapper{background-color:#000!important}  [data-bs-theme=dark] .contact-directory{background-color:#000!important}  [data-bs-theme=dark] .contact-directory h1{background-color:#101010!important;color:#fff!important}  [data-bs-theme=dark] .contact-directory .contact{border:1px solid rgba(233,236,239,.0784313725)!important;background-color:#101010!important}  [data-bs-theme=dark] .contact-directory .contact h2{color:#fff!important}  [data-bs-theme=dark] .contact-directory .contact .contact-details{color:#a3a3a3!important}  [data-bs-theme=dark] .contact-directory .contact p strong{color:#b6b6b6!important}  [data-bs-theme=dark] .contact-directory .contact p{color:#bebebe!important}"]})}}return o}
3)();var Ml=["termsDialog"],Ol=["licenseDialog"],Fg=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T,R,H){this.userPreferences=e,this.router=t,this.fb=n,this.http=i,this.appInitService=c,this.footerService=p,this.translationLoader=u,this.store=x,this.masterStore=w,this.route=I,this.sanitizer=T,this.eRef=R,this.dialog=H,this.selectedRegion="",this.isLoading=!0,this.territoryLinks=[],this.errorMessage="",this.showDropdown=!1,this.languageOptions=[],this.currentLanguage=null,this.destroy$=new F}ngOnInit(){this.currentLob=this.userPreferences.getPreferences()?.defaultLob||this.userPreferences.getPreferences()?.config.lobName||"",this.currentTerritory=this.userPreferences.getPreferences()?.defaultTerritory||"",this.route.paramMap.subscribe(e=>{let t=e.get("territory"),n=e.get("language");this.currentTerritory=n||"",this.currentLanguage={languageName:t||""},console.log("\u{1F6A9} Route params - Territory:",n,"Language:",t),this.loadFromAssets(n,t)})}loadFromAssets(e,t){if(!e){this.errorMessage="Invalid territory parameter.",this.isLoading=!1;return}let n={exhibitor:"Exhibitor",television:"Television",publicity:"Publicity",inflight:"inflight",repertory:"repertory"},i=(this.currentLob||"").toLowerCase().trim(),c=n[i]||this.currentLob,p={Exhibitor:{"United States":"U.S.A.[excl t's & p's]","United Kingdom":"United Kingdom",Australia:"Australia [excl islands]","New Zealand":"New Zealand [excl islnds]",Spain:"Spain [excl CanaryAndor]",Germany:"Germany",Austria:"Austria",Brazil:"Brazil",Switzerland:"Switzerland",Global:"Global"},Publicity:{"United States":"U.S.A.[excl t's & p's]","United Kingdom":"United Kingdom",Argentina:"Argentina",Australia:"Australia [excl islands]",Austria:"Austria",Brazil:"Brazil",Germany:"Germany",Global:"Global",Kazakhstan:"Kazakhstan","New Zealand":"New Zealand [excl islnds]",Spain:"Spain [excl CanaryAndor]",Switzerland:"Switzerland"},Television:{Global:"Global"}},u=["inflight","repertory"].includes(i),x=u?"terms-of-service.html":"terms-of-use.html",w=e;u||(w=(p[c]||{})[e]||e);let I=u?`assets/Translation/terms-and-conditions/${c}/${x}`:`assets/Translation/terms-and-conditions/${c}/${w}/${x}`;console.log("\u{1F4C2} Loading terms from assets:",I),this.http.get(I,{responseType:"text"}).pipe(L(this.destroy$)).subscribe({next:T=>{this.termsHtmlContent=this.sanitizer.bypassSecurityTrustHtml(T),this.isLoading=!1},error:T=>{console.error("\u274C Terms load from assets failed:",T),this.errorMessage=`Terms of Use not available for ${this.currentLob} - ${this.currentTerritory}`,this.isLoading=!1}})}toggleLanguageDropdown(){this.showDropdown=!this.showDropdown}onClickOutside(e){this.eRef.nativeElement.contains(e.target)||(this.showDropdown=!1)}loadLanguagesFromMaster(){this.masterStore.masterLanguageCode$.pipe(L(this.destroy$)).subscribe(e=>{if(!e)return;let t=this.userPreferences.getPreferences(),n=t?.defaultLanguageId,i=t?.defaultLanguageCode?.toUpperCase();this.languageOptions=Object.entries(e).filter(([c,p])=>p?.name?.toLowerCase()!=="all languages").map(([c,p])=>({id:Number(c),languageName:p.name,code:p.code?.toUpperCase(),flag:`assets/Translation/Flags/${p.code?.toUpperCase()}.svg`})),this.currentLanguage=this.languageOptions.find(c=>c.id===n)||this.languageOptions.find(c=>c.code===i)||this.languageOptions.find(c=>c.code==="EN")||this.languageOptions[0],this.currentLanguage&&(this.translationLoader.initTranslations(),this.store.dispatch(ae({languageId:this.currentLanguage.id})))})}selectLanguage(e){if(!e)return;console.log("\u{1F310} Language selected:",e);let n={english:"EN",japanese:"JP",french:"FR",german:"DE",spanish:"ES",italian:"IT"}[e.languageName.toLowerCase()]||"EN",i=this.userPreferences.getPreferences();this.userPreferences.setPreferences(de(X({},i),{defaultLanguageCode:n,userPreferredLanguage:e.languageName})),sessionStorage.setItem("userPreferredLanguage",e.languageName),this.translationLoader.initTranslations().subscribe(()=>{console.log("\u2705 Translations reloaded for",n)}),this.store.dispatch(ae({languageId:e.id})),this.currentLanguage=e,this.showDropdown=!1,this.languageOptions=[e,...this.languageOptions.filter(c=>c.id!==e.id)],window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}}))}onFlagError(e){e.target.src="assets/images/dummy_thumbnail.jpg"}static{this.\u0275fac=function(t){return new(t||o)(_(oe),_(j),_(ue),_(Pe),_(le),_(Ye),_(ve),_(re),_(ce),_(ht),_(qe),_(se),_(xe))}}static{this.\u0275cmp=E({type:o,selectors:[["app-gah-terms-of-use
3-landing"]],viewQuery:function(t,n){if(t&1&&(G(Ml,5),G(Ol,5)),t&2){let i;V(i=A())&&(n.termsDialogTpl=i.first),V(i=A())&&(n.licenseDialogTpl=i.first)}},hostBindings:function(t,n){t&1&&C("click",function(c){return n.onClickOutside(c)},!1,Me)},standalone:!1,decls:14,vars:6,consts:[["id","legalWrap"],[1,"topbar-overlay"],["src","assets/images/sony-logo.svg"],[1,"topbar-spacer"],[1,"logo"],["action","login"],[1,"legalContainer"],[1,"acceptTermsTitle"],[3,"key"],[1,"termsWrapper"],["role","article",1,"legal-no-scroll","legal","legal-terms-scroll"],[1,"my-3","text-break",3,"innerHTML"]],template:function(t,n){t&1&&(a(0,"div",0)(1,"div",1),h(2,"img",2),s(),a(3,"div",3)(4,"div",4),h(5,"app-brand-logo",5),s()(),a(6,"div",6)(7,"h2",7),h(8,"app-common-translate",8),m(9),f(10,"uppercase"),s(),a(11,"div",9)(12,"article",10),h(13,"div",11),s()()()()),t&2&&(r(8),l("key","termsOfUseLanding.title"),r(),ze(" (",b(10,4,n.currentLanguage==null?null:n.currentLanguage.languageName),") (",n.currentTerritory,") "),r(4),l("innerHTML",n.termsHtmlContent,Ge))},dependencies:[Y,Be,Oo],styles:["#globalAssetTermsOfUse[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px;align-items:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:22px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:50%;margin:20px auto 0;text-align:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]{list-style:none;padding:0 0 0 20px;margin:0}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px;text-align:left}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;font-weight:300;color:inherit}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .lob-indicator[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:400}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:20px;display:flex}@media(max-width:992px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:80%}}@media(max-width:576px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:95%}}h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}  #legalWrap .legalContainer label.checkbox-option{align-items:flex-start!important}  #legalWrap .legalContainer label span{font-size:1.1rem!important}  #legalWrap .legalContainer label input{margin-top:8px!important;margin-right:10px;transform:scale(1.5)}  .bca-checkbox-field-container .error-message{position:absolute;right:0;width:100px;bottom:-30px}.acknowledge-text[_ngcontent-%COMP%]{display:flex;margin-bottom:14px}.topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}.legalContainer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem}.terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px}div#legalWrap[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}div#legalWrap[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:90%;margin:0 auto}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400;margin-left:30px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400}div#legalWrap[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:25px;font-size:1.6rem}div#legalWrap[_ngcontent-%COMP%]   .termsWrapper[_ngcontent-%COMP%]{padding:20px;margin-bottom:20px}div#legalWrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d32f2f;font-size:12px;margin-top:4px}.legalContainer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:1.1rem;padding:10px 20px;font-weight:800}  #legalWrap .bca-checkbox-field-container{margin:0!important;position:relative}.terms-scroll[_ngcontent-%COMP%]{max-height:60vh}.warning-terms-error[_ngcontent-%COMP%]{margin-bottom:10px}.topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px}button.globe-button[_ngcontent-%COMP%]{border:none;padding:20px;background:none}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:inline-flex}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:large;cursor:pointer;margin:0 12px}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:#7
377}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:5px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-top:3px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:3px;border:1px solid #ccc;border-radius:4px;font-size:14px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{background-color:#f5f5f5;cursor:not-allowed}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{display:flex;background:none;border:none;font-size:24px;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;z-index:1000;width:180px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.mykit[_ngcontent-%COMP%]{background-color:#0091ff0d;padding:5px 12px;border-radius:8px;display:flex;align-items:center;width:110px;gap:5px}.mykit[_ngcontent-%COMP%]   span.folder-text[_ngcontent-%COMP%]{font-size:.7rem;font-family:Poppins,sans-serif;font-weight:800}.lobTerritoryLanguage[_ngcontent-%COMP%]{display:flex;align-items:center}.language-dropdown-menu[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto;padding:0;margin:0;list-style:none;border:1px solid #ccc;background:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:8px 12px;cursor:pointer;white-space:nowrap}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-selector[_ngcontent-%COMP%]{position:relative}.globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:100%;right:0;background:#fff;border:1px solid #ddd;border-radius:6px;list-style:none;padding:4px 0;margin:4px 0 0;box-shadow:0 2px 6px #00000026;width:180px;z-index:1000}.language-option[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 10px;cursor:pointer;transition:background-color .2s ease}.language-option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.selected-language[_ngcontent-%COMP%]{background-color:#e6f7ff;font-weight:600}.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px;object-fit:cover}.disabled-text[_ngcontent-%COMP%]{color:#777}.language-dropdown-menu[_ngcontent-%COMP%]   li.language-option[_ngcontent-%COMP%]:first-child{background-color:#e9e9e9}  .legalContainer .error-message{margin:0 0 15px!important}.terms-dialog-content[_ngcontent-%COMP%]{max-height:65vh;overflow:scroll}.acknowledge-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0;margin:0!important}  .terms-dialog-header h2#mat-mdc-dialog-title-1{margin:0;display:flex;align-content:center;align-items:center;justify-content:flex-start;padding:6px 20px;background-color:#959595;color:#fff;font-size:1.2rem}  a.open-terms{font-size:1.1rem;font-weight:700}  a.open-license{font-size:1.1rem;font-weight:700;cursor:pointer}"]})}}return o})();function Pl(o,g){if(o&1){let e=y();a(0,"li",16),C("click",function(){let n=O(e).$implicit,i=d(2);return P(i.selectLanguage(n))}),a(1,"img",17),C("error",function(n){O(e);let i=d(2);return P(i.onFlagError(n))}),s(),a(2,"span"),m(3),s()()}if(o&2){let e=g.$implicit,t=d(2);k("selected-language",e.id===(t.currentLanguage==null?null:t.currentLanguage.id)),r(),l("src",e.flag,ee),r(),k("disabled-text",e.id===(t.currentLanguage==null?null:t.currentLanguage.id)),r(),S(" ",e.languageName," ")}}function xl(o,g){if(o&1&&(a(0,"ul",14),M(1,Pl,4,6,"li",15),s()),o&2){let e=d();r(),l("ngForOf",e.languageOptions)}}var jg=(()=>{class o{constructor(e,t,n,i,c,p,u,x,w,I,T,R){this.userPreferences=e,this.router=t,this.fb=n,this.http=i,this.sanitizer=c,this.appInitService=p,this.footerService=u,this.translationLoader=x,this.store=w,this.masterStore=
3I,this.eRef=T,this.dialog=R,this.isLoading=!0,this.showDropdown=!1,this.languageOptions=[],this.currentLanguage=null,this.destroy$=new F}ngOnInit(){let e=this.appInitService.getConfig();this.domainConfig=e?JSON.parse(e):null,this.loadLanguagesFromMaster()}ngOnDestroy(){this.destroy$.next(),this.destroy$.complete()}toggleLanguageDropdown(){this.showDropdown=!this.showDropdown}onClickOutside(e){this.eRef.nativeElement.contains(e.target)||(this.showDropdown=!1)}loadLanguagesFromMaster(){this.masterStore.masterLanguageCode$.pipe(L(this.destroy$)).subscribe(e=>{if(!e)return;let t=this.userPreferences.getPreferences(),n=t?.defaultLanguageId,i=t?.defaultLanguageCode?.toUpperCase();this.languageOptions=Object.entries(e).filter(([c,p])=>p?.name?.toLowerCase()!=="all languages").map(([c,p])=>({id:Number(c),languageName:p.name,code:p.code?.toUpperCase(),flag:`assets/Translation/Flags/${p.code?.toUpperCase()}.svg`})),this.currentLanguage=this.languageOptions.find(c=>c.id===n)||this.languageOptions.find(c=>c.code===i)||this.languageOptions.find(c=>c.code==="EN")||this.languageOptions[0],this.currentLanguage&&(this.translationLoader.initTranslations(),this.store.dispatch(ae({languageId:this.currentLanguage.id})))})}selectLanguage(e){if(!e)return;console.log("\u{1F310} Language selected:",e);let n={english:"EN",japanese:"JP",french:"FR",german:"DE",spanish:"ES",italian:"IT"}[e.languageName.toLowerCase()]||"EN",i=this.userPreferences.getPreferences();this.userPreferences.setPreferences(de(X({},i),{defaultLanguageCode:n,userPreferredLanguage:e.languageName})),sessionStorage.setItem("userPreferredLanguage",e.languageName),this.translationLoader.initTranslations().subscribe(()=>{console.log("\u2705 Translations reloaded for",n)}),this.store.dispatch(ae({languageId:e.id})),this.currentLanguage=e,this.showDropdown=!1,this.languageOptions=[e,...this.languageOptions.filter(c=>c.id!==e.id)],window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}}))}onFlagError(e){e.target.src="assets/images/dummy_thumbnail.jpg"}static{this.\u0275fac=function(t){return new(t||o)(_(oe),_(j),_(ue),_(Pe),_(qe),_(le),_(Ye),_(ve),_(re),_(ce),_(se),_(xe))}}static{this.\u0275cmp=E({type:o,selectors:[["app-gah-additional-document"]],hostBindings:function(t,n){t&1&&C("click",function(c){return n.onClickOutside(c)},!1,Me)},standalone:!1,decls:17,vars:3,consts:[["id","legalWrap"],[1,"topbar-overlay"],["src","assets/images/sony-logo.svg"],[1,"topbar-spacer"],[1,"logo"],["action","login"],[1,"language-selector"],["type","button",1,"globe-button",3,"click"],["class","language-dropdown-menu",4,"ngIf"],[1,"legalContainer"],[1,"acceptTermsTitle"],[3,"key"],[1,"termsWrapper"],["href","https://www.sonypictures.com/corp/pdfs/modern_slavery_transparency_statement.pdf","target","_blank",1,"document-link"],[1,"language-dropdown-menu"],[3,"selected-language","click",4,"ngFor","ngForOf"],[3,"click"],[1,"flag-icon",3,"error","src"]],template:function(t,n){t&1&&(a(0,"div",0)(1,"div",1),h(2,"img",2),s(),a(3,"div",3)(4,"div",4),h(5,"app-brand-logo",5),s(),a(6,"div",6)(7,"button",7),C("click",function(){return n.toggleLanguageDropdown()}),a(8,"mat-icon"),m(9,"language"),s()(),M(10,xl,2,1,"ul",8),s()(),a(11,"div",9)(12,"h2",10),h(13,"app-common-translate",11),s(),a(14,"div",12)(15,"a",13),h(16,"app-common-translate",11),s()()()()),t&2&&(r(10),l("ngIf",n.showDropdown),r(3),l("key","additionalDocuments.title"),r(3),l("key","additionalDocuments.ukModernSlaveryStatement"))},dependencies:[te,B,ne,Y,Be],styles:["#globalAssetTermsOfUse[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-overlay[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:30px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px;align-items:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:22px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:50%;margin:20px auto 0;text-align:center}#globalAssetTermsOfUse[_ngcontent-%COMP%]   h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]{list-style:none;padding:0 0 0 20px;margin:0}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px;text-align:left}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;text-decoration:none;font-weight:300;color:inherit}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .lob-indicator[_ngcontent-%COMP%]{font-size:1.2rem;font-weight:400}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}#globalAssetTermsOfUse[_ngcontent-%COMP%]   .globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer;padding:20px;
3display:flex}@media(max-width:992px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:80%}}@media(max-width:576px){#globalAssetTermsOfUse[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:95%}}h2.acceptTermsTitle[_ngcontent-%COMP%]{text-align:center;font-size:1.7rem;margin-bottom:20px}  #legalWrap .legalContainer label.checkbox-option{align-items:flex-start!important}  #legalWrap .legalContainer label span{font-size:1.1rem!important}  #legalWrap .legalContainer label input{margin-top:8px!important;margin-right:10px;transform:scale(1.5)}  .bca-checkbox-field-container .error-message{position:absolute;right:0;width:100px;bottom:-30px}.acknowledge-text[_ngcontent-%COMP%]{display:flex;margin-bottom:14px}.topbar-overlay[_ngcontent-%COMP%]{display:flex;background-color:#000;justify-content:flex-end;padding:8px 10px}.legalContainer[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem}.terms-list[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{margin-bottom:10px}div#legalWrap[_ngcontent-%COMP%]{position:relative;padding:0 0 10%}div#legalWrap[_ngcontent-%COMP%]   .logo[_ngcontent-%COMP%]{padding:0 20px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]{width:90%;margin:0 auto}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400;margin-left:30px}div#legalWrap[_ngcontent-%COMP%]   .legalContainer[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{font-size:1.1rem;font-weight:400}div#legalWrap[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{text-align:center;width:100%;margin-bottom:25px;font-size:1.6rem}div#legalWrap[_ngcontent-%COMP%]   .termsWrapper[_ngcontent-%COMP%]{padding:20px;margin-bottom:20px}div#legalWrap[_ngcontent-%COMP%]   .error-message[_ngcontent-%COMP%]{color:#d32f2f;font-size:12px;margin-top:4px}.legalContainer[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{font-size:1.1rem;padding:10px 20px;font-weight:800}  #legalWrap .bca-checkbox-field-container{margin:0!important;position:relative}.terms-scroll[_ngcontent-%COMP%]{max-height:60vh}.warning-terms-error[_ngcontent-%COMP%]{margin-bottom:10px}.topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px}button.globe-button[_ngcontent-%COMP%]{border:none;padding:20px;background:none}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]{list-style:none;display:inline-flex}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{font-size:large;cursor:pointer;margin:0 12px}.territoryLanguage[_ngcontent-%COMP%]   ul[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{color:#777}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]{display:flex;flex-direction:row;align-items:center;gap:5px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   label[_ngcontent-%COMP%]{font-size:14px;font-weight:700;margin-top:3px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]{padding:3px;border:1px solid #ccc;border-radius:4px;font-size:14px}.lobTerritoryLanguage[_ngcontent-%COMP%]   form[_ngcontent-%COMP%]   select[_ngcontent-%COMP%]:disabled{background-color:#f5f5f5;cursor:not-allowed}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{display:flex;background:none;border:none;font-size:24px;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;z-index:1000;width:180px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.mykit[_ngcontent-%COMP%]{background-color:#0091ff0d;padding:5px 12px;border-radius:8px;display:flex;align-items:center;width:110px;gap:5px}.mykit[_ngcontent-%COMP%]   span.folder-text[_ngcontent-%COMP%]{font-size:.7rem;font-family:Poppins,sans-serif;font-weight:800}.lobTerritoryLanguage[_ngcontent-%COMP%]{display:flex;align-items:center}.language-dropdown-menu[_ngcontent-%COMP%]{max-height:200px;overflow-y:auto;padding:0;margin:0;list-style:none;border:1px solid #ccc;background:#fff;border-radius:4px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{padding:8px 12px;cursor:pointer;white-space:nowrap}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-selector[_ngcontent-%COMP%]{position:relative}.globe-button[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:100%;right:0;background:#fff;border:1px solid #ddd;border-radius:6px;list-style:none;padding:4px 0;margin:4px 0 0;box-shadow:0 2px 6px #00000026;width:180px;z-index:1000}.language-option[_ngcontent-%COMP%]{display:flex;align-items:center;padding:6px 10px;cursor:pointer;transition:background-color .2s ease}.language-option[_ngcontent-%COMP%]:hover{background-color:#f2f2f2}.selected-language[_ngcontent-%COMP%]{background-color:#e6f7ff;font-weight:600}.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px;object-fit:cover}
3.disabled-text[_ngcontent-%COMP%]{color:#777}.language-dropdown-menu[_ngcontent-%COMP%]   li.language-option[_ngcontent-%COMP%]:first-child{background-color:#e9e9e9}  .legalContainer .error-message{margin:0 0 15px!important}.terms-dialog-content[_ngcontent-%COMP%]{max-height:65vh;overflow:scroll}.acknowledge-text[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{padding:0;margin:0!important}  .terms-dialog-header h2#mat-mdc-dialog-title-1{margin:0;display:flex;align-content:center;align-items:center;justify-content:flex-start;padding:6px 20px;background-color:#959595;color:#fff;font-size:1.2rem}  a.open-terms{font-size:1.1rem;font-weight:700}  a.open-license{font-size:1.1rem;font-weight:700;cursor:pointer}"]})}}return o})();var vl=()=>["/logout"];function yl(o,g){if(o&1){let e=y();a(0,"div",31)(1,"div",32)(2,"a",33),h(3,"img",34),f(4,"translate"),s()(),a(5,"app-language-selector",35),C("languageChange",function(n){O(e);let i=d();return P(i.onLanguageChanged(n))}),s()()}if(o&2){let e=d();r(2),l("routerLink",Fe(7,vl)),r(),l("src",(e.domainConfig==null?null:e.domainConfig.logoDark)||"assets/images/Connect_black-logo.png",ee),U("alt",b(4,5,"common.logo")),r(2),l("showToggleButton",!0)("showFlags",!1)}}function wl(o,g){if(o&1&&h(0,"div",41),o&2){let e=d().$implicit;l("innerHTML",e.answer,Ge)}}function kl(o,g){if(o&1){let e=y();a(0,"div",36)(1,"div",37),C("click",function(){let n=O(e).$implicit,i=d();return P(i.toggleItem(n))}),a(2,"span",38),m(3),s(),a(4,"mat-icon",39),m(5),s()(),M(6,wl,1,1,"div",40),s()}if(o&2){let e=g.$implicit;r(),k("expanded",e.expanded),r(2),v(e.question),r(2),v(e.expanded?"expand_less":"expand_more"),r(),l("ngIf",e.expanded)}}function Sl(o,g){if(o&1&&h(0,"div",41),o&2){let e=d().$implicit;l("innerHTML",e.answer,Ge)}}function Il(o,g){if(o&1){let e=y();a(0,"div",36)(1,"div",37),C("click",function(){let n=O(e).$implicit,i=d();return P(i.toggleItem(n))}),a(2,"span",38),m(3),s(),a(4,"mat-icon",39),m(5),s()(),M(6,Sl,1,1,"div",40),s()}if(o&2){let e=g.$implicit;r(),k("expanded",e.expanded),r(2),v(e.question),r(2),v(e.expanded?"expand_less":"expand_more"),r(),l("ngIf",e.expanded)}}function Tl(o,g){if(o&1&&h(0,"div",41),o&2){let e=d().$implicit;l("innerHTML",e.answer,Ge)}}function Ll(o,g){if(o&1){let e=y();a(0,"div",36)(1,"div",37),C("click",function(){let n=O(e).$implicit,i=d();return P(i.toggleItem(n))}),a(2,"span",38),m(3),s(),a(4,"mat-icon",39),m(5),s()(),M(6,Tl,1,1,"div",40),s()}if(o&2){let e=g.$implicit;r(),k("expanded",e.expanded),r(2),v(e.question),r(2),v(e.expanded?"expand_less":"expand_more"),r(),l("ngIf",e.expanded)}}function El(o,g){if(o&1&&h(0,"div",41),o&2){let e=d().$implicit;l("innerHTML",e.answer,Ge)}}function Dl(o,g){if(o&1){let e=y();a(0,"div",36)(1,"div",37),C("click",function(){let n=O(e).$implicit,i=d();return P(i.toggleItem(n))}),a(2,"span",38),m(3),s(),a(4,"mat-icon",39),m(5),s()(),M(6,El,1,1,"div",40),s()}if(o&2){let e=g.$implicit;r(),k("expanded",e.expanded),r(2),v(e.question),r(2),v(e.expanded?"expand_less":"expand_more"),r(),l("ngIf",e.expanded)}}var qg=(()=>{class o{constructor(e,t,n,i,c,p,u){this.appInitService=e,this.store=t,this.masterStore=n,this.eRef=i,this.translationLoader=c,this.userPreferences=p,this.translateService=u,this.searchTerm="",this.userType="",this.isLoading=!0,this.showDropdown=!1,this.languageOptions=[],this.currentLanguage=null,this.destroy$=new F,this.accessItems=[{question:this.translateService.instant("faq.shareAccountQuestion"),answer:this.translateService.instant("faq.shareAccountAnswer"),expanded:!1},{question:this.translateService.instant("faq.multipleDevicesQuestion"),answer:this.translateService.instant("faq.multipleDevicesAnswer"),expanded:!1},{question:this.translateService.instant("faq.howToLoginQuestion"),answer:this.translateService.instant("faq.howToLoginAnswer"),expanded:!1}],this.contentItems=[{question:this.translateService.instant("faq.findScreenersQuestion"),answer:this.translateService.instant("faq.findScreenersAnswer"),expanded:!1},{question:this.translateService.instant("faq.closedCaptionsQuestion"),answer:this.translateService.instant("faq.closedCaptionsAnswer"),exp
3anded:!1}],this.videoItems=[{question:this.translateService.instant("faq.fastForwardQuestion"),answer:this.translateService.instant("faq.fastForwardAnswer"),expanded:!1},{question:this.translateService.instant("faq.videoQualityQuestion"),answer:this.translateService.instant("faq.videoQualityAnswer"),expanded:!1}],this.supportItems=[{question:this.translateService.instant("faq.howToGetSupportQuestion"),answer:this.translateService.instant("faq.howToGetSupportAnswer"),expanded:!0}]}ngOnInit(){let e=this.appInitService.getConfig();this.domainConfig=e?JSON.parse(e):null,console.log("\u{1F4CA} Domain Config Loaded in FAQ Component:",this.domainConfig),this.domainConfig&&this.domainConfig.userType&&(this.userType=this.domainConfig.userType),this.loadLanguagesFromMaster()}toggleItem(e){e.expanded=!e.expanded}toggleLanguageDropdown(){this.showDropdown=!this.showDropdown}onClickOutside(e){this.eRef.nativeElement.contains(e.target)||(this.showDropdown=!1)}loadLanguagesFromMaster(){this.masterStore.masterLanguageCode$.pipe(L(this.destroy$)).subscribe(e=>{if(!e)return;let t=this.userPreferences.getPreferences(),n=t?.defaultLanguageId,i=t?.defaultLanguageCode?.toUpperCase();this.languageOptions=Object.entries(e).filter(([c,p])=>p?.name?.toLowerCase()!=="all languages").map(([c,p])=>({id:Number(c),languageName:p.name,code:p.code?.toUpperCase(),flag:`assets/Translation/Flags/${p.code?.toUpperCase()}.svg`})),this.currentLanguage=this.languageOptions.find(c=>c.id===n)||this.languageOptions.find(c=>c.code===i)||this.languageOptions.find(c=>c.code==="EN")||this.languageOptions[0],this.currentLanguage&&(this.translationLoader.initTranslations(),this.store.dispatch(ae({languageId:this.currentLanguage.id})))})}selectLanguage(e){if(!e)return;console.log("\u{1F310} Language selected:",e);let n={english:"EN",japanese:"JP",french:"FR",german:"DE",spanish:"ES",italian:"IT"}[e.languageName.toLowerCase()]||"EN",i=this.userPreferences.getPreferences();this.userPreferences.setPreferences(de(X({},i),{defaultLanguageCode:n,userPreferredLanguage:e.languageName})),sessionStorage.setItem("userPreferredLanguage",e.languageName),this.translationLoader.initTranslations().subscribe(()=>{console.log("\u2705 Translations reloaded for",n)}),this.store.dispatch(ae({languageId:e.id})),this.currentLanguage=e,this.showDropdown=!1,this.languageOptions=[e,...this.languageOptions.filter(c=>c.id!==e.id)],window.dispatchEvent(new CustomEvent("languageChanged",{detail:{language:e.languageName,refresh:!0}}))}onFlagError(e){e.target.src="assets/images/dummy_thumbnail.jpg"}static{this.\u0275fac=function(t){return new(t||o)(_(le),_(re),_(ce),_(se),_(ve),_(oe),_(_e))}}static{this.\u0275cmp=E({type:o,selectors:[["app-faq"]],hostBindings:function(t,n){t&1&&C("click",function(c){return n.onClickOutside(c)},!1,Me)},standalone:!1,decls:69,vars:17,consts:[["accessPanel",""],["contentPanel",""],["videoPanel",""],["supportPanel",""],[1,"faq-container"],["class","topbar-spacer",4,"ngIf"],[1,"header-section"],[1,"container"],[1,"row"],[1,"col-12","text-center"],[1,"main-title"],[3,"key"],[1,"search-section"],[1,"row","justify-content-center"],[1,"col-md-6"],[1,"search-box","d-flex"],["type","text",1,"form-control","search-input",3,"ngModelChange","placeholder","ngModel"],[1,"btn","search-btn"],[1,"faq-content"],[1,"faq-section"],[1,"section-panel"],[1,"section-title"],[1,"faq-items"],["class","faq-item",4,"ngFor","ngForOf"],[1,"faq-section","mt-4"],[1,"section-panel",3,"expanded"],[1,"row","mt-5"],[1,"col-12"],[1,"contact-section"],[1,"contact-divider"],["href","mailto:[email protected]"],[1,"topbar-spacer"],[1,"logo"],["href","javascript:void(0)",1,"logo-dark",3,"routerLink"],["height","22",3,"src"],["icon","translate",3,"languageChange","showToggleButton","showFlags"],[1,"faq-item"],[1,"faq-item-header",3,"click"],[1,"faq-question"],[1,"expand-icon"],["class","faq-item-content",3,"innerHTML",4,"ngIf"],[1,"faq-item-content",3,"innerHTML"]],template:function(t,n){if(t&1){let i=y();a(0,"div",4),M(1,yl,6,8,"div",5),a(2,"div",6)(3,"div",7)(4,"div",8)(5,"div",9)(6,"h1",10),h(7,"app-common-translate",11),s()()()()(),a(8,"div",12)(9,"div",7)(10,"div",13)(11,"div",14)(12,"div",15)(13,"input",16),f(14,"translate"),me("ngModelChange",function(p){return O(i),ge(n.searchTerm,p)||(n.searchTerm=p),P(p)}),s(),a(15,"button",17)(16,"mat-icon"),m(17,"search"),s()()()()()()(),a(18,"div",18)(19,"div",7)(20,"div",8)(21,"div",14)(22,"div",19)(23,"mat-expansion-panel",20,0)(25,"mat-expansion-panel-header")(26,"mat-panel-title")(27,"h2",21),h(28,"app-common-translate",11),s()()(),a(29,"div",22),M(30,kl,7,5,"div",23),s()()(),a(31,"div",24)(32,"mat-expansion-panel",20,1)(34,"mat-expansion-panel-header")(35,"mat-panel-title")(36,"h2",21),h(37,"app-common-translate",11),s()()(),a(38,"div",22),M(39,Il,7,5,"div",23),s()()()(),a(40,"div",14)(41,"div",19)(42,"mat-expansion-panel",20,2)(44,"mat-expansion-panel-header")(45,"mat-panel-title")(46,"h2",21),h(47,"app-common-translate",11),s()()(),a(48,"div",22),M(49,Ll,7,5,"div",23),s()()(),a(50,"div",24)(51,"mat-expansion-panel",25,3)(53,"mat-expansion-panel-header")(54,"mat-panel-title")(55,"h2",21),h(56,"app-common-translate",11),s()()(),a(57,"div",22),M(58,Dl,7,5,"div",23),s()()()()(),a(59,"div",26)(60,"div",27)(61,"div",28)(62,"h2",21),h(63,"a
3pp-common-translate",11),s(),h(64,"hr",29),a(65,"p"),h(66,"app-common-translate",11),a(67,"a",30),m(68,"[email protected]"),s()()()()()()()()}t&2&&(r(),l("ngIf",n.userType==="exhibitor"),r(6),l("key","faq.title"),r(6),l("placeholder",b(14,15,"faq.search")),pe("ngModel",n.searchTerm),r(15),l("key","faq.access"),r(2),l("ngForOf",n.accessItems),r(7),l("key","faq.content"),r(2),l("ngForOf",n.contentItems),r(8),l("key","faq.videoSettings"),r(2),l("ngForOf",n.videoItems),r(2),l("expanded",!0),r(5),l("key","faq.support"),r(2),l("ngForOf",n.supportItems),r(5),l("key","faq.contactUsTitle"),r(3),l("key","faq.contactUsText"))},dependencies:[te,B,Ne,ne,bt,Ve,Mt,Y,We,J],styles:[".faq-container[_ngcontent-%COMP%]{min-height:100vh;background-color:#f8f9fa}.topbar-spacer[_ngcontent-%COMP%]{display:flex;justify-content:space-between;padding:0 10px;align-items:center;background-color:#fff!important}.logo[_ngcontent-%COMP%]{padding:0 20px;background-color:#fff!important}.logo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:22px;background-color:#fff!important}.language-selector[_ngcontent-%COMP%]{position:relative;display:inline-block}.globe-button[_ngcontent-%COMP%]{background:#fff!important;border:none;cursor:pointer;padding:20px;display:flex}.globe-button[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{background:#fff!important}.language-dropdown-menu[_ngcontent-%COMP%]{position:absolute;top:35px;right:0;background:#fff!important;overflow-y:auto;height:300px;border:1px solid #ccc;list-style:none;padding:5px 0;margin:0;z-index:1000;width:180px;box-shadow:0 2px 8px #00000026}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]{display:flex;align-items:center;padding:8px 12px;cursor:pointer;color:#000;transition:background-color .2s ease}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]   img.flag-icon[_ngcontent-%COMP%]{width:20px;height:14px;margin-right:8px}.language-dropdown-menu[_ngcontent-%COMP%]   li[_ngcontent-%COMP%]:hover{background-color:#f0f0f0}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]{font-weight:700;background-color:#f9f9f9;cursor:default}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]   .disabled-text[_ngcontent-%COMP%]{color:gray}.language-dropdown-menu[_ngcontent-%COMP%]   li.selected-language[_ngcontent-%COMP%]:hover{background-color:#f9f9f9}.header-section[_ngcontent-%COMP%]{background-color:#000;padding:40px 0}.header-section[_ngcontent-%COMP%]   .main-title[_ngcontent-%COMP%]{color:#fff;font-size:2.5rem;font-weight:400;margin:0;text-align:center}.search-section[_ngcontent-%COMP%]{background:linear-gradient(135deg,#4a90e2,#357abd);padding:60px 0;margin-bottom:40px}.search-box[_ngcontent-%COMP%]{max-width:500px;margin:0 auto;border-radius:8px;overflow:hidden;box-shadow:0 4px 20px #0000001a}.search-input[_ngcontent-%COMP%]{border:none;padding:15px 20px;font-size:16px;border-radius:0}.search-input[_ngcontent-%COMP%]:focus{box-shadow:none;border:none}.search-btn[_ngcontent-%COMP%]{background-color:#000;border:none;color:#fff;padding:12px 20px;border-radius:0}.search-btn[_ngcontent-%COMP%]:hover{background-color:#333}.search-btn[_ngcontent-%COMP%]   mat-icon[_ngcontent-%COMP%]{font-size:20px}.faq-content[_ngcontent-%COMP%]{padding:0 0 80px}.faq-section[_ngcontent-%COMP%]{margin-bottom:20px}.section-panel[_ngcontent-%COMP%]{margin-bottom:20px!important;border-radius:8px!important;box-shadow:0 2px 8px #0000001a!important}.section-panel[_ngcontent-%COMP%]   .mat-expansion-panel-header[_ngcontent-%COMP%]{padding:20px!important;background-color:#f8f9fa!important}.section-panel[_ngcontent-%COMP%]   .mat-expansion-panel-header[_ngcontent-%COMP%]   .mat-panel-title[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]{font-size:20px;font-weight:700;color:#333;margin:0;text-transform:uppercase;letter-spacing:1px}.section-panel[_ngcontent-%COMP%]   .mat-expansion-panel-header[_ngcontent-%COMP%]   .mat-panel-description[_ngcontent-%COMP%]{justify-content:flex-end;align-items:center}.section-panel[_ngcontent-%COMP%]   .mat-expansion-panel-content[_ngcontent-%COMP%]   .mat-expansion-panel-body[_ngcontent-%COMP%]{padding:0!important}.faq-items[_ngcontent-%COMP%]{background:#fff}.faq-item[_ngcontent-%COMP%]{border-bottom:1px solid #e9ecef}.faq-item[_ngcontent-%COMP%]:last-child{border-bottom:none}.faq-item-header[_ngcontent-%COMP%]{display:flex;justify-content:space-between;align-items:center;padding:16px 20px;cursor:pointer;transition:background-color .2s ease}.faq-item-header[_ngcontent-%COMP%]:hover{background-color:#f8f9fa}.faq-item-header[_ngcontent-%COMP%]   .faq-question[_ngcontent-%COMP%]{font-weight:500;color:#333;font-size:15px;flex:1}.faq-item-header[_ngcontent-%COMP%]   .expand-icon[_ngcontent-%COMP%]{font-size:18px!important;color:#666!important;margin-left:10px}.faq-item-content[_ngcontent-%COMP%]{padding:0 20px 20px;color:#666;line-height:1.6}.faq-item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-bottom:12px}.faq-item-content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]:last-child{margin-bottom:0}.faq-item-content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#4a90e2;text-decoration:none}.faq-item-content[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}
3.video-screenshot[_ngcontent-%COMP%]{text-align:center}.video-screenshot[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:100%;height:auto;border-radius:8px;box-shadow:0 4px 12px #00000026}.contact-section[_ngcontent-%COMP%]{background:#fff;padding:40px;border-radius:12px;box-shadow:0 4px 20px #0000001a}.contact-section[_ngcontent-%COMP%]   .section-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;color:#333;margin-bottom:10px;text-transform:uppercase;letter-spacing:1px}.contact-section[_ngcontent-%COMP%]   .contact-divider[_ngcontent-%COMP%]{border:none;height:2px;background:linear-gradient(90deg,#4a90e2,#357abd);margin:20px 0}.contact-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:16px;color:#666;margin-bottom:0}.contact-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{color:#4a90e2;text-decoration:none;font-weight:500}.contact-section[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]:hover{text-decoration:underline}  .mat-expansion-indicator{display:none!important}  .mat-expansion-panel-header-description{margin-right:0!important}@media(max-width:768px){.header-section[_ngcontent-%COMP%]{padding:30px 0}.header-section[_ngcontent-%COMP%]   .main-title[_ngcontent-%COMP%]{font-size:2rem}.search-section[_ngcontent-%COMP%]{padding:40px 0}.faq-content[_ngcontent-%COMP%]{padding:0 0 60px}.contact-section[_ngcontent-%COMP%]{padding:30px 20px}}"]})}}return o})();var zl=()=>({background:"#222",color:"#fff",border:"1px solid #444","border-radius":"6px"});function Fl(o,g){if(o&1&&(a(0,"div")(1,"span",14),h(2,"app-common-translate",4),m(3),s()()),o&2){let e=d();r(2),l("key","forgotUsername.usernameSentPrefix"),r(),S("",e.f.email.value,".")}}function Nl(o,g){o&1&&(a(0,"div")(1,"span",15),h(2,"app-common-translate",4),s()()),o&2&&(r(2),l("key","forgotUsername.sendFailed"))}var Yg=(()=>{class o{constructor(e){this.formBuilder=e,this.usernameSent=!1,this.usernameError=!1}ngOnInit(){this.forgotUsernameForm=this.formBuilder.group({email:["",[Ue.required,Ue.email]]})}get f(){return this.forgotUsernameForm.controls}onSubmit(){this.forgotUsernameForm.valid&&(this.usernameSent=!1,this.usernameError=!1,setTimeout(()=>{this.usernameSent=!0},1e3))}static{this.\u0275fac=function(t){return new(t||o)(_(ue))}}static{this.\u0275cmp=E({type:o,selectors:[["app-forgot-username"]],standalone:!1,decls:24,vars:22,consts:[[1,"forgot-username-container"],[1,"forgot-username-wrapper"],["src","assets/images/Connect_white-logo.png",1,"sony-logo"],[1,"forgot-title"],[3,"key"],[1,"forgot-subtitle"],[1,"forgot-form",3,"ngSubmit","formGroup"],["for","email",1,"form-label"],[3,"id","placeholder","type","formControlName","mandatory","size","inputStyle"],[1,"button-group"],["type","submit",1,"btn","btn-primary","submit-btn"],[1,"back-to-login-row"],["routerLink","/login",1,"back-to-login-link"],[4,"ngIf"],[1,"text-success"],[1,"text-danger"]],template:function(t,n){t&1&&(a(0,"div",0)(1,"div",1),h(2,"img",2),f(3,"translate"),a(4,"h2",3),h(5,"app-common-translate",4),s(),a(6,"p",5),h(7,"app-common-translate",4)(8,"br")(9,"app-common-translate",4),s(),a(10,"form",6),C("ngSubmit",function(){return n.onSubmit()}),a(11,"label",7),h(12,"app-common-translate",4),s(),h(13,"bca-input-field",8),f(14,"translate"),a(15,"div",9)(16,"button",10),h(17,"app-common-translate",4),s()(),a(18,"div",11)(19,"a",12),h(20,"app-common-translate",4),s()(),M(21,Fl,4,2,"div",13)(22,Nl,3,1,"div",13),s()()(),h(23,"app-footer")),t&2&&(r(2),U("alt",b(3,17,"forgotUsername.sonyPicturesEntertainment")),r(3),l("key","forgotUsername.title"),r(2),l("key","forgotUsername.subtitleLine1"),r(2),l("key","forgotUsername.subtitleLine2"),r(),l("formGroup",n.forgotUsernameForm),r(2),l("key","forgotUsername.email"),r(),l("id","email")("placeholder",b(14,19,"forgotUsername.enterEmail"))("type","email")("formControlName","email")("mandatory",!0)("size","font-size-13")("inputStyle",Fe(21,zl)),r(4),l("key","forgotUsername.submit"),r(3),l("key","forgotUsername.backToLogin"),r(),l("ngIf",n.usernameSent),r(),l("ngIf",n.usernameError))},dependencies:[B,Ne,Ot,Ve,Ct,Kt,qt,kt,Xt,Y,J],styles:[".forgot-username-container[_ngcontent-%COMP%]{background:url(/assets/images/connect-login-bg.png) no-repeat center center fixed;background-size:cover;height:100vh;color:#fff;position:relative}.forgot-username-wrapper[_ngcontent-%COMP%]{position:absolute;
3left:100px;top:50%;transform:translateY(-50%);background-color:#181818;border-radius:2px;height:70vh;min-height:420px;width:350px;color:#fff;box-shadow:0 4px 24px #0006;padding:36px 32px 32px;text-align:center}.sony-logo[_ngcontent-%COMP%]{max-width:250px;width:100%;height:auto;display:block;margin:0 auto 20px;object-fit:contain}.button-group[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;margin-top:20px}.back-to-login-row[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:flex-start;margin-bottom:18px}.back-arrow-icon[_ngcontent-%COMP%]{width:20px;height:20px;margin-right:8px}.back-to-login-link[_ngcontent-%COMP%]{padding-top:10px;color:#fff;font-size:14px;text-decoration:none;font-weight:500}.back-to-login-link[_ngcontent-%COMP%]:hover{text-decoration:underline}.forgot-title[_ngcontent-%COMP%]{font-size:24px;font-weight:700;color:#fff;margin-bottom:8px;margin-top:12px}.forgot-subtitle[_ngcontent-%COMP%]{font-size:14px;color:#bdbdbd;margin-bottom:24px;margin-top:0;line-height:1.4}.form-label[_ngcontent-%COMP%]{font-size:14px;font-weight:500;color:#fff;margin-bottom:6px;display:block;text-align:left}.magic-link-btn[_ngcontent-%COMP%]{margin-top:20px}.text-success[_ngcontent-%COMP%]{color:#22c55e;font-size:14px;margin-top:12px;display:block}.text-danger[_ngcontent-%COMP%]{color:#ff5252;font-size:14px;margin-top:12px;display:block}.submit-btn[_ngcontent-%COMP%]{background-color:#007bff!important;border-color:#007bff!important;color:#fff!important;font-weight:600;font-size:14px;padding:10px 20px;border-radius:6px;min-width:100px;border:none;cursor:pointer}.submit-btn[_ngcontent-%COMP%]:hover{background-color:#0056b3!important;border-color:#004085!important}.submit-btn[_ngcontent-%COMP%]:focus{box-shadow:0 0 0 .2rem #007bff40}"]})}}return o})();var tu=(()=>{class o{constructor(){hi(Qi.default.loadAnimation)}static{this.\u0275fac=function(t){return new(t||o)}}static{this.\u0275mod=De({type:o})}static{this.\u0275inj=Le({imports:[ut,Dt,Zo,Xo,Zt.forChild(),Pt,Yo,at,Gn,Wi,ui,Gn,at,Do,ki,fi,tn,Eo,ti,Cn,xi,vi]})}}return o})();export{yi as a,nd as b,Si as c,Sp as d,Oi as e,xi as f,vi as g,Og as h,Ig as i,Fg as j,jg as k,qg as l,Yg as m,tu as n};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.