PageSourceSearch

https://megatix.in.th/_nuxt/BQ150bEe.js

js megatix.in.th collected 2026-09-25 15:02:37 UTC 3,042 bytes, 1 lines download raw bytes

1import{_ as R}from"./D87CfIvf.js";import{u as T,_ as L,O as c,o as K}from"./UwXKg5QU.js";import{_ as j,a as M,b as X,c as q,d as z,e as F,f as G}from"./DR5ksd7_.js";import{_ as J}from"./D8wBXvBz.js";import{d as Q,s as U,N as W,c as d,a as i,e as s,f as n,u as e,g as a,w as l,o,b as f,t as b}from"./Dki5OcH0.js";import{u as Y}from"./CW5r8cLj.js";import"./DGi6a7cO.js";import"./DXyaiJ_W.js";import"./DdNuWstV.js";import"./CF78Zl-8.js";import"./BJooshmX.js";import"./DjE9A-8r.js";import"./De2EI-Zh.js";import"./HMY5Fzbp.js";import"./BuV6Coif.js";const Z={key:0,class:"-mt-[4.5rem] flex min-h-screen items-center justify-center"},ee={class:"font-md page-container-padding mx-auto flex w-full max-w-7xl flex-col items-center pt-10"},re={class:"grid w-full grid-cols-1 gap-6 xl:grid-cols-[300px_1fr]"},te={key:0,class:"px-6 py-8"},oe={key:0},se={key:1},we=Q({__name:"[key]",setup(ne){const v=T(),w=U(),{id:E,key:O}=w.params;W({meta:[{name:"robots",content:"noindex"}]});function y(){var p;const t=(p=r.value)==null?void 0:p.download_tickets_url;t&&window.open(t,"_blank")}const{data:S,status:g,error:h,refresh:m}=Y("order:public",()=>v.fetchOrderByKey(`${E}`,`${O}`),{server:!1}),r=d(()=>S.value??null),$=d(()=>K(r.value)),P=d(()=>g.value==="pending"),k=d(()=>!!r.value&&(r.value.refund_data.is_fully_refunded||$.value&&r.value.status!==c.DEPOSIT_PAID)),I=d(()=>{var t;return((t=r.value)==null?void 0:t.status)===c.RESERVATION_EXPIRED});return(t,p)=>{const x=R,D=L,C=j,_=M,B=q,u=X,A=z,V=F,H=G,N=J;return e(P)?(o(),i("div",Z,[a(x)])):e(h)?(o(),s(D,{key:1,status:e(h).statusCode},null,8,["status"])):e(r)?(o(),s(N,{key:2,hideBgColour:!0,class:"overflow-visible"},{default:l(()=>[f("section",ee,[f("div",re,[a(C,{order:e(r),"refresh-order":e(m),"download-tickets-handler":y,hideActions:""},null,8,["order","refresh-order"]),f("div",null,[e(k)?(o(),s(_,{key:0,title:t.$t("orders_your_items"),class:"mb-2"},null,8,["title"])):n("",!0),e(k)?(o(),s(u,{key:1,class:"mb-6"},{default:l(()=>[e(r).refund_data.is_fully_refunded?(o(),i("div",te,[e(I)?(o(),i("p",oe,b(t.$t("orders_order_has_expired_text")),1)):(o(),i("p",se,b(t.$t("orders_order_is_empty_text")),1))])):(o(),s(B,{key:1,order:e(r),downloadTicketsHandler:y},null,8,["order"]))]),_:1})):n("",!0),e(r).laybuy&&e(r).status!==("OrderStatusEnum"in t?t.OrderStatusEnum:e(c)).DEPOSIT_PAID?(o(),s(_,{key:2,title:"Laybuy",class:"mb-2"})):n("",!0),e(r).laybuy&&e(r).status!==("OrderStatusEnum"in t?t.OrderStatusEnum:e(c)).DEPOSIT_PAID?(o(),s(u,{key:3,class:"mb-6"},{default:l(()=>[a(A,{order:e(r),"refresh-order":e(m)},null,8,["order","refresh-order"])]),_:1})):n("",!0),e(r).payment_plan?(o(),s(_,{key:4,title:"Payment Plan",class:"mb-2"})):n("",!0),e(r).payment_plan?(o(),s(u,{key:5,class:"mb-6"},{default:l(()=>[a(V,{order:e(r),"refresh-order":e(m)},null,8,["order","refresh-order"])]),_:1})):n("",!0),a(_,{title:t.$t("orders_order_details"),class:"mb-2"},null,8,["title"]),a(u,{class:"mb-6"},{default:l(()=>[a(H,{order:e(r)},null,8,["order"])]),_:1})])])])]),_:1})):n("",!0)}}});export{we 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.