PageSourceSearch

https://socialnarratives.ai/assets/SchedulePDF--xr_nom_.js

js socialnarratives.ai collected 2026-10-05 15:08:59 UTC 4,679 bytes, 1 lines download raw bytes

1import{j as e}from"./ui-vendor-XNsX7NFl.js";import"./i18n-BCZ_8xSB.js";import{Document as j,Page as S,View as m,Text as a,Image as T,StyleSheet as R}from"./react-pdf-Cnjg-XL2.js";import{f as A,B as w,P as h}from"./pdfFonts-jJh0Ou9t.js";import{r as D}from"./pdfBranding-_nKYnLWF.js";import{r as z}from"./pdfLabels-DFqNmXj8.js";import"./index-Dg7geK91.js";import"./react-router-oAHNt2ka.js";import"./firebase-auth-BWbhO1CC.js";import"./firebase-db-Csu2kn54.js";import"./capacitor-DQeCf45c.js";const E=[612,792],t=R.create({page:{flexDirection:"column",backgroundColor:"#FFFFFF",padding:40,fontFamily:"Noto Sans"},header:{marginBottom:30,borderBottom:"2pt solid #8B5CF6",paddingBottom:15},headerCompact:{marginBottom:20,borderBottom:"2pt solid #8B5CF6",paddingBottom:10},title:{fontSize:28,fontWeight:700,color:"#1F2937",marginBottom:8},titleCompact:{fontSize:22,fontWeight:700,color:"#1F2937",marginBottom:5},description:{fontSize:12,color:"#6B7280",marginTop:5},descriptionCompact:{fontSize:10,color:"#6B7280",marginTop:3},metadata:{flexDirection:"row",justifyContent:"space-between",marginTop:10,fontSize:10,color:"#9CA3AF"},metadataCompact:{flexDirection:"row",justifyContent:"space-between",marginTop:8,fontSize:9,color:"#9CA3AF"},itemsContainer:{flex:1},itemRow:{flexDirection:"row",marginBottom:15,padding:12,borderRadius:8,border:"1pt solid #E5E7EB",backgroundColor:"#F9FAFB"},itemRowCompact:{flexDirection:"row",marginBottom:8,padding:8,borderRadius:6,border:"1pt solid #E5E7EB",backgroundColor:"#F9FAFB"},itemNumber:{width:30,height:30,borderRadius:15,backgroundColor:"#8B5CF6",color:"#FFFFFF",fontFamily:h.LATIN,fontSize:14,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",marginRight:12,textAlign:"center",paddingTop:7},itemNumberCompact:{width:24,height:24,borderRadius:12,backgroundColor:"#8B5CF6",color:"#FFFFFF",fontFamily:h.LATIN,fontSize:12,fontWeight:700,display:"flex",alignItems:"center",justifyContent:"center",marginRight:10,textAlign:"center",paddingTop:5},itemImage:{width:60,height:60,objectFit:"cover",borderRadius:8,marginRight:12},itemImageCompact:{width:45,height:45,objectFit:"cover",borderRadius:6,marginRight:10},itemEmoji:{width:60,height:60,fontSize:40,textAlign:"center",marginRight:12,paddingTop:10},itemContent:{flex:1,justifyContent:"center"},itemTitle:{fontSize:16,fontWeight:700,color:"#1F2937",marginBottom:4},itemTitleCompact:{fontSize:13,fontWeight:700,color:"#1F2937"},itemDescription:{fontSize:11,color:"#6B7280",lineHeight:1.4},checkbox:{width:24,height:24,border:"2pt solid #D1D5DB",borderRadius:4,marginLeft:10},checkboxCompact:{width:20,height:20,border:"1.5pt solid #D1D5DB",borderRadius:3,marginLeft:8},footer:{position:"absolute",bottom:20,left:40,right:40,textAlign:"center",fontSize:9,color:"#9CA3AF",borderTop:"1pt solid #E5E7EB",paddingTop:10},footerLogo:{height:24,maxWidth:90,objectFit:"contain",marginRight:6},footerOrgName:{fontSize:9,color:"#9CA3AF"},pageNumber:{position:"absolute",bottom:20,right:40,fontSize:10,color:"#9CA3AF"}}),V=({schedule:i,whiteLabel:F=!1,branding:b=null,format:p="standard",labels:x=null})=>{const y=D(b,F),o=z(i,x),g={daily_routine:o.typeDailyRoutine,task_sequence:o.typeTaskSequence,transition:o.typeTransition}[i.type]||o.typeDefault,d=p==="compact"?8:5,s=[];for(let n=0;n<i.items.length;n+=d)s.push(i.items.slice(n,n+d));const r=p==="compact",C=A([i.title,i.description,...i.items.flatMap(n=>[n?.title,n?.description]),g,o.created,o.items,o.page(1,s.length),o.footer]),u={...t.page,fontFamily:C};return e.jsx(j,{children:s.map((n,c)=>e.jsxs(S,{size:E,style:u,children:[c===0&&e.jsxs(m,{style:r?t.headerCompact:t.header,children:[e.jsx(a,{style:r?t.titleCompact:t.title,children:i.title}),i.description&&e.jsx(a,{style:r?t.descriptionCompact:t.description,children:i.description}),e.jsxs(m,{style:r?t.metadataCompact:t.metadata,children:[e.jsx(a,{children:g}),o.created?e.jsx(a,{children:o.created}):null,e.jsx(a,{children:o.items})]})]}),e.jsx(m,{style:t.itemsContainer,children:n.map((l,B)=>{const f=c*d+B;
1return e.jsxs(m,{style:r?t.itemRowCompact:t.itemRow,children:[e.jsx(a,{style:r?t.itemNumberCompact:t.itemNumber,children:f+1}),l.imageBase64&&e.jsx(T,{src:l.imageBase64,style:r?t.itemImageCompact:t.itemImage}),e.jsxs(m,{style:t.itemContent,children:[e.jsx(a,{style:r?t.itemTitleCompact:t.itemTitle,children:l.title}),!r&&l.description&&e.jsx(a,{style:t.itemDescription,children:l.description})]}),e.jsx(m,{style:r?t.checkboxCompact:t.checkbox})]},f)})}),e.jsx(w,{branding:y,style:t.footer,textStyle:t.footerOrgName,logoStyle:t.footerLogo,label:o.footer}),s.length>1&&e.jsx(a,{style:t.pageNumber,children:o.page(c+1,s.length)})]},c))})};export{V 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.