PageSourceSearch

https://www.univervideo.com/blog/_next/static/chunks/pages/page-search-2557c80cf51e3f34.js

js univervideo.com collected 2026-10-02 04:54:24 UTC 7,148 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[226],{6195:function(a,e,s){(window.__NEXT_P=window.__NEXT_P||[]).push(["/page-search",function(){return s(3269)}])},4072:function(a,e,s){"use strict";var t=s(5893),l=s(1664),i=s.n(l),c=s(1163);e.Z=a=>{let{pagination:e}=a,s=(0,c.useRouter)(),{page:l,pageCount:r}=e,{search:n,category:o}=s.query;return(0,t.jsx)(t.Fragment,{children:(0,t.jsx)("nav",{className:"mb-50",children:(0,t.jsxs)("ul",{className:"pagination",children:[(0,t.jsx)("li",{className:"page-item wow animate__animated animate__fadeIn","data-wow-delay":".0s",children:(0,t.jsx)("button",{className:"btn-pagination btn",disabled:1===l,children:(0,t.jsx)(i(),{className:"page-link page-prev",href:n?"?search=".concat(n,"&page=").concat(l-1):o?"?category=".concat(o,"&page=").concat(l-1):"?page=".concat(l-1),children:(0,t.jsx)("i",{className:"fi-rr-arrow-small-left"})})})}),(()=>{let a=[],e=Math.max(1,l-Math.floor(2)),s=Math.min(r,e+4-1);for(let c=e;c<=s;c++)a.push((0,t.jsx)("li",{className:"page-item wow animate__animated animate__fadeIn ".concat(l===c?"active":""),children:(0,t.jsx)(i(),{className:"page-link ".concat(l===c?"active":""),href:n?"?search=".concat(n,"&page=").concat(c):o?"?category=".concat(o,"&page=").concat(c):"?page=".concat(c),children:c})},c));return a})(),(0,t.jsx)("li",{className:"page-item wow animate__animated animate__fadeIn","data-wow-delay":".5s",children:(0,t.jsx)("button",{className:"btn-pagination btn",disabled:l===r,children:(0,t.jsx)(i(),{className:"page-link page-next",href:n?"?search=".concat(n,"&page=").concat(l+1):o?"?category=".concat(o,"&page=").concat(l+1):"?page=".concat(l+1),children:(0,t.jsx)("i",{className:"fi-rr-arrow-small-right"})})})})]})})})}},1585:function(a,e,s){"use strict";s.d(e,{y:function(){return PostCard}});var t=s(5893),l=s(9811),i=s(1664),c=s.n(i);let PostCard=a=>{var e,s,i,r,n,o,d,u,m,h,v,x,g,j,b,N,p,f,y,_,w,P,k;let{post:q}=a;return(0,t.jsx)("div",{className:"col-lg-4",children:(0,t.jsxs)("div",{className:"card-blog-1 border-gray-800 bg-gray-850 hover-up",children:[(0,t.jsx)("div",{className:"card-image mb-20",children:(0,t.jsx)(c(),{href:"/post/".concat(q.attributes.slug),children:(null===(r=q.attributes)||void 0===r?void 0:null===(i=r.cover)||void 0===i?void 0:null===(s=i.data)||void 0===s?void 0:null===(e=s.attributes)||void 0===e?void 0:e.url)&&(0,t.jsx)("img",{src:(null===(u=q.attributes)||void 0===u?void 0:null===(d=u.cover)||void 0===d?void 0:null===(o=d.data)||void 0===o?void 0:null===(n=o.attributes)||void 0===n?void 0:n.url.startsWith("/uploads"))?"".concat("https://admin.blog.univervideo.com").concat(null===(x=q.attributes)||void 0===x?void 0:null===(v=x.cover)||void 0===v?void 0:null===(h=v.data)||void 0===h?void 0:null===(m=h.attributes)||void 0===m?void 0:m.url):null===(N=q.attributes)||void 0===N?void 0:null===(b=N.cover)||void 0===b?void 0:null===(j=b.data)||void 0===j?void 0:null===(g=j.attributes)||void 0===g?void 0:g.url,alt:"Post Image",style:{objectFit:"cover"},height:180})})}),(0,t.jsxs)("div",{className:"card-info",children:[(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-7",children:(null===(p=q.attributes)||void 0===p?void 0:p.category)&&(null===(y=q.attributes)||void 0===y?void 0:null===(f=y.category)||void 0===f?void 0:f.data)&&(0,t.jsxs)(c(),{className:"color-gray-700 text-sm",href:"/page-search?category=".concat(q.attributes.category.data.attributes.name),children:["#",q.attributes.category.data.attributes.name]},q.id)}),(0,t.jsx)("div",{className:"col-5 text-end",children:(0,t.jsx)("span",{className:"color-gray-700 text-sm timeread",children:q.attributes.estimatedReadingTime})})]}),(0,t.jsx)(c(),{href:"/post/".concat(q.attributes.slug),children:(0,t.jsx)("h5",{className:"color-white mt-10",children:q.attributes.title})}),(0,t.jsxs)("div",{className:"row align-posts-center mt-20",children:[(0,t.jsx)("div",{className:"col-7",children:(0,t.jsx)("div",{className:"box-author",children:(0,t.jsxs)("div",{className:"author-info",children:[(0,t.jsx)("h6",{className:"color-gray-700",children:(null===(k=q.attributes)||void 0===k?void 0:null===(P=k.author)||void 0===P?void 0:null===(w=P.data)||void 0===w?void 0:null===(_=w.attributes)||void 0===_?void 0:_.name)||"Univer V\xeddeo"}),(0,t.jsx)("span",{className:"color-gray-700 text-sm",children:(0,l.p)(q.attributes.publishedAt)})]})})}),(0,t.jsx)("div",{className:"col-5 text-end",children:(0,t.jsx)(c(),{className:"readmore color-gray-500 text-sm",href:"/post/".concat(q.attributes.slug),children:(0,t.jsx)("span",{children:"Veja mais"})})})]})]})]})},q.id)}},3269:function(a,e,s){"use strict";s.r(e),s.d(e,{__N_SSP:function(){return m},default:function(){return PageSearch}});var t=s(5893),l=s(1664),i=s.n(l),c=s(9008),r=s.n(c),n=s(4312),o=s(4072),d=s(1163),u=s(1585),m=!0;function PageSearch(a){let{posts:e,categories:s,pagination:l}=a,c=(0,d.useRouter)(),m=c.query.search,h=c.query.category;return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(r(),{children:(0,t.jsx)("title",{children:"Pesquisar | Univer Blog"})}),(0,t.jsx)(n.Z,{footerCategories:s,children:(0,t.jsx)("div",{className:"cover-home3",children:(0,t.jsx)("div",{className:"container",children:(0,t.jsxs)("div",{className:"row",children:[(0,t.jsx)("div",{className:"col-xl-1"}),(0,t.jsxs)("div",{className:"col-xl-10 col-lg-12",children:[(0,t.jsxs)("div",{className:"row align-items-end mt-50",children:[(0,t.jsxs)("div",{className:"col-lg-12 text-center",children:[(0,t.jsx)("div",{className:"d-inline-block position-relative",children:(0,t.jsx)("h1",{className:"color-linear mb-10",children:h?"#".concat(h):"Resultados da pesquisa"})}),(0,t.jsx)("p",{className:"color-gray-500 text-base mb-20",children:h?"Foram encontrados ".concat((null==l?void 0:l.total)||0," post").concat((null==l?void 0:l.total)>1?"s":"",' para a categoria "').concat(h,'"'):"Foram encontrados ".concat((null==l?void 0:l.total)||0," post").concat((null==l?void 0:l.total)>1?"s":"",' para a sua pesquisa "').concat(m,'"')})]}),(0,t.jsx)("div",{className:"col-lg-12 text-center",children:(0,t.jsx)("div",{className:"box-breadcrumbs",children:(0,t.jsxs)("ul",{className:"breadcrumb",children:[(0,t.jsx)("li",{children:(0,t.jsx)(i(),{className:"home",href:"/",children:"Home"})}),(0,t.jsx)("li",{children:(0,t.jsx)("span",{children:"Resultados da pesquisa"})})]})})}),(0,t.jsx)("div",{className:"col-lg-12",children:(0,t.jsx)("div",{className:"border-bottom border-gray-800 mt-30 mb-30"})})]}),(0,t.jsx)("div",{className:"box-list-posts",children:(0,t.jsx)("div",{className:"row",children:(0,t.jsxs)("div",{className:"col-xl-11 col-lg-12 m-auto",children:[(0,t.jsx)("div",{className:"row mt-30 mb-10",children:e&&e.length>0?e.map(a=>(0,t.jsx)(u.y,{post:a},a.id)):(0,t.jsx)("h4",{children:"N\xe3o foram encontrados resultados para a sua busca"})}),e&&e.length>=1?(0,t.jsx)(o.Z,{pagination:l}):null]})})})]})]})})})})]})}},9811:function(a,e,s){"use strict";s.d(e,{p:function(){return formatDate}});var t=s(8260);let formatDate=a=>{let e=new Date(a);return(0,t.Z)(e,"dd/MM/yyyy")}}},function(a){a.O(0,[424,154,260,312,774,888,179],function(){return a(a.s=6195)}),_N_E=a.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.