PageSourceSearch

https://www.energytcm.cz/5409.4dddba99149878ca.js

js energytcm.cz collected 2026-10-07 20:06:27 UTC 10,741 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[5409],{43818:(g,E,s)=>{s.d(E,{SH:()=>h,iW:()=>c,pu:()=>u});const c="[Base Roles] role action success",u="[Base Roles] roles action success";class h{constructor(i){this.payload=i,this.type=c}}},47839:(g,E,s)=>{s.d(E,{U6:()=>o,k9:()=>c,mM:()=>u,nk:()=>h});const c="[Base Roles] GET role",u="[Base Roles] GET role success";class h{constructor(i){this.payload=i,this.type=c}}class o{constructor(i){this.payload=i,this.type=u}}},47292:(g,E,s)=>{s.d(E,{HP:()=>u,TH:()=>c,X8:()=>o,gh:()=>h});const c="[Base Roles] GET roles",u="[Base Roles] GET roles success";class h{constructor(i){this.payload=i,this.type=c}}class o{constructor(i){this.payload=i,this.type=u}}},51124:(g,E,s)=>{s.d(E,{d:()=>B});var c=s(60177),u=s(89417),h=s(76965),o=s(41635),n=s(53),i=s(15539),e=s(49090),a=s(43818),t=s(47839),r=s(47292),p=s(43757),v=s(29262),U=s(54438);let M=(()=>{class d extends p.q{constructor(){super(...arguments),this.roleActionSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(a.iW),(0,i.M)(R=>this.toastService.makeToast(R.payload.message,v.Ck.Success)),(0,e.n)(R=>[new t.U6(R.payload)]))),this.rolesActionSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(a.pu),(0,i.M)(R=>this.toastService.makeToast(R.payload.message,v.Ck.Success)),(0,e.n)(R=>[new r.X8(R.payload)])))}static#s=this.\u0275fac=(()=>{let R;return function(T){return(R||(R=U.xGo(d)))(T||d)}})();static#t=this.\u0275prov=U.jDH({token:d,factory:d.\u0275fac})}return d})();var _=s(92765),y=s(14421),L=s(95006),C=s(83921),m=s(76613);let D=(()=>{class d extends p.q{constructor(){super(...arguments),this.getRole=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(t.k9),(0,i.M)(()=>this.loaderService.show()),(0,e.n)(R=>this.baseRolesService.getRole(R.payload.role_id).pipe((0,L.T)(l=>new t.U6(l)),(0,C.W)(l=>(0,y.of)(new m.Rn(l))))))),this.getRoleSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(t.mM),(0,i.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#s=this.\u0275fac=(()=>{let R;return function(T){return(R||(R=U.xGo(d)))(T||d)}})();static#t=this.\u0275prov=U.jDH({token:d,factory:d.\u0275fac})}return d})(),P=(()=>{class d extends p.q{constructor(){super(...arguments),this.getRoles=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(r.TH),(0,i.M)(()=>this.loaderService.show()),(0,e.n)(R=>this.baseRolesService.getRoles(R.payload.page).pipe((0,L.T)(l=>new r.X8(l)),(0,C.W)(l=>(0,y.of)(new m.Rn(l))))))),this.getRolesSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(r.HP),(0,i.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#s=this.\u0275fac=(()=>{let R;return function(T){return(R||(R=U.xGo(d)))(T||d)}})();static#t=this.\u0275prov=U.jDH({token:d,factory:d.\u0275fac})}return d})(),B=(()=>{class d{static#s=this.\u0275fac=function(l){return new(l||d)};static#t=this.\u0275mod=U.$C({type:d});static#e=this.\u0275inj=U.G2t({providers:[_.c],imports:[c.MD,h.md.forFeature(n.qx,n.Ff),o.Vm.forFeature([M,D,P]),u.X1,v.ni]})}return d})()},43757:(g,E,s)=>{s.d(E,{q:()=>i});var c=s(54438),u=s(92765),h=s(41635),o=s(76965),n=s(29262);let i=(()=>{class e{constructor(t,r,p,v,U){this.baseRolesService=t,this.actions=r,this.store=p,this.toastService=v,this.loaderService=U}static#s=this.\u0275fac=function(r){return new(r||e)(c.KVO(u.c),c.KVO(h.En),c.KVO(o.il),c.KVO(n.FS),c.KVO(n.wA))};static#t=this.\u0275prov=c.jDH({token:e,factory:e.\u0275fac})}return e})()},53:(g,E,s)=>{s.d(E,{Ff:()=>n,X7:()=>e,qx:()=>o,y3:()=>i});var c=s(47292),u=s(47839);const h={roles:null,role:null,filter:{}},o="aegisxBaseRoles";function n(a=h,t){switch(t.type){case c.HP:return{...a,roles:t.payload,role:null};case u.mM:return{...a,role:t.payload.item};default:return a}}const i=a=>a[o].roles,e=a=>a[o].role},92765:(g,E,s)=>{s.d(E,{c:()=>o});var c=s(12906),u=s(80070),h=s(54438);let o=(()=>{class n extends c.d{constructor(){super(...arguments),this.ROLES_URL="users/roles",this.ROLE_CATEGORIES="categories"}getRole(e){const a=this.buildUrl([this.ROLES_URL,e]);return this.get(a)}getRoles(e,a={}){const t=Object.assign({page:e},a),r=this.buildUrl(this.ROLES_URL,t,!0);return this.get(r)}getRoleCategories(e){const t=this.buildUrl([this.ROLES_URL,e,this.ROLE_CATEGORIES]);return this.get(t)}addRoleCategories(e,a){const r=this.buildUrl([this.ROLES_URL,e,this.ROLE_CATEGORIES]);return this.post(r,a)}deleteRoleCategories(e,a){const r=this.buildUrl([this.ROLES_URL,e,this.ROLE_CATEGORIES],{enabled_
1ids:(0,u._)(a)});return this.del(r)}static#s=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=h.xGo(n)))(t||n)}})();static#t=this.\u0275prov=h.jDH({token:n,factory:n.\u0275fac})}return n})()},4956:(g,E,s)=>{s.d(E,{EM:()=>h,JP:()=>u,d:()=>c});const c="[Base Users] user action success";class u{constructor(i){this.payload=i,this.type=c}}const h="[Base Users] users action success"},51234:(g,E,s)=>{s.d(E,{NV:()=>c,O_:()=>h,xb:()=>o,xn:()=>u});const c="[Base Users] GET user",u="[Base Users] GET user success";class h{constructor(i){this.payload=i,this.type=c}}class o{constructor(i){this.payload=i,this.type=u}}},69207:(g,E,s)=>{s.d(E,{Cg:()=>u,GP:()=>a,HP:()=>e,P_:()=>o,Q1:()=>c,TB:()=>n,Ud:()=>i,a7:()=>h});const c="[Base Users] GET users",u="[Base Users] GET users success",h="[Users] SET filter",o="[Users] RESET filter";class n{constructor(r){this.payload=r,this.type=c}}class i{constructor(r){this.payload=r,this.type=u}}class e{constructor(r){this.payload=r,this.type=h}}class a{constructor(r){this.payload=r,this.type=o}}},13802:(g,E,s)=>{s.d(E,{a:()=>R});var c=s(60177),u=s(89417),h=s(76965),o=s(41635),n=s(95894),i=s(15539),e=s(49090),a=s(29262),t=s(4956),r=s(51234),p=s(69207),v=s(27404),U=s(54438);let M=(()=>{class l extends v.r{constructor(){super(...arguments),this.userActionSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(t.d),(0,i.M)(S=>this.toastService.makeToast(S.payload.message,a.Ck.Success)),(0,e.n)(S=>[new r.xb(S.payload)]))),this.usersActionSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(t.EM),(0,i.M)(S=>this.toastService.makeToast(S.payload.message,a.Ck.Success)),(0,e.n)(S=>[new p.Ud({id:"",items:S.payload})])))}static#s=this.\u0275fac=(()=>{let S;return function(f){return(S||(S=U.xGo(l)))(f||l)}})();static#t=this.\u0275prov=U.jDH({token:l,factory:l.\u0275fac})}return l})();var _=s(97142),y=s(14421),L=s(95006),C=s(83921),m=s(76613);let D=(()=>{class l extends v.r{constructor(){super(...arguments),this.getUser=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(r.NV),(0,i.M)(()=>this.loaderService.show()),(0,e.n)(S=>this.baseUsersService.getUser(S.payload.user_id).pipe((0,L.T)(O=>new r.xb(O)),(0,C.W)(O=>(0,y.of)(new m.Rn(O))))))),this.getUserSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(r.xn),(0,i.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#s=this.\u0275fac=(()=>{let S;return function(f){return(S||(S=U.xGo(l)))(f||l)}})();static#t=this.\u0275prov=U.jDH({token:l,factory:l.\u0275fac})}return l})();var P=s(57421),B=s(18456);let d=(()=>{class l extends v.r{constructor(){super(...arguments),this.getUsers=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(p.Q1),(0,i.M)(()=>this.loaderService.show()),(0,P.E)(this.store.pipe((0,h.Lt)(n.QZ))),(0,B.qI)(([S,O])=>this.baseUsersService.getUsers(S.payload.page,O[S.payload.id]).pipe((0,L.T)(f=>new p.Ud({id:S.payload.id,items:f})),(0,C.W)(f=>(0,y.of)(new m.Rn(f))))))),this.getUsersSuccess=(0,o.EH)(()=>this.actions.pipe((0,o.gp)(p.Cg),(0,i.M)(()=>this.loaderService.hide())),{dispatch:!1})}static#s=this.\u0275fac=(()=>{let S;return function(f){return(S||(S=U.xGo(l)))(f||l)}})();static#t=this.\u0275prov=U.jDH({token:l,factory:l.\u0275fac})}return l})();var G=s(634);let R=(()=>{class l{static#s=this.\u0275fac=function(O){return new(O||l)};static#t=this.\u0275mod=U.$C({type:l});static#e=this.\u0275inj=U.G2t({providers:[_.V],imports:[c.MD,G.r,u.X1,a.ni,h.md.forFeature(n.qx,n.Ff),o.Vm.forFeature([M,D,d])]})}return l})()},27404:(g,E,s)=>{s.d(E,{r:()=>i});var c=s(54438),u=s(97142),h=s(41635),o=s(76965),n=s(29262);let i=(()=>{class e{constructor(t,r,p,v,U){this.baseUsersService=t,this.actions=r,this.store=p,this.toastService=v,this.loaderService=U}static#s=this.\u0275fac=function(r){return new(r||e)(c.KVO(u.V),c.KVO(h.En),c.KVO(o.il),c.KVO(n.FS),c.KVO(n.wA))};static#t=this.\u0275prov=c.jDH({token:e,factory:e.\u0275fac})}return e})()},95894:(g,E,s)=>{s.d(E,{Ff:()=>n,QZ:()=>a,VR:()=>i,mB:()=>e,qx:()=>o});var c=s(69207),u=s(51234);const h={users:{},user:null,filter:{}},o="aegisxBaseUsers";function n(t=h,r){switch(r.type){case c.Cg:return{...t,users:{...t.users,[r.payload.id]:r.payload.items}};case u.xn:return{...t,user:r.payload.item};case c.a7:return{...t,filter:{...t.filter,[r.payload.id]:r.payload.filter}};case c.P_:return{...t,filter:{...t.filter,[r.payload.id]:null}};default:return t}}const i=t=>t[o].users,e=t=>t[o].user,a=t=>t[o].filter},97142:(g,E,s)=>{s.d(E,{V:()=>o});var c=s(12906),u=s(80070),h=s(54438);let o=(()=>{class n extends c.d{constructor(){super(...arguments),this.USERS_URL="users",this.ROLES_URL="users/roles",this.ROLE_USERS="users",this.USER_CATEGORIES="categories",this.PRICES="prices",this.DOCUMENTS="documents",this.INVOICES="invoices",this.ORDERS="orders",this.EXPORTS="exports"}getUser(e){const a=this.buildUrl([this.USERS_URL,e]);return this.get(a)}getUsers(e,a=null){const t=Object.assign({page:e},a),r=this.buildUrl(this.USERS_URL,t,!0);return this.get(r)}getRoleUsers(e,a){const r=this.buildUrl([this.ROLES_URL,e,this.ROLE_USERS],{page:a});return this.get(r)}getRolesUsers(e,a){const r=this.buildUrl([this.ROLES_URL,this.ROLE_USERS],{page:a,role_ids:e});return this.get(r)}
1addRoleUsers(e,a){const r=this.buildUrl([this.ROLES_URL,e,this.ROLE_USERS]);return this.post(r,a)}deleteRoleUsers(e,a){const r=this.buildUrl([this.ROLES_URL,e,this.ROLE_USERS],{user_ids:(0,u._)(a)});return this.del(r)}getUserCategories(e){const t=this.buildUrl([this.USERS_URL,e,this.USER_CATEGORIES]);return this.get(t)}getUserDocuments(e,a,t){const p=this.buildUrl([this.USERS_URL,e,this.DOCUMENTS],{...t,page:a});return this.get(p)}getUserPrices(e,a){const r=this.buildUrl([this.USERS_URL,e,this.PRICES],{page:a});return this.get(r)}getUserInvoices(e,a,t){const p=this.buildUrl([this.USERS_URL,e,this.INVOICES],{...t,page:a});return this.get(p)}getUserExports(e,a,t){const p=this.buildUrl([this.USERS_URL,e,this.EXPORTS],{...t,page:a});return this.get(p)}addUserCategories(e,a){const r=this.buildUrl([this.USERS_URL,e,this.USER_CATEGORIES]);return this.post(r,a)}getUserOrders(e,a,t){const p=this.buildUrl([this.USERS_URL,e,this.ORDERS],{...t,page:a});return this.get(p)}static#s=this.\u0275fac=(()=>{let e;return function(t){return(e||(e=h.xGo(n)))(t||n)}})();static#t=this.\u0275prov=h.jDH({token:n,factory:n.\u0275fac})}return n})()},80070:(g,E,s)=>{function c(u){return u?u.reduce((h,o)=>h.concat(o.id),[]):[]}s.d(E,{_:()=>c})}}]);

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.