1import{d as k,K as C,u as b,b as v,q as S,D as i,E,c as O,f as t,g as a,t as T,j as u,e as d,w as m,J as A,o as B,k as M}from"./27Oh8GQO.js";import{_ as N}from"./Cb8Z6jP2.js";import{u as V}from"./CAVRagRt.js";import{u as D}from"./BGE50i0G.js";import{u as I}from"./Dzqf0qly.js";import"./DANOPsQX.js";import"./BEw6mI4r.js";import"./CAjWarSD.js";import"./DViq-0Yr.js";import"./gsoYft4z.js";const L={class:"new-typography text-default"},P={class:"align-full bg-white py-10 laptop:pt-20"},Y={class:"fla-wrapper flex flex-col items-center gap-y-2"},$={class:"text-black/50"},j={class:"align-full"},X=k({__name:"[orderId]",async setup(q){let o,n;const{getOrderById:p}=V(),{clearCart:f}=D(),_=I(),l=C(),y=b();v({title:"Your Order - Flight Levels Academy"});const{data:r,error:g}=([o,n]=S(async()=>A(async()=>await p(y.params.orderId),"$SyPsV2Q3LY")),o=await o,n(),o);if(g.value)throw i({statusCode:500,statusMessage:"Could not load data! Please try again!"});if(!r.value)throw i({statusCode:404,statusMessage:"Sorry, we could not find your order"});const w=async()=>{try{const s=await f();s?l.cart=s:l.clearCart()}catch(s){console.error(s)}};return E(()=>{r.value&&_("purchase",r.value),w()}),(s,e)=>{var c;const x=M,h=N;return B(),O("main",L,[t("section",P,[t("div",Y,[e[2]||(e[2]=t("i",{class:"fla-icon fla-icon--checkbox-circle-line size-14 text-green-500"},null,-1)),e[3]||(e[3]=t("h3",{class:"mb-0"},[t("span",{class:"marker-highlight--green"},"Thanks"),a(" for your order")],-1)),t("span",$,[e[0]||(e[0]=a("The order confirmation was send to ")),t("strong",null,T((c=u(r).billing)==null?void 0:c.email),1),e[1]||(e[1]=a("."))])])]),t("section",j,[d(h,{order:u(r),class:"fla-wrapper checkout--container"},{afterSummary:m(()=>[d(x,{to:"/account/me/my-orders",class:"!text-small"},{default:m(()=>e[4]||(e[4]=[t("i",{class:"fla-icon fla-icon--arrow fla-icon--arrow--left"},null,-1),a(" My orders ")])),_:1})]),_:1},8,["order"])])])}}});export{X as default};
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.