@camstack/addon-benchmark 0.1.26 → 0.1.28

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.
Files changed (28) hide show
  1. package/dist/ReactKonva-DxyVVX68.mjs +14898 -0
  2. package/dist/__mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-BVEzgqGi.mjs +19 -0
  3. package/dist/{__mfe_internal__addon_benchmark_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-dyMGAogL.mjs → __mfe_internal__addon_benchmark_page__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-BLZ56qK0.mjs} +17 -17
  4. package/dist/{__mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-jq0dGk3x.mjs → __mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-BVQD7n0x.mjs} +29 -29
  5. package/dist/{__mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-CmFI7g4f.mjs → __mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-BXYVnRIg.mjs} +2 -2
  6. package/dist/{__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs-DrODo4jp.mjs → __mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs-CwxG01QN.mjs} +3 -1
  7. package/dist/{__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-JW-pexXa.mjs → __mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-DNK86jW_.mjs} +1 -1
  8. package/dist/{__mfe_internal__addon_benchmark_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-Ch91KrC_.mjs → __mfe_internal__addon_benchmark_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-rG8Cwul7.mjs} +4 -4
  9. package/dist/{__mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-B7BvuptH.mjs → __mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CiSqvhEO.mjs} +1 -1
  10. package/dist/{__mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-D0WpT8pS.mjs → __mfe_internal__addon_benchmark_page__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-DJYmMG8o.mjs} +2 -2
  11. package/dist/_stub.js +5052 -3989
  12. package/dist/{_virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-IgXUmW37.mjs → _virtual_mf-localSharedImportMap___mfe_internal__addon_benchmark_page-BYTpdvtz.mjs} +11 -10
  13. package/dist/addon-benchmark.css +1 -1
  14. package/dist/{client-DFXd_CTL.mjs → client-Zt4h91bV.mjs} +2990 -3217
  15. package/dist/{hostInit-CZsSiakn.mjs → hostInit-D8P6mkMN.mjs} +12 -12
  16. package/dist/{index-DIVnrURN.mjs → index--nvasGtP.mjs} +5 -5
  17. package/dist/{index-COebxMhm.mjs → index-BCEx31Mh.mjs} +4032 -3582
  18. package/dist/{index-CZUhuk7y.mjs → index-BRnp4vkk.mjs} +2 -2
  19. package/dist/index-CWkKuNLr.mjs +232 -0
  20. package/dist/{index-DqipDAUg.mjs → index-D1DAg9Pv.mjs} +24 -24
  21. package/dist/{index-CwX5nq5R.mjs → index-DJ4amHkq.mjs} +1 -1
  22. package/dist/{index-B3DDm3f_.mjs → index-Dt0w8Jc0.mjs} +1 -1
  23. package/dist/{index-BhKpsQIH.mjs → index-c-4IkX18.mjs} +6903 -6243
  24. package/dist/{jsx-runtime-BblBcpPM.mjs → jsx-runtime-BjrKBLEA.mjs} +1 -1
  25. package/dist/remoteEntry.js +3 -2971
  26. package/dist/virtual_mf-REMOTE_ENTRY_ID___mfe_internal__addon_benchmark_page__remoteEntry_js-DIAD45Tc.mjs +2974 -0
  27. package/package.json +3 -3
  28. package/dist/__mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CLLwhZqC.mjs +0 -19
