Lines 4436-4476javascript
4436 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-900", children: g.supplier_name }),
4437 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-gray-600", children: g.due_date }),
4438 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right font-medium", children: d(g.outstanding) }),
4439 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: g.current ? d(g.current) : "" }),
4440 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: g.b1_30 ? d(g.b1_30) : "" }),
4441 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: g.b31_60 ? d(g.b31_60) : "" }),
4442 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right", children: g.b61_90 ? d(g.b61_90) : "" }),
4443 /* @__PURE__ */ e("td", { className: "px-3 py-2 text-right text-red-600", children: g.b90_plus ? d(g.b90_plus) : "" })
4445 /* @__PURE__ */ e("tfoot", { className: "border-t-2 border-gray-300 bg-gray-50 font-semibold", children: /* @__PURE__ */ r("tr", { children: [
4446 /* @__PURE__ */ e("td", { className: "px-3 py-3", colSpan: 3, children: t("common.total") }),
4447 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(m.totals.outstanding) }),
4448 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(m.totals.current) }),
4449 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(m.totals.b1_30) }),
4450 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(m.totals.b31_60) }),
4451 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right", children: d(m.totals.b61_90) }),
4452 /* @__PURE__ */ e("td", { className: "px-3 py-3 text-right text-red-600", children: d(m.totals.b90_plus) })
4457const ia = '(function(){"use strict";function u(r,t){const e=Number(r??0)||0;return t==null?e:Number(e.toFixed(t))}const p={flt:u,sum(r,t){return r.reduce((e,a)=>typeof t=="function"?e+u(t(a)):typeof t=="string"?e+u(a[t]):e+u(a),0)},count(r){return r.length},sortBy(r,t,e="asc"){const n=(e===!0?"desc":e===!1?"asc":e)==="desc"?-1:1;return[...r].sort((s,i)=>{const c=s[t],o=i[t];return c==null&&o==null?0:c==null?1:o==null?-1:c<o?-1*n:c>o?1*n:0})},topN(r,t,e=10){return typeof t=="number"?r.slice(0,t):p.sortBy(r,t,"desc").slice(0,e)},group(r,t,e){if(typeof t=="function"){const s=new Map;for(const i ...
4458function as(t) {
LowEval
Package source references a known benign dynamic code generation pattern.
dist/index.jsView on unpkg · L4456 4461 if (n = An && (self.URL || self.webkitURL).createObjectURL(An), !n) throw "";
4462 const a = new Worker(n, {
4463 name: t == null ? void 0 : t.name
4465 return a.addEventListener("error", () => {
4466 (self.URL || self.webkitURL).revokeObjectURL(n);
4470 "data:text/javascript;charset=utf-8," + encodeURIComponent(ia),
4472 name: t == null ? void 0 : t.name
4476 n && (self.URL || self.webkitURL).revokeObjectURL(n);
Long lines were clipped for display.