@orangelogic/design-system 2.95.0 → 2.97.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/library/chunks/asset.B3vySOI-.js +431 -0
- package/library/chunks/{asset.types.6DCzTOQm.js → asset.types.KXRZEtBr.js} +127 -126
- package/library/chunks/{button.BZjbVq8t.js → button.CAa1kvwe.js} +2 -2
- package/library/chunks/{color-swatch-group.Q8ybVS0A.js → color-swatch-group.ChcPlkPU.js} +5 -5
- package/library/chunks/{color-swatch.CbL_TpRZ.js → color-swatch.DJ1kUnBQ.js} +1 -1
- package/library/chunks/{confirm-popover.bBo9aPlX.js → confirm-popover.D4x0nO5g.js} +3 -3
- package/library/chunks/content-builder.CcgZciZN.js +58 -0
- package/library/chunks/{cropper.uKGcvnPk.js → cropper.Bib8Abm3.js} +4937 -4932
- package/library/chunks/{dialog.DRW8iwh-.js → dialog.BLaxLMSc.js} +2 -2
- package/library/chunks/{dom.DURaLV1d.js → dom.0RpWet6y.js} +1 -1
- package/library/chunks/{dot-pagination.CvUr6R4S.js → dot-pagination.-nDdQxJN.js} +1 -1
- package/library/chunks/{file-on-demand.KQlA1JFF.js → file-on-demand.AzwoUvwB.js} +10 -10
- package/library/chunks/{folder-select.DxBOSyvo.js → folder-select.XpkOFzAW.js} +5 -5
- package/library/chunks/{form.nRqYei4e.js → form.Ch1cwYzO.js} +1 -1
- package/library/chunks/{header.ClxEkQPZ.js → header.BZxyeLPK.js} +1 -1
- package/library/chunks/{i18n.W6czbRms.js → i18n.BABe9hN4.js} +6 -0
- package/library/chunks/{icon-button.MqA-pNw8.js → icon-button.C2s3pHG4.js} +1 -1
- package/library/chunks/{iframe.PcSPtm_O.js → iframe.DPccxsnE.js} +1 -1
- package/library/chunks/{image.Dtdklw5q.js → image.9qwbjGNb.js} +1 -1
- package/library/chunks/{image.C-Covc0H.js → image.Cc4V85ID.js} +354 -311
- package/library/chunks/{list-editor.BnHKqD0O.js → list-editor.pVYc_70c.js} +183 -153
- package/library/chunks/{number.CCF6IxpN.js → number.B4PQLJIg.js} +32 -32
- package/library/chunks/{option.Cx54zrJq.js → option.DGXQzdtb.js} +1 -1
- package/library/chunks/{pagination.CG5odPWi.js → pagination.DZqKSA86.js} +4 -4
- package/library/chunks/{responsive.D9TUCX5p.js → responsive.Oz9HWjyQ.js} +1 -1
- package/library/chunks/{string.DfV21HEI.js → string.DUgD4c9f.js} +41 -34
- package/library/chunks/{tab-group.BLZ-qEpp.js → tab-group.BhCf9Smq.js} +4 -4
- package/library/chunks/{table.CYxWpvAC.js → table.V5PGGTfO.js} +13 -11
- package/library/chunks/{time.BNrE47-8.js → time.BiQnh9wt.js} +1 -1
- package/library/chunks/toast.D3AW3RWv.js +94 -0
- package/library/chunks/transformation.Cqz3hPaQ.js +144 -0
- package/library/chunks/{tree.CKi63r95.js → tree.DZa7k-4E.js} +1 -1
- package/library/components/alert.js +2 -2
- package/library/components/asset-link-format.js +767 -862
- package/library/components/atoms.js +12 -12
- package/library/components/border-input-group.js +1 -1
- package/library/components/breadcrumb.js +1 -1
- package/library/components/button.js +3 -3
- package/library/components/checkbox.js +1 -1
- package/library/components/color-picker.js +3 -3
- package/library/components/color-swatch-group.js +6 -6
- package/library/components/color-swatch.js +2 -2
- package/library/components/confirm-popover.js +4 -4
- package/library/components/copy-button.js +1 -1
- package/library/components/corner-position-input-group.js +2 -2
- package/library/components/cropper.js +1 -1
- package/library/components/details.js +4 -4
- package/library/components/dialog.js +3 -3
- package/library/components/dot-pagination.js +2 -2
- package/library/components/drawer.js +2 -2
- package/library/components/dropdown.js +1 -1
- package/library/components/dynamic-select.js +4 -4
- package/library/components/e-chart.js +1 -1
- package/library/components/element-clamp.js +2 -2
- package/library/components/file-on-demand.js +11 -11
- package/library/components/folder-select.js +4 -4
- package/library/components/format-bytes.js +1 -1
- package/library/components/format-date.js +1 -1
- package/library/components/format-number.js +1 -1
- package/library/components/format-time.js +2 -2
- package/library/components/header.js +2 -2
- package/library/components/icon-button.js +2 -2
- package/library/components/iframe.js +2 -2
- package/library/components/image-comparer.js +1 -1
- package/library/components/image.js +2 -2
- package/library/components/input.js +4 -7
- package/library/components/line-clamp.js +1 -1
- package/library/components/list-editor.js +6 -6
- package/library/components/masonry.js +2 -2
- package/library/components/menu-item.js +1 -1
- package/library/components/menu.js +1 -1
- package/library/components/molecules.js +5 -5
- package/library/components/option.js +2 -2
- package/library/components/organisms.js +2 -2
- package/library/components/pagination.js +5 -5
- package/library/components/popup.js +1 -1
- package/library/components/position-picker.js +1 -1
- package/library/components/progress-bar.js +1 -1
- package/library/components/progress-ring.js +1 -1
- package/library/components/radio-group.js +1 -1
- package/library/components/range.js +2 -2
- package/library/components/rating.js +1 -1
- package/library/components/relative-time.js +1 -1
- package/library/components/select.js +3 -3
- package/library/components/share-option-list.js +2 -2
- package/library/components/sidebar.js +1 -1
- package/library/components/size-input-group.js +2 -2
- package/library/components/spinner.js +1 -1
- package/library/components/split-panel.js +1 -1
- package/library/components/switch.js +1 -1
- package/library/components/tab-group.js +5 -5
- package/library/components/tab.js +2 -2
- package/library/components/table.js +5 -5
- package/library/components/tag.js +2 -2
- package/library/components/textarea.js +2 -2
- package/library/components/timecode.js +1 -1
- package/library/components/tooltip.js +1 -1
- package/library/components/tree-item.js +2 -2
- package/library/components/tree.js +2 -2
- package/library/components/typeface.js +2 -2
- package/library/components/types.js +31066 -29848
- package/library/components/video.js +554 -545
- package/library/package.json +1 -1
- package/library/packages/atoms/src/components/image/image.d.ts +15 -1
- package/library/packages/atoms/src/components/input/input.d.ts +1 -2
- package/library/packages/atoms/src/components/video/video.d.ts +3 -1
- package/library/packages/events/src/cx-asset-format-picker-delete.d.ts +6 -0
- package/library/packages/events/src/cx-asset-format-picker-select.d.ts +8 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-cancel.d.ts +6 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-confirm.d.ts +11 -0
- package/library/packages/events/src/cx-asset-transformation-dialog-delete.d.ts +6 -0
- package/library/packages/events/src/cx-bento-range-change.d.ts +9 -0
- package/library/packages/events/src/cx-content-builder-gallery-fetched.d.ts +10 -0
- package/library/packages/events/src/cx-lightbox-close.d.ts +6 -0
- package/library/packages/events/src/cx-lightbox-download.d.ts +11 -0
- package/library/packages/events/src/cx-timeline-data-resolved.d.ts +10 -0
- package/library/packages/events/src/cx-video-thumbnail-resolved.d.ts +8 -0
- package/library/packages/events/src/events.d.ts +12 -1
- package/library/packages/molecules/src/asset-data-display/asset-data-display.d.ts +1 -0
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.d.ts +56 -0
- package/library/packages/molecules/src/asset-format-picker/asset-format-picker.styles.d.ts +2 -0
- package/library/packages/molecules/src/asset-picker/asset-picker.d.ts +7 -0
- package/library/packages/molecules/src/cropper/cropper.d.ts +1 -0
- package/library/packages/molecules/src/cropper/react/Cropper.d.ts +1 -0
- package/library/packages/molecules/src/download-format-picker/download-format-picker.d.ts +5 -1
- package/library/packages/molecules/src/index.d.ts +1 -0
- package/library/packages/molecules/src/timeline/timeline.d.ts +18 -0
- package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +12 -0
- package/library/packages/organisms/src/asset-link-format/components/asset-link-format-rotation/asset-link-format-rotation.d.ts +7 -7
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.d.ts +102 -0
- package/library/packages/organisms/src/asset-transformation-dialog/asset-transformation-dialog.styles.d.ts +2 -0
- package/library/packages/organisms/src/bento-grid/bento-grid.d.ts +57 -26
- package/library/packages/organisms/src/bento-grid/bento-layout.d.ts +44 -0
- package/library/packages/organisms/src/carousel/carousel.d.ts +3 -1
- package/library/packages/organisms/src/content-builder/components/block-picker/block-picker.d.ts +7 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form-controller.d.ts +4 -0
- package/library/packages/organisms/src/content-builder/components/config-form/config-form.d.ts +11 -0
- package/library/packages/organisms/src/content-builder/components/config-manager/config-manager.d.ts +10 -0
- package/library/packages/organisms/src/content-builder/components/gallery-picker/gallery-picker.d.ts +6 -0
- package/library/packages/organisms/src/content-builder/configs/carousel.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/gallery.d.ts +6 -2
- package/library/packages/organisms/src/content-builder/configs/image.d.ts +7 -4
- package/library/packages/organisms/src/content-builder/configs/timeline.d.ts +5 -2
- package/library/packages/organisms/src/content-builder/configs/video.d.ts +11 -2
- package/library/packages/organisms/src/content-builder/configs-controller.d.ts +45 -4
- package/library/packages/organisms/src/content-builder/content-builder-constants.d.ts +2 -2
- package/library/packages/organisms/src/content-builder/content-builder.d.ts +13 -0
- package/library/packages/organisms/src/content-builder/plugins/gallery.d.ts +45 -1
- package/library/packages/organisms/src/content-builder/styleController.d.ts +26 -1
- package/library/packages/organisms/src/index.d.ts +2 -0
- package/library/packages/organisms/src/lightbox/lightbox.d.ts +79 -0
- package/library/packages/organisms/src/lightbox/lightbox.styles.d.ts +2 -0
- package/library/packages/services/src/api/asset/asset.d.ts +2 -2
- package/library/packages/services/src/api/asset/asset.types.d.ts +4 -0
- package/library/packages/tools/src/fetch-asset/fetch-asset.d.ts +2 -1
- package/library/packages/tools/src/fetch-image/fetch-image.d.ts +19 -5
- package/library/packages/types/src/asset-click-action.d.ts +3 -1
- package/library/packages/types/src/asset-format-picker.d.ts +11 -0
- package/library/packages/types/src/bento-grid.d.ts +37 -0
- package/library/packages/types/src/content-builder.d.ts +37 -1
- package/library/packages/types/src/gallery.d.ts +0 -6
- package/library/packages/utils/src/actions/asset-click.d.ts +1 -3
- package/library/packages/utils/src/custom-element/i18n.d.ts +6 -0
- package/library/packages/utils/src/index.d.ts +1 -0
- package/library/packages/utils/src/string/string.d.ts +1 -0
- package/library/packages/utils/src/transformation/index.d.ts +1 -0
- package/library/react-web-component.d.ts +236 -8
- package/library/utils.js +517 -192
- package/package.json +1 -1
- package/library/chunks/asset.Duzr3O3z.js +0 -370
- package/library/chunks/index.BgXEXk4m.js +0 -398
- package/library/chunks/toast.Bc4wpYJ1.js +0 -150
- /package/library/packages/{organisms/src/asset-link-format/asset-link-format.utils.d.ts → utils/src/transformation/transformation.d.ts} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function
|
|
1
|
+
function m({
|
|
2
2
|
base: t = 1024,
|
|
3
3
|
decimals: n = 2,
|
|
4
4
|
inputUnit: e = "B",
|
|
@@ -17,73 +17,73 @@ function h({
|
|
|
17
17
|
Mb: t ** 2 / 8,
|
|
18
18
|
Tb: t ** 4 / 8,
|
|
19
19
|
b: 1 / 8
|
|
20
|
-
},
|
|
20
|
+
}, u = { ...i, ...o }, d = u[r], f = s * u[e], c = Number.parseFloat((f / d).toFixed(n));
|
|
21
21
|
return Number.isNaN(c) ? 0 : c;
|
|
22
22
|
}
|
|
23
|
-
function
|
|
23
|
+
function N(t) {
|
|
24
24
|
return t > 360 ? 360 : t < -360 ? -360 : t;
|
|
25
25
|
}
|
|
26
|
-
function
|
|
27
|
-
return n === 0 ? t :
|
|
26
|
+
function a(t, n) {
|
|
27
|
+
return n === 0 ? t : a(n, t % n);
|
|
28
28
|
}
|
|
29
|
-
function
|
|
29
|
+
function h(t, n) {
|
|
30
30
|
if (!t || !n)
|
|
31
31
|
return "-- / --";
|
|
32
|
-
const e =
|
|
32
|
+
const e = a(t, n);
|
|
33
33
|
return `${t / e} / ${n / e}`;
|
|
34
34
|
}
|
|
35
|
-
function
|
|
36
|
-
const e = Math.round(t), r = Math.round(n), s =
|
|
35
|
+
function l(t, n) {
|
|
36
|
+
const e = Math.round(t), r = Math.round(n), s = a(e, r);
|
|
37
37
|
return {
|
|
38
38
|
height: r / s,
|
|
39
39
|
width: e / s
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function b(t, n, e) {
|
|
43
43
|
const r = e * Math.PI / 180;
|
|
44
44
|
if (e % 90 === 0)
|
|
45
45
|
return {
|
|
46
46
|
height: e % 180 === 0 ? n : t,
|
|
47
47
|
width: e % 180 === 0 ? t : n
|
|
48
48
|
};
|
|
49
|
-
const s = Math.abs(Math.cos(r)), i = Math.abs(Math.sin(r)), o = t * s + n * i,
|
|
49
|
+
const s = Math.abs(Math.cos(r)), i = Math.abs(Math.sin(r)), o = t * s + n * i, u = t * i + n * s;
|
|
50
50
|
return {
|
|
51
|
-
height: Math.round(
|
|
51
|
+
height: Math.round(u),
|
|
52
52
|
width: Math.round(o)
|
|
53
53
|
};
|
|
54
54
|
}
|
|
55
|
-
function
|
|
55
|
+
function g(t) {
|
|
56
56
|
if (!t || typeof t != "string")
|
|
57
57
|
return 0;
|
|
58
58
|
const n = t.trim();
|
|
59
59
|
if (!n)
|
|
60
60
|
return 0;
|
|
61
61
|
if (n.endsWith("s") && !n.endsWith("ms")) {
|
|
62
|
-
const e = parseFloat(n);
|
|
63
|
-
return isNaN(e) || e < 0 ? 0 : e * 1e3;
|
|
62
|
+
const e = Number.parseFloat(n);
|
|
63
|
+
return Number.isNaN(e) || e < 0 ? 0 : e * 1e3;
|
|
64
64
|
}
|
|
65
65
|
if (n.endsWith("m")) {
|
|
66
|
-
const e = parseFloat(n);
|
|
67
|
-
return isNaN(e) || e < 0 ? 0 : e * 60 * 1e3;
|
|
66
|
+
const e = Number.parseFloat(n);
|
|
67
|
+
return Number.isNaN(e) || e < 0 ? 0 : e * 60 * 1e3;
|
|
68
68
|
}
|
|
69
69
|
if (n.endsWith("h")) {
|
|
70
|
-
const e = parseFloat(n);
|
|
71
|
-
return isNaN(e) || e < 0 ? 0 : e * 60 * 60 * 1e3;
|
|
70
|
+
const e = Number.parseFloat(n);
|
|
71
|
+
return Number.isNaN(e) || e < 0 ? 0 : e * 60 * 60 * 1e3;
|
|
72
72
|
}
|
|
73
73
|
if (n.endsWith("ms")) {
|
|
74
|
-
const e = parseFloat(n);
|
|
75
|
-
return isNaN(e) || e < 0 ? 0 : e;
|
|
74
|
+
const e = Number.parseFloat(n);
|
|
75
|
+
return Number.isNaN(e) || e < 0 ? 0 : e;
|
|
76
76
|
}
|
|
77
77
|
return 0;
|
|
78
78
|
}
|
|
79
|
-
function
|
|
79
|
+
function p(t) {
|
|
80
80
|
const n = /^(-?\d*\.?\d+)([a-zA-Z%]*)$/.exec(t.trim());
|
|
81
81
|
if (!n)
|
|
82
82
|
return null;
|
|
83
83
|
const e = Number.parseFloat(n[1]);
|
|
84
84
|
return { unit: n[2] || "", value: e };
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function v(t) {
|
|
87
87
|
if (!Number.isFinite(t))
|
|
88
88
|
return "0";
|
|
89
89
|
const [n, e] = String(t).split("."), r = n.startsWith("-"), i = (r ? n.slice(1) : n).replace(
|
|
@@ -93,13 +93,13 @@ function M(t) {
|
|
|
93
93
|
return e !== void 0 ? `${o}${i}.${e}` : `${o}${i}`;
|
|
94
94
|
}
|
|
95
95
|
export {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
96
|
+
m as a,
|
|
97
|
+
g as b,
|
|
98
|
+
l as c,
|
|
99
|
+
h as d,
|
|
100
|
+
p as e,
|
|
101
|
+
v as f,
|
|
102
|
+
a as g,
|
|
103
|
+
b as r,
|
|
104
|
+
N as s
|
|
105
105
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as s, C as x } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as m } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as v } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as g } from "./i18n.
|
|
4
|
+
import { L as g } from "./i18n.BABe9hN4.js";
|
|
5
5
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
6
6
|
import { i as b, x as h } from "./lit-element.jLBm65_O.js";
|
|
7
7
|
import { r as f } from "./state.CSDxrqLd.js";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import b from "../components/space.js";
|
|
2
2
|
import { n as o, C as _ } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
|
-
import { C as P, I as y } from "./icon-button.
|
|
3
|
+
import { C as P, I as y } from "./icon-button.C2s3pHG4.js";
|
|
4
4
|
import { c as f } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as z } from "./i18n.
|
|
5
|
+
import { L as z } from "./i18n.BABe9hN4.js";
|
|
6
6
|
import { c as m } from "./math.DqTA6ya4.js";
|
|
7
7
|
import { w as d } from "./watch.BCJD77bD.js";
|
|
8
8
|
import { i as C, x as s } from "./lit-element.jLBm65_O.js";
|
|
@@ -10,9 +10,9 @@ import { r as S } from "./state.CSDxrqLd.js";
|
|
|
10
10
|
import { e as $ } from "./class-map.BiVq-cVR.js";
|
|
11
11
|
import { c as x } from "./repeat.DbF2p5ae.js";
|
|
12
12
|
import { n as g } from "./when.Dr1es41R.js";
|
|
13
|
-
import { C as v } from "./button.
|
|
13
|
+
import { C as v } from "./button.CAa1kvwe.js";
|
|
14
14
|
import w from "../components/input.js";
|
|
15
|
-
import { C as I } from "./option.
|
|
15
|
+
import { C as I } from "./option.DGXQzdtb.js";
|
|
16
16
|
import B from "../components/select.js";
|
|
17
17
|
import N from "../components/tooltip.js";
|
|
18
18
|
import { C as k } from "./typography.DJC_UXgs.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { p as g } from "./purify.es.BIuh5IAZ.js";
|
|
2
2
|
var m = /* @__PURE__ */ ((t) => (t.Asset = "asset", t.Folder = "folder", t.Link = "link", t.Page = "page", t.Space = "space", t))(m || {}), S = /* @__PURE__ */ ((t) => (t.Default = "default", t.Overlay = "overlay", t))(S || {}), A = /* @__PURE__ */ ((t) => (t.Always = "always", t.OnHover = "on-hover", t))(A || {}), h = /* @__PURE__ */ ((t) => (t.Track = "track", t.Transition = "transition", t))(h || {}), c = /* @__PURE__ */ ((t) => (t.Frames = "Frames", t.SMPTE = "SMPTE", t.Standard = "Standard", t))(c || {});
|
|
3
3
|
const C = 50;
|
|
4
|
-
function
|
|
4
|
+
function w(t) {
|
|
5
5
|
return t.replaceAll(/[\s_]+/g, "-").replaceAll(/([a-z])([A-Z])/g, "$1-$2").replaceAll(/([A-Z])([A-Z])/g, "$1-$2").replaceAll(/([a-z])([0-9])/g, "$1-$2").replaceAll(/([A-Z])([0-9])/g, "$1-$2").replaceAll(/([0-9])([a-z])/g, "$1-$2").replaceAll(/([0-9])([A-Z])/g, "$1-$2").toLowerCase().replaceAll(/^-+|-+$/g, "");
|
|
6
6
|
}
|
|
7
|
-
function
|
|
7
|
+
function E(t) {
|
|
8
8
|
return t.replaceAll(/[-_]+/g, " ").split(" ").map((r) => r.charAt(0).toUpperCase() + r.slice(1)).join("");
|
|
9
9
|
}
|
|
10
10
|
function I(t) {
|
|
11
11
|
return t.trim().replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([^0-9])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-z])/g, "$1 $2").replaceAll(/([0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z])/g, "$1 $2").replaceAll(/[^A-Za-z0-9]/g, " ").split(" ").filter((r) => r).reduce((r, e, n) => `${r}${n ? $(e.toLowerCase()) : e.toLowerCase()}`, "");
|
|
12
12
|
}
|
|
13
|
-
function
|
|
13
|
+
function L(t) {
|
|
14
14
|
return t.replaceAll(/([a-z])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").trim();
|
|
15
15
|
}
|
|
16
16
|
function $(t) {
|
|
@@ -19,8 +19,8 @@ function $(t) {
|
|
|
19
19
|
const r = t.trim(), e = r.charAt(0).toUpperCase(), n = r.slice(1);
|
|
20
20
|
return `${e}${n}`;
|
|
21
21
|
}
|
|
22
|
-
const
|
|
23
|
-
function
|
|
22
|
+
const v = (t, r, e, n) => t && t.length > r ? t.substring(0, e) + " ... " + t.substring(t.length - n, t.length) : t, x = (t) => t ? t.replaceAll(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll(/([A-Z])([A-Z][a-z])/g, "$1 $2").replaceAll(/([a-zA-Z])([0-9])/g, "$1 $2").replaceAll(/([0-9])([a-zA-Z])/g, "$1 $2").replaceAll(/\s+/g, " ").trim().toLowerCase() : "";
|
|
23
|
+
function D(t, r = {}) {
|
|
24
24
|
const {
|
|
25
25
|
frameRate: e = 24,
|
|
26
26
|
mode: n = c.Standard,
|
|
@@ -65,15 +65,15 @@ function T(t, r, e) {
|
|
|
65
65
|
`${i.toString().padStart(2, "0")}.${l.toString().padStart(2, "0")}`
|
|
66
66
|
) : a.push(i.toString().padStart(2, "0")), a.join(":");
|
|
67
67
|
}
|
|
68
|
-
function
|
|
68
|
+
function O(t) {
|
|
69
69
|
return t.endsWith("/") ? t : `${t}/`;
|
|
70
70
|
}
|
|
71
71
|
const d = "-";
|
|
72
|
-
function
|
|
72
|
+
function j(t) {
|
|
73
73
|
const r = t.split(d), e = r.pop() ?? "", n = r.join(d);
|
|
74
74
|
return { id: e, path: n };
|
|
75
75
|
}
|
|
76
|
-
function
|
|
76
|
+
function k({
|
|
77
77
|
id: t,
|
|
78
78
|
path: r
|
|
79
79
|
}) {
|
|
@@ -92,26 +92,26 @@ function _(t, r = {}) {
|
|
|
92
92
|
return 0;
|
|
93
93
|
switch (n) {
|
|
94
94
|
case c.SMPTE:
|
|
95
|
-
return
|
|
95
|
+
return z(o, s);
|
|
96
96
|
case c.Frames:
|
|
97
|
-
return
|
|
97
|
+
return F(o, s);
|
|
98
98
|
case c.Standard:
|
|
99
99
|
default:
|
|
100
|
-
return
|
|
100
|
+
return P(o);
|
|
101
101
|
}
|
|
102
102
|
}
|
|
103
|
-
function
|
|
103
|
+
function z(t, r) {
|
|
104
104
|
const e = /^(\d{1,2}):(\d{1,2}):(\d{1,2})[:;](\d{1,2})$/, n = t.match(e);
|
|
105
105
|
if (!n)
|
|
106
106
|
return 0;
|
|
107
107
|
const [, s, o, i, l] = n, a = Number.parseInt(s, 10), u = Number.parseInt(o, 10), f = Number.parseInt(i, 10), p = Number.parseInt(l, 10);
|
|
108
108
|
return a < 0 || a > 23 || u < 0 || u > 59 || f < 0 || f > 59 || p < 0 || p >= r ? 0 : a * 3600 + u * 60 + f + p / r;
|
|
109
109
|
}
|
|
110
|
-
function
|
|
110
|
+
function F(t, r) {
|
|
111
111
|
const e = Number.parseInt(t, 10);
|
|
112
112
|
return Number.isNaN(e) || e < 0 ? 0 : e / r;
|
|
113
113
|
}
|
|
114
|
-
function
|
|
114
|
+
function P(t) {
|
|
115
115
|
const r = /^(\d{1,2}):(\d{1,2})(?::(\d{1,2}))?(?:\.(\d{1,2}))?$/, e = t.match(r);
|
|
116
116
|
if (!e)
|
|
117
117
|
return 0;
|
|
@@ -144,13 +144,19 @@ function y(t) {
|
|
|
144
144
|
function U(t) {
|
|
145
145
|
return typeof t == "string" ? t.replaceAll(" ", " ") : t == null ? "" : String(t);
|
|
146
146
|
}
|
|
147
|
-
function
|
|
147
|
+
function W(t) {
|
|
148
148
|
return t == null || t === "" ? " " : String(t);
|
|
149
149
|
}
|
|
150
|
-
function
|
|
150
|
+
function B(t) {
|
|
151
151
|
return typeof t != "string" ? !1 : Object.values(m).includes(t);
|
|
152
152
|
}
|
|
153
153
|
function q(t) {
|
|
154
|
+
if (!t)
|
|
155
|
+
return "";
|
|
156
|
+
const r = t.startsWith(".") ? t.toLowerCase() : `.${t.toLowerCase()}`;
|
|
157
|
+
return r === "." ? "" : r;
|
|
158
|
+
}
|
|
159
|
+
function K(t) {
|
|
154
160
|
return t ? t.toLowerCase() === "true" : !1;
|
|
155
161
|
}
|
|
156
162
|
export {
|
|
@@ -158,25 +164,26 @@ export {
|
|
|
158
164
|
S as G,
|
|
159
165
|
h as M,
|
|
160
166
|
c as T,
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
167
|
+
q as a,
|
|
168
|
+
H as b,
|
|
169
|
+
W as c,
|
|
170
|
+
U as d,
|
|
171
|
+
j as e,
|
|
172
|
+
D as f,
|
|
173
|
+
k as g,
|
|
174
|
+
A as h,
|
|
175
|
+
m as i,
|
|
176
|
+
B as j,
|
|
177
|
+
x as k,
|
|
178
|
+
_ as l,
|
|
173
179
|
w as m,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
q,
|
|
180
|
+
E as n,
|
|
181
|
+
I as o,
|
|
182
|
+
O as p,
|
|
183
|
+
L as q,
|
|
178
184
|
R as r,
|
|
179
185
|
y as s,
|
|
180
|
-
|
|
181
|
-
$ as u
|
|
186
|
+
v as t,
|
|
187
|
+
$ as u,
|
|
188
|
+
K as v
|
|
182
189
|
};
|
|
@@ -2,10 +2,10 @@ import In from "../components/resize-observer.js";
|
|
|
2
2
|
import { n as wt, C as Fn } from "./lib-cortex-element.CVMmyPMC.js";
|
|
3
3
|
import { c as Ln } from "./component.styles.CRO4Odto.js";
|
|
4
4
|
import { c as $n } from "./custom-element.L4WJXn1j.js";
|
|
5
|
-
import { L as Nn } from "./i18n.
|
|
5
|
+
import { L as Nn } from "./i18n.BABe9hN4.js";
|
|
6
6
|
import { s as Zi } from "./scroll.xtO5yojm.js";
|
|
7
7
|
import { w as ft } from "./watch.BCJD77bD.js";
|
|
8
|
-
import { i as Bn } from "./dom.
|
|
8
|
+
import { i as Bn } from "./dom.0RpWet6y.js";
|
|
9
9
|
import { s as Wn } from "./parse.Cu5nBDTb.js";
|
|
10
10
|
import { i as Vn, x as $t } from "./lit-element.jLBm65_O.js";
|
|
11
11
|
import { r as at } from "./state.CSDxrqLd.js";
|
|
@@ -17,9 +17,9 @@ import { i as Ji } from "./guard.D4axKaMo.js";
|
|
|
17
17
|
import { o as tr } from "./map.D8heArFD.js";
|
|
18
18
|
import { o as Ue } from "./style-map.llVFPd__.js";
|
|
19
19
|
import { n as Pe } from "./when.Dr1es41R.js";
|
|
20
|
-
import { C as Yn } from "./button.
|
|
20
|
+
import { C as Yn } from "./button.CAa1kvwe.js";
|
|
21
21
|
import Xn from "../components/dropdown.js";
|
|
22
|
-
import { C as qn } from "./icon-button.
|
|
22
|
+
import { C as qn } from "./icon-button.C2s3pHG4.js";
|
|
23
23
|
import Gn from "../components/menu.js";
|
|
24
24
|
import Kn from "../components/menu-item.js";
|
|
25
25
|
import jn from "../components/tab.js";
|
|
@@ -1,28 +1,29 @@
|
|
|
1
|
-
import { C as Ve } from "./button.
|
|
1
|
+
import { C as Ve } from "./button.CAa1kvwe.js";
|
|
2
2
|
import Ys from "../components/checkbox.js";
|
|
3
3
|
import Qs from "../components/divider.js";
|
|
4
4
|
import Zs from "../components/format-number.js";
|
|
5
|
-
import { C as Ls } from "./icon-button.
|
|
5
|
+
import { C as Ls } from "./icon-button.C2s3pHG4.js";
|
|
6
6
|
import eo from "../components/select.js";
|
|
7
7
|
import Ri from "../components/space.js";
|
|
8
8
|
import to from "../components/spinner.js";
|
|
9
9
|
import { n as g, C as Ie } from "./lib-cortex-element.CVMmyPMC.js";
|
|
10
10
|
import { c as Qe } from "./component.styles.CRO4Odto.js";
|
|
11
11
|
import { o as io, O as Zi } from "./overlayscrollbars.BMav4RQ4.js";
|
|
12
|
-
import { g as k, a as es } from "./dom.
|
|
12
|
+
import { g as k, a as es } from "./dom.0RpWet6y.js";
|
|
13
13
|
import { x as E, i as O, E as so } from "./lit-element.jLBm65_O.js";
|
|
14
14
|
import "./browser.BHOCIF_A.js";
|
|
15
|
-
import "./form.
|
|
16
|
-
import { L as ut } from "./i18n.
|
|
15
|
+
import "./form.Ch1cwYzO.js";
|
|
16
|
+
import { L as ut } from "./i18n.BABe9hN4.js";
|
|
17
17
|
import "./purify.es.BIuh5IAZ.js";
|
|
18
|
-
import
|
|
18
|
+
import "./content-builder.CcgZciZN.js";
|
|
19
19
|
import "./unsafe-html.Dff7-rCx.js";
|
|
20
|
-
import {
|
|
20
|
+
import { t as oo, g as ro } from "./toast.D3AW3RWv.js";
|
|
21
|
+
import { s as T, c as pt, d as Si } from "./string.DUgD4c9f.js";
|
|
21
22
|
import { o as re } from "./if-defined.BRoBj_Rp.js";
|
|
22
23
|
import { o as De } from "./style-map.llVFPd__.js";
|
|
23
24
|
import { T as no, C as ao } from "./typography.DJC_UXgs.js";
|
|
24
25
|
import { d as lo } from "./debounce.C_J-9zJi.js";
|
|
25
|
-
import { C as ho, P as co } from "./pagination.
|
|
26
|
+
import { C as ho, P as co } from "./pagination.DZqKSA86.js";
|
|
26
27
|
import { c as Be } from "./custom-element.L4WJXn1j.js";
|
|
27
28
|
import { w as A } from "./watch.BCJD77bD.js";
|
|
28
29
|
import { r as ae } from "./state.CSDxrqLd.js";
|
|
@@ -16399,7 +16400,7 @@ class El extends ve {
|
|
|
16399
16400
|
}
|
|
16400
16401
|
// #endregion
|
|
16401
16402
|
}
|
|
16402
|
-
class
|
|
16403
|
+
class ic {
|
|
16403
16404
|
constructor(e) {
|
|
16404
16405
|
this.type = e, this.element = this._createElement();
|
|
16405
16406
|
}
|
|
@@ -17313,6 +17314,7 @@ let w = class extends Ie {
|
|
|
17313
17314
|
}
|
|
17314
17315
|
}
|
|
17315
17316
|
async initTable() {
|
|
17317
|
+
this.tabulatorInstance && (this.overflowObserver?.disconnect(), this.verticalOsInstance?.destroy(), this.horizontalOsInstance?.destroy(), this.tabulatorInstance.destroy());
|
|
17316
17318
|
let n = this.rowHeader;
|
|
17317
17319
|
n == null && (this.movableRows ? n = nh : this.responsiveLayout === "collapse" && (n = {
|
|
17318
17320
|
formatter: "responsiveCollapse"
|
|
@@ -17481,7 +17483,7 @@ let w = class extends Ie {
|
|
|
17481
17483
|
});
|
|
17482
17484
|
}
|
|
17483
17485
|
handleLayoutChange() {
|
|
17484
|
-
this.tabulatorInstance &&
|
|
17486
|
+
this.tabulatorInstance && this.initTable();
|
|
17485
17487
|
}
|
|
17486
17488
|
handleDataChange() {
|
|
17487
17489
|
this.tabulatorInstance?.rowManager?.renderer && this.tabulatorInstance.setData(this.data ?? []);
|
|
@@ -18579,7 +18581,7 @@ export {
|
|
|
18579
18581
|
S as M,
|
|
18580
18582
|
oi as N,
|
|
18581
18583
|
ri as O,
|
|
18582
|
-
|
|
18584
|
+
ic as P,
|
|
18583
18585
|
ni as Q,
|
|
18584
18586
|
Di as R,
|
|
18585
18587
|
Us as S,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { f as d } from "./number.
|
|
1
|
+
import { f as d } from "./number.B4PQLJIg.js";
|
|
2
2
|
var g = /* @__PURE__ */ ((r) => (r.Millisecond = "ms", r.Second = "s", r))(g || {}), a = /* @__PURE__ */ ((r) => (r.Day = "d", r.DayHour = "d-h", r.DayHourMinute = "d-h-m", r.DayHourMinuteSecond = "d-h-m-s", r.Hour = "h", r.HourMinute = "h-m", r.HourMinuteSecond = "h-m-s", r.Minute = "m", r.MinuteSecond = "m-s", r.Second = "s", r))(a || {}), u = /* @__PURE__ */ ((r) => (r.Digital = "digital", r.Long = "long", r.Narrow = "narrow", r.Short = "short", r))(u || {}), h = /* @__PURE__ */ ((r) => (r.English = "en", r))(h || {});
|
|
3
3
|
const f = [
|
|
4
4
|
{
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
function A(n, r) {
|
|
2
|
+
return n.filter((t, o) => o !== r);
|
|
3
|
+
}
|
|
4
|
+
function g(n, r) {
|
|
5
|
+
return n.filter((t, o) => !r.includes(o));
|
|
6
|
+
}
|
|
7
|
+
function h(n, r, t) {
|
|
8
|
+
return [...n.slice(0, r), t, ...n.slice(r)];
|
|
9
|
+
}
|
|
10
|
+
function v(n, r, t) {
|
|
11
|
+
return [...n.slice(0, r), ...t, ...n.slice(r)];
|
|
12
|
+
}
|
|
13
|
+
function M(n, r, t) {
|
|
14
|
+
return n.findIndex((o) => o[r] === t);
|
|
15
|
+
}
|
|
16
|
+
function T(n, r, t) {
|
|
17
|
+
const o = [...n], c = A(o, r);
|
|
18
|
+
let e = t;
|
|
19
|
+
return e >= n.length - 1 && (e = e + 1), h(c, e, n[r]);
|
|
20
|
+
}
|
|
21
|
+
function y(n, r, t) {
|
|
22
|
+
const o = [...n], c = g(o, r), e = t !== 0 ? r.reduce(
|
|
23
|
+
(i, a) => t > a ? i - 1 : i,
|
|
24
|
+
t
|
|
25
|
+
) : t;
|
|
26
|
+
return v(
|
|
27
|
+
c,
|
|
28
|
+
e,
|
|
29
|
+
r.map((i) => n[i])
|
|
30
|
+
);
|
|
31
|
+
}
|
|
32
|
+
function F(n, r) {
|
|
33
|
+
return n.reduce(
|
|
34
|
+
(t, o) => {
|
|
35
|
+
const c = o[r];
|
|
36
|
+
return t[c] ??= [], t[c].push(o), t;
|
|
37
|
+
},
|
|
38
|
+
{}
|
|
39
|
+
);
|
|
40
|
+
}
|
|
41
|
+
function S(n, r, t) {
|
|
42
|
+
if (!n.length)
|
|
43
|
+
return [r];
|
|
44
|
+
const o = t.findIndex(
|
|
45
|
+
(u) => u.id === r
|
|
46
|
+
), c = n[n.length - 1], e = t.findIndex(
|
|
47
|
+
(u) => u.id === c
|
|
48
|
+
);
|
|
49
|
+
if (o < 0 || e < 0)
|
|
50
|
+
return [r];
|
|
51
|
+
const s = t.reduce(
|
|
52
|
+
(u, f, p) => (u[f.id] = p, u),
|
|
53
|
+
{}
|
|
54
|
+
), i = o > e, a = i ? e : o, w = i ? o : e, d = t.slice(a, w + 1).filter((u) => !(!u || n.includes(u.id))).map((u) => u.id), x = i ? d : [...d].reverse(), l = n.includes(r) ? n.slice(0, n.indexOf(r) + 1) : [...n, ...x];
|
|
55
|
+
return l.sort((u, f) => s[u] - s[f]), l;
|
|
56
|
+
}
|
|
57
|
+
function N(n, r, t, o, c, e) {
|
|
58
|
+
const s = t + 1;
|
|
59
|
+
if (n.length < 2)
|
|
60
|
+
throw new Error("Values array must contain at least 2 elements");
|
|
61
|
+
if (t < 0 || s >= n.length)
|
|
62
|
+
throw new Error("Invalid index or not enough values to adjust");
|
|
63
|
+
if (o < 0)
|
|
64
|
+
throw new Error("Minimum value must be non-negative");
|
|
65
|
+
let i = c + r;
|
|
66
|
+
i < o && (r = o - c, i = o);
|
|
67
|
+
let a = e - r;
|
|
68
|
+
a < o && (r = e - o, i = c + r, a = o), n[t] = parseFloat(i.toFixed(2)), n[s] = parseFloat(a.toFixed(2));
|
|
69
|
+
}
|
|
70
|
+
const b = (n, r) => {
|
|
71
|
+
try {
|
|
72
|
+
window.Matrix3?.ShowNotification && window.Matrix3.ShowNotification(
|
|
73
|
+
n,
|
|
74
|
+
r ? {
|
|
75
|
+
notificationType: r.notificationType
|
|
76
|
+
} : void 0
|
|
77
|
+
);
|
|
78
|
+
} catch {
|
|
79
|
+
return;
|
|
80
|
+
}
|
|
81
|
+
};
|
|
82
|
+
export {
|
|
83
|
+
y as a,
|
|
84
|
+
A as b,
|
|
85
|
+
h as c,
|
|
86
|
+
T as d,
|
|
87
|
+
N as e,
|
|
88
|
+
M as f,
|
|
89
|
+
F as g,
|
|
90
|
+
v as i,
|
|
91
|
+
S as m,
|
|
92
|
+
g as r,
|
|
93
|
+
b as t
|
|
94
|
+
};
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { T as n } from "./asset-link-format.BSRDqHg7.js";
|
|
2
|
+
function p({
|
|
3
|
+
asset: _,
|
|
4
|
+
baseUrl: d,
|
|
5
|
+
extension: y,
|
|
6
|
+
parameters: c,
|
|
7
|
+
transformations: o,
|
|
8
|
+
useSession: v = ""
|
|
9
|
+
}) {
|
|
10
|
+
if (d == null)
|
|
11
|
+
return "";
|
|
12
|
+
let t = d;
|
|
13
|
+
const f = o?.findLast(
|
|
14
|
+
(i) => i.key === n.Quality
|
|
15
|
+
);
|
|
16
|
+
if (f && (o = [
|
|
17
|
+
...o?.filter(
|
|
18
|
+
(i) => i.key !== n.Quality
|
|
19
|
+
) || [],
|
|
20
|
+
f
|
|
21
|
+
]), o) {
|
|
22
|
+
const i = [];
|
|
23
|
+
for (let a = 0; a < o.length; a++) {
|
|
24
|
+
const l = o[a];
|
|
25
|
+
if (l.key === n.Rotate) {
|
|
26
|
+
let e = l.value.rotation ?? 0;
|
|
27
|
+
for (; o[a + 1]?.key === n.Rotate; )
|
|
28
|
+
a++, e += o[a].value.rotation ?? 0;
|
|
29
|
+
e !== 0 && i.push({ key: n.Rotate, value: { rotation: e } });
|
|
30
|
+
} else
|
|
31
|
+
i.push(l);
|
|
32
|
+
}
|
|
33
|
+
o = i;
|
|
34
|
+
}
|
|
35
|
+
o && o.length > 0 && (t += "/t/"), o?.forEach(({ key: i, value: a }) => {
|
|
36
|
+
if (i === n.Resize) {
|
|
37
|
+
const l = [
|
|
38
|
+
...[
|
|
39
|
+
{
|
|
40
|
+
key: "re_w_",
|
|
41
|
+
value: Math.round(a.width ?? 0)
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
key: "re_h_",
|
|
45
|
+
value: Math.round(a.height ?? 0)
|
|
46
|
+
}
|
|
47
|
+
].filter((e) => e.value !== void 0).map((e) => ({
|
|
48
|
+
key: e.key,
|
|
49
|
+
value: Math.round(Number(e.value))
|
|
50
|
+
})),
|
|
51
|
+
{
|
|
52
|
+
key: "re_rm_",
|
|
53
|
+
value: "stretch"
|
|
54
|
+
}
|
|
55
|
+
];
|
|
56
|
+
l.forEach(({ key: e, value: u }, r) => {
|
|
57
|
+
t += `${e}${u}${r < l.length - 1 ? "," : ""}`;
|
|
58
|
+
}), t += "/";
|
|
59
|
+
}
|
|
60
|
+
if (i === n.Crop) {
|
|
61
|
+
const l = [
|
|
62
|
+
...[
|
|
63
|
+
{
|
|
64
|
+
key: "c_",
|
|
65
|
+
value: a.mode
|
|
66
|
+
},
|
|
67
|
+
...a.disabledSize ? [] : [
|
|
68
|
+
{
|
|
69
|
+
key: "c_w_",
|
|
70
|
+
value: Math.round(a.width ?? 0)
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
key: "c_h_",
|
|
74
|
+
value: Math.round(a.height ?? 0)
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
key: "c_x_",
|
|
78
|
+
value: Math.round(a.x ?? 0)
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
key: "c_y_",
|
|
82
|
+
value: Math.round(a.y ?? 0)
|
|
83
|
+
}
|
|
84
|
+
]
|
|
85
|
+
].filter((e) => e.value !== void 0 && e.value !== null).map((e) => ({
|
|
86
|
+
key: e.key,
|
|
87
|
+
value: e.value
|
|
88
|
+
})),
|
|
89
|
+
{
|
|
90
|
+
key: "c_whu_",
|
|
91
|
+
value: "pixel"
|
|
92
|
+
}
|
|
93
|
+
];
|
|
94
|
+
l.forEach(({ key: e, value: u }, r) => {
|
|
95
|
+
const k = ["c_w_", "c_h_", "c_x_", "c_y_"].includes(e);
|
|
96
|
+
t += `${e}${k ? Math.round(Number(u)) : u}${r < l.length - 1 ? "," : ""}`;
|
|
97
|
+
}), t += "/";
|
|
98
|
+
}
|
|
99
|
+
if (i === n.Rotate && ([
|
|
100
|
+
{
|
|
101
|
+
key: "r_a_",
|
|
102
|
+
value: a.rotation
|
|
103
|
+
}
|
|
104
|
+
].filter((e) => e.value !== void 0).map((e) => ({
|
|
105
|
+
key: e.key,
|
|
106
|
+
value: Math.round(Number(e.value))
|
|
107
|
+
})).forEach(({ key: e, value: u }) => {
|
|
108
|
+
t += `${e}${u}`;
|
|
109
|
+
}), t += "/"), i === n.Quality) {
|
|
110
|
+
const l = [
|
|
111
|
+
{
|
|
112
|
+
key: "q_level_",
|
|
113
|
+
value: a.quality
|
|
114
|
+
}
|
|
115
|
+
].filter((e) => e.value !== void 0).map((e) => ({
|
|
116
|
+
key: e.key,
|
|
117
|
+
value: Math.round(Number(e.value))
|
|
118
|
+
}));
|
|
119
|
+
l.forEach(({ key: e, value: u }, r) => {
|
|
120
|
+
t += `${e}${u}${r < l.length - 1 ? "," : ""}`;
|
|
121
|
+
}), t += "/";
|
|
122
|
+
}
|
|
123
|
+
if (i === n.Metadata) {
|
|
124
|
+
const l = [
|
|
125
|
+
{
|
|
126
|
+
key: "fl_keep_metadata",
|
|
127
|
+
value: a.keepMetadata
|
|
128
|
+
}
|
|
129
|
+
].filter((e) => e.value !== void 0).map((e) => ({ key: e.key, value: e.value }));
|
|
130
|
+
l.forEach(({ key: e }, u) => {
|
|
131
|
+
t += `${e}${u < l.length - 1 ? "," : ""}`;
|
|
132
|
+
}), t += "/";
|
|
133
|
+
}
|
|
134
|
+
}), y && (t += `${_?.identifier ?? crypto.randomUUID()}${y}`);
|
|
135
|
+
const h = [];
|
|
136
|
+
return c && c.length > 0 && c.forEach(({ key: i, value: a }) => {
|
|
137
|
+
h.push(
|
|
138
|
+
`${encodeURIComponent(i.trim())}=${encodeURIComponent(a.trim())}`
|
|
139
|
+
);
|
|
140
|
+
}), d && v && h.push(`UseSession=${encodeURIComponent(v)}`), h.length > 0 && (t += `?${h.join("&")}`), t.endsWith("/") && (t = t.slice(0, -1)), t;
|
|
141
|
+
}
|
|
142
|
+
export {
|
|
143
|
+
p as b
|
|
144
|
+
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { C as R, n as l } from "./lib-cortex-element.CVMmyPMC.js";
|
|
2
2
|
import { c as N } from "./component.styles.CRO4Odto.js";
|
|
3
3
|
import { c as G } from "./custom-element.L4WJXn1j.js";
|
|
4
|
-
import { L as M } from "./i18n.
|
|
4
|
+
import { L as M } from "./i18n.BABe9hN4.js";
|
|
5
5
|
import { c as K } from "./math.DqTA6ya4.js";
|
|
6
6
|
import { w as b } from "./watch.BCJD77bD.js";
|
|
7
7
|
import { i as Z, x as g, E as L } from "./lit-element.jLBm65_O.js";
|