@rubin-epo/epo-widget-lib 0.2.0 → 0.2.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.
- package/dist/epo-widget-lib.es.js +863 -870
- package/dist/epo-widget-lib.umd.js +69 -69
- package/dist/widgets/ColorTool/ColorTool.d.ts +0 -1
- package/package.json +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { localeStrings as Or, SelectListbox as ft, tokens as Ir, HorizontalSlider as Jn, Button as Pr, Select as Xn, ColorSwatch as Zn, IconComposer as Rr, CircularLoader as Qn, Toast as ea } from "@rubin-epo/epo-react-lib";
|
|
2
|
-
import { GlobalStyles as
|
|
3
|
-
import Lr, { useRef as dt, useState as
|
|
4
|
-
import { useTranslation as ne, Trans as
|
|
2
|
+
import { GlobalStyles as Qg } from "@rubin-epo/epo-react-lib";
|
|
3
|
+
import Lr, { useRef as dt, useState as W, useEffect as V } from "react";
|
|
4
|
+
import { useTranslation as ne, Trans as me } from "react-i18next";
|
|
5
5
|
import ut from "use-resize-observer";
|
|
6
6
|
import b, { css as j } from "styled-components";
|
|
7
7
|
const ta = {
|
|
@@ -117,7 +117,7 @@ const ta = {
|
|
|
117
117
|
};
|
|
118
118
|
nt.translation = { ...nt.translation, ...Or.en.translation };
|
|
119
119
|
at.translation = { ...at.translation, ...Or.es.translation };
|
|
120
|
-
const
|
|
120
|
+
const Jg = { en: nt, es: at };
|
|
121
121
|
var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, _e = {}, na = {
|
|
122
122
|
get exports() {
|
|
123
123
|
return _e;
|
|
@@ -125,7 +125,7 @@ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
125
125
|
set exports(e) {
|
|
126
126
|
_e = e;
|
|
127
127
|
}
|
|
128
|
-
},
|
|
128
|
+
}, ve = {};
|
|
129
129
|
/**
|
|
130
130
|
* @license React
|
|
131
131
|
* react-jsx-runtime.production.min.js
|
|
@@ -138,22 +138,22 @@ var Ie = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
138
138
|
var Ht;
|
|
139
139
|
function aa() {
|
|
140
140
|
if (Ht)
|
|
141
|
-
return
|
|
141
|
+
return ve;
|
|
142
142
|
Ht = 1;
|
|
143
|
-
var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,
|
|
144
|
-
function
|
|
145
|
-
var
|
|
146
|
-
d !== void 0 && (p = "" + d), u.key !== void 0 && (p = "" + u.key), u.ref !== void 0 && (
|
|
147
|
-
for (
|
|
148
|
-
a.call(u,
|
|
143
|
+
var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.fragment"), a = Object.prototype.hasOwnProperty, o = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
144
|
+
function l(f, u, d) {
|
|
145
|
+
var v, h = {}, p = null, $ = null;
|
|
146
|
+
d !== void 0 && (p = "" + d), u.key !== void 0 && (p = "" + u.key), u.ref !== void 0 && ($ = u.ref);
|
|
147
|
+
for (v in u)
|
|
148
|
+
a.call(u, v) && !s.hasOwnProperty(v) && (h[v] = u[v]);
|
|
149
149
|
if (f && f.defaultProps)
|
|
150
|
-
for (
|
|
151
|
-
v
|
|
152
|
-
return { $$typeof: t, type: f, key: p, ref:
|
|
150
|
+
for (v in u = f.defaultProps, u)
|
|
151
|
+
h[v] === void 0 && (h[v] = u[v]);
|
|
152
|
+
return { $$typeof: t, type: f, key: p, ref: $, props: h, _owner: o.current };
|
|
153
153
|
}
|
|
154
|
-
return
|
|
154
|
+
return ve.Fragment = r, ve.jsx = l, ve.jsxs = l, ve;
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var be = {};
|
|
157
157
|
/**
|
|
158
158
|
* @license React
|
|
159
159
|
* react-jsx-runtime.development.js
|
|
@@ -166,54 +166,54 @@ var ye = {};
|
|
|
166
166
|
var zt;
|
|
167
167
|
function oa() {
|
|
168
168
|
return zt || (zt = 1, process.env.NODE_ENV !== "production" && function() {
|
|
169
|
-
var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"),
|
|
170
|
-
function
|
|
169
|
+
var e = Lr, t = Symbol.for("react.element"), r = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), o = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), f = Symbol.for("react.context"), u = Symbol.for("react.forward_ref"), d = Symbol.for("react.suspense"), v = Symbol.for("react.suspense_list"), h = Symbol.for("react.memo"), p = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), m = Symbol.iterator, x = "@@iterator";
|
|
170
|
+
function S(n) {
|
|
171
171
|
if (n === null || typeof n != "object")
|
|
172
172
|
return null;
|
|
173
173
|
var c = m && n[m] || n[x];
|
|
174
174
|
return typeof c == "function" ? c : null;
|
|
175
175
|
}
|
|
176
176
|
var y = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
177
|
-
function
|
|
177
|
+
function C(n) {
|
|
178
178
|
{
|
|
179
|
-
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0),
|
|
180
|
-
g[
|
|
181
|
-
|
|
179
|
+
for (var c = arguments.length, g = new Array(c > 1 ? c - 1 : 0), _ = 1; _ < c; _++)
|
|
180
|
+
g[_ - 1] = arguments[_];
|
|
181
|
+
F("error", n, g);
|
|
182
182
|
}
|
|
183
183
|
}
|
|
184
|
-
function
|
|
184
|
+
function F(n, c, g) {
|
|
185
185
|
{
|
|
186
|
-
var
|
|
187
|
-
|
|
188
|
-
var O = g.map(function(
|
|
189
|
-
return String(
|
|
186
|
+
var _ = y.ReactDebugCurrentFrame, E = _.getStackAddendum();
|
|
187
|
+
E !== "" && (c += "%s", g = g.concat([E]));
|
|
188
|
+
var O = g.map(function(A) {
|
|
189
|
+
return String(A);
|
|
190
190
|
});
|
|
191
191
|
O.unshift("Warning: " + c), Function.prototype.apply.call(console[n], console, O);
|
|
192
192
|
}
|
|
193
193
|
}
|
|
194
|
-
var
|
|
195
|
-
|
|
196
|
-
function
|
|
197
|
-
return !!(typeof n == "string" || typeof n == "function" || n === a || n ===
|
|
194
|
+
var L = !1, M = !1, X = !1, B = !1, H = !1, N;
|
|
195
|
+
N = Symbol.for("react.module.reference");
|
|
196
|
+
function z(n) {
|
|
197
|
+
return !!(typeof n == "string" || typeof n == "function" || n === a || n === s || H || n === o || n === d || n === v || B || n === $ || L || M || X || typeof n == "object" && n !== null && (n.$$typeof === p || n.$$typeof === h || n.$$typeof === l || n.$$typeof === f || n.$$typeof === u || // This needs to include all possible module reference object
|
|
198
198
|
// types supported by any Flight configuration anywhere since
|
|
199
199
|
// we don't know which Flight build this will end up being used
|
|
200
200
|
// with.
|
|
201
|
-
n.$$typeof ===
|
|
201
|
+
n.$$typeof === N || n.getModuleId !== void 0));
|
|
202
202
|
}
|
|
203
|
-
function
|
|
204
|
-
var
|
|
205
|
-
if (
|
|
206
|
-
return
|
|
207
|
-
var
|
|
208
|
-
return
|
|
203
|
+
function Y(n, c, g) {
|
|
204
|
+
var _ = n.displayName;
|
|
205
|
+
if (_)
|
|
206
|
+
return _;
|
|
207
|
+
var E = c.displayName || c.name || "";
|
|
208
|
+
return E !== "" ? g + "(" + E + ")" : g;
|
|
209
209
|
}
|
|
210
|
-
function
|
|
210
|
+
function U(n) {
|
|
211
211
|
return n.displayName || "Context";
|
|
212
212
|
}
|
|
213
|
-
function
|
|
213
|
+
function k(n) {
|
|
214
214
|
if (n == null)
|
|
215
215
|
return null;
|
|
216
|
-
if (typeof n.tag == "number" &&
|
|
216
|
+
if (typeof n.tag == "number" && C("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof n == "function")
|
|
217
217
|
return n.displayName || n.name || null;
|
|
218
218
|
if (typeof n == "string")
|
|
219
219
|
return n;
|
|
@@ -222,32 +222,32 @@ function oa() {
|
|
|
222
222
|
return "Fragment";
|
|
223
223
|
case r:
|
|
224
224
|
return "Portal";
|
|
225
|
-
case
|
|
225
|
+
case s:
|
|
226
226
|
return "Profiler";
|
|
227
227
|
case o:
|
|
228
228
|
return "StrictMode";
|
|
229
229
|
case d:
|
|
230
230
|
return "Suspense";
|
|
231
|
-
case
|
|
231
|
+
case v:
|
|
232
232
|
return "SuspenseList";
|
|
233
233
|
}
|
|
234
234
|
if (typeof n == "object")
|
|
235
235
|
switch (n.$$typeof) {
|
|
236
236
|
case f:
|
|
237
237
|
var c = n;
|
|
238
|
-
return
|
|
239
|
-
case
|
|
238
|
+
return U(c) + ".Consumer";
|
|
239
|
+
case l:
|
|
240
240
|
var g = n;
|
|
241
|
-
return
|
|
241
|
+
return U(g._context) + ".Provider";
|
|
242
242
|
case u:
|
|
243
|
-
return
|
|
244
|
-
case
|
|
245
|
-
var
|
|
246
|
-
return
|
|
243
|
+
return Y(n, n.render, "ForwardRef");
|
|
244
|
+
case h:
|
|
245
|
+
var _ = n.displayName || null;
|
|
246
|
+
return _ !== null ? _ : k(n.type) || "Memo";
|
|
247
247
|
case p: {
|
|
248
|
-
var
|
|
248
|
+
var E = n, O = E._payload, A = E._init;
|
|
249
249
|
try {
|
|
250
|
-
return
|
|
250
|
+
return k(A(O));
|
|
251
251
|
} catch {
|
|
252
252
|
return null;
|
|
253
253
|
}
|
|
@@ -255,14 +255,14 @@ function oa() {
|
|
|
255
255
|
}
|
|
256
256
|
return null;
|
|
257
257
|
}
|
|
258
|
-
var Z = Object.assign, te = 0, xe, Ct, wt, xt, Tt,
|
|
258
|
+
var Z = Object.assign, te = 0, xe, Ct, wt, xt, Tt, At, St;
|
|
259
259
|
function Et() {
|
|
260
260
|
}
|
|
261
261
|
Et.__reactDisabledLog = !0;
|
|
262
262
|
function Tn() {
|
|
263
263
|
{
|
|
264
264
|
if (te === 0) {
|
|
265
|
-
xe = console.log, Ct = console.info, wt = console.warn, xt = console.error, Tt = console.group,
|
|
265
|
+
xe = console.log, Ct = console.info, wt = console.warn, xt = console.error, Tt = console.group, At = console.groupCollapsed, St = console.groupEnd;
|
|
266
266
|
var n = {
|
|
267
267
|
configurable: !0,
|
|
268
268
|
enumerable: !0,
|
|
@@ -282,7 +282,7 @@ function oa() {
|
|
|
282
282
|
te++;
|
|
283
283
|
}
|
|
284
284
|
}
|
|
285
|
-
function
|
|
285
|
+
function An() {
|
|
286
286
|
{
|
|
287
287
|
if (te--, te === 0) {
|
|
288
288
|
var n = {
|
|
@@ -307,14 +307,14 @@ function oa() {
|
|
|
307
307
|
value: Tt
|
|
308
308
|
}),
|
|
309
309
|
groupCollapsed: Z({}, n, {
|
|
310
|
-
value:
|
|
310
|
+
value: At
|
|
311
311
|
}),
|
|
312
312
|
groupEnd: Z({}, n, {
|
|
313
|
-
value:
|
|
313
|
+
value: St
|
|
314
314
|
})
|
|
315
315
|
});
|
|
316
316
|
}
|
|
317
|
-
te < 0 &&
|
|
317
|
+
te < 0 && C("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
318
318
|
}
|
|
319
319
|
}
|
|
320
320
|
var Ue = y.ReactCurrentDispatcher, Ke;
|
|
@@ -323,89 +323,89 @@ function oa() {
|
|
|
323
323
|
if (Ke === void 0)
|
|
324
324
|
try {
|
|
325
325
|
throw Error();
|
|
326
|
-
} catch (
|
|
327
|
-
var
|
|
328
|
-
Ke =
|
|
326
|
+
} catch (E) {
|
|
327
|
+
var _ = E.stack.trim().match(/\n( *(at )?)/);
|
|
328
|
+
Ke = _ && _[1] || "";
|
|
329
329
|
}
|
|
330
330
|
return `
|
|
331
331
|
` + Ke + n;
|
|
332
332
|
}
|
|
333
333
|
}
|
|
334
|
-
var Ye = !1,
|
|
334
|
+
var Ye = !1, Ae;
|
|
335
335
|
{
|
|
336
|
-
var
|
|
337
|
-
|
|
336
|
+
var Sn = typeof WeakMap == "function" ? WeakMap : Map;
|
|
337
|
+
Ae = new Sn();
|
|
338
338
|
}
|
|
339
339
|
function Ot(n, c) {
|
|
340
340
|
if (!n || Ye)
|
|
341
341
|
return "";
|
|
342
342
|
{
|
|
343
|
-
var g =
|
|
343
|
+
var g = Ae.get(n);
|
|
344
344
|
if (g !== void 0)
|
|
345
345
|
return g;
|
|
346
346
|
}
|
|
347
|
-
var
|
|
347
|
+
var _;
|
|
348
348
|
Ye = !0;
|
|
349
|
-
var
|
|
349
|
+
var E = Error.prepareStackTrace;
|
|
350
350
|
Error.prepareStackTrace = void 0;
|
|
351
351
|
var O;
|
|
352
352
|
O = Ue.current, Ue.current = null, Tn();
|
|
353
353
|
try {
|
|
354
354
|
if (c) {
|
|
355
|
-
var
|
|
355
|
+
var A = function() {
|
|
356
356
|
throw Error();
|
|
357
357
|
};
|
|
358
|
-
if (Object.defineProperty(
|
|
358
|
+
if (Object.defineProperty(A.prototype, "props", {
|
|
359
359
|
set: function() {
|
|
360
360
|
throw Error();
|
|
361
361
|
}
|
|
362
362
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
363
363
|
try {
|
|
364
|
-
Reflect.construct(
|
|
364
|
+
Reflect.construct(A, []);
|
|
365
365
|
} catch (q) {
|
|
366
|
-
|
|
366
|
+
_ = q;
|
|
367
367
|
}
|
|
368
|
-
Reflect.construct(n, [],
|
|
368
|
+
Reflect.construct(n, [], A);
|
|
369
369
|
} else {
|
|
370
370
|
try {
|
|
371
|
-
|
|
371
|
+
A.call();
|
|
372
372
|
} catch (q) {
|
|
373
|
-
|
|
373
|
+
_ = q;
|
|
374
374
|
}
|
|
375
|
-
n.call(
|
|
375
|
+
n.call(A.prototype);
|
|
376
376
|
}
|
|
377
377
|
} else {
|
|
378
378
|
try {
|
|
379
379
|
throw Error();
|
|
380
380
|
} catch (q) {
|
|
381
|
-
|
|
381
|
+
_ = q;
|
|
382
382
|
}
|
|
383
383
|
n();
|
|
384
384
|
}
|
|
385
385
|
} catch (q) {
|
|
386
|
-
if (q &&
|
|
386
|
+
if (q && _ && typeof q.stack == "string") {
|
|
387
387
|
for (var T = q.stack.split(`
|
|
388
|
-
`),
|
|
389
|
-
`), P = T.length - 1, R =
|
|
388
|
+
`), D = _.stack.split(`
|
|
389
|
+
`), P = T.length - 1, R = D.length - 1; P >= 1 && R >= 0 && T[P] !== D[R]; )
|
|
390
390
|
R--;
|
|
391
391
|
for (; P >= 1 && R >= 0; P--, R--)
|
|
392
|
-
if (T[P] !==
|
|
392
|
+
if (T[P] !== D[R]) {
|
|
393
393
|
if (P !== 1 || R !== 1)
|
|
394
394
|
do
|
|
395
|
-
if (P--, R--, R < 0 || T[P] !==
|
|
396
|
-
var
|
|
395
|
+
if (P--, R--, R < 0 || T[P] !== D[R]) {
|
|
396
|
+
var G = `
|
|
397
397
|
` + T[P].replace(" at new ", " at ");
|
|
398
|
-
return n.displayName &&
|
|
398
|
+
return n.displayName && G.includes("<anonymous>") && (G = G.replace("<anonymous>", n.displayName)), typeof n == "function" && Ae.set(n, G), G;
|
|
399
399
|
}
|
|
400
400
|
while (P >= 1 && R >= 0);
|
|
401
401
|
break;
|
|
402
402
|
}
|
|
403
403
|
}
|
|
404
404
|
} finally {
|
|
405
|
-
Ye = !1, Ue.current = O,
|
|
405
|
+
Ye = !1, Ue.current = O, An(), Error.prepareStackTrace = E;
|
|
406
406
|
}
|
|
407
407
|
var oe = n ? n.displayName || n.name : "", Wt = oe ? Te(oe) : "";
|
|
408
|
-
return typeof n == "function" &&
|
|
408
|
+
return typeof n == "function" && Ae.set(n, Wt), Wt;
|
|
409
409
|
}
|
|
410
410
|
function En(n, c, g) {
|
|
411
411
|
return Ot(n, !1);
|
|
@@ -414,7 +414,7 @@ function oa() {
|
|
|
414
414
|
var c = n.prototype;
|
|
415
415
|
return !!(c && c.isReactComponent);
|
|
416
416
|
}
|
|
417
|
-
function
|
|
417
|
+
function Se(n, c, g) {
|
|
418
418
|
if (n == null)
|
|
419
419
|
return "";
|
|
420
420
|
if (typeof n == "function")
|
|
@@ -424,19 +424,19 @@ function oa() {
|
|
|
424
424
|
switch (n) {
|
|
425
425
|
case d:
|
|
426
426
|
return Te("Suspense");
|
|
427
|
-
case
|
|
427
|
+
case v:
|
|
428
428
|
return Te("SuspenseList");
|
|
429
429
|
}
|
|
430
430
|
if (typeof n == "object")
|
|
431
431
|
switch (n.$$typeof) {
|
|
432
432
|
case u:
|
|
433
433
|
return En(n.render);
|
|
434
|
-
case
|
|
435
|
-
return
|
|
434
|
+
case h:
|
|
435
|
+
return Se(n.type, c, g);
|
|
436
436
|
case p: {
|
|
437
|
-
var
|
|
437
|
+
var _ = n, E = _._payload, O = _._init;
|
|
438
438
|
try {
|
|
439
|
-
return
|
|
439
|
+
return Se(O(E), c, g);
|
|
440
440
|
} catch {
|
|
441
441
|
}
|
|
442
442
|
}
|
|
@@ -446,27 +446,27 @@ function oa() {
|
|
|
446
446
|
var Ee = Object.prototype.hasOwnProperty, It = {}, Pt = y.ReactDebugCurrentFrame;
|
|
447
447
|
function Oe(n) {
|
|
448
448
|
if (n) {
|
|
449
|
-
var c = n._owner, g =
|
|
449
|
+
var c = n._owner, g = Se(n.type, n._source, c ? c.type : null);
|
|
450
450
|
Pt.setExtraStackFrame(g);
|
|
451
451
|
} else
|
|
452
452
|
Pt.setExtraStackFrame(null);
|
|
453
453
|
}
|
|
454
|
-
function In(n, c, g,
|
|
454
|
+
function In(n, c, g, _, E) {
|
|
455
455
|
{
|
|
456
456
|
var O = Function.call.bind(Ee);
|
|
457
|
-
for (var
|
|
458
|
-
if (O(n,
|
|
457
|
+
for (var A in n)
|
|
458
|
+
if (O(n, A)) {
|
|
459
459
|
var T = void 0;
|
|
460
460
|
try {
|
|
461
|
-
if (typeof n[
|
|
462
|
-
var
|
|
463
|
-
throw
|
|
461
|
+
if (typeof n[A] != "function") {
|
|
462
|
+
var D = Error((_ || "React class") + ": " + g + " type `" + A + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof n[A] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
463
|
+
throw D.name = "Invariant Violation", D;
|
|
464
464
|
}
|
|
465
|
-
T = n[
|
|
465
|
+
T = n[A](c, A, _, g, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
466
466
|
} catch (P) {
|
|
467
467
|
T = P;
|
|
468
468
|
}
|
|
469
|
-
T && !(T instanceof Error) && (Oe(
|
|
469
|
+
T && !(T instanceof Error) && (Oe(E), C("%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).", _ || "React class", g, A, typeof T), Oe(null)), T instanceof Error && !(T.message in It) && (It[T.message] = !0, Oe(E), C("Failed %s type: %s", g, T.message), Oe(null));
|
|
470
470
|
}
|
|
471
471
|
}
|
|
472
472
|
}
|
|
@@ -492,9 +492,9 @@ function oa() {
|
|
|
492
492
|
}
|
|
493
493
|
function Lt(n) {
|
|
494
494
|
if (Ln(n))
|
|
495
|
-
return
|
|
495
|
+
return C("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", Rn(n)), Rt(n);
|
|
496
496
|
}
|
|
497
|
-
var
|
|
497
|
+
var he = y.ReactCurrentOwner, jn = {
|
|
498
498
|
key: !0,
|
|
499
499
|
ref: !0,
|
|
500
500
|
__self: !0,
|
|
@@ -518,15 +518,15 @@ function oa() {
|
|
|
518
518
|
return n.key !== void 0;
|
|
519
519
|
}
|
|
520
520
|
function Dn(n, c) {
|
|
521
|
-
if (typeof n.ref == "string" &&
|
|
522
|
-
var g =
|
|
523
|
-
Ve[g] || (
|
|
521
|
+
if (typeof n.ref == "string" && he.current && c && he.current.stateNode !== c) {
|
|
522
|
+
var g = k(he.current.type);
|
|
523
|
+
Ve[g] || (C('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', k(he.current.type), n.ref), Ve[g] = !0);
|
|
524
524
|
}
|
|
525
525
|
}
|
|
526
526
|
function Fn(n, c) {
|
|
527
527
|
{
|
|
528
528
|
var g = function() {
|
|
529
|
-
jt || (jt = !0,
|
|
529
|
+
jt || (jt = !0, C("%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)", c));
|
|
530
530
|
};
|
|
531
531
|
g.isReactWarning = !0, Object.defineProperty(n, "key", {
|
|
532
532
|
get: g,
|
|
@@ -537,7 +537,7 @@ function oa() {
|
|
|
537
537
|
function Nn(n, c) {
|
|
538
538
|
{
|
|
539
539
|
var g = function() {
|
|
540
|
-
Mt || (Mt = !0,
|
|
540
|
+
Mt || (Mt = !0, C("%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)", c));
|
|
541
541
|
};
|
|
542
542
|
g.isReactWarning = !0, Object.defineProperty(n, "ref", {
|
|
543
543
|
get: g,
|
|
@@ -545,7 +545,7 @@ function oa() {
|
|
|
545
545
|
});
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
|
-
var Bn = function(n, c, g,
|
|
548
|
+
var Bn = function(n, c, g, _, E, O, A) {
|
|
549
549
|
var T = {
|
|
550
550
|
// This tag allows us to uniquely identify this as a React Element
|
|
551
551
|
$$typeof: t,
|
|
@@ -553,7 +553,7 @@ function oa() {
|
|
|
553
553
|
type: n,
|
|
554
554
|
key: c,
|
|
555
555
|
ref: g,
|
|
556
|
-
props:
|
|
556
|
+
props: A,
|
|
557
557
|
// Record the component responsible for creating this element.
|
|
558
558
|
_owner: O
|
|
559
559
|
};
|
|
@@ -566,36 +566,36 @@ function oa() {
|
|
|
566
566
|
configurable: !1,
|
|
567
567
|
enumerable: !1,
|
|
568
568
|
writable: !1,
|
|
569
|
-
value:
|
|
569
|
+
value: _
|
|
570
570
|
}), Object.defineProperty(T, "_source", {
|
|
571
571
|
configurable: !1,
|
|
572
572
|
enumerable: !1,
|
|
573
573
|
writable: !1,
|
|
574
|
-
value:
|
|
574
|
+
value: E
|
|
575
575
|
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
576
576
|
};
|
|
577
|
-
function Gn(n, c, g,
|
|
577
|
+
function Gn(n, c, g, _, E) {
|
|
578
578
|
{
|
|
579
|
-
var O,
|
|
580
|
-
g !== void 0 && (Lt(g), T = "" + g), kn(c) && (Lt(c.key), T = "" + c.key), Mn(c) && (
|
|
579
|
+
var O, A = {}, T = null, D = null;
|
|
580
|
+
g !== void 0 && (Lt(g), T = "" + g), kn(c) && (Lt(c.key), T = "" + c.key), Mn(c) && (D = c.ref, Dn(c, E));
|
|
581
581
|
for (O in c)
|
|
582
|
-
Ee.call(c, O) && !jn.hasOwnProperty(O) && (
|
|
582
|
+
Ee.call(c, O) && !jn.hasOwnProperty(O) && (A[O] = c[O]);
|
|
583
583
|
if (n && n.defaultProps) {
|
|
584
584
|
var P = n.defaultProps;
|
|
585
585
|
for (O in P)
|
|
586
|
-
|
|
586
|
+
A[O] === void 0 && (A[O] = P[O]);
|
|
587
587
|
}
|
|
588
|
-
if (T ||
|
|
588
|
+
if (T || D) {
|
|
589
589
|
var R = typeof n == "function" ? n.displayName || n.name || "Unknown" : n;
|
|
590
|
-
T && Fn(
|
|
590
|
+
T && Fn(A, R), D && Nn(A, R);
|
|
591
591
|
}
|
|
592
|
-
return Bn(n, T,
|
|
592
|
+
return Bn(n, T, D, E, _, he.current, A);
|
|
593
593
|
}
|
|
594
594
|
}
|
|
595
595
|
var Je = y.ReactCurrentOwner, kt = y.ReactDebugCurrentFrame;
|
|
596
596
|
function ae(n) {
|
|
597
597
|
if (n) {
|
|
598
|
-
var c = n._owner, g =
|
|
598
|
+
var c = n._owner, g = Se(n.type, n._source, c ? c.type : null);
|
|
599
599
|
kt.setExtraStackFrame(g);
|
|
600
600
|
} else
|
|
601
601
|
kt.setExtraStackFrame(null);
|
|
@@ -608,7 +608,7 @@ function oa() {
|
|
|
608
608
|
function Dt() {
|
|
609
609
|
{
|
|
610
610
|
if (Je.current) {
|
|
611
|
-
var n =
|
|
611
|
+
var n = k(Je.current.type);
|
|
612
612
|
if (n)
|
|
613
613
|
return `
|
|
614
614
|
|
|
@@ -650,8 +650,8 @@ Check the top-level render call using <` + g + ">.");
|
|
|
650
650
|
if (Ft[g])
|
|
651
651
|
return;
|
|
652
652
|
Ft[g] = !0;
|
|
653
|
-
var
|
|
654
|
-
n && n._owner && n._owner !== Je.current && (
|
|
653
|
+
var _ = "";
|
|
654
|
+
n && n._owner && n._owner !== Je.current && (_ = " It was passed a child from " + k(n._owner.type) + "."), ae(n), C('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', g, _), ae(null);
|
|
655
655
|
}
|
|
656
656
|
}
|
|
657
657
|
function Bt(n, c) {
|
|
@@ -660,16 +660,16 @@ Check the top-level render call using <` + g + ">.");
|
|
|
660
660
|
return;
|
|
661
661
|
if (qe(n))
|
|
662
662
|
for (var g = 0; g < n.length; g++) {
|
|
663
|
-
var
|
|
664
|
-
Ze(
|
|
663
|
+
var _ = n[g];
|
|
664
|
+
Ze(_) && Nt(_, c);
|
|
665
665
|
}
|
|
666
666
|
else if (Ze(n))
|
|
667
667
|
n._store && (n._store.validated = !0);
|
|
668
668
|
else if (n) {
|
|
669
|
-
var
|
|
670
|
-
if (typeof
|
|
671
|
-
for (var O =
|
|
672
|
-
Ze(
|
|
669
|
+
var E = S(n);
|
|
670
|
+
if (typeof E == "function" && E !== n.entries)
|
|
671
|
+
for (var O = E.call(n), A; !(A = O.next()).done; )
|
|
672
|
+
Ze(A.value) && Nt(A.value, c);
|
|
673
673
|
}
|
|
674
674
|
}
|
|
675
675
|
}
|
|
@@ -683,59 +683,59 @@ Check the top-level render call using <` + g + ">.");
|
|
|
683
683
|
g = c.propTypes;
|
|
684
684
|
else if (typeof c == "object" && (c.$$typeof === u || // Note: Memo only checks outer props here.
|
|
685
685
|
// Inner props are checked in the reconciler.
|
|
686
|
-
c.$$typeof ===
|
|
686
|
+
c.$$typeof === h))
|
|
687
687
|
g = c.propTypes;
|
|
688
688
|
else
|
|
689
689
|
return;
|
|
690
690
|
if (g) {
|
|
691
|
-
var
|
|
692
|
-
In(g, n.props, "prop",
|
|
691
|
+
var _ = k(c);
|
|
692
|
+
In(g, n.props, "prop", _, n);
|
|
693
693
|
} else if (c.PropTypes !== void 0 && !Xe) {
|
|
694
694
|
Xe = !0;
|
|
695
|
-
var
|
|
696
|
-
|
|
695
|
+
var E = k(c);
|
|
696
|
+
C("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", E || "Unknown");
|
|
697
697
|
}
|
|
698
|
-
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved &&
|
|
698
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && C("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
699
699
|
}
|
|
700
700
|
}
|
|
701
701
|
function Un(n) {
|
|
702
702
|
{
|
|
703
703
|
for (var c = Object.keys(n.props), g = 0; g < c.length; g++) {
|
|
704
|
-
var
|
|
705
|
-
if (
|
|
706
|
-
ae(n),
|
|
704
|
+
var _ = c[g];
|
|
705
|
+
if (_ !== "children" && _ !== "key") {
|
|
706
|
+
ae(n), C("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", _), ae(null);
|
|
707
707
|
break;
|
|
708
708
|
}
|
|
709
709
|
}
|
|
710
|
-
n.ref !== null && (ae(n),
|
|
710
|
+
n.ref !== null && (ae(n), C("Invalid attribute `ref` supplied to `React.Fragment`."), ae(null));
|
|
711
711
|
}
|
|
712
712
|
}
|
|
713
|
-
function Gt(n, c, g,
|
|
713
|
+
function Gt(n, c, g, _, E, O) {
|
|
714
714
|
{
|
|
715
|
-
var
|
|
716
|
-
if (!
|
|
715
|
+
var A = z(n);
|
|
716
|
+
if (!A) {
|
|
717
717
|
var T = "";
|
|
718
718
|
(n === void 0 || typeof n == "object" && n !== null && Object.keys(n).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
719
|
-
var
|
|
720
|
-
|
|
719
|
+
var D = Wn(E);
|
|
720
|
+
D ? T += D : T += Dt();
|
|
721
721
|
var P;
|
|
722
|
-
n === null ? P = "null" : qe(n) ? P = "array" : n !== void 0 && n.$$typeof === t ? (P = "<" + (
|
|
722
|
+
n === null ? P = "null" : qe(n) ? P = "array" : n !== void 0 && n.$$typeof === t ? (P = "<" + (k(n.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : P = typeof n, C("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", P, T);
|
|
723
723
|
}
|
|
724
|
-
var R = Gn(n, c, g,
|
|
724
|
+
var R = Gn(n, c, g, E, O);
|
|
725
725
|
if (R == null)
|
|
726
726
|
return R;
|
|
727
|
-
if (
|
|
728
|
-
var
|
|
729
|
-
if (
|
|
730
|
-
if (
|
|
731
|
-
if (qe(
|
|
732
|
-
for (var oe = 0; oe <
|
|
733
|
-
Bt(
|
|
734
|
-
Object.freeze && Object.freeze(
|
|
727
|
+
if (A) {
|
|
728
|
+
var G = c.children;
|
|
729
|
+
if (G !== void 0)
|
|
730
|
+
if (_)
|
|
731
|
+
if (qe(G)) {
|
|
732
|
+
for (var oe = 0; oe < G.length; oe++)
|
|
733
|
+
Bt(G[oe], n);
|
|
734
|
+
Object.freeze && Object.freeze(G);
|
|
735
735
|
} else
|
|
736
|
-
|
|
736
|
+
C("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
737
737
|
else
|
|
738
|
-
Bt(
|
|
738
|
+
Bt(G, n);
|
|
739
739
|
}
|
|
740
740
|
return n === a ? Un(R) : zn(R), R;
|
|
741
741
|
}
|
|
@@ -747,13 +747,13 @@ Check the top-level render call using <` + g + ">.");
|
|
|
747
747
|
return Gt(n, c, g, !1);
|
|
748
748
|
}
|
|
749
749
|
var qn = Yn, Vn = Kn;
|
|
750
|
-
|
|
751
|
-
}()),
|
|
750
|
+
be.Fragment = a, be.jsx = qn, be.jsxs = Vn;
|
|
751
|
+
}()), be;
|
|
752
752
|
}
|
|
753
753
|
(function(e) {
|
|
754
754
|
process.env.NODE_ENV === "production" ? e.exports = aa() : e.exports = oa();
|
|
755
755
|
})(na);
|
|
756
|
-
const
|
|
756
|
+
const ee = _e.Fragment, i = _e.jsx, w = _e.jsxs, Q = [
|
|
757
757
|
{ band: "u", range: [338, 395] },
|
|
758
758
|
{ range: [396, 404] },
|
|
759
759
|
{ band: "g", range: [405, 552] },
|
|
@@ -900,12 +900,12 @@ const V = _e.Fragment, i = _e.jsx, w = _e.jsxs, Q = [
|
|
|
900
900
|
spectrumRange: r
|
|
901
901
|
}) => {
|
|
902
902
|
const a = dt(null), o = a.current ? Array.from(a.current.children) : null;
|
|
903
|
-
return /* @__PURE__ */ w(
|
|
904
|
-
/* @__PURE__ */ i(xa, { ref: a, "data-testid": "condensed-filters", children: e.map(({ range:
|
|
905
|
-
|
|
903
|
+
return /* @__PURE__ */ w(ee, { children: [
|
|
904
|
+
/* @__PURE__ */ i(xa, { ref: a, "data-testid": "condensed-filters", children: e.map(({ range: s, band: l }) => /* @__PURE__ */ w(Ta, { "aria-labelledby": `${l}-name`, children: [
|
|
905
|
+
s.join("–"),
|
|
906
906
|
/* @__PURE__ */ i("br", {}),
|
|
907
907
|
"nm"
|
|
908
|
-
] },
|
|
908
|
+
] }, l)) }),
|
|
909
909
|
o && /* @__PURE__ */ i(
|
|
910
910
|
"svg",
|
|
911
911
|
{
|
|
@@ -914,8 +914,8 @@ const V = _e.Fragment, i = _e.jsx, w = _e.jsxs, Q = [
|
|
|
914
914
|
viewBox: `${t} 0 ${r} 50`,
|
|
915
915
|
role: "presentation",
|
|
916
916
|
"aria-hidden": "true",
|
|
917
|
-
children: /* @__PURE__ */ i("g", { role: "presentation", children: e.map(({ range:
|
|
918
|
-
const u = o[f], { offsetLeft: d, offsetWidth:
|
|
917
|
+
children: /* @__PURE__ */ i("g", { role: "presentation", children: e.map(({ range: s, band: l }, f) => {
|
|
918
|
+
const u = o[f], { offsetLeft: d, offsetWidth: v, offsetParent: h } = u, { offsetWidth: p } = h, $ = r / p, m = (s[0] + s[1]) / 2, x = (d + v / 2) * $;
|
|
919
919
|
return /* @__PURE__ */ w("g", { children: [
|
|
920
920
|
/* @__PURE__ */ i(
|
|
921
921
|
"line",
|
|
@@ -941,14 +941,14 @@ const V = _e.Fragment, i = _e.jsx, w = _e.jsxs, Q = [
|
|
|
941
941
|
role: "presentation"
|
|
942
942
|
}
|
|
943
943
|
)
|
|
944
|
-
] },
|
|
944
|
+
] }, l);
|
|
945
945
|
}) })
|
|
946
946
|
}
|
|
947
947
|
)
|
|
948
948
|
] });
|
|
949
949
|
};
|
|
950
950
|
jr.displayName = "Widgets.CameraFilter.CondensedFilterRanges";
|
|
951
|
-
const
|
|
951
|
+
const Aa = (e, t) => {
|
|
952
952
|
switch (!0) {
|
|
953
953
|
case e > t:
|
|
954
954
|
return 0;
|
|
@@ -957,7 +957,7 @@ const Sa = (e, t) => {
|
|
|
957
957
|
default:
|
|
958
958
|
return e;
|
|
959
959
|
}
|
|
960
|
-
},
|
|
960
|
+
}, Sa = (e, t, r) => e >= t && e <= r, Mr = (e = [], t = []) => {
|
|
961
961
|
const r = e[0] < t[0] ? e : t, a = r === e ? t : e;
|
|
962
962
|
return r[1] < a[0] ? null : [a[0], r[1] < a[1] ? r[1] : a[1]];
|
|
963
963
|
}, kr = ({
|
|
@@ -966,9 +966,9 @@ const Sa = (e, t) => {
|
|
|
966
966
|
isBandSelected: r,
|
|
967
967
|
isCondensed: a
|
|
968
968
|
}) => {
|
|
969
|
-
const o = a ? 350 : e[0].range[0],
|
|
970
|
-
return /* @__PURE__ */ i("g", { role: "list", "data-testid": "color-labels", children: e.map(({ name: u, range: d, color:
|
|
971
|
-
const p = o + f *
|
|
969
|
+
const o = a ? 350 : e[0].range[0], l = (a ? 1e3 : 820) - o, f = Math.floor(l / (e.length - 1));
|
|
970
|
+
return /* @__PURE__ */ i("g", { role: "list", "data-testid": "color-labels", children: e.map(({ name: u, range: d, color: v }, h) => {
|
|
971
|
+
const p = o + f * h, $ = r && Mr(d, t) === null, m = (d[0] + d[1]) / 2;
|
|
972
972
|
return /* @__PURE__ */ w("g", { children: [
|
|
973
973
|
/* @__PURE__ */ i(
|
|
974
974
|
"line",
|
|
@@ -1000,7 +1000,7 @@ const Sa = (e, t) => {
|
|
|
1000
1000
|
cx: p,
|
|
1001
1001
|
cy: a ? "72.5%" : "70%",
|
|
1002
1002
|
r: a ? 15 : 10,
|
|
1003
|
-
fill:
|
|
1003
|
+
fill: v,
|
|
1004
1004
|
role: "presentation"
|
|
1005
1005
|
}
|
|
1006
1006
|
),
|
|
@@ -1012,7 +1012,7 @@ const Sa = (e, t) => {
|
|
|
1012
1012
|
textAnchor: "middle",
|
|
1013
1013
|
y: "75%",
|
|
1014
1014
|
role: "listitem",
|
|
1015
|
-
"aria-hidden":
|
|
1015
|
+
"aria-hidden": $,
|
|
1016
1016
|
children: [
|
|
1017
1017
|
/* @__PURE__ */ i(
|
|
1018
1018
|
$a,
|
|
@@ -1054,8 +1054,8 @@ const Dr = ({
|
|
|
1054
1054
|
min: r,
|
|
1055
1055
|
max: a,
|
|
1056
1056
|
activeMin: o = 0,
|
|
1057
|
-
activeMax:
|
|
1058
|
-
isCondensed:
|
|
1057
|
+
activeMax: s = 0,
|
|
1058
|
+
isCondensed: l
|
|
1059
1059
|
}) => {
|
|
1060
1060
|
const { t: f } = ne(), u = f("camera_filter.labels.captured_range", {
|
|
1061
1061
|
context: t ? "" : "no_filter",
|
|
@@ -1068,13 +1068,13 @@ const Dr = ({
|
|
|
1068
1068
|
"aria-label": u,
|
|
1069
1069
|
"aria-live": "polite",
|
|
1070
1070
|
"data-testid": "spectrum-labels",
|
|
1071
|
-
children: e.map(({ name: d, upper:
|
|
1072
|
-
const
|
|
1071
|
+
children: e.map(({ name: d, upper: v, lower: h, colors: p }) => {
|
|
1072
|
+
const $ = v || a, m = h || r, x = t && Mr([m, $], [o, s]) === null;
|
|
1073
1073
|
return /* @__PURE__ */ w("g", { role: "listitem", "aria-hidden": x, children: [
|
|
1074
1074
|
/* @__PURE__ */ i(
|
|
1075
1075
|
_a,
|
|
1076
1076
|
{
|
|
1077
|
-
x: (
|
|
1077
|
+
x: ($ - m) / 2 + m,
|
|
1078
1078
|
y: "25%",
|
|
1079
1079
|
dominantBaseline: "middle",
|
|
1080
1080
|
textAnchor: "middle",
|
|
@@ -1087,8 +1087,8 @@ const Dr = ({
|
|
|
1087
1087
|
{
|
|
1088
1088
|
colors: p,
|
|
1089
1089
|
isBandSelected: !!t,
|
|
1090
|
-
activeRange: [o,
|
|
1091
|
-
isCondensed:
|
|
1090
|
+
activeRange: [o, s],
|
|
1091
|
+
isCondensed: l
|
|
1092
1092
|
}
|
|
1093
1093
|
)
|
|
1094
1094
|
] }, d);
|
|
@@ -1112,7 +1112,7 @@ const Fr = ({
|
|
|
1112
1112
|
"data-testid": "spectrum-display",
|
|
1113
1113
|
children: [
|
|
1114
1114
|
/* @__PURE__ */ w("defs", { children: [
|
|
1115
|
-
Pe.map(({ name:
|
|
1115
|
+
Pe.map(({ name: s, stops: l }) => /* @__PURE__ */ i("linearGradient", { id: `${s}-gradient`, children: l.map(({ offset: f, stopColor: u, id: d }) => /* @__PURE__ */ i(
|
|
1116
1116
|
"stop",
|
|
1117
1117
|
{
|
|
1118
1118
|
offset: f,
|
|
@@ -1120,10 +1120,10 @@ const Fr = ({
|
|
|
1120
1120
|
id: d
|
|
1121
1121
|
},
|
|
1122
1122
|
`${f}-${u}`
|
|
1123
|
-
)) },
|
|
1123
|
+
)) }, s)),
|
|
1124
1124
|
/* @__PURE__ */ w("mask", { id: "spectrumMask", children: [
|
|
1125
1125
|
/* @__PURE__ */ i("rect", { width: "100%", height: "50%", fill: "white", x: e }),
|
|
1126
|
-
o && /* @__PURE__ */ w(
|
|
1126
|
+
o && /* @__PURE__ */ w(ee, { children: [
|
|
1127
1127
|
/* @__PURE__ */ i(
|
|
1128
1128
|
"rect",
|
|
1129
1129
|
{
|
|
@@ -1145,30 +1145,30 @@ const Fr = ({
|
|
|
1145
1145
|
] })
|
|
1146
1146
|
] })
|
|
1147
1147
|
] }),
|
|
1148
|
-
/* @__PURE__ */ i("g", { mask: "url(#spectrumMask)", role: "presentation", children: Pe.map(({ name:
|
|
1148
|
+
/* @__PURE__ */ i("g", { mask: "url(#spectrumMask)", role: "presentation", children: Pe.map(({ name: s, upper: l, lower: f }) => /* @__PURE__ */ i(
|
|
1149
1149
|
"rect",
|
|
1150
1150
|
{
|
|
1151
|
-
width: (
|
|
1151
|
+
width: (l || t) - (f || e),
|
|
1152
1152
|
height: "50%",
|
|
1153
|
-
fill: `url(#${
|
|
1153
|
+
fill: `url(#${s}-gradient)`,
|
|
1154
1154
|
x: f || e,
|
|
1155
1155
|
role: "presentation"
|
|
1156
1156
|
},
|
|
1157
|
-
|
|
1157
|
+
s
|
|
1158
1158
|
)) }),
|
|
1159
1159
|
/* @__PURE__ */ i("g", { children: Pe.map(
|
|
1160
|
-
({ name:
|
|
1160
|
+
({ name: s, upper: l }) => l && /* @__PURE__ */ i(
|
|
1161
1161
|
"line",
|
|
1162
1162
|
{
|
|
1163
1163
|
strokeWidth: 2,
|
|
1164
1164
|
strokeDasharray: "8 8",
|
|
1165
|
-
stroke: o && !
|
|
1166
|
-
x1:
|
|
1167
|
-
x2:
|
|
1165
|
+
stroke: o && !Sa(l, o.range[0], o.range[1]) ? "#000" : "#fff",
|
|
1166
|
+
x1: l,
|
|
1167
|
+
x2: l,
|
|
1168
1168
|
y1: 0,
|
|
1169
1169
|
y2: "50%"
|
|
1170
1170
|
},
|
|
1171
|
-
|
|
1171
|
+
s
|
|
1172
1172
|
)
|
|
1173
1173
|
) }),
|
|
1174
1174
|
/* @__PURE__ */ i(
|
|
@@ -1188,23 +1188,23 @@ const Fr = ({
|
|
|
1188
1188
|
);
|
|
1189
1189
|
Fr.displayName = "Widgets.CameraFilter.SpectrumDisplay";
|
|
1190
1190
|
const Ea = () => {
|
|
1191
|
-
const { t: e } = ne(), { ref: t, width: r = 1 } = ut(), [a, o] =
|
|
1192
|
-
[
|
|
1193
|
-
} = fa,
|
|
1191
|
+
const { t: e } = ne(), { ref: t, width: r = 1 } = ut(), [a, o] = W(null), { BREAK_TABLET: s } = Ir, l = r < parseInt(s), {
|
|
1192
|
+
[l ? "condensed" : "default"]: { min: f, max: u, range: d }
|
|
1193
|
+
} = fa, v = Q[0].range[0], p = Q[Q.length - 1].range[1] - v, $ = Q.filter(({ band: y }) => y), x = [{
|
|
1194
1194
|
value: "none",
|
|
1195
1195
|
label: e("camera_filter.labels.option", { context: "none" })
|
|
1196
1196
|
}].concat(
|
|
1197
|
-
|
|
1197
|
+
$.map(({ band: y }) => ({
|
|
1198
1198
|
value: y,
|
|
1199
1199
|
label: e("camera_filter.labels.option", { band: y })
|
|
1200
1200
|
}))
|
|
1201
|
-
),
|
|
1201
|
+
), S = Q.find(({ band: y }) => y === a);
|
|
1202
1202
|
return /* @__PURE__ */ w(da, { ref: t, children: [
|
|
1203
1203
|
/* @__PURE__ */ i("h1", { children: e("camera_filter.title") }),
|
|
1204
|
-
|
|
1204
|
+
l && /* @__PURE__ */ i(
|
|
1205
1205
|
jr,
|
|
1206
1206
|
{
|
|
1207
|
-
filters:
|
|
1207
|
+
filters: $,
|
|
1208
1208
|
min: f,
|
|
1209
1209
|
spectrumRange: d
|
|
1210
1210
|
}
|
|
@@ -1212,9 +1212,9 @@ const Ea = () => {
|
|
|
1212
1212
|
/* @__PURE__ */ w(
|
|
1213
1213
|
ua,
|
|
1214
1214
|
{
|
|
1215
|
-
"aria-hidden":
|
|
1215
|
+
"aria-hidden": l,
|
|
1216
1216
|
range: p / d * 100,
|
|
1217
|
-
offset: (
|
|
1217
|
+
offset: (v - f) / d * 100,
|
|
1218
1218
|
"data-testid": "expanded-filters",
|
|
1219
1219
|
children: [
|
|
1220
1220
|
/* @__PURE__ */ i("colgroup", { children: Q.map(({ range: y }) => /* @__PURE__ */ i(
|
|
@@ -1233,16 +1233,16 @@ const Ea = () => {
|
|
|
1233
1233
|
band: y,
|
|
1234
1234
|
scope: "col",
|
|
1235
1235
|
"aria-hidden": !y,
|
|
1236
|
-
isCondensed:
|
|
1236
|
+
isCondensed: l,
|
|
1237
1237
|
children: y
|
|
1238
1238
|
},
|
|
1239
1239
|
y
|
|
1240
1240
|
)) }) }),
|
|
1241
|
-
!
|
|
1242
|
-
|
|
1241
|
+
!l && /* @__PURE__ */ i(pa, { children: /* @__PURE__ */ i("tr", { children: Q.map(({ band: y, range: C }) => /* @__PURE__ */ i(ha, { "aria-hidden": !y, children: y && /* @__PURE__ */ w(ee, { children: [
|
|
1242
|
+
C.join("–"),
|
|
1243
1243
|
/* @__PURE__ */ i("br", {}),
|
|
1244
1244
|
/* @__PURE__ */ i(va, { children: "nm" })
|
|
1245
|
-
] }) },
|
|
1245
|
+
] }) }, C.join())) }) })
|
|
1246
1246
|
]
|
|
1247
1247
|
}
|
|
1248
1248
|
),
|
|
@@ -1252,8 +1252,8 @@ const Ea = () => {
|
|
|
1252
1252
|
min: f,
|
|
1253
1253
|
max: u,
|
|
1254
1254
|
range: d,
|
|
1255
|
-
isCondensed:
|
|
1256
|
-
activeFilter:
|
|
1255
|
+
isCondensed: l,
|
|
1256
|
+
activeFilter: S
|
|
1257
1257
|
}
|
|
1258
1258
|
),
|
|
1259
1259
|
/* @__PURE__ */ w(ya, { children: [
|
|
@@ -1278,16 +1278,16 @@ function Oa(e, t) {
|
|
|
1278
1278
|
e[o + r] = t[r];
|
|
1279
1279
|
return e;
|
|
1280
1280
|
}
|
|
1281
|
-
var Nr = Oa, Ia = typeof Ie == "object" && Ie && Ie.Object === Object && Ie, Br = Ia, Pa = Br, Ra = typeof self == "object" && self && self.Object === Object && self, La = Pa || Ra || Function("return this")(), J = La, ja = J, Ma = ja.Symbol, $e = Ma, Yt = $e, Gr = Object.prototype, ka = Gr.hasOwnProperty, Da = Gr.toString,
|
|
1281
|
+
var Nr = Oa, Ia = typeof Ie == "object" && Ie && Ie.Object === Object && Ie, Br = Ia, Pa = Br, Ra = typeof self == "object" && self && self.Object === Object && self, La = Pa || Ra || Function("return this")(), J = La, ja = J, Ma = ja.Symbol, $e = Ma, Yt = $e, Gr = Object.prototype, ka = Gr.hasOwnProperty, Da = Gr.toString, ye = Yt ? Yt.toStringTag : void 0;
|
|
1282
1282
|
function Fa(e) {
|
|
1283
|
-
var t = ka.call(e,
|
|
1283
|
+
var t = ka.call(e, ye), r = e[ye];
|
|
1284
1284
|
try {
|
|
1285
|
-
e[
|
|
1285
|
+
e[ye] = void 0;
|
|
1286
1286
|
var a = !0;
|
|
1287
1287
|
} catch {
|
|
1288
1288
|
}
|
|
1289
1289
|
var o = Da.call(e);
|
|
1290
|
-
return a && (t ? e[
|
|
1290
|
+
return a && (t ? e[ye] = r : delete e[ye]), o;
|
|
1291
1291
|
}
|
|
1292
1292
|
var Na = Fa, Ba = Object.prototype, Ga = Ba.toString;
|
|
1293
1293
|
function Wa(e) {
|
|
@@ -1315,9 +1315,9 @@ function lo(e) {
|
|
|
1315
1315
|
}
|
|
1316
1316
|
var co = lo, fo = Nr, uo = co;
|
|
1317
1317
|
function Hr(e, t, r, a, o) {
|
|
1318
|
-
var
|
|
1319
|
-
for (r || (r = uo), o || (o = []); ++
|
|
1320
|
-
var f = e[
|
|
1318
|
+
var s = -1, l = e.length;
|
|
1319
|
+
for (r || (r = uo), o || (o = []); ++s < l; ) {
|
|
1320
|
+
var f = e[s];
|
|
1321
1321
|
t > 0 && r(f) ? t > 1 ? Hr(f, t - 1, r, a, o) : fo(o, f) : a || (o[o.length] = f);
|
|
1322
1322
|
}
|
|
1323
1323
|
return o;
|
|
@@ -1343,14 +1343,14 @@ function Co(e, t) {
|
|
|
1343
1343
|
return -1;
|
|
1344
1344
|
}
|
|
1345
1345
|
var Fe = Co, wo = Fe, xo = Array.prototype, To = xo.splice;
|
|
1346
|
-
function
|
|
1346
|
+
function Ao(e) {
|
|
1347
1347
|
var t = this.__data__, r = wo(t, e);
|
|
1348
1348
|
if (r < 0)
|
|
1349
1349
|
return !1;
|
|
1350
1350
|
var a = t.length - 1;
|
|
1351
1351
|
return r == a ? t.pop() : To.call(t, r, 1), --this.size, !0;
|
|
1352
1352
|
}
|
|
1353
|
-
var
|
|
1353
|
+
var So = Ao, Eo = Fe;
|
|
1354
1354
|
function Oo(e) {
|
|
1355
1355
|
var t = this.__data__, r = Eo(t, e);
|
|
1356
1356
|
return r < 0 ? void 0 : t[r][1];
|
|
@@ -1364,20 +1364,20 @@ function Mo(e, t) {
|
|
|
1364
1364
|
var r = this.__data__, a = jo(r, e);
|
|
1365
1365
|
return a < 0 ? (++this.size, r.push([e, t])) : r[a][1] = t, this;
|
|
1366
1366
|
}
|
|
1367
|
-
var ko = Mo, Do = mo, Fo =
|
|
1368
|
-
function
|
|
1367
|
+
var ko = Mo, Do = mo, Fo = So, No = Io, Bo = Lo, Go = ko;
|
|
1368
|
+
function ce(e) {
|
|
1369
1369
|
var t = -1, r = e == null ? 0 : e.length;
|
|
1370
1370
|
for (this.clear(); ++t < r; ) {
|
|
1371
1371
|
var a = e[t];
|
|
1372
1372
|
this.set(a[0], a[1]);
|
|
1373
1373
|
}
|
|
1374
1374
|
}
|
|
1375
|
-
|
|
1376
|
-
|
|
1377
|
-
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
var Ne =
|
|
1375
|
+
ce.prototype.clear = Do;
|
|
1376
|
+
ce.prototype.delete = Fo;
|
|
1377
|
+
ce.prototype.get = No;
|
|
1378
|
+
ce.prototype.has = Bo;
|
|
1379
|
+
ce.prototype.set = Go;
|
|
1380
|
+
var Ne = ce, Wo = Ne;
|
|
1381
1381
|
function Ho() {
|
|
1382
1382
|
this.__data__ = new Wo(), this.size = 0;
|
|
1383
1383
|
}
|
|
@@ -1437,15 +1437,15 @@ function xi(e) {
|
|
|
1437
1437
|
return t.test(vi(e));
|
|
1438
1438
|
}
|
|
1439
1439
|
var Ti = xi;
|
|
1440
|
-
function
|
|
1440
|
+
function Ai(e, t) {
|
|
1441
1441
|
return e == null ? void 0 : e[t];
|
|
1442
1442
|
}
|
|
1443
|
-
var
|
|
1443
|
+
var Si = Ai, Ei = Ti, Oi = Si;
|
|
1444
1444
|
function Ii(e, t) {
|
|
1445
1445
|
var r = Oi(e, t);
|
|
1446
1446
|
return Ei(r) ? r : void 0;
|
|
1447
1447
|
}
|
|
1448
|
-
var
|
|
1448
|
+
var fe = Ii, Pi = fe, Ri = J, Li = Pi(Ri, "Map"), pt = Li, ji = fe, Mi = ji(Object, "create"), Ge = Mi, er = Ge;
|
|
1449
1449
|
function ki() {
|
|
1450
1450
|
this.__data__ = er ? er(null) : {}, this.size = 0;
|
|
1451
1451
|
}
|
|
@@ -1474,19 +1474,19 @@ function Qi(e, t) {
|
|
|
1474
1474
|
return this.size += this.has(e) ? 0 : 1, r[e] = Xi && t === void 0 ? Zi : t, this;
|
|
1475
1475
|
}
|
|
1476
1476
|
var es = Qi, ts = Di, rs = Ni, ns = Ui, as = Ji, os = es;
|
|
1477
|
-
function
|
|
1477
|
+
function de(e) {
|
|
1478
1478
|
var t = -1, r = e == null ? 0 : e.length;
|
|
1479
1479
|
for (this.clear(); ++t < r; ) {
|
|
1480
1480
|
var a = e[t];
|
|
1481
1481
|
this.set(a[0], a[1]);
|
|
1482
1482
|
}
|
|
1483
1483
|
}
|
|
1484
|
-
|
|
1485
|
-
|
|
1486
|
-
|
|
1487
|
-
|
|
1488
|
-
|
|
1489
|
-
var is =
|
|
1484
|
+
de.prototype.clear = ts;
|
|
1485
|
+
de.prototype.delete = rs;
|
|
1486
|
+
de.prototype.get = ns;
|
|
1487
|
+
de.prototype.has = as;
|
|
1488
|
+
de.prototype.set = os;
|
|
1489
|
+
var is = de, tr = is, ss = Ne, ls = pt;
|
|
1490
1490
|
function cs() {
|
|
1491
1491
|
this.size = 0, this.__data__ = {
|
|
1492
1492
|
hash: new tr(),
|
|
@@ -1522,20 +1522,20 @@ function Ts(e, t) {
|
|
|
1522
1522
|
var r = xs(this, e), a = r.size;
|
|
1523
1523
|
return r.set(e, t), this.size += r.size == a ? 0 : 1, this;
|
|
1524
1524
|
}
|
|
1525
|
-
var
|
|
1526
|
-
function
|
|
1525
|
+
var As = Ts, Ss = fs, Es = bs, Os = _s, Is = ws, Ps = As;
|
|
1526
|
+
function ue(e) {
|
|
1527
1527
|
var t = -1, r = e == null ? 0 : e.length;
|
|
1528
1528
|
for (this.clear(); ++t < r; ) {
|
|
1529
1529
|
var a = e[t];
|
|
1530
1530
|
this.set(a[0], a[1]);
|
|
1531
1531
|
}
|
|
1532
1532
|
}
|
|
1533
|
-
|
|
1534
|
-
|
|
1535
|
-
|
|
1536
|
-
|
|
1537
|
-
|
|
1538
|
-
var gt =
|
|
1533
|
+
ue.prototype.clear = Ss;
|
|
1534
|
+
ue.prototype.delete = Es;
|
|
1535
|
+
ue.prototype.get = Os;
|
|
1536
|
+
ue.prototype.has = Is;
|
|
1537
|
+
ue.prototype.set = Ps;
|
|
1538
|
+
var gt = ue, Rs = Ne, Ls = pt, js = gt, Ms = 200;
|
|
1539
1539
|
function ks(e, t) {
|
|
1540
1540
|
var r = this.__data__;
|
|
1541
1541
|
if (r instanceof Rs) {
|
|
@@ -1547,16 +1547,16 @@ function ks(e, t) {
|
|
|
1547
1547
|
return r.set(e, t), this.size = r.size, this;
|
|
1548
1548
|
}
|
|
1549
1549
|
var Ds = ks, Fs = Ne, Ns = zo, Bs = Ko, Gs = qo, Ws = Jo, Hs = Ds;
|
|
1550
|
-
function
|
|
1550
|
+
function pe(e) {
|
|
1551
1551
|
var t = this.__data__ = new Fs(e);
|
|
1552
1552
|
this.size = t.size;
|
|
1553
1553
|
}
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
|
|
1557
|
-
|
|
1558
|
-
|
|
1559
|
-
var Yr =
|
|
1554
|
+
pe.prototype.clear = Ns;
|
|
1555
|
+
pe.prototype.delete = Bs;
|
|
1556
|
+
pe.prototype.get = Gs;
|
|
1557
|
+
pe.prototype.has = Ws;
|
|
1558
|
+
pe.prototype.set = Hs;
|
|
1559
|
+
var Yr = pe, zs = "__lodash_hash_undefined__";
|
|
1560
1560
|
function Us(e) {
|
|
1561
1561
|
return this.__data__.set(e, zs), this;
|
|
1562
1562
|
}
|
|
@@ -1584,38 +1584,38 @@ function tl(e, t) {
|
|
|
1584
1584
|
return e.has(t);
|
|
1585
1585
|
}
|
|
1586
1586
|
var rl = tl, nl = Zs, al = el, ol = rl, il = 1, sl = 2;
|
|
1587
|
-
function ll(e, t, r, a, o,
|
|
1588
|
-
var
|
|
1589
|
-
if (f != u && !(
|
|
1587
|
+
function ll(e, t, r, a, o, s) {
|
|
1588
|
+
var l = r & il, f = e.length, u = t.length;
|
|
1589
|
+
if (f != u && !(l && u > f))
|
|
1590
1590
|
return !1;
|
|
1591
|
-
var d =
|
|
1592
|
-
if (d &&
|
|
1593
|
-
return d == t &&
|
|
1594
|
-
var
|
|
1595
|
-
for (
|
|
1596
|
-
var m = e[
|
|
1591
|
+
var d = s.get(e), v = s.get(t);
|
|
1592
|
+
if (d && v)
|
|
1593
|
+
return d == t && v == e;
|
|
1594
|
+
var h = -1, p = !0, $ = r & sl ? new nl() : void 0;
|
|
1595
|
+
for (s.set(e, t), s.set(t, e); ++h < f; ) {
|
|
1596
|
+
var m = e[h], x = t[h];
|
|
1597
1597
|
if (a)
|
|
1598
|
-
var
|
|
1599
|
-
if (
|
|
1600
|
-
if (
|
|
1598
|
+
var S = l ? a(x, m, h, t, e, s) : a(m, x, h, e, t, s);
|
|
1599
|
+
if (S !== void 0) {
|
|
1600
|
+
if (S)
|
|
1601
1601
|
continue;
|
|
1602
1602
|
p = !1;
|
|
1603
1603
|
break;
|
|
1604
1604
|
}
|
|
1605
|
-
if (
|
|
1606
|
-
if (!al(t, function(y,
|
|
1607
|
-
if (!ol(C
|
|
1608
|
-
return
|
|
1605
|
+
if ($) {
|
|
1606
|
+
if (!al(t, function(y, C) {
|
|
1607
|
+
if (!ol($, C) && (m === y || o(m, y, r, a, s)))
|
|
1608
|
+
return $.push(C);
|
|
1609
1609
|
})) {
|
|
1610
1610
|
p = !1;
|
|
1611
1611
|
break;
|
|
1612
1612
|
}
|
|
1613
|
-
} else if (!(m === x || o(m, x, r, a,
|
|
1613
|
+
} else if (!(m === x || o(m, x, r, a, s))) {
|
|
1614
1614
|
p = !1;
|
|
1615
1615
|
break;
|
|
1616
1616
|
}
|
|
1617
1617
|
}
|
|
1618
|
-
return
|
|
1618
|
+
return s.delete(e), s.delete(t), p;
|
|
1619
1619
|
}
|
|
1620
1620
|
var qr = ll, cl = J, fl = cl.Uint8Array, dl = fl;
|
|
1621
1621
|
function ul(e) {
|
|
@@ -1631,22 +1631,22 @@ function gl(e) {
|
|
|
1631
1631
|
r[++t] = a;
|
|
1632
1632
|
}), r;
|
|
1633
1633
|
}
|
|
1634
|
-
var hl = gl, rr = $e, nr = dl, vl = zr, bl = qr, yl = pl, ml = hl, _l = 1, $l = 2, Cl = "[object Boolean]", wl = "[object Date]", xl = "[object Error]", Tl = "[object Map]",
|
|
1635
|
-
function Ll(e, t, r, a, o,
|
|
1634
|
+
var hl = gl, rr = $e, nr = dl, vl = zr, bl = qr, yl = pl, ml = hl, _l = 1, $l = 2, Cl = "[object Boolean]", wl = "[object Date]", xl = "[object Error]", Tl = "[object Map]", Al = "[object Number]", Sl = "[object RegExp]", El = "[object Set]", Ol = "[object String]", Il = "[object Symbol]", Pl = "[object ArrayBuffer]", Rl = "[object DataView]", ar = rr ? rr.prototype : void 0, et = ar ? ar.valueOf : void 0;
|
|
1635
|
+
function Ll(e, t, r, a, o, s, l) {
|
|
1636
1636
|
switch (r) {
|
|
1637
1637
|
case Rl:
|
|
1638
1638
|
if (e.byteLength != t.byteLength || e.byteOffset != t.byteOffset)
|
|
1639
1639
|
return !1;
|
|
1640
1640
|
e = e.buffer, t = t.buffer;
|
|
1641
1641
|
case Pl:
|
|
1642
|
-
return !(e.byteLength != t.byteLength || !
|
|
1642
|
+
return !(e.byteLength != t.byteLength || !s(new nr(e), new nr(t)));
|
|
1643
1643
|
case Cl:
|
|
1644
1644
|
case wl:
|
|
1645
|
-
case
|
|
1645
|
+
case Al:
|
|
1646
1646
|
return vl(+e, +t);
|
|
1647
1647
|
case xl:
|
|
1648
1648
|
return e.name == t.name && e.message == t.message;
|
|
1649
|
-
case
|
|
1649
|
+
case Sl:
|
|
1650
1650
|
case Ol:
|
|
1651
1651
|
return e == t + "";
|
|
1652
1652
|
case Tl:
|
|
@@ -1655,12 +1655,12 @@ function Ll(e, t, r, a, o, l, s) {
|
|
|
1655
1655
|
var u = a & _l;
|
|
1656
1656
|
if (f || (f = ml), e.size != t.size && !u)
|
|
1657
1657
|
return !1;
|
|
1658
|
-
var d =
|
|
1658
|
+
var d = l.get(e);
|
|
1659
1659
|
if (d)
|
|
1660
1660
|
return d == t;
|
|
1661
|
-
a |= $l,
|
|
1662
|
-
var
|
|
1663
|
-
return
|
|
1661
|
+
a |= $l, l.set(e, t);
|
|
1662
|
+
var v = bl(f(e), f(t), a, o, s, l);
|
|
1663
|
+
return l.delete(e), v;
|
|
1664
1664
|
case Il:
|
|
1665
1665
|
if (et)
|
|
1666
1666
|
return et.call(e) == et.call(t);
|
|
@@ -1674,11 +1674,11 @@ function Dl(e, t, r) {
|
|
|
1674
1674
|
}
|
|
1675
1675
|
var Fl = Dl;
|
|
1676
1676
|
function Nl(e, t) {
|
|
1677
|
-
for (var r = -1, a = e == null ? 0 : e.length, o = 0,
|
|
1678
|
-
var
|
|
1679
|
-
t(
|
|
1677
|
+
for (var r = -1, a = e == null ? 0 : e.length, o = 0, s = []; ++r < a; ) {
|
|
1678
|
+
var l = e[r];
|
|
1679
|
+
t(l, r, e) && (s[o++] = l);
|
|
1680
1680
|
}
|
|
1681
|
-
return
|
|
1681
|
+
return s;
|
|
1682
1682
|
}
|
|
1683
1683
|
var Bl = Nl;
|
|
1684
1684
|
function Gl() {
|
|
@@ -1694,12 +1694,12 @@ function Vl(e, t) {
|
|
|
1694
1694
|
a[r] = t(r);
|
|
1695
1695
|
return a;
|
|
1696
1696
|
}
|
|
1697
|
-
var Jl = Vl,
|
|
1697
|
+
var Jl = Vl, le = {}, Xl = {
|
|
1698
1698
|
get exports() {
|
|
1699
|
-
return
|
|
1699
|
+
return le;
|
|
1700
1700
|
},
|
|
1701
1701
|
set exports(e) {
|
|
1702
|
-
|
|
1702
|
+
le = e;
|
|
1703
1703
|
}
|
|
1704
1704
|
};
|
|
1705
1705
|
function Zl() {
|
|
@@ -1707,9 +1707,9 @@ function Zl() {
|
|
|
1707
1707
|
}
|
|
1708
1708
|
var Ql = Zl;
|
|
1709
1709
|
(function(e, t) {
|
|
1710
|
-
var r = J, a = Ql, o = t && !t.nodeType && t,
|
|
1710
|
+
var r = J, a = Ql, o = t && !t.nodeType && t, s = o && !0 && e && !e.nodeType && e, l = s && s.exports === o, f = l ? r.Buffer : void 0, u = f ? f.isBuffer : void 0, d = u || a;
|
|
1711
1711
|
e.exports = d;
|
|
1712
|
-
})(Xl,
|
|
1712
|
+
})(Xl, le);
|
|
1713
1713
|
var ec = 9007199254740991, tc = /^(?:0|[1-9]\d*)$/;
|
|
1714
1714
|
function rc(e, t) {
|
|
1715
1715
|
var r = typeof e;
|
|
@@ -1719,8 +1719,8 @@ var Vr = rc, nc = 9007199254740991;
|
|
|
1719
1719
|
function ac(e) {
|
|
1720
1720
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= nc;
|
|
1721
1721
|
}
|
|
1722
|
-
var ht = ac, oc = Ce, ic = ht, sc = we, lc = "[object Arguments]", cc = "[object Array]", fc = "[object Boolean]", dc = "[object Date]", uc = "[object Error]", pc = "[object Function]", gc = "[object Map]", hc = "[object Number]", vc = "[object Object]", bc = "[object RegExp]", yc = "[object Set]", mc = "[object String]", _c = "[object WeakMap]", $c = "[object ArrayBuffer]", Cc = "[object DataView]", wc = "[object Float32Array]", xc = "[object Float64Array]", Tc = "[object Int8Array]",
|
|
1723
|
-
I[wc] = I[xc] = I[Tc] = I[
|
|
1722
|
+
var ht = ac, oc = Ce, ic = ht, sc = we, lc = "[object Arguments]", cc = "[object Array]", fc = "[object Boolean]", dc = "[object Date]", uc = "[object Error]", pc = "[object Function]", gc = "[object Map]", hc = "[object Number]", vc = "[object Object]", bc = "[object RegExp]", yc = "[object Set]", mc = "[object String]", _c = "[object WeakMap]", $c = "[object ArrayBuffer]", Cc = "[object DataView]", wc = "[object Float32Array]", xc = "[object Float64Array]", Tc = "[object Int8Array]", Ac = "[object Int16Array]", Sc = "[object Int32Array]", Ec = "[object Uint8Array]", Oc = "[object Uint8ClampedArray]", Ic = "[object Uint16Array]", Pc = "[object Uint32Array]", I = {};
|
|
1723
|
+
I[wc] = I[xc] = I[Tc] = I[Ac] = I[Sc] = I[Ec] = I[Oc] = I[Ic] = I[Pc] = !0;
|
|
1724
1724
|
I[lc] = I[cc] = I[$c] = I[fc] = I[Cc] = I[dc] = I[uc] = I[pc] = I[gc] = I[hc] = I[vc] = I[bc] = I[yc] = I[mc] = I[_c] = !1;
|
|
1725
1725
|
function Rc(e) {
|
|
1726
1726
|
return sc(e) && ic(e.length) && !!I[oc(e)];
|
|
@@ -1740,23 +1740,23 @@ var Mc = jc, ke = {}, kc = {
|
|
|
1740
1740
|
}
|
|
1741
1741
|
};
|
|
1742
1742
|
(function(e, t) {
|
|
1743
|
-
var r = Br, a = t && !t.nodeType && t, o = a && !0 && e && !e.nodeType && e,
|
|
1743
|
+
var r = Br, a = t && !t.nodeType && t, o = a && !0 && e && !e.nodeType && e, s = o && o.exports === a, l = s && r.process, f = function() {
|
|
1744
1744
|
try {
|
|
1745
1745
|
var u = o && o.require && o.require("util").types;
|
|
1746
|
-
return u ||
|
|
1746
|
+
return u || l && l.binding && l.binding("util");
|
|
1747
1747
|
} catch {
|
|
1748
1748
|
}
|
|
1749
1749
|
}();
|
|
1750
1750
|
e.exports = f;
|
|
1751
1751
|
})(kc, ke);
|
|
1752
|
-
var Dc = Lc, Fc = Mc, ir = ke, sr = ir && ir.isTypedArray, Nc = sr ? Fc(sr) : Dc, vt = Nc, Bc = Jl, Gc = De, Wc = K, Hc =
|
|
1752
|
+
var Dc = Lc, Fc = Mc, ir = ke, sr = ir && ir.isTypedArray, Nc = sr ? Fc(sr) : Dc, vt = Nc, Bc = Jl, Gc = De, Wc = K, Hc = le, zc = Vr, Uc = vt, Kc = Object.prototype, Yc = Kc.hasOwnProperty;
|
|
1753
1753
|
function qc(e, t) {
|
|
1754
|
-
var r = Wc(e), a = !r && Gc(e), o = !r && !a && Hc(e),
|
|
1754
|
+
var r = Wc(e), a = !r && Gc(e), o = !r && !a && Hc(e), s = !r && !a && !o && Uc(e), l = r || a || o || s, f = l ? Bc(e.length, String) : [], u = f.length;
|
|
1755
1755
|
for (var d in e)
|
|
1756
|
-
(t || Yc.call(e, d)) && !(
|
|
1756
|
+
(t || Yc.call(e, d)) && !(l && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1757
1757
|
(d == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1758
1758
|
o && (d == "offset" || d == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1759
|
-
|
|
1759
|
+
s && (d == "buffer" || d == "byteLength" || d == "byteOffset") || // Skip index properties.
|
|
1760
1760
|
zc(d, u))) && f.push(d);
|
|
1761
1761
|
return f;
|
|
1762
1762
|
}
|
|
@@ -1793,40 +1793,40 @@ function mf(e) {
|
|
|
1793
1793
|
return vf(e, yf, bf);
|
|
1794
1794
|
}
|
|
1795
1795
|
var _f = mf, lr = _f, $f = 1, Cf = Object.prototype, wf = Cf.hasOwnProperty;
|
|
1796
|
-
function xf(e, t, r, a, o,
|
|
1797
|
-
var
|
|
1798
|
-
if (u !=
|
|
1796
|
+
function xf(e, t, r, a, o, s) {
|
|
1797
|
+
var l = r & $f, f = lr(e), u = f.length, d = lr(t), v = d.length;
|
|
1798
|
+
if (u != v && !l)
|
|
1799
1799
|
return !1;
|
|
1800
|
-
for (var
|
|
1801
|
-
var p = f[
|
|
1802
|
-
if (!(
|
|
1800
|
+
for (var h = u; h--; ) {
|
|
1801
|
+
var p = f[h];
|
|
1802
|
+
if (!(l ? p in t : wf.call(t, p)))
|
|
1803
1803
|
return !1;
|
|
1804
1804
|
}
|
|
1805
|
-
var
|
|
1806
|
-
if (
|
|
1807
|
-
return
|
|
1805
|
+
var $ = s.get(e), m = s.get(t);
|
|
1806
|
+
if ($ && m)
|
|
1807
|
+
return $ == t && m == e;
|
|
1808
1808
|
var x = !0;
|
|
1809
|
-
|
|
1810
|
-
for (var
|
|
1811
|
-
p = f[
|
|
1812
|
-
var y = e[p],
|
|
1809
|
+
s.set(e, t), s.set(t, e);
|
|
1810
|
+
for (var S = l; ++h < u; ) {
|
|
1811
|
+
p = f[h];
|
|
1812
|
+
var y = e[p], C = t[p];
|
|
1813
1813
|
if (a)
|
|
1814
|
-
var
|
|
1815
|
-
if (!(
|
|
1814
|
+
var F = l ? a(C, y, p, t, e, s) : a(y, C, p, e, t, s);
|
|
1815
|
+
if (!(F === void 0 ? y === C || o(y, C, r, a, s) : F)) {
|
|
1816
1816
|
x = !1;
|
|
1817
1817
|
break;
|
|
1818
1818
|
}
|
|
1819
|
-
|
|
1819
|
+
S || (S = p == "constructor");
|
|
1820
1820
|
}
|
|
1821
|
-
if (x && !
|
|
1822
|
-
var
|
|
1823
|
-
|
|
1821
|
+
if (x && !S) {
|
|
1822
|
+
var L = e.constructor, M = t.constructor;
|
|
1823
|
+
L != M && "constructor" in e && "constructor" in t && !(typeof L == "function" && L instanceof L && typeof M == "function" && M instanceof M) && (x = !1);
|
|
1824
1824
|
}
|
|
1825
|
-
return
|
|
1825
|
+
return s.delete(e), s.delete(t), x;
|
|
1826
1826
|
}
|
|
1827
|
-
var Tf = xf,
|
|
1827
|
+
var Tf = xf, Af = fe, Sf = J, Ef = Af(Sf, "DataView"), Of = Ef, If = fe, Pf = J, Rf = If(Pf, "Promise"), Lf = Rf, jf = fe, Mf = J, kf = jf(Mf, "Set"), Df = kf, Ff = fe, Nf = J, Bf = Ff(Nf, "WeakMap"), Gf = Bf, ot = Of, it = pt, st = Lf, lt = Df, ct = Gf, Zr = Ce, ge = Kr, cr = "[object Map]", Wf = "[object Object]", fr = "[object Promise]", dr = "[object Set]", ur = "[object WeakMap]", pr = "[object DataView]", Hf = ge(ot), zf = ge(it), Uf = ge(st), Kf = ge(lt), Yf = ge(ct), re = Zr;
|
|
1828
1828
|
(ot && re(new ot(new ArrayBuffer(1))) != pr || it && re(new it()) != cr || st && re(st.resolve()) != fr || lt && re(new lt()) != dr || ct && re(new ct()) != ur) && (re = function(e) {
|
|
1829
|
-
var t = Zr(e), r = t == Wf ? e.constructor : void 0, a = r ?
|
|
1829
|
+
var t = Zr(e), r = t == Wf ? e.constructor : void 0, a = r ? ge(r) : "";
|
|
1830
1830
|
if (a)
|
|
1831
1831
|
switch (a) {
|
|
1832
1832
|
case Hf:
|
|
@@ -1842,26 +1842,26 @@ var Tf = xf, Sf = de, Af = J, Ef = Sf(Af, "DataView"), Of = Ef, If = de, Pf = J,
|
|
|
1842
1842
|
}
|
|
1843
1843
|
return t;
|
|
1844
1844
|
});
|
|
1845
|
-
var Qr = re, tt = Yr, qf = qr, Vf = jl, Jf = Tf, gr = Qr, hr = K, vr =
|
|
1846
|
-
function ed(e, t, r, a, o,
|
|
1847
|
-
var
|
|
1845
|
+
var Qr = re, tt = Yr, qf = qr, Vf = jl, Jf = Tf, gr = Qr, hr = K, vr = le, Xf = vt, Zf = 1, br = "[object Arguments]", yr = "[object Array]", Le = "[object Object]", Qf = Object.prototype, mr = Qf.hasOwnProperty;
|
|
1846
|
+
function ed(e, t, r, a, o, s) {
|
|
1847
|
+
var l = hr(e), f = hr(t), u = l ? yr : gr(e), d = f ? yr : gr(t);
|
|
1848
1848
|
u = u == br ? Le : u, d = d == br ? Le : d;
|
|
1849
|
-
var
|
|
1849
|
+
var v = u == Le, h = d == Le, p = u == d;
|
|
1850
1850
|
if (p && vr(e)) {
|
|
1851
1851
|
if (!vr(t))
|
|
1852
1852
|
return !1;
|
|
1853
|
-
|
|
1853
|
+
l = !0, v = !1;
|
|
1854
1854
|
}
|
|
1855
|
-
if (p && !
|
|
1856
|
-
return
|
|
1855
|
+
if (p && !v)
|
|
1856
|
+
return s || (s = new tt()), l || Xf(e) ? qf(e, t, r, a, o, s) : Vf(e, t, u, r, a, o, s);
|
|
1857
1857
|
if (!(r & Zf)) {
|
|
1858
|
-
var
|
|
1859
|
-
if (
|
|
1860
|
-
var x =
|
|
1861
|
-
return
|
|
1858
|
+
var $ = v && mr.call(e, "__wrapped__"), m = h && mr.call(t, "__wrapped__");
|
|
1859
|
+
if ($ || m) {
|
|
1860
|
+
var x = $ ? e.value() : e, S = m ? t.value() : t;
|
|
1861
|
+
return s || (s = new tt()), o(x, S, r, a, s);
|
|
1862
1862
|
}
|
|
1863
1863
|
}
|
|
1864
|
-
return p ? (
|
|
1864
|
+
return p ? (s || (s = new tt()), Jf(e, t, r, a, o, s)) : !1;
|
|
1865
1865
|
}
|
|
1866
1866
|
var td = ed, rd = td, _r = we;
|
|
1867
1867
|
function en(e, t, r, a, o) {
|
|
@@ -1869,25 +1869,25 @@ function en(e, t, r, a, o) {
|
|
|
1869
1869
|
}
|
|
1870
1870
|
var tn = en, nd = Yr, ad = tn, od = 1, id = 2;
|
|
1871
1871
|
function sd(e, t, r, a) {
|
|
1872
|
-
var o = r.length,
|
|
1872
|
+
var o = r.length, s = o, l = !a;
|
|
1873
1873
|
if (e == null)
|
|
1874
|
-
return !
|
|
1874
|
+
return !s;
|
|
1875
1875
|
for (e = Object(e); o--; ) {
|
|
1876
1876
|
var f = r[o];
|
|
1877
|
-
if (
|
|
1877
|
+
if (l && f[2] ? f[1] !== e[f[0]] : !(f[0] in e))
|
|
1878
1878
|
return !1;
|
|
1879
1879
|
}
|
|
1880
|
-
for (; ++o <
|
|
1880
|
+
for (; ++o < s; ) {
|
|
1881
1881
|
f = r[o];
|
|
1882
|
-
var u = f[0], d = e[u],
|
|
1883
|
-
if (
|
|
1882
|
+
var u = f[0], d = e[u], v = f[1];
|
|
1883
|
+
if (l && f[2]) {
|
|
1884
1884
|
if (d === void 0 && !(u in e))
|
|
1885
1885
|
return !1;
|
|
1886
1886
|
} else {
|
|
1887
|
-
var
|
|
1887
|
+
var h = new nd();
|
|
1888
1888
|
if (a)
|
|
1889
|
-
var p = a(d,
|
|
1890
|
-
if (!(p === void 0 ? ad(
|
|
1889
|
+
var p = a(d, v, u, e, t, h);
|
|
1890
|
+
if (!(p === void 0 ? ad(v, d, od | id, a, h) : p))
|
|
1891
1891
|
return !1;
|
|
1892
1892
|
}
|
|
1893
1893
|
}
|
|
@@ -1922,23 +1922,23 @@ var _d = md, $d = Ce, Cd = we, wd = "[object Symbol]";
|
|
|
1922
1922
|
function xd(e) {
|
|
1923
1923
|
return typeof e == "symbol" || Cd(e) && $d(e) == wd;
|
|
1924
1924
|
}
|
|
1925
|
-
var He = xd, Td = K,
|
|
1925
|
+
var He = xd, Td = K, Ad = He, Sd = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Ed = /^\w*$/;
|
|
1926
1926
|
function Od(e, t) {
|
|
1927
1927
|
if (Td(e))
|
|
1928
1928
|
return !1;
|
|
1929
1929
|
var r = typeof e;
|
|
1930
|
-
return r == "number" || r == "symbol" || r == "boolean" || e == null ||
|
|
1930
|
+
return r == "number" || r == "symbol" || r == "boolean" || e == null || Ad(e) ? !0 : Ed.test(e) || !Sd.test(e) || t != null && e in Object(t);
|
|
1931
1931
|
}
|
|
1932
1932
|
var mt = Od, an = gt, Id = "Expected a function";
|
|
1933
1933
|
function _t(e, t) {
|
|
1934
1934
|
if (typeof e != "function" || t != null && typeof t != "function")
|
|
1935
1935
|
throw new TypeError(Id);
|
|
1936
1936
|
var r = function() {
|
|
1937
|
-
var a = arguments, o = t ? t.apply(this, a) : a[0],
|
|
1938
|
-
if (
|
|
1939
|
-
return
|
|
1940
|
-
var
|
|
1941
|
-
return r.cache =
|
|
1937
|
+
var a = arguments, o = t ? t.apply(this, a) : a[0], s = r.cache;
|
|
1938
|
+
if (s.has(o))
|
|
1939
|
+
return s.get(o);
|
|
1940
|
+
var l = e.apply(this, a);
|
|
1941
|
+
return r.cache = s.set(o, l) || s, l;
|
|
1942
1942
|
};
|
|
1943
1943
|
return r.cache = new (_t.Cache || an)(), r;
|
|
1944
1944
|
}
|
|
@@ -1952,8 +1952,8 @@ function jd(e) {
|
|
|
1952
1952
|
}
|
|
1953
1953
|
var Md = jd, kd = Md, Dd = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Fd = /\\(\\)?/g, Nd = kd(function(e) {
|
|
1954
1954
|
var t = [];
|
|
1955
|
-
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Dd, function(r, a, o,
|
|
1956
|
-
t.push(o ?
|
|
1955
|
+
return e.charCodeAt(0) === 46 && t.push(""), e.replace(Dd, function(r, a, o, s) {
|
|
1956
|
+
t.push(o ? s.replace(Fd, "$1") : a || r);
|
|
1957
1957
|
}), t;
|
|
1958
1958
|
}), Bd = Nd;
|
|
1959
1959
|
function Gd(e, t) {
|
|
@@ -2006,23 +2006,23 @@ function du(e, t) {
|
|
|
2006
2006
|
var uu = du, pu = sn, gu = De, hu = K, vu = Vr, bu = ht, yu = ze;
|
|
2007
2007
|
function mu(e, t, r) {
|
|
2008
2008
|
t = pu(t, e);
|
|
2009
|
-
for (var a = -1, o = t.length,
|
|
2010
|
-
var
|
|
2011
|
-
if (!(
|
|
2009
|
+
for (var a = -1, o = t.length, s = !1; ++a < o; ) {
|
|
2010
|
+
var l = yu(t[a]);
|
|
2011
|
+
if (!(s = e != null && r(e, l)))
|
|
2012
2012
|
break;
|
|
2013
|
-
e = e[
|
|
2013
|
+
e = e[l];
|
|
2014
2014
|
}
|
|
2015
|
-
return
|
|
2015
|
+
return s || ++a != o ? s : (o = e == null ? 0 : e.length, !!o && bu(o) && vu(l, o) && (hu(e) || gu(e)));
|
|
2016
2016
|
}
|
|
2017
2017
|
var _u = mu, $u = uu, Cu = _u;
|
|
2018
2018
|
function wu(e, t) {
|
|
2019
2019
|
return e != null && Cu(e, t, $u);
|
|
2020
2020
|
}
|
|
2021
|
-
var xu = wu, Tu = tn,
|
|
2021
|
+
var xu = wu, Tu = tn, Au = fu, Su = xu, Eu = mt, Ou = rn, Iu = nn, Pu = ze, Ru = 1, Lu = 2;
|
|
2022
2022
|
function ju(e, t) {
|
|
2023
2023
|
return Eu(e) && Ou(t) ? Iu(Pu(e), t) : function(r) {
|
|
2024
|
-
var a =
|
|
2025
|
-
return a === void 0 && a === t ?
|
|
2024
|
+
var a = Au(r, e);
|
|
2025
|
+
return a === void 0 && a === t ? Su(r, e) : Tu(t, a, Ru | Lu);
|
|
2026
2026
|
};
|
|
2027
2027
|
}
|
|
2028
2028
|
var Mu = ju;
|
|
@@ -2054,20 +2054,20 @@ function ap(e) {
|
|
|
2054
2054
|
return function(t, r, a) {
|
|
2055
2055
|
var o = Object(t);
|
|
2056
2056
|
if (!rp(t)) {
|
|
2057
|
-
var
|
|
2057
|
+
var s = tp(r);
|
|
2058
2058
|
t = np(t), r = function(f) {
|
|
2059
|
-
return
|
|
2059
|
+
return s(o[f], f, o);
|
|
2060
2060
|
};
|
|
2061
2061
|
}
|
|
2062
|
-
var
|
|
2063
|
-
return
|
|
2062
|
+
var l = e(t, r, a);
|
|
2063
|
+
return l > -1 ? o[s ? t[l] : l] : void 0;
|
|
2064
2064
|
};
|
|
2065
2065
|
}
|
|
2066
2066
|
var op = ap;
|
|
2067
2067
|
function ip(e, t, r, a) {
|
|
2068
|
-
for (var o = e.length,
|
|
2069
|
-
if (t(e[
|
|
2070
|
-
return
|
|
2068
|
+
for (var o = e.length, s = r + (a ? 1 : -1); a ? s-- : ++s < o; )
|
|
2069
|
+
if (t(e[s], s, e))
|
|
2070
|
+
return s;
|
|
2071
2071
|
return -1;
|
|
2072
2072
|
}
|
|
2073
2073
|
var sp = ip, lp = /\s/;
|
|
@@ -2096,19 +2096,19 @@ function $p(e) {
|
|
|
2096
2096
|
var r = yp.test(e);
|
|
2097
2097
|
return r || mp.test(e) ? _p(e.slice(2), r ? 2 : 8) : bp.test(e) ? Tr : +e;
|
|
2098
2098
|
}
|
|
2099
|
-
var Cp = $p, wp = Cp,
|
|
2099
|
+
var Cp = $p, wp = Cp, Ar = 1 / 0, xp = 17976931348623157e292;
|
|
2100
2100
|
function Tp(e) {
|
|
2101
2101
|
if (!e)
|
|
2102
2102
|
return e === 0 ? e : 0;
|
|
2103
|
-
if (e = wp(e), e ===
|
|
2103
|
+
if (e = wp(e), e === Ar || e === -Ar) {
|
|
2104
2104
|
var t = e < 0 ? -1 : 1;
|
|
2105
2105
|
return t * xp;
|
|
2106
2106
|
}
|
|
2107
2107
|
return e === e ? e : 0;
|
|
2108
2108
|
}
|
|
2109
|
-
var
|
|
2109
|
+
var Ap = Tp, Sp = Ap;
|
|
2110
2110
|
function Ep(e) {
|
|
2111
|
-
var t =
|
|
2111
|
+
var t = Sp(e), r = t % 1;
|
|
2112
2112
|
return t === t ? r ? t - r : t : 0;
|
|
2113
2113
|
}
|
|
2114
2114
|
var Op = Ep, Ip = sp, Pp = cn, Rp = Op, Lp = Math.max;
|
|
@@ -2119,7 +2119,7 @@ function jp(e, t, r) {
|
|
|
2119
2119
|
var o = r == null ? 0 : Rp(r);
|
|
2120
2120
|
return o < 0 && (o = Lp(a + o, 0)), Ip(e, Pp(t), o);
|
|
2121
2121
|
}
|
|
2122
|
-
var Mp = jp, kp = op, Dp = Mp, Fp = kp(Dp), Np = Fp, Bp = Xr, Gp = Qr, Wp = De, Hp = K, zp = bt, Up =
|
|
2122
|
+
var Mp = jp, kp = op, Dp = Mp, Fp = kp(Dp), Np = Fp, Bp = Xr, Gp = Qr, Wp = De, Hp = K, zp = bt, Up = le, Kp = Jr, Yp = vt, qp = "[object Map]", Vp = "[object Set]", Jp = Object.prototype, Xp = Jp.hasOwnProperty;
|
|
2123
2123
|
function Zp(e) {
|
|
2124
2124
|
if (e == null)
|
|
2125
2125
|
return !0;
|
|
@@ -2137,10 +2137,10 @@ function Zp(e) {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
var fn = Zp;
|
|
2139
2139
|
const $t = (e, t, r) => (t - e) * (r / 100) + e, dn = (e) => e.some((t) => t.active), Qp = (e) => fn(e) ? !1 : dn(e.filters), un = (e) => e.filters.map((t) => {
|
|
2140
|
-
const { value: r, defaultValue: a, defaultColor: o, min:
|
|
2140
|
+
const { value: r, defaultValue: a, defaultColor: o, min: s, max: l, color: f } = t, u = r || a || 1, d = o || f;
|
|
2141
2141
|
return {
|
|
2142
2142
|
...t,
|
|
2143
|
-
brightness: $t(
|
|
2143
|
+
brightness: $t(s, l, u),
|
|
2144
2144
|
color: d
|
|
2145
2145
|
};
|
|
2146
2146
|
}), eg = (e) => fn(e) ? e : {
|
|
@@ -2152,13 +2152,13 @@ const $t = (e, t, r) => (t - e) * (r / 100) + e, dn = (e) => e.some((t) => t.act
|
|
|
2152
2152
|
const r = Np(e, { objects: [{ name: t }] }), { type: a = null } = r || {};
|
|
2153
2153
|
return a;
|
|
2154
2154
|
}, ng = (e) => e.map((t) => {
|
|
2155
|
-
const { defaultValue: r, min: a, max: o } = t,
|
|
2155
|
+
const { defaultValue: r, min: a, max: o } = t, s = r || 1;
|
|
2156
2156
|
return {
|
|
2157
2157
|
...t,
|
|
2158
2158
|
active: !1,
|
|
2159
2159
|
color: "",
|
|
2160
|
-
brightness: $t(
|
|
2161
|
-
value:
|
|
2160
|
+
brightness: $t(s, a, o),
|
|
2161
|
+
value: s
|
|
2162
2162
|
};
|
|
2163
2163
|
}), pn = ({
|
|
2164
2164
|
width: e = 600,
|
|
@@ -2166,27 +2166,27 @@ const $t = (e, t, r) => (t - e) * (r / 100) + e, dn = (e) => e.some((t) => t.act
|
|
|
2166
2166
|
className: r,
|
|
2167
2167
|
image: a,
|
|
2168
2168
|
color: o = "transparent",
|
|
2169
|
-
brightness:
|
|
2169
|
+
brightness: s = 1
|
|
2170
2170
|
}) => {
|
|
2171
|
-
const
|
|
2172
|
-
|
|
2173
|
-
}, d = (
|
|
2174
|
-
var
|
|
2175
|
-
const p = (
|
|
2171
|
+
const l = dt(null), f = new Image(), u = (v, h, p, $) => {
|
|
2172
|
+
v.fillStyle = h, v.fillRect(0, 0, p, $);
|
|
2173
|
+
}, d = (v, h) => {
|
|
2174
|
+
var $;
|
|
2175
|
+
const p = ($ = l.current) == null ? void 0 : $.getContext("2d");
|
|
2176
2176
|
if (p) {
|
|
2177
|
-
const m = CSS.supports && CSS.supports("background-color",
|
|
2178
|
-
p.clearRect(0, 0, x,
|
|
2179
|
-
p == null || p.drawImage(f, 0, 0, x,
|
|
2180
|
-
}, f.src =
|
|
2177
|
+
const m = CSS.supports && CSS.supports("background-color", h) ? h : "transparent", { width: x, height: S } = p.canvas;
|
|
2178
|
+
p.clearRect(0, 0, x, S), p.globalCompositeOperation = "multiply", f.onload = () => {
|
|
2179
|
+
p == null || p.drawImage(f, 0, 0, x, S), u(p, m, x, S);
|
|
2180
|
+
}, f.src = v;
|
|
2181
2181
|
}
|
|
2182
2182
|
};
|
|
2183
|
-
return
|
|
2183
|
+
return V(() => {
|
|
2184
2184
|
d(a, o);
|
|
2185
2185
|
}, [o, a]), /* @__PURE__ */ i(
|
|
2186
2186
|
"canvas",
|
|
2187
2187
|
{
|
|
2188
|
-
ref:
|
|
2189
|
-
style: { filter: `brightness(${
|
|
2188
|
+
ref: l,
|
|
2189
|
+
style: { filter: `brightness(${s}) contrast(1.3)` },
|
|
2190
2190
|
role: "img",
|
|
2191
2191
|
className: r,
|
|
2192
2192
|
width: e,
|
|
@@ -2215,10 +2215,12 @@ const ag = b.section`
|
|
|
2215
2215
|
"reset reset"
|
|
2216
2216
|
"caption caption";
|
|
2217
2217
|
`}
|
|
2218
|
-
|
|
2218
|
+
`;
|
|
2219
|
+
b.h2`
|
|
2219
2220
|
grid-area: title;
|
|
2220
2221
|
margin: 0;
|
|
2221
|
-
|
|
2222
|
+
`;
|
|
2223
|
+
const og = b.dl`
|
|
2222
2224
|
grid-area: subtitle;
|
|
2223
2225
|
margin: 0;
|
|
2224
2226
|
font-size: 18px;
|
|
@@ -2243,22 +2245,22 @@ const ag = b.section`
|
|
|
2243
2245
|
white-space: pre;
|
|
2244
2246
|
}
|
|
2245
2247
|
}
|
|
2246
|
-
`,
|
|
2248
|
+
`, ig = b.div`
|
|
2247
2249
|
display: grid;
|
|
2248
2250
|
grid-template-columns: max-content minmax(100px, 1fr) minmax(100px, 2fr);
|
|
2249
2251
|
grid-auto-rows: max-content;
|
|
2250
2252
|
grid-area: controls;
|
|
2251
2253
|
gap: 10px;
|
|
2252
2254
|
align-items: center;
|
|
2253
|
-
`,
|
|
2255
|
+
`, sg = b(Jn)`
|
|
2254
2256
|
padding: 0;
|
|
2255
2257
|
width: 100%;
|
|
2256
|
-
`,
|
|
2258
|
+
`, lg = b.div`
|
|
2257
2259
|
position: relative;
|
|
2258
2260
|
aspect-ratio: 1 / 1;
|
|
2259
2261
|
grid-area: image;
|
|
2260
2262
|
background-color: rgba(0, 0, 0, 0.1);
|
|
2261
|
-
`,
|
|
2263
|
+
`, cg = b.img`
|
|
2262
2264
|
position: absolute;
|
|
2263
2265
|
top: 0;
|
|
2264
2266
|
right: 0;
|
|
@@ -2267,7 +2269,7 @@ const ag = b.section`
|
|
|
2267
2269
|
display: ${({ filtersActive: e }) => e ? "block" : "none"};
|
|
2268
2270
|
width: 100%;
|
|
2269
2271
|
height: 100%;
|
|
2270
|
-
`,
|
|
2272
|
+
`, fg = b(pn)`
|
|
2271
2273
|
user-select: none;
|
|
2272
2274
|
position: absolute;
|
|
2273
2275
|
top: 0;
|
|
@@ -2285,20 +2287,20 @@ const ag = b.section`
|
|
|
2285
2287
|
visibility: hidden;
|
|
2286
2288
|
opacity: 0;
|
|
2287
2289
|
`}
|
|
2288
|
-
`,
|
|
2290
|
+
`, dg = b.div`
|
|
2289
2291
|
grid-column: span 3;
|
|
2290
2292
|
`, rt = b.div`
|
|
2291
2293
|
font-weight: var(--FONT_WEIGHT_BOLD, 600);
|
|
2292
|
-
`,
|
|
2294
|
+
`, ug = b.footer`
|
|
2293
2295
|
grid-area: caption;
|
|
2294
|
-
`,
|
|
2296
|
+
`, pg = b(Pr)`
|
|
2295
2297
|
grid-area: reset;
|
|
2296
2298
|
text-align: left;
|
|
2297
2299
|
|
|
2298
2300
|
span {
|
|
2299
2301
|
text-align: left;
|
|
2300
2302
|
}
|
|
2301
|
-
`,
|
|
2303
|
+
`, gg = b(Pr)`
|
|
2302
2304
|
border-radius: 50%;
|
|
2303
2305
|
font-weight: var(--FONT_WEIGHT_MEDIUM, 500);
|
|
2304
2306
|
font-size: 22px;
|
|
@@ -2329,21 +2331,21 @@ const ag = b.section`
|
|
|
2329
2331
|
isDisabled: r,
|
|
2330
2332
|
onChangeFilterCallback: a,
|
|
2331
2333
|
buttonLabelledById: o,
|
|
2332
|
-
selectLabelledById:
|
|
2333
|
-
sliderLabelledById:
|
|
2334
|
+
selectLabelledById: s,
|
|
2335
|
+
sliderLabelledById: l
|
|
2334
2336
|
}) => {
|
|
2335
|
-
const { t: f } = ne(), { label: u, color: d = "", value:
|
|
2337
|
+
const { t: f } = ne(), { label: u, color: d = "", value: v, active: h, min: p, max: $ } = e, m = () => a && a({ ...e, active: !h }), x = (C) => C && a && a({ ...e, color: C }), S = (C) => a && a({
|
|
2336
2338
|
...e,
|
|
2337
|
-
brightness: $t(p, C
|
|
2338
|
-
value:
|
|
2339
|
+
brightness: $t(p, $, C),
|
|
2340
|
+
value: C
|
|
2339
2341
|
}), y = f("colorTool.actions.select_filter");
|
|
2340
|
-
return /* @__PURE__ */ w(
|
|
2342
|
+
return /* @__PURE__ */ w(ee, { children: [
|
|
2341
2343
|
/* @__PURE__ */ i(
|
|
2342
|
-
|
|
2344
|
+
gg,
|
|
2343
2345
|
{
|
|
2344
2346
|
disabled: r,
|
|
2345
2347
|
onClick: m,
|
|
2346
|
-
active:
|
|
2348
|
+
active: h,
|
|
2347
2349
|
"aria-labelledby": o,
|
|
2348
2350
|
children: u
|
|
2349
2351
|
}
|
|
@@ -2358,18 +2360,18 @@ const ag = b.section`
|
|
|
2358
2360
|
onChangeCallback: x,
|
|
2359
2361
|
width: "100%",
|
|
2360
2362
|
maxWidth: "100%",
|
|
2361
|
-
labelledById:
|
|
2363
|
+
labelledById: s
|
|
2362
2364
|
}
|
|
2363
2365
|
),
|
|
2364
2366
|
/* @__PURE__ */ i(
|
|
2365
|
-
|
|
2367
|
+
sg,
|
|
2366
2368
|
{
|
|
2367
2369
|
min: 1,
|
|
2368
2370
|
max: 100,
|
|
2369
|
-
onChangeCallback:
|
|
2370
|
-
isDisabled: !
|
|
2371
|
-
labelledbyId:
|
|
2372
|
-
value:
|
|
2371
|
+
onChangeCallback: S,
|
|
2372
|
+
isDisabled: !h,
|
|
2373
|
+
labelledbyId: l,
|
|
2374
|
+
value: v,
|
|
2373
2375
|
label: u,
|
|
2374
2376
|
color: d
|
|
2375
2377
|
}
|
|
@@ -2379,9 +2381,9 @@ const ag = b.section`
|
|
|
2379
2381
|
gn.displayName = "Widgets.ColorTool.FilterControls";
|
|
2380
2382
|
const hn = ({
|
|
2381
2383
|
filters: e
|
|
2382
|
-
}) => /* @__PURE__ */ w(
|
|
2384
|
+
}) => /* @__PURE__ */ w(lg, { children: [
|
|
2383
2385
|
/* @__PURE__ */ i(
|
|
2384
|
-
|
|
2386
|
+
cg,
|
|
2385
2387
|
{
|
|
2386
2388
|
alt: "",
|
|
2387
2389
|
src: "data:image/gif;base64,R0lGODlhAQABAIAAAAUEBAAAACwAAAAAAQABAAACAkQBADs=",
|
|
@@ -2389,129 +2391,127 @@ const hn = ({
|
|
|
2389
2391
|
}
|
|
2390
2392
|
),
|
|
2391
2393
|
e && e.map((t) => {
|
|
2392
|
-
const { label: r, image: a, color: o, brightness:
|
|
2394
|
+
const { label: r, image: a, color: o, brightness: s, active: l } = t;
|
|
2393
2395
|
return /* @__PURE__ */ i(
|
|
2394
|
-
|
|
2396
|
+
fg,
|
|
2395
2397
|
{
|
|
2396
2398
|
image: a,
|
|
2397
2399
|
color: o,
|
|
2398
|
-
brightness:
|
|
2399
|
-
active:
|
|
2400
|
+
brightness: s,
|
|
2401
|
+
active: l
|
|
2400
2402
|
},
|
|
2401
2403
|
`filter-${r}`
|
|
2402
2404
|
);
|
|
2403
2405
|
})
|
|
2404
2406
|
] });
|
|
2405
2407
|
hn.displayName = "Widgets.ColorTool.ImageComposite";
|
|
2406
|
-
const
|
|
2407
|
-
|
|
2408
|
-
|
|
2409
|
-
|
|
2410
|
-
|
|
2411
|
-
|
|
2412
|
-
selectionCallback: l,
|
|
2408
|
+
const hg = ({
|
|
2409
|
+
data: e,
|
|
2410
|
+
objectOptions: t = [],
|
|
2411
|
+
selectedData: r,
|
|
2412
|
+
colorOptions: a = [],
|
|
2413
|
+
selectionCallback: o,
|
|
2413
2414
|
isDisabled: s = !1,
|
|
2414
|
-
isDisplayOnly:
|
|
2415
|
-
hideImage:
|
|
2416
|
-
hideSubtitle:
|
|
2415
|
+
isDisplayOnly: l = !1,
|
|
2416
|
+
hideImage: f = !1,
|
|
2417
|
+
hideSubtitle: u = !1
|
|
2417
2418
|
}) => {
|
|
2418
|
-
const { ref:
|
|
2419
|
-
eg(
|
|
2419
|
+
const { ref: d, width: v = 1 } = ut(), [h, p] = W(
|
|
2420
|
+
eg(r)
|
|
2420
2421
|
);
|
|
2421
|
-
|
|
2422
|
-
|
|
2423
|
-
}, [
|
|
2424
|
-
const
|
|
2425
|
-
const { label:
|
|
2426
|
-
(
|
|
2422
|
+
V(() => {
|
|
2423
|
+
o && o(h);
|
|
2424
|
+
}, [h]);
|
|
2425
|
+
const $ = (B) => {
|
|
2426
|
+
const { label: H } = B, { filters: N } = h, z = N.map(
|
|
2427
|
+
(Y) => Y.label === H ? B : Y
|
|
2427
2428
|
);
|
|
2428
|
-
return
|
|
2429
|
-
...
|
|
2430
|
-
filters:
|
|
2429
|
+
return p({
|
|
2430
|
+
...h,
|
|
2431
|
+
filters: z
|
|
2431
2432
|
});
|
|
2432
|
-
},
|
|
2433
|
-
const { value:
|
|
2434
|
-
return
|
|
2435
|
-
name:
|
|
2436
|
-
filters: tg(
|
|
2433
|
+
}, m = (B) => {
|
|
2434
|
+
const { value: H } = B.target;
|
|
2435
|
+
return p({
|
|
2436
|
+
name: H,
|
|
2437
|
+
filters: tg(e, H)
|
|
2437
2438
|
});
|
|
2438
|
-
},
|
|
2439
|
-
...
|
|
2440
|
-
filters: ng(
|
|
2441
|
-
}),
|
|
2439
|
+
}, x = () => p({
|
|
2440
|
+
...h,
|
|
2441
|
+
filters: ng(h.filters)
|
|
2442
|
+
}), S = e.length > 1, { t: y } = ne(), C = y("colorTool.actions.select_an_object"), { filters: F, name: L, caption: M } = h, X = rg(e, L);
|
|
2442
2443
|
return /* @__PURE__ */ w(
|
|
2443
2444
|
ag,
|
|
2444
2445
|
{
|
|
2445
|
-
ref:
|
|
2446
|
+
ref: d,
|
|
2446
2447
|
isCondensed: v < 1e3,
|
|
2447
|
-
hideControls:
|
|
2448
|
+
hideControls: l,
|
|
2448
2449
|
children: [
|
|
2449
|
-
|
|
2450
|
-
|
|
2451
|
-
|
|
2452
|
-
/* @__PURE__ */ i("
|
|
2453
|
-
/* @__PURE__ */ i("dd", { children: ee })
|
|
2450
|
+
L && (l || S) && /* @__PURE__ */ w(og, { children: [
|
|
2451
|
+
S && /* @__PURE__ */ w(ee, { children: [
|
|
2452
|
+
/* @__PURE__ */ i("dt", { children: y("colorTool.labels.object_type") }),
|
|
2453
|
+
/* @__PURE__ */ i("dd", { children: X })
|
|
2454
2454
|
] }),
|
|
2455
|
-
!
|
|
2456
|
-
/* @__PURE__ */ i("dt", { children:
|
|
2457
|
-
context:
|
|
2455
|
+
!u && /* @__PURE__ */ w(ee, { children: [
|
|
2456
|
+
/* @__PURE__ */ i("dt", { children: y("colorTool.labels.object", {
|
|
2457
|
+
context: S ? "selected" : !1
|
|
2458
2458
|
}) }),
|
|
2459
2459
|
/* @__PURE__ */ i("dd", { children: L })
|
|
2460
2460
|
] })
|
|
2461
2461
|
] }),
|
|
2462
|
-
!
|
|
2463
|
-
|
|
2462
|
+
!l && /* @__PURE__ */ w(ig, { children: [
|
|
2463
|
+
S && /* @__PURE__ */ i(dg, { children: /* @__PURE__ */ i(
|
|
2464
2464
|
Xn,
|
|
2465
2465
|
{
|
|
2466
2466
|
id: "astroObjectSelector",
|
|
2467
|
-
placeholder:
|
|
2468
|
-
options:
|
|
2469
|
-
onChange:
|
|
2467
|
+
placeholder: C,
|
|
2468
|
+
options: t,
|
|
2469
|
+
onChange: m,
|
|
2470
2470
|
value: L,
|
|
2471
2471
|
disabled: s
|
|
2472
2472
|
}
|
|
2473
2473
|
) }),
|
|
2474
|
-
|
|
2475
|
-
/* @__PURE__ */ i(rt, { id: "filterLabel", children:
|
|
2476
|
-
/* @__PURE__ */ i(rt, { id: "colorLabel", children:
|
|
2477
|
-
/* @__PURE__ */ i(rt, { id: "intensityLabel", children:
|
|
2474
|
+
F && /* @__PURE__ */ w(ee, { children: [
|
|
2475
|
+
/* @__PURE__ */ i(rt, { id: "filterLabel", children: y("colorTool.labels.filter") }),
|
|
2476
|
+
/* @__PURE__ */ i(rt, { id: "colorLabel", children: y("colorTool.labels.color") }),
|
|
2477
|
+
/* @__PURE__ */ i(rt, { id: "intensityLabel", children: y("colorTool.labels.color_intensity") })
|
|
2478
2478
|
] }),
|
|
2479
|
-
|
|
2480
|
-
const { label:
|
|
2479
|
+
F && F.map((B) => {
|
|
2480
|
+
const { label: H, isDisabled: N } = B;
|
|
2481
2481
|
return /* @__PURE__ */ i(
|
|
2482
2482
|
gn,
|
|
2483
2483
|
{
|
|
2484
|
-
filter:
|
|
2485
|
-
isDisabled: s ||
|
|
2486
|
-
colorOptions:
|
|
2487
|
-
onChangeFilterCallback:
|
|
2484
|
+
filter: B,
|
|
2485
|
+
isDisabled: s || N,
|
|
2486
|
+
colorOptions: a,
|
|
2487
|
+
onChangeFilterCallback: $,
|
|
2488
2488
|
buttonLabelledById: "filterLabel",
|
|
2489
2489
|
selectLabelledById: "colorLabel",
|
|
2490
2490
|
sliderLabelledById: "intensityLabel"
|
|
2491
2491
|
},
|
|
2492
|
-
`filter-${
|
|
2492
|
+
`filter-${H}`
|
|
2493
2493
|
);
|
|
2494
2494
|
})
|
|
2495
2495
|
] }),
|
|
2496
|
-
!
|
|
2497
|
-
L && !
|
|
2498
|
-
|
|
2496
|
+
!f && /* @__PURE__ */ i(hn, { filters: F }),
|
|
2497
|
+
L && !l && /* @__PURE__ */ i(
|
|
2498
|
+
pg,
|
|
2499
2499
|
{
|
|
2500
|
-
disabled: s || !Qp(
|
|
2501
|
-
onClick:
|
|
2500
|
+
disabled: s || !Qp(h),
|
|
2501
|
+
onClick: x,
|
|
2502
2502
|
icon: "Reset",
|
|
2503
|
-
children:
|
|
2503
|
+
children: y("colorTool.actions.reset")
|
|
2504
2504
|
}
|
|
2505
2505
|
),
|
|
2506
|
-
|
|
2506
|
+
M && /* @__PURE__ */ i(ug, { children: M })
|
|
2507
2507
|
]
|
|
2508
2508
|
}
|
|
2509
2509
|
);
|
|
2510
2510
|
};
|
|
2511
|
-
|
|
2512
|
-
const
|
|
2511
|
+
hg.displayName = "Widgets.ColorTool";
|
|
2512
|
+
const vg = b.div`
|
|
2513
2513
|
background-color: var(--black, #000);
|
|
2514
|
-
`,
|
|
2514
|
+
`, bg = b.div`
|
|
2515
2515
|
box-sizing: border-box;
|
|
2516
2516
|
display: flex;
|
|
2517
2517
|
align-items: center;
|
|
@@ -2524,9 +2524,9 @@ const bg = b.div`
|
|
|
2524
2524
|
b.label`
|
|
2525
2525
|
color: var(--white, #fff);
|
|
2526
2526
|
`;
|
|
2527
|
-
const
|
|
2527
|
+
const yg = b.svg`
|
|
2528
2528
|
font-size: 42px;
|
|
2529
|
-
`,
|
|
2529
|
+
`, Sr = b.line`
|
|
2530
2530
|
fill: none;
|
|
2531
2531
|
stroke: #ffffff;
|
|
2532
2532
|
stroke-miterlimit: 10;
|
|
@@ -2541,22 +2541,22 @@ const mg = b.svg`
|
|
|
2541
2541
|
style: { opacity: e ? 0 : 1 }
|
|
2542
2542
|
}))`
|
|
2543
2543
|
fill: ${({ arrowColor: e }) => e};
|
|
2544
|
-
`,
|
|
2544
|
+
`, mg = b.polygon`
|
|
2545
2545
|
fill: none;
|
|
2546
2546
|
stroke: #ffffff;
|
|
2547
2547
|
stroke-miterlimit: 10;
|
|
2548
2548
|
stroke-width: 12;
|
|
2549
|
-
`,
|
|
2549
|
+
`, _g = b.line`
|
|
2550
2550
|
fill: none;
|
|
2551
2551
|
stroke-linecap: round;
|
|
2552
2552
|
stroke-miterlimit: 10;
|
|
2553
2553
|
stroke-width: 27.27;
|
|
2554
|
-
`,
|
|
2554
|
+
`, $g = ({
|
|
2555
2555
|
selectedColor: e = "none",
|
|
2556
2556
|
selectionCallback: t,
|
|
2557
2557
|
isReadOnly: r = !1
|
|
2558
2558
|
}) => {
|
|
2559
|
-
const { t: a } = ne(),
|
|
2559
|
+
const { t: a } = ne(), o = {
|
|
2560
2560
|
violet: "#861cff",
|
|
2561
2561
|
blue: "#0019ff",
|
|
2562
2562
|
green: "#6bd853",
|
|
@@ -2564,277 +2564,270 @@ const mg = b.svg`
|
|
|
2564
2564
|
orange: "#f18922",
|
|
2565
2565
|
red: "#ec1c24",
|
|
2566
2566
|
none: "transparent"
|
|
2567
|
-
},
|
|
2568
|
-
value:
|
|
2569
|
-
label: a(`filterTool.colors.${
|
|
2570
|
-
icon: /* @__PURE__ */ i(Zn, { color:
|
|
2571
|
-
}));
|
|
2572
|
-
|
|
2573
|
-
|
|
2574
|
-
|
|
2575
|
-
|
|
2576
|
-
|
|
2577
|
-
|
|
2578
|
-
|
|
2579
|
-
|
|
2580
|
-
|
|
2581
|
-
|
|
2582
|
-
|
|
2583
|
-
|
|
2584
|
-
|
|
2585
|
-
|
|
2586
|
-
|
|
2587
|
-
|
|
2588
|
-
|
|
2589
|
-
|
|
2590
|
-
|
|
2591
|
-
|
|
2592
|
-
|
|
2593
|
-
|
|
2594
|
-
|
|
2595
|
-
|
|
2596
|
-
|
|
2597
|
-
|
|
2598
|
-
|
|
2599
|
-
|
|
2600
|
-
|
|
2601
|
-
|
|
2602
|
-
|
|
2603
|
-
|
|
2604
|
-
] }),
|
|
2605
|
-
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-green", children: [
|
|
2606
|
-
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: s.green }),
|
|
2607
|
-
/* @__PURE__ */ i("stop", { offset: "78%", stopColor: s.green }),
|
|
2608
|
-
/* @__PURE__ */ i("stop", { offset: "78%", stopColor: "transparent" }),
|
|
2609
|
-
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2610
|
-
] }),
|
|
2611
|
-
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-blue", children: [
|
|
2612
|
-
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: s.blue }),
|
|
2613
|
-
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: s.blue }),
|
|
2614
|
-
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: "transparent" }),
|
|
2615
|
-
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2616
|
-
] }),
|
|
2617
|
-
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-violet", children: [
|
|
2618
|
-
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: s.violet }),
|
|
2619
|
-
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: s.violet }),
|
|
2620
|
-
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: "transparent" }),
|
|
2621
|
-
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2622
|
-
] })
|
|
2567
|
+
}, s = Object.keys(o).map((u) => ({
|
|
2568
|
+
value: u,
|
|
2569
|
+
label: a(`filterTool.colors.${u}`),
|
|
2570
|
+
icon: /* @__PURE__ */ i(Zn, { color: u, size: "small" })
|
|
2571
|
+
})), l = (u) => e !== u && e !== "none", f = a("filterTool.selectLabel");
|
|
2572
|
+
return /* @__PURE__ */ w(vg, { children: [
|
|
2573
|
+
/* @__PURE__ */ w(
|
|
2574
|
+
yg,
|
|
2575
|
+
{
|
|
2576
|
+
version: "1.1",
|
|
2577
|
+
viewBox: "0 0 1551.6 736.7",
|
|
2578
|
+
"aria-describedby": "filterTitle",
|
|
2579
|
+
children: [
|
|
2580
|
+
/* @__PURE__ */ w("defs", { children: [
|
|
2581
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-red", children: [
|
|
2582
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.red }),
|
|
2583
|
+
/* @__PURE__ */ i("stop", { offset: "81%", stopColor: o.red }),
|
|
2584
|
+
/* @__PURE__ */ i("stop", { offset: "81%", stopColor: "transparent" }),
|
|
2585
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2586
|
+
] }),
|
|
2587
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-orange", children: [
|
|
2588
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.orange }),
|
|
2589
|
+
/* @__PURE__ */ i("stop", { offset: "80%", stopColor: o.orange }),
|
|
2590
|
+
/* @__PURE__ */ i("stop", { offset: "80%", stopColor: "transparent" }),
|
|
2591
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2592
|
+
] }),
|
|
2593
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-yellow", children: [
|
|
2594
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.yellow }),
|
|
2595
|
+
/* @__PURE__ */ i("stop", { offset: "79%", stopColor: o.yellow }),
|
|
2596
|
+
/* @__PURE__ */ i("stop", { offset: "79%", stopColor: "transparent" }),
|
|
2597
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2598
|
+
] }),
|
|
2599
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-green", children: [
|
|
2600
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.green }),
|
|
2601
|
+
/* @__PURE__ */ i("stop", { offset: "78%", stopColor: o.green }),
|
|
2602
|
+
/* @__PURE__ */ i("stop", { offset: "78%", stopColor: "transparent" }),
|
|
2603
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2623
2604
|
] }),
|
|
2624
|
-
/* @__PURE__ */ w(
|
|
2625
|
-
"
|
|
2605
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-blue", children: [
|
|
2606
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.blue }),
|
|
2607
|
+
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: o.blue }),
|
|
2608
|
+
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: "transparent" }),
|
|
2609
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2610
|
+
] }),
|
|
2611
|
+
/* @__PURE__ */ w("linearGradient", { id: "no-arrow-violet", children: [
|
|
2612
|
+
/* @__PURE__ */ i("stop", { offset: "0%", stopColor: o.violet }),
|
|
2613
|
+
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: o.violet }),
|
|
2614
|
+
/* @__PURE__ */ i("stop", { offset: "77%", stopColor: "transparent" }),
|
|
2615
|
+
/* @__PURE__ */ i("stop", { offset: "100%", stopColor: "transparent" })
|
|
2616
|
+
] })
|
|
2617
|
+
] }),
|
|
2618
|
+
/* @__PURE__ */ w(
|
|
2619
|
+
"radialGradient",
|
|
2620
|
+
{
|
|
2621
|
+
id: "gradient_1_",
|
|
2622
|
+
cx: "718.4264",
|
|
2623
|
+
cy: "-294.6529",
|
|
2624
|
+
r: "417.8",
|
|
2625
|
+
fx: "638.9412",
|
|
2626
|
+
fy: "-303.5418",
|
|
2627
|
+
gradientTransform: "matrix(1 0 0 1 0 534)",
|
|
2628
|
+
gradientUnits: "userSpaceOnUse",
|
|
2629
|
+
children: [
|
|
2630
|
+
/* @__PURE__ */ i("stop", { offset: "0.12", style: { stopColor: "#FFFFFF" } }),
|
|
2631
|
+
/* @__PURE__ */ i("stop", { offset: "1", style: { stopColor: "#000000" } })
|
|
2632
|
+
]
|
|
2633
|
+
}
|
|
2634
|
+
),
|
|
2635
|
+
/* @__PURE__ */ i(
|
|
2636
|
+
"polygon",
|
|
2637
|
+
{
|
|
2638
|
+
id: "gradient",
|
|
2639
|
+
points: "653.2,127 867.4,498 438.9,498",
|
|
2640
|
+
fill: "url(#gradient_1_)",
|
|
2641
|
+
style: { opacity: 0.3 }
|
|
2642
|
+
}
|
|
2643
|
+
),
|
|
2644
|
+
/* @__PURE__ */ i("text", { transform: "matrix(1 0 0 1 1206.5464 164.1372)", fill: "#ffffff", children: /* @__PURE__ */ i(me, { i18nKey: "filterTool.filter" }) }),
|
|
2645
|
+
/* @__PURE__ */ i(
|
|
2646
|
+
Sr,
|
|
2647
|
+
{
|
|
2648
|
+
id: "white_ray",
|
|
2649
|
+
x1: "108.2",
|
|
2650
|
+
y1: "463.3",
|
|
2651
|
+
x2: "546.1",
|
|
2652
|
+
y2: "312.5"
|
|
2653
|
+
}
|
|
2654
|
+
),
|
|
2655
|
+
/* @__PURE__ */ i(
|
|
2656
|
+
Sr,
|
|
2657
|
+
{
|
|
2658
|
+
id: "white_light_arrow_line",
|
|
2659
|
+
x1: "376.8",
|
|
2660
|
+
y1: "327.9",
|
|
2661
|
+
x2: "430",
|
|
2662
|
+
y2: "309.6"
|
|
2663
|
+
}
|
|
2664
|
+
),
|
|
2665
|
+
/* @__PURE__ */ i(
|
|
2666
|
+
"polygon",
|
|
2667
|
+
{
|
|
2668
|
+
id: "white_light_arrow",
|
|
2669
|
+
points: "420.7,325.4 428.1,310.3 413,302.9 422.5,299.7 437.6,307 430.2,322.1",
|
|
2670
|
+
fill: "#ffffff"
|
|
2671
|
+
}
|
|
2672
|
+
),
|
|
2673
|
+
/* @__PURE__ */ i(
|
|
2674
|
+
"text",
|
|
2675
|
+
{
|
|
2676
|
+
transform: "matrix(0.9446 -0.3282 0.3282 0.9446 152.0965 417.697)",
|
|
2677
|
+
fill: "#ffffff",
|
|
2678
|
+
children: /* @__PURE__ */ i(me, { i18nKey: "filterTool.whiteLight" })
|
|
2679
|
+
}
|
|
2680
|
+
),
|
|
2681
|
+
/* @__PURE__ */ i("text", { transform: "matrix(1 0 0 1 598.2964 606.0872)", fill: "#ffffff", children: /* @__PURE__ */ i(me, { i18nKey: "filterTool.prism" }) }),
|
|
2682
|
+
/* @__PURE__ */ w("g", { id: "rays_out", children: [
|
|
2683
|
+
/* @__PURE__ */ i(
|
|
2684
|
+
ie,
|
|
2626
2685
|
{
|
|
2627
|
-
id: "
|
|
2628
|
-
|
|
2629
|
-
|
|
2630
|
-
|
|
2631
|
-
fx: "638.9412",
|
|
2632
|
-
fy: "-303.5418",
|
|
2633
|
-
gradientTransform: "matrix(1 0 0 1 0 534)",
|
|
2634
|
-
gradientUnits: "userSpaceOnUse",
|
|
2635
|
-
children: [
|
|
2636
|
-
/* @__PURE__ */ i("stop", { offset: "0.12", style: { stopColor: "#FFFFFF" } }),
|
|
2637
|
-
/* @__PURE__ */ i("stop", { offset: "1", style: { stopColor: "#000000" } })
|
|
2638
|
-
]
|
|
2686
|
+
id: "violet_ray",
|
|
2687
|
+
rayColor: o.violet,
|
|
2688
|
+
isHidden: l("violet"),
|
|
2689
|
+
d: "M546.1,312.5l212.8,1.9h0.4l0.5,0.2L1396,522.8c6.9,2.3,10.7,9.7,8.5,16.7s-9.7,10.7-16.7,8.5l0,0l-0.4-0.1L757.8,320.4l0.9,0.2L546.1,312.5z"
|
|
2639
2690
|
}
|
|
2640
2691
|
),
|
|
2641
2692
|
/* @__PURE__ */ i(
|
|
2642
|
-
|
|
2693
|
+
se,
|
|
2643
2694
|
{
|
|
2644
|
-
id: "
|
|
2645
|
-
|
|
2646
|
-
|
|
2647
|
-
|
|
2695
|
+
id: "violet_arrow",
|
|
2696
|
+
arrowColor: o.violet,
|
|
2697
|
+
isHidden: l("violet"),
|
|
2698
|
+
points: "1426.5,547.9 1353.2,550.6 1377.9,530.1 1372.3,498.5"
|
|
2648
2699
|
}
|
|
2649
2700
|
),
|
|
2650
|
-
/* @__PURE__ */ i("text", { transform: "matrix(1 0 0 1 1206.5464 164.1372)", fill: "#ffffff", children: /* @__PURE__ */ i(le, { i18nKey: "filterTool.filter" }) }),
|
|
2651
2701
|
/* @__PURE__ */ i(
|
|
2652
|
-
|
|
2702
|
+
ie,
|
|
2653
2703
|
{
|
|
2654
|
-
id: "
|
|
2655
|
-
|
|
2656
|
-
|
|
2657
|
-
|
|
2658
|
-
y2: "312.5"
|
|
2704
|
+
id: "blue_ray",
|
|
2705
|
+
rayColor: o.blue,
|
|
2706
|
+
isHidden: l("blue"),
|
|
2707
|
+
d: "M546.1,312.4l206.5-4.4h0.4l0.4,0.1l641.1,164c7,1.8,11.2,8.9,9.4,15.9c-1.8,7-8.9,11.2-15.9,9.4l-0.4-0.1L751.8,313.8l0.8,0.1L546.1,312.4z"
|
|
2659
2708
|
}
|
|
2660
2709
|
),
|
|
2661
2710
|
/* @__PURE__ */ i(
|
|
2662
|
-
|
|
2711
|
+
se,
|
|
2663
2712
|
{
|
|
2664
|
-
id: "
|
|
2665
|
-
|
|
2666
|
-
|
|
2667
|
-
|
|
2668
|
-
y2: "309.6"
|
|
2713
|
+
id: "blue_arrow",
|
|
2714
|
+
arrowColor: o.blue,
|
|
2715
|
+
isHidden: l("blue"),
|
|
2716
|
+
points: "1431.5,496.4 1358.6,504.1 1381.8,482 1374.1,450.9"
|
|
2669
2717
|
}
|
|
2670
2718
|
),
|
|
2671
2719
|
/* @__PURE__ */ i(
|
|
2672
|
-
|
|
2720
|
+
ie,
|
|
2673
2721
|
{
|
|
2674
|
-
id: "
|
|
2675
|
-
|
|
2676
|
-
|
|
2722
|
+
id: "green_ray",
|
|
2723
|
+
rayColor: o.green,
|
|
2724
|
+
isHidden: l("green"),
|
|
2725
|
+
d: "M547.8,312l200.6-10.6h0.3l0.4,0.1l644.8,120.3c7,1.4,11.5,8.2,10.1,15.2c-1.4,6.9-8,11.4-14.9,10.2l-0.4-0.1L747.8,307.4l0.7,0.1L547.8,312z"
|
|
2677
2726
|
}
|
|
2678
2727
|
),
|
|
2679
2728
|
/* @__PURE__ */ i(
|
|
2680
|
-
|
|
2729
|
+
se,
|
|
2681
2730
|
{
|
|
2682
|
-
|
|
2683
|
-
|
|
2684
|
-
|
|
2731
|
+
id: "green_arrow",
|
|
2732
|
+
arrowColor: o.green,
|
|
2733
|
+
isHidden: l("green"),
|
|
2734
|
+
points: "1437.9,443.4 1366.1,458.4 1387,434.1 1376.2,403.9"
|
|
2685
2735
|
}
|
|
2686
2736
|
),
|
|
2687
|
-
/* @__PURE__ */ i("text", { transform: "matrix(1 0 0 1 598.2964 606.0872)", fill: "#ffffff", children: /* @__PURE__ */ i(le, { i18nKey: "filterTool.prism" }) }),
|
|
2688
|
-
/* @__PURE__ */ w("g", { id: "rays_out", children: [
|
|
2689
|
-
/* @__PURE__ */ i(
|
|
2690
|
-
ie,
|
|
2691
|
-
{
|
|
2692
|
-
id: "violet_ray",
|
|
2693
|
-
rayColor: s.violet,
|
|
2694
|
-
isHidden: u("violet"),
|
|
2695
|
-
d: "M546.1,312.5l212.8,1.9h0.4l0.5,0.2L1396,522.8c6.9,2.3,10.7,9.7,8.5,16.7s-9.7,10.7-16.7,8.5l0,0l-0.4-0.1L757.8,320.4l0.9,0.2L546.1,312.5z"
|
|
2696
|
-
}
|
|
2697
|
-
),
|
|
2698
|
-
/* @__PURE__ */ i(
|
|
2699
|
-
se,
|
|
2700
|
-
{
|
|
2701
|
-
id: "violet_arrow",
|
|
2702
|
-
arrowColor: s.violet,
|
|
2703
|
-
isHidden: u("violet"),
|
|
2704
|
-
points: "1426.5,547.9 1353.2,550.6 1377.9,530.1 1372.3,498.5"
|
|
2705
|
-
}
|
|
2706
|
-
),
|
|
2707
|
-
/* @__PURE__ */ i(
|
|
2708
|
-
ie,
|
|
2709
|
-
{
|
|
2710
|
-
id: "blue_ray",
|
|
2711
|
-
rayColor: s.blue,
|
|
2712
|
-
isHidden: u("blue"),
|
|
2713
|
-
d: "M546.1,312.4l206.5-4.4h0.4l0.4,0.1l641.1,164c7,1.8,11.2,8.9,9.4,15.9c-1.8,7-8.9,11.2-15.9,9.4l-0.4-0.1L751.8,313.8l0.8,0.1L546.1,312.4z"
|
|
2714
|
-
}
|
|
2715
|
-
),
|
|
2716
|
-
/* @__PURE__ */ i(
|
|
2717
|
-
se,
|
|
2718
|
-
{
|
|
2719
|
-
id: "blue_arrow",
|
|
2720
|
-
arrowColor: s.blue,
|
|
2721
|
-
isHidden: u("blue"),
|
|
2722
|
-
points: "1431.5,496.4 1358.6,504.1 1381.8,482 1374.1,450.9"
|
|
2723
|
-
}
|
|
2724
|
-
),
|
|
2725
|
-
/* @__PURE__ */ i(
|
|
2726
|
-
ie,
|
|
2727
|
-
{
|
|
2728
|
-
id: "green_ray",
|
|
2729
|
-
rayColor: s.green,
|
|
2730
|
-
isHidden: u("green"),
|
|
2731
|
-
d: "M547.8,312l200.6-10.6h0.3l0.4,0.1l644.8,120.3c7,1.4,11.5,8.2,10.1,15.2c-1.4,6.9-8,11.4-14.9,10.2l-0.4-0.1L747.8,307.4l0.7,0.1L547.8,312z"
|
|
2732
|
-
}
|
|
2733
|
-
),
|
|
2734
|
-
/* @__PURE__ */ i(
|
|
2735
|
-
se,
|
|
2736
|
-
{
|
|
2737
|
-
id: "green_arrow",
|
|
2738
|
-
arrowColor: s.green,
|
|
2739
|
-
isHidden: u("green"),
|
|
2740
|
-
points: "1437.9,443.4 1366.1,458.4 1387,434.1 1376.2,403.9"
|
|
2741
|
-
}
|
|
2742
|
-
),
|
|
2743
|
-
/* @__PURE__ */ i(
|
|
2744
|
-
ie,
|
|
2745
|
-
{
|
|
2746
|
-
id: "yellow_ray",
|
|
2747
|
-
rayColor: s.yellow,
|
|
2748
|
-
isHidden: u("yellow"),
|
|
2749
|
-
d: "M546.1,312.5l205.8-17.3h0.3h0.4l640.4,75.3c7.1,0.8,12.2,7.2,11.3,14.3c-0.8,7.1-7.2,12.2-14.3,11.3l-0.4-0.1l-637.9-94.5h0.6L546.1,312.5z"
|
|
2750
|
-
}
|
|
2751
|
-
),
|
|
2752
|
-
/* @__PURE__ */ i(
|
|
2753
|
-
se,
|
|
2754
|
-
{
|
|
2755
|
-
id: "yellow_arrow",
|
|
2756
|
-
arrowColor: s.yellow,
|
|
2757
|
-
isHidden: u("yellow"),
|
|
2758
|
-
points: "1438.9,389.7 1368,408.2 1387.6,382.8 1375.4,353.3"
|
|
2759
|
-
}
|
|
2760
|
-
),
|
|
2761
|
-
/* @__PURE__ */ i(
|
|
2762
|
-
ie,
|
|
2763
|
-
{
|
|
2764
|
-
id: "orange_ray",
|
|
2765
|
-
rayColor: s.orange,
|
|
2766
|
-
isHidden: u("orange"),
|
|
2767
|
-
d: "M546.1,311l189.3-21.8h0.2h0.3l656.5,33.3c7,0.4,12.4,6.3,12,13.3s-6.3,12.4-13.3,12h-0.4l-655.2-52.9h0.5L546.1,311z"
|
|
2768
|
-
}
|
|
2769
|
-
),
|
|
2770
|
-
/* @__PURE__ */ i(
|
|
2771
|
-
se,
|
|
2772
|
-
{
|
|
2773
|
-
id: "orange_arrow",
|
|
2774
|
-
arrowColor: s.orange,
|
|
2775
|
-
isHidden: u("orange"),
|
|
2776
|
-
points: "1443.7,340.3 1373.9,362.8 1392.1,336.4 1378.2,307.5"
|
|
2777
|
-
}
|
|
2778
|
-
),
|
|
2779
|
-
/* @__PURE__ */ i(
|
|
2780
|
-
ie,
|
|
2781
|
-
{
|
|
2782
|
-
id: "red_ray",
|
|
2783
|
-
rayColor: s.red,
|
|
2784
|
-
isHidden: u("red"),
|
|
2785
|
-
d: "M546.1,311L730,283.9h0.1h0.2l661.4-9.9c6.9-0.1,12.6,5.4,12.7,12.3s-5.4,12.6-12.3,12.7h-0.4l-661.4-9.8h0.4L546.1,311z"
|
|
2786
|
-
}
|
|
2787
|
-
),
|
|
2788
|
-
/* @__PURE__ */ i(
|
|
2789
|
-
se,
|
|
2790
|
-
{
|
|
2791
|
-
id: "red_arrow",
|
|
2792
|
-
arrowColor: s.red,
|
|
2793
|
-
isHidden: u("red"),
|
|
2794
|
-
points: "1441.9,290 1372.4,313.2 1390.3,286.6 1376.1,257.9"
|
|
2795
|
-
}
|
|
2796
|
-
)
|
|
2797
|
-
] }),
|
|
2798
2737
|
/* @__PURE__ */ i(
|
|
2799
|
-
|
|
2738
|
+
ie,
|
|
2800
2739
|
{
|
|
2801
|
-
id: "
|
|
2802
|
-
|
|
2803
|
-
|
|
2804
|
-
|
|
2805
|
-
y2: "550.3",
|
|
2806
|
-
stroke: s[o],
|
|
2807
|
-
fill: "#ffffff"
|
|
2740
|
+
id: "yellow_ray",
|
|
2741
|
+
rayColor: o.yellow,
|
|
2742
|
+
isHidden: l("yellow"),
|
|
2743
|
+
d: "M546.1,312.5l205.8-17.3h0.3h0.4l640.4,75.3c7.1,0.8,12.2,7.2,11.3,14.3c-0.8,7.1-7.2,12.2-14.3,11.3l-0.4-0.1l-637.9-94.5h0.6L546.1,312.5z"
|
|
2808
2744
|
}
|
|
2809
2745
|
),
|
|
2810
2746
|
/* @__PURE__ */ i(
|
|
2811
|
-
|
|
2747
|
+
se,
|
|
2812
2748
|
{
|
|
2813
|
-
id: "
|
|
2814
|
-
|
|
2749
|
+
id: "yellow_arrow",
|
|
2750
|
+
arrowColor: o.yellow,
|
|
2751
|
+
isHidden: l("yellow"),
|
|
2752
|
+
points: "1438.9,389.7 1368,408.2 1387.6,382.8 1375.4,353.3"
|
|
2753
|
+
}
|
|
2754
|
+
),
|
|
2755
|
+
/* @__PURE__ */ i(
|
|
2756
|
+
ie,
|
|
2757
|
+
{
|
|
2758
|
+
id: "orange_ray",
|
|
2759
|
+
rayColor: o.orange,
|
|
2760
|
+
isHidden: l("orange"),
|
|
2761
|
+
d: "M546.1,311l189.3-21.8h0.2h0.3l656.5,33.3c7,0.4,12.4,6.3,12,13.3s-6.3,12.4-13.3,12h-0.4l-655.2-52.9h0.5L546.1,311z"
|
|
2762
|
+
}
|
|
2763
|
+
),
|
|
2764
|
+
/* @__PURE__ */ i(
|
|
2765
|
+
se,
|
|
2766
|
+
{
|
|
2767
|
+
id: "orange_arrow",
|
|
2768
|
+
arrowColor: o.orange,
|
|
2769
|
+
isHidden: l("orange"),
|
|
2770
|
+
points: "1443.7,340.3 1373.9,362.8 1392.1,336.4 1378.2,307.5"
|
|
2771
|
+
}
|
|
2772
|
+
),
|
|
2773
|
+
/* @__PURE__ */ i(
|
|
2774
|
+
ie,
|
|
2775
|
+
{
|
|
2776
|
+
id: "red_ray",
|
|
2777
|
+
rayColor: o.red,
|
|
2778
|
+
isHidden: l("red"),
|
|
2779
|
+
d: "M546.1,311L730,283.9h0.1h0.2l661.4-9.9c6.9-0.1,12.6,5.4,12.7,12.3s-5.4,12.6-12.3,12.7h-0.4l-661.4-9.8h0.4L546.1,311z"
|
|
2780
|
+
}
|
|
2781
|
+
),
|
|
2782
|
+
/* @__PURE__ */ i(
|
|
2783
|
+
se,
|
|
2784
|
+
{
|
|
2785
|
+
id: "red_arrow",
|
|
2786
|
+
arrowColor: o.red,
|
|
2787
|
+
isHidden: l("red"),
|
|
2788
|
+
points: "1441.9,290 1372.4,313.2 1390.3,286.6 1376.1,257.9"
|
|
2815
2789
|
}
|
|
2816
2790
|
)
|
|
2817
|
-
]
|
|
2818
|
-
|
|
2819
|
-
|
|
2820
|
-
|
|
2821
|
-
|
|
2822
|
-
|
|
2823
|
-
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
|
|
2827
|
-
|
|
2828
|
-
|
|
2829
|
-
|
|
2830
|
-
|
|
2831
|
-
|
|
2832
|
-
|
|
2833
|
-
|
|
2791
|
+
] }),
|
|
2792
|
+
/* @__PURE__ */ i(
|
|
2793
|
+
_g,
|
|
2794
|
+
{
|
|
2795
|
+
id: "filter",
|
|
2796
|
+
x1: "1255.6",
|
|
2797
|
+
y1: "235.7",
|
|
2798
|
+
x2: "1193.1",
|
|
2799
|
+
y2: "550.3",
|
|
2800
|
+
stroke: o[e],
|
|
2801
|
+
fill: "#ffffff"
|
|
2802
|
+
}
|
|
2803
|
+
),
|
|
2804
|
+
/* @__PURE__ */ i(
|
|
2805
|
+
mg,
|
|
2806
|
+
{
|
|
2807
|
+
id: "outline",
|
|
2808
|
+
points: "653.2,127 760.3,312.5 867.4,498 653.2,498 438.9,498 546.1,312.5 "
|
|
2809
|
+
}
|
|
2810
|
+
)
|
|
2811
|
+
]
|
|
2812
|
+
}
|
|
2813
|
+
),
|
|
2814
|
+
/* @__PURE__ */ i(bg, { children: /* @__PURE__ */ i(
|
|
2815
|
+
ft,
|
|
2816
|
+
{
|
|
2817
|
+
options: s,
|
|
2818
|
+
isDisabled: r,
|
|
2819
|
+
value: e,
|
|
2820
|
+
onChangeCallback: (u) => t && t(u || "none"),
|
|
2821
|
+
labelledById: "color-select",
|
|
2822
|
+
placeholder: f,
|
|
2823
|
+
maxWidth: "100%",
|
|
2824
|
+
width: "200px"
|
|
2825
|
+
}
|
|
2826
|
+
) })
|
|
2834
2827
|
] });
|
|
2835
2828
|
};
|
|
2836
|
-
|
|
2837
|
-
const
|
|
2829
|
+
$g.displayName = "Widgets.FilterTool";
|
|
2830
|
+
const Cg = b.div`
|
|
2838
2831
|
position: relative;
|
|
2839
2832
|
min-width: var(--BREAK_MOBILE_MIN, 280px);
|
|
2840
2833
|
|
|
@@ -2842,11 +2835,11 @@ const wg = b.div`
|
|
|
2842
2835
|
width: var(--BREAK_MOBILE_MIN, 280px);
|
|
2843
2836
|
}
|
|
2844
2837
|
`;
|
|
2845
|
-
function
|
|
2838
|
+
function wg(e, t) {
|
|
2846
2839
|
const r = dt();
|
|
2847
|
-
|
|
2840
|
+
V(() => {
|
|
2848
2841
|
r.current = e;
|
|
2849
|
-
}, [e]),
|
|
2842
|
+
}, [e]), V(() => {
|
|
2850
2843
|
function a() {
|
|
2851
2844
|
r.current && r.current();
|
|
2852
2845
|
}
|
|
@@ -2865,7 +2858,7 @@ const vn = b.div`
|
|
|
2865
2858
|
border-radius: 22px;
|
|
2866
2859
|
background-color: var(--button-background-color);
|
|
2867
2860
|
color: var(--neutral95, #1f2121);
|
|
2868
|
-
`,
|
|
2861
|
+
`, xg = b.button`
|
|
2869
2862
|
--button-color: var(--white, #fff);
|
|
2870
2863
|
--button-background-color: var(--neutral15, #e6e6e6);
|
|
2871
2864
|
|
|
@@ -2899,12 +2892,12 @@ const vn = b.div`
|
|
|
2899
2892
|
label: t,
|
|
2900
2893
|
handleClick: r,
|
|
2901
2894
|
...a
|
|
2902
|
-
}) => /* @__PURE__ */ w(
|
|
2895
|
+
}) => /* @__PURE__ */ w(xg, { ...a, onClick: r, children: [
|
|
2903
2896
|
/* @__PURE__ */ i(vn, { children: /* @__PURE__ */ i(Rr, { icon: e, size: 15 }) }),
|
|
2904
2897
|
/* @__PURE__ */ i("span", { children: t })
|
|
2905
2898
|
] });
|
|
2906
2899
|
je.displayName = "Atomic.PlaybackControl";
|
|
2907
|
-
const
|
|
2900
|
+
const Tg = b.div`
|
|
2908
2901
|
display: grid;
|
|
2909
2902
|
grid-template-columns: repeat(3, 1fr);
|
|
2910
2903
|
grid-template-rows: 1fr;
|
|
@@ -2922,11 +2915,11 @@ const Sg = b.div`
|
|
|
2922
2915
|
handleNext: r,
|
|
2923
2916
|
handlePrevious: a,
|
|
2924
2917
|
className: o,
|
|
2925
|
-
isDisabled:
|
|
2918
|
+
isDisabled: s
|
|
2926
2919
|
}) => {
|
|
2927
|
-
const { t:
|
|
2920
|
+
const { t: l } = ne();
|
|
2928
2921
|
return /* @__PURE__ */ w(
|
|
2929
|
-
|
|
2922
|
+
Tg,
|
|
2930
2923
|
{
|
|
2931
2924
|
"data-testid": "blinker-controls",
|
|
2932
2925
|
className: o,
|
|
@@ -2936,9 +2929,9 @@ const Sg = b.div`
|
|
|
2936
2929
|
{
|
|
2937
2930
|
"data-testid": "blinker-rewind",
|
|
2938
2931
|
icon: "Rewind",
|
|
2939
|
-
label:
|
|
2932
|
+
label: l("blinker.controls.rewind"),
|
|
2940
2933
|
handleClick: a,
|
|
2941
|
-
disabled:
|
|
2934
|
+
disabled: s
|
|
2942
2935
|
}
|
|
2943
2936
|
),
|
|
2944
2937
|
/* @__PURE__ */ i(
|
|
@@ -2946,9 +2939,9 @@ const Sg = b.div`
|
|
|
2946
2939
|
{
|
|
2947
2940
|
"data-testid": "blinker-start-stop",
|
|
2948
2941
|
icon: e ? "Pause" : "Play",
|
|
2949
|
-
label:
|
|
2942
|
+
label: l(e ? "blinker.controls.pause" : "blinker.controls.play"),
|
|
2950
2943
|
handleClick: t,
|
|
2951
|
-
disabled:
|
|
2944
|
+
disabled: s
|
|
2952
2945
|
}
|
|
2953
2946
|
),
|
|
2954
2947
|
/* @__PURE__ */ i(
|
|
@@ -2956,9 +2949,9 @@ const Sg = b.div`
|
|
|
2956
2949
|
{
|
|
2957
2950
|
"data-testid": "blinker-forward",
|
|
2958
2951
|
icon: "Forward",
|
|
2959
|
-
label:
|
|
2952
|
+
label: l("blinker.controls.forward"),
|
|
2960
2953
|
handleClick: r,
|
|
2961
|
-
disabled:
|
|
2954
|
+
disabled: s
|
|
2962
2955
|
}
|
|
2963
2956
|
)
|
|
2964
2957
|
]
|
|
@@ -2972,7 +2965,7 @@ const Ag = b.div`
|
|
|
2972
2965
|
justify-content: center;
|
|
2973
2966
|
align-items: center;
|
|
2974
2967
|
position: relative;
|
|
2975
|
-
`,
|
|
2968
|
+
`, Sg = b.div`
|
|
2976
2969
|
transition: opacity ease var(--DURATION_SLOW, 0.4s);
|
|
2977
2970
|
|
|
2978
2971
|
${({ isLoading: e }) => e ? j`
|
|
@@ -2980,7 +2973,7 @@ const Ag = b.div`
|
|
|
2980
2973
|
` : j`
|
|
2981
2974
|
opacity: 1;
|
|
2982
2975
|
`}
|
|
2983
|
-
`,
|
|
2976
|
+
`, Eg = b.img`
|
|
2984
2977
|
position: absolute;
|
|
2985
2978
|
top: 0;
|
|
2986
2979
|
right: 0;
|
|
@@ -3008,7 +3001,7 @@ const Ag = b.div`
|
|
|
3008
3001
|
}) => {
|
|
3009
3002
|
const { url: a, altText: o } = e;
|
|
3010
3003
|
return /* @__PURE__ */ i(
|
|
3011
|
-
|
|
3004
|
+
Eg,
|
|
3012
3005
|
{
|
|
3013
3006
|
alt: o,
|
|
3014
3007
|
src: a,
|
|
@@ -3024,36 +3017,36 @@ const mn = ({
|
|
|
3024
3017
|
className: r,
|
|
3025
3018
|
loadedCallback: a
|
|
3026
3019
|
}) => {
|
|
3027
|
-
const [o,
|
|
3028
|
-
|
|
3020
|
+
const [o, s] = W(0), [l, f] = W(!0), u = () => {
|
|
3021
|
+
s((d) => d + 1);
|
|
3029
3022
|
};
|
|
3030
|
-
return
|
|
3031
|
-
f(o !== e.length),
|
|
3032
|
-
}, [o,
|
|
3033
|
-
!o && /* @__PURE__ */ i(Qn, { isVisible:
|
|
3034
|
-
/* @__PURE__ */ i(
|
|
3035
|
-
const { url:
|
|
3023
|
+
return V(() => {
|
|
3024
|
+
f(o !== e.length), l || a && a();
|
|
3025
|
+
}, [o, l]), /* @__PURE__ */ w(Ag, { "data-testid": "blinker-images", className: r, children: [
|
|
3026
|
+
!o && /* @__PURE__ */ i(Qn, { isVisible: l }),
|
|
3027
|
+
/* @__PURE__ */ i(Sg, { isLoading: l, children: e.map((d, v) => {
|
|
3028
|
+
const { url: h } = d;
|
|
3036
3029
|
return /* @__PURE__ */ i(
|
|
3037
3030
|
yn,
|
|
3038
3031
|
{
|
|
3039
3032
|
image: d,
|
|
3040
|
-
active: t ===
|
|
3033
|
+
active: t === v,
|
|
3041
3034
|
loadCallback: u
|
|
3042
3035
|
},
|
|
3043
|
-
|
|
3036
|
+
h
|
|
3044
3037
|
);
|
|
3045
3038
|
}) })
|
|
3046
3039
|
] });
|
|
3047
3040
|
};
|
|
3048
3041
|
mn.displayName = "Atomic.Blinker.Images";
|
|
3049
|
-
const
|
|
3042
|
+
const Og = b.div`
|
|
3050
3043
|
display: grid;
|
|
3051
3044
|
grid-template-columns: 1fr;
|
|
3052
3045
|
grid-template-rows: 1fr min-content;
|
|
3053
3046
|
justify-items: center;
|
|
3054
3047
|
position: relative;
|
|
3055
3048
|
height: 100%;
|
|
3056
|
-
`,
|
|
3049
|
+
`, Ig = b(bn)`
|
|
3057
3050
|
grid-row: 2;
|
|
3058
3051
|
|
|
3059
3052
|
${({ isCondensed: e }) => e ? j`
|
|
@@ -3061,7 +3054,7 @@ const Ig = b.div`
|
|
|
3061
3054
|
` : j`
|
|
3062
3055
|
margin-block-end: var(--PADDING_SMALL, 20px);
|
|
3063
3056
|
`}
|
|
3064
|
-
`,
|
|
3057
|
+
`, Pg = b(mn)`
|
|
3065
3058
|
aspect-ratio: 1;
|
|
3066
3059
|
width: 100%;
|
|
3067
3060
|
|
|
@@ -3077,58 +3070,58 @@ const Ig = b.div`
|
|
|
3077
3070
|
autoplay: r = !0,
|
|
3078
3071
|
loop: a = !0,
|
|
3079
3072
|
interval: o = 200,
|
|
3080
|
-
blinkCallback:
|
|
3081
|
-
loadedCallback:
|
|
3073
|
+
blinkCallback: s,
|
|
3074
|
+
loadedCallback: l,
|
|
3082
3075
|
className: f
|
|
3083
3076
|
}) => {
|
|
3084
|
-
const { ref: u, width: d = 1 } = ut(), [
|
|
3085
|
-
|
|
3086
|
-
|
|
3087
|
-
}, [p]),
|
|
3088
|
-
m &&
|
|
3077
|
+
const { ref: u, width: d = 1 } = ut(), [v, h] = W(r), [p, $] = W(t), [m, x] = W(!1), { BREAK_MOBILE: S } = Ir, y = e.length > 1, C = d < parseInt(S);
|
|
3078
|
+
V(() => {
|
|
3079
|
+
s && s(p);
|
|
3080
|
+
}, [p]), V(() => {
|
|
3081
|
+
m && l && l();
|
|
3089
3082
|
}, [m]);
|
|
3090
|
-
const
|
|
3091
|
-
const
|
|
3092
|
-
return
|
|
3093
|
-
},
|
|
3083
|
+
const F = (N = 0) => {
|
|
3084
|
+
const z = e.length - 1;
|
|
3085
|
+
return Aa(p + N, z);
|
|
3086
|
+
}, L = () => {
|
|
3094
3087
|
if (y) {
|
|
3095
|
-
const
|
|
3096
|
-
a === !1 &&
|
|
3088
|
+
const N = F(1);
|
|
3089
|
+
a === !1 && N === e.length - 1 && M(), $(N);
|
|
3097
3090
|
}
|
|
3098
|
-
},
|
|
3099
|
-
|
|
3100
|
-
},
|
|
3101
|
-
|
|
3102
|
-
},
|
|
3103
|
-
|
|
3104
|
-
},
|
|
3105
|
-
|
|
3091
|
+
}, M = () => {
|
|
3092
|
+
h(!1);
|
|
3093
|
+
}, X = () => {
|
|
3094
|
+
h((N) => !N);
|
|
3095
|
+
}, B = () => {
|
|
3096
|
+
M(), L();
|
|
3097
|
+
}, H = () => {
|
|
3098
|
+
M(), $(F(-1));
|
|
3106
3099
|
};
|
|
3107
|
-
return
|
|
3108
|
-
|
|
3100
|
+
return wg(L, y && m && v ? o : null), /* @__PURE__ */ w(
|
|
3101
|
+
Og,
|
|
3109
3102
|
{
|
|
3110
3103
|
className: f,
|
|
3111
3104
|
ref: u,
|
|
3112
|
-
isCondensed:
|
|
3105
|
+
isCondensed: C,
|
|
3113
3106
|
children: [
|
|
3114
3107
|
/* @__PURE__ */ i(
|
|
3115
|
-
|
|
3108
|
+
Pg,
|
|
3116
3109
|
{
|
|
3117
3110
|
loadedCallback: () => x(!0),
|
|
3118
3111
|
images: e,
|
|
3119
3112
|
activeIndex: p,
|
|
3120
|
-
isCondensed:
|
|
3113
|
+
isCondensed: C
|
|
3121
3114
|
}
|
|
3122
3115
|
),
|
|
3123
3116
|
y && /* @__PURE__ */ i(
|
|
3124
|
-
|
|
3117
|
+
Ig,
|
|
3125
3118
|
{
|
|
3126
3119
|
isDisabled: !m,
|
|
3127
|
-
playing:
|
|
3128
|
-
handleStartStop:
|
|
3129
|
-
handleNext:
|
|
3130
|
-
handlePrevious:
|
|
3131
|
-
isCondensed:
|
|
3120
|
+
playing: v,
|
|
3121
|
+
handleStartStop: X,
|
|
3122
|
+
handleNext: B,
|
|
3123
|
+
handlePrevious: H,
|
|
3124
|
+
isCondensed: C
|
|
3132
3125
|
}
|
|
3133
3126
|
)
|
|
3134
3127
|
]
|
|
@@ -3136,7 +3129,7 @@ const Ig = b.div`
|
|
|
3136
3129
|
);
|
|
3137
3130
|
};
|
|
3138
3131
|
_n.displayName = "Atomic.Blinker";
|
|
3139
|
-
const
|
|
3132
|
+
const Rg = b.div`
|
|
3140
3133
|
background-color: var(--neutral20, #dce0e3);
|
|
3141
3134
|
border-radius: 5px;
|
|
3142
3135
|
color: var(--neutral95, "#1F2121");
|
|
@@ -3146,7 +3139,7 @@ const Lg = b.div`
|
|
|
3146
3139
|
font-weight: var(--FONT_WEIGHT_NORMAL, 400);
|
|
3147
3140
|
min-width: 70px;
|
|
3148
3141
|
max-width: fit-content;
|
|
3149
|
-
`,
|
|
3142
|
+
`, Lg = b.h2`
|
|
3150
3143
|
border-bottom: 1px solid var(--neutral95, "#1F2121");
|
|
3151
3144
|
font-weight: inherit;
|
|
3152
3145
|
font-size: 1em;
|
|
@@ -3155,13 +3148,13 @@ const Lg = b.div`
|
|
|
3155
3148
|
text-align: center;
|
|
3156
3149
|
margin: 0;
|
|
3157
3150
|
padding: 0.5em 0.75em;
|
|
3158
|
-
`,
|
|
3151
|
+
`, jg = b.time`
|
|
3159
3152
|
grid-area: time;
|
|
3160
3153
|
display: grid;
|
|
3161
3154
|
grid-auto-flow: column;
|
|
3162
3155
|
grid-template-rows: 1fr;
|
|
3163
3156
|
grid-auto-columns: 1fr;
|
|
3164
|
-
`,
|
|
3157
|
+
`, Mg = b.div`
|
|
3165
3158
|
display: flex;
|
|
3166
3159
|
flex-direction: column;
|
|
3167
3160
|
align-items: center;
|
|
@@ -3171,9 +3164,9 @@ const Lg = b.div`
|
|
|
3171
3164
|
&:not(:first-of-type) {
|
|
3172
3165
|
border-left: 1px solid var(--neutral95, "#1F2121");
|
|
3173
3166
|
}
|
|
3174
|
-
`,
|
|
3167
|
+
`, kg = b.span`
|
|
3175
3168
|
font-size: 1.167em;
|
|
3176
|
-
`,
|
|
3169
|
+
`, Dg = b.span`
|
|
3177
3170
|
font-size: 0.6em;
|
|
3178
3171
|
`, $n = ({
|
|
3179
3172
|
year: e,
|
|
@@ -3181,47 +3174,47 @@ const Lg = b.div`
|
|
|
3181
3174
|
hour: r,
|
|
3182
3175
|
minute: a,
|
|
3183
3176
|
second: o,
|
|
3184
|
-
className:
|
|
3177
|
+
className: s
|
|
3185
3178
|
}) => {
|
|
3186
|
-
const
|
|
3179
|
+
const l = { year: e, day: t, hour: r, minute: a, second: o }, f = Object.keys(l).filter((d) => l[d] !== void 0).map((d) => ({
|
|
3187
3180
|
interval: d,
|
|
3188
|
-
time:
|
|
3189
|
-
})), u = f.reduce((d,
|
|
3190
|
-
const { interval:
|
|
3191
|
-
return `${d}${p}${
|
|
3181
|
+
time: l[d]
|
|
3182
|
+
})), u = f.reduce((d, v) => {
|
|
3183
|
+
const { interval: h, time: p = 0 } = v;
|
|
3184
|
+
return `${d}${p}${h.charAt(0).toUpperCase()}`;
|
|
3192
3185
|
}, "PT");
|
|
3193
|
-
return /* @__PURE__ */ w(
|
|
3194
|
-
/* @__PURE__ */ i(
|
|
3195
|
-
/* @__PURE__ */ i(
|
|
3196
|
-
const { interval:
|
|
3197
|
-
return /* @__PURE__ */ w(
|
|
3198
|
-
/* @__PURE__ */ i(
|
|
3199
|
-
/* @__PURE__ */ i(
|
|
3200
|
-
] },
|
|
3186
|
+
return /* @__PURE__ */ w(Rg, { className: s, children: [
|
|
3187
|
+
/* @__PURE__ */ i(Lg, { id: "elapsedTimeHeader", children: /* @__PURE__ */ i(me, { children: "elapsed_time.title" }) }),
|
|
3188
|
+
/* @__PURE__ */ i(jg, { dateTime: u, "aria-labelledby": "elapsedTimeHeader", children: f.map((d) => {
|
|
3189
|
+
const { interval: v, time: h = 0 } = d, p = `elapsed_time.step.${v}`;
|
|
3190
|
+
return /* @__PURE__ */ w(Mg, { children: [
|
|
3191
|
+
/* @__PURE__ */ i(kg, { children: h }),
|
|
3192
|
+
/* @__PURE__ */ i(Dg, { children: /* @__PURE__ */ i(me, { i18nKey: p, count: h }) })
|
|
3193
|
+
] }, v);
|
|
3201
3194
|
}) })
|
|
3202
3195
|
] });
|
|
3203
3196
|
};
|
|
3204
3197
|
$n.displayName = "Atomic.ElapsedTime";
|
|
3205
|
-
const
|
|
3198
|
+
const Fg = b(Cg)`
|
|
3206
3199
|
${({ width: e, height: t }) => j`
|
|
3207
3200
|
aspect-ratio: ${e} / ${t};
|
|
3208
3201
|
max-width: ${e}px;
|
|
3209
3202
|
max-height: ${t}px;
|
|
3210
3203
|
`}
|
|
3211
|
-
`,
|
|
3204
|
+
`, Ng = b.svg`
|
|
3212
3205
|
position: absolute;
|
|
3213
3206
|
top: 0;
|
|
3214
3207
|
left: 0;
|
|
3215
3208
|
cursor: ${({ isDisplayOnly: e }) => e ? "default" : "pointer"};
|
|
3216
|
-
`,
|
|
3209
|
+
`, Bg = b(_n)`
|
|
3217
3210
|
position: absolute;
|
|
3218
3211
|
width: 100%;
|
|
3219
3212
|
height: 100%;
|
|
3220
|
-
`,
|
|
3213
|
+
`, Gg = b($n)`
|
|
3221
3214
|
position: absolute;
|
|
3222
3215
|
right: var(--PADDING_SMALL, 20px);
|
|
3223
3216
|
bottom: var(--PADDING_SMALL, 20px);
|
|
3224
|
-
`,
|
|
3217
|
+
`, Wg = b.circle`
|
|
3225
3218
|
cursor: pointer;
|
|
3226
3219
|
transition: fill ease var(--DURATION, 0.2s), r ease-out 400ms;
|
|
3227
3220
|
${({ isSelected: e }) => e && j`
|
|
@@ -3237,8 +3230,8 @@ const Ng = b(wg)`
|
|
|
3237
3230
|
isActive: r,
|
|
3238
3231
|
isSelected: a,
|
|
3239
3232
|
x: o,
|
|
3240
|
-
y:
|
|
3241
|
-
radius:
|
|
3233
|
+
y: s,
|
|
3234
|
+
radius: l,
|
|
3242
3235
|
className: f,
|
|
3243
3236
|
color: u
|
|
3244
3237
|
}) => {
|
|
@@ -3246,22 +3239,22 @@ const Ng = b(wg)`
|
|
|
3246
3239
|
supernova: 20,
|
|
3247
3240
|
galaxy: 60,
|
|
3248
3241
|
galaxyFilter: 25
|
|
3249
|
-
},
|
|
3242
|
+
}, v = (m, x) => {
|
|
3250
3243
|
if (x)
|
|
3251
3244
|
return Math.abs(x);
|
|
3252
|
-
const { [m]:
|
|
3253
|
-
return
|
|
3254
|
-
},
|
|
3245
|
+
const { [m]: S = 8 } = d;
|
|
3246
|
+
return S;
|
|
3247
|
+
}, h = (m, x, S) => m ? "#fed828" : x ? S : "transparent", p = v(e, l), $ = Math.max(10, p * 1.2);
|
|
3255
3248
|
return /* @__PURE__ */ i(
|
|
3256
|
-
|
|
3249
|
+
Wg,
|
|
3257
3250
|
{
|
|
3258
3251
|
"data-id": t,
|
|
3259
3252
|
"data-type": e,
|
|
3260
3253
|
cx: o,
|
|
3261
|
-
cy:
|
|
3262
|
-
r: r ?
|
|
3254
|
+
cy: s,
|
|
3255
|
+
r: r ? $ : p,
|
|
3263
3256
|
fill: "transparent",
|
|
3264
|
-
stroke:
|
|
3257
|
+
stroke: h(r, a, u),
|
|
3265
3258
|
tabIndex: 0,
|
|
3266
3259
|
role: "listitem",
|
|
3267
3260
|
isSelected: a,
|
|
@@ -3276,10 +3269,10 @@ const wn = ({
|
|
|
3276
3269
|
activeType: r,
|
|
3277
3270
|
className: a,
|
|
3278
3271
|
xScale: o,
|
|
3279
|
-
yScale:
|
|
3280
|
-
color:
|
|
3272
|
+
yScale: s,
|
|
3273
|
+
color: l
|
|
3281
3274
|
}) => /* @__PURE__ */ i("g", { className: a, role: "list", children: e.map((f) => {
|
|
3282
|
-
const { type: u, id: d, color:
|
|
3275
|
+
const { type: u, id: d, color: v, radius: h = NaN, x: p, y: $ } = f, m = 0.6 * h, x = t.some(
|
|
3283
3276
|
(y) => y.id === d && y.type === u
|
|
3284
3277
|
);
|
|
3285
3278
|
return /* @__PURE__ */ i(
|
|
@@ -3292,14 +3285,14 @@ const wn = ({
|
|
|
3292
3285
|
className: a,
|
|
3293
3286
|
radius: o(p - m) - o(p + m),
|
|
3294
3287
|
x: o(p),
|
|
3295
|
-
y:
|
|
3296
|
-
color:
|
|
3288
|
+
y: s($),
|
|
3289
|
+
color: l || v
|
|
3297
3290
|
},
|
|
3298
3291
|
`point-${u}-${d}`
|
|
3299
3292
|
);
|
|
3300
3293
|
}) });
|
|
3301
3294
|
wn.displayName = "Widgets.SourceSelector.Points";
|
|
3302
|
-
const
|
|
3295
|
+
const Hg = b(ea)`
|
|
3303
3296
|
position: absolute;
|
|
3304
3297
|
top: 0;
|
|
3305
3298
|
left: 0;
|
|
@@ -3326,88 +3319,88 @@ const zg = b(ea)`
|
|
|
3326
3319
|
isVisible: t = !1,
|
|
3327
3320
|
onMessageChangeCallback: r,
|
|
3328
3321
|
forIds: a
|
|
3329
|
-
}) => (
|
|
3322
|
+
}) => (V(() => {
|
|
3330
3323
|
if (t) {
|
|
3331
3324
|
const o = setTimeout(() => {
|
|
3332
3325
|
r && r();
|
|
3333
3326
|
}, 1800);
|
|
3334
3327
|
return () => clearTimeout(o);
|
|
3335
3328
|
}
|
|
3336
|
-
}, [e, t]), /* @__PURE__ */ i(
|
|
3329
|
+
}, [e, t]), /* @__PURE__ */ i(Hg, { forIds: a, isOpen: t, children: e }));
|
|
3337
3330
|
xn.displayName = "Widgets.SourceSelector.Message";
|
|
3338
3331
|
const Er = (e, t) => {
|
|
3339
|
-
const [r, a] = e, [o,
|
|
3340
|
-
return (
|
|
3341
|
-
},
|
|
3332
|
+
const [r, a] = e, [o, s] = t;
|
|
3333
|
+
return (l) => l / (a - r) * (s - o) + o;
|
|
3334
|
+
}, zg = ({
|
|
3342
3335
|
width: e = 600,
|
|
3343
3336
|
height: t = 600,
|
|
3344
3337
|
selectedSource: r = [],
|
|
3345
3338
|
sources: a,
|
|
3346
3339
|
alerts: o,
|
|
3347
|
-
images:
|
|
3348
|
-
selectionCallback:
|
|
3340
|
+
images: s,
|
|
3341
|
+
selectionCallback: l,
|
|
3349
3342
|
blinkConfig: f,
|
|
3350
3343
|
color: u,
|
|
3351
3344
|
isDisplayOnly: d = !1
|
|
3352
3345
|
}) => {
|
|
3353
|
-
const [
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
}, [
|
|
3357
|
-
const
|
|
3346
|
+
const [v, h] = W(r), [p, $] = W(!1), [m, x] = W(), [S, y] = W(!1), [C, F] = W(null), { t: L } = ne(), M = "sourceSelectorWidget";
|
|
3347
|
+
V(() => {
|
|
3348
|
+
l && l(v);
|
|
3349
|
+
}, [v]);
|
|
3350
|
+
const X = (z, Y, U) => z.filter((k) => k.id === Y && k.type === U), B = (z) => {
|
|
3358
3351
|
if (p && !d) {
|
|
3359
|
-
const { target:
|
|
3360
|
-
if (
|
|
3361
|
-
if (!(
|
|
3362
|
-
const te =
|
|
3363
|
-
|
|
3364
|
-
/* @__PURE__ */ w(
|
|
3352
|
+
const { target: Y } = z, { id: U, type: k } = Y.dataset;
|
|
3353
|
+
if (U && k) {
|
|
3354
|
+
if (!(X(v, U, k).length > 0)) {
|
|
3355
|
+
const te = X(a, U, k);
|
|
3356
|
+
h((xe) => xe.concat(te)), x(
|
|
3357
|
+
/* @__PURE__ */ w(ee, { children: [
|
|
3365
3358
|
/* @__PURE__ */ i(Rr, { icon: "checkmark" }),
|
|
3366
|
-
|
|
3359
|
+
L("source_selector.messages.success")
|
|
3367
3360
|
] })
|
|
3368
3361
|
), y(!0);
|
|
3369
3362
|
}
|
|
3370
3363
|
} else
|
|
3371
|
-
x(
|
|
3364
|
+
x(L("source_selector.messages.failure")), y(!0);
|
|
3372
3365
|
}
|
|
3373
3366
|
};
|
|
3374
|
-
return /* @__PURE__ */ w(
|
|
3367
|
+
return /* @__PURE__ */ w(Fg, { width: e, height: t, children: [
|
|
3375
3368
|
!d && /* @__PURE__ */ i(
|
|
3376
3369
|
xn,
|
|
3377
3370
|
{
|
|
3378
3371
|
onMessageChangeCallback: () => {
|
|
3379
3372
|
y(!1);
|
|
3380
3373
|
},
|
|
3381
|
-
isVisible:
|
|
3382
|
-
forIds: [
|
|
3374
|
+
isVisible: S,
|
|
3375
|
+
forIds: [M],
|
|
3383
3376
|
children: m
|
|
3384
3377
|
}
|
|
3385
3378
|
),
|
|
3386
3379
|
/* @__PURE__ */ i(
|
|
3387
|
-
|
|
3380
|
+
Bg,
|
|
3388
3381
|
{
|
|
3389
|
-
images:
|
|
3390
|
-
blinkCallback: (
|
|
3382
|
+
images: s,
|
|
3383
|
+
blinkCallback: (z) => {
|
|
3391
3384
|
if (o && o.length > 1) {
|
|
3392
|
-
const
|
|
3393
|
-
|
|
3394
|
-
day: Math.round(
|
|
3395
|
-
hour: Math.round(24 /
|
|
3385
|
+
const U = o[z].date - o[0].date;
|
|
3386
|
+
F({
|
|
3387
|
+
day: Math.round(U),
|
|
3388
|
+
hour: Math.round(24 / U % 24) || 0
|
|
3396
3389
|
});
|
|
3397
3390
|
}
|
|
3398
3391
|
},
|
|
3399
|
-
loadedCallback: () =>
|
|
3392
|
+
loadedCallback: () => $(!0),
|
|
3400
3393
|
...f
|
|
3401
3394
|
}
|
|
3402
3395
|
),
|
|
3403
|
-
|
|
3396
|
+
C && /* @__PURE__ */ i(Gg, { ...C }),
|
|
3404
3397
|
/* @__PURE__ */ i(
|
|
3405
|
-
|
|
3398
|
+
Ng,
|
|
3406
3399
|
{
|
|
3407
3400
|
preserveAspectRatio: "xMidYMid meet",
|
|
3408
3401
|
viewBox: `0 0 ${e} ${t}`,
|
|
3409
|
-
onClick:
|
|
3410
|
-
id:
|
|
3402
|
+
onClick: B,
|
|
3403
|
+
id: M,
|
|
3411
3404
|
isDisplayOnly: d,
|
|
3412
3405
|
children: /* @__PURE__ */ i(
|
|
3413
3406
|
wn,
|
|
@@ -3416,19 +3409,19 @@ const Er = (e, t) => {
|
|
|
3416
3409
|
yScale: Er([0, t], [t, 0]),
|
|
3417
3410
|
color: u,
|
|
3418
3411
|
sources: a,
|
|
3419
|
-
selectedSource:
|
|
3412
|
+
selectedSource: v
|
|
3420
3413
|
}
|
|
3421
3414
|
)
|
|
3422
3415
|
}
|
|
3423
3416
|
)
|
|
3424
3417
|
] });
|
|
3425
3418
|
};
|
|
3426
|
-
|
|
3419
|
+
zg.displayName = "Widgets.SourceSelector";
|
|
3427
3420
|
export {
|
|
3428
3421
|
Ea as CameraFilter,
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
|
|
3422
|
+
hg as ColorTool,
|
|
3423
|
+
$g as FilterTool,
|
|
3424
|
+
Qg as GlobalStyles,
|
|
3425
|
+
zg as SourceSelector,
|
|
3426
|
+
Jg as localeStrings
|
|
3434
3427
|
};
|