@burdenoff/microfe-bigconsole 2026.1118.1 → 2026.1118.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ function t(e) {
5
5
  return Object.entries(e).filter(([e, n]) => t.indexOf(+e) === -1).map(([e, t]) => t);
6
6
  }
7
7
  function n(e, t = "|") {
8
- return e.map((e) => S(e)).join(t);
8
+ return e.map((e) => w(e)).join(t);
9
9
  }
10
10
  function r(e, t) {
11
11
  return typeof t == "bigint" ? t.toString() : t;
@@ -29,7 +29,11 @@ function s(e) {
29
29
  let t = +!!e.startsWith("^"), n = e.endsWith("$") ? e.length - 1 : e.length;
30
30
  return e.slice(t, n);
31
31
  }
32
- function c(e, t, n) {
32
+ function c(e, t) {
33
+ let n = e / t, r = Math.round(n), i = 4 * 2 ** -52 * Math.max(Math.abs(n), 1);
34
+ return Math.abs(n - r) < i ? 0 : n - r;
35
+ }
36
+ function l(e, t, n) {
33
37
  Object.defineProperty(e, t, {
34
38
  value: n,
35
39
  writable: !0,
@@ -37,43 +41,43 @@ function c(e, t, n) {
37
41
  configurable: !0
38
42
  });
39
43
  }
40
- function l(e) {
44
+ function u(e) {
41
45
  let t = Object.getOwnPropertyDescriptor(e, "shape");
42
46
  return t?.get ? t.get.raw : t?.value;
43
47
  }
44
- function u(e) {
45
- return l(e._zod.def) ?? e._zod.def.shape;
48
+ function d(e) {
49
+ return u(e._zod.def) ?? e._zod.def.shape;
46
50
  }
47
- function d(e, t, n) {
51
+ function f(e, t, n) {
48
52
  Object.defineProperty(e, t, {
49
53
  get() {
50
54
  let e = n();
51
- return c(this, t, e), e;
55
+ return l(this, t, e), e;
52
56
  },
53
57
  enumerable: !0,
54
58
  configurable: !0
55
59
  });
56
60
  }
57
- function f(e, t, n) {
58
- t in e ? c(e, t, n) : e[t] = n;
61
+ function p(e, t, n) {
62
+ t in e ? l(e, t, n) : e[t] = n;
59
63
  }
60
- function p(e, t, n, r) {
61
- let i = u(t);
64
+ function m(e, t, n, r) {
65
+ let i = d(t);
62
66
  for (let a of n) {
63
67
  let n = Object.getOwnPropertyDescriptor(i, a);
64
- n.enumerable && (n.get ? d(e, a, () => {
68
+ n.enumerable && (n.get ? f(e, a, () => {
65
69
  let e = t._zod.def.shape[a];
66
70
  return r ? r(e, a) : e;
67
- }) : f(e, a, r ? r(n.value, a) : n.value));
71
+ }) : p(e, a, r ? r(n.value, a) : n.value));
68
72
  }
69
73
  }
70
- function m(e, t) {
74
+ function h(e, t) {
71
75
  for (let n of Reflect.ownKeys(t)) {
72
76
  let r = Object.getOwnPropertyDescriptor(t, n);
73
- r.enumerable && (r.get ? d(e, n, () => t[n]) : f(e, n, r.value));
77
+ r.enumerable && (r.get ? f(e, n, () => t[n]) : p(e, n, r.value));
74
78
  }
75
79
  }
76
- function h(...e) {
80
+ function g(...e) {
77
81
  let t = {};
78
82
  for (let n of e) {
79
83
  let e = Object.getOwnPropertyDescriptors(n);
@@ -84,14 +88,14 @@ function h(...e) {
84
88
  function ee(e) {
85
89
  return JSON.stringify(e);
86
90
  }
87
- function te(e) {
91
+ function _(e) {
88
92
  return e.toLowerCase().trim().replace(/[^\w\s-]/g, "").replace(/[\s_-]+/g, "-").replace(/^-+|-+$/g, "");
89
93
  }
90
- var g = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
91
- function _(e) {
94
+ var v = "captureStackTrace" in Error ? Error.captureStackTrace : (...e) => {};
95
+ function y(e) {
92
96
  return typeof e == "object" && !!e && !Array.isArray(e);
93
97
  }
94
- var v = /* @__PURE__*/ a(() => {
98
+ var b = /* @__PURE__*/ a(() => {
95
99
  if (e.jitless || typeof navigator < "u" && navigator?.userAgent?.includes("Cloudflare")) return !1;
96
100
  try {
97
101
  return Function(""), !0;
@@ -99,15 +103,15 @@ var v = /* @__PURE__*/ a(() => {
99
103
  return !1;
100
104
  }
101
105
  });
102
- function y(e) {
103
- if (_(e) === !1) return !1;
106
+ function x(e) {
107
+ if (y(e) === !1) return !1;
104
108
  let t = e.constructor;
105
109
  if (t === void 0 || typeof t != "function") return !0;
106
110
  let n = t.prototype;
107
- return _(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1;
111
+ return y(n) !== !1 && Object.prototype.hasOwnProperty.call(n, "isPrototypeOf") !== !1;
108
112
  }
109
- function b(e) {
110
- return y(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
113
+ function te(e) {
114
+ return x(e) ? { ...e } : Array.isArray(e) ? [...e] : e instanceof Map ? new Map(e) : e instanceof Set ? new Set(e) : e;
111
115
  }
112
116
  var ne = /* @__PURE__*/ new Set([
113
117
  "string",
@@ -117,11 +121,11 @@ var ne = /* @__PURE__*/ new Set([
117
121
  function re(e) {
118
122
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
119
123
  }
120
- function x(e, t, n) {
124
+ function S(e, t, n) {
121
125
  let r = new e._zod.constr(t ?? e._zod.def);
122
126
  return (!t || n?.parent) && (r._zod.parent = e), r;
123
127
  }
124
- function ie(e) {
128
+ function C(e) {
125
129
  let t = e;
126
130
  if (!t) return {};
127
131
  if (typeof t == "string") return { error: () => t };
@@ -134,70 +138,70 @@ function ie(e) {
134
138
  error: () => t.error
135
139
  } : t;
136
140
  }
137
- function S(e) {
141
+ function w(e) {
138
142
  return typeof e == "bigint" ? e.toString() + "n" : typeof e == "string" ? `"${e}"` : `${e}`;
139
143
  }
140
- function C(e) {
144
+ function T(e) {
141
145
  return Object.keys(e).filter((t) => e[t]._zod.optin !== void 0 && e[t]._zod.optout === "optional");
142
146
  }
143
- var w = {
147
+ var E = {
144
148
  safeint: [-(2 ** 53 - 1), 2 ** 53 - 1],
145
149
  int32: [-2147483648, 2147483647],
146
150
  uint32: [0, 4294967295],
147
151
  float32: [-34028234663852886e22, 34028234663852886e22],
148
152
  float64: [-Number.MAX_VALUE, Number.MAX_VALUE]
149
- }, T = {
153
+ }, D = {
150
154
  int64: [/* @__PURE__*/ BigInt("-9223372036854775808"), /* @__PURE__*/ BigInt("9223372036854775807")],
151
155
  uint64: [/* @__PURE__*/ BigInt(0), /* @__PURE__*/ BigInt("18446744073709551615")]
152
156
  };
153
- function E(e, t) {
157
+ function O(e, t) {
154
158
  let n = e._zod.def, r = n.checks;
155
159
  if (r && r.length > 0) throw Error(".pick() cannot be used on object schemas containing refinements");
156
160
  let i = {};
157
- return p(i, e, D(e, t)), x(e, h(n, {
161
+ return m(i, e, k(e, t)), S(e, g(n, {
158
162
  shape: i,
159
163
  checks: []
160
164
  }));
161
165
  }
162
- function D(e, t) {
163
- let n = u(e), r = [];
166
+ function k(e, t) {
167
+ let n = d(e), r = [];
164
168
  for (let e of Reflect.ownKeys(t)) {
165
169
  if (!Object.getOwnPropertyDescriptor(n, e)?.enumerable) throw Error(`Unrecognized key: "${String(e)}"`);
166
170
  t[e] && r.push(e);
167
171
  }
168
172
  return r;
169
173
  }
170
- function O(e, t) {
174
+ function A(e, t) {
171
175
  let n = e._zod.def, r = n.checks;
172
176
  if (r && r.length > 0) throw Error(".omit() cannot be used on object schemas containing refinements");
173
- let i = new Set(D(e, t)), a = {};
174
- return p(a, e, Reflect.ownKeys(u(e)).filter((e) => !i.has(e))), x(e, h(n, {
177
+ let i = new Set(k(e, t)), a = {};
178
+ return m(a, e, Reflect.ownKeys(d(e)).filter((e) => !i.has(e))), S(e, g(n, {
175
179
  shape: a,
176
180
  checks: []
177
181
  }));
178
182
  }
179
- function k(e, t) {
180
- if (!y(t)) throw Error("Invalid input to extend: expected a plain object");
183
+ function j(e, t) {
184
+ if (!x(t)) throw Error("Invalid input to extend: expected a plain object");
181
185
  let n = e._zod.def.checks;
182
186
  if (n && n.length > 0) {
183
- let n = u(e);
187
+ let n = d(e);
184
188
  for (let e of Reflect.ownKeys(t)) if (Object.getOwnPropertyDescriptor(n, e) !== void 0) throw Error("Cannot overwrite keys on object schemas containing refinements. Use `.safeExtend()` instead.");
185
189
  }
186
- return x(e, h(e._zod.def, { shape: A(e, t) }));
190
+ return S(e, g(e._zod.def, { shape: M(e, t) }));
187
191
  }
188
- function A(e, t) {
192
+ function M(e, t) {
189
193
  let n = {};
190
- return p(n, e, Reflect.ownKeys(u(e))), m(n, t), n;
194
+ return m(n, e, Reflect.ownKeys(d(e))), h(n, t), n;
191
195
  }
192
- function j(e, t) {
193
- if (!y(t)) throw Error("Invalid input to safeExtend: expected a plain object");
194
- return x(e, h(e._zod.def, { shape: A(e, t) }));
196
+ function N(e, t) {
197
+ if (!x(t)) throw Error("Invalid input to safeExtend: expected a plain object");
198
+ return S(e, g(e._zod.def, { shape: M(e, t) }));
195
199
  }
196
- function M(e, t) {
200
+ function P(e, t) {
197
201
  if (!t?._zod?.def) throw Error("Invalid input to merge: expected an object schema. To merge a plain shape, use `.extend()`.");
198
202
  if (e._zod.def.checks?.length) throw Error(".merge() cannot be used on object schemas containing refinements. Use .safeExtend() instead.");
199
203
  let n = {};
200
- return p(n, e, Reflect.ownKeys(u(e))), p(n, t, Reflect.ownKeys(u(t))), x(e, h(e._zod.def, {
204
+ return m(n, e, Reflect.ownKeys(d(e))), m(n, t, Reflect.ownKeys(d(t))), S(e, g(e._zod.def, {
201
205
  shape: n,
202
206
  get catchall() {
203
207
  return t._zod.def.catchall;
@@ -205,45 +209,45 @@ function M(e, t) {
205
209
  checks: t._zod.def.checks ?? []
206
210
  }));
207
211
  }
208
- function N(e, t, n, r = "partial") {
212
+ function F(e, t, n, r = "partial") {
209
213
  let i = t._zod.def.checks;
210
214
  if (i && i.length > 0) throw Error(`.${r}() cannot be used on object schemas containing refinements`);
211
- let a = n ? new Set(D(t, n)) : void 0, o = {};
212
- return p(o, t, Reflect.ownKeys(u(t)), e && ((t, n) => a && !a.has(n) ? t : new e({
215
+ let a = n ? new Set(k(t, n)) : void 0, o = {};
216
+ return m(o, t, Reflect.ownKeys(d(t)), e && ((t, n) => a && !a.has(n) ? t : new e({
213
217
  type: "optional",
214
218
  innerType: t
215
- }))), x(t, h(t._zod.def, {
219
+ }))), S(t, g(t._zod.def, {
216
220
  shape: o,
217
221
  checks: []
218
222
  }));
219
223
  }
220
- function P(e, t, n) {
221
- let r = n ? new Set(D(t, n)) : void 0, i = {};
222
- return p(i, t, Reflect.ownKeys(u(t)), (t, n) => r && !r.has(n) ? t : new e({
224
+ function I(e, t, n) {
225
+ let r = n ? new Set(k(t, n)) : void 0, i = {};
226
+ return m(i, t, Reflect.ownKeys(d(t)), (t, n) => r && !r.has(n) ? t : new e({
223
227
  type: "nonoptional",
224
228
  innerType: t
225
- })), x(t, h(t._zod.def, { shape: i }));
229
+ })), S(t, g(t._zod.def, { shape: i }));
226
230
  }
227
- function F(e, t = 0) {
231
+ function L(e, t = 0) {
228
232
  if (e.aborted === !0) return !0;
229
233
  for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue !== !0) return !0;
230
234
  return !1;
231
235
  }
232
- function I(e, t = 0) {
236
+ function R(e, t = 0) {
233
237
  if (e.aborted === !0) return !0;
234
238
  for (let n = t; n < e.issues.length; n++) if (e.issues[n]?.continue === !1) return !0;
235
239
  return !1;
236
240
  }
237
- function L(e, t) {
241
+ function ie(e, t) {
238
242
  return t.map((t) => {
239
243
  var n;
240
244
  return (n = t).path ?? (n.path = []), t.path.unshift(e), t;
241
245
  });
242
246
  }
243
- function R(e) {
247
+ function z(e) {
244
248
  return typeof e == "string" ? e : e?.message;
245
249
  }
246
- function z(e) {
250
+ function B(e) {
247
251
  let t = [];
248
252
  for (let n of e ?? []) {
249
253
  let e = n._zod.def;
@@ -253,30 +257,30 @@ function z(e) {
253
257
  }
254
258
  return t;
255
259
  }
256
- function B(e, t, n) {
260
+ function V(e, t, n) {
257
261
  var r;
258
262
  for (let i = t; i < e.length; i++) (r = e[i]).schema ?? (r.schema = n);
259
263
  }
260
- function V(e, t, n) {
264
+ function H(e, t, n) {
261
265
  var r;
262
266
  let i = e.inst?._zod?.traits;
263
267
  i?.has("$ZodType") && (i.has("$ZodCheck") ? (r = e).schema ?? (r.schema = e.inst) : e.schema = e.inst);
264
- let a = e.schema === e.inst ? void 0 : e.schema?._zod.def?.error, o = e.message ? e.message : R(e.inst?._zod.def?.error?.(e)) ?? R(a?.(e)) ?? R(t?.error?.(e)) ?? R(n.customError?.(e)) ?? R(n.localeError?.(e)) ?? "Invalid input", s = {};
268
+ let a = e.schema === e.inst ? void 0 : e.schema?._zod.def?.error, o = e.message ? e.message : z(e.inst?._zod.def?.error?.(e)) ?? z(a?.(e)) ?? z(t?.error?.(e)) ?? z(n.customError?.(e)) ?? z(n.localeError?.(e)) ?? "Invalid input", s = {};
265
269
  for (let t of Object.keys(e)) t !== "inst" && t !== "schema" && t !== "continue" && t !== "input" && t !== "__proto__" && (s[t] = e[t]);
266
270
  return s.path ??= [], s.message = o, t?.reportInput && (s.input = e.input), s;
267
271
  }
268
- var H = /[\uD800-\uDBFF]/;
269
- function U(e) {
272
+ var U = /[\uD800-\uDBFF]/;
273
+ function W(e) {
270
274
  let t = e.length;
271
- if (!H.test(e)) return t;
275
+ if (!U.test(e)) return t;
272
276
  let n = t;
273
277
  for (let r = 0; r < t - 1; r++) (e.charCodeAt(r) & 64512) == 55296 && (e.charCodeAt(r + 1) & 64512) == 56320 && (n--, r++);
274
278
  return n;
275
279
  }
276
- function W(e) {
280
+ function G(e) {
277
281
  return Array.isArray(e) ? "array" : typeof e == "string" ? "string" : "unknown";
278
282
  }
279
- function G(e) {
283
+ function K(e) {
280
284
  let t = typeof e;
281
285
  switch (t) {
282
286
  case "number": return Number.isNaN(e) ? "nan" : "number";
@@ -289,7 +293,7 @@ function G(e) {
289
293
  }
290
294
  return t;
291
295
  }
292
- function K(...e) {
296
+ function q(...e) {
293
297
  let [t, n, r] = e;
294
298
  return typeof t == "string" ? {
295
299
  message: t,
@@ -298,16 +302,16 @@ function K(...e) {
298
302
  inst: r
299
303
  } : { ...t };
300
304
  }
301
- function q(e, t) {
305
+ function J(e, t) {
302
306
  for (let n in t) {
303
307
  let r = Object.getOwnPropertyDescriptor(t, n);
304
308
  r.get ? Object.defineProperty(e, n, {
305
309
  ...r,
306
310
  enumerable: !1
307
- }) : oe(e, n, r.value);
311
+ }) : se(e, n, r.value);
308
312
  }
309
313
  }
310
- function J(e, t, n, r = !0) {
314
+ function Y(e, t, n, r = !0) {
311
315
  return Object.defineProperty(e, t, {
312
316
  configurable: !0,
313
317
  writable: !0,
@@ -315,53 +319,53 @@ function J(e, t, n, r = !0) {
315
319
  value: n
316
320
  }), n;
317
321
  }
318
- function Y(e, t, n) {
319
- return J(e, t, n, !1);
322
+ function ae(e, t, n) {
323
+ return Y(e, t, n, !1);
320
324
  }
321
325
  /* @__NO_SIDE_EFFECTS__ */
322
- function ae(e, t) {
326
+ function oe(e, t) {
323
327
  for (let n in e) {
324
328
  let r = e[n];
325
329
  Object.defineProperty(t, n, {
326
330
  configurable: !0,
327
331
  enumerable: !0,
328
332
  get() {
329
- return J(this, n, r(this));
333
+ return Y(this, n, r(this));
330
334
  },
331
335
  set(e) {
332
- J(this, n, e);
336
+ Y(this, n, e);
333
337
  }
334
338
  });
335
339
  }
336
340
  return t;
337
341
  }
338
- function oe(e, t, n) {
342
+ function se(e, t, n) {
339
343
  Object.defineProperty(e, t, {
340
344
  configurable: !0,
341
345
  get() {
342
- return this == null ? n : J(this, t, n.bind(this));
346
+ return this == null ? n : Y(this, t, n.bind(this));
343
347
  },
344
348
  set(e) {
345
- J(this, t, e);
349
+ Y(this, t, e);
346
350
  }
347
351
  });
348
352
  }
349
- function se(e, t) {
353
+ function ce(e, t) {
350
354
  let n = Object.getPrototypeOf(e);
351
355
  return t in n ? void 0 : n;
352
356
  }
353
- var X, Z = !1, Q = {
357
+ var X, Z = !1, le = {
354
358
  configurable: !0,
355
359
  get() {
356
360
  Z = !0;
357
361
  }
358
362
  };
359
- function ce(e, t, n) {
363
+ function ue(e, t, n) {
360
364
  let r = Object.getPrototypeOf(e._zod);
361
365
  t in r && X !== e._zod ? X = void 0 : (X = e._zod, Object.defineProperty(r, t, {
362
366
  configurable: !0,
363
367
  get() {
364
- Object.defineProperty(this, t, Q);
368
+ Object.defineProperty(this, t, le);
365
369
  let e = Z;
366
370
  Z = !1;
367
371
  try {
@@ -384,8 +388,8 @@ function ce(e, t, n) {
384
388
  }
385
389
  }));
386
390
  }
387
- function le(e, t, n, r) {
388
- let i = se(e, t);
391
+ function Q(e, t, n, r) {
392
+ let i = ce(e, t);
389
393
  i && Object.defineProperty(i, t, {
390
394
  configurable: !0,
391
395
  get() {
@@ -408,8 +412,8 @@ function le(e, t, n, r) {
408
412
  });
409
413
  }
410
414
  var $ = "~constantCatch";
411
- function ue(e) {
415
+ function de(e) {
412
416
  let t = () => e;
413
417
  return t[$] = !0, t;
414
418
  }
415
- export { T as BIGINT_FORMAT_RANGES, $ as CONSTANT_CATCH, w as NUMBER_FORMAT_RANGES, F as aborted, v as allowsEval, c as assignProp, B as attachSchema, a as cached, g as captureStackTrace, s as cleanRegex, x as clone, U as codePointLength, ue as constantCatch, ce as defineLazyInternal, ae as derived, ee as esc, re as escapeRegex, I as explicitlyAborted, k as extend, V as finalizeIssue, t as getEnumValues, W as getLengthableOrigin, Y as hide, le as installLazyProp, _ as isObject, y as isPlainObject, K as issue, n as joinValues, r as jsonStringifyReplacer, q as members, M as merge, h as mergeDefs, ie as normalizeParams, o as nullish, O as omit, C as optionalKeys, J as own, G as parsedType, N as partial, E as pick, L as prefixIssues, ne as propertyKeyTypes, l as rawShape, P as required, j as safeExtend, b as shallowClone, z as sizeCaps, te as slugify, S as stringifyPrimitive, R as unwrapMessage };
419
+ export { D as BIGINT_FORMAT_RANGES, $ as CONSTANT_CATCH, E as NUMBER_FORMAT_RANGES, L as aborted, b as allowsEval, l as assignProp, V as attachSchema, a as cached, v as captureStackTrace, s as cleanRegex, S as clone, W as codePointLength, de as constantCatch, ue as defineLazyInternal, oe as derived, ee as esc, re as escapeRegex, R as explicitlyAborted, j as extend, H as finalizeIssue, c as floatSafeRemainder, t as getEnumValues, G as getLengthableOrigin, ae as hide, Q as installLazyProp, y as isObject, x as isPlainObject, q as issue, n as joinValues, r as jsonStringifyReplacer, J as members, P as merge, g as mergeDefs, C as normalizeParams, o as nullish, A as omit, T as optionalKeys, Y as own, K as parsedType, F as partial, O as pick, ie as prefixIssues, ne as propertyKeyTypes, u as rawShape, I as required, N as safeExtend, te as shallowClone, B as sizeCaps, _ as slugify, w as stringifyPrimitive, z as unwrapMessage };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@burdenoff/microfe-bigconsole",
3
- "version": "2026.1118.1",
3
+ "version": "2026.1118.2",
4
4
  "description": "BigConsole - AI-powered analytics and dashboard platform",
5
5
  "repository": {
6
6
  "type": "git",