@camstack/addon-pipeline 0.1.20 → 0.2.0

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 (101) hide show
  1. package/dist/audio-analyzer/index.js +736 -719
  2. package/dist/audio-analyzer/index.mjs +726 -679
  3. package/dist/audio-codec-nodeav/index.js +304 -461
  4. package/dist/audio-codec-nodeav/index.mjs +300 -462
  5. package/dist/chunk-BdkLduGY.mjs +5 -0
  6. package/dist/chunk-D6vf50IK.js +28 -0
  7. package/dist/codec-runtime-BOk-13PN.js +202 -0
  8. package/dist/codec-runtime-BsqlEjPi.mjs +197 -0
  9. package/dist/constants-B_b0a-6h.mjs +3119 -0
  10. package/dist/{index-CMcx_k6Y.js → constants-D65v6yp6.js} +3107 -2935
  11. package/dist/decoder-nodeav/index.js +1374 -1444
  12. package/dist/decoder-nodeav/index.mjs +1369 -1425
  13. package/dist/detection-pipeline/index.js +6462 -5613
  14. package/dist/detection-pipeline/index.mjs +6451 -5574
  15. package/dist/dist-7ewQjTle.js +22454 -0
  16. package/dist/dist-C5jnNl0n.mjs +22089 -0
  17. package/dist/motion-wasm/index.js +469 -467
  18. package/dist/motion-wasm/index.mjs +464 -446
  19. package/dist/pipeline-runner/index.js +2029 -1827
  20. package/dist/pipeline-runner/index.mjs +2025 -1811
  21. package/dist/recorder/index.js +2045 -2157
  22. package/dist/recorder/index.mjs +2042 -2156
  23. package/dist/stream-broker/_stub.js +1806 -1352
  24. package/dist/stream-broker/_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-D4-DHanK.mjs +156 -0
  25. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.js-Tf-HACFd.mjs +26 -0
  26. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.js-C9WX5HNw.mjs +26 -0
  27. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.js-BO7TIbJV.mjs +26 -0
  28. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.js-C9j-2lBe.mjs +26 -0
  29. package/dist/stream-broker/_virtual_mf___mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.js-XO0-Pyu6.mjs +26 -0
  30. package/dist/stream-broker/dist-CYZr2fwk.mjs +2726 -0
  31. package/dist/stream-broker/hostInit-Di6vceAU.mjs +129 -0
  32. package/dist/stream-broker/index.js +17778 -15470
  33. package/dist/stream-broker/index.mjs +17769 -15465
  34. package/dist/stream-broker/remoteEntry.js +134 -2973
  35. package/dist/stream-broker/remoteEntry.ssr.js +33 -0
  36. package/dist/stream-broker/virtualExposes-dYNvIwoR.mjs +27 -0
  37. package/dist/stream-broker/virtual_mf-exposes-ssr___mfe_internal__addon_stream_broker_widgets__remoteEntry_js-Cmqfp4i_.mjs +10 -0
  38. package/embed-dist/assets/index-B8VlSD0-.js +150 -0
  39. package/embed-dist/assets/index-ZhDdp1Nd.css +2 -0
  40. package/embed-dist/index.html +13 -0
  41. package/package.json +25 -7
  42. package/wasm/assembly/index.ts +41 -16
  43. package/dist/audio-analyzer/index.js.map +0 -1
  44. package/dist/audio-analyzer/index.mjs.map +0 -1
  45. package/dist/audio-codec-nodeav/index.js.map +0 -1
  46. package/dist/audio-codec-nodeav/index.mjs.map +0 -1
  47. package/dist/decoder-nodeav/index.js.map +0 -1
  48. package/dist/decoder-nodeav/index.mjs.map +0 -1
  49. package/dist/detection-pipeline/index.js.map +0 -1
  50. package/dist/detection-pipeline/index.mjs.map +0 -1
  51. package/dist/index-5aYef068.mjs +0 -17514
  52. package/dist/index-5aYef068.mjs.map +0 -1
  53. package/dist/index-B36NMAdu.js +0 -17513
  54. package/dist/index-B36NMAdu.js.map +0 -1
  55. package/dist/index-CMcx_k6Y.js.map +0 -1
  56. package/dist/index-CYb7cFrv.mjs +0 -5790
  57. package/dist/index-CYb7cFrv.mjs.map +0 -1
  58. package/dist/motion-wasm/index.js.map +0 -1
  59. package/dist/motion-wasm/index.mjs.map +0 -1
  60. package/dist/pipeline-runner/index.js.map +0 -1
  61. package/dist/pipeline-runner/index.mjs.map +0 -1
  62. package/dist/recorder/index.js.map +0 -1
  63. package/dist/recorder/index.mjs.map +0 -1
  64. package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/FfmpegParamsField.d.ts +0 -41
  65. package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/GeometryBuilder.d.ts +0 -54
  66. package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/StreamBrokerPanel.d.ts +0 -21
  67. package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/format-ua.d.ts +0 -13
  68. package/dist/stream-broker/@mf-types/compiled-types/stream-broker/widgets/index.d.ts +0 -15
  69. package/dist/stream-broker/@mf-types/widgets.d.ts +0 -2
  70. package/dist/stream-broker/@mf-types.d.ts +0 -3
  71. package/dist/stream-broker/@mf-types.zip +0 -0
  72. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_sdk__loadShare__.mjs-lantnv8e.mjs +0 -12
  73. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_types__loadShare__.mjs-DJ3UNg7O.mjs +0 -30
  74. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_camstack_mf_1_ui_mf_2_library__loadShare__.mjs-CYXy_bhS.mjs +0 -21
  75. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_tanstack_mf_1_react_mf_2_query__loadShare__.mjs-U1EUeEPs.mjs +0 -104
  76. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_trpc_mf_1_client__loadShare__.mjs-DeouEaSs.mjs +0 -85
  77. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare___mf_0_trpc_mf_1_react_mf_2_query__loadShare__.mjs-DHUwjbb9.mjs +0 -62
  78. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs-CaDEYBIU.mjs +0 -89
  79. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react__loadShare__.mjs_commonjs-proxy-D6EROtlA.mjs +0 -29
  80. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_1_jsx_mf_2_runtime__loadShare__.mjs-x6pP3Ghk.mjs +0 -36
  81. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom__loadShare__.mjs-DYEKzzY-.mjs +0 -45
  82. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom__loadShare__.mjs_commonjs-proxy-CcnN6sbA.mjs +0 -6
  83. package/dist/stream-broker/__mfe_internal__addon_stream_broker_widgets__loadShare__react_mf_2_dom_mf_1_client__loadShare__.mjs-DICOtMTl.mjs +0 -34
  84. package/dist/stream-broker/_virtual_mf-localSharedImportMap___mfe_internal__addon_stream_broker_widgets-CL9DR49k.mjs +0 -156
  85. package/dist/stream-broker/client-BvTmMOQu.mjs +0 -9836
  86. package/dist/stream-broker/getErrorShape-BPSzUA7W-TlK8ipWe.mjs +0 -211
  87. package/dist/stream-broker/hostInit-ChmiMPS0.mjs +0 -168
  88. package/dist/stream-broker/index-BxsFuFmE.mjs +0 -2603
  89. package/dist/stream-broker/index-C-248uOU.mjs +0 -725
  90. package/dist/stream-broker/index-C05B6jqp.mjs +0 -185
  91. package/dist/stream-broker/index-CWkKuNLr.mjs +0 -232
  92. package/dist/stream-broker/index-DOJoSShD.mjs +0 -67784
  93. package/dist/stream-broker/index-DtOI1aTU.mjs +0 -18504
  94. package/dist/stream-broker/index-oMq6ilgR.mjs +0 -1641
  95. package/dist/stream-broker/index-vIWZQBIL.mjs +0 -435
  96. package/dist/stream-broker/index-xncRG7-x.mjs +0 -2713
  97. package/dist/stream-broker/index.js.map +0 -1
  98. package/dist/stream-broker/index.mjs.map +0 -1
  99. package/dist/stream-broker/jsx-runtime-BRT_HL0A.mjs +0 -55
  100. package/dist/stream-broker/schemas-B7L0qZtq.mjs +0 -3599
  101. package/dist/stream-broker/virtualExposes-pCd777Rp.mjs +0 -42
