PageSourceSearch

https://www.valman.com.br/_next/static/chunks/app/projetos-sociais/page-b78bb83554d6b837.js

js valman.com.br collected 2026-10-06 13:15:44 UTC 4,436 bytes, 1 lines download raw bytes

1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[55],{63:(e,t,s)=>{"use strict";var a=s(7260);s.o(a,"useParams")&&s.d(t,{useParams:function(){return a.useParams}}),s.o(a,"usePathname")&&s.d(t,{usePathname:function(){return a.usePathname}}),s.o(a,"useRouter")&&s.d(t,{useRouter:function(){return a.useRouter}}),s.o(a,"useSearchParams")&&s.d(t,{useSearchParams:function(){return a.useSearchParams}})},4639:(e,t,s)=>{"use strict";s.r(t),s.d(t,{default:()=>u});var a=s(5155);s(2115);var r=s(63),n=s(6823),l=s(7301);let c=()=>{let e=(0,r.useRouter)(),{socialProjects:t,isLoading:s}=(0,l.Qh)();return s?(0,a.jsx)("section",{className:"w-full p-8 font-sans",children:(0,a.jsxs)("div",{className:"text-center mb-6",children:[(0,a.jsx)("h2",{className:"text-3xl text-[#f6b12a] font-light",children:"Projetos Sociais"}),(0,a.jsx)("p",{className:"text-gray-600 mt-3",children:"Carregando projetos sociais..."})]})}):(0,a.jsxs)("section",{className:"w-full p-8 font-sans",children:[(0,a.jsxs)("div",{className:"text-center mb-6",children:[(0,a.jsx)("h2",{className:"text-3xl text-[#f6b12a] font-light",children:"Projetos Sociais"}),(0,a.jsx)("p",{className:"text-gray-600 mt-3",children:"Atualmente a Valman patrocina diversos projetos sociais."})]}),(0,a.jsx)("div",{className:"grid grid-cols-1 sm:grid-cols-2 md:grid-cols-4 gap-6",children:t&&t.length>0?t.map(t=>{let s=[];Array.isArray(t.images)?s=t.images:t.imageUrl?s=[t.imageUrl]:t.image?s=[t.image]:t.imagem&&(s=[t.imagem]);let r=(0,n.xC)(s),l=r.length?r[0]:"";return(0,a.jsxs)("div",{className:"border-2 border-[#eaeaea] rounded-lg shadow-sm overflow-hidden flex flex-col bg-gray-50 group transform-gpu transition duration-200 ease-out hover:shadow-md hover:scale-[1.01]",children:[(0,a.jsx)("div",{className:"w-full h-36 flex items-center justify-center bg-white overflow-hidden p-4",children:l?(0,a.jsx)("img",{src:l,alt:t.title||t.name||"Projeto Social",className:"max-h-28 object-contain"}):(0,a.jsx)("span",{className:"text-gray-500",children:"Sem imagem"})}),(0,a.jsxs)("div",{className:"text-center relative h-36 p-4",children:[(0,a.jsx)("h3",{className:"text-[#f6b12a] text-xl font-light truncate mb-2",children:t.title||t.name}),(0,a.jsx)("p",{className:"text-gray-600 text-sm mb-4",children:t.description||t.desc||t.summary}),t.href||t.link?(0,a.jsx)("button",{type:"button",onClick:()=>e.push(t.href||t.link),className:"text-sm underline text-gray-700",children:"Visite o site"}):(0,a.jsx)("span",{className:"text-sm text-gray-400",children:"\xa0"})]})]},t.id)}):(0,a.jsx)("div",{className:"col-span-4 text-center text-gray-600",children:"Nenhum projeto social encontrado."})})]})};function u(){return(0,a.jsx)(c,{})}},7301:(e,t,s)=>{"use strict";s.d(t,{My:()=>o,Qh:()=>l,Tt:()=>c,f_:()=>n,nu:()=>i,tk:()=>u});var a=s(2115),r=s(7138);function n(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.$3)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{clients:e,isLoading:s,error:l}}function l(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.al)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{socialProjects:e,isLoading:s,error:l}}function c(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.Dc)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{certificates:e,isLoading:s,error:l}}function u(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.jY)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{catalogs:e,isLoading:s,error:l}}function i(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.b3)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{carouselItems:e,isLoading:s,error:l}}function o(){let[e,t]=(0,a.useState)([]),[s,n]=(0,a.useState)(!0),[l,c]=(0,a.useState)(null);return(0,a.useEffect)(()=>{let e=!1;return(0,r.Yn)().then(s=>{e||(t(s),n(!1))}).catch(t=>{e||(c(t),n(!1))}),()=>{e=!0}},[]),{news:e,isLoading:s,error:l}}},8339:(e,t,s)=>{Promise.resolve().then(s.bind(s,4639))}},e=>{e.O(0,[135,204,31,80,441,255,358],()=>e(e.s=8339)),_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.