PageSourceSearch

https://naemo.ai/_next/static/chunks/1487.6cdbe5dfb3c6da17.js

js naemo.ai collected 2026-09-24 14:30:37 UTC 6,811 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1487],{22135:function(e,t,n){n.d(t,{Z:function(){return s}});let s=(0,n(79205).Z)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},41487:function(e,t,n){n.r(t),n.d(t,{default:function(){return f}});var s=n(57437),i=n(2265),a=n(33145),c=n(10407),l=n(22135),r=n(40875),o=n(93448),d=n(27526),x=n(98319),m=n(86315),u=n(17829),p=n(92846),h=n(52570);let g={dashboard:"/icons/mobile/dashboard.svg","student-management":"/icons/mobile/student-management.svg","work-schedule":"/icons/mobile/work-schedule.svg",attendance:"/icons/mobile/attendance.svg","work-notes":"/icons/mobile/work-notes.svg","evaluation-record":"/icons/mobile/evaluation-record.svg","behavior-record":"/icons/mobile/behavior-record.svg",activity:"/icons/mobile/activity.svg",survey:"/icons/mobile/survey.svg",seating:"/icons/mobile/seating.svg",cleaning:"/icons/mobile/cleaning.svg","random-picker":"/icons/mobile/random-picker.svg",settings:"/icons/mobile/settings.svg",guide:"/icons/mobile/guide.svg"},v=["attendance-print","nametag"],b={dashboard:"대시보드","student-management":"학생 관리","work-schedule":"일정 관리",attendance:"출결 관리","work-notes":"업무 노트","evaluation-record":"수행\xb7세특","behavior-record":"행동특성",activity:"자율\xb7진로",survey:"설문 조사",seating:"자리 배치",cleaning:"청소 구역","random-picker":"랜덤 뽑기","attendance-print":"출결 출력",nametag:"이름표"};function f(){let{iconSize:e=26}=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=24===e?"w-7 h-7":26===e?"w-[30px] h-[30px]":"w-8 h-8",n=24===e?"w-6 h-6 object-contain":26===e?"w-[26px] h-[26px] object-contain":"w-7 h-7 object-contain",f=24===e?"w-7":26===e?"w-[30px]":"w-8",{data:k}=(0,d.kP)(),z=null==k?void 0:k.user,{showToast:j}=(0,x.p)(),{config:w,setConfig:N}=(0,m.Nv)(),y="naemo:hub:recordToolsExpanded",S="naemo:hub:classToolsExpanded",[C,Z]=(0,i.useState)(()=>{try{return"true"===sessionStorage.getItem(y)}catch(e){return!1}}),[T,E]=(0,i.useState)(()=>{try{return"true"===sessionStorage.getItem(S)}catch(e){return!1}}),D=(0,i.useCallback)(()=>{p.MU.selection(),Z(e=>{let t=!e;try{sessionStorage.setItem(y,String(t))}catch(e){}return t})},[]),U=(0,i.useCallback)(()=>{p.MU.selection(),E(e=>{let t=!e;try{sessionStorage.setItem(S,String(t))}catch(e){}return t})},[]),I=(0,i.useCallback)(e=>{window.dispatchEvent(new CustomEvent("navigate-view",{detail:e}))},[]),L=(0,i.useCallback)(()=>{p.MU.tap();let e=setTimeout(()=>{window.location.href="https://www.instagram.com/naemo.ai/"},1e3);document.addEventListener("visibilitychange",()=>{document.hidden&&clearTimeout(e)},{once:!0}),window.location.href="instagram://user?username=naemo.ai"},[]),_=i=>{let l=g[i],r=b[i]||i;return(0,s.jsxs)("button",{onClick:()=>I(i),onPointerDown:()=>(0,h.T)(i),className:(0,o.cn)("w-full flex items-center gap-3.5 px-3 py-[12px] rounded-xl text-left active-spring","active:bg-zinc-100/80 dark:active:bg-zinc-800/80"),children:[(0,s.jsx)("span",{className:(0,o.cn)(t,"flex items-center justify-center shrink-0"),children:l&&(0,s.jsx)(a.default,{src:l,alt:"",width:e,height:e,className:n,unoptimized:!0})}),(0,s.jsx)("span",{className:"flex-1 text-[15px] font-medium text-zinc-800 dark:text-zinc-200",children:r}),(0,s.jsx)(c.Z,{size:15,className:"text-zinc-400 dark:text-zinc-500 shrink-0"})]},i)},F=(e,t,n,i)=>{let a=t.filter(e=>!v.includes(e));return 0===a.length?null:(0,s.jsxs)("div",{className:"px-4 mt-1",children:[(0,s.jsxs)("button",{onClick:i,className:(0,o.cn)("w-full flex items-center gap-3.5 px-3 py-[12px] rounded-xl text-left active-spring","active:bg-zinc-100/80 dark:active:bg-zinc-800/80"),children:[(0,s.jsx)("span",{className:(0,o.cn)(f,"text-center shrink-0 flex items-center justify-center text-zinc-500 dark:text-zinc-400"),children:n?(0,s.jsx)(l.Z,{size:18}):(0,s.jsx)(r.Z,{size:18})}),(0,s.jsx)("span",{className:"flex-1 text-[15px] font-medium text-zinc-800 dark:text-zinc-200",children:e})]}),n&&(0,s.jsx)("div",{className:"space-y-[1px]",children:a.map(e=>_(e))})]})},M=(w.mobileHomeTitle||"{name}의 내모").replace("{name}",(null==z?void 0:z.name)||"선생님");return(0,s.jsx)(u.Z,{children:(0,s.jsxs)("div",{className:"flex flex-col h-full overflow-y-auto mobile-scroll-bottom bg-[#FBFBF9] dark:bg-zinc-950","data-
1pull-scroll":!0,children:[(0,s.jsx)("div",{className:"px-6 pt-[calc(env(safe-area-inset-top,0px)+20px)] pb-6",children:(0,s.jsxs)("div",{className:"flex flex-col gap-1.5",children:[(0,s.jsxs)("p",{className:"text-[11px] font-medium text-zinc-400 dark:text-zinc-500 tracking-wider uppercase",children:[new Date().toLocaleDateString("ko-KR",{year:"numeric",month:"numeric",day:"numeric",timeZone:"Asia/Seoul"})," ",new Date().toLocaleDateString("ko-KR",{weekday:"short",timeZone:"Asia/Seoul"})]}),(0,s.jsxs)("div",{className:"flex flex-col",children:[(0,s.jsx)("h2",{className:"text-[24px] font-bold text-zinc-900 dark:text-zinc-100 tracking-tight leading-tight",children:M}),(0,s.jsx)("p",{className:"text-[14px] text-zinc-500 dark:text-zinc-400 mt-1 font-medium",children:w.mobileHomeSlogan||"나만의 맞춤 교무수첩"})]})]})}),(0,s.jsx)("div",{className:"px-4 mt-1",children:(0,s.jsx)("div",{className:"space-y-[1px]",children:w.topLevelOrder.filter(e=>"settings"!==e&&!v.includes(e)).map(e=>_(e))})}),F(m.U8,w.recordToolsOrder,C,D),F(m.zN,w.classToolsOrder,T,U),(0,s.jsx)("div",{className:"mx-5 my-3 h-px bg-zinc-200/70 dark:bg-zinc-800"}),(0,s.jsx)("div",{className:"px-4",children:(0,s.jsxs)("div",{className:"space-y-[1px]",children:[(0,s.jsxs)("button",{onClick:()=>I("settings"),className:(0,o.cn)("w-full flex items-center gap-3.5 px-3 py-[12px] rounded-xl text-left active-spring","active:bg-zinc-100/80 dark:active:bg-zinc-800/80"),children:[(0,s.jsx)("span",{className:(0,o.cn)(t,"flex items-center justify-center shrink-0"),children:(0,s.jsx)(a.default,{src:"/icons/mobile/settings.svg",alt:"",width:e,height:e,className:n,unoptimized:!0})}),(0,s.jsx)("span",{className:"flex-1 text-[15px] font-medium text-zinc-800 dark:text-zinc-200",children:"설정"}),(0,s.jsx)(c.Z,{size:15,className:"text-zinc-400 dark:text-zinc-500 shrink-0"})]}),(0,s.jsxs)("button",{onClick:L,className:(0,o.cn)("w-full flex items-center gap-3.5 px-3 py-[12px] rounded-xl text-left active-spring","active:bg-zinc-100/80 dark:active:bg-zinc-800/80"),children:[(0,s.jsx)("span",{className:(0,o.cn)(t,"flex items-center justify-center shrink-0"),children:(0,s.jsx)(a.default,{src:"/icons/mobile/guide.svg",alt:"",width:e,height:e,className:n,unoptimized:!0})}),(0,s.jsx)("span",{className:"flex-1 text-[15px] font-medium text-zinc-800 dark:text-zinc-200",children:"내모 가이드"}),(0,s.jsx)(c.Z,{size:15,className:"text-zinc-400 dark:text-zinc-500 shrink-0"})]})]})})]})})}}}]);

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.