PageSourceSearch

https://rejestry.ezdrowie.gov.pl/rpl/chunk-XND5RUE6.js

js ezdrowie.gov.pl collected 2026-10-02 05:17:58 UTC 1,676 bytes, 1 lines download raw bytes

1import{g as c,h as n}from"./chunk-2B4WQGUY.js";import{$a as r,db as i,fb as l,lb as o}from"./chunk-GVFDHNID.js";var m=(()=>{class t{set appShowByRoles(e){e?this.roles=e:this.roles=[]}set appShowByRolesAllowReInAllStatuses(e){this.isAllowReInAllStatuses=e}constructor(e,s,h,a){this.authService=e,this.templateRef=s,this.viewContainer=h,this.medicinalProductService=a,this.roles=[],this.isAllowReInAllStatuses=!0}ngOnInit(){this.subscribeToLoggedIn()}ngOnDestroy(){this.subscription.unsubscribe()}subscribeToLoggedIn(){this.subscription=this.authService.isLoggedIn.subscribe(e=>e?this.showOrHideElementByRoles():this.hideElement())}showOrHideElementByRoles(){if(!this.roles||!this.roles.length){this.viewContainer.createEmbeddedView(this.templateRef);return}this.authService.checkRoles(this.roles)?this.checkReEmployee()?this.medicinalProductService.medicinalProduct.value&&this.medicinalProductService.medicinalProduct.value.medicinalProductStatusDto.name==="W trakcie rejestracji"&&this.medicinalProductService.medicinalProduct.value.specimenType==="L"&&this.viewContainer.createEmbeddedView(this.templateRef):this.viewContainer.createEmbeddedView(this.templateRef):this.hideElement()}hideElement(){this.viewContainer.clear()}checkReEmployee(){return this.roles.includes("pracownik_re")&&!this.isAllowReInAllStatuses&&!this.authService.checkRoles(this.roles.filter(e=>e!=="pracownik_re"))}static{this.\u0275fac=function(s){return new(s||t)(i(c),i(r),i(l),i(n))}}static{this.\u0275dir=o({type:t,selectors:[["","appShowByRoles",""]],inputs:{appShowByRoles:"appShowByRoles",appShowByRolesAllowReInAllStatuses:"appShowByRolesAllowReInAllStatuses"}})}}return t})();export{m as a};

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.