PageSourceSearch

https://cravefestival.app/assets/SupportTickets-CjebdxxW.js

js cravefestival.app collected 2026-10-02 15:59:07 UTC 2,557 bytes, 1 lines download raw bytes

1import{Q as y}from"./QItemLabel-BlQoXLXa.js";import{a$ as h,b7 as S,c5 as D,b0 as o,b9 as f,bb as s,bg as n,bc as t,b1 as d,bj as I,c7 as q,bd as x,cr as C,cs as _,bi as u,bh as g,b2 as v,cg as T,ct as B,be as L,bn as w,bo as E,bs as M,bq as j}from"./index-CFHz-eb3.js";import{Q as N}from"./QBadge-9a9vBT4t.js";import{Q as V}from"./QList-Doq4ymz0.js";import{Q as A}from"./QPage-BZFI5xAP.js";import{E as P}from"./ExternalPageHeader-Cier0PWW.js";import{u as R}from"./support.store-CF-Cr40H.js";import{s as $,a as z}from"./supportStatus-D4iZmewA.js";try{let a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new a.Error().stack;l&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[l]="8c4a5ac8-0254-4e61-963f-aa93b19196c4",a._sentryDebugIdIdentifier="sentry-dbid-8c4a5ac8-0254-4e61-963f-aa93b19196c4")}catch{}const F={class:"row"},H={class:"row q-col-gutter-md"},U={class:"col-12"},W={class:"pane"},Y={key:1,class:"row items-center"},G={key:2},J={key:3},oe=h({__name:"SupportTickets",setup(a){const l=R(),c=w(!0),p=w(!1),b=E(()=>l.myTickets),k=i=>M.formatUnix(i),m=async()=>{c.value=!0,p.value=!1;try{await l.fetchMyTickets()}catch(i){p.value=!0,await j(i,"Could not load your support requests")}finally{c.value=!1}};return S(m),(i,e)=>{const Q=D("router-link");return o(),f(A,{class:"gb-internal-page"},{default:s(()=>[n("div",F,[t(P,{title:"My Support Requests",subtitle:"Messages you've sent us, and our replies"})]),n("div",H,[n("div",U,[n("div",W,[b.value.length>0?(o(),f(V,{key:0,bordered:"",separator:""},{default:s(()=>[(o(!0),d(I,null,q(b.value,r=>x((o(),f(C,{key:r.id,clickable:"",to:`/support/${r.id}`},{default:s(()=>[t(_,null,{default:s(()=>[t(y,null,{default:s(()=>[u(g(r.subject),1)]),_:2},1024),t(y,{caption:""},{default:s(()=>[u(" Last activity "+g(k(r.lastMessageAt)),1)]),_:2},1024)]),_:2},1024),t(_,{side:""},{default:s(()=>[t(N,{color:v(z)(r.status),label:v($)(r.status)},null,8,["color","label"])]),_:2},1024)]),_:2},1032,["to"])),[[T]])),128))]),_:1})):c.value?(o(),d("div",Y,[t(B,{size:"20px",class:"q-mr-sm"}),e[0]||(e[0]=n("span",null,"Loading your requests…",-1))])):p.value?(o(),d("div",G,[e[1]||(e[1]=n("p",null,"We couldn't load your support requests just now.",-1)),t(L,{color:"primary",label:"Try Again",onClick:m})])):(o(),d("p",J,[e[3]||(e[3]=u(" You haven't sent us anything yet. ",-1)),t(Q,{to:"/contact"},{default:s(()=>[...e[2]||(e[2]=[u("Contact us",-1)])]),_:1}),e[4]||(e[4]=u(" if you need help. ",-1))]))])])])]),_:1})}}});
1export{oe 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.