1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8782],{42488:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Activity",[["path",{d:"M22 12h-2.48a2 2 0 0 0-1.93 1.46l-2.35 8.36a.25.25 0 0 1-.48 0L9.24 2.18a.25.25 0 0 0-.48 0l-2.35 8.36A2 2 0 0 1 4.49 12H2",key:"169zse"}]])},28842:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ArrowUpDown",[["path",{d:"m21 16-4 4-4-4",key:"f6ql7i"}],["path",{d:"M17 20V4",key:"1ejh1v"}],["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}]])},92451:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]])},75368:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]])},99388:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("CircleX",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]])},91723:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Clock",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["polyline",{points:"12 6 12 12 16 14",key:"68esgv"}]])},78867:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},87769:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("EyeOff",[["path",{d:"M9.88 9.88a3 3 0 1 0 4.24 4.24",key:"1jxqfv"}],["path",{d:"M10.73 5.08A10.43 10.43 0 0 1 12 5c7 0 10 7 10 7a13.16 13.16 0 0 1-1.67 2.68",key:"9wicm4"}],["path",{d:"M6.61 6.61A13.526 13.526 0 0 0 2 12s3 7 10 7a9.74 9.74 0 0 0 5.39-1.61",key:"1jreej"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},42208:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Eye",[["path",{d:"M2 12s3-7 10-7 10 7 10 7-3 7-10 7-10-7-10-7Z",key:"rwhkz3"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},71947:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("FileCode",[["path",{d:"M10 12.5 8 15l2 2.5",key:"1tg20x"}],["path",{d:"m14 12.5 2 2.5-2 2.5",key:"yinavb"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7z",key:"1mlx9k"}]])},48736:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("FileText",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]])},55900:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("GraduationCap",[["path",{d:"M21.42 10.922a1 1 0 0 0-.019-1.838L12.83 5.18a2 2 0 0 0-1.66 0L2.6 9.08a1 1 0 0 0 0 1.832l8.57 3.908a2 2 0 0 0 1.66 0z",key:"j76jl0"}],["path",{d:"M22 10v6",key:"1lu8f3"}],["path",{d:"M6 12.5V16a6 3 0 0 0 12 0v-3.5",key:"1r8lef"}]])},41905:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("GripVertical",[["circle",{cx:"9",cy:"12",r:"1",key:"1vctgf"}],["circle",{cx:"9",cy:"5",r:"1",key:"hp0tcf"}],["circle",{cx:"9",cy:"19",r:"1",key:"fkjjf6"}],["circle",{cx:"15",cy:"12",r:"1",key:"1tmaij"}],["circle",{cx:"15",cy:"5",r:"1",key:"19l28e"}],["circle",{cx:"15",cy:"19",r:"1",key:"f4zoj3"}]])},50733:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("ImageUp",[["path",{d:"M10.3 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10l-3.1-3.1a2 2 0 0 0-2.814.014L6 21",key:"9csbqa"}],["path",{d:"m14 19.5 3-3 3 3",key:"9vmjn0"}],["path",{d:"M17 22v-5.5",key:"1aa6fl"}],["circle",{cx:"9",cy:"9",r:"2",key:"af1f0g"}]])},54001:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Key",[["circle",{cx:"7.5",cy:"15.5",r:"5.5",key:"yqb3hr"}],["path",{d:"m21 2-9.6 9.6",key:"1j0ho8"}],["path",{d:"m15.5 7.5 3 3L22 7l-3-3",key:"1rn1fs"}]])},53470:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Link2Off",[["path",{d:"M9 17H7A5 5 0 0 1 7 7",key:"10o201"}],["path",{d:"M15 7h2a5 5 0 0 1 4 8",key:"1d3206"}],["line",{x1:"8",x2:"12",y1:"12",y2:"12",key:"rvw6j4"}],["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}]])},66337:function(e,t,n){n.d(t,{Z:function(){return r}});
1let r=(0,n(79205).Z)("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"}]])},99897:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]])},69076:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("RotateCcw",[["path",{d:"M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8",key:"1357e3"}],["path",{d:"M3 3v5h5",key:"1xhq8a"}]])},73247:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},98728:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Settings",[["path",{d:"M12.22 2h-.44a2 2 0 0 0-2 2v.18a2 2 0 0 1-1 1.73l-.43.25a2 2 0 0 1-2 0l-.15-.08a2 2 0 0 0-2.73.73l-.22.38a2 2 0 0 0 .73 2.73l.15.1a2 2 0 0 1 1 1.72v.51a2 2 0 0 1-1 1.74l-.15.09a2 2 0 0 0-.73 2.73l.22.38a2 2 0 0 0 2.73.73l.15-.08a2 2 0 0 1 2 0l.43.25a2 2 0 0 1 1 1.73V20a2 2 0 0 0 2 2h.44a2 2 0 0 0 2-2v-.18a2 2 0 0 1 1-1.73l.43-.25a2 2 0 0 1 2 0l.15.08a2 2 0 0 0 2.73-.73l.22-.39a2 2 0 0 0-.73-2.73l-.15-.08a2 2 0 0 1-1-1.74v-.5a2 2 0 0 1 1-1.74l.15-.09a2 2 0 0 0 .73-2.73l-.22-.38a2 2 0 0 0-2.73-.73l-.15.08a2 2 0 0 1-2 0l-.43-.25a2 2 0 0 1-1-1.73V4a2 2 0 0 0-2-2z",key:"1qme2f"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]])},80221:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Terminal",[["polyline",{points:"4 17 10 11 4 5",key:"akl6gq"}],["line",{x1:"12",x2:"20",y1:"19",y2:"19",key:"q2wloq"}]])},18930:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]])},49724:function(e,t,n){n.d(t,{Z:function(){return r}});let r=(0,n(79205).Z)("UsersRound",[["path",{d:"M18 21a8 8 0 0 0-16 0",key:"3ypg7q"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"M22 20c0-3.37-2-6.5-4-8a5 5 0 0 0-.45-8.3",key:"10s06x"}]])},60850:function(e,t,n){n.d(t,{CZ:function(){return i},R2:function(){return a},T9:function(){return o},fk:function(){return c},mK:function(){return l}}),n(83079);var r=n(12119),i=(0,r.$)("489a0c9551b931e08d89f7f5f5c892c7b23fefff"),a=(0,r.$)("2a95e2f3f90e7fed938e495986951730a05744b5"),c=(0,r.$)("b4d076709ab489b493a50d11e39e0979ff1959b6"),o=(0,r.$)("b9f327ac565182d2647700118e1b3771a61f0997"),l=(0,r.$)("0fc61a8119cacee671e8cde298a46648317d4bef")},48313:function(e,t,n){n.d(t,{Z:function(){return a}});var r=n(2265),i=n(54887);function a(e){let{children:t}=e,[n,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>(a(!0),()=>a(!1)),[]),n?(0,i.createPortal)(t,document.body):null}},39561:function(e,t,n){n.d(t,{g:function(){return a}});var r=n(2265),i=n(9244);function a(){let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{t((0,i.I)())},[]),e}},80726:function(e,t,n){n.d(t,{C3:function(){return i},fD:function(){return o},hI:function(){return c},mC:function(){return r},nh:function(){return a},nr:function(){return l}});let r="naemo_native_shell",i="naemo_oauth_client",a="ios",c="https://naemo.ai?from=ios";function o(){return"/?client=".concat(a)}function l(e,t,n){return"".concat(e,"=").concat(t,"; Path=/; Max-Age=7200; SameSite=None").concat(n?"; Secure":"")}},46954:function(e,t,n){n.d(t,{R:function(){return a}});var r=n(9244),i=n(80726);async function a(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:i.hI;if((0,r.c)()){let{Browser:t}=await n.e(9090).then(n.bind(n,49090));await t.open({url:e});return}window.open(e,"_blank","noopener,noreferrer")}},16338:function(e,t,n){n.d(t,{o:function(){return o}});var r=n(3011),i=n(89134),a=n(83008);let c=null,o=(0,r.U)()((0,i.tJ)((e,t)=>({title:"ì²´í¬ë¦¬ì¤í¸",items:[],isLoaded:!1,isLoading:!1,syncWithDB:async e=>{var n;if((null==e?void 0:null===(n=e.user)||void 0===n?void 0:n.id)&&"teacher-1"!==e.user.id){if(!t().isLoaded){console.warn("[checklist] ìë²ìì ìì§ ë¶ë¬ì¤ì§ ëª»í´ ì ì¥ì ë³´ë¥í©ëë¤.");return}c&&clearTimeout(c),c=setTimeout(async()=>{c=null;let{title:n,items:r}=t();try{await (0,a.X)("saveChecklist",{title:n,items:r},e)}catch(e){console.error("Failed to sync checklist with DB:",e)}},700)}},flushSync:async e=>{var n;if(!(null==e?void 0:null===(n=e.user)||void 0===n?void 0:n.id)||"teacher-1"===e.user.id||!t().isLoaded||!c)return;clearTimeout(c),c=null;let{title:r,items:i}=t();try{await (0,a.X)("saveChecklist",{title:r,items:i},e)}catch(e){console.error("Failed to flush checklist to DB:",e)}},loadFromDB:async n=>{if(n&&"teacher-1"!==n.user.id&&!t().isLoading&&!t().isLoaded){e({isLoading:!0});try{let t=await (0,a.X)("getChecklist",{},n);t.success?t.data?e({title:t.data.title||"ì²´í¬ë¦¬ì¤í¸",items:t.data.items||[],isLoaded:!0,isLoading:!1}):e({isLoaded:!0,isLoading:!1}):(console.warn("[checklist] load failed, keeping local data:",t.message||t.error),e({isLoading:!1}))}catch(t){console.error("Failed to load checklist from DB:",t),e({isLoading:!1})}}},setTitle:(n,r)=>{e({title:n}),t().syncWithDB(r)},addItem:function(n){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",i=crypto.randomUUID();return e(e=>({items:[...e.items,{id:i,text:r,checked:!1}
1]})),t().syncWithDB(n),i},updateItem:(n,r,i)=>{e(e=>({items:e.items.map(e=>e.id===n?{...e,text:r}:e)})),t().syncWithDB(i)},toggleItem:(n,r)=>{e(e=>({items:e.items.map(e=>e.id===n?{...e,checked:!e.checked}:e)})),t().syncWithDB(r)},deleteItem:(n,r)=>{e(e=>({items:e.items.filter(e=>e.id!==n)})),t().syncWithDB(r)},reorderItems:(n,r)=>{e({items:n}),t().syncWithDB(r)},clearItems:()=>{c&&(clearTimeout(c),c=null),e({items:[],isLoaded:!1,isLoading:!1})}}),{name:"checklist-storage-v1",partialize:e=>({title:e.title,items:e.items})}))},86267:function(e,t,n){n.d(t,{X:function(){return c}});var r=n(3011),i=n(89134),a=n(83008);let c=(0,r.U)()((0,i.tJ)((e,t)=>({linkedNotes:[],targetNoteId:null,isLoaded:!1,syncWithDB:async()=>{if(!t().isLoaded){console.warn("[workNoteShortcut] ìë²ìì ìì§ ë¶ë¬ì¤ì§ ëª»í´ ì ì¥ì ë³´ë¥í©ëë¤.");return}let{linkedNotes:e}=t();try{await (0,a.X)("saveWorkNoteShortcut",{linkedNotes:e},{user:{id:"",name:"",role:""}})}catch(e){console.error("Failed to sync work note shortcuts with DB:",e)}},loadFromDB:async()=>{try{let i=await (0,a.X)("getWorkNoteShortcut",{},{user:{id:"",name:"",role:""}});if(i.success){var n,r;e({linkedNotes:null!==(r=null===(n=i.data)||void 0===n?void 0:n.linkedNotes)&&void 0!==r?r:t().linkedNotes,isLoaded:!0})}else console.warn("[workNoteShortcut] ë¶ë¬ì¤ê¸° ì¤í¨, ì´ ê¸°ê¸° ë°ì´í°ë¥¼ ì ì§í©ëë¤.")}catch(e){console.error("Failed to load work note shortcuts from DB:",e)}},addLinkedNote:(n,r)=>{e(e=>e.linkedNotes.some(e=>e.id===n)?e:{linkedNotes:[...e.linkedNotes,{id:n,title:r}]}),t().syncWithDB()},removeLinkedNote:n=>{e(e=>({linkedNotes:e.linkedNotes.filter(e=>e.id!==n)})),t().syncWithDB()},setTargetNoteId:t=>e({targetNoteId:t}),clearTargetNoteId:()=>e({targetNoteId:null}),clear:()=>e({linkedNotes:[],targetNoteId:null,isLoaded:!1})}),{name:"work-note-shortcut-v2",partialize:e=>({linkedNotes:e.linkedNotes})}))},89134:function(e,t,n){n.d(t,{tJ:function(){return i}});let r=e=>t=>{try{let n=e(t);if(n instanceof Promise)return n;return{then:e=>r(e)(n),catch(e){return this}}}catch(e){return{then(e){return this},catch:t=>r(t)(e)}}},i=(e,t)=>(n,i,a)=>{let c,o={storage:function(e,t){let n;try{n=e()}catch(e){return}return{getItem:e=>{var t;let r=e=>null===e?null:JSON.parse(e,void 0),i=null!=(t=n.getItem(e))?t:null;return i instanceof Promise?i.then(r):r(i)},setItem:(e,t)=>n.setItem(e,JSON.stringify(t,void 0)),removeItem:e=>n.removeItem(e)}}(()=>window.localStorage),partialize:e=>e,version:0,merge:(e,t)=>({...t,...e}),...t},l=!1,u=0,d=new Set,s=new Set,f=o.storage;if(!f)return e((...e)=>{console.warn(`[zustand persist middleware] Unable to update item '${o.name}', the given storage is currently unavailable.`),n(...e)},i,a);let y=()=>{let e=o.partialize({...i()});return f.setItem(o.name,{state:e,version:o.version})},h=a.setState;a.setState=(e,t)=>(h(e,t),y());let k=e((...e)=>(n(...e),y()),i,a);a.getInitialState=()=>k;let m=()=>{var e,t;if(!f)return;let a=++u;l=!1,d.forEach(e=>{var t;return e(null!=(t=i())?t:k)});let h=(null==(t=o.onRehydrateStorage)?void 0:t.call(o,null!=(e=i())?e:k))||void 0;return r(f.getItem.bind(f))(o.name).then(e=>{if(e){if("number"!=typeof e.version||e.version===o.version)return[!1,e.state];if(o.migrate){let t=o.migrate(e.state,e.version);return t instanceof Promise?t.then(e=>[!0,e]):[!0,t]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}return[!1,void 0]}).then(e=>{var t;if(a!==u)return;let[r,l]=e;if(n(c=o.merge(l,null!=(t=i())?t:k),!0),r)return y()}).then(()=>{a===u&&(null==h||h(c,void 0),c=i(),l=!0,s.forEach(e=>e(c)))}).catch(e=>{a===u&&(null==h||h(void 0,e))})};return a.persist={setOptions:e=>{o={...o,...e},e.storage&&(f=e.storage)},clearStorage:()=>{null==f||f.removeItem(o.name)},getOptions:()=>o,rehydrate:()=>m(),hasHydrated:()=>l,onHydrate:e=>(d.add(e),()=>{d.delete(e)}),onFinishHydration:e=>(s.add(e),()=>{s.delete(e)})},o.skipHydration||m(),c||k}},3011:function(e,t,n){n.d(t,{U:function(){return l}});var r=n(2265);let i=e=>{let t;let n=new Set,r=(e,r)=>{let i="function"==typeof e?e(t):e;if(!Object.is(i,t)){let e=t;t=(null!=r?r:"object"!=typeof i||null===i)?i:Object.assign({}
1,t,i),n.forEach(n=>n(t,e))}},i=()=>t,a={setState:r,getState:i,getInitialState:()=>c,subscribe:e=>(n.add(e),()=>n.delete(e))},c=t=e(r,i,a);return a},a=e=>e?i(e):i,c=e=>e,o=e=>{let t=a(e),n=e=>(function(e,t=c){let n=r.useSyncExternalStore(e.subscribe,r.useCallback(()=>t(e.getState()),[e,t]),r.useCallback(()=>t(e.getInitialState()),[e,t]));return r.useDebugValue(n),n})(t,e);return Object.assign(n,t),n},l=e=>e?o(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.