(()=>{var e={};e.id=7980,e.ids=[7980],e.modules={72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},74121:(e,s,r)=>{"use strict";r.r(s),r.d(s,{GlobalError:()=>n.a,__next_app__:()=>c,originalPathname:()=>u,pages:()=>p,routeModule:()=>x,tree:()=>l}),r(33833),r(96132),r(30935),r(26083),r(96560);var a=r(23191),t=r(88716),o=r(37922),n=r.n(o),d=r(95231),i={};for(let e in d)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(i[e]=()=>d[e]);r.d(s,i);let l=["",{children:["porosi",{children:["adresa",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,33833)),"/Users/ferlando/Desktop/baboon-nextjs/app/porosi/adresa/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,96132)),"/Users/ferlando/Desktop/baboon-nextjs/app/porosi/layout.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,30935)),"/Users/ferlando/Desktop/baboon-nextjs/app/layout.tsx"],error:[()=>Promise.resolve().then(r.bind(r,26083)),"/Users/ferlando/Desktop/baboon-nextjs/app/error.tsx"],"not-found":[()=>Promise.resolve().then(r.bind(r,96560)),"/Users/ferlando/Desktop/baboon-nextjs/app/not-found.tsx"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,24697))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],p=["/Users/ferlando/Desktop/baboon-nextjs/app/porosi/adresa/page.tsx"],u="/porosi/adresa/page",c={require:r,loadChunk:()=>Promise.resolve()},x=new a.AppPageRouteModule({definition:{kind:t.x.APP_PAGE,page:"/porosi/adresa/page",pathname:"/porosi/adresa",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:l}})},60885:(e,s,r)=>{Promise.resolve().then(r.bind(r,32152))},35303:()=>{},32152:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>d});var a=r(10326),t=r(17577),o=r(35047),n=r(6162);function d(){let e=(0,n.T)(),s=(0,o.useRouter)(),[r,d]=(0,t.useState)([]),[i,l]=(0,t.useState)(null),[p,u]=(0,t.useState)(!0);return p?a.jsx("div",{className:"text-gray-500",children:e("loading",{defaultValue:"Duke ngarkuar..."})}):(0,a.jsxs)("div",{children:[a.jsx("h1",{className:"text-2xl font-bold mb-6",children:e("select_address",{defaultValue:"Zgjidh Adresen e Dergeses"})}),a.jsx("div",{className:"space-y-3 mb-6",children:r.map(e=>a.jsx("label",{className:`block bg-white rounded-xl p-4 shadow-sm cursor-pointer border-2 transition-all ${i===e.id?"border-orange-500":"border-transparent"}`,children:(0,a.jsxs)("div",{className:"flex items-center gap-3",children:[a.jsx("input",{type:"radio",name:"address",checked:i===e.id,onChange:()=>l(e.id),className:"accent-orange-500"}),(0,a.jsxs)("div",{children:[a.jsx("p",{className:"font-medium",children:e.address}),e.addressdetails&&a.jsx("p",{className:"text-sm text-gray-500",children:e.addressdetails})]})]})},e.id))}),0===r.length&&a.jsx("div",{className:"bg-white rounded-xl p-8 shadow-sm text-center text-gray-500 mb-6",children:e("no_addresses_order",{defaultValue:"Nuk keni asnje adrese. Shtoni nje adrese per te vazhduar."})}),a.jsx("button",{onClick:function(){i&&s.push("/porosi/koha")},disabled:!i,className:"w-full bg-orange-500 hover:bg-orange-600 disabled:bg-orange-300 text-white font-semibold px-6 py-3 rounded-lg transition-colors",children:e("continue",{defaultValue:"Vazhdo"})})]})}},33833:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>a});let a=(0,r(68570).createProxy)(String.raw`/Users/ferlando/Desktop/baboon-nextjs/app/porosi/adresa/page.tsx#default`)},96132:(e,s,r)=>{"use strict";r.r(s),r.d(s,{default:()=>o,metadata:()=>t});var a=r(19510);let t={robots:{index:!1,follow:!1}};function o({children:e}){return a.jsx("div",{className:"bg-gray-50 dark:bg-black min-h-screen",children:e})}}};var s=require("../../../webpack-runtime.js");s.C(e);var r=e=>s(s.s=e),a=s.X(0,[8948,3314,9929,5099],()=>r(74121));module.exports=a})();