PageSourceSearch

https://www.echelonmanagement.com/en/chunk-4WKFYE5V.js

js echelonmanagement.com collected 2026-10-05 18:44:43 UTC 7,347 bytes, 2 lines download raw bytes

1import{a as dn,b as un}from"./chunk-PJPUVK7K.js";import{a as cn}from"./chunk-74GJVQDZ.js";import{e as sn}from"./chunk-3HVK22Q3.js";import{l as rn}from"./chunk-BTF5W6KP.js";import{B as on,Pa as ln,ja as an,m as tn,o as en,t as x}from"./chunk-C53UORQN.js";import{h as T}from"./chunk-SJPXSUWQ.js";import{p as K}from"./chunk-YBSG77R6.js";import{j as W,o as J}from"./chunk-DXTONCKZ.js";import{c as C}from"./chunk-V2N2YMJZ.js";import{I as nn,i as Q,o as X,u as Z}from"./chunk-3QAVFP5S.js";import{j as Y,l as q}from"./chunk-NKUORADV.js";import{g as R}from"./chunk-224PXFJJ.js";import{p as G}from"./chunk-2K5EWLY6.js";import{C as D,Ec as E,Fb as k,Gc as c,J as L,N as S,Sc as y,Vc as u,Xc as O,da as N,dc as s,f as P,fa as F,fc as d,g as v,jb as V,kc as w,kd as H,lc as f,mc as l,n as I,nc as M,pb as g,qa as a,rd as z,t as _,td as j,u as b,vc as A,xa as B,ya as U}from"./chunk-QXK5WLZZ.js";import{a as p,b as m}from"./chunk-MH5V57HS.js";var mn=t=>({"background-color":t});function gn(t,h){if(t&1&&(M(0,"div",0),z(1,"safe")),t&2){let n=c();w("ngStyle",H(5,mn,n.backgroundColor))("innerHtml",j(1,2,n.html,"html"),V)}}function fn(t,h){if(t&1&&(f(0,"div",1)(1,"div",2),u(2,"Channel overlay"),l(),M(3,"span",3)(4,"mat-slide-toggle",4),l()),t&2){let n=c(2);g(4),w("formControl",n.toggle)}}function Cn(t,h){if(t&1&&(s(0,gn,2,7,"div",0),s(1,fn,5,1,"div",1)),t&2){let n=h,e=c();d(n.locked?0:-1),g(),d(n.locked&&e.canLockChannel()?1:-1)}}var An=(()=>{class t{hostClass=!0;channelsIds$=new v([]);get channelIds(){return this.channelsIds$.getValue()}set channelIds(n){this.channelsIds$.next(n)}toggle=new X(!0);lockedChannelId$=new v(null);layout=a(an);http=a(G);channel=a(on);whatsNewService=a(ln);auth=a(x);security=a(en);snackbar=a(tn);lockStyle$=b([D(0,1e3),this.channelsIds$,this.channel.channels$]).pipe(_(([n,e,o])=>{if(e.length===0)return null;this.lockedChannelId$.next(this.channelIds.find($=>{let r=o[$];return r?.lockStyle?.locked&&(r?.lockStyle?.startTime?T(r?.lockStyle.startTime,new Date):!0)&&(r?.lockStyle?.endTime?!T(r?.lockStyle.endTime,new Date):!0)})??null);let i=this.lockedChannelId$.getValue();return i!==null?o[i]?.lockStyle:void 0}),F(n=>{this.toggle.setValue(!0,{emitEvent:!1}),this.layout.setChannelLocked(!!n?.locked)}));canLockChannel$=b([this.lockedChannelId$,this.auth.currentUser$]).pipe(_(([n,e])=>n&&e?this.security.canChannel(K.LockChannel,n):!1));lockStyle=C(this.lockStyle$);canLockChannel=C(this.canLockChannel$);destroy$=new P;constructor(){this.toggle.valueChanges.pipe(N(this.destroy$)).subscribe(()=>this.unlockChannel())}ngOnDestroy(){this.layout.setChannelLocked(!1),this.destroy$.next()}unlockChannel(){this.canLockChannel$.pipe(S(1)).subscribe(n=>{n||this.snackbar.open("You don't have the correct permissions"),this.channel.channels$.pipe(S(1)).subscribe(e=>{let o=this.lockedChannelId$.getValue();if(o===null)return;let i=e[o];this.whatsNewService.partialChannelUpdate(o,m(p({},i),{lockStyle:m(p({backgroundColor:"",html:""},i.lockStyle),{locked:!1})})),this.http.put(`/api/channels/${o}/lockStyle`,m(p({},i.lockStyle),{locked:!1})).pipe(L(($,r)=>(this.snackbar.open("Unable to unlock channel","TRY AGAIN").then(hn=>hn.onAction().subscribe(()=>r)),this.whatsNewService.partialChannelUpdate(o,m(p({},i),{lockStyle:m(p({backgroundColor:"",html:""},i.lockStyle),{locked:!0})})),I(null)))).subscribe(()=>{this.snackbar.open("Channel unlocked")})})})}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=k({type:t,selectors:[["ih-channel-overlay"]],hostVars:2,hostBindings:function(e,o){e&2&&y("ih-channel-overlay",o.hostClass)},inputs:{channelIds:"channelIds"},decls:1,vars:1,consts:[["id","channelOverlay",3,"ngStyle","innerHtml"],[1,"channel-curtain-raise-container","fx-layout-row"],[1,"channel-curtain-raise-text","fx-layout-row","fx-layout-align-start-center"],[1,"fx-flex"],[1,"channel-curtain-raise-btn","fx-layout-row","fx-layout-align-end-center",3,"formControl"]],template:function(e,o){if(e&1&&s(0,Cn,2,2),e&2){let i;d((i=o.lockStyle())?0:-1,i)}},dependencies:[R,un,dn,nn,Q,Z,cn],styles:["#channelOverlay[_ngcontent-%COMP%]{align-items:center;background-size:cover;display:flex;flex-direction:column;height:100vh;justify-content:center;left:0;padding-top:var(--ih-top-nav-height);position:fixed;right:0;top:0;z-index:21}  body.locked-sidenav #channelOverlay{left:320px}.channel-curtain-raise-container[_ngcontent-%COMP%]{background-color:#fff;color:#000000ab;border:4px solid #6bafe0;border-radius:8px;bottom:16px;height:64px;left:calc(50vw - 125px);padding:16px;position:fixed;width:250px;z-index:77}.channel-curtain-raise-container[_ngcontent-%COMP%]   .channel-curtain-raise-text[_ngcontent-%COMP%]{font-weight:500}.channel-curtain-raise-container[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]{z-index:77}.channel-curtain-raise-container[_ngcontent-%COMP%]   mat-slide-toggle[_ngcontent-%COMP%]     label{margin-bottom:0}  body.locked-sidenav .channel-curtain-raise-container{left:calc(50vw + 35px)}"],changeDetection:0})}return t})();function kn(t,h){if(t&1&&u(0),t&2){let n=c();O(" ",n.message," ")}}function yn(t,h){if(t&1&&u(0),t&2){let n=c();O(" Sorry, the requested ",n.contentType||"article"," was not found or access is denied ")}}function xn(t,h){if(t&1){let n=A();f(0,"button",5),E("click",function(){B(n);let o=c();return U(o.showLogin())}),u(1," Sign in "),l()}}var tt=(()=>{class t{hostClass=!0;contentType="";message;auth=a(x);loginDialog=a(sn);currentUser=C(this.auth.currentUser$);showLogin(){this.loginDialog.open()}static \u0275fac=function(e){return new(e||t)};static \u0275cmp=k({type:t,selectors:[["ih-not-found"]],hostVars:2,hostBindings:function(e,o){e&2&&y("ih-not-found",o.hostClass)},inputs:{contentType:"contentType",message:"message"}
1,decls:8,vars:2,consts:[[1,"not-found"],[1,"not-found-text"],[1,"not-found-buttons","fx-layout-row","fx-layout-align-center-center"],["mat-raised-button","","color","accent","routerLink","/home","ihTrackClick","Article not found page go home button clicked",1,"not-found-go-home-button"],["mat-raised-button","","color","accent","type","button","role","button","ihTrackClick","Article not found page sign up sign in button clicked",1,"not-found-sign-in-button"],["mat-raised-button","","color","accent","type","button","role","button","ihTrackClick","Article not found page sign up sign in button clicked",1,"not-found-sign-in-button",3,"click"]],template:function(e,o){e&1&&(f(0,"div",0)(1,"div",1),s(2,kn,1,1)(3,yn,1,1),l(),f(4,"div",2)(5,"button",3),u(6," Go home "),l(),s(7,xn,2,0,"button",4),l()()),e&2&&(g(2),d(o.message?2:3),g(5),d(o.currentUser()?-1:7))},dependencies:[J,W,q,Y,rn],styles:[".not-found[_ngcontent-%COMP%]{background-color:var(--ih-app-background-color-content);border-radius:28px;color:var(--ih-app-background-color-content-contrast);margin:0 auto 16px;width:calc(100vw - 32px);max-width:560px}.not-found[_ngcontent-%COMP%]   .not-found-text[_ngcontent-%COMP%]{font-weight:500;padding:24px 24px 0;text-align:center}.not-found[_ngcontent-%COMP%]   .not-found-buttons[_ngcontent-%COMP%]{padding:24px}.not-found[_ngcontent-%COMP%]   .not-found-sign-in-button[_ngcontent-%COMP%], .not-found[_ngcontent-%COMP%]   .not-found-go-home-button[_ngcontent-%COMP%]{margin:4px}"],changeDetection:0})}return t})();export{An as a,tt as b};
2/**i18n:c9e569e2ecdb3e0de183c72d8315eadfdcb9da9e09d5ac2d9fef9056c1853e21*/

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.