1import f from"./-0mO_Z3i.js";import x from"./-_l6U8Hv.js";import{u as w}from"./CZLsIMS0.js";import{o as a,c as r,b as d,w as m,d as n,p as o,a as s,k as p,t as u,q as b,r as g}from"./9ZAr5p4X.js";import"./CiwYsob0.js";import"./DzzI1xbr.js";const y={key:0,class:"ml-6 text-sm text-green-600"},T={class:"p-2 border-2 border-gray-300 rounded bg-slate-100"},v={key:0},C={key:1,class:"flex flex-wrap space-x-2"},A={class:"w-full"},D={class:"max-w-full p-2 my-2 text-sm bg-white border text-wrap"},B={class:"max-w-full p-2 my-2 text-sm break-words bg-white border text-wrap"},E={__name:"DebugPanel",setup(N){const t=w(),l=g(!1);function _(){t.cwt&&navigator.clipboard.writeText(t.cwt).then(()=>{l.value=!0,setTimeout(()=>l.value=!1,1200)})}return(S,e)=>{const i=f,k=x;return a(),r("div",null,[d(i,{size:"small",class:"mr-4",onClick:e[0]||(e[0]=c=>o(t).getAdminToken())},{default:m(()=>[...e[2]||(e[2]=[n(" Get Admin Token ",-1)])]),_:1}),d(i,{size:"small",onClick:e[1]||(e[1]=c=>o(t).getAnonToken())},{default:m(()=>[...e[3]||(e[3]=[n(" Get Anonymous Token ",-1)])]),_:1}),d(i,{size:"small",class:"ml-4",onClick:_},{default:m(()=>[...e[4]||(e[4]=[n(" Copy Token ",-1)])]),_:1}),l.value?(a(),r("span",y,[...e[5]||(e[5]=[n("Token Copied! ",-1),s("br",null,null,-1)])])):p("",!0),s("div",T,[o(t)?.loading?(a(),r("div",v," Loading.... ")):(a(),r("div",C,[s("details",A,[s("summary",null,[s("span",null,"Role: "+u(o(t).tokenData.role),1)]),e[6]||(e[6]=n(" Parsed Token Data: ",-1)),s("pre",D,u(o(t).tokenData),1),e[7]||(e[7]=n(" Token: ",-1)),s("pre",B,u(o(t).cwt),1)])]))]),o(t)?(a(),b(k,{key:1,title:"Auth Store",data:o(t)},null,8,["data"])):p("",!0)])}}};export{E as default}; 2//# sourceMappingURL=B9aC4Vz9.js.map
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.