PageSourceSearch

https://kasbu.bio/assets/js/CalendarCard-C0qvK2ze.js

js kasbu.bio collected 2026-10-01 23:45:15 UTC 1,863 bytes, 1 lines download raw bytes

1import{r as e,j as l}from"../index-DqIz-mL6.js";import"./cjs-helpers-BrGt3VpK.js";import"./supabase-vendor-DuR9KhUO.js";const s=e.memo(({onDelete:e,size:s,url:r=""})=>{const i=(e=>{if(!e)return"https://calendar.google.com/calendar/embed?src=iframely.embeds%40gmail.com";try{return e.includes("calendar.google.com/calendar/embed")||e.includes("calendar.google.com"),e}catch{return e}})(r),c=1===(null==s?void 0:s.w)&&1===(null==s?void 0:s.h);return l.jsxs("div",{className:"relative size-full overflow-hidden rounded-3xl bg-white",children:[c&&l.jsxs("div",{className:"absolute inset-0 bg-white rounded-2xl flex flex-col items-center justify-center p-3",children:[l.jsx("div",{className:"mb-2",children:l.jsxs("svg",{width:"48",height:"48",viewBox:"0 0 24 24",className:"drop-shadow-sm",children:[l.jsx("rect",{x:"3",y:"5",width:"18",height:"16",rx:"2",fill:"#F3F4F6",stroke:"#D1D5DB"}),l.jsx("rect",{x:"3",y:"5",width:"18",height:"4",rx:"2",fill:"#3B82F6"}),l.jsx("circle",{cx:"8",cy:"13",r:"1",fill:"#9CA3AF"}),l.jsx("circle",{cx:"12",cy:"13",r:"1",fill:"#9CA3AF"}),l.jsx("circle",{cx:"16",cy:"13",r:"1",fill:"#9CA3AF"}),l.jsx("circle",{cx:"8",cy:"17",r:"1",fill:"#9CA3AF"}),l.jsx("circle",{cx:"12",cy:"17",r:"1",fill:"#9CA3AF"}),l.jsx("circle",{cx:"16",cy:"17",r:"1",fill:"#9CA3AF"})]})}),l.jsx("div",{className:"text-gray-700 text-xs font-medium text-center leading-tight",children:"Google Calendar"})]}),!c&&l.jsx("div",{className:"absolute inset-0 rounded-2xl overflow-hidden",children:l.jsx("iframe",{src:i,className:"size-full border-0 rounded-3xl relative",style:{position:"absolute",top:0,left:0,right:0,bottom:0,minHeight:"100%",zIndex:10},allowFullScreen:!0,loading:"lazy",title:"Google Calendar"})}),e&&l.jsx("div",{className:"absolute inset-0 cursor-move",style:{zIndex:30}})]})});s.displayName="CalendarCard";export{s as CalendarCard,s as default};

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.