1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7177],{35950:(e,t,s)=>{Promise.resolve().then(s.bind(s,96984)),Promise.resolve().then(s.bind(s,51660)),Promise.resolve().then(s.bind(s,20973)),Promise.resolve().then(s.t.bind(s,41402,23)),Promise.resolve().then(s.t.bind(s,88130,23)),Promise.resolve().then(s.t.bind(s,62012,23)),Promise.resolve().then(s.t.bind(s,32113,23)),Promise.resolve().then(s.t.bind(s,14345,23)),Promise.resolve().then(s.t.bind(s,41290,23))},41290:()=>{},51660:(e,t,s)=>{"use strict";s.d(t,{E:()=>h,ToastProvider:()=>u});var a=s(95155),n=s(12115),r=s(42529),o=s(6132),l=s(52056),i=s(23327),c=s(65229);let d=(0,n.createContext)(null);function u(e){let{children:t}=e,[s,r]=(0,n.useState)([]),o=e=>{r(t=>t.filter(t=>t.id!==e))};return(0,a.jsxs)(d.Provider,{value:{showToast:e=>{let t=Math.random().toString(36).substring(2,9),s={id:t,duration:5e3,...e};r(e=>[...e,s]),s.duration&&s.duration>0&&setTimeout(()=>{o(t)},s.duration)},hideToast:o},children:[t,(0,a.jsx)(m,{toasts:s,onHide:o})]})}function m(e){let{toasts:t,onHide:s}=e;return 0===t.length?null:(0,a.jsx)("div",{className:"fixed top-4 right-4 z-50 space-y-3 max-w-sm w-full",children:t.map(e=>(0,a.jsx)(x,{toast:e,onHide:s},e.id))})}function x(e){let{toast:t,onHide:s}
1=e,[d,u]=(0,n.useState)(!1),[m,x]=(0,n.useState)(!1);return(0,n.useEffect)(()=>{let e=setTimeout(()=>u(!0),50);return()=>clearTimeout(e)},[]),(0,a.jsx)("div",{className:(()=>{let e="p-4 rounded-lg shadow-lg border transform transition-all duration-300 ease-out",s=d&&!m?"translate-x-0 opacity-100":"translate-x-full opacity-0";switch(t.type){case"success":return"".concat(e," ").concat(s," bg-[var(--bg-surface)] border-[var(--accent-20)]");case"error":return"".concat(e," ").concat(s," bg-[var(--bg-surface)] border-[var(--danger)]");case"warning":return"".concat(e," ").concat(s," bg-[var(--bg-surface)] border-[var(--accent-glow)]");case"info":return"".concat(e," ").concat(s," bg-[var(--bg-surface)] border-[var(--info)]");default:return"".concat(e," ").concat(s," bg-[var(--bg-surface)] border-[var(--border-m)]")}})(),children:(0,a.jsxs)("div",{className:"flex items-start",children:[(0,a.jsx)("div",{className:"flex-shrink-0",children:(()=>{switch(t.type){case"success":return(0,a.jsx)(r.A,{className:"w-5 h-5 text-[var(--success)]"});case"error":return(0,a.jsx)(o.A,{className:"w-5 h-5 text-[var(--danger)]"});case"warning":return(0,a.jsx)(l.A,{className:"w-5 h-5 text-[var(--accent-glow)]"});case"info":return(0,a.jsx)(i.A,{className:"w-5 h-5 text-[var(--info)]"});default:return null}})()}),(0,a.jsxs)("div",{className:"ml-3 flex-1",children:[(0,a.jsx)("h4",{className:"text-sm font-medium text-[var(--text-1)]",children:t.title}),t.message&&(0,a.jsx)("p",{className:"mt-1 text-sm text-[var(--text-1)]",children:t.message}),t.action&&(0,a.jsx)("div",{className:"mt-3",children:(0,a.jsx)("button",{onClick:t.action.onClick,className:"text-sm font-medium text-[var(--accent)] hover:text-[var(--accent)]",children:t.action.label})})]}),(0,a.jsx)("div",{className:"ml-4 flex-shrink-0",children:(0,a.jsx)("button",{onClick:()=>{x(!0),setTimeout(()=>s(t.id),300)},className:"inline-flex text-[var(--text-2)] hover:text-[var(--text-1)] focus:outline-none","aria-label":"Dismiss notification",children:(0,a.jsx)(c.A,{className:"w-4 h-4"})})})]})})}function h(){let{showToast:e}=function(){let e=(0,n.useContext)(d);if(!e)throw Error("useToast must be used within a ToastProvider");return e}();return{success:(t,s,a)=>e({type:"success",title:t,message:s,action:a}),error:(t,s,a)=>e({type:"error",title:t,message:s,action:a}),warning:(t,s,a)=>e({type:"warning",title:t,message:s,action:a}),info:(t,s,a)=>e({type:"info",title:t,message:s,action:a})}}},96984:(e,t,s)=>{"use strict";s.d(t,{LanguageSuggest:()=>f,c:()=>g,u:()=>v});var a=s(95155),n=s(12115),r=s(20063),o=s(39068),l=s(65229);let i=[{code:"en",label:"English",short:"EN"},{code:"ja",label:"æ¥æ¬èª",short:"JA"},{code:"zh",label:"䏿",short:"ZH"},{code:"ko",label:"íêµì´",short:"KO"},{code:"tr",label:"T\xfcrk\xe7e",short:"TR"}],c=i.map(e=>e.code),d={en:{detected:"Your browser language is set to {lang}.",switchTo:"Switch language",dismiss:"No thanks"},ja:{detected:"ãã©ã¦ã¶ã®è¨èªã{lang}ã«è¨å®ããã¦ãã¾ãã",switchTo:"è¨èªãåæ¿",dismiss:"çµæ§ã§ã"},zh:{detected:"æ£æµå°æ¨çæµè§å¨è¯è¨ä¸º{lang}ã",switchTo:"忢è¯è¨",dismiss:"ä¸ç¨äº"},ko:{detected:"ë¸ë¼ì°ì ì¸ì´ê° {lang}(ì¼)ë¡ ì¤ì ëì´ ììµëë¤.",switchTo:"ì¸ì´ ë³ê²½",dismiss:"ê´ì°®ìµëë¤"},tr:{detected:"Tarayıcı diliniz {lang} olarak ayarlanmıÅ.",switchTo:"Dili deÄiÅtir",dismiss:"Hayır"},fr:{detected:"La langue de votre navigateur est d\xe9finie sur {lang}.",switchTo:"Changer de langue",dismiss:"Non merci"},de:{detected:"Ihre Browsersprache ist auf {lang} eingestellt.",switchTo:"Sprache wechseln",dismiss:"Nein danke"},es:{detected:"El idioma de su navegador est\xe1 configurado en {lang}.",switchTo:"Cambiar idioma",dismiss:"No gracias"}},u={en:"English",ja:"æ¥æ¬èª",zh:"䏿",ko:"íêµì´",tr:"T\xfcrk\xe7e",fr:"Fran\xe7ais",de:"Deutsch",es:"Espa\xf1ol"};function m(e,t,s){let a=new Date(Date.now()+864e5*s).toUTCString();document.cookie="".concat(e,"=").concat(encodeURIComponent(t),";expires=").concat(a,";path=/;SameSite=Lax")}function x(e){let t=e.split("/").filter(Boolean);return t.length>0&&c.includes(t[0])?{lang:t[0],basePath:"/"+t.slice(1).join("/")}:{lang:"en",basePath:e}}function h(e,t){return"en"===e?t||"/":"/".concat(e).concat("/"===t?"":t)}function g(e){var t;let{compact:s=!1}
1=e,[l,c]=(0,n.useState)(!1),d=(0,n.useRef)(null),u=(0,r.usePathname)(),g=(0,r.useRouter)(),{lang:v,basePath:f}=x(u);(0,n.useEffect)(()=>{function e(e){d.current&&!d.current.contains(e.target)&&c(!1)}return document.addEventListener("mousedown",e),()=>document.removeEventListener("mousedown",e)},[]);let b=null!=(t=i.find(e=>e.code===v))?t:i[0];return(0,a.jsxs)("div",{ref:d,className:"relative",children:[(0,a.jsxs)("button",{onClick:()=>c(!l),className:"flex items-center gap-1.5 text-[var(--text-2)] hover:text-[var(--text-1)] transition-colors ".concat(s?"px-1.5 py-1 text-xs":"px-2 py-1.5 text-sm"," rounded hover:bg-[var(--bg-hover)]"),"aria-label":"Change language","aria-expanded":l,children:[(0,a.jsx)(o.A,{className:s?"w-3.5 h-3.5":"w-4 h-4"}),(0,a.jsx)("span",{className:"font-medium",children:b.short})]}),l&&(0,a.jsx)("div",{className:"absolute right-0 top-full mt-1 w-40 bg-[var(--bg-elevated)] border border-[var(--border-m)] rounded shadow-xl z-50 py-1 overflow-hidden",children:i.map(e=>(0,a.jsxs)("button",{onClick:()=>(function(e){c(!1),m("preferred_lang",e,365),window.dispatchEvent(new CustomEvent("language-changed",{detail:{lang:e}}));let t=h(e,f);g.push(t)})(e.code),className:"w-full text-left px-3 py-2 text-sm transition-colors flex items-center justify-between ".concat(e.code===v?"text-[var(--accent)] bg-[var(--accent-subtle)]":"text-[var(--text-2)] hover:text-[var(--text-1)] hover:bg-[var(--bg-hover)]"),children:[(0,a.jsx)("span",{children:e.label}),(0,a.jsx)("span",{className:"text-xs text-[var(--text-3)]",children:e.short})]},e.code))})]})}function v(){let e=(0,r.usePathname)(),t=(0,r.useRouter)(),{lang:s,basePath:n}=x(e);return(0,a.jsx)("div",{className:"flex items-center gap-1 flex-wrap",children:i.map((e,r)=>(0,a.jsxs)("span",{className:"flex items-center",children:[(0,a.jsx)("button",{onClick:()=>(function(e){m("preferred_lang",e,365),window.dispatchEvent(new CustomEvent("language-changed",{detail:{lang:e}}));let s=h(e,n);t.push(s)})(e.code),className:"text-xs px-1.5 py-0.5 rounded transition-colors ".concat(e.code===s?"text-[var(--accent)] font-semibold":"text-[var(--text-3)] hover:text-[var(--text-2)]"),children:e.short}),r<i.length-1&&(0,a.jsx)("span",{className:"text-[var(--border-s)] text-xs",children:"|"})]},e.code))})}function f(){let[e,t]=(0,n.useState)(!1),[s,o]=(0,n.useState)(null),i=(0,r.usePathname)(),g=(0,r.useRouter)(),{lang:v,basePath:f}=x(i);if((0,n.useEffect)(()=>{if(localStorage.getItem("sl-lang-suggest-dismissed"))return;let e=function(){for(let e of navigator.languages||[navigator.language||"en"]){let t=e.toLowerCase();if(c.includes(t))return t;let s=t.split("-")[0];if(c.includes(s))return s}return null}();e&&e!==v&&(o(e),t(!0))},[v]),!e||!s)return null;let b=d[s]||d.en,p=u[s]||s,w=b.detected.replace("{lang}",p);function j(){t(!1),localStorage.setItem("sl-lang-suggest-dismissed","true")}return(0,a.jsxs)("div",{className:"fixed bottom-4 left-1/2 -translate-x-1/2 z-50 bg-[var(--bg-elevated)] border border-[var(--border-m)] rounded-lg shadow-2xl px-5 py-3.5 max-w-sm w-[calc(100%-2rem)] animate-[slideUp_0.3s_ease-out]",role:"alert",children:[(0,a.jsx)("button",{onClick:j,className:"absolute top-2 right-2 text-[var(--text-3)] hover:text-[var(--text-2)] transition-colors","aria-label":"Dismiss",children:(0,a.jsx)(l.A,{className:"w-4 h-4"})}),(0,a.jsx)("p",{className:"text-[var(--text-2)] text-sm leading-relaxed mb-3 pr-4",children:w}),(0,a.jsxs)("div",{className:"flex items-center justify-end gap-3",children:[(0,a.jsx)("button",{onClick:j,className:"text-[var(--text-3)] text-sm hover:text-[var(--text-2)] transition-colors",children:b.dismiss}),(0,a.jsx)("button",{onClick:function(){m("preferred_lang",s,365),localStorage.setItem("sl-lang-suggest-dismissed","true"),window.dispatchEvent(new CustomEvent("language-changed",{detail:{lang:s}}));let e=h(s,f);g.push(e),t(!1)},className:"text-[var(--bg-deep)] text-sm font-medium bg-[var(--accent)] hover:bg-[var(--accent-hover)] px-3 py-1.5 rounded transition-colors",children:b.switchTo})]}),(0,a.jsx)("style",{children:"\n @keyframes slideUp {\n from { opacity: 0; transform: translate(-50%, 1rem); }\n to { opacity: 1; transform: translate(-50%, 0); }\n }\n "})]})}}},e=>{e.O(0,[6185,4852,973,8441,1255,7358],()=>e(e.s=35950)),_N_E=e.O()}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.