1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4554],{24069:function(e,s,t){(window.__NEXT_P=window.__NEXT_P||[]).push(["/courses/[[...courses]]",function(){return t(30595)}])},30595:function(e,s,t){"use strict";t.r(s),t.d(s,{__N_SSP:function(){return d},default:function(){return g}});var r=t(85893),n=t(67335),u=t(11163),c=t(67294),o=t(12178),i=t.n(o),a=t(60447),l=t(10276),_=t(38574),d=!0;function g(e){let{allCourses:s=[],highlights:t=[],promotion:o=[],allCategories:d=[],query:g}=e,[h,f]=(0,c.useState)(12),[m,x]=(0,c.useState)([]),[j,N]=(0,c.useState)(""),[p,y]=(0,c.useState)(""),[v,C]=(0,c.useState)(""),[S,b]=(0,c.useState)(!0),E=m.length,w=(0,u.useRouter)(),P=w.query.courses,k=null,A=null;return P&&(P.length>0&&(k=P[0]),P.length>1&&(A=P[1])),(0,c.useEffect)(()=>{(!P||(null==P?void 0:P.length)<1)&&(x(s),b(!1))},[s,P]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(n.Z,{title:"CERS - Todos os cursos"}),(0,r.jsx)("main",{children:(0,r.jsxs)("div",{className:"container",children:[(0,r.jsx)("div",{className:"section-title internal-title free-courses_result_title",children:(0,r.jsx)("h1",{className:"title title-lg",children:""!=j?j:"Todos os cursos"})}),(0,r.jsxs)("div",{className:"mt-5 container-sidebar",children:[(0,r.jsx)(a.Z,{query:g,setLoadingPage:b,original:s,updateCourses:x,categories:d,category:k,subCategory:A,categoryActive:p,setCategoryActive:y,setSubCategoryActive:C,router:w,setFilterName:N}),(0,r.jsxs)("div",{className:i().results_courses,children:[(0,r.jsxs)("span",{className:i().counter,children:["Exibindo ",h," de ",E]}),(0,r.jsx)("section",{children:S?(0,r.jsx)(_.Z,{}):(0,r.jsx)(l.Z,{setPerPage:f,itemsperpage:12,nocolumns:0,categoryActive:p,subCategoryActive:v,items:m,pagesspan:3,category:k,subCategory:A,promotion:o,categories:d,course:!0})})]})]})]})})]})}},12178:function(e){e.exports={result_title:"search_result_title__0jTwC",results_courses:"search_results_courses__MDk_5",counter:"search_counter__yVm7o"}}},function(e){e.O(0,[5998,6853,2486,276,447,9774,2888,179],function(){return e(e.s=24069)}),_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.