@@ -1,211 +0,0 @@
1
- function R(r) {
2
- return !!r && !Array.isArray(r) && typeof r == "object";
3
- }
4
- function b() {
5
- return /* @__PURE__ */ Object.create(null);
6
- }
7
- const N = typeof Symbol == "function" && !!Symbol.asyncIterator;
8
- function M(r) {
9
- return N && R(r) && Symbol.asyncIterator in r;
10
- }
11
- const w = (r) => r();
12
- function Y(r = 0) {
13
- return new Promise((e) => setTimeout(e, r));
14
- }
15
- const _ = {
16
- PARSE_ERROR: -32700,
17
- BAD_REQUEST: -32600,
18
- INTERNAL_SERVER_ERROR: -32603,
19
- NOT_IMPLEMENTED: -32603,
20
- BAD_GATEWAY: -32603,
21
- SERVICE_UNAVAILABLE: -32603,
22
- GATEWAY_TIMEOUT: -32603,
23
- UNAUTHORIZED: -32001,
24
- PAYMENT_REQUIRED: -32002,
25
- FORBIDDEN: -32003,
26
- NOT_FOUND: -32004,
27
- METHOD_NOT_SUPPORTED: -32005,
28
- TIMEOUT: -32008,
29
- CONFLICT: -32009,
30
- PRECONDITION_FAILED: -32012,
31
- PAYLOAD_TOO_LARGE: -32013,
32
- UNSUPPORTED_MEDIA_TYPE: -32015,
33
- UNPROCESSABLE_CONTENT: -32022,
34
- PRECONDITION_REQUIRED: -32028,
35
- TOO_MANY_REQUESTS: -32029,
36
- CLIENT_CLOSED_REQUEST: -32099
37
- }, B = [
38
- _.BAD_GATEWAY,
39
- _.SERVICE_UNAVAILABLE,
40
- _.GATEWAY_TIMEOUT,
41
- _.INTERNAL_SERVER_ERROR
42
- ];
43
- var S = Object.create, f = Object.defineProperty, A = Object.getOwnPropertyDescriptor, l = Object.getOwnPropertyNames, j = Object.getPrototypeOf, x = Object.prototype.hasOwnProperty, u = (r, e) => function() {
44
- return e || (0, r[l(r)[0]])((e = { exports: {} }).exports, e), e.exports;
45
- }, D = (r, e, o, p) => {
46
- if (e && typeof e == "object" || typeof e == "function") for (var t = l(e), n = 0, c = t.length, s; n < c; n++)
47
- s = t[n], !x.call(r, s) && s !== o && f(r, s, {
48
- get: ((a) => e[a]).bind(null, s),
49
- enumerable: !(p = A(e, s)) || p.enumerable
50
- });
51
- return r;
52
- }, d = (r, e, o) => (o = r != null ? S(j(r)) : {}, D(f(o, "default", {
53
- value: r,
54
- enumerable: !0
55
- }), r));
56
- const y = () => {
57
- }, E = (r) => {
58
- Object.freeze && Object.freeze(r);
59
- };
60
- function P(r, e, o) {
61
- var p;
62
- const t = e.join(".");
63
- return (p = o[t]) !== null && p !== void 0 || (o[t] = new Proxy(y, {
64
- get(n, c) {
65
- if (!(typeof c != "string" || c === "then"))
66
- return P(r, [...e, c], o);
67
- },
68
- apply(n, c, s) {
69
- const a = e[e.length - 1];
70
- if (a === "valueOf" || a === "toString" || a === "toJSON")
71
- return `tRPC.proxy(${e.slice(0, -1).join(".")})`;
72
- let i = {
73
- args: s,
74
- path: e
75
- };
76
- return a === "call" ? i = {
77
- args: s.length >= 2 ? [s[1]] : [],
78
- path: e.slice(0, -1)
79
- } : a === "apply" && (i = {
80
- args: s.length >= 2 ? s[1] : [],
81
- path: e.slice(0, -1)
82
- }), E(i.args), E(i.path), r(i);
83
- }
84
- })), o[t];
85
- }
86
- const F = (r) => P(r, [], b()), Q = (r) => new Proxy(y, { get(e, o) {
87
- if (o !== "then")
88
- return r(o);
89
- } }), v = {
90
- PARSE_ERROR: 400,
91
- BAD_REQUEST: 400,
92
- UNAUTHORIZED: 401,
93
- PAYMENT_REQUIRED: 402,
94
- FORBIDDEN: 403,
95
- NOT_FOUND: 404,
96
- METHOD_NOT_SUPPORTED: 405,
97
- TIMEOUT: 408,
98
- CONFLICT: 409,
99
- PRECONDITION_FAILED: 412,
100
- PAYLOAD_TOO_LARGE: 413,
101
- UNSUPPORTED_MEDIA_TYPE: 415,
102
- UNPROCESSABLE_CONTENT: 422,
103
- PRECONDITION_REQUIRED: 428,
104
- TOO_MANY_REQUESTS: 429,
105
- CLIENT_CLOSED_REQUEST: 499,
106
- INTERNAL_SERVER_ERROR: 500,
107
- NOT_IMPLEMENTED: 501,
108
- BAD_GATEWAY: 502,
109
- SERVICE_UNAVAILABLE: 503,
110
- GATEWAY_TIMEOUT: 504
111
- };
112
- function I(r) {
113
- var e;
114
- return (e = v[r]) !== null && e !== void 0 ? e : 500;
115
- }
116
- function g(r) {
117
- return I(r.code);
118
- }
119
- var T = u({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/typeof.js"(r, e) {
120
- function o(p) {
121
- "@babel/helpers - typeof";
122
- return e.exports = o = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
123
- return typeof t;
124
- } : function(t) {
125
- return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
126
- }, e.exports.__esModule = !0, e.exports.default = e.exports, o(p);
127
- }
128
- e.exports = o, e.exports.__esModule = !0, e.exports.default = e.exports;
129
- } }), m = u({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPrimitive.js"(r, e) {
130
- var o = T().default;
131
- function p(t, n) {
132
- if (o(t) != "object" || !t) return t;
133
- var c = t[Symbol.toPrimitive];
134
- if (c !== void 0) {
135
- var s = c.call(t, n || "default");
136
- if (o(s) != "object") return s;
137
- throw new TypeError("@@toPrimitive must return a primitive value.");
138
- }
139
- return (n === "string" ? String : Number)(t);
140
- }
141
- e.exports = p, e.exports.__esModule = !0, e.exports.default = e.exports;
142
- } }), U = u({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/toPropertyKey.js"(r, e) {
143
- var o = T().default, p = m();
144
- function t(n) {
145
- var c = p(n, "string");
146
- return o(c) == "symbol" ? c : c + "";
147
- }
148
- e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
149
- } }), C = u({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/defineProperty.js"(r, e) {
150
- var o = U();
151
- function p(t, n, c) {
152
- return (n = o(n)) in t ? Object.defineProperty(t, n, {
153
- value: c,
154
- enumerable: !0,
155
- configurable: !0,
156
- writable: !0
157
- }) : t[n] = c, t;
158
- }
159
- e.exports = p, e.exports.__esModule = !0, e.exports.default = e.exports;
160
- } }), h = u({ "../../node_modules/.pnpm/@oxc-project+runtime@0.72.2/node_modules/@oxc-project/runtime/src/helpers/objectSpread2.js"(r, e) {
161
- var o = C();
162
- function p(n, c) {
163
- var s = Object.keys(n);
164
- if (Object.getOwnPropertySymbols) {
165
- var a = Object.getOwnPropertySymbols(n);
166
- c && (a = a.filter(function(i) {
167
- return Object.getOwnPropertyDescriptor(n, i).enumerable;
168
- })), s.push.apply(s, a);
169
- }
170
- return s;
171
- }
172
- function t(n) {
173
- for (var c = 1; c < arguments.length; c++) {
174
- var s = arguments[c] != null ? arguments[c] : {};
175
- c % 2 ? p(Object(s), !0).forEach(function(a) {
176
- o(n, a, s[a]);
177
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(n, Object.getOwnPropertyDescriptors(s)) : p(Object(s)).forEach(function(a) {
178
- Object.defineProperty(n, a, Object.getOwnPropertyDescriptor(s, a));
179
- });
180
- }
181
- return n;
182
- }
183
- e.exports = t, e.exports.__esModule = !0, e.exports.default = e.exports;
184
- } }), O = d(h());
185
- function K(r) {
186
- const { path: e, error: o, config: p } = r, { code: t } = r.error, n = {
187
- message: o.message,
188
- code: _[t],
189
- data: {
190
- code: t,
191
- httpStatus: g(o)
192
- }
193
- };
194
- return p.isDev && typeof r.error.stack == "string" && (n.data.stack = r.error.stack), typeof e == "string" && (n.data.path = e), p.errorFormatter((0, O.default)((0, O.default)({}, r), {}, { shape: n }));
195
- }
196
- export {
197
- _ as T,
198
- d as _,
199
- C as a,
200
- w as b,
201
- u as c,
202
- F as d,
203
- b as e,
204
- Q as f,
205
- B as g,
206
- M as h,
207
- R as i,
208
- K as j,
209
- h as r,
210
- Y as s
211
- };
@@ -1,168 +0,0 @@
1
- const s = "__mf_module_cache__";
2
- globalThis[s] ||= { share: {}, remote: {} };
3
- globalThis[s].share ||= {};
4
- globalThis[s].remote ||= {};
5
- const r = globalThis[s];
6
- let a;
7
- async function l() {
8
- return a || (a = (async () => {
9
- if (r.share["@tanstack/react-query"] === void 0) {
10
- const e = { ...await import("./index-BxsFuFmE.mjs") };
11
- Object.defineProperty(e, "__esModule", {
12
- value: !0,
13
- enumerable: !1
14
- }), r.share["@tanstack/react-query"] = e;
15
- }
16
- if (r.share["@trpc/client"] === void 0) {
17
- const e = { ...await import("./index-xncRG7-x.mjs") };
18
- Object.defineProperty(e, "__esModule", {
19
- value: !0,
20
- enumerable: !1
21
- }), r.share["@trpc/client"] = e;
22
- }
23
- if (r.share["@trpc/react-query"] === void 0) {
24
- const e = { ...await import("./index-C-248uOU.mjs") };
25
- Object.defineProperty(e, "__esModule", {
26
- value: !0,
27
- enumerable: !1
28
- }), r.share["@trpc/react-query"] = e;
29
- }
30
- if (r.share.react === void 0) {
31
- const e = { ...await import("./index-vIWZQBIL.mjs").then((o) => o.i) };
32
- Object.defineProperty(e, "__esModule", {
33
- value: !0,
34
- enumerable: !1
35
- }), r.share.react = e;
36
- }
37
- if (r.share["react-dom"] === void 0) {
38
- const e = { ...await import("./index-C05B6jqp.mjs").then((o) => o.i) };
39
- Object.defineProperty(e, "__esModule", {
40
- value: !0,
41
- enumerable: !1
42
- }), r.share["react-dom"] = e;
43
- }
44
- if (r.share["react-dom/client"] === void 0) {
45
- const e = { ...await import("./client-BvTmMOQu.mjs").then((o) => o.c) };
46
- Object.defineProperty(e, "__esModule", {
47
- value: !0,
48
- enumerable: !1
49
- }), r.share["react-dom/client"] = e;
50
- }
51
- if (r.share["react/jsx-runtime"] === void 0) {
52
- const e = { ...await import("./jsx-runtime-BRT_HL0A.mjs").then((o) => o.j) };
53
- Object.defineProperty(e, "__esModule", {
54
- value: !0,
55
- enumerable: !1
56
- }), r.share["react/jsx-runtime"] = e;
57
- }
58
- if (r.share["@camstack/sdk"] === void 0) {
59
- const e = { ...await import("./index-oMq6ilgR.mjs") };
60
- Object.defineProperty(e, "__esModule", {
61
- value: !0,
62
- enumerable: !1
63
- }), r.share["@camstack/sdk"] = e;
64
- }
65
- if (r.share["@camstack/types"] === void 0) {
66
- const e = { ...await import("./index-DtOI1aTU.mjs") };
67
- Object.defineProperty(e, "__esModule", {
68
- value: !0,
69
- enumerable: !1
70
- }), r.share["@camstack/types"] = e;
71
- }
72
- if (r.share["@camstack/ui-library"] === void 0) {
73
- const e = { ...await import("./index-DOJoSShD.mjs") };
74
- Object.defineProperty(e, "__esModule", {
75
- value: !0,
76
- enumerable: !1
77
- }), r.share["@camstack/ui-library"] = e;
78
- }
79
- const n = await (await import("./remoteEntry.js")).init(), i = {
80
- react: {
81
- shareConfig: {
82
- singleton: !0,
83
- requiredVersion: "^19.2.5",
84
- import: !1
85
- }
86
- },
87
- "react-dom": {
88
- shareConfig: {
89
- singleton: !0,
90
- requiredVersion: "^19.2.5",
91
- import: !1
92
- }
93
- },
94
- "react/jsx-runtime": {
95
- shareConfig: {
96
- singleton: !0,
97
- requiredVersion: "^19.2.5",
98
- import: !1
99
- }
100
- },
101
- "@camstack/sdk": {
102
- shareConfig: {
103
- singleton: !0,
104
- requiredVersion: "^0.1.55",
105
- import: !1
106
- }
107
- },
108
- "@camstack/types": {
109
- shareConfig: {
110
- singleton: !0,
111
- requiredVersion: "^0.1.41",
112
- import: !1
113
- }
114
- },
115
- "@camstack/ui-library": {
116
- shareConfig: {
117
- singleton: !0,
118
- requiredVersion: "^0.1.58",
119
- import: !1
120
- }
121
- },
122
- "@tanstack/react-query": {
123
- shareConfig: {
124
- singleton: !0,
125
- requiredVersion: "^5.100.9",
126
- import: !1
127
- }
128
- },
129
- "@trpc/client": {
130
- shareConfig: {
131
- singleton: !0,
132
- requiredVersion: "^11.17.0",
133
- import: !1
134
- }
135
- },
136
- "@trpc/react-query": {
137
- shareConfig: {
138
- singleton: !0,
139
- requiredVersion: "^11.17.0",
140
- import: !1
141
- }
142
- },
143
- "react-dom/client": {
144
- shareConfig: {
145
- singleton: !0,
146
- requiredVersion: "^19.2.5",
147
- import: !1
148
- }
149
- }
150
- };
151
- for (const [t, e] of Object.entries(i))
152
- r.share[t] === void 0 && await n.loadShare(t, {
153
- customShareInfo: { shareConfig: e.shareConfig }
154
- }).then((o) => {
155
- const c = typeof o == "function" ? o() : o;
156
- return Promise.resolve(c).then((d) => {
157
- r.share[t] = d;
158
- });
159
- });
160
- const u = [];
161
- return await Promise.all(u), n;
162
- })()), a;
163
- }
164
- a = l();
165
- export {
166
- a as hostInitPromise,
167
- l as initHost
168
- };