PageSourceSearch

https://fenaprevi.org.br/_next/static/chunks/9527-654ee7e72d333806.js

js fenaprevi.org.br collected 2026-09-28 10:36:47 UTC 14,986 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9527],{3770:function(n,e){e.Z={src:"/_next/static/media/icon_pdf.44d081e9.svg",height:45,width:35,blurWidth:0,blurHeight:0}},41283:function(n,e,t){t.d(e,{m:function(){return C}});var r=t(85893),i=t(42298),o=t(29081),a=t(7297),l=t(14141);function s(){let n=(0,a.Z)([""]);return s=function(){return n},n}let c=l.ZP.div.withConfig({componentId:"sc-2315bfc9-0"})(s());var d=t(30286);t(81759),t(15138);var h=t(3770),u={src:"/_next/static/media/icon_xls.03789510.svg",height:45,width:35,blurWidth:0,blurHeight:0},m=t(86893),x=t(39297),p=t(33645),f=t(59429),g=t(75147),j=t(41330),b=t(78619);function v(){let n=(0,a.Z)(["\n  display: flex;\n  gap: 20px;\n  width: 100%;\n  max-width: 430px;\n  margin: auto;\n  justify-content: space-between;\n  .minus {\n    font-size: 1.6em;\n    cursor: pointer;\n  }\n  .wrap-items-paginator {\n    display: flex;\n    width: 216px;\n    overflow-x: auto; /* Enable horizontal scrolling */\n    scroll-behavior: smooth; /* Enable smooth scrolling */\n    white-space: nowrap;\n    &::-webkit-scrollbar {\n      display: none;\n    }\n\n    .item-num {\n      cursor: pointer;\n      font-size: 2rem;\n      border-radius: 50%;\n      width: 2.8rem;\n      height: 2.8rem;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      margin: 0 4px;\n      padding: 0px 10px;\n    }\n  }\n  .more {\n    font-size: 1.6em;\n    cursor: pointer;\n  }\n  .pagination-bullet-active {\n    color: ",";\n    background: ",";\n  }\n"]);return v=function(){return n},n}let w=l.ZP.div.withConfig({componentId:"sc-711c4679-0"})(v(),n=>n.theme.colors["pagination-bullets-text-active"],n=>n.theme.colors["pagination-bullets-bg"]);function y(n){let{children:e}=n;return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)(w,{children:[!e&&(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("button",{className:"minus",children:"-"}),Array.from({length:9}).map((n,e)=>(0,r.jsx)("span",{className:"item-num",children:e},e)),(0,r.jsx)("button",{className:"more",children:"+"})]}),e]})})}var k=t(99317),N=t(67294);function C(n){let{data:e}=n,[t,a]=(0,N.useState)(0),[l,s]=(0,N.useState)(0),[v,w]=(0,N.useState)([]),[C,D]=(0,N.useState)(""),[z,Z]=(0,N.useState)(""),[S,E]=(0,N.useState)([]),[P,L]=(0,N.useState)([]),[$,q]=(0,N.useState)({startDate:new Date,endDate:new Date,key:"selection"});(0,N.useEffect)(()=>{let n=e.sort((n,e)=>new Date(e.dataArquivo).getTime()-new Date(n.dataArquivo).getTime());L(O(n,!0)),w(n),document.addEventListener("keydown",Q,!0),document.addEventListener("click",U,!0)},[]),(0,N.useEffect)(()=>{P.length>0&&(L(O(v)),ne())},[t]);let[F,A]=(0,N.useState)(!1),[I,_]=(0,N.useState)(!1);function T(n,e){return n?(0,i.default)(n,"dd/MM/yyyy"):e}let[M,R]=(0,N.useState)(""),[W,G]=(0,N.useState)(""),H=n=>{q(n.selection),R(n.selection.startDate),G(n.selection.endDate)},J=()=>{q({startDate:new Date,endDate:new Date,key:"selection"}),A(!1),_(!1),R(""),G(""),D(""),Z(""),B()},B=()=>{L(O(e,!0)),w(e)},O=function(n){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t=V(n,e);return t},V=function(n){let e=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(0===n.length)return s(0),[];let r=[];for(let e=0;e<n.length;e+=5){let t=n.slice(e,e+5);r.push(t)}return s(r.length),r[e?0:t]},X=()=>{A(!0)},Y=function(){let n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=e.filter(n=>{let e=!C||n.tituloNome.toLowerCase().includes(C.toLowerCase()),t=!z||n.categoria.toLowerCase()===z.toLowerCase(),r=M?new Date(M):null,i=W?new Date(W):null,o=!r||!i||new Date(n.dataArquivo)>=r&&new Date(n.dataArquivo)<=i;return e&&t&&o});w(t.length>0?t:[]),L(O(t.length>0?t:[],n))},K=(0,N.useRef)(null),Q=n=>{"Escape"===n.key&&_(!1)},U=n=>{K.current&&!K.current.contains(n.target)&&_(!1)},nn=(0,N.useRef)(null),ne=()=>{let n=nn.current,e=null==n?void 0:n.querySelector(".pagination-bullet-active");if(n&&e){let t=window.innerWidth/2,r=e.offsetLeft;n.scrollLeft=r-t+e.clientWidth/2}};return(0,r.jsxs)(c,{hidden:0===e.length,children:[(0,r.jsx)(x.N,{weight:"h2",children:"Lista de arquivos"}),(0,r.jsx)(k.o9,{children:(0,r.jsx)("form",{children:(0,r.jsxs)("fieldset",{children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"titulo",children:"T\xedtulo"}
1),(0,r.jsx)("input",{value:C,type:"text",onChange:n=>{D(n.target.value)},placeholder:"T\xedtulo do arquivo",id:"titulo",className:"input-select"})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"periodo",children:"Per\xedodo"}),(0,r.jsx)("input",{value:F?" ".concat(T($.startDate,"")," | ").concat(T($.endDate,"")," "):"",autoComplete:"off",type:"text",onClick:()=>_(n=>!n),placeholder:"Selecionar",id:"periodo",className:"input-select"}),(0,r.jsxs)("div",{ref:K,className:"calendar-container ".concat(I?"active":""),children:[(0,r.jsx)(d.C0,{ranges:[$],onChange:H,locale:o.Z,weekdayDisplayFormat:"EEEEEE",weekStartsOn:1,dateDisplayFormat:"dd/MM/yyyy",className:"calendar-content "}),(0,r.jsxs)("div",{className:"calendar-button-select-content",children:[(0,r.jsx)("button",{className:"calendar-button link-clear",onClick:n=>{n.preventDefault(),J()},children:"Limpar"}),(0,r.jsx)("button",{className:"calendar-button",onClick:n=>{n.preventDefault(),_(!1),X()},children:"Selecionar"})]})]})]}),(0,r.jsxs)("div",{children:[(0,r.jsx)("label",{htmlFor:"categoria",children:"Categoria"}),(0,r.jsxs)("select",{className:"input-select",name:"categoria",id:"categoria",value:z,onChange:n=>Z(n.target.value),children:[(0,r.jsx)("option",{value:"",children:"selecione"}),S.map(n=>(0,r.jsx)("option",{value:n,children:n},n))]})]}),(0,r.jsx)("div",{children:(0,r.jsx)(b.t,{handleClick:()=>{Y(!0)},isLink:!1,label:"Filtrar",size:"s"})}),(0,r.jsx)("div",{children:(0,r.jsx)("button",{onClick:n=>{n.preventDefault(),J()},children:"Limpar filtros"})})]})})}),(0,r.jsx)(p.x,{children:(0,r.jsxs)(g.Z,{hover:!0,children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Data"}),(0,r.jsx)("th",{children:"Titulo"}),(0,r.jsx)("th",{children:"Categoria"}),(0,r.jsx)("th",{children:"Download"})]})}),(0,r.jsx)("tbody",{children:P.map(n=>(S.includes(n.categoria)||E([...S,n.categoria]),(0,r.jsxs)("tr",{children:[(0,r.jsx)("td",{width:"15%",children:(0,r.jsx)("p",{children:(0,i.default)(new Date(n.dataArquivo),"dd/MM/yyyy")})}),(0,r.jsx)("td",{width:"50%",children:(0,r.jsx)("p",{children:n.tituloNome})}),(0,r.jsx)("td",{width:"23%",children:(0,r.jsx)("p",{children:n.categoria})}),(0,r.jsx)("td",{width:"12%",children:n.arquivo.data&&(0,r.jsx)("a",{href:(0,f.Jn)(n.arquivo.data[0].attributes.url),target:"_blank",rel:"noreferrer",children:"Planilha"===n.categoria?(0,r.jsx)(j.Z,{src:u.src,alt:"XLS Download"}):(0,r.jsx)(j.Z,{src:h.Z.src,alt:"PDF Download"})})})]},n.id)))})]})}),0===P.length&&(0,r.jsx)("strong",{children:"N\xe3o foram encontrados itens para esta consulta."}),l>1&&(0,r.jsxs)(y,{children:[(0,r.jsx)("button",{className:"minus",onClick:()=>{t>0&&a(t-1)},children:(0,r.jsx)(m.YFh,{})}),(0,r.jsx)("div",{className:"wrap-items-paginator",ref:nn,children:Array.from({length:l}).map((n,e)=>(0,r.jsx)("span",{className:"item-num ".concat(t===e?"pagination-bullet-active":""),onClick:()=>a(e),children:e+1},e))}),(0,r.jsx)("button",{className:"more",onClick:()=>{t<l-1&&a(t+1)},children:(0,r.jsx)(m.Tfp,{})})]})]})}},31554:function(n,e,t){t.d(e,{A:function(){return a}});var r=t(7297),i=t(14141);function o(){let n=(0,r.Z)(["\n  display: flex;\n  flex-direction: column;\n  gap: 2rem;\n  flex: 1 !important;\n  .text-huge {\n    font-size: 2.4rem;\n  }\n  .text-big {\n    font-size: 1.6rem;\n  }\n  .text-small {\n    font-size: 1.4rem;\n  }\n  .text-tiny {\n    font-size: 1.2rem;\n  }\n  .grid-flex {\n    display: grid;\n    width: min(112rem, 90vw);\n    grid-template-columns: repeat(\n      auto-fill,\n      minmax(calc((112rem / 3) - 3rem), 1fr)\n    );\n    gap: 3rem;\n    margin: 0 auto;\n  }\n\n  blockquote {\n    border-left: 4px solid ",";\n    margin-bottom: 2rem;\n    padding: 1rem 2rem;\n  }\n  figure {\n    img {\n      width: 100%;\n    }\n  }\n  h1 {\n    font-size: 2.4rem;\n    color: ",";\n    font-weight: 700;\n    z-index: 10;\n    margin-top: 20px;\n  }\n  h2 {\n    font-size: 1.6rem;\n    color: ",";\n    font-weight: 700;\n    z-index: 10;\n    margin-top: 20px;\n  }\n  h3 {\n    font-size: 1.4rem;\n    color: ",";\n    font-weight: 700;\n    z-index: 10;\n    margin-top: 20px;\n  }\n  h4 {\n    font-size: 1.2rem;\n    color: ",";\n    font-weight: 700;\n    z-index: 10;\n    margin-top: 20px;\n  }\n\n  a {\n    font-weight: 700;\n    color: ",";\n    transition: 0.2s;\n    &:hover {\n      color: ",";\n    }\n\n    &.button-default {\n      transition: 0.3s;\n      padding: 1.6rem 3rem;\n      font-size: 1.8rem;\n      border-radius: 10px;\n      margin-top: 4rem;\n      font-weight: 500;\n      color: "," !important;\n      text-decoration: none;\n      background: ",";\n      width: fit-content;\n      &:hover {\n        color: ",";\n        background: ",';\n      }\n    }\n  }\n\n  > ul {\n    display: flex;\n    flex-direction: column;\n    gap: 2rem;\n    position: relative;\n    li {\n      position: relative;\n      padding-left: 1.2rem;\n      &:before {\n        content: "";\n        position: absolute;\n        height: 0.4rem;\n        width: 0.4rem;\n        display: flex;\n        border-radius: 50%;\n        background: ',";\n\n        top: 0.8rem;\n        left: 0;\n      }\n    }\n  }\n\n  @media screen and (max-width: ",") {\n    .grid-flex {\n      display: flex;\n      flex-direction: column;\n      gap: unset;\n    }\n  }\n"]);return o=function(){return n},n}let a=i.ZP.div.withConfig({componentId:"sc-2816b2fa-0"})(o(),n=>n.theme.colors["primary-200"],n=>n.theme.colors.black,n=>n.theme.colors.black,n=>n.theme.colors.black,n=>n.theme.colors.black,n=>n.theme.colors["quaternary-400-link"],n=>n.theme.colors["primary-400"],n=>n.theme.colors["btn-third"],n=>n.theme.colors["btn-first"],n=>n.theme.colors["btn-first"],n=>n.theme.colors["btn-second"],n=>n.theme.colors["primary-400"],n=>n.theme.rules.md)},39297:function(n,e,t){t.d(e,{N:function(){return x}});var r=t(85893),i=t(7297),o=t(14141);function a(){let n=(0,i.Z)(["\n  position: relative;\n  font-size: 2.4rem;\n  color: ",";\n  font-weight: 700;\n  z-index: 10;\n  margin-top: 20px;\n"]);return a=function(){return n},n}function l(){let n=(0,i.Z)(["\n  position: relative;\n  font-size: 1.6rem;\n  color: ",";\n  font-weight: 700;\n  z-index: 10;\n  margin-top: 20px;\n"]);return l=function(){return n},n}function s(){let n=(0,i.Z)(["\n  position: relative;\n  font-size: 1.4rem;\n  color: ",";\n  font-weight: 700;\n  z-index: 10;\n  margin-top: 20px;\n"]);return s=function(){return n},n}function c(){let n=(0,i.Z)(["\n  position: relative;\n  font-size: 3.4rem;\n  color: ",";\n  font-weight: 700;\n  z-index: 10;\n  margin-top: 20px;\n"]);return c=function(){return n},n}let d=o.ZP.h1.withConfig({componentId:"sc-f4a135ea-0"})(a(),n=>n.theme.colors.black),h=o.ZP.h2.withConfig({componentId:"sc-f4a135ea-1"})(l(),n=>n.theme.colors.black),u=o.ZP.h3.withConfig({componentId:"sc-f4a135ea-2"})(s(),n=>n.theme.colors.black),m=o.ZP.h4.withConfig({componentId:"sc-f4a135ea-3"})(c(),n=>n.theme.colors.black);function x(n){let{children:e,weight:t="h1"}=n;return(0,r.jsxs)(r.Fragment,{children:["h1"===t&&(0,r.jsx)(d,{children:e}),"h2"===t&&(0,r.jsx)(h,{children:e}),"h3"===t&&(0,r.jsx)(u,{children:e}),"h4"===t&&(0,r.jsx)(m,{children:e})]})}},33645:function(n,e,t){t.d(e,{x:function(){return c}});var r=t(85893),i=t(75147),o=t(7297),a=t(14141);function l(){let n=(0,o.Z)(["\n  table {\n    margin-top: 20px;\n    * {\n      border: none;\n      background: transparent !important;\n\n      &:hover {\n        background: transparent !important;\n        background-color: transparent !important;\n        td {\n          color: ",";\n        }\n      }\n    }\n\n    thead {\n      tr {\n        border-bottom: 4px solid ",";\n        th {\n          padding: 16px 0;\n          color: ",";\n          font-size: 1.6rem;\n        }\n      }\n    }\n    tbody {\n      tr {\n        &:last-child {\n          td {\n            border: none !important;\n          }\n        }\n        td {\n          color: ",";\n          img {\n            filter: ",';\n          }\n          &::before {\n            content: "";\n            width: 100%;\n            height: 30px;\n            display: block;\n          }\n          &::after {\n            content: "";\n            width: 100%;\n            height: 10px;\n            display: block;\n          }\n          border-bottom: 1px solid;\n          max-width: 350px;\n          &.border-none {\n            padding-top: 30px;\n            border: none;\n            padding-bottom: 0;\n          }\n          .title {\n            font-size: 1.4rem;\n            margin-bottom: 8px;\n            display: block;\n          }\n          p {\n            margin-bottom: 15px;\n            min-height: 68px;\n          }\n        }\n      }\n    }\n  }\n']);return l=function(){return n},n}let s=a.ZP.div.withConfig({componentId:"sc-75a84a17-0"})(l(),n=>n.theme.colors["gray-800"],n=>n.theme.colors["gray-800"],n=>n.theme.colors["gray-800"],n=>n.theme.colors["gray-800"],n=>n.theme.colors["filter-img-file"]);function c(n){let{children:e}=n;return(0,r.jsxs)(s,{children:[!e&&(0,r.jsxs)(i.Z,{hover:!0,children:[(0,r.jsx)("thead",{children:(0,r.jsxs)("tr",{children:[(0,r.jsx)("th",{children:"Nome"}),(0,r.jsx)("th",{children:"Entidade representada"}),(0,r.jsx)("th",{children:"Empresa / Cargo"})]})}),(0,r.jsxs)("tbody",{children:[(0,r.jsxs)("tr",{children:[(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"Presidente"}),"Roberto de Souza Santos"]}),(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"\xa0"}),"Porto Seguro Companhia de Seguros Gerais"]}),(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"\xa0"}),"Diretor Presidente"]})]}),(0,r.jsxs)("tr",{children:[(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"Primeiro Vice-Presidente"}),"Ivan Luiz Gontijo Junior"]}),(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"\xa0"}),"Bradesco Seguros S/A"]}),(0,r.jsxs)("td",{children:[(0,r.jsx)("strong",{className:"title",children:"\xa0"}),"Diretor Presidente"]})]})]})]}),e]})}},75147:function(n,e,t){var r=t(93967),i=t.n(r),o=t(67294),a=t(76792),l=t(85893);let s=o.forwardRef(({bsPrefix:n,className:e,striped:t,bordered:r,borderless:o,hover:s,size:c,variant:d,responsive:h,...u},m)=>{let x=(0,a.vE)(n,"table"),p=i()(e,x,d&&`${x}-${d}`,c&&`${x}-${c}`,t&&`${x}-${"string"==typeof t?`striped-${t}`:"striped"}`,r&&`${x}-bordered`,o&&`${x}-borderless`,s&&`${x}-hover`),f=(0,l.jsx)("table",{...u,className:p,ref:m});if(h){let n=`${x}-responsive`;return"string"==typeof h&&(n=`${n}-${h}`),(0,l.jsx)("div",{className:n,children:f})}return f});s.displayName="Table",e.Z=s}}]);

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.