PageSourceSearch

https://parnamirim.rn.gov.br/401.09bd99711b58f6be.js

js parnamirim.rn.gov.br collected 2026-10-02 13:18:42 UTC 139,033 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkportal_parnamirim=self.webpackChunkportal_parnamirim||[]).push([[401],{1401:(Ai,B,l)=>{l.r(B),l.d(B,{PortalModule:()=>mi});var p=l(6895),m=l(502),d=l(9485),W=l(3660),T=l(5900),_=l(433),P=l(4004),K=l(9300),X=l(5243),$=l(1884),e=l(8256);let ee=(()=>{const n=class{constructor(){this.searchField=new _.NI}ngOnInit(){this.searchField.valueChanges.pipe((0,P.U)(i=>i.trim()),(0,K.h)(i=>i.length>1),(0,X.b)(300),(0,$.x)()).subscribe()}search(i){i=i.trim()}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-advanced-search-news"]],standalone:!0,features:[e.jDz],decls:5,vars:1,consts:[[1,"advenced-search"],["type","text","id","myInput","placeholder","Pesquise por not\xedcia",1,"input-search",3,"formControl"],["input",""],["id","buttonSearch","alt","Pesquisar",3,"click"],["alt","Pesquisar","src","assets/icons/search.svg"]],template:function(r,s){if(1&r){const a=e.EpF();e.TgZ(0,"div",0),e._UZ(1,"input",1,2),e.TgZ(3,"button",3),e.NdJ("click",function(){e.CHM(a);const f=e.MAs(2);return e.KtG(s.search(f.value))}),e._UZ(4,"img",4),e.qZA()()}2&r&&(e.xp6(1),e.Q6J("formControl",s.searchField))},dependencies:[p.ez,_.UX,_.Fj,_.JJ,_.oH],styles:[".advenced-search[_ngcontent-%COMP%]{position:relative;display:flex;border:.125rem var(--gray-to-yellow) solid;border-radius:.3rem;height:2.6875rem}.input-search[_ngcontent-%COMP%]{background-color:transparent;color:var(--black-quaternary-to-white);float:left;font-style:italic;font-size:var(--font-size-16);border:none;width:100%;padding:.5rem 1rem}#buttonSearch[_ngcontent-%COMP%]{cursor:pointer;background:none;border:none;padding:.5rem 1rem}#buttonSearch[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:var(--filter-blue-to-yellow)}"]}),t})();var g=l(8879),A=l(989);const E=function(t){return{cursor:t}};function te(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"img",7),e.NdJ("click",function(){e.CHM(o);const r=e.oxw().$implicit,s=e.oxw(2);return e.KtG(s.bannerAction(r.banner))}),e.qZA()}if(2&t){const o=e.oxw().$implicit;e.Q6J("src",o.base64,e.LSH)("alt",o.banner.title)("ngStyle",e.VKq(3,E,o.banner.archive||o.banner.url?"pointer":"default"))}}function ie(t,n){1&t&&e.YNc(0,te,1,5,"ng-template",6)}function ne(t,n){if(1&t&&(e.TgZ(0,"swiper",4),e.YNc(1,ie,1,0,null,5),e.qZA()),2&t){const o=e.oxw();e.Q6J("config",o.swiperConfig),e.xp6(1),e.Q6J("ngForOf",o.bannersMobile)}}function re(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"img",7),e.NdJ("click",function(){e.CHM(o);const r=e.oxw().$implicit,s=e.oxw(3);return e.KtG(s.bannerAction(r.banner))}),e.qZA()}if(2&t){const o=e.oxw().$implicit;e.Q6J("src",o.base64,e.LSH)("alt",o.banner.title)("ngStyle",e.VKq(3,E,o.banner.archive||o.banner.url?"pointer":"default"))}}function se(t,n){1&t&&e.YNc(0,re,1,5,"ng-template",6)}function oe(t,n){if(1&t&&(e.TgZ(0,"swiper",4),e.YNc(1,se,1,0,null,5),e.qZA()),2&t){const o=e.oxw(2);e.Q6J("config",o.swiperConfig),e.xp6(1),e.Q6J("ngForOf",o.bannersDesktop)}}function ae(t,n){if(1&t&&e.YNc(0,oe,2,2,"swiper",1),2&t){const o=e.oxw(),i=e.MAs(5);e.Q6J("ngIf",o.banners.length==o.bannersDesktop.length)("ngIfElse",i)}}function pe(t,n){1&t&&(e.TgZ(0,"div",8),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}g.ZP.use([g.pt,g.W_]);let Y=(()=>{const n=class{constructor(i){this.service=i,this.onMobile=window.screen.width<768,this.swiperConfig={autoplay:{delay:5e3,disableOnInteraction:!1},loop:!0,navigation:{enabled:!0}},this.bannersMobile=[],this.bannersDesktop=[]}ngOnInit(){this.getBannersBase64()}getBannersBase64(){this.onMobile&&this.bannersMobile.length<1&&this.banners.forEach(i=>{this.service.downloadFile(i.mobileArchive.path).subscribe(s=>this.bannersMobile.push({banner:i,base64:s}))}),!this.onMobile&&this.bannersDesktop.length<1&&this.banners.forEach(i=>{this.service.downloadFile(i.desktopArchive.path).subscribe(s=>this.bannersDesktop.push({banner:i,base64:s}))})}checkWindowWidth(){this.onMobile=window.screen.width<768,this.getBannersBase64()}bannerAction(i){let r=document.createElement("a");r.target="_blank",i.archive&&this.service.downloadFile(i.archive.path).subscribe(s=>{r.href=s,r.download=i.archive.name,r.click()}),i.url&&(r.href=i.url,r.click()),r.remove()}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-carousel-banner"]],inputs:{banners:"banners"},standalone:!0,features:[e.jDz],decls:6,vars:2,consts:[[3,"resize"],["class","carousel",3,"config",4,"ngIf","ngIfElse"],["desktop",""],["loading",""],[1,"carousel",3,"config"],[4,"ngFor","ngForOf"],["swiperSlide",""],[3,"src","alt","ngStyle","click"],[1,"loading"]],template:function(r,s){if(1&r&&(e.ynx(0,0),e.NdJ("resize",function(){return s.checkWindowWidth()},!1,e.Jf7),e.YNc(1,ne,2,2,"swiper",1),e.BQk(),e.YNc(2,ae,1,2,"ng-template",null,2,e.W1O),e.YNc(4,pe,2,0,"ng-template",null,3,e.W1O)),2&r){const a=e.MAs(3);e.xp6(1),e.Q6J("ngIf",s.onMobile&&s.banners.length==s.bannersMobile.length)("ngIfElse",a)}},dependencies:[p.ez,p.sg,p.O5,p.PC,d.kz,d.nF,d.YC,m.hx,m.xr],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAA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me-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size) / 44 * 27);
1height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.carousel,.carousel img{width:100%}.loading{height:13.125rem}\n'],encapsulation:2}),t})(),k=(()=>{const n=class{constructor(){this.content={icon:"social-assistent.svg",title:"sem t\xedtulo"}}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-category-button"]],inputs:{content:"content"},standalone:!0,features:[e.jDz],decls:4,vars:2,consts:[[1,"category"],[3,"src"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0),e._UZ(1,"img",1),e.TgZ(2,"p"),e._uU(3),e.qZA()()),2&r&&(e.xp6(1),e.Q6J("src","assets/icons/"+s.content.icon,e.LSH),e.xp6(2),e.Oqu(s.content.title))},dependencies:[p.ez],styles:[".category[_ngcontent-%COMP%]{height:3.5rem;width:100%;background:var(--gray-septenary-to-yellow);border-radius:.25rem;display:flex;flex-wrap:nowrap;align-items:center;cursor:pointer}.category[_ngcontent-%COMP%]:hover{background:var(--none-to-white);outline:.156rem solid var(--green-secondary-to-white)}.category[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{padding-inline:1rem;filter:var(--filter-none-to-black)}.category[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-size:var(--font-size-16);text-transform:uppercase;font-weight:500;color:var(--blue-to-black)}"]}),t})();var N=l(3486),h=l(3889);function ce(t,n){1&t&&e._UZ(0,"img",11),2&t&&e.Q6J("src",n.ngIf,e.LSH)}function le(t,n){if(1&t&&(e.TgZ(0,"span"),e._uU(1),e.ALo(2,"uppercase"),e.qZA()),2&t){const o=e.oxw(2).$implicit;e.xp6(1),e.hij("#",e.lcZ(2,1,o.category.name)," ")}}function ge(t,n){if(1&t&&(e.TgZ(0,"div",4)(1,"div",5),e.YNc(2,ce,1,1,"img",6),e.ALo(3,"async"),e.qZA(),e.TgZ(4,"div",7)(5,"div",8)(6,"span"),e._uU(7),e.ALo(8,"date"),e.qZA(),e.YNc(9,le,3,3,"span",9),e.qZA(),e.TgZ(10,"div",10)(11,"p"),e._uU(12),e.qZA()()()()),2&t){const o=e.oxw(),i=o.$implicit,r=o.index,s=e.oxw();e.Akn(s.properties),e.Q6J("routerLink","/noticia/"+i.id),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,7,s.imgsBase64$[r])),e.xp6(
15),e.hij(" ",e.xi3(8,9,i.timePublication,"dd/MM/yyyy")," "),e.xp6(2),e.Q6J("ngIf",s.showCategory),e.xp6(3),e.Oqu(i.title)}}function de(t,n){1&t&&e.YNc(0,ge,13,12,"ng-template",3)}g.ZP.use([g.pt,g.tl]);let x=(()=>{const n=class{constructor(i){this.service=i,this.loop=!0,this.showCategory=!1,this.swiperConfig={spaceBetween:50,loop:this.loop,slidesPerGroup:1,autoplay:{delay:5e3,disableOnInteraction:!1},pagination:{clickable:!0}},this.imgsBase64$=[]}ngOnInit(){this.getImgsBase64(),this.swiperConfig.loop=this.loop}getImgsBase64(){this.news.forEach(i=>{let r=i.files.find(s=>1==s.highlight).path;this.imgsBase64$.push(this.service.downloadFile(r))})}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-highlight-news-card"]],inputs:{loop:"loop",properties:"properties",news:"news",showCategory:"showCategory"},standalone:!0,features:[e.jDz],decls:3,vars:2,consts:[[3,"config"],["swiper",""],[4,"ngFor","ngForOf"],["swiperSlide",""],[1,"highlight-card",3,"routerLink"],[1,"image"],["alt","",3,"src",4,"ngIf"],[1,"subtitle"],[1,"title"],[4,"ngIf"],[1,"description"],["alt","",3,"src"]],template:function(r,s){1&r&&(e.TgZ(0,"swiper",0,1),e.YNc(2,de,1,0,null,2),e.qZA()),2&r&&(e.Q6J("config",s.swiperConfig),e.xp6(2),e.Q6J("ngForOf",s.news))},dependencies:[p.ez,p.sg,p.O5,p.Ov,p.gd,p.uU,h.Bz,h.rH,d.kz,d.nF,d.YC],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBc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zNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA);font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;
1left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-pagination{position:absolute;text-align:center;transition:.3s opacity;transform:translateZ(0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}
1.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none!important}.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal,.swiper-pagination-custom,.swiper-pagination-fraction{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active,.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, .2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none!important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-pagination-vertical.swiper-pagination-bullets,.swiper-vertical>.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0,-50%,0)}.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:.2s transform,.2s top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translate(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:.2s transform,.2s right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-vertical>.swiper-pagination-progressbar{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}swiper{width:100%;border-radius:.3rem}swiper .highlight-card{display:flex;align-items:flex-end;border-radius:.3rem;flex-direction:column;height:15rem;cursor:pointer;width:100%}
1swiper .highlight-card .image{width:100%;height:80%;background-color:var(--gray-tertiary)}swiper .highlight-card .image img{object-fit:cover;width:100%;height:105%;border-radius:.25rem .25rem 0 0}swiper .highlight-card .subtitle{background:var(--blue-to-yellow);width:100%;display:flex;justify-content:space-around;row-gap:.3rem;flex-direction:column;padding:.5rem;border-radius:0 0 .25rem .25rem;height:20%;text-transform:uppercase}swiper .highlight-card .subtitle .title{display:flex;justify-content:space-between}swiper .highlight-card .subtitle .title span{color:var(--white-to-black-quinary);font-weight:300;font-size:var(--font-size-10)}swiper .highlight-card .subtitle .description{color:var(--white-to-black-quinary);font-weight:500;font-size:var(--font-size-12)}swiper .highlight-card .subtitle .description p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}@media (min-width: 576px){swiper .highlight-card{height:22rem}swiper .highlight-card .subtitle{padding:.71rem}swiper .highlight-card .subtitle .description{font-size:var(--font-size-12)}swiper .highlight-card .subtitle .title span{font-size:var(--font-size-12)}}@media (min-width: 768px){swiper .highlight-card{height:27rem}swiper .highlight-card .subtitle .description{font-size:var(--font-size-14)}swiper .highlight-card .subtitle .description p{overflow:visible;text-overflow:initial;word-break:break-word;white-space:normal}swiper .highlight-card .subtitle .title span{font-size:var(--font-size-12)}}@media (min-width: 992px){swiper .highlight-card{height:30rem}swiper .highlight-card .image{min-height:80%}swiper .highlight-card .subtitle{min-height:20%;padding:1.375rem}swiper .highlight-card .subtitle .description{font-size:var(--font-size-18)}swiper .highlight-card .subtitle .title span{font-size:var(--font-size-16)}}\n'],encapsulation:2}),t})();const he=["view"];function me(t,n){1&t&&e._UZ(0,"img",6),2&t&&e.Q6J("src",n.ngIf,e.LSH)}function Ae(t,n){1&t&&e._UZ(0,"ngx-skeleton-loader")}let S=(()=>{const n=class{constructor(i,r){this._render=i,this.service=r,this.onMobile=window.screen.width<992}ngAfterViewInit(){this.getImgBase64(),this.handleResize()}getImgBase64(){let i=this.news.files.find(r=>1==r.highlight).path;this.imgBase64$=this.service.downloadFile(i)}setScrollHandler(){this.handler||(this.handler=this.onScroll.bind(this),window.addEventListener("scroll",this.handler),this.onScroll())}removeScrollHandler(){this.handler&&(window.removeEventListener("scroll",this.handler),this.handler=void 0,this.removeOpacity())}onScroll(i){const r=this.element.nativeElement.getBoundingClientRect();let s=(r.top+r.bottom)/innerHeight;s>=1.2?s=.8-(s-1.2):s>=.8&&(s=.8),this._render.setStyle(this.element.nativeElement.childNodes[1],"opacity",s),this._render.setStyle(this.element.nativeElement.childNodes[2],"opacity",s+.2)}removeOpacity(){this._render.removeStyle(this.element.nativeElement.childNodes[1],"opacity"),this._render.removeStyle(this.element.nativeElement.childNodes[2],"opacity")}handleResize(){this.onMobile=window.screen.width<768,this.onMobile?this.setScrollHandler():this.handler&&this.removeScrollHandler()}titleSizeLimit(i){return i.length>60?i.slice(0,60).concat("..."):i}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(e.Qsj),e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-latest-news"]],viewQuery:function(r,s){if(1&r&&e.Gf(he,5),2&r){let a;e.iGM(a=e.CRH())&&(s.element=a.first)}},inputs:{news:"news"},standalone:!0,features:[e.jDz],decls:10,vars:6,consts:[[1,"container",3,"routerLink","resize"],["view",""],[1,"image"],["alt","Avatar",3,"src",4,"ngIf","ngIfElse"],[1,"overlay"],["loading",""],["alt","Avatar",3,"src"]],template:function(r,s){if(1&r&&(e.TgZ(0,"div",0,1),e.NdJ("resize",function(){return s.handleResize()},!1,e.Jf7),e.TgZ(2,"div",2),e.YNc(3,me,1,1,"img",3),e.ALo(4,"async"),e.qZA(),e._UZ(5,"div",4),e.TgZ(6,"p"),e._uU(7),e.qZA()(),e.YNc(8,Ae,1,0,"ng-template",null,5,e.W1O)),2&r){const a=e.MAs(9);e.Q6J("routerLink","/noticia/"+s.news.id),e.xp6(3),e.Q6J("ngIf",e.lcZ(4,4,s.imgBase64$))("ngIfElse",a),e.xp6(4),e.Oqu(s.titleSizeLimit(s.news.title))}},dependencies:[p.ez,p.O5,p.Ov,h.Bz,h.rH,m.hx,m.xr],styles:[".container[_ngcontent-%COMP%]{position:relative;width:100%;height:min(60vw,15rem);overflow:hidden;cursor:pointer;border-radius:.625rem;box-shadow:0 .25rem .25rem #00000040}.container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{border-radius:.625rem;height:100%;width:100%}.container[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:100%;width:100%;object-fit:cover}.container[_ngcontent-%COMP%]   .overlay[_ngcontent-%COMP%]{position:absolute;inset:0;height:100%;width:100%;opacity:0;background-color:var(--green);border-radius:.625rem;transition:.5s ease}.container[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{position:absolute;inset:0;max-height:100%;height:-moz-fit-content;height:fit-content;width:100%;margin:auto;opacity:0;color:var(--white);font-size:1.6rem;text-align:center;font-weight:600;padding:1.6rem;transition:.5s ease}@media (min-width: 576px){.container[_ngcontent-%COMP%]{width:100%;max-height:11.5rem}}@media (min-width: 768px){.container[_ngcontent-%COMP%]:hover   .overlay[_ngcontent-%COMP%]{opacity:.8}.container[_ngcontent-%COMP%]:hover   p[_ngcontent-%COMP%]{opacity:1}}"]}),t})();var z=l(580),we=l(9499),b=l(8407);const be=b.icon({iconRetinaUrl:"assets/marker-icon-2x.png",iconUrl:"assets/marker-icon.png",shadowUrl:"assets/marker-shadow.png",iconSize:[25,41],iconAnchor:[12,41],popupAnchor:[1,-34],tooltipAnchor:[16,-28],shadowSize:[41,41]});b.Map.addInitHook("addHandler","gestureHandling",we.GestureHandling),b.Marker.prototype.options.icon=be;let Q=(()=>{const n=class{constructor(){this.markers=[],this.options={layers:[b.tileLayer("https://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png",{maxZoom:18,minZoom:3,attribution:'&copy; <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>'})],zoom:15,center:{lat:-5.925637,lng:-35.265823},gestureHandling:!0}}initMarkers(){const i=[{position:{lat:-5.925637,lng:-35.265823},draggable:!1,popup:'<h4>SECRETARIA MUNICIPAL DE CULTURA</h4>\n                    <p>
1Av. Castor Vieira R\xe9gis, 610, 1\xb0 Andar</p>\n                    <p>Cohabinal</p>\n                    <p>Fone: (084) 3644-8336</p>\n                    <p>E-mail: [email protected] </p>\n                    <p>Hor\xe1rio de Funcionamento: 7:30h \xe0s 17:00h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semuc">Acesse</a></p>'},{position:{lat:-5.925543,lng:-35.265665},draggable:!1,popup:'<h4>GRUPO DE CI&Ecirc;NCIA E TECNOLOGIA DA INFORMA&Ccedil;&Atilde;O - GCTI</h4>\n                    <p>Avenida Castor Vieira R&eacute;gis, 268, 1\xba Andar </p>\n                    <p>Cohabinal</p>\n                    <p>Fone: (084)  3644-8267 </p>\n                    <p>E-mail: [email protected] / Portal: gcti.parnamirim.rn.gov.br</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/orgaos/gcti">Acesse</a></p>'},{position:{lat:-5.920463,lng:-35.252771},draggable:!1,popup:'<h4>Secretaria Limpeza Urbana - SELIM</h4>\n                    <p>Avenida Felizardo Moura, 626 -</p>\n                    <p>Liberdade, Parnamirim/RN </p>\n                    <p>Fone: (084) 3644-8452 / 0800-281 6401 </p>\n                    <p>
1E-mail: [email protected] </p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h </p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/selim">Acesse</a></p>'},{position:{lat:-5.924668,lng:-35.265696},draggable:!1,popup:'<h4>Gabinete Civil - GACIV</h4>\n                    <p>Av. Castor Vieira R&eacute;gis 50</p>\n                    <p>Cohabinal - CEP 59.140-670</p>\n                    <p>Fone: (084) 3645-7799</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/gaciv">Acesse</a></p>'},{position:{lat:-5.924613,lng:-35.265701},draggable:!1,popup:'<h4>Assessoria de Comunica&ccedil;&atilde;o Social - ASCOM</h4>\n                    <p>Av. Castor Vieira R&eacute;gis 500</p>\n                    <p>Cohabinal - CEP 59.140-670</p>\n                    <p>Fone: (084) 3645-7481</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/orgaos/ascom">Acesse</a></p>'},{position:{lat:-5.924472,lng:-35.265833},draggable:!1,popup:'<h4>Controladoria Geral do Munic&iacute;pio - CGM</h4>\n                    <p>Av. Castor Vieira R&eacute;gis 500</p>\n                    <p>Cohabinal - CEP 59.140-670</p>\n                    <p>Fone: (084) 3645-1686</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/orgaos/conge">Acesse</a></p>'},{position:{lat:-5.924545,lng:-35.265849},draggable:!1,popup:'<h4>PROCURADORIA GERAL DO MUNIC&Iacute;PIO - PROGE</h4>\n                    <p>Av. Castor Vieira R&eacute;gis 500</p>\n                    <p>Cohabinal - CEP 59.140-670</p>\n                    <p>Fone: (084) 3645-1686</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/orgaos/proge">Acesse</a></p>'},{position:{lat:-5.924693,lng:-35.265629},draggable:!1,popup:'<h4>Planejamento, Finan&ccedil;as - SEPLAF</h4>\n                    <p>Av. Castor Vieira R&eacute;gis 50</p>\n                    <p>Cohabinal - CEP 59.140-670</p>\n                    <p>Fone: (084) 3645-7147 / 3644-8764</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/seplaf">Acesse</a></p>'},{position:{lat:-5.914964,lng:-35.260676},draggable:!1,popup:'<h4>Secretaria de Meio Ambiente e Desenvolvimento Urbano - SEMUR</h4>\n                    <p>Rua Dr. Carlos Matheus, 1464</p>\n                    <p>Centro - CEP 59140-250 - Parnamirim/RN </p>\n                    <p>Fone: (084) 3644-8244</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semur">Acesse</a></p>'},{position:{lat:-5.909576,lng:-35.265138},draggable:!1,popup:'<h4>Secretaria de Obras P&uacute;blicas e Saneamento - SEMOP</h4>\n                    <p>Rua Tenente Pedro Rufino dos Santos, 742</p>\n                    <p>Monte Castelo - CEP 59.146-160</p>\n                    <p>Fone: (084) 3645-5654</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semop">Acesse</a></p>'},{position:{lat:-5.906895,lng:-35.26254},draggable:!1,popup:'<h4>Secretaria de Administra&ccedil;&atilde;o e dos Recursos Humanos - SEARH</h4>\n                    <p>Rua Vicente de Paiva, 210 - </p>\n                    <p>Edif\xedcio Cartier - Monte Castelo</p>\n                    <p>Fone: (084) 3644-8132/8131/8142/8144/8130</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/searh">Acesse</a></p>'},{position:{lat:-5.906852,lng:-35.262675},draggable:!1,popup:'<h4>Secretaria de Sa&uacute;de - SESAD</h4>\n                    <p>Rua Vicente de Paiva, 210 - Edif&iacute;cio Cartier</p>\n                    <p>Monte Castelo</p>\n                    <p>Fone: (084) 3644-8104</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/sesad">Acesse</a></p>'},{position:{lat:-5.889944,lng:-35.236111},draggable:!1,popup:'<h4>Secretaria de Servi&ccedil;os Urbanos - SEMSUR</h4>\n                    <p>Rua Frei Henrique de Coimbra, 235</p>\n                    <p>Emaus - CEP 59.148-330</p>\n                    <p>Fone:(84) 3644-8422</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semsur">Acesse</a></p>'},{position:{lat:-5.910313,lng:-35.260583},draggable:!1,popup:'<h4>
1Gabinete da Secretaria Municipal de Esporte e Lazer - SEL</h4>\n                    <p>Rua Ten Medeiros, 83</p>\n                    <p>Centro - 59.150-000</p>\n                    <p>Fone: (084) 3644-3223</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&agrave;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/sel">Acesse</a></p>'},{position:{lat:-5.916673,lng:-35.265403},draggable:!1,popup:'<h4>Secretaria de Tributa&ccedil;&atilde;o - SEMUT</h4>\n                    <p>Rua C&iacute;cero Fernandes Pimenta, 1379A</p>\n                    <p>Bairro Santos Reis - CEP 59.141-010</p>\n                    <p>Fone: (084) 9 9922-4023</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 07:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semut">Acesse</a></p>'},{position:{lat:-5.916618,lng:-35.265348},draggable:!1,popup:'<h4>Secretaria de Educa&ccedil;&atilde;o e Cultura - SEMEC</h4>\n                    <p>Rua C&iacute;cero Fernandes Pimenta, 1379A</p>\n                    <p>Santos Reis - CEP 59.141.010</p>\n                    <p>Fone: (084) 3644-8250/8251/8279</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 11:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semec">Acesse</a></p>'},{position:{lat:-5.916226,lng:-35.269948},draggable:!1,popup:'<h4>Secretaria Municipal de Assist&ecirc;ncia Social - SEMAS</h4>\n                    <p>Rua Aspirante Santos, 396 </p>\n                    <p>Centro, Parnamirim/RN</p>\n                    <p>Fone: (084) 3644-8400/8401/8402</p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/semas">Acesse</a></p>'},{position:{lat:-5.924676,lng:-35.265699},draggable:!1,popup:'<h4>Secretaria Municipal de Turismo e Desenvolvimento Econ\xf4mico - SETUDE</h4>\n                    <p>Av. Castor Vi\xeaira R\xe9gis, 50 -  </p>\n                    <p>Cohabinal, Parnamirim</p>\n                    <p>Fone: (084) 3644-2554</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/setude">Acesse</a></p>'},{position:{lat:-5.92303,lng:-35.252198},draggable:!1,popup:'<h4>Secretaria Municipal de Seguran&ccedil;a, Defesa Social e Mobilidade Urbana - SESDEM</h4>\n                    <p>Rua das Antarias, 129</p>\n                    <p>Jardim Planalto - CEP 59.155-420 </p>\n                    <p>Fone: (084) 3644-8169 / 3644-8150 </p>\n                    <p>E-mail: [email protected]</p>\n                    <p>Hor&aacute;rio de Funcionamento: 7:30h &agrave;s 13:30h</p>\n                    <p><a href="https://parnamirim.rn.gov.br/secretarias/sesdem">Acesse</a></p>'}];for(let r=0;r<i.length;r++){const s=i[r],a=this.generateMarker(s);a.addTo(this.map).bindPopup(s.popup),this.map.panTo(this.options.center),this.markers.push(a)}}generateMarker(i){return b.marker(i.position,{draggable:i.draggable})}onMapReady(i){this.map=i,this.initMarkers()}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-map"]],standalone:!0,features:[e.jDz],decls:4,vars:1,consts:[[1,"map"],[1,"title"],["leaflet","",1,"map-container",3,"leafletOptions","leafletMapReady"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"LOCALIZA\xc7\xc3O DAS SECRETARIAS"),e.qZA(),e.TgZ(3,"div",2),e.NdJ("leafletMapReady",function(c){return s.onMapReady(c)}),e.qZA()()),2&r&&(e.xp6(3),e.Q6J("leafletOptions",s.options))},dependencies:[p.ez,z.UO,z.je],styles:[".map[_ngcontent-%COMP%]{z-index:1;margin-top:3rem;position:relative}.map[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-size:var(--font-size-18);font-weight:700;text-transform:uppercase;margin-bottom:.75rem}.map[_ngcontent-%COMP%]   .map-container[_ngcontent-%COMP%]{height:400px;border-radius:.6rem}@media (min-width: 768px){.title[_ngcontent-%COMP%]{font-size:var(--font-size-20)}}"]}),t})();function ve(t,n){1&t&&e._UZ(0,"img",7),2&t&&e.Q6J("src",n.ngIf,e.LSH)}let I=(()=>{const n=class{constructor(i){this.service=i}ngOnInit(){this.getImgBase64()}getImgBase64(){let i=this.news.files.find(r=>1==r.highlight).path;this.imgBase64$=this.service.downloadFile(i)}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-news-card"]],inputs:{news:"news"},standalone:!0,features:[e.jDz],decls:16,vars:12,consts:[[1,"card",3,"routerLink"],[1,"card-image"],["alt","Imagem",3,"src",4,"ngIf"],[1,"news-card"],[1,"subtitle"],[1,"title"],[1,"description"],["alt","Imagem",3,"src"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0)(1,"div",1),e.YNc(2,ve,1,1,"img",2),e.ALo(3,"async"),e.qZA(),e.TgZ(4,"div",3)(5,"div",4)(6,"div",5)(7,"span"),e._uU(8),e.ALo(9,"date"),e.qZA(),e.TgZ(10,"div",6)(11,"p"),e._uU(12),e.qZA()(),e.TgZ(13,"span"),e._uU(14),e.ALo(15,"uppercase"),e.qZA()()()()()),2&r&&(e.Q6J("routerLink","/noticia/"+s.news.id),e.xp6(2),e.Q6J("ngIf",e.lcZ(3,5,s.imgBase64$)),e.xp6(6),e.hij(" ",e.xi3(9,7,s.news.timePublication,"dd/MM/yyyy")," "),e.xp6(4),e.hij(" ",s.news.title," "),e.xp6(2),e.hij(" #",e.lcZ(15,10,s.news.category.name)," "))},dependencies:[p.ez,p.O5,p.Ov,p.gd,p.uU,h.Bz,h.rH],styles:[".card[_ngcontent-%COMP%]{display:flex;flex-direction:column;
1cursor:pointer}.card[_ngcontent-%COMP%]   .card-image[_ngcontent-%COMP%]{height:auto;filter:drop-shadow(0rem .25rem .25rem rgba(0,0,0,.25));margin-bottom:1rem}.card[_ngcontent-%COMP%]   .card-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{object-fit:cover;width:100%;height:10rem;border-radius:.321rem}.news-card[_ngcontent-%COMP%]{display:flex;align-items:center;justify-content:space-between;margin-left:0}span[_ngcontent-%COMP%]{color:var(--gray-to-white);font-weight:500;font-size:var(--font-size-12);line-height:.908rem}span[_ngcontent-%COMP%]:first-child{font-weight:700;color:var(--gray-dark-to-white)}.description[_ngcontent-%COMP%]{margin:0 0 .5rem}p[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:600;line-height:1.3rem}.title[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:auto}@media (min-width: 576px){.card[_ngcontent-%COMP%]   .card-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:18rem}}@media (min-width: 768px){.card[_ngcontent-%COMP%]{flex-direction:row}.card[_ngcontent-%COMP%]   .card-image[_ngcontent-%COMP%]{height:7.048rem;margin-bottom:0}.card[_ngcontent-%COMP%]   .card-image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:7.048rem;width:12rem}.news-card[_ngcontent-%COMP%]{margin-left:1.5rem}.description[_ngcontent-%COMP%]{margin:.5rem 0}}@media (min-width: 992px){p[_ngcontent-%COMP%]{height:65px;overflow:hidden;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}}"]}),t})();function Ce(t,n){if(1&t&&(e.TgZ(0,"a",3)(1,"button",4)(2,"div"),e._UZ(3,"img",5),e.qZA(),e.TgZ(4,"div",6),e._uU(5),e.qZA()()()),2&t){const o=e.oxw();e.s9C("href",o.content.link,e.LSH),e.xp6(1),e.Q6J("ngClass",o.content.class),e.xp6(2),e.Q6J("src","assets/icons/"+o.content.icon,e.LSH),e.xp6(2),e.hij(" ",o.content.title," ")}}function Me(t,n){if(1&t&&(e.TgZ(0,"button",7)(1,"div"),e._UZ(2,"img",5),e.qZA(),e.TgZ(3,"div",6),e._uU(4),e.qZA()()),2&t){const o=e.oxw();e.s9C("routerLink",o.content.link),e.Q6J("ngClass",o.content.class),e.xp6(2),e.Q6J("src","assets/icons/"+o.content.icon,e.LSH),e.xp6(2),e.hij(" ",o.content.title," ")}}let F=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-redirect-card"]],inputs:{content:"content"},standalone:!0,features:[e.jDz],decls:3,vars:2,consts:[[1,"redirect-card"],["target","_blank",3,"href",4,"ngIf"],["type","button","class","button",3,"routerLink","ngClass",4,"ngIf"],["target","_blank",3,"href"],["type","button",1,"button",3,"ngClass"],["alt","",3,"src"],[1,"title"],["type","button",1,"button",3,"routerLink","ngClass"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0),e.YNc(1,Ce,6,4,"a",1),e.YNc(2,Me,5,4,"button",2),e.qZA()),2&r&&(e.xp6(1),e.Q6J("ngIf",s.content.isExternal),e.xp6(1),e.Q6J("ngIf",!s.content.isExternal))},dependencies:[p.ez,p.mk,p.O5,h.Bz,h.rH],styles:[".redirect-card[_ngcontent-%COMP%]{display:inline}.redirect-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{height:35vw;width:100%;padding:1.5rem 2rem;border-radius:.3125rem;box-shadow:0 .25rem .25rem #00000040;cursor:pointer;border:none}.redirect-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-height:3rem;max-height:6rem;height:12vw}.redirect-card[_ngcontent-%COMP%]   .news[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;align-items:center;justify-content:center;row-gap:1rem;min-height:100%;min-width:100%!important;max-height:11.5rem;height:100%;padding:1rem 0}.redirect-card[_ngcontent-%COMP%]   .news[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:1.25rem}.redirect-card[_ngcontent-%COMP%]   .news[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:10rem}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]{background-color:var(--white-to-yellow)}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:var(--filter-blue-to-black-quaternary)}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]:hover{transition:.3s ease;background-color:var(--blue-to-white)}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%]{color:var(--white-to-black)}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{filter:var(--filter-blue-to-white-to-black)}.redirect-card[_ngcontent-%COMP%]   .thiner[_ngcontent-%COMP%]{background-color:var(--white);border:solid transparent;padding:.75rem 1rem}.redirect-card[_ngcontent-%COMP%]   .thiner[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{filter:var(--filter-blue-to-black-quaternary);width:50%}.redirect-card[_ngcontent-%COMP%]   .thiner[_ngcontent-%COMP%]:hover{border:solid;border-color:var(--green-secondary-to-yellow);background-color:var(--white-to-yellow)}.redirect-card[_ngcontent-%COMP%]   .thiner[_ngcontent-%COMP%]:hover   img[_ngcontent-%COMP%]{filter:var(--filter-blue-none-to-black-quaternary)}.redirect-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--font-size-20);color:var(--blue-to-black-quaternary);font-weight:500}@media (max-width: 380px){.redirect-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{padding:.75rem 1rem}.redirect-card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-height:1.5rem}.redirect-card[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--font-size-14)}}@media (min-width: 576px){.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]{min-width:8.5rem;min-height:7.25rem}}@media (min-width: 768px){.redirect-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{height:11.625rem}.redirect-card[_ngcontent-%COMP%]   div[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{height:8vw}.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]{min-width:10.5rem;min-height:9.25rem}.redirect-card[_ngcontent-%COMP%]   .news[_ngcontent-%COMP%]{max-height:11.5rem;min-height:unset!important;padding:0}}@media (min-width: 992px){.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]{min-width:12.5rem;min-height:11.25rem}}@media (min-width: 1200px){.redirect-card[_ngcontent-%COMP%]   .jumbo[_ngcontent-%COMP%]{min-width:14.5rem;min-height:13.25rem}}"]}),t})();var G=l(7415);function Pe(t,n){if(1&t&&(e.TgZ(0,"div",1)(1,"a",2),e._UZ(2,"img",3)(3,"img",4),e.TgZ(4,"div",5)(5,"div",6),e._uU(6),e.qZA(),e.TgZ(7,"div",7),e._uU(8),e.qZA()()()()),2&t){const o=n.$implicit;e.xp6(1),e.Q6J("href",o.link,e.LSH)("target",o.isExternal?"_blank":"_self"),e.xp6(1),e.Q6J("src","assets/icons/"+o.icon,e.LSH),e.xp6(1),e.Q6J("src","assets/icons/"+o.contrastIcon,e.LSH),e.xp6(3),e.hij(" ",o.title," "),e.xp6(2),e.hij(" ",o.subtitle," ")}}function xe(t,n){if(1&t&&(e.TgZ(0,"div",1)(1,"a",2),e._UZ(2,"img",3)(3,"img",4),e.TgZ(4,"div",5)(5,"div",6),e._uU(6),e.qZA(),e.TgZ(7,"div",7),e._uU(8),e.qZA()()()()),2&t){const o=n.$implicit;e.xp6(1),e.Q6J("href",o.link,e.LSH)("target",o.isExternal?"_blank":"_self"),e.xp6(1),e.Q6J("src","assets/icons/"+o.icon,e.LSH),e.xp6(1),e.Q6J("src","assets/icons/"+o.contrastIcon,e.LSH),e.xp6(3),e.hij(" ",o.title," "),e.xp6(2),e.hij(" ",o.subtitle," ")}}let y=(()=>{const n=class{constructor(){this.moduleCards=[{title:"Parnamirim Digital",subtitle:"Tenha acesso aos servi\xe7os da Prefeitura",icon:"portal-logo.svg",contrastIcon:"portal-logo-contrast.svg",link:"https://portalparnamirimdigital.parnamirim.rn.gov.br/",isExternal:!0}
1,{title:"Portal Contribuinte",subtitle:"Certid\xf5es, IPTU, ITIV, Alvar\xe1s",icon:"home.svg",contrastIcon:"home-contrast.svg",link:"https://www.tinus.com.br/csp/PARNAMIRIM/portal/index.csp?656ANjD3104RcEWq40607hhaq4345LR=ZrNJ99KhU975Usp13457mmTgT255Pwhmt4713x6616658CWny586",isExternal:!0}],this.moduleCards2=[{title:"Licita\xe7\xf5es",subtitle:"Decreto 1644/2009",icon:"documents.svg",contrastIcon:"documents-contrast.svg",link:"https://transparencia.parnamirim.rn.gov.br/#/licitacoes",isExternal:!0},{title:"Di\xe1rio Oficial",subtitle:"Confira aqui",icon:"newspaper-filled.svg",contrastIcon:"newspaper-contrast.svg",link:"http://diariooficial.parnamirim.rn.gov.br/",isExternal:!0}]}changeContrastTheme(){setTimeout(()=>{const i=document.querySelector("body"),r=document.querySelectorAll(".icon-contrast"),s=document.querySelectorAll(".icon-default");i.classList.contains("contrast")?this.changeDisplay(s,"none",r,"block"):this.changeDisplay(s,"block",r,"none")},0)}changeDisplay(i,r,s,a){s.forEach(c=>{c.style.display=a}),i.forEach(c=>{c.style.display=r})}ngOnInit(){this.changeContrastTheme()}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-module-card"]],standalone:!0,features:[e.jDz],decls:2,vars:2,consts:[["class","module-card",4,"ngFor","ngForOf"],[1,"module-card"],["type","button",1,"button",3,"href","target"],["alt","",1,"icon-default",3,"src"],["alt","",1,"icon-contrast",3,"src"],[1,"general-text"],[1,"title"],[1,"subtitle"]],template:function(r,s){1&r&&(e.YNc(0,Pe,9,6,"div",0),e.YNc(1,xe,9,6,"div",0)),2&r&&(e.Q6J("ngForOf",s.moduleCards),e.xp6(1),e.Q6J("ngForOf",s.moduleCards2))},dependencies:[p.ez,p.sg],styles:[".module-card[_ngcontent-%COMP%]{margin-bottom:.6875rem}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{text-decoration:none;background-color:var(--gray-goose-to-white);display:flex;border-radius:.5rem;border:none;padding:1rem 1.25rem;cursor:pointer;width:100%;align-items:center}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-weight:700;font-size:var(--font-size-16)}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:var(--font-size-14)}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--gray-quaternary-to-black-quaternary)}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]:hover{background-color:var(--yellow)}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]:hover   .title[_ngcontent-%COMP%], .module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]:hover   .subtitle[_ngcontent-%COMP%]{color:var(--blue-to-black-quaternary)}.module-card[_ngcontent-%COMP%]:first-child   .button[_ngcontent-%COMP%]{background-color:var(--blue-to-white)}.module-card[_ngcontent-%COMP%]:first-child   .button[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%], .module-card[_ngcontent-%COMP%]:first-child   .button[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--white-to-black-quinary)}.module-card[_ngcontent-%COMP%]:first-child   .button[_ngcontent-%COMP%]:hover{background-color:var(--blue-tertiary-to-yellow)}.module-card[_ngcontent-%COMP%]:last-child{margin-bottom:0rem}.module-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:2.25rem;display:block;float:left;margin-right:2.375rem;margin-top:.25rem}.module-card[_ngcontent-%COMP%]   .general-text[_ngcontent-%COMP%]{text-align:left;display:block}@media (min-width: 576px){.module-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:3rem}}@media (min-width: 768px){.module-card[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]{width:100%;padding:1rem 1.25rem}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--font-size-18)}.module-card[_ngcontent-%COMP%]   .button[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{font-size:var(--font-size-16)}.module-card[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{max-width:3.125rem}}@media (min-width: 992px){.module-card[_ngcontent-%COMP%]{display:flex;justify-content:flex-end}}"]}),t})();function ye(t,n){1&t&&e._UZ(0,"img",7),2&t&&e.Q6J("src",n.ngIf,e.LSH)}let D=(()=>{const n=class{constructor(i){this.service=i}ngOnInit(){this.getImgBase64()}getImgBase64(){let i=this.news.files.find(r=>1==r.highlight).path;this.imgBase64$=this.service.downloadFile(i)}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-more-news-card"]],inputs:{news:"news"},standalone:!0,features:[e.jDz],decls:12,vars:10,consts:[[1,"button",3,"routerLink"],["alt","Foto da Not\xedcia",3,"src",4,"ngIf"],[1,"content"],[1,"header"],[1,"date"],[1,"category"],[1,"title"],["alt","Foto da Not\xedcia",3,"src"]],template:function(r,s){1&r&&(e.TgZ(0,"button",0),e.YNc(1,ye,1,1,"img",1),e.ALo(2,"async"),e.TgZ(3,"div",2)(4,"div",3)(5,"div",4),e._uU(6),e.ALo(7,"date"),e.qZA(),e.TgZ(8,"div",5),e._uU(9),e.qZA()(),e.TgZ(10,"div",6),e._uU(11),e.qZA()()()),2&r&&(e.Q6J("routerLink","/noticia/"+s.news.id),e.xp6(1),e.Q6J("ngIf",e.lcZ(2,5,s.imgBase64$)),e.xp6(
15),e.hij(" ",e.xi3(7,7,s.news.timePublication,"dd/MM/yyyy")," "),e.xp6(3),e.hij(" #",s.news.category.name," "),e.xp6(2),e.hij(" ",s.news.title," "))},dependencies:[p.ez,p.O5,p.Ov,p.uU,h.Bz,h.rH],styles:[".button[_ngcontent-%COMP%]{background-color:var(--white-to-yellow);border:none;border-radius:.25rem;box-shadow:0 .25rem .5rem #00000040;cursor:pointer;display:flex;flex-direction:column;height:16rem;width:100%;overflow:hidden;margin-bottom:1rem}.button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-height:10rem;max-height:10rem;width:100%;object-fit:cover}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:.748rem 1rem}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{display:flex;font-size:var(--font-size-12);justify-content:space-between;margin-bottom:.748rem;flex-wrap:wrap}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .date[_ngcontent-%COMP%]{color:var(--green-to-black)}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]   .category[_ngcontent-%COMP%]{color:var(--gray-to-black)}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{align-self:center;color:var(--blue-to-black);font-weight:500;font-size:var(--font-size-14);text-align:start}@media (min-width: 576px){.button[_ngcontent-%COMP%]{flex-direction:initial;height:11.375rem}.button[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{min-height:100%;max-width:40%;min-width:40%}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{margin-bottom:1.4375rem;font-size:var(--font-size-14)}.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--font-size-18)}}@media (min-width: 768px){.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]{padding:1.469rem 1.5rem}}@media (min-width: 992px){.button[_ngcontent-%COMP%]{margin-bottom:2rem;max-width:46.375rem}}@media (min-width: 1200px){.button[_ngcontent-%COMP%]   .content[_ngcontent-%COMP%]   .header[_ngcontent-%COMP%]{flex-wrap:nowrap}}"]}),t})();var v=l(6809);function Oe(t,n){if(1&t&&e._UZ(0,"img",5),2&t){const o=e.oxw().$implicit;e.Q6J("src",o,e.LSH)}}function Ze(t,n){1&t&&e.YNc(0,Oe,1,1,"ng-template",4)}function Be(t,n){if(1&t&&e._UZ(0,"img",5),2&t){const o=e.oxw().$implicit;e.Q6J("src",o,e.LSH)}}function Te(t,n){1&t&&e.YNc(0,Be,1,1,"ng-template",4)}const Ee=function(){return{enabled:!0}};function Ye(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"swiper",6),e.NdJ("swiper",function(r){e.CHM(o);const s=e.oxw();return e.KtG(s.setSwiperThumbs(r))}),e.YNc(1,Te,1,0,null,2),e.qZA()}if(2&t){const o=e.oxw();e.Q6J("spaceBetween",10)("slidesPerView",4)("freeMode",e.DdM(5,Ee))("watchSlidesProgress",!0),e.xp6(1),e.Q6J("ngForOf",o.imgs)}}const ke=function(){return{delay:5e3,disableOnInteraction:!1}},Ne=function(t){return{enabled:t}},Se=function(t){return{swiper:t}};g.ZP.use([g.pt,g.W_,g.o3,g.Rv]);let O=(()=>{const n=class{constructor(){this.imgs=[],this.indexSetHighLight=0,this.galleryMode=!1,this.imagesBase64$=[]}setSwiperHighlight(i){this.swiperHighlight=i,this.swiperHighlight.slideTo(this.indexSetHighLight+1)}setSwiperThumbs(i){this.swiperThumbs=i,this.swiperThumbs.slideTo(this.indexSetHighLight)}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-photos-modal"]],inputs:{imgs:"imgs",newsImagesQuantity:"newsImagesQuantity",indexSetHighLight:"indexSetHighLight",galleryMode:"galleryMode"},standalone:!0,features:[e.jDz],decls:4,vars:14,consts:[[3,"ngClass"],[1,"swiper-highlight",3,"spaceBetween","slidesPerView","loop","autoplay","navigation","thumbs","swiper"],[4,"ngFor","ngForOf"],["class","swiper-thumbs",3,"spaceBetween","slidesPerView","freeMode","watchSlidesProgress","swiper",4,"ngIf"],["swiperSlide",""],[1,"image",3,"src"],[1,"swiper-thumbs",3,"spaceBetween","slidesPerView","freeMode","watchSlidesProgress","swiper"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0)(1,"swiper",1),e.NdJ("swiper",function(c){return s.setSwiperHighlight(c)}),e.YNc(2,Ze,1,0,null,2),e.qZA(),e.YNc(3,Ye,2,6,"swiper",3),e.qZA()),2&r&&(e.Q6J("ngClass",s.galleryMode?"galleryMode":"newsMode"),e.xp6(1),e.Q6J("spaceBetween",10)("slidesPerView",1)("loop",s.imgs.length>1)("autoplay",e.DdM(9,ke))("navigation",e.VKq(10,Ne,s.imgs.length>1))("thumbs",e.VKq(12,Se,s.swiperThumbs)),e.xp6(1),e.Q6J("ngForOf",s.imgs),e.xp6(1),e.Q6J("ngIf",s.imgs.length>1))},dependencies:[p.ez,p.mk,p.sg,p.O5,d.kz,d.nF,d.YC,m.hx],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAB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in-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size) / 44 * 27);
1height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.newsMode{width:100%;height:100%}.galleryMode{width:80vw;height:75vh}.swiper-highlight{height:80%;width:100%;background-color:var(--gray-tertiary);border-radius:0}.swiper-highlight .image{object-fit:contain}.swiper-thumbs{cursor:pointer;height:20%;box-sizing:border-box;padding:.625rem;background-color:var(--gray);border-radius:0}.swiper-thumbs .image{object-fit:cover}.image{width:100%;height:100%}@media (min-width: 768px){.galleryMode{max-width:34rem;max-height:30rem}}@media (min-width: 992px){.galleryMode{max-width:54rem;max-height:48rem}}\n'],encapsulation:2}),t})();var U=l(6490);function ze(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"a",2),e.NdJ("click",function(){const s=e.CHM(o).$implicit,a=e.oxw(2);return e.KtG(a.share(s.network))}),e._UZ(1,"img",12),e.qZA()}if(2&t){const o=n.$implicit;e.xp6(1),e.Q6J("src",o.img,e.LSH)("title","Compartilhar no "+o.network)}}const Qe=function(t,n){return{close:t,open:n}};function Ie(t,n){if(1&t&&(e.TgZ(0,"div",10),e.YNc(1,ze,2,2,"a",11),e.qZA()),2&t){const o=e.oxw();e.Q6J("ngClass",e.WLB(2,Qe,o.closed,o.opened)),e.xp6(1),e.Q6J("ngForOf",o.shareLinks)}}function Fe(t,n){1&t&&(e.TgZ(0,"span",13),e._uU(1,"Not\xedcia copiada!"),e.qZA())}let J=(()=>{const n=class{constructor(i){this.attachmentService=i,this.show=!1,this.closed=!1,this.opened=!1,this.shareLinks=[{img:"assets/icons/share-facebook.svg",network:"Facebook"},{img:"assets/icons/share-whatsApp.svg",network:"WhatsApp"},{img:"assets/icons/share-twitter.svg",network:"Twitter"}],this.currentUrl=window.location.href,this.copied=!1}showLinks(){this.show?(this.opened=!1,this.closed=!0,setTimeout(()=>{this.show=!1},500)):(this.show=!0,this.opened=!0,this.closed=!1)}share(i){switch(i){case"Facebook":this.shareUrl="https://www.facebook.com/sharer/sharer.php?u="+this.actions.title+": "+this.actions.subtitle+" "+this.currentUrl,window.open(this.shareUrl.replaceAll("#","%23"),"_blank");break;case"Twitter":this.shareUrl="https://twitter.com/intent/tweet?text="+this.actions.title+": "+this.actions.subtitle+" "+this.currentUrl,window.open(this.shareUrl.replaceAll("#","%23"),"_blank");break;case"WhatsApp":this.shareUrl="https://api.whatsapp.com/send?text="+this.actions.title+": "+this.actions.subtitle+" "+this.currentUrl,window.open(this.shareUrl.replaceAll("#","%23"),"_blank");break;default:console.error("Invalid share!")}}printThisPage(){window.print()}saveAsZip(i){i.href||this.attachmentService.downloadFileZip(this.actions.newsId).subscribe(r=>{i.href=r,i.click()})}copyToClipboard(){this.copied=!0,clearTimeout(this.timeout),this.timeout=setTimeout(()=>{this.copied=!1},2e3),navigator.clipboard.writeText(this.actions.title+"\r\r"+this.actions.subtitle+"\r\r"+this.actions.content.innerText)}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-social-share"]],inputs:{actions:"actions"},standalone:!0,features:[e.jDz],decls:13,vars:7,consts:[[1,"icons"],["class","share",3,"ngClass",4,"ngIf"],[3,"click"],["title","Compartilhar",3,"src"],["title","Imprimir P\xe1gina",3,"src"],["target","_blank",3,"download","click"],["element",""],["t
1itle","Baixar Imagens",3,"src"],["class","tooltip",4,"ngIf"],["title","Copiar Not\xedcia",3,"src"],[1,"share",3,"ngClass"],[3,"click",4,"ngFor","ngForOf"],[3,"src","title"],[1,"tooltip"]],template:function(r,s){if(1&r){const a=e.EpF();e.TgZ(0,"div",0),e.YNc(1,Ie,2,5,"div",1),e.TgZ(2,"button",2),e.NdJ("click",function(){return s.showLinks()}),e._UZ(3,"img",3),e.qZA(),e.TgZ(4,"button",2),e.NdJ("click",function(){return s.printThisPage()}),e._UZ(5,"img",4),e.qZA(),e.TgZ(6,"button")(7,"a",5,6),e.NdJ("click",function(){e.CHM(a);const f=e.MAs(8);return e.KtG(s.saveAsZip(f))}),e._UZ(9,"img",7),e.qZA()(),e.YNc(10,Fe,2,0,"span",8),e.TgZ(11,"button",2),e.NdJ("click",function(){return s.copyToClipboard()}),e._UZ(12,"img",9),e.qZA()()}2&r&&(e.xp6(1),e.Q6J("ngIf",s.show),e.xp6(2),e.Q6J("src","assets/icons/icon-share.svg",e.LSH),e.xp6(2),e.Q6J("src","assets/icons/printer.svg",e.LSH),e.xp6(2),e.Q6J("download","download.zip"),e.xp6(2),e.Q6J("src","assets/icons/download.svg",e.LSH),e.xp6(1),e.Q6J("ngIf",s.copied),e.xp6(2),e.Q6J("src","assets/icons/clipboard.svg",e.LSH))},dependencies:[p.ez,p.mk,p.sg,p.O5],styles:[".icons[_ngcontent-%COMP%]{gap:1.25rem;display:flex;justify-content:flex-end;align-items:center;height:2.2rem}.icons[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]{vertical-align:middle;gap:.5rem;justify-content:end;width:100%;display:flex}@media (min-width: 370px){.icons[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]{width:auto;justify-content:flex-end;gap:.75rem}}.icons[_ngcontent-%COMP%]   .share[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{cursor:pointer}.icons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%], .icons[_ngcontent-%COMP%]   a[_ngcontent-%COMP%]{background:none;border:none;cursor:pointer}.icons[_ngcontent-%COMP%]   button[_ngcontent-%COMP%]{filter:var(--filter-black-to-yellow)}.icons[_ngcontent-%COMP%]   span.tooltip[_ngcontent-%COMP%]{position:absolute;transform:translateY(-2rem);background-color:var(--black-quaternary);color:var(--gray-quinary);padding:.25rem;border-radius:.25rem;font-size:var(--font-size-14)}.open[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slide-in-right .5s cubic-bezier(.25,.46,.45,.94) both}.close[_ngcontent-%COMP%]{animation:_ngcontent-%COMP%_slide-out-right .5s cubic-bezier(.55,.085,.68,.53) both}@keyframes _ngcontent-%COMP%_slide-in-right{0%{transform:translate(100px);opacity:0}to{transform:translate(0);opacity:1}}@keyframes _ngcontent-%COMP%_slide-out-right{0%{transform:translate(0);opacity:1}to{transform:translate(100px);opacity:0}}@media print{.icons[_ngcontent-%COMP%]{display:none}}"]}),t})();var M=l(4103),u=l(5008);const Ge=function(){return["","Data","T\xedtulo"]};let De=(()=>{const n=class{constructor(i){this.portalService=i,this.MediaType=M.D,this.params={}}ngOnInit(){this.params={published:!0,size:10,page:0,sort:["timePublication,desc","id,desc"]},this.portalService.getPodcasts(this.params).subscribe(i=>{this.data=i})}changePage(i){this.params.page=i,this.portalService.getPodcasts(this.params).subscribe(r=>{this.data=r})}search(i){this.params.keyword=i,this.params.page=0,this.portalService.getPodcasts(this.params).subscribe(r=>{this.data=r})}sortList(i){this.params.sort=["timePublication,"+i,"id,"+i],this.params.page=0,this.portalService.getPodcasts(this.params).subscribe(r=>{this.data=r})}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-podcasts"]],decls:4,vars:5,consts:[[1,"content"],[1,"page-title"],[3,"mediaType","titles","pageSize","data","pageChange","search","sortList"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0)(1,"h1",1),e._uU(2,"PODCAST"),e.qZA(),e.TgZ(3,"app-pagination-table",2),e.NdJ("pageChange",function(c){return s.changePage(c)})("search",function(c){return s.search(c)})("sortList",function(c){return s.sortList(c)}),e.qZA()()),2&r&&(e.xp6(3),e.Q6J("mediaType",s.MediaType.PODCAST)("titles",e.DdM(4,Ge))("pageSize",10)("data",s.data))},dependencies:[v.r],styles:["[_nghost-%COMP%]     app-pagination-table table tbody tr td:last-child{min-height:auto}"]}),t})();const Ue=function(){return["Data","Categoria","T\xedtulo",""]};let Je=(()=>{const n=class{constructor(i){this.portalService=i,this.MediaType=M.D,this.params={}}ngOnInit(){this.params={published:!0,size:10,page:0,sort:["timePublication,desc","id,desc"]},this.portalService.getNews(this.params).subscribe(i=>{this.data=i})}ngOnDestroy(){this.portalService.searchValue.next("")}changePage(i){this.params.page=i,this.portalService.getNews(this.params).subscribe(r=>{this.data=r})}search(i){this.params.keyword=i,this.params.page=0,this.portalService.getNews(this.params).subscribe(r=>{this.data=r})}sortList(i){this.params.sort=["timePublication,"+i,"id,"+i],this.params.page=0,this.portalService.getNews(this.params).subscribe(r=>{this.data=r})}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-news-list"]],decls:3,vars:5,consts:[[1,"title"],[3,"mediaType","titles","pageSize","data","pageChange","search","sortList"]],template:function(r,s){1&r&&(e.TgZ(0,"h1",0),e._uU(1,"\xfaltimas not\xedcias"),e.qZA(),e.TgZ(2,"app-pagination-table",1),e.NdJ("pageChange",function(c){return s.changePage(c)})("search",function(c){return s.search(c)})("sortList",function(c){return s.sortList(c)}),e.qZA()),2&r&&(e.xp6(2),e.Q6J("mediaType",s.MediaType.NEWS)("titles",e.DdM(4,Ue))("pageSize",10)("data",s.data))},dependencies:[v.r],styles:[".title[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:800;font-size:1.5rem;line-height:2rem;text-transform:uppercase;margin-bottom:4.5rem}[_nghost-%COMP%]     app-pagination-table table tbody tr td:last-child{min-height:auto}"]}),t})(),Le=(()=>{const n=class{constructor(i){this.el=i,this.nearEnd=new e.vpe,this.threshold=120}ngOnInit(){this.window=window}windowScrollEvent(i){const s=this.el.nativeElement.scrollHeight;s-this.window.innerHeight-this.window.scrollY+(this.window.document.documentElement.scrollHeight-s)<this.threshold&&this.nearEnd.emit()}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(e.SBq))},n.\u0275dir=e.lG2({type:n,selectors:[["","appScrollNearEnd",""]],hostBindings:function(r,s){1&r&&e.NdJ("scroll",function(c){return s.windowScrollEvent(c.target)},!1,e.Jf7)},inputs:{threshold:"threshold"},outputs:{nearEnd:"nearEnd"},standalone:!0}),t})();function He(t,n){1&t&&e._UZ(0,"app-news-card",13),2&t&&e.Q6J("news",n.$implicit)}function Re(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",4)(1,"div",5)(2,"h2",6),e._uU(3,"portal de not\xedcias"),e.qZA(),e._UZ(4,"app-highlight-news-card",7),e.qZA(),e.TgZ(5,"div",8)(6,"div",9)(7,"app-select-button",10),e.NdJ("_event",function(r){e.CHM(o);const s=e.oxw();return e.KtG(s.setFilterNews(r))}),e.qZA()()(),e.TgZ(8,"div",11),e.NdJ("nearEnd",function(){e.CHM(o);const r=e.oxw();return e.KtG(r.onNearEndScroll())}),e.YNc(9,He,1,1,"app-news-card",12),e.qZA()()}if(2&t){const o=n.ngIf,i=e.oxw();e.xp6(4),e.Q6J("news",i.highlight(o.content))("loop",!1),e.xp6(3),e.Q6J("content",i.content),e.xp6(2),e.Q6J("ngForOf",i.newsCards(o.content))}}function qe(t,n){1&t&&e._UZ(0,"app-more-news-card",13),2&t&&e.Q6J("news",n.$implicit)}function je(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"app-category-button",19),e.NdJ("click",function(){const s=e.CHM(o).$implicit,a=e.oxw(2);return e.KtG(a.changeCategory(s.id))}),e.qZA()}2&t&&e.Q6J("content",n.$implicit)}function Ve(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",14)(1,"div",15),e.NdJ("nearEnd",function(){e.CHM(o);const r=e.oxw();return e.KtG(r.onNearEndScroll())}),e.TgZ(2,"h2",16),e._uU(3,"MAIS NOT\xcdCIAS"),e.qZA(),e.YNc(4,qe,1,1,"app-more-news-card",12),e.qZA(),e.TgZ(5,"div",17)(6,"h2",6),e._uU(7,"#CATEGORIAS"),e.qZA(),e.YNc(8,je,1,1,"app-category-button",18),e.qZA()()}if(2&t){const o=n.ngIf,i=e.oxw();e.xp6(4),e.Q6J("ngForOf",o.content),e.xp6(4),e.Q6J("ngForOf",i.categories)}}function We(t,n){1&t&&(e.TgZ(0,"div",25),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}const Ke=function(){return[1,2,3,4]};function Xe(t,n){1&t&&(e.TgZ(0,"h2",20),e._uU(1,"portal de not\xedcias"),e.qZA(),e.TgZ(2,"div",21)(3,"div",22),e._UZ(4,"ngx-skeleton-loader"),e.qZA(),e.TgZ(5,"div",23),e.YNc(6,We,2,0,"div",24),e.qZA()()),2&t&&(e.xp6(6),e.Q6J("ngForOf",e.DdM(1,Ke)))}function $e(t,n){1&t&&(e.TgZ(0,"div",25),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}function et(t,n){1&t&&(e.TgZ(0,"div",25),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}const L=function(){return[1,2,3,4,5,6,7,8]};function tt(t,n){1&t&&(e.TgZ(0,"h2",26),e._uU(1,"mais not\xedcias"),e.qZA(),e.TgZ(2,"div",21)(3,"div",27),e.YNc(4,$e,2,0,"div",24),e.qZA(),e.TgZ(5,"div",28),e.YNc(6,et,2,0,"div",24),e.qZA()()),2&t&&(e.xp6(4),e.Q6J("ngForOf",e.DdM(2,L)),e.xp6(2),e.Q6J("ngForOf",e.DdM(3,L
1)))}let it=(()=>{const n=class{constructor(i){this.portalService=i,this.category=[],this.sortArray=["highlight,DESC","timePublication,desc","id,desc"],this.params={size:12,sort:this.sortArray,published:!0},this.paramsByCategory={size:5,page:1,category:this.category,published:!0,sort:this.sortArray},this.categories=[{id:99,icon:"all-categories.svg",title:"Todas categorias"},{id:10,icon:"social-assistent.svg",title:"Assist\xeancia Social"},{id:11,icon:"public-tenders.svg",title:"Concursos P\xfablicos"},{id:19,icon:"covid-19.svg",title:"Covid-19"},{id:12,icon:"culture.svg",title:"Cultura"},{id:1,icon:"education.svg",title:"Educa\xe7\xe3o"},{id:6,icon:"sports-leisure.svg",title:"Esporte e Lazer"},{id:4,icon:"housing.svg",title:"Habita\xe7\xe3o"},{id:18,icon:"urban-cleaning.svg",title:"Limpeza Urbana"},{id:7,icon:"environment.svg",title:"Meio Ambiente"},{id:13,icon:"urban-mobility.svg",title:"Mobilidade Urbana"},{id:20,icon:"flag.svg",title:"Mulher e Direitos Humanos"},{id:9,icon:"public-works.svg",title:"Obras P\xfablicas"},{id:3,icon:"health.svg",title:"Sa\xfade"},{id:17,icon:"safety.svg",title:"Seguran\xe7a"},{id:14,icon:"urban-services.svg",title:"Servi\xe7os Urbanos"},{id:16,icon:"technology.svg",title:"Tecnologia"},{id:15,icon:"transit.svg",title:"Tr\xe2nsito"},{id:8,icon:"transparency.svg",title:"Transpar\xeancia"},{id:5,icon:"taxation.svg",title:"Tributa\xe7\xe3o"},{id:2,icon:"tourism.svg",title:"Turismo"}],this.selectOptions=this.categories.map(r=>r.title),this.content={title:"Selecione por Categoria",options:this.selectOptions}}ngOnInit(){this.news$=this.portalService.getNews(this.params),this.portalService.getNews(this.paramsByCategory).subscribe(i=>{this.moreNews=i})}highlight(i){return i.slice(0,1)}newsCards(i){return i.slice(1,5)}setFilterNews(i){let r=this.categories.find(s=>s.title==i)?.id;this.getCategoryNews(r),this.scrollToMoreNews(80)}changeCategory(i){this.getCategoryNews(i),this.scrollToMoreNews(100)}getCategoryNews(i){this.paramsByCategory=99==i?{category:[],page:1,size:5,published:!0,sort:this.sortArray}:{category:[i],page:0,size:8,published:!0,sort:this.sortArray},this.portalService.getNews(this.paramsByCategory).subscribe(r=>{this.moreNews=r})}scrollToMoreNews(i=0){var r=document.getElementById("more-news").offsetTop-i;window.scrollTo({top:r,behavior:"smooth"})}onNearEndScroll(){this.moreNews.pagination.hasNextPage&&(this.paramsByCategory.page++,this.paramsByCategory.sort=this.sortArray,this.portalService.getNews(this.paramsByCategory).subscribe(i=>{this.moreNews.content.push(...i.content),this.moreNews.pagination=i.pagination}))}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-news-portal"]],decls:7,vars:6,consts:[["class","content",4,"ngIf","ngIfElse"],["class","moreNews",4,"ngIf","ngIfElse"],["loadingNews",""],["loadingMore",""],[1,"content"],[1,"highlight"],[1,"title"],[3,"news","loop"],[1,"search"],[1,"search-category"],[3,"content","_event"],["appScrollNearEnd","",1,"newsCards",3,"nearEnd"],[3,"news",4,"ngFor","ngForOf"],[3,"news"],[1,"moreNews"],["appScrollNearEnd","",1,"moreNewsCards",3,"nearEnd"],["id","more-news",1,"title"],[1,"categories"],[3,"content","click",4,"ngFor","ngForOf"],[3,"content","click"],[1,"title-skeleton"],[1,"skeleton"],[1,"highlight-skeleton"],[1,"column"],["class","newsCards-skeleton",4,"ngFor","ngForOf"],[1,"newsCards-skeleton"],[1,"more","title-skeleton"],[1,"column","more-skeleton","c65"],[1,"column","more-skeleton","c35"]],template:function(r,s){if(1&r&&(e.YNc(0,Re,10,4,"div",0),e.ALo(1,"async"),e.YNc(2,Ve,9,2,"div",1),e.YNc(3,Xe,7,2,"ng-template",null,2,e.W1O),e.YNc(5,tt,7,4,"ng-template",null,3,e.W1O)),2&r){const a=e.MAs(4),c=e.MAs(6);e.Q6J("ngIf",e.lcZ(1,4,s.news$))("ngIfElse",a),e.xp6(2),e.Q6J("ngIf",s.moreNews)("ngIfElse",c)}},dependencies:[p.sg,p.O5,x,I,D,k,U.L,m.xr,Le,p.Ov],styles:[".content[_ngcontent-%COMP%], .categorys[_ngcontent-%COMP%]{display:block}.content[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%], .categorys[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:4rem;margin:2rem 0 4.5rem}.content[_ngcontent-%COMP%]   .newsCards[_ngcontent-%COMP%], .categorys[_ngcontent-%COMP%]   .newsCards[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem;margin-bottom:2rem}.categories[_ngcontent-%COMP%]{max-width:25.606rem;width:100%;display:none}[_nghost-%COMP%]     app-category-button .category{margin-bottom:1rem}.title[_ngcontent-%COMP%], .title-skeleton[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-size:var(--font-size-20);font-weight:700;font-family:Inter;font-style:normal;text-transform:uppercase;margin-bottom:.75rem}.skeleton[_ngcontent-%COMP%]{display:flex;flex-direction:column;gap:2rem}.skeleton[_ngcontent-%COMP%]   .highlight-skeleton[_ngcontent-%COMP%]{border-radius:.3rem;overflow:hidden;height:26rem;width:100%}.skeleton[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:100%;gap:1rem}.skeleton[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]   .newsCards-skeleton[_ngcontent-%COMP%]{border-radius:.3rem;overflow:hidden;height:10rem}.more[_ngcontent-%COMP%]{display:block;margin:2rem 0 .75rem}[_nghost-%COMP%]     .highlight-card .image img{object-fit:scale-down}@media (min-width: 992px){[_nghost-%COMP%]     .highlight-card .image img{width:100%;height:100%}
1[_nghost-%COMP%]     .highlight-card .subtitle .description p{overflow:hidden;white-space:nowrap;text-overflow:ellipsis}[_nghost-%COMP%]     app-news-card .card .card-image img{width:9rem!important}[_nghost-%COMP%]     app-news-card .card{height:6.5rem!important}[_nghost-%COMP%]     app-news-card .card .card-image, [_nghost-%COMP%]     app-news-card .card .card-image img{height:6.5rem!important}.title-skeleton[_ngcontent-%COMP%]{display:none;margin-bottom:0}.more[_ngcontent-%COMP%]{display:block;margin-bottom:.75rem}.skeleton[_ngcontent-%COMP%]{display:flex;flex-direction:row;gap:2rem}.skeleton[_ngcontent-%COMP%]   .highlight-skeleton[_ngcontent-%COMP%]{border-radius:.3rem;overflow:hidden;height:29rem;width:65%}.skeleton[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]{display:flex;flex-direction:column;width:35%;gap:1rem}.skeleton[_ngcontent-%COMP%]   .column[_ngcontent-%COMP%]   .newsCards-skeleton[_ngcontent-%COMP%]{border-radius:.3rem;overflow:hidden;height:6.5rem}.c65[_ngcontent-%COMP%]{width:65%!important}.c65[_ngcontent-%COMP%]   .newsCards-skeleton[_ngcontent-%COMP%]{height:10rem!important}.c35[_ngcontent-%COMP%]   .newsCards-skeleton[_ngcontent-%COMP%]{height:3rem!important}.content[_ngcontent-%COMP%]{display:flex;width:100%;gap:2rem;margin-bottom:2rem}.content[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%]{width:65%}.content[_ngcontent-%COMP%]   .highlight[_ngcontent-%COMP%]   h2[_ngcontent-%COMP%]{display:none;margin-bottom:0}.content[_ngcontent-%COMP%]   .newsCards[_ngcontent-%COMP%]{justify-content:space-between;gap:0;margin-bottom:0}.content[_ngcontent-%COMP%]   .search[_ngcontent-%COMP%], .search-category[_ngcontent-%COMP%]{display:none}.moreNews[_ngcontent-%COMP%]{display:grid;grid-template-columns:65% 35%;gap:2rem}.moreNews[_ngcontent-%COMP%]   .moreNewsCards[_ngcontent-%COMP%]{width:100%}.moreNews[_ngcontent-%COMP%]   .categories[_ngcontent-%COMP%]{width:100%;display:block}}@media (min-width: 1200px){.content[_ngcontent-%COMP%], .moreNewsCards[_ngcontent-%COMP%]{row-gap:6.5rem}}"]}),t})();var w=l(8505),H=l(1481);function nt(t,n){if(1&t&&e._UZ(0,"app-photos-modal",18),2&t){const o=e.oxw(2).ngIf,i=e.oxw();e.Q6J("imgs",i.imgs)("newsImagesQuantity",o.files.length)}}function rt(t,n){1&t&&e._UZ(0,"ngx-skeleton-loader")}function st(t,n){if(1&t&&(e.TgZ(0,"div",15),e.YNc(1,nt,1,2,"app-photos-modal",16),e.YNc(2,rt,1,0,"ng-template",null,17,e.W1O),e.qZA()),2&t){const o=e.MAs(3),i=e.oxw().ngIf,r=e.oxw();e.xp6(1),e.Q6J("ngIf",r.imgs.length==i.files.length)("ngIfElse",o)}}function ot(t,n){if(1&t&&(e.TgZ(0,"div",19),e._UZ(1,"img",20),e.qZA()),2&t){const o=e.oxw(2);e.xp6(1),e.Q6J("src",o.imgs[0],e.LSH)}}const at=function(t,n,o,i){return{newsId:t,title:n,subtitle:o,content:i}};function pt(t,n){if(1&t&&(e.TgZ(0,"div",1)(1,"div",2)(2,"a",3),e._uU(3,"NOT\xcdCIAS >\xa0"),e.qZA(),e.TgZ(4,"p"),e._uU(5),e.ALo(6,"date"),e.qZA()(),e._UZ(7,"hr",4),e.TgZ(8,"h1",5),e._uU(9),e.qZA(),e.TgZ(10,"h2",6),e._uU(11),e.qZA(),e.TgZ(12,"div",7)(13,"div",8)(14,"p"),e._uU(15),e.ALo(16,"date"),e.qZA(),e.TgZ(17,"p"),e._uU(18),e.qZA(),e.TgZ(19,"p"),e._uU(20),e.qZA()(),e._UZ(21,"app-social-share",9),e.qZA(),e.TgZ(22,"div",10),e.YNc(23,st,4,2,"div",11),e.YNc(24,ot,2,1,"ng-template",null,12,e.W1O),e._UZ(26,"div",13,14),e.qZA()()),2&t){const o=n.ngIf,i=e.MAs(25),r=e.MAs(27),s=e.oxw();e.xp6(2),e.Q6J("routerLink",s.routerLink),e.xp6(3),e.AsE(" ",o.title," - ",e.xi3(6,12,o.timePublication,"dd/MM/yyyy")," "),e.xp6(4),e.Oqu(o.title),e.xp6(2),e.Oqu(o.subtitle),e.xp6(4),e.Oqu(e.xi3(16,15,o.timePublication,"dd/MM/yyyy")),e.xp6(3),e.hij("Postado por: ",o.publishedBy,""),e.xp6(2),e.hij("Fotografia de: ",o.press?"ASCOM":o.credits,""),e.xp6(1),e.Q6J("actions",e.l5B(18,at,o.id,o.title,o.subtitle,r)),e.xp6(2),e.Q6J("ngIf",s.imgs.length>1)("ngIfElse",i),e.xp6(3),e.Q6J("innerHTML",o.article,e.oJD)}}let ct=(()=>{const n=class{constructor(i,r,s,a){this.service=i,this.activatedRoute=r,this.attachmentService=s,this.metaService=a,this.imgs=[],this.routerLink="/lista-noticias"}ngOnInit(){this.news$=this.service.getNewsById(this.activatedRoute.snapshot.params.id).pipe((0,w.b)(r=>{r.files.find(a=>
1a.highlight),r.files.forEach(a=>{this.attachmentService.downloadFile(a.path).subscribe(c=>this.imgs.push(c))}),this.metaService.updateTag({property:"og:description",content:"Not\xedcia"})}))}ngOnDestroy(){this.metaService.updateTag({property:"og:description",content:"Portal Municipal de Parnamirim"})}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(u.E),e.Y36(h.gz),e.Y36(A.L),e.Y36(H.h_))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-news"]],decls:2,vars:3,consts:[["class","news",4,"ngIf"],[1,"news"],[1,"breadcrumb"],[1,"navigate",3,"routerLink"],[1,"hr"],[1,"title"],[1,"subtitle"],[1,"areaInfo"],[1,"info"],[3,"actions"],[1,"areaText"],["class","imageContent",4,"ngIf","ngIfElse"],["single",""],[1,"text",3,"innerHTML"],["text",""],[1,"imageContent"],[3,"imgs","newsImagesQuantity",4,"ngIf","ngIfElse"],["loading",""],[3,"imgs","newsImagesQuantity"],[1,"image"],["alt","",3,"src"]],template:function(r,s){1&r&&(e.YNc(0,pt,28,23,"div",0),e.ALo(1,"async")),2&r&&e.Q6J("ngIf",e.lcZ(1,1,s.news$))},dependencies:[p.O5,h.rH,J,O,m.xr,p.Ov,p.uU],styles:[".news[_ngcontent-%COMP%]{font-family:Inter;font-style:normal}.news[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-size:var(--font-size-18);line-height:1.5rem;display:none}.news[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]   .navigate[_ngcontent-%COMP%]{min-width:7rem;font-weight:800;text-transform:uppercase;text-decoration:none;color:var(--blue-to-yellow)}.news[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]   p[_ngcontent-%COMP%]{font-weight:500}.news[_ngcontent-%COMP%]   .hr[_ngcontent-%COMP%]{display:none;margin-top:1.25rem;margin-bottom:2.25rem;height:0;border:.06rem solid;border-color:var(--gray-tertiary)}.news[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:700;font-size:2rem;line-height:2rem;padding-bottom:1rem}.news[_ngcontent-%COMP%]   .subtitle[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:500;font-size:1.4rem;padding-bottom:1.5rem}.news[_ngcontent-%COMP%]   .areaInfo[_ngcontent-%COMP%]{gap:1.5rem;display:grid;align-items:end;grid-template-columns:repeat(1,1fr);padding-bottom:2.5rem}.news[_ngcontent-%COMP%]   .areaInfo[_ngcontent-%COMP%]   .info[_ngcontent-%COMP%]{color:var(--gray-dark-to-white);font-weight:400;font-size:var(--font-size-18);line-height:1.5rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]{display:block;padding-bottom:2.5rem;min-height:50vh}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .text[_ngcontent-%COMP%]{color:var(--gray-dark-to-yellow);font-weight:400;font-size:var(--font-size-18);line-height:1.5rem;text-align:justify}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{float:none;display:block;width:100%;height:75vw;border-radius:.625rem;overflow:hidden;margin:0 auto 1rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{object-fit:cover;display:block;border-radius:.625rem;overflow:hidden;margin:0 auto 1rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]   img[_ngcontent-%COMP%]{width:100%!important;height:100%!important}@media (min-width: 576px){.news[_ngcontent-%COMP%]   .breadcrumb[_ngcontent-%COMP%]{display:flex}.news[_ngcontent-%COMP%]   .hr[_ngcontent-%COMP%]{display:block}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{max-width:32rem;height:28rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{max-width:32rem;margin:0 auto 1rem;height:18rem!important}}@media (min-width: 768px){.news[_ngcontent-%COMP%]   .areaInfo[_ngcontent-%COMP%]{gap:0;grid-template-columns:repeat(2,1fr)}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]{min-height:20rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{float:right;width:24rem;margin:0 0 1rem 2rem;height:20rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .image[_ngcontent-%COMP%]{float:right;width:24rem!important;margin:0 0 1rem 2rem;height:14rem!important}}@media (min-width: 992px){.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]{min-height:26rem}.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{width:30rem;height:26rem}}@media print{.news[_ngcontent-%COMP%]   .areaText[_ngcontent-%COMP%]   .imageContent[_ngcontent-%COMP%]{display:none}}"]}),t})();
1var C=l(3900);let lt=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-popup"]],inputs:{image:"image",popup:"popup"},standalone:!0,features:[e.jDz],decls:3,vars:3,consts:[[1,"modal-content"],["target","_blank",3,"href"],[3,"src","alt"]],template:function(r,s){1&r&&(e.TgZ(0,"div",0)(1,"a",1),e._UZ(2,"img",2),e.qZA()()),2&r&&(e.xp6(1),e.Q6J("href",s.popup.url,e.LSH),e.xp6(1),e.Q6J("src",s.image,e.LSH)("alt",s.popup.title))},dependencies:[p.ez],styles:["[_nghost-%COMP%]     img{width:100%;height:auto;object-fit:cover}@media (min-width: 768px){[_nghost-%COMP%]     img{height:40vw}}"]}),t})();var Z=l(8517);function gt(t,n){1&t&&e._UZ(0,"app-latest-news",14),2&t&&e.Q6J("news",n.$implicit)}function dt(t,n){if(1&t&&(e.ynx(0),e.TgZ(1,"div",13),e._UZ(2,"app-highlight-news-card",14),e.qZA(),e.TgZ(3,"div",15)(4,"div",16),e.YNc(5,gt,1,1,"app-latest-news",17),e._UZ(6,"app-redirect-card",18),e.qZA(),e.TgZ(7,"div",19),e._UZ(8,"app-module-card"),e.qZA()(),e.BQk()),2&t){const o=n.ngIf,i=e.oxw();e.xp6(2),e.Q6J("news",i.highlightNews(o.content)),e.xp6(3),e.Q6J("ngForOf",i.latestNews(o.content)),e.xp6(1),e.Q6J("content",i.newsJumbo)}}function ht(t,n){if(1&t&&(e.TgZ(0,"div",20),e._UZ(1,"app-carousel-banner",21),e.qZA()),2&t){const o=e.oxw();e.xp6(1),e.Q6J("banners",o.banners)}}function mt(t,n){1&t&&e._UZ(0,"app-redirect-card",18),2&t&&e.Q6J("content",n.$implicit)}function At(t,n){if(1&t&&(e.TgZ(0,"div",20),e._UZ(1,"app-carousel-banner",21),e.qZA()),2&t){const o=e.oxw(2);e.xp6(1),e.Q6J("banners",o.bannersStatic)}}function wt(t,n){if(1&t&&(e.ynx(0),e.YNc(1,At,2,1,"div",3),e.BQk()),2&t){const o=e.oxw(),i=e.MAs(21);e.xp6(1),e.Q6J("ngIf",o.bannersStatic.length)("ngIfElse",i)}}function ut(t,n){1&t&&(e.TgZ(0,"h2",22),e._uU(1,"#Acesso r\xe1pido"),e.qZA())}function ft(t,n){1&t&&(e.TgZ(0,"h2",22),e._uU(1,"#Acesso r\xe1pido"),e.qZA())}function _t(t,n){1&t&&e._UZ(0,"app-redirect-card",18),2&t&&e.Q6J("content",n.$implicit)}function bt(t,n){if(1&t&&(e.TgZ(0,"div",20),e._UZ(1,"app-carousel-banner",21),e.qZA()),2&t){const o=e.oxw(2);e.xp6(1),e.Q6J("banners",o.bannersStatic)}}function vt(t,n){if(1&t&&(e.ynx(0),e.YNc(1,bt,2,1,"div",3),e.BQk()),2&t){const o=e.oxw(),i=e.MAs(21);e.xp6(1),e.Q6J("ngIf",o.bannersStatic.length)("ngIfElse",i)}}function Ct(t,n){1&t&&(e.TgZ(0,"div",25),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}const Mt=function(){return[1,2,3]};function Pt(t,n){if(1&t&&(e.TgZ(0,"div",23),e._UZ(1,"ngx-skeleton-loader"),e.qZA(),e.TgZ(2,"div",15)(3,"div",16),e.YNc(4,Ct,2,0,"div",24),e._UZ(5,"app-redirect-card",18),e.qZA(),e.TgZ(6,"div",19),e._UZ(7,"app-module-card"),e.qZA()()),2&t){const o=e.oxw();e.xp6(4),e.Q6J("ngForOf",e.DdM(2,Mt)),e.xp6(1),e.Q6J("content",o.newsJumbo)}}function xt(t,n){1&t&&(e.TgZ(0,"div",26),e._UZ(1,"ngx-skeleton-loader"),e.qZA())}let yt=(()=>{const n=class{constructor(i,r,s){this.modalService=i,this.service=r,this.attachmentService=s,this.onMobile=window.screen.width<768,this.banners=[],this.bannersStatic=[],this.newsJumbo={title:"Quer ver mais not\xedcias?",icon:"more-news.svg",class:"jumbo news",link:"/portal-noticias",isExternal:!1},this.redirectCardJumbo=[{title:"Podcast",icon:"microphone.svg",class:"jumbo",link:"podcast",isExternal:!1},{title:"Cidad\xe3o",icon:"groupe.svg",class:"jumbo",link:"/servicos/cidadao",isExternal:!1},{title:"Servidor",icon:"front-desk.svg",class:"jumbo",link:"/servicos/servidores",isExternal:!1},{title:"Videos",icon:"player.svg",class:"jumbo",link:"videos",isExternal:!1}],this.redirectCardThiner=[{title:"Galeria",icon:"gallery.svg",class:"thiner",link:"galeria-fotos",isExternal:!1},{title:"Pr\xeamios",icon:"medal.svg",class:"thiner",link:"premios",isExternal:!1},{title:"\xd4nibus",icon:"bus.svg",class:"thiner",link:"cidade/transporte-coletivo",isExternal:!1},{title:"Instagram",icon:"instagram-logo.svg",class:"thiner",link:"https://www.instagram.com/prefeitura_parnamirim/",isExternal:!0},{title:"Facebook",icon:"facebook-logo.svg",class:"thiner",link:"https://www.facebook.com/prefeituraparnamirim",isExternal:!0},{title:"YouTube",icon:"youtube-logo.svg",class:"thiner",link:"https://www.youtube.com/user/AscomParnamirim",isExternal:!0}]}ngOnInit(){this.getNews(),this.listPopup(),this.getBanners()}getNews(){this.news$=this.service.getNews({published:!0,size:8,sort:["highlight,DESC","timePublication,DESC","id,DESC"]})}highlightNews(i){return i.slice(0,5)}latestNews(i){return i.slice(5,8)}listPopup(){sessionStorage.getItem("opennedPopup")||(sessionStorage.setItem("opennedPopup","true"),this.service.listPopups({published:!0,size:1,page:0}).pipe((0,C.w)(r=>(this.popup=r[0],this.attachmentService.downloadFile(this.popup.archive.path))),(0,C.w)(r=>this.modalService.open(lt,{image:r,popup:this.popup},{isPopup:!0}))).subscribe())}getBanners(){this.service.listBanners({size:99}).pipe((0,w.b)(i=>{this.banners=i.filter(r=>r.external),this.bannersStatic=i.filter(r=>!r.external)})).subscribe()}checkWindowWidth(){this.onMobile=window.screen.width<768}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(Z.Z),e.Y36(u.E),e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-home"]],decls:22,vars:12,consts:[[1,"home-content",3,"resize"],[4,"ngIf","ngIfElse"],[1,"cardsAndBanner"],["class","banner",4,"ngIf","ngIfElse"],[1,"cardJumbo"],[3,"content",4,"ngFor","ngForOf"],[4,"ngIf"],[1,"cardsAndAccordion"],["class","title",4,"ngIf"],[1,"accordion"],[1,"cardThiner"],["loadingNews",""],["loadingBanners",""],[1,"highlight"],[3,"news"],[1,"newsCardArea"],[1,"latestNews"],[3,"news",4,"ngFor","ngForOf"],[3,"content"],[1,"moduleCard"],[1,"banner"],[3,"banners"],[1,"title"],[1,"highlight","highlight-skeleton"],["class","latestNews-skeleton",4,"ngFor","ngForOf"],[1,"latestNews-skeleton"],[1,"banner","banner-skeleton"]],template:function(r,s){if(1&r&&(e.TgZ(0,"div",0),e.NdJ("resize",function(){return s.checkWindowWidth()},!1,e.Jf7),e.YNc(1,dt,9,3,"ng-container",1),e.ALo(2,"async"),e.TgZ(3,"div",2),e.YNc(4,ht,2,1,"div",3),e.TgZ(5,"div",4),e.YNc(6,mt,1,1,"app-redirect-card",5),e.qZA()(),e.YNc(7,wt,2,2,"ng-container",6),e.TgZ(8,"div",7),e.YNc(9,ut,2,0,"h2",8),e._UZ(10,"br"),e.TgZ(11,"div",9),e.YNc(12,ft,2,0,"h2",8),e._UZ(13,"app-accordion"),e.qZA(),e.TgZ(14,"div",10),e.YNc(15,_t,1,1,"app-redirect-card",5),e.qZA()(),e.YNc(16,vt,2,2,"ng-container",6),e._UZ(17,"app-map"),e.qZA(),e.YNc(18,Pt,8,3,"ng-template",null,11,e.W1O),e.YNc(20,xt,2,0,"ng-template",null,12,e.W1O)),2&r){const a=e.MAs(19),c=e.MAs(21);e.xp6(1),e.Q6J("ngIf",e.lcZ(2,10,s.news$))("ngIfElse",a),e.xp6(3),e.Q6J("ngIf",s.banners.length)("ngIfElse",c),e.xp6(2),e.Q6J("ngForOf",s.redirectCardJumbo),e.xp6(1),e.Q6J("ngIf",s.onMobile),e.xp6(2),e.Q6J("ngIf",!s.onMobile),e.xp6(3),e.Q6J("ngIf",s.onMobile),e.xp6(3),e.Q6J("ngForOf",s.redirectCardThiner),e.xp6(1),e.Q6J("ngIf",!s.onMobile)}},dependencies:[p.sg,p.O5,Y,x,S,y,F,G.Z,Q,m.xr,p.Ov],styles:[".highlight[_ngcontent-%COMP%]{margin-bottom:1.563rem}.highlight-skeleton[_ngcontent-%COMP%]{border-radius:.3rem;overflow:hidden;height:15rem}.newsCardArea[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;gap:0;margin-bottom:1.563rem}.newsCardArea[_ngcontent-%COMP%]   .latestNews[_ngcontent-%COMP%]{display:inline-grid;grid-template-columns:repeat(1,1fr);gap:1.5rem}.newsCardArea[_ngcontent-%COMP%]   .latestNews-skeleton[_ngcontent-%COMP%]{height:min(60vw,15rem);border-radius:.625rem;overflow:hidden}.newsCardArea[_ngcontent-%COMP%]   .moduleCard[_ngcontent-%COMP%]{margin-bottom:1.563rem}.cardsAndBanner[_ngcontent-%COMP%]{display:flex;flex-direction:column}.cardsAndBanner[_ngcontent-%COMP%]   .cardJumbo[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:1.563rem}.cardsAndAccordion[_ngcontent-%COMP%]{display:flex;flex-direction:column-reverse;gap:0;margin-bottom:1.563rem}.cardsAndAccordion[_ngcontent-%COMP%]   .cardThiner[_ngcontent-%COMP%]{display:grid;height:-moz-fit-content;height:fit-content;grid-template-columns:repeat(2,1fr);gap:1.5rem;margin-bottom:1.563rem}.banner[_ngcontent-%COMP%]{margin-bottom:1.563rem}.banner-skeleton[_ngcontent-%COMP%]{height:13.125rem}.title[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-size:var(--font-size-20);font-weight:700;font-family:Inter;font-style:normal;text-transform:uppercase;margin-bottom:.75rem}@media (min-width: 576px){.highlight-skeleton[_ngcontent-%COMP%]{height:22rem}.latestNews-skeleton[_ngcontent-%COMP%]{max-height:11.5rem}.cardsAndAccordion[_ngcontent-%COMP%]   .cardThiner[_ngcontent-%COMP%]{grid-template-columns:repeat(3,1fr)}}@media (min-width: 768px){.highlight[_ngcontent-%COMP%]{margin-bottom:3.125rem}.highlight-skeleton[_ngcontent-%COMP%]{height:27rem}.newsCardArea[_ngcontent-%COMP%]{display:grid;grid-template-columns:60% 1fr;margin-bottom:3.125rem;gap:3.125rem}.newsCardArea[_ngcontent-%COMP%]   .latestNews[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr);gap:1rem}.newsCardArea[_ngcontent-%COMP%]   .moduleCard[_ngcontent-%COMP%]{margin-bottom:0}.cardsAndBanner[_ngcontent-%COMP%]{display:block}
1.cardsAndBanner[_ngcontent-%COMP%]   .cardJumbo[_ngcontent-%COMP%]{display:flex;justify-content:space-between;gap:1rem;margin-bottom:3.125rem}.cardsAndAccordion[_ngcontent-%COMP%]{display:grid;grid-template-columns:repeat(2,1fr);grid-column-gap:2rem;margin-bottom:3.125rem}.cardsAndAccordion[_ngcontent-%COMP%]   .cardThiner[_ngcontent-%COMP%]{gap:2rem;margin-bottom:0}.banner[_ngcontent-%COMP%]{margin-bottom:3.125rem}}@media (min-width: 992px){.highlight-skeleton[_ngcontent-%COMP%]{height:30rem}}[_nghost-%COMP%]     .highlight-card{height:15rem}[_nghost-%COMP%]     .highlight-card .image{width:100%;height:80%}[_nghost-%COMP%]     .highlight-card .image img{object-fit:scale-down!important}[_nghost-%COMP%]     .highlight-card .subtitle{width:100%}@media (min-width: 576px){[_nghost-%COMP%]     .highlight swiper .highlight-card{height:22rem}[_nghost-%COMP%]     .highlight swiper .highlight-card .subtitle{padding:.71rem}}@media (min-width: 768px){[_nghost-%COMP%]     .highlight swiper{height:40rem}[_nghost-%COMP%]     .highlight swiper .highlight-card{height:35rem}[_nghost-%COMP%]     .highlight swiper .highlight-card .image{min-height:100%;min-width:100%}[_nghost-%COMP%]     .highlight swiper .highlight-card .subtitle{min-height:15%;padding:1.5rem}}@media (min-width: 992px){[_nghost-%COMP%]     .highlight swiper{height:36rem}[_nghost-%COMP%]     .highlight swiper .highlight-card{height:30rem}[_nghost-%COMP%]     .highlight swiper .highlight-card .image{min-height:100%;min-width:100%}[_nghost-%COMP%]     .highlight swiper .highlight-card .image img{scale:1;object-fit:cover!important}[_nghost-%COMP%]     .highlight swiper .highlight-card .subtitle{min-height:20%;padding:2.3rem}[_nghost-%COMP%]     .highlight swiper .highlight-card .subtitle .title span{font-size:var(--font-size-12)}[_nghost-%COMP%]     .highlight swiper .highlight-card .subtitle .description{font-size:var(--font-size-14)}}"]}),t})();var Ot=l(8640);const Zt=["swiper"],Bt=function(t,n){return{img:t,title:n,description:""}};function Tt(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"app-gallery-card",12),e.NdJ("click",function(){e.CHM(o);const r=e.oxw().$implicit,s=e.oxw(2);return e.KtG(s.openInfos(r))}),e.qZA()}if(2&t){const o=e.oxw().$implicit,i=e.oxw(2);e.Q6J("content",e.WLB(1,Bt,i.getImgData(o.id),o.title))}}function Et(t,n){1&t&&e.YNc(0,Tt,1,4,"ng-template",11)}const R=function(t){return{opacity:t}},Yt=function(){return{enabled:!0,prevEl:".arrow-left",nextEl:".arrow-right"}};function kt(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",4)(1,"span",5),e._UZ(2,"img",6),e.qZA(),e.TgZ(3,"swiper",7,8),e.NdJ("slideChange",function(){e.CHM(o);const r=e.oxw();return e.KtG(r.lockOrAllowSlide())}),e.YNc(5,Et,1,0,null,9),e.qZA(),e.TgZ(6,"span",5),e._UZ(7,"img",10),e.qZA()()}if(2&t){const o=e.oxw();e.xp6(2),e.Q6J("ngStyle",e.VKq(5,R,o.allowSlidePrev?1:.5)),e.xp6(1),e.Q6J("navigation",e.DdM(7,Yt))("slidesPerView",o.slidesPerView),e.xp6(2),e.Q6J("ngForOf",o.awards),e.xp6(2),e.Q6J("ngStyle",e.VKq(8,R,o.allowSlideNext?1:.5))}}function Nt(t,n){1&t&&(e.ynx(0),e.TgZ(1,"div",13),e._UZ(2,"ngx-skeleton-loader"),e.qZA(),e.BQk())}const q=function(){return{opacity:.5}},St=function(){return[]};function zt(t,n){if(1&t&&(e.TgZ(0,"div",4)(1,"span",5),e._UZ(2,"img",6),e.qZA(),e.YNc(3,Nt,3,0,"ng-container",9),e.TgZ(4,"span",5),e._UZ(5,"img",10),e.qZA()()),2&t){const o=e.oxw();e.xp6(2),e.Q6J("ngStyle",e.DdM(3,q)),e.xp6(1),e.Q6J("ngForOf",e.DdM(4,St).constructor(o.slidesPerView)),e.xp6(2),e.Q6J("ngStyle",e.DdM(5,q))}}g.ZP.use([g.W_]);let Qt=(()=>{const n=class{constructor(i,r,s){this.modal=i,this.attachmentService=r,this.service=s,this.awards=[],this.images=[],this.slidesPerView=1,this.allowSlidePrev=!1,this.allowSlideNext=!0}ngOnInit(){this.listAwards(),this.setSlidesPerView()}listAwards(){this.service.listAwards({published:!0,size:99,page:0}).subscribe(r=>{this.awards=r.content,this.awards.forEach(s=>{this.attachmentService.downloadFile(s.file.path).subscribe(a=>{let c=s.file.name.split(".")[0];this.images.push({id:s.id,data:a,name:c})})})})}getImgData(i){return this.images.find(r=>r.id==i).data}lockOrAllowSlide(){this.allowSlidePrev=!0,this.allowSlideNext=!0,this.swiper.swiperRef.isBeginning&&(this.allowSlidePrev=!1),this.swiper.swiperRef.isEnd&&(this.allowSlideNext=!1),document.getElementById("work-around")?.click()}
1openInfos(i){this.modal.open(Ot.D,{title:i.title,description:i.description}).subscribe()}setSlidesPerView(){let i=window.screen.width;this.slidesPerView=i<608?1:i<848?2:i<1120?3:4}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(Z.Z),e.Y36(A.L),e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-awards"]],viewQuery:function(r,s){if(1&r&&e.Gf(Zt,5),2&r){let a;e.iGM(a=e.CRH())&&(s.swiper=a.first)}},decls:6,vars:2,consts:[[1,"page-title",3,"resize"],["class","carousel",4,"ngIf","ngIfElse"],["loading",""],["id","work-around",2,"visibility","hidden"],[1,"carousel"],[1,"arrow"],["src","assets/icons/arrow-left-blue.svg","alt","foto anterior",1,"arrow-left",3,"ngStyle"],[3,"navigation","slidesPerView","slideChange"],["swiper",""],[4,"ngFor","ngForOf"],["src","assets/icons/arrow-right-blue.svg","alt","foto anterior",1,"arrow-right",3,"ngStyle"],["swiperSlide",""],[3,"content","click"],[1,"skeleton-card"]],template:function(r,s){if(1&r&&(e.TgZ(0,"h1",0),e.NdJ("resize",function(){return s.setSlidesPerView()},!1,e.Jf7),e._uU(1,"Pr\xeamios"),e.qZA(),e.YNc(2,kt,8,10,"div",1),e.YNc(3,zt,6,6,"ng-template",null,2,e.W1O),e._UZ(5,"button",3)),2&r){const a=e.MAs(4);e.xp6(2),e.Q6J("ngIf",s.awards.length>0&&s.awards.length==s.images.length)("ngIfElse",a)}},dependencies:[p.sg,p.O5,p.PC,d.nF,d.YC,N.W,m.xr],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRN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margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;
1left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size) / 44 * 27);height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.carousel{width:100%;display:flex;align-items:center;justify-content:space-between}@media (min-width: 576px){.carousel{gap:2rem}}.carousel span.arrow{cursor:pointer;width:1.5rem}.carousel span.arrow img{width:1.5rem}.carousel .skeleton-card{width:11.5rem;border-radius:.9rem;overflow:hidden;height:20rem}\n'],encapsulation:2}),t})();var It=l(5250);function Ft(t,n){if(1&t&&(e._UZ(0,"iframe",7),e.ALo(1,"safe")),2&t){const o=n.index,i=e.oxw().ngIf;e.s9C("title",i[o].title),e.Q6J("src",e.lcZ(1,2,i[o].url),e.uOi)}}const Gt=function(){return[]},Dt=function(){return["Data","T\xedtulo","",""]};function Ut(t,n){if(1&t){const o=e.EpF();e.ynx(0),e.TgZ(1,"h1",1),e._uU(2,"V\xeddeos"),e.qZA(),e.TgZ(3,"div",2)(4,"div",3)(5,"h1",4),e._uU(6,"Destaques"),e.qZA(),e._UZ(7,"br"),e.YNc(8,Ft,2,4,"iframe",5),e.qZA(),e.TgZ(9,"app-pagination-table",6),e.NdJ("pageChange",function(r){e.CHM(o);const s=e.oxw();return e.KtG(s.changePage(r))})("search",function(r){e.CHM(o);const s=e.oxw();return e.KtG(s.search(r))})("sortList",function(r){e.CHM(o);const s=e.oxw();return e.KtG(s.sortList(r))}),e.qZA()(),e.BQk()}if(2&t){const o=e.oxw();e.xp6(8),e.Q6J("ngForOf",e.DdM(5,Gt).constructor(o.limit)),e.xp6(1),e.Q6J("mediaType",o.MediaType.VIDEO)("titles",e.DdM(6,Dt))("pageSize",20)("data",o.data)}}let Jt=(()=>{const n=class{constructor(i,r){this.sanitizer=i,this.portalService=r,this.MediaType=M.D,this.urlArray=[],this.limit=4,this.params={published:!0,keyword:"",page:0,size:20,sort:["timePublication,desc","id,desc"]}}ngOnInit(){this.getVideos()}changePage(i){this.params.page=i,this.portalService.getVideos(this.params).subscribe(r=>{this.data=r})}getVideos(){this.videos$=this.portalService.getVideos(this.params).pipe((0,w.b)(i=>{this.data=i}),(0,P.U)(i=>i.content),(0,P.U)(i=>(i.slice(0,this.limit).forEach(r=>{r.url=r.url.split('"')[0];var a=r.url.match(/^.*((youtu.be\/)|(v\/)|(\/u\/\w\/)|(embed\/)|(watch\??v?=?))([^#\&\?]*).*/);a&&(r.url=`https://www.youtube.com/embed/${a[7]}`)}),i)))}search(i){this.params.keyword=i,this.params.page=0,this.portalService.getVideos(this.params).subscribe(r=>{this.data=r})}sortList(i){this.params.sort=["timePublication,"+i,"id,"+i],this.params.page=0,this.portalService.getVideos(this.params).subscribe(r=>{this.data=r})}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(H.H7),e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-videos"]],decls:2,vars:3,consts:[[4,"ngIf"],[1,"header"],[1,"gallery"],[1,"videos"],[1,"title"],["class","video","frameborder","0","allowfullscreen","",3,"src","title",4,"ngFor","ngForOf"],[3,"mediaType","titles","pageSize","data","pageChange","search","sortList"],["frameborder","0","allowfullscreen","",1,"video",3,"src","title"]],template:function(r,s){1&r&&(e.YNc(0,Ut,10,7,"ng-container",0),e.ALo(1,"async")),2&r&&e.Q6J("ngIf",e.lcZ(1,1,s.videos$))},dependencies:[p.sg,p.O5,v.r,p.Ov,It.y],styles:[".header[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:800;font-size:1.5rem;line-height:2rem;text-transform:uppercase;margin-bottom:1rem}.gallery[_ngcontent-%COMP%]{display:flex;flex-direction:column}.videos[_ngcontent-%COMP%]{display:grid;gap:1.5rem;grid-template-columns:repeat(1,1fr);margin-bottom:1.5rem}.videos[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}.videos[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{color:var(--blue-to-yellow);font-weight:800;font-size:1rem;line-height:2rem;text-transform:uppercase}.videos[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]{width:100%;border-radius:.3rem;min-height:10rem}.videos[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]:not(:nth-child(2n)){display:none}[_nghost-%COMP%]     tbody tr td:last-child{min-height:auto}@media (min-width: 576px){.videos[_ngcontent-%COMP%]{grid-template-columns:repeat(2,1fr)}.videos[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:block}.videos[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]{min-height:11rem}.videos[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]:not(:nth-child(2n)){display:block}}@media (min-width: 768px){.header[_ngcontent-%COMP%]{margin-bottom:4.5rem}.gallery[_ngcontent-%COMP%]{display:grid;gap:3.5rem;grid-template-columns:repeat(2,1fr);padding-left:3rem}.videos[_ngcontent-%COMP%]{gap:1.3rem;display:flex;flex-direction:column}.videos[_ngcontent-%COMP%]   br[_ngcontent-%COMP%]{display:none}.videos[_ngcontent-%COMP%]   .video[_ngcontent-%COMP%]{min-height:16.75rem}}"]}),t})();var Lt=l(7579);const Ht=["swiper"];function Rt(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",17)(1,"img",18),e.NdJ("click",function(){e.CHM(o);const r=e.oxw().index,s=e.oxw(2).index,a=e.oxw(2);return e.KtG(a.openGallery(s,r))}),e.qZA()()}if(2&t){const o=e.oxw().$implicit;e.xp6(1),e.Q6J("src",o.data,e.LSH)("alt",o.name)}}function qt(t,n){1&t&&e.YNc(0,Rt,2,2,"ng-template",16)}function jt(t,n){1&t&&e._UZ(0,"div",17)}function Vt(t,n){1&t&&e.YNc(0,jt,1,0,"ng-template",16)}function Wt(t,n){if(1&t&&(e.ynx(0),e.YNc(1,Vt,1,0,null,13),e.BQk()),2&t){const o=e.oxw(2).$implicit,i=e.oxw(2);e.xp6(1),e.Q6J("ngForOf",i.galleryLengthAsArray(o.archives.length))}}const j=function(t){return{opacity:t}},Kt=function(t,n){return{enabled:!0,prevEl:t,nextEl:n}};function Xt(t,n){if(1&t){const o=e.EpF();e.TgZ(0,"div",9)(1,"span"),e._UZ(2,"img",10),e.qZA(),e.TgZ(3,"swiper",11,12),e.NdJ("slideChange",function(){e.CHM(o);const r=e.oxw().index,s=e.oxw(2);return e.KtG(s.lockOrAllowSlide(r))}),e.YNc(5,qt,1,0,null,13),e.YNc(6,Wt,2,1,"ng-container",14),e.qZA(),e.TgZ(7,"span"),e._UZ(8,"img",15),e.qZA()()}if(2&t){const o=e.oxw(),i=o.index,r=o.$implicit,s=e.oxw(2);e.xp6(2),e.Tol("prevEl"+i),e.Q6J("ngStyle",e.VKq(10,j,s.allowSlidePrev[i]?1:.5)),e.xp6(1),e.Q6J("navigation",e.WLB(12,Kt,".prevEl"+i,".nextEl"+i))("slidesPerView",s.slidesPerView),e.xp6(2),e.Q6J("ngForOf",s.images[i]),e.xp6(1),e.Q6J("ngIf",r.archives.length<s.slidesPerView),e.xp6(2),e.Tol("nextEl"+i),e.Q6J("ngStyle",e.VKq(15,j,s.allowSlideNext[i]?1:.5))}}function $t(t,n){if(1&t&&(e.TgZ(0,"div",7)(1,"h2"),e._uU(2),e.ALo(3,"uppercase"),e.qZA(),e.YNc(4,Xt,9,17,"div",8),e.qZA()),2&t){const o=n.$implicit,i=n.index,r=e.oxw(2),s=e.MAs(9);
1e.xp6(2),e.Oqu(e.lcZ(3,3,o.title)),e.xp6(2),e.Q6J("ngIf",r.images[i]&&r.images[i].length==o.archives.length)("ngIfElse",s)}}function ei(t,n){if(1&t&&(e.ynx(0),e.YNc(1,$t,5,5,"div",6),e.BQk()),2&t){const o=n.ngIf;e.xp6(1),e.Q6J("ngForOf",o.content)}}function ti(t,n){1&t&&(e.TgZ(0,"p"),e._uU(1,"Nenhuma galeria encontrada."),e.qZA())}function ii(t,n){1&t&&(e.ynx(0),e.TgZ(1,"div",22),e._UZ(2,"ngx-skeleton-loader"),e.qZA(),e.BQk())}const V=function(){return{opacity:.5}},ni=function(){return[]};function ri(t,n){if(1&t&&(e.TgZ(0,"div",9)(1,"span",19),e._UZ(2,"img",20),e.qZA(),e.YNc(3,ii,3,0,"ng-container",13),e.TgZ(4,"span",19),e._UZ(5,"img",21),e.qZA()()),2&t){const o=e.oxw();e.xp6(2),e.Q6J("ngStyle",e.DdM(3,V)),e.xp6(1),e.Q6J("ngForOf",e.DdM(4,ni).constructor(o.slidesPerView)),e.xp6(2),e.Q6J("ngStyle",e.DdM(5,V))}}g.ZP.use([g.W_]);let si=(()=>{const n=class{constructor(i,r,s){this.modalService=i,this.service=r,this.attachmentService=s,this.images=[],this.imagesGalleryDownloaded$=new Lt.x,this.allowSlidePrev=[],this.allowSlideNext=[],this.slidesPerView=1}ngOnInit(){this.listGalleries(),this.setSlidesPerView()}listGalleries(){this.galleries$=this.service.listGalleries({published:!0,size:99,page:0}).pipe((0,w.b)(r=>{this.setGalleries(r.content)}))}setGalleries(i){let r=0;this.setGalleryImages(i[r]),this.imagesGalleryDownloaded$.asObservable().subscribe(s=>{this.images.push(s),r++,r<i.length&&this.setGalleryImages(i[r])})}setGalleryImages(i){this.allowSlidePrev.push(!1),this.allowSlideNext.push(!0),this.downloadImages([],i,0)}downloadImages(i,r,s){let a=r.archives[s];this.attachmentService.downloadFile(a.path).subscribe(c=>{let f=a.name.split(".")[0];i.push({data:c,name:f}),i.length<r.archives.length?this.downloadImages(i,r,s+1):this.imagesGalleryDownloaded$.next(i)})}lockOrAllowSlide(i){let r=this.swipers.get(i).swiperRef;this.allowSlidePrev[i]=!0,this.allowSlideNext[i]=!0,r.isBeginning&&(this.allowSlidePrev[i]=!1),r.isEnd&&(this.allowSlideNext[i]=!1),document.getElementById("work-around")?.click()}openGallery(i,r){this.modalService.open(O,{imgs:this.images[i].map(s=>s.data),indexSetHighLight:r,galleryMode:!0},{ignoreAnimation:!0,isPopup:!0}).subscribe()}galleryLengthAsArray(i){return new Array(this.slidesPerView-i)}setSlidesPerView(){let i=window.screen.width;this.slidesPerView=i<624?1:i<864?2:i<1200?3:4}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(Z.Z),e.Y36(u.E),e.Y36(A.L))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-gallery-page"]],viewQuery:function(r,s){if(1&r&&e.Gf(Ht,5),2&r){let a;e.iGM(a=e.CRH())&&(s.swipers=a)}},decls:10,vars:4,consts:[[1,"content-galleries",3,"resize"],[1,"page-title"],[4,"ngIf","ngIfElse"],["id","work-around",2,"visibility","hidden"],["noGalleries",""],["loading",""],["class","group",4,"ngFor","ngForOf"],[1,"group"],["class","images",4,"ngIf","ngIfElse"],[1,"images"],["src","assets/icons/arrow-left-blue.svg","alt","foto anterior",3,"ngStyle"],[1,"carousel-gallery",3,"navigation","slidesPerView","slideChange"],["swiper",""],[4,"ngFor","ngForOf"],[4,"ngIf"],["src","assets/icons/arrow-right-blue.svg","alt","pr\xf3xima foto",3,"ngStyle"],["swiperSlide",""],[1,"photos"],[3,"src","alt","click"],[1,"arrow"],["src","assets/icons/arrow-left-blue.svg","alt","foto anterior",1,"arrow-left",3,"ngStyle"],["src","assets/icons/arrow-right-blue.svg","alt","foto anterior",1,"arrow-right",3,"ngStyle"],[1,"skeleton-card"]],template:function(r,s){if(1&r&&(e.TgZ(0,"div",0),e.NdJ("resize",function(){return s.setSlidesPerView()},!1,e.Jf7),e.TgZ(1,"h1",1),e._uU(2,"Galeria de Fotos"),e.qZA(),e.YNc(3,ei,2,1,"ng-container",2),e.ALo(4,"async"),e.qZA(),e._UZ(5,"button",3),e.YNc(6,ti,2,0,"ng-template",null,4,e.W1O),e.YNc(8,ri,6,6,"ng-template",null,5,e.W1O)),2&r){const a=e.MAs(7);e.xp6(3),e.Q6J("ngIf",e.lcZ(4,2,s.galleries$))("ngIfElse",a)}},dependencies:[p.sg,p.O5,p.PC,d.nF,d.YC,m.xr,p.Ov,p.gd],styles:['@font-face{font-family:swiper-icons;src:url(data:application/font-woff;charset=utf-8;base64,\\ d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAA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swiper-theme-color:#007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translateZ(0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper:before{content:"";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper:before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper:before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}:root{--swiper-navigation-size:44px}.swiper-button-next,.swiper-button-prev{position:absolute;top:50%;width:calc(var(--swiper-navigation-size) / 44 * 27);
1height:var(--swiper-navigation-size);margin-top:calc(0px - var(--swiper-navigation-size) / 2);z-index:10;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--swiper-navigation-color, var(--swiper-theme-color))}.swiper-button-next.swiper-button-disabled,.swiper-button-prev.swiper-button-disabled{opacity:.35;cursor:auto;pointer-events:none}.swiper-button-next.swiper-button-hidden,.swiper-button-prev.swiper-button-hidden{opacity:0;cursor:auto;pointer-events:none}.swiper-navigation-disabled .swiper-button-next,.swiper-navigation-disabled .swiper-button-prev{display:none!important}.swiper-button-next:after,.swiper-button-prev:after{font-family:swiper-icons;font-size:var(--swiper-navigation-size);text-transform:none!important;letter-spacing:0;font-variant:initial;line-height:1}.swiper-button-prev,.swiper-rtl .swiper-button-next{left:10px;right:auto}.swiper-button-prev:after,.swiper-rtl .swiper-button-next:after{content:"prev"}.swiper-button-next,.swiper-rtl .swiper-button-prev{right:10px;left:auto}.swiper-button-next:after,.swiper-rtl .swiper-button-prev:after{content:"next"}.swiper-button-lock{display:none}.content-galleries{display:flex;flex-direction:column;row-gap:3.5rem}.content-galleries .group{width:100%;display:flex;flex-direction:column;row-gap:1.5rem}.content-galleries .group h2{color:var(--blue-to-yellow);font-size:1.3rem;padding-left:3rem;font-weight:700}.content-galleries .group .images{width:100%;display:flex;align-items:center;gap:2rem;justify-content:space-between}.content-galleries .group .images .skeleton-card{width:10rem;border-radius:.475rem;overflow:hidden;height:10rem}.content-galleries .group .images span{cursor:pointer;width:1.5rem}.content-galleries .group .images span img{width:1.5rem}.content-galleries .group .images .carousel-gallery{width:100%}.content-galleries .group .images .carousel-gallery .photos{margin:auto;height:10rem;width:10rem;overflow:hidden;padding:.2rem}.content-galleries .group .images .carousel-gallery .photos img{height:100%;width:100%;object-fit:cover;cursor:pointer;border-radius:.475rem}@media (min-width: 576px){.content-galleries .group .images .skeleton-card{height:12.8rem;width:12.8rem;border-radius:.875rem}.content-galleries .group .images .carousel-gallery .photos{height:12.8rem;width:12.8rem;padding:.4rem;border-radius:.875rem}}\n'],encapsulation:2}),t})();const oi=function(){return["Data","Categoria","T\xedtulo",""]},ai=function(){return["Data","T\xedtulo","",""]},pi=function(){return["","Data","T\xedtulo"]},li=function(t,n,o){return{icon:t,title:n,description:o}};function gi(t,n){if(1&t&&(e.TgZ(0,"a",3),e._UZ(1,"app-access-card",4),e.qZA()),2&t){const o=n.$implicit;e.uIk("href",o.link,e.LSH)("target","_blank"),e.xp6(1),e.Q6J("content",e.kEZ(3,li,o.icon,o.title,o.description))}}const di=[{path:"",component:yt},{path:"premios",component:Qt},{path:"portal-noticias",component:it},{path:"lista-noticias",component:Je},{path:"noticia/:id",component:ct},{path:"podcast",component:De},{path:"videos",component:Jt},{path:"lista-resultados",component:(()=>{const n=class{constructor(i){this.portalService=i,this.MediaType=M.D,this.params={published:!0,keyword:"",page:0,size:10,sort:["timePublication,desc","id,desc"]},this.lastIndex=0}ngOnInit(){this.portalService.searchValue.pipe((0,w.b)(i=>this.term=i),(0,w.b)(()=>this.params.keyword=this.term),(0,C.w)(()=>this.portalService.getNews(this.params).pipe((0,w.b)(i=>this.newsData=i))),(0,C.w)(()=>this.portalService.getVideos(this.params).pipe((0,w.b)(i=>this.videoData=i))),(0,C.w)(()=>this.portalService.getPodcasts(this.params).pipe((0,w.b)(i=>this.podcastData=i))),(0,w.b)(()=>this.params.keyword="")).subscribe()}ngOnDestroy(){this.portalService.navBarSearchReset.next(!0)}changePage(i,r){switch(this.params.page=i,this.params.keyword=r!=this.lastIndex?"":this.term,r){case 0:this.portalService.getNews(this.params).subscribe(s=>{this.newsData=s});break;case 1:this.portalService.getVideos(this.params).subscribe(s=>{this.videoData=s});break;case 2:this.portalService.getPodcasts(this.params).subscribe(s=>{this.podcastData=s})}}search(i,r){switch(this.term=i,this.params.keyword=i,this.params.page=0,r){case 0:this.portalService.getNews(this.params).subscribe(s=>{this.newsData=s});break;case 1:this.portalService.getVideos(this.params).subscribe(s=>{this.videoData=s});break;case 2:this.portalService.getPodcasts(this.params).subscribe(s=>{this.podcastData=s})}}sortList(i,r){switch(this.params.sort=["timePublication,"+i,"id,"+i],this.params.page=0,r){case 0:this.portalService.getNews(this.params).subscribe(s=>{this.newsData=s});break;case 1:this.portalService.getVideos(this.params).subscribe(s=>{this.videoData=s});break;case 2:this.portalService.getPodcasts(this.params).subscribe(s=>{this.podcastData=s})}}};let t=n;return n.\u0275fac=function(r){return new(r||n)(e.Y36(u.E))},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-search-results"]],decls:15,vars:15,consts:[[1,"page-title"],[1,"content"],[1,"title"],[1,"list"],[3,"mediaType","titles","pageSize","data","pageChange","search","sortList"]],template:function(r,s){1&r&&(e.TgZ(0,"h1",0),e._uU(1,"RESULTADO DA PESQUISA"),e.qZA(),e.TgZ(2,"div",1)(3,"h2",2),e._uU(4,"Not\xedcias"),e.qZA(),e.TgZ(5,"div",3)(6,"app-pagination-table",4),e.NdJ("pageChange",function(c){return s.changePage(c,0)})("search",function(c){return s.search(c,0)})("sortList",function(c){return s.sortList(c,0)}),e.qZA()(),e.TgZ(7,"h2",2),e._uU(8,"V\xeddeos"),e.qZA(),e.TgZ(9,"div",3)(10,"app-pagination-table",4),e.NdJ("pageChange",function(c){return s.changePage(c,1)})("search",function(c){return s.search(c,1)})("sortList",function(c){return s.sortList(c,1)}),e.qZA()(),e.TgZ(11,"h2",2),e._uU(12,"PODCASTS"),e.qZA(),e.TgZ(13,"div",3)(14,"app-pagination-table",4),e.NdJ("pageChange",function(c){return s.changePage(c,2)})("search",function(c){return s.search(c,2)})("sortList",function(c){return s.sortList(c,2)}),e.qZA()()()),2&r&&(e.xp6(6),e.Q6J("mediaType",s.MediaType.NEWS)("titles",e.DdM(12,oi))("pageSize",10)("data",s.newsData),e.xp6(4),e.Q6J("mediaType",s.MediaType.VIDEO)("titles",e.DdM(13,ai))("pageSize",10)("data",s.videoData),e.xp6(4),e.Q6J("mediaType",s.MediaType.PODCAST)("titles",e.DdM(14,pi))("pageSize",10)("data",s.podcastData))},dependencies:[v.r],styles:[".content[_ngcontent-%COMP%]   .title[_ngcontent-%COMP%]{font-size:var(--font-size-20);font-weight:600;text-transform:uppercase;color:var(--blue-to-white);margin-bottom:1rem}.content[_ngcontent-%COMP%]   .list[_ngcontent-%COMP%]{margin-bottom:6rem}"]}),t})()},{path:"galeria-fotos",component:si},{path:"pgrs",component:(()=>{const n=class{constructor(){this.pgrs=[{title:"PLANO DE GERENCIAMENTO DE RES\xcdDUOS\tS\xd3LIDOS",description:"Acesse o sistema",icon:"pgrs.png",link:"https://app.pgrsdigital.com.br/app/cidade/?cidade=parnamirim&uf=RN"}
1,{title:"TRANSPORTADORES E DESTINADORES\tFINAIS",description:"Cadastre-se aqui",icon:"transportadores.svg",link:"http://app.pgrsdigital.com.br/app/?cadastrofornecedor=1"}]}};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275cmp=e.Xpm({type:n,selectors:[["app-pgrs"]],decls:4,vars:1,consts:[[1,"page-title"],[1,"citizen-cards"],["class","card",4,"ngFor","ngForOf"],[1,"card"],[3,"content"]],template:function(r,s){1&r&&(e.TgZ(0,"h1",0),e._uU(1,"SISTEMA PGRS DIGITAL"),e.qZA(),e.TgZ(2,"div",1),e.YNc(3,gi,2,7,"a",2),e.qZA()),2&r&&(e.xp6(3),e.Q6J("ngForOf",s.pgrs))},dependencies:[p.sg,T.X],styles:[".citizen-cards[_ngcontent-%COMP%]{display:grid;grid-template-columns:1fr;row-gap:3rem;column-gap:2.5rem}.citizen-cards[_ngcontent-%COMP%]   .card[_ngcontent-%COMP%]{text-decoration:none}@media (min-width: 36rem){.citizen-cards[_ngcontent-%COMP%]{grid-template-columns:1fr 1fr;column-gap:.5rem}}@media (min-width: 48rem){.citizen-cards[_ngcontent-%COMP%]{column-gap:2.5rem}}"]}),t})()}];let hi=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[h.Bz.forChild(di),h.Bz]}),t})(),mi=(()=>{const n=class{};let t=n;return n.\u0275fac=function(r){return new(r||n)},n.\u0275mod=e.oAB({type:n}),n.\u0275inj=e.cJS({imports:[W.p,p.ez,hi,d.kz,Y,N.W,x,S,y,F,G.Z,T.X,y,I,D,k,U.L,ee,J,O,v.r,Q,m.hx]}),t})()}}]);

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.