PageSourceSearch

https://app.faebill.com/static/js/870.4a0a75d3.chunk.js

js faebill.com collected 2026-10-10 00:25:48 UTC 3,447 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([[870],{2870:(t,e,a)=>{a.r(e),a.d(e,{default:()=>w});a(5043);var n=a(713),o=a(8711),c=a(7879),r=a(208),l=a(7734),i=a(6311),s=a(8825),d=a(2185),u=a(6026),f=a(6350),m=a(9485),b=a(3620),x=a(579);function p(t){var e;let{active:a,payload:n,label:o,theme:c,labels:r,formatCurrency:l}=t;if(!a||!n||0===n.length)return null;const i=null===(e=n[0])||void 0===e?void 0:e.payload;return i?(0,x.jsxs)("div",{style:{background:c.tooltipBg,border:"1px solid ".concat(c.grid),borderRadius:8,color:"#fff",padding:"8px 10px",fontSize:12},children:[(0,x.jsx)("p",{style:{color:c.text,marginBottom:4},children:o}),(0,x.jsx)("p",{children:"".concat(r.inflow,": ").concat(l(i.inflow))}),(0,x.jsx)("p",{children:"".concat(r.outflow,": ").concat(l(i.outflow))}),i.vat>0&&(0,x.jsx)("p",{style:{color:c.text},children:"".concat(r.vat,": ").concat(l(i.vat))}),(0,x.jsx)("p",{children:"".concat(r.net,": ").concat(l(i.cumulative))})]}):null}const w=t=>{let{weeks:e,weekLabel:a,inflowLabel:w,outflowLabel:k,netLabel:v,vatLabel:y,reducedMotion:h,formatCurrency:g,locale:j}=t;const C=(0,b.R)(),L=e.map(t=>({label:a(t.weekStartISO),inflow:t.inflowCents,outflow:t.outflowCents,cumulative:t.cumulativeNetCents,vat:t.vatOutflowCents}));return(0,x.jsx)(c.u,{width:"100%",height:240,children:(0,x.jsxs)(f.X,{data:L,margin:{top:4,right:8,left:4,bottom:0},children:[(0,x.jsx)(l.d,{stroke:C.grid,vertical:!1}),(0,x.jsx)(d.W,{dataKey:"label",stroke:C.text,tick:{fill:C.text,fontSize:12},axisLine:{stroke:C.grid},tickLine:!1}),(0,x.jsx)(u.h,{stroke:C.text,tick:{fill:C.text,fontSize:12},tickFormatter:t=>(0,m.Il)(t,j),width:84,axisLine:!1,tickLine:!1}),(0,x.jsx)(r.e_,{y:0,stroke:C.grid}),(0,x.jsx)(o.m,{content:t=>{const{active:e,payload:a,label:n}=t;return(0,x.jsx)(p,{active:e,payload:a,label:n,theme:C,labels:{inflow:w,outflow:k,net:v,vat:y},formatCurrency:g})}}),(0,x.jsx)(n.s,{wrapperStyle:{color:C.text,fontSize:12}}),(0,x.jsx)(s.yP,{dataKey:"inflow",name:w,fill:C.success,radius:[4,4,0,0],isAnimationActive:!h}),(0,x.jsx)(s.yP,{dataKey:"outflow",name:k,fill:C.series2,radius:[4,4,0,0],isAnimationActive:!h}),(0,x.jsx)(i.N1,{type:"monotone",dataKey:"cumulative",name:v,stroke:C.accent,strokeWidth:2,dot:{r:2,fill:C.accent},isAnimationActive:!h})]})})}},3620:(t,e,a)=>{a.d(e,{R:()=>r});var n=a(5043);const o={accent:{cssVar:"--accent",fallback:"#20d08a"},grid:{cssVar:"--border-default",fallback:"#374151"},text:{cssVar:"--text-muted",fallback:"#9ca3af"},tooltipBg:{cssVar:"--surface-raised",fallback:"#1f2937"},series2:{cssVar:"--tone-warning-fg",fallback:"#fcd34d"},danger:{cssVar:"--tone-danger-fg",fallback:"#fca5a5"},success:{cssVar:"--tone-success-fg",fallback:"#86efac"}};function c(){return Object.entries(o).reduce((t,e)=>{let[a,{cssVar:n,fallback:o}]=e;return t[a]=function(t,e){try{return"undefined"===typeof document||"undefined"===typeof window?e:window.getComputedStyle(document.documentElement).getPropertyValue(t).trim()||e}catch(a){return e}}(n,o),t},{})}function r(){const[t,e]=(0,n.useState)(()=>c());return(0,n.useEffect)(()=>{if("undefined"===typeof document||"undefined"===typeof MutationObserver)return;const t=document.documentElement,a=new MutationObserver(t=>{t.some(t=>"attributes"===t.type&&"data-theme"===t.attributeName)&&e(c())});return a.observe(t,{attributes:!0,attributeFilter:["data-theme"]}),()=>a.disconnect()},[]),t}}}]);
2//# sourceMappingURL=870.4a0a75d3.chunk.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.