PageSourceSearch

https://idissuer.pl/chunk-UZMNCEQU.js

js idissuer.pl collected 2026-10-07 19:53:34 UTC 4,600 bytes, 1 lines download raw bytes

1import{a as z}from"./chunk-JHZD34BJ.js";import{i as V}from"./chunk-QQ46FBEU.js";import{r as B}from"./chunk-TM7SNWQH.js";import{$ as G}from"./chunk-3TGTSPZJ.js";import{b as v}from"./chunk-MNYHBXZY.js";import{Ab as u,Bb as w,Db as A,Ea as P,Eb as E,Fa as S,Fb as l,Gb as c,Hb as _,Jc as $,Lb as F,Mc as L,Ob as k,Qa as b,Qb as d,Ya as O,_c as N,ab as a,ac as s,bb as I,bc as y,cc as f,jc as C,kb as M,mc as h,nc as x,oc as D,rb as m,vb as p,wa as g,xb as T}from"./chunk-Y7SJDQ4B.js";function R(e,n){if(e&1){let o=F();l(0,"div",6)(1,"mat-icon"),s(2),c(),l(3,"button",7),k("click",function(){P(o);let i=d(2);return S(i.displayFullContent())}),s(4),h(5,"transloco"),c()()}if(e&2){let o=d(2);a(2),y(o.fullHeight()?"expand_less":"expand_more"),a(2),f(" ",x(5,2,o.fullHeight()?"shared.less":"shared.more")," ")}}function q(e,n){if(e&1&&(l(0,"div",1)(1,"div",2)(2,"p"),s(3),h(4,"date"),c()(),l(5,"div",3),s(6),c(),_(7,"div",4),m(8,R,6,4,"div",5),c()),e&2){let o=d();T("full-height",o.fullHeight()),a(3),y(D(4,8,o.announcement().createdOn,"dd.MM.yyyy HH:mm")),a(3),f(" ",o.announcement().title," "),a(),T("show",o.fullHeight()),p("innerHTML",o.fullMessage(),O),a(),p("ngIf",o.isShortMessage)}}var X=(()=>{let n=class n{constructor(){this.MAX_LENGTH=500,this.announcement=b.required(),this.fullHeight=M(!1),this.fullMessage=M(""),this.isShortMessage=!1}ngOnInit(){this.fullMessage.update(()=>this.convertToHtml(this.announcement().content))}convertToHtml(t,i=!1){if(!t)return"";if(i)return this.changeTextToHtml(t);this.isShortMessage=t?.length>=this.MAX_LENGTH;let r=this.isShortMessage?t.substring(0,this.MAX_LENGTH)+"...":t;return this.changeTextToHtml(r)}displayFullContent(){this.fullHeight.update(t=>!t),this.fullMessage.update(()=>this.convertToHtml(this.announcement().content,this.fullHeight()))}changeTextToHtml(t){let i=t.match(V);return t=t.replace(/\n/g,"<br>"),i!==null&&i.forEach(r=>{t=t.replace(r,`<a href="${r}">${r}.</a>`)}),t}}
1;n.\u0275fac=function(i){return new(i||n)},n.\u0275cmp=g({type:n,selectors:[["app-announcement-card"]],inputs:{announcement:[1,"announcement"]},standalone:!0,features:[C],decls:1,vars:1,consts:[[1,"announcement-card",3,"full-height"],[1,"announcement-card"],[1,"date-line"],[1,"title"],[1,"description",3,"innerHTML"],["class","more-button",4,"ngIf"],[1,"more-button"],[1,"more-link",3,"click"]],template:function(i,r){i&1&&m(0,q,9,11,"div",0),i&2&&u(r.announcement()?0:-1)},dependencies:[v,L,$,G],styles:[".announcement-card[_ngcontent-%COMP%]{width:80%;background-color:#fff;border-radius:15px;padding:20px;display:flex;flex-direction:column;color:#485868;margin:1rem}.announcement-card[_ngcontent-%COMP%]   .date-line[_ngcontent-%COMP%]{color:#485868}.announcement-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:22px}.announcement-card[_ngcontent-%COMP%]   .description[_ngcontent-%COMP%]{margin-top:1rem;line-height:1.5rem;word-break:break-word;min-height:150px;height:fit-content;overflow:hidden}.announcement-card[_ngcontent-%COMP%]   .more-button[_ngcontent-%COMP%]{display:flex;width:100%;align-items:center;justify-content:end;color:#004c9e}.announcement-card[_ngcontent-%COMP%]   .more-button[_ngcontent-%COMP%]   .more-link[_ngcontent-%COMP%]{background:none;color:#004c9e;border:none;font-size:inherit;font-family:Roboto,sans-serif;line-height:20px;cursor:pointer}.full-height[_ngcontent-%COMP%]{height:fit-content}.show[_ngcontent-%COMP%]{height:100%}"]});let e=n;return e})();function U(e,n){if(e&1&&_(0,"app-announcement-card",1),e&2){let o=n.$implicit;p("announcement",o)}}function J(e,n){if(e&1&&A(0,U,1,1,"app-announcement-card",1,w),e&2){let o=d();E(o.items)}}function K(e,n){e&1&&(l(0,"app-issuer-not-found-card"),s(1),h(2,"transloco"),c()),e&2&&(a(),f(" ",x(2,1,"communicates.announcements_not_found")," "))}function Q(e,n){e&1&&m(0,J,2,0)(1,K,3,3,"app-issuer-not-found-card"),e&2&&u(n.items.length>0?0:1)}var se=(()=>{let n=class n{constructor(t){this.facadeService=t,this.announcements$=N(this.facadeService.announcements$,{initialValue:null})}ngOnInit(){this.facadeService.getAnnouncements(),this.facadeService.getUserData()}};n.\u0275fac=function(i){return new(i||n)(I(B))},n.\u0275cmp=g({type:n,selectors:[["app-announcements"]],standalone:!0,features:[C],decls:2,vars:1,consts:[[1,"announcement-box"],[3,"announcement"]],template:function(i,r){if(i&1&&(l(0,"div",0),m(1,Q,2,1),c()),i&2){let H;a(),u((H=r.announcements$())?1:-1,H)}},dependencies:[v,X,z],styles:[".announcement-box[_ngcontent-%COMP%]{height:100%;overflow:auto}"],changeDetection:0});let e=n;return e})();export{se as AnnouncementsComponent};

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.