@ihabdevteam/core 0.9.7 → 0.9.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/hooks.esm.js DELETED
@@ -1,783 +0,0 @@
1
- import{useState as T,useEffect as X,createContext as Gn,useContext as Yn,useRef as Le,useCallback as q,useMemo as Se,forwardRef as Po,createElement as Ut,useLayoutEffect as Mu}from"react";import{useTranslation as kt}from"react-i18next";import{jsx as re,jsxs as je,Fragment as Gt}from"react/jsx-runtime";import{createPortal as $o}from"react-dom";function Tu({storageKey:e="fontScale",baseFont:t=20,minScale:n=.8,maxScale:o=1.4,step:r=.1,lineHeightRatio:u=1.4}={}){const i=_=>Math.max(n,Math.min(o,Number(_))),[l,c]=T(()=>{try{const _=localStorage.getItem(e),m=_?Number(_):1;return Number.isFinite(m)?m:1}catch{return 1}});X(()=>{try{localStorage.setItem(e,String(l))}catch{}},[e,l]);const f=_=>{c(typeof _=="function"?m=>i(_(m)):i(_))},h=()=>f(_=>+(_+r).toFixed(6)),p=()=>f(_=>+(_-r).toFixed(6)),s=l<o-Number.EPSILON,y=l>n+Number.EPSILON,A=Math.round(t*l),w=Math.round(A*u);return{scale:l,setScale:f,increase:h,decrease:p,canIncrease:s,canDecrease:y,fontSize:A,lineHeight:w}}const Fo=Gn(null);function Bu(e){return/max-width:\s*7[0-9][0-9]px/.test(e)}function Du(e){const t=Yn(Fo),n=u=>typeof window>"u"||!window.matchMedia?!1:window.matchMedia(u).matches,[o,r]=T(n(e));return X(()=>{if(typeof window>"u"||!window.matchMedia)return;const u=window.matchMedia(e),i=c=>r(c.matches),l=u;return l.addEventListener?l.addEventListener("change",i):l.addListener&&l.addListener(i),r(u.matches),()=>{l.removeEventListener?l.removeEventListener("change",i):l.removeListener&&l.removeListener(i)}},[e]),t&&typeof t.mobile=="boolean"&&Bu(e)?t.mobile:o}function Ho(e){const t=Le(e);return X(()=>{t.current=e}),t}function zo(e,t){const n=Ho(t);X(()=>{const o=()=>n.current();try{window.addEventListener(e,o)}catch{}return()=>{try{window.removeEventListener(e,o)}catch{}}},[e,n])}const qn=" \xB7 ",Vo=(()=>{if(typeof document>"u")return"";const e=document.title;return e.includes(qn)?e.split(qn).pop()??e:e})(),Uo=Gn(!1);function xu(e){const t=Yn(Uo);X(()=>{if(t||typeof e!="string"||!e)return;const n=document.title;return document.title=Vo?`${e}${qn}${Vo}`:e,()=>{document.title=n}},[e,t])}function vu(){const{t:e}=kt();return q(t=>{if(!t)return"";const n=new Date(t).getTime();if(Number.isNaN(n))return"";const o=Math.floor((Date.now()-n)/864e5);return o<=0?e("myHomework.relativeDay.today","\uC624\uB298"):o===1?e("myHomework.relativeDay.yesterday","\uC5B4\uC81C"):e("myHomework.relativeDay.daysAgo",{n:o})},[e])}function Ou(e){const[t,n]=T({current:"",next:"",confirm:""}),[o,r]=T(null),[u,i]=T(!1),l=Le(null);X(()=>()=>{l.current!==null&&clearTimeout(l.current)},[]);const c=q(()=>{n({current:"",next:"",confirm:""}),r(null)},[]),f=q(async()=>{if(!t.current){r({type:"error",text:"\uD604\uC7AC \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(!t.next){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uB97C \uC785\uB825\uD558\uC138\uC694."});return}if(t.next!==t.confirm){r({type:"error",text:"\uC0C8 \uBE44\uBC00\uBC88\uD638\uAC00 \uC77C\uCE58\uD558\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4."});return}i(!0);const h=e?await e(t.current,t.next):null;if(i(!1),h){r({type:"error",text:h});return}r({type:"success",text:"\uBE44\uBC00\uBC88\uD638\uAC00 \uBCC0\uACBD\uB418\uC5C8\uC2B5\uB2C8\uB2E4."}),n({current:"",next:"",confirm:""}),l.current!==null&&clearTimeout(l.current),l.current=setTimeout(()=>r(null),1500)},[t,e]);return{pw:t,setPw:n,pwMsg:o,setPwMsg:r,pwLoading:u,handleChangePw:f,reset:c}}const Ne=["\u3131","\u3132","\u3134","\u3137","\u3138","\u3139","\u3141","\u3142","\u3143","\u3145","\u3146","\u3147","\u3148","\u3149","\u314A","\u314B","\u314C","\u314D","\u314E"],st=["\u314F","\u3150","\u3151","\u3152","\u3153","\u3154","\u3155","\u3156","\u3157","\u3158","\u3159","\u315A","\u315B","\u315C","\u315D","\u315E","\u315F","\u3160","\u3161","\u3162","\u3163"],Ge=["","\u3131","\u3132","\u3133","\u3134","\u3135","\u3136","\u3137","\u3139","\u313A","\u313B","\u313C","\u313D","\u313E","\u313F","\u3140","\u3141","\u3142","\u3144","\u3145","\u3146","\u3147","\u3148","\u314A","\u314B","\u314C","\u314D","\u314E"];function de(e){if(!e)return null;const t=e.charCodeAt(0)-44032;return t<0||t>=11172?null:{cho:Math.floor(t/588),jung:Math.floor(t%588/28),jong:t%28}}function Lu(){const e=new Map;return t=>{let n=e.get(t);return n||(n=[...t].map(o=>de(o)),e.set(t,n)),n}}function wt(e,t,n=0){return String.fromCharCode(44032+(e*21+t)*28+n)}function Ru(e,t){if(!e||!t||e===t||e.length!==t.length)return"random";let n=0,o=null;for(let r=0;r<e.length;r++){const u=de(e[r]),i=de(t[r]);if(!u||!i)return"random";if(u.cho===i.cho&&u.jung===i.jung&&u.jong===i.jong)continue;n++;const l=u.cho!==i.cho,c=u.jung!==i.jung,f=u.jong!==i.jong;(l?1:0)+(c?1:0)+(f?1:0)>1?o="multi":l?o="cho":c?o="jung":o="jong"}return n!==1?"random":o==="cho"?"cho":o==="jung"?"jung":o==="jong"?"jong":"random"}const Yt={3:["\u3131","\u3145"],5:["\u3134","\u3148"],6:["\u3134","\u314E"],9:["\u3139","\u3131"],10:["\u3139","\u3141"],11:["\u3139","\u3142"],12:["\u3139","\u3145"],13:["\u3139","\u314C"],14:["\u3139","\u314D"],15:["\u3139","\u314E"],18:["\u3142","\u3145"]};Object.fromEntries(Object.entries(Yt).map(([e,t])=>[t.join(""),Ge[Number(e)]]));function Iu(e,t){if(!e||!t)return!1;for(const n of e){const o=de(n);if(o){if(Ne[o.cho]===t)return!0;if(o.jong>0){if(Ge[o.jong]===t)return!0;const r=Yt[o.jong];if(r&&r.includes(t))return!0}}}return!1}function bn(e){if(!e)return 0;let t=0;for(const n of e)de(n)&&t++;return t}function ju(e){if(!e)return!1;let t=!1;for(const n of e){const o=de(n);if(o&&(t=!0,o.jong>0))return!1}return t}function Pu(e,t){if(e.jong<=0)return!1;if(t.includes(Ge[e.jong]))return!0;const n=Yt[e.jong];return!!n&&n.some(o=>t.includes(o))}function $u(e,t,n){if(!e)return!1;const o=[...e],r=u=>{const i=de(o[u]);if(!i||t.cho&&!t.cho.includes(Ne[i.cho])||t.jung&&!t.jung.includes(st[i.jung]))return!1;if(t.jongNone){if(i.jong>0)return!1}else if(t.jong&&!Pu(i,t.jong))return!1;return!0};if(n==="head")return r(0);if(n==="tail")return r(o.length-1);if(n==="mid"){for(let u=1;u<o.length-1;u++)if(r(u))return!0;return!1}for(let u=0;u<o.length;u++)if(r(u))return!0;return!1}const Fu={cho:Ne.length,jung:st.length,jong:Ge.length};function Hu(e,t,n,o,r=1/0){if(!e||n<1)return[];const u=[...e].map(p=>de(p));if(u.some(p=>!p))return[];const i=u,l=i.length;if(n>l)return[];const c=Fu[t],f=new Set,h=[];(function p(s,y){if(y.length===n){h.push([...y]);return}for(let A=s;A<l;A++)y.push(A),p(A+1,y),y.pop()})(0,[]);for(const p of h)if((function s(y,A){if(f.size>=r)return;if(y===p.length){const m=A.map(b=>wt(b.cho,b.jung,b.jong)).join("");m!==e&&o.has(m)&&f.add(m);return}const w=p[y],_=i[w][t];for(let m=0;m<c;m++){if(m===_)continue;const b=A.slice();if(b[w]={...A[w],[t]:m},s(y+1,b),f.size>=r)return}})(0,i),f.size>=r)break;return[...f]}function zu(e,t){if(!e||!t||e.length!==t.length)return-1;let n=0;for(let o=0;o<e.length;o++){const r=de(e[o]),u=de(t[o]);if(!r||!u)return-1;r.cho!==u.cho&&n++,r.jung!==u.jung&&n++,r.jong!==u.jong&&n++}return n}const Go="word_pair_index_v2",Yo="word_pair_index_sig_v2";let qt=null;function Vu(){try{if(typeof localStorage>"u")return null;const e=localStorage.getItem(Go),t=localStorage.getItem(Yo);return!e||!t?null:{index:JSON.parse(e),sig:t}}catch{return null}}function Wt(){if(qt)return qt;const e=Vu();return e?(qt=e.index,e.sig,qt):null}function Uu(){qt=null;try{typeof localStorage<"u"&&(localStorage.removeItem(Go),localStorage.removeItem(Yo))}catch{}}const qo="word_image_existence_map_v1";let Rt=null;function Wo(){if(Rt)return Rt;try{const e=typeof localStorage<"u"?localStorage.getItem(qo):null;Rt=e?JSON.parse(e):{}}catch{Rt={}}return Rt}function Gu(e,t){return`${e}_${t??1}`}function Yu(e,t){const n=Wo(),o=Gu(e,t);return o in n?n[o]:void 0}function Ko(){const e=Wo(),t=Object.values(e);return t.length===0?null:{total:t.length,exists:t.filter(Boolean).length}}function qu(){Rt={};try{typeof localStorage<"u"&&localStorage.removeItem(qo)}catch{}}const Xo=[{id:"wordData",labelKey:"settings.cache.group.wordData.label",subKey:"settings.cache.group.wordData.sub",keys:["word_data_cache","word_data_version"]},{id:"pairIndex",labelKey:"settings.cache.group.pairIndex.label",subKey:"settings.cache.group.pairIndex.sub",keys:["word_pair_index_v2","word_pair_index_sig_v2"]},{id:"imageCache",labelKey:"settings.cache.group.imageCache.label",subKey:"settings.cache.group.imageCache.sub",keys:["word_image_existence_map_v1"]}];function Zo(e){return e.reduce((t,n)=>{try{const o=localStorage.getItem(n);return t+(o?new Blob([o]).size:0)}catch{return t}},0)}function Wu(e){return e===0?"0 B":e<1024?`${e} B`:e<1024*1024?`${(e/1024).toFixed(1)} KB`:e<1024*1024*1024?`${(e/(1024*1024)).toFixed(2)} MB`:`${(e/(1024*1024*1024)).toFixed(2)} GB`}function Ku(e){const{t}=kt(),[n,o]=T({}),[r,u]=T(null),[i,l]=T(null),[c,f]=T(null),h=q(()=>{const s={};Xo.forEach(y=>{s[y.id]=Zo([...y.keys])}),o(s),typeof navigator<"u"&&navigator.storage?.estimate&&navigator.storage.estimate().then(y=>{f({usage:y.usage??0,quota:y.quota??0})}).catch(()=>{})},[]);X(()=>{h()},[h]);const p=q(async s=>{u(s);try{s==="wordData"?(localStorage.removeItem("word_data_cache"),localStorage.removeItem("word_data_version")):s==="pairIndex"?Uu():s==="imageCache"&&qu(),h(),e?.(t("settings.cache.cleared","\uCE90\uC2DC\uAC00 \uC0AD\uC81C\uB418\uC5C8\uC2B5\uB2C8\uB2E4."))}finally{u(null)}},[h,e,t]);return{cacheSizes:n,clearingId:r,confirmCacheId:i,setConfirmCacheId:l,storageEstimate:c,refreshCacheSizes:h,handleClearCache:p}}function Xu(e){const[t,n]=T(null),[o,r]=T(null),u=q(()=>{const i=Wt();if(i){const c=Object.values(i),f=c.filter(h=>h.cho.length+h.jung.length+h.jong.length>0).length;n({matched:f,total:c.length})}else n(null);const l=Ko();r(l?{exists:l.exists,total:l.total}:null)},[]);return X(()=>{u();const i=setTimeout(u,1e3);return()=>clearTimeout(i)},[e?.length,u]),{pairStats:t,imgStats:o,setPairStats:n,setImgStats:r,refreshStats:u}}function Jo(e,t=[]){const[n,o]=T(t),[r,u]=T(null),[i,l]=T(!1),[c,f]=T(e),h=Le(i);X(()=>{h.current=i});const p=Le(null);X(()=>{if(h.current)return;const m=p.current;m!==null&&m.length===t.length&&m.every((b,k)=>b===t[k])||(p.current=t,o(t))},[t]);const s=q(m=>{u(m),l(!1),f({...m})},[]),y=q(()=>l(!0),[]),A=q(()=>l(!1),[]),w=q((m,b)=>{o(m),u(b),l(!1)},[]),_=q(m=>{o(b=>b.filter(k=>k!==m)),u(null)},[]);return{list:n,setList:o,selected:r,setSelected:u,isEditing:i,setIsEditing:l,editForm:c,setEditForm:f,openDetail:s,startEditing:y,cancelEditing:A,commitEdit:w,remove:_}}const Kt=()=>{const e=new Date;return{year:String(e.getFullYear()),month:String(e.getMonth()+1).padStart(2,"0"),day:String(e.getDate()).padStart(2,"0")}},Zu={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function Ju(e=[]){const{list:t,setList:n,selected:o,setSelected:r,isEditing:u,setIsEditing:i,editForm:l,setEditForm:c,openDetail:f,commitEdit:h}=Jo(Zu,e),{year:p,month:s,day:y}=Kt(),[A,w]=T({year:p,month:s,day:y,hour:"09",minute:"00",memo:""});return{visitHistory:t,visitForm:A,setVisitForm:w,setVisit:_=>m=>w(b=>({...b,[_]:m})),selectedVisit:o,setSelectedVisit:r,isEditingVisit:u,setIsEditingVisit:i,editVisitForm:l,setEditVisitForm:c,openVisitDetail:f,handleVisitSave:_=>{n(D=>[A,...D]);const{year:m,month:b,day:k}=Kt();w({year:m,month:b,day:k,hour:"09",minute:"00",memo:""}),_?.()},handleVisitEditSave:()=>{h(_=>_.map(m=>m===o?l:m),l)},addVisit:_=>{n(m=>[_,...m])},removeVisit:_=>{n(m=>m.filter(b=>b!==_))},revertVisitEdit:(_,m)=>{n(b=>b.map(k=>k===m?_:k)),r(b=>b===m?_:b)}}}const Qo=e=>`${e.year.padStart(4,"0")}-${e.month.padStart(2,"0")}-${e.day.padStart(2,"0")} ${e.hour.padStart(2,"0")}:${e.minute.padStart(2,"0")}`,An=e=>[...e].sort((t,n)=>{const o=Qo(t),r=Qo(n);return o<r?-1:o>r?1:0}),Qu={year:"",month:"",day:"",hour:"09",minute:"00",memo:""};function ea(e,t=[]){const n=Se(()=>An(t),[t]),{list:o,setList:r,selected:u,setSelected:i,isEditing:l,setIsEditing:c,editForm:f,setEditForm:h,openDetail:p,commitEdit:s,remove:y}=Jo(Qu,n),[A,w]=T([]),{year:_,month:m,day:b}=Kt(),[k,D]=T({year:_,month:m,day:b,hour:"09",minute:"00",memo:""}),L=F=>B=>D(v=>({...v,[F]:B})),x=F=>{r(J=>An([...J,k]));const{year:B,month:v,day:ge}=Kt();D({year:B,month:v,day:ge,hour:"09",minute:"00",memo:""}),F?.()},I=()=>{s(F=>An(F.map(B=>B===u?f:B)),f)},$=q(F=>{y(F)},[y]),U=q(F=>{e({year:F.year,month:F.month,day:F.day,hour:F.hour,minute:F.minute,memo:F.memo}),y(F)},[e,y]),P=q(F=>{r(B=>B.filter(v=>v!==F)),w(B=>[F,...B]),i(null)},[r,i]),ee=q(F=>{r(B=>An([...B,F]))},[r]),G=q(F=>{r(B=>B.filter(v=>v!==F))},[r]),W=q((F,B)=>{r(v=>v.map(ge=>ge===B?F:ge)),i(v=>v===B?F:v)},[r,i]);return{scheduleList:o,noShowList:A,addSchedule:ee,removeSchedule:G,revertScheduleEdit:W,scheduleForm:k,setScheduleForm:D,setSchedule:L,selectedSchedule:u,setSelectedSchedule:i,isEditingSchedule:l,setIsEditingSchedule:c,editScheduleForm:f,setEditScheduleForm:h,openScheduleDetail:p,handleScheduleSave:x,handleScheduleEditSave:I,handleScheduleDelete:$,handleScheduleToVisit:U,handleScheduleNoVisit:P}}const er=[{value:"10",label:"10\uAC1C\uC529 \uBCF4\uAE30"},{value:"25",label:"25\uAC1C\uC529 \uBCF4\uAE30"},{value:"50",label:"50\uAC1C\uC529 \uBCF4\uAE30"},{value:"100",label:"100\uAC1C\uC529 \uBCF4\uAE30"}];function ta(e){const[t,n]=T(""),[o,r]=T("25"),[u,i]=T("all"),[l,c]=T(1),f=Se(()=>e.filter(({item:y,status:A})=>!(t&&!y.memo.includes(t)||u!=="all"&&A!==u)),[e,t,u]),h=Math.max(1,Math.ceil(f.length/Number(o))),p=Math.min(l,h),s=Se(()=>f.slice((p-1)*Number(o),p*Number(o)),[f,p,o]);return{vapSearch:t,setVapSearch:n,vapPageSize:o,setVapPageSize:r,vapStatus:u,setVapStatus:i,vapPage:p,setVapPage:c,vapFiltered:f,vapTotal:h,vapPageItems:s}}function na(e,t){const{t:n}=kt(),[o,r]=T("25"),[u,i]=T(1),[l,c]=T(t);l!==t&&(c(t),u!==1&&i(1));const f=Se(()=>er.map(y=>({...y,label:n("visits.showN",{n:y.value})})),[n]),h=q(y=>{r(y),i(1)},[]),p=Math.max(1,Math.ceil(e.length/Number(o))),s=Math.min(u,p);return{pageRows:Se(()=>e.slice((s-1)*Number(o),s*Number(o)),[e,s,o]),pageSizeProps:{options:f,value:o,onChange:h},paginationProps:{page:s,total:p,onChange:i},setPage:i}}function oa(){const[e,t]=T(null),n=q(r=>{t(u=>u?.key===r?{key:r,asc:!u.asc}:{key:r,asc:!0})},[]),o=q((r,u)=>({label:r,sortDir:e?.key===u?e.asc?"asc":"desc":null,onClick:()=>n(u)}),[e,n]);return{\uC815\uB82C:e,\uCE78:o}}function ra(){const[e,t]=T(!1),[n,o]=T("\uC88C"),[r,u]=T({\uC88C:null,\uC6B0:null}),[i,l]=T({\uC88C:[],\uC6B0:[]}),[c,f]=T(!1),[h,p]=T("\uC88C"),s=q(A=>{const w=A.direction;u(_=>({..._,[w]:A})),l(_=>({..._,[w]:[A,..._[w]]})),t(!1)},[]),y=q(A=>{const w=A.direction;u(_=>({..._,[w]:A})),f(!1)},[]);return{showDevice:e,setShowDevice:t,deviceDirection:n,setDeviceDirection:o,devices:r,setDevices:u,deviceHistory:i,setDeviceHistory:l,showDeviceList:c,setShowDeviceList:f,listForSide:h,setListForSide:p,handleDeviceSubmit:s,handleSelectFromList:y}}const ua="__ihab_core_word_pool__";function kn(){return globalThis[ua]??null}function ie(e,t=Math.random){const n=e.slice();for(let o=n.length-1;o>0;o--){const r=Math.floor(t()*(o+1));[n[o],n[r]]=[n[r],n[o]]}return n}function dt(e,t,n=Math.random){return!Array.isArray(e)||e.length===0||t<=0?[]:t>=e.length?ie(e,n):ie(e,n).slice(0,t)}const Wn={SAME_SOUND_PICK:{difficulty:!0,choseong:!0,group:"discrimination"},SAME_OR_DIFF:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_SAME:{difficulty:!0,choseong:!0,group:"discrimination"},HEAR_AND_PICK_INCLUDED:{difficulty:!0,choseong:!0,group:"discrimination"},STARTS_WITH_SAME_SOUND:{difficulty:!1,choseong:!0,group:"discrimination"},LISTEN_AND_REMEMBER_ORDER:{difficulty:!1,choseong:!0,group:"attention"},MERGE_2_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_SYLLABLES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_2_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},MERGE_3_PHONEMES:{difficulty:!1,choseong:!0,group:"synthesis"},DROP_1_FROM_2SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_1_FROM_3SYLL:{difficulty:!1,choseong:!0,group:"deletion"},DROP_PART_FROM_COMPOUND:{difficulty:!1,choseong:!0,group:"deletion"},DROP_FINAL_CONSONANT_FROM_1SYLL:{difficulty:!1,choseong:!0,group:"deletion"},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{difficulty:!1,choseong:!0,group:"deletion"},CHANGE_1_SYLL_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_SYLL_IN_3SYLL:{difficulty:!0,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_1SYLL:{difficulty:!1,choseong:!0,group:"substitution"},CHANGE_1_PHONEME_IN_2SYLL:{difficulty:!0,choseong:!0,group:"substitution"}},aa=Ne.indexOf("\u3147"),tr={DROP_FINAL_CONSONANT_FROM_1SYLL:{syllables:1,syllable:e=>e.jong>0},REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:{syllables:1,syllable:e=>e.jong===0&&e.cho!==aa},MERGE_2_SYLLABLES:{syllables:2,syllable:()=>!0},MERGE_3_SYLLABLES:{syllables:3,syllable:()=>!0},MERGE_2_PHONEMES:{syllables:1,syllable:e=>e.jong===0},MERGE_3_PHONEMES:{syllables:1,syllable:e=>e.jong>0}},ia={\u3131:"\u3131",\u3132:"\u3131",\u314B:"\u3131",\u3133:"\u3131",\u313A:"\u3131",\u3134:"\u3134",\u3135:"\u3134",\u3136:"\u3134",\u3137:"\u3137",\u3145:"\u3137",\u3146:"\u3137",\u3148:"\u3137",\u314A:"\u3137",\u314C:"\u3137",\u314E:"\u3137",\u3139:"\u3139",\u313C:"\u3139",\u313D:"\u3139",\u313E:"\u3139",\u3140:"\u3139",\u3141:"\u3141",\u313B:"\u3141",\u3142:"\u3142",\u314D:"\u3142",\u313F:"\u3142",\u3144:"\u3142",\u3147:"\u3147"},la={\u314F:{nucleus:"\u314F"},\u3151:{glide:"j",nucleus:"\u314F"},\u3153:{nucleus:"\u3153"},\u3155:{glide:"j",nucleus:"\u3153"},\u3157:{nucleus:"\u3157"},\u315B:{glide:"j",nucleus:"\u3157"},\u315C:{nucleus:"\u315C"},\u3160:{glide:"j",nucleus:"\u315C"},\u3161:{nucleus:"\u3161"},\u3163:{nucleus:"\u3163"},\u3150:{nucleus:"\u3154/\u3150"},\u3152:{glide:"j",nucleus:"\u3154/\u3150"},\u3154:{nucleus:"\u3154/\u3150"},\u3156:{glide:"j",nucleus:"\u3154/\u3150"},\u3158:{glide:"w",nucleus:"\u314F"},\u3159:{glide:"w",nucleus:"\u3154/\u3150"},\u315A:{glide:"w",nucleus:"\u3154/\u3150"},\u315D:{glide:"w",nucleus:"\u3153"},\u315E:{glide:"w",nucleus:"\u3154/\u3150"},\u315F:{glide:"w",nucleus:"\u3163"},\u3162:{glide:"\u0270",nucleus:"\u3163"}};function nr(e){return ia[e]??e}const Kn={cho:Ne,jung:st,jong:Ge},be=e=>Array.isArray(e)?e.length>0:!!e;function Xn(e,t){if(e.length!==t.length)return!1;for(let n=0;n<e.length;n++){const o=e[n],r=t[n];if(!(!o||!r)&&(o.cho!==r.cho&&Ne[o.cho]==="\u3147"!=(Ne[r.cho]==="\u3147")||o.jong!==r.jong&&o.jong===0!=(r.jong===0)))return!0}return!1}function ca(e,t,n){const o=n.pronOf(e),r=n.decompOf,u=n.sameStructureOnly&&r?r(o):null,i=[];for(const l of t)l!==e&&(n.okSet&&!n.okSet.has(l)||n.pronOf(l)!==o&&(u&&r&&Xn(u,r(n.pronOf(l)))||i.push(l)));return i}function or(e,t,n){const o=t?.[e];if(!o)return[];const r=n.kind?o[n.kind]??[]:[...o.cho??[],...o.jung??[],...o.jong??[]];return ca(e,r,n)}function sa(e,t,n,o,r,u,i){const l=["cho","jung","jong"].filter(s=>be(e[s])),c={};for(const s of l){const y=e[s];c[s]=new Set(Array.isArray(y)?y:[y])}const f=r==="pron",h=new Map;for(const s of t){const y=n(u(s));if(y.some(m=>!m))continue;let A=y;if(!f&&(A=n(s),A.length!==y.length||A.some(m=>!m)))continue;const w=y.length,_=h.get(w);_?_.push({w:s,dPron:y,dPos:A}):h.set(w,[{w:s,dPron:y,dPos:A}])}const p=new Map;for(const[s,y]of h){const A=new Map,w=(_,m)=>{const b=_.dPos[m];return b!=null&&l.every(k=>c[k].has(Kn[k][b[k]]))};for(const _ of y){let m;if(i==="head")m=w(_,0)?0:-1;else if(i==="tail")m=w(_,s-1)?s-1:-1;else if(i==="mid"){m=-1;for(let k=1;k<s-1;k++)if(w(_,k)){m=k;break}}else m=_.dPos.findIndex(k=>k!=null&&l.every(D=>c[D].has(Kn[D][k[D]])));if(m<0)continue;const b=A.get(m);b?b.push(_):A.set(m,[_])}for(const[_,m]of A){const b=new Set(l.map(L=>_+":"+L)),k=L=>{let x="";for(let I=0;I<s;I++){const $=L[I];for(const U of["cho","jung","jong"])x+=(b.has(I+":"+U)?"*":$[U])+"."}return x},D=new Map;for(const L of y){const x=k(L.dPron),I=D.get(x);I?I.push(L):D.set(x,[L])}for(const L of m){const x=D.get(k(L.dPron))??[],I=[];for(const $ of x){if($.w===L.w)continue;let U=!0;for(const P of l){const ee=L.dPron[_][P],G=$.dPron[_][P];if(G===ee){U=!1;break}if(f&&c[P].has(Kn[P][G])){U=!1;break}}U&&(o&&Xn(L.dPron,$.dPron)||I.push($.w))}p.set(L.w,I)}}}return p}const da=e=>e==null?[]:Array.isArray(e)?e:[e];function ha(e){if([...e].length!==1)return"";const t=de(e);if(!t)return"";const n=nr(Ge[t.jong]),o=n===""?0:Ge.indexOf(n);return wt(t.cho,t.jung,o<0?0:o)}function rr(e,t){return t.get(e)||ha(e)||e}function Zn(e){return e?be(e.cho)?"cho":be(e.jung)?"jung":be(e.jong)?"jong":null:null}function It(e,t){const n=(o,r)=>!be(o)||da(o).includes(r);return n(t.cho,Ne[e.cho])&&n(t.jung,st[e.jung])&&n(t.jong,Ge[e.jong])}function Xt(e,t,n){const o=[...e];if(n!=="pron")return o.map(u=>de(u));const r=[...t.get(e)||e];return r.length!==o.length?o.map(u=>de(u)):r.map(u=>de(u))}function Zt(e,t,n,o,r){const u=t==="cho"?Ne:t==="jung"?st:Ge,i=e[t],l=[],c=new Set([rr(n,r)]),f=ie(u.map((h,p)=>p).filter(h=>h!==i&&(t!=="cho"||u[h]!=="\u3147")&&(t!=="jong"||h!==0)));for(const h of f){if(l.length>=o)break;const p=t==="cho"?wt(h,e.jung,e.jong):t==="jung"?wt(e.cho,h,e.jong):wt(e.cho,e.jung,h),s=rr(p,r);c.has(s)||(c.add(s),l.push(p))}return l}function pa(e,t,n,o,r,u=null){const i=[...e];if(i.length!==2)return null;const l=i.map(p=>de(p));if(l.some(p=>!p))return null;const c=Xt(e,n,o);if(c.some(p=>!p))return null;const f=Zn(t);let h=f&&t?c.map((p,s)=>It(p,t)?s:-1).filter(p=>p>=0):[0,1];if(u!=null&&(h=h.filter(p=>p!==u)),!h.length)return null;for(const p of ie(h)){const s=i[p];if(!r.has(s))continue;const y=Zt(l[p],f??"cho",s,40,n),A=[];for(const w of y)if(w!==s&&r.has(w)&&!A.includes(w)&&A.push(w),A.length>=2)break;if(!(A.length<2))return{question:e,distractors:[s,...A]}}return null}function fa(e,t,n,o,r,u=null){const i=[...e];if(i.length!==3)return null;const l=i.map(p=>de(p));if(l.some(p=>!p))return null;const c=Xt(e,n,o);if(c.some(p=>!p))return null;const f=Zn(t),h=f&&t?c.map((p,s)=>It(p,t)?s:-1).filter(p=>p>=0):[0,1,2];if(!h.length)return null;for(const p of ie(h))for(const s of ie([0,1,2].filter(y=>y!==p&&(u==null||y===u)))){const y=[0,1,2].filter(b=>b!==s),A=y.map(b=>i[b]).join("");if(!r.has(A))continue;const w=y.indexOf(p),_=Zt(l[p],f??"cho",i[p],40,n),m=[];for(const b of _){const k=y.map(L=>i[L]);k[w]=b;const D=k.join("");if(D!==A&&r.has(D)&&!m.includes(D)&&m.push(D),m.length>=2)break}if(!(m.length<2))return{question:e,distractors:[A,...m]}}return null}function Ca(e,t,n,o,r,u=null){const i=[...e],l=i.length;if(l<2)return null;const c=[];for(let h=1;h<=l-1;h++)c.push({remain:i.slice(0,h).join(""),dropped:i.slice(h).join(""),droppedEnd:1}),c.push({remain:i.slice(l-h).join(""),dropped:i.slice(0,l-h).join(""),droppedEnd:0});const f=Zn(t);for(const{remain:h,dropped:p,droppedEnd:s}of ie(c)){if(u!=null&&s!==u||h===e||!r.has(h)||!r.has(p))continue;const y=[...h],A=y.map(m=>de(m));if(A.some(m=>!m))continue;const w=Xt(h,n,o);if(w.some(m=>!m))continue;const _=f&&t?w.map((m,b)=>It(m,t)?b:-1).filter(m=>m>=0):y.map((m,b)=>b);if(_.length)for(const m of ie(_)){const b=Zt(A[m],f??"cho",y[m],40,n),k=[];for(const D of b){const L=[...y];L[m]=D;const x=L.join("");if(x!==h&&r.has(x)&&!k.includes(x)&&k.push(x),k.length>=2)break}if(k.length>=2)return{question:e,distractors:[h,...k]}}}return null}function ya(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=de(n.get(e)||e);if(!i||i.jong===0)return null;const l=wt(i.cho,i.jung,0),c=Zt({cho:i.cho,jung:i.jung,jong:0},"cho",l,2,n);return c.length<2?null:{question:e,distractors:[l,...c]}}const Jn=Ne.indexOf("\u3147");function ma(e,t,n,o,r,u=null){if([...e].length!==1)return null;const i=de(n.get(e)||e);if(!i||i.jong!==0||i.cho===Jn)return null;const l=wt(Jn,i.jung,0),c=Zt({cho:Jn,jung:i.jung,jong:0},"jung",l,2,n);return c.length<2?null:{question:e,distractors:[l,...c]}}function ga(e){const t=new Map;for(const n of e){const o=[...n],r=o.length;if(!(r<2||r>3))for(let u=0;u<r;u++){let i=r+"|"+u+"|";for(let c=0;c<r;c++)i+=c===u?"*":o[c];const l=t.get(i);l?l.push(n):t.set(i,[n])}}return t}function _a(e,t,n,o,r,u=null,i=null,l=2){const c=[...e],f=c.length;if(f<2||f>3)return null;const h=c.map(b=>de(b));if(h.some(b=>!b))return null;const p=Xt(e,n,o);if(p.some(b=>!b))return null;const s=b=>n.get(b)??b,y=s(e),A=!!t&&(be(t.cho)||be(t.jung)||be(t.jong)),w=!!i&&(be(i.cho)||be(i.jung)||be(i.jong)),_=b=>{let k=f+"|"+b+"|";for(let D=0;D<f;D++)k+=D===b?"*":c[D];return k};let m;if(u!=null){if(u>=f||A&&!It(p[u],t))return null;m=[u]}else A?m=p.map((b,k)=>It(b,t)?k:-1).filter(b=>b>=0):m=Array.from({length:f},(b,k)=>k);for(const b of ie(m)){const k=r.get(_(b))??[],D=[],L=[];for(const P of k){if(P===e)continue;const ee=[...P].map(B=>de(B)),G=h[b],W=ee[b];if(!G||!W)continue;let F=0;if(G.cho!==W.cho&&F++,G.jung!==W.jung&&F++,G.jong!==W.jong&&F++,!(F<l||s(P)===y))if(w){const B=Xt(P,n,o)[b];B&&It(B,i)?D.push(P):L.push(P)}else D.push(P)}if(!D.length)continue;const x=ie(D)[0],I=[],$=new Set([y,s(x)]),U=w?L:D.filter(P=>P!==x);for(const P of ie(U)){const ee=s(P);if(!$.has(ee)&&($.add(ee),I.push(P),I.length>=2))break}if(!w&&I.length<2)for(const P of ie(k)){if(P===e||P===x)continue;const ee=s(P);if(!$.has(ee)&&($.add(ee),I.push(P),I.length>=2))break}if(!(I.length<2))return{question:e,distractors:[x,...I]}}return null}let wn=null,ur=null,ar=null;function Ea(){const e=kn();if(e&&e.entries.length>0){const t=Wt();if(wn&&ur===e&&ar===t)return wn;const n=new Set,o=[];for(const r of e.entries)!r.word||n.has(r.word)||(n.add(r.word),o.push({w:r.word,s:r.syllables,p:t?.[r.word]?[...t[r.word].cho??[],...t[r.word].jung??[],...t[r.word].jong??[]]:[],pron:r.pronunciation||r.word,grade:r.grade}));return wn=o,ur=e,ar=t,wn}return[]}const Xe=new Proxy([],{get(e,t){const n=Ea(),o=n[t];return typeof o=="function"?o.bind(n):o}});function Sn(e){return e.length?e[Math.floor(Math.random()*e.length)]:void 0}function Ze(e,t){if(t>=e.length)return ie(e);if(t===0)return[];const n=e.slice();for(let o=0;o<t;o++){const r=o+Math.floor(Math.random()*(n.length-o)),u=n[o];n[o]=n[r],n[r]=u}return n.slice(0,t)}let Qn=null,ir=null;function St(){const e=kn();if(Qn&&ir===e)return Qn;const t=new Map;for(const n of Xe)n.w&&t.set(n.w,n.pron);return Qn=t,ir=e,t}function Pe(e){return St().get(e)||e}function eo(e,t,n=new Set){const o=[];for(const r of ie(e)){if(o.length>=t)break;const u=Pe(r);n.has(u)||(n.add(u),o.push(r))}return o}let ba=0;function Me(e){return`${e}-rt-${++ba}`}function Jt(e){const t=Ko();if(!t||t.total===0){const o=new Set;for(const r of e)o.add(r);return o}const n=new Set;for(const o of e)Yu(o)===!0&&n.add(o);return n}const Nn=new Map;let lr=null,cr=null;function Qt(e){return e==null?"":Array.isArray(e)?e.slice().sort().join(","):e}function sr(e){const t=Qt(e.choseong),n=e.composition,o=n?.syllable==null?"":Array.isArray(n.syllable)?n.syllable.slice().sort().join(","):String(n.syllable),r=n?`${Qt(n.cho)}/${Qt(n.jung)}/${Qt(n.jong)}/${n.jongNone?"N":""}/${o}`:"",u=Qt(e.grade);return`${e.difficulty??""}|${t}|${r}|${e.excludeNoImage?"1":"0"}|${e.count??""}|x${e.contrastCount??1}|${e.fullCount?"F":""}|s${e.sameStructureOnly===!1?"0":"1"}|v${e.phonemeView==="pron"?"p":"c"}|g${u}|t${e.targetSyllable??""}|c${e.choicesPerItem??""}`}async function $e(e){const t=kn(),n=Wt();(t!==lr||n!==cr)&&(Nn.clear(),lr=t,cr=n);const o=sr(e);return Nn.has(o)||Nn.set(o,ka(e)),Nn.get(o)}function Aa(e){if(!e)return null;const t=i=>i==null?null:Array.isArray(i)?i.length?i:null:[i],n=t(e.cho),o=t(e.jung),r=!!e.jongNone,u=r?null:t(e.jong);return n||o||u||r?r&&!n&&!o&&!u?i=>ju(i):i=>$u(i,{cho:n,jung:o,jong:u,jongNone:r}):null}async function ka(e){const{difficulty:t=null,choseong:n=null,composition:o=null,targetSyllable:r=null,excludeNoImage:u=!1}=e,i=e.grade&&e.grade.length>0?new Set(e.grade):null,l=e.sameStructureOnly??!0,c=e.phonemeView==="pron"?"pron":"char",f=Math.max(1,e.contrastCount??1),h=t==="cho"||t==="jung"||t==="jong",p=h&&f>=2,s=t==="count",y=n?new Set(Array.isArray(n)?n:[n]):null,A=o?.syllable!=null?new Set(Array.isArray(o.syllable)?o.syllable:[o.syllable]):null,w=o?[Aa(o),A?S=>A.has(bn(S)):null].filter(S=>S!=null):[],_=t==="random"||t===null,m=_||s,b=_||p||s;let k=Xe.filter(S=>!S.w||i&&(!S.grade||!i.has(S.grade))?!1:b?!0:Array.isArray(S.p)&&S.p.length>0);y&&(k=k.filter(S=>{for(const j of y)if(Iu(S.w,j))return!0;return!1})),w.length>0&&(k=k.filter(S=>{const j=c==="pron"?Pe(S.w):S.w;return w.every(le=>le(j))})),r&&(k=k.filter(S=>S.w[0]===r));let D;if(u){const S=new Set;for(const j of k)if(S.add(j.w),Array.isArray(j.p))for(const le of j.p)S.add(le);if(m)for(const j of Xe)j.w&&S.add(j.w);D=Jt(S)}else{const S=new Set;for(const j of k)if(S.add(j.w),Array.isArray(j.p))for(const le of j.p)S.add(le);if(m)for(const j of Xe)j.w&&S.add(j.w);D=S}let L=null;if(p){const S=new Set;for(const j of Xe)j.w&&S.add(j.w);L=u?Jt(S):S}const x=k.filter(S=>D.has(S.w)),I=600,$=Array.from(D),U=$.length>I?Ze($,I):$,P=s&&o!=null&&(be(o.cho)||be(o.jung)||be(o.jong)),ee=2500,G=new Map;if(s&&!P&&f>=2){for(const S of $){const j=bn(S),le=G.get(j);le?le.push(S):G.set(j,[S])}for(const[S,j]of G)j.length>ee&&G.set(S,Ze(j,ee))}const W=Lu(),F=P?sa(o,$,W,l,c,Pe):null,B=500,v=1500,ge=e.fullCount?x:t==="random"?x.length>B?Ze(x,B):x:x.length>v?Ze(x,v):x,J=Wt(),te=[];for(const S of ge){let j;const le=Pe(S.w);if(p)j=Hu(S.w,t,f,L,24).filter(oe=>Pe(oe)!==le);else if(s)P?j=(F.get(S.w)??[]).filter(oe=>Pe(oe)!==le):f<=1?j=or(S.w,J,{okSet:D,pronOf:Pe,decompOf:W,sameStructureOnly:!1}):j=(G.get(bn(S.w))??[]).filter(oe=>{if(oe===S.w||Pe(oe)===le)return!1;const Y=zu(S.w,oe);return f>=5?Y>=5:Y===f});else if(_)j=U.filter(oe=>oe!==S.w&&oe.length===S.w.length&&Pe(oe)!==le);else{const oe=t;j=or(S.w,J,{kind:oe,okSet:D,pronOf:Pe,decompOf:W,sameStructureOnly:!1}),j.length===0&&(j=(U.length>30?Ze(U,30):U).filter(Y=>Y!==S.w&&Ru(S.w,Y)===t&&Pe(Y)!==le))}if(l&&j.length>0&&(h||s&&!P)){const oe=W(Pe(S.w));j=j.filter(Y=>!Xn(oe,W(Pe(Y))))}j.length!==0&&te.push({word:S,usable:j})}return te}async function dr(e,t){const{choicesPerItem:n=3,count:o=10}=t,r=n-1,u=(await $e(t)).filter(l=>l.usable.length>=r),i=[];for(const l of ie(u)){if(i.length>=o)break;const c=eo(l.usable,r);if(c.length<r)continue;const f=ie([l.word.w,...c]);i.push({id:Me(e+"-item"),index:i.length+1,word:l.word.w,syllables:l.word.s,choices:f,answerIndex:f.indexOf(l.word.w)})}return i}async function wa(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await $e({...e,difficulty:null});if(r.length<t)return[];const u=[],i=ie([...r]);for(const l of i){if(u.length>=n)break;const c=l.word.w,f=[...l.word.pron||c],h=Sn(f);if(!h)continue;const p=r.filter(A=>A.word.w!==c&&A.word.s===l.word.s&&!(A.word.pron||A.word.w).includes(h)&&A.word.pron!==l.word.pron);if(p.length<o)continue;const s=eo(p.map(A=>A.word.w),o);if(s.length<o)continue;const y=ie([c,...s]);u.push({id:Me("HPI-item"),index:u.length+1,targetSyllable:h,word:c,choices:y,answerIndex:y.indexOf(c)})}return u}async function Sa(e){const{count:t=10}=e,n=(await $e(e)).filter(o=>o.usable.length>=1);return Array.from({length:t},(o,r)=>{const u=Sn(n);if(!u)return null;const i=r%2===0;let l;if(i)l=[u.word.w,u.word.w];else{const c=Sn(u.usable);l=Math.random()<.5?[u.word.w,c]:[c,u.word.w]}return{id:Me("SOD-item"),index:r+1,word:u.word.w,pair:l,same:i}}).filter(o=>!!o)}async function Na(e){const{choicesPerItem:t=3,count:n=10}=e,o=t-1,r=await $e({...e,difficulty:null});if(r.length<t+1)return[];const u=r.map(s=>s.word.w),i=new Map(r.map(s=>[s.word.w,s.word.pron])),l=s=>(i.get(s)||s)[0]??"",c={};for(const s of r){const y=l(s.word.w);y&&(c[y]||(c[y]=[]),c[y].push(s.word.w))}const f=Object.entries(c).filter(([,s])=>s.length>=2).map(([s])=>s);if(f.length===0)return[];const h=[],p=ie([...f]);for(let s=0;h.length<n&&s<n*4;s++){const y=p[s%p.length],A=c[y];if(A.length<2)continue;const w=ie([...A]),_=w[0],m=w[1];if(!_||!m||_===m||(i.get(_)||_)===(i.get(m)||m))continue;const b=i.get(m)||m,k=u.filter(x=>l(x)!==y&&x!==_&&x!==m&&x.length===m.length&&(i.get(x)||x)!==b);if(k.length<o)continue;const D=eo(k,o);if(D.length<o)continue;const L=ie([m,...D]);h.push({id:Me("SWS-item"),index:h.length+1,sourceWord:_,targetSyllable:y,word:m,choices:L,answerIndex:L.indexOf(m)})}return h}function hr(e,t,n){return Ze(e,t).map((o,r)=>{const u=Sn(o.usable)??"",i=[...o.word.w],l=[...u],c=i.findIndex((h,p)=>h!==l[p]),f=ie(o.usable.filter(h=>h&&h!==u)).slice(0,2);return{id:Me(n),index:r+1,word:o.word.w,original:o.word.w,changed:u,changedFrom:c>=0?i[c]:"",changedTo:c>=0?l[c]:"",distractors:f}})}async function pr(e,t,n){const{count:o=10}=t,r=St(),u=Xe.filter(y=>y.w&&y.s===e),i=t.excludeNoImage?Jt(u.map(y=>y.w)):null,l=i?u.filter(y=>i.has(y.w)):u,c=new Set(l.map(y=>y.w)),f=ga(c),h=t.phonemeView??"char",p=t.composition??null,s=[];for(const y of ie(l)){if(s.length>=o)break;const A=_a(y.w,p,r,h,f,null,null);if(!A)continue;const w=A.distractors[0],_=[...y.w],m=[...w],b=_.findIndex((k,D)=>k!==m[D]);s.push({id:Me(n),index:s.length+1,word:y.w,original:y.w,changed:w,changedFrom:b>=0?_[b]:"",changedTo:b>=0?m[b]:"",distractors:A.distractors.slice(1)})}return s}async function Ma(e){return pr(2,e,"CS2-item")}async function Ta(e){return pr(3,e,"CS3-item")}async function Ba(e){const t=(await $e({...e,difficulty:"count",contrastCount:1})).filter(n=>n.word.s===1&&n.usable.length>=1);return hr(t,e.count??10,"CP1-item")}async function Da(e){const t=e.difficulty&&e.difficulty!=="random"?e.difficulty:"count",n=(await $e({...e,difficulty:t,contrastCount:1})).filter(o=>o.word.s===2&&o.usable.length>=1);return hr(n,e.count??10,"CP2-item")}async function xa(e){const{count:t=10}=e,n=(await $e({...e})).filter(o=>o.word.s===2);return Ze(n,t).map((o,r)=>({id:Me("M2S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function va(e){const{count:t=10}=e,n=(await $e({...e})).filter(o=>o.word.s===3);return Ze(n,t).map((o,r)=>({id:Me("M3S-item"),index:r+1,word:o.word.w,answer:o.word.w,parts:[...o.word.w]}))}async function Oa(e){const{count:t=10}=e,n=(await $e({...e})).filter(l=>l.word.s===2),o=St(),r=new Set(Xe.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of ie(n)){if(i.length>=t)break;const c=pa(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[f,...h]=c.distractors,p=[...l.word.w],s=p[0]===f?p[1]:p[0];i.push({id:Me("D2-item"),index:i.length+1,original:l.word.w,word:l.word.w,dropped:s,missingResult:f,distractors:h})}return i}async function La(e){const{count:t=10}=e,n=(await $e({...e})).filter(l=>l.word.s===3),o=St(),r=new Set(Xe.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of ie(n)){if(i.length>=t)break;const c=fa(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[f,...h]=c.distractors,p=[...l.word.w];let s="";for(let y=0;y<p.length;y++)if(p.filter((A,w)=>w!==y).join("")===f){s=p[y];break}i.push({id:Me("D3-item"),index:i.length+1,original:l.word.w,word:l.word.w,dropped:s,missingResult:f,distractors:h})}return i}async function Ra(e){const{count:t=10}=e,n=(await $e({...e})).filter(l=>l.word.s>=2),o=St(),r=new Set(Xe.map(l=>l.w)),u=e.phonemeView??"char",i=[];for(const l of ie(n)){if(i.length>=t)break;const c=Ca(l.word.w,e.composition??null,o,u,r);if(!c)continue;const[f,...h]=c.distractors,p=l.word.w,s=p.startsWith(f)?p.slice(f.length):p.endsWith(f)?p.slice(0,p.length-f.length):"";i.push({id:Me("DPC-item"),index:i.length+1,original:p,word:p,dropped:s,missingResult:f,distractors:h})}return i}async function Ia(e){const{count:t=10}=e,n=(await $e({...e})).map(o=>o.word.w);return n.length<3?[]:Array.from({length:t},(o,r)=>{const u=Ze(n,3);return{id:Me("LRO-item"),index:r+1,sequence:u,choices:ie(u)}})}function Mn(e,t,n){const o=Xe.filter(i=>i.w&&i.s===e),r=t?Jt(o.map(i=>i.w)):null,u=[];for(const i of o)if(!(r&&!r.has(i.w))){if(n){const l=de(i.w);if(!l||!n(l))continue}u.push(i)}return u}function ja(e){const t=Mn(1,e.excludeNoImage??!1,n=>n.jong===0);return Ze(t,e.count??10).map((n,o)=>{const r=de(n.w);return{id:Me("M2P-item"),index:o+1,parts:[Ne[r.cho],st[r.jung]],answer:n.w,word:n.w}})}function Pa(e){const t=Mn(1,e.excludeNoImage??!1,n=>n.jong>0&&!Yt[n.jong]);return Ze(t,e.count??10).map((n,o)=>{const r=de(n.w);return{id:Me("M3P-item"),index:o+1,parts:[Ne[r.cho],st[r.jung],Ge[r.jong]],answer:n.w,word:n.w}})}function $a(e){const t=tr.DROP_FINAL_CONSONANT_FROM_1SYLL,n=Mn(t.syllables,e.excludeNoImage??!1,t.syllable),o=St(),r=[];for(const u of ie(n)){if(r.length>=(e.count??10))break;const i=ya(u.w,null,o);if(!i)continue;const[l,...c]=i.distractors;r.push({id:Me("DFC-item"),index:r.length+1,original:u.w,word:u.w,result:l,distractors:c})}return r}function Fa(e){const t=tr.REMOVE_CONSONANT_AND_IDENTIFY_PHONEME,n=Mn(t.syllables,e.excludeNoImage??!1,t.syllable),o=St(),r=[];for(const u of ie(n)){if(r.length>=(e.count??10))break;const i=ma(u.w,null,o);if(!i)continue;const l=de(o.get(u.w)||u.w);if(!l)continue;const[c,...f]=i.distractors;r.push({id:Me("RCP-item"),index:r.length+1,base:u.w,word:u.w,missingConsonant:Ne[l.cho],remaining:c,distractors:f})}return r}const Tn=new Map;let fr=null,Cr=null;async function yr(e,t={}){const n=kn(),o=Wt();(n!==fr||o!==Cr)&&(Tn.clear(),fr=n,Cr=o);const r=`${e}:${sr(t)}`;if(Tn.has(r))return Tn.get(r);const u=await za(e,t);return Tn.set(r,u),u}const Ha={SAME_SOUND_PICK:e=>dr("SSP",e),HEAR_AND_PICK_SAME:e=>dr("HPS",e),HEAR_AND_PICK_INCLUDED:e=>wa(e),SAME_OR_DIFF:e=>Sa(e),STARTS_WITH_SAME_SOUND:e=>Na(e),LISTEN_AND_REMEMBER_ORDER:e=>Ia(e),MERGE_2_SYLLABLES:e=>xa(e),MERGE_3_SYLLABLES:e=>va(e),MERGE_2_PHONEMES:e=>ja(e),MERGE_3_PHONEMES:e=>Pa(e),DROP_1_FROM_2SYLL:e=>Oa(e),DROP_1_FROM_3SYLL:e=>La(e),DROP_PART_FROM_COMPOUND:e=>Ra(e),DROP_FINAL_CONSONANT_FROM_1SYLL:e=>$a(e),REMOVE_CONSONANT_AND_IDENTIFY_PHONEME:e=>Fa(e),CHANGE_1_SYLL_IN_2SYLL:e=>Ma(e),CHANGE_1_SYLL_IN_3SYLL:e=>Ta(e),CHANGE_1_PHONEME_IN_1SYLL:e=>Ba(e),CHANGE_1_PHONEME_IN_2SYLL:e=>Da(e)};async function za(e,t={}){const n=Ha[e];return n?await n(t):[]}async function Va(e){const t=[null,"count"],n=Object.keys(Wn);let o=0;for(const r of t)for(const u of n){const i=Wn[u];yr(u,{difficulty:i.difficulty?r:null,choseong:null,count:10,excludeNoImage:e}).catch(()=>{}),++o%6===0&&await new Promise(l=>setTimeout(l,0))}}async function Ua(e){return(await $e({...e,fullCount:!0})).length}async function Ga(e={}){const t=[];for(const l of Xe)l.w&&t.push(l.w);const n=e.excludeNoImage?Jt(t):t,o=new Set,r=new Set,u=new Set,i=new Set;for(const l of n){i.add(bn(l));for(const c of l){const f=de(c);if(f&&(Ne[f.cho]!=="\u3147"&&o.add(Ne[f.cho]),r.add(st[f.jung]),f.jong>0)){u.add(Ge[f.jong]);const h=Yt[f.jong];h&&h.forEach(p=>u.add(p))}}}return{cho:o,jung:r,jong:u,syllable:i}}const Nt="\uC804\uCCB4";function Ya(...e){return e.filter(Boolean).join(" ")}/**
2
- * @license lucide-react v1.38.0 - ISC
3
- *
4
- * This source code is licensed under the ISC license.
5
- * See the LICENSE file in the root directory of this source tree.
6
- */const mr=(...e)=>e.filter((t,n,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===n).join(" ").trim();/**
7
- * @license lucide-react v1.38.0 - ISC
8
- *
9
- * This source code is licensed under the ISC license.
10
- * See the LICENSE file in the root directory of this source tree.
11
- */const qa=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
12
- * @license lucide-react v1.38.0 - ISC
13
- *
14
- * This source code is licensed under the ISC license.
15
- * See the LICENSE file in the root directory of this source tree.
16
- */const Wa=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,n,o)=>o?o.toUpperCase():n.toLowerCase());/**
17
- * @license lucide-react v1.38.0 - ISC
18
- *
19
- * This source code is licensed under the ISC license.
20
- * See the LICENSE file in the root directory of this source tree.
21
- */const gr=e=>{const t=Wa(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
22
- * @license lucide-react v1.38.0 - ISC
23
- *
24
- * This source code is licensed under the ISC license.
25
- * See the LICENSE file in the root directory of this source tree.
26
- */var to={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"};/**
27
- * @license lucide-react v1.38.0 - ISC
28
- *
29
- * This source code is licensed under the ISC license.
30
- * See the LICENSE file in the root directory of this source tree.
31
- */const Ka=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1},Xa=Gn({}),Za=()=>Yn(Xa),Ja=Po(({color:e,size:t,strokeWidth:n,absoluteStrokeWidth:o,className:r="",children:u,iconNode:i,...l},c)=>{const{size:f=24,strokeWidth:h=2,absoluteStrokeWidth:p=!1,color:s="currentColor",className:y=""}=Za()??{},A=o??p?Number(n??h)*24/Number(t??f):n??h;return Ut("svg",{ref:c,...to,width:t??f??to.width,height:t??f??to.height,stroke:e??s,strokeWidth:A,className:mr("lucide",y,r),...!u&&!Ka(l)&&{"aria-hidden":"true"},...l},[...i.map(([w,_])=>Ut(w,_)),...Array.isArray(u)?u:[u]])});/**
32
- * @license lucide-react v1.38.0 - ISC
33
- *
34
- * This source code is licensed under the ISC license.
35
- * See the LICENSE file in the root directory of this source tree.
36
- */const C=(e,t)=>{const n=Po(({className:o,...r},u)=>Ut(Ja,{ref:u,iconNode:t,className:mr(`lucide-${qa(gr(e))}`,`lucide-${e}`,o),...r}));return n.displayName=gr(e),n};/**
37
- * @license lucide-react v1.38.0 - ISC
38
- *
39
- * This source code is licensed under the ISC license.
40
- * See the LICENSE file in the root directory of this source tree.
41
- */const Qa=[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]],_r=C("triangle-alert",Qa);/**
42
- * @license lucide-react v1.38.0 - ISC
43
- *
44
- * This source code is licensed under the ISC license.
45
- * See the LICENSE file in the root directory of this source tree.
46
- */const ei=[["rect",{width:"9",height:"6",x:"6",y:"14",rx:"2",key:"lpm2y7"}],["rect",{width:"16",height:"6",x:"6",y:"4",rx:"2",key:"rdj6ps"}],["path",{d:"M2 2v20",key:"1ivd8o"}]],ti=C("align-start-vertical",ei);/**
47
- * @license lucide-react v1.38.0 - ISC
48
- *
49
- * This source code is licensed under the ISC license.
50
- * See the LICENSE file in the root directory of this source tree.
51
- */const ni=[["path",{d:"M12 5v14",key:"s699le"}],["path",{d:"m19 12-7 7-7-7",key:"1idqje"}]],oi=C("arrow-down",ni);/**
52
- * @license lucide-react v1.38.0 - ISC
53
- *
54
- * This source code is licensed under the ISC license.
55
- * See the LICENSE file in the root directory of this source tree.
56
- */const ri=[["path",{d:"m12 19-7-7 7-7",key:"1l729n"}],["path",{d:"M19 12H5",key:"x3x0zl"}]],ui=C("arrow-left",ri);/**
57
- * @license lucide-react v1.38.0 - ISC
58
- *
59
- * This source code is licensed under the ISC license.
60
- * See the LICENSE file in the root directory of this source tree.
61
- */const ai=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"m12 5 7 7-7 7",key:"xquz4c"}]],ii=C("arrow-right",ai);/**
62
- * @license lucide-react v1.38.0 - ISC
63
- *
64
- * This source code is licensed under the ISC license.
65
- * See the LICENSE file in the root directory of this source tree.
66
- */const li=[["path",{d:"m16 3 4 4-4 4",key:"1x1c3m"}],["path",{d:"M20 7H4",key:"zbl0bi"}],["path",{d:"m8 21-4-4 4-4",key:"h9nckh"}],["path",{d:"M4 17h16",key:"g4d7ey"}]],ci=C("arrow-right-left",li);/**
67
- * @license lucide-react v1.38.0 - ISC
68
- *
69
- * This source code is licensed under the ISC license.
70
- * See the LICENSE file in the root directory of this source tree.
71
- */const si=[["path",{d:"M2 10v3",key:"1fnikh"}],["path",{d:"M6 6v11",key:"11sgs0"}],["path",{d:"M10 3v18",key:"yhl04a"}],["path",{d:"M14 8v7",key:"3a1oy3"}],["path",{d:"M18 5v13",key:"123xd1"}],["path",{d:"M22 10v3",key:"154ddg"}]],di=C("audio-lines",si);/**
72
- * @license lucide-react v1.38.0 - ISC
73
- *
74
- * This source code is licensed under the ISC license.
75
- * See the LICENSE file in the root directory of this source tree.
76
- */const hi=[["path",{d:"M10 16c.5.3 1.2.5 2 .5s1.5-.2 2-.5",key:"1u7htd"}],["path",{d:"M15 12h.01",key:"1k8ypt"}],["path",{d:"M19.38 6.813A9 9 0 0 1 20.8 10.2a2 2 0 0 1 0 3.6 9 9 0 0 1-17.6 0 2 2 0 0 1 0-3.6A9 9 0 0 1 12 3c2 0 3.5 1.1 3.5 2.5s-.9 2.5-2 2.5c-.8 0-1.5-.4-1.5-1",key:"11xh7x"}],["path",{d:"M9 12h.01",key:"157uk2"}]],pi=C("baby",hi);/**
77
- * @license lucide-react v1.38.0 - ISC
78
- *
79
- * This source code is licensed under the ISC license.
80
- * See the LICENSE file in the root directory of this source tree.
81
- */const fi=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M4.929 4.929 19.07 19.071",key:"196cmz"}]],Ci=C("ban",fi);/**
82
- * @license lucide-react v1.38.0 - ISC
83
- *
84
- * This source code is licensed under the ISC license.
85
- * See the LICENSE file in the root directory of this source tree.
86
- */const yi=[["path",{d:"M10.268 21a2 2 0 0 0 3.464 0",key:"vwvbt9"}],["path",{d:"M3.262 15.326A1 1 0 0 0 4 17h16a1 1 0 0 0 .74-1.673C19.41 13.956 18 12.499 18 8A6 6 0 0 0 6 8c0 4.499-1.411 5.956-2.738 7.326",key:"11g9vi"}]],mi=C("bell",yi);/**
87
- * @license lucide-react v1.38.0 - ISC
88
- *
89
- * This source code is licensed under the ISC license.
90
- * See the LICENSE file in the root directory of this source tree.
91
- */const gi=[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]],_i=C("book-marked",gi);/**
92
- * @license lucide-react v1.38.0 - ISC
93
- *
94
- * This source code is licensed under the ISC license.
95
- * See the LICENSE file in the root directory of this source tree.
96
- */const Ei=[["path",{d:"M12 5v16",key:"1f6ucr"}],["path",{d:"M20.001 19A2 2 0 0022 17V5a2 2 0 00-1.999-2L16 3.002A5 5 0 0012 5a5 5 0 00-4-2H4a2 2 0 00-2 2v12a2 2 0 001.999 2H8a5 5 0 014 2 5 5 0 014-2z",key:"1fyvmf"}]],bi=C("book-open",Ei);/**
97
- * @license lucide-react v1.38.0 - ISC
98
- *
99
- * This source code is licensed under the ISC license.
100
- * See the LICENSE file in the root directory of this source tree.
101
- */const Ai=[["path",{d:"M17 3h4v4",key:"19p9u1"}],["path",{d:"M18.575 11.082a13 13 0 0 1 1.048 9.027 1.17 1.17 0 0 1-1.914.597L14 17",key:"12t3w9"}],["path",{d:"M7 10 3.29 6.29a1.17 1.17 0 0 1 .6-1.91 13 13 0 0 1 9.03 1.05",key:"ogng5l"}],["path",{d:"M7 14a1.7 1.7 0 0 0-1.207.5l-2.646 2.646A.5.5 0 0 0 3.5 18H5a1 1 0 0 1 1 1v1.5a.5.5 0 0 0 .854.354L9.5 18.207A1.7 1.7 0 0 0 10 17v-2a1 1 0 0 0-1-1z",key:"8v3fy2"}],["path",{d:"M9.707 14.293 21 3",key:"ydm3bn"}]],ki=C("bow-arrow",Ai);/**
102
- * @license lucide-react v1.38.0 - ISC
103
- *
104
- * This source code is licensed under the ISC license.
105
- * See the LICENSE file in the root directory of this source tree.
106
- */const wi=[["path",{d:"M8 3H7a2 2 0 0 0-2 2v5a2 2 0 0 1-2 2 2 2 0 0 1 2 2v5c0 1.1.9 2 2 2h1",key:"ezmyqa"}],["path",{d:"M16 21h1a2 2 0 0 0 2-2v-5c0-1.1.9-2 2-2a2 2 0 0 1-2-2V5a2 2 0 0 0-2-2h-1",key:"e1hn23"}]],Si=C("braces",wi);/**
107
- * @license lucide-react v1.38.0 - ISC
108
- *
109
- * This source code is licensed under the ISC license.
110
- * See the LICENSE file in the root directory of this source tree.
111
- */const Ni=[["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M14 7a4 4 0 0 1 4 4v3a6 6 0 0 1-12 0v-3a4 4 0 0 1 4-4z",key:"uouzyp"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M21 21a4 4 0 0 0-3.81-4",key:"1b0z45"}],["path",{d:"M21 5a4 4 0 0 1-3.55 3.97",key:"5cxbf6"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M3 21a4 4 0 0 1 3.81-4",key:"1fjd4g"}],["path",{d:"M3 5a4 4 0 0 0 3.55 3.97",key:"1d7oge"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M9 7.13V6a3 3 0 1 1 6 0v1.13",key:"1vgav8"}]],Mi=C("bug",Ni);/**
112
- * @license lucide-react v1.38.0 - ISC
113
- *
114
- * This source code is licensed under the ISC license.
115
- * See the LICENSE file in the root directory of this source tree.
116
- */const Ti=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"m9 15 2 2 4-4",key:"1grp1n"}]],Bi=C("calendar-check",Ti);/**
117
- * @license lucide-react v1.38.0 - ISC
118
- *
119
- * This source code is licensed under the ISC license.
120
- * See the LICENSE file in the root directory of this source tree.
121
- */const Di=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M8 13h.01",key:"1sbv64"}],["path",{d:"M12 13h.01",key:"y0uutt"}],["path",{d:"M16 13h.01",key:"wip0gl"}],["path",{d:"M8 17h.01",key:"p3bg7i"}],["path",{d:"M12 17h.01",key:"p32p05"}],["path",{d:"M16 17h.01",key:"ql8jdd"}]],xi=C("calendar-days",Di);/**
122
- * @license lucide-react v1.38.0 - ISC
123
- *
124
- * This source code is licensed under the ISC license.
125
- * See the LICENSE file in the root directory of this source tree.
126
- */const vi=[["path",{d:"M13.997 4a2 2 0 0 1 1.76 1.05l.486.9A2 2 0 0 0 18.003 7H20a2 2 0 0 1 2 2v9a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V9a2 2 0 0 1 2-2h1.997a2 2 0 0 0 1.759-1.048l.489-.904A2 2 0 0 1 10.004 4z",key:"18u6gg"}],["circle",{cx:"12",cy:"13",r:"3",key:"1vg3eu"}]],Oi=C("camera",vi);/**
127
- * @license lucide-react v1.38.0 - ISC
128
- *
129
- * This source code is licensed under the ISC license.
130
- * See the LICENSE file in the root directory of this source tree.
131
- */const Li=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]],Ri=C("chart-column",Li);/**
132
- * @license lucide-react v1.38.0 - ISC
133
- *
134
- * This source code is licensed under the ISC license.
135
- * See the LICENSE file in the root directory of this source tree.
136
- */const Ii=[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"m19 9-5 5-4-4-3 3",key:"2osh9i"}]],ji=C("chart-line",Ii);/**
137
- * @license lucide-react v1.38.0 - ISC
138
- *
139
- * This source code is licensed under the ISC license.
140
- * See the LICENSE file in the root directory of this source tree.
141
- */const Pi=[["path",{d:"M21 12c.552 0 1.005-.449.95-.998a10 10 0 0 0-8.953-8.951c-.55-.055-.998.398-.998.95v8a1 1 0 0 0 1 1z",key:"pzmjnu"}],["path",{d:"M21.21 15.89A10 10 0 1 1 8 2.83",key:"k2fpak"}]],$i=C("chart-pie",Pi);/**
142
- * @license lucide-react v1.38.0 - ISC
143
- *
144
- * This source code is licensed under the ISC license.
145
- * See the LICENSE file in the root directory of this source tree.
146
- */const Fi=[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]],Hi=C("check",Fi);/**
147
- * @license lucide-react v1.38.0 - ISC
148
- *
149
- * This source code is licensed under the ISC license.
150
- * See the LICENSE file in the root directory of this source tree.
151
- */const zi=[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]],Vi=C("chevron-left",zi);/**
152
- * @license lucide-react v1.38.0 - ISC
153
- *
154
- * This source code is licensed under the ISC license.
155
- * See the LICENSE file in the root directory of this source tree.
156
- */const Ui=[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]],Gi=C("chevron-right",Ui);/**
157
- * @license lucide-react v1.38.0 - ISC
158
- *
159
- * This source code is licensed under the ISC license.
160
- * See the LICENSE file in the root directory of this source tree.
161
- */const Yi=[["rect",{width:"8",height:"4",x:"8",y:"2",rx:"1",ry:"1",key:"tgr4d6"}],["path",{d:"M16 4h2a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h2",key:"116196"}],["path",{d:"M12 11h4",key:"1jrz19"}],["path",{d:"M12 16h4",key:"n85exb"}],["path",{d:"M8 11h.01",key:"1dfujw"}],["path",{d:"M8 16h.01",key:"18s6g9"}]],qi=C("clipboard-list",Yi);/**
162
- * @license lucide-react v1.38.0 - ISC
163
- *
164
- * This source code is licensed under the ISC license.
165
- * See the LICENSE file in the root directory of this source tree.
166
- */const Wi=[["path",{d:"M14 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"1l7d7l"}],["path",{d:"M19 3a1 1 0 0 1 1 1v5a1 1 0 0 1-1 1",key:"9955pe"}],["path",{d:"m7 15 3 3",key:"4hkfgk"}],["path",{d:"m7 21 3-3H5a2 2 0 0 1-2-2v-2",key:"1xljwe"}],["rect",{x:"14",y:"14",width:"7",height:"7",rx:"1",key:"1cdgtw"}],["rect",{x:"3",y:"3",width:"7",height:"7",rx:"1",key:"zi3rio"}]],Ki=C("combine",Wi);/**
167
- * @license lucide-react v1.38.0 - ISC
168
- *
169
- * This source code is licensed under the ISC license.
170
- * See the LICENSE file in the root directory of this source tree.
171
- */const Xi=[["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"}]],Zi=C("copy",Xi);/**
172
- * @license lucide-react v1.38.0 - ISC
173
- *
174
- * This source code is licensed under the ISC license.
175
- * See the LICENSE file in the root directory of this source tree.
176
- */const Ji=[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]],Qi=C("credit-card",Ji);/**
177
- * @license lucide-react v1.38.0 - ISC
178
- *
179
- * This source code is licensed under the ISC license.
180
- * See the LICENSE file in the root directory of this source tree.
181
- */const el=[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]],tl=C("database",el);/**
182
- * @license lucide-react v1.38.0 - ISC
183
- *
184
- * This source code is licensed under the ISC license.
185
- * See the LICENSE file in the root directory of this source tree.
186
- */const nl=[["path",{d:"M12 3v14",key:"7cf3v8"}],["path",{d:"M5 10h14",key:"elsbfy"}],["path",{d:"M5 21h14",key:"11awu3"}]],ol=C("diff",nl);/**
187
- * @license lucide-react v1.38.0 - ISC
188
- *
189
- * This source code is licensed under the ISC license.
190
- * See the LICENSE file in the root directory of this source tree.
191
- */const rl=[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]],ul=C("download",rl);/**
192
- * @license lucide-react v1.38.0 - ISC
193
- *
194
- * This source code is licensed under the ISC license.
195
- * See the LICENSE file in the root directory of this source tree.
196
- */const al=[["path",{d:"M6 8.5a6.5 6.5 0 1 1 13 0c0 6-6 6-6 10a3.5 3.5 0 1 1-7 0",key:"1dfaln"}],["path",{d:"M15 8.5a2.5 2.5 0 0 0-5 0v1a2 2 0 1 1 0 4",key:"1qnva7"}]],il=C("ear",al);/**
197
- * @license lucide-react v1.38.0 - ISC
198
- *
199
- * This source code is licensed under the ISC license.
200
- * See the LICENSE file in the root directory of this source tree.
201
- */const ll=[["path",{d:"M12 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7",key:"1m0v6g"}],["path",{d:"M18.375 2.625a1 1 0 0 1 3 3l-9.013 9.014a2 2 0 0 1-.853.505l-2.873.84a.5.5 0 0 1-.62-.62l.84-2.873a2 2 0 0 1 .506-.852z",key:"ohrbg2"}]],cl=C("square-pen",ll);/**
202
- * @license lucide-react v1.38.0 - ISC
203
- *
204
- * This source code is licensed under the ISC license.
205
- * See the LICENSE file in the root directory of this source tree.
206
- */const sl=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],dl=C("pen",sl);/**
207
- * @license lucide-react v1.38.0 - ISC
208
- *
209
- * This source code is licensed under the ISC license.
210
- * See the LICENSE file in the root directory of this source tree.
211
- */const hl=[["path",{d:"M13 21h8",key:"1jsn5i"}],["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]],pl=C("pen-line",hl);/**
212
- * @license lucide-react v1.38.0 - ISC
213
- *
214
- * This source code is licensed under the ISC license.
215
- * See the LICENSE file in the root directory of this source tree.
216
- */const fl=[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]],Er=C("ellipsis",fl);/**
217
- * @license lucide-react v1.38.0 - ISC
218
- *
219
- * This source code is licensed under the ISC license.
220
- * See the LICENSE file in the root directory of this source tree.
221
- */const Cl=[["path",{d:"M21 21H8a2 2 0 0 1-1.42-.587l-3.994-3.999a2 2 0 0 1 0-2.828l10-10a2 2 0 0 1 2.829 0l5.999 6a2 2 0 0 1 0 2.828L12.834 21",key:"g5wo59"}],["path",{d:"m5.082 11.09 8.828 8.828",key:"1wx5vj"}]],yl=C("eraser",Cl);/**
222
- * @license lucide-react v1.38.0 - ISC
223
- *
224
- * This source code is licensed under the ISC license.
225
- * See the LICENSE file in the root directory of this source tree.
226
- */const ml=[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]],gl=C("external-link",ml);/**
227
- * @license lucide-react v1.38.0 - ISC
228
- *
229
- * This source code is licensed under the ISC license.
230
- * See the LICENSE file in the root directory of this source tree.
231
- */const _l=[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],El=C("eye",_l);/**
232
- * @license lucide-react v1.38.0 - ISC
233
- *
234
- * This source code is licensed under the ISC license.
235
- * See the LICENSE file in the root directory of this source tree.
236
- */const bl=[["path",{d:"M6 22a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h8a2.4 2.4 0 0 1 1.704.706l3.588 3.588A2.4 2.4 0 0 1 20 8v12a2 2 0 0 1-2 2z",key:"1oefj6"}],["path",{d:"M14 2v5a1 1 0 0 0 1 1h5",key:"wfsgrz"}],["path",{d:"M10 9H8",key:"b1mrlr"}],["path",{d:"M16 13H8",key:"t4e002"}],["path",{d:"M16 17H8",key:"z1uh3a"}]],Al=C("file-text",bl);/**
237
- * @license lucide-react v1.38.0 - ISC
238
- *
239
- * This source code is licensed under the ISC license.
240
- * See the LICENSE file in the root directory of this source tree.
241
- */const kl=[["path",{d:"M8 3H5a2 2 0 0 0-2 2v14c0 1.1.9 2 2 2h3",key:"1i73f7"}],["path",{d:"M16 3h3a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2h-3",key:"saxlbk"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"M12 14v2",key:"8jcxud"}],["path",{d:"M12 8v2",key:"1woqiv"}],["path",{d:"M12 2v2",key:"tus03m"}]],wl=C("square-centerline-dashed-horizontal",kl);/**
242
- * @license lucide-react v1.38.0 - ISC
243
- *
244
- * This source code is licensed under the ISC license.
245
- * See the LICENSE file in the root directory of this source tree.
246
- */const Sl=[["path",{d:"m6 14 1.5-2.9A2 2 0 0 1 9.24 10H20a2 2 0 0 1 1.94 2.5l-1.54 6a2 2 0 0 1-1.95 1.5H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h3.9a2 2 0 0 1 1.69.9l.81 1.2a2 2 0 0 0 1.67.9H18a2 2 0 0 1 2 2v2",key:"usdka0"}]],Nl=C("folder-open",Sl);/**
247
- * @license lucide-react v1.38.0 - ISC
248
- *
249
- * This source code is licensed under the ISC license.
250
- * See the LICENSE file in the root directory of this source tree.
251
- */const Ml=[["path",{d:"M12 10v6",key:"1bos4e"}],["path",{d:"M9 13h6",key:"1uhe8q"}],["path",{d:"M20 20a2 2 0 0 0 2-2V8a2 2 0 0 0-2-2h-7.9a2 2 0 0 1-1.69-.9L9.6 3.9A2 2 0 0 0 7.93 3H4a2 2 0 0 0-2 2v13a2 2 0 0 0 2 2Z",key:"1kt360"}]],Tl=C("folder-plus",Ml);/**
252
- * @license lucide-react v1.38.0 - ISC
253
- *
254
- * This source code is licensed under the ISC license.
255
- * See the LICENSE file in the root directory of this source tree.
256
- */const Bl=[["line",{x1:"6",x2:"10",y1:"12",y2:"12",key:"161bw2"}],["line",{x1:"8",x2:"8",y1:"10",y2:"14",key:"1i6ji0"}],["line",{x1:"15",x2:"15.01",y1:"13",y2:"13",key:"dqpgro"}],["line",{x1:"18",x2:"18.01",y1:"11",y2:"11",key:"meh2c"}],["rect",{width:"20",height:"12",x:"2",y:"6",rx:"2",key:"9lu3g6"}]],Dl=C("gamepad",Bl);/**
257
- * @license lucide-react v1.38.0 - ISC
258
- *
259
- * This source code is licensed under the ISC license.
260
- * See the LICENSE file in the root directory of this source tree.
261
- */const xl=[["path",{d:"m14 13-8.381 8.38a1 1 0 0 1-3.001-3l8.384-8.381",key:"pgg06f"}],["path",{d:"m16 16 6-6",key:"vzrcl6"}],["path",{d:"m21.5 10.5-8-8",key:"a17d9x"}],["path",{d:"m8 8 6-6",key:"18bi4p"}],["path",{d:"m8.5 7.5 8 8",key:"1oyaui"}]],vl=C("gavel",xl);/**
262
- * @license lucide-react v1.38.0 - ISC
263
- *
264
- * This source code is licensed under the ISC license.
265
- * See the LICENSE file in the root directory of this source tree.
266
- */const Ol=[["circle",{cx:"18",cy:"18",r:"3",key:"1xkwt0"}],["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M6 21V9a9 9 0 0 0 9 9",key:"7kw0sc"}]],Ll=C("git-merge",Ol);/**
267
- * @license lucide-react v1.38.0 - ISC
268
- *
269
- * This source code is licensed under the ISC license.
270
- * See the LICENSE file in the root directory of this source tree.
271
- */const Rl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]],Il=C("globe",Rl);/**
272
- * @license lucide-react v1.38.0 - ISC
273
- *
274
- * This source code is licensed under the ISC license.
275
- * See the LICENSE file in the root directory of this source tree.
276
- */const jl=[["path",{d:"M3 14h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-7a9 9 0 0 1 18 0v7a2 2 0 0 1-2 2h-1a2 2 0 0 1-2-2v-3a2 2 0 0 1 2-2h3",key:"1xhozi"}]],Pl=C("headphones",jl);/**
277
- * @license lucide-react v1.38.0 - ISC
278
- *
279
- * This source code is licensed under the ISC license.
280
- * See the LICENSE file in the root directory of this source tree.
281
- */const $l=[["path",{d:"M2 9.5a5.5 5.5 0 0 1 9.591-3.676.56.56 0 0 0 .818 0A5.49 5.49 0 0 1 22 9.5c0 2.29-1.5 4-3 5.5l-5.492 5.313a2 2 0 0 1-3 .019L5 15c-1.5-1.5-3-3.2-3-5.5",key:"mvr1a0"}]],Fl=C("heart",$l);/**
282
- * @license lucide-react v1.38.0 - ISC
283
- *
284
- * This source code is licensed under the ISC license.
285
- * See the LICENSE file in the root directory of this source tree.
286
- */const Hl=[["path",{d:"M15 21v-8a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v8",key:"5wwlr5"}],["path",{d:"M3 10a2 2 0 0 1 .709-1.528l7-6a2 2 0 0 1 2.582 0l7 6A2 2 0 0 1 21 10v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z",key:"r6nss1"}]],zl=C("house",Hl);/**
287
- * @license lucide-react v1.38.0 - ISC
288
- *
289
- * This source code is licensed under the ISC license.
290
- * See the LICENSE file in the root directory of this source tree.
291
- */const Vl=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]],Ul=C("info",Vl);/**
292
- * @license lucide-react v1.38.0 - ISC
293
- *
294
- * This source code is licensed under the ISC license.
295
- * See the LICENSE file in the root directory of this source tree.
296
- */const Gl=[["path",{d:"M2.586 17.414A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814a6.5 6.5 0 1 0-4-4z",key:"1s6t7t"}],["circle",{cx:"16.5",cy:"7.5",r:".5",fill:"currentColor",key:"w0ekpg"}]],Yl=C("key-round",Gl);/**
297
- * @license lucide-react v1.38.0 - ISC
298
- *
299
- * This source code is licensed under the ISC license.
300
- * See the LICENSE file in the root directory of this source tree.
301
- */const ql=[["path",{d:"M10 18v-7",key:"wt116b"}],["path",{d:"M11.119 2.205a2 2 0 0 1 1.762 0l7.84 3.846A.5.5 0 0 1 20.5 7h-17a.5.5 0 0 1-.22-.949z",key:"yxxwt6"}],["path",{d:"M14 18v-7",key:"vav6t3"}],["path",{d:"M18 18v-7",key:"aexdmj"}],["path",{d:"M3 22h18",key:"8prr45"}],["path",{d:"M6 18v-7",key:"1ivflk"}]],Wl=C("landmark",ql);/**
302
- * @license lucide-react v1.38.0 - ISC
303
- *
304
- * This source code is licensed under the ISC license.
305
- * See the LICENSE file in the root directory of this source tree.
306
- */const Kl=[["path",{d:"M12.83 2.18a2 2 0 0 0-1.66 0L2.6 6.08a1 1 0 0 0 0 1.83l8.58 3.91a2 2 0 0 0 1.66 0l8.58-3.9a1 1 0 0 0 0-1.83z",key:"zw3jo"}],["path",{d:"M2 12a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 12",key:"1wduqc"}],["path",{d:"M2 17a1 1 0 0 0 .58.91l8.6 3.91a2 2 0 0 0 1.65 0l8.58-3.9A1 1 0 0 0 22 17",key:"kqbvx6"}]],Xl=C("layers",Kl);/**
307
- * @license lucide-react v1.38.0 - ISC
308
- *
309
- * This source code is licensed under the ISC license.
310
- * See the LICENSE file in the root directory of this source tree.
311
- */const Zl=[["rect",{width:"7",height:"9",x:"3",y:"3",rx:"1",key:"10lvy0"}],["rect",{width:"7",height:"5",x:"14",y:"3",rx:"1",key:"16une8"}],["rect",{width:"7",height:"9",x:"14",y:"12",rx:"1",key:"1hutg5"}],["rect",{width:"7",height:"5",x:"3",y:"16",rx:"1",key:"ldoo1y"}]],Jl=C("layout-dashboard",Zl);/**
312
- * @license lucide-react v1.38.0 - ISC
313
- *
314
- * This source code is licensed under the ISC license.
315
- * See the LICENSE file in the root directory of this source tree.
316
- */const Ql=[["path",{d:"M11 20A7 7 0 0 1 9.8 6.1C15.5 5 17 4.48 19 2c1 2 2 4.18 2 8 0 5.5-4.78 10-10 10Z",key:"nnexq3"}],["path",{d:"M2 21c0-3 1.85-5.36 5.08-6C9.5 14.52 12 13 13 12",key:"mt58a7"}]],ec=C("leaf",Ql);/**
317
- * @license lucide-react v1.38.0 - ISC
318
- *
319
- * This source code is licensed under the ISC license.
320
- * See the LICENSE file in the root directory of this source tree.
321
- */const tc=[["path",{d:"M15 14c.2-1 .7-1.7 1.5-2.5 1-.9 1.5-2.2 1.5-3.5A6 6 0 0 0 6 8c0 1 .2 2.2 1.5 3.5.7.7 1.3 1.5 1.5 2.5",key:"1gvzjb"}],["path",{d:"M9 18h6",key:"x1upvd"}],["path",{d:"M10 22h4",key:"ceow96"}]],nc=C("lightbulb",tc);/**
322
- * @license lucide-react v1.38.0 - ISC
323
- *
324
- * This source code is licensed under the ISC license.
325
- * See the LICENSE file in the root directory of this source tree.
326
- */const oc=[["path",{d:"M10 13a5 5 0 0 0 7.54.54l3-3a5 5 0 0 0-7.07-7.07l-1.72 1.71",key:"1cjeqo"}],["path",{d:"M14 11a5 5 0 0 0-7.54-.54l-3 3a5 5 0 0 0 7.07 7.07l1.71-1.71",key:"19qd67"}]],rc=C("link",oc);/**
327
- * @license lucide-react v1.38.0 - ISC
328
- *
329
- * This source code is licensed under the ISC license.
330
- * See the LICENSE file in the root directory of this source tree.
331
- */const uc=[["path",{d:"M9 17H7A5 5 0 0 1 7 7h2",key:"8i5ue5"}],["path",{d:"M15 7h2a5 5 0 1 1 0 10h-2",key:"1b9ql8"}],["line",{x1:"8",x2:"16",y1:"12",y2:"12",key:"1jonct"}]],ac=C("link-2",uc);/**
332
- * @license lucide-react v1.38.0 - ISC
333
- *
334
- * This source code is licensed under the ISC license.
335
- * See the LICENSE file in the root directory of this source tree.
336
- */const ic=[["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"}]],lc=C("link-2-off",ic);/**
337
- * @license lucide-react v1.38.0 - ISC
338
- *
339
- * This source code is licensed under the ISC license.
340
- * See the LICENSE file in the root directory of this source tree.
341
- */const cc=[["path",{d:"M3 5h.01",key:"18ugdj"}],["path",{d:"M3 12h.01",key:"nlz23k"}],["path",{d:"M3 19h.01",key:"noohij"}],["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M8 12h13",key:"1za7za"}],["path",{d:"M8 19h13",key:"m83p4d"}]],sc=C("list",cc);/**
342
- * @license lucide-react v1.38.0 - ISC
343
- *
344
- * This source code is licensed under the ISC license.
345
- * See the LICENSE file in the root directory of this source tree.
346
- */const dc=[["path",{d:"M13 5h8",key:"a7qcls"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"m3 17 2 2 4-4",key:"1jhpwq"}],["path",{d:"m3 7 2 2 4-4",key:"1obspn"}]],hc=C("list-checks",dc);/**
347
- * @license lucide-react v1.38.0 - ISC
348
- *
349
- * This source code is licensed under the ISC license.
350
- * See the LICENSE file in the root directory of this source tree.
351
- */const pc=[["path",{d:"M11 5h10",key:"1cz7ny"}],["path",{d:"M11 12h10",key:"1438ji"}],["path",{d:"M11 19h10",key:"11t30w"}],["path",{d:"M4 4h1v5",key:"10yrso"}],["path",{d:"M4 9h2",key:"r1h2o0"}],["path",{d:"M6.5 20H3.4c0-1 2.6-1.925 2.6-3.5a1.5 1.5 0 0 0-2.6-1.02",key:"xtkcd5"}]],fc=C("list-ordered",pc);/**
352
- * @license lucide-react v1.38.0 - ISC
353
- *
354
- * This source code is licensed under the ISC license.
355
- * See the LICENSE file in the root directory of this source tree.
356
- */const Cc=[["path",{d:"M12 2v4",key:"3427ic"}],["path",{d:"m16.2 7.8 2.9-2.9",key:"r700ao"}],["path",{d:"M18 12h4",key:"wj9ykh"}],["path",{d:"m16.2 16.2 2.9 2.9",key:"1bxg5t"}],["path",{d:"M12 18v4",key:"jadmvz"}],["path",{d:"m4.9 19.1 2.9-2.9",key:"bwix9q"}],["path",{d:"M2 12h4",key:"j09sii"}],["path",{d:"m4.9 4.9 2.9 2.9",key:"giyufr"}]],yc=C("loader",Cc);/**
357
- * @license lucide-react v1.38.0 - ISC
358
- *
359
- * This source code is licensed under the ISC license.
360
- * See the LICENSE file in the root directory of this source tree.
361
- */const mc=[["path",{d:"m16 17 5-5-5-5",key:"1bji2h"}],["path",{d:"M21 12H9",key:"dn1m92"}],["path",{d:"M9 21H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h4",key:"1uf3rs"}]],gc=C("log-out",mc);/**
362
- * @license lucide-react v1.38.0 - ISC
363
- *
364
- * This source code is licensed under the ISC license.
365
- * See the LICENSE file in the root directory of this source tree.
366
- */const _c=[["path",{d:"m22 7-8.991 5.727a2 2 0 0 1-2.009 0L2 7",key:"132q7q"}],["rect",{x:"2",y:"4",width:"20",height:"16",rx:"2",key:"izxlao"}]],Ec=C("mail",_c);/**
367
- * @license lucide-react v1.38.0 - ISC
368
- *
369
- * This source code is licensed under the ISC license.
370
- * See the LICENSE file in the root directory of this source tree.
371
- */const bc=[["path",{d:"M20 10c0 4.993-5.539 10.193-7.399 11.799a1 1 0 0 1-1.202 0C9.539 20.193 4 14.993 4 10a8 8 0 0 1 16 0",key:"1r0f0z"}],["circle",{cx:"12",cy:"10",r:"3",key:"ilqhr7"}]],Ac=C("map-pin",bc);/**
372
- * @license lucide-react v1.38.0 - ISC
373
- *
374
- * This source code is licensed under the ISC license.
375
- * See the LICENSE file in the root directory of this source tree.
376
- */const kc=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}]],wc=C("message-circle",kc);/**
377
- * @license lucide-react v1.38.0 - ISC
378
- *
379
- * This source code is licensed under the ISC license.
380
- * See the LICENSE file in the root directory of this source tree.
381
- */const Sc=[["path",{d:"M2.992 16.342a2 2 0 0 1 .094 1.167l-1.065 3.29a1 1 0 0 0 1.236 1.168l3.413-.998a2 2 0 0 1 1.099.092 10 10 0 1 0-4.777-4.719",key:"1sd12s"}],["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"}]],Nc=C("message-circle-question-mark",Sc);/**
382
- * @license lucide-react v1.38.0 - ISC
383
- *
384
- * This source code is licensed under the ISC license.
385
- * See the LICENSE file in the root directory of this source tree.
386
- */const Mc=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}]],Tc=C("message-square",Mc);/**
387
- * @license lucide-react v1.38.0 - ISC
388
- *
389
- * This source code is licensed under the ISC license.
390
- * See the LICENSE file in the root directory of this source tree.
391
- */const Bc=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M7 11h10",key:"1twpyw"}],["path",{d:"M7 15h6",key:"d9of3u"}],["path",{d:"M7 7h8",key:"af5zfr"}]],Dc=C("message-square-text",Bc);/**
392
- * @license lucide-react v1.38.0 - ISC
393
- *
394
- * This source code is licensed under the ISC license.
395
- * See the LICENSE file in the root directory of this source tree.
396
- */const xc=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M8 12h8",key:"1wcyev"}]],vc=C("circle-minus",xc);/**
397
- * @license lucide-react v1.38.0 - ISC
398
- *
399
- * This source code is licensed under the ISC license.
400
- * See the LICENSE file in the root directory of this source tree.
401
- */const Oc=[["path",{d:"M11 21.73a2 2 0 0 0 2 0l7-4A2 2 0 0 0 21 16V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73z",key:"1a0edw"}],["path",{d:"M12 22V12",key:"d0xqtd"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}]],Lc=C("package",Oc);/**
402
- * @license lucide-react v1.38.0 - ISC
403
- *
404
- * This source code is licensed under the ISC license.
405
- * See the LICENSE file in the root directory of this source tree.
406
- */const Rc=[["path",{d:"M12 22a1 1 0 0 1 0-20 10 9 0 0 1 10 9 5 5 0 0 1-5 5h-2.25a1.75 1.75 0 0 0-1.4 2.8l.3.4a1.75 1.75 0 0 1-1.4 2.8z",key:"e79jfc"}],["circle",{cx:"13.5",cy:"6.5",r:".5",fill:"currentColor",key:"1okk4w"}],["circle",{cx:"17.5",cy:"10.5",r:".5",fill:"currentColor",key:"f64h9f"}],["circle",{cx:"6.5",cy:"12.5",r:".5",fill:"currentColor",key:"qy21gx"}],["circle",{cx:"8.5",cy:"7.5",r:".5",fill:"currentColor",key:"fotxhn"}]],Ic=C("palette",Rc);/**
407
- * @license lucide-react v1.38.0 - ISC
408
- *
409
- * This source code is licensed under the ISC license.
410
- * See the LICENSE file in the root directory of this source tree.
411
- */const jc=[["path",{d:"M5.8 11.3 2 22l10.7-3.79",key:"gwxi1d"}],["path",{d:"M4 3h.01",key:"1vcuye"}],["path",{d:"M22 8h.01",key:"1mrtc2"}],["path",{d:"M15 2h.01",key:"1cjtqr"}],["path",{d:"M22 20h.01",key:"1mrys2"}],["path",{d:"m22 2-2.24.75a2.9 2.9 0 0 0-1.96 3.12c.1.86-.57 1.63-1.45 1.63h-.38c-.86 0-1.6.6-1.76 1.44L14 10",key:"hbicv8"}],["path",{d:"m22 13-.82-.33c-.86-.34-1.82.2-1.98 1.11c-.11.7-.72 1.22-1.43 1.22H17",key:"1i94pl"}],["path",{d:"m11 2 .33.82c.34.86-.2 1.82-1.11 1.98C9.52 4.9 9 5.52 9 6.23V7",key:"1cofks"}],["path",{d:"M11 13c1.93 1.93 2.83 4.17 2 5-.83.83-3.07-.07-5-2-1.93-1.93-2.83-4.17-2-5 .83-.83 3.07.07 5 2Z",key:"4kbmks"}]],Pc=C("party-popper",jc);/**
412
- * @license lucide-react v1.38.0 - ISC
413
- *
414
- * This source code is licensed under the ISC license.
415
- * See the LICENSE file in the root directory of this source tree.
416
- */const $c=[["rect",{x:"14",y:"3",width:"5",height:"18",rx:"1",key:"kaeet6"}],["rect",{x:"5",y:"3",width:"5",height:"18",rx:"1",key:"1wsw3u"}]],Fc=C("pause",$c);/**
417
- * @license lucide-react v1.38.0 - ISC
418
- *
419
- * This source code is licensed under the ISC license.
420
- * See the LICENSE file in the root directory of this source tree.
421
- */const Hc=[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}],["path",{d:"m15 5 4 4",key:"1mk7zo"}]],zc=C("pencil",Hc);/**
422
- * @license lucide-react v1.38.0 - ISC
423
- *
424
- * This source code is licensed under the ISC license.
425
- * See the LICENSE file in the root directory of this source tree.
426
- */const Vc=[["path",{d:"M13.832 16.568a1 1 0 0 0 1.213-.303l.355-.465A2 2 0 0 1 17 15h3a2 2 0 0 1 2 2v3a2 2 0 0 1-2 2A18 18 0 0 1 2 4a2 2 0 0 1 2-2h3a2 2 0 0 1 2 2v3a2 2 0 0 1-.8 1.6l-.468.351a1 1 0 0 0-.292 1.233 14 14 0 0 0 6.392 6.384",key:"9njp5v"}]],Uc=C("phone",Vc);/**
427
- * @license lucide-react v1.38.0 - ISC
428
- *
429
- * This source code is licensed under the ISC license.
430
- * See the LICENSE file in the root directory of this source tree.
431
- */const Gc=[["path",{d:"M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",key:"10ikf1"}]],Yc=C("play",Gc);/**
432
- * @license lucide-react v1.38.0 - ISC
433
- *
434
- * This source code is licensed under the ISC license.
435
- * See the LICENSE file in the root directory of this source tree.
436
- */const qc=[["path",{d:"M9 9.003a1 1 0 0 1 1.517-.859l4.997 2.997a1 1 0 0 1 0 1.718l-4.997 2.997A1 1 0 0 1 9 14.996z",key:"kmsa83"}],["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],Wc=C("circle-play",qc);/**
437
- * @license lucide-react v1.38.0 - ISC
438
- *
439
- * This source code is licensed under the ISC license.
440
- * See the LICENSE file in the root directory of this source tree.
441
- */const Kc=[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]],Xc=C("plus",Kc);/**
442
- * @license lucide-react v1.38.0 - ISC
443
- *
444
- * This source code is licensed under the ISC license.
445
- * See the LICENSE file in the root directory of this source tree.
446
- */const Zc=[["path",{d:"M6 18H4a2 2 0 0 1-2-2v-5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2v5a2 2 0 0 1-2 2h-2",key:"143wyd"}],["path",{d:"M6 9V3a1 1 0 0 1 1-1h10a1 1 0 0 1 1 1v6",key:"1itne7"}],["rect",{x:"6",y:"14",width:"12",height:"8",rx:"1",key:"1ue0tg"}]],Jc=C("printer",Zc);/**
447
- * @license lucide-react v1.38.0 - ISC
448
- *
449
- * This source code is licensed under the ISC license.
450
- * See the LICENSE file in the root directory of this source tree.
451
- */const Qc=[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]],es=C("refresh-cw",Qc);/**
452
- * @license lucide-react v1.38.0 - ISC
453
- *
454
- * This source code is licensed under the ISC license.
455
- * See the LICENSE file in the root directory of this source tree.
456
- */const ts=[["path",{d:"m17 2 4 4-4 4",key:"nntrym"}],["path",{d:"M3 11v-1a4 4 0 0 1 4-4h14",key:"84bu3i"}],["path",{d:"m7 22-4-4 4-4",key:"1wqhfi"}],["path",{d:"M21 13v1a4 4 0 0 1-4 4H3",key:"1rx37r"}]],ns=C("repeat",ts);/**
457
- * @license lucide-react v1.38.0 - ISC
458
- *
459
- * This source code is licensed under the ISC license.
460
- * See the LICENSE file in the root directory of this source tree.
461
- */const os=[["path",{d:"M14 4a1 1 0 0 1 1-1",key:"dhj8ez"}],["path",{d:"M15 10a1 1 0 0 1-1-1",key:"1mnyi5"}],["path",{d:"M21 4a1 1 0 0 0-1-1",key:"sfs9ap"}],["path",{d:"M21 9a1 1 0 0 1-1 1",key:"mp6qeo"}],["path",{d:"m3 7 3 3 3-3",key:"x25e72"}],["path",{d:"M6 10V5a2 2 0 0 1 2-2h2",key:"15xut4"}],["rect",{x:"3",y:"14",width:"7",height:"7",rx:"1",key:"1bkyp8"}]],rs=C("replace",os);/**
462
- * @license lucide-react v1.38.0 - ISC
463
- *
464
- * This source code is licensed under the ISC license.
465
- * See the LICENSE file in the root directory of this source tree.
466
- */const us=[["path",{d:"M12 15v5s3.03-.55 4-2c1.08-1.62 0-5 0-5",key:"qeys4"}],["path",{d:"M4.5 16.5c-1.5 1.26-2 5-2 5s3.74-.5 5-2c.71-.84.7-2.13-.09-2.91a2.18 2.18 0 0 0-2.91-.09",key:"u4xsad"}],["path",{d:"M9 12a22 22 0 0 1 2-3.95A12.88 12.88 0 0 1 22 2c0 2.72-.78 7.5-6 11a22.4 22.4 0 0 1-4 2z",key:"676m9"}],["path",{d:"M9 12H4s.55-3.03 2-4c1.62-1.08 5 .05 5 .05",key:"92ym6u"}]],as=C("rocket",us);/**
467
- * @license lucide-react v1.38.0 - ISC
468
- *
469
- * This source code is licensed under the ISC license.
470
- * See the LICENSE file in the root directory of this source tree.
471
- */const is=[["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"}]],ls=C("rotate-ccw",is);/**
472
- * @license lucide-react v1.38.0 - ISC
473
- *
474
- * This source code is licensed under the ISC license.
475
- * See the LICENSE file in the root directory of this source tree.
476
- */const cs=[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]],ss=C("rotate-cw",cs);/**
477
- * @license lucide-react v1.38.0 - ISC
478
- *
479
- * This source code is licensed under the ISC license.
480
- * See the LICENSE file in the root directory of this source tree.
481
- */const ds=[["path",{d:"M7 21h10",key:"1b0cd5"}],["path",{d:"M12 21a9 9 0 0 0 9-9H3a9 9 0 0 0 9 9Z",key:"4rw317"}],["path",{d:"M11.38 12a2.4 2.4 0 0 1-.4-4.77 2.4 2.4 0 0 1 3.2-2.77 2.4 2.4 0 0 1 3.47-.63 2.4 2.4 0 0 1 3.37 3.37 2.4 2.4 0 0 1-1.1 3.7 2.51 2.51 0 0 1 .03 1.1",key:"10xrj0"}],["path",{d:"m13 12 4-4",key:"1hckqy"}],["path",{d:"M10.9 7.25A3.99 3.99 0 0 0 4 10c0 .73.2 1.41.54 2",key:"1p4srx"}]],hs=C("salad",ds);/**
482
- * @license lucide-react v1.38.0 - ISC
483
- *
484
- * This source code is licensed under the ISC license.
485
- * See the LICENSE file in the root directory of this source tree.
486
- */const ps=[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}],["path",{d:"m16 16-1.9-1.9",key:"1dq9hf"}]],fs=C("scan-search",ps);/**
487
- * @license lucide-react v1.38.0 - ISC
488
- *
489
- * This source code is licensed under the ISC license.
490
- * See the LICENSE file in the root directory of this source tree.
491
- */const Cs=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["line",{x1:"12",x2:"12",y1:"8",y2:"12",key:"1pkeuh"}],["line",{x1:"12",x2:"12.01",y1:"16",y2:"16",key:"4dfq90"}]],br=C("circle-alert",Cs);/**
492
- * @license lucide-react v1.38.0 - ISC
493
- *
494
- * This source code is licensed under the ISC license.
495
- * See the LICENSE file in the root directory of this source tree.
496
- */const ys=[["path",{d:"M21.801 10A10 10 0 1 1 17 3.335",key:"yps3ct"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]],ms=C("circle-check-big",ys);/**
497
- * @license lucide-react v1.38.0 - ISC
498
- *
499
- * This source code is licensed under the ISC license.
500
- * See the LICENSE file in the root directory of this source tree.
501
- */const gs=[["path",{d:"m21 21-4.34-4.34",key:"14j7rj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}]],_s=C("search",gs);/**
502
- * @license lucide-react v1.38.0 - ISC
503
- *
504
- * This source code is licensed under the ISC license.
505
- * See the LICENSE file in the root directory of this source tree.
506
- */const Es=[["circle",{cx:"6",cy:"6",r:"3",key:"1lh9wr"}],["path",{d:"M8.12 8.12 12 12",key:"1alkpv"}],["path",{d:"M20 4 8.12 15.88",key:"xgtan2"}],["circle",{cx:"6",cy:"18",r:"3",key:"fqmcym"}],["path",{d:"M14.8 14.8 20 20",key:"ptml3r"}]],bs=C("scissors",Es);/**
507
- * @license lucide-react v1.38.0 - ISC
508
- *
509
- * This source code is licensed under the ISC license.
510
- * See the LICENSE file in the root directory of this source tree.
511
- */const As=[["path",{d:"m13.5 8.5-5 5",key:"1cs55j"}],["path",{d:"m8.5 8.5 5 5",key:"a8mexj"}],["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]],ks=C("search-x",As);/**
512
- * @license lucide-react v1.38.0 - ISC
513
- *
514
- * This source code is licensed under the ISC license.
515
- * See the LICENSE file in the root directory of this source tree.
516
- */const ws=[["path",{d:"M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z",key:"1ffxy3"}],["path",{d:"m21.854 2.147-10.94 10.939",key:"12cjpa"}]],Ss=C("send",ws);/**
517
- * @license lucide-react v1.38.0 - ISC
518
- *
519
- * This source code is licensed under the ISC license.
520
- * See the LICENSE file in the root directory of this source tree.
521
- */const Ns=[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]],Ms=C("settings",Ns);/**
522
- * @license lucide-react v1.38.0 - ISC
523
- *
524
- * This source code is licensed under the ISC license.
525
- * See the LICENSE file in the root directory of this source tree.
526
- */const Ts=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]],Bs=C("shield-check",Ts);/**
527
- * @license lucide-react v1.38.0 - ISC
528
- *
529
- * This source code is licensed under the ISC license.
530
- * See the LICENSE file in the root directory of this source tree.
531
- */const Ds=[["path",{d:"m2.05 2.05 1.099-.028a1 1 0 0 1 1.008.815l2.69 14.347A1 1 0 0 0 7.83 18H18",key:"uebgi3"}],["path",{d:"M4.563 5h16.435a1 1 0 0 1 .981 1.204l-1.026 6.226A2 2 0 0 1 18.962 14H6.25",key:"1j7c9p"}],["circle",{cx:"18",cy:"20",r:"2",key:"t9985n"}],["circle",{cx:"8",cy:"20",r:"2",key:"ckkr5m"}]],xs=C("shopping-cart",Ds);/**
532
- * @license lucide-react v1.38.0 - ISC
533
- *
534
- * This source code is licensed under the ISC license.
535
- * See the LICENSE file in the root directory of this source tree.
536
- */const vs=[["path",{d:"m18 14 4 4-4 4",key:"10pe0f"}],["path",{d:"m18 2 4 4-4 4",key:"pucp1d"}],["path",{d:"M2 18h1.973a4 4 0 0 0 3.3-1.7l5.454-8.6a4 4 0 0 1 3.3-1.7H22",key:"1ailkh"}],["path",{d:"M2 6h1.972a4 4 0 0 1 3.6 2.2",key:"km57vx"}],["path",{d:"M22 18h-6.041a4 4 0 0 1-3.3-1.8l-.359-.45",key:"os18l9"}]],Os=C("shuffle",vs);/**
537
- * @license lucide-react v1.38.0 - ISC
538
- *
539
- * This source code is licensed under the ISC license.
540
- * See the LICENSE file in the root directory of this source tree.
541
- */const Ls=[["path",{d:"M17.971 4.285A2 2 0 0 1 21 6v12a2 2 0 0 1-3.029 1.715l-9.997-5.998a2 2 0 0 1-.003-3.432z",key:"15892j"}],["path",{d:"M3 20V4",key:"1ptbpl"}]],Rs=C("skip-back",Ls);/**
542
- * @license lucide-react v1.38.0 - ISC
543
- *
544
- * This source code is licensed under the ISC license.
545
- * See the LICENSE file in the root directory of this source tree.
546
- */const Is=[["path",{d:"M21 4v16",key:"7j8fe9"}],["path",{d:"M6.029 4.285A2 2 0 0 0 3 6v12a2 2 0 0 0 3.029 1.715l9.997-5.998a2 2 0 0 0 .003-3.432z",key:"zs4d6"}]],js=C("skip-forward",Is);/**
547
- * @license lucide-react v1.38.0 - ISC
548
- *
549
- * This source code is licensed under the ISC license.
550
- * See the LICENSE file in the root directory of this source tree.
551
- */const Ps=[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}]],$s=C("square",Ps);/**
552
- * @license lucide-react v1.38.0 - ISC
553
- *
554
- * This source code is licensed under the ISC license.
555
- * See the LICENSE file in the root directory of this source tree.
556
- */const Fs=[["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"}]],Hs=C("star",Fs);/**
557
- * @license lucide-react v1.38.0 - ISC
558
- *
559
- * This source code is licensed under the ISC license.
560
- * See the LICENSE file in the root directory of this source tree.
561
- */const zs=[["path",{d:"M15 21v-5a1 1 0 0 0-1-1h-4a1 1 0 0 0-1 1v5",key:"slp6dd"}],["path",{d:"M17.774 10.31a1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.451 0 1.12 1.12 0 0 0-1.548 0 2.5 2.5 0 0 1-3.452 0 1.12 1.12 0 0 0-1.549 0 2.5 2.5 0 0 1-3.77-3.248l2.889-4.184A2 2 0 0 1 7 2h10a2 2 0 0 1 1.653.873l2.895 4.192a2.5 2.5 0 0 1-3.774 3.244",key:"o0xfot"}],["path",{d:"M4 10.95V19a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2v-8.05",key:"wn3emo"}]],Vs=C("store",zs);/**
562
- * @license lucide-react v1.38.0 - ISC
563
- *
564
- * This source code is licensed under the ISC license.
565
- * See the LICENSE file in the root directory of this source tree.
566
- */const Us=[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 3v1",key:"1asbbs"}],["path",{d:"M12 20v1",key:"1wcdkc"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M20 12h1",key:"1vloll"}],["path",{d:"m18.364 5.636-.707.707",key:"1hakh0"}],["path",{d:"m6.343 17.657-.707.707",key:"18m9nf"}],["path",{d:"m5.636 5.636.707.707",key:"1xv1c5"}],["path",{d:"m17.657 17.657.707.707",key:"vl76zb"}]],Gs=C("sun-medium",Us);/**
567
- * @license lucide-react v1.38.0 - ISC
568
- *
569
- * This source code is licensed under the ISC license.
570
- * See the LICENSE file in the root directory of this source tree.
571
- */const Ys=[["path",{d:"M12 3v18",key:"108xh3"}],["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M3 9h18",key:"1pudct"}],["path",{d:"M3 15h18",key:"5xshup"}]],qs=C("table",Ys);/**
572
- * @license lucide-react v1.38.0 - ISC
573
- *
574
- * This source code is licensed under the ISC license.
575
- * See the LICENSE file in the root directory of this source tree.
576
- */const Ws=[["path",{d:"M9 3H5a2 2 0 0 0-2 2v4m6-6h10a2 2 0 0 1 2 2v4M9 3v18m0 0h10a2 2 0 0 0 2-2V9M9 21H5a2 2 0 0 1-2-2V9m0 0h18",key:"gugj83"}]],Ks=C("table-2",Ws);/**
577
- * @license lucide-react v1.38.0 - ISC
578
- *
579
- * This source code is licensed under the ISC license.
580
- * See the LICENSE file in the root directory of this source tree.
581
- */const Xs=[["path",{d:"M12 19h8",key:"baeox8"}],["path",{d:"m4 17 6-6-6-6",key:"1yngyt"}]],Zs=C("terminal",Xs);/**
582
- * @license lucide-react v1.38.0 - ISC
583
- *
584
- * This source code is licensed under the ISC license.
585
- * See the LICENSE file in the root directory of this source tree.
586
- */const Js=[["path",{d:"M12 20h-1a2 2 0 0 1-2-2 2 2 0 0 1-2 2H6",key:"1528k5"}],["path",{d:"M13 8h7a2 2 0 0 1 2 2v4a2 2 0 0 1-2 2h-7",key:"13ksps"}],["path",{d:"M5 16H4a2 2 0 0 1-2-2v-4a2 2 0 0 1 2-2h1",key:"1n9rhb"}],["path",{d:"M6 4h1a2 2 0 0 1 2 2 2 2 0 0 1 2-2h1",key:"1mj8rg"}],["path",{d:"M9 6v12",key:"velyjx"}]],Qs=C("text-cursor-input",Js);/**
587
- * @license lucide-react v1.38.0 - ISC
588
- *
589
- * This source code is licensed under the ISC license.
590
- * See the LICENSE file in the root directory of this source tree.
591
- */const e1=[["path",{d:"M15 5h6",key:"1pr8yx"}],["path",{d:"M15 12h6",key:"upa0zy"}],["path",{d:"M3 19h18",key:"awlh7x"}],["path",{d:"m3 12 3.553-7.724a.5.5 0 0 1 .894 0L11 12",key:"6lvno8"}],["path",{d:"M3.92 10h6.16",key:"1tl8ex"}]],t1=C("text-initial",e1);/**
592
- * @license lucide-react v1.38.0 - ISC
593
- *
594
- * This source code is licensed under the ISC license.
595
- * See the LICENSE file in the root directory of this source tree.
596
- */const n1=[["path",{d:"M2 9a3 3 0 0 1 0 6v2a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-2a3 3 0 0 1 0-6V7a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2Z",key:"qn84l0"}],["path",{d:"M13 5v2",key:"dyzc3o"}],["path",{d:"M13 17v2",key:"1ont0d"}],["path",{d:"M13 11v2",key:"1wjjxi"}]],o1=C("ticket",n1);/**
597
- * @license lucide-react v1.38.0 - ISC
598
- *
599
- * This source code is licensed under the ISC license.
600
- * See the LICENSE file in the root directory of this source tree.
601
- */const r1=[["path",{d:"M10 11v6",key:"nco0om"}],["path",{d:"M14 11v6",key:"outv1u"}],["path",{d:"M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6",key:"miytrc"}],["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2",key:"e791ji"}]],u1=C("trash-2",r1);/**
602
- * @license lucide-react v1.38.0 - ISC
603
- *
604
- * This source code is licensed under the ISC license.
605
- * See the LICENSE file in the root directory of this source tree.
606
- */const a1=[["path",{d:"M16 7h6v6",key:"box55l"}],["path",{d:"m22 7-8.5 8.5-5-5L2 17",key:"1t1m79"}]],i1=C("trending-up",a1);/**
607
- * @license lucide-react v1.38.0 - ISC
608
- *
609
- * This source code is licensed under the ISC license.
610
- * See the LICENSE file in the root directory of this source tree.
611
- */const l1=[["path",{d:"M10 14.66V17a1 1 0 0 1-1 1 2 2 0 0 0-2 2v2",key:"pwuv1l"}],["path",{d:"M14 14.66V17a1 1 0 0 0 1 1 2 2 0 0 1 2 2v2",key:"1y54w1"}],["path",{d:"M17.916 10H19.5A2.5 2.5 0 0 0 22 7.5V5a1 1 0 0 0-1-1h-3",key:"e30mpu"}],["path",{d:"M4 22h16",key:"57wxv0"}],["path",{d:"M6 9a6 6 0 0 0 12 0V3a1 1 0 0 0-1-1H7a1 1 0 0 0-1 1z",key:"1mhfuq"}],["path",{d:"M6.084 10H4.5A2.5 2.5 0 0 1 2 7.5V5a1 1 0 0 1 1-1h3",key:"i0yafy"}]],c1=C("trophy",l1);/**
612
- * @license lucide-react v1.38.0 - ISC
613
- *
614
- * This source code is licensed under the ISC license.
615
- * See the LICENSE file in the root directory of this source tree.
616
- */const s1=[["path",{d:"m18.84 12.25 1.72-1.71h-.02a5.004 5.004 0 0 0-.12-7.07 5.006 5.006 0 0 0-6.95 0l-1.72 1.71",key:"yqzxt4"}],["path",{d:"m5.17 11.75-1.71 1.71a5.004 5.004 0 0 0 .12 7.07 5.006 5.006 0 0 0 6.95 0l1.71-1.71",key:"4qinb0"}],["line",{x1:"8",x2:"8",y1:"2",y2:"5",key:"1041cp"}],["line",{x1:"2",x2:"5",y1:"8",y2:"8",key:"14m1p5"}],["line",{x1:"16",x2:"16",y1:"19",y2:"22",key:"rzdirn"}],["line",{x1:"19",x2:"22",y1:"16",y2:"16",key:"ox905f"}]],d1=C("unlink",s1);/**
617
- * @license lucide-react v1.38.0 - ISC
618
- *
619
- * This source code is licensed under the ISC license.
620
- * See the LICENSE file in the root directory of this source tree.
621
- */const h1=[["path",{d:"M12 3v12",key:"1x0j5s"}],["path",{d:"m17 8-5-5-5 5",key:"7q97r8"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}]],p1=C("upload",h1);/**
622
- * @license lucide-react v1.38.0 - ISC
623
- *
624
- * This source code is licensed under the ISC license.
625
- * See the LICENSE file in the root directory of this source tree.
626
- */const f1=[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]],C1=C("user",f1);/**
627
- * @license lucide-react v1.38.0 - ISC
628
- *
629
- * This source code is licensed under the ISC license.
630
- * See the LICENSE file in the root directory of this source tree.
631
- */const y1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}],["line",{x1:"19",x2:"19",y1:"8",y2:"14",key:"1bvyxn"}],["line",{x1:"22",x2:"16",y1:"11",y2:"11",key:"1shjgl"}]],m1=C("user-plus",y1);/**
632
- * @license lucide-react v1.38.0 - ISC
633
- *
634
- * This source code is licensed under the ISC license.
635
- * See the LICENSE file in the root directory of this source tree.
636
- */const g1=[["circle",{cx:"12",cy:"8",r:"5",key:"1hypcn"}],["path",{d:"M20 21a8 8 0 0 0-16 0",key:"rfgkzh"}]],_1=C("user-round",g1);/**
637
- * @license lucide-react v1.38.0 - ISC
638
- *
639
- * This source code is licensed under the ISC license.
640
- * See the LICENSE file in the root directory of this source tree.
641
- */const E1=[["path",{d:"M2 21a8 8 0 0 1 13.292-6",key:"bjp14o"}],["circle",{cx:"10",cy:"8",r:"5",key:"o932ke"}],["path",{d:"m16 19 2 2 4-4",key:"1b14m6"}]],b1=C("user-round-check",E1);/**
642
- * @license lucide-react v1.38.0 - ISC
643
- *
644
- * This source code is licensed under the ISC license.
645
- * See the LICENSE file in the root directory of this source tree.
646
- */const A1=[["path",{d:"M16 21v-2a4 4 0 0 0-4-4H6a4 4 0 0 0-4 4v2",key:"1yyitq"}],["path",{d:"M16 3.128a4 4 0 0 1 0 7.744",key:"16gr8j"}],["path",{d:"M22 21v-2a4 4 0 0 0-3-3.87",key:"kshegd"}],["circle",{cx:"9",cy:"7",r:"4",key:"nufk8"}]],k1=C("users",A1);/**
647
- * @license lucide-react v1.38.0 - ISC
648
- *
649
- * This source code is licensed under the ISC license.
650
- * See the LICENSE file in the root directory of this source tree.
651
- */const w1=[["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"}]],S1=C("users-round",w1);/**
652
- * @license lucide-react v1.38.0 - ISC
653
- *
654
- * This source code is licensed under the ISC license.
655
- * See the LICENSE file in the root directory of this source tree.
656
- */const N1=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}],["path",{d:"M16 9a5 5 0 0 1 0 6",key:"1q6k2b"}],["path",{d:"M19.364 18.364a9 9 0 0 0 0-12.728",key:"ijwkga"}]],M1=C("volume-2",N1);/**
657
- * @license lucide-react v1.38.0 - ISC
658
- *
659
- * This source code is licensed under the ISC license.
660
- * See the LICENSE file in the root directory of this source tree.
661
- */const T1=[["path",{d:"M14.7 6.3a1 1 0 0 0 0 1.4l1.6 1.6a1 1 0 0 0 1.4 0l3.106-3.105c.32-.322.863-.22.983.218a6 6 0 0 1-8.259 7.057l-7.91 7.91a1 1 0 0 1-2.999-3l7.91-7.91a6 6 0 0 1 7.057-8.259c.438.12.54.662.219.984z",key:"1ngwbx"}]],B1=C("wrench",T1);/**
662
- * @license lucide-react v1.38.0 - ISC
663
- *
664
- * This source code is licensed under the ISC license.
665
- * See the LICENSE file in the root directory of this source tree.
666
- */const D1=[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]],x1=C("x",D1);/**
667
- * @license lucide-react v1.38.0 - ISC
668
- *
669
- * This source code is licensed under the ISC license.
670
- * See the LICENSE file in the root directory of this source tree.
671
- */const v1=[["path",{d:"M15.914 4a1.5 1.5 0 00-2.474-1.561l-9 9A1.5 1.5 0 005.5 14h4.002a.5.5 0 01.471.666L8.086 20a1.5 1.5 0 002.475 1.56l9-9A1.5 1.5 0 0018.5 10h-3.997a.5.5 0 01-.472-.667z",key:"1v7up4"}]],O1=C("zap",v1);/**
672
- * @license lucide-react v1.38.0 - ISC
673
- *
674
- * This source code is licensed under the ISC license.
675
- * See the LICENSE file in the root directory of this source tree.
676
- */const L1=[["path",{d:"M12 6v16",key:"nqf5sj"}],["path",{d:"m19 13 2-1a9 9 0 0 1-18 0l2 1",key:"y7qv08"}],["path",{d:"M9 11h6",key:"1fldmi"}],["circle",{cx:"12",cy:"4",r:"2",key:"muu5ef"}]],R1=C("anchor",L1);/**
677
- * @license lucide-react v1.38.0 - ISC
678
- *
679
- * This source code is licensed under the ISC license.
680
- * See the LICENSE file in the root directory of this source tree.
681
- */const I1=[["path",{d:"m3 8 4-4 4 4",key:"11wl7u"}],["path",{d:"M7 4v16",key:"1glfcx"}],["path",{d:"M20 8h-5",key:"1vsyxs"}],["path",{d:"M15 10V6.5a2.5 2.5 0 0 1 5 0V10",key:"ag13bf"}],["path",{d:"M15 14h5l-5 6h5",key:"ur5jdg"}]],j1=C("arrow-up-a-z",I1);/**
682
- * @license lucide-react v1.38.0 - ISC
683
- *
684
- * This source code is licensed under the ISC license.
685
- * See the LICENSE file in the root directory of this source tree.
686
- */const P1=[["path",{d:"M5 21v-6",key:"1hz6c0"}],["path",{d:"M12 21V3",key:"1lcnhd"}],["path",{d:"M19 21V9",key:"unv183"}]],$1=C("chart-no-axes-column",P1);/**
687
- * @license lucide-react v1.38.0 - ISC
688
- *
689
- * This source code is licensed under the ISC license.
690
- * See the LICENSE file in the root directory of this source tree.
691
- */const F1=[["path",{d:"M8 2v3",key:"1ioesn"}],["path",{d:"M16 2v3",key:"otl347"}],["rect",{x:"3",y:"3",width:"18",height:"18",rx:"2",key:"h1oib"}],["path",{d:"M3 9h18",key:"1pudct"}]],H1=C("calendar",F1);/**
692
- * @license lucide-react v1.38.0 - ISC
693
- *
694
- * This source code is licensed under the ISC license.
695
- * See the LICENSE file in the root directory of this source tree.
696
- */const z1=[["path",{d:"M19 17h2c.6 0 1-.4 1-1v-3c0-.9-.7-1.7-1.5-1.9C18.7 10.6 16 10 16 10s-1.3-1.4-2.2-2.3c-.5-.4-1.1-.7-1.8-.7H5c-.6 0-1.1.4-1.4.9l-1.4 2.9A3.7 3.7 0 0 0 2 12v4c0 .6.4 1 1 1h2",key:"5owen"}],["circle",{cx:"7",cy:"17",r:"2",key:"u2ysq9"}],["path",{d:"M9 17h6",key:"r8uit2"}],["circle",{cx:"17",cy:"17",r:"2",key:"axvx0g"}]],V1=C("car",z1);/**
697
- * @license lucide-react v1.38.0 - ISC
698
- *
699
- * This source code is licensed under the ISC license.
700
- * See the LICENSE file in the root directory of this source tree.
701
- */const U1=[["path",{d:"M10 2v2",key:"7u0qdc"}],["path",{d:"M14 2v2",key:"6buw04"}],["path",{d:"M16 8a1 1 0 0 1 1 1v8a4 4 0 0 1-4 4H7a4 4 0 0 1-4-4V9a1 1 0 0 1 1-1h14a4 4 0 1 1 0 8h-1",key:"pwadti"}],["path",{d:"M6 2v2",key:"colzsn"}]],G1=C("coffee",U1);/**
702
- * @license lucide-react v1.38.0 - ISC
703
- *
704
- * This source code is licensed under the ISC license.
705
- * See the LICENSE file in the root directory of this source tree.
706
- */const Y1=[["line",{x1:"6",x2:"10",y1:"11",y2:"11",key:"1gktln"}],["line",{x1:"8",x2:"8",y1:"9",y2:"13",key:"qnk9ow"}],["line",{x1:"15",x2:"15.01",y1:"12",y2:"12",key:"krot7o"}],["line",{x1:"18",x2:"18.01",y1:"10",y2:"10",key:"1lcuu1"}],["path",{d:"M17.32 5H6.68a4 4 0 0 0-3.978 3.59c-.006.052-.01.101-.017.152C2.604 9.416 2 14.456 2 16a3 3 0 0 0 3 3c1 0 1.5-.5 2-1l1.414-1.414A2 2 0 0 1 9.828 16h4.344a2 2 0 0 1 1.414.586L17 18c.5.5 1 1 2 1a3 3 0 0 0 3-3c0-1.545-.604-6.584-.685-7.258-.007-.05-.011-.1-.017-.151A4 4 0 0 0 17.32 5z",key:"mfqc10"}]],q1=C("gamepad-2",Y1);/**
707
- * @license lucide-react v1.38.0 - ISC
708
- *
709
- * This source code is licensed under the ISC license.
710
- * See the LICENSE file in the root directory of this source tree.
711
- */const W1=[["polyline",{points:"22 12 16 12 14 15 10 15 8 12 2 12",key:"o97t9d"}],["path",{d:"M5.45 5.11 2 12v6a2 2 0 0 0 2 2h16a2 2 0 0 0 2-2v-6l-3.45-6.89A2 2 0 0 0 16.76 4H7.24a2 2 0 0 0-1.79 1.11z",key:"oot6mr"}]],K1=C("inbox",W1);/**
712
- * @license lucide-react v1.38.0 - ISC
713
- *
714
- * This source code is licensed under the ISC license.
715
- * See the LICENSE file in the root directory of this source tree.
716
- */const X1=[["path",{d:"M8 5h13",key:"1pao27"}],["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 19h8",key:"c3s6r1"}],["path",{d:"M3 10a2 2 0 0 0 2 2h3",key:"1npucw"}],["path",{d:"M3 5v12a2 2 0 0 0 2 2h3",key:"x1gjn2"}]],Z1=C("list-tree",X1);/**
717
- * @license lucide-react v1.38.0 - ISC
718
- *
719
- * This source code is licensed under the ISC license.
720
- * See the LICENSE file in the root directory of this source tree.
721
- */const J1=[["path",{d:"M22 17a2 2 0 0 1-2 2H6.828a2 2 0 0 0-1.414.586l-2.202 2.202A.71.71 0 0 1 2 21.286V5a2 2 0 0 1 2-2h16a2 2 0 0 1 2 2z",key:"18887p"}],["path",{d:"M12 11h.01",key:"z322tv"}],["path",{d:"M16 11h.01",key:"xkw8gn"}],["path",{d:"M8 11h.01",key:"1dfujw"}]],Q1=C("message-square-more",J1);/**
722
- * @license lucide-react v1.38.0 - ISC
723
- *
724
- * This source code is licensed under the ISC license.
725
- * See the LICENSE file in the root directory of this source tree.
726
- */const e0=[["path",{d:"M5 12h14",key:"1ays0h"}]],t0=C("minus",e0);/**
727
- * @license lucide-react v1.38.0 - ISC
728
- *
729
- * This source code is licensed under the ISC license.
730
- * See the LICENSE file in the root directory of this source tree.
731
- */const n0=[["circle",{cx:"18",cy:"5",r:"3",key:"gq8acd"}],["circle",{cx:"6",cy:"12",r:"3",key:"w7nqdw"}],["circle",{cx:"18",cy:"19",r:"3",key:"1xt0gg"}],["line",{x1:"8.59",x2:"15.42",y1:"13.51",y2:"17.49",key:"47mynk"}],["line",{x1:"15.41",x2:"8.59",y1:"6.51",y2:"10.49",key:"1n3mei"}]],o0=C("share-2",n0);/**
732
- * @license lucide-react v1.38.0 - ISC
733
- *
734
- * This source code is licensed under the ISC license.
735
- * See the LICENSE file in the root directory of this source tree.
736
- */const r0=[["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"}],["path",{d:"M22 4h-4",key:"gwowj6"}],["circle",{cx:"4",cy:"20",r:"2",key:"6kqj1y"}]],u0=C("sparkles",r0);/**
737
- * @license lucide-react v1.38.0 - ISC
738
- *
739
- * This source code is licensed under the ISC license.
740
- * See the LICENSE file in the root directory of this source tree.
741
- */const a0=[["path",{d:"M12 4v16",key:"1654pz"}],["path",{d:"M4 7V5a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v2",key:"e0r10z"}],["path",{d:"M9 20h6",key:"s66wpe"}]],i0=C("type",a0);/**
742
- * @license lucide-react v1.38.0 - ISC
743
- *
744
- * This source code is licensed under the ISC license.
745
- * See the LICENSE file in the root directory of this source tree.
746
- */const l0=[["path",{d:"M11 4.702a.705.705 0 0 0-1.203-.498L6.413 7.587A1.4 1.4 0 0 1 5.416 8H3a1 1 0 0 0-1 1v6a1 1 0 0 0 1 1h2.416a1.4 1.4 0 0 1 .997.413l3.383 3.384A.705.705 0 0 0 11 19.298z",key:"uqj9uw"}]],c0=C("volume",l0);/**
747
- * @license lucide-react v1.38.0 - ISC
748
- *
749
- * This source code is licensed under the ISC license.
750
- * See the LICENSE file in the root directory of this source tree.
751
- */const s0=[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]],d0=C("chevron-down",s0);/**
752
- * @license lucide-react v1.38.0 - ISC
753
- *
754
- * This source code is licensed under the ISC license.
755
- * See the LICENSE file in the root directory of this source tree.
756
- */const h0=[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]],p0=C("chevron-up",h0);/**
757
- * @license lucide-react v1.38.0 - ISC
758
- *
759
- * This source code is licensed under the ISC license.
760
- * See the LICENSE file in the root directory of this source tree.
761
- */const f0=[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}]],C0=C("circle",f0);/**
762
- * @license lucide-react v1.38.0 - ISC
763
- *
764
- * This source code is licensed under the ISC license.
765
- * See the LICENSE file in the root directory of this source tree.
766
- */const y0=[["path",{d:"M13.73 4a2 2 0 0 0-3.46 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3Z",key:"14u9p9"}]],m0=C("triangle",y0);/**
767
- * @license lucide-react v1.38.0 - ISC
768
- *
769
- * This source code is licensed under the ISC license.
770
- * See the LICENSE file in the root directory of this source tree.
771
- */const g0=[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]],_0=C("menu",g0);/**
772
- * @license lucide-react v1.38.0 - ISC
773
- *
774
- * This source code is licensed under the ISC license.
775
- * See the LICENSE file in the root directory of this source tree.
776
- */const E0=[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]],b0=C("moon",E0);/**
777
- * @license lucide-react v1.38.0 - ISC
778
- *
779
- * This source code is licensed under the ISC license.
780
- * See the LICENSE file in the root directory of this source tree.
781
- */const A0=[["path",{d:"M15 5.88 14 10h5.83a2 2 0 0 1 1.92 2.56l-2.33 8A2 2 0 0 1 17.5 22H4a2 2 0 0 1-2-2v-8a2 2 0 0 1 2-2h2.76a2 2 0 0 0 1.79-1.11L12 2a3.13 3.13 0 0 1 3 3.88Z",key:"emmmcr"}],["path",{d:"M7 10v12",key:"1qc93n"}]],k0=C("thumbs-up",A0),Ar={"alert-triangle":_r,"align-start-vertical":ti,anchor:R1,"arrow-down":oi,"arrow-left":ui,"arrow-right":ii,"arrow-right-left":ci,"arrow-up-a-z":j1,"audio-lines":di,baby:pi,ban:Ci,"bar-chart-2":$1,bell:mi,"book-marked":_i,"book-open":bi,"bow-arrow":ki,braces:Si,bug:Mi,calendar:H1,"calendar-check":Bi,"calendar-days":xi,camera:Oi,car:V1,"chart-column":Ri,"chart-line":ji,"chart-pie":$i,check:Hi,"chevron-down":d0,"chevron-left":Vi,"chevron-right":Gi,"chevron-up":p0,circle:C0,"clipboard-list":qi,coffee:G1,combine:Ki,copy:Zi,"credit-card":Qi,database:tl,diff:ol,download:ul,ear:il,edit:cl,"edit-2":dl,"edit-3":pl,ellipsis:Er,eraser:yl,"external-link":gl,eye:El,"file-text":Al,"flip-horizontal":wl,"folder-open":Nl,"folder-plus":Tl,gamepad:Dl,"gamepad-2":q1,gavel:vl,"git-merge":Ll,globe:Il,headphones:Pl,heart:Fl,home:zl,inbox:K1,info:Ul,"key-round":Yl,landmark:Wl,layers:Xl,"layout-dashboard":Jl,leaf:ec,lightbulb:nc,link:rc,"link-2":ac,"link-2-off":lc,list:sc,"list-checks":hc,"list-ordered":fc,"list-tree":Z1,loader:yc,"log-out":gc,mail:Ec,"map-pin":Ac,menu:_0,"message-circle":wc,"message-circle-question-mark":Nc,"message-square":Tc,"message-square-more":Q1,"message-square-text":Dc,minus:t0,"minus-circle":vc,moon:b0,"more-horizontal":Er,package:Lc,palette:Ic,"party-popper":Pc,pause:Fc,pencil:zc,phone:Uc,play:Yc,"play-circle":Wc,plus:Xc,printer:Jc,"refresh-cw":es,repeat:ns,replace:rs,rocket:as,"rotate-ccw":ls,"rotate-cw":ss,salad:hs,"scan-search":fs,search:_s,"circle-alert":br,"alert-circle":br,"check-circle":ms,scissors:bs,"search-x":ks,send:Ss,settings:Ms,"share-2":o0,"shield-check":Bs,"shopping-cart":xs,shuffle:Os,"skip-back":Rs,"skip-forward":js,sparkles:u0,square:$s,star:Hs,store:Vs,"sun-medium":Gs,table:qs,"table-2":Ks,terminal:Zs,"text-cursor-input":Qs,"text-initial":t1,"thumbs-up":k0,ticket:o1,triangle:m0,"trash-2":u1,"trending-up":i1,"triangle-alert":_r,trophy:c1,type:i0,unlink:d1,upload:p1,user:C1,"user-plus":m1,"user-round":_1,"user-round-check":b1,users:k1,"users-round":S1,volume:c0,"volume-2":M1,wrench:B1,x:x1,zap:O1};function w0(e){return Ar[e]??null}const kr=new Set,S0=(()=>{try{if(import.meta.env?.DEV)return!0}catch{}try{const e=globalThis;return e.process!=null&&e.process.env?.NODE_ENV!=="production"}catch{return!1}})();function N0(e){return S0&&!(e in Ar)&&!kr.has(e)&&(kr.add(e),console.warn(`[ihabdevteam-core] lucide \uC544\uC774\uCF58 '${e}' \uC774 \uC815\uC801 \uBAA9\uB85D\uC5D0 \uC5C6\uC5B4 \uB80C\uB354\uB418\uC9C0 \uC54A\uC2B5\uB2C8\uB2E4. utils/lucideIconSet.ts \uC758 STATIC_LUCIDE_ICONS \uC5D0 \uCD94\uAC00\uD558\uC138\uC694.`)),Promise.resolve(null)}const M0=e=>e.replace(/([A-Z]+)([A-Z][a-z])/g,"$1-$2").replace(/([a-z0-9])([A-Z])/g,"$1-$2").replace(/([A-Za-z])([0-9])/g,"$1-$2").replace(/[_ ]+/g,"-").toLowerCase();function T0(e){const t=e.toLowerCase();if(t.startsWith("http://")||t.startsWith("https://")||t.startsWith("data:")||e.includes("/assets/"))return null;const n=(e.split("/").pop()||"").replace(/\.svg$/,"");return n?M0(n):null}const wr=new Map;function B0(e){const t=typeof e=="string"?T0(e):null,n=t?w0(t)??wr.get(t)??null:null,[o,r]=T(null);return X(()=>{if(!t||n)return;let u=!1;return N0(t).then(i=>{wr.set(t,i),u||r(i)}),()=>{u=!0}},[t,n]),n??o}/*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */function Sr(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,o=Array(t);n<t;n++)o[n]=e[n];return o}function D0(e){if(Array.isArray(e))return e}function x0(e,t){var n=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(n!=null){var o,r,u,i,l=[],c=!0,f=!1;try{if(u=(n=n.call(e)).next,t!==0)for(;!(c=(o=u.call(n)).done)&&(l.push(o.value),l.length!==t);c=!0);}catch(h){f=!0,r=h}finally{try{if(!c&&n.return!=null&&(i=n.return(),Object(i)!==i))return}finally{if(f)throw r}}return l}}function v0(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
782
- In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function O0(e,t){return D0(e)||x0(e,t)||L0(e,t)||v0()}function L0(e,t){if(e){if(typeof e=="string")return Sr(e,t);var n={}.toString.call(e).slice(8,-1);return n==="Object"&&e.constructor&&(n=e.constructor.name),n==="Map"||n==="Set"?Array.from(e):n==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Sr(e,t):void 0}}const Nr=Object.entries,Mr=Object.setPrototypeOf,R0=Object.isFrozen,I0=Object.getPrototypeOf,j0=Object.getOwnPropertyDescriptor;let me=Object.freeze,Ee=Object.seal,jt=Object.create,Tr=typeof Reflect<"u"&&Reflect,no=Tr.apply,oo=Tr.construct;me||(me=function(t){return t}),Ee||(Ee=function(t){return t}),no||(no=function(t,n){for(var o=arguments.length,r=new Array(o>2?o-2:0),u=2;u<o;u++)r[u-2]=arguments[u];return t.apply(n,r)}),oo||(oo=function(t){for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return new t(...o)});const Mt=Ce(Array.prototype.forEach),P0=Ce(Array.prototype.lastIndexOf),Br=Ce(Array.prototype.pop),en=Ce(Array.prototype.push),$0=Ce(Array.prototype.splice),Pt=Array.isArray,tn=Ce(String.prototype.toLowerCase),ro=Ce(String.prototype.toString),Dr=Ce(String.prototype.match),nn=Ce(String.prototype.replace),xr=Ce(String.prototype.indexOf),F0=Ce(String.prototype.trim),H0=Ce(Number.prototype.toString),z0=Ce(Boolean.prototype.toString),vr=typeof BigInt>"u"?null:Ce(BigInt.prototype.toString),Or=typeof Symbol>"u"?null:Ce(Symbol.prototype.toString),Re=Ce(Object.prototype.hasOwnProperty),on=Ce(Object.prototype.toString),Te=Ce(RegExp.prototype.test),Tt=V0(TypeError);function Ce(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,o=new Array(n>1?n-1:0),r=1;r<n;r++)o[r-1]=arguments[r];return no(e,t,o)}}function V0(e){return function(){for(var t=arguments.length,n=new Array(t),o=0;o<t;o++)n[o]=arguments[o];return oo(e,n)}}function Q(e,t){let n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:tn;if(Mr&&Mr(e,null),!Pt(t))return e;let o=t.length;for(;o--;){let r=t[o];if(typeof r=="string"){const u=n(r);u!==r&&(R0(t)||(t[o]=u),r=u)}e[r]=!0}return e}function U0(e){for(let t=0;t<e.length;t++)Re(e,t)||(e[t]=null);return e}function Fe(e){const t=jt(null);for(const o of Nr(e)){var n=O0(o,2);const r=n[0],u=n[1];Re(e,r)&&(Pt(u)?t[r]=U0(u):u&&typeof u=="object"&&u.constructor===Object?t[r]=Fe(u):t[r]=u)}return t}function G0(e){switch(typeof e){case"string":return e;case"number":return H0(e);case"boolean":return z0(e);case"bigint":return vr?vr(e):"0";case"symbol":return Or?Or(e):"Symbol()";case"undefined":return on(e);case"function":case"object":{if(e===null)return on(e);const t=e,n=Je(t,"toString");if(typeof n=="function"){const o=n(t);return typeof o=="string"?o:on(o)}return on(e)}default:return on(e)}}function Je(e,t){for(;e!==null;){const o=j0(e,t);if(o){if(o.get)return Ce(o.get);if(typeof o.value=="function")return Ce(o.value)}e=I0(e)}function n(){return null}return n}function Y0(e){try{return Te(e,""),!0}catch{return!1}}const Lr=me(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","search","section","select","shadow","slot","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),uo=me(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),ao=me(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),q0=me(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),io=me(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),W0=me(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rr=me(["#text"]),Ir=me(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),lo=me(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dominant-baseline","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","mask-type","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","pointer-events","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-orientation","text-rendering","textlength","type","u1","u2","unicode","values","vector-effect","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),jr=me(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),Bn=me(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),K0=Ee(/{{[\w\W]*|^[\w\W]*}}/g),X0=Ee(/<%[\w\W]*|^[\w\W]*%>/g),Z0=Ee(/\${[\w\W]*/g),J0=Ee(/^data-[\-\w.\u00B7-\uFFFF]+$/),Q0=Ee(/^aria-[\-\w]+$/),Pr=Ee(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),ed=Ee(/^(?:\w+script|data):/i),td=Ee(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),nd=Ee(/^html$/i),od=Ee(/^[a-z][.\w]*(-[.\w]+)+$/i),$r=Ee(/<[/\w!]/g),Fr=Ee(/<[/\w]/g),rd=Ee(/<\/no(script|embed|frames)/i),ud=Ee(/\/>/i),He={element:1,attribute:2,text:3,cdataSection:4,entityReference:5,entityNode:6,processingInstruction:7,comment:8,document:9,documentType:10,documentFragment:11,notation:12},Hr=["style","script","xmp","iframe","noembed","noframes","plaintext","noscript"],ad=me(Q({},Hr)),id=(function(){const e={};return Mt(Hr,t=>{e[t]=Ee(new RegExp("</"+t+"(?=[\\t\\n\\f\\r />])","i"))}),me(e)})(),ld=function(){return typeof window>"u"?null:window},cd=function(t,n){if(typeof t!="object"||typeof t.createPolicy!="function")return null;let o=null;const r="data-tt-policy-suffix";n&&n.hasAttribute(r)&&(o=n.getAttribute(r));const u="dompurify"+(o?"#"+o:"");try{return t.createPolicy(u,{createHTML(i){return i},createScriptURL(i){return i}})}catch{return console.warn("TrustedTypes policy "+u+" could not be created."),null}},zr=function(){return{afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},mt=function(t,n,o,r){return Re(t,n)&&Pt(t[n])?Q(r.base?Fe(r.base):{},t[n],r.transform):o},co=function(t,n,o){const r=Re(t,n)?t[n]:void 0;return r&&typeof r=="object"?Fe(r):o()};function Vr(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:ld();const t=N=>Vr(N);if(t.version="3.4.14",t.removed=[],!e||!e.document||e.document.nodeType!==He.document||!e.Element)return t.isSupported=!1,t;let n=e.document;const o=n,r=o.currentScript;e.DocumentFragment;const u=e.HTMLTemplateElement,i=e.Node,l=e.Element,c=e.NodeFilter,f=e.NamedNodeMap;f===void 0&&(e.NamedNodeMap||e.MozNamedAttrMap),e.HTMLFormElement;const h=e.DOMParser,p=e.trustedTypes,s=l.prototype,y=Je(s,"cloneNode"),A=Je(s,"remove"),w=Je(s,"nextSibling"),_=Je(s,"childNodes"),m=Je(s,"parentNode"),b=Je(s,"shadowRoot"),k=Je(s,"attributes"),D=i&&i.prototype?Je(i.prototype,"nodeType"):null,L=i&&i.prototype?Je(i.prototype,"nodeName"):null,x=i&&i.prototype?Je(i.prototype,"ownerDocument"):null,I=function(a){return D?D(a):a.nodeType},$=function(a){return L?L(a):a.nodeName};if(typeof u=="function"){const N=n.createElement("template");N.content&&N.content.ownerDocument&&(n=N.content.ownerDocument)}let U,P="",ee,G=!1,W=0;const F=function(){if(W>0)throw Tt('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},B=function(a){F(),W++;try{return U.createHTML(a)}finally{W--}},v=function(a){F(),W++;try{return U.createScriptURL(a)}finally{W--}},ge=function(){return G||(ee=cd(p,r),G=!0),ee},J=n,te=J.implementation,S=J.createNodeIterator,j=J.createDocumentFragment,le=J.getElementsByTagName,oe=o.importNode;let Y=zr();t.isSupported=typeof Nr=="function"&&typeof m=="function"&&te&&te.createHTMLDocument!==void 0;const Be=K0,Z=X0,fe=Z0,H=J0,Ye=Q0,qe=ed,ze=td,at=od;let We=Pr,ne=null;const it=Q({},[...Lr,...uo,...ao,...io,...Rr]);let ue=null;const _t=Q({},[...Ir,...lo,...jr,...Bn]);let ye=Object.seal(jt(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),g=null,z=null;const O=Object.seal(jt(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let K=!0,ce=!0,Ve=!1,Ie=!0,ke=!1,De=!0,we=!1,Et=!1,Qe=null,lt=null,Ke=!1,Ue=!1,ft=!1,bt=!1,Ft=!0,_e=!1;const Bt="user-content-";let Dt=!0,ct=!1,Ct={},et=null;const ae=Q({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let tt=null;const Ht=Q({},["audio","video","img","source","image","track"]);let xt=null;const Ao=Q({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pn="http://www.w3.org/1998/Math/MathML",fn="http://www.w3.org/2000/svg",nt="http://www.w3.org/1999/xhtml";let vt=nt,jn=!1,Pn=null;const du=Q({},[pn,fn,nt],ro),ko=me(["mi","mo","mn","ms","mtext"]);let $n=Q({},ko);const wo=me(["annotation-xml"]);let Fn=Q({},wo);const hu=Q({},["title","style","font","a","script"]);let zt=null;const pu=["application/xhtml+xml","text/html"],fu="text/html";let pe=null,Ot=null;const Cu=n.createElement("form"),So=function(a){return a instanceof RegExp||a instanceof Function},Hn=function(){let a=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(Ot&&Ot===a)return;(!a||typeof a!="object")&&(a={}),a=Fe(a),zt=pu.indexOf(a.PARSER_MEDIA_TYPE)===-1?fu:a.PARSER_MEDIA_TYPE,pe=zt==="application/xhtml+xml"?ro:tn,ne=mt(a,"ALLOWED_TAGS",it,{transform:pe}),ue=mt(a,"ALLOWED_ATTR",_t,{transform:pe}),Pn=mt(a,"ALLOWED_NAMESPACES",du,{transform:ro}),xt=mt(a,"ADD_URI_SAFE_ATTR",Ao,{transform:pe,base:Ao}),tt=mt(a,"ADD_DATA_URI_TAGS",Ht,{transform:pe,base:Ht}),et=mt(a,"FORBID_CONTENTS",ae,{transform:pe}),g=mt(a,"FORBID_TAGS",Fe({}),{transform:pe}),z=mt(a,"FORBID_ATTR",Fe({}),{transform:pe}),Ct=Re(a,"USE_PROFILES")?a.USE_PROFILES&&typeof a.USE_PROFILES=="object"?Fe(a.USE_PROFILES):a.USE_PROFILES:!1,K=a.ALLOW_ARIA_ATTR!==!1,ce=a.ALLOW_DATA_ATTR!==!1,Ve=a.ALLOW_UNKNOWN_PROTOCOLS||!1,Ie=a.ALLOW_SELF_CLOSE_IN_ATTR!==!1,ke=a.SAFE_FOR_TEMPLATES||!1,De=a.SAFE_FOR_XML!==!1,we=a.WHOLE_DOCUMENT||!1,Ue=a.RETURN_DOM||!1,ft=a.RETURN_DOM_FRAGMENT||!1,bt=a.RETURN_TRUSTED_TYPE||!1,Ke=a.FORCE_BODY||!1,Ft=a.SANITIZE_DOM!==!1,_e=a.SANITIZE_NAMED_PROPS||!1,Dt=a.KEEP_CONTENT!==!1,ct=a.IN_PLACE||!1,We=Y0(a.ALLOWED_URI_REGEXP)?a.ALLOWED_URI_REGEXP:Pr,vt=typeof a.NAMESPACE=="string"?a.NAMESPACE:nt,$n=co(a,"MATHML_TEXT_INTEGRATION_POINTS",()=>Q({},ko)),Fn=co(a,"HTML_INTEGRATION_POINTS",()=>Q({},wo));const d=co(a,"CUSTOM_ELEMENT_HANDLING",()=>jt(null));if(ye=jt(null),Re(d,"tagNameCheck")&&So(d.tagNameCheck)&&(ye.tagNameCheck=d.tagNameCheck),Re(d,"attributeNameCheck")&&So(d.attributeNameCheck)&&(ye.attributeNameCheck=d.attributeNameCheck),Re(d,"allowCustomizedBuiltInElements")&&typeof d.allowCustomizedBuiltInElements=="boolean"&&(ye.allowCustomizedBuiltInElements=d.allowCustomizedBuiltInElements),Ee(ye),ke&&(ce=!1),ft&&(Ue=!0),Ct&&(ne=Q({},Rr),ue=jt(null),Ct.html===!0&&(Q(ne,Lr),Q(ue,Ir)),Ct.svg===!0&&(Q(ne,uo),Q(ue,lo),Q(ue,Bn)),Ct.svgFilters===!0&&(Q(ne,ao),Q(ue,lo),Q(ue,Bn)),Ct.mathMl===!0&&(Q(ne,io),Q(ue,jr),Q(ue,Bn))),O.tagCheck=null,O.attributeCheck=null,Re(a,"ADD_TAGS")&&(typeof a.ADD_TAGS=="function"?O.tagCheck=a.ADD_TAGS:Pt(a.ADD_TAGS)&&(ne===it&&(ne=Fe(ne)),Q(ne,a.ADD_TAGS,pe))),Re(a,"ADD_ATTR")&&(typeof a.ADD_ATTR=="function"?O.attributeCheck=a.ADD_ATTR:Pt(a.ADD_ATTR)&&(ue===_t&&(ue=Fe(ue)),Q(ue,a.ADD_ATTR,pe))),Re(a,"ADD_FORBID_CONTENTS")&&Pt(a.ADD_FORBID_CONTENTS)&&(et===ae&&(et=Fe(et)),Q(et,a.ADD_FORBID_CONTENTS,pe)),Dt&&(ne["#text"]=!0),we&&Q(ne,["html","head","body"]),ne.table&&(Q(ne,["tbody"]),delete g.tbody),a.TRUSTED_TYPES_POLICY){if(typeof a.TRUSTED_TYPES_POLICY.createHTML!="function")throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if(typeof a.TRUSTED_TYPES_POLICY.createScriptURL!="function")throw Tt('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const E=U;U=a.TRUSTED_TYPES_POLICY;try{P=B("")}catch(M){throw U=E,M}}else a.TRUSTED_TYPES_POLICY===null?(U=void 0,P=""):(U===void 0&&(U=ge()),U&&typeof P=="string"&&(P=B("")));me&&me(a),Ot=a},No=Q({},[...uo,...ao,...q0]),Mo=Q({},[...io,...W0]),yu=function(a,d,E){return d.namespaceURI===nt?a==="svg":d.namespaceURI===pn?a==="svg"&&(E==="annotation-xml"||$n[E]):!!No[a]},mu=function(a,d,E){return d.namespaceURI===nt?a==="math":d.namespaceURI===fn?a==="math"&&Fn[E]:!!Mo[a]},gu=function(a,d,E){return d.namespaceURI===fn&&!Fn[E]||d.namespaceURI===pn&&!$n[E]?!1:!Mo[a]&&(hu[a]||!No[a])},_u=function(a){let d=m(a);(!d||!d.tagName)&&(d={namespaceURI:vt,tagName:"template"});const E=tn(a.tagName),M=tn(d.tagName);return Pn[a.namespaceURI]?a.namespaceURI===fn?yu(E,d,M):a.namespaceURI===pn?mu(E,d,M):a.namespaceURI===nt?gu(E,d,M):!!(zt==="application/xhtml+xml"&&Pn[a.namespaceURI]):!1},yt=function(a){en(t.removed,{element:a});try{m(a).removeChild(a)}catch{if(A(a),!m(a))throw Tt("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},To=function(a,d,E){try{a.removeAttributeNode(d)}catch{try{a.removeAttribute(E)}catch{}}},Cn=function(a){yn(a);const d=_(a);if(d){const M=[];Mt(d,R=>{en(M,R)}),Mt(M,R=>{try{A(R)}catch{}})}const E=k(a);if(E)for(let M=E.length-1;M>=0;--M){const R=E[M],V=R&&R.name;typeof V=="string"&&To(a,R,V)}},At=function(a,d,E){if(!E)try{E=d.getAttributeNode(a)}catch{E=null}en(t.removed,{attribute:E||null,from:d});try{E?d.removeAttributeNode(E):d.removeAttribute(a)}catch{try{d.removeAttribute(a)}catch{}}if(a==="is")if(Ue||ft)try{yt(d)}catch{}else try{d.setAttribute(a,"")}catch{}},Eu=function(a){const d=k(a);if(d)for(let E=d.length-1;E>=0;--E){const M=d[E],R=M&&M.name;typeof R!="string"||ue[pe(R)]||To(a,M,R)}},yn=function(a){const d=[a];for(;d.length>0;){const E=d.pop();I(E)===He.element&&Eu(E);const R=_(E);if(R)for(let V=R.length-1;V>=0;--V)d.push(R[V])}},Bo=function(a,d){return De?a==="patchsrc"?!0:a==="for"&&d!=="label"&&d!=="output":!1},bu=function(a){if(!De)return;const d=[a];for(;d.length>0;){const E=d.pop(),M=I(E);if(M===He.processingInstruction||M===He.comment&&Te(Fr,E.data)){try{A(E)}catch{}continue}if(M===He.element){const V=E,se=pe($(E));try{V.hasAttribute&&V.hasAttribute("patchsrc")&&V.removeAttribute("patchsrc"),V.hasAttribute&&V.hasAttribute("for")&&Bo("for",se)&&V.removeAttribute("for")}catch{}}const R=_(E);if(R)for(let V=R.length-1;V>=0;--V)d.push(R[V])}},Do=function(a){let d=null,E=null;if(Ke)a="<remove></remove>"+a;else{const V=Dr(a,/^[\r\n\t ]+/);E=V&&V[0]}zt==="application/xhtml+xml"&&vt===nt&&(a='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+a+"</body></html>");const M=U?B(a):a;if(vt===nt)try{d=new h().parseFromString(M,zt)}catch{}if(!d||!d.documentElement){d=te.createDocument(vt,"template",null);try{d.documentElement.innerHTML=jn?P:M}catch{}}const R=d.body||d.documentElement;return a&&E&&R.insertBefore(n.createTextNode(E),R.childNodes[0]||null),vt===nt?le.call(d,we?"html":"body")[0]:we?d.documentElement:R},xo=function(a){const d=x?x(a):a.ownerDocument;return S.call(d||a,a,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},mn=function(a){return a=nn(a,Be," "),a=nn(a,Z," "),a=nn(a,fe," "),a},zn=function(a){var d;a.normalize();const E=x?x(a):a.ownerDocument,M=S.call(E||a,a,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let R=M.nextNode();for(;R;)R.data=mn(R.data),R=M.nextNode();const V=(d=a.querySelectorAll)===null||d===void 0?void 0:d.call(a,"template");V&&Mt(V,se=>{Lt(se.content)&&zn(se.content)})},gn=function(a){const d=L?L(a):null;return typeof d!="string"||pe(d)!=="form"?!1:typeof a.nodeName!="string"||typeof a.textContent!="string"||typeof a.removeChild!="function"||a.attributes!==k(a)||typeof a.removeAttribute!="function"||typeof a.setAttribute!="function"||typeof a.namespaceURI!="string"||typeof a.insertBefore!="function"||typeof a.hasChildNodes!="function"||a.nodeType!==D(a)||a.childNodes!==_(a)},Lt=function(a){if(!D||typeof a!="object"||a===null)return!1;try{return D(a)===He.documentFragment}catch{return!1}},Vt=function(a){if(!D||typeof a!="object"||a===null)return!1;try{return typeof D(a)=="number"}catch{return!1}};function ot(N,a,d){N.length!==0&&Mt(N,E=>{E.call(t,a,d,Ot)})}const Au=function(a,d){return!!(De&&a.hasChildNodes()&&!Vt(a.firstElementChild)&&Te($r,a.textContent)&&Te($r,a.innerHTML)||De&&a.namespaceURI===nt&&ad[d]&&(Vt(a.firstElementChild)||typeof a.textContent=="string"&&Te(id[d],a.textContent))||a.nodeType===He.processingInstruction||De&&a.nodeType===He.comment&&Te(Fr,a.data))},_n=function(a,d){if(a instanceof RegExp)return Te(a,d);if(a instanceof Function){for(var E=arguments.length,M=new Array(E>2?E-2:0),R=2;R<E;R++)M[R-2]=arguments[R];return!!a(d,...M)}return!1},ku=function(a,d,E){if(!g[d]&&Io(d)&&_n(ye.tagNameCheck,d))return!1;if(Dt&&!et[d]){const M=m(a),R=_(a);if(R&&M){const V=R.length;for(let se=V-1;se>=0;--se){const he=a===E?y(R[se],!0):R[se];M.insertBefore(he,w(a))}}}return yt(a),!0},vo=function(a,d,E,M){return a.length===0?d:d===E||d===M?Fe(d):d},Oo=function(a,d){return a===d||m(a)!==null?!1:(ct&&yn(a),!0)},Lo=function(a,d){if(ot(Y.beforeSanitizeElements,a,null),Oo(a,d))return!0;if(gn(a))return yt(a),!0;const E=pe($(a));if(ne=vo(Y.uponSanitizeElement,ne,it,Qe),ot(Y.uponSanitizeElement,a,{tagName:E,allowedTags:ne}),Oo(a,d))return!0;if(Au(a,E))return yt(a),!0;if(g[E]||!(O.tagCheck instanceof Function&&O.tagCheck(E))&&!ne[E]){const R=ku(a,E,d);return R===!1&&ot(Y.afterSanitizeElements,a,null),R}if(I(a)===He.element&&!_u(a)||(E==="noscript"||E==="noembed"||E==="noframes")&&Te(rd,a.innerHTML))return yt(a),!0;if(ke&&a.nodeType===He.text){const R=mn(a.textContent);a.textContent!==R&&(en(t.removed,{element:a.cloneNode()}),a.textContent=R)}return ot(Y.afterSanitizeElements,a,null),!1},Ro=function(a,d,E){if(z[d]||Bo(d,a)||Ft&&(d==="id"||d==="name")&&(E in n||E in Cu))return!1;const M=ue[d]||O.attributeCheck instanceof Function&&O.attributeCheck(d,a);return ce&&Te(H,d)||K&&Te(Ye,d)?!0:M?xt[d]||Te(We,nn(E,ze,""))||(d==="src"||d==="xlink:href"||d==="href")&&a!=="script"&&xr(E,"data:")===0&&tt[a]||Ve&&!Te(qe,nn(E,ze,""))?!0:!E:Io(a)&&_n(ye.tagNameCheck,a)&&_n(ye.attributeNameCheck,d,a)||d==="is"&&ye.allowCustomizedBuiltInElements&&_n(ye.tagNameCheck,E)},wu=Q({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),Io=function(a){return!wu[tn(a)]&&Te(at,a)},Su=function(a,d,E,M){if(U&&typeof p=="object"&&typeof p.getAttributeType=="function"&&!E)switch(p.getAttributeType(a,d)){case"TrustedHTML":return B(M);case"TrustedScriptURL":return v(M)}return M},Nu=function(a,d,E,M){try{E?a.setAttributeNS(E,d,M):a.setAttribute(d,M),gn(a)?yt(a):Br(t.removed)}catch{At(d,a)}},jo=function(a){ot(Y.beforeSanitizeAttributes,a,null);const d=a.attributes;if(!d||gn(a))return;ue=vo(Y.uponSanitizeAttribute,ue,_t,lt);const E={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:ue,forceKeepAttr:void 0};let M=d.length;const R=pe(a.nodeName);for(;M--;){const V=d[M],se=V.name,he=V.namespaceURI,ve=V.value,Oe=pe(se),Un=ve;let xe=se==="value"?Un:F0(Un);if(E.attrName=Oe,E.attrValue=xe,E.keepAttr=!0,E.forceKeepAttr=void 0,ot(Y.uponSanitizeAttribute,a,E),xe=E.attrValue,_e&&(Oe==="id"||Oe==="name")&&xr(xe,Bt)!==0&&(At(se,a,V),xe=Bt+xe),De&&Te(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,xe)){At(se,a,V);continue}if(Oe==="attributename"&&Dr(xe,"href")){At(se,a,V);continue}if(!E.forceKeepAttr){if(!E.keepAttr){At(se,a,V);continue}if(!Ie&&Te(ud,xe)){At(se,a,V);continue}if(ke&&(xe=mn(xe)),!Ro(R,Oe,xe)){At(se,a,V);continue}xe=Su(R,Oe,he,xe),xe!==Un&&Nu(a,se,he,xe)}}ot(Y.afterSanitizeAttributes,a,null)},En=function(a){let d=null;const E=xo(a);for(ot(Y.beforeSanitizeShadowDOM,a,null);d=E.nextNode();)if(ot(Y.uponSanitizeShadowNode,d,null),Lo(d,a),jo(d),Lt(d.content)&&En(d.content),I(d)===He.element){const M=b(d);Lt(M)&&(Vn(M),En(M))}ot(Y.afterSanitizeShadowDOM,a,null)},Vn=function(a){const d=[{node:a,shadow:null}];for(;d.length>0;){const E=d.pop();if(E.shadow){En(E.shadow);continue}const M=E.node,V=I(M)===He.element,se=_(M);if(se)for(let he=se.length-1;he>=0;--he)d.push({node:se[he],shadow:null});if(V){const he=L?L(M):null;if(typeof he=="string"&&pe(he)==="template"){const ve=M.content;Lt(ve)&&d.push({node:ve,shadow:null})}}if(V){const he=b(M);Lt(he)&&d.push({node:null,shadow:he},{node:he,shadow:null})}}};return t.sanitize=function(N){let a=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},d=null,E=null,M=null,R=null;if(jn=!N,jn&&(N="<!-->"),typeof N!="string"&&!Vt(N)&&(N=G0(N),typeof N!="string"))throw Tt("dirty is not a string, aborting");if(!t.isSupported)return N;Et?(ne=Qe,ue=lt):Hn(a),(Y.uponSanitizeElement.length>0||Y.uponSanitizeAttribute.length>0)&&(ne=Fe(ne)),Y.uponSanitizeAttribute.length>0&&(ue=Fe(ue)),t.removed=[];const V=ct&&typeof N!="string"&&Vt(N);if(V){bu(N);const ve=$(N);if(typeof ve=="string"){const Oe=pe(ve);if(!ne[Oe]||g[Oe])throw Cn(N),Tt("root node is forbidden and cannot be sanitized in-place")}if(gn(N))throw Cn(N),Tt("root node is clobbered and cannot be sanitized in-place");try{Vn(N)}catch(Oe){throw Cn(N),Oe}}else if(Vt(N))d=Do("<!---->"),E=d.ownerDocument.importNode(N,!0),E.nodeType===He.element&&E.nodeName==="BODY"||E.nodeName==="HTML"?d=E:d.appendChild(E),Vn(E);else{if(!Ue&&!ke&&!we&&N.indexOf("<")===-1)return U&&bt?B(N):N;if(d=Do(N),!d)return Ue?null:bt?P:""}d&&Ke&&yt(d.firstChild);const se=V?N:d;try{const ve=xo(se);for(;M=ve.nextNode();)Lo(M,se),jo(M),Lt(M.content)&&En(M.content)}catch(ve){throw V&&(Cn(N),Mt(t.removed,Oe=>{Oe.element&&yn(Oe.element)})),ve}if(V)return Mt(t.removed,ve=>{ve.element&&yn(ve.element)}),ke&&zn(N),N;if(Ue){if(ke&&zn(d),ft)for(R=j.call(d.ownerDocument);d.firstChild;)R.appendChild(d.firstChild);else R=d;return(ue.shadowroot||ue.shadowrootmode)&&(R=oe.call(o,R,!0)),R}let he=we?d.outerHTML:d.innerHTML;return we&&ne["!doctype"]&&d.ownerDocument&&d.ownerDocument.doctype&&d.ownerDocument.doctype.name&&Te(nd,d.ownerDocument.doctype.name)&&(he="<!DOCTYPE "+d.ownerDocument.doctype.name+`>
783
- `+he),ke&&(he=mn(he)),U&&bt?B(he):he},t.setConfig=function(){let N=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};Hn(N),Et=!0,Qe=ne,lt=ue},t.clearConfig=function(){Ot=null,Et=!1,Qe=null,lt=null,U=ee,P=""},t.isValidAttribute=function(N,a,d){Ot||Hn({});const E=pe(N),M=pe(a);return Ro(E,M,d)},t.addHook=function(N,a){typeof a=="function"&&Re(Y,N)&&en(Y[N],a)},t.removeHook=function(N,a){if(Re(Y,N)){if(a!==void 0){const d=P0(Y[N],a);return d===-1?void 0:$0(Y[N],d,1)[0]}return Br(Y[N])}},t.removeHooks=function(N){Re(Y,N)&&(Y[N]=[])},t.removeAllHooks=function(){Y=zr()},t}var sd=Vr();const dd=/^(?:[a-z]+:)?\/\//i;let hd="";function pd(){return hd}function so(e){const t=String(e||"").trim();if(!t)return"";if(dd.test(t)||t.startsWith("data:")||t.startsWith("blob:"))return t;const n=t.startsWith("/")?t:`/${t}`,o=pd();return o?`${o}${n}`:n}function fd(){return Dn(new Date)}function Dn(e){if(e==null||e==="")return"";const t=e instanceof Date?e:new Date(e);return isNaN(t.getTime())?"":new Intl.DateTimeFormat("fr-CA",{timeZone:"Asia/Seoul"}).format(t)}const rn=[],un=[],an=[],ln=[],xn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},vn={LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]},Cd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};let ho=null,Ur=null,gt=null;function yd({counts:e,forceRefresh:t}={}){const n=Object.assign({},Cd,e||{}),o=fd(),r=Dn(new Date(`${o}T00:00:00+09:00`).getTime()-864e5),u=JSON.stringify(n);if(!t&&Ur===o&&ho===u&&gt)return Object.assign(xn,gt.today),Object.assign(vn,gt.yesterday?.selection||{LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),{today:xn,yesterday:vn};const i={LISTEN_IN_NOISE:dt(rn,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(un,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(an,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(ln,Math.max(0,Number(n.ORDERING_SENTENCE)||0))};let l=null;return gt&&ho===u&&gt.yesterday&&gt.yesterday.date===r&&(l=gt.yesterday.selection),l||(l={LISTEN_IN_NOISE:dt(rn,Math.max(0,Number(n.LISTEN_IN_NOISE)||0)),SHORT_STORY:dt(un,Math.max(0,Number(n.SHORT_STORY)||0)),LONG_STORY:dt(an,Math.max(0,Number(n.LONG_STORY)||0)),ORDERING_SENTENCE:dt(ln,Math.max(0,Number(n.ORDERING_SENTENCE)||0))}),Object.assign(xn,i),Object.assign(vn,l),Ur=o,ho=u,gt={today:i,yesterday:{date:r,countsKey:u,selection:l}},{today:xn,yesterday:vn}}let Gr=!1,cn=null;async function md(){try{const e=import.meta&&import.meta.env&&import.meta.env.BASE_URL||"/",t=await fetch(`${e}data/allTrainingData.json`);return t.ok?await t.json():null}catch{return null}}async function gd(){if(!Gr)return cn||(cn=(async()=>{const e=await md();if(!e){cn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{for(const t of Object.keys(e||{})){const n=e[t]||[];for(const o of n){const r=o,u=String(r.training_type||t),i=String(r.category_main_code||r.category_main||r.category_0||""),l=String(r.category_sub_code||r.category_sub||r.category_1||""),c=Object.assign({},r,{training_type:u,category_0:i,category_1:l});u==="LISTEN_IN_NOISE"?rn.push(c):u==="SHORT_STORY"?un.push(c):u==="LONG_STORY"?an.push(c):u==="ORDERING_SENTENCE"&&ln.push(c)}}}catch{cn=null;try{window.dispatchEvent(new Event("speechear.data.error"))}catch{}return}try{window.dispatchEvent(new Event("speechear.data.updated"))}catch{}try{yd()}catch{}Gr=!0})(),cn)}async function _d(e=3e3){const t=gd();return Promise.race([t,new Promise(n=>setTimeout(n,e))])}const Ed=[{key:"LISTEN_IN_NOISE",label:"\uC18C\uC74C \uD558 \uBB38\uC7A5 \uB4E3\uAE30",icon:"party-popper",desc:"\uB2E4\uC591\uD55C \uC18C\uC74C \uD658\uACBD\uC5D0\uC11C \uBB38\uC7A5 \uCCAD\uB825\uC744 \uD6C8\uB828\uD569\uB2C8\uB2E4."},{key:"SHORT_STORY",label:"\uC9E7\uC740 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square",desc:"\uC9E7\uC740 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"LONG_STORY",label:"\uAE34 \uC774\uC57C\uAE30 \uB4E3\uAE30",icon:"message-square-text",desc:"\uAE34 \uC774\uC57C\uAE30\uB97C \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uB2E4\uC218\uC758 \uBB38\uC81C\uB97C \uD480\uC5B4\uBD05\uB2C8\uB2E4."},{key:"ORDERING_SENTENCE",label:"\uBB38\uC7A5 \uC21C\uC11C\uD654 \uD558\uAE30",icon:"align-start-vertical",desc:"\uC5EC\uB7EC\uAC1C\uC758 \uC9E7\uC740 \uBB38\uC7A5\uC744 \uB4E3\uACE0 \uAE30\uC5B5\uD558\uC5EC \uADF8 \uC21C\uC11C\uC5D0 \uB9DE\uAC8C \uBC30\uC5F4\uD569\uB2C8\uB2E4."}],bd={LISTEN_IN_NOISE:"listenInNoise",SHORT_STORY:"shortStory",LONG_STORY:"longStory",ORDERING_SENTENCE:"orderingSentence"};function Ad(e){return Ed.map(t=>{const n=bd[t.key];return n?{...t,label:e(`trainingType.${n}.title`),desc:e(`trainingType.${n}.desc`)}:t})}function kd(e){return typeof window>"u"?"":sd.sanitize(e,{USE_PROFILES:{svg:!0,svgFilters:!0},FORBID_TAGS:["script","use"],FORBID_ATTR:["xlink:href","href"]})}function wd(e){const[t,n]=T(null),[o,r]=T(null),[u,i]=T(null),[l,c]=T(null);return X(()=>{if(!e||typeof e!="string"||!e.endsWith(".svg")){n(null),r(null),i(null);return}const f=e.split("/").pop();let h=e;f&&(e.startsWith("/")?h=so(e):/^(Logo|Symbol)/i.test(f)?h=so(`logo/${f}`):(/^https?:\/\//i.test(e)||e.startsWith("data:"),h=e)),n(h)},[e]),X(()=>{if(!t)return;let f=!1;async function h(){try{let p=await fetch(t);p.ok||(p=await fetch(t));const s=p.headers.get("content-type")||"";if(f)return;if(s.includes("svg")){r("mask");return}if(s.startsWith("image/")){r("img");return}const y=await fetch(t);if(!y.ok)throw new Error("not ok");const A=await y.text();if(f)return;if(/^\s*<svg[\s>]/i.test(A)){const w=kd(A);if(!w){r("none");return}i(w),r("inline");return}r("none")}catch{f||r("none")}}return h(),()=>{f=!0}},[t]),X(()=>{let f=!1,h=null;return o==="mask"&&t&&fetch(t).then(p=>{if(!p.ok)throw new Error("fetch failed");return p.blob()}).then(p=>{f||(h=URL.createObjectURL(p),c(h))}).catch(()=>{f||r("img")}),()=>{f=!0,h&&URL.revokeObjectURL(h),c(null)}},[o,t]),{iconToUse:t,mode:o,svgText:u,blobUrl:l}}function Sd(e){const{icon:t,label:n,className:o,imgClassName:r,maskClassName:u,svgClassName:i,wrapperStyle:l,size:c}=e||{},f=o??"iconRenderer-icon",h=r??"iconRenderer-icon-image",p=u??"iconRenderer-icon-mask",s=i??"iconRenderer-icon-svg",y=typeof t=="string"?t:null,A=B0(y),{iconToUse:w,mode:_,svgText:m,blobUrl:b}=wd(y),k=(I,$={})=>re("span",{className:f,style:l,...$,children:I}),D=(I,$={})=>re("img",{src:I,alt:typeof n=="string"?n:n?String(n):"",className:h,...$});if(!t)return null;if(typeof t!="string")return k(t);if(t==="none")return k(re("span",{className:s,dangerouslySetInnerHTML:{__html:'<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" aria-hidden="true"></svg>'}}),{"aria-hidden":"true"});if(A)try{return k(Ut(A,{className:s,size:typeof c=="number"?c:20}),{"aria-hidden":"true"})}catch{}if(w&&w.endsWith(".svg")){if(_==="mask"){const I={"--icon-url":b?`url(${b})`:`url(${w})`};return k(re("span",{className:p,style:I}),{"aria-hidden":"true"})}return _==="img"?k(D(w,{onError:I=>{I.currentTarget.onerror=null,I.currentTarget.style.display="none"}}),{"aria-hidden":"true"}):_==="inline"?k(re("span",{className:s,dangerouslySetInnerHTML:m?{__html:m}:void 0}),{"aria-hidden":"true"}):k(null,{"aria-hidden":"true"})}if(t.startsWith("/")||t.includes("/assets/")||t.match(/\.(png|jpg|jpeg|webp|gif)$/i))return D(so(t),{style:l,onError:I=>{I.currentTarget.onerror=null,I.currentTarget.style.display="none"}});const L=typeof c=="number"?c:20,x=`<svg width="${L}" height="${L}" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><rect x="3" y="3" width="18" height="18" rx="2" ry="2" style="fill:none;stroke:currentColor;stroke-width:2"/></svg>`;return k(re("span",{className:s,dangerouslySetInnerHTML:{__html:x}}),{"aria-hidden":"true"})}function Yr(e){const{anchorRect:t,anchorEl:n,offset:o=20,edgeMargin:r=20,onClose:u,closeOnOutsideClick:i=!0,className:l="",role:c="dialog",ariaLabel:f="",children:h,backdrop:p=!1,isMobilePopup:s=!1,useBorder:y=!0,header:A}=e||{},w=Le(null),[_,m]=T({position:"fixed",left:0,top:-9999}),[b,k]=T(!1),[D,L]=T("bottom"),[x,I]=T(!1),[$,U]=T(!1),P=!t&&!n,ee=q((B=!1)=>{if($&&s)return;const v=n?n.getBoundingClientRect():t;if(!v||!w.current)return;const ge=w.current,{offsetWidth:J,offsetHeight:te}=ge,S=window.innerWidth,j=window.innerHeight,le=S-v.right,oe=v.left,Y=v.top,Be=j-v.bottom;let Z=0,fe=0,H="top";if(Y>=te+o)H="top",fe=v.top-o-te,Z=v.left+v.width/2-J/2;else if(Be>=te+o)H="bottom",fe=v.bottom+o,Z=v.left+v.width/2-J/2;else if(le>=J+o)H="right",Z=v.right+o,fe=v.top+v.height/2-te/2;else if(oe>=J+o)H="left",Z=v.left-o-J,fe=v.top+v.height/2-te/2;else{const at=Math.max(Y,Be,le,oe);at===Y?(H="top",fe=v.top-o-te,Z=v.left+v.width/2-J/2):at===Be?(H="bottom",fe=v.bottom+o,Z=v.left+v.width/2-J/2):at===le?(H="right",Z=v.right+o,fe=v.top+v.height/2-te/2):(H="left",Z=v.left-o-J,fe=v.top+v.height/2-te/2)}const Ye=Number(r)||8;Z=Math.min(Math.max(Z,Ye),S-J-Ye),fe=Math.min(Math.max(fe,Ye),j-te-Ye);const qe=Math.round(Z),ze=Math.round(fe);B&&w.current?(w.current.style.left=`${qe}px`,w.current.style.top=`${ze}px`,w.current.dataset.placement=H):(L(H||D),m({position:"fixed",left:qe,top:ze}),I(!0))},[$,s,n,t,o,r,D]);Mu(()=>{if(P)return;if($&&s){m({position:"fixed",left:"50%",top:"50%",transform:"translate(-50%, -50%)",width:"calc(100% - 40px)",maxWidth:"calc(100% - 40px)"}),I(!0);return}ee();const B=requestAnimationFrame(()=>ee());return()=>cancelAnimationFrame(B)},[t,n,o,h,r,P,$,s,ee]),X(()=>{if(P||$&&s||!w.current||typeof ResizeObserver>"u")return;const B=new ResizeObserver(()=>{t&&ee()});return B.observe(w.current),()=>B.disconnect()},[t,h,r,P,$,s,ee]),X(()=>{if(P||$&&s)return;const B=()=>ee(!0);return window.addEventListener("resize",B),document.addEventListener("scroll",B,{passive:!0,capture:!0}),()=>{window.removeEventListener("resize",B),document.removeEventListener("scroll",B,{capture:!0})}},[t,o,h,r,P,$,s,ee]),X(()=>{if(typeof window>"u"||!window.matchMedia)return;const B=window.matchMedia("(max-width: 768px)"),v=()=>U(!!B.matches);v();try{B.addEventListener?B.addEventListener("change",v):B.addListener(v)}catch{try{B.addListener(v)}catch{}}return()=>{try{B.removeEventListener?B.removeEventListener("change",v):B.removeListener(v)}catch{}}},[]);const G=Le(!1),W=q((B=!1)=>{if(!(b||G.current)){if(G.current=!0,B){k(!0);try{u&&u()}catch{}return}k(!0),setTimeout(()=>{u&&u()},200)}},[b,u,k]);X(()=>{const B=J=>{const te=w.current;if(!te)return;const S=J.target;if(S&&!te.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},v=J=>{const te=w.current;if(!te)return;const S=J.target;if(S&&!te.contains(S)){try{if(S.closest&&S.closest("[data-tooltip-ignore]"))return}catch{}i&&W(!0)}},ge=J=>{if(J.key==="Escape"){J.stopPropagation(),W();return}if(J.key==="Tab"){const te=w.current;if(!te)return;const S=te.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])');if(!S||S.length===0)return;const j=S[0],le=S[S.length-1],oe=document.activeElement;J.shiftKey?oe===j&&(J.preventDefault(),le.focus()):oe===le&&(J.preventDefault(),j.focus())}};return document.addEventListener("pointerdown",B,!0),document.addEventListener("click",v,!0),document.addEventListener("keydown",ge),()=>{document.removeEventListener("pointerdown",B,!0),document.removeEventListener("click",v,!0),document.removeEventListener("keydown",ge)}},[u,i,W]),X(()=>{const B=()=>{W(!0)};return typeof document<"u"&&document.addEventListener("speechear-close-tooltips",B),()=>{typeof document<"u"&&document.removeEventListener("speechear-close-tooltips",B)}},[W]);const F=je("div",{ref:w,className:`tooltip-content ${y?"tooltip-content--bordered":""} ${b?"is-closing":""} ${l} ${$&&s?"is-mobile":""}`,role:c,"aria-label":f||void 0,style:P?{}:{..._,visibility:x?"visible":"hidden"},tabIndex:-1,"data-placement":D,"data-left":P?"":_.left,"data-top":P?"":_.top,"data-anchor-left":t?Math.round(t.left):"","data-anchor-top":t?Math.round(t.top):"","data-anchor-width":t?Math.round(t.width):"","data-anchor-height":t?Math.round(t.height):"",children:[A!=null&&re("div",{className:"tooltip-content__header h5",children:A}),h]});if(P||typeof document>"u")return F;if(p||$&&s){const B=je("div",{className:"tooltip-portal",children:[re("div",{className:"tooltip-backdrop",onClick:()=>{i&&W(!0)}}),F]});return $o(B,document.body)}return $o(F,document.body)}function Nd(e){const{anchorRect:t,text:n,offset:o=8,onClose:r,className:u="",ariaLabel:i}=e||{};return n?re(Yr,{anchorRect:t,offset:o,onClose:r,closeOnOutsideClick:!1,className:`tooltip-info ${u}`,ariaLabel:i||n,children:re("div",{className:"tooltip-info__content body-3",children:n})}):null}function qr(e){const{anchorRect:t,title:n,items:o,activeIndex:r=-1,showIndex:u=!0,onClose:i,offset:l=12}=e||{},c=Array.isArray(o)?o:o?[o]:[];return!c.length&&!n?null:re(Yr,{anchorRect:t,offset:l,onClose:i,closeOnOutsideClick:!0,useBorder:!1,className:"tooltip-description",children:je("div",{className:"tooltip-description__box",children:[n&&re("span",{className:"tooltip-description__title body-2",children:n}),re("ol",{className:"tooltip-description__items",children:c.map((f,h)=>je("li",{className:`tooltip-description__item body-3${h===r?" tooltip-description__item--active":""}`,children:[u&&c.length>1&&je("span",{className:"tooltip-description__index button-1",children:[h+1,"."]}),re("span",{children:f})]},h))})]})})}function Md(e){const{size:t=48,type:n,htmlType:o,href:r,target:u,rel:i,icon:l,rightIcon:c,label:f,count:h,subLabel:p,children:s,ariaLabel:y,variant:A="default",align:w="center",selected:_,toggleable:m=!1,disabled:b=!1,useLabel:k=!0,useBorder:D=!0,useBG:L=!0,useDisabledCovered:x=!1,useDisabledInvisible:I=!1,width:$,minWidth:U,onClick:P,onDisabledClick:ee,showTooltipInfo:G=!1,tooltipInfoText:W=null,tooltipDescription:F=null,iconSize:B="medium",iconColor:v,shape:ge="rounded",color:J,className:te,...S}=e,j=typeof t=="string"&&isNaN(Number(t))?t.toLowerCase():String(Number(t)||48),le=j.match(/^\d+$/)?`button${j}`:`button-${j}`,oe=Number(t),Y=!isNaN(oe)&&oe<40?"button-2":"button-1",Be=f??s,Z=b||!!S.disabled,fe=Z?x?"disabled-covered":I?"disabled-invisibled":"disabled":A,H=fe?`button--variant-${fe}`:"",Ye=w?`button--align-${w}`:"",qe=ge?`button--shape-${ge}`:"",ze=typeof v=="string"&&v.startsWith("--")?`var(${v})`:v,at={...$?{width:typeof $=="number"?`${$}px`:$}:{},...U?{minWidth:typeof U=="number"?`${U}px`:U}:{},...D?{}:{"--button-border":Z?"0":"1px solid transparent"},...ze?{"--button-icon-color":ze}:{},...J?{"--color-main":J}:{}},We=k===!1?"":Be,ne=Array.isArray(We)?We.length>0:!!We,it=!!c,ue=n??(ne||l||it?"bar":"dot"),_t=`${le}--${ue}`,ye=Le(null),g=Le(Z),[z,O]=T(!!_),[K,ce]=T(!1),[Ve,Ie]=T(null),ke=q(()=>ce(!1),[]);X(()=>{(G||F)&&Z&&K&&(ce(!1),Ie(null))},[Z,G,F,K]),X(()=>{typeof _=="boolean"&&O(_)},[_]),X(()=>{if(g.current&&!Z&&ye.current){const ae=ye.current;ae.blur(),ae.style.pointerEvents="none";const tt=requestAnimationFrame(()=>{requestAnimationFrame(()=>{ye.current&&(ye.current.style.pointerEvents="")})});return()=>cancelAnimationFrame(tt)}g.current=Z},[Z]);const De=typeof _=="boolean"?!!_:z,we=m||typeof _=="boolean"?De?"true":"false":void 0,Et=Ya("button",le,_t,H,Ye,qe,De?"is-selected":null,L?null:"button--no-bg",te),Qe=`button__icon button__icon--${B}`,lt=Array.isArray(p)?p:p!==void 0?[p]:[],Ke=()=>{if(Array.isArray(We))return We.map((tt,Ht)=>{const xt=lt[Ht];return je("span",{className:`button__label-text${xt!==void 0?" button__label-text--has-sub":""}`,children:[tt,xt!==void 0&&re("span",{className:"button__sub-label-text caption-1",children:xt})]},Ht)});const ae=p!==void 0;return je("span",{className:`button__label-text${ae?" button__label-text--has-sub":""}`,children:[We,h!=null&&re("span",{className:"button__count",children:h}),ae&&re("span",{className:"button__sub-label-text caption-1",children:p})]})},Ue=ae=>{Z||(typeof S.onMouseLeave=="function"&&S.onMouseLeave(ae),typeof _!="boolean"&&O(!1),ae.currentTarget.blur())},ft=ae=>{if(Z){ee?.(ae);return}typeof _!="boolean"&&m&&O(tt=>!tt),P?.(ae)},bt=q(()=>{!Z&&(G||F)&&(ce(!0),Ie(ye.current?.getBoundingClientRect()??null))},[Z,G,F]),Ft=q(()=>{(G||F)&&(ce(!1),Ie(null))},[G,F]),_e={...S};delete _e.disabled,delete _e.className,delete _e.faded,delete _e.useFaded,delete _e.loading,delete _e.onMouseLeave,delete _e.onPointerEnter,delete _e.onPointerLeave,delete _e.onFocus,delete _e.onBlur,Z&&(Object.keys(_e).forEach(ae=>{/^on[A-Z]/.test(ae)&&typeof _e[ae]=="function"&&delete _e[ae]}),_e["aria-disabled"]="true");const Bt=(typeof G=="string"?G:null)??(typeof W=="string"?W:null)??(typeof y=="string"?y:null)??(typeof Be=="string"?Be:null)??void 0,Dt=typeof y=="string"?y:typeof Be=="string"?Be:Bt,ct=(ae,tt)=>re(Sd,{icon:ae,label:tt??Dt,className:Qe,imgClassName:"button__icon-img",maskClassName:"button__icon-mask",svgClassName:"button__icon-svg"}),Ct=()=>ue==="dot"?je(Gt,{children:[ct(l),ne&&re("span",{className:`button__label ${Y}`,children:Ke()})]}):w==="center"&&l?je(Gt,{children:[je("span",{className:"button__center-group",children:[re("span",{className:"button__left",children:ct(l)}),ne&&re("span",{className:`button__label ${Y}`,children:Ke()})]}),it&&re("span",{className:"button__right",children:ct(c)})]}):je(Gt,{children:[l&&re("span",{className:"button__left",children:ct(l,y??Be)}),ne&&re("span",{className:`button__label ${Y}`,children:Ke()}),it&&re("span",{className:"button__right",children:ct(c)})]}),et=!!r&&!Z;return je(Gt,{children:[re(et?"a":"button",{..._e,ref:ye,...et?{href:r,target:u,rel:i??(u==="_blank"?"noreferrer":void 0)}:{type:o,disabled:Z&&!ee},className:Et,"aria-pressed":we,"aria-label":Dt,"aria-disabled":et&&Z?!0:void 0,style:at,onClick:ft,onMouseLeave:Ue,onPointerEnter:ae=>{bt(),!Z&&typeof S.onPointerEnter=="function"&&S.onPointerEnter(ae)},onPointerLeave:ae=>{Ft(),!Z&&typeof S.onPointerLeave=="function"&&S.onPointerLeave(ae)},onFocus:ae=>{bt(),!Z&&typeof S.onFocus=="function"&&S.onFocus(ae)},onBlur:ae=>{Ue(ae),Ft(),!Z&&typeof S.onBlur=="function"&&S.onBlur(ae)},children:Ct()}),K&&F?re(qr,{anchorRect:Ve,title:F.title,items:F.items,onClose:ke}):K&&Bt?re(Nd,{anchorRect:Ve,text:Bt,onClose:ke}):null]})}function Wr(){const[e,t]=T(null),n=q(u=>t(u.getBoundingClientRect()),[]),o=q(()=>t(null),[]),r=q(u=>{const i=u.getBoundingClientRect();t(l=>l?null:i)},[]);return{anchorRect:e,isOpen:e!=null,openAt:n,close:o,toggleAt:r}}function Td(e){const[t,n]=T(null),[o,r]=T(null),u=Le(null);X(()=>()=>{u.current&&clearTimeout(u.current)},[]);const i=q((c,f)=>{u.current&&clearTimeout(u.current),u.current=setTimeout(()=>{n(c),r(f)},e)},[e]),l=q(()=>{u.current&&clearTimeout(u.current),n(null),r(null)},[]);return{payload:t,anchorRect:o,openAfterDelay:i,close:l}}function Bd({title:e,items:t}){const{t:n}=kt(),{anchorRect:o,openAt:r,close:u}=Wr();return je(Gt,{children:[re(Md,{size:24,type:"dot",icon:"info",variant:"transparent-gray",useBorder:!1,selected:!!o,ariaLabel:n("common.info","\uC124\uBA85"),onPointerEnter:i=>r(i.currentTarget),onPointerLeave:u,onFocus:i=>r(i.currentTarget),onBlur:u}),o&&re(qr,{title:e,items:t,showIndex:t.length>1,anchorRect:o,onClose:u})]})}function Kr(){const{t:e}=kt();return Se(()=>({difficulty:e("wordSearch.filter.difficulty","\uB4F1\uAE09"),syllables:e("wordSearch.filter.syllables","\uC74C\uC808 \uC218"),syllable5plus:e("wordSearch.filter.syllable5plus","5\uC74C\uC808 \uC774\uC0C1"),partOfSpeech:e("wordSearch.filter.partOfSpeech","\uD488\uC0AC"),wordType:e("wordSearch.filter.wordType","\uC720\uD615"),posMap:{[e("wordSearch.filter.pos.noun","\uCCB4\uC5B8(\uBA85\uC0AC, \uC218\uC0AC)")]:["\uBA85","\uC218"],[e("wordSearch.filter.pos.verb","\uC6A9\uC5B8(\uB3D9\uC0AC, \uD615\uC6A9\uC0AC)")]:["\uB3D9","\uD615"],[e("wordSearch.filter.pos.modifier","\uC218\uC2DD\uC5B8(\uBD80\uC0AC, \uAD00\uD615\uC0AC)")]:["\uBD80","\uAD00"]},typeMap:{[e("wordSearch.filter.type.native","\uACE0\uC720\uC5B4")]:"\uACE0\uC720",[e("wordSearch.filter.type.sino","\uD55C\uC790\uC5B4")]:"\uD55C\uC790",[e("wordSearch.filter.type.foreign","\uC678\uB798\uC5B4")]:"\uC678\uB798",[e("wordSearch.filter.type.mixed","\uD63C\uC885\uC5B4")]:"\uD63C\uC885"}}),[e])}function Xr(e,t,n){return{label:t.difficulty,items:[1,2,3,4].map(o=>e("wordSearch.filter.grade",{n:o})),multiple:!0,allOption:!0,allLabel:n?.allLabel,labelAction:n?.labelAction}}function Zr(e){return{label:e.partOfSpeech,items:Object.keys(e.posMap),multiple:!0,allOption:!0}}function Jr(e){return{label:e.wordType,items:Object.keys(e.typeMap),multiple:!0,allOption:!0}}function Dd(e,t){return{label:t.syllables,items:[e("wordSearch.filter.syllable",{n:1}),e("wordSearch.filter.syllable",{n:2}),e("wordSearch.filter.syllable",{n:3}),e("wordSearch.filter.syllable",{n:4}),t.syllable5plus],multiple:!0,allOption:!0}}function xd(e,t){const n=[e("wordPairs.filter.onlyHasImage","\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC")];return t?.includeStructure&&n.push(e("wordPairs.filter.onlySameStructure","\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC")),{label:e("wordPairs.filter.selectLabel","\uC120\uD0DD"),items:n,multiple:!0,labelAction:t?.labelAction}}function vd(e,t){const{label:n,headValue:o,midValue:r,tailValue:u,includeMid:i=!0,headDisabled:l,midDisabled:c,tailDisabled:f,allOptionDisabled:h,groupLabel:p,labelAction:s}=t;return{label:n,...p?{groupLabel:p}:{},...s?{labelAction:s}:{},allOption:!0,allLabel:e("wordSearch.filter.positionAny",{defaultValue:"\uBB34\uAD00"}),...h?{allOptionDisabled:h}:{},items:[{value:o,displayLabel:e("wordSearch.filter.positionHead",{defaultValue:"\uC5B4\uB450"}),disabled:l},...i?[{value:r,displayLabel:e("wordSearch.filter.positionMid",{defaultValue:"\uC5B4\uC911"}),disabled:c}]:[],{value:u,displayLabel:e("wordSearch.filter.positionTail",{defaultValue:"\uC5B4\uB9D0"}),disabled:f}]}}function Od(e,t,n){if(t===Nt){const{[n]:u,...i}=e;return i}const o=e[n]??[],r=o.includes(t)?o.filter(u=>u!==t):[...o,t];if(r.length===0){const{[n]:u,...i}=e;return i}return{...e,[n]:r}}Object.fromEntries(Object.entries(la).map(([e,{nucleus:t}])=>[e,t]));const Ld={\uACE0\uC720\uC5B4:"\uACE0\uC720",\uD55C\uC790\uC5B4:"\uD55C\uC790",\uC678\uB798\uC5B4:"\uC678\uB798",\uD63C\uC885\uC5B4:"\uD63C\uC885"},Rd={"\uCCB4\uC5B8(\uBA85\uC0AC,\uC218\uC0AC)":["\uBA85","\uC218"],"\uC6A9\uC5B8(\uB3D9\uC0AC,\uD615\uC6A9\uC0AC)":["\uB3D9","\uD615"],"\uC218\uC2DD\uC5B8(\uBD80\uC0AC,\uAD00\uD615\uC0AC)":["\uBD80","\uAD00"]},Id={difficulty:"\uB09C\uC774\uB3C4 \uB4F1\uAE09",syllables:"\uC74C\uC808 \uC218",syllable5plus:"5\uC74C\uC808 \uC774\uC0C1",partOfSpeech:"\uD488\uC0AC",wordType:"\uC720\uD615",posMap:Rd,typeMap:Ld};function jd(e,t,n=Id){const o=t[n.difficulty];if(o?.length&&!o.some(l=>e.grade===l.replace(/\D/g,"")))return!1;const r=t[n.syllables];if(r?.length){const l=e.syllables??0;if(!r.some(c=>c===n.syllable5plus?l>=5:l===parseInt(c)))return!1}const u=t[n.partOfSpeech];if(u?.length&&!u.flatMap(l=>n.posMap[l]??[l]).some(l=>(e.pos??"").includes(l)))return!1;const i=t[n.wordType];return!(i?.length&&!i.some(l=>e.wordType===n.typeMap[l]))}const ht=(e,t)=>t.map(n=>({jamos:[n],tooltip:e})),Ae=(e,t)=>({jamos:[...e],tooltip:t}),po={cho:[ht("\uC591\uC21C\uC74C",["\u3142","\u3143","\u314D","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3138","\u314C","\u3134","\u3139"]),ht("\uCE58\uC870\uC74C",["\u3145","\u3146"]),ht("\uACBD\uAD6C\uAC1C\uC74C",["\u3148","\u3149","\u314A"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3132","\u314B"]),ht("\uC131\uBB38\uC74C",["\u314E"])],jung:[[Ae("\u3163","\uC804\uC124 \uACE0\uBAA8\uC74C"),Ae("\u315F","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 w\uD65C\uC74C"),Ae("\u3162","\uC804\uC124 \uACE0\uBAA8\uC74C \xB7 \u0270\uD65C\uC74C")],[Ae("\u3161","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uD3C9\uC21C")],[Ae("\u315C","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C"),Ae("\u3160","\uD6C4\uC124 \uACE0\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ae("\u3154\u3150","\uC804\uC124 \uC911\uBAA8\uC74C"),Ae("\u3156\u3152","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ae("\u3159\u315A\u315E","\uC804\uC124 \uC911\uBAA8\uC74C \xB7 w\uD65C\uC74C")],[Ae("\u3153","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C"),Ae("\u3155","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 j\uD65C\uC74C"),Ae("\u315D","\uD6C4\uC124 \uC911\uBAA8\uC74C \uD3C9\uC21C \xB7 w\uD65C\uC74C")],[Ae("\u3157","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C"),Ae("\u315B","\uD6C4\uC124 \uC911\uBAA8\uC74C \uC6D0\uC21C \xB7 j\uD65C\uC74C")],[Ae("\u314F","\uC800\uBAA8\uC74C"),Ae("\u3151","\uC800\uBAA8\uC74C \xB7 j\uD65C\uC74C"),Ae("\u3158","\uC800\uBAA8\uC74C \xB7 w\uD65C\uC74C")]],jong:[ht("\uC591\uC21C\uC74C",["\u3142","\u3141"]),ht("\uCE58\uC870\uC74C",["\u3137","\u3134","\u3139"]),ht("\uC5F0\uAD6C\uAC1C\uC74C",["\u3131","\u3147"])]},Pd=[...Ne],$d=[...st],Fd=Ge.filter(e=>e!==""),pt=e=>e===rt?[]:Array.from(e),rt="__NO_CODA__",Qr=[1,2,3,4],ut=5,Hd=12,eu="SYL_",fo=e=>`${eu}${e}`,zd=e=>Number(e.slice(eu.length));function Co(e){return e>=ut?Array.from({length:Hd-ut+1},(t,n)=>ut+n):[e]}const tu={cho:Pd,jung:$d,jong:Fd},yo=e=>e.map(t=>t.map(({jamos:n,tooltip:o})=>({v:n.join(""),tooltip:o}))),mo={cho:yo(po.cho),jung:yo(po.jung),jong:yo(po.jong)},nu={};mo.jung.flat().forEach(({v:e})=>{for(const t of pt(e))nu[t]=e});const Vd=new Set(mo.cho.flat().map(e=>e.v));function ou(e,t){return e==="cho"?Vd.has(t)?t:null:e==="jung"?nu[t]??t:nr(t)}function ru(e,t,n){if(e==="jung"){const o=pt(t);return n&&o.includes(n)?n:o[0]??t}return t}function uu(e,t,n){const o=(r,u)=>u?r==="jong"&&u===rt?rt:t==="pron"?ou(r,u):ru(r,u,r==="jung"?n:null):null;return{...e,cho:o("cho",e.cho),jung:o("jung",e.jung),jong:o("jong",e.jong)}}const go={cho:null,jung:null,jong:null,syllable:null},Ud="wt_filter",au=e=>`wt_filter_${e}`;function iu(e){try{const t=localStorage.getItem(au(e))??localStorage.getItem(Ud);if(t)return JSON.parse(t)}catch{}return null}function Gd(e){const t=e;return t?.composition?{cho:t.composition.cho??null,jung:t.composition.jung??null,jong:t.composition.jong??null,syllable:t.composition.syllable??null}:t?.choseong?{...go,cho:t.choseong}:go}function Yd(e,t,n){const{t:o,i18n:r}=kt(),[u]=T(()=>n?.resetOnMount?null:iu(e)),i=u?.contrastCount,l=typeof i=="number"&&Number.isFinite(i)?i:1,[c,f]=T(Math.min(5,Math.max(1,l))),[h,p]=T(u?.phonemeView==="pron"?"pron":u?.phonemeView==="direct"?"direct":"char"),[s,y]=T(()=>Gd(u)),A=q(()=>t.requireSyllable?{cho:"\u3131",jung:"\u314F",jong:rt,syllable:t.fixedSyllable??null}:{cho:null,jung:null,jong:t.fixedNoCoda?rt:null,syllable:t.fixedSyllable??null},[t.requireSyllable,t.fixedSyllable,t.fixedNoCoda]);X(()=>{!t.requireSyllable&&t.fixedSyllable==null&&!t.fixedNoCoda||y(g=>g.cho||g.jung||g.syllable!=null||g.jong?g:A())},[]);const w=Se(()=>be(s.cho)||be(s.jung)||be(s.jong)?"count":"random",[s.cho,s.jung,s.jong]),_=Le(h==="char"?s.jung:null);X(()=>{h==="char"&&(_.current=s.jung)},[h,s.jung]);const[m,b]=T(n?.resetOnMount?!!n?.defaultImageOnly:u?.excludeNoImage??!0),[k,D]=T(n?.resetOnMount?!1:u?.sameStructureOnly??!0),[L,x]=T(Array.isArray(u?.gradeFilter)?u.gradeFilter:[]),[I,$]=T(Array.isArray(u?.posFilter)?u.posFilter:[]),[U,P]=T(Array.isArray(u?.wordTypeFilter)?u.wordTypeFilter:[]),ee=Le(n?.resetKey);X(()=>{ee.current!==n?.resetKey&&(ee.current=n?.resetKey,y(A()),b(!1),D(!1),x([]),$([]),P([]),f(1))},[n?.resetKey]);const G=Kr(),[W,F]=T({cho:new Set,jung:new Set,jong:new Set,syllable:new Set}),[B,v]=T(!1),[ge,J]=T(null),te=1,S=Math.max(1,[s.cho,s.jung,s.jong].filter(Boolean).length);X(()=>{c<S&&f(S)},[S,c]);const[j,le]=T(e);X(()=>{if(j!==e){if(!n?.resetOnMount){const g=iu(e),z=typeof g?.contrastCount=="number"&&Number.isFinite(g.contrastCount)?g.contrastCount:1;f(Math.min(5,Math.max(1,z))),y(g?.composition??A()),b(g?.excludeNoImage??!0),D(g?.sameStructureOnly??!0),p(g?.phonemeView==="pron"?"pron":"char"),x(Array.isArray(g?.gradeFilter)?g.gradeFilter:[]),$(Array.isArray(g?.posFilter)?g.posFilter:[]),P(Array.isArray(g?.wordTypeFilter)?g.wordTypeFilter:[])}le(e)}},[e,j,n?.resetOnMount]),X(()=>{if(!n?.resetOnMount&&j===e)try{localStorage.setItem(au(e),JSON.stringify({contrastCount:c,composition:s,excludeNoImage:m,sameStructureOnly:k,phonemeView:h,gradeFilter:L,posFilter:I,wordTypeFilter:U}))}catch{}},[n?.resetOnMount,e,j,c,s,m,k,h,L,I,U]);const[oe,Y]=T(0);zo("wordpool:update",()=>Y(g=>g+1));const Be=Le(r.language);X(()=>{Be.current!==r.language&&(Be.current=r.language,Y(g=>g+1))},[r.language]),X(()=>{if(!t.choseong)return;let g=!1;return Ga({difficulty:w,excludeNoImage:m}).then(z=>{g||(F(z),z.cho.size+z.jung.size+z.jong.size>0&&v(!0))}).catch(()=>{g||F({cho:new Set,jung:new Set,jong:new Set,syllable:new Set})}),()=>{g=!0}},[t.choseong,w,m,oe]),X(()=>{let g=!1;const z=s,O=z.cho?pt(z.cho):null,K=z.jung?pt(z.jung):null,ce=z.jong===rt,Ve=ce?null:z.jong?pt(z.jong):null,Ie=z.syllable!=null?Co(z.syllable):null,ke=!!(O||K||Ve||ce||Ie);return Ua({difficulty:t.difficulty?w:null,contrastCount:t.difficulty?c:1,composition:t.choseong&&ke?{cho:O,jung:K,jong:Ve,jongNone:ce,syllable:Ie}:null,excludeNoImage:m,sameStructureOnly:k,phonemeView:h==="pron"?"pron":"char",grade:L.length>0?L:null}).then(De=>{g||J(De)}).catch(()=>{g||J(null)}),()=>{g=!0}},[t.choseong,t.difficulty,w,c,s,h,m,k,oe,L]),X(()=>{B&&y(g=>{const z={...g};let O=!1;return["cho","jung","jong"].forEach(K=>{const ce=g[K];!ce||ce===rt||pt(ce).some(Ve=>W[K].has(Ve))||(z[K]=null,O=!0)}),g.syllable!=null&&t.fixedSyllable==null&&(g.syllable>=ut?[...W.syllable].some(K=>K>=ut)||(z.syllable=null,O=!0):(!W.syllable.has(g.syllable)||g.syllable<te)&&(z.syllable=null,O=!0)),O?z:g})},[W,B,te,t.fixedSyllable]);const Z=Se(()=>{const g=z=>{const O=new Set;for(const K of tu[z])W[z].has(K)&&O.add(K);return O};return{cho:g("cho"),jung:g("jung"),jong:g("jong")}},[W]),fe=Se(()=>({exact:new Set(Qr.filter(g=>W.syllable.has(g))),min:[...W.syllable].some(g=>g>=ut)}),[W]),H=Se(()=>({diffPhonemeCount:o("training.contrast.diffPhonemeCount",{defaultValue:"\uB2E4\uB978 \uC74C\uC18C\uC758 \uCD1D \uAC2F\uC218"}),composition:o("wordPairs.composition","\uC815\uB2F5 \uB2E8\uC5B4 \uAD6C\uC131"),syllableCount:o("wordPairs.syllableCount","\uC74C\uC808 \uC218"),onset:o("wordPairs.onset","\uCD08\uC131"),vowel:o("wordPairs.vowel","\uBAA8\uC74C"),coda:o("wordPairs.coda","\uC885\uC131"),phonemeGroup:o("training.filter.phonemeGroup",{defaultValue:"\uD6C8\uB828 \uC74C\uC808"}),trainOnset:o("training.filter.trainOnset",{defaultValue:"\uCD08\uC131"}),trainVowel:o("training.filter.trainVowel",{defaultValue:"\uBAA8\uC74C"}),trainCoda:o("training.filter.trainCoda",{defaultValue:"\uC885\uC131"}),random:o("training.filter.random","\uBB34\uC791\uC704"),exclude:o("wordSearch.filter.exclude","\uC81C\uC678"),selectLabel:o("training.filter.selectSection",{defaultValue:"\uC120\uD0DD"}),none:o("common.none","\uC5C6\uC74C"),noImage:o("wordSearch.filter.excludeNoImage","\uC774\uBBF8\uC9C0 \uC5C6\uC74C"),excludeImage:o("training.filter.excludeImage",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC"}),sameStructure:o("training.filter.sameStructure",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC"}),noLimit:o("training.filter.noLimit",{defaultValue:"\uBB34\uAD00"}),codaExclude:o("training.filter.codaExclude",{defaultValue:"\uC81C\uC678"}),gradeLabel:o("training.filter.gradeLabel",{defaultValue:"\uB09C\uC774\uB3C4 \uB4F1\uAE09"})}),[o]),Ye=Se(()=>({[H.trainOnset]:"cho",[H.trainVowel]:"jung",[H.trainCoda]:"jong"}),[H]),qe=q((g,z)=>Ut(Bd,{title:z,items:g}),[]),ze=Se(()=>[o("training.filter.excludeImageInfo",{defaultValue:"\uC774\uBBF8\uC9C0 \uC788\uB294 \uB2E8\uC5B4\uB9CC: \uB2E8\uC5B4 \uC911\uC5D0 \uC774\uBBF8\uC9C0\uAC00 \uC788\uB294 \uB2E8\uC5B4\uB9CC \uACB0\uACFC\uC5D0 \uBCF4\uC5EC\uC90D\uB2C8\uB2E4."}),o("training.filter.sameStructureInfo",{defaultValue:"\uC74C\uC18C \uAD6C\uC870 \uAC19\uC740 \uB2E8\uC5B4\uB9CC: \uC815\uB2F5\uACFC \uC624\uB2F5\uC758 \uC74C\uC808 \uAD6C\uC870(\uAE00\uC790 \uC218\xB7\uBC1B\uCE68 \uC720\uBB34 \uB4F1)\uAC00 \uAC19\uC740 \uACB0\uACFC\uB9CC \uB0A8\uACA8\uC694."})],[o]),at=Se(()=>{const g=[];if(t.choseong){const z={value:rt,displayLabel:H.codaExclude},O=t.fixedNoCoda===!0,K=(ce,Ve)=>{const Ie=O&&ce==="jong",ke={label:Ve,groupLabel:H.phonemeGroup,allOption:!t.requireSyllable,allLabel:H.noLimit,allOptionDisabled:Ie};if(h==="pron"){const we=mo[ce].map(Et=>Et.map(({v:Qe,tooltip:lt})=>{const Ke=pt(Qe),Ue=Ie||!Ke.some(ft=>W[ce].has(ft));return Ke.length>1?{value:Qe,labels:Ke,tooltip:lt,disabled:Ue}:{value:Qe,tooltip:lt,disabled:Ue}}));return ce==="jong"&&!t.requireCoda&&we.unshift([z]),{...ke,groups:we}}const De=tu[ce].map(we=>!Ie&&Z[ce].has(we)?we:{value:we,disabled:!0});return{...ke,items:ce==="jong"&&!t.requireCoda?[z,...De]:De}};g.push(K("cho",H.trainOnset)),g.push(K("jung",H.trainVowel)),g.push(K("jong",H.trainCoda))}if(g.push({...Xr(o,G,{labelAction:qe([o("wordPairs.filter.difficultyInfo",{defaultValue:"\uAD6D\uB9BD\uAD6D\uC5B4\uC6D0\uC758 \uAE30\uCD08 \uC5B4\uD718 \uB4F1\uAE09\uC774 \uACB0\uACFC\uC5D0 \uBC18\uC601\uB429\uB2C8\uB2E4."})])}),label:H.gradeLabel}),t.partOfSpeech&&g.push(Zr(G)),t.wordType&&g.push(Jr(G)),t.choseong||t.fixedSyllable!=null){const z=t.fixedSyllable;g.push({label:H.syllableCount,items:[...Qr.map(O=>({value:fo(O),displayLabel:o("wordPairs.syllableN",{n:O,defaultValue:"{{n}}\uC74C\uC808"}),disabled:z!=null?O!==z:!fe.exact.has(O)||O<te})),{value:fo(ut),displayLabel:o("wordPairs.syllableNPlus",{n:ut,defaultValue:"{{n}}\uC74C\uC808 \uC774\uC0C1"}),disabled:z!=null?ut!==z:!fe.min}],allOption:!0,allOptionDisabled:z!=null})}return t.choseong?g.push({label:H.exclude,displayLabel:H.selectLabel,multiple:!0,items:[H.excludeImage,H.sameStructure],labelAction:qe(ze)}):g.push({label:H.exclude,displayLabel:H.selectLabel,multiple:!0,items:[H.excludeImage],labelAction:qe([ze[0]])}),g},[t.choseong,t.partOfSpeech,t.wordType,t.requireSyllable,t.fixedSyllable,t.fixedNoCoda,t.requireCoda,te,Z,W,h,fe,H,o,qe,ze,G]),We={...t.difficulty?{[H.diffPhonemeCount]:String(c)}:{},...(t.choseong||t.fixedSyllable!=null)&&s.syllable!=null?{[H.syllableCount]:fo(s.syllable)}:{},...t.choseong&&s.cho?{[H.trainOnset]:s.cho}:{},...t.choseong&&s.jung?{[H.trainVowel]:s.jung}:{},...t.choseong&&s.jong?{[H.trainCoda]:s.jong}:{},[H.exclude]:[...m?[H.excludeImage]:[],...k?[H.sameStructure]:[]],[H.gradeLabel]:L.map(g=>o("wordSearch.filter.grade",{n:Number(g),defaultValue:"{{n}}\uB4F1\uAE09"})),...t.partOfSpeech?{[G.partOfSpeech]:I}:{},...t.wordType?{[G.wordType]:U}:{}},ne=q((g,z)=>{if(z===H.diffPhonemeCount){const O=Number(g);O>=1&&f(O)}else if(z===H.exclude)g===H.excludeImage?b(O=>!O):g===H.sameStructure&&D(O=>!O);else if(z===H.syllableCount)y(O=>{if(!g||g===Nt)return{...O,syllable:null};const K=zd(g);return{...O,syllable:O.syllable===K?null:K}});else if(z===H.gradeLabel){if(!g||g===Nt){x([]);return}const O=g.replace(/\D/g,"");x(K=>K.includes(O)?K.filter(ce=>ce!==O):[...K,O])}else if(z===G.partOfSpeech){if(!g||g===Nt){$([]);return}$(O=>O.includes(g)?O.filter(K=>K!==g):[...O,g])}else if(z===G.wordType){if(!g||g===Nt){P([]);return}P(O=>O.includes(g)?O.filter(K=>K!==g):[...O,g])}else{const O=Ye[z];if(!O)return;y(K=>t.requireSyllable?g&&g!==Nt?{...K,[O]:g}:K:!g||g===Nt||K[O]===g?{...K,[O]:null}:{...K,[O]:g})}},[H,Ye,G,t.requireSyllable]),it=q(g=>!t.partOfSpeech&&!t.wordType?!0:jd(g,{...t.partOfSpeech?{[G.partOfSpeech]:I}:{},...t.wordType?{[G.wordType]:U}:{}},G),[t.partOfSpeech,t.wordType,I,U,G]),ue=q(g=>{g!==h&&(g!=="direct"&&h!=="direct"&&y(z=>uu(z,g,_.current)),p(g))},[h]),_t=q(()=>({composition:s,contrastCount:c,excludeNoImage:m,sameStructureOnly:k,phonemeView:h,gradeFilter:L}),[s,c,m,k,h,L]),ye=q(g=>{y(g.composition),f(g.contrastCount),b(g.excludeNoImage),D(g.sameStructureOnly??!0),p(g.phonemeView),x(Array.isArray(g.gradeFilter)?g.gradeFilter:[])},[]);return{difficulty:w,contrastCount:c,composition:s,choseong:s.cho,excludeNoImage:m,sameStructureOnly:k,gradeFilter:L,posFilter:I,wordTypeFilter:U,matchesWordAttributes:it,poolVersion:oe,filterSections:at,filterSelected:We,handleFilterSelect:ne,phonemeView:h,setPhonemeView:ue,phonemeGroupLabel:H.phonemeGroup,wordCount:ge,getFilterSnapshot:_t,restoreFilterSnapshot:ye}}function qd(e){const t=l=>l?pt(l):null,n=t(e.cho),o=t(e.jung),r=e.jong===rt,u=r?null:t(e.jong),i=e.syllable!=null?Co(e.syllable):null;return!n&&!o&&!u&&!r&&!i?null:{cho:n,jung:o,jong:u,jongNone:r,syllable:i}}function Wd(e,t,n,o,r,u,i=!0,l="char",c=[]){const[f,h]=T({}),[p,s]=T(!1),{cho:y=null,jung:A=null,jong:w=null,syllable:_=null}=o??{},m=c.length>0?c.slice().sort().join(","):"";return X(()=>{u>0&&Va(r).catch(()=>{})},[u,r]),X(()=>{let b=!1;return s(!0),(async()=>{const k=qd({cho:y,jung:A,jong:w,syllable:_}),D=`${y??""}_${A??""}_${w??""}_${_??""}_${m}`,L={};await Promise.all(e.map(async x=>{const I=Wn[x.key];try{const $=await yr(x.key,{difficulty:I.difficulty?t:null,contrastCount:I.difficulty?n:1,composition:I.choseong?k:null,count:5,excludeNoImage:r,sameStructureOnly:i,phonemeView:l,grade:c.length>0?c:null});$&&$.length>0?L[x.key]={id:`wt-${x.key}-${t}-${D}-${Date.now()}`,name:x.label,training_type:x.key,category_main_code:"WORD",iconColor:x.color,subTitle:x.subTitle,items:$,itemCount:$.length}:L[x.key]={id:`wt-${x.key}-empty`,name:x.label,training_type:x.key,category_main_code:"WORD",iconColor:x.color,subTitle:x.subTitle,items:[],itemCount:0,__empty:!0}}catch{L[x.key]=null}})),b||(h(L),s(!1))})(),()=>{b=!0}},[t,n,y,A,w,_,r,i,l,u,m]),{perTypeData:f,generating:p}}function Kd(e){let t=2166136261;for(let n=0;n<e.length;n++)t^=e.charCodeAt(n),t=Math.imul(t,16777619);return t>>>0}function Xd(e){let t=e>>>0;return()=>{t|=0,t=t+1831565813|0;let n=Math.imul(t^t>>>15,1|t);return n=n+Math.imul(n^n>>>7,61|n)^n,((n^n>>>14)>>>0)/4294967296}}const On=dt;function _o(e,t){const n=t?Xd(Kd(t)):Math.random;return{LISTEN_IN_NOISE:On(rn,Math.max(0,e.LISTEN_IN_NOISE||0),n),SHORT_STORY:On(un,Math.max(0,e.SHORT_STORY||0),n),LONG_STORY:On(an,Math.max(0,e.LONG_STORY||0),n),ORDERING_SENTENCE:On(ln,Math.max(0,e.ORDERING_SENTENCE||0),n)}}function lu(e){return e?!!(e.LISTEN_IN_NOISE?.length||e.SHORT_STORY?.length||e.LONG_STORY?.length||e.ORDERING_SENTENCE?.length):!1}const Zd={LISTEN_IN_NOISE:3,SHORT_STORY:2,LONG_STORY:1,ORDERING_SENTENCE:2};function cu(e=!1,t=Zd,n){const o=Dn(Date.now()),r=Dn(Date.now()-864e5),u=`${n??""}|${o}`,i=`${n??""}|${r}`;return rn.length>0||un.length>0||an.length>0||ln.length>0?{today:_o(t,u),yesterday:_o(t,i)}:{today:_o(t,u),yesterday:null}}function Jd(e){const t=Le({LISTEN_IN_NOISE:[],SHORT_STORY:[],LONG_STORY:[],ORDERING_SENTENCE:[]}),n=Le(null),[o,r]=T(!1),[u,i]=T(!1),[l,c]=T(0);X(()=>{let h=!1,p,s=0;const y=40,A=()=>{p!==void 0&&(clearInterval(p),p=void 0)};let w=!1;try{const b=new URLSearchParams(window.location.search),k=b.get("forceRefresh")||b.get("force");w=k==="1"||k==="true"}catch{}const _=b=>{t.current=b.today,n.current=b.yesterday,r(!0),c(k=>k+1),h=!0,A()},m=async()=>{if(h)return;if(!w){const k=cu(!1,void 0,e);if(lu(k.today)){_(k);return}}try{await _d(3e3)}catch{}if(h)return;const b=cu(w,void 0,e);if(lu(b.today)){_(b);return}++s>=y&&(r(!0),h=!0,A())};return m(),p=setInterval(m,250),()=>{h=!0,A()}},[e]);const f=q(h=>{const p=u?n.current:t.current,s=u?t.current:n.current;return p?.[h]?.length?p[h]:s?.[h]?.length?s[h]:void 0},[u,l]);return{loaded:o,showYesterday:u,setShowYesterday:i,getTrainingPerType:f}}const $t=[];let Ln=!1;function su(e){if(e.key!=="Escape"||e.defaultPrevented)return;const t=$t[$t.length-1];t&&(e.stopPropagation(),t())}function Qd(e){return $t.push(e),!Ln&&typeof document<"u"&&(document.addEventListener("keydown",su),Ln=!0),()=>{const t=$t.lastIndexOf(e);t>=0&&$t.splice(t,1),$t.length===0&&Ln&&typeof document<"u"&&(document.removeEventListener("keydown",su),Ln=!1)}}function eh(e,t=!0){const n=Ho(e);X(()=>{if(t)return Qd(()=>{n.current?.()})},[t,n])}const Eo=(e,t)=>`${e}:${t??1}`,bo=new Map;function th(e,t){const[n,o]=T(0),r=e.map(u=>Eo(u.word,u.homonum)).join("|");return X(()=>{const u=(r?r.split("|"):[]).filter(c=>!bo.has(c));if(u.length===0)return;let i=!1;const l=Array.from(new Set(u.map(c=>c.slice(0,c.lastIndexOf(":")))));return t(l).then(c=>{if(!(i||c.length===0)){for(const f of c)f.Meaning&&bo.set(Eo(f.Word,f.Homonum??void 0),f.Meaning);o(f=>f+1)}}),()=>{i=!0}},[r,t]),Se(()=>{const u=r?r.split("|"):[],i=new Map;for(const l of u){const c=bo.get(l);c!=null&&i.set(l,c)}return i},[r,n])}function nh(e,t,n){const o=Number.isFinite(t)&&t>=1?Math.floor(t):1,r=Math.max(1,Math.ceil(e.length/o)),u=Number.isFinite(n)?Math.min(Math.max(1,Math.floor(n)),r):1;return{pageItems:Se(()=>e.slice((u-1)*o,u*o),[e,u,o]),totalPages:r,curPage:u}}function oh(e="warning"){const[t,n]=T(""),[o,r]=T(e),[u,i]=T(0),l=q((p,s)=>{r(s),n(p),i(y=>y+1)},[]),c=q(p=>l(p,"warning"),[l]),f=q(p=>l(p,"normal"),[l]),h=q(()=>n(""),[]);return{toastMessage:t,toastType:o,toastKey:u,showToast:l,showWarning:c,showNormal:f,clearToast:h}}const sn={blue:"#60A5FA",green:"#4ADE80",amber:"#FBBF24",purple:"#A78BFA",pink:"#F472B6"},dn=sn.blue,Rn=sn.green,hn=sn.amber,In=sn.purple,rh=sn.pink,uh=[{key:"discrimination",label:"\uBCC0\uBCC4\uD6C8\uB828",disc:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0, \uB610\uB294 \uD2B9\uC815 \uC18C\uB9AC\uB97C \uAD6C\uBCC4\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"ear",types:[{key:"SAME_SOUND_PICK",label:"\uAC19\uC740 \uC18C\uB9AC \uACE0\uB974\uAE30",icon:"volume-2",color:dn,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC640 \uAC19\uC740 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"SAME_OR_DIFF",label:"\uAC19\uC740\uC9C0 \uB2E4\uB978\uC9C0 \uB9DE\uD788\uAE30",icon:"diff",color:dn,subTitle:"\uB450 \uC18C\uB9AC\uAC00 \uAC19\uC740\uC9C0, \uB2E4\uB978\uC9C0 \uAD6C\uBD84\uD558\uC138\uC694."},{key:"HEAR_AND_PICK_SAME",label:"\uC77C\uCE58\uD558\uB294 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"headphones",color:dn,subTitle:"\uB4E4\uC740 \uC18C\uB9AC\uC758 \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"HEAR_AND_PICK_INCLUDED",label:"\uD55C \uC74C\uC808 \uD3EC\uD568 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"scan-search",color:dn,subTitle:"\uB4E4\uC740 \uC74C\uC808\uC774 \uD3EC\uD568\uB41C \uB2E8\uC5B4 \uCE74\uB4DC\uB97C \uACE0\uB974\uC138\uC694."},{key:"STARTS_WITH_SAME_SOUND",label:"\uCCAB \uC74C\uC808\uC774 \uAC19\uC740 \uB2E8\uC5B4 \uB9DE\uD788\uAE30",icon:"play-circle",color:dn,subTitle:"\uB4E4\uC740 \uB2E8\uC5B4\uC640 \uAC19\uC740 \uC18C\uB9AC\uB85C \uC2DC\uC791\uD558\uB294 \uB2E8\uC5B4\uB97C \uACE0\uB974\uC138\uC694."}]},{key:"synthesis",label:"\uD569\uC131\uD6C8\uB828",disc:"\uB450 \uAC1C \uC774\uC0C1\uC758 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uD569\uCCD0 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"git-merge",types:[{key:"MERGE_2_SYLLABLES",label:"\uC74C\uC808 2\uAC1C \uD569\uCE58\uAE30",icon:"link-2",color:Rn,subTitle:"\uB450 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_SYLLABLES",label:"\uC74C\uC808 3\uAC1C \uD569\uCE58\uAE30",icon:"git-merge",color:Rn,subTitle:"\uC138 \uC74C\uC808\uC744 \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_2_PHONEMES",label:"\uC74C\uC18C 2\uAC1C \uD569\uCE58\uAE30",icon:"combine",color:Rn,subTitle:"\uB450 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"MERGE_3_PHONEMES",label:"\uC74C\uC18C 3\uAC1C \uD569\uCE58\uAE30",icon:"braces",color:Rn,subTitle:"\uC138 \uC74C\uC18C\uB97C \uD569\uCE58\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"}]},{key:"deletion",label:"\uD0C8\uB77D\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC5D0\uC11C \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uC81C\uAC70\uD588\uC744 \uB54C \uB0A8\uB294 \uC18C\uB9AC\uB97C \uC778\uC2DD\uD558\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"scissors",types:[{key:"DROP_1_FROM_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"scissors",color:hn,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_1_FROM_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C 1\uC74C\uC808 \uD0C8\uB77D",icon:"minus-circle",color:hn,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC5D0\uC11C \uD55C \uC74C\uC808\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_PART_FROM_COMPOUND",label:"\uD569\uC131\uC5B4\uC5D0\uC11C \uBD80\uBD84\uD0C8\uB77D",icon:"unlink",color:hn,subTitle:"\uD569\uC131\uC5B4\uC758 \uC77C\uBD80\uB97C \uBE7C\uBA74 \uC5B4\uB5A4 \uB2E8\uC5B4\uAC00 \uB420\uAE4C\uC694?"},{key:"DROP_FINAL_CONSONANT_FROM_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uBC1B\uCE68 \uD0C8\uB77D",icon:"eraser",color:hn,subTitle:"\uBC1B\uCE68\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB420\uAE4C\uC694?"},{key:"REMOVE_CONSONANT_AND_IDENTIFY_PHONEME",label:"1\uC74C\uC808\uC5D0\uC11C \uC790\uC74C \uD0C8\uB77D",icon:"audio-lines",color:hn,subTitle:"\uC790\uC74C\uC744 \uBE7C\uBA74 \uC5B4\uB5A4 \uC18C\uB9AC\uAC00 \uB0A8\uC744\uAE4C\uC694?"}]},{key:"substitution",label:"\uB300\uCE58\uD6C8\uB828",disc:"\uB2E8\uC5B4\uC758 \uC77C\uBD80 \uC74C\uC808\uC774\uB098 \uC74C\uC18C\uB97C \uBC14\uAFB8\uC5B4 \uC0C8\uB85C\uC6B4 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uB294 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"replace",types:[{key:"CHANGE_1_SYLL_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"replace",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_SYLL_IN_3SYLL",label:"3\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC808 \uBC14\uAFB8\uAE30",icon:"shuffle",color:In,subTitle:"3\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC808\uC744 \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_1SYLL",label:"1\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"arrow-right-left",color:In,subTitle:"1\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uC18C\uB9AC\uB97C \uB9CC\uB4DC\uC138\uC694."},{key:"CHANGE_1_PHONEME_IN_2SYLL",label:"2\uC74C\uC808\uC5D0\uC11C \uD55C \uC74C\uC18C \uBC14\uAFB8\uAE30",icon:"flip-horizontal",color:In,subTitle:"2\uC74C\uC808 \uB2E8\uC5B4\uC758 \uD55C \uC74C\uC18C\uB97C \uBC14\uAFD4 \uC0C8 \uB2E8\uC5B4\uB97C \uB9CC\uB4DC\uC138\uC694."}]},{key:"attention",label:"\uCCAD\uAC01\uC801\uC8FC\uC758\uB825\uD6C8\uB828",disc:"\uC5EC\uB7EC \uC18C\uB9AC\uB97C \uB4E3\uACE0 \uC21C\uC11C\uB97C \uAE30\uC5B5\uD558\uB294 \uC8FC\uC758\uB825\uACFC \uB2E8\uAE30 \uAE30\uC5B5 \uD6C8\uB828\uC785\uB2C8\uB2E4.",icon:"list-ordered",types:[{key:"LISTEN_AND_REMEMBER_ORDER",label:"\uB4E3\uACE0 \uC21C\uC11C\uB300\uB85C \uAE30\uC5B5\uD558\uAE30",icon:"list-ordered",color:rh,subTitle:"\uC138 \uB2E8\uC5B4\uB97C \uB4E4\uC740 \uC21C\uC11C\uB300\uB85C \uCE74\uB4DC\uB97C \uC120\uD0DD\uD558\uC138\uC694."}]}];function ah(){const{t:e}=kt();return Se(()=>{const t=Object.fromEntries(Ad(e).map(o=>[o.key,o.label])),n={...t};return uh.flatMap(o=>o.types).forEach(o=>{n[o.key]=e(`trainingType.${o.key}.label`,{defaultValue:o.label})}),{sentence:t,all:n}},[e])}export{Xo as CACHE_GROUPS,Uo as DocumentTitleSuppressContext,go as EMPTY_COMPOSITION,Fo as MediaQueryOverrideContext,rt as NO_CODA,ut as SYLLABLE_MIN,er as VAP_PAGE_SIZE_OPTIONS,Xr as buildGradeSection,Zr as buildPartOfSpeechSection,vd as buildPositionSection,xd as buildSelectSection,Dd as buildSyllableSection,Jr as buildWordTypeSection,ou as charToPronValue,uu as convertComposition,Wu as fmtBytes,Zo as lsBytes,Eo as meaningKey,ru as pronToCharValue,Co as syllableToFilter,Kt as today,Od as toggleAttributeFilter,Ku as useCacheManagement,Jd as useDailyTrainingSelection,Td as useDelayedHoverAnchor,ra as useDeviceManagement,xu as useDocumentTitle,eh as useEscToClose,Tu as useFontScale,Wr as useHoverAnchor,Du as useMediaQuery,nh as usePagedList,Ou as usePasswordChange,vu as useRelativeDay,na as useTablePaging,oa as useTableSort,oh as useToastState,ah as useTrainingTypeLabels,ta as useVisitAllPanel,Ju as useVisitHistory,ea as useVisitSchedule,zo as useWindowEvent,Kr as useWordAttributeFilterKeys,Xu as useWordDataStats,th as useWordMeanings,Wd as useWordTrainingDataGeneration,Yd as useWordTrainingFilter,pt as valueToJamos};