1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9892],{2829:(e,s,a)=>{"use strict";a.d(s,{A:()=>c});var r=a(7876),t=a(4232),i=a(9746),l=a(9099);let c=()=>{let[e,s]=(0,t.useState)([]),[a,c]=(0,t.useState)(!0),[n,o]=(0,t.useState)(null),[d,m]=(0,t.useState)(""),u=(0,l.useRouter)(),h=async()=>{try{let e=await fetch("".concat("https://backend-prod1.leveduca.com.br:4345/api/","public/blog"));if(!e.ok)throw Error("Erro ao buscar categorias");let a=await e.json();s(a.categorias)}catch(e){o(e.message)}finally{c(!1)}};return((0,t.useEffect)(()=>{h()},[]),a)?(0,r.jsx)("p",{children:"Carregando..."}):n?(0,r.jsxs)("p",{children:["Erro: ",n]}):(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-md col-4 my-auto",children:(0,r.jsx)(i.A,{id:"nav-dropdown",title:"Categorias",className:"mb-2",children:e.map((e,s)=>(0,r.jsx)(i.A.Item,{href:"/blog/categoria/".concat(e.slug,"?id=").concat(e.id),children:e.nome},s))})}),(0,r.jsx)("div",{className:"col-md col-8 my-auto text-end",children:(0,r.jsx)("a",{href:"/materiais-gratuitos",className:"btn btn-primary mb-2",children:"Materiais gratuitos â³"})}),(0,r.jsx)("div",{className:"col-md-auto my-auto",children:(0,r.jsxs)("div",{className:"input-group input-search mb-2",children:[(0,r.jsx)("input",{type:"text",className:"form-control",placeholder:"Procurar...","aria-label":"busca","aria-describedby":"button-addon2",value:d,onChange:e=>m(e.target.value)}),(0,r.jsx)("button",{className:"btn btn-outline-secondary",type:"button",id:"button-search",onClick:()=>{d.trim()&&u.push("/blog/busca-blog?filtro=".concat(encodeURIComponent(d)))},children:(0,r.jsx)("img",{alt:"procurar...",src:"../../blog/search.svg"})})]})})]})})}},3937:(e,s,a)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/blog",function(){return a(9658)}])},4684:(e,s,a)=>{"use strict";a.d(s,{k5:()=>d});var r=a(4232),t={color:void 0,size:void 0,className:void 0,style:void 0,attr:void 0},i=r.createContext&&r.createContext(t),l=["attr","size","title"];function c(){return(c=Object.assign?Object.assign.bind():function(e){for(var s=1;s<arguments.length;s++){var a=arguments[s];for(var r in a)({}).hasOwnProperty.call(a,r)&&(e[r]=a[r])}return e}).apply(null,arguments)}function n(e,s){var a=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);s&&(r=r.filter(function(s){return Object.getOwnPropertyDescriptor(e,s).enumerable})),a.push.apply(a,r)}return a}function o(e){for(var s=1;s<arguments.length;s++){var a=null!=arguments[s]?arguments[s]:{};s%2?n(Object(a),!0).forEach(function(s){var r,t,i;r=e,t=s,i=a[s],(t=function(e){var s=function(e,s){if("object"!=typeof e||!e)return e;var a=e[Symbol.toPrimitive];if(void 0!==a){var r=a.call(e,s||"default");if("object"!=typeof r)return r;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===s?String:Number)(e)}(e,"string");return"symbol"==typeof s?s:s+""}(t))in r?Object.defineProperty(r,t,{value:i,enumerable:!0,configurable:!0,writable:!0}):r[t]=i}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(a)):n(Object(a)).forEach(function(s){Object.defineProperty(e,s,Object.getOwnPropertyDescriptor(a,s))})}return e}function d(e){return s=>r.createElement(m,c({attr:o({},e.attr)},s),function e(s){return s&&s.map((s,a)=>r.createElement(s.tag,o({key:a},s.attr),e(s.child)))}(e.child))}function m(e){var s=s=>{var a,{attr:t,size:i,title:n}=e,d=function(e,s){if(null==e)return{};var a,r,t=function(e,s){if(null==e)return{};var a={};for(var r in e)if(({}).hasOwnProperty.call(e,r)){if(-1!==s.indexOf(r))continue;a[r]=e[r]}return a}(e,s);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)a=i[r],-1===s.indexOf(a)&&({}).propertyIsEnumerable.call(e,a)&&(t[a]=e[a])}return t}(e,l),m=i||s.size||"1em";return s.className&&(a=s.className),e.className&&(a=(a?a+" ":"")+e.className),r.createElement("svg",c({stroke:"currentColor",fill:"currentColor",strokeWidth:"0"},s.attr,t,d,{className:a,style:o(o({color:e.color||s.color},s.style),e.style),height:m,width:m,xmlns:"http://www.w3.org/2000/svg"}),n&&r.createElement("title",null,n),e.children)};return void 0!==i?r.createElement(i.Consumer,null,e=>s(e)):s(t)}},5983:(e,s,a)=>{"use strict";a.d(s,{A:()=>l});var r=a(7876),t=a(4232),i=a(388);function l(){(0,t.useEffect)(()=>{let e=document.createElement("script");return e.type="text/javascript",e.src="https://d335luupugsy2.cloudfront.net/js/rdstation-forms/stable/rdstation-forms.min.js",e.async=!0,e.onload=()=>{new window.RDStationForms("teste-2349e531777d6d6f6a68","null").createForm()},document.body.appendChild(e),()=>{document.body.removeChild(e)}},[]);let e=i.default.div.withConfig({componentId:"sc-3305a66d-0"})(["@media (min-width:768px){}@media (min-width:427px) and (max-width:768px){display:flex;justify-content:center;}"]);return(0,r.jsx)("div",{id:"newsletter",className:"py-5",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-md-7 text-white my-auto",children:(0,r.jsxs)("div",{className:"my-3",children:[(0,r.jsx)("h2",{children:"Assine nossa newsletter"}),(0,r.jsx)("h5",{children:"Receba conte\xfados sobre gest\xe3o de pessoas, benef\xedcios e muito mais!"})]})}),(0,r.jsxs)("div",{className:"col-md-5 text-white",children:[(0,r.jsxs)("h6",{className:"text-center",children:[(0,r.jsx)("strong",{children:"Preencha"})," o formul\xe1rio abaixo"]}),(0,r.jsx)(e,{role:"main",id:"teste-2349e531777d6d6f6a68",children:" "})]})]})})})}},9658:(e,s,a)=>{"use strict";a.r(s),a.d(s,{__N_SSG:()=>x,default:()=>b});var r=a(7876),t=a(4232),i=a(639),l=a(9647),c=a(4175),n=a(9357),o=a(9099),d=a(2829),m=a(5501),u=a(5983);function h(e){return new Date(e).toLocaleDateString("pt-BR",{day:"numeric",month:"long",year:"numeric"})}function p(e){let{postagens:s}=e,a=s.postagens,i=a.destaques,l=a.recentes,c=(0,o.useRouter)(),p=t.useRef(null),x=t.useRef(null),b={nextArrow:(0,r.jsx)(function(e){let{className:s,style:a,onClick:t}=e;return(0,r.jsx)(m.Y2$,{className:s,style:{...a,display:"block",color:"#fff",border:"none",width:"30px",height:"30px",background:"#f11c30",borderRadius:"30px"},onClick:t})},{}),prevArrow:(0,r.jsx)(function(e){let{className:s,style:a,onClick:t}=e;return(0,r.jsx)(m.eh5,{className:s,style:{...a,display:"block",color:"#fff",border:"none",width:"30px",height:"30px",background:"#f11c30",borderRadius:"30px"},onClick:t})},{}),infinite:!1,variableWidth:!1,draggable:!1,slidesToShow:3,arrows:!0,slidesToScroll:1,responsive:[{breakpoint:992,settings:{slidesToShow:1,slidesToScroll:1}}]};return(0,r.jsx)(r.Fragment,{children:(0,r.jsxs)("section",{className:"blog",id:"blog",children:[(0,r.jsx)("div",{className:"navbar-blog",children:(0,r.jsx)(d.A,{})}),(0,r.jsx)("div",{id:"destaques",className:"py-5",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col",children:(0,r.jsx)("h3",{className:"mb-4",children:"Destaques"})})}),(0,r.jsx)(n.A,{...{infinite:!1,variableWidth:!1,draggable:!1,slidesToShow:2,slidesToScroll:0,responsive:[{breakpoint:992,settings:{draggable:!0,slidesToShow:1.05,slidesToScroll:1}}]},ref:p,children:i.map((e,s)=>(0,r.jsxs)("div",{className:"card",onClick:()=>{var s;return s="/blog/post/".concat(e.slug,"?id=").concat(e.id),void c.push(s)},children:[(0,r.jsx)("div",{className:"card-header",style:{backgroundImage:"url(".concat(e.miniatura,")")},children:(0,r.jsx)("span",{className:"span-categoria",children:e.categoria})}),(0,r.jsxs)("div",{className:"card-body",children:[(0,r.jsx)("h5",{className:"mt-3 card-title",children:e.titulo}),(0,r.jsx)("p",{className:"card-text",children:e.resumo})]}),(0,r.jsx)("div",{className:"card-footer",children:(0,r.jsxs)("div",{className:"row",children:[(0,r.jsx)("div",{className:"col-auto",children:(0,r.jsxs)("small",{children:[(0,r.jsx)("img",{className:"d-inline me-1",alt:"autor",src:"../../blog/person-circle.svg"})," ","Por ",function(e){let s=e.split(" ");return s.length>1?"".concat(s[0]," ").concat(s[1]):s[0]}(e.autor)]})})," ",(0,r.jsx)("div",{className:"col-auto",children:(0,r.jsxs)("small",{children:[(0,r.jsx)("img",{className:"d-inline me-1",alt:"tempo de leitura",src:"../../blog/clock.svg"})," ",e.minutos_leitura," min de leitura"]})}),(0,r.jsx)("div",{className:"col-auto",children:e.data_postagem?(0,r.jsxs)("small",{children:[(0,r.jsx)("img",{className:"d-inline me-1",alt:"data da postagem",src:"../../blog/calendar.svg"})," ",e&&h(e.data_postagem)]}):(0,r.jsxs)("small",{children:[(0,r.jsx)("img",{className:"d-inline me-1",alt:"data da postagem",src:"../../blog/calendar.svg"})," ",e&&h(e.data_publicacao)]})})]})})]},s))})]})}),(0,r.jsx)("div",{id:"postagens-recentes",className:"py-5",children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"row",children:(0,r.jsx)("div",{className:"col",children:(0,r.jsx)("h3",{className:"mb-4",children:"Postagens recentes"})})}),(0,r.jsx)(n.A,{...b,ref:x,children:l.map((e,s)=>(0,r.jsx)("div",{className:"p-1",onClick:()=>{var s;return s="/blog/post/".concat(e.slug,"?id=").concat(e.id),void c.push(s)},children:(0,r.jsxs)("div",{className:"card",children:[(0,r.jsx)("div",{className:"card-header",style:{backgroundImage:"url(".concat(e.miniatura,")")},children:(0,r.jsx)("span",{className:"span-categoria",children:e.categoria})}),(0,r.jsxs)("div",{className:"card-body",children:[(0,r.jsx)("h5",{className:"card-title",children:e.titulo}),(0,r.jsx)("p",{className:"card-text",children:e.resumo}),(0,r.jsx)("p",{className:"mt-3",children:(0,r.jsx)("strong",{children:(0,r.jsx)("a",{href:"/blog/post/".concat(e.slug,"?id=").concat(e.id),children:"Ler mais â«"})})})]})]})},s))})]})}),(0,r.jsx)("div",{id:"banner-material-gratuito",className:"py-5",children:(0,r.jsx)("div",{className:"container",children:(0,r.jsxs)("div",{className:"row justify-content-center",children:[(0,r.jsx)("div",{className:"col-md-3 col-5 my-auto",children:(0,r.jsx)("img",{className:"img-fluid w-100 p-3 img-material",src:"../../blog/material-gratuito-assedio.png"})}),(0,r.jsxs)("div",{className:"col-md-8 col-7 p-3 my-auto",children:[(0,r.jsx)("h6",{children:"Material Gratuito"}),(0,r.jsx)("h3",{children:"Saiba como combater o ass\xe9dio moral e sexual no ambiente de trabalho"}),(0,r.jsxs)("a",{className:"btn btn-outline-primary",href:"https://leveduca-livros.s3.us-west-2.amazonaws.com/livros-blog/e-book-combate-e-prevencao-ao-assedio.pdf",download:"https://leveduca-livros.s3.us-west-2.amazonaws.com/livros-blog/e-book-combate-e-prevencao-ao-assedio.pdf",children:["Quero baixar ",(0,r.jsx)("span",{children:"â³"})]})]})]})})}),(0,r.jsx)(u.A,{})]})})}var x=!0;function b(e){return(0,r.jsx)(l.A,{menu:!1,footer:!1,metaData:{title:"Blog LEVEDUCA",image:"https://leveduca.s3-us-west-2.amazonaws.com/imagens/miniatura-site-leveduca.png",url:"https://leveduca.com.br/blog",description:"Blog Leveduca"},children:(0,r.jsxs)("header",{children:[(0,r.jsx)(c.A,{}),(0,r.jsx)(p,{postagens:e}),(0,r.jsx)(i.A,{})]})})}}},e=>{e.O(0,[5711,8266,8805,3710,730,9746,9357,9647,636,6593,8792],()=>e(e.s=3937)),_N_E=e.O()}]);
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.