@@ -1,5 +1,5 @@
1
- import { i as _e, b as x, A as be, n as ve } from "./__mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-jq0dGk3x.mjs";
2
- import { c as V, d as Ee } from "./__mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-CLLwhZqC.mjs";
1
+ import { j as _e, c as x, B as be, o as ve } from "./__mfe_internal__addon_benchmark_page__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-BVQD7n0x.mjs";
2
+ import { c as V, d as Ee } from "./__mfe_internal__addon_benchmark_page__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-BVEzgqGi.mjs";
3
3
  class Pe {
4
4
  constructor() {
5
5
  this.keyToValue = /* @__PURE__ */ new Map(), this.valueToKey = /* @__PURE__ */ new Map();
@@ -0,0 +1,232 @@
1
+ var N = { exports: {} }, z = {};
2
+ /**
3
+ * @license React
4
+ * scheduler.production.js
5
+ *
6
+ * Copyright (c) Meta Platforms, Inc. and affiliates.
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ (function(l) {
12
+ function g(e, a) {
13
+ var n = e.length;
14
+ e.push(a);
15
+ e: for (; 0 < n; ) {
16
+ var u = n - 1 >>> 1, t = e[u];
17
+ if (0 < m(t, a))
18
+ e[u] = a, e[n] = t, n = u;
19
+ else break e;
20
+ }
21
+ }
22
+ function s(e) {
23
+ return e.length === 0 ? null : e[0];
24
+ }
25
+ function _(e) {
26
+ if (e.length === 0) return null;
27
+ var a = e[0], n = e.pop();
28
+ if (n !== a) {
29
+ e[0] = n;
30
+ e: for (var u = 0, t = e.length, P = t >>> 1; u < P; ) {
31
+ var T = 2 * (u + 1) - 1, U = e[T], o = T + 1, C = e[o];
32
+ if (0 > m(U, n))
33
+ o < t && 0 > m(C, U) ? (e[u] = C, e[o] = n, u = o) : (e[u] = U, e[T] = n, u = T);
34
+ else if (o < t && 0 > m(C, n))
35
+ e[u] = C, e[o] = n, u = o;
36
+ else break e;
37
+ }
38
+ }
39
+ return a;
40
+ }
41
+ function m(e, a) {
42
+ var n = e.sortIndex - a.sortIndex;
43
+ return n !== 0 ? n : e.id - a.id;
44
+ }
45
+ if (l.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
46
+ var A = performance;
47
+ l.unstable_now = function() {
48
+ return A.now();
49
+ };
50
+ } else {
51
+ var j = Date, G = j.now();
52
+ l.unstable_now = function() {
53
+ return j.now() - G;
54
+ };
55
+ }
56
+ var c = [], i = [], J = 1, f = null, r = 3, H = !1, d = !1, y = !1, S = !1, q = typeof setTimeout == "function" ? setTimeout : null, F = typeof clearTimeout == "function" ? clearTimeout : null, Q = typeof setImmediate < "u" ? setImmediate : null;
57
+ function w(e) {
58
+ for (var a = s(i); a !== null; ) {
59
+ if (a.callback === null) _(i);
60
+ else if (a.startTime <= e)
61
+ _(i), a.sortIndex = a.expirationTime, g(c, a);
62
+ else break;
63
+ a = s(i);
64
+ }
65
+ }
66
+ function D(e) {
67
+ if (y = !1, w(e), !d)
68
+ if (s(c) !== null)
69
+ d = !0, b || (b = !0, v());
70
+ else {
71
+ var a = s(i);
72
+ a !== null && R(D, a.startTime - e);
73
+ }
74
+ }
75
+ var b = !1, k = -1, Y = 5, B = -1;
76
+ function E() {
77
+ return S ? !0 : !(l.unstable_now() - B < Y);
78
+ }
79
+ function I() {
80
+ if (S = !1, b) {
81
+ var e = l.unstable_now();
82
+ B = e;
83
+ var a = !0;
84
+ try {
85
+ e: {
86
+ d = !1, y && (y = !1, F(k), k = -1), H = !0;
87
+ var n = r;
88
+ try {
89
+ n: {
90
+ for (w(e), f = s(c); f !== null && !(f.expirationTime > e && E()); ) {
91
+ var u = f.callback;
92
+ if (typeof u == "function") {
93
+ f.callback = null, r = f.priorityLevel;
94
+ var t = u(
95
+ f.expirationTime <= e
96
+ );
97
+ if (e = l.unstable_now(), typeof t == "function") {
98
+ f.callback = t, w(e), a = !0;
99
+ break n;
100
+ }
101
+ f === s(c) && _(c), w(e);
102
+ } else _(c);
103
+ f = s(c);
104
+ }
105
+ if (f !== null) a = !0;
106
+ else {
107
+ var P = s(i);
108
+ P !== null && R(
109
+ D,
110
+ P.startTime - e
111
+ ), a = !1;
112
+ }
113
+ }
114
+ break e;
115
+ } finally {
116
+ f = null, r = n, H = !1;
117
+ }
118
+ a = void 0;
119
+ }
120
+ } finally {
121
+ a ? v() : b = !1;
122
+ }
123
+ }
124
+ }
125
+ var v;
126
+ if (typeof Q == "function")
127
+ v = function() {
128
+ Q(I);
129
+ };
130
+ else if (typeof MessageChannel < "u") {
131
+ var M = new MessageChannel(), K = M.port2;
132
+ M.port1.onmessage = I, v = function() {
133
+ K.postMessage(null);
134
+ };
135
+ } else
136
+ v = function() {
137
+ q(I, 0);
138
+ };
139
+ function R(e, a) {
140
+ k = q(function() {
141
+ e(l.unstable_now());
142
+ }, a);
143
+ }
144
+ l.unstable_IdlePriority = 5, l.unstable_ImmediatePriority = 1, l.unstable_LowPriority = 4, l.unstable_NormalPriority = 3, l.unstable_Profiling = null, l.unstable_UserBlockingPriority = 2, l.unstable_cancelCallback = function(e) {
145
+ e.callback = null;
146
+ }, l.unstable_forceFrameRate = function(e) {
147
+ 0 > e || 125 < e ? console.error(
148
+ "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
149
+ ) : Y = 0 < e ? Math.floor(1e3 / e) : 5;
150
+ }, l.unstable_getCurrentPriorityLevel = function() {
151
+ return r;
152
+ }, l.unstable_next = function(e) {
153
+ switch (r) {
154
+ case 1:
155
+ case 2:
156
+ case 3:
157
+ var a = 3;
158
+ break;
159
+ default:
160
+ a = r;
161
+ }
162
+ var n = r;
163
+ r = a;
164
+ try {
165
+ return e();
166
+ } finally {
167
+ r = n;
168
+ }
169
+ }, l.unstable_requestPaint = function() {
170
+ S = !0;
171
+ }, l.unstable_runWithPriority = function(e, a) {
172
+ switch (e) {
173
+ case 1:
174
+ case 2:
175
+ case 3:
176
+ case 4:
177
+ case 5:
178
+ break;
179
+ default:
180
+ e = 3;
181
+ }
182
+ var n = r;
183
+ r = e;
184
+ try {
185
+ return a();
186
+ } finally {
187
+ r = n;
188
+ }
189
+ }, l.unstable_scheduleCallback = function(e, a, n) {
190
+ var u = l.unstable_now();
191
+ switch (typeof n == "object" && n !== null ? (n = n.delay, n = typeof n == "number" && 0 < n ? u + n : u) : n = u, e) {
192
+ case 1:
193
+ var t = -1;
194
+ break;
195
+ case 2:
196
+ t = 250;
197
+ break;
198
+ case 5:
199
+ t = 1073741823;
200
+ break;
201
+ case 4:
202
+ t = 1e4;
203
+ break;
204
+ default:
205
+ t = 5e3;
206
+ }
207
+ return t = n + t, e = {
208
+ id: J++,
209
+ callback: a,
210
+ priorityLevel: e,
211
+ startTime: n,
212
+ expirationTime: t,
213
+ sortIndex: -1
214
+ }, n > u ? (e.sortIndex = n, g(i, e), s(c) === null && e === s(i) && (y ? (F(k), k = -1) : y = !0, R(D, n - u))) : (e.sortIndex = t, g(c, e), d || H || (d = !0, b || (b = !0, v()))), e;
215
+ }, l.unstable_shouldYield = E, l.unstable_wrapCallback = function(e) {
216
+ var a = r;
217
+ return function() {
218
+ var n = r;
219
+ r = a;
220
+ try {
221
+ return e.apply(this, arguments);
222
+ } finally {
223
+ r = n;
224
+ }
225
+ };
226
+ };
227
+ })(z);
228
+ N.exports = z;
229
+ var O = N.exports;
230
+ export {
231
+ O as s
232
+ };
@@ -1,5 +1,5 @@
1
- import { a as nt, e as M, f as at, h as W, j as Ct, g as j, i as _, d as J } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs-DrODo4jp.mjs";
2
- import { _ as Qt } from "./__mfe_internal__addon_benchmark_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-Ch91KrC_.mjs";
1
+ import { a as nt, e as M, f as at, h as W, j as Ct, g as j, i as A, d as J } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs-CwxG01QN.mjs";
2
+ import { a as Qt } from "./__mfe_internal__addon_benchmark_page__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-rG8Cwul7.mjs";
3
3
  var I = class {
4
4
  constructor() {
5
5
  this.listeners = /* @__PURE__ */ new Set(), this.subscribe = this.subscribe.bind(this);
@@ -523,10 +523,10 @@ var G = class extends Error {
523
523
  super("CancelledError"), this.revert = t?.revert, this.silent = t?.silent;
524
524
  }
525
525
  };
526
- function _e(t) {
526
+ function Ae(t) {
527
527
  return t instanceof G;
528
528
  }
529
- function _t(t) {
529
+ function At(t) {
530
530
  let e = !1, s = 0, r;
531
531
  const i = tt(), n = () => i.status !== "pending", a = (f) => {
532
532
  if (!n()) {
@@ -581,7 +581,7 @@ function _t(t) {
581
581
  start: () => (h() ? m() : y().then(m), i)
582
582
  };
583
583
  }
584
- var At = class {
584
+ var _t = class {
585
585
  #e;
586
586
  destroy() {
587
587
  this.clearGcTimeout();
@@ -682,7 +682,7 @@ function ye(t, e) {
682
682
  function ve(t, e) {
683
683
  return !e || !t.getPreviousPageParam ? !1 : qt(t, e) != null;
684
684
  }
685
- var me = class extends At {
685
+ var me = class extends _t {
686
686
  #e;
687
687
  #t;
688
688
  #s;
@@ -830,7 +830,7 @@ var me = class extends At {
830
830
  })();
831
831
  (this.#e === "infinite" ? pe(
832
832
  this.options.pages
833
- ) : this.options.behavior)?.onFetch(a, this), this.#s = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#u({ type: "fetch", meta: a.fetchOptions?.meta }), this.#n = _t({
833
+ ) : this.options.behavior)?.onFetch(a, this), this.#s = this.state, (this.state.fetchStatus === "idle" || this.state.fetchMeta !== a.fetchOptions?.meta) && this.#u({ type: "fetch", meta: a.fetchOptions?.meta }), this.#n = At({
834
834
  initialPromise: e?.initialPromise,
835
835
  fn: a.fetchFn,
836
836
  onCancel: (o) => {
@@ -1142,8 +1142,8 @@ var k = class extends I {
1142
1142
  const s = this.#t, r = this.options, i = this.#r, n = this.#i, a = this.#n, o = t !== s ? t.state : this.#s, { state: c } = t;
1143
1143
  let h = { ...c }, d = !1, l;
1144
1144
  if (e._optimisticResults) {
1145
- const w = this.hasListeners(), A = !w && St(t, e), L = w && wt(t, s, e, r);
1146
- (A || L) && (h = {
1145
+ const w = this.hasListeners(), _ = !w && St(t, e), L = w && wt(t, s, e, r);
1146
+ (_ || L) && (h = {
1147
1147
  ...h,
1148
1148
  ...xt(c.data, t.options)
1149
1149
  }), e._optimisticResults === "isRestoring" && (h.fetchStatus = "idle");
@@ -1201,8 +1201,8 @@ var k = class extends I {
1201
1201
  isEnabled: S(e.enabled, t) !== !1
1202
1202
  };
1203
1203
  if (this.options.experimental_prefetchInRender) {
1204
- const w = C.data !== void 0, A = C.status === "error" && !w, L = (H) => {
1205
- A ? H.reject(C.error) : w && H.resolve(C.data);
1204
+ const w = C.data !== void 0, _ = C.status === "error" && !w, L = (H) => {
1205
+ _ ? H.reject(C.error) : w && H.resolve(C.data);
1206
1206
  }, dt = () => {
1207
1207
  const H = this.#o = C.promise = tt();
1208
1208
  L(H);
@@ -1212,10 +1212,10 @@ var k = class extends I {
1212
1212
  t.queryHash === s.queryHash && L(N);
1213
1213
  break;
1214
1214
  case "fulfilled":
1215
- (A || C.data !== N.value) && dt();
1215
+ (_ || C.data !== N.value) && dt();
1216
1216
  break;
1217
1217
  case "rejected":
1218
- (!A || C.error !== N.reason) && dt();
1218
+ (!_ || C.error !== N.reason) && dt();
1219
1219
  break;
1220
1220
  }
1221
1221
  }
@@ -1330,7 +1330,7 @@ var Ut = class extends k {
1330
1330
  isRefetching: n && !h && !l
1331
1331
  };
1332
1332
  }
1333
- }, Oe = class extends At {
1333
+ }, Oe = class extends _t {
1334
1334
  #e;
1335
1335
  #t;
1336
1336
  #s;
@@ -1373,7 +1373,7 @@ var Ut = class extends k {
1373
1373
  meta: this.options.meta,
1374
1374
  mutationKey: this.options.mutationKey
1375
1375
  };
1376
- this.#r = _t({
1376
+ this.#r = At({
1377
1377
  fn: () => this.options.mutationFn ? this.options.mutationFn(t, s) : Promise.reject(new Error("No mutationFn found")),
1378
1378
  onFail: (n, a) => {
1379
1379
  this.#i({ type: "failed", failureCount: n, error: a });
@@ -1966,7 +1966,7 @@ var Re = class extends I {
1966
1966
  });
1967
1967
  });
1968
1968
  }
1969
- }, Ae = class {
1969
+ }, _e = class {
1970
1970
  #e;
1971
1971
  #t;
1972
1972
  #s;
@@ -2290,7 +2290,7 @@ function Ee({
2290
2290
  e.combine
2291
2291
  ), d = !i && e.subscribed !== !1;
2292
2292
  j(
2293
- _(
2293
+ A(
2294
2294
  (f) => d ? u.subscribe(g.batchCalls(f)) : O,
2295
2295
  [u, d]
2296
2296
  ),
@@ -2344,7 +2344,7 @@ function V(t, e, s) {
2344
2344
  )
2345
2345
  ), h = c.getOptimisticResult(a), d = !r && t.subscribed !== !1;
2346
2346
  if (j(
2347
- _(
2347
+ A(
2348
2348
  (l) => {
2349
2349
  const y = d ? c.subscribe(g.batchCalls(l)) : O;
2350
2350
  return c.updateResult(), y;
@@ -2465,7 +2465,7 @@ var Je = ({
2465
2465
  function Ze(t, e) {
2466
2466
  const s = E(e), r = s.getQueryCache();
2467
2467
  return j(
2468
- _(
2468
+ A(
2469
2469
  (i) => r.subscribe(g.batchCalls(i)),
2470
2470
  [r]
2471
2471
  ),
@@ -2490,7 +2490,7 @@ function Fe(t = {}, e) {
2490
2490
  return i.current === null && (i.current = Rt(s, t)), M(() => {
2491
2491
  r.current = t;
2492
2492
  }), j(
2493
- _(
2493
+ A(
2494
2494
  (n) => s.subscribe(() => {
2495
2495
  const a = $(
2496
2496
  i.current,
@@ -2515,13 +2515,13 @@ function Ye(t, e) {
2515
2515
  r.setOptions(t);
2516
2516
  }, [r, t]);
2517
2517
  const i = j(
2518
- _(
2518
+ A(
2519
2519
  (a) => r.subscribe(g.batchCalls(a)),
2520
2520
  [r]
2521
2521
  ),
2522
2522
  () => r.getCurrentResult(),
2523
2523
  () => r.getCurrentResult()
2524
- ), n = _(
2524
+ ), n = A(
2525
2525
  (a, u) => {
2526
2526
  r.mutate(a, u).catch(O);
2527
2527
  },
@@ -2552,7 +2552,7 @@ export {
2552
2552
  Re as QueriesObserver,
2553
2553
  me as Query,
2554
2554
  Ce as QueryCache,
2555
- Ae as QueryClient,
2555
+ _e as QueryClient,
2556
2556
  kt as QueryClientContext,
2557
2557
  ke as QueryClientProvider,
2558
2558
  Le as QueryErrorResetBoundary,
@@ -2569,7 +2569,7 @@ export {
2569
2569
  T as hashKey,
2570
2570
  gt as hydrate,
2571
2571
  Ve as infiniteQueryOptions,
2572
- _e as isCancelledError,
2572
+ Ae as isCancelledError,
2573
2573
  Yt as isServer,
2574
2574
  Te as keepPreviousData,
2575
2575
  yt as matchMutation,
@@ -1,4 +1,4 @@
1
- import { r as _, a as m } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-JW-pexXa.mjs";
1
+ import { r as _, a as m } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-DNK86jW_.mjs";
2
2
  function v(r, e) {
3
3
  for (var t = 0; t < e.length; t++) {
4
4
  const a = e[t];
@@ -1,4 +1,4 @@
1
- import { a as x } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-JW-pexXa.mjs";
1
+ import { a as x } from "./__mfe_internal__addon_benchmark_page__loadShare__react__loadShare__.mjs_commonjs-proxy-DNK86jW_.mjs";
2
2
  function M(t, e) {
3
3
  for (var r = 0; r < e.length; r++) {
4
4
  const n = e[r];