PageSourceSearch

https://www.energytcm.cz/1227.355d5019af4b742b.js

js energytcm.cz collected 2026-10-07 20:05:29 UTC 16,951 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[1227],{94961:(x,f,t)=>{t.d(f,{Dn:()=>s,Ur:()=>a,YA:()=>o,wi:()=>c});const o="[Header] GET navigation",c="[Header] GET navigation success";class s{constructor(){this.type=o}}class a{constructor(h){this.payload=h,this.type=c}}},291:(x,f,t)=>{t.d(f,{G:()=>L});var o=t(60177),c=t(63040),s=t(41635),a=t(76965),d=t(94961);const h={pages:[]};function g(l=h,R){return R.type===d.wi?{...l,pages:R.payload.items}:l}var u=t(91316),E=t(12906),n=t(54438);let i=(()=>{class l extends E.d{getNavigation(){const r=this.buildUrl(["navigation","aegisx"]);return this.get(r)}static#t=this.\u0275fac=(()=>{let r;return function(p){return(r||(r=n.xGo(l)))(p||l)}})();static#e=this.\u0275prov=n.jDH({token:l,factory:l.\u0275fac})}return l})();var m=t(14421),_=t(15539),S=t(49090),C=t(95006),P=t(83921),y=t(29262);let v=(()=>{class l{constructor(r,D,p,T,M){this.actions=r,this.navigationService=D,this.store=p,this.toastService=T,this.loaderService=M}static#t=this.\u0275fac=function(D){return new(D||l)(n.KVO(s.En),n.KVO(i),n.KVO(a.il),n.KVO(y.FS),n.KVO(y.wA))};static#e=this.\u0275prov=n.jDH({token:l,factory:l.\u0275fac})}return l})();var A=t(76613);let I=(()=>{class l extends v{constructor(){super(...arguments),this.getNavigation=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(d.YA),(0,_.M)(()=>this.loaderService.show()),(0,S.n)(()=>this.navigationService.getNavigation().pipe((0,C.T)(r=>new d.Ur(r)),(0,P.W)(r=>(0,m.of)(new A.Rn(r))))))),this.getNavigationSuccess=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(d.wi),(0,_.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#t=this.\u0275fac=(()=>{let r;return function(p){return(r||(r=n.xGo(l)))(p||l)}})();static#e=this.\u0275prov=n.jDH({token:l,factory:l.\u0275fac})}return l})();var O=t(93578);let L=(()=>{class l{static#t=this.\u0275fac=function(D){return new(D||l)};static#e=this.\u0275mod=n.$C({type:l});static#s=this.\u0275inj=n.G2t({providers:[i],imports:[o.MD,c.iI,u.U,a.md.forFeature("aegisxNavigation",g),s.Vm.forFeature([I]),O.m,y.xT,y.aM,y.LU]})}return l})()},44029:(x,f,t)=>{t.d(f,{P7:()=>g,R6:()=>u,R7:()=>s,Ty:()=>d,WF:()=>h,mS:()=>a,mr:()=>E,wX:()=>e,z3:()=>o});const o="[Toolbar] EDIT activeMode",s="[Toolbar] DISPATCH activeMode",a="[Toolbar] SET modes",d="[Toolbar] SET actions";class h{constructor(i){this.payload=i,this.type=o}}class e{constructor(i){this.payload=i,this.type=s}}class g{constructor(i){this.payload=i,this.type="[Toolbar] DISPATCH action"}}class u{constructor(i){this.payload=i,this.type=a}}class E{constructor(i){this.payload=i,this.type=d}}},1173:(x,f,t)=>{t.d(f,{H:()=>o,z:()=>c});var o=function(s){return s[s.View=0]="View",s[s.Edit=1]="Edit",s[s.Delete=2]="Delete",s}(o||{});const c="active_toolbar_mode";var s;(s=o||(o={})).keys=function a(){return Object.keys(s).map(h=>{const e=parseInt(h,10);if(e>=0)return{key:e,value:s[e]}}).filter(h=>!!h)},s.toKey=function d(){}},65382:(x,f,t)=>{t.d(f,{h:()=>g});var o=t(76965),c=t(45286),s=t(7605),a=t(1173),d=t(44029),h=t(54438),e=t(71829);let g=(()=>{class u{constructor(n,i){this.store=n,this.permissionService=i,this.destroy=new c.B7,this.TOOLBAR_MODES=a.H,this.ngOnInit()}ngOnInit(){this.store.pipe((0,o.Lt)(n=>n.aegisxToolbar.activeMode),(0,s.Q)(this.destroy)).subscribe(n=>{this.activeMode=n}),this.setToolbarActions([])}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}isModeActive(n){return this.activeMode===n}isViewMode(){return this.activeMode===a.H.View}isEditMode(){return this.activeMode===a.H.Edit}isDeleteMode(){return this.activeMode===a.H.Delete}isSelectable(){return this.isEditMode()||this.isDeleteMode()}setToolbarModes(n){this.permissionService.canWrite()||(n=[a.H.View]),this.store.dispatch(new d.R6({modes:n}))}setToolbarActions(n){this.store.dispatch(new d.mr({actions:n}))}modeToString(n){return n?this.TOOLBAR_MODES[n]:this.TOOLBAR_MODES[this.activeMode]}static#t=this.\u0275fac=function(i){return new(i||u)(h.KVO(o.il),h.KVO(e.n))};static#e=this.\u0275prov=h.jDH({token:u,factory:u.\u0275fac})}return u})()},93578:(x,f,t)=>{t.d(f,{m:()=>y});var o=t(60177),c=t(76965),s=t(41635),a=t(1173),d=t(44029);const h={actions:[],modes:[],activeMode:localStorage.getItem(a.z)?parseInt(localStorage.getItem(a.z)):a.H.View};function g(v=h,A){switch(A.type){case d.z3:return{...v,activeMode:A.payload.mode};case d.mS:return{...v,modes:A.payload.modes};case d.Ty:return{...v,actions:A.payload.actions};default:return v}}
1var u=t(54015),E=t(65382),n=t(29262),i=t(57421),m=t(49090),_=t(8826),S=t(73727),C=t(54438);let P=(()=>{class v{constructor(I,O,L,l){this.actions=I,this.toolbarService=O,this.store=L,this.toastService=l,this.setMode=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(d.mS),(0,i.E)(this.store.select(R=>R.aegisxToolbar.activeMode)),(0,m.n)(([R,r])=>R.payload.modes.length>0&&-1===R.payload.modes.indexOf(r)?[new d.wX({mode:R.payload.modes[0]}),new _.rW({text:"Aktu\xe1ln\u011b aktivn\xed m\xf3d nen\xed na t\xe9to str\xe1nce podporov\xe1n. M\xf3d byl p\u0159epnut do prvn\xedho dostupn\xe9ho.",type:S.Z.Info,duration:4e3})]:[]))),this.dispatchMode=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(d.R7),(0,m.n)(R=>(localStorage.setItem(a.z,R.payload.mode.toString()),[new d.WF({mode:R.payload.mode})]))))}static#t=this.\u0275fac=function(O){return new(O||v)(C.KVO(s.En),C.KVO(E.h),C.KVO(c.il),C.KVO(n.FS))};static#e=this.\u0275prov=C.jDH({token:v,factory:v.\u0275fac})}return v})(),y=(()=>{class v{static#t=this.\u0275fac=function(O){return new(O||v)};static#e=this.\u0275mod=C.$C({type:v});static#s=this.\u0275inj=C.G2t({providers:[E.h],imports:[o.MD,n.xT,n.o6,u.u,c.md.forFeature("aegisxToolbar",g),s.Vm.forFeature([P])]})}return v})()},31227:(x,f,t)=>{t.r(f),t.d(f,{LoginModule:()=>R});var o=t(60177),c=t(89417),s=t(63040),a=t(45286),d=t(7605),h=t(46150),e=t(54438),g=t(76965),u=t(63649),E=t(26588),n=t(97519),i=t(23509),m=t(90113),_=t(92721),S=t(36001);const C=()=>["/aegisx","dashboard"];function P(r,D){if(1&r){const p=e.RV6();e.j41(0,"form",1)(1,"mcrai-panel")(2,"mcrai-panel-header")(3,"h1"),e.EFF(4,"Rubicon 3000"),e.k0s()(),e.j41(5,"mcrai-panel-content"),e.nrm(6,"mcrai-input",3)(7,"mcrai-input",4),e.k0s(),e.j41(8,"mcrai-panel-actions")(9,"button",5),e.bIt("click",function(){e.eBV(p);const M=e.XpG();return e.Njj(M.login())}),e.EFF(10,"p\u0159ihl\xe1sit"),e.k0s()()()()}if(2&r){const p=e.XpG();e.Y8G("formGroup",p.form),e.R7$(6),e.Y8G("control",p.controls.username)("errors",p.ERRORS.username),e.R7$(),e.Y8G("control",p.controls.password)("errors",p.ERRORS.password)}}function y(r,D){if(1&r){const p=e.RV6();e.j41(0,"div",2)(1,"mcrai-icon",6),e.EFF(2,"account_circle"),e.k0s(),e.j41(3,"span",7),e.EFF(4,"P\u0159ihl\xe1\u0161en jako:"),e.k0s(),e.j41(5,"span",8),e.EFF(6),e.k0s(),e.j41(7,"div",9)(8,"button",10),e.bIt("click",function(){e.eBV(p);const M=e.XpG();return e.Njj(M.logout())}),e.EFF(9,"odhl\xe1sit"),e.k0s(),e.j41(10,"a",11),e.EFF(11,"vstoupit"),e.k0s()()()}if(2&r){const p=e.XpG();e.R7$(6),e.JRh(p.user.nickname),e.R7$(4),e.Y8G("routerLink",e.lJ4(2,C))}}const A=[{path:"",component:(()=>{class r{get controls(){return this.form.controls}constructor(p){this.store=p,this.destroy=new a.B7,this.ERRORS={username:{required:"U\u017eivatelsk\xe9 jm\xe9no mus\xed b\xfdt vypln\u011bno"},password:{required:"Heslo mus\xed b\xfdt vypln\u011bno"}},this.form=new c.J3({username:new c.hs(null,c.k0.required),password:new c.hs(null,c.k0.required)})}ngOnInit(){this.store.select(p=>p.sharedUser.authenticated).pipe((0,d.Q)(this.destroy)).subscribe(p=>this.user=p)}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}login(){this.store.dispatch(new h.az({credentials:this.form.value}))}logout(){this.store.dispatch(new h.fQ)}isAuthenticated(){return this.user&&!this.user.anonym}static#t=this.\u0275fac=function(T){return new(T||r)(e.rXU(g.il))};static#e=this.\u0275cmp=e.VBU({type:r,selectors:[["aegisx-login"]],decls:3,vars:2,consts:[[1,"login"],[1,"form",3,"formGroup"],[1,"user"],["type","text","placeholder","P\u0159ihla\u0161ovac\xed jm\xe9no",3,"control","errors"],["type","password","placeholder","Heslo",3,"control","errors"],["mcrai-button","positive",3,"click"],[1,"user__icon"],[1,"user__text"],[1,"user__name"],[1,"user__actions"],["mcrai-button","negative",3,"click"],["mcrai-button","positive",3,"routerLink"]],template:function(T,M){1&T&&(e.j41(0,"div",0),e.DNE(1,P,11,5,"form",1)(2,y,12,3,"div",2),e.k0s()),2&T&&(e.R7$(),e.vxM(1,M.isAuthenticated()?-1:1),e.R7$(),e.vxM(2,M.isAuthenticated()?2:-1))},dependencies:[s.Wk,u.Q,E.R,c.qT,c.cb,c.j4,n.N,i.g,m.l,_.h,S.B],styles:[".login[_ngcontent-%COMP%]{position:fixed;inset:0;z-index:1;margin:auto;width:calc(100% - 40px);max-height:calc(100% - 40px)}@media (min-width: 480px){.login[_ngcontent-%COMP%]{max-width:320px;max-height:430px}}.form[_ngcontent-%COMP%]{height:100%}.user[_ngcontent-%COMP%]{display:flex;flex-direction:column;align-items:center}.user__icon[_ngcontent-%COMP%]{font-size:120px!important;margin-bottom:10px}.user__name[_ngcontent-%COMP%]{font-size:32px}.user__actions[_ngcontent-%COMP%]{display:flex;margin-top:20px}"]})}return r})()}];let I=(()=>{class r{static#t=this.\u0275fac=function(T){return new(T||r)};static#e=this.\u0275mod=e.$C({type:r});static#s=this.\u0275inj=e.G2t({imports:[s.iI.forChild(A),s.iI]})}return r})();var O=t(291),L=t(50289),l=t(29262);let R=(()=>{class r{static#t=this.\u0275fac=function(T){return new(T||r)};static#e=this.\u0275mod=e.$C({type:r});static#s=this.\u0275inj=e.G2t({imports:[o.MD,I,O.G,L.G,c.X1,l.B4,l.xT,l.pj,l.LU,l.o6]})}return r})()},92721:(x,f,t)=>{t.d(f,{h:()=>s});var o=t(54438);const c=["*"];let s=(()=>{class a{constructor(h,e){this._renderer=h,this._elRef=e,this.PANEL_ACTIONS_CLASS="mcrai-panel__actions"}ngOnInit(){this._renderer.addClass(this._elRef.nativeElement,this.PANEL_ACTIONS_CLASS)}static#t=this.\u0275fac=function(e){return new(e||a)(o.rXU(o.sFG),o.rXU(o.aKT))};static#e=this.\u0275cmp=o.VBU({type:a,selectors:[["mcrai-panel-actions"]],ngContentSelectors:c,decls:1,vars:0,template:function(e,g){1&e&&(o.NAR(),o.SdG(0))},styles:[".mcrai-panel__actions{display:flex;justify-content:flex-end;align-items:center;padding:0 20px;height:65px;margin-top:-1px}\n"],encapsulation:2,changeDetection:0})}return a})()},36001:(x,f,t)=>{t.d(f,{B:()=>s});var o=t(54438);const c=["*"];let s=(()=>{class a{constructor(h,e){this._renderer=h,this._elRef=e,this.PANEL_CONTENT_CLASS="mcrai-panel__content"}ngOnInit(){this._renderer.addClass(this._elRef.nativeElement,this.PANEL_CONTENT_CLASS)}static#t=this.\u0275fac=function(e){return new(e||a)(o.rXU(o.sFG),o.rXU(o.aKT))};static#e=this.\u0275cmp=o.VBU({type:a,selectors:[["mcrai-panel-content"]],ngContentSelectors:c,decls:1,vars:0,template:function(e,g){1&e&&(o.NAR(),o.SdG(0))},styles:[".mcrai-panel__content{display:block;padding:20px;flex:1 1 auto;margin-top:-1px}\n"],encapsulation:2,changeDetection:0})}return a})()},90113:(x,f,t)=>{t.d(f,{l:()=>g});var o=t(73586),c=t(2800),s=t(49969),a=t(54438);const d=["*",[["",8,"after-arrow"]]],h=["*",".after-arrow"];function e(u,E){if(1&u&&a.nrm(0,"div",1),2&u){const n=a.XpG();a.AVh("arrow-is-relative-to-text",n.arrowIsRelativeToText),a.Y8G("@rotate",n.collapsed)}}let g=(()=>{class u{constructor(n,i,m){this._renderer=n,this._elRef=i,this._changeDetectorRef=m,this.PANEL_HEADER_CLASS="mcrai-panel__header",this.arrowIsRelativeToText=!1,this.collapsable=!1,this.collapsed=!1}ngOnInit(){this._renderer.addClass(this._elRef.nativeElement,this.PANEL_HEADER_CLASS)}setCollapsable(){this.collapsable=!0}setCollapsed(n){this.collapsed=n,this._changeDetectorRef.markForCheck()}setArrowIsRelativeToText(n){this.arrowIsRelativeToText=n}ngAfterViewInit(){this.clickEvent=(0,o.R)(this._elRef.nativeElement,"click")}static#t=this.\u0275fac=function(i){return new(i||u)(a.rXU(a.sFG),a.rXU(a.aKT),a.rXU(a.gRc))};static#e=this.\u0275cmp=a.VBU({type:u,selectors:[["mcrai-panel-header"]],hostVars:4,hostBindings:function(i,m){2&i&&a.AVh("mcrai-panel__header--collapsable",m.collapsable)("mcrai-panel__header--collapsed",m.collapsed)},ngContentSelectors:h,decls:3,vars:1,consts:[[1,"mcrai-panel__arrow",3,"arrow-is-relative-to-text"],[1,"mcrai-panel__arrow"]],template:function(i,m){1&i&&(a.NAR(d),a.SdG(0),a.DNE(1,e,1,3,"div",0),a.SdG(2,1)),2&i&&(a.R7$(),a.vxM(1,m.collapsable?1:-1))},styles:[".mcrai-panel__header{display:flex;justify-content:flex-start;align-items:center;padding:0 20px;min-height:65px}@media (max-width: 479px){.mcrai-panel__header{padding:0 16px}}.mcrai-panel__header--collapsable{cursor:pointer;position:relative;-webkit-user-select:none;user-select:none}.mcrai-panel__arrow{margin:15px 16px 16px auto}.mcrai-panel__arrow.arrow-is-relative-to-text{margin-right:auto;margin-left:16px}\n"],encapsulation:2,data:{animation:[(0,s.hZ)("rotate",[(0,s.wk)("false",(0,s.iF)({transform:"rotateX(180deg)"})),(0,s.wk)("true",(0,s.iF)({transform:"rotateX(0)"})),(0,s.kY)("0 => 1",(0,s.i0)(`${c.e.ENTERING} ${c.r.DECELERATION_CURVE}`)),(0,s.kY)("1 => 0",(0,s.i0)(`${c.e.LEAVING} ${c.r.ACCELERATION_CURVE}`))])]},changeDetection:0})}return u})()},23509:(x,f,t)=>{t.d(f,{g:()=>u});
1var o=t(54438),c=t(45286),s=t(49969),a=t(7605),d=t(2800),h=t(90113);const e=[[["mcrai-panel-header"]],[["mcrai-panel-actions","top",""]],[["mcrai-panel-content"]],[["mcrai-panel-footer"]],[["mcrai-panel-actions"]]],g=["mcrai-panel-header","mcrai-panel-actions[top]","mcrai-panel-content","mcrai-panel-footer","mcrai-panel-actions"];let u=(()=>{class E{set color(i){this._renderer.addClass(this._elRef.nativeElement,`${this.PANEL_CLASS}--${i}`)}set collapsable(i){"undefined"!==i&&!1!==i&&(this._collapsable=!0)}set arrowIsRelativeToText(i){"undefined"!==i&&!1!==i&&(this._arrowIsRelativeToText=!0)}set collapsed(i){this._collapsed=i}set bordered(i){this._bordered=i}get collaps(){return this._collapsed}constructor(i,m,_){this._renderer=i,this._elRef=m,this._changeDetectorRef=_,this.PANEL_CLASS="mcrai-panel",this._collapsable=!1,this._collapsed=!1,this._destroy=new c.B7,this._arrowIsRelativeToText=!1,this._bordered="bordered",this.collapsableToggle=!1,this.collapsedEmitter=new o.bkB}ngOnInit(){this._renderer.addClass(this._elRef.nativeElement,this.PANEL_CLASS),this._renderer.addClass(this._elRef.nativeElement,this._bordered)}ngAfterContentInit(){this.header&&(this._collapsable&&this.header.setCollapsable(),this._collapsed&&this.header.setCollapsed(this._collapsed),this._arrowIsRelativeToText&&this.header.setArrowIsRelativeToText(!0))}ngAfterViewInit(){this.header&&this.header.clickEvent.pipe((0,a.Q)(this._destroy)).subscribe(()=>this.toggleCollapsed())}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}isCollapsed(){return(this.collapsableToggle&&!this._collapsable||this._collapsable)&&this._collapsed}toggleCollapsed(){this._collapsable&&(this._collapsed=!this._collapsed,this.header.setCollapsed(this._collapsed),this._changeDetectorRef.destroyed||this._changeDetectorRef.detectChanges()),this.collapsedEmitter.emit(this._collapsed)}open(){this._collapsable&&(this._collapsed=!1,this.header.setCollapsed(!1),this._changeDetectorRef.destroyed||this._changeDetectorRef.detectChanges())}close(){this._collapsable&&(this._collapsed=!0,this.header.setCollapsed(!0),this._changeDetectorRef.destroyed||this._changeDetectorRef.detectChanges())}static#t=this.\u0275fac=function(m){return new(m||E)(o.rXU(o.sFG),o.rXU(o.aKT),o.rXU(o.gRc))};static#e=this.\u0275cmp=o.VBU({type:E,selectors:[["mcrai-panel"]],contentQueries:function(m,_,S){if(1&m&&o.wni(S,h.l,5),2&m){let C;o.mGM(C=o.lsd())&&(_.header=C.first)}},hostVars:2,hostBindings:function(m,_){2&m&&o.AVh("mcrai-panel--collapsed",_.collaps)},inputs:{collapsableToggle:"collapsableToggle",color:"color",collapsable:"collapsable",arrowIsRelativeToText:"arrowIsRelativeToText",collapsed:"collapsed",bordered:"bordered"},outputs:{collapsedEmitter:"collapsedEmitter"},ngContentSelectors:g,decls:6,vars:1,consts:[[1,"mcrai-panel__overflow"]],template:function(m,_){1&m&&(o.NAR(e),o.SdG(0),o.j41(1,"div",0),o.SdG(2,1),o.SdG(3,2),o.SdG(4,3),o.SdG(5,4),o.k0s()),2&m&&(o.R7$(),o.Y8G("@slide",!_.isCollapsed()))},styles:[".mcrai-panel{display:flex;flex-direction:column;align-items:stretch;overflow:hidden}.mcrai-panel.smaller .mcrai-panel__header{padding:8px 6px 8px 16px;min-height:50px}.mcrai-panel.smaller .mcrai-panel__content{padding:0 16px 16px}.mcrai-panel[collapsable]{height:auto}.mcrai-panel__overflow{position:relative;display:flex;flex-direction:column;flex:1 1 auto}.mcrai-panel__header--collapsed+* .mcrai-panel-content{position:absolute}.mcrai-panel.unbordered .mcrai-panel__header,.mcrai-panel.unbordered .mcrai-panel__content,.mcrai-panel.unbordered .mcrai-panel__footer,.mcrai-panel.unbordered .mcrai-panel__actions{border:0!important}\n"],encapsulation:2,data:{animation:[(0,s.hZ)("slide",[(0,s.wk)("true",(0,s.iF)({height:"*"})),(0,s.wk)("false",(0,s.iF)({height:0})),(0,s.kY)("0 => 1",(0,s.i0)(`${d.e.ENTERING} ${d.r.STANDARD_CURVE}`)),(0,s.kY)("1 => 0",(0,s.i0)(`${d.e.ENTERING} ${d.r.STANDARD_CURVE}`))])]},changeDetection:0})}return E})()}}]);

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.