PageSourceSearch

https://www.energytcm.cz/46.a3762691fdd3ab1f.js

js energytcm.cz collected 2026-10-07 20:05:20 UTC 14,071 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[46],{35119:(v,d,i)=>{i.d(d,{w:()=>r});var e=i(76965),c=i(45286),u=i(7605),m=i(58728),p=i(47292),t=i(54438),h=i(59788),O=i(83891);function l(o,a){if(1&o&&(t.j41(0,"mcrai-option",2),t.EFF(1),t.k0s()),2&o){const n=a.$implicit;t.Y8G("value",n.id),t.R7$(),t.SpI(" ",n.name," ")}}function g(o,a){if(1&o){const n=t.RV6();t.j41(0,"mcrai-select",1),t.bIt("pageChange",function(C){t.eBV(n);const s=t.XpG();return t.Njj(s.onPageChange(C))}),t.nrm(1,"mcrai-option",2),t.Z7z(2,l,2,2,"mcrai-option",2,t.fX1),t.k0s()}if(2&o){const n=t.XpG();t.Mz_("placeholder","Role",n.required?" *":"",""),t.Y8G("control",n.control)("multiple",n.multiple)("paginator",n.paginator),t.R7$(),t.Y8G("value",null),t.R7$(),t.Dyx(n.roles)}}let r=(()=>{class o{get control(){return this._control}set control(n){this._control=n}get roles(){const n=this.rolesContainer?this.rolesContainer.items:[];return n.some(C=>"no_role"===C.id)||n.unshift({id:"no_role",name:"Role nep\u0159i\u0159azena",description:"Speci\xe1ln\xed role ur\u010den\xe1 pro filtraci u\u017eivatel\u016f bez p\u0159i\u0159azen\xe9 role",permissions:[]}),n}get paginator(){return this.rolesContainer?this.rolesContainer.paginator:null}constructor(n){this.store=n,this.destroy=new c.B7}ngOnInit(){this.getRoles(),this.selectRoles()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}getRoles(n=1){this.store.dispatch(new p.gh({page:n}))}selectRoles(){this.store.pipe((0,e.Lt)(n=>n.aegisxBaseRoles.roles),(0,u.Q)(this.destroy),(0,m.p)(n=>!!n)).subscribe(n=>this.rolesContainer=n)}onPageChange(n){this.getRoles(n)}static#e=this.\u0275fac=function(_){return new(_||o)(t.rXU(e.il))};static#t=this.\u0275cmp=t.VBU({type:o,selectors:[["aegisx-select-role"]],inputs:{control:"control",multiple:"multiple",required:"required"},decls:1,vars:1,consts:[[3,"placeholder","control","multiple","paginator"],[3,"pageChange","placeholder","control","multiple","paginator"],[3,"value"]],template:function(_,C){1&_&&t.DNE(0,g,4,6,"mcrai-select",0),2&_&&t.vxM(0,null!=C.roles&&C.roles.length?0:-1)},dependencies:[h.w,O.P],styles:["[_nghost-%COMP%]{display:block;width:100%}"]})}return o})()},37282:(v,d,i)=>{i.d(d,{N:()=>t});var e=i(52059),c=i(54438),u=i(89417),m=i(93630);function p(h,O){if(1&h&&c.nrm(0,"editor",0),2&h){const l=c.XpG();c.Y8G("formControl",l.control)("inline",!1)("init",l.editorOptions)}}let t=(()=>{class h{get control(){return this._control}set control(l){this._control=l}get editorOptions(){return Object.assign({plugins:"fullscreen lists link image media table charmap help code emoticons preview quickbars searchreplace visualblocks",toolbar:["fullscreen bold italic underline strikethrough subscript superscript | fontfamily fontsize forecolor | blocks align numlist bullist outdent indent | link image media table | charmap emoticons hr selectall removeformat | help code preview visualblocks | undo redo"],color_cols:7,color_map:["rgb(0, 0, 0)","rgb(0, 0, 0)","rgb(26, 26, 26)","rgb(26, 26, 26)","rgb(154, 154, 154)","rgb(154, 154, 154)","rgb(255, 255, 255)","rgb(255, 255, 255)","rgb(201, 25, 1)","rgb(201, 25, 1)","#61BD6D","#61BD6D","#1ABC9C","#1ABC9C","#54ACD2","#54ACD2","#2C82C9","#2C82C9","#9365B8","#9365B8","#475577","#475577","#CCCCCC","#CCCCCC","#41A85F","#41A85F","#00A885","#00A885","#3D8EB9","#3D8EB9","#2969B0","#2969B0","#553982","#553982","#28324E","#28324E","#F7DA64","#F7DA64","#FBA026","#FBA026","#EB6B56","#EB6B56","#E25041","#E25041","#A38F84","#A38F84","#EFEFEF","#EFEFEF","#FAC51C","#FAC51C","#F37934","#F37934","#D14841","#D14841","#B8312F","#B8312F","#7C706B","#7C706B","#D1D5D8","#D1D5D8","#7d9c41","#7d9c41"],images_upload_url:`${this.apiUrl}/smdimages?token=${this.token.id}`,images_upload_base_path:"/api/files/img/",min_height:537,language:"cs",image_advtab:!0,image_class_list:[{title:"Nic",value:""},{title:"Okraj prav\xfd a doln\xed 12px",value:"margin-rd-12"},{title:"Okraj lev\xfd a doln\xed 12px",value:"margin-ld-12"},{title:"Otev\u0159\xedt v nov\xe9m okn\u011b",value:"open-new-tab"},{title:"Otev\u0159\xedt v nov\xe9m okn\u011b, Okraj prav\xfd a doln\xed 12px",value:"open-new-tab margin-rd-12"},{title:"Otev\u0159\xedt v nov\xe9m okn\u011b, Okraj lev\xfd a doln\xed 12px",value:"open-new-tab margin-ld-12"}],quickbars_selection_toolbar:"bold italic underline strikethrough subscript superscript removeformat | forecolor align",quickbars_insert_toolbar:!1},this.options)}constructor(l,g){this.apiUrl=l,this.token=g,this.item=null,this.options={},this.canInit=!1}ngOnInit(){}ngAfterViewInit(){this.canInit=!0}isAdd(){return!this.item}static#e=this.\u0275fac=function(g){return new(g||h)(c.rXU("API_URL"),c.rXU(e.CV))};static#t=this.\u0275cmp=c.VBU({type:h,selectors:[["aegisx-smd-editor"]],inputs:{item:"item",endpoint:"endpoint",control:"control",options:"options"},decls:1,vars:1,consts:[["apiKey","mqlljtdcekpmpvx4prybguqx11tj5zrqnqvigcic7bsole36","title","text",3,"formControl","inline","init"]],template:function(g,r){1&g&&c.DNE(0,p,1,3,"editor",0),2&g&&c.vxM(0,r.canInit?0:-1)},dependencies:[u.BC,u.l_,m.xn],styles:["[_nghost-%COMP%]     .fr-view h1, [_nghost-%COMP%]     .fr-element h1{font-size:34px;font-weight:300;text-transform:uppercase;margin:10px 0}[_nghost-%COMP%]     .fr-view h2, [_nghost-%COMP%]     .fr-element h2{font-size:24px;font-weight:300;color:#a1135e;margin:10px 0}[_nghost-%COMP%]     .fr-view h3, [_nghost-%COMP%]     .fr-element h3{font-size:20px;font-weight:300;margin:10px 0}[_nghost-%COMP%]     .fr-view p, [_nghost-%COMP%]     .fr-element p{font-weight:400;color:#000!important}[_nghost-%COMP%]     .fr-view ul, [_nghost-%COMP%]     .fr-view ol, [_nghost-%COMP%]     .fr-element ul, [_nghost-%COMP%]     .fr-element ol{padding-left:20px;color:#000!important}[_nghost-%COMP%]     .fr-view b, [_nghost-%COMP%]     .fr-view strong, [_nghost-%COMP%]     .fr-element b, [_nghost-%COMP%]     .fr-element strong{font-weight:700}[_nghost-%COMP%]     .fr-view table, [_nghost-%COMP%]     .fr-element table{border-collapse:collapse}[_nghost-%COMP%]     .fr-view td, [_nghost-%COMP%]     .fr-view th, [_nghost-%COMP%]     .fr-element td, [_nghost-%COMP%]     .fr-element th{padding:2px 5px;border:1px solid #D2D0E7}[_nghost-%COMP%]     .fr-view img, [_nghost-%COMP%]     .fr-element img{margin:0;max-width:100%!important;height:auto}[_nghost-%COMP%]     .fr-view img.margin-rd-12, [_nghost-%COMP%]     .fr-element img.margin-rd-12{margin:0 12px 12px 0}[_nghost-%COMP%]     .fr-view img.margin-ld-12, [_nghost-%COMP%]     .fr-element img.margin-ld-12{margin:0 0 12px 12px}"]})}return h})()},94793:(v,d,i)=>{i.d(d,{J:()=>n});var e=i(54438),c=i(76965),u=i(45286),m=i(7605),p=i(95006),t=i(58728),h=i(69207),O=i(95894),l=i(59788),g=i(83891);function r(_,C){1&_&&e.nrm(0,"mcrai-option",1),2&_&&e.Y8G("value",null)}function o(_,C){if(1&_){const s=e.RV6();e.j41(0,"mcrai-option",2),e.bIt("selection",function(f){e.eBV(s);const E=e.XpG();return e.Njj(E.onSelection(f))}),e.EFF(1),e.k0s()}if(2&_){const s=C.$implicit;e.Y8G("value",s.id),e.R7$(),e.Lme(" ",s.username," - ",s.nickname," ")}}let a=0,n=(()=>{class _{get control(){return this._control}set control(s){this._control=s}get placeholder(){let s="U\u017eivatel";return s+=this.multiple?"\xe9":"",s+=this.required?" *":"",s}get users(){return this._users?this._users.items:[]}get paginator(){return this._users?this._users.paginator:null}constructor(s){this.store=s,this.destroy=new u.B7,this.id=++a+"",this.nullable=!0,this.required=!1,this.selection=new e.bkB}ngOnInit(){this.store.dispatch(new h.GP({id:this.id})),this.getUsers(),this.selectUsers()}ngOnDestroy(){this.destroy.next(),this.destroy.complete()}ngOnChanges(s){s.hasOwnProperty("roles")&&(this.store.dispatch(new h.HP({id:this.id,filter:{q:null,roles:this.roles}})),this.getUsers())}getUsers(s=1){this.store.dispatch(new h.TB({id:this.id,page:s}))}selectUsers(){this.store.pipe((0,c.Lt)(O.VR),(0,m.Q)(this.destroy),(0,p.T)(s=>s[this.id]),(0,t.p)(s=>!!s)).subscribe(s=>this._users=s)}onPageChange(s){this.getUsers(s)}onQueryChange(s){this.store.dispatch(new h.HP({id:this.id,filter:{q:s,roles:this.roles}})),this.getUsers()}onSelection(s){this.selection.emit(s.value?this.users.find(b=>b.id===s.value):null)}static#e=this.\u0275fac=function(b){return new(b||_)(e.rXU(c.il))};static#t=this.\u0275cmp=e.VBU({type:_,selectors:[["aegisx-select-user"]],inputs:{control:"control",roles:"roles",multiple:"multiple",nullable:"nullable",required:"required"},outputs:{selection:"selection"},features:[e.OA$],decls:4,vars:5,consts:[[3,"pageChange","queryChange","placeholder","control","paginator","multiple"],[3,"value"],[3,"selection","value"]],template:function(b,f){1&b&&(e.j41(0,"mcrai-select",0),e.bIt("pageChange",function(k){return f.onPageChange(k)})("queryChange",function(k){return f.onQueryChange(k)}),e.DNE(1,r,1,1,"mcrai-option",1),e.Z7z(2,o,2,3,"mcrai-option",1,e.fX1),e.k0s()),2&b&&(e.Y8G("placeholder",f.placeholder)("control",f.control)("paginator",f.paginator)("multiple",f.multiple),e.R7$(),e.vxM(1,f.nullable?1:-1),e.R7$(),e.Dyx(f.users))},dependencies:[l.w,g.P],styles:["[_nghost-%COMP%]{display:block;width:100%}"]})}return _})()},20832:(v,d,i)=>{function e(c,u){const m=c.filter(p=>p.id!==u.id);return m.length<c.length?m:c.concat(u)}i.d(d,{g:()=>e})},6646:(v,d,i)=>{i.d(d,{s:()=>c});var e=i(54438);let c=(()=>{class u{transform(p,t){if(p&&p.length>t){const h=p.indexOf(" ",t);if(h>0)return p.substr(0,h)+(/<table>/i.test(p)?"":"\u2026")}return p}static#e=this.\u0275fac=function(t){return new(t||u)};static#t=this.\u0275pipe=e.EJ8({name:"charLimitWholeWords",type:u,pure:!0})}return u})()},11815:(v,d,i)=>{i.d(d,{h:()=>O,u:()=>h});var e=i(54438),c=i(45286),u=i(7605);const m=["type","checkbox"],p=["*"];let t=0,h=(()=>{class l{get id(){return this._id}set disabled(r){this._disabled="string"==typeof r&&(0===r.length||"true"===r.toLowerCase())||!0===r,this.toggleDisabledAttribute()}set value(r){this._value=r}get value(){return this._value}set checked(r){this._checked=r,this._changeDetectorRef.markForCheck()}get checked(){return this._checked}set control(r){this._control=r,this.toggleDisabledAttribute()}get control(){return this._control}constructor(r,o,a){this._changeDetectorRef=r,this.elRef=o,this._checkboxGroup=a,this._id="mcrai-input--checkbox-"+ ++t,this._disabled=!1,this.sizeLikeOtherInputs=!1}ngOnInit(){this.updateChecked()}onClick(){this.isDisabled()||(this.checked=!this.checked,this._control&&(this._control.markAsDirty(),this._control.markAsTouched(),this._control.setValue(this.checked)),this._checkboxGroup&&(this._checkboxGroup.markAsDirty(),this._checkboxGroup.markAsTouched(),this._checkboxGroup.value=this._value))}isDisabled(){return this._disabled}updateChecked(){this._checkboxGroup?this.checked=Array.isArray(this._checkboxGroup.value)?-1!==this._checkboxGroup.value.indexOf(this._value):this._checkboxGroup.value===this._value:this._control&&(this.checked=this._control.value===this._value)}toggleDisabledAttribute(){this._control&&this.elRef.nativeElement.toggleAttribute("disabled",this._disabled)}static#e=this.\u0275fac=function(o){return new(o||l)(e.rXU(e.gRc),e.rXU(e.aKT),e.rXU((0,e.Rfq)(()=>O),8))};static#t=this.\u0275cmp=e.VBU({type:l,selectors:[["mcrai-input","type","checkbox"]],hostVars:4,hostBindings:function(o,a){2&o&&e.AVh("mcrai-input",!0)("mcrai-input--checkbox",!0)},inputs:{disabled:"disabled",value:"value",checked:"checked",control:"control",sizeLikeOtherInputs:"sizeLikeOtherInputs"},attrs:m,ngContentSelectors:p,decls:5,vars:8,consts:[[1,"mcrai-input__label"],["type","checkbox",1,"mcrai-input__checkbox-input",3,"click","id","checked","disabled"],[1,"mcrai-input__checkmark"],[1,"mcrai-input__text"]],template:function(o,a){1&o&&(e.NAR(),e.j41(0,"label",0)(1,"input",1),e.bIt("click",function(){return a.onClick()}),e.k0s(),e.nrm(2,"span",2),e.j41(3,"span",3),e.SdG(4),e.k0s()()),2&o&&(e.AVh("height-like-other
1-inputs",a.sizeLikeOtherInputs),e.BMQ("for",a.id),e.R7$(),e.Y8G("id",a.id)("checked",a.checked)("disabled",a.isDisabled()),e.R7$(),e.AVh("mcrai-input__checkmark--checked",a.checked))},styles:['.mcrai-input--checkbox{margin-bottom:2px}.mcrai-input__label{display:flex;align-items:center;cursor:pointer;-webkit-user-select:none;user-select:none}.mcrai-input__label.height-like-other-inputs{display:flex;align-items:center;min-height:38px}[disabled]>.mcrai-input__label{opacity:.4;cursor:default}.mcrai-input__checkbox-input{width:.1px;height:.1px;opacity:0;overflow:hidden;position:absolute;z-index:-1}.mcrai-input__checkmark{position:relative;top:0;left:0;min-height:20px;min-width:20px;border:1px solid;margin-right:10px}.mcrai-input__checkmark:after{content:"";position:absolute;display:none}.mcrai-input__checkmark--checked:after{display:block}.mcrai-input__checkmark:after{left:11px;top:-2px;width:7px;height:15px;border-style:solid;border-width:0 2px 2px 0;transform:rotate(45deg)}\n'],encapsulation:2,changeDetection:0})}return l})(),O=(()=>{class l{set control(r){this._control=r,this._control.valueChanges.pipe((0,u.Q)(this._destroy)).subscribe(()=>this._checkboxes.forEach(o=>o.updateChecked()))}set value(r){if(!Array.isArray(this._control.value)||0===this._control.value.length)return void this._control.setValue([r]);const o=this._control.value.filter(a=>a!==r);this._control.setValue(this._control.value.length===o.length?this._control.value.concat(r):o)}get value(){return this._control.value}constructor(){this._destroy=new c.B7}ngOnInit(){}ngAfterViewInit(){}ngOnDestroy(){this._destroy.next(),this._destroy.complete()}markAsDirty(){this._control.markAsDirty()}markAsTouched(){this._control.markAsTouched()}static#e=this.\u0275fac=function(o){return new(o||l)};static#t=this.\u0275cmp=e.VBU({type:l,selectors:[["mcrai-checkbox-group"]],contentQueries:function(o,a,n){if(1&o&&e.wni(n,h,5),2&o){let _;e.mGM(_=e.lsd())&&(a._checkboxes=_)}},hostVars:2,hostBindings:function(o,a){2&o&&e.AVh("mcrai-checkbox-group",!0)},inputs:{control:"control"},ngContentSelectors:p,decls:1,vars:0,template:function(o,a){1&o&&(e.NAR(),e.SdG(0))},encapsulation:2,changeDetection:0})}return l})()}}]);

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.