@pepperdash/mobile-control-react-app-core 1.1.0 → 1.1.1

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.
@@ -32,10 +32,10 @@ const $1 = {
32
32
  const t = r.payload.type, l = t.slice(t.lastIndexOf("/") + 1);
33
33
  if (!l)
34
34
  return;
35
- const M = r.payload.content, R = s[l] ?? {}, C = W3.merge(R, M);
35
+ const w = r.payload.content, j = s[l] ?? {}, S = W3.merge(j, w);
36
36
  return {
37
37
  ...s,
38
- [l]: C
38
+ [l]: S
39
39
  };
40
40
  }
41
41
  }
@@ -47,10 +47,10 @@ const $1 = {
47
47
  const l = r.payload.type.match("/room/(.*)/status");
48
48
  if (!l)
49
49
  return;
50
- const M = l[1], R = r.payload.content, C = s[M] ?? {}, j = W3.merge(C, R);
50
+ const w = l[1], j = r.payload.content, S = s[w] ?? {}, C = W3.merge(S, j);
51
51
  return {
52
52
  ...s,
53
- [M]: j
53
+ [w]: C
54
54
  };
55
55
  }
56
56
  }
@@ -139,68 +139,68 @@ const $1 = {
139
139
  F3({
140
140
  reducer: J3
141
141
  });
142
- const x = T1, N1 = () => x((s) => s.appConfig.config), i8 = () => x((s) => s.appConfig.config.apiPath), a8 = () => x((s) => Object.values(s.devices)), h8 = (s) => x((r) => r.devices[s]), v8 = (s) => x(
142
+ const f = T1, N1 = () => f((s) => s.appConfig.config), i8 = () => f((s) => s.appConfig.config.apiPath), a8 = () => f((s) => Object.values(s.devices)), h8 = (s) => f((r) => r.devices[s]), v8 = (s) => f(
143
143
  (r) => {
144
144
  var t;
145
145
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.configuration : void 0;
146
146
  }
147
- ), u8 = (s) => x(
147
+ ), u8 = (s) => f(
148
148
  (r) => r.rooms[s] ? r.rooms[s] : void 0
149
- ), d8 = (s) => x(
149
+ ), d8 = (s) => f(
150
150
  (r) => {
151
151
  var t;
152
152
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.name : void 0;
153
153
  }
154
- ), g8 = (s) => x(
154
+ ), g8 = (s) => f(
155
155
  (r) => {
156
156
  var t, l;
157
157
  return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.volumes) == null ? void 0 : l.master : void 0;
158
158
  }
159
- ), w8 = (s) => x(
159
+ ), w8 = (s) => f(
160
160
  (r) => {
161
161
  var t, l;
162
162
  return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.configuration) == null ? void 0 : l.sourceList : void 0;
163
163
  }
164
- ), x8 = (s) => x(
164
+ ), x8 = (s) => f(
165
165
  (r) => {
166
166
  var t, l;
167
167
  return r.rooms[s] ? (l = (t = r.rooms[s]) == null ? void 0 : t.configuration) == null ? void 0 : l.displayKeys : void 0;
168
168
  }
169
- ), f8 = (s) => x(
169
+ ), f8 = (s) => f(
170
170
  (r) => {
171
171
  var t;
172
172
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isInCall : void 0;
173
173
  }
174
- ), M8 = (s) => x(
174
+ ), M8 = (s) => f(
175
175
  (r) => {
176
176
  var t;
177
177
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isWarmingUp : void 0;
178
178
  }
179
- ), p8 = (s) => x(
179
+ ), p8 = (s) => f(
180
180
  (r) => {
181
181
  var t;
182
182
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isCoolingDown : void 0;
183
183
  }
184
- ), Z8 = (s) => x(
184
+ ), Z8 = (s) => f(
185
185
  (r) => {
186
186
  var t;
187
187
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.isOn : void 0;
188
188
  }
189
- ), m8 = (s) => x(
189
+ ), m8 = (s) => f(
190
190
  (r) => {
191
191
  var t;
192
192
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.advancedSharingActive : void 0;
193
193
  }
194
- ), j8 = (s) => x(
194
+ ), j8 = (s) => f(
195
195
  (r) => {
196
196
  var t;
197
197
  return r.rooms[s] ? (t = r.rooms[s]) == null ? void 0 : t.share : void 0;
198
198
  }
199
- ), e2 = () => x((s) => s.runtimeConfig.websocket.isConnected), r2 = () => x((s) => s.runtimeConfig.roomData.roomKey), c2 = () => x((s) => s.runtimeConfig.roomData.clientId), C8 = () => x((s) => s.ui.modalVisibility.showShutdownModal), S8 = () => x((s) => s.ui.modalVisibility.showIncomingCallModal), b8 = (s) => x((r) => r.ui.modalVisibility[s]), y8 = (s) => x((r) => {
199
+ ), e2 = () => f((s) => s.runtimeConfig.websocket.isConnected), r2 = () => f((s) => s.runtimeConfig.roomData.roomKey), c2 = () => f((s) => s.runtimeConfig.roomData.clientId), C8 = () => f((s) => s.ui.modalVisibility.showShutdownModal), S8 = () => f((s) => s.ui.modalVisibility.showIncomingCallModal), b8 = (s) => f((r) => r.ui.modalVisibility[s]), y8 = (s) => f((r) => {
200
200
  const t = r.ui.popoverVisibility[s];
201
201
  if (t)
202
202
  return Object.keys(t).find((l) => t[l]);
203
- }), I8 = (s, r) => x((t) => {
203
+ }), I8 = (s, r) => f((t) => {
204
204
  var l;
205
205
  return (l = t.ui.popoverVisibility[s]) == null ? void 0 : l[r];
206
206
  }), P = F3({
@@ -210,12 +210,14 @@ function t2() {
210
210
  const s = s2();
211
211
  return async () => {
212
212
  try {
213
- const r = await v3.get("/_local-config/_config.local.json");
214
- if (console.log("configRes", r), r.status == 200 && r.data) {
215
- const t = r.data.apiPath;
216
- s(F1.setAppConfig(r.data));
217
- const l = await v3.get(`${t}/version`);
218
- l.status == 200 && l.data && (console.log("versionRes", l.data), s(F.setRuntimeConfig(l.data)));
213
+ const r = location.pathname.split("/").filter((w) => w.length > 0);
214
+ r.length >= 5 ? r.length = 5 : r.length = 2;
215
+ const t = `/${r.join("/")}`, l = await v3.get("/_local-config/_config.local.json", { baseURL: t });
216
+ if (console.log("configRes", l), l.status == 200 && l.data) {
217
+ const w = l.data.apiPath;
218
+ s(F1.setAppConfig(l.data));
219
+ const j = await v3.get(`${w}/version`);
220
+ j.status == 200 && j.data && (console.log("versionRes", j.data), s(F.setRuntimeConfig(j.data)));
219
221
  }
220
222
  } catch (r) {
221
223
  console.log("Error getting config", r);
@@ -234,48 +236,48 @@ var u3 = { exports: {} }, q = {};
234
236
  * LICENSE file in the root directory of this source tree.
235
237
  */
236
238
  var V3;
237
- function o2() {
239
+ function n2() {
238
240
  return V3 || (V3 = 1, process.env.NODE_ENV !== "production" && function() {
239
- var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), M = Symbol.for("react.strict_mode"), R = Symbol.for("react.profiler"), C = Symbol.for("react.provider"), j = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), I = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), S = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), f = Symbol.iterator, L = "@@iterator";
241
+ var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.portal"), l = Symbol.for("react.fragment"), w = Symbol.for("react.strict_mode"), j = Symbol.for("react.profiler"), S = Symbol.for("react.provider"), C = Symbol.for("react.context"), g = Symbol.for("react.forward_ref"), R = Symbol.for("react.suspense"), Z = Symbol.for("react.suspense_list"), b = Symbol.for("react.memo"), E = Symbol.for("react.lazy"), _ = Symbol.for("react.offscreen"), M = Symbol.iterator, L = "@@iterator";
240
242
  function D(c) {
241
243
  if (c === null || typeof c != "object")
242
244
  return null;
243
- var o = f && c[f] || c[L];
244
- return typeof o == "function" ? o : null;
245
+ var n = M && c[M] || c[L];
246
+ return typeof n == "function" ? n : null;
245
247
  }
246
- var w = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
247
- function b(c) {
248
+ var x = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
249
+ function y(c) {
248
250
  {
249
- for (var o = arguments.length, n = new Array(o > 1 ? o - 1 : 0), i = 1; i < o; i++)
250
- n[i - 1] = arguments[i];
251
- X3("error", c, n);
251
+ for (var n = arguments.length, o = new Array(n > 1 ? n - 1 : 0), i = 1; i < n; i++)
252
+ o[i - 1] = arguments[i];
253
+ X3("error", c, o);
252
254
  }
253
255
  }
254
- function X3(c, o, n) {
256
+ function X3(c, n, o) {
255
257
  {
256
- var i = w.ReactDebugCurrentFrame, v = i.getStackAddendum();
257
- v !== "" && (o += "%s", n = n.concat([v]));
258
- var d = n.map(function(h) {
258
+ var i = x.ReactDebugCurrentFrame, v = i.getStackAddendum();
259
+ v !== "" && (n += "%s", o = o.concat([v]));
260
+ var d = o.map(function(h) {
259
261
  return String(h);
260
262
  });
261
- d.unshift("Warning: " + o), Function.prototype.apply.call(console[c], console, d);
263
+ d.unshift("Warning: " + n), Function.prototype.apply.call(console[c], console, d);
262
264
  }
263
265
  }
264
266
  var Q3 = !1, N3 = !1, e1 = !1, r1 = !1, c1 = !1, d3;
265
267
  d3 = Symbol.for("react.module.reference");
266
268
  function s1(c) {
267
- return !!(typeof c == "string" || typeof c == "function" || c === l || c === R || c1 || c === M || c === I || c === Z || r1 || c === _ || Q3 || N3 || e1 || typeof c == "object" && c !== null && (c.$$typeof === E || c.$$typeof === S || c.$$typeof === C || c.$$typeof === j || c.$$typeof === g || // This needs to include all possible module reference object
269
+ return !!(typeof c == "string" || typeof c == "function" || c === l || c === j || c1 || c === w || c === R || c === Z || r1 || c === _ || Q3 || N3 || e1 || typeof c == "object" && c !== null && (c.$$typeof === E || c.$$typeof === b || c.$$typeof === S || c.$$typeof === C || c.$$typeof === g || // This needs to include all possible module reference object
268
270
  // types supported by any Flight configuration anywhere since
269
271
  // we don't know which Flight build this will end up being used
270
272
  // with.
271
273
  c.$$typeof === d3 || c.getModuleId !== void 0));
272
274
  }
273
- function t1(c, o, n) {
275
+ function t1(c, n, o) {
274
276
  var i = c.displayName;
275
277
  if (i)
276
278
  return i;
277
- var v = o.displayName || o.name || "";
278
- return v !== "" ? n + "(" + v + ")" : n;
279
+ var v = n.displayName || n.name || "";
280
+ return v !== "" ? o + "(" + v + ")" : o;
279
281
  }
280
282
  function g3(c) {
281
283
  return c.displayName || "Context";
@@ -283,7 +285,7 @@ function o2() {
283
285
  function A(c) {
284
286
  if (c == null)
285
287
  return null;
286
- if (typeof c.tag == "number" && b("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
288
+ if (typeof c.tag == "number" && y("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof c == "function")
287
289
  return c.displayName || c.name || null;
288
290
  if (typeof c == "string")
289
291
  return c;
@@ -292,26 +294,26 @@ function o2() {
292
294
  return "Fragment";
293
295
  case t:
294
296
  return "Portal";
295
- case R:
297
+ case j:
296
298
  return "Profiler";
297
- case M:
299
+ case w:
298
300
  return "StrictMode";
299
- case I:
301
+ case R:
300
302
  return "Suspense";
301
303
  case Z:
302
304
  return "SuspenseList";
303
305
  }
304
306
  if (typeof c == "object")
305
307
  switch (c.$$typeof) {
306
- case j:
307
- var o = c;
308
- return g3(o) + ".Consumer";
309
308
  case C:
310
309
  var n = c;
311
- return g3(n._context) + ".Provider";
310
+ return g3(n) + ".Consumer";
311
+ case S:
312
+ var o = c;
313
+ return g3(o._context) + ".Provider";
312
314
  case g:
313
315
  return t1(c, c.render, "ForwardRef");
314
- case S:
316
+ case b:
315
317
  var i = c.displayName || null;
316
318
  return i !== null ? i : A(c.type) || "Memo";
317
319
  case E: {
@@ -329,7 +331,7 @@ function o2() {
329
331
  function j3() {
330
332
  }
331
333
  j3.__reactDisabledLog = !0;
332
- function o1() {
334
+ function n1() {
333
335
  {
334
336
  if (W === 0) {
335
337
  w3 = console.log, x3 = console.info, f3 = console.warn, M3 = console.error, p3 = console.group, Z3 = console.groupCollapsed, m3 = console.groupEnd;
@@ -352,7 +354,7 @@ function o2() {
352
354
  W++;
353
355
  }
354
356
  }
355
- function n1() {
357
+ function o1() {
356
358
  {
357
359
  if (W--, W === 0) {
358
360
  var c = {
@@ -384,11 +386,11 @@ function o2() {
384
386
  })
385
387
  });
386
388
  }
387
- W < 0 && b("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
389
+ W < 0 && y("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
388
390
  }
389
391
  }
390
- var c3 = w.ReactCurrentDispatcher, s3;
391
- function J(c, o, n) {
392
+ var c3 = x.ReactCurrentDispatcher, s3;
393
+ function J(c, n, o) {
392
394
  {
393
395
  if (s3 === void 0)
394
396
  try {
@@ -406,22 +408,22 @@ function o2() {
406
408
  var l1 = typeof WeakMap == "function" ? WeakMap : Map;
407
409
  z = new l1();
408
410
  }
409
- function C3(c, o) {
411
+ function C3(c, n) {
410
412
  if (!c || t3)
411
413
  return "";
412
414
  {
413
- var n = z.get(c);
414
- if (n !== void 0)
415
- return n;
415
+ var o = z.get(c);
416
+ if (o !== void 0)
417
+ return o;
416
418
  }
417
419
  var i;
418
420
  t3 = !0;
419
421
  var v = Error.prepareStackTrace;
420
422
  Error.prepareStackTrace = void 0;
421
423
  var d;
422
- d = c3.current, c3.current = null, o1();
424
+ d = c3.current, c3.current = null, n1();
423
425
  try {
424
- if (o) {
426
+ if (n) {
425
427
  var h = function() {
426
428
  throw Error();
427
429
  };
@@ -455,14 +457,14 @@ function o2() {
455
457
  } catch (T) {
456
458
  if (T && i && typeof T.stack == "string") {
457
459
  for (var a = T.stack.split(`
458
- `), y = i.stack.split(`
459
- `), p = a.length - 1, m = y.length - 1; p >= 1 && m >= 0 && a[p] !== y[m]; )
460
+ `), I = i.stack.split(`
461
+ `), p = a.length - 1, m = I.length - 1; p >= 1 && m >= 0 && a[p] !== I[m]; )
460
462
  m--;
461
463
  for (; p >= 1 && m >= 0; p--, m--)
462
- if (a[p] !== y[m]) {
464
+ if (a[p] !== I[m]) {
463
465
  if (p !== 1 || m !== 1)
464
466
  do
465
- if (p--, m--, m < 0 || a[p] !== y[m]) {
467
+ if (p--, m--, m < 0 || a[p] !== I[m]) {
466
468
  var B = `
467
469
  ` + a[p].replace(" at new ", " at ");
468
470
  return c.displayName && B.includes("<anonymous>") && (B = B.replace("<anonymous>", c.displayName)), typeof c == "function" && z.set(c, B), B;
@@ -472,19 +474,19 @@ function o2() {
472
474
  }
473
475
  }
474
476
  } finally {
475
- t3 = !1, c3.current = d, n1(), Error.prepareStackTrace = v;
477
+ t3 = !1, c3.current = d, o1(), Error.prepareStackTrace = v;
476
478
  }
477
479
  var $ = c ? c.displayName || c.name : "", D3 = $ ? J($) : "";
478
480
  return typeof c == "function" && z.set(c, D3), D3;
479
481
  }
480
- function i1(c, o, n) {
482
+ function i1(c, n, o) {
481
483
  return C3(c, !1);
482
484
  }
483
485
  function a1(c) {
484
- var o = c.prototype;
485
- return !!(o && o.isReactComponent);
486
+ var n = c.prototype;
487
+ return !!(n && n.isReactComponent);
486
488
  }
487
- function X(c, o, n) {
489
+ function X(c, n, o) {
488
490
  if (c == null)
489
491
  return "";
490
492
  if (typeof c == "function")
@@ -492,7 +494,7 @@ function o2() {
492
494
  if (typeof c == "string")
493
495
  return J(c);
494
496
  switch (c) {
495
- case I:
497
+ case R:
496
498
  return J("Suspense");
497
499
  case Z:
498
500
  return J("SuspenseList");
@@ -501,27 +503,27 @@ function o2() {
501
503
  switch (c.$$typeof) {
502
504
  case g:
503
505
  return i1(c.render);
504
- case S:
505
- return X(c.type, o, n);
506
+ case b:
507
+ return X(c.type, n, o);
506
508
  case E: {
507
509
  var i = c, v = i._payload, d = i._init;
508
510
  try {
509
- return X(d(v), o, n);
511
+ return X(d(v), n, o);
510
512
  } catch {
511
513
  }
512
514
  }
513
515
  }
514
516
  return "";
515
517
  }
516
- var Q = Object.prototype.hasOwnProperty, S3 = {}, b3 = w.ReactDebugCurrentFrame;
518
+ var Q = Object.prototype.hasOwnProperty, S3 = {}, b3 = x.ReactDebugCurrentFrame;
517
519
  function N(c) {
518
520
  if (c) {
519
- var o = c._owner, n = X(c.type, c._source, o ? o.type : null);
520
- b3.setExtraStackFrame(n);
521
+ var n = c._owner, o = X(c.type, c._source, n ? n.type : null);
522
+ b3.setExtraStackFrame(o);
521
523
  } else
522
524
  b3.setExtraStackFrame(null);
523
525
  }
524
- function h1(c, o, n, i, v) {
526
+ function h1(c, n, o, i, v) {
525
527
  {
526
528
  var d = Function.call.bind(Q);
527
529
  for (var h in c)
@@ -529,25 +531,25 @@ function o2() {
529
531
  var a = void 0;
530
532
  try {
531
533
  if (typeof c[h] != "function") {
532
- var y = Error((i || "React class") + ": " + n + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
533
- throw y.name = "Invariant Violation", y;
534
+ var I = Error((i || "React class") + ": " + o + " type `" + h + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof c[h] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
535
+ throw I.name = "Invariant Violation", I;
534
536
  }
535
- a = c[h](o, h, i, n, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
537
+ a = c[h](n, h, i, o, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
536
538
  } catch (p) {
537
539
  a = p;
538
540
  }
539
- a && !(a instanceof Error) && (N(v), b("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", n, h, typeof a), N(null)), a instanceof Error && !(a.message in S3) && (S3[a.message] = !0, N(v), b("Failed %s type: %s", n, a.message), N(null));
541
+ a && !(a instanceof Error) && (N(v), y("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", i || "React class", o, h, typeof a), N(null)), a instanceof Error && !(a.message in S3) && (S3[a.message] = !0, N(v), y("Failed %s type: %s", o, a.message), N(null));
540
542
  }
541
543
  }
542
544
  }
543
545
  var v1 = Array.isArray;
544
- function o3(c) {
546
+ function n3(c) {
545
547
  return v1(c);
546
548
  }
547
549
  function u1(c) {
548
550
  {
549
- var o = typeof Symbol == "function" && Symbol.toStringTag, n = o && c[Symbol.toStringTag] || c.constructor.name || "Object";
550
- return n;
551
+ var n = typeof Symbol == "function" && Symbol.toStringTag, o = n && c[Symbol.toStringTag] || c.constructor.name || "Object";
552
+ return o;
551
553
  }
552
554
  }
553
555
  function d1(c) {
@@ -562,67 +564,67 @@ function o2() {
562
564
  }
563
565
  function I3(c) {
564
566
  if (d1(c))
565
- return b("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", u1(c)), y3(c);
567
+ return y("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", u1(c)), y3(c);
566
568
  }
567
- var U = w.ReactCurrentOwner, g1 = {
569
+ var U = x.ReactCurrentOwner, g1 = {
568
570
  key: !0,
569
571
  ref: !0,
570
572
  __self: !0,
571
573
  __source: !0
572
- }, R3, E3, n3;
573
- n3 = {};
574
+ }, R3, E3, o3;
575
+ o3 = {};
574
576
  function w1(c) {
575
577
  if (Q.call(c, "ref")) {
576
- var o = Object.getOwnPropertyDescriptor(c, "ref").get;
577
- if (o && o.isReactWarning)
578
+ var n = Object.getOwnPropertyDescriptor(c, "ref").get;
579
+ if (n && n.isReactWarning)
578
580
  return !1;
579
581
  }
580
582
  return c.ref !== void 0;
581
583
  }
582
584
  function x1(c) {
583
585
  if (Q.call(c, "key")) {
584
- var o = Object.getOwnPropertyDescriptor(c, "key").get;
585
- if (o && o.isReactWarning)
586
+ var n = Object.getOwnPropertyDescriptor(c, "key").get;
587
+ if (n && n.isReactWarning)
586
588
  return !1;
587
589
  }
588
590
  return c.key !== void 0;
589
591
  }
590
- function f1(c, o) {
591
- if (typeof c.ref == "string" && U.current && o && U.current.stateNode !== o) {
592
- var n = A(U.current.type);
593
- n3[n] || (b('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(U.current.type), c.ref), n3[n] = !0);
592
+ function f1(c, n) {
593
+ if (typeof c.ref == "string" && U.current && n && U.current.stateNode !== n) {
594
+ var o = A(U.current.type);
595
+ o3[o] || (y('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', A(U.current.type), c.ref), o3[o] = !0);
594
596
  }
595
597
  }
596
- function M1(c, o) {
598
+ function M1(c, n) {
597
599
  {
598
- var n = function() {
599
- R3 || (R3 = !0, b("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
600
+ var o = function() {
601
+ R3 || (R3 = !0, y("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
600
602
  };
601
- n.isReactWarning = !0, Object.defineProperty(c, "key", {
602
- get: n,
603
+ o.isReactWarning = !0, Object.defineProperty(c, "key", {
604
+ get: o,
603
605
  configurable: !0
604
606
  });
605
607
  }
606
608
  }
607
- function p1(c, o) {
609
+ function p1(c, n) {
608
610
  {
609
- var n = function() {
610
- E3 || (E3 = !0, b("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", o));
611
+ var o = function() {
612
+ E3 || (E3 = !0, y("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", n));
611
613
  };
612
- n.isReactWarning = !0, Object.defineProperty(c, "ref", {
613
- get: n,
614
+ o.isReactWarning = !0, Object.defineProperty(c, "ref", {
615
+ get: o,
614
616
  configurable: !0
615
617
  });
616
618
  }
617
619
  }
618
- var Z1 = function(c, o, n, i, v, d, h) {
620
+ var Z1 = function(c, n, o, i, v, d, h) {
619
621
  var a = {
620
622
  // This tag allows us to uniquely identify this as a React Element
621
623
  $$typeof: r,
622
624
  // Built-in properties that belong on the element
623
625
  type: c,
624
- key: o,
625
- ref: n,
626
+ key: n,
627
+ ref: o,
626
628
  props: h,
627
629
  // Record the component responsible for creating this element.
628
630
  _owner: d
@@ -644,29 +646,29 @@ function o2() {
644
646
  value: v
645
647
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
646
648
  };
647
- function m1(c, o, n, i, v) {
649
+ function m1(c, n, o, i, v) {
648
650
  {
649
- var d, h = {}, a = null, y = null;
650
- n !== void 0 && (I3(n), a = "" + n), x1(o) && (I3(o.key), a = "" + o.key), w1(o) && (y = o.ref, f1(o, v));
651
- for (d in o)
652
- Q.call(o, d) && !g1.hasOwnProperty(d) && (h[d] = o[d]);
651
+ var d, h = {}, a = null, I = null;
652
+ o !== void 0 && (I3(o), a = "" + o), x1(n) && (I3(n.key), a = "" + n.key), w1(n) && (I = n.ref, f1(n, v));
653
+ for (d in n)
654
+ Q.call(n, d) && !g1.hasOwnProperty(d) && (h[d] = n[d]);
653
655
  if (c && c.defaultProps) {
654
656
  var p = c.defaultProps;
655
657
  for (d in p)
656
658
  h[d] === void 0 && (h[d] = p[d]);
657
659
  }
658
- if (a || y) {
660
+ if (a || I) {
659
661
  var m = typeof c == "function" ? c.displayName || c.name || "Unknown" : c;
660
- a && M1(h, m), y && p1(h, m);
662
+ a && M1(h, m), I && p1(h, m);
661
663
  }
662
- return Z1(c, a, y, v, i, U.current, h);
664
+ return Z1(c, a, I, v, i, U.current, h);
663
665
  }
664
666
  }
665
- var l3 = w.ReactCurrentOwner, _3 = w.ReactDebugCurrentFrame;
667
+ var l3 = x.ReactCurrentOwner, _3 = x.ReactDebugCurrentFrame;
666
668
  function k(c) {
667
669
  if (c) {
668
- var o = c._owner, n = X(c.type, c._source, o ? o.type : null);
669
- _3.setExtraStackFrame(n);
670
+ var n = c._owner, o = X(c.type, c._source, n ? n.type : null);
671
+ _3.setExtraStackFrame(o);
670
672
  } else
671
673
  _3.setExtraStackFrame(null);
672
674
  }
@@ -690,10 +692,10 @@ Check the render method of \`` + c + "`.";
690
692
  function j1(c) {
691
693
  {
692
694
  if (c !== void 0) {
693
- var o = c.fileName.replace(/^.*[\\\/]/, ""), n = c.lineNumber;
695
+ var n = c.fileName.replace(/^.*[\\\/]/, ""), o = c.lineNumber;
694
696
  return `
695
697
 
696
- Check your code at ` + o + ":" + n + ".";
698
+ Check your code at ` + n + ":" + o + ".";
697
699
  }
698
700
  return "";
699
701
  }
@@ -701,37 +703,37 @@ Check your code at ` + o + ":" + n + ".";
701
703
  var L3 = {};
702
704
  function C1(c) {
703
705
  {
704
- var o = B3();
705
- if (!o) {
706
- var n = typeof c == "string" ? c : c.displayName || c.name;
707
- n && (o = `
706
+ var n = B3();
707
+ if (!n) {
708
+ var o = typeof c == "string" ? c : c.displayName || c.name;
709
+ o && (n = `
708
710
 
709
- Check the top-level render call using <` + n + ">.");
711
+ Check the top-level render call using <` + o + ">.");
710
712
  }
711
- return o;
713
+ return n;
712
714
  }
713
715
  }
714
- function A3(c, o) {
716
+ function A3(c, n) {
715
717
  {
716
718
  if (!c._store || c._store.validated || c.key != null)
717
719
  return;
718
720
  c._store.validated = !0;
719
- var n = C1(o);
720
- if (L3[n])
721
+ var o = C1(n);
722
+ if (L3[o])
721
723
  return;
722
- L3[n] = !0;
724
+ L3[o] = !0;
723
725
  var i = "";
724
- c && c._owner && c._owner !== l3.current && (i = " It was passed a child from " + A(c._owner.type) + "."), k(c), b('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', n, i), k(null);
726
+ c && c._owner && c._owner !== l3.current && (i = " It was passed a child from " + A(c._owner.type) + "."), k(c), y('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', o, i), k(null);
725
727
  }
726
728
  }
727
- function T3(c, o) {
729
+ function T3(c, n) {
728
730
  {
729
731
  if (typeof c != "object")
730
732
  return;
731
- if (o3(c))
732
- for (var n = 0; n < c.length; n++) {
733
- var i = c[n];
734
- a3(i) && A3(i, o);
733
+ if (n3(c))
734
+ for (var o = 0; o < c.length; o++) {
735
+ var i = c[o];
736
+ a3(i) && A3(i, n);
735
737
  }
736
738
  else if (a3(c))
737
739
  c._store && (c._store.validated = !0);
@@ -739,82 +741,82 @@ Check the top-level render call using <` + n + ">.");
739
741
  var v = D(c);
740
742
  if (typeof v == "function" && v !== c.entries)
741
743
  for (var d = v.call(c), h; !(h = d.next()).done; )
742
- a3(h.value) && A3(h.value, o);
744
+ a3(h.value) && A3(h.value, n);
743
745
  }
744
746
  }
745
747
  }
746
748
  function S1(c) {
747
749
  {
748
- var o = c.type;
749
- if (o == null || typeof o == "string")
750
+ var n = c.type;
751
+ if (n == null || typeof n == "string")
750
752
  return;
751
- var n;
752
- if (typeof o == "function")
753
- n = o.propTypes;
754
- else if (typeof o == "object" && (o.$$typeof === g || // Note: Memo only checks outer props here.
753
+ var o;
754
+ if (typeof n == "function")
755
+ o = n.propTypes;
756
+ else if (typeof n == "object" && (n.$$typeof === g || // Note: Memo only checks outer props here.
755
757
  // Inner props are checked in the reconciler.
756
- o.$$typeof === S))
757
- n = o.propTypes;
758
+ n.$$typeof === b))
759
+ o = n.propTypes;
758
760
  else
759
761
  return;
760
- if (n) {
761
- var i = A(o);
762
- h1(n, c.props, "prop", i, c);
763
- } else if (o.PropTypes !== void 0 && !i3) {
762
+ if (o) {
763
+ var i = A(n);
764
+ h1(o, c.props, "prop", i, c);
765
+ } else if (n.PropTypes !== void 0 && !i3) {
764
766
  i3 = !0;
765
- var v = A(o);
766
- b("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
767
+ var v = A(n);
768
+ y("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", v || "Unknown");
767
769
  }
768
- typeof o.getDefaultProps == "function" && !o.getDefaultProps.isReactClassApproved && b("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
770
+ typeof n.getDefaultProps == "function" && !n.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
769
771
  }
770
772
  }
771
773
  function b1(c) {
772
774
  {
773
- for (var o = Object.keys(c.props), n = 0; n < o.length; n++) {
774
- var i = o[n];
775
+ for (var n = Object.keys(c.props), o = 0; o < n.length; o++) {
776
+ var i = n[o];
775
777
  if (i !== "children" && i !== "key") {
776
- k(c), b("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
778
+ k(c), y("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", i), k(null);
777
779
  break;
778
780
  }
779
781
  }
780
- c.ref !== null && (k(c), b("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
782
+ c.ref !== null && (k(c), y("Invalid attribute `ref` supplied to `React.Fragment`."), k(null));
781
783
  }
782
784
  }
783
- function P3(c, o, n, i, v, d) {
785
+ function P3(c, n, o, i, v, d) {
784
786
  {
785
787
  var h = s1(c);
786
788
  if (!h) {
787
789
  var a = "";
788
790
  (c === void 0 || typeof c == "object" && c !== null && Object.keys(c).length === 0) && (a += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
789
- var y = j1(v);
790
- y ? a += y : a += B3();
791
+ var I = j1(v);
792
+ I ? a += I : a += B3();
791
793
  var p;
792
- c === null ? p = "null" : o3(c) ? p = "array" : c !== void 0 && c.$$typeof === r ? (p = "<" + (A(c.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : p = typeof c, b("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, a);
794
+ c === null ? p = "null" : n3(c) ? p = "array" : c !== void 0 && c.$$typeof === r ? (p = "<" + (A(c.type) || "Unknown") + " />", a = " Did you accidentally export a JSX literal instead of a component?") : p = typeof c, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", p, a);
793
795
  }
794
- var m = m1(c, o, n, v, d);
796
+ var m = m1(c, n, o, v, d);
795
797
  if (m == null)
796
798
  return m;
797
799
  if (h) {
798
- var B = o.children;
800
+ var B = n.children;
799
801
  if (B !== void 0)
800
802
  if (i)
801
- if (o3(B)) {
803
+ if (n3(B)) {
802
804
  for (var $ = 0; $ < B.length; $++)
803
805
  T3(B[$], c);
804
806
  Object.freeze && Object.freeze(B);
805
807
  } else
806
- b("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
808
+ y("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
807
809
  else
808
810
  T3(B, c);
809
811
  }
810
812
  return c === l ? b1(m) : S1(m), m;
811
813
  }
812
814
  }
813
- function y1(c, o, n) {
814
- return P3(c, o, n, !0);
815
+ function y1(c, n, o) {
816
+ return P3(c, n, o, !0);
815
817
  }
816
- function I1(c, o, n) {
817
- return P3(c, o, n, !1);
818
+ function I1(c, n, o) {
819
+ return P3(c, n, o, !1);
818
820
  }
819
821
  var R1 = I1, E1 = y1;
820
822
  q.Fragment = l, q.jsx = R1, q.jsxs = E1;
@@ -831,24 +833,24 @@ var Y = {};
831
833
  * LICENSE file in the root directory of this source tree.
832
834
  */
833
835
  var k3;
834
- function n2() {
836
+ function o2() {
835
837
  if (k3)
836
838
  return Y;
837
839
  k3 = 1;
838
- var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, M = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, R = { key: !0, ref: !0, __self: !0, __source: !0 };
839
- function C(j, g, I) {
840
- var Z, S = {}, E = null, _ = null;
841
- I !== void 0 && (E = "" + I), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (_ = g.ref);
840
+ var s = U3, r = Symbol.for("react.element"), t = Symbol.for("react.fragment"), l = Object.prototype.hasOwnProperty, w = s.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, j = { key: !0, ref: !0, __self: !0, __source: !0 };
841
+ function S(C, g, R) {
842
+ var Z, b = {}, E = null, _ = null;
843
+ R !== void 0 && (E = "" + R), g.key !== void 0 && (E = "" + g.key), g.ref !== void 0 && (_ = g.ref);
842
844
  for (Z in g)
843
- l.call(g, Z) && !R.hasOwnProperty(Z) && (S[Z] = g[Z]);
844
- if (j && j.defaultProps)
845
- for (Z in g = j.defaultProps, g)
846
- S[Z] === void 0 && (S[Z] = g[Z]);
847
- return { $$typeof: r, type: j, key: E, ref: _, props: S, _owner: M.current };
845
+ l.call(g, Z) && !j.hasOwnProperty(Z) && (b[Z] = g[Z]);
846
+ if (C && C.defaultProps)
847
+ for (Z in g = C.defaultProps, g)
848
+ b[Z] === void 0 && (b[Z] = g[Z]);
849
+ return { $$typeof: r, type: C, key: E, ref: _, props: b, _owner: w.current };
848
850
  }
849
- return Y.Fragment = t, Y.jsx = C, Y.jsxs = C, Y;
851
+ return Y.Fragment = t, Y.jsx = S, Y.jsxs = S, Y;
850
852
  }
851
- process.env.NODE_ENV === "production" ? u3.exports = n2() : u3.exports = o2();
853
+ process.env.NODE_ENV === "production" ? u3.exports = o2() : u3.exports = n2();
852
854
  var e = u3.exports;
853
855
  const l2 = () => /* @__PURE__ */ e.jsx(e.Fragment, { children: /* @__PURE__ */ e.jsxs("div", { className: "disconnected-message", children: [
854
856
  /* @__PURE__ */ e.jsx("h1", { children: "Disconnected" }),
@@ -876,28 +878,28 @@ function v2() {
876
878
  return V1(z3);
877
879
  }
878
880
  const u2 = ({ children: s }) => {
879
- const [r, t] = r3(), l = e2(), M = r2(), R = c2(), C = t2(), j = N1(), g = k1(null), [I, Z] = r3(), S = O3(
881
+ const [r, t] = r3(), l = e2(), w = r2(), j = c2(), S = t2(), C = N1(), g = k1(null), [R, Z] = r3(), b = O3(
880
882
  async (_) => {
881
- await v3.get(`${_}/ui/joinroom?token=${r}`).then((f) => {
882
- f.status === 200 && f.data && P.dispatch(F.setRoomData(f.data));
883
- }).catch((f) => {
884
- console.log(f);
883
+ await v3.get(`${_}/ui/joinroom?token=${r}`).then((M) => {
884
+ M.status === 200 && M.data && P.dispatch(F.setRoomData(M.data));
885
+ }).catch((M) => {
886
+ console.log(M);
885
887
  });
886
888
  },
887
889
  [r]
888
890
  ), E = O3(
889
- (_, f) => {
890
- g.current && l && g.current.send(JSON.stringify({ type: _, clientId: R, content: f }));
891
+ (_, M) => {
892
+ g.current && l && g.current.send(JSON.stringify({ type: _, clientId: j, content: M }));
891
893
  },
892
- [l, R]
894
+ [l, j]
893
895
  );
894
896
  return H(() => {
895
- let f = new URLSearchParams(window.location.search).get("token");
896
- f ? (console.log("saving token: ", f), h2($3.uuid, f)) : (f = a2($3.uuid), console.log("loading token: ", f)), t(f), C();
897
+ let M = new URLSearchParams(window.location.search).get("token");
898
+ M ? (console.log("saving token: ", M), h2($3.uuid, M)) : (M = a2($3.uuid), console.log("loading token: ", M)), t(M), S();
897
899
  }, []), H(() => {
898
- if (!(!j.apiPath || I || !r)) {
899
- if (S(j.apiPath), !g.current) {
900
- const f = `${j.apiPath.replace("http", "ws")}/ui/join/${r}`, L = new WebSocket(f);
900
+ if (!(!C.apiPath || R || !r)) {
901
+ if (b(C.apiPath), !g.current) {
902
+ const M = `${C.apiPath.replace("http", "ws")}/ui/join/${r}`, L = new WebSocket(M);
901
903
  g.current = L, L.onopen = () => {
902
904
  console.log("connected"), P.dispatch(F.setWebsocketIsConnected(!0));
903
905
  }, L.onerror = (D) => {
@@ -909,29 +911,29 @@ const u2 = ({ children: s }) => {
909
911
  console.log("WebSocket closed by client.");
910
912
  return;
911
913
  }
912
- I || (P.dispatch(F.setWebsocketIsConnected(!1)), Z(!0), setTimeout(() => Z(void 0), 5e3));
914
+ R || (P.dispatch(F.setWebsocketIsConnected(!1)), Z(!0), setTimeout(() => Z(void 0), 5e3));
913
915
  }, L.onmessage = (D) => {
914
916
  try {
915
- const w = JSON.parse(D.data);
916
- if (console.log(w), w.type.startsWith("/system/"))
917
- switch (w.type) {
917
+ const x = JSON.parse(D.data);
918
+ if (console.log(x), x.type.startsWith("/system/"))
919
+ switch (x.type) {
918
920
  case "/system/roomKey":
919
921
  P.dispatch(
920
922
  F.setCurrentRoomKey(
921
- w.content
923
+ x.content
922
924
  )
923
925
  );
924
926
  break;
925
927
  case "/system/userCodeChanged":
926
928
  P.dispatch(
927
- F.setUserCode(w.content)
929
+ F.setUserCode(x.content)
928
930
  );
929
931
  break;
930
932
  }
931
933
  else
932
- w.type.startsWith("/room/") ? P.dispatch(H1.setRoomState(w)) : w.type.startsWith("/device/") && P.dispatch(q1.setDeviceState(w));
933
- } catch (w) {
934
- console.log(w);
934
+ x.type.startsWith("/room/") ? P.dispatch(H1.setRoomState(x)) : x.type.startsWith("/device/") && P.dispatch(q1.setDeviceState(x));
935
+ } catch (x) {
936
+ console.log(x);
935
937
  }
936
938
  };
937
939
  }
@@ -939,9 +941,9 @@ const u2 = ({ children: s }) => {
939
941
  g.current && g.current.close(), g.current = null;
940
942
  };
941
943
  }
942
- }, [j.apiPath, S, r, I]), H(() => {
943
- M && E(`/room/${M}/status`, null);
944
- }, [M, E]), /* @__PURE__ */ e.jsx(z3.Provider, { value: { sendMessage: E }, children: l ? s : /* @__PURE__ */ e.jsx(l2, {}) });
944
+ }, [C.apiPath, b, r, R]), H(() => {
945
+ w && E(`/room/${w}/status`, null);
946
+ }, [w, E]), /* @__PURE__ */ e.jsx(z3.Provider, { value: { sendMessage: E }, children: l ? s : /* @__PURE__ */ e.jsx(l2, {}) });
945
947
  }, R8 = ({ children: s }) => /* @__PURE__ */ e.jsx(D1, { store: P, children: /* @__PURE__ */ e.jsx(u2, { children: s }) }), E8 = ({ config: s }) => {
946
948
  const { sendMessage: r } = v2();
947
949
  H(() => {
@@ -953,8 +955,8 @@ const u2 = ({ children: s }) => {
953
955
  }), s.environmentalDevices.forEach((l) => {
954
956
  t.push(l);
955
957
  }), s.audioCodecKey && t.push(s.audioCodecKey), s.videoCodecKey && t.push(s.videoCodecKey);
956
- for (const [l, M] of Object.entries(s.sourceList))
957
- t.push(M.sourceKey);
958
+ for (const [l, w] of Object.entries(s.sourceList))
959
+ t.push(w.sourceKey);
958
960
  t.forEach((l) => {
959
961
  r(`/device/${l}/fullStatus`, { deviceKey: l });
960
962
  });
@@ -968,43 +970,43 @@ const u2 = ({ children: s }) => {
968
970
  otherContent: r = null,
969
971
  vert: t = !1,
970
972
  className: l,
971
- iconClassName: M = "",
972
- otherContentClassName: R = "",
973
- disabled: C,
974
- feedback: j,
973
+ iconClassName: w = "",
974
+ otherContentClassName: j = "",
975
+ disabled: S,
976
+ feedback: C,
975
977
  feedbackClassName: g,
976
- onPointerDown: I,
978
+ onPointerDown: R,
977
979
  onPointerUp: Z,
978
- onPointerLeave: S,
980
+ onPointerLeave: b,
979
981
  ...E
980
982
  }) => {
981
- const [_, f] = r3(!1), L = !C && j ? g : "", D = !C && (_ || j);
983
+ const [_, M] = r3(!1), L = !S && C ? g : "", D = !S && (_ || C);
982
984
  return /* @__PURE__ */ e.jsxs(
983
985
  "button",
984
986
  {
985
987
  type: "button",
986
988
  className: `${h3.iconbtn} ${t ? h3.iconbtnvert : ""} ${l} ${L}`,
987
989
  ...E,
988
- disabled: C,
989
- onPointerDown: (w) => {
990
- f(!0), I == null || I(w);
990
+ disabled: S,
991
+ onPointerDown: (x) => {
992
+ M(!0), R == null || R(x);
991
993
  },
992
- onPointerUp: (w) => {
993
- f(!1), Z == null || Z(w);
994
+ onPointerUp: (x) => {
995
+ M(!1), Z == null || Z(x);
994
996
  },
995
- onPointerLeave: (w) => {
996
- f(!1), S == null || S(w);
997
+ onPointerLeave: (x) => {
998
+ M(!1), b == null || b(x);
997
999
  },
998
1000
  children: [
999
1001
  /* @__PURE__ */ e.jsx(
1000
1002
  s,
1001
1003
  {
1002
- className: `${M || h3.iconsm}`,
1004
+ className: `${w || h3.iconsm}`,
1003
1005
  active: D,
1004
- disabled: C
1006
+ disabled: S
1005
1007
  }
1006
1008
  ),
1007
- /* @__PURE__ */ e.jsx("div", { className: R, children: r })
1009
+ /* @__PURE__ */ e.jsx("div", { className: j, children: r })
1008
1010
  ]
1009
1011
  }
1010
1012
  );
@@ -1013,8 +1015,8 @@ const u2 = ({ children: s }) => {
1013
1015
  DisabledImage: r,
1014
1016
  EnabledImage: t,
1015
1017
  active: l,
1016
- disabled: M
1017
- }) => M ? r : l ? s : t, f2 = ({
1018
+ disabled: w
1019
+ }) => w ? r : l ? s : t, f2 = ({
1018
1020
  active: s,
1019
1021
  className: r = "",
1020
1022
  disabled: t
@@ -2445,10 +2447,10 @@ const H2 = "_grid_1cmpp_1", K2 = "_header_1cmpp_11", J2 = "_content_1cmpp_17", z
2445
2447
  content: J2,
2446
2448
  footer: z2,
2447
2449
  volume: X2
2448
- }, L8 = ({ header: s, footer: r, content: t, volume: l, showVolume: M }) => /* @__PURE__ */ e.jsxs("div", { className: G.grid, children: [
2450
+ }, L8 = ({ header: s, footer: r, content: t, volume: l, showVolume: w }) => /* @__PURE__ */ e.jsxs("div", { className: G.grid, children: [
2449
2451
  /* @__PURE__ */ e.jsx("div", { className: G.header, children: s }),
2450
2452
  /* @__PURE__ */ e.jsx("div", { className: G.content, children: t }),
2451
- M && /* @__PURE__ */ e.jsx("div", { className: G.volume, children: l }),
2453
+ w && /* @__PURE__ */ e.jsx("div", { className: G.volume, children: l }),
2452
2454
  /* @__PURE__ */ e.jsx("div", { className: G.footer, children: r })
2453
2455
  ] }), Q2 = "_grid_11w5q_1", N2 = "_header_11w5q_11", e8 = "_content_11w5q_17", e3 = {
2454
2456
  grid: Q2,