@orangelogic/design-system 2.112.0 → 2.113.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) hide show
  1. package/library/chunks/{asset.Ci6rP56l.js → asset.HL1qMnhg.js} +1 -1
  2. package/library/chunks/{button.BvBgxmvw.js → button.DIvU_uFU.js} +1 -1
  3. package/library/chunks/{color-swatch-group.D8KPblw2.js → color-swatch-group.DV5uB8OC.js} +3 -3
  4. package/library/chunks/{color-swatch.DQxReKYX.js → color-swatch.BoUZGGs4.js} +1 -1
  5. package/library/chunks/{confirm-popover.dyPIFLWa.js → confirm-popover.DS9HIy3c.js} +3 -3
  6. package/library/chunks/{dialog.BoCFGpPO.js → dialog.DyT-Nai2.js} +2 -2
  7. package/library/chunks/{document-viewer.B90s20gM.js → document-viewer.AiKX3RO6.js} +5 -5
  8. package/library/chunks/{dot-pagination.uz9GFrMP.js → dot-pagination.CKbL6eN_.js} +1 -1
  9. package/library/chunks/{file-on-demand.DLVH0DID.js → file-on-demand.h8tCgq51.js} +9 -9
  10. package/library/chunks/{folder-select.C2ruplAB.js → folder-select.eoufobYO.js} +4 -4
  11. package/library/chunks/{header.By_Mfx47.js → header.BUp3_oeJ.js} +1 -1
  12. package/library/chunks/{i18n.BcD4Ohsq.js → i18n.C21qyGi6.js} +3 -0
  13. package/library/chunks/{icon-button.DO6DHXwo.js → icon-button.DxkJ-cp-.js} +1 -1
  14. package/library/chunks/{iframe.C4jZSmOr.js → iframe.CwxozWMt.js} +1 -1
  15. package/library/chunks/{image.Cx4hbc4L.js → image.B-YcKRop.js} +1 -1
  16. package/library/chunks/{input.B7SaYNrr.js → input.DdeXWD_F.js} +1 -1
  17. package/library/chunks/{list-editor.Hag-nXN-.js → list-editor.Qx2ecTcL.js} +74 -74
  18. package/library/chunks/{option.CA-HtVdP.js → option.CcGRV3jj.js} +1 -1
  19. package/library/chunks/{pagination.jgAGwDyt.js → pagination.CgAt4Keg.js} +5 -5
  20. package/library/chunks/{tab-group.DyxpVNOn.js → tab-group.hfUY7YE7.js} +3 -3
  21. package/library/chunks/{table.Crb35At8.js → table.CP3oGDY1.js} +5 -5
  22. package/library/chunks/{tree.jg0MjIB8.js → tree.YxFs3Tke.js} +1 -1
  23. package/library/components/alert.js +2 -2
  24. package/library/components/asset-link-format.js +6 -6
  25. package/library/components/atoms.js +14 -14
  26. package/library/components/audio.js +2 -2
  27. package/library/components/border-input-group.js +2 -2
  28. package/library/components/breadcrumb.js +1 -1
  29. package/library/components/button.js +2 -2
  30. package/library/components/color-picker.js +3 -3
  31. package/library/components/color-swatch-group.js +4 -4
  32. package/library/components/color-swatch.js +2 -2
  33. package/library/components/confirm-popover.js +4 -4
  34. package/library/components/copy-button.js +1 -1
  35. package/library/components/corner-position-input-group.js +3 -3
  36. package/library/components/date-calendar.js +1 -1
  37. package/library/components/details.js +1 -1
  38. package/library/components/dialog.js +3 -3
  39. package/library/components/document-viewer.js +3 -3
  40. package/library/components/dot-pagination.js +2 -2
  41. package/library/components/drawer.js +2 -2
  42. package/library/components/dropdown.js +2 -2
  43. package/library/components/dynamic-select.js +4 -4
  44. package/library/components/e-chart.js +1 -1
  45. package/library/components/element-clamp.js +2 -2
  46. package/library/components/faceted-filter.js +4 -4
  47. package/library/components/file-on-demand.js +10 -10
  48. package/library/components/folder-select.js +4 -4
  49. package/library/components/format-bytes.js +1 -1
  50. package/library/components/format-date.js +1 -1
  51. package/library/components/format-number.js +1 -1
  52. package/library/components/format-time.js +1 -1
  53. package/library/components/header.js +2 -2
  54. package/library/components/icon-button.js +2 -2
  55. package/library/components/iframe.js +2 -2
  56. package/library/components/image-comparer.js +1 -1
  57. package/library/components/image.js +2 -2
  58. package/library/components/input.js +2 -2
  59. package/library/components/line-clamp.js +1 -1
  60. package/library/components/list-editor.js +7 -7
  61. package/library/components/masonry.js +2 -2
  62. package/library/components/menu-item.js +1 -1
  63. package/library/components/menu.js +1 -1
  64. package/library/components/molecules.js +4 -4
  65. package/library/components/option.js +2 -2
  66. package/library/components/organisms.js +2 -2
  67. package/library/components/padding-input-group.js +1 -1
  68. package/library/components/pagination.js +6 -6
  69. package/library/components/popup.js +1 -1
  70. package/library/components/position-picker.js +1 -1
  71. package/library/components/progress-bar.js +1 -1
  72. package/library/components/progress-ring.js +1 -1
  73. package/library/components/range.js +1 -1
  74. package/library/components/rating.js +1 -1
  75. package/library/components/relative-time.js +1 -1
  76. package/library/components/select.js +2 -2
  77. package/library/components/shadow-input-group.js +1 -1
  78. package/library/components/share-option-list.js +1 -1
  79. package/library/components/sidebar.js +1 -1
  80. package/library/components/size-input-group.js +3 -3
  81. package/library/components/spinner.js +1 -1
  82. package/library/components/split-panel.js +1 -1
  83. package/library/components/tab-group.js +4 -4
  84. package/library/components/tab.js +2 -2
  85. package/library/components/table.js +5 -5
  86. package/library/components/tag.js +2 -2
  87. package/library/components/tooltip.js +1 -1
  88. package/library/components/tree-item.js +2 -2
  89. package/library/components/tree.js +2 -2
  90. package/library/components/typeface.js +2 -2
  91. package/library/components/types.js +171 -170
  92. package/library/components/video.js +2 -2
  93. package/library/package.json +1 -1
  94. package/library/packages/molecules/src/icon-picker/icon-picker.d.ts +5 -2
  95. package/library/packages/types/src/icon-picker.d.ts +2 -2
  96. package/library/packages/utils/src/custom-element/i18n.d.ts +3 -0
  97. package/library/react-web-component.d.ts +2 -3
  98. package/library/utils.js +1 -1
  99. package/package.json +1 -1
@@ -9,7 +9,7 @@ import { default as mUt } from "./avatar.js";
9
9
  import t0 from "./badge.js";
10
10
  import { default as vUt } from "./breadcrumb.js";
11
11
  import { default as bUt } from "./breadcrumb-item.js";
12
- import { C as fi, B as Ic, a as Pc } from "../chunks/button.BvBgxmvw.js";
12
+ import { C as fi, B as Ic, a as Pc } from "../chunks/button.DIvU_uFU.js";
13
13
  import OA from "./button-group.js";
14
14
  import Rh from "./card.js";
15
15
  import pm from "./checkbox.js";
@@ -17,11 +17,11 @@ import hk from "./color-picker.js";
17
17
  import _G from "./copy-button.js";
18
18
  import CG from "./date-calendar.js";
19
19
  import dL from "./details.js";
20
- import { C as Ya, D as M1 } from "../chunks/dialog.BoCFGpPO.js";
20
+ import { C as Ya, D as M1 } from "../chunks/dialog.DyT-Nai2.js";
21
21
  import ad from "./divider.js";
22
- import { r as SG, a as uL, b as TG, c as EG } from "../chunks/document-viewer.B90s20gM.js";
23
- import { C as xUt } from "../chunks/document-viewer.B90s20gM.js";
24
- import { d as AG, C as OG } from "../chunks/dot-pagination.uz9GFrMP.js";
22
+ import { r as SG, a as uL, b as TG, c as EG } from "../chunks/document-viewer.AiKX3RO6.js";
23
+ import { C as xUt } from "../chunks/document-viewer.AiKX3RO6.js";
24
+ import { d as AG, C as OG } from "../chunks/dot-pagination.CKbL6eN_.js";
25
25
  import { default as _Ut } from "./dot-status.js";
26
26
  import { default as SUt } from "./drawer.js";
27
27
  import sd from "./dropdown.js";
@@ -34,16 +34,16 @@ import MG from "./format-number.js";
34
34
  import pL from "./format-time.js";
35
35
  import Bh from "./grid.js";
36
36
  import Fh from "./grid-item.js";
37
- import { C as hL, V as PG, A as NG } from "../chunks/header.By_Mfx47.js";
37
+ import { C as hL, V as PG, A as NG } from "../chunks/header.BUp3_oeJ.js";
38
38
  import { H as LG, a as RG } from "../chunks/hub-connection.Dri0ZNfh.js";
39
39
  import { C as PUt } from "../chunks/hub-connection.Dri0ZNfh.js";
40
40
  import { C as Qi } from "../chunks/icon.DnBh6-56.js";
41
- import { C as eo } from "../chunks/icon-button.DO6DHXwo.js";
42
- import { C as BG, a as FG } from "../chunks/iframe.C4jZSmOr.js";
43
- import { C as gL, a as zG } from "../chunks/image.Cx4hbc4L.js";
41
+ import { C as eo } from "../chunks/icon-button.DxkJ-cp-.js";
42
+ import { C as BG, a as FG } from "../chunks/iframe.CwxozWMt.js";
43
+ import { C as gL, a as zG } from "../chunks/image.B-YcKRop.js";
44
44
  import { default as LUt } from "./image-comparer.js";
45
45
  import { default as BUt } from "./include.js";
46
- import { C as ko, I as G_ } from "../chunks/input.B7SaYNrr.js";
46
+ import { C as ko, I as G_ } from "../chunks/input.DdeXWD_F.js";
47
47
  import { default as zUt } from "./input-group.js";
48
48
  import qd from "./line-clamp.js";
49
49
  import IA from "./markdown.js";
@@ -52,8 +52,8 @@ import Vd from "./menu-item.js";
52
52
  import mL from "./menu-label.js";
53
53
  import $G from "./menu-section.js";
54
54
  import jG from "./mutation-observer.js";
55
- import { C as _s, a as HG } from "../chunks/option.CA-HtVdP.js";
56
- import { C as UG } from "../chunks/pagination.jgAGwDyt.js";
55
+ import { C as _s, a as HG } from "../chunks/option.CcGRV3jj.js";
56
+ import { C as UG } from "../chunks/pagination.CgAt4Keg.js";
57
57
  import oc from "./popup.js";
58
58
  import qG from "./progress-bar.js";
59
59
  import { default as jUt } from "./progress-ring.js";
@@ -75,15 +75,15 @@ import { default as QUt } from "./step.js";
75
75
  import { default as tqt } from "./stepper.js";
76
76
  import r0 from "./switch.js";
77
77
  import gk from "./tab.js";
78
- import { C as mk, T as PA, a as NA, b as LA, g as sO } from "../chunks/tab-group.DyxpVNOn.js";
79
- import { C as RA } from "../chunks/table.Crb35At8.js";
78
+ import { C as mk, T as PA, a as NA, b as LA, g as sO } from "../chunks/tab-group.hfUY7YE7.js";
79
+ import { C as RA } from "../chunks/table.CP3oGDY1.js";
80
80
  import BA from "./tab-panel.js";
81
81
  import { default as rqt } from "./tag.js";
82
82
  import vL from "./textarea.js";
83
83
  import GG from "./timecode.js";
84
84
  import Wo from "./tooltip.js";
85
- import { d as KG, v as i0 } from "../chunks/tree.jg0MjIB8.js";
86
- import { a as oqt, C as aqt } from "../chunks/tree.jg0MjIB8.js";
85
+ import { d as KG, v as i0 } from "../chunks/tree.YxFs3Tke.js";
86
+ import { a as oqt, C as aqt } from "../chunks/tree.YxFs3Tke.js";
87
87
  import { C as vi, T as K_ } from "../chunks/typography.DJC_UXgs.js";
88
88
  import { default as cqt } from "./video.js";
89
89
  import YG from "./visually-hidden.js";
@@ -106,24 +106,24 @@ import { r as ye } from "../chunks/state.CSDxrqLd.js";
106
106
  import { e as Tt } from "../chunks/query.BBf1UFkC.js";
107
107
  import { e as mn } from "../chunks/class-map.BiVq-cVR.js";
108
108
  import { n as at } from "../chunks/when.Dr1es41R.js";
109
- import { L as Un } from "../chunks/i18n.BcD4Ohsq.js";
110
- import { r as Rqt } from "../chunks/i18n.BcD4Ohsq.js";
109
+ import { L as Un } from "../chunks/i18n.C21qyGi6.js";
110
+ import { r as Rqt } from "../chunks/i18n.C21qyGi6.js";
111
111
  import { o as co } from "../chunks/map.D8heArFD.js";
112
112
  import { c as Eh, b as mK } from "../chunks/capitalize.i-sHIcnm.js";
113
- import { o as ir } from "../chunks/style-map.llVFPd__.js";
113
+ import { o as sr } from "../chunks/style-map.llVFPd__.js";
114
114
  import { readLocalStorageValue as XS, writeLocalStorageValue as fK, DateRangePresets as mO, isModKey as CL, CortexPopupController as SL, isFormInteracted as vK, omit as yK, getInterval as t1, PRECISION as X_, findFrameByColAndRow as fO, extractFrames as bK, insertFrameToCache as wK } from "../utils.js";
115
115
  import { DragScroll as Fqt, HistoryManager as zqt, KeyboardKey as $qt, downloadAsset as jqt, getBrowserFontVariants as Hqt, getFormControls as Uqt, isFontFamilyAvailable as qqt, openAssetOverview as Vqt, openFolderOverview as Wqt, openLink as Gqt, parseJsonString as Kqt, parseListString as Yqt, pick as Xqt, serialize as Jqt, shareAsset as Zqt, sortTypefaceVariants as Qqt, testFontAvailability as eVt } from "../utils.js";
