PageSourceSearch

https://cbtkd.org.br/assets/SecaoCalendarioComponentVersion2-1f5b222e.js

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

1import{j as a}from"./vendor-ui-bootstrap-613dad89.js";import{r as n}from"./vendor-react-4c7f50f2.js";/* empty css                      */import{u as p,v as i,G as d}from"./main-722823a7.js";import{i as l}from"./vendor-firebase-7ea6fd91.js";import{g as u}from"./urlUtils-5eb6a7e8.js";import"./vendor-ui-material-b69ee68f.js";import"./vendor-utils-de6b936e.js";function I(g){const{domainDetails:r}=p(),[s,c]=n.useState(void 0),[m,f]=n.useState(!1),x=async()=>{if(r!==void 0&&r!=null&&s===void 0&&!m){if(r.domainId===void 0)return;f(!0),r.domainId===i?d.getFilteredCollection("agendamentos","dataFinal",">=",l.fromDate(new Date),null,5,"dataFinal","asc",!1,i).then(e=>{e[0].sort((t,o)=>t.dataInicio-o.dataInicio),e&&c(e[0])}).catch(e=>{console.log("error=",e)}):d.getFilteredCollection("agendamentos","dataFinal",">=",l.fromDate(new Date),null,5,"dataFinal","asc",!1,r.domainId).then(e=>{d.getFilteredCollection("agendamentos","dataFinal",">=",l.fromDate(new Date),null,5,"dataFinal","asc",!1,i).then(t=>{t&&(e[0]=[...e[0],...t[0]]),e[0].sort((o,h)=>o.data().dataInicio-h.data().dataInicio),console.log("dataCollection:",e),c(e[0])}).catch(t=>{console.log("error=",t)})}).catch(e=>{console.log("error=",e)})}};return n.useEffect(()=>{x()},[r]),r===void 0?a.jsx("div",{}):a.jsx(a.Fragment,{children:s?a.jsx("div",{className:"w-100",style:{marginTop:"36px",paddingBottom:"24px",backgroundColor:"var(--bs-gray-300)",backgroundPositionY:"36px"},children:a.jsxs("div",{className:"container w-100 mb-5",children:[a.jsxs("div",{className:"d-flex justify-content-between mt-5 mb-3",children:[a.jsx("h4",{className:"text-primary fw-bold",children:"PRÓXIMOS EVENTOS"}),a.jsxs("a",{className:"text-decoration-none d-flex align-middle",href:u("/calendario"),children:["Ver mais eventos ",a.jsx("span",{className:"material-icons-outlined ms-1",children:"arrow_forward"})]})]}),a.jsx("div",{className:"d-flex",children:a.jsx("table",{className:"table fs-6 mb-0 fw-lighter border rounded",children:a.jsx("tbody",{children:s.map((e,t)=>a.jsx(n.Fragment,{children:a.jsxs("tr",{className:"border border-start-0 border-end-0 border-secondary",style:{fontSize:"smaller"},children:[a.jsx("td",{children:e.data().periodo}),a.jsx("td",{children:a.jsx("a",{href:e.data().href,className:"btn btn-link text-primary text-decoration-none text-start ps-0 pt-0 pe-0 pb-0",style:{fontSize:"13.3333px",fontWeight:"500"},children:e.data().descricao})}),a.jsx("td",{children:e.data().local})]})},`CL${t}`))})})})]})}):""})}export{I as default};
2//# sourceMappingURL=SecaoCalendarioComponentVersion2-1f5b222e.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.