PageSourceSearch

https://www.pitaia.me/assets/chunks/chunk-BpQ-Yeeg.js

js pitaia.me collected 2026-10-02 02:01:47 UTC 1,875 bytes, 1 lines download raw bytes

1import{j as r}from"./chunk-MgzAPU_h.js";import{u as l}from"./chunk-C-FOi6w0.js";import{u as c}from"./chunk-BfnMJahN.js";import{u,q as x,L as g,c as h}from"./chunk-B7SqmayI.js";import{D as y}from"./chunk-DQd0IZ5F.js";import{S as b}from"./chunk-DQ3KISmp.js";import"./chunk-VdPWeNMn.js";import"./chunk-D7HrI6pR.js";/* empty css              *//* empty css              */import"./chunk-Cz8Z6ok6.js";import"./chunk-7QJKSbP6.js";import"./chunk-CJCzTxpB.js";import"./chunk-7Dv3us39.js";import"./chunk-Bh9hvlty.js";import"./chunk-CLSgpsDt.js";import"./chunk-CJhbq5IJ.js";import"./chunk-BUhBtEOv.js";import"./chunk-D_K4G5Zh.js";import"./chunk-fEjImhbo.js";import"./chunk-UoRJJJzm.js";import"./chunk-CV_T2JqX.js";import"./chunk-Yi0qw1cX.js";import"./chunk-DC_G2g_C.js";import"./chunk-B8iKIbBR.js";function z(){const a=u(),t=i=>a.formatMessage({id:i}),{getToken:p}=c(),{store:o,isLoading:d}=x(),e=o==null?void 0:o.slug,s=l({queryKey:["store-payments-report",e],enabled:!!e,queryFn:async()=>{const i=await p();return h(`/stores/${encodeURIComponent(e??"")}/income/payments-report`,{token:i??void 0})}}),n=s.data,m=d||!!e&&s.isLoading;return r.jsx(y,{title:t("income.report.title"),backPath:"/dashboard/income",children:r.jsxs("div",{className:"mt-4 space-y-4",children:[r.jsx("p",{className:"text-sm text-muted-foreground",children:t("income.report.subtitle")}),m?r.jsxs("div",{className:"flex items-center gap-2 rounded-lg border bg-white p-6 text-sm text-gray-500",children:[r.jsx(g,{className:"h-4 w-4 animate-spin"})," ",t("income.report.loading")]}):null,!m&&!e?r.jsx("div",{className:"rounded-lg border bg-white p-6 text-sm text-gray-500",children:t("income.report.noStore")}):null,s.isError?r.jsx("div",{className:"rounded-lg border border-red-200 bg-red-50 p-4 text-sm text-red-700",children:t("income.report.error")}):null,n?r.jsx(b,{report:n}):null]})})}export{z 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.