116
- import { a as yb, d as xK, e as TL, F as JS, i as EL, f as kK, g as N1, h as L1, j as R1, k as B1, l as _K, m as vO, n as yO, o as bO, O as wO, D as J_, u as F1 } from "../chunks/asset.Ci6rP56l.js";
116
+ import { a as yb, d as xK, e as TL, F as JS, i as EL, f as kK, g as N1, h as L1, j as R1, k as B1, l as _K, m as vO, n as yO, o as bO, O as wO, D as J_, u as F1 } from "../chunks/asset.HL1qMnhg.js";
117
117
  import { H as vk } from "../chunks/slot.j5oheLJC.js";
118
118
  import { a as nVt, g as rVt } from "../chunks/slot.j5oheLJC.js";
119
119
  import { d as xO, G as Ah, h as lu, s as kO, T as AL, i as dn, j as OL, k as CK, t as _O, u as SK, f as z1, l as TK, F as Rf, M as Qv } from "../chunks/string.DUgD4c9f.js";
120
120
  import { c as oVt, b as aVt, e as sVt, g as cVt, p as lVt, v as dVt, r as uVt, a as pVt, o as hVt, m as gVt, n as mVt, q as fVt } from "../chunks/string.DUgD4c9f.js";
121
121
  import { c as Oi, d as EK, H as En, e as oa, f as ja, a as AK, b as Vr } from "../chunks/resizable-component.styles.DpK0TTP5.js";
122
- import { a as jA, u as vp, I as IL, C as OK } from "../chunks/list-editor.Hag-nXN-.js";
122
+ import { a as jA, u as vp, I as IL, C as OK } from "../chunks/list-editor.Qx2ecTcL.js";
123
123
  import DL from "./bicolor-picker.js";
124
124
  import ML from "./border-input-group.js";
125
- import { C as yVt } from "../chunks/color-swatch.DQxReKYX.js";
126
- import { C as HA, a as IK } from "../chunks/confirm-popover.dyPIFLWa.js";
125
+ import { C as yVt } from "../chunks/color-swatch.BoUZGGs4.js";
126
+ import { C as HA, a as IK } from "../chunks/confirm-popover.DS9HIy3c.js";
127
127
  import DK from "./corner-position-input-group.js";
128
128
  import MK from "./cropper.js";
129
129
  import { h as ur, D as PL, d as CO, C as $h, T as UA, M as PK, e as NL } from "../chunks/endpoints.DBlquU2-.js";
@@ -132,7 +132,7 @@ import { c as zn } from "../chunks/repeat.DbF2p5ae.js";
132
132
  import qA from "./dynamic-select.js";
133
133
  import { D as LL, M as NK, U as LK, F as RK } from "../chunks/time.BiQnh9wt.js";
134
134
  import { c as wVt, a as xVt, f as kVt, g as _Vt } from "../chunks/time.BiQnh9wt.js";
135
- import { F as pu, C as VA, a as Z_ } from "../chunks/folder-select.C2ruplAB.js";
135
+ import { F as pu, C as VA, a as Z_ } from "../chunks/folder-select.eoufobYO.js";
136
136
  import { a as Mo, E as $n, b as lf, O as eu, T as hu, G as SO } from "../chunks/index.Cpamj0jB.js";
137
137
  import { C as SVt } from "../chunks/index.Cpamj0jB.js";
138
138
  import { b as yk, a as bb, c as BK, r as qe, j as _e, w as FK, R as zK } from "../chunks/jsx-runtime.CTpPVMxj.js";
@@ -141,8 +141,8 @@ import { i as WA, T as eC, t as UK } from "../chunks/transform.BuqENXeT.js";
141
141
  import { d as RL } from "../chunks/timer.B39XOBYL.js";
142
142
  import { a as GA, c as qK } from "../chunks/_commonjsHelpers.DQNKXVTB.js";
143
143
  import { t as VK, d as BL } from "../chunks/debounce.C_J-9zJi.js";
144
- import { b as gv, d as IO, a as bk, s as WK, o as GK, c as FL, i as yu, e as KK } from "../chunks/file-on-demand.DLVH0DID.js";
145
- import { C as EVt } from "../chunks/file-on-demand.DLVH0DID.js";
144
+ import { b as gv, d as IO, a as bk, s as WK, o as GK, c as FL, i as yu, e as KK } from "../chunks/file-on-demand.h8tCgq51.js";
145
+ import { C as EVt } from "../chunks/file-on-demand.h8tCgq51.js";
146
146
  import { o as tC } from "../chunks/accessors.BHk36ecy.js";
147
147
  import { N as YK, c as XK } from "../chunks/index.CZJTjkLp.js";
148
148
  import { e as JK, t as ZK } from "../chunks/directive.oAbCiebi.js";
@@ -180,8 +180,8 @@ import { c as Tg } from "../chunks/math.DqTA6ya4.js";
180
180
  import { b as FO, e as yY } from "../chunks/number.B4PQLJIg.js";
181
181
  import { a as dWt, c as uWt, d as pWt, f as hWt, g as gWt, r as mWt, s as fWt } from "../chunks/number.B4PQLJIg.js";
182
182
  import { i as YA } from "../chunks/guard.D4axKaMo.js";
183
- import { a as i1 } from "../chunks/color-swatch-group.D8KPblw2.js";
184
- import { C as yWt } from "../chunks/color-swatch-group.D8KPblw2.js";
183
+ import { a as i1 } from "../chunks/color-swatch-group.DV5uB8OC.js";
184
+ import { C as yWt } from "../chunks/color-swatch-group.DV5uB8OC.js";
185
185
  import { t as bY } from "../chunks/converters.DkDtLstb.js";
186
186
  import { i as wY } from "../chunks/user-agent.D9aPuOyL.js";
187
187
  import { a as VL, U as XA, t as xY } from "../chunks/url.Cj9cIQXJ.js";
@@ -202,7 +202,7 @@ import { r as QL } from "../chunks/query-async.CTgXGyQ5.js";
202
202
  import { a as IWt, b as DWt, g as MWt } from "../chunks/modal.U1QltQKe.js";
203
203
  import { c as NWt, f as LWt, e as RWt, b as BWt, g as FWt, d as zWt, i as $Wt, r as jWt, a as HWt } from "../chunks/image.9qwbjGNb.js";
204
204
  import { g as qWt, a as VWt } from "../chunks/template.ClovJacp.js";
205
- var QS = /* @__PURE__ */ ((n) => (n.Select = "select", n.Button = "button", n))(QS || {}), my = /* @__PURE__ */ ((n) => (n.Grid = "grid", n.Shadows = "shadows", n.Textures = "textures", n.Wireframe = "wireframe", n))(my || {}), up = /* @__PURE__ */ ((n) => (n.Animation = "animation", n.Environment = "environment", n.Speed = "speed", n.Variant = "variant", n))(up || {});
205
+ var QS = /* @__PURE__ */ ((n) => (n.Button = "button", n.Select = "select", n))(QS || {}), my = /* @__PURE__ */ ((n) => (n.Grid = "grid", n.Shadows = "shadows", n.Textures = "textures", n.Wireframe = "wireframe", n))(my || {}), up = /* @__PURE__ */ ((n) => (n.Animation = "animation", n.Environment = "environment", n.Speed = "speed", n.Variant = "variant", n))(up || {});
206
206
  const HO = 30, RY = ["0.5", "1", "1.5", "2"], UO = 100, BY = 0.01, FY = 0.01, zY = 200, $Y = 10, jY = 0.01, HY = 0.3, eR = "#2A2342";
207
207
  var o1 = /* @__PURE__ */ ((n) => (n.Bridge = "https://downloads.orangelogic.com/3dviewer/static/environments/bridge.env", n.Church = "https://downloads.orangelogic.com/3dviewer/static/environments/church.env", n.Studio = "https://downloads.orangelogic.com/3dviewer/static/environments/studio.env", n))(o1 || {}), Hl = /* @__PURE__ */ ((n) => (n.Babylon = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.js", n.Fflate = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/fflate.js", n.GlslangJs = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/glslang.js", n.GlslangWasm = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/glslang.wasm", n.Gui = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.gui.min.js", n.Inspector = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylon.inspector.bundle.js", n.Loaders = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.loaders.min.js", n.Materials = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.materials.js", n.Serializers = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/babylonjs.serializers.min.js", n.TwgslJs = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/twgsl.js", n.TwgslWasm = "https://downloads.orangelogic.com/3dviewer/static/babylonjs/cdn/twgsl.wasm", n))(Hl || {});
208
208
  const UY = yn`.viewer{width:100%;height:100%;margin:0;padding:0;display:block;position:relative;overflow:hidden}.viewer--fullscreen{width:100vw;height:100vh;z-index:var(--cx-z-index-tooltip,10000000);position:fixed;inset:0}.viewer__canvas{touch-action:none;border:0;outline:0;width:100%;height:100%;margin:0;padding:0;display:block;position:absolute;overflow:hidden}.viewer__floating-menu{gap:var(--cx-spacing-x-small);z-index:var(--cx-z-index-tooltip);flex-direction:column;transition:transform .3s;display:flex;position:absolute;bottom:20px;right:20px}.viewer__floating-menu.fullscreen-offset{transform:translate(-300px)}.viewer__menu-item{position:relative}.viewer__menu-button{width:48px;height:48px;color:var(--cx-color-neutral-0);cursor:pointer;backdrop-filter:blur(10px);background:#2a2342e6;border:none;border-radius:24px;justify-content:center;align-items:center;font-size:18px;transition:all .2s;display:flex;box-shadow:0 4px 12px #0000004d}.viewer__menu-button:hover{background:#2a2342;transform:scale(1.05);box-shadow:0 6px 16px #0006}.viewer__menu-button.active{background:#4caf50e6}.viewer__menu-button.active:hover{background:#4caf50}.viewer__submenu{border-radius:var(--cx-border-radius-large);padding:var(--cx-spacing-x-small);backdrop-filter:blur(10px);background:#2a2342f2;min-width:120px;animation:.2s slideIn;position:absolute;bottom:0;right:56px;box-shadow:0 4px 20px #0006}@keyframes slideIn{0%{opacity:0;transform:translate(10px)}to{opacity:1;transform:translate(0)}}.viewer__submenu-header{color:var(--cx-color-neutral-0);font-size:var(--cx-font-size-x-small);padding:var(--cx-spacing-2x-small) var(--cx-spacing-x-small);margin-bottom:var(--cx-spacing-2x-small);text-transform:uppercase;letter-spacing:.5px;border-bottom:1px solid #fff3;font-weight:700}.viewer__submenu-item{width:100%;padding:var(--cx-spacing-x-small) var(--cx-spacing-small);color:#fff;text-align:left;cursor:pointer;border-radius:var(--cx-border-radius-small);font-size:var(--cx-font-size-small);background:0 0;border:none;transition:background .2s}.viewer__submenu-item:hover{background:#ffffff1a}.viewer__submenu-item.active{color:#fff;background:#4caf50e6}.viewer__submenu-item.active:hover{background:#4caf5066}.viewer #sceneExplorer #header #logo,.viewer #actionTabs .tabsMenu .panes .pane .paneContainer .paneContainer-content .header,.viewer #sceneExplorer .itemContainer .sceneNode .sceneTitle{display:none}.viewer #actionTabs #header,.viewer #actionTabs .tabsMenu .panes .pane{user-select:auto}.viewer #actionTabs #header{padding-right:var(--cx-spacing-medium)}.viewer #sceneExplorer #header #commands .expand,.viewer #actionTabs #header #commands .expand{display:none}.viewer__spinner-container{justify-content:center;align-items:center;width:100%;height:100%;display:flex}.viewer__spinner{font-size:3rem}`, qY = yn`:host{--color-white:#fff}.viewer-config__menu{width:245px}.viewer-config__menu-item::part(base){padding:var(--cx-spacing-x-small) var(--cx-spacing-large)}.viewer-config__menu-item::part(checked-icon){display:none}.viewer-config__menu-item{--label-color:var(--cx-color-neutral-950)}.viewer-config__menu-item__label{color:var(--cx-color-neutral-500)}.viewer-config__sub-menu{border-radius:var(--cx-border-radius-large);min-width:100%}.viewer-config__menu-item--has-button::part(submenu-icon),.viewer-config__menu-item--has-switch::part(submenu-icon){display:none}.viewer-config__sub-menu__item.viewer-config__sub-menu__item--selected::part(label){opacity:1}.viewer-config__item-content{justify-content:space-between;align-items:center;display:flex}.viewer-config__back-button::part(checked-icon),.viewer-config__back-button::part(submenu-icon){display:none}.viewer-config__back-divider{--spacing:var(--cx-spacing-x-small);--color:var(--cx-panel-border-color);--width:var(--cx-panel-border-width)}.viewer-config__item-content--button{--color:var(--cx-color-neutral-700);--cx-button-text-transform:none;width:100%}.viewer-config__icon-button{color:var(--color-white);padding:0}.viewer-config__item-content--loading{cursor:wait}`;
