1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[480],{70659:function(e,s,a){(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/usage-dashboard/[districtId]",function(){return a(82493)}])},15382:function(e,s,a){"use strict";var t=a(85893);a(67294),s.Z=e=>{let{className:s=""}=e;return(0,t.jsxs)("svg",{viewBox:"0 0 267 10",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:"h-full w-full object-contain ".concat(s),preserveAspectRatio:"xMidYMid meet",children:[(0,t.jsx)("path",{d:"M253.965 56.96s9.035.613 9.035-7.815c0-8.427-9.035-8.427-9.035-8.427H148.558s-8.483 7.661-15.058 7.661-15.058-7.66-15.058-7.66H13.032S4 40.718 4 49.144c0 8.428 9.035 7.815 9.035 7.815h99.384S121.453 66 133.5 66s21.081-9.04 21.081-9.04z",fill:"#F6C844"}),(0,t.jsx)("path",{d:"m253.965 40.718.001-17.76V4s-43.797 1.563-72.701 10.997C141.361 28.02 133.5 48.379 133.5 48.379c6.575 0 15.058-7.66 15.058-7.66zm-135.523 0s8.483 7.661 15.058 7.661c0 0-8.45-20.358-48.354-33.382C56.242 5.563 13.032 4 13.032 4v36.718z",fill:"#FBFBFB"}),(0,t.jsx)("path",{d:"M253.965 40.718s9.035 0 9.035 8.428c0 8.427-9.035 7.814-9.035 7.814h-99.384S145.547 66 133.5 66s-21.081-9.04-21.081-9.04H13.035S4 57.573 4 49.145c0-8.427 9.032-8.427 9.032-8.427m240.933 0H148.558s-8.483 7.661-15.058 7.661m120.465-7.66.001-17.76M13.032 40.718h105.41s8.483 7.66 15.058 7.66M13.032 40.72V22.96M133.5 48.378s-8.45-20.358-48.354-33.382C56.242 5.563 13.032 4 13.032 4v18.958M133.5 48.38s7.861-20.358 47.765-33.382C210.169 5.563 253.966 4 253.966 4v18.958m-240.934 0h41.41M253.966 41.12V22.958m0 0h-41.41",stroke:"#232839",strokeWidth:"7",strokeLinejoin:"round"}),(0,t.jsx)("g",{filter:"url(#a)",fill:"#F6C844",stroke:"#232839",strokeWidth:"4",strokeLinejoin:"round",transform:"translate(86 -75)",children:(0,t.jsx)("path",{d:"M11.512 19.998C7.286 24.77 2 27.715 2 27.715s5.28.906 9.512 4.934c4.574 4.354 6.076 10.627 6.076 10.627s1.5-6.273 6.075-10.627c4.232-4.028 9.512-4.934 9.512-4.934s-5.923-3.488-9.512-7.717c-3.588-4.23-6.075-9.931-6.075-9.931s-2.033 5.364-6.076 9.93ZM29.48 68.403c-3.316 3.813-7.464 6.165-7.464 6.165s4.143.724 7.464 3.942c3.589 3.478 4.767 8.49 4.767 8.49s1.178-5.012 4.767-8.49c3.32-3.218 7.463-3.942 7.463-3.942s-4.647-2.786-7.463-6.165-4.767-7.934-4.767-7.934-1.595 4.286-4.767 7.934Zm26.102-40.688c-5.578 6.3-13.85 9.317-13.85 9.317s8.263 3.352 13.85 8.669c6.039 5.747 9.856 23.457 9.856 23.457s1.501-15.135 7.54-20.882C78.565 42.959 89 37.032 89 37.032S80.229 34.583 75.491 29 65.438 2 65.438 2s-4.518 19.686-9.856 25.715Z"})}),(0,t.jsx)("defs",{children:(0,t.jsxs)("filter",{id:"a",x:"0",y:"0",width:"95",height:"94",filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB",children:[(0,t.jsx)("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),(0,t.jsx)("feColorMatrix",{in:"SourceAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),(0,t.jsx)("feOffset",{dx:"2",dy:"3"}),(0,t.jsx)("feGaussianBlur",{stdDeviation:"1"}),(0,t.jsx)("feComposite",{in2:"hardAlpha",operator:"out"}),(0,t.jsx)("feColorMatrix",{values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.35 0"}),(0,t.jsx)("feBlend",{in2:"BackgroundImageFix",result:"effect1_dropShadow"}),(0,t.jsx)("feBlend",{in:"SourceGraphic",in2:"effect1_dropShadow",result:"shape"})]})})]})}},82493:function(e,s,a){"use strict";a.r(s),a.d(s,{__N_SSP:function(){return w}});var t=a(85893),r=a(67294),l=a(11163),i=a(15382),d=a(75244),n=a(77101),c=a(41664),o=a.n(c),x=a(54006),m=a(82294),u=a(72873);let h=e=>{let{title:s,value:a,emoji:r,borderColor:l}=e;return(0,t.jsx)("div",{className:"bg-white rounded-lg border border-gray-200 border-l-4 ".concat(l," p-4 shadow-sm"),children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"text-sm text-gray-600",children:s}),(0,t.jsx)("p",{className:"mt-2 text-3xl font-bold text-gray-900",children:"number"==typeof a?a.toLocaleString():a})]}),(0,t.jsx)("div",{className:"text-2xl",children:r})]})})},g=e=>{switch(null==e?void 0:e.toUpperCase()){case"HOT":return"bg-red-100 text-red-800";case"WARM":return"bg-orange-100 text-orange-800";case"COOL":return"bg-blue-100 text-blue-800";case"COLD":return"bg-gray-100 text-gray-800";default:return"bg-gray-100 text-gray-600"}},j=e=>{let{schoolId:s,schoolName:a,onDataLoaded:l}=e,{data:i,isLoading:n}=d.S.usageDashboard.getTeachersForSchool.useQuery({schoolId:s},{enabled:!!s});return((0,r.useEffect)(()=>
1{if(i&&l){let e=i.rawTeacherData&&i.rawTeacherData.length>0?i.rawTeacherData:i.teachers||[];l({schoolId:s,schoolName:a,query:i.executedQuery,rawData:e})}},[i,s,a,l]),n)?(0,t.jsx)("div",{className:"py-4 text-center text-sm text-gray-500",children:"Loading teachers..."}):(null==i?void 0:i.success)&&i.teachers&&0!==i.teachers.length?(0,t.jsxs)("div",{children:[(0,t.jsxs)("h4",{className:"mb-3 font-medium text-gray-900",children:["Teachers at ",a]}),(0,t.jsxs)("table",{className:"min-w-full",children:[(0,t.jsx)("thead",{children:(0,t.jsxs)("tr",{className:"text-left text-xs font-medium uppercase tracking-wider text-gray-500",children:[(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Teacher"}),(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Number of Classes"}),(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Total Students"}),(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Stories Read Online"}),(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Words Read"}),(0,t.jsx)("th",{className:"pb-2 pr-4",children:"Learning Minutes (Online)"}),(0,t.jsx)("th",{className:"pb-2",children:"Last Active"})]})}),(0,t.jsx)("tbody",{className:"divide-y divide-gray-200",children:i.teachers.map(e=>{var s;return(0,t.jsxs)("tr",{className:"text-sm text-gray-900",children:[(0,t.jsx)("td",{className:"py-3 pr-4 font-medium",children:e.name}),(0,t.jsx)("td",{className:"py-3 pr-4",children:e.numClasses.toLocaleString()}),(0,t.jsx)("td",{className:"py-3 pr-4",children:e.totalStudents.toLocaleString()}),(0,t.jsx)("td",{className:"py-3 pr-4 font-semibold",children:e.storiesReadOnline.toLocaleString()}),(0,t.jsx)("td",{className:"py-3 pr-4",children:e.wordsRead.toLocaleString()}),(0,t.jsx)("td",{className:"py-3 pr-4",children:e.learningMinutesOnline.toLocaleString()}),(0,t.jsx)("td",{className:"py-3 text-gray-600",children:null!==(s=e.lastActive)&&void 0!==s?s:"N/A"})]},e.id)})})]})]}):(0,t.jsx)("div",{className:"py-4 text-center text-sm text-gray-500",children:"No teacher data available"})},p=e=>{let{school:s,isExpanded:a,onToggle:r,onTeacherDataLoaded:l}=e;return(0,t.jsxs)("div",{className:"border-b border-gray-200 last:border-b-0",children:[(0,t.jsxs)("div",{className:"flex cursor-pointer items-center justify-between p-4 hover:bg-gray-50",onClick:r,children:[(0,t.jsxs)("div",{className:"flex items-center gap-4",children:[(0,t.jsx)("div",{className:"h-2 w-2 rounded-full bg-yellow-400"}),(0,t.jsx)("span",{className:"font-medium text-gray-900",children:s.name}),s.engagementLevel&&"UNKNOWN"!==s.engagementLevel&&(0,t.jsx)("span",{className:"px-2 py-0.5 text-xs font-medium rounded ".concat(g(s.engagementLevel)),children:s.engagementLevel})]}),(0,t.jsxs)("div",{className:"flex items-center gap-6 text-sm text-gray-600",children:[(0,t.jsxs)("span",{children:[s.teachers," teachers"]}),(0,t.jsxs)("span",{children:[s.students," students"]}),(0,t.jsxs)("span",{children:[s.storiesRead.toLocaleString()," stories read"]}),(0,t.jsxs)("span",{children:[s.wordsRead.toLocaleString()," words read"]}),(0,t.jsxs)("span",{children:[s.learningMinutes.toLocaleString()," learning min"]}),a?(0,t.jsx)(x.Z,{className:"h-5 w-5 text-gray-400"}):(0,t.jsx)(m.Z,{className:"h-5 w-5 text-gray-400"})]})]}),a&&(0,t.jsx)("div",{className:"bg-gray-50 px-6 py-4",children:(0,t.jsx)(j,{schoolId:s.id,schoolName:s.name,onDataLoaded:l})})]})},v=e=>{let{title:s,data:a,color:r}=e;return(0,t.jsx)(n.tO,{title:s,data:a,color:r})},y=e=>{let{title:s,data:a,color:r}=e;return(0,t.jsx)(n.GK,{title:s,data:a,color:r})},b=e=>{let{districtId:s,onQueryExecuted:a,onRawDataReceived:l}=e,{data:i,isLoading:n}=d.S.usageDashboard.getWeeklyMetrics.useQuery({districtId:s},{enabled:!!s});if((0,r.useEffect)(()=>{(null==i?void 0:i.executedQuery)&&a&&a(i.executedQuery),(null==i?void 0:i.rawWeeklyData)&&l&&l(i.rawWeeklyData)},[null==i?void 0:i.executedQuery,null==i?void 0:i.rawWeeklyData,a,l]),n)return(0,t.jsxs)("div",{className:"grid grid-cols-1 gap-6 lg:grid-cols-2",children:[(0,t.jsx)("div",{className:"h-80 animate-pulse rounded-lg bg-gray-200"}),(0,t.jsx)("div",{className:"h-80 animate-pulse rounded-lg bg-gray-200"})]});if(!(null==i?void 0:i.hasData))return null;
1let c=i.weeklyData.map((e,s)=>{var a;return{label:null!==(a=e.week)&&void 0!==a?a:"Week ".concat(s+1),value:e.storiesReadOnline}}),o=i.weeklyData.map((e,s)=>{var a;return{label:null!==(a=e.week)&&void 0!==a?a:"Week ".concat(s+1),value:e.learningMinutes}});return(0,t.jsxs)("div",{className:"space-y-6",children:[(0,t.jsx)(v,{title:"Stories Read Online By Week",data:c,color:"#6366f1"}),(0,t.jsx)(y,{title:"Learning Minutes By Week",data:o,color:"#22c55e"})]})},N=e=>{var s;let{data:a,districtName:l,districtId:d}=e,[n,c]=(0,r.useState)(new Set),[x,m]=(0,r.useState)(null),[g,j]=(0,r.useState)([]),[v,y]=(0,r.useState)(new Map),N=e=>{c(s=>{let a=new Set(s);return a.has(e)?a.delete(e):a.add(e),a})},f=(0,r.useCallback)(e=>{y(s=>{let a=new Map(s);return a.set(e.schoolId,e),a})},[]),w=Array.from(v.values()).filter(e=>e.query).map(e=>({...e.query,name:"Teacher Metrics (".concat(e.schoolName,")")})),D=[...a.executedQueries||[],...x?[x]:[],...w];return(0,t.jsxs)("div",{className:"min-h-screen bg-amber-50",children:[(0,t.jsx)("div",{className:"bg-yellow-400 px-6 py-4",children:(0,t.jsxs)("div",{className:"flex items-center justify-between",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-12 w-12",children:(0,t.jsx)(i.Z,{})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold text-gray-900",children:"LitLab"}),(0,t.jsxs)("p",{className:"text-sm text-gray-700",children:["Admin Dashboard - ",l]})]})]}),(0,t.jsxs)("div",{className:"text-right text-sm text-gray-700",children:[(0,t.jsx)("p",{children:"Last Updated"}),(0,t.jsx)("p",{className:"font-medium",children:a.lastUpdated})]})]})}),(0,t.jsx)("div",{className:"mx-auto max-w-7xl px-6 py-4",children:(0,t.jsxs)(o(),{href:"/admin/usage-dashboard",className:"inline-flex items-center gap-1 text-sm text-gray-600 hover:text-gray-900",children:[(0,t.jsx)(u.Z,{className:"h-4 w-4"}),"Back to all districts"]})}),(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6 pb-6",children:[(0,t.jsxs)("div",{className:"mb-6 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",children:[(0,t.jsx)(h,{title:"Total Teachers",value:a.totalTeachers,emoji:"\uD83D\uDC68â\uD83C\uDFEB",borderColor:"border-l-purple-500"}),(0,t.jsx)(h,{title:"Students Rostered",value:a.totalStudents,emoji:"\uD83D\uDCCA",borderColor:"border-l-orange-500"}),(0,t.jsx)(h,{title:"Stories Read (Online)",value:a.totalStoriesRead,emoji:"\uD83D\uDCDA",borderColor:"border-l-blue-500"}),(0,t.jsx)(h,{title:"Words Read",value:a.totalWordsRead,emoji:"\uD83D\uDCDD",borderColor:"border-l-indigo-500"}),(0,t.jsx)(h,{title:"Learning Minutes (Online)",value:a.totalLearningMinutes,emoji:"â±ï¸",borderColor:"border-l-green-500"})]}),(0,t.jsxs)("div",{className:"mb-6 rounded-lg border border-gray-200 bg-white shadow-sm",children:[(0,t.jsx)("div",{className:"border-b border-gray-200 px-6 py-4",children:(0,t.jsx)("h2",{className:"text-lg font-semibold text-gray-900",children:"Schools Overview"})}),(0,t.jsx)("div",{children:a.schools.length>0?a.schools.map(e=>(0,t.jsx)(p,{school:e,isExpanded:n.has(e.id),onToggle:()=>N(e.id),onTeacherDataLoaded:f},e.id)):(0,t.jsx)("div",{className:"p-6 text-center text-gray-500",children:"No schools data available"})})]}),(0,t.jsx)(b,{districtId:d,onQueryExecuted:m,onRawDataReceived:j}),(0,t.jsxs)("div",{className:"mt-6 space-y-4",children:[(0,t.jsx)("h2",{className:"text-lg font-semibold text-gray-800",children:"Debug: BigQuery Data"}),D.length>0&&(0,t.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm",children:[(0,t.jsxs)("h3",{className:"mb-3 font-semibold text-gray-700",children:["Executed BigQuery Queries (",D.length,")"]}),(0,t.jsx)("div",{className:"space-y-4",children:D.map((e,s)=>(0,t.jsxs)("div",{className:"rounded border border-gray-100 bg-gray-50 p-3",children:[(0,t.jsxs)("div",{className:"flex items-center justify-between mb-2",children:[(0,t.jsx)("span",{className:"font-medium text-gray-800",children:e.name}),(0,t.jsx)("span",{className:"text-xs text-gray-500",children:void 0!==e.rowCount?"".concat(e.rowCount," rows"):"pending"})]}),(0,t.jsx)("pre",{className:"text-xs text-blue-700 bg-blue-50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:e.query}),(0,t.jsxs)("div",{className:"mt-2 text-xs text-gray-500",children:["Params: ",JSON.stringify(e.params)]})]},s))})]}),a.rawData&&(0,t.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm",children:[(0,t.jsx)("h3",{className:"mb-2 font-semibold text-gray-700",children:"Raw District Data (1 row)"}),(0,t.jsx)("pre",{className:"max-h-64 overflow-auto text-xs text-gray-600",children:JSON.stringify(a.rawData,null,2)})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm",children:[(0,t.jsxs)("h3",{className:"mb-2 font-semibold text-gray-700",children:["Raw Weekly/Charts Data (",null!==(s=null==g?void 0:g.length)&&void 0!==s?s:0," rows)"]}),g&&g.length>0?(0,t.jsx)("pre",{className:"max-h-64 overflow-auto text-xs text-gray-600",children:JSON.stringify(g,null,2)}):(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)("p",{className:"text-sm text-gray-500",children:"No weekly data returned from BigQuery"}),(0,t.jsxs)("div",{className:"mt-2 rounded border border-gray-100 bg-gray-50 p-3",children:[(0,t.jsx)("p",{className:"text-xs font-medium text-gray-700 mb-1",children:"Table:"}),(0,t.jsx)("p",{className:"text-xs text-gray-600 mb-3 font-mono",children:"staging-366404.teacher_activity.teacher_activity_metrics_weekly"}),(0,t.jsx)("p",{className:"text-xs font-medium text-gray-700 mb-2",children:"Query executed:"}),(0,t.jsx)("pre",{className:"text-xs text-blue-700 bg-blue-50 p-2 rounded overflow-x-auto whitespace-pre-wrap",children:"SELECT\n week_start,\n SUM(num_prints) as num_prints,\n SUM(num_stories_read_online) as num_stories_read_online,\n SUM(num_learning_minutes_online) as num_learning_minutes_online\nFROM `staging-366404.teacher_activity.teacher_activity_metrics_weekly`\nWHERE district_id = '".concat(d,"'\nGROUP BY 1\nORDER BY 1 ASC")})]})]})]}),(0,t.jsxs)("div",{className:"rounded-lg border border-gray-200 bg-white p-4 shadow-sm",children:[(0,t.jsxs)("h3",{className:"mb-2 font-semibold text-gray-700",children:["Raw Teacher Data (",v.size," schools expanded, ",Array.from(v.values()).reduce((e,s)=>e+s.rawData.length,0)," teachers total)"]}),v.size>0?(0,t.jsx)("div",{className:"space-y-4",children:Array.from(v.values()).map(e=>(0,t.jsxs)("div",{className:"border-t border-gray-100 pt-3 first:border-t-0 first:pt-0",children:[(0,t.jsxs)("h4",{className:"mb-2 text-sm font-medium text-gray-800",children:[e.schoolName," (",e.rawData.length," teachers)"]}),(0,t.jsx)("pre",{className:"max-h-48 overflow-auto text-xs text-gray-600",children:JSON.stringify(e.rawData,null,2)})]},e.schoolId))}):(0,t.jsx)("p",{className:"text-sm text-gray-500",children:"Expand a school to see teacher data"})]})]})]})]})},f=()=>(0,t.jsxs)("div",{className:"min-h-screen bg-amber-50",children:[(0,t.jsx)("div",{className:"bg-yellow-400 px-6 py-4",children:(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("div",{className:"h-12 w-12",children:(0,t.jsx)(i.Z,{})}),(0,t.jsxs)("div",{children:[(0,t.jsx)("h1",{className:"text-xl font-bold text-gray-900",children:"LitLab"}),(0,t.jsx)("p",{className:"text-sm text-gray-700",children:"Loading..."})]})]})}),(0,t.jsxs)("div",{className:"mx-auto max-w-7xl px-6 py-6",children:[(0,t.jsx)("div",{className:"mb-6 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-5",children:[void 0,void 0,void 0,void 0,void 0].map((e,s)=>(0,t.jsx)("div",{className:"h-24 animate-pulse rounded-lg bg-gray-200"},s))}),(0,t.jsx)("div",{className:"mb-6 h-64 animate-pulse rounded-lg bg-gray-200"})]})]});var w=!0;s.default=()=>{var e,s,a,r,i,n,c,x;let{districtId:m}=(0,l.useRouter)().query,{data:u}=d.S.district.getById.useQuery({id:m},{enabled:!!m}),{data:h,isLoading:g,error:j}=d.S.usageDashboard.getDistrictDashboard.useQuery({districtId:m},{enabled:!!m});if(!m||g)return(0,t.jsx)(f,{});if(j)return(0,t.jsx)("div",{className:"min-h-screen bg-amber-50 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsxs)("div",{className:"text-red-600 mb-4",children:["Error loading dashboard: ",j.message]}
1),(0,t.jsx)(o(),{href:"/admin/usage-dashboard",className:"text-blue-600 hover:underline",children:"Back to districts"})]})});let p=(null==u?void 0:u.districtName)||"District ".concat(m);if(null==h?void 0:h.noData)return(0,t.jsx)("div",{className:"min-h-screen bg-amber-50 flex items-center justify-center",children:(0,t.jsxs)("div",{className:"text-center",children:[(0,t.jsxs)("div",{className:"text-gray-700 mb-4",children:["No usage data found for ",p," in BigQuery."]}),(0,t.jsx)(o(),{href:"/admin/usage-dashboard",className:"text-blue-600 hover:underline",children:"Back to districts"}),h.executedQueries&&h.executedQueries.length>0&&(0,t.jsxs)("details",{className:"mx-auto mt-6 max-w-2xl text-left",children:[(0,t.jsx)("summary",{className:"cursor-pointer text-sm text-gray-500",children:"Debug: executed BigQuery queries"}),(0,t.jsx)("pre",{className:"mt-2 max-h-64 overflow-auto rounded bg-gray-100 p-3 text-xs text-gray-600",children:JSON.stringify(h.executedQueries,null,2)})]})]})});let v={totalTeachers:null!==(e=null==h?void 0:h.totalTeachers)&&void 0!==e?e:0,totalStudents:null!==(s=null==h?void 0:h.totalStudents)&&void 0!==s?s:0,totalStoriesRead:null!==(a=null==h?void 0:h.totalStoriesRead)&&void 0!==a?a:0,totalLearningMinutes:null!==(r=null==h?void 0:h.totalLearningMinutes)&&void 0!==r?r:0,totalWordsRead:null!==(i=null==h?void 0:h.totalWordsRead)&&void 0!==i?i:0,schools:null!==(n=null==h?void 0:h.schools)&&void 0!==n?n:[],weeklyData:null!==(c=null==h?void 0:h.weeklyData)&&void 0!==c?c:[],lastUpdated:null!==(x=null==h?void 0:h.lastUpdated)&&void 0!==x?x:new Date().toLocaleString(),rawData:h.rawData,rawSchoolData:h.rawSchoolData,executedQueries:h.executedQueries};return(0,t.jsx)(N,{data:v,districtName:p,districtId:m})}}},function(e){e.O(0,[7984,2888,9774,179],function(){return e(e.s=70659)}),_N_E=e.O()}]);
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.