PageSourceSearch

https://minfin.gov.ao/942.c58b5320ce75ecff.js

js minfin.gov.ao collected 2026-10-02 11:00:12 UTC 8,824 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkportal_minfin=self.webpackChunkportal_minfin||[]).push([[942],{1942:(U,h,i)=>{i.r(h),i.d(h,{PublicacoesModule:()=>s});var d=i(6895),f=i(5839),x=i(8645),p=i(4006),P=i(8746),o=i(4650),u=i(529),C=i(8863);class c{constructor(t){this.http=t,this.baseUrl=C.N.baseUrl,this.apiUrl=`${this.baseUrl}/content/portal-minfin/publicacao/`,this.headers=new u.WM({"X-Flatten":"true","X-ResolveUrls":"documentos.ficheiro"})}getPublicacoes(t){new u.LE({fromObject:{$top:t?.$top.toString(),$skip:t?.$skip.toString(),$filter:t?.$filter}});return this.http.get(this.apiUrl,{params:t,headers:this.headers})}}c.\u0275fac=function(t){return new(t||c)(o.LFG(u.eN))},c.\u0275prov=o.Yz7({token:c,factory:c.\u0275fac,providedIn:"root"});var b=i(8926),M=i(6198),v=i(4484);const _=["paginator"];function O(e,t){if(1&e){const n=o.EpF();o.TgZ(0,"div",21)(1,"div",22)(2,"div",23)(3,"div",24),o.NdJ("click",function(){const T=o.CHM(n).$implicit,F=o.oxw(2);return o.KtG(F.downloadAsset(T.ficheiro[0]))}),o._UZ(4,"img",25),o.TgZ(5,"p",26),o._uU(6),o.qZA(),o._UZ(7,"img",27),o.qZA()()()()}if(2&e){const n=t.$implicit;o.xp6(6),o.hij("",n.titulo,".pdf")}}function w(e,t){if(1&e&&(o.TgZ(0,"div",13)(1,"h2",14)(2,"button",15)(3,"h2"),o._uU(4),o.qZA()()(),o.TgZ(5,"div",16)(6,"div",17)(7,"p"),o._uU(8),o.qZA(),o.TgZ(9,"div",18)(10,"p",19),o._uU(11,"Ficheiros:"),o.qZA(),o.YNc(12,O,8,1,"div",20),o.qZA()()()()),2&e){const n=t.$implicit,a=t.index;o.xp6(2),o.Q6J("ngClass",0!=a?"collapsed":""),o.uIk("data-bs-target","#collapse_oge_"+a)("aria-controls","collapse_oge_"+a)("aria-expanded",0===a),o.xp6(2),o.Oqu(n.data.titulo),o.xp6(1),o.Q6J("id","collapse_oge_"+a)("ngClass",0===a?"show":""),o.xp6(3),o.Oqu(n.data.descricao),o.xp6(4),o.Q6J("ngForOf",n.data.documentos)}}function y(e,t){1&e&&(o.TgZ(0,"h6",28),o._uU(1),o.ALo(2,"translate"),o.qZA()),2&e&&(o.xp6(1),o.Oqu(o.lcZ(2,1,"noDoc")))}const Z=function(){return{"background-image":"url('assets/img/minfin-edi.jpg')"}};class l{constructor(t){this.publicacoesService=t,this.publicacoes=[],this.latestPublicacoes=null,this.isPublicacoesLoading=!1,this.search=""}ngOnInit(){this.initPagination()}initPagination(){this.pagination={rows:6,totalRecords:0,page:0,pageCount:1,first:0,paginate:t=>{this.pagination.page=t.page,this.pagination.rows=t.rows,this.getPublicacoes()}},this.paginator?.changePage(this.pagination.page),this.getPublicacoes()}getPublicacoes(){this.isPublicacoesLoading=!0,this.publicacoesService.getPublicacoes({$orderby:"data/dataInformacao/iv desc",$top:this.pagination.rows,$skip:this.pagination.page*this.pagination.rows,$filter:this.search?`contains(data/titulo/iv, '${this.search}')`:""}).pipe((0,P.x)(()=>this.isPublicacoesLoading=!1)).subscribe(t=>{this.publicacoes=t.items,this.pagination.totalRecords=t.total,this.publicacoes.length>0&&(this.latestPublicacoes=this.publicacoes[0])})}downloadAsset(t){window.open(t,"_blank")}}l.\u0275fac=function(t){return new(t||l)(o.Y36(c))},l.\u0275cmp=o.Xpm({type:l,selectors:[["app-publicacoes"]],viewQuery:function(t,n){if(1&t&&o.Gf(_,5),2&t){let a;o.iGM(a=o.CRH())&&(n.paginator=a.first)}},decls:19,vars:16,consts:[[1,"content","text-white","im",3,"ngStyle"],[1,"top-head"],[1,"content"],[1,"tit"],["src","assets/img/account_balance2.svg","alt",""],[1,"titulo"],["type","text","appDebounce","",3,"placeholder","ngModel","ngModelChange","onEvent"],[1,"container","py-5"],["id","accordionExample",1,"accordion"],["class","accordion-item2 my-3 shadow-sm rounded-3",4,"ngFor","ngForOf"],["class","text-center",4,"ngIf"],[1,"background2"],[3,"rows","totalRecords","onPageChange"],[1,"accordion-item2","my-3","shadow-sm","rounded-3"],[1,"accordion-header"],["type","button","data-bs-toggle","collapse",1,"accordion-button","rounded-2","py-3",3,"ngClass"],["data-bs-parent","#accordionExample",1,"accordion-collapse","collapse",3,"id","ngClass"],[1,"accordion-body","pt-0"],[1,"row","row-cols-1","row-cols-md-1"],[1,"small","text-muted","mt-4"],["class","col",4,"ngFor","ngForOf"],[1,"col"],[1,"card"],[1,"card-body"],[1,"botao-download",3,"click"],["src","assets/icones_servico/File type icon.svg","alt","","id","icon"],[1,"n
1omeDoc"],["src","assets/img/download-doc.svg","alt","",1,"downloadIcon"],[1,"text-center"]],template:function(t,n){1&t&&(o.TgZ(0,"div",0)(1,"div",1)(2,"div",2)(3,"h5",3),o._UZ(4,"img",4),o._uU(5),o.ALo(6,"translate"),o.qZA(),o._UZ(7,"br"),o.TgZ(8,"h2",5),o._uU(9),o.ALo(10,"translate"),o.qZA(),o.TgZ(11,"input",6),o.NdJ("ngModelChange",function(g){return n.search=g})("onEvent",function(){return n.initPagination()}),o.ALo(12,"translate"),o.qZA()()()(),o.TgZ(13,"div",7)(14,"div",8),o.YNc(15,w,13,9,"div",9),o.YNc(16,y,3,3,"h6",10),o.qZA(),o.TgZ(17,"div",11)(18,"p-paginator",12),o.NdJ("onPageChange",function(g){return n.pagination.paginate(g)}),o.qZA()()()),2&t&&(o.Q6J("ngStyle",o.DdM(15,Z)),o.xp6(5),o.hij(" ",o.lcZ(6,9,"publicacoes.sala_de_imprensa")," "),o.xp6(4),o.Oqu(o.lcZ(10,11,"publicacoes.title")),o.xp6(2),o.s9C("placeholder",o.lcZ(12,13,"publicacoes.search")),o.Q6J("ngModel",n.search),o.xp6(4),o.Q6J("ngForOf",n.publicacoes),o.xp6(1),o.Q6J("ngIf",!(null!=n.publicacoes&&n.publicacoes.length)),o.xp6(2),o.Q6J("rows",n.pagination.rows)("totalRecords",n.pagination.totalRecords))},dependencies:[d.mk,d.sg,d.O5,d.PC,b.D,p.Fj,p.JJ,p.On,M.q,v.X$],styles:[".top-head[_ngcontent-%COMP%]{width:100%;padding-left:10%;padding-right:10%;height:500px;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px);padding-top:50px;text-align:center}.im[_ngcontent-%COMP%]{background-position:center;background-repeat:no-repeat;background-size:cover}.tit[_ngcontent-%COMP%]{padding:8px 16px 7px;height:45px;background:rgba(255,255,255,.2);display:inline-block;margin-top:100px;font-size:16px;line-height:30px;font-family:Montserrat!important;font-weight:500!important;border-radius:8px}.tit[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:10px}.top-head[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin:10px}.top-head[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{margin:30px;display:block}.titulo[_ngcontent-%COMP%]{font-size:45px;line-height:55px;text-align:center;display:inline-block}.container[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%}.img[_ngcontent-%COMP%]{width:50%}.card-header[_ngcontent-%COMP%]{background:#fff;width:100%;height:240px;background-position:center;background-size:cover;background-repeat:no-repeat;box-shadow:2px 2px 6px 1px #f4f4f4;border-bottom:0px}@media (max-width: 600px){.foot[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:350px}.titulo[_ngcontent-%COMP%]{font-size:30px}}.botao-download[_ngcontent-%COMP%]{cursor:pointer;display:flex;flex-direction:row;border-radius:12px;background-color:#fff;padding:8px;border:2px #e7ecf7 solid}.botao-download[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{margin-top:20px}.botao-download[_ngcontent-%COMP%]   #icon[_ngcontent-%COMP%]{width:45px}.botao-download[_ngcontent-%COMP%]   .nomeDoc[_ngcontent-%COMP%]{color:#667085;font-weight:700!important;font-size:12px}.botao-download[_ngcontent-%COMP%]   .downloadIcon[_ngcontent-%COMP%]{width:24px;margin-right:10px;margin-left:auto}.accordion-button[_ngcontent-%COMP%]:not(.collapsed){background-color:#fff!important;box-shadow:none!important;color:#000;border:none!important}.accordion-item2[_ngcontent-%COMP%]{border:none!important}.acord-p[_ngcontent-%COMP%]{font-weight:600!important}.accordion-button[_ngcontent-%COMP%]:focus{box-shadow:none!important}button[_ngcontent-%COMP%]{background:#fff;color:#222;border:1px solid #e7e7e7;border-bottom:2px solid #ddd;border-radius:2px;padding:4px 17px}button.active[_ngcontent-%COMP%]{color:#fff;background:#008ffb;border:1px solid blue;border-bottom:2px solid blue}button[_ngcontent-%COMP%]:focus{outline:0}#opaco[_ngcontent-%COMP%]{background:rgba(234,170,8,0)!important;border:1px white solid}small[_ngcontent-%COMP%]{cursor:pointer;background:#EAAA08;color:#fff;padding:10px 18px;border:0px;border-radius:8px;font-size:18px;font-weight:600;margin:0 10px}.tit2[_ngcontent-%COMP%]{padding:8px 16px 7px;width:auto;height:auto;background:#FEFBE8;display:inline-block;margin-top:100px;color:#323232;border-radius:5px;margin-bottom:90px}.tit2[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{margin-right:10px;width:20px}.content[_ngcontent-%COMP%]   input[_ngcontent-%COMP%]{width:60%;height:60px;text-align:center;border-radius:16px}.content.row.row-cols-1.row-cols-md-1[_ngcontent-%COMP%]{display:flex;justify-content:center}"]});var m=i(3611);const k=[{path:"",component:l}];class r{}r.\u0275fac=function(t){return new(t||r)},r.\u0275mod=o.oAB({type:r}),r.\u0275inj=o.cJS({imports:[m.Bz.forChild(k),m.Bz]});var A=i(565);class s{}s.\u0275fac=function(t){return new(t||s)},s.\u0275mod=o.oAB({type:s}),s.\u0275inj=o.cJS({imports:[d.ez,f.S,r,b.U,x._8,p.u5,A.m]})}}]);

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.