import{_ as b,x as $,e as d,o as y,g as w,c as e,w as o,a as k,z as S,v as W,i as n,t as a,aD as B,aE as C,B as q,m as I,R,W as v,n as O}from"./app-DGDivIsO.js";import{S as U}from"./ShoppingOutlined-BFKX0RTd.js";import"./index-C2QBqMxH.js";const D=$({components:{ShoppingOutlined:U},setup(){const{frontWarehouse:t}=k();return{orderUniqueId:S().params.uniqueId,frontWarehouse:t}}}),E={class:"mt-30 mb-30"};function N(t,p,c,V,j,z){const s=d("router-link"),r=B,m=C,f=d("ShoppingOutlined"),u=q,i=I,h=R,g=v,l=O,_=W;return y(),w("div",E,[e(_,{type:"flex",justify:"center"},{default:o(()=>[e(l,{span:20},{default:o(()=>[e(m,null,{default:o(()=>[e(r,null,{default:o(()=>[e(s,{to:{name:"front.homepage",params:{warehouse:t.frontWarehouse.slug}}},{default:o(()=>[n(a(t.$t("front.home")),1)]),_:1},8,["to"])]),_:1}),e(r,null,{default:o(()=>[e(s,{to:{name:"front.dashboard",params:{warehouse:t.frontWarehouse.slug}}},{default:o(()=>[n(a(t.$t("front.dashboard")),1)]),_:1},8,["to"])]),_:1}),e(r,null,{default:o(()=>[e(s,{to:{name:"front.orders",params:{warehouse:t.frontWarehouse.slug}}},{default:o(()=>[n(a(t.$t("front.my_orders")),1)]),_:1},8,["to"])]),_:1}),e(r,null,{default:o(()=>[n(a(t.$t("front.order_placed")),1)]),_:1})]),_:1}),e(_,{class:"mt-30"},{default:o(()=>[e(l,{span:24},{default:o(()=>[e(g,{title:null,bordered:!1,style:{borderRadius:"10px"},class:"dashboard-container"},{default:o(()=>[e(h,{status:"success",title:t.$t("front.order_placed"),"sub-title":t.$t("front.order_placed_message",[t.orderUniqueId])},{extra:o(()=>[e(i,null,{default:o(()=>[e(u,{key:"console",type:"primary"},{default:o(()=>[e(s,{to:{name:"front.orders",params:{warehouse:t.frontWarehouse.slug}}},{default:o(()=>[e(f),n(" "+a(t.$t("front.all_orders")),1)]),_:1},8,["to"])]),_:1}),e(u,{key:"buy"},{default:o(()=>[e(s,{to:{name:"front.homepage",params:{warehouse:t.frontWarehouse.slug}}},{default:o(()=>[n(a(t.$t("front.continue_shopping")),1)]),_:1},8,["to"])]),_:1})]),_:1})]),_:1},8,["title","sub-title"])]),_:1})]),_:1})]),_:1})]),_:1})]),_:1})])}const G=b(D,[["render",N]]);export{G as default};
