@ikonai/sdk-react-ui 0.0.29 → 0.0.31
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.
- package/index.js +317 -289
- package/package.json +1 -1
- package/use-ikon-ui-stores.d.ts +4 -2
package/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { IkonUICore as
|
|
2
|
-
import { UiStreamStore as
|
|
3
|
-
import
|
|
1
|
+
import { IkonUICore as Je, UiStreamStore as Ze } from "@ikonai/sdk-ui";
|
|
2
|
+
import { UiStreamStore as Gr } from "@ikonai/sdk-ui";
|
|
3
|
+
import Qe, { useSyncExternalStore as pe, useMemo as x, memo as j, useRef as I, useCallback as ae, Fragment as et, useEffect as q, useState as tt } from "react";
|
|
4
4
|
import { createLogger as he } from "@ikonai/sdk";
|
|
5
5
|
var K = { exports: {} }, F = {};
|
|
6
6
|
/**
|
|
@@ -13,7 +13,7 @@ var K = { exports: {} }, F = {};
|
|
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
|
14
14
|
*/
|
|
15
15
|
var Re;
|
|
16
|
-
function
|
|
16
|
+
function rt() {
|
|
17
17
|
if (Re) return F;
|
|
18
18
|
Re = 1;
|
|
19
19
|
var r = Symbol.for("react.transitional.element"), e = Symbol.for("react.fragment");
|
|
@@ -34,7 +34,7 @@ function tt() {
|
|
|
34
34
|
}
|
|
35
35
|
return F.Fragment = e, F.jsx = t, F.jsxs = t, F;
|
|
36
36
|
}
|
|
37
|
-
var
|
|
37
|
+
var V = {};
|
|
38
38
|
/**
|
|
39
39
|
* @license React
|
|
40
40
|
* react-jsx-runtime.development.js
|
|
@@ -45,12 +45,12 @@ var $ = {};
|
|
|
45
45
|
* LICENSE file in the root directory of this source tree.
|
|
46
46
|
*/
|
|
47
47
|
var ke;
|
|
48
|
-
function
|
|
48
|
+
function nt() {
|
|
49
49
|
return ke || (ke = 1, process.env.NODE_ENV !== "production" && function() {
|
|
50
50
|
function r(a) {
|
|
51
51
|
if (a == null) return null;
|
|
52
52
|
if (typeof a == "function")
|
|
53
|
-
return a.$$typeof ===
|
|
53
|
+
return a.$$typeof === Ke ? null : a.displayName || a.name || null;
|
|
54
54
|
if (typeof a == "string") return a;
|
|
55
55
|
switch (a) {
|
|
56
56
|
case S:
|
|
@@ -63,7 +63,7 @@ function rt() {
|
|
|
63
63
|
return "Suspense";
|
|
64
64
|
case G:
|
|
65
65
|
return "SuspenseList";
|
|
66
|
-
case
|
|
66
|
+
case Ge:
|
|
67
67
|
return "Activity";
|
|
68
68
|
}
|
|
69
69
|
if (typeof a == "object")
|
|
@@ -76,10 +76,10 @@ function rt() {
|
|
|
76
76
|
return (a.displayName || "Context") + ".Provider";
|
|
77
77
|
case E:
|
|
78
78
|
return (a._context.displayName || "Context") + ".Consumer";
|
|
79
|
-
case
|
|
79
|
+
case C:
|
|
80
80
|
var m = a.render;
|
|
81
81
|
return a = a.displayName, a || (a = m.displayName || m.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
|
|
82
|
-
case
|
|
82
|
+
case Ye:
|
|
83
83
|
return m = a.displayName || null, m !== null ? m : r(a.type) || "Memo";
|
|
84
84
|
case ge:
|
|
85
85
|
m = a._payload, a = a._init;
|
|
@@ -153,13 +153,13 @@ function rt() {
|
|
|
153
153
|
"Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
|
|
154
154
|
)), a = this.props.ref, a !== void 0 ? a : null;
|
|
155
155
|
}
|
|
156
|
-
function d(a, m, v, R,
|
|
156
|
+
function d(a, m, v, R, _, O, ee, te) {
|
|
157
157
|
return v = O.ref, a = {
|
|
158
158
|
$$typeof: w,
|
|
159
159
|
type: a,
|
|
160
160
|
key: m,
|
|
161
161
|
props: O,
|
|
162
|
-
_owner:
|
|
162
|
+
_owner: _
|
|
163
163
|
}, (v !== void 0 ? v : null) !== null ? Object.defineProperty(a, "ref", {
|
|
164
164
|
enumerable: !1,
|
|
165
165
|
get: u
|
|
@@ -185,11 +185,11 @@ function rt() {
|
|
|
185
185
|
value: te
|
|
186
186
|
}), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
|
|
187
187
|
}
|
|
188
|
-
function l(a, m, v, R,
|
|
188
|
+
function l(a, m, v, R, _, O, ee, te) {
|
|
189
189
|
var k = m.children;
|
|
190
190
|
if (k !== void 0)
|
|
191
191
|
if (R)
|
|
192
|
-
if (
|
|
192
|
+
if (Xe(k)) {
|
|
193
193
|
for (R = 0; R < k.length; R++)
|
|
194
194
|
p(k[R]);
|
|
195
195
|
Object.freeze && Object.freeze(k);
|
|
@@ -200,8 +200,8 @@ function rt() {
|
|
|
200
200
|
else p(k);
|
|
201
201
|
if (ye.call(m, "key")) {
|
|
202
202
|
k = r(a);
|
|
203
|
-
var L = Object.keys(m).filter(function(
|
|
204
|
-
return
|
|
203
|
+
var L = Object.keys(m).filter(function(He) {
|
|
204
|
+
return He !== "key";
|
|
205
205
|
});
|
|
206
206
|
R = 0 < L.length ? "{key: someKey, " + L.join(": ..., ") + ": ...}" : "{key: someKey}", we[k + R] || (L = 0 < L.length ? "{" + L.join(": ..., ") + ": ...}" : "{}", console.error(
|
|
207
207
|
`A props object containing a "key" prop is being spread into JSX:
|
|
@@ -228,7 +228,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
228
228
|
a,
|
|
229
229
|
k,
|
|
230
230
|
O,
|
|
231
|
-
|
|
231
|
+
_,
|
|
232
232
|
o(),
|
|
233
233
|
v,
|
|
234
234
|
ee,
|
|
@@ -238,7 +238,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
238
238
|
function p(a) {
|
|
239
239
|
typeof a == "object" && a !== null && a.$$typeof === w && a._store && (a._store.validated = 1);
|
|
240
240
|
}
|
|
241
|
-
var h =
|
|
241
|
+
var h = Qe, w = Symbol.for("react.transitional.element"), N = Symbol.for("react.portal"), S = Symbol.for("react.fragment"), f = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), A = Symbol.for("react.context"), C = Symbol.for("react.forward_ref"), P = Symbol.for("react.suspense"), G = Symbol.for("react.suspense_list"), Ye = Symbol.for("react.memo"), ge = Symbol.for("react.lazy"), Ge = Symbol.for("react.activity"), Ke = Symbol.for("react.client.reference"), Z = h.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, ye = Object.prototype.hasOwnProperty, Xe = Array.isArray, Q = console.createTask ? console.createTask : function() {
|
|
242
242
|
return null;
|
|
243
243
|
};
|
|
244
244
|
h = {
|
|
@@ -250,7 +250,7 @@ React keys must be passed directly to JSX without using spread:
|
|
|
250
250
|
h,
|
|
251
251
|
s
|
|
252
252
|
)(), Ee = Q(n(s)), we = {};
|
|
253
|
-
|
|
253
|
+
V.Fragment = S, V.jsx = function(a, m, v, R, _) {
|
|
254
254
|
var O = 1e4 > Z.recentlyCreatedOwnerStacks++;
|
|
255
255
|
return l(
|
|
256
256
|
a,
|
|
@@ -258,11 +258,11 @@ React keys must be passed directly to JSX without using spread:
|
|
|
258
258
|
v,
|
|
259
259
|
!1,
|
|
260
260
|
R,
|
|
261
|
-
|
|
261
|
+
_,
|
|
262
262
|
O ? Error("react-stack-top-frame") : ve,
|
|
263
263
|
O ? Q(n(a)) : Ee
|
|
264
264
|
);
|
|
265
|
-
},
|
|
265
|
+
}, V.jsxs = function(a, m, v, R, _) {
|
|
266
266
|
var O = 1e4 > Z.recentlyCreatedOwnerStacks++;
|
|
267
267
|
return l(
|
|
268
268
|
a,
|
|
@@ -270,19 +270,19 @@ React keys must be passed directly to JSX without using spread:
|
|
|
270
270
|
v,
|
|
271
271
|
!0,
|
|
272
272
|
R,
|
|
273
|
-
|
|
273
|
+
_,
|
|
274
274
|
O ? Error("react-stack-top-frame") : ve,
|
|
275
275
|
O ? Q(n(a)) : Ee
|
|
276
276
|
);
|
|
277
277
|
};
|
|
278
|
-
}()),
|
|
278
|
+
}()), V;
|
|
279
279
|
}
|
|
280
280
|
var Ne;
|
|
281
|
-
function
|
|
282
|
-
return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? K.exports =
|
|
281
|
+
function ot() {
|
|
282
|
+
return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? K.exports = rt() : K.exports = nt()), K.exports;
|
|
283
283
|
}
|
|
284
|
-
var b =
|
|
285
|
-
function
|
|
284
|
+
var b = ot();
|
|
285
|
+
function st(r, e) {
|
|
286
286
|
const t = pe(
|
|
287
287
|
(n) => r.subscribe(n),
|
|
288
288
|
() => {
|
|
@@ -294,7 +294,7 @@ function ot(r, e) {
|
|
|
294
294
|
return `${o ?? ""}:${s?.id ?? ""}`;
|
|
295
295
|
}
|
|
296
296
|
);
|
|
297
|
-
return
|
|
297
|
+
return x(() => {
|
|
298
298
|
const [n, o] = t.split(":");
|
|
299
299
|
return {
|
|
300
300
|
rootViewId: n || void 0,
|
|
@@ -302,16 +302,16 @@ function ot(r, e) {
|
|
|
302
302
|
};
|
|
303
303
|
}, [t]);
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function M(r, e) {
|
|
306
306
|
const t = pe(
|
|
307
307
|
(n) => r.subscribeNode(e, n),
|
|
308
308
|
() => r.getNodeVersion(e),
|
|
309
309
|
() => r.getNodeVersion(e)
|
|
310
310
|
);
|
|
311
|
-
return
|
|
311
|
+
return x(() => r.getNode(e), [r, e, t]);
|
|
312
312
|
}
|
|
313
|
-
const
|
|
314
|
-
function
|
|
313
|
+
const it = he("UIRenderer");
|
|
314
|
+
function at(r) {
|
|
315
315
|
if (r === void 0)
|
|
316
316
|
return "{}";
|
|
317
317
|
if (typeof r == "string")
|
|
@@ -322,40 +322,49 @@ function it(r) {
|
|
|
322
322
|
return "{}";
|
|
323
323
|
}
|
|
324
324
|
}
|
|
325
|
-
function
|
|
325
|
+
function ct(r) {
|
|
326
326
|
const e = r.styleIds;
|
|
327
327
|
return Array.isArray(e) ? e : [];
|
|
328
328
|
}
|
|
329
|
-
function
|
|
329
|
+
function ut(r) {
|
|
330
330
|
const e = r.children;
|
|
331
331
|
return Array.isArray(e) ? e : [];
|
|
332
332
|
}
|
|
333
|
-
function
|
|
333
|
+
function lt(r, e) {
|
|
334
334
|
return r.nodeId === e.nodeId && r.context === e.context;
|
|
335
335
|
}
|
|
336
|
-
function
|
|
337
|
-
|
|
336
|
+
function dt(r) {
|
|
337
|
+
if (r.length === 0) return "";
|
|
338
|
+
if (r.length === 1) return r[0].id;
|
|
339
|
+
let e = r[0].id;
|
|
340
|
+
for (let t = 1; t < r.length; t++)
|
|
341
|
+
e += "," + r[t].id;
|
|
342
|
+
return e;
|
|
338
343
|
}
|
|
339
|
-
const ce =
|
|
340
|
-
const n =
|
|
344
|
+
const ce = j(function r({ nodeId: e, context: t }) {
|
|
345
|
+
const n = M(t.store, e), o = n ? ut(n) : [], s = dt(o), i = x(
|
|
346
|
+
() => o.length === 0 ? null : o.map((p) => /* @__PURE__ */ b.jsx(r, { nodeId: p.id, context: t }, p.id)),
|
|
347
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
348
|
+
[s, t]
|
|
349
|
+
);
|
|
341
350
|
if (!n)
|
|
342
351
|
return null;
|
|
343
352
|
if (n.type === "root")
|
|
344
|
-
return /* @__PURE__ */ b.jsx(
|
|
353
|
+
return /* @__PURE__ */ b.jsx(et, { children: i }, n.id);
|
|
345
354
|
const c = t.library.resolve(n);
|
|
346
355
|
if (!c)
|
|
347
|
-
return
|
|
348
|
-
const u =
|
|
356
|
+
return it.warn(`No renderer for node type ${n.type}`), null;
|
|
357
|
+
const u = ct(n), d = u.length > 0 ? u.join(" ") : void 0, l = c;
|
|
349
358
|
return /* @__PURE__ */ b.jsx(l, { nodeId: e, context: t, className: d });
|
|
350
|
-
},
|
|
351
|
-
function
|
|
359
|
+
}, lt);
|
|
360
|
+
function ft(r, e) {
|
|
352
361
|
return !Array.isArray(r) || r.length === 0 ? null : r.map((t) => /* @__PURE__ */ b.jsx(ce, { nodeId: t.id, context: e }, t.id));
|
|
353
362
|
}
|
|
354
|
-
function
|
|
363
|
+
function mt(r, e) {
|
|
355
364
|
return r.store === e.store && r.library === e.library && r.viewId === e.viewId && r.emptyFallback === e.emptyFallback;
|
|
356
365
|
}
|
|
357
|
-
const
|
|
358
|
-
const { rootViewId: u, rootNodeId: d } =
|
|
366
|
+
const pt = j(function({ store: e, library: t, viewId: n, emptyFallback: o = null, onAction: s, client: i, video: c }) {
|
|
367
|
+
const { rootViewId: u, rootNodeId: d } = st(e, n), l = I(s);
|
|
359
368
|
l.current = s;
|
|
360
369
|
const p = I(i);
|
|
361
370
|
p.current = i;
|
|
@@ -364,16 +373,16 @@ const mt = C(function({ store: e, library: t, viewId: n, emptyFallback: o = null
|
|
|
364
373
|
const w = ae((S, f) => {
|
|
365
374
|
if (!S)
|
|
366
375
|
return;
|
|
367
|
-
const y =
|
|
376
|
+
const y = at(f);
|
|
368
377
|
l.current?.(S, y);
|
|
369
|
-
}, []), N =
|
|
378
|
+
}, []), N = x(() => {
|
|
370
379
|
const S = {
|
|
371
380
|
store: e,
|
|
372
381
|
library: t,
|
|
373
382
|
handlerCache: e.handlerCache,
|
|
374
383
|
// Access payloads from store at call time, not captured snapshot
|
|
375
384
|
getPayload: (f) => e.getSnapshot().payloads.get(f),
|
|
376
|
-
renderChildren: (f) =>
|
|
385
|
+
renderChildren: (f) => ft(f, S),
|
|
377
386
|
renderView: (f) => {
|
|
378
387
|
const y = e.getSnapshot().views.get(f);
|
|
379
388
|
return y ? /* @__PURE__ */ b.jsx(ce, { nodeId: y.id, context: S }) : null;
|
|
@@ -390,8 +399,8 @@ const mt = C(function({ store: e, library: t, viewId: n, emptyFallback: o = null
|
|
|
390
399
|
return S;
|
|
391
400
|
}, [e, t, w]);
|
|
392
401
|
return !u || !d ? o : /* @__PURE__ */ b.jsx("div", { "data-ikon-view-id": u, style: { display: "contents" }, children: /* @__PURE__ */ b.jsx(ce, { nodeId: d, context: N }) });
|
|
393
|
-
},
|
|
394
|
-
class
|
|
402
|
+
}, mt);
|
|
403
|
+
class ht {
|
|
395
404
|
constructor(e, t) {
|
|
396
405
|
if (this.fallback = t, e)
|
|
397
406
|
for (const [n, o] of e)
|
|
@@ -408,11 +417,11 @@ class pt {
|
|
|
408
417
|
return this.renderers.get(e.type) ?? this.fallback;
|
|
409
418
|
}
|
|
410
419
|
}
|
|
411
|
-
function
|
|
420
|
+
function Pr(r, e) {
|
|
412
421
|
const t = Object.entries(r);
|
|
413
|
-
return new
|
|
422
|
+
return new ht(t, e);
|
|
414
423
|
}
|
|
415
|
-
function
|
|
424
|
+
function Lr(r) {
|
|
416
425
|
return pe(
|
|
417
426
|
(e) => r.subscribe(e),
|
|
418
427
|
() => r.getSnapshot(),
|
|
@@ -420,10 +429,10 @@ function _r(r) {
|
|
|
420
429
|
);
|
|
421
430
|
}
|
|
422
431
|
const ue = "ikon-ui";
|
|
423
|
-
function
|
|
432
|
+
function gt(r, e) {
|
|
424
433
|
return r === e;
|
|
425
434
|
}
|
|
426
|
-
const
|
|
435
|
+
const xr = j(function({
|
|
427
436
|
stores: e,
|
|
428
437
|
library: t,
|
|
429
438
|
category: n = ue,
|
|
@@ -431,22 +440,26 @@ const Mr = C(function({
|
|
|
431
440
|
client: s,
|
|
432
441
|
video: i
|
|
433
442
|
}) {
|
|
434
|
-
const c = Array.from(e.keys()).sort().join(","), u = I(o);
|
|
443
|
+
const c = x(() => Array.from(e.keys()).sort().join(","), [e]), u = I(o);
|
|
435
444
|
u.current = o;
|
|
436
445
|
const d = I(s);
|
|
437
446
|
d.current = s;
|
|
438
447
|
const l = I(i);
|
|
439
448
|
l.current = i;
|
|
440
|
-
const p =
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
const
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
449
|
+
const p = x(
|
|
450
|
+
() => {
|
|
451
|
+
const h = [];
|
|
452
|
+
for (const [w, N] of e) {
|
|
453
|
+
const S = N.store.getSnapshot();
|
|
454
|
+
gt(N.category, n) && (!S.rootViewId || !S.views.has(S.rootViewId) || h.push({ key: w, store: N.store }));
|
|
455
|
+
}
|
|
456
|
+
return h;
|
|
457
|
+
},
|
|
458
|
+
// eslint-disable-next-line react-hooks/exhaustive-deps
|
|
459
|
+
[e, n, c]
|
|
460
|
+
);
|
|
448
461
|
return p.length === 0 ? null : /* @__PURE__ */ b.jsx(b.Fragment, { children: p.map(({ key: h, store: w }) => /* @__PURE__ */ b.jsx(
|
|
449
|
-
|
|
462
|
+
pt,
|
|
450
463
|
{
|
|
451
464
|
store: w,
|
|
452
465
|
library: t,
|
|
@@ -457,7 +470,7 @@ const Mr = C(function({
|
|
|
457
470
|
h
|
|
458
471
|
)) });
|
|
459
472
|
});
|
|
460
|
-
class
|
|
473
|
+
class Ur {
|
|
461
474
|
core;
|
|
462
475
|
ownsCore;
|
|
463
476
|
stores = /* @__PURE__ */ new Map();
|
|
@@ -465,13 +478,13 @@ class Pr {
|
|
|
465
478
|
unsubscribeClears;
|
|
466
479
|
unsubscribeStoreChanges;
|
|
467
480
|
constructor(e) {
|
|
468
|
-
this.core = e?.core ?? new
|
|
481
|
+
this.core = e?.core ?? new Je({ client: e?.client }), this.ownsCore = !e?.core, this.unsubscribeClears = this.core.subscribeToUiStreamCleared(this.handleUiStreamCleared), this.unsubscribeStoreChanges = this.core.uiStore.subscribe(this.syncStreamSnapshot), this.syncAllStreams();
|
|
469
482
|
}
|
|
470
483
|
dispose() {
|
|
471
484
|
this.unsubscribeClears(), this.unsubscribeStoreChanges(), this.ownsCore && this.core.dispose(), this.listeners.clear(), this.stores.clear();
|
|
472
485
|
}
|
|
473
486
|
getStores() {
|
|
474
|
-
return this.stores;
|
|
487
|
+
return new Map(this.stores);
|
|
475
488
|
}
|
|
476
489
|
getUiStyles() {
|
|
477
490
|
return this.core.getUiStyles();
|
|
@@ -513,7 +526,7 @@ class Pr {
|
|
|
513
526
|
return t;
|
|
514
527
|
const n = {
|
|
515
528
|
category: ue,
|
|
516
|
-
store: new
|
|
529
|
+
store: new Ze()
|
|
517
530
|
};
|
|
518
531
|
return this.stores.set(e, n), n;
|
|
519
532
|
}
|
|
@@ -529,7 +542,7 @@ class Pr {
|
|
|
529
542
|
t(e);
|
|
530
543
|
}
|
|
531
544
|
}
|
|
532
|
-
function
|
|
545
|
+
function $(r) {
|
|
533
546
|
if (typeof r == "string") {
|
|
534
547
|
const e = r.trim();
|
|
535
548
|
return e.length > 0 ? e : void 0;
|
|
@@ -540,23 +553,30 @@ function U(r) {
|
|
|
540
553
|
}
|
|
541
554
|
}
|
|
542
555
|
function W(...r) {
|
|
543
|
-
|
|
556
|
+
let e = "";
|
|
544
557
|
for (const t of r)
|
|
545
|
-
|
|
546
|
-
|
|
558
|
+
if (t) {
|
|
559
|
+
const n = t.trim();
|
|
560
|
+
n && (e = e ? e + " " + n : n);
|
|
561
|
+
}
|
|
562
|
+
return e || void 0;
|
|
547
563
|
}
|
|
564
|
+
const Te = /* @__PURE__ */ new WeakMap(), yt = {};
|
|
548
565
|
function Y(r) {
|
|
549
566
|
if (!r)
|
|
550
|
-
return
|
|
551
|
-
const e =
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
567
|
+
return yt;
|
|
568
|
+
const e = Te.get(r);
|
|
569
|
+
if (e)
|
|
570
|
+
return e;
|
|
571
|
+
const t = {};
|
|
572
|
+
for (const [n, o] of Object.entries(r))
|
|
573
|
+
o != null && (typeof o == "string" || typeof o == "number" || typeof o == "boolean") && (t[n] = o);
|
|
574
|
+
return Te.set(r, t), t;
|
|
555
575
|
}
|
|
556
|
-
function
|
|
557
|
-
const r =
|
|
558
|
-
const o =
|
|
559
|
-
return
|
|
576
|
+
function St() {
|
|
577
|
+
const r = j(function({ nodeId: t, context: n }) {
|
|
578
|
+
const o = M(n.store, t), s = I(null), i = $(o?.props?.targetViewId), c = o?.props?.focusOnly, u = typeof c == "boolean" ? c : void 0;
|
|
579
|
+
return q(() => {
|
|
560
580
|
if (typeof document > "u")
|
|
561
581
|
return;
|
|
562
582
|
const l = s.current;
|
|
@@ -592,12 +612,12 @@ function gt() {
|
|
|
592
612
|
return r;
|
|
593
613
|
};
|
|
594
614
|
}
|
|
595
|
-
function
|
|
596
|
-
const r =
|
|
597
|
-
const s =
|
|
615
|
+
function bt() {
|
|
616
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
617
|
+
const s = M(n.store, t);
|
|
598
618
|
if (!s)
|
|
599
619
|
return null;
|
|
600
|
-
const i = Y(s.props), c = W(
|
|
620
|
+
const i = Y(s.props), c = W($(s.props?.className), o), u = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
601
621
|
return /* @__PURE__ */ b.jsx("div", { ...i, "data-ikon-node-id": s.id, className: c, children: u });
|
|
602
622
|
});
|
|
603
623
|
return ({ type: e }) => {
|
|
@@ -605,12 +625,12 @@ function yt() {
|
|
|
605
625
|
return r;
|
|
606
626
|
};
|
|
607
627
|
}
|
|
608
|
-
function
|
|
609
|
-
const r =
|
|
610
|
-
const s =
|
|
628
|
+
function vt() {
|
|
629
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
630
|
+
const s = M(n.store, t);
|
|
611
631
|
if (!s)
|
|
612
632
|
return null;
|
|
613
|
-
const i = Y(s.props), c = W(
|
|
633
|
+
const i = Y(s.props), c = W($(s.props?.className), o), u = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
614
634
|
return /* @__PURE__ */ b.jsx(
|
|
615
635
|
"form",
|
|
616
636
|
{
|
|
@@ -627,12 +647,12 @@ function St() {
|
|
|
627
647
|
return r;
|
|
628
648
|
};
|
|
629
649
|
}
|
|
630
|
-
function
|
|
631
|
-
const r =
|
|
632
|
-
const s =
|
|
650
|
+
function Et() {
|
|
651
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
652
|
+
const s = M(n.store, t);
|
|
633
653
|
if (!s)
|
|
634
654
|
return null;
|
|
635
|
-
const i = Y(s.props), c = W(
|
|
655
|
+
const i = Y(s.props), c = W($(s.props?.className), o), u = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
636
656
|
return /* @__PURE__ */ b.jsx(
|
|
637
657
|
"div",
|
|
638
658
|
{
|
|
@@ -650,12 +670,12 @@ function bt() {
|
|
|
650
670
|
return r;
|
|
651
671
|
};
|
|
652
672
|
}
|
|
653
|
-
function
|
|
654
|
-
const r =
|
|
655
|
-
const s =
|
|
673
|
+
function wt() {
|
|
674
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
675
|
+
const s = M(n.store, t);
|
|
656
676
|
if (!s)
|
|
657
677
|
return null;
|
|
658
|
-
const i = Y(s.props), c = W("relative",
|
|
678
|
+
const i = Y(s.props), c = W("relative", $(s.props?.className), o), u = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
659
679
|
return /* @__PURE__ */ b.jsx("div", { ...i, "data-ikon-node-id": s.id, className: c, children: u });
|
|
660
680
|
});
|
|
661
681
|
return ({ type: e }) => {
|
|
@@ -663,12 +683,12 @@ function vt() {
|
|
|
663
683
|
return r;
|
|
664
684
|
};
|
|
665
685
|
}
|
|
666
|
-
function
|
|
667
|
-
const r =
|
|
668
|
-
const s =
|
|
686
|
+
function Rt() {
|
|
687
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
688
|
+
const s = M(n.store, t);
|
|
669
689
|
if (!s)
|
|
670
690
|
return null;
|
|
671
|
-
const i = Y(s.props), c = W("absolute",
|
|
691
|
+
const i = Y(s.props), c = W("absolute", $(s.props?.className), o), u = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
672
692
|
return /* @__PURE__ */ b.jsx("div", { ...i, "data-ikon-node-id": s.id, className: c, children: u });
|
|
673
693
|
});
|
|
674
694
|
return ({ type: e }) => {
|
|
@@ -676,21 +696,21 @@ function Et() {
|
|
|
676
696
|
return r;
|
|
677
697
|
};
|
|
678
698
|
}
|
|
679
|
-
function
|
|
699
|
+
function kt() {
|
|
680
700
|
return [
|
|
681
|
-
yt(),
|
|
682
|
-
St(),
|
|
683
701
|
bt(),
|
|
684
702
|
vt(),
|
|
685
703
|
Et(),
|
|
686
|
-
|
|
704
|
+
wt(),
|
|
705
|
+
Rt(),
|
|
706
|
+
St()
|
|
687
707
|
];
|
|
688
708
|
}
|
|
689
|
-
const
|
|
690
|
-
function
|
|
691
|
-
r.registerModule(
|
|
709
|
+
const Nt = "base", Tt = async () => kt();
|
|
710
|
+
function Ct(r) {
|
|
711
|
+
r.registerModule(Nt, Tt);
|
|
692
712
|
}
|
|
693
|
-
function
|
|
713
|
+
function Ve(r) {
|
|
694
714
|
if (typeof r == "string") {
|
|
695
715
|
const e = r.trim();
|
|
696
716
|
return e.length > 0 ? e : void 0;
|
|
@@ -721,11 +741,11 @@ function le(r) {
|
|
|
721
741
|
const e = r.trim();
|
|
722
742
|
return e.length > 0 ? e : void 0;
|
|
723
743
|
}
|
|
724
|
-
const
|
|
725
|
-
function
|
|
726
|
-
const r =
|
|
727
|
-
const s =
|
|
728
|
-
return
|
|
744
|
+
const jt = "media.video-canvas", At = "media.video-url-player";
|
|
745
|
+
function Ot() {
|
|
746
|
+
const r = j(function({ nodeId: t, context: n, className: o }) {
|
|
747
|
+
const s = M(n.store, t), i = I(null), c = n.video, u = s ? le(s.props?.streamId) : void 0, d = s ? X(s.props?.width) : void 0, l = s ? X(s.props?.height) : void 0, p = s ? Be(Ve(s.props?.className), o) : o;
|
|
748
|
+
return q(() => {
|
|
729
749
|
const h = i.current;
|
|
730
750
|
if (!(!c || !h || !u))
|
|
731
751
|
return c.attachCanvas(u, h), () => {
|
|
@@ -744,12 +764,12 @@ function Ct() {
|
|
|
744
764
|
) : null;
|
|
745
765
|
});
|
|
746
766
|
return ({ type: e }) => {
|
|
747
|
-
if (e ===
|
|
767
|
+
if (e === jt)
|
|
748
768
|
return r;
|
|
749
769
|
};
|
|
750
770
|
}
|
|
751
|
-
function
|
|
752
|
-
return [
|
|
771
|
+
function It() {
|
|
772
|
+
return [Ot(), Mt()];
|
|
753
773
|
}
|
|
754
774
|
function B(r) {
|
|
755
775
|
if (typeof r == "boolean")
|
|
@@ -760,16 +780,16 @@ function B(r) {
|
|
|
760
780
|
if (e === "false") return !1;
|
|
761
781
|
}
|
|
762
782
|
}
|
|
763
|
-
function
|
|
764
|
-
const r =
|
|
783
|
+
function Mt() {
|
|
784
|
+
const r = j(function({
|
|
765
785
|
nodeId: t,
|
|
766
786
|
context: n,
|
|
767
787
|
className: o
|
|
768
788
|
}) {
|
|
769
|
-
const s =
|
|
789
|
+
const s = M(n.store, t);
|
|
770
790
|
if (!s)
|
|
771
791
|
return null;
|
|
772
|
-
const i = Be(
|
|
792
|
+
const i = Be(Ve(s.props?.className), o), c = le(s.props?.src), u = le(s.props?.poster), d = B(s.props?.controls), l = B(s.props?.autoplay), p = B(s.props?.loop), h = B(s.props?.muted), w = B(s.props?.playsInline), N = X(s.props?.width), S = X(s.props?.height), f = s.children?.length ? n.renderChildren(s.children) : void 0;
|
|
773
793
|
return /* @__PURE__ */ b.jsx(
|
|
774
794
|
"video",
|
|
775
795
|
{
|
|
@@ -789,16 +809,16 @@ function Ot() {
|
|
|
789
809
|
);
|
|
790
810
|
});
|
|
791
811
|
return ({ type: e }) => {
|
|
792
|
-
if (e ===
|
|
812
|
+
if (e === At)
|
|
793
813
|
return r;
|
|
794
814
|
};
|
|
795
815
|
}
|
|
796
|
-
const
|
|
797
|
-
function
|
|
798
|
-
r.registerModule(
|
|
816
|
+
const _t = "media", Pt = async () => It();
|
|
817
|
+
function Lt(r) {
|
|
818
|
+
r.registerModule(_t, Pt);
|
|
799
819
|
}
|
|
800
|
-
const
|
|
801
|
-
class
|
|
820
|
+
const Ce = he("UIRegistry");
|
|
821
|
+
class xt {
|
|
802
822
|
baseResolvers = [];
|
|
803
823
|
moduleLoaders = /* @__PURE__ */ new Map();
|
|
804
824
|
moduleResolvers = /* @__PURE__ */ new Map();
|
|
@@ -820,15 +840,15 @@ class Pt {
|
|
|
820
840
|
for (const [n, o] of this.moduleLoaders.entries())
|
|
821
841
|
if (!this.moduleResolvers.has(n))
|
|
822
842
|
try {
|
|
823
|
-
const s = await o(), i =
|
|
843
|
+
const s = await o(), i = $t(s);
|
|
824
844
|
this.moduleResolvers.set(n, i), e = !0;
|
|
825
845
|
} catch (s) {
|
|
826
|
-
|
|
846
|
+
Ce.error(`[IkonUiRegistry] Failed to load module '${n}'.`, s);
|
|
827
847
|
}
|
|
828
848
|
const t = [];
|
|
829
849
|
for (const n of this.moduleLoaders.keys())
|
|
830
850
|
this.moduleResolvers.has(n) && t.push(n);
|
|
831
|
-
return
|
|
851
|
+
return Ft(t, this.activeModuleOrder) || (this.activeModuleOrder = t, e = !0), e;
|
|
832
852
|
}
|
|
833
853
|
resolve(e) {
|
|
834
854
|
for (const t of this.baseResolvers) {
|
|
@@ -838,7 +858,7 @@ class Pt {
|
|
|
838
858
|
for (const t of this.activeModuleOrder) {
|
|
839
859
|
const n = this.moduleResolvers.get(t);
|
|
840
860
|
if (!n) {
|
|
841
|
-
|
|
861
|
+
Ce.warn(`Missing resolvers for module ${t}`);
|
|
842
862
|
continue;
|
|
843
863
|
}
|
|
844
864
|
for (const o of n) {
|
|
@@ -848,17 +868,17 @@ class Pt {
|
|
|
848
868
|
}
|
|
849
869
|
}
|
|
850
870
|
}
|
|
851
|
-
function
|
|
852
|
-
const r = new
|
|
853
|
-
return
|
|
871
|
+
function $r() {
|
|
872
|
+
const r = new xt();
|
|
873
|
+
return Ct(r), Lt(r), r.loadRegisteredModules(), r;
|
|
854
874
|
}
|
|
855
|
-
function
|
|
875
|
+
function Ut(r) {
|
|
856
876
|
return Array.isArray(r) ? r : [r];
|
|
857
877
|
}
|
|
858
|
-
function
|
|
859
|
-
return r ?
|
|
878
|
+
function $t(r) {
|
|
879
|
+
return r ? Ut(r).flatMap((e) => e ? Array.isArray(e) ? e.filter(Boolean) : [e] : []) : [];
|
|
860
880
|
}
|
|
861
|
-
function
|
|
881
|
+
function Ft(r, e) {
|
|
862
882
|
if (r.length !== e.length)
|
|
863
883
|
return !1;
|
|
864
884
|
for (let t = 0; t < r.length; t += 1)
|
|
@@ -899,17 +919,17 @@ const ne = he("MotionController"), je = {
|
|
|
899
919
|
function T(r) {
|
|
900
920
|
return r <= 0 ? 0 : r >= 1 ? 1 : r;
|
|
901
921
|
}
|
|
902
|
-
function
|
|
922
|
+
function Ae(r) {
|
|
903
923
|
if (r == null) return;
|
|
904
924
|
const e = `${r}`.trim();
|
|
905
925
|
if (!e) return;
|
|
906
926
|
const t = Number.parseFloat(e);
|
|
907
927
|
return Number.isFinite(t) ? t : void 0;
|
|
908
928
|
}
|
|
909
|
-
function
|
|
929
|
+
function Oe(r) {
|
|
910
930
|
return typeof CSS < "u" && CSS.escape ? CSS.escape(r) : r.replace(/[^a-zA-Z0-9_-]/g, (e) => `\\${e}`);
|
|
911
931
|
}
|
|
912
|
-
function
|
|
932
|
+
function Ie(r, e, t, n) {
|
|
913
933
|
const l = new Float32Array(11);
|
|
914
934
|
function p(f, y, E) {
|
|
915
935
|
return ((3 * y - 3 * E + 1) * f + (3 * E - 6 * y)) * f * f + 3 * y * f;
|
|
@@ -922,17 +942,17 @@ function Oe(r, e, t, n) {
|
|
|
922
942
|
const A = h(y, r, t);
|
|
923
943
|
if (A === 0)
|
|
924
944
|
return y;
|
|
925
|
-
const
|
|
926
|
-
y -=
|
|
945
|
+
const C = p(y, r, t) - f;
|
|
946
|
+
y -= C / A;
|
|
927
947
|
}
|
|
928
948
|
return y;
|
|
929
949
|
}
|
|
930
950
|
function N(f, y, E) {
|
|
931
|
-
let A = 0,
|
|
951
|
+
let A = 0, C = 0, P = 0;
|
|
932
952
|
do
|
|
933
|
-
|
|
953
|
+
C = y + (E - y) / 2, A = p(C, r, t) - f, A > 0 ? E = C : y = C;
|
|
934
954
|
while (Math.abs(A) > 1e-7 && ++P < 10);
|
|
935
|
-
return
|
|
955
|
+
return C;
|
|
936
956
|
}
|
|
937
957
|
function S(f) {
|
|
938
958
|
let y = 0, E = 1;
|
|
@@ -940,44 +960,44 @@ function Oe(r, e, t, n) {
|
|
|
940
960
|
for (; E !== A && l[E] <= f; E += 1)
|
|
941
961
|
y += 0.1;
|
|
942
962
|
E -= 1;
|
|
943
|
-
const
|
|
963
|
+
const C = (f - l[E]) / (l[E + 1] - l[E]), P = y + C * 0.1, G = h(P, r, t);
|
|
944
964
|
return G >= 1e-3 ? w(f, P) : G === 0 ? P : N(f, y, y + 0.1);
|
|
945
965
|
}
|
|
946
966
|
for (let f = 0; f < 11; f += 1)
|
|
947
967
|
l[f] = p(f * 0.1, r, t);
|
|
948
968
|
return (f) => f <= 0 ? 0 : f >= 1 ? 1 : p(S(f), e, n);
|
|
949
969
|
}
|
|
950
|
-
function
|
|
970
|
+
function Vt(r) {
|
|
951
971
|
const e = /steps\(\s*([0-9]+)\s*(?:,\s*([a-z-]+)\s*)?\)/i.exec(r);
|
|
952
972
|
if (!e)
|
|
953
973
|
return (o) => T(o);
|
|
954
974
|
const t = Math.max(1, parseInt(e[1], 10)), n = (e[2] ?? "end").toLowerCase();
|
|
955
975
|
return n === "start" || n === "jump-start" ? (o) => T(Math.ceil(o * t) / t) : n === "none" || n === "jump-none" ? (o) => T(Math.round(o * t) / t) : n === "both" || n === "jump-both" ? (o) => T((Math.floor(o * t) + 0.5) / t) : (o) => T(Math.floor(o * t) / t);
|
|
956
976
|
}
|
|
957
|
-
function
|
|
977
|
+
function Bt(r) {
|
|
958
978
|
if (!r)
|
|
959
979
|
return (t) => T(t);
|
|
960
980
|
const e = r.trim().toLowerCase();
|
|
961
981
|
if (!e || e === "linear")
|
|
962
982
|
return (t) => T(t);
|
|
963
983
|
if (je[e]) {
|
|
964
|
-
const [t, n, o, s] = je[e], i =
|
|
984
|
+
const [t, n, o, s] = je[e], i = Ie(t, n, o, s);
|
|
965
985
|
return (c) => T(i(T(c)));
|
|
966
986
|
}
|
|
967
987
|
if (e.startsWith("cubic-bezier(") && e.endsWith(")")) {
|
|
968
988
|
const n = e.slice(13, -1).split(",").map((o) => Number.parseFloat(o.trim()));
|
|
969
989
|
if (n.length === 4 && n.every((o) => Number.isFinite(o))) {
|
|
970
|
-
const [o, s, i, c] = n, u =
|
|
990
|
+
const [o, s, i, c] = n, u = Ie(o, s, i, c);
|
|
971
991
|
return (d) => T(u(T(d)));
|
|
972
992
|
}
|
|
973
993
|
}
|
|
974
994
|
if (e.startsWith("steps(") && e.endsWith(")")) {
|
|
975
|
-
const t =
|
|
995
|
+
const t = Vt(e);
|
|
976
996
|
return (n) => t(T(n));
|
|
977
997
|
}
|
|
978
998
|
return (t) => T(t);
|
|
979
999
|
}
|
|
980
|
-
function
|
|
1000
|
+
function zt(r) {
|
|
981
1001
|
if (!r)
|
|
982
1002
|
return;
|
|
983
1003
|
const e = /(-?\d+(?:\.\d+)?)\s*\.\.\s*(-?\d+(?:\.\d+)?)\s*->\s*(-?\d+(?:\.\d+)?)\s*\.\.\s*(-?\d+(?:\.\d+)?)/.exec(r);
|
|
@@ -987,7 +1007,7 @@ function Bt(r) {
|
|
|
987
1007
|
if (![t, n, o, s].some((i) => !Number.isFinite(i)))
|
|
988
1008
|
return { inStart: t, inEnd: n, outStart: o, outEnd: s };
|
|
989
1009
|
}
|
|
990
|
-
class
|
|
1010
|
+
class Dt {
|
|
991
1011
|
bindingsByStyle = /* @__PURE__ */ new Map();
|
|
992
1012
|
observer;
|
|
993
1013
|
observeScheduled = !1;
|
|
@@ -1029,7 +1049,7 @@ class Vt {
|
|
|
1029
1049
|
const t = e.source?.trim();
|
|
1030
1050
|
if (!t)
|
|
1031
1051
|
return;
|
|
1032
|
-
const n =
|
|
1052
|
+
const n = Ae(e.min) ?? 0, o = Ae(e.max), s = o === void 0 ? n + 100 : o, i = (e.clamp ?? "clamp").trim().toLowerCase(), c = !!e.reverse, u = Bt(e.ease), d = zt(e.map), l = e.targetId?.trim() || void 0;
|
|
1033
1053
|
return Number.isNaN(n) || Number.isNaN(s) ? void 0 : {
|
|
1034
1054
|
source: t.toLowerCase(),
|
|
1035
1055
|
min: n,
|
|
@@ -1087,7 +1107,7 @@ class Vt {
|
|
|
1087
1107
|
const t = this.bindingsByStyle.get(e);
|
|
1088
1108
|
if (!t || typeof document > "u")
|
|
1089
1109
|
return;
|
|
1090
|
-
const n = `.${
|
|
1110
|
+
const n = `.${Oe(e)}`;
|
|
1091
1111
|
document.querySelectorAll(n).forEach((s) => this.applyStyleToElement(s, e, t));
|
|
1092
1112
|
}
|
|
1093
1113
|
applyStyleToElement(e, t, n) {
|
|
@@ -1127,7 +1147,7 @@ class Vt {
|
|
|
1127
1147
|
}
|
|
1128
1148
|
resolveScrollContainer(e, t) {
|
|
1129
1149
|
if (t.targetId) {
|
|
1130
|
-
const n = `[data-ikon-motion-source="${
|
|
1150
|
+
const n = `[data-ikon-motion-source="${Oe(t.targetId)}"]`, o = typeof document < "u" ? document.querySelector(n) : null;
|
|
1131
1151
|
if (o)
|
|
1132
1152
|
return o;
|
|
1133
1153
|
}
|
|
@@ -1241,16 +1261,16 @@ class Vt {
|
|
|
1241
1261
|
}
|
|
1242
1262
|
}
|
|
1243
1263
|
}
|
|
1244
|
-
const
|
|
1245
|
-
function
|
|
1264
|
+
const Me = new Dt(), oe = "ikon-ds";
|
|
1265
|
+
function Fr(r) {
|
|
1246
1266
|
const e = ae(({ styleId: n, css: o, common: s }) => {
|
|
1247
1267
|
if (!n || typeof document > "u") return;
|
|
1248
1268
|
let i = document.getElementById(oe);
|
|
1249
|
-
i || (i = document.createElement("style"), i.id = oe, document.head.appendChild(i)), o && (i.innerHTML += o),
|
|
1269
|
+
i || (i = document.createElement("style"), i.id = oe, document.head.appendChild(i)), o && (i.innerHTML += o), Me.registerStyle(n, s);
|
|
1250
1270
|
}, []), t = ae(() => {
|
|
1251
|
-
typeof document < "u" && document.getElementById(oe)?.remove(),
|
|
1271
|
+
typeof document < "u" && document.getElementById(oe)?.remove(), Me.reset();
|
|
1252
1272
|
}, []);
|
|
1253
|
-
return
|
|
1273
|
+
return q(() => {
|
|
1254
1274
|
if (!r) return;
|
|
1255
1275
|
for (const o of r.getUiStyles())
|
|
1256
1276
|
e(o);
|
|
@@ -1258,64 +1278,72 @@ function xr(r) {
|
|
|
1258
1278
|
return () => {
|
|
1259
1279
|
n?.(), t();
|
|
1260
1280
|
};
|
|
1261
|
-
}, [r, t, e]),
|
|
1281
|
+
}, [r, t, e]), q(() => () => t(), [t]), { setStyle: e, reset: t };
|
|
1262
1282
|
}
|
|
1263
|
-
function
|
|
1264
|
-
const
|
|
1265
|
-
|
|
1283
|
+
function qt(r) {
|
|
1284
|
+
const e = [];
|
|
1285
|
+
for (const [t, n] of r) {
|
|
1286
|
+
const o = n.store.getSnapshot(), s = o.rootViewId && o.views.has(o.rootViewId);
|
|
1287
|
+
e.push(`${t}:${s ? "1" : "0"}`);
|
|
1288
|
+
}
|
|
1289
|
+
return e.sort(), e.join(",");
|
|
1290
|
+
}
|
|
1291
|
+
function Vr(r) {
|
|
1292
|
+
const [e, t] = tt(), n = I("");
|
|
1293
|
+
return q(() => {
|
|
1266
1294
|
if (!r) {
|
|
1267
1295
|
t(void 0), n.current = "";
|
|
1268
1296
|
return;
|
|
1269
1297
|
}
|
|
1270
1298
|
const o = () => {
|
|
1271
|
-
const s = r.getStores(), i =
|
|
1299
|
+
const s = r.getStores(), i = qt(s);
|
|
1272
1300
|
i !== n.current && (n.current = i, t(s));
|
|
1273
1301
|
};
|
|
1274
1302
|
return o(), r.subscribe(o);
|
|
1275
1303
|
}, [r]), e;
|
|
1276
1304
|
}
|
|
1277
|
-
var
|
|
1278
|
-
function
|
|
1279
|
-
var e =
|
|
1305
|
+
var Wt = typeof global == "object" && global && global.Object === Object && global, Yt = typeof self == "object" && self && self.Object === Object && self, Gt = Wt || Yt || Function("return this")(), H = Gt.Symbol, ze = Object.prototype, Kt = ze.hasOwnProperty, Xt = ze.toString, z = H ? H.toStringTag : void 0;
|
|
1306
|
+
function Ht(r) {
|
|
1307
|
+
var e = Kt.call(r, z), t = r[z];
|
|
1280
1308
|
try {
|
|
1281
|
-
r[
|
|
1309
|
+
r[z] = void 0;
|
|
1282
1310
|
var n = !0;
|
|
1283
1311
|
} catch {
|
|
1284
1312
|
}
|
|
1285
|
-
var o =
|
|
1286
|
-
return n && (e ? r[
|
|
1313
|
+
var o = Xt.call(r);
|
|
1314
|
+
return n && (e ? r[z] = t : delete r[z]), o;
|
|
1287
1315
|
}
|
|
1288
|
-
var
|
|
1289
|
-
function Ht(r) {
|
|
1290
|
-
return Xt.call(r);
|
|
1291
|
-
}
|
|
1292
|
-
var Jt = "[object Null]", Zt = "[object Undefined]", _e = H ? H.toStringTag : void 0;
|
|
1316
|
+
var Jt = Object.prototype, Zt = Jt.toString;
|
|
1293
1317
|
function Qt(r) {
|
|
1294
|
-
return
|
|
1318
|
+
return Zt.call(r);
|
|
1295
1319
|
}
|
|
1296
|
-
|
|
1297
|
-
|
|
1320
|
+
var er = "[object Null]", tr = "[object Undefined]", _e = H ? H.toStringTag : void 0;
|
|
1321
|
+
function rr(r) {
|
|
1322
|
+
return r == null ? r === void 0 ? tr : er : _e && _e in Object(r) ? Ht(r) : Qt(r);
|
|
1298
1323
|
}
|
|
1299
|
-
var tr = Array.isArray, rr = "[object String]";
|
|
1300
1324
|
function nr(r) {
|
|
1301
|
-
return
|
|
1325
|
+
return r != null && typeof r == "object";
|
|
1302
1326
|
}
|
|
1303
|
-
|
|
1327
|
+
var or = Array.isArray, sr = "[object String]";
|
|
1328
|
+
function ir(r) {
|
|
1329
|
+
return typeof r == "string" || !or(r) && nr(r) && rr(r) == sr;
|
|
1330
|
+
}
|
|
1331
|
+
const Pe = "ikonUiModules";
|
|
1304
1332
|
function de(r) {
|
|
1305
1333
|
return typeof r == "object" && r !== null && !Array.isArray(r);
|
|
1306
1334
|
}
|
|
1307
|
-
function
|
|
1335
|
+
function ar(r) {
|
|
1308
1336
|
if (!Array.isArray(r))
|
|
1309
1337
|
return;
|
|
1310
1338
|
const e = /* @__PURE__ */ new Set();
|
|
1311
1339
|
for (const t of r) {
|
|
1312
|
-
if (!
|
|
1340
|
+
if (!ir(t)) continue;
|
|
1313
1341
|
const n = t.trim();
|
|
1314
1342
|
n && (e.has(n) || e.add(n));
|
|
1315
1343
|
}
|
|
1316
1344
|
return Array.from(e);
|
|
1317
1345
|
}
|
|
1318
|
-
function
|
|
1346
|
+
function Br(r, e) {
|
|
1319
1347
|
if (r === e)
|
|
1320
1348
|
return !0;
|
|
1321
1349
|
if (!r || !e)
|
|
@@ -1327,18 +1355,18 @@ function Fr(r, e) {
|
|
|
1327
1355
|
return !1;
|
|
1328
1356
|
return !0;
|
|
1329
1357
|
}
|
|
1330
|
-
function
|
|
1331
|
-
if (!(!de(r) || !Object.prototype.hasOwnProperty.call(r,
|
|
1332
|
-
return
|
|
1358
|
+
function cr(r) {
|
|
1359
|
+
if (!(!de(r) || !Object.prototype.hasOwnProperty.call(r, Pe)))
|
|
1360
|
+
return ar(r[Pe]);
|
|
1333
1361
|
}
|
|
1334
|
-
function
|
|
1362
|
+
function zr(...r) {
|
|
1335
1363
|
for (const e of r) {
|
|
1336
|
-
const t =
|
|
1364
|
+
const t = cr(e);
|
|
1337
1365
|
if (t !== void 0)
|
|
1338
1366
|
return t;
|
|
1339
1367
|
}
|
|
1340
1368
|
}
|
|
1341
|
-
function
|
|
1369
|
+
function Dr(r) {
|
|
1342
1370
|
if (!de(r))
|
|
1343
1371
|
return;
|
|
1344
1372
|
const e = r, t = Object.keys(e).find((u) => u.toLowerCase() === "modules");
|
|
@@ -1387,7 +1415,7 @@ const g = {
|
|
|
1387
1415
|
Line: 4,
|
|
1388
1416
|
Paragraph: 8,
|
|
1389
1417
|
Emoji: 16
|
|
1390
|
-
},
|
|
1418
|
+
}, ur = [
|
|
1391
1419
|
{
|
|
1392
1420
|
flag: g.Letter,
|
|
1393
1421
|
hints: [
|
|
@@ -1436,11 +1464,11 @@ const g = {
|
|
|
1436
1464
|
"[data-emoji]"
|
|
1437
1465
|
]
|
|
1438
1466
|
}
|
|
1439
|
-
], fe = g.Letter | g.Word | g.Line | g.Paragraph | g.Emoji,
|
|
1440
|
-
function
|
|
1441
|
-
if (!r || r.length >
|
|
1467
|
+
], fe = g.Letter | g.Word | g.Line | g.Paragraph | g.Emoji, lr = g.Letter | g.Word | g.Line | g.Paragraph, Le = /* @__PURE__ */ new Map(), dr = 16384;
|
|
1468
|
+
function qr(r, e) {
|
|
1469
|
+
if (!r || r.length > dr)
|
|
1442
1470
|
return r;
|
|
1443
|
-
const t =
|
|
1471
|
+
const t = jr(e), n = U(t, g.Emoji), o = t & lr;
|
|
1444
1472
|
if (o === g.None && !n)
|
|
1445
1473
|
return r;
|
|
1446
1474
|
const s = r.replace(/\r\n/g, `
|
|
@@ -1448,23 +1476,23 @@ function Vr(r, e) {
|
|
|
1448
1476
|
`);
|
|
1449
1477
|
if (o === g.None)
|
|
1450
1478
|
return Fe(s);
|
|
1451
|
-
const i =
|
|
1479
|
+
const i = Tr(s);
|
|
1452
1480
|
if (i.length === 0)
|
|
1453
1481
|
return n ? Fe(s) : r;
|
|
1454
|
-
const c =
|
|
1482
|
+
const c = Cr(i), u = { letter: 0, word: 0, line: 0, paragraph: 0, br: 0, emoji: 0 }, d = [];
|
|
1455
1483
|
for (const l of c) {
|
|
1456
|
-
const p =
|
|
1484
|
+
const p = fr(l, t, u);
|
|
1457
1485
|
d.push(...p);
|
|
1458
1486
|
}
|
|
1459
1487
|
return d;
|
|
1460
1488
|
}
|
|
1461
|
-
function
|
|
1489
|
+
function fr(r, e, t) {
|
|
1462
1490
|
const n = [];
|
|
1463
1491
|
for (const o of r) {
|
|
1464
|
-
const s =
|
|
1492
|
+
const s = mr(o, e, t);
|
|
1465
1493
|
n.push(...s);
|
|
1466
1494
|
}
|
|
1467
|
-
if (
|
|
1495
|
+
if (U(e, g.Paragraph)) {
|
|
1468
1496
|
const o = t.paragraph++;
|
|
1469
1497
|
return [
|
|
1470
1498
|
/* @__PURE__ */ b.jsx(
|
|
@@ -1480,9 +1508,9 @@ function ur(r, e, t) {
|
|
|
1480
1508
|
}
|
|
1481
1509
|
return n;
|
|
1482
1510
|
}
|
|
1483
|
-
function
|
|
1484
|
-
const n =
|
|
1485
|
-
if (
|
|
1511
|
+
function mr(r, e, t) {
|
|
1512
|
+
const n = pr(r.text, e, t), o = [];
|
|
1513
|
+
if (U(e, g.Line)) {
|
|
1486
1514
|
const s = t.line++;
|
|
1487
1515
|
o.push(
|
|
1488
1516
|
/* @__PURE__ */ b.jsx("span", { "data-motion-line": !0, style: J(s), children: n }, `motion-line-${s}`)
|
|
@@ -1493,42 +1521,42 @@ function lr(r, e, t) {
|
|
|
1493
1521
|
o.push(/* @__PURE__ */ b.jsx("br", {}, `motion-break-${t.br++}`));
|
|
1494
1522
|
return o;
|
|
1495
1523
|
}
|
|
1496
|
-
function
|
|
1524
|
+
function pr(r, e, t) {
|
|
1497
1525
|
if (!r)
|
|
1498
1526
|
return [];
|
|
1499
|
-
const n =
|
|
1527
|
+
const n = U(e, g.Word), o = [], s = /(\s+)/g;
|
|
1500
1528
|
let i = 0, c;
|
|
1501
1529
|
for (; (c = s.exec(r)) !== null; ) {
|
|
1502
1530
|
if (c.index > i) {
|
|
1503
1531
|
const u = r.slice(i, c.index);
|
|
1504
|
-
o.push(
|
|
1532
|
+
o.push(xe(u, t, e, n));
|
|
1505
1533
|
}
|
|
1506
1534
|
o.push(c[0]), i = c.index + c[0].length;
|
|
1507
1535
|
}
|
|
1508
1536
|
if (i < r.length) {
|
|
1509
1537
|
const u = r.slice(i);
|
|
1510
|
-
o.push(
|
|
1538
|
+
o.push(xe(u, t, e, n));
|
|
1511
1539
|
}
|
|
1512
1540
|
return o;
|
|
1513
1541
|
}
|
|
1514
|
-
function
|
|
1515
|
-
const o = e.word++, s =
|
|
1542
|
+
function xe(r, e, t, n) {
|
|
1543
|
+
const o = e.word++, s = gr(r, t, e), i = `motion-word-${o}`, c = hr(o, n);
|
|
1516
1544
|
return n ? /* @__PURE__ */ b.jsx("span", { "data-motion-word": !0, style: c, children: s }, i) : /* @__PURE__ */ b.jsx("span", { style: c, children: s }, i);
|
|
1517
1545
|
}
|
|
1518
|
-
function
|
|
1546
|
+
function hr(r, e) {
|
|
1519
1547
|
return e ? { ...J(r), whiteSpace: "nowrap" } : { whiteSpace: "nowrap" };
|
|
1520
1548
|
}
|
|
1521
|
-
function
|
|
1549
|
+
function gr(r, e, t) {
|
|
1522
1550
|
if (!r)
|
|
1523
1551
|
return [];
|
|
1524
|
-
const n =
|
|
1552
|
+
const n = U(e, g.Letter), o = U(e, g.Emoji);
|
|
1525
1553
|
if (!n) {
|
|
1526
1554
|
if (!o)
|
|
1527
1555
|
return [r];
|
|
1528
1556
|
const c = me(r);
|
|
1529
1557
|
if (c.length === 0)
|
|
1530
1558
|
return [r];
|
|
1531
|
-
const { nodes: u } =
|
|
1559
|
+
const { nodes: u } = qe(c, t);
|
|
1532
1560
|
return u;
|
|
1533
1561
|
}
|
|
1534
1562
|
const s = [], i = me(r);
|
|
@@ -1541,7 +1569,7 @@ function mr(r, e, t) {
|
|
|
1541
1569
|
);
|
|
1542
1570
|
continue;
|
|
1543
1571
|
}
|
|
1544
|
-
const h = o &&
|
|
1572
|
+
const h = o && De(c) ? { "data-motion-emoji": !0 } : void 0, w = c === " " ? " " : c;
|
|
1545
1573
|
s.push(
|
|
1546
1574
|
/* @__PURE__ */ b.jsx("span", { "data-motion-letter": !0, style: l, ...h, children: w }, d)
|
|
1547
1575
|
);
|
|
@@ -1551,45 +1579,45 @@ function mr(r, e, t) {
|
|
|
1551
1579
|
function me(r) {
|
|
1552
1580
|
if (!r)
|
|
1553
1581
|
return [];
|
|
1554
|
-
const e =
|
|
1555
|
-
return e ? Array.from(e.segment(r), (t) => t.segment) :
|
|
1582
|
+
const e = yr();
|
|
1583
|
+
return e ? Array.from(e.segment(r), (t) => t.segment) : Sr(r);
|
|
1556
1584
|
}
|
|
1557
|
-
let
|
|
1558
|
-
function
|
|
1559
|
-
return
|
|
1585
|
+
let D;
|
|
1586
|
+
function yr() {
|
|
1587
|
+
return D !== void 0 || (typeof Intl < "u" && typeof Intl.Segmenter == "function" ? D = new Intl.Segmenter(void 0, { granularity: "grapheme" }) : D = null), D;
|
|
1560
1588
|
}
|
|
1561
|
-
function
|
|
1589
|
+
function Sr(r) {
|
|
1562
1590
|
const e = [], t = Array.from(r);
|
|
1563
1591
|
let n = "";
|
|
1564
1592
|
for (let o = 0; o < t.length; o++) {
|
|
1565
1593
|
const s = t[o], i = t[o + 1];
|
|
1566
|
-
n += s, !(i &&
|
|
1594
|
+
n += s, !(i && br(s, i)) && (e.push(n), n = "");
|
|
1567
1595
|
}
|
|
1568
1596
|
return n && e.push(n), e;
|
|
1569
1597
|
}
|
|
1570
|
-
function
|
|
1571
|
-
return e ? !!(
|
|
1598
|
+
function br(r, e) {
|
|
1599
|
+
return e ? !!(Ue(r) || Ue(e) || wr(e) || vr(e) || Er(e) || $e(r) && $e(e)) : !1;
|
|
1572
1600
|
}
|
|
1573
|
-
function
|
|
1601
|
+
function Ue(r) {
|
|
1574
1602
|
return r.codePointAt(0) === 8205;
|
|
1575
1603
|
}
|
|
1576
|
-
function
|
|
1604
|
+
function vr(r) {
|
|
1577
1605
|
const e = r.codePointAt(0);
|
|
1578
1606
|
return e === void 0 ? !1 : e >= 65024 && e <= 65039 || e >= 917760 && e <= 917999;
|
|
1579
1607
|
}
|
|
1580
|
-
function
|
|
1608
|
+
function Er(r) {
|
|
1581
1609
|
const e = r.codePointAt(0);
|
|
1582
1610
|
return e === void 0 ? !1 : e >= 127995 && e <= 127999;
|
|
1583
1611
|
}
|
|
1584
|
-
function
|
|
1612
|
+
function $e(r) {
|
|
1585
1613
|
const e = r.codePointAt(0);
|
|
1586
1614
|
return e === void 0 ? !1 : e >= 127462 && e <= 127487;
|
|
1587
1615
|
}
|
|
1588
1616
|
let se;
|
|
1589
|
-
function
|
|
1590
|
-
return r ? (se || (se =
|
|
1617
|
+
function wr(r) {
|
|
1618
|
+
return r ? (se || (se = Rr()), se(r)) : !1;
|
|
1591
1619
|
}
|
|
1592
|
-
function
|
|
1620
|
+
function Rr() {
|
|
1593
1621
|
try {
|
|
1594
1622
|
const r = new RegExp("\\p{Mark}", "u");
|
|
1595
1623
|
return (e) => r.test(e);
|
|
@@ -1601,18 +1629,18 @@ function vr() {
|
|
|
1601
1629
|
}
|
|
1602
1630
|
}
|
|
1603
1631
|
let ie;
|
|
1604
|
-
function
|
|
1605
|
-
return r ? (ie || (ie =
|
|
1632
|
+
function De(r) {
|
|
1633
|
+
return r ? (ie || (ie = kr()), ie(r)) : !1;
|
|
1606
1634
|
}
|
|
1607
|
-
function
|
|
1635
|
+
function kr() {
|
|
1608
1636
|
try {
|
|
1609
1637
|
const r = new RegExp("\\p{Extended_Pictographic}", "u");
|
|
1610
1638
|
return (e) => r.test(e);
|
|
1611
1639
|
} catch {
|
|
1612
|
-
return
|
|
1640
|
+
return Nr;
|
|
1613
1641
|
}
|
|
1614
1642
|
}
|
|
1615
|
-
function
|
|
1643
|
+
function Nr(r) {
|
|
1616
1644
|
if (!r)
|
|
1617
1645
|
return !1;
|
|
1618
1646
|
for (const e of Array.from(r)) {
|
|
@@ -1622,7 +1650,7 @@ function wr(r) {
|
|
|
1622
1650
|
}
|
|
1623
1651
|
return !1;
|
|
1624
1652
|
}
|
|
1625
|
-
function
|
|
1653
|
+
function Tr(r) {
|
|
1626
1654
|
const e = [];
|
|
1627
1655
|
let t = "", n = 0;
|
|
1628
1656
|
for (let o = 0; o < r.length; o++) {
|
|
@@ -1636,7 +1664,7 @@ function Rr(r) {
|
|
|
1636
1664
|
}
|
|
1637
1665
|
return (n > 0 || t.length > 0) && e.push({ text: t, breaks: n }), e;
|
|
1638
1666
|
}
|
|
1639
|
-
function
|
|
1667
|
+
function Cr(r) {
|
|
1640
1668
|
if (r.length === 0)
|
|
1641
1669
|
return [];
|
|
1642
1670
|
const e = [];
|
|
@@ -1645,7 +1673,7 @@ function kr(r) {
|
|
|
1645
1673
|
t.push(n), n.breaks >= 2 && (e.push(t), t = []);
|
|
1646
1674
|
return t.length > 0 && e.push(t), e;
|
|
1647
1675
|
}
|
|
1648
|
-
function
|
|
1676
|
+
function U(r, e) {
|
|
1649
1677
|
return (r & e) === e;
|
|
1650
1678
|
}
|
|
1651
1679
|
function J(r) {
|
|
@@ -1671,17 +1699,17 @@ function Fe(r) {
|
|
|
1671
1699
|
const e = me(r);
|
|
1672
1700
|
if (e.length === 0)
|
|
1673
1701
|
return r;
|
|
1674
|
-
const { nodes: t, sawEmoji: n } =
|
|
1702
|
+
const { nodes: t, sawEmoji: n } = qe(e);
|
|
1675
1703
|
return n ? t.length === 1 ? t[0] ?? r : t : r;
|
|
1676
1704
|
}
|
|
1677
|
-
function
|
|
1705
|
+
function qe(r, e) {
|
|
1678
1706
|
const t = [];
|
|
1679
1707
|
let n = "", o = !1, s = e?.emoji ?? 0;
|
|
1680
1708
|
const i = () => {
|
|
1681
1709
|
n && (t.push(n), n = "");
|
|
1682
1710
|
};
|
|
1683
1711
|
for (const c of r) {
|
|
1684
|
-
if (
|
|
1712
|
+
if (De(c)) {
|
|
1685
1713
|
o = !0, i();
|
|
1686
1714
|
const d = `motion-emoji-${e ? e.emoji++ : s++}`;
|
|
1687
1715
|
t.push(
|
|
@@ -1693,13 +1721,13 @@ function De(r, e) {
|
|
|
1693
1721
|
}
|
|
1694
1722
|
return i(), o ? { nodes: t, sawEmoji: !0 } : { nodes: [r.join("")], sawEmoji: !1 };
|
|
1695
1723
|
}
|
|
1696
|
-
function
|
|
1724
|
+
function jr(r) {
|
|
1697
1725
|
if (!r)
|
|
1698
1726
|
return g.None;
|
|
1699
1727
|
const e = r.trim();
|
|
1700
1728
|
if (!e)
|
|
1701
1729
|
return g.None;
|
|
1702
|
-
const t =
|
|
1730
|
+
const t = Le.get(e);
|
|
1703
1731
|
if (typeof t == "number")
|
|
1704
1732
|
return t;
|
|
1705
1733
|
if (typeof document > "u")
|
|
@@ -1707,8 +1735,8 @@ function Nr(r) {
|
|
|
1707
1735
|
const n = e.split(/\s+/).filter(Boolean);
|
|
1708
1736
|
if (n.length === 0)
|
|
1709
1737
|
return g.None;
|
|
1710
|
-
const s = n.map((u) => `.${
|
|
1711
|
-
(u) => new RegExp(`(^|[^a-zA-Z0-9_-])${
|
|
1738
|
+
const s = n.map((u) => `.${Ar(u)}`).map(
|
|
1739
|
+
(u) => new RegExp(`(^|[^a-zA-Z0-9_-])${Or(u)}(?![a-zA-Z0-9_-])`)
|
|
1712
1740
|
);
|
|
1713
1741
|
let i = g.None, c = !1;
|
|
1714
1742
|
for (const u of Array.from(document.styleSheets)) {
|
|
@@ -1718,14 +1746,14 @@ function Nr(r) {
|
|
|
1718
1746
|
} catch {
|
|
1719
1747
|
continue;
|
|
1720
1748
|
}
|
|
1721
|
-
const l =
|
|
1749
|
+
const l = We(d, s);
|
|
1722
1750
|
if (l.mask && (i |= l.mask, i === fe))
|
|
1723
1751
|
break;
|
|
1724
1752
|
c ||= l.sawStyleRule;
|
|
1725
1753
|
}
|
|
1726
|
-
return (i !== g.None || c) &&
|
|
1754
|
+
return (i !== g.None || c) && Le.set(e, i), i;
|
|
1727
1755
|
}
|
|
1728
|
-
function
|
|
1756
|
+
function We(r, e) {
|
|
1729
1757
|
if (!r)
|
|
1730
1758
|
return { mask: g.None, sawStyleRule: !1 };
|
|
1731
1759
|
let t = g.None, n = !1;
|
|
@@ -1736,12 +1764,12 @@ function qe(r, e) {
|
|
|
1736
1764
|
const c = s.selectorText ?? "";
|
|
1737
1765
|
if (!c || !e.some((d) => d.test(c))) continue;
|
|
1738
1766
|
n = !0;
|
|
1739
|
-
for (const d of
|
|
1767
|
+
for (const d of ur)
|
|
1740
1768
|
d.hints.some((l) => c.includes(l)) && (t |= d.flag);
|
|
1741
1769
|
if (t === fe)
|
|
1742
1770
|
return { mask: t, sawStyleRule: !0 };
|
|
1743
1771
|
} else if ("cssRules" in s) {
|
|
1744
|
-
const i =
|
|
1772
|
+
const i = We(s.cssRules, e);
|
|
1745
1773
|
if (i.mask && (t |= i.mask, t === fe))
|
|
1746
1774
|
return { mask: t, sawStyleRule: !0 };
|
|
1747
1775
|
n ||= i.sawStyleRule;
|
|
@@ -1750,42 +1778,42 @@ function qe(r, e) {
|
|
|
1750
1778
|
}
|
|
1751
1779
|
return { mask: t, sawStyleRule: n };
|
|
1752
1780
|
}
|
|
1753
|
-
function
|
|
1781
|
+
function Ar(r) {
|
|
1754
1782
|
return typeof CSS < "u" && typeof CSS.escape == "function" ? CSS.escape(r) : r.replace(/[^a-zA-Z0-9_-]/g, (e) => `\\${e}`);
|
|
1755
1783
|
}
|
|
1756
|
-
function
|
|
1784
|
+
function Or(r) {
|
|
1757
1785
|
return r.replace(/[.*+?^${}()|[\]\\]/g, (e) => `\\${e}`);
|
|
1758
1786
|
}
|
|
1759
1787
|
export {
|
|
1760
|
-
|
|
1761
|
-
|
|
1788
|
+
Nt as IKON_UI_BASE_MODULE,
|
|
1789
|
+
_t as IKON_UI_MEDIA_MODULE,
|
|
1762
1790
|
ue as IKON_UI_STREAM_CATEGORY,
|
|
1763
|
-
|
|
1764
|
-
|
|
1765
|
-
|
|
1766
|
-
|
|
1767
|
-
|
|
1768
|
-
|
|
1769
|
-
|
|
1770
|
-
|
|
1771
|
-
|
|
1772
|
-
|
|
1773
|
-
|
|
1774
|
-
|
|
1775
|
-
|
|
1776
|
-
|
|
1777
|
-
|
|
1778
|
-
|
|
1779
|
-
|
|
1780
|
-
|
|
1781
|
-
|
|
1782
|
-
|
|
1783
|
-
|
|
1784
|
-
|
|
1785
|
-
|
|
1786
|
-
|
|
1787
|
-
|
|
1788
|
-
|
|
1789
|
-
|
|
1790
|
-
|
|
1791
|
+
jt as IKON_UI_VIDEO_CANVAS_TYPE,
|
|
1792
|
+
At as IKON_UI_VIDEO_URL_PLAYER_TYPE,
|
|
1793
|
+
Ur as IkonUi,
|
|
1794
|
+
xt as IkonUiRegistry,
|
|
1795
|
+
xr as IkonUiSurface,
|
|
1796
|
+
ht as UiComponentRegistry,
|
|
1797
|
+
pt as UiRenderer,
|
|
1798
|
+
Gr as UiStreamStore,
|
|
1799
|
+
Br as areIkonUiModuleListsEqual,
|
|
1800
|
+
kt as createBaseResolvers,
|
|
1801
|
+
Pr as createComponentLibrary,
|
|
1802
|
+
$r as createIkonUiRegistry,
|
|
1803
|
+
It as createMediaResolvers,
|
|
1804
|
+
gt as isIkonUiCategoryMatch,
|
|
1805
|
+
Tt as loadBaseModule,
|
|
1806
|
+
Pt as loadMediaModule,
|
|
1807
|
+
ar as normalizeIkonUiModuleList,
|
|
1808
|
+
Dr as parseIkonUiInitPayload,
|
|
1809
|
+
cr as readIkonUiModules,
|
|
1810
|
+
zr as readIkonUiModulesFromSources,
|
|
1811
|
+
Ct as registerBaseModule,
|
|
1812
|
+
Lt as registerMediaModule,
|
|
1813
|
+
ft as renderChildren,
|
|
1814
|
+
qr as renderMotionLetters,
|
|
1815
|
+
Fr as useIkonStyles,
|
|
1816
|
+
Vr as useIkonUiStores,
|
|
1817
|
+
M as useUiNode,
|
|
1818
|
+
Lr as useUiStore
|
|
1791
1819
|
};
|