PageSourceSearch

https://icaas.org/_next/static/chunks/5332.376d1c00fa109aad.js

js icaas.org collected 2026-10-05 19:51:12 UTC 7,680 bytes, 1 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},r=(new e.Error).stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="f98de1bf-4d00-4574-a3c0-c072125a1d37",e._sentryDebugIdIdentifier="sentry-dbid-f98de1bf-4d00-4574-a3c0-c072125a1d37")}catch(e){}}();"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5332],{20128:(e,r,t)=>{t.d(r,{Zx:()=>s,tD:()=>a}),t(54568);var o=t(7620);let l=(0,o.createContext)(null);function s(){return(0,o.useContext)(l)}function a(){return null!==(0,o.useContext)(l)}},25332:(e,r,t)=>{t.r(r),t.d(r,{default:()=>n});var o=t(54568),l=t(7620),s=t(61693),a=t(97743),i=t(20128);function n(e){let{config:r}=e;return(0,i.Zx)()?(0,o.jsx)(d,{config:r}):(0,o.jsx)(c,{config:r})}function c(e){let{config:r}=e,{eventsEnabled:t,timezone:i,fetchPublicEvents:n,CalendarView:c,t:d}=(0,a.b)(),[m,x]=(0,l.useState)([]),[g,u]=(0,l.useState)(!0);return((0,l.useEffect)(()=>{if(!t||!n)return void u(!1);(async()=>{try{let e=await n({timeFilter:"all",timezone:i});x(e.events||[])}catch(e){console.error("Failed to load events for calendar:",e)}finally{u(!1)}})()},[t,i,n]),t)?c?(0,o.jsx)("div",{id:"calendar",className:"scroll-mt-20 transition-opacity duration-300 ease-out ".concat(g?"opacity-0":"opacity-100"),children:(0,o.jsx)(c,{events:m,timezone:i})}):(0,o.jsx)("div",{id:"calendar",className:"px-6 py-12 text-center text-sm",style:{color:"var(--site-color-muted)"},children:d("sections.calendar.unavailable","Calendar view is not available in this context.")}):(0,o.jsx)("div",{id:"calendar",className:"px-6 py-16",children:(0,o.jsxs)("div",{className:"max-w-md mx-auto flex flex-col items-center justify-center text-center py-12",children:[(0,o.jsx)("div",{className:"flex items-center justify-center mb-5",style:{width:56,height:56,borderRadius:"50%",backgroundColor:"color-mix(in srgb, var(--site-color-bg) 92%, var(--site-color-fg))",border:"1px solid var(--site-color-border)",color:"var(--site-color-muted)"},children:(0,o.jsx)(s.A,{className:"w-6 h-6"})}),(0,o.jsx)("h3",{className:"text-lg font-medium mb-1.5",style:{color:"var(--site-color-fg)"},children:d("sections.calendar.noEventsTitle","No events available")}),(0,o.jsx)("p",{className:"text-sm",style:{color:"var(--site-color-muted)"},children:d("sections.calendar.noEventsBody","There are no events to show right now. Please check back soon.")})]})})}function d(e){let r=new Date,t=["January","February","March","April","May","June","July","August","September","October","November","December"],l=new Date(r.getFullYear(),r.getMonth()+1,0).getDate(),a=new Date(r.getFullYear(),r.getMonth(),1).getDay();return(0,o.jsx)("section",{className:"py-12 px-6",style:{backgroundColor:"var(--site-color-bg)"},children:(0,o.jsxs)("div",{className:"max-w-5xl mx-auto",children:[(0,o.jsxs)("div",{className:"flex flex-col md:flex-row md:items-end justify-between mb-8 gap-4",children:[(0,o.jsxs)("div",{children:[(0,o.jsx)("h1",{className:"text-3xl md:text-4xl font-bold mb-1",style:{color:"var(--site-color-fg)"},children:"Calendar"}),(0,o.jsx)("p",{className:"text-sm",style:{color:"var(--site-color-muted)"},children:"Schedule your next unforgettable experience."})]}),(0,o.jsxs)("div",{className:"flex items-center gap-3 pointer-events-none select-none",children:[(0,o.jsx)("span",{className:"px-3 py-1.5 text-xs font-medium rounded-full border shadow-sm",style:{backgroundColor:"var(--site-color-bg)",color:"var(--site-color-fg)",borderColor:"var(--site-color-border)"},children:"Today"}),(0,o.jsxs)("div",{className:"flex items-center gap-1.5 border px-1 py-1 rounded-full shadow-sm",style:{backgroundColor:"color-mix(in srgb, var(--site-color-bg) 92%, var(--site-color-fg))",borderColor:"var(--site-color-border)"},children:[(0,o.jsx)("span",{className:"p-1.5 rounded-full",style:{color:"var(--site-color-muted)"},children:"‹"}),(0,o.jsxs)("span",{className:"w-32 text-center text-sm font-semibold",style:{color:"var(--site-color-fg)"},children:[t[r.getMonth()]," ",r.getFullYear()]}),(0,o.jsx)("span",{className:"p-1.5 rounded-full",style:{color:"var(--site-color-muted)"},children:"›"})]})]})]}),(0,o.jsx)("style",{children:".ml-cal-grid{display:grid;grid-template-columns:1fr;gap:1rem}@media(min-width:640px){.ml-cal-grid{grid-template-columns:7fr 5fr;gap:1.5rem}}"}),(0,o.jsxs)("div",{className:"ml-cal-grid",children:[(0,o.jsx)("div",{children:(0,o.jsxs)("div",{className:"border rounded-2xl p-5 shadow-lg",style:{backgroundColor:"var(--site-color-bg)",borderColor:"var(--site-color-border)"},children:[(0,o.jsx)("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",marginBottom:"0.75rem"},children:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"].map(e=>(0,o.jsx)("div",{style:{textAlign:"center",fontSize:"10px",fontWeight:500,color:"var(--site-color-muted)",textTransform:"uppercase",letterSpacing:"0.05em",padding:"4px 0"},children:e},e))}),(0,o.jsxs)("div",{style:{display:"grid",gridTemplateColumns:"repeat(7, 1fr)",gap:"6px"},children:[Array.from({length:a}).map((e,r)=>(0,o.jsx)("div",{style:{aspectRatio:"1/1"}},"e".concat(r))),Array.from({length:l}).map((e,t)=>{let l=t+1,s=l===r.getDate(),a=[3,7,12,15,21,28].includes(l);return(0,o.jsxs)("div",{style:{aspectRatio:"1/1",borderRadius:"0.75rem",display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",fontSize:"0.875rem",backgroundColor:s?"var(--site-color-fg)":"color-mix(in srgb, var(--site-color-bg) 92%, var(--site-color-fg))",color:s?"var(--site-color-bg)":"var(--site-color-muted)",fontWeight:s?"bold":"500",boxShadow:s?"0 10px 15px -3px rgba(0,0,0,0.2)":"none",transform:s?"scale(1.05)":"scale(1)"},children:[l,a&&(0,o.jsx)("div",{style:{display:"flex",gap:"2px",marginTop:"4px"},children:(0,o.jsx)("div",{style:{width:4,height:4,borderRadius:"50%",backgroundColor:s?"var(--site-color-bg)":"var(--site-color-accent)"}})})]},l)})]})]})}),(0,o.jsx)("div",{children:(0,o.jsxs)("div",{style:{height:"100%",display:"flex",flexDirection:"column",backgroundColor:"color-mix(in srgb, var(--site-color-bg) 80%, transparent)",backdropFilter:"blur(16px)",border:"1px solid var(--site-color-border)",borderRadius:"1rem",padding:"1.25rem",boxShadow:"0 10px 15px -3px rgba(0,0,0,0.1)"},children:[(0,o.jsxs)("h2",{style:{fontSize:"1.125rem",fontWeight:700,color:"var(--site-color-fg)",marginBottom:"1rem",display:"flex",alignItems:"center",gap:"0.5rem"},children:[(0,o.jsx)(s.A,{className:"w-4 h-4",style:{color:"var(--site-color-accent)"}}),t[r.getMonth()]," ",r.getDate()]}),(0,o.jsxs)("div",{style:{flex:1,display:"flex",flexDirection:"column",alignItems:"center",justifyContent:"center",textAlign:"center",padding:"1.5rem",border:"2px dashed var(--site-color-border)",borderRadius:"0.75rem"},children:[(0,o.jsx)("div",{style:{width:40,height:40,backgroundColor:"color-mix(in srgb, var(--site-color-bg) 92%, var(--site-color-fg))",borderRadius:"50%",display:"flex",alignItems:"center",justifyContent:"center",marginBottom:"0.75rem",color:"var(--site-color-muted)"},children:(0,o.jsx)(s.A,{className:"w-5 h-5"})}),(0,o.jsx)("p",{style:{fontSize:"0.875rem",fontWeight:500,color:"var(--site-color-fg)",marginBottom:"2px"},children:"Your events appear here"}),(0,o.jsx)("p",{style:{fontSize:"0.75rem",color:"var(--site-color-muted)"},children:"Events for the selected date will show in this panel."})]})]})})]})]})})}},61693:(e,r,t)=>{t.d(r,{A:()=>
1o});let o=(0,t(82752).A)("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]])}}]);

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.