(()=>{var e={};e.id=875,e.ids=[875],e.modules={3295:e=>{"use strict";e.exports=require("next/dist/server/app-render/after-task-async-storage.external.js")},10846:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},19121:e=>{"use strict";e.exports=require("next/dist/server/app-render/action-async-storage.external.js")},29294:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-async-storage.external.js")},32799:(e,t,r)=>{Promise.resolve().then(r.bind(r,35268))},33873:e=>{"use strict";e.exports=require("path")},35268:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>n});let n=(0,r(12907).registerClientReference)(function(){throw Error("Attempted to call the default export of \"/home/mokter/personal/admin-service/inza-eco-admin/app/(private)/products/edit-product/[id]/page.tsx\" from the server, but it's on the client. It's not possible to invoke a client function from the server, it can only be rendered as a Component or passed to props of a Client Component.")},"/home/mokter/personal/admin-service/inza-eco-admin/app/(private)/products/edit-product/[id]/page.tsx","default")},36372:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>s.a,__next_app__:()=>c,pages:()=>l,routeModule:()=>u,tree:()=>p});var n=r(65239),o=r(48088),i=r(88170),s=r.n(i),a=r(30893),d={};for(let e in a)0>["default","tree","pages","GlobalError","__next_app__","routeModule"].indexOf(e)&&(d[e]=()=>a[e]);r.d(t,d);let p={children:["",{children:["(private)",{children:["products",{children:["edit-product",{children:["[id]",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,35268)),"/home/mokter/personal/admin-service/inza-eco-admin/app/(private)/products/edit-product/[id]/page.tsx"]}]},{}]},{}]},{}]},{"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,46055))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,58014)),"/home/mokter/personal/admin-service/inza-eco-admin/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,57398,23)),"next/dist/client/components/not-found-error"],forbidden:[()=>Promise.resolve().then(r.t.bind(r,89999,23)),"next/dist/client/components/forbidden-error"],unauthorized:[()=>Promise.resolve().then(r.t.bind(r,65284,23)),"next/dist/client/components/unauthorized-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,46055))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]}.children,l=["/home/mokter/personal/admin-service/inza-eco-admin/app/(private)/products/edit-product/[id]/page.tsx"],c={require:r,loadChunk:()=>Promise.resolve()},u=new n.AppPageRouteModule({definition:{kind:o.RouteKind.APP_PAGE,page:"/(private)/products/edit-product/[id]/page",pathname:"/products/edit-product/[id]",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:p}})},51074:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});var n=r(60687),o=r(53041),i=r(91627),s=r(16189);let a=()=>{let e=(0,s.useParams)().id,{data:t,isLoading:r,isError:a}=(0,o.Re)(e);return r?(0,n.jsx)("p",{className:"text-center mt-10",children:"Loading..."}):a?(0,n.jsx)("p",{className:"text-center mt-10",children:"Something went wrong!"}):(0,n.jsx)("div",{className:"p-6 min-h-screen bg-[#f5f5f5]",children:(0,n.jsx)(i.default,{editData:t})})}},63033:e=>{"use strict";e.exports=require("next/dist/server/app-render/work-unit-async-storage.external.js")},69751:(e,t,r)=>{Promise.resolve().then(r.bind(r,51074))},79551:e=>{"use strict";e.exports=require("url")}};var t=require("../../../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),n=t.X(0,[243,621,658,659,567,815,485,556,945,627],()=>r(36372));module.exports=n})();