1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,884403,e=>{"use strict";var t=e.i(271645),r=e.i(618566),n=e.i(884255);e.s(["NavHistoryTracker",0,function(){let e=(0,r.usePathname)(),a=(0,r.useSearchParams)().toString();return(0,t.useEffect)(()=>{let t=a?`${e}?${a}`:e;try{let e=sessionStorage.getItem(n.NAV_CUR_KEY);if(e===t)return;e?sessionStorage.setItem(n.NAV_PREV_KEY,e):sessionStorage.removeItem(n.NAV_PREV_KEY),sessionStorage.setItem(n.NAV_CUR_KEY,t)}catch{}},[e,a]),null}])},833925,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080),a=e.i(870273),s=e.i(37727),i=e.i(270756),l=e.i(819982),o=e.i(277632),c=e.i(462642);function d({classId:e,teacherName:u,onDone:p}){let[f,x]=(0,r.useState)(0),[m,h]=(0,r.useState)(""),[g,b]=(0,r.useState)("idle");function v(){p?p():window.location.assign("/learning/online-class")}async function y(){if(!(f<1||"saving"===g||(0,o.lowRatingNeedsReason)(f,m))){b("saving");try{await fetch(`/learning/api/live-classes/${e}/feedback`,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({stars:f,feedback:m}),keepalive:!0})}catch{}v()}}return(0,r.useEffect)(()=>{let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[]),(0,n.createPortal)((0,t.jsx)("div",{className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4",children:(0,t.jsxs)("div",{role:"dialog","aria-modal":"true","aria-labelledby":"live-class-feedback-title",className:"relative w-full max-w-sm space-y-4 rounded-xl bg-white p-6 text-center shadow-xl",children:[(0,t.jsx)("button",{type:"button",onClick:v,"aria-label":"Close",className:"absolute top-3 right-3 rounded-full p-1 text-gray-400 hover:bg-gray-100 hover:text-gray-600",children:(0,t.jsx)(s.X,{size:18})}),(0,t.jsx)("h2",{id:"live-class-feedback-title",className:"text-lg font-semibold text-[var(--learning-navy)]",children:`How was your class with ${u}?`}),(0,t.jsxs)("div",{className:"flex items-start gap-2 rounded-lg border border-[var(--learning-gold)] bg-[var(--learning-cream,#FBF8F3)] p-3 text-left",children:[(0,t.jsx)(i.Lock,{className:"mt-0.5 h-4 w-4 shrink-0 text-[var(--learning-gold)]"}),(0,t.jsx)("p",{className:"text-xs font-medium text-[var(--learning-navy)]",children:"Your teacher may see this rating to help them improve â your name is never shown to anyone."})]}),(0,t.jsx)("div",{className:"flex justify-center gap-1",children:[1,2,3,4,5].map(e=>(0,t.jsx)("button",{type:"button","aria-label":`${e} star${1===e?"":"s"}`,"aria-pressed":e<=f,onClick:()=>x(e),className:"p-1",children:(0,t.jsx)(a.Star,{size:32,fill:e<=f?(0,l.ratingColor)(f):"none",color:e<=f?(0,l.ratingColor)(f):l.RATING_EMPTY_COLOR})},e))}),(0,t.jsx)("textarea",{value:m,onChange:e=>h(e.target.value),rows:3,placeholder:(0,o.lowRatingNeedsReason)(f,m)?"Required: what went wrong, and what needs improvement?":"Anything you'd like to add? (optional)",className:"w-full resize-none rounded-lg border border-gray-300 p-2 text-sm"}),(0,t.jsx)(c.LowRatingNotice,{stars:f,feedback:m}),(0,t.jsx)("button",{type:"button",onClick:y,disabled:f<1||"saving"===g||(0,o.lowRatingNeedsReason)(f,m),className:"w-full rounded-lg bg-[var(--learning-navy)] px-5 py-2 text-sm font-medium text-[var(--learning-cream)] disabled:opacity-40",children:"saving"===g?"Submittingâ¦":"Submit"})]})}),document.body)}let u="pendingClassFeedback";e.s(["PendingClassFeedback",0,function(){let[e,n]=(0,r.useState)(null),a=(0,r.useCallback)(()=>{let e=null;try{(e=sessionStorage.getItem(u))&&sessionStorage.removeItem(u)}catch{return}if(e)try{let t=JSON.parse(e);t&&"number"==typeof t.classId&&"string"==typeof t.teacherName&&n(t)}catch{}},[]);return((0,r.useEffect)(()=>{a();let e=()=>setTimeout(a,0);return window.addEventListener("popstate",e),window.addEventListener("pageshow",a),()=>{window.removeEventListener("popstate",e),window.removeEventListener("pageshow",a)}},[a]),e)?(0,t.jsx)(d,{classId:e.classId,teacherName:e.teacherName,onDone:()=>n(null)}):null}],833925)},911045,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(174080),a=e.i(88653),s=e.i(846932),i=e.i(283086),l=e.i(931091),o=e.i(647163);function c({question:e,disabled:r,onSubmit:n,error:a,saving:s}){let i=!!(e.ctaLabel&&e.ctaUrl);return(0,t.jsxs)("div",{className:"relative flex flex-col gap-6",children:[e.imageUrl&&(0,t.jsx)("img",{src:e.imageUrl,alt:"",className:"h-48 w-full object-cover",onError:e=>{e.currentTarget.style.display="none"}}),(0,t.jsxs)("div",{className:"flex flex-col gap-6 px-8 pb-8 sm:px-10 sm:pb-10",style:{paddingTop:e.imageUrl?24:void 0},children:[!e.imageUrl&&(0,t.jsx)("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--learning-accent)]/10 text-[var(--learning-accent)]",children:(0,t.jsx)(l.Megaphone,{className:"h-5 w-5"})}),(0,t.jsx)("p",{className:"font-[var(--font-learning-heading),ui-sans-serif,sans-serif] text-[24px] leading-snug font-semibold text-[var(--learning-navy)] sm:text-[28px]",children:e.prompt}),(0,t.jsxs)("div",{className:"flex gap-3",children:[i&&(0,t.jsx)("a",{href:e.ctaUrl,target:"_blank",rel:"noopener noreferrer",onClick:()=>n("clicked"),className:(0,o.cn)("flex h-12 flex-1 items-center justify-center rounded-xl bg-[var(--learning-accent)] px-6 text-[15px] font-semibold text-white",r&&"pointer-events-none opacity-40"),children:e.ctaLabel}),(0,t.jsx)("button",{type:"button",disabled:r,onClick:()=>n("seen"),className:(0,o.cn)("h-12 rounded-xl border border-[var(--learning-border)] px-6 text-[15px] font-semibold text-[var(--learning-navy)] disabled:opacity-40",i?"":"flex-1"),children:"Got it"})]}),a&&(0,t.jsx)("p",{className:"text-[13px] font-medium text-[var(--learning-error)]",children:"Could not save that â check your connection and try again."}),s&&(0,t.jsx)("p",{className:"text-[13px] text-[var(--learning-muted)]",children:"Savingâ¦"})]})]})}function d({value:e,disabled:r,onKeep:n,onChange:a}){return(0,t.jsxs)("div",{className:"flex flex-col gap-4",children:[(0,t.jsx)("p",{className:"rounded-xl border border-[var(--learning-border)] bg-[var(--learning-accent)]/5 px-4 py-3 text-[17px] font-semibold text-[var(--learning-navy)]",children:/^\d{4}-\d{2}-\d{2}$/.test(e)?new Date(`${e}T00:00:00.000Z`).toLocaleDateString("en-GB",{timeZone:"UTC",day:"numeric",month:"long",year:"numeric"}):e}),(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("button",{type:"button",disabled:r,onClick:n,className:"h-12 flex-1 rounded-xl bg-[var(--learning-accent)] px-6 text-[15px] font-semibold text-white disabled:opacity-40",children:"Yes, still right"}),(0,t.jsx)("button",{type:"button",disabled:r,onClick:a,className:"h-12 flex-1 rounded-xl border border-[var(--learning-border)] px-6 text-[15px] font-semibold text-[var(--learning-navy)] disabled:opacity-40",children:"Change it"})]})]})}
1function u({question:e,disabled:r,textDraft:n,onTextDraft:a,onSubmit:s}){let i="min-h-[48px] rounded-full border border-[var(--learning-border)] px-5 text-[15px] font-semibold text-[var(--learning-navy)] transition-colors hover:border-[var(--learning-accent)] hover:bg-[var(--learning-accent)]/10 disabled:opacity-50";if("select"===e.type)return(0,t.jsx)("div",{className:"flex flex-wrap gap-2.5",children:(e.options??[]).map(e=>(0,t.jsx)("button",{type:"button",disabled:r,onClick:()=>s(e),className:i,children:e},e))});if("list"===e.type){let i=e.options??[],l=i.find(e=>e.toLowerCase()===n.trim().toLowerCase());return(0,t.jsxs)("form",{className:"flex flex-col gap-2",onSubmit:e=>{e.preventDefault(),l&&s(l)},children:[(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("input",{type:"text",required:!0,list:"profile-answer-list",autoComplete:"off",disabled:r,value:n,onChange:e=>a(e.target.value),placeholder:"Start typingâ¦",autoFocus:!0,className:"h-12 flex-1 rounded-xl border border-[var(--learning-border)] px-4 text-[15px] text-[var(--learning-text)] focus:border-[var(--learning-accent)] focus:outline-none"}),(0,t.jsx)("datalist",{id:"profile-answer-list",children:i.map(e=>(0,t.jsx)("option",{value:e},e))}),(0,t.jsx)("button",{type:"submit",disabled:r||!l,className:"h-12 rounded-xl bg-[var(--learning-accent)] px-6 text-[15px] font-semibold text-white disabled:opacity-40",children:"Save"})]}),n.trim()&&!l&&(0,t.jsx)("p",{className:"text-[13px] text-[var(--learning-muted)]",children:"Pick one of the listed options."})]})}return"yes_no"===e.type?(0,t.jsxs)("div",{className:"flex gap-3",children:[(0,t.jsx)("button",{type:"button",disabled:r,onClick:()=>s("yes"),className:(0,o.cn)(i,"flex-1"),children:"Yes"}),(0,t.jsx)("button",{type:"button",disabled:r,onClick:()=>s("no"),className:(0,o.cn)(i,"flex-1"),children:"No"})]}):"date"===e.type?(0,t.jsxs)("form",{className:"flex gap-3",onSubmit:e=>{e.preventDefault(),n&&s(n)},children:[(0,t.jsx)("input",{type:"date",required:!0,min:e.dateLimits?.min,max:e.dateLimits?.max,disabled:r,value:n,onChange:e=>a(e.target.value),className:"h-12 flex-1 rounded-xl border border-[var(--learning-border)] px-4 text-[15px] text-[var(--learning-text)] focus:border-[var(--learning-accent)] focus:outline-none"}),(0,t.jsx)("button",{type:"submit",disabled:r||!n,className:"h-12 rounded-xl bg-[var(--learning-accent)] px-6 text-[15px] font-semibold text-white disabled:opacity-40",children:"Save"})]}):(0,t.jsxs)("form",{className:"flex gap-3",onSubmit:e=>{e.preventDefault();let t=n.trim();t&&s(t)},children:[(0,t.jsx)("input",{type:"text",required:!0,maxLength:e.maxLength,disabled:r,value:n,onChange:e=>a(e.target.value),placeholder:"Type your answerâ¦",autoFocus:!0,className:"h-12 flex-1 rounded-xl border border-[var(--learning-border)] px-4 text-[15px] text-[var(--learning-text)] focus:border-[var(--learning-accent)] focus:outline-none"}),(0,t.jsx)("button",{type:"submit",disabled:r||!n.trim(),className:"h-12 rounded-xl bg-[var(--learning-accent)] px-6 text-[15px] font-semibold text-white disabled:opacity-40",children:"Save"})]})}e.s(["ProfilePromptPopup",0,function({initialQuestion:e,initialProgress:l,endpoint:p="/learning/api/profile-questions/answer"}){let[f,x]=(0,r.useState)(e),[m,h]=(0,r.useState)(!1),[g,b]=(0,r.useState)("answering"),[v,y]=(0,r.useState)(""),[w,j]=(0,r.useState)(null),[N,k]=(0,r.useState)(!1),[C,S]=(0,r.useState)(!1);async function E(e){if(!f||"saving"===g)return;b("saving"),j(null);let t=!1;try{let r=await fetch(p,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({questionId:f.id,answer:e})});if(!(t=r.ok)){let e=await r.json().catch(()=>({}));"string"==typeof e.message&&j(e.message)}}catch{t=!1}if(!t){k(!0),b("error");return}b("done"),setTimeout(()=>h(!1),900)}if((0,r.useEffect)(()=>S(!0),[]),(0,r.useEffect)(()=>{if(!f)return;let e=setTimeout(()=>h(!0),400);return()=>clearTimeout(e)},[f]),(0,r.useEffect)(()=>{if(!m)return;let e=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=e}},[m]),!f||!C)return null;let R="promotion"===f.kind;return(0,n.createPortal)((0,t.jsx)(a.AnimatePresence,{onExitComplete:()=>x(null),children:m&&(0,t.jsx)(s.motion.div,{role:"dialog","aria-modal":"true","aria-label":f.prompt,initial:{opacity:0}
1,animate:{opacity:1},exit:{opacity:0},className:"fixed inset-0 z-50 flex items-center justify-center bg-black/60 p-4",children:(0,t.jsxs)(s.motion.div,{initial:{opacity:0,y:12,scale:.95},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:8,scale:.97},transition:{type:"spring",stiffness:380,damping:32},className:"relative w-full max-w-lg overflow-hidden rounded-3xl border border-[var(--learning-border)] bg-white shadow-[0_30px_70px_-15px_rgba(17,24,39,0.35)] dark:bg-slate-900",children:[(0,t.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute -top-14 -right-14 h-48 w-48 rounded-full bg-[var(--learning-accent)]/15 blur-3xl"}),"done"===g?(0,t.jsxs)("div",{className:"relative flex flex-col items-center gap-2 px-8 py-14 text-center",children:[(0,t.jsx)("span",{className:"font-[var(--font-learning-script),cursive] text-[40px] text-[var(--learning-accent)]",children:"Thanks!"}),(0,t.jsx)("p",{className:"text-[15px] text-[var(--learning-muted)]",children:R?"Enjoy!":"Your profile's a little more you now."})]}):R?(0,t.jsx)(c,{question:f,disabled:"saving"===g,onSubmit:E,error:"error"===g,saving:"saving"===g}):(0,t.jsxs)("div",{className:"relative flex flex-col gap-6 p-8 sm:p-10",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3",children:[(0,t.jsx)("span",{className:"flex h-11 w-11 shrink-0 items-center justify-center rounded-full bg-[var(--learning-accent)]/10 text-[var(--learning-accent)]",children:(0,t.jsx)(i.Sparkles,{className:"h-5 w-5"})}),l&&l.total>0&&(0,t.jsx)("div",{className:"flex gap-1.5","aria-label":`${l.answered} of ${l.total} profile details added`,children:Array.from({length:l.total}).map((e,r)=>(0,t.jsx)("span",{className:(0,o.cn)("h-2 w-2 rounded-full",r<l.answered?"bg-[var(--learning-accent)]":"bg-[var(--learning-border)]")},r))})]}),(0,t.jsx)("p",{className:"font-[var(--font-learning-heading),ui-sans-serif,sans-serif] text-[24px] leading-snug font-semibold text-[var(--learning-navy)] sm:text-[28px]",children:f.prompt}),f.currentValue&&!N?(0,t.jsx)(d,{value:f.currentValue,disabled:"saving"===g,onKeep:()=>E(f.currentValue),onChange:()=>{k(!0),y("")}}):(0,t.jsx)(u,{question:f,disabled:"saving"===g,textDraft:v,onTextDraft:y,onSubmit:E}),"error"===g&&(0,t.jsx)("p",{className:"text-[13px] font-medium text-[var(--learning-error)]",children:w??"Could not save that â check your connection and try again."}),"saving"===g&&(0,t.jsx)("p",{className:"text-[13px] text-[var(--learning-muted)]",children:"Savingâ¦"})]})]})})}),document.body)}])},277632,462642,e=>{"use strict";let t={1:"1 star is the lowest rating there is â tell us exactly what went wrong and what needs to improve.",2:"2 stars tells us something went wrong. What was it, and what would have made it better?",3:"3 stars means it was okay but not good. What held it back, and what should we improve?"};function r(e,r){if(!Number.isInteger(e)||e<1||e>3)return null;let n=(r??"").trim().length,a=15-n;if(a<=0)return{done:!0,text:"Thanks â that's specific enough to act on."};let s=0===n?"":` ${a} more character${1===a?"":"s"}.`;return{done:!1,text:`${t[e]}${s}`}}e.s(["lowRatingNeedsReason",0,function(e,t){return e>=1&&e<=3&&(t??"").trim().length<15},"lowRatingPrompt",0,r],277632);var n=e.i(843476),a=e.i(647163);e.s(["LowRatingNotice",0,function({stars:e,feedback:t,className:s}){let i=r(e,t);return i?(0,n.jsx)("p",{role:"status","aria-live":"polite",className:(0,a.cn)("rounded-lg border p-2 text-left text-[13px] transition-colors",i.done?"border-green-300 bg-green-50 text-green-800 dark:bg-green-900/20 dark:text-green-200":"border-amber-300 bg-amber-50 text-amber-900 dark:bg-amber-900/20 dark:text-amber-200",s),children:i.text}):null}],462642)},819982,e=>{"use strict";e.s(["RATING_EMPTY_CLASS",0,"text-slate-300 dark:text-slate-600","RATING_EMPTY_COLOR",0,"#CBD5E1","ratingColor",0,function(e){return e>=4?"#16A34A":e>=2.7?"#EAB308":"#DC2626"}])},884255,e=>{"use strict";var t=e.i(618566);let r="lms-nav-prev";e.s(["NAV_CUR_KEY",0,"lms-nav-cur","NAV_PREV_KEY",0,r,"useSmartBack",0,function(e){let n=(0,t.useRouter)();return function(t){if(window.history.length<=1)return;let a=null;try{a=window.sessionStorage.getItem(r)}catch{return}(function(e,t){if(!e)return!1;let r=new URL(e,"http://x"),n=new URL(t,"http://x");if(r.pathname.replace(/\/$/,"")!==n.pathname.replace(/\/$/,""))return!1;for(let[e,t]of n.searchParams)if(r.searchParams.get(e)!==t)return!1;return!0})(a,e)&&(t.preventDefault(),n.back())}}])},207670,e=>{"use strict";function t(){for(var e,t,r=0,n="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=function e(t){var r,n,a="";if("string"==typeof t||"number"==typeof t)a+=t;else if("object"==typeof t)if(Array.isArray(t)){var s=t.length;for(r=0;r<s;
1r++)t[r]&&(n=e(t[r]))&&(a&&(a+=" "),a+=n)}else for(n in t)t[n]&&(a&&(a+=" "),a+=n);return a}(e))&&(n&&(n+=" "),n+=t);return n}e.s(["clsx",0,t,"default",0,t])},88653,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(231178),a=e.i(882323),s=e.i(674008),i=e.i(821476),l=e.i(628553),o=r,c=e.i(737806);function d(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}class u extends o.Component{getSnapshotBeforeUpdate(e){let t=this.props.childRef.current;if((0,l.isHTMLElement)(t)&&e.isPresent&&!this.props.isPresent&&!1!==this.props.pop){let e=t.offsetParent,r=(0,l.isHTMLElement)(e)&&e.offsetWidth||0,n=(0,l.isHTMLElement)(e)&&e.offsetHeight||0,a=getComputedStyle(t),s=this.props.sizeRef.current;s.height=parseFloat(a.height),s.width=parseFloat(a.width),s.top=t.offsetTop,s.left=t.offsetLeft,s.right=r-s.width-s.left,s.bottom=n-s.height-s.top,s.direction=a.direction}return null}componentDidUpdate(){}render(){return this.props.children}}function p({children:e,isPresent:n,anchorX:a,anchorY:s,root:i,pop:l}){let f=(0,o.useId)(),x=(0,o.useRef)(null),m=(0,o.useRef)({width:0,height:0,top:0,left:0,right:0,bottom:0,direction:"ltr"}),{nonce:h}=(0,o.useContext)(c.MotionConfigContext),g=function(...e){return r.useCallback(function(...e){return t=>{let r=!1,n=e.map(e=>{let n=d(e,t);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let t=0;t<n.length;t++){let r=n[t];"function"==typeof r?r():d(e[t],null)}}}}(...e),e)}(x,!1!==l?e.props?.ref??e?.ref:void 0);return(0,o.useInsertionEffect)(()=>{let{width:e,height:t,top:r,left:o,right:c,bottom:d,direction:u}=m.current;if(n||!1===l||!x.current||!e||!t)return;let p="rtl"===u,g="left"===a?p?`right: ${c}`:`left: ${o}`:p?`left: ${o}`:`right: ${c}`,b="bottom"===s?`bottom: ${d}`:`top: ${r}`;x.current.dataset.motionPopId=f;let v=document.createElement("style");h&&(v.nonce=h);let y=i??document.head;return y.appendChild(v),v.sheet&&v.sheet.insertRule(` 2 [data-motion-pop-id="${f}"] { 3 position: absolute !important; 4 width: ${e}px !important; 5 height: ${t}px !important; 6 ${g}px !important; 7 ${b}px !important; 8 } 9 `),()=>{x.current?.removeAttribute("data-motion-pop-id"),y.contains(v)&&y.removeChild(v)}},[n]),(0,t.jsx)(u,{isPresent:n,childRef:x,sizeRef:m,pop:l,children:!1===l?e:o.cloneElement(e,{ref:g})})}let f=({children:e,initial:n,isPresent:l,onExitComplete:o,custom:c,presenceAffectsLayout:d,mode:u,anchorX:f,anchorY:m,root:h})=>{let g=(0,a.useConstant)(x),b=(0,r.useId)(),v=(0,r.useRef)(l),y=(0,r.useRef)(o);(0,s.useIsomorphicLayoutEffect)(()=>{v.current=l,y.current=o});let w=!0,j=(0,r.useMemo)(()=>(w=!1,{id:b,initial:n,isPresent:l,custom:c,onExitComplete:e=>{for(let t of(g.set(e,!0),g.values()))if(!t)return;o&&o()},register:e=>(g.set(e,!1),()=>{g.delete(e),v.current||g.size||y.current?.()})}),[l,g,o]);return d&&w&&(j={...j}),(0,r.useMemo)(()=>{g.forEach((e,t)=>g.set(t,!1))},[l]),r.useEffect(()=>{l||g.size||!o||o()},[l]),e=(0,t.jsx)(p,{pop:"popLayout"===u,isPresent:l,anchorX:f,anchorY:m,root:h,children:e}),(0,t.jsx)(i.PresenceContext.Provider,{value:j,children:e})};function x(){return new Map}var m=e.i(464978);let h=e=>e.key||"";function g(e){let t=[];return r.Children.forEach(e,e=>{(0,r.isValidElement)(e)&&t.push(e)}),t}e.s(["AnimatePresence",0,({children:e,custom:i,initial:l=!0,onExitComplete:o,presenceAffectsLayout:c=!0,mode:d="sync",propagate:u=!1,anchorX:p="left",anchorY:x="top",root:b})=>{let[v,y]=(0,m.usePresence)(u),w=(0,r.useMemo)(()=>g(e),[e]),j=u&&!v?[]:w.map(h),N=(0,r.useRef)(!0),k=(0,r.useRef)(w),C=(0,a.useConstant)(()=>new Map),S=(0,r.useRef)(new Set),[E,R]=(0,r.useState)(w),[L,P]=(0,r.useState)(w);(0,s.useIsomorphicLayoutEffect)(()=>{N.current=!1,k.current=w;for(let e=0;e<L.length;e++){let t=h(L[e]);j.includes(t)?(C.delete(t),S.current.delete(t)):!0!==C.get(t)&&C.set(t,!1)}},[L,j.length,j.join("-")]);let A=[];if(w!==E){let e=[...w];for(let t=0;t<L.length;t++){let r=L[t],n=h(r);j.includes(n)||(e.splice(t,0,r),A.push(r))}return"wait"===d&&A.length&&(e=A),P(g(e)),R(w),null}let{forceRender:T}=(0,r.useContext)(n.LayoutGroupContext);return(0,t.jsx)(t.Fragment,{children:L.map(e=>{let r=h(e),n=(!u||!!v)&&(w===L||j.includes(r));return(0,t.jsx)(f,{isPresent:n,initial:(!N.current||!!l)&&void 0,custom:i,presenceAffectsLayout:c,mode:d,root:b,onExitComplete:n?void 0:()=>
9{if(S.current.has(r)||!C.has(r))return;S.current.add(r),C.set(r,!0);let e=!0;C.forEach(t=>{t||(e=!1)}),e&&(T?.(),P(k.current),u&&y?.(),o&&o())},anchorX:p,anchorY:x,children:e},r)})})}],88653)},475254,e=>{"use strict";var t=e.i(271645);let r=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim(),n=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)};var a={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let s=(0,t.forwardRef)(({color:e="currentColor",size:n=24,strokeWidth:s=2,absoluteStrokeWidth:i,className:l="",children:o,iconNode:c,...d},u)=>(0,t.createElement)("svg",{ref:u,...a,width:n,height:n,stroke:e,strokeWidth:i?24*Number(s)/Number(n):s,className:r("lucide",l),...!o&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0;return!1})(d)&&{"aria-hidden":"true"},...d},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(o)?o:[o]]));e.s(["default",0,(e,a)=>{let i=(0,t.forwardRef)(({className:i,...l},o)=>(0,t.createElement)(s,{ref:o,iconNode:a,className:r(`lucide-${n(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,i),...l}));return i.displayName=n(e),i}],475254)},270756,e=>{"use strict";let t=(0,e.i(475254).default)("lock",[["rect",{width:"18",height:"11",x:"3",y:"11",rx:"2",ry:"2",key:"1w4ew1"}],["path",{d:"M7 11V7a5 5 0 0 1 10 0v4",key:"fwvmzm"}]]);e.s(["Lock",0,t],270756)},931091,e=>{"use strict";let t=(0,e.i(475254).default)("megaphone",[["path",{d:"M11 6a13 13 0 0 0 8.4-2.8A1 1 0 0 1 21 4v12a1 1 0 0 1-1.6.8A13 13 0 0 0 11 14H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2z",key:"q8bfy3"}],["path",{d:"M6 14a12 12 0 0 0 2.4 7.2 2 2 0 0 0 3.2-2.4A8 8 0 0 1 10 14",key:"1853fq"}],["path",{d:"M8 6v8",key:"15ugcq"}]]);e.s(["Megaphone",0,t],931091)},283086,e=>{"use strict";let t=(0,e.i(475254).default)("sparkles",[["path",{d:"M11.017 2.814a1 1 0 0 1 1.966 0l1.051 5.558a2 2 0 0 0 1.594 1.594l5.558 1.051a1 1 0 0 1 0 1.966l-5.558 1.051a2 2 0 0 0-1.594 1.594l-1.051 5.558a1 1 0 0 1-1.966 0l-1.051-5.558a2 2 0 0 0-1.594-1.594l-5.558-1.051a1 1 0 0 1 0-1.966l5.558-1.051a2 2 0 0 0 1.594-1.594z",key:"1s2grr"}],["path",{d:"M20 2v4",key:"1rf3ol"}
9],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]]);e.s(["Sparkles",0,t],283086)},870273,e=>{"use strict";let t=(0,e.i(475254).default)("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]);e.s(["Star",0,t],870273)},37727,e=>{"use strict";let t=(0,e.i(475254).default)("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]);e.s(["X",0,t],37727)},618566,(e,t,r)=>{t.exports=e.r(976562)}]);
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.