PageSourceSearch

https://cbtkd.org.br/assets/SecaoGaleriaComponent-36390fdc.js

js cbtkd.org.br collected 2026-10-10 00:50:17 UTC 2,586 bytes, 2 lines download raw bytes

1import{j as t}from"./vendor-ui-bootstrap-613dad89.js";import{r}from"./vendor-react-4c7f50f2.js";/* empty css                      */import{C as p}from"./CardGaleriaComponent-5f65e22d.js";import{u,G as f}from"./main-722823a7.js";import{C as x}from"./index-f4784dc1.js";import"./styles-c9e640bc.js";import{f as g}from"./vendor-utils-de6b936e.js";import"./vendor-ui-material-b69ee68f.js";import"./KeysUtil-aee16e59.js";/* empty css                  */import"./vendor-firebase-7ea6fd91.js";function P(h){const{domainDetails:s}=u(),[i,n]=r.useState([]),[l,m]=r.useState(!1),[d,c]=r.useState({superLargeDesktop:{breakpoint:{max:4e3,min:1376},items:4},desktop:{breakpoint:{max:1375,min:993},items:3},tablet:{breakpoint:{max:992,min:577},items:2},mobile:{breakpoint:{max:576,min:0},items:1}});return r.useEffect(()=>{s!=null&&i.length===0&&!l&&(m(!0),f.getNextPage("galeria","title","",null,10,"dtPublicacao","desc",!1,s.domainId).then(o=>{if(o){let a=[];o[0].map(e=>{a.push(t.jsx("div",{className:"col",children:t.jsx(p,{id:e.id,dtPublicacao:g(e.data().dtPublicacao.toDate(),"dd/MM/yyyy"),title:e.data().title,category:e.data().category,src:Array.isArray(e.data().src)?e.data().src.slice(0,3):e.data().src,objectFit:"cover",urlView:"/galeria/album"},`Galeria${e.id}`)},`GaleriaItem${e.id}`))}),c(e=>({...e,superLargeDesktop:{...e.superLargeDesktop,items:a.length>4?4:a.length},desktop:{...e.desktop,items:a.length>3?3:a.length},tablet:{...e.tablet,items:a.length>2?2:a.length},mobile:{...e.mobile,items:a.length>1?1:a.length}})),n(a)}}))},[s,l]),s===void 0||i.length===0?t.jsx("div",{}):t.jsx(t.Fragment,{children:i.length>0?t.jsxs("div",{className:"container col-12 mb-5",children:[t.jsxs("div",{className:"d-flex justify-content-between mt-5 mb-3",children:[t.jsx("h4",{className:"text-primary fw-bold",children:"GALERIA"}),t.jsxs("a",{className:"text-decoration-none d-flex align-middle",href:"galeria",children:["Ver mais imagens ",t.jsx("span",{className:"material-icons-outlined ms-1",children:"arrow_forward"})]})]}),t.jsx("div",{className:"d-flex flex-row flex-wrap justify-content-between",style:{maxWidth:"1366px"},children:t.jsx(x,{swipeable:!0,draggable:!1,showDots:!1,responsive:d,ssr:!0,infinite:!0,autoPlay:!0,autoPlaySpeed:6e3,keyBoardControl:!0,customTransition:"all .5",transitionDuration:500,containerClass:"carousel-container",removeArrowOnDeviceType:["tablet","mobile"],deviceType:"desktop",dotListClass:"custom-dot-list-style",itemClass:"carousel-item-padding-40-px",children:i})})]}):""})}export{P as default};
2//# sourceMappingURL=SecaoGaleriaComponent-36390fdc.js.map

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.