(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[888],{4297:function(e,t,r){"use strict";r.d(t,{Z:function(){return c}});var n=r(7294),i={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"};/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let s=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase().trim(),c=(e,t)=>{let r=(0,n.forwardRef)(({color:r="currentColor",size:c=24,strokeWidth:a=2,absoluteStrokeWidth:o,className:l="",children:u,...d},h)=>(0,n.createElement)("svg",{ref:h,...i,width:c,height:c,stroke:r,strokeWidth:o?24*Number(a)/Number(c):a,className:["lucide",`lucide-${s(e)}`,l].join(" "),...d},[...t.map(([e,t])=>(0,n.createElement)(e,t)),...Array.isArray(u)?u:[u]]));return r.displayName=`${e}`,r}},1352:function(e,t,r){"use strict";r.d(t,{Z:function(){return n}});/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let n=(0,r(4297).Z)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},6840:function(e,t,r){(window.__NEXT_P=window.__NEXT_P||[]).push(["/_app",function(){return r(1484)}])},9189:function(e,t,r){"use strict";r.d(t,{V:function(){return h},p:function(){return d}});var n=r(5893),i=r(7294),s=r(4297);/**
 * @license lucide-react v0.344.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */let c=(0,s.Z)("CheckCircle",[["path",{d:"M22 11.08V12a10 10 0 1 1-5.93-9.14",key:"g774vq"}],["path",{d:"m9 11 3 3L22 4",key:"1pflzl"}]]),a=(0,s.Z)("AlertCircle",[["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"}]]),o=(0,s.Z)("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]);var l=r(1352);let u=(0,i.createContext)(void 0),d=()=>{let e=(0,i.useContext)(u);if(!e)throw Error("useToast must be used within ToastProvider");return e},h=e=>{let{children:t}=e,[r,s]=(0,i.useState)([]),d=(0,i.useCallback)((e,t)=>{let r=Math.random().toString(36).substring(7),n={id:r,message:e,type:t};s(e=>[...e,n]),setTimeout(()=>{s(e=>e.filter(e=>e.id!==r))},5e3)},[]),h=(0,i.useCallback)(e=>d(e,"success"),[d]),f=(0,i.useCallback)(e=>d(e,"error"),[d]),p=(0,i.useCallback)(e=>d(e,"info"),[d]),x=e=>{s(t=>t.filter(t=>t.id!==e))};return(0,n.jsxs)(u.Provider,{value:{showToast:d,success:h,error:f,info:p},children:[t,(0,n.jsx)("div",{className:"fixed top-4 right-4 z-[9999] space-y-2",children:r.map(e=>(0,n.jsxs)("div",{className:"\n              flex items-center gap-3 min-w-[300px] max-w-md p-4 rounded-lg \n              backdrop-blur-md border shadow-lg\n              animate-in slide-in-from-right duration-300\n              ".concat("success"===e.type?"bg-green-900/90 border-green-500 text-green-100":"","\n              ").concat("error"===e.type?"bg-red-900/90 border-red-500 text-red-100":"","\n              ").concat("info"===e.type?"bg-blue-900/90 border-blue-500 text-blue-100":"","\n            "),children:["success"===e.type&&(0,n.jsx)(c,{className:"w-5 h-5 flex-shrink-0"}),"error"===e.type&&(0,n.jsx)(a,{className:"w-5 h-5 flex-shrink-0"}),"info"===e.type&&(0,n.jsx)(o,{className:"w-5 h-5 flex-shrink-0"}),(0,n.jsx)("p",{className:"flex-1 text-sm font-mono",children:e.message}),(0,n.jsx)("button",{onClick:()=>x(e.id),className:"flex-shrink-0 hover:opacity-70 transition-opacity",children:(0,n.jsx)(l.Z,{className:"w-4 h-4"})})]},e.id))})]})}},1484:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return a}});var n=r(5893);r(7133);var i=r(9008),s=r.n(i),c=r(9189);function a(e){let{Component:t,pageProps:r}=e;return(0,n.jsxs)(c.V,{children:[(0,n.jsxs)(s(),{children:[(0,n.jsx)("title",{children:"NEXUS_MAT.OS"}),(0,n.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1"})]}),(0,n.jsx)(t,{...r})]})}},7133:function(){},9008:function(e,t,r){e.exports=r(6665)}},function(e){var t=function(t){return e(e.s=t)};e.O(0,[774,179],function(){return t(6840),t(3035)}),_N_E=e.O()}]);