PageSourceSearch

https://app.thehoopsgeek.com/dashboard/assets/_auth.dashboard_.print-invoice._transactionId-Bo6boSrG.js

js thehoopsgeek.com collected 2026-10-02 11:01:28 UTC 2,080 bytes, 2 lines download raw bytes

1import{a9 as I,ea as v,ec as w,dd as y,dc as p,c as b,e as x,X as E}from"./index--83fOlxX.js";import{b1 as _,m as P,A as D,T as j,aj as T}from"./ui-NzJGZCOf.js";import"./media-CfhA99EZ.js";import"./editor-BBDzBLhk.js";import"./auth-Vr3hANQi.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="397a5e59-dc23-4797-bcd6-eb7967912532",e._sentryDebugIdIdentifier="sentry-dbid-397a5e59-dc23-4797-bcd6-eb7967912532")}catch{}})();function k(){var g,h;const e=I.c(22),{transactionId:r}=v();let n;e[0]!==r?(n=["invoiceId",r],e[0]=r,e[1]=n):n=e[1];let s;e[2]!==r?(s=async()=>({data:(await E.get(`/paddle_billing/invoice/${r}`)).data}),e[2]=r,e[3]=s):s=e[3];let l;e[4]!==n||e[5]!==s?(l={queryKey:n,cacheTime:0,queryFn:s},e[4]=n,e[5]=s,e[6]=l):l=e[6];const t=w(l),i=((h=(g=t==null?void 0:t.data)==null?void 0:g.data)==null?void 0:h.url)??"";let d,f;e[7]!==i?(d=()=>{i!==""&&window.location.replace(i)},f=[i],e[7]=i,e[8]=d,e[9]=f):(d=e[8],f=e[9]),_.useEffect(d,f);let u;e[10]===Symbol.for("react.memo_cache_sentinel")?(u={display:"flex",alignItems:"center",justifyContent:"center",mt:"30vh"},e[10]=u):u=e[10];let o;e[11]!==t.isPending?(o=t.isPending&&y(b,{children:[p(P,{sx:{mb:2}}),"Creating Invoice"]}),e[11]=t.isPending,e[12]=o):o=e[12];let a;e[13]!==t.error||e[14]!==t.isError?(a=t.isError&&p(b,{children:y(D,{severity:"error",children:["Error creating invoice. ",x.printError(t.error)]})}),e[13]=t.error,e[14]=t.isError,e[15]=a):a=e[15];let c;e[16]!==i?(c=i&&y(b,{children:["Invoice was successfuly created.",p(j,{href:i,children:"Download Invoice"})]}),e[16]=i,e[17]=c):c=e[17];let m;return e[18]!==o||e[19]!==a||e[20]!==c?(m=y(T,{sx:u,children:[o,a,c]}),e[18]=o,e[19]=a,e[20]=c,e[21]=m):m=e[21],m}function R(){const e=I.c(1);let r;return e[0]===Symbol.for("react.memo_cache_sentinel")?(r=p(k,{}),e[0]=r):r=e[0],r}export{R as default};
2//# sourceMappingURL=_auth.dashboard_.print-invoice._transactionId-Bo6boSrG.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.