@@ -507,13 +507,13 @@ let ii = class extends Cn {
507
507
  "viewer-control__slider-container--dragging": this.isDragging,
508
508
  "viewer-control__slider-container--end": this.currentTime === this.totalTime,
509
509
  "viewer-control__slider-container__progress": !0
510
- })} style=${ir({
510
+ })} style=${sr({
511
511
  width: this.animationProgress + "%"
512
512
  })}></div><div class=${mn({
513
513
  "viewer-control__slider-container--dragging": this.isDragging,
514
514
  "viewer-control__slider-container--end": this.currentTime === this.totalTime,
515
515
  "viewer-control__slider-container__thumb": !0
516
- })} style=${ir({
516
+ })} style=${sr({
517
517
  left: this.animationProgress + "%"
518
518
  })}></div></div><div class="viewer-control__action-buttons"><div class="viewer-control__action-buttons__left"><cx-tooltip content=${this.isAnimationPlaying ? this.localize.term("pause") : this.localize.term("play")} disabled-hover-bridge><cx-icon-button class="viewer-control__play-pause-btn" name=${this.isAnimationPlaying ? "pause" : "play_arrow"} variant="filled" label=${this.isAnimationPlaying ? this.localize.term("pause") : this.localize.term("play")} @click=${this.handlePlayButtonToggle}></cx-icon-button></cx-tooltip><div class="viewer-control__time-display">${this.currentTime} / ${this.totalTime}</div><cx-tooltip content=${this.localize.term("animation")} disabled-hover-bridge trigger="hover"><cx-dropdown class="viewer-control__animation-dropdown" placement="top-start" stay-open-on-select><cx-button class="viewer-control__animation-button" variant="custom" slot="trigger" caret> ${this.selectedAnimation} </cx-button><cx-menu class="viewer-control__animation-menu" @cx-select=${this.handleAnimationSelect}><cx-menu-section label=${this.localize.term("animation")}>${co(
519
519
  this.availableAnimations,
@@ -15550,7 +15550,7 @@ const xne = { categories: ["UI actions"], tags: ["8-bit", "a", "abbreviation", "
15550
15550
  zoom_in_map: gat,
15551
15551
  zoom_out: mat,
15552
15552
  zoom_out_map: fat
15553
- }, yat = yn`.icon-picker__option{width:100%}.icon-picker__select{flex:1}.icon-picker__select__prefix-icon{color:var(--cx-color-neutral-600)}.icon-picker__select__footer{background-color:var(--cx-color-neutral-0);width:100%;bottom:calc(-1 * var(--cx-spacing-x-small));margin-bottom:calc(-1 * var(--cx-spacing-x-small));flex-direction:column;display:flex;position:sticky}.icon-picker__select__footer__divider{--spacing:var(--cx-spacing-x-small);padding:0 var(--cx-spacing-small)}.icon-picker__select__footer__option{text-transform:capitalize}.icon-picker__panel{flex-direction:column;min-width:220px;display:flex}.icon-picker__panel__search{padding:var(--cx-spacing-x-small);flex-shrink:0}.icon-picker__panel__list{--cx-panel-border-radius:0;--cx-panel-border-width:0;--cx-panel-padding:0;max-height:240px;overflow:hidden auto}.icon-picker__panel__list__picker-wrapper{--spacing-container-gap:0}.icon-picker__panel__list__item{width:100%}.icon-picker__panel__list__delete-button{margin-inline-end:var(--cx-spacing-2x-small)}.icon-picker__panel__divider{--spacing:0}.icon-picker__panel__footer{--cx-panel-border-radius:0;--cx-panel-border-width:0;--cx-panel-padding:0;flex-direction:column;flex-shrink:0;display:flex}`;
15553
+ }, yat = yn`.icon-picker__option{width:100%}.icon-picker__select{flex:1}.icon-picker__select__prefix-icon{color:var(--cx-color-neutral-600)}.icon-picker__select__footer{background-color:var(--cx-color-neutral-0);width:100%;bottom:calc(-1 * var(--cx-spacing-x-small));margin-bottom:calc(-1 * var(--cx-spacing-x-small));flex-direction:column;display:flex;position:sticky}.icon-picker__select__footer__divider{--spacing:var(--cx-spacing-x-small);padding:0 var(--cx-spacing-small)}.icon-picker__select__footer__option{text-transform:capitalize}.icon-picker__panel{flex-direction:column;min-width:220px;display:flex}.icon-picker__panel__search{padding:var(--cx-spacing-x-small);flex-shrink:0}.icon-picker__panel__list{--cx-panel-border-radius:0;--cx-panel-border-width:0;--cx-panel-padding:0;max-height:240px;overflow:hidden auto}.icon-picker__panel__list__picker-wrapper{--spacing-container-gap:0}.icon-picker__panel__list__picker,.icon-picker__panel__list__picker::part(button-container){flex:1}.icon-picker__panel__list__item{width:100%}.icon-picker__panel__list__delete-button{margin-inline-end:var(--cx-spacing-2x-small)}.icon-picker__panel__divider{--spacing:0}.icon-picker__panel__footer{--cx-panel-border-radius:0;--cx-panel-border-width:0;--cx-panel-padding:0;flex-direction:column;flex-shrink:0;display:flex}`;
15554
15554
  var bat = Object.defineProperty, wat = Object.getOwnPropertyDescriptor, Vc = (n, e, t, r) => {
15555
15555
  for (var i = r > 1 ? void 0 : r ? wat(e, t) : e, o = n.length - 1, a; o >= 0; o--)
15556
15556
  (a = n[o]) && (i = (r ? a(e, t, i) : a(i)) || i);
@@ -15658,9 +15658,7 @@ let Ua = class extends Cn {
15658
15658
  return n.startsWith("fa ") ? U`<cx-icon slot=${Vn(e)} variant="fa" name=${n}></cx-icon>` : U`<cx-icon slot=${Vn(e)} name=${n}></cx-icon>`;
15659
15659
  }
15660
15660
  renderCustomIconPickerMenuItem() {
15661
- return U`<cx-space class="icon-picker__panel__list__picker-wrapper" align-items="center" spacing="0" data-testid="custom-icon-picker"><cx-asset-picker type="image" style=${ir({
15662
- flex: 1
15663
- })} @cx-content-builder-asset-select=${this.handleContentBuilderAssetSelect} @cx-content-builder-asset-delete=${this.handleContentBuilderAssetDelete} .onRequestAsset=${this.onRequestAsset}><cx-menu-item class="icon-picker__panel__list__item" slot="trigger" type="checkbox" ?checked=${this.value.name === "custom"}>${at(
15661
+ return U`<cx-space class="icon-picker__panel__list__picker-wrapper" align-items="center" spacing="0" data-testid="custom-icon-picker"><cx-asset-picker class="icon-picker__panel__list__picker" type="image" @cx-content-builder-asset-select=${this.handleContentBuilderAssetSelect} @cx-content-builder-asset-delete=${this.handleContentBuilderAssetDelete} .onRequestAsset=${this.onRequestAsset}><cx-menu-item class="icon-picker__panel__list__item" slot="trigger" type="checkbox" ?checked=${this.value.name === "custom"}>${at(
15664
15662
  this.value?.src.trim(),
15665
15663
  () => U`<cx-icon src=${this.value?.src}></cx-icon>`
15666
15664
  )}
@@ -15696,7 +15694,7 @@ let Ua = class extends Cn {
15696
15694
  }
15697
15695
  renderButtonMode() {
15698
15696
  const n = !!this.value?.name.trim(), e = this.value?.name === "custom", t = n && !e;
15699
- return U`<cx-dropdown hoist stay-open-on-select @cx-after-show=${this.handleDropdownShow} @cx-hide=${this.handleDropdownHide}><cx-button slot="trigger" label=${this.localize.term("iconPicker")} caret>${t ? this.renderIcon(this.value.name, "prefix") : U`<cx-icon slot="prefix" name="image" style=${ir({ visibility: "hidden" })}></cx-icon>`}</cx-button><div class="icon-picker__panel"><div class="icon-picker__panel__search"><cx-input type="search" placeholder=${this.localize.term("search")} @cx-input=${this.handleSearchInput}></cx-input></div><cx-menu class="icon-picker__panel__list" @cx-select=${this.handleMenuSelect}>${at(
15697
+ return U`<cx-dropdown hoist stay-open-on-select @cx-after-show=${this.handleDropdownShow} @cx-hide=${this.handleDropdownHide}><cx-button slot="trigger" label=${this.localize.term("iconPicker")} caret>${t ? this.renderIcon(this.value.name, "prefix") : U`<cx-icon slot="prefix" name="image" style=${sr({ visibility: "hidden" })}></cx-icon>`}</cx-button><div class="icon-picker__panel"><div class="icon-picker__panel__search"><cx-input type="search" placeholder=${this.localize.term("search")} @cx-input=${this.handleSearchInput}></cx-input></div><cx-menu class="icon-picker__panel__list" @cx-select=${this.handleMenuSelect}>${at(
15700
15698
  this.showVirtualizer,
15701
15699
  () => U`<lit-virtualizer .items=${this.virtualListItems} .renderItem=${this.renderMenuItem}></lit-virtualizer>`
15702
15700
  )}</cx-menu><cx-divider class="icon-picker__panel__divider"></cx-divider><div class="icon-picker__panel__footer">${this.renderCustomIconPickerMenuItem()}</div></div></cx-dropdown>${at(
@@ -16156,7 +16154,7 @@ let Ca = class extends Cn {
16156
16154
  "page-outline__item": !0,
16157
16155
  "page-outline__item--active": this.currentHash === e,
16158
16156
  "page-outline__item--click": this.canClick
16159
- })} data-link=${e} style=${ir({ marginLeft: `${0.4 + n - 1}rem` })} @click=${this.canClick ? this.handleItemClick : void 0}><cx-line-clamp part="text" class=${mn({
16157
+ })} data-link=${e} style=${sr({ marginLeft: `${0.4 + n - 1}rem` })} @click=${this.canClick ? this.handleItemClick : void 0}><cx-line-clamp part="text" class=${mn({
16160
16158
  "page-outline__item-text": !0,
16161
16159
  "page-outline__item-text--click": this.canClick,
16162
16160
  "page-outline__item-text--underline": this.showUnderlineType === uT.Always
@@ -17204,7 +17202,7 @@ let Ts = class extends Cn {
17204
17202
  return U`<cx-tab-group variant="timeline" placement="top" activation="auto" overflow-variant=${NA.Pagination} hide-panel-variant=${LA.Absolute} use-max-panel-height tab-alignment=${PA.Start} tabs-per-page=${e} min-tab-width=${this.minTabWidth} class=${mn({
17205
17203
  timeline: !0,
17206
17204
  "timeline--empty": this.data.length === 0
17207
- })} style=${ir({
17205
+ })} style=${sr({
17208
17206
  "--tab-padding": "var(--cx-spacing-x-small) var(--cx-spacing-small)"
17209
17207
  })} data-empty-label=${this.localize.term("emptyTimeline")}>${zn(
17210
17208
  this.data,
@@ -17213,7 +17211,7 @@ let Ts = class extends Cn {
17213
17211
  timeline__nav: !0,
17214
17212
  "timeline__nav--has-thumbnail": this.showThumbnails,
17215
17213
  "timeline__nav--horizontal": !0
17216
- })} style=${ir({
17214
+ })} style=${sr({
17217
17215
  "--marker-image-object-fit": t.objectFit
17218
17216
  })} panel=${t.id}>${this.multiLanguage && t[`label-${n}`] || t.label}
17219
17217
  ${at(
@@ -18665,7 +18663,7 @@ let qa = class extends Cn {
18665
18663
  });
18666
18664
  }
18667
18665
  render() {
18668
- return U`<cx-space direction="vertical" spacing="small"><cx-table style=${ir(this.tableHeight ? { "--table-height": this.tableHeight } : {})} .columns=${this.transformedColumns} .data=${this.data} .searchFields=${this.searchFields} layout=${this.layout} row-height=${this.rowHeight} ?pagination=${this.pagination} ?can-search=${this.canSearch} pagination-size=${Vn(this.paginationSize)}></cx-table>${at(
18666
+ return U`<cx-space direction="vertical" spacing="small"><cx-table style=${sr(this.tableHeight ? { "--table-height": this.tableHeight } : {})} .columns=${this.transformedColumns} .data=${this.data} .searchFields=${this.searchFields} layout=${this.layout} row-height=${this.rowHeight} ?pagination=${this.pagination} ?can-search=${this.canSearch} pagination-size=${Vn(this.paginationSize)}></cx-table>${at(
18669
18667
  this.showLoadMore,
18670
18668
  () => U`<cx-button variant="default" size="medium" type="button" ?disabled=${this.loading} @click=${this.handleLoadMoreClick}>${this.loadMoreLabel}</cx-button>`
18671
18669
  )}</cx-space>`;
@@ -19192,7 +19190,7 @@ let cr = class extends Cn {
19192
19190
  this.itemAriaRoleDescription || void 0
19193
19191
  )} tabindex="0" data-row=${Vn(c)} data-column=${Vn(l)} data-column-count=${this.prevColumnCount} alt=${Vn(r.alt)} content-position=${a} content-variant=${this.contentVariant} data-id=${r.id} effect=${this.effect} in-view raw-id=${Vn(r.rawId)} page-id=${Vn(r.pageId)} object-fit=${r.objectFit || Mo.Cover} show-content-type=${this.showContentType} src=${Vn(r.src)} url=${Vn(r.url)} text-reveal-style=${this.textRevealStyle} zoom-style=${this.zoomStyle} ?can-select=${this.canSelectBentoGrid && this.isBentoGridSelected} ?can-move-left=${t > 0 && this.canMoveBentoGridItem} ?can-move-right=${t < this.filledData.length - 1 && this.canMoveBentoGridItem} ?can-delete=${this.canDeleteBentoGridItem} ?can-zoom=${this.canZoom} ?has-event=${this.hasEvent || !!r.url} ?open-in-new-tab=${r.openInNewTab} ?highlight-border=${this.highlightBorder} ?highlight-color-overlay=${this.highlightColorOverlay} ?highlight-drop-shadow=${this.highlightDropShadow} ?highlight-background=${this.highlightBackground} ?highlight-opacity=${this.highlightSiblingsFadeOut} ?selected=${s} item-index=${e} ?is-in-edit-mode=${this.isBentoGridInEditMode} class=${mn({
19194
19192
  "bento-grid__item--effect-zoom": this.effect === En.Zoom
19195
- })} style=${ir(this.computeBentoItemEffectStyles(r))} @blur=${t === 0 ? this.handleBlur : void 0} @focus=${t === 0 ? this.handleFocus : void 0} @mouseenter=${this.highlightSiblingsFadeOut ? this.handleMouseEnter : void 0} @mouseleave=${this.highlightSiblingsFadeOut ? this.handleMouseLeave : void 0} @click=${this.handleClick}>${at(
19193
+ })} style=${sr(this.computeBentoItemEffectStyles(r))} @blur=${t === 0 ? this.handleBlur : void 0} @focus=${t === 0 ? this.handleFocus : void 0} @mouseenter=${this.highlightSiblingsFadeOut ? this.handleMouseEnter : void 0} @mouseleave=${this.highlightSiblingsFadeOut ? this.handleMouseLeave : void 0} @click=${this.handleClick}>${at(
19196
19194
  r.rawId || r.id,
19197
19195
  () => pl`<slot name=${`slot-${r.rawId || r.id}`}></slot>`
19198
19196
  )}</${i}>`;
@@ -19205,14 +19203,14 @@ let cr = class extends Cn {
19205
19203
  )} class=${mn({
19206
19204
  "bento-grid": !0,
19207
19205
  "bento-grid--empty": this.data.length === 0
19208
- })} style=${ir(this.containerStyles)} data-empty-label=${this.emptyLabel || this.localize.term("emptyGrid")} @keydown=${this.handleKeyDown}>${zn(
19206
+ })} style=${sr(this.containerStyles)} data-empty-label=${this.emptyLabel || this.localize.term("emptyGrid")} @keydown=${this.handleKeyDown}>${zn(
19209
19207
  r,
19210
19208
  (i) => i[this.renderIdKey],
19211
19209
  (i, o) => {
19212
19210
  const a = e + o, s = this.bentoLayout.getPosition(a);
19213
19211
  return i.filler ? at(
19214
19212
  !!s,
19215
- () => pl`<div part="item" class="bento-grid__filler" style=${ir({
19213
+ () => pl`<div part="item" class="bento-grid__filler" style=${sr({
19216
19214
  height: `${s.height}px`,
19217
19215
  left: `${s.left}px`,
19218
19216
  top: `${s.top}px`,
@@ -19222,7 +19220,7 @@ let cr = class extends Cn {
19222
19220
  "galleryCardNthOfCards",
19223
19221
  a + 1,
19224
19222
  this.data.length
19225
- )} style=${ir({
19223
+ )} style=${sr({
19226
19224
  height: `${s.height}px`,
19227
19225
  left: `${s.left}px`,
19228
19226
  top: `${s.top}px`,
@@ -20149,7 +20147,7 @@ let bn = class extends Cn {
20149
20147
  "carousel__slide--active": d,
20150
20148
  ...typeof r.className == "string" && r.className.trim() !== "" ? { [r.className]: !0 } : {},
20151
20149
  "carousel__slide--effect-zoom": this.effect === En.Zoom
20152
- })} style=${ir({
20150
+ })} style=${sr({
20153
20151
  ...this.computeCarouselItemEffectStyles(r)
20154
20152
  })} @click=${this.handleGalleryItemClick} @cx-gallery-item-move-left=${this.handleGalleryItemMoved} @cx-gallery-item-move-right=${this.handleGalleryItemMoved} @mouseenter=${this.handleMouseEnter} @mouseleave=${this.handleMouseLeave} @focus=${this.handleGalleryItemFocus}>${at(r.rawId || r.id, () => {
20155
20153
  const p = `slot-${r.rawId || r.id}`;
@@ -20173,7 +20171,7 @@ let bn = class extends Cn {
20173
20171
  carousel: !0,
20174
20172
  "carousel--empty": this.isChunked ? this.totalData === 0 : this.data?.length === 0,
20175
20173
  "carousel--vertical": this.orientation === eu.Vertical
20176
- })} style=${ir({
20174
+ })} style=${sr({
20177
20175
  "--easing": this.easeCSSVariable
20178
20176
  })} data-empty-label=${this.emptyLabel || this.localize.term("emptyCarousel")}><cx-tooltip class="carousel__tooltip" content=${this.accessibilityTooltip} trigger="manual" hoist .anchor=${this.scrollContainer} ?disabled=${!n && !e || !this.accessibilityTooltip}></cx-tooltip><cx-resize-observer @cx-resize=${this.handleSlideContainerResize}><div id="scroll-container" part="scroll-container" class=${mn({
20179
20177
  carousel__slides: !0,
@@ -20181,7 +20179,7 @@ let bn = class extends Cn {
20181
20179
  "carousel__slides--horizontal": this.orientation === eu.Horizontal,
20182
20180
  "carousel__slides--peek-slides": this.peekSlides,
20183
20181
  "carousel__slides--vertical": this.orientation === eu.Vertical
20184
- })} style=${ir({
20182
+ })} style=${sr({
20185
20183
  "--slides-per-page": this.slidesPerPage
20186
20184
  })} aria-busy=${this.scrolling ? "true" : "false"} aria-atomic="true" tabindex="0" @focus=${this.handleFocus} @blur=${this.handleBlur} @keydown=${this.handleScrollContainerKeyDown} @mousedown=${this.handleMouseDragStart} @scroll=${this.handleScroll} @scrollend=${this.handleScrollEnd}>${zn(
20187
20185
  this.data || [],
@@ -20201,7 +20199,7 @@ let bn = class extends Cn {
20201
20199
  "carousel__slide--placeholder": !0,
20202
20200
  ...typeof s.className == "string" && s.className.trim() !== "" ? { [s.className]: !0 } : {},
20203
20201
  "carousel__slide--effect-zoom": this.effect === En.Zoom
20204
- })} style=${ir({
20202
+ })} style=${sr({
20205
20203
  "scroll-snap-align": l ? "start" : "none"
20206
20204
  })}></div>`;
20207
20205
  }
@@ -23251,7 +23249,7 @@ function Nut(n) {
23251
23249
  }
23252
23250
  return e;
23253
23251
  }
23254
- const jl = Nut(), Lut = U`<svg xmlns="http://www.w3.org/2000/svg" width="14mm" height="14mm" viewBox="0 0 20 20"><path d="M35.412 115.592a6.289 6.289 0 0 0-5.68 3.575c-.053-.005-.104-.017-.158-.017-.942 0-1.7.759-1.7 1.7v2.102c0 .942.758 1.7 1.7 1.7.054 0 .105-.012.157-.016.068.14.138.28.217.417.31.551 1.134.079.816-.467a5.369 5.369 0 0 1 1.2-6.802 5.363 5.363 0 0 1 6.902 0 5.369 5.369 0 0 1 1.2 6.802l-.014.023-.01.024s-.633 1.402-1.878 1.402l-1.575-.014a.807.807 0 0 0-.667-.366h-1.015a.82.82 0 0 0-.822.823c0 .28.178.494.586.494h3.493c1.868 0 2.675-1.833 2.712-1.918v-.005c.078-.136.147-.275.215-.415.055.005.108.017.165.017.941 0 1.7-.759 1.7-1.7v-2.102c0-.942-.759-1.7-1.7-1.7-.055 0-.106.009-.16.016a6.268 6.268 0 0 0-1.626-2.1 6.305 6.305 0 0 0-4.058-1.475zm-2.049 2.987c-.366-.024-.7.053-.992.361a4.56 4.56 0 0 0-1.26 3.125c0 .981.327 2.08.88 2.12.786.057 2.027-.46 3.424-.46 1.48 0 2.787.58 3.561.443.47-.083.744-1.205.744-2.103a4.561 4.561 0 0 0-1.261-3.125c-.78-.82-1.855 0-3.044 0-.743 0-1.442-.321-2.052-.361zm-.174 2.021a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574zm4.452 0a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574z" style=${ir({
23252
+ const jl = Nut(), Lut = U`<svg xmlns="http://www.w3.org/2000/svg" width="14mm" height="14mm" viewBox="0 0 20 20"><path d="M35.412 115.592a6.289 6.289 0 0 0-5.68 3.575c-.053-.005-.104-.017-.158-.017-.942 0-1.7.759-1.7 1.7v2.102c0 .942.758 1.7 1.7 1.7.054 0 .105-.012.157-.016.068.14.138.28.217.417.31.551 1.134.079.816-.467a5.369 5.369 0 0 1 1.2-6.802 5.363 5.363 0 0 1 6.902 0 5.369 5.369 0 0 1 1.2 6.802l-.014.023-.01.024s-.633 1.402-1.878 1.402l-1.575-.014a.807.807 0 0 0-.667-.366h-1.015a.82.82 0 0 0-.822.823c0 .28.178.494.586.494h3.493c1.868 0 2.675-1.833 2.712-1.918v-.005c.078-.136.147-.275.215-.415.055.005.108.017.165.017.941 0 1.7-.759 1.7-1.7v-2.102c0-.942-.759-1.7-1.7-1.7-.055 0-.106.009-.16.016a6.268 6.268 0 0 0-1.626-2.1 6.305 6.305 0 0 0-4.058-1.475zm-2.049 2.987c-.366-.024-.7.053-.992.361a4.56 4.56 0 0 0-1.26 3.125c0 .981.327 2.08.88 2.12.786.057 2.027-.46 3.424-.46 1.48 0 2.787.58 3.561.443.47-.083.744-1.205.744-2.103a4.561 4.561 0 0 0-1.261-3.125c-.78-.82-1.855 0-3.044 0-.743 0-1.442-.321-2.052-.361zm-.174 2.021a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574zm4.452 0a.787.787 0 1 1 0 1.574.787.787 0 0 1 0-1.574z" style=${sr({
23255
23253
  fill: "#666",
23256
23254
  fillOpacity: 1,
23257
23255
  fillRule: "evenodd",
@@ -40029,7 +40027,7 @@ let wo = class extends Cn {
40029
40027
  })} name="av_timer" label=${this.localize.term("timeBased")} @click=${this.handleTimeBasedClick}></cx-icon-button>`)}<cx-icon-button class=${mn({
40030
40028
  "format-button": !0,
40031
40029
  "format-button--active": this.showTextFormats
40032
- })} name="text_format" label="Text Formats" style=${ir({
40030
+ })} name="text_format" label="Text Formats" style=${sr({
40033
40031
  "background-color": "transparent"
40034
40032
  })} @click=${this.handleTextFormatsClick}></cx-icon-button>${at(!this.disableFullscreen, () => U`<cx-icon-button name=${this.fullscreen ? "close_fullscreen" : "fullscreen"} label=${this.fullscreen ? "Exit Fullscreen" : "Fullscreen"} @click=${this.handleFullscreenClick}></cx-icon-button>`)}
40035
40033
  ${this.canUseAIAssistant ? U`<cx-tooltip content="AI Assistant (beta)"><cx-icon-button data-testid="ai-assistant-button" name="message" label="AI Assistant" class="format-button" @click=${this.handleOpenAIAssistantClick}></cx-icon-button></cx-tooltip>` : $i}
@@ -40466,7 +40464,7 @@ let Ar = class extends Cn {
40466
40464
  this.timeBased = n.detail.value;
40467
40465
  }
40468
40466
  render() {
40469
- return U`<cx-dialog class="overlay" @cx-request-close=${this.handleRequestClose} no-header stay-open-outside-click style=${ir({
40467
+ return U`<cx-dialog class="overlay" @cx-request-close=${this.handleRequestClose} no-header stay-open-outside-click style=${sr({
40470
40468
  "--cx-z-index-dialog": (this.cortexPopupController.currentZIndex + 1).toString()
40471
40469
  })}><div class="overlay__content"></div></cx-dialog><div class=${mn({
40472
40470
  container: !0,
@@ -44611,7 +44609,7 @@ b`.split(/\n/).length != 3 ? function(u) {
44611
44609
  }
44612
44610
  return { index: x, lineN: y };
44613
44611
  }
44614
- function or(u, g, y) {
44612
+ function ir(u, g, y) {
44615
44613
  var v = u.display, x = v.view;
44616
44614
  x.length == 0 || g >= v.viewTo || y <= v.viewFrom ? (v.view = Hu(u, g, y), v.viewFrom = g) : (v.viewFrom > g ? v.view = Hu(u, g, v.viewFrom).concat(v.view) : v.viewFrom < g && (v.view = v.view.slice(Rt(u, g))), v.viewFrom = g, v.viewTo < y ? v.view = v.view.concat(Hu(u, v.viewTo, y)) : v.viewTo > y && (v.view = v.view.slice(0, Rt(u, y)))), v.viewTo = y;
44617
44615
  }
@@ -44622,7 +44620,7 @@ b`.split(/\n/).length != 3 ? function(u) {
44622
44620
  }
44623
44621
  return y;
44624
44622
  }
44625
- function ar(u) {
44623
+ function or(u) {
44626
44624
  u.display.input.showSelection(u.display.input.prepareSelection());
44627
44625
  }
44628
44626
  function gs(u, g) {
@@ -45143,7 +45141,7 @@ b`.split(/\n/).length != 3 ? function(u) {
45143
45141
  var x = v.first + v.size, S = Math.max(g.visible.from - u.options.viewportMargin, v.first), I = Math.min(x, g.visible.to + u.options.viewportMargin);
45144
45142
  y.viewFrom < S && S - y.viewFrom < 20 && (S = Math.max(v.first, y.viewFrom)), y.viewTo > I && y.viewTo - I < 20 && (I = Math.min(x, y.viewTo)), Kr && (S = es(u.doc, S), I = va(u.doc, I));
45145
45143
  var z = S != y.viewFrom || I != y.viewTo || y.lastWrapHeight != g.wrapperHeight || y.lastWrapWidth != g.wrapperWidth;
45146
- or(u, S, I), y.viewOffset = xc(Lt(u.doc, y.viewFrom)), u.display.mover.style.top = y.viewOffset + "px";
45144
+ ir(u, S, I), y.viewOffset = xc(Lt(u.doc, y.viewFrom)), u.display.mover.style.top = y.viewOffset + "px";
45147
45145
  var V = br(u);
45148
45146
  if (!z && V == 0 && !g.force && y.renderedView == y.view && (y.updateLineNumbers == null || y.updateLineNumbers >= y.viewTo))
45149
45147
  return !1;
@@ -45160,7 +45158,7 @@ b`.split(/\n/).length != 3 ? function(u) {
45160
45158
  break;
45161
45159
  L0(u);
45162
45160
  var x = Lv(u);
45163
- ar(u), Am(u, x), A_(u, x), g.force = !1;
45161
+ or(u), Am(u, x), A_(u, x), g.force = !1;
45164
45162
  }
45165
45163
  g.signal(u, "update", u), (u.display.viewFrom != u.display.reportedViewFrom || u.display.viewTo != u.display.reportedViewTo) && (g.signal(u, "viewportChange", u, u.display.viewFrom, u.display.viewTo), u.display.reportedViewFrom = u.display.viewFrom, u.display.reportedViewTo = u.display.viewTo);
45166
45164
  }
@@ -45169,7 +45167,7 @@ b`.split(/\n/).length != 3 ? function(u) {
45169
45167
  if (S_(u, y)) {
45170
45168
  L0(u), n6(u, y);
45171
45169
  var v = Lv(u);
45172
- ar(u), Am(u, v), A_(u, v), y.finish();
45170
+ or(u), Am(u, v), A_(u, v), y.finish();
45173
45171
  }
45174
45172
  }
45175
45173
  function SW(u, g, y) {
@@ -47570,13 +47568,13 @@ b`.split(/\n/).length != 3 ? function(u) {
47570
47568
  v.display.gutterSpecs = O_(v.options.gutters, x), Fv(v);
47571
47569
  }, !0), y("firstLineNumber", 1, Fv, !0), y("lineNumberFormatter", function(v) {
47572
47570
  return v;
47573
- }, Fv, !0), y("showCursorWhenSelecting", !1, ar, !0), y("resetSelectionOnContextMenu", !0), y("lineWiseCopyCut", !0), y("pasteLinesPerSelection", !0), y("selectionsMayTouch", !1), y("readOnly", !1, function(v, x) {
47571
+ }, Fv, !0), y("showCursorWhenSelecting", !1, or, !0), y("resetSelectionOnContextMenu", !0), y("lineWiseCopyCut", !0), y("pasteLinesPerSelection", !0), y("selectionsMayTouch", !1), y("readOnly", !1, function(v, x) {
47574
47572
  x == "nocursor" && (Tm(v), v.display.input.blur()), v.display.input.readOnlyChanged(x);
47575
47573
  }), y("screenReaderLabel", null, function(v, x) {
47576
47574
  x = x === "" ? null : x, v.display.input.screenReaderLabelChanged(x);
47577
47575
  }), y("disableInput", !1, function(v, x) {
47578
47576
  x || v.display.input.reset();
47579
- }, !0), y("dragDrop", !0, pG), y("allowDropFileTypes", null), y("cursorBlinkRate", 530), y("cursorScrollMargin", 0), y("cursorHeight", 1, ar, !0), y("singleCursorHeightPerLine", !0, ar, !0), y("workTime", 100), y("workDelay", 100), y("flattenSpans", !0, zv, !0), y("addModeClass", !1, zv, !0), y("pollInterval", 100), y("undoDepth", 200, function(v, x) {
47577
+ }, !0), y("dragDrop", !0, pG), y("allowDropFileTypes", null), y("cursorBlinkRate", 530), y("cursorScrollMargin", 0), y("cursorHeight", 1, or, !0), y("singleCursorHeightPerLine", !0, or, !0), y("workTime", 100), y("workDelay", 100), y("flattenSpans", !0, zv, !0), y("addModeClass", !1, zv, !0), y("pollInterval", 100), y("undoDepth", 200, function(v, x) {
47580
47578
  return v.doc.history.undoDepth = x;
47581
47579
  }), y("historyEventDelay", 1250), y("viewportMargin", 10, function(v) {
47582
47580
  return v.refresh();
@@ -83147,7 +83145,7 @@ async function Ql() {
83147
83145
  return [];
83148
83146
  }
83149
83147
  }
83150
- var J2 = /* @__PURE__ */ ((n) => (n.Audio = "Audio", n.Graphic = "Graphic", n.Image = "Image", n.Multimedia = "Multimedia", n.Video = "Video", n))(J2 || {}), xi = /* @__PURE__ */ ((n) => (n.Bento = "bento", n.Carousel = "carousel", n.Grid = "grid", n.Ribbon = "ribbon", n))(xi || {}), ou = /* @__PURE__ */ ((n) => (n.Expand = "expand", n.Split = "split", n))(ou || {}), sr = /* @__PURE__ */ ((n) => (n.Api = "api", n.Manual = "manual", n))(sr || {}), gn = /* @__PURE__ */ ((n) => (n.Automatic = "automatic", n.Custom = "custom", n))(gn || {});
83148
+ var J2 = /* @__PURE__ */ ((n) => (n.Audio = "Audio", n.Graphic = "Graphic", n.Image = "Image", n.Multimedia = "Multimedia", n.Video = "Video", n))(J2 || {}), xi = /* @__PURE__ */ ((n) => (n.Bento = "bento", n.Carousel = "carousel", n.Grid = "grid", n.Ribbon = "ribbon", n))(xi || {}), ou = /* @__PURE__ */ ((n) => (n.Expand = "expand", n.Split = "split", n))(ou || {}), ar = /* @__PURE__ */ ((n) => (n.Api = "api", n.Manual = "manual", n))(ar || {}), gn = /* @__PURE__ */ ((n) => (n.Automatic = "automatic", n.Custom = "custom", n))(gn || {});
83151
83149
  const N9t = {
83152
83150
  "additional-fields": "",
83153
83151
  autoplay: !1,
@@ -83177,7 +83175,7 @@ const N9t = {
83177
83175
  records: "",
83178
83176
  "slide-easing": $n.Linear,
83179
83177
  "slides-per-page": "1",
83180
- "source-variant": sr.Manual,
83178
+ "source-variant": ar.Manual,
83181
83179
  src: "",
83182
83180
  "text-reveal-style": oa.Slide,
83183
83181
  "transformation-record-id": "",
@@ -83225,7 +83223,7 @@ const N9t = {
83225
83223
  "click-event": "",
83226
83224
  "content-type": o === dn.Link ? gn.Custom : gn.Automatic,
83227
83225
  records: s,
83228
- "source-variant": sr.Manual,
83226
+ "source-variant": ar.Manual,
83229
83227
  src: ""
83230
83228
  };
83231
83229
  return o !== dn.Asset ? {
@@ -83268,7 +83266,7 @@ const N9t = {
83268
83266
  type: "attribute"
83269
83267
  },
83270
83268
  {
83271
- callback: ({ record: i, value: o }) => o === sr.Api ? {
83269
+ callback: ({ record: i, value: o }) => o === ar.Api ? {
83272
83270
  ...i,
83273
83271
  "content-type": gn.Automatic,
83274
83272
  "download-format": "",
@@ -83295,15 +83293,15 @@ const N9t = {
83295
83293
  options: [
83296
83294
  {
83297
83295
  helpText: n.term("individualAssetsHelpText"),
83298
- id: sr.Manual,
83296
+ id: ar.Manual,
83299
83297
  name: n.term("individualAssets"),
83300
- value: sr.Manual
83298
+ value: ar.Manual
83301
83299
  },
83302
83300
  {
83303
83301
  helpText: n.term("virtualFolderHelpText"),
83304
- id: sr.Api,
83302
+ id: ar.Api,
83305
83303
  name: n.term("virtualFolder"),
83306
- value: sr.Api
83304
+ value: ar.Api
83307
83305
  }
83308
83306
  ],
83309
83307
  show: (i) => i["card-type"] === dn.Asset,
@@ -83322,13 +83320,13 @@ const N9t = {
83322
83320
  id: "src",
83323
83321
  label: "",
83324
83322
  name: "source",
83325
- show: (i) => i["source-variant"] === sr.Api,
83323
+ show: (i) => i["source-variant"] === ar.Api,
83326
83324
  type: "attribute"
83327
83325
  },
83328
83326
  {
83329
83327
  clearable: !1,
83330
83328
  controlType: "select",
83331
- disabled: (i) => i["source-variant"] === sr.Api || i["card-type"] === dn.Link,
83329
+ disabled: (i) => i["source-variant"] === ar.Api || i["card-type"] === dn.Link,
83332
83330
  helpText: n.term("contentHelpText"),
83333
83331
  id: "content-type",
83334
83332
  label: n.term("content"),
@@ -83482,7 +83480,7 @@ const N9t = {
83482
83480
  id: "download-format",
83483
83481
  label: n.term("downloadFormat"),
83484
83482
  name: "download-format",
83485
- show: (i) => i["source-variant"] !== sr.Api,
83483
+ show: (i) => i["source-variant"] !== ar.Api,
83486
83484
  type: "attribute"
83487
83485
  },
83488
83486
  {
@@ -83496,7 +83494,7 @@ const N9t = {
83496
83494
  id: "download-format",
83497
83495
  label: n.term("downloadFormat"),
83498
83496
  name: "download-format",
83499
- show: (i) => i["source-variant"] === sr.Api,
83497
+ show: (i) => i["source-variant"] === ar.Api,
83500
83498
  type: "attribute"
83501
83499
  }
83502
83500
  ] : [],
@@ -85332,7 +85330,7 @@ const n5t = {
85332
85330
  "show-content-type": lu.Always,
85333
85331
  "show-less-label": "Show less",
85334
85332
  "slides-per-page": "4",
85335
- "source-variant": sr.Manual,
85333
+ "source-variant": ar.Manual,
85336
85334
  src: "",
85337
85335
  "text-reveal-style": oa.Slide,
85338
85336
  "transformation-record-id": "",
@@ -85376,7 +85374,7 @@ const n5t = {
85376
85374
  "content-type": gn.Automatic,
85377
85375
  format: r ? "TR1" : "TRX",
85378
85376
  records: s,
85379
- "source-variant": sr.Manual,
85377
+ "source-variant": ar.Manual,
85380
85378
  src: ""
85381
85379
  };
85382
85380
  return o !== dn.Asset ? {
@@ -85419,7 +85417,7 @@ const n5t = {
85419
85417
  type: "attribute"
85420
85418
  },
85421
85419
  {
85422
- callback: ({ record: i, value: o }) => o === sr.Api ? {
85420
+ callback: ({ record: i, value: o }) => o === ar.Api ? {
85423
85421
  ...i,
85424
85422
  "content-type": gn.Automatic,
85425
85423
  "download-format": "",
@@ -85446,15 +85444,15 @@ const n5t = {
85446
85444
  options: [
85447
85445
  {
85448
85446
  helpText: n.term("individualAssetsHelpText"),
85449
- id: sr.Manual,
85447
+ id: ar.Manual,
85450
85448
  name: n.term("individualAssets"),
85451
- value: sr.Manual
85449
+ value: ar.Manual
85452
85450
  },
85453
85451
  {
85454
85452
  helpText: n.term("virtualFolderHelpText"),
85455
- id: sr.Api,
85453
+ id: ar.Api,
85456
85454
  name: n.term("virtualFolder"),
85457
- value: sr.Api
85455
+ value: ar.Api
85458
85456
  }
85459
85457
  ],
85460
85458
  show: (i) => i["card-type"] === dn.Asset,
@@ -85473,13 +85471,13 @@ const n5t = {
85473
85471
  id: "src",
85474
85472
  label: "",
85475
85473
  name: "source",
85476
- show: (i) => i["source-variant"] === sr.Api,
85474
+ show: (i) => i["source-variant"] === ar.Api,
85477
85475
  type: "attribute"
85478
85476
  },
85479
85477
  {
85480
85478
  clearable: !1,
85481
85479
  controlType: "select",
85482
- disabled: (i) => i["source-variant"] === sr.Api,
85480
+ disabled: (i) => i["source-variant"] === ar.Api,
85483
85481
  helpText: n.term("contentHelpText"),
85484
85482
  id: "content-type",
85485
85483
  label: n.term("content"),
@@ -85633,7 +85631,7 @@ const n5t = {
85633
85631
  id: "download-format",
85634
85632
  label: n.term("downloadFormat"),
85635
85633
  name: "download-format",
85636
- show: (i) => i["source-variant"] !== sr.Api,
85634
+ show: (i) => i["source-variant"] !== ar.Api,
85637
85635
  type: "attribute"
85638
85636
  },
85639
85637
  {
@@ -85647,7 +85645,7 @@ const n5t = {
85647
85645
  id: "download-format",
85648
85646
  label: n.term("downloadFormat"),
85649
85647
  name: "download-format",
85650
- show: (i) => i["source-variant"] === sr.Api,
85648
+ show: (i) => i["source-variant"] === ar.Api,
85651
85649
  type: "attribute"
85652
85650
  }
85653
85651
  ] : [],
@@ -86694,6 +86692,9 @@ const n5t = {
86694
86692
  id: "src-dark-mode",
86695
86693
  label: n.term("darkModeImage"),
86696
86694
  name: "src-dark-mode",
86695
+ pickerConfigs: {
86696
+ recordIdKey: "record-id-dark-mode"
86697
+ },
86697
86698
  translatable: !0,
86698
86699
  translateGroup: n.term("content"),
86699
86700
  type: "attribute"
@@ -86910,7 +86911,7 @@ const n5t = {
86910
86911
  {
86911
86912
  clearable: !1,
86912
86913
  controlType: "select",
86913
- disabled: (i) => i["source-variant"] === sr.Api,
86914
+ disabled: (i) => i["source-variant"] === ar.Api,
86914
86915
  helpText: n.term("contentHelpText"),
86915
86916
  id: "content-type",
86916
86917
  label: n.term("content"),
@@ -88009,9 +88010,9 @@ const n5t = {
88009
88010
  "--max-block-width"
88010
88011
  ], lS = { configs: M5t, defaultValue: D5t, stylable: P5t }, N5t = {
88011
88012
  data: JSON.stringify([
88012
- { id: vp(`${Date.now()}-`), label: "Section 1" },
88013
- { id: vp(`${Date.now()}-`), label: "Section 2" },
88014
- { id: vp(`${Date.now()}-`), label: "Section 3" }
88013
+ { id: vp(`${Date.now()}-`), label: "Marker 1" },
88014
+ { id: vp(`${Date.now()}-`), label: "Marker 2" },
88015
+ { id: vp(`${Date.now()}-`), label: "Marker 3" }
88015
88016
  ]),
88016
88017
  format: "TRX",
88017
88018
  "min-tab-width": "175px",
@@ -88060,10 +88061,10 @@ const n5t = {
88060
88061
  controlType: "list-editor",
88061
88062
  direction: "vertical",
88062
88063
  id: "data",
88063
- label: n.term("listOfSections"),
88064
+ label: n.term("markers"),
88064
88065
  listEditorConfigs: {
88065
- addDialogLabel: n.term("addChapter"),
88066
- addItemText: n.term("addChapter"),
88066
+ addDialogLabel: n.term("addMarker"),
88067
+ addItemText: n.term("addMarker"),
88067
88068
  columns: [
88068
88069
  {
88069
88070
  configOrder: 2,
@@ -88110,7 +88111,7 @@ const n5t = {
88110
88111
  }
88111
88112
  ],
88112
88113
  displayField: "label",
88113
- editDialogLabel: n.term("editChapter"),
88114
+ editDialogLabel: n.term("editMarker"),
88114
88115
  sampleItem: {
88115
88116
  label: "",
88116
88117
  objectFit: Mo.Cover,
@@ -88145,7 +88146,7 @@ const n5t = {
88145
88146
  {
88146
88147
  controlType: "group-heading",
88147
88148
  id: "marker-options",
88148
- label: n.term("chapterMarkers"),
88149
+ label: n.term("markers"),
88149
88150
  name: "marker-options",
88150
88151
  type: "decorative"
88151
88152
  },
@@ -88510,7 +88511,7 @@ const n5t = {
88510
88511
  {
88511
88512
  clearable: !1,
88512
88513
  controlType: "select",
88513
- disabled: (i) => i["source-variant"] === sr.Api,
88514
+ disabled: (i) => i["source-variant"] === ar.Api,
88514
88515
  helpText: n.term("contentHelpText"),
88515
88516
  id: "content-type",
88516
88517
  label: n.term("content"),
@@ -89263,7 +89264,7 @@ let qo = class extends Cn {
89263
89264
  }
89264
89265
  render() {
89265
89266
  const n = this.limitedBlocks.length ? this.blocks.filter((e) => this.limitedBlocks.includes(e.id)) : this.blocks;
89266
- return U`<cx-dialog class="block-picker" use-overlay-scrollbar .boundary=${this.boundary} @cx-request-close=${this.handleClose} @cx-after-hide=${this.resetState} style=${ir({
89267
+ return U`<cx-dialog class="block-picker" use-overlay-scrollbar .boundary=${this.boundary} @cx-request-close=${this.handleClose} @cx-after-hide=${this.resetState} style=${sr({
89267
89268
  /** count * (card width + gap) + 2 padding */
89268
89269
  "--max-width": `${Math.min(this.itemCount * (this.cardWidth + 25) + 40, 1056)}px`
89269
89270
  })}><cx-space slot="label" direction="vertical" spacing="2x-small"><cx-typography variant="h4">${at(
@@ -106868,7 +106869,7 @@ let oi = class extends Cn {
106868
106869
  constructor() {
106869
106870
  super(...arguments), this.formControlController = new dY(this, {
106870
106871
  assumeInteractionOn: ["cx-gallery-picker-action"]
106871
- }), this.localize = new Un(this), this.variant = dn.Asset, this.sourceVariant = sr.Manual, this.dialogVariant = gu.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.format = "", this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new Jst(this, {
106872
+ }), this.localize = new Un(this), this.variant = dn.Asset, this.sourceVariant = ar.Manual, this.dialogVariant = gu.Gallery, this.name = "", this.value = void 0, this.defaultValue = void 0, this.src = "", this.format = "", this.boundary = document.body, this.form = void 0, this.onRequestAsset = void 0, this.loading = !1, this.masonryData = [], this.dataCount = 0, this.currentPage = 0, this.selectedPosition = -1, this.hasFinishedFetchingData = !1, this.errorDataMap = /* @__PURE__ */ new Map(), this.osInstance = null, this.itemsPerPage = 9, this.maxRows = 3, this.maxColumns = 3, this.rowHeight = "150px", this.spacing = "medium", this.autofetchController = new Jst(this, {
106872
106873
  maxEnd: 100
106873
106874
  });
106874
106875
  }
@@ -106930,7 +106931,7 @@ let oi = class extends Cn {
106930
106931
  await this.updateComplete, this.requestUpdate();
106931
106932
  }
106932
106933
  async fetchImagesInFolderBySlide() {
106933
- if (await this.updateComplete, !(this.src === "" || this.sourceVariant !== sr.Api) && this.currentPage !== 1 / 0) {
106934
+ if (await this.updateComplete, !(this.src === "" || this.sourceVariant !== ar.Api) && this.currentPage !== 1 / 0) {
106934
106935
  this.hasFinishedFetchingData = !1, this.loading = !0;
106935
106936
  try {
106936
106937
  const n = await this.autofetchController.fetchImagesInFolderByPage({
@@ -106950,10 +106951,10 @@ let oi = class extends Cn {
106950
106951
  }
106951
106952
  }
106952
106953
  handleSourceVariantChange() {
106953
- this.sourceVariant === sr.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
106954
+ this.sourceVariant === ar.Api && (this.currentPage = 0, this.masonryData = [], this.dataCount = 0);
106954
106955
  }
106955
106956
  async fetchImagesByIDs(n, e) {
106956
- if (await this.updateComplete, this.sourceVariant === sr.Api || !this.value)
106957
+ if (await this.updateComplete, this.sourceVariant === ar.Api || !this.value)
106957
106958
  return;
106958
106959
  if (this.value.length === 0) {
106959
106960
  this.masonryData = [], this.dataCount = 0;
@@ -106970,7 +106971,7 @@ let oi = class extends Cn {
106970
106971
  await this.doFetchByIds(t);
106971
106972
  }
106972
106973
  async handleFormatChange() {
106973
- if (this.sourceVariant === sr.Api || !this.value || this.value.length === 0)
106974
+ if (this.sourceVariant === ar.Api || !this.value || this.value.length === 0)
106974
106975
  return;
106975
106976
  const n = this.value.map((e) => e.id).filter((e) => e !== "");
106976
106977
  n.length !== 0 && await this.doFetchByIds(n);
@@ -107013,10 +107014,10 @@ let oi = class extends Cn {
107013
107014
  }
107014
107015
  handleEditItem(n) {
107015
107016
  if (this.value) {
107016
- if (this.emit("cx-gallery-picker-action"), this.sourceVariant === sr.Manual) {
107017
- if (this.selectedPosition = this.value.findIndex((i) => this.sourceVariant === sr.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id), this.selectedPosition < 0)
107017
+ if (this.emit("cx-gallery-picker-action"), this.sourceVariant === ar.Manual) {
107018
+ if (this.selectedPosition = this.value.findIndex((i) => this.sourceVariant === ar.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id), this.selectedPosition < 0)
107018
107019
  return;
107019
- const e = this.value[this.selectedPosition], t = this.masonryData.find((i) => this.sourceVariant === sr.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id);
107020
+ const e = this.value[this.selectedPosition], t = this.masonryData.find((i) => this.sourceVariant === ar.Manual ? i.rawId === n.detail.item.rawId : i.id === n.detail.item.id);
107020
107021
  if (!e || !t?.src)
107021
107022
  return;
107022
107023
  const r = {
@@ -107072,12 +107073,12 @@ let oi = class extends Cn {
107072
107073
  r = [...this.value ?? [], e];
107073
107074
  else {
107074
107075
  r = [...this.value ?? []];
107075
- const o = this.sourceVariant === sr.Manual && !!e.rawId, a = (c) => o ? c.rawId === e.rawId : c.id === e.id;
107076
+ const o = this.sourceVariant === ar.Manual && !!e.rawId, a = (c) => o ? c.rawId === e.rawId : c.id === e.id;
107076
107077
  r.some(a) ? r = r.map((c) => a(c) ? e : c) : r.push(e);
107077
107078
  }
107078
107079
  const i = r.map((o) => ({
107079
107080
  ...o,
107080
- rawId: this.sourceVariant === sr.Manual ? o.rawId || i0() : o.rawId ?? ""
107081
+ rawId: this.sourceVariant === ar.Manual ? o.rawId || i0() : o.rawId ?? ""
107081
107082
  }));
107082
107083
  this.value = i, this.emit("cx-content-builder-gallery-change", {
107083
107084
  detail: {
@@ -107120,7 +107121,7 @@ let oi = class extends Cn {
107120
107121
  }
107121
107122
  }), this.osInstance.on("scroll", (n) => {
107122
107123
  const e = n.elements().viewport, t = e.scrollTop, r = e.clientHeight, i = e.scrollHeight, o = t + r >= i - 5;
107123
- if (this.sourceVariant !== sr.Api || this.loading || this.currentPage === 1 / 0 || !this.src)
107124
+ if (this.sourceVariant !== ar.Api || this.loading || this.currentPage === 1 / 0 || !this.src)
107124
107125
  return;
107125
107126
  const a = (this.currentPage + 1) * this.itemsPerPage;
107126
107127
  o && this.dataCount > a && this.currentPage++;
@@ -107130,7 +107131,7 @@ let oi = class extends Cn {
107130
107131
  this.osInstance?.destroy(), this.osInstance = null;
107131
107132
  }
107132
107133
  render() {
107133
- const n = this.sourceVariant === sr.Manual ? [
107134
+ const n = this.sourceVariant === ar.Manual ? [
107134
107135
  {
107135
107136
  color: "var(--cx-color-danger)",
107136
107137
  event: "cx-delete-item",
@@ -107153,10 +107154,10 @@ let oi = class extends Cn {
107153
107154
  hasError: this.errorDataMap.has(t.id),
107154
107155
  loading: !t.src
107155
107156
  }));
107156
- return U`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${ir({ maxHeight: this.maxMasonryHeight })} class="gallery-picker__masonry-wrapper" tabindex="-1"><cx-masonry class="gallery-picker__masonry" cols=${this.maxColumns} id-key=${this.sourceVariant === sr.Manual ? "rawId" : "id"} row-height=${this.rowHeight} spacing="medium" ?sortable=${this.sourceVariant === sr.Manual} .data=${e} .actions=${n} @cx-edit-item=${this.handleEditItem} @cx-delete-item=${this.handleDeleteItem} @cx-reorder=${this.handleReorder}></cx-masonry></div>${at(
107157
+ return U`<cx-input class="gallery-picker__input" label=${this.localize.term("choose")} name=${this.name} value=${JSON.stringify(this.value ?? [])}></cx-input><div part="overlay" class="gallery-picker__overlay" tabindex="-1"><div part="masonry-wrapper" style=${sr({ maxHeight: this.maxMasonryHeight })} class="gallery-picker__masonry-wrapper" tabindex="-1"><cx-masonry class="gallery-picker__masonry" cols=${this.maxColumns} id-key=${this.sourceVariant === ar.Manual ? "rawId" : "id"} row-height=${this.rowHeight} spacing="medium" ?sortable=${this.sourceVariant === ar.Manual} .data=${e} .actions=${n} @cx-edit-item=${this.handleEditItem} @cx-delete-item=${this.handleDeleteItem} @cx-reorder=${this.handleReorder}></cx-masonry></div>${at(
107157
107158
  this.src ? this.hasFinishedFetchingData && this.masonryData.length === 0 : this.masonryData.length === 0,
107158
107159
  () => at(
107159
- this.sourceVariant === sr.Api,
107160
+ this.sourceVariant === ar.Api,
107160
107161
  () => U`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${at(
107161
107162
  this.dialogVariant === gu.Gallery,
107162
107163
  () => this.localize.term("cardsWillBeAddedAutomaticallyFromTheSelectedFolder"),
@@ -107165,9 +107166,9 @@ let oi = class extends Cn {
107165
107166
  () => U`<cx-typography variant="body2" class="gallery-picker__no-slides-added">${this.localize.term(`no${this.dialogVariant === gu.Gallery ? "Cards" : "Slides"}AddedYet`)}</cx-typography>`
107166
107167
  )
107167
107168
  )}</div>${at(
107168
- this.sourceVariant === sr.Manual,
107169
+ this.sourceVariant === ar.Manual,
107169
107170
  () => U`<cx-button class="gallery-picker-trigger" variant="default" @click=${this.handleAddItem}>${this.localize.term(`add${this.dialogVariant === gu.Gallery ? "Card" : "Slide"}`)}</cx-button>`
107170
- )}<cx-gallery-config variant=${this.variant} dialog-variant=${this.dialogVariant} ?disabled-asset-picker=${this.sourceVariant === sr.Api} .boundary=${this.boundary} .onRequestAsset=${this.onRequestAsset} @cx-gallery-config-save=${this.handleSave}></cx-gallery-config>`;
107171
+ )}<cx-gallery-config variant=${this.variant} dialog-variant=${this.dialogVariant} ?disabled-asset-picker=${this.sourceVariant === ar.Api} .boundary=${this.boundary} .onRequestAsset=${this.onRequestAsset} @cx-gallery-config-save=${this.handleSave}></cx-gallery-config>`;
107171
107172
  }
107172
107173
  };
107173
107174
  oi.styles = [
@@ -107642,7 +107643,7 @@ class w4t {
107642
107643
  p = {};
107643
107644
  }
107644
107645
  let h = [];
107645
- if (e.src && e["source-variant"] === sr.Api)
107646
+ if (e.src && e["source-variant"] === ar.Api)
107646
107647
  h = [e.src];
107647
107648
  else if (c.downloadFormatPickerConfigs?.isObjectFormat)
107648
107649
  try {
@@ -107858,7 +107859,7 @@ class w4t {
107858
107859
  await o(p.target.value);
107859
107860
  };
107860
107861
  let d = c.radioGroupConfigs?.gap;
107861
- return d || (d = c.radioGroupConfigs?.horizontal ? "var(--cx-spacing-medium)" : "var(--cx-spacing-x-small)"), U`<cx-radio-group name=${a} value=${r ?? ""} size="medium" ?horizontal=${c.radioGroupConfigs?.horizontal ?? !1} style=${ir({
107862
+ return d || (d = c.radioGroupConfigs?.horizontal ? "var(--cx-spacing-medium)" : "var(--cx-spacing-x-small)"), U`<cx-radio-group name=${a} value=${r ?? ""} size="medium" ?horizontal=${c.radioGroupConfigs?.horizontal ?? !1} style=${sr({
107862
107863
  "--radio-group-gap": d
107863
107864
  })} @cx-change=${l}>${zn(
107864
107865
  c.options ?? [],
@@ -109850,7 +109851,7 @@ function SU({
109850
109851
  const r = this.model, { image: i, index: o } = t.detail;
109851
109852
  try {
109852
109853
  let a = JSON.parse(r.getAttributes().records || "[]");
109853
- if (r.getAttributes()["source-variant"] === sr.Api) {
109854
+ if (r.getAttributes()["source-variant"] === ar.Api) {
109854
109855
  const c = i.rawId || i.id;
109855
109856
  if (!c)
109856
109857
  return;
@@ -129930,7 +129931,7 @@ let Hr = class extends Cn {
129930
129931
  }, i = (o) => {
129931
129932
  o.detail.source === "overlay" && o.preventDefault();
129932
129933
  };
129933
- return U`<cx-dialog ${du(this.linkDialogRef)} label="Insert/Edit Link" .boundary=${this.boundary} style=${ir({
129934
+ return U`<cx-dialog ${du(this.linkDialogRef)} label="Insert/Edit Link" .boundary=${this.boundary} style=${sr({
129934
129935
  "--width": "800px"
129935
129936
  })} @cx-request-close=${i}><cx-space direction="vertical" wrap="nowrap"><cx-input label="Display text" ${du(this.displayTextInputRef)}></cx-input><cx-input label="Link URL" ${du(this.linkUrlInputRef)} @cx-change=${r}>${at(
129936
129937
  this.isInvalidUrl,
@@ -135293,11 +135294,11 @@ function PRt() {
135293
135294
  var kt = Math.min(Ye, Ue.length - ut);
135294
135295
  return Se.getMany({ trans: q, keys: Ue.slice(ut, ut + kt), cache: "immutable" }).then(function(Ut) {
135295
135296
  for (var Zt = [], Rt = [], Dt = Re ? [] : null, nn = [], Yt = 0; Yt < kt; ++Yt) {
135296
- var hn = Ut[Yt], or = { value: K(hn), primKey: Ue[ut + Yt] };
135297
- me.call(or, or.value, or) !== !1 && (or.value == null ? nn.push(Ue[ut + Yt]) : Re || ue(He(hn), He(or.value)) === 0 ? (Rt.push(or.value), Re && Dt.push(Ue[ut + Yt])) : (nn.push(Ue[ut + Yt]), Zt.push(or.value)));
135297
+ var hn = Ut[Yt], ir = { value: K(hn), primKey: Ue[ut + Yt] };
135298
+ me.call(ir, ir.value, ir) !== !1 && (ir.value == null ? nn.push(Ue[ut + Yt]) : Re || ue(He(hn), He(ir.value)) === 0 ? (Rt.push(ir.value), Re && Dt.push(Ue[ut + Yt])) : (nn.push(Ue[ut + Yt]), Zt.push(ir.value)));
135298
135299
  }
135299
135300
  return Promise.resolve(0 < Zt.length && Se.mutate({ trans: q, type: "add", values: Zt }).then(function(br) {
135300
- for (var ar in br.failures) nn.splice(parseInt(ar), 1);
135301
+ for (var or in br.failures) nn.splice(parseInt(or), 1);
135301
135302
  Ze(Zt.length, br);
135302
135303
  })).then(function() {
135303
135304
  return (0 < Rt.length || lt && typeof _ == "object") && Se.mutate({ trans: q, type: "put", keys: Dt, values: Rt, criteria: lt, changeSpec: typeof _ != "function" && _, isAdditionalChunk: 0 < ut }).then(function(br) {
@@ -135392,12 +135393,12 @@ function PRt() {
135392
135393
  if (E(lt, Re, $e)) return !0;
135393
135394
  for (var ut = null, kt = $e; kt < Ie; ++kt) {
135394
135395
  var Ut = function(Zt, Rt, Dt, nn, Yt, hn) {
135395
- for (var or = Math.min(Zt.length, nn.length), br = -1, ar = 0; ar < or; ++ar) {
135396
- var gs = Rt[ar];
135397
- if (gs !== nn[ar]) return Yt(Zt[ar], Dt[ar]) < 0 ? Zt.substr(0, ar) + Dt[ar] + Dt.substr(ar + 1) : Yt(Zt[ar], nn[ar]) < 0 ? Zt.substr(0, ar) + nn[ar] + Dt.substr(ar + 1) : 0 <= br ? Zt.substr(0, br) + Rt[br] + Dt.substr(br + 1) : null;
135398
- Yt(Zt[ar], gs) < 0 && (br = ar);
135396
+ for (var ir = Math.min(Zt.length, nn.length), br = -1, or = 0; or < ir; ++or) {
135397
+ var gs = Rt[or];
135398
+ if (gs !== nn[or]) return Yt(Zt[or], Dt[or]) < 0 ? Zt.substr(0, or) + Dt[or] + Dt.substr(or + 1) : Yt(Zt[or], nn[or]) < 0 ? Zt.substr(0, or) + nn[or] + Dt.substr(or + 1) : 0 <= br ? Zt.substr(0, br) + Rt[br] + Dt.substr(br + 1) : null;
135399
+ Yt(Zt[or], gs) < 0 && (br = or);
135399
135400
  }
135400
- return or < nn.length && hn === "next" ? Zt + Dt.substr(Zt.length) : or < Zt.length && hn === "prev" ? Zt.substr(0, Dt.length) : br < 0 ? null : Zt.substr(0, br) + nn[br] + Dt.substr(br + 1);
135401
+ return ir < nn.length && hn === "next" ? Zt + Dt.substr(Zt.length) : ir < Zt.length && hn === "prev" ? Zt.substr(0, Dt.length) : br < 0 ? null : Zt.substr(0, br) + nn[br] + Dt.substr(br + 1);
135401
135402
  }(it, lt, Se[kt], Re[kt], me, He);
135402
135403
  Ut === null && ut === null ? $e = kt + 1 : (ut === null || 0 < me(ut, Ut)) && (ut = Ut);
135403
135404
  }
@@ -135710,27 +135711,27 @@ function PRt() {
135710
135711
  var Yt, hn = (lt || ut || { length: 1 }).length;
135711
135712
  if (lt && ut && lt.length !== ut.length) throw new Error("Given keys array must have same length as given values array.");
135712
135713
  if (hn === 0) return Ut({ numFailures: 0, failures: {}, results: [], lastResult: void 0 });
135713
- function or(Ra) {
135714
+ function ir(Ra) {
135714
135715
  ++gs, ma(Ra);
135715
135716
  }
135716
- var br = [], ar = [], gs = 0;
135717
+ var br = [], or = [], gs = 0;
135717
135718
  if (it === "deleteRange") {
135718
- if (kt.type === 4) return Ut({ numFailures: gs, failures: ar, results: [], lastResult: void 0 });
135719
+ if (kt.type === 4) return Ut({ numFailures: gs, failures: or, results: [], lastResult: void 0 });
135719
135720
  kt.type === 3 ? br.push(Yt = Rt.clear()) : br.push(Yt = Rt.delete(q(kt)));
135720
135721
  } else {
135721
135722
  var Dt = nn ? Dt ? [ut, lt] : [ut, null] : [lt, null], nr = Dt[0], $o = Dt[1];
135722
- if (nn) for (var La = 0; La < hn; ++La) br.push(Yt = $o && $o[La] !== void 0 ? Rt[it](nr[La], $o[La]) : Rt[it](nr[La])), Yt.onerror = or;
135723
- else for (La = 0; La < hn; ++La) br.push(Yt = Rt[it](nr[La])), Yt.onerror = or;
135723
+ if (nn) for (var La = 0; La < hn; ++La) br.push(Yt = $o && $o[La] !== void 0 ? Rt[it](nr[La], $o[La]) : Rt[it](nr[La])), Yt.onerror = ir;
135724
+ else for (La = 0; La < hn; ++La) br.push(Yt = Rt[it](nr[La])), Yt.onerror = ir;
135724
135725
  }
135725
135726
  function Hp(Ra) {
135726
135727
  Ra = Ra.target.result, br.forEach(function(wd, eg) {
135727
- return wd.error != null && (ar[eg] = wd.error);
135728
- }), Ut({ numFailures: gs, failures: ar, results: it === "delete" ? lt : br.map(function(wd) {
135728
+ return wd.error != null && (or[eg] = wd.error);
135729
+ }), Ut({ numFailures: gs, failures: or, results: it === "delete" ? lt : br.map(function(wd) {
135729
135730
  return wd.result;
135730
135731
  }), lastResult: Ra });
135731
135732
  }
135732
135733
  Yt.onerror = function(Ra) {
135733
- or(Ra), Hp(Ra);
135734
+ ir(Ra), Hp(Ra);
135734
135735
  }, Yt.onsuccess = Hp;
135735
135736
  });
135736
135737
  }, getMany: function(Xe) {
@@ -135739,7 +135740,7 @@ function PRt() {
135739
135740
  lt = Gn(lt);
135740
135741
  for (var kt, Ut = Ue.objectStore(Ke), Zt = it.length, Rt = new Array(Zt), Dt = 0, nn = 0, Yt = function(br) {
135741
135742
  br = br.target, Rt[br._pos] = br.result, ++nn === Dt && lt(Rt);
135742
- }, hn = Co(ut), or = 0; or < Zt; ++or) it[or] != null && ((kt = Ut.get(it[or]))._pos = or, kt.onsuccess = Yt, kt.onerror = hn, ++Dt);
135743
+ }, hn = Co(ut), ir = 0; ir < Zt; ++ir) it[ir] != null && ((kt = Ut.get(it[ir]))._pos = ir, kt.onsuccess = Yt, kt.onerror = hn, ++Dt);
135743
135744
  Dt === 0 && lt(Rt);
135744
135745
  });
135745
135746
  }, get: function(Xe) {
@@ -135759,8 +135760,8 @@ function PRt() {
135759
135760
  $e ? ((Rt = Ut ? nn.getAll(Yt, Rt) : nn.getAllKeys(Yt, Rt)).onsuccess = function(hn) {
135760
135761
  return Ue({ result: hn.target.result });
135761
135762
  }, Rt.onerror = Co(it)) : (lt = 0, ut = !Ut && "openKeyCursor" in nn ? nn.openKeyCursor(Yt) : nn.openCursor(Yt), kt = [], ut.onsuccess = function(hn) {
135762
- var or = ut.result;
135763
- return or ? (kt.push(Ut ? or.value : or.primaryKey), ++lt === Zt ? Ue({ result: kt }) : void or.continue()) : Ue({ result: kt });
135763
+ var ir = ut.result;
135764
+ return ir ? (kt.push(Ut ? ir.value : ir.primaryKey), ++lt === Zt ? Ue({ result: kt }) : void ir.continue()) : Ue({ result: kt });
135764
135765
  }, ut.onerror = Co(it));
135765
135766
  });
135766
135767
  }), openCursor: function(Xe) {
@@ -135769,8 +135770,8 @@ function PRt() {
135769
135770
  Ut = Gn(Ut);
135770
135771
  var nn = lt.index, Rt = lt.range, Dt = Ue.objectStore(Ke), Dt = nn.isPrimaryKey ? Dt : Dt.index(nn.name), nn = ut ? kt ? "prevunique" : "prev" : kt ? "nextunique" : "next", Yt = !it && "openKeyCursor" in Dt ? Dt.openKeyCursor(q(Rt), nn) : Dt.openCursor(q(Rt), nn);
135771
135772
  Yt.onerror = Co(Zt), Yt.onsuccess = Gn(function(hn) {
135772
- var or, br, ar, gs, nr = Yt.result;
135773
- nr ? (nr.___id = ++Tr, nr.done = !1, or = nr.continue.bind(nr), br = (br = nr.continuePrimaryKey) && br.bind(nr), ar = nr.advance.bind(nr), gs = function() {
135773
+ var ir, br, or, gs, nr = Yt.result;
135774
+ nr ? (nr.___id = ++Tr, nr.done = !1, ir = nr.continue.bind(nr), br = (br = nr.continuePrimaryKey) && br.bind(nr), or = nr.advance.bind(nr), gs = function() {
135774
135775
  throw new Error("Cursor not stopped");
135775
135776
  }, nr.trans = Ue, nr.stop = nr.continue = nr.continuePrimaryKey = nr.advance = function() {
135776
135777
  throw new Error("Cursor not started");
@@ -135799,7 +135800,7 @@ function PRt() {
135799
135800
  });
135800
135801
  return Yt.onsuccess = Gn(function(Ra) {
135801
135802
  Yt.onsuccess = La, La();
135802
- }), nr.continue = or, nr.continuePrimaryKey = br, nr.advance = ar, La(), Hp;
135803
+ }), nr.continue = ir, nr.continuePrimaryKey = br, nr.advance = or, La(), Hp;
135803
135804
  }, Ut(nr)) : Ut(null);
135804
135805
  }, Zt);
135805
135806
  });
@@ -136457,28 +136458,28 @@ function PRt() {
136457
136458
  }), $e.values] : [], Rt = nn[0], Dt = nn[1], nn = $e.trans._cache;
136458
136459
  return s(Rt) ? (kt.addKeys(Rt), (nn = Zt === "delete" || Rt.length === Dt.length ? Zh(Rt, nn) : null) || Ut.addKeys(Rt), (nn || Dt) && (Xe = Ke, Ue = nn, it = Dt, oe.indexes.forEach(function(Yt) {
136459
136460
  var hn = Xe(Yt.name || "");
136460
- function or(ar) {
136461
- return ar != null ? Yt.extractKey(ar) : null;
136461
+ function ir(or) {
136462
+ return or != null ? Yt.extractKey(or) : null;
136462
136463
  }
136463
- function br(ar) {
136464
- return Yt.multiEntry && s(ar) ? ar.forEach(function(gs) {
136464
+ function br(or) {
136465
+ return Yt.multiEntry && s(or) ? or.forEach(function(gs) {
136465
136466
  return hn.addKey(gs);
136466
- }) : hn.addKey(ar);
136467
+ }) : hn.addKey(or);
136467
136468
  }
136468
- (Ue || it).forEach(function(ar, $o) {
136469
- var nr = Ue && or(Ue[$o]), $o = it && or(it[$o]);
136469
+ (Ue || it).forEach(function(or, $o) {
136470
+ var nr = Ue && ir(Ue[$o]), $o = it && ir(it[$o]);
136470
136471
  ue(nr, $o) !== 0 && (nr != null && br(nr), $o != null && br($o));
136471
136472
  });
136472
136473
  }))) : Rt ? (Dt = { from: (Dt = Rt.lower) !== null && Dt !== void 0 ? Dt : _.MIN_KEY, to: (Dt = Rt.upper) !== null && Dt !== void 0 ? Dt : _.MAX_KEY }, Ut.add(Dt), kt.add(Dt)) : (kt.add(P), Ut.add(P), oe.indexes.forEach(function(Yt) {
136473
136474
  return Ke(Yt.name).add(P);
136474
136475
  })), Z.mutate($e).then(function(Yt) {
136475
136476
  return !Rt || $e.type !== "add" && $e.type !== "put" || (kt.addKeys(Yt.results), He && He.forEach(function(hn) {
136476
- for (var or = $e.values.map(function(nr) {
136477
+ for (var ir = $e.values.map(function(nr) {
136477
136478
  return hn.extractKey(nr);
136478
136479
  }), br = hn.keyPath.findIndex(function(nr) {
136479
136480
  return nr === me.keyPath;
136480
- }), ar = 0, gs = Yt.results.length; ar < gs; ++ar) or[ar][br] = Yt.results[ar];
136481
- Ke(hn.name).addKeys(or);
136481
+ }), or = 0, gs = Yt.results.length; or < gs; ++or) ir[or][br] = Yt.results[or];
136482
+ Ke(hn.name).addKeys(ir);
136482
136483
  })), lt.mutatedParts = Xd(lt.mutatedParts || {}, ut), Yt;
136483
136484
  });
136484
136485
  } }), Ie = function(Ke) {
@@ -136501,8 +136502,8 @@ function PRt() {
136501
136502
  var Ut = $e === "query" && Re && Ke.values && Z.query(r(r({}, Ke), { values: !1 }));
136502
136503
  return Z[$e].apply(this, arguments).then(function(Dt) {
136503
136504
  if ($e === "query") {
136504
- if (Re && Ke.values) return Ut.then(function(or) {
136505
- return or = or.result, ut.addKeys(or), Dt;
136505
+ if (Re && Ke.values) return Ut.then(function(ir) {
136506
+ return ir = ir.result, ut.addKeys(ir), Dt;
136506
136507
  });
136507
136508
  var nn = Ke.values ? Dt.result.map(Se) : Dt.result;
136508
136509
  (Ke.values ? ut : kt).addKeys(nn);
@@ -136511,8 +136512,8 @@ function PRt() {
136511
136512
  return Yt && Object.create(Yt, { key: { get: function() {
136512
136513
  return kt.addKey(Yt.primaryKey), Yt.key;
136513
136514
  } }, primaryKey: { get: function() {
136514
- var or = Yt.primaryKey;
136515
- return kt.addKey(or), or;
136515
+ var ir = Yt.primaryKey;
136516
+ return kt.addKey(ir), ir;
136516
136517
  } }, value: { get: function() {
136517
136518
  return hn && ut.addKey(Yt.primaryKey), Yt.value;
136518
136519
  } } });
@@ -139111,7 +139112,7 @@ let hr = class extends Cn {
139111
139112
  maximumFractionDigits: 2
139112
139113
  }).format(t);
139113
139114
  let s = qS[en.Downloading];
139114
- return r && qS[r] && (s = qS[r]), U`<cx-progress-bar ?show-progress=${e} .value=${n.toFixed(0)} style=${ir({
139115
+ return r && qS[r] && (s = qS[r]), U`<cx-progress-bar ?show-progress=${e} .value=${n.toFixed(0)} style=${sr({
139115
139116
  "--color": s
139116
139117
  })} class="progress-bar"><cx-space class="progress-bar__label" slot="label" spacing="3x-small" wrap="nowrap" align-items="center"><cx-line-clamp class="progress-bar__label__line-clamp" lines="1">${o}</cx-line-clamp><span class="progress-bar__label__separator">
139117
139118
  /
@@ -139243,18 +139244,18 @@ let hr = class extends Cn {
139243
139244
  this.downloadingFiles.every((p) => p.status === en.Failed)
139244
139245
  ), a = () => r ? en.Completed : i ? en.Paused : o ? en.Failed : null, s = () => this.downloadingFiles.length === 0 || this.totalSize === 0 ? 0 : this.downloadingFiles.filter((h) => h.status !== en.Cancelled).reduce((h, m) => h + m.progress * (YN(m) / 100), 0) / this.totalSize * 100, c = () => {
139245
139246
  let p = this.localize.term("downloadManager"), h = null;
139246
- return r ? (p = this.localize.term("downloadCompleted"), h = U`<cx-icon style=${ir({
139247
+ return r ? (p = this.localize.term("downloadCompleted"), h = U`<cx-icon style=${sr({
139247
139248
  color: uy[en.Completed]
139248
- })} name="check_circle"></cx-icon>`) : i ? (p = this.localize.term("downloadPaused"), h = U`<cx-icon style=${ir({
139249
+ })} name="check_circle"></cx-icon>`) : i ? (p = this.localize.term("downloadPaused"), h = U`<cx-icon style=${sr({
139249
139250
  color: uy[en.Paused]
139250
- })} name="pause_circle"></cx-icon>`) : o ? (p = this.localize.term("downloadFailed"), h = U`<cx-icon style=${ir({
139251
+ })} name="pause_circle"></cx-icon>`) : o ? (p = this.localize.term("downloadFailed"), h = U`<cx-icon style=${sr({
139251
139252
  color: uy[en.Failed]
139252
139253
  })} name="info"></cx-icon>`) : n && t === 1 ? (p = this.localize.term(
139253
139254
  "downloadingFileName",
139254
139255
  _O(n.name, 16, 6, 4)
139255
- ), h = U`<cx-icon style=${ir({
139256
+ ), h = U`<cx-icon style=${sr({
139256
139257
  color: uy[en.Downloading]
139257
- })} name="downloading"></cx-icon>`) : n && t > 1 && (p = this.localize.term("downloadingFileNum", t), h = U`<cx-icon style=${ir({
139258
+ })} name="downloading"></cx-icon>`) : n && t > 1 && (p = this.localize.term("downloadingFileNum", t), h = U`<cx-icon style=${sr({
139258
139259
  color: uy[en.Downloading]
139259
139260
  })} name="downloading"></cx-icon>`), U`${h}${p}`;
139260
139261
  };
@@ -143733,7 +143734,7 @@ let Wn = class extends Cn {
143733
143734
  disabled: this._unsupportedSsmlTags.includes(
143734
143735
  Qb.options.ssmlTagName
143735
143736
  ),
143736
- icon: U`<cx-icon slot="prefix" name="graphic_eq" style=${ir({
143737
+ icon: U`<cx-icon slot="prefix" name="graphic_eq" style=${sr({
143737
143738
  color: Io[fn.Emphasis]
143738
143739
  })}></cx-icon>`,
143739
143740
  inputType: "text",
@@ -143759,7 +143760,7 @@ let Wn = class extends Cn {
143759
143760
  disabled: this._unsupportedSsmlTags.includes(
143760
143761
  Bg.options.ssmlTagName
143761
143762
  ),
143762
- icon: U`<cx-icon slot="prefix" name="signal_cellular_alt" style=${ir({
143763
+ icon: U`<cx-icon slot="prefix" name="signal_cellular_alt" style=${sr({
143763
143764
  color: Io[fn.Pitch]
143764
143765
  })}></cx-icon>`,
143765
143766
  inputType: "number",
@@ -143788,7 +143789,7 @@ let Wn = class extends Cn {
143788
143789
  disabled: this._unsupportedSsmlTags.includes(
143789
143790
  Bg.options.ssmlTagName
143790
143791
  ),
143791
- icon: U`<cx-icon slot="prefix" name="volume_down" style=${ir({
143792
+ icon: U`<cx-icon slot="prefix" name="volume_down" style=${sr({
143792
143793
  color: Io[fn.Volume]
143793
143794
  })}></cx-icon>`,
143794
143795
  inputType: "number",
@@ -143814,7 +143815,7 @@ let Wn = class extends Cn {
143814
143815
  {
143815
143816
  defaultValue: Yr[fn.InterpretAs],
143816
143817
  disabled: this._unsupportedSsmlTags.includes(wh.options.ssmlTagName),
143817
- icon: U`<cx-icon name="info" style=${ir({
143818
+ icon: U`<cx-icon name="info" style=${sr({
143818
143819
  color: Io[fn.InterpretAs]
143819
143820
  })} slot="prefix"></cx-icon>`,
143820
143821
  inputType: "text",
@@ -143851,7 +143852,7 @@ let Wn = class extends Cn {
143851
143852
  });
143852
143853
  }
143853
143854
  renderBreakControls() {
143854
- return U`<cx-tooltip content=${this.localize.term("insertBreak")}><cx-icon-button name="more_time" outline="" size="medium" class="break-button" label=${this.localize.term("insertBreak")} style=${ir({
143855
+ return U`<cx-tooltip content=${this.localize.term("insertBreak")}><cx-icon-button name="more_time" outline="" size="medium" class="break-button" label=${this.localize.term("insertBreak")} style=${sr({
143855
143856
  color: Io[fn.PauseTime]
143856
143857
  })} @click=${this.handleInsertBreak} ?disabled=${!this.editable || this._isTextSupportedOnly || this._unsupportedSsmlTags.includes(k_.options.ssmlTagName)}></cx-icon-button></cx-tooltip>`;
143857
143858
  }
@@ -143868,7 +143869,7 @@ let Wn = class extends Cn {
143868
143869
  {
143869
143870
  defaultValue: Yr[fn.DateFormat],
143870
143871
  hidden: r !== ml.Date,
143871
- icon: U`<span style=${ir({
143872
+ icon: U`<span style=${sr({
143872
143873
  color: Io[fn.InterpretAs]
143873
143874
  })}><cx-icon name="calendar_month"></cx-icon></span>`,
143874
143875
  inputType: "text",
@@ -143887,7 +143888,7 @@ let Wn = class extends Cn {
143887
143888
  {
143888
143889
  defaultValue: Yr[fn.TimeFormat],
143889
143890
  hidden: r !== ml.Time,
143890
- icon: U`<span style=${ir({
143891
+ icon: U`<span style=${sr({
143891
143892
  color: Io[fn.InterpretAs]
143892
143893
  })}><cx-icon name="schedule"></cx-icon></span>`,
143893
143894
  inputType: "text",
@@ -143906,7 +143907,7 @@ let Wn = class extends Cn {
143906
143907
  {
143907
143908
  defaultValue: Yr[fn.AreaCode],
143908
143909
  hidden: r !== ml.Telephone,
143909
- icon: U`<span style=${ir({
143910
+ icon: U`<span style=${sr({
143910
143911
  color: Io[fn.InterpretAs]
143911
143912
  })}><cx-icon name="call"></cx-icon></span>`,
143912
143913
  inputType: "number",
@@ -143925,7 +143926,7 @@ let Wn = class extends Cn {
143925
143926
  {
143926
143927
  defaultValue: Yr[fn.CharactersFormat],
143927
143928
  hidden: r !== ml.Characters,
143928
- icon: U`<span style=${ir({
143929
+ icon: U`<span style=${sr({
143929
143930
  color: Io[fn.InterpretAs]
143930
143931
  })}><cx-icon name="font_download"></cx-icon></span>`,
143931
143932
  inputType: "text",
@@ -143944,7 +143945,7 @@ let Wn = class extends Cn {
143944
143945
  {
143945
143946
  defaultValue: Yr[fn.CardinalFormat],
143946
143947
  hidden: r !== ml.Cardinal,
143947
- icon: U`<span style=${ir({
143948
+ icon: U`<span style=${sr({
143948
143949
  color: Io[fn.InterpretAs]
143949
143950
  })}><cx-icon name="lens"></cx-icon></span>`,
143950
143951
  inputType: "text",
@@ -143963,7 +143964,7 @@ let Wn = class extends Cn {
143963
143964
  {
143964
143965
  defaultValue: Yr[fn.CardinalDetail],
143965
143966
  hidden: r !== ml.Cardinal,
143966
- icon: U`<span style=${ir({
143967
+ icon: U`<span style=${sr({
143967
143968
  color: Io[fn.InterpretAs]
143968
143969
  })}><cx-icon name="horizontal_rule"></cx-icon></span>`,
143969
143970
  inputType: "text",
@@ -144048,7 +144049,7 @@ let Wn = class extends Cn {
144048
144049
  );
144049
144050
  }
144050
144051
  render() {
144051
- return U`<div class="container" @click=${this.handleContainerClick}><cx-grid columns="12" spacing="12px" class="h-full" use-container=""><cx-grid-item sm="12" md="9"><div class="editor-container"><div class="header"><cx-input class="file-input" accept=${this.acceptedFileTypes.join(",")} type="file" id="textFile" data-testid="fileInput" button-only="" size="small" label=${this.localize.term("importTextFile")} ?disabled=${!this.editable} @cx-change=${this.loadContentFromFile}><cx-button variant="default" slot="file-button" size="medium" ?disabled=${!this.editable} @click=${this.openImportDialog}>${this.localize.term("importTextFile")}</cx-button></cx-input><cx-divider vertical=""></cx-divider><div class="controls-container">${this.renderControls()}${this.renderBreakControls()}</div></div><div style=${ir({
144052
+ return U`<div class="container" @click=${this.handleContainerClick}><cx-grid columns="12" spacing="12px" class="h-full" use-container=""><cx-grid-item sm="12" md="9"><div class="editor-container"><div class="header"><cx-input class="file-input" accept=${this.acceptedFileTypes.join(",")} type="file" id="textFile" data-testid="fileInput" button-only="" size="small" label=${this.localize.term("importTextFile")} ?disabled=${!this.editable} @cx-change=${this.loadContentFromFile}><cx-button variant="default" slot="file-button" size="medium" ?disabled=${!this.editable} @click=${this.openImportDialog}>${this.localize.term("importTextFile")}</cx-button></cx-input><cx-divider vertical=""></cx-divider><div class="controls-container">${this.renderControls()}${this.renderBreakControls()}</div></div><div style=${sr({
144052
144053
  height: this.height,
144053
144054
  maxHeight: this.maxHeight,
144054
144055
  maxWidth: this.maxWidth,
@@ -144400,7 +144401,7 @@ let od = class extends Cn {
144400
144401
  n.target === this.dialog && (await this.getChapters(), await this.updateComplete, this.table.initTable());
144401
144402
  }
144402
144403
  render() {
144403
- return U`<cx-dialog class="dialog" label=${this.label} strategy="overlay" @cx-after-show=${this.handleAfterShow} style=${ir({
144404
+ return U`<cx-dialog class="dialog" label=${this.label} strategy="overlay" @cx-after-show=${this.handleAfterShow} style=${sr({
144404
144405
  "--cx-z-index-dialog": (this.cortexPopupController.currentZIndex + 1).toString()
144405
144406
  })}><cx-space direction="vertical" gap="medium" align-items="start"><cx-table class="table" .columns=${this.columns} .data=${this.tableData} .hoverMenu=${this.hoverMenu} layout="fitColumns" edit-trigger-event="click" placeholder=${this.placeholder} row-height="34" no-selectable @cx-table-row-action-click=${this.handleRowActions}></cx-table><cx-button data-testid="add-chapter-button" @click=${this.handleAddChapter}>${this.localize.term("addChapter")}</cx-button></cx-space><cx-divider></cx-divider><cx-button data-testid="cancel-button" slot="footer" @click=${this.handleCancel}>${this.localize.term("cancel")}</cx-button><cx-button data-testid="save-button" slot="footer" variant="primary" @click=${this.handleSave} ?loading=${this.isSaving}>${this.localize.term("save")}</cx-button></cx-dialog>`;
144406
144407
  }
@@ -144981,7 +144982,7 @@ let Ka = class extends Cn {
144981
144982
  e,
144982
144983
  () => at(
144983
144984
  r && i,
144984
- () => U`<div class="video-editor-track__frames__item__canvas" style=${ir({
144985
+ () => U`<div class="video-editor-track__frames__item__canvas" style=${sr({
144985
144986
  backgroundImage: `url(${e})`,
144986
144987
  backgroundPosition: `${o}px ${a}px`,
144987
144988
  height: `${r}px`,
@@ -145006,12 +145007,12 @@ let Ka = class extends Cn {
145006
145007
  })} @click=${this.handleClick}><div class=${mn({
145007
145008
  "video-editor-track": !0,
145008
145009
  "video-editor-track--selected": this.selected
145009
- })} style=${ir({
145010
+ })} style=${sr({
145010
145011
  width: `${this.width}px`
145011
145012
  })}><div class="video-editor-track__name"><cx-line-clamp lines="1" disabled-hover-bridge><cx-typography variant="body2">${this.data.label}</cx-typography></cx-line-clamp>${at(
145012
145013
  this.isError,
145013
145014
  () => U`<cx-tooltip content=${this.localize.term("noDataAvailable")}><cx-icon name="error_outline" class="video-editor-track__name__error"></cx-icon></cx-tooltip>`
145014
- )}</div><div class="video-editor-track__frames" style=${ir({
145015
+ )}</div><div class="video-editor-track__frames" style=${sr({
145015
145016
  "--item-min-width": `${Rf}px`
145016
145017
  })}>${at(
145017
145018
  !this.isError,