1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{},s=(new e.Error).stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="629f512d-d854-4fec-96a7-ce1dfb33e29b",e._sentryDebugIdIdentifier="sentry-dbid-629f512d-d854-4fec-96a7-ce1dfb33e29b")}catch(e){}}(),(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7691],{4642:(e,s,n)=>{"use strict";n.r(s),n.d(s,{default:()=>l});var r=n(37876),d=n(89099),t=n(14232),a=n(70969),i=n(30208),o=n(84781);let l=()=>{let e=(0,d.useRouter)(),s=(0,o.As)(),[n,l]=(0,t.useState)("");if((0,t.useEffect)(()=>{if((0,i.VP)(s.user))return;let n=s.user.data;async function r(e){l(await e.getIdToken())}n||e.replace("/login?next=/admin/firebase-token"),n&&r(n)},[s.user,e]),(0,i.VP)(s.user))return(0,r.jsx)(r.Fragment,{});let u=s.user.data;return(0,r.jsxs)("div",{className:"m-auto p-4 md:max-w-screen-md",children:[(0,r.jsx)("h1",{className:"mt-12 text-2xl font-semibold",children:"Firebase Token"}),(0,r.jsxs)("div",{className:"mb-6",children:[u&&u.email||"No user found",(0,r.jsx)("hr",{}),(0,r.jsx)("div",{children:(0,r.jsx)("code",{className:"break-words",children:n})}),(0,r.jsx)("button",{className:"mt-2 mr-2 rounded border border-gray-300 bg-gray-200 px-2 py-1 text-sm",onClick:()=>{navigator.clipboard.writeText(n)},children:"Copy Token"}),(0,r.jsxs)("p",{children:["You may want to use this on ",(0,r.jsx)("a",{href:a.jg+"/docs",children:a.jg+"/docs"})]})]})]})}},46250:(e,s,n)=>{(window.__NEXT_P=window.__NEXT_P||[]).push(["/admin/firebase-token",function(){return n(4642)}])}},e=>{e.O(0,[636,6593,8792],()=>e(e.s=46250)),_N_E=e.O()}]);
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.