PageSourceSearch

https://www.energytcm.cz/5340.f06480d1bc4643b6.js

js energytcm.cz collected 2026-10-07 20:06:26 UTC 9,822 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkenergy_tcm=self.webpackChunkenergy_tcm||[]).push([[5340],{75213:(S,g,t)=>{t.d(g,{A:()=>s});var l=t(54438),a=t(345);let s=(()=>{class d{constructor(h,o,n,e){this.titleService=h,this.metaService=o,this.domain=n,this.domain_ssr=e,this.title_separator=" | ",this.desc_separator=" - "}setSeo(h,o){Array.isArray(h)&&(h=h.join(this.title_separator)),Array.isArray(o)&&(o=o.join(this.desc_separator)),h=h.trim(),"."!==(o=(o=o.trim())[0].toUpperCase()+o.slice(1))[o.length-1]&&(o+="."),this.titleService.setTitle(h+this.title_separator+(this.domain_ssr?this.domain_ssr:this.domain)),this.metaService.updateTag({name:"description",content:o})}static#t=this.\u0275fac=function(o){return new(o||d)(l.KVO(a.hE),l.KVO(a.W8),l.KVO("DOMAIN"),l.KVO("DOMAIN_SSR"))};static#e=this.\u0275prov=l.jDH({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},18608:(S,g,t)=>{t.d(g,{MA:()=>l,N$:()=>s,N6:()=>n,R1:()=>d,UE:()=>a,UI:()=>o,p9:()=>h,sF:()=>u});const l="[Shared] Get Company Details ",a="[Shared] Get Company Details Success",s="[Shared] Get Company Details Fail ",d="[Shared] Clear Company Details ";class u{constructor(r){this.payload=r,this.type=l}}class h{constructor(r){this.payload=r,this.type=a}}class o{constructor(r){this.payload=r,this.type=s}}class n{constructor(){this.type=d}}},71509:(S,g,t)=>{t.d(g,{Ff:()=>d,oC:()=>u});var l=t(18608);const a={data:null,loading:!1,error:null};function d(n=a,e){switch(e.type){case l.MA:return{...n,loading:!0,error:null};case l.UE:return{...n,loading:!1,data:e.payload.data,error:null};case l.N$:return{...n,loading:!1,error:e.payload.error};case l.R1:return{...n,data:null,error:null};default:return n}}const u=n=>n.tinDataService.data},30458:(S,g,t)=>{t.d(g,{z:()=>B});var l=t(60177),a=t(76965),s=t(41635),d=t(71509),u=t(14421),h=t(15539),o=t(49090),n=t(95006),e=t(83921),r=t(29262),f=t(18608),v=t(54438),O=t(12906),I=t(74526);let m=(()=>{class y extends O.d{getCompanyDetailsByTIN(E){if(!E||!E.trim())return(0,I.$)(new Error("I\u010cO nenalezeno."));const C=this.buildUrl(["business_entities","get_company_details_by_tin",E]);return this.get(C)}static#t=this.\u0275fac=(()=>{let E;return function(c){return(E||(E=v.xGo(y)))(c||y)}})();static#e=this.\u0275prov=v.jDH({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})(),M=(()=>{class y{constructor(E,C,c,P){this.actions=E,this.tinDataService=C,this.loaderService=c,this.toasterService=P,this.getCompanyDetails$=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(f.MA),(0,h.M)(()=>this.loaderService.show()),(0,o.n)(i=>this.tinDataService.getCompanyDetailsByTIN(i.payload.tin).pipe((0,n.T)(p=>new f.p9({data:p})),(0,e.W)(p=>p instanceof Error?(0,u.of)(new f.UI({error:p.message})):(0,u.of)(new f.UI({error:p.error.message}))))))),this.getCompanyDetailsSuccess$=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(f.UE),(0,h.M)(()=>this.loaderService.hide())),{dispatch:!1}),this.getCompanyDetailsFailure$=(0,s.EH)(()=>this.actions.pipe((0,s.gp)(f.N$),(0,h.M)(i=>{this.toasterService.makeToast(i.payload.error,r.Ck.Error),this.loaderService.hide()})),{dispatch:!1})}static#t=this.\u0275fac=function(C){return new(C||y)(v.KVO(s.En),v.KVO(m),v.KVO(r.wA),v.KVO(r.FS))};static#e=this.\u0275prov=v.jDH({token:y,factory:y.\u0275fac})}return y})(),B=(()=>{class y{static#t=this.\u0275fac=function(C){return new(C||y)};static#e=this.\u0275mod=v.$C({type:y});static#s=this.\u0275inj=v.G2t({providers:[m],imports:[l.MD,a.md.forFeature("tinDataService",d.Ff),s.Vm.forFeature([M])]})}return y})()},24958:(S,g,t)=>{t.d(g,{h:()=>d});var l=t(60177),a=t(29262),s=t(54438);let d=(()=>{class u{static#t=this.\u0275fac=function(n){return new(n||u)};static#e=this.\u0275mod=s.$C({type:u});static#s=this.\u0275inj=s.G2t({imports:[l.MD,a.wl,a.DJ]})}return u})()},54913:(S,g,t)=>{t.d(g,{BH:()=>h,Mj:()=>d,O3:()=>a,Xp:()=>o,dC:()=>l,eo:()=>n,f3:()=>s,oY:()=>u});const l="[Orders] GET orders",a="[Orders] GET orders by ids",s="[Orders] GET orders success",d="[Orders] GET orders error";class u{constructor(r){this.payload=r,this.type=l}}class h{constructor(r){this.payload=r,this.type=a}}class o{constructor(r){this.payload=r,this.type=s}}class n{constructor(r){this.payload=r,this.type=d}}},14528:(S,g,t)=>{t.d(g,{w:()=>C});
1var l=t(60177),a=t(41635),s=t(76965),d=t(18456),u=t(95006),h=t(83921),o=t(15539),n=t(14421),e=t(54438),r=t(12906);let f=(()=>{class c extends r.d{getOrders(i,p,D,R,A){const T={};p&&(T.date_from=p),D&&(T.date_to=D),R&&(T.q=R),A&&(T.state=A),T.page=i;const X=this.buildUrl(["shop","order"],T);return this.get(X)}getOrdersByIds(i,p){const D={orders:i};p&&(D.use_codes=!0);const R=this.buildUrl(["shop","order","by_ids"],D);return this.get(R)}static#t=this.\u0275fac=(()=>{let i;return function(D){return(i||(i=e.xGo(c)))(D||c)}})();static#e=this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac,providedIn:"root"})}return c})();var v=t(63040),O=t(29262);let I=(()=>{class c{constructor(i,p,D,R,A,T){this.dataService=i,this.actions=p,this.store=D,this.router=R,this.toastService=A,this.loaderService=T}static#t=this.\u0275fac=function(p){return new(p||c)(e.KVO(f),e.KVO(a.En),e.KVO(s.il),e.KVO(v.Ix),e.KVO(O.FS),e.KVO(O.wA))};static#e=this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}return c})();var m=t(54913);let M=(()=>{class c extends I{constructor(){super(...arguments),this.getOrders=(0,a.EH)(()=>this.actions.pipe((0,a.gp)(m.dC),(0,d.ZZ)(i=>this.dataService.getOrders(i.payload.page,i.payload.date_from,i.payload.date_to,i.payload.q,i.payload.state).pipe((0,u.T)(p=>new m.Xp({...p,parent:i.payload.id})),(0,h.W)(p=>(0,n.of)(new m.eo(p))))))),this.getOrdersByIds=(0,a.EH)(()=>this.actions.pipe((0,a.gp)(m.O3),(0,d.ZZ)(i=>this.dataService.getOrdersByIds(i.payload.orders,i.payload.use_codes).pipe((0,u.T)(p=>new m.Xp({...p,parent:i.payload.id})),(0,h.W)(p=>(0,n.of)(new m.eo(p))))))),this.getOrdersSuccess=(0,a.EH)(()=>this.actions.pipe((0,a.gp)(m.f3)),{dispatch:!1}),this.getOrdersError=(0,a.EH)(()=>this.actions.pipe((0,a.gp)(m.Mj),(0,o.M)(i=>{})),{dispatch:!1})}static#t=this.\u0275fac=(()=>{let i;return function(D){return(i||(i=e.xGo(c)))(D||c)}})();static#e=this.\u0275prov=e.jDH({token:c,factory:c.\u0275fac})}return c})();var B=t(24958),y=t(70742),F=t(12741),E=t(50289);let C=(()=>{class c{static#t=this.\u0275fac=function(p){return new(p||c)};static#e=this.\u0275mod=e.$C({type:c});static#s=this.\u0275inj=e.G2t({imports:[l.MD,B.h,a.Vm.forFeature([M]),s.md.forFeature(y.qx,y.Ff),O.LU,O.B4,O.pj,O.ni,O.xT,F.Y,E.G]})}return c})()},70742:(S,g,t)=>{t.d(g,{Ff:()=>o,RN:()=>O,qx:()=>h});var l=t(70746),a=t(76965),s=t(54913);const d=(0,l.p)({selectId:m=>m.parent}),u=d.getInitialState(),h="shopOrders";function o(m=u,M){return M.type===s.f3?d.upsertOne(M.payload,m):m}const n=(0,a.UX)(h),{selectEntities:r,selectAll:f}=d.getSelectors(),O=(0,a.Mz)(n,r);(0,a.Mz)(n,f)},42974:(S,g,t)=>{t.d(g,{d:()=>h});var l=t(47987),a=t(76939),s=t(54438);function d(o,n){}let u=(()=>{class o{get text(){return this._text}constructor(e){this._viewContainerRef=e}ngOnInit(){}withContent(e){if("string"==typeof e)this._text=e;else{const r=new a.VA(e,this._viewContainerRef);this._portalOutlet.attachTemplatePortal(r)}}static#t=this.\u0275fac=function(r){return new(r||o)(s.rXU(s.c1b))};static#e=this.\u0275cmp=s.VBU({type:o,selectors:[["mcrai-tooltip"]],viewQuery:function(r,f){if(1&r&&s.GBs(a.I3,7),2&r){let v;s.mGM(v=s.lsd())&&(f._portalOutlet=v.first)}},hostVars:2,hostBindings:function(r,f){2&r&&s.AVh("mcrai-tooltip",!0)},decls:3,vars:1,consts:[["cdkPortalOutlet",""]],template:function(r,f){1&r&&(s.DNE(0,d,0,0,"ng-template",0),s.qex(1),s.EFF(2),s.bVm()),2&r&&(s.R7$(2),s.JRh(f.text))},dependencies:[a.I3],styles:[".mcrai-tooltip{display:block;padding:10px 20px}\n"],encapsulation:2,changeDetection:0})}return o})(),h=(()=>{class o{set mcraiTooltip(e){this.content=e}constructor(e,r,f){this._overlay=e,this._viewRef=r,this._elRef=f}_getPosition(){return this._overlay.position().flexibleConnectedTo(this._elRef).withPositions([{originX:"end",originY:"center",overlayX:"start",overlayY:"center",weight:1,offsetX:5,offsetY:0},{originX:"start",originY:"center",overlayX:"end",overlayY:"center",weight:1,offsetX:5,offsetY:0},{originX:"center",originY:"top",overlayX:"center",overlayY:"bottom",weight:1,offsetX:0,offsetY:-5},{originX:"center",originY:"bottom",overlayX:"center",overlayY:"top",weight:1,offsetX:0,offsetY:5},{originX:"start",originY:"top",overlayX:"end",overlayY:"bottom",weight:1,offsetX:0,offsetY:0},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"top",weight:1,offsetX:0,offsetY:0},{originX:"start",originY:"top",overlayX:"end",overlayY:"bottom",weight:1,offsetX:0,offsetY:0},{originX:"end",originY:"bottom",overlayX:"start",overlayY:"top",weight:1,offsetX:0,offsetY:0}])}_getConfig(){const e={positionStrategy:this._getPosition()};return this.width&&Object.assign(e,{maxWidth:this.width,width:"100%"}),new l.rR(e)}_getPortal(e){return new a.A8(e)}_createOverlay(){return this._overlay.create(this._getConfig())}onMouseEnter(){/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||(this._overlayRef=this._createOverlay(),this._overlayRef.attach(this._getPortal(u)).instance.withContent(this.content))}onMouseLeave(){this._overlayRef.dispose()}onWindowScroll(){typeof this._overlayRef<"u"&&this._overlayRef.dispose()}onClick(){this._overlayRef&&this._overlayRef.dispose()}static#t=this.\u0275fac=function(r){return new(r||o)(s.rXU(l.hJ),s.rXU(s.c1b),s.rXU(s.aKT))};static#e=this.\u0275dir=s.FsC({type:o,selectors:[["","mcraiTooltip",""]],hostBindings:function(r,f){1&r&&s.bIt("mouseenter",function(){return f.onMouseEnter()})("mouseleave",function(){return f.onMouseLeave()})("scroll",function(){return f.onWindowScroll()},!1,s.tSv)("click",function(){return f.onClick()})},inputs:{mcraiTooltip:"mcraiTooltip",content:"content",width:"width"}})}return o}
1)()}}]);

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.