"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5573],{51970:function(e,t,i){i.d(t,{Z:function(){return g}});var s=i(85893),n=i(67294),o=i(28475),r=i(37433),a=i(74695),l=i(29711);const c=()=>(0,s.jsx)("svg",{width:"80",height:"85",viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("circle",{cx:"22",cy:"22.2998",r:"19",stroke:"#9BC35C","stroke-width":"6"})}),d=()=>(0,s.jsx)("svg",{width:"80",height:"85",viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("circle",{cx:"22",cy:"22.2998",r:"19",stroke:"#F9CB41","stroke-width":"6"})}),m=()=>(0,s.jsx)("svg",{width:"80",height:"85",viewBox:"0 0 44 45",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("circle",{cx:"22",cy:"22.2998",r:"19",stroke:"#DA5D38","stroke-width":"6"})});var x=i(41664),h=i.n(x),u=i(86014),f=i(6858),v=i(29922);var g=e=>{let{sessionData:t}=e;var i;const{notifyError:x}=(0,v.Z)(),{activeModal:g,closeModal:p}=(0,u.d)(),b=g===f.w.APP_ENABLEMENT_CTA,{data:j}=o.S.permission.get.useQuery({userId:null===t||void 0===t||null===(i=t.user)||void 0===i?void 0:i.id},{onError:e=>{x({message:e.message})}}),{data:y}=o.S.permission.getGlobal.useQuery();return(0,s.jsx)(s.Fragment,{children:(0,s.jsx)(r.u.Root,{show:b,as:n.Fragment,children:(0,s.jsxs)(a.V,{open:b,onClose:p,className:"relative z-50 animate-fadeshort",children:[(0,s.jsx)("div",{className:"fixed inset-0 bg-black/60","aria-hidden":"true"}),(0,s.jsx)("div",{className:"fixed inset-0 flex items-center justify-center overflow-y-auto p-4",children:(0,s.jsxs)(a.V.Panel,{className:"flex h-fit w-full max-w-2xl transform flex-col rounded-xl bg-white p-2 pb-12 text-center align-middle shadow-xl sm:px-16 sm:py-10",children:[(0,s.jsx)("div",{className:"flex justify-end",children:(0,s.jsx)(l.Z,{className:"w-8 cursor-pointer text-blue-950 hover:text-red-500",onClick:p})}),(0,s.jsx)(a.V.Title,{className:"font-serif text-4xl font-bold text-blue-950",children:"Action needed: reached LitLab Basic weekly limit!"}),(0,s.jsx)("div",{className:"mt-10 sm:px-10",children:(0,s.jsxs)("div",{className:"flex w-full justify-between",children:[(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(null===j||void 0===j?void 0:j.StoryRestriction)===(null===y||void 0===y?void 0:y.StoryRestriction)?(0,s.jsx)(c,{}):(null===y||void 0===y?void 0:y.StoryRestriction)>(null===j||void 0===j?void 0:j.StoryRestriction)&&(null===j||void 0===j?void 0:j.StoryRestriction)>0?(0,s.jsx)(d,{}):(0,s.jsx)(m,{}),(0,s.jsx)("div",{className:"absolute bottom-7 left-6 text-xl font-bold",children:(null===y||void 0===y?void 0:y.StoryRestriction)-(null===j||void 0===j?void 0:j.StoryRestriction)+"/"+(null===y||void 0===y?void 0:y.StoryRestriction)})]}),(0,s.jsx)("p",{className:"font-bold sm:text-xl",children:"Generations"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(null===j||void 0===j?void 0:j.PdfRestriction)===(null===y||void 0===y?void 0:y.PdfRestriction)?(0,s.jsx)(c,{}):(null===y||void 0===y?void 0:y.PdfRestriction)>(null===j||void 0===j?void 0:j.PdfRestriction)&&(null===j||void 0===j?void 0:j.PdfRestriction)>0?(0,s.jsx)(d,{}):(0,s.jsx)(m,{}),(0,s.jsx)("div",{className:"absolute bottom-7 left-6 text-xl font-bold",children:(null===y||void 0===y?void 0:y.PdfRestriction)-(null===j||void 0===j?void 0:j.PdfRestriction)+"/"+(null===y||void 0===y?void 0:y.PdfRestriction)})]}),(0,s.jsx)("p",{className:"font-bold sm:text-xl",children:"PDF Downloads"})]}),(0,s.jsxs)("div",{className:"flex flex-col items-center justify-center",children:[(0,s.jsxs)("div",{className:"relative",children:[(null===j||void 0===j?void 0:j.AssignmentRestriction)===(null===y||void 0===y?void 0:y.AssignmentRestriction)?(0,s.jsx)(c,{}):(null===y||void 0===y?void 0:y.AssignmentRestriction)>(null===j||void 0===j?void 0:j.AssignmentRestriction)&&(null===j||void 0===j?void 0:j.AssignmentRestriction)>0?(0,s.jsx)(d,{}):(0,s.jsx)(m,{}),(0,s.jsx)("div",{className:"absolute bottom-7 left-6 text-xl font-bold",children:(null===y||void 0===y?void 0:y.AssignmentRestriction)-(null===j||void 0===j?void 0:j.AssignmentRestriction)+"/"+(null===y||void 0===y?void 0:y.AssignmentRestriction)})]}),(0,s.jsx)("p",{className:"font-bold sm:text-xl",children:"Assignments"})]})]})}),(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)("p",{className:"italic",children:"LitLab Basic limits reset on Sundays."})}),(0,s.jsx)("div",{className:"mt-10",children:(0,s.jsxs)("p",{className:"text-xl",children:["LitLab Premium is an affordable membership for schools.",(0,s.jsxs)(h(),{href:"https://docs.google.com/forms/d/e/1FAIpQLSfMIC5AMEf7qy-tYcep2vHzYtJzyiQgSjftuEMVOQegFkDRbg/viewform",target:"_blank",className:"text-blue-600",children:[" ","Recommend LitLab Premium"]})," ","to your admin by writing a short endorsement, which we will share with them."]})}),(0,s.jsxs)("div",{className:"mt-8 flex h-16 items-center",children:[(0,s.jsx)(h(),{href:"https://docs.google.com/forms/d/e/1FAIpQLSfMIC5AMEf7qy-tYcep2vHzYtJzyiQgSjftuEMVOQegFkDRbg/viewform",target:"_blank",className:"flex h-full basis-3/5 items-center justify-center rounded-md bg-blue-950 text-xl font-bold text-white hover:bg-green-500",children:"Recommend to admin"}),(0,s.jsx)("button",{onClick:p,className:"basis-2/5 text-lg italic hover:text-yellow-400",children:"Maybe later"})]}),(0,s.jsx)("div",{className:"mt-4",children:(0,s.jsx)("p",{className:"italic",children:"If you believe you are already part of a LitLab Premium school, district, or network, please contact us at ops@litlab.ai to restore your membership."})})]})})]})})})}},20258:function(e,t,i){var s=i(85893),n=i(9008),o=i.n(n),r=i(27607);t.Z=e=>{let{configKey:t,configObject:i}=e;const{title:n="LitLab.ai \u2014 an infinite, custom decodable library!",description:a="Generate custom decodables \u2014 or use 1000+ ready-made decodables.",image:l="https://storage.googleapis.com/stories-assets/page_assets/litlab-assets/litlab_OG_image_july_2024_2.jpg"}=i||(t?r.Z[t]:{});return(0,s.jsxs)(o(),{children:[(0,s.jsx)("title",{children:n}),(0,s.jsx)("meta",{charSet:"utf-8"}),(0,s.jsx)("meta",{name:"description",content:a}),(0,s.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"}),(0,s.jsx)("meta",{name:"robots",content:"index, follow"}),(0,s.jsx)("meta",{property:"og:title",content:n}),(0,s.jsx)("meta",{property:"og:description",content:a}),(0,s.jsx)("meta",{property:"og:image",content:l}),(0,s.jsx)("meta",{property:"og:locale",content:"en_US"}),(0,s.jsx)("meta",{property:"og:type",content:"website"}),(0,s.jsx)("meta",{property:"og:image:width",content:"1200"}),(0,s.jsx)("meta",{property:"og:image:height",content:"630"}),(0,s.jsx)("meta",{property:"og:url",content:"https://www.litlab.ai"}),(0,s.jsx)("meta",{property:"og:site_name",content:"LitLab.ai"}),(0,s.jsx)("meta",{property:"og:updated_time",content:"2024-10-10T00:00:00Z"}),(0,s.jsx)("meta",{name:"twitter:card",content:"summary_large_image"}),(0,s.jsx)("meta",{property:"twitter:title",content:n}),(0,s.jsx)("meta",{property:"twitter:description",content:a}),(0,s.jsx)("meta",{property:"twitter:image",content:l}),(0,s.jsx)("meta",{property:"twitter:site",content:"@LitLabAI"}),(0,s.jsx)("meta",{property:"twitter:creator",content:"@LitLabAI"}),(0,s.jsx)("link",{rel:"icon",type:"image/png",href:"/favicon/favicon-48x48.png",sizes:"48x48"}),(0,s.jsx)("link",{rel:"shortcut icon",href:"/favicon/favicon.ico"}),(0,s.jsx)("link",{rel:"apple-touch-icon",sizes:"180x180",href:"/favicon/apple-touch-icon.png"}),(0,s.jsx)("meta",{name:"apple-mobile-web-app-title",content:"LitLab.ai"}),(0,s.jsx)("link",{rel:"manifest",href:"/favicon/site.webmanifest"})]})}},91379:function(e,t,i){i.d(t,{e:function(){return o}});var s=i(67294),n=i(677);const o=()=>((e,t)=>{const i=e(t),[n,o]=(0,s.useState)();return(0,s.useEffect)((()=>{o(i)}),[i]),n})(n.Dw,(e=>e))},27607:function(e,t,i){var s;i.d(t,{D:function(){return s}}),function(e){e.teacherDashboard="teacherDashboard",e.library="library",e.creator="creator",e.studentLanding="studentLanding",e.galleryStaff="galleryStaff",e.galleryMyContent="galleryMyContent"}(s||(s={}));t.Z={teacherDashboard:{title:"LitLab | Teacher Dashboard",description:"Teacher Dashboard is where teachers can manage their students, student progress and other configurations."},library:{title:"LitLab | Community Library",description:"Community Library is where teachers can find stories to assign to their students. Student can find stories to read."},creator:{title:"LitLab | Create a Story",description:"Create a Story is where teachers can create a story to add to the Community Library."},studentLanding:{title:"LitLab | Student Home",description:"Student landing is where students can see their current assignment."},galleryStaff:{title:"LitLab | Grab-and-go Decodables",description:"Grab-and-go Decodables is where teachers can find curated stories created by the litlab staff."},galleryMyContent:{title:"LitLab | My Content",description:"My Content is where teachers can find stories created by themselves or by their students."}}}}]);