@orangelogic/design-system 2.69.0 → 2.70.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 (220) hide show
  1. package/library/chunks/AxisLabelRadial.BTpA5dYy.js +11 -0
  2. package/library/chunks/BaseColumnSeries.hIO71GLG.js +304 -0
  3. package/library/chunks/CandlestickSeries.w9C0GR9v.js +362 -0
  4. package/library/chunks/Circle.tOnnO-F-.js +17 -0
  5. package/library/chunks/ColumnSeries.Ckz75x1M.js +54 -0
  6. package/library/chunks/EditableAxisLabel.CCMTJT7K.js +445 -0
  7. package/library/chunks/EditableLabel.DPmicdjK.js +119 -0
  8. package/library/chunks/Gradient.BrDBLm8v.js +40 -0
  9. package/library/chunks/LinearGradient.CxfXxvMw.js +37 -0
  10. package/library/chunks/MonotoneXTension.CJMEHHj3.js +139 -0
  11. package/library/chunks/Picture.BNASYM-P.js +49 -0
  12. package/library/chunks/Polygon.Dr-GV2hn.js +70 -0
  13. package/library/chunks/ProgressPie.4mPA6xqm.js +234 -0
  14. package/library/chunks/RadialLabel.HfsGiN4x.js +88 -0
  15. package/library/chunks/Scrollbar.Bgg-RhjP.js +118 -0
  16. package/library/chunks/Slice.Dm56LTKj.js +120 -0
  17. package/library/chunks/Slider.FKJwoPq2.js +19 -0
  18. package/library/chunks/SpriteResizer.-qJDgug8.js +446 -0
  19. package/library/chunks/Triangle.BECgi7mc.js +21 -0
  20. package/library/chunks/ZoomTools.cgwuIB0e.js +199 -0
  21. package/library/chunks/___vite-browser-external_commonjs-proxy.C2tf3HsQ.js +8 -0
  22. package/library/chunks/{_baseUniq.Df-fLIBx.js → _baseUniq.BUihBa8c.js} +56 -53
  23. package/library/chunks/{_commonjsHelpers.ByX85dGu.js → _commonjsHelpers.DQNKXVTB.js} +2 -2
  24. package/library/chunks/accessors.BHk36ecy.js +11 -0
  25. package/library/chunks/am-chart.oZVBmpnn.js +18435 -0
  26. package/library/chunks/{animation.DfUHRQry.js → animation.DU8t6mrk.js} +1 -1
  27. package/library/chunks/{button.SoX-7UYy.js → button.CAAJPQFu.js} +3 -3
  28. package/library/chunks/{capitalize.WSkCXkNE.js → capitalize.CNStXZBq.js} +1 -1
  29. package/library/chunks/cardinal.BCA_LB0u.js +64 -0
  30. package/library/chunks/{color-swatch-group.Dx1fbSJx.js → color-swatch-group.CKHyWM8K.js} +6 -6
  31. package/library/chunks/{color-swatch.B7XXHxx1.js → color-swatch.BkpPCXd6.js} +2 -2
  32. package/library/chunks/colorPicker.C4w_vDjh.js +527 -0
  33. package/library/chunks/{confirm-popover.327ATuQH.js → confirm-popover.ZD74yDWw.js} +3 -3
  34. package/library/chunks/{content-builder.Bxi6k2LA.js → content-builder.B4Tqoc6M.js} +40 -34
  35. package/library/chunks/{cropper.BraEEykE.js → cropper.CQB3_qqG.js} +6937 -6935
  36. package/library/chunks/{dialog.eN3RUbwx.js → dialog.qSV5AjOE.js} +2 -2
  37. package/library/chunks/{dom.CZrJ64Dm.js → dom.BQVKDNd8.js} +1 -1
  38. package/library/chunks/{dot-pagination.Bek4w4zz.js → dot-pagination.BN_0ljfc.js} +2 -2
  39. package/library/chunks/exporting.BdjsEGF8.js +1407 -0
  40. package/library/chunks/{file-on-demand.BiC4cymk.js → file-on-demand.CXE4zf0J.js} +448 -386
  41. package/library/chunks/flow.D0FqdfOy.js +1594 -0
  42. package/library/chunks/{folder-select.DVEFgexx.js → folder-select.CPALQK22.js} +4 -4
  43. package/library/chunks/{form.CO12-VK0.js → form.DgwYWi0O.js} +1 -1
  44. package/library/chunks/gantt.DfUM7Gvb.js +2459 -0
  45. package/library/chunks/{header.Da5yvwdy.js → header.DXZ_5gLY.js} +2 -2
  46. package/library/chunks/hierarchy.5kfBCoGt.js +3561 -0
  47. package/library/chunks/{hub-connection.CfARlehM.js → hub-connection.Ot2odiCz.js} +1 -1
  48. package/library/chunks/{i18n.BMRLOAZR.js → i18n.C0iakJkV.js} +19 -11
  49. package/library/chunks/{iframe.BJizUE1A.js → iframe.BlzVfeBc.js} +2 -2
  50. package/library/chunks/{image.bndP5q2c.js → image.B3WjaCXP.js} +2 -2
  51. package/library/chunks/index.BkoLctE9.js +533 -0
  52. package/library/chunks/index.CZJTjkLp.js +142 -0
  53. package/library/chunks/{index.Bhnf0N8Q.js → index.CmVKj_wl.js} +7 -7
  54. package/library/chunks/index.DU0XUO4k.js +176 -0
  55. package/library/chunks/index.DcjJFMlq.js +1520 -0
  56. package/library/chunks/isObjectLike.z36Fu426.js +34 -0
  57. package/library/chunks/{isSymbol.huJ_Cvxt.js → isSymbol.L0C2ND_U.js} +1 -1
  58. package/library/chunks/json.BjaT7cyo.js +119 -0
  59. package/library/chunks/{list-editor.Du1h2Ms0.js → list-editor.CIAAFPco.js} +251 -222
  60. package/library/chunks/map.DbgNAGxD.js +3037 -0
  61. package/library/chunks/markerjs2.esm.B_9kjmye.js +1912 -0
  62. package/library/chunks/{option.Ce_wlnZj.js → option.ByVbmxUQ.js} +2 -2
  63. package/library/chunks/{pagination.DXu-mFAk.js → pagination.DPQn2fKX.js} +4 -4
  64. package/library/chunks/pdfmake.Bs7cMDH0.js +41224 -0
  65. package/library/chunks/percent.DO4FjAdu.js +902 -0
  66. package/library/chunks/{purify.es.BGaRrCfO.js → purify.es.BIuh5IAZ.js} +115 -115
  67. package/library/chunks/radar.Dd5fJVMg.js +789 -0
  68. package/library/chunks/{responsive.DgQTIrna.js → responsive.DL-wBD4P.js} +1 -1
  69. package/library/chunks/sliceGrouper.DA3aeuJ-.js +93 -0
  70. package/library/chunks/stock.BfI5MUyK.js +12684 -0
  71. package/library/chunks/{string.Cp_XNbnV.js → string.B_rEG27K.js} +1 -1
  72. package/library/chunks/{tab-group.B2pW__9H.js → tab-group.1h51o_Ly.js} +4 -4
  73. package/library/chunks/{table.5eWm9FfN.js → table.wVHv1Xze.js} +348 -327
  74. package/library/chunks/timeline.BxMLjB5J.js +837 -0
  75. package/library/chunks/timer.B39XOBYL.js +123 -0
  76. package/library/chunks/{toString.CRT5zqEU.js → toString.CL_lYXbK.js} +3 -3
  77. package/library/chunks/transform.BuqENXeT.js +50 -0
  78. package/library/chunks/{tree.Zls5YZ8z.js → tree.Bx0IGsWm.js} +2 -2
  79. package/library/chunks/venn.CxFupTb9.js +966 -0
  80. package/library/chunks/vfs_fonts.VJpdcrR6.js +9 -0
  81. package/library/chunks/watch.BCJD77bD.js +547 -0
  82. package/library/chunks/wc.ThQubbN2.js +255 -0
  83. package/library/chunks/xlsx.v-qkA-dg.js +25118 -0
  84. package/library/chunks/xy.q6e68du3.js +333 -0
  85. package/library/components/alert.js +2 -2
  86. package/library/components/am-chart.d.ts +3 -0
  87. package/library/components/am-chart.js +11 -0
  88. package/library/components/animated-image.js +1 -1
  89. package/library/components/animation.js +2 -2
  90. package/library/components/array-line-clamp.js +1 -1
  91. package/library/components/asset-link-format.js +7 -7
  92. package/library/components/atoms.js +166 -162
  93. package/library/components/avatar.js +1 -1
  94. package/library/components/border-input-group.js +1 -1
  95. package/library/components/breadcrumb-item.js +1 -1
  96. package/library/components/breadcrumb.js +1 -1
  97. package/library/components/button.js +4 -4
  98. package/library/components/checkbox.js +2 -2
  99. package/library/components/color-picker.js +4 -4
  100. package/library/components/color-swatch-group.js +7 -7
  101. package/library/components/color-swatch.js +3 -3
  102. package/library/components/confirm-popover.js +4 -4
  103. package/library/components/copy-button.js +2 -2
  104. package/library/components/corner-position-input-group.js +2 -2
  105. package/library/components/cropper.js +1 -1
  106. package/library/components/details.js +3 -2
  107. package/library/components/dialog.js +3 -3
  108. package/library/components/divider.js +1 -1
  109. package/library/components/dot-pagination.js +3 -3
  110. package/library/components/drawer.js +3 -3
  111. package/library/components/dropdown.js +2 -2
  112. package/library/components/dynamic-select.js +32 -30
  113. package/library/components/e-chart.d.ts +3 -0
  114. package/library/components/e-chart.js +47908 -0
  115. package/library/components/element-clamp.js +3 -3
  116. package/library/components/file-on-demand.js +10 -10
  117. package/library/components/folder-select.js +4 -4
  118. package/library/components/format-bytes.js +1 -1
  119. package/library/components/format-date.js +1 -1
  120. package/library/components/format-number.js +1 -1
  121. package/library/components/format-time.js +2 -2
  122. package/library/components/grid-item.js +1 -1
  123. package/library/components/header.js +3 -3
  124. package/library/components/hub-connection.js +2 -2
  125. package/library/components/icon-button.js +1 -1
  126. package/library/components/icon.js +1 -1
  127. package/library/components/iframe.js +3 -3
  128. package/library/components/image-comparer.js +2 -2
  129. package/library/components/image.js +3 -3
  130. package/library/components/include.js +1 -1
  131. package/library/components/input.js +3 -3
  132. package/library/components/line-clamp.js +1 -1
  133. package/library/components/list-editor.js +11 -8
  134. package/library/components/markdown.js +2 -2
  135. package/library/components/masonry.js +2 -2
  136. package/library/components/menu-item.js +2 -2
  137. package/library/components/menu.js +1 -1
  138. package/library/components/molecules.js +5 -5
  139. package/library/components/mutation-observer.js +1 -1
  140. package/library/components/option.js +3 -3
  141. package/library/components/organisms.js +2 -2
  142. package/library/components/pagination.js +5 -5
  143. package/library/components/popup.js +1 -1
  144. package/library/components/position-picker.js +1 -1
  145. package/library/components/progress-bar.js +1 -1
  146. package/library/components/progress-ring.js +1 -1
  147. package/library/components/qr-code.js +1 -1
  148. package/library/components/radio-button.js +1 -1
  149. package/library/components/radio-card.js +1 -1
  150. package/library/components/radio-group.js +2 -2
  151. package/library/components/radio.js +1 -1
  152. package/library/components/range.js +3 -3
  153. package/library/components/rating.js +2 -2
  154. package/library/components/relative-time.js +1 -1
  155. package/library/components/resize-observer.js +1 -1
  156. package/library/components/select.js +4 -4
  157. package/library/components/share-option-list.js +3 -3
  158. package/library/components/sidebar.js +1 -1
  159. package/library/components/size-input-group.js +2 -2
  160. package/library/components/spinner.js +1 -1
  161. package/library/components/split-panel.js +2 -2
  162. package/library/components/stepper.js +1 -1
  163. package/library/components/switch.js +2 -2
  164. package/library/components/tab-group.js +5 -5
  165. package/library/components/tab-panel.js +1 -1
  166. package/library/components/tab.js +2 -2
  167. package/library/components/table.js +5 -5
  168. package/library/components/tag.js +1 -1
  169. package/library/components/textarea.js +2 -2
  170. package/library/components/timecode.js +2 -2
  171. package/library/components/tooltip.js +2 -2
  172. package/library/components/tree-item.js +3 -3
  173. package/library/components/tree.js +3 -3
  174. package/library/components/typeface.js +2 -2
  175. package/library/components/types.js +27684 -27970
  176. package/library/components/video.js +1107 -1110
  177. package/library/package.json +1 -1
  178. package/library/packages/atoms/src/components/am-chart/am-chart.d.ts +45 -0
  179. package/library/packages/atoms/src/components/am-chart/am-chart.styles.d.ts +2 -0
  180. package/library/packages/atoms/src/components/am-chart/am-chart.utils.d.ts +23 -0
  181. package/library/packages/atoms/src/components/e-chart/e-chart-controller.d.ts +30 -0
  182. package/library/packages/atoms/src/components/e-chart/e-chart.d.ts +38 -0
  183. package/library/packages/atoms/src/components/e-chart/e-chart.styles.d.ts +2 -0
  184. package/library/packages/atoms/src/components/table/table.d.ts +21 -0
  185. package/library/packages/atoms/src/components/table/tabulator-tables/core/Tabulator.d.ts +1 -0
  186. package/library/packages/atoms/src/components/table/tabulator-tables/core/tools/DataLoader.d.ts +3 -1
  187. package/library/packages/atoms/src/index.d.ts +2 -0
  188. package/library/packages/events/src/cx-chart-plan-change.d.ts +10 -0
  189. package/library/packages/events/src/cx-dashboard-filter-change.d.ts +6 -0
  190. package/library/packages/events/src/cx-dashboard-table-load-more.d.ts +9 -0
  191. package/library/packages/events/src/cx-e-chart-drill-down.d.ts +16 -0
  192. package/library/packages/events/src/events.d.ts +4 -0
  193. package/library/packages/molecules/src/index.d.ts +1 -0
  194. package/library/packages/molecules/src/list-editor/list-editor.d.ts +7 -0
  195. package/library/packages/molecules/src/stat-card/stat-card.d.ts +81 -0
  196. package/library/packages/molecules/src/stat-card/stat-card.styles.d.ts +2 -0
  197. package/library/packages/molecules/src/storybook/storybook.d.ts +1 -0
  198. package/library/packages/organisms/src/asset-link-format/asset-link-format.d.ts +1 -1
  199. package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.d.ts +88 -0
  200. package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-builder.styles.d.ts +2 -0
  201. package/library/packages/organisms/src/content-builder/components/chart-plan-builder/chart-plan-schema.d.ts +100 -0
  202. package/library/packages/organisms/src/content-builder/styleController.d.ts +2 -2
  203. package/library/packages/organisms/src/dashboard-filter/dashboard-filter.d.ts +83 -0
  204. package/library/packages/organisms/src/dashboard-filter/dashboard-filter.styles.d.ts +2 -0
  205. package/library/packages/organisms/src/dashboard-table/dashboard-table.d.ts +45 -0
  206. package/library/packages/organisms/src/dashboard-table/dashboard-table.styles.d.ts +2 -0
  207. package/library/packages/organisms/src/index.d.ts +3 -0
  208. package/library/packages/services/src/api/endpoints.d.ts +3 -0
  209. package/library/packages/types/src/am-chart.d.ts +22 -0
  210. package/library/packages/types/src/content-builder.d.ts +1 -0
  211. package/library/packages/types/src/stat-card.d.ts +19 -0
  212. package/library/packages/types/src/table.d.ts +4 -0
  213. package/library/packages/utils/src/custom-element/i18n.d.ts +8 -0
  214. package/library/react-web-component.d.ts +280 -4
  215. package/library/utils.js +8 -8
  216. package/package.json +1 -1
  217. package/library/chunks/_baseRest.ClTMQtN1.js +0 -67
  218. package/library/chunks/identity.ByMq8VxU.js +0 -6
  219. package/library/chunks/isObjectLike.D3cpZO39.js +0 -81
  220. package/library/chunks/watch.q1sEjPWL.js +0 -501
@@ -1,96 +1,95 @@
1
1
  import J from "../components/icon.js";
2
2
  import Q from "../components/line-clamp.js";
3
- import { C as ft, s as vt, a as yt, b as lt } from "./tree.Zls5YZ8z.js";
3
+ import { C as yt, s as bt, a as $t, b as lt } from "./tree.Bx0IGsWm.js";
4
4
  import { n as d, C as H } from "./lib-cortex-element.CVMmyPMC.js";
5
5
  import { c as tt } from "./component.styles.DMSLciL5.js";
6
6
  import { c as W } from "./custom-element.L4WJXn1j.js";
7
- import { L as q } from "./i18n.BMRLOAZR.js";
8
- import { k as Dt, a as bt, i as $t, w as P, S as Tt, b as Pt, c as zt, d as Et, e as Lt, f as Ft } from "./watch.q1sEjPWL.js";
9
- import { p as R } from "./string.Cp_XNbnV.js";
10
- import { x as o, i as at, E as Ut } from "./lit-element.jLBm65_O.js";
7
+ import { L as q } from "./i18n.C0iakJkV.js";
8
+ import { k as zt, h as St, i as wt, w as P, j as Et, l as Lt, f as Ft, g as Ut, d as Rt, m as kt, n as Ot } from "./watch.BCJD77bD.js";
9
+ import { p as R } from "./string.B_rEG27K.js";
10
+ import { x as n, i as at, E as Nt } from "./lit-element.jLBm65_O.js";
11
11
  import { r as u } from "./state.CSDxrqLd.js";
12
12
  import { e as z } from "./query.BBf1UFkC.js";
13
13
  import { e as C } from "./class-map.BiVq-cVR.js";
14
14
  import { c as U } from "./repeat.DbF2p5ae.js";
15
15
  import { n as p } from "./when.Dr1es41R.js";
16
- import { a as Rt, c as kt, b as dt } from "./_baseUniq.Df-fLIBx.js";
17
- import Ot from "../components/avatar.js";
18
- import { C as Nt } from "./button.SoX-7UYy.js";
19
- import { C as jt } from "./dialog.eN3RUbwx.js";
20
- import Bt from "../components/divider.js";
16
+ import { a as jt, i as It, c as Bt, b as dt } from "./_baseUniq.BUihBa8c.js";
17
+ import Mt from "../components/avatar.js";
18
+ import { C as Vt } from "./button.CAAJPQFu.js";
19
+ import { C as Ht } from "./dialog.qSV5AjOE.js";
20
+ import Wt from "../components/divider.js";
21
21
  import ot from "../components/format-bytes.js";
22
- import It from "../components/icon-button.js";
23
- import Mt from "../components/input.js";
24
- import { C as Vt } from "./option.Ce_wlnZj.js";
25
- import St from "../components/relative-time.js";
26
- import Ht from "../components/select.js";
27
- import Wt from "../components/space.js";
28
- import qt from "../components/tab.js";
29
- import { C as Gt } from "./tab-group.B2pW__9H.js";
30
- import Yt from "../components/tab-panel.js";
31
- import wt from "../components/tooltip.js";
22
+ import Ct from "../components/icon-button.js";
23
+ import qt from "../components/input.js";
24
+ import { C as Gt } from "./option.ByVbmxUQ.js";
25
+ import At from "../components/relative-time.js";
26
+ import Yt from "../components/select.js";
27
+ import Kt from "../components/space.js";
28
+ import Xt from "../components/tab.js";
29
+ import { C as Zt } from "./tab-group.1h51o_Ly.js";
30
+ import Jt from "../components/tab-panel.js";
31
+ import Dt from "../components/tooltip.js";
32
32
  import { C as nt } from "./typography.oDzoLbZS.js";
33
- import { C as Kt } from "./confirm-popover.327ATuQH.js";
34
- import { d as Xt } from "./debounce.DaHuiSGU.js";
33
+ import { C as Qt } from "./confirm-popover.ZD74yDWw.js";
34
+ import { d as te } from "./debounce.DaHuiSGU.js";
35
35
  import { a as et } from "./number.CjNxU7Xs.js";
36
36
  import { i as K, a as ht } from "./url.LjsR2sB5.js";
37
- import { b as Zt } from "./_baseRest.ClTMQtN1.js";
38
- import { a as Jt } from "./toString.CRT5zqEU.js";
39
- import { S as pt, i as Qt } from "./isObjectLike.D3cpZO39.js";
40
- import te from "../components/progress-bar.js";
41
- import ee from "../components/spinner.js";
42
- import { o as se } from "./style-map.llVFPd__.js";
43
- import { r as ie } from "./choose.BTbF6BAn.js";
44
- function ae(t, e, i, a) {
45
- for (var s = -1, n = t == null ? 0 : t.length; ++s < n; ) {
46
- var l = t[s];
47
- e(a, l, i(l), t);
37
+ import { a as ee } from "./toString.CL_lYXbK.js";
38
+ import { S as pt, i as se } from "./isObjectLike.z36Fu426.js";
39
+ import ie from "../components/progress-bar.js";
40
+ import ae from "../components/spinner.js";
41
+ import { o as oe } from "./style-map.llVFPd__.js";
42
+ import { r as ne } from "./choose.BTbF6BAn.js";
43
+ function re(t, e, i, a) {
44
+ for (var s = -1, o = t == null ? 0 : t.length; ++s < o; ) {
45
+ var c = t[s];
46
+ e(a, c, i(c), t);
48
47
  }
49
48
  return a;
50
49
  }
51
- function oe(t) {
50
+ function ce(t) {
52
51
  return function(e, i, a) {
53
- for (var s = -1, n = Object(e), l = a(e), h = l.length; h--; ) {
54
- var _ = l[++s];
55
- if (i(n[_], _, n) === !1)
52
+ for (var s = -1, o = Object(e), c = a(e), h = c.length; h--; ) {
53
+ var _ = c[++s];
54
+ if (i(o[_], _, o) === !1)
56
55
  break;
57
56
  }
58
57
  return e;
59
58
  };
60
59
  }
61
- var ne = oe();
62
- function re(t, e) {
63
- return t && ne(t, e, Dt);
60
+ var le = ce();
61
+ function de(t, e) {
62
+ return t && le(t, e, zt);
64
63
  }
65
- function ce(t, e) {
64
+ function he(t, e) {
66
65
  return function(i, a) {
67
66
  if (i == null)
68
67
  return i;
69
- if (!bt(i))
68
+ if (!St(i))
70
69
  return t(i, a);
71
- for (var s = i.length, n = -1, l = Object(i); ++n < s && a(l[n], n, l) !== !1; )
70
+ for (var s = i.length, o = -1, c = Object(i); ++o < s && a(c[o], o, c) !== !1; )
72
71
  ;
73
72
  return i;
74
73
  };
75
74
  }
76
- var le = ce(re);
77
- function de(t, e, i, a) {
78
- return le(t, function(s, n, l) {
79
- e(a, s, i(s), l);
75
+ var pe = he(de);
76
+ function ue(t, e, i, a) {
77
+ return pe(t, function(s, o, c) {
78
+ e(a, s, i(s), c);
80
79
  }), a;
81
80
  }
82
- function he(t, e) {
81
+ function ge(t, e) {
83
82
  return function(i, a) {
84
- var s = $t(i) ? ae : de, n = e ? e() : {};
85
- return s(i, t, Rt(a), n);
83
+ var s = wt(i) ? re : ue, o = e ? e() : {};
84
+ return s(i, t, jt(a), o);
86
85
  };
87
86
  }
88
- var pe = he(function(t, e, i) {
87
+ var xe = ge(function(t, e, i) {
89
88
  t[i ? 0 : 1].push(e);
90
89
  }, function() {
91
90
  return [[], []];
92
91
  });
93
- const ue = {
92
+ const me = {
94
93
  error: "Upload error",
95
94
  loaded: "Up-to-date",
96
95
  loading: "Syncing"
@@ -99,7 +98,7 @@ const ue = {
99
98
  PINNED: "pinned",
100
99
  RECENT: "recent",
101
100
  UPLOADS: "uploads"
102
- }, X = 20, ge = {
101
+ }, X = 20, _e = {
103
102
  GET_CONTENT: "/webapi/extensibility/integrations/contentBrowserSDK/getcontent_4bw_v1"
104
103
  }, A = {
105
104
  ASSET_PATH: "Document.AssetPath",
@@ -109,7 +108,7 @@ const ue = {
109
108
  HAS_BROWSER_CHILDREN: "Document.HasBrowserChildren",
110
109
  PARENT_FOLDER_IDENTIFIER: "Document.ParentRecordID",
111
110
  TITLE_WITH_FALLBACK: "CoreField.TitleWithFallback"
112
- }, Z = "GB", O = 6e4, xe = ["album", "story", "project", "merchandise"], ut = (t) => {
111
+ }, Z = "GB", O = 6e4, fe = ["album", "story", "project", "merchandise"], ut = (t) => {
113
112
  const e = /* @__PURE__ */ new Date(), i = new Date(
114
113
  e.getFullYear(),
115
114
  e.getMonth(),
@@ -119,28 +118,28 @@ const ue = {
119
118
  e.getMonth(),
120
119
  e.getDate() + 1
121
120
  ).getTime();
122
- return pe(
123
- t.toSorted((s, n) => n.uploadTimestamp - s.uploadTimestamp),
121
+ return xe(
122
+ t.toSorted((s, o) => o.uploadTimestamp - s.uploadTimestamp),
124
123
  (s) => s.uploadTimestamp >= i && s.uploadTimestamp < a
125
124
  );
126
- }, me = ({
125
+ }, ve = ({
127
126
  excludesRecordIDs: t,
128
127
  searchText: e
129
128
  }) => {
130
129
  let i = "";
131
130
  e?.trim() && (i = `Story_Title:${e}`);
132
131
  let a = "";
133
- t?.length && (a = t.map((n) => `RecordID:NOT ${n}`).join(" AND "));
132
+ t?.length && (a = t.map((o) => `RecordID:NOT ${o}`).join(" AND "));
134
133
  let s = i ? ` AND (${[i].filter(Boolean).join(" OR ")})` : "";
135
134
  return a && (s = `${s} AND (${a})`), `(MediaType:Story OR MediaType:Album)${s}`;
136
- }, _e = 10, Ct = async ({
135
+ }, ye = 10, Tt = async ({
137
136
  excludes: t = [],
138
137
  folderId: e,
139
138
  folderPath: i = [],
140
139
  folderPathsSet: a,
141
- limit: s = _e,
142
- searchText: n,
143
- seeThru: l,
140
+ limit: s = ye,
141
+ searchText: o,
142
+ seeThru: c,
144
143
  siteUrl: h,
145
144
  start: _ = 0,
146
145
  token: m
@@ -149,13 +148,13 @@ const ue = {
149
148
  return { data: [], totalCount: 0 };
150
149
  let g = h;
151
150
  g.endsWith("/") && (g = g.slice(0, -1));
152
- const $ = ge.GET_CONTENT, f = [
151
+ const $ = _e.GET_CONTENT, f = [
153
152
  ["Token", m],
154
153
  [
155
154
  "extraFilters",
156
- me({
155
+ ve({
157
156
  excludesRecordIDs: t,
158
- searchText: n
157
+ searchText: o
159
158
  })
160
159
  ],
161
160
  ["fields", A.ASSET_PATH],
@@ -166,12 +165,12 @@ const ue = {
166
165
  ["fields", A.PARENT_FOLDER_IDENTIFIER],
167
166
  ["fields", A.CHILD_COUNT],
168
167
  ["objectRecordID", e],
169
- ["seeThru", n?.trim() || l ? "true" : "false"],
168
+ ["seeThru", o?.trim() || c ? "true" : "false"],
170
169
  ["limit", s.toString()],
171
170
  ["start", _.toString()]
172
171
  ], F = new URL(`${g}${$}`);
173
- f.forEach(([w, E]) => {
174
- F.searchParams.append(w, E);
172
+ f.forEach(([I, E]) => {
173
+ F.searchParams.append(I, E);
175
174
  });
176
175
  const k = await fetch(F.toString(), {
177
176
  headers: {
@@ -180,49 +179,49 @@ const ue = {
180
179
  method: "GET"
181
180
  });
182
181
  if (!k.ok) {
183
- const w = new Error();
184
- throw w.message = "Failed to fetch", w;
182
+ const I = new Error();
183
+ throw I.message = "Failed to fetch", I;
185
184
  }
186
185
  const G = await k.json();
187
186
  let Y = /* @__PURE__ */ new Set();
188
- a && (Y = ye(a));
189
- const rt = G.contentItems?.map((w) => {
187
+ a && (Y = Se(a));
188
+ const rt = G.contentItems?.map((I) => {
190
189
  let E = M(
191
- w.fields,
190
+ I.fields,
192
191
  A.TITLE_WITH_FALLBACK
193
- ) ?? "", B = ve(
192
+ ) ?? "", B = $e(
194
193
  (M(
195
- w.fields,
194
+ I.fields,
196
195
  A.ASSET_PATH
197
196
  ) ?? "").replace(/^Root\//i, "")
198
197
  ) || E;
199
198
  if (a) {
200
199
  if (a.has(B)) {
201
- const ct = B.split("/"), At = ct.pop();
202
- B = `${ct.join("/")}/${w.recordID}-${At}`, E = `${w.recordID}-${E}`;
200
+ const ct = B.split("/"), Pt = ct.pop();
201
+ B = `${ct.join("/")}/${I.recordID}-${Pt}`, E = `${I.recordID}-${E}`;
203
202
  }
204
- n?.trim() && Y.has(E) && (E = B), a.add(B), Y.add(E);
203
+ o?.trim() && Y.has(E) && (E = B), a.add(B), Y.add(E);
205
204
  }
206
205
  return {
207
206
  childCount: Number(
208
207
  M(
209
- w.fields,
208
+ I.fields,
210
209
  A.CHILD_COUNT
211
210
  ) ?? 0
212
211
  ),
213
212
  children: [],
214
213
  docType: M(
215
- w.fields,
214
+ I.fields,
216
215
  A.DOC_TYPE
217
216
  ) ?? "",
218
217
  fullPath: B,
219
218
  hasChildren: M(
220
- w.fields,
219
+ I.fields,
221
220
  A.HAS_BROWSER_CHILDREN
222
221
  ) === "1",
223
- id: w.recordID,
222
+ id: I.recordID,
224
223
  parentFolderIdentifier: M(
225
- w.fields,
224
+ I.fields,
226
225
  A.PARENT_FOLDER_IDENTIFIER
227
226
  ) ?? "",
228
227
  parents: [],
@@ -238,10 +237,10 @@ function M(t, e) {
238
237
  );
239
238
  return a ? t[a] : void 0;
240
239
  }
241
- const it = "-", I = (t) => {
240
+ const it = "-", S = (t) => {
242
241
  const e = t.split(it), i = e.pop() ?? "", a = e.join(it);
243
242
  return { id: i, path: a };
244
- }, N = ({ id: t, path: e }) => [e, t].join(it), fe = (t) => {
243
+ }, N = ({ id: t, path: e }) => [e, t].join(it), be = (t) => {
245
244
  const e = t.split(".");
246
245
  return e.length > 1 ? e.pop() ?? "" : "";
247
246
  }, gt = (t) => {
@@ -251,31 +250,31 @@ const it = "-", I = (t) => {
251
250
  let i = e?.trim();
252
251
  const a = e ? e.split("/").length : 0;
253
252
  return (t ? t.length : 0) >= a && (i = t.join("/") ?? ""), i;
254
- }, ve = (t) => t.split("/").map((e) => e.trim()).join("/"), ye = (t) => {
253
+ }, $e = (t) => t.split("/").map((e) => e.trim()).join("/"), Se = (t) => {
255
254
  const e = /* @__PURE__ */ new Set();
256
255
  for (const i of t) {
257
256
  const a = i.split("/"), s = a[a.length - 1];
258
257
  s && e.add(s);
259
258
  }
260
259
  return e;
261
- }, be = (t, e) => {
260
+ }, we = (t, e) => {
262
261
  const i = t.split("/"), a = e.split("/");
263
262
  return i.slice(0, a.length + 1).join("/");
264
263
  };
265
264
  function mt(t) {
266
265
  return t.toSorted((e, i) => i.uploadTimestamp - e.uploadTimestamp);
267
266
  }
268
- var $e = Object.defineProperty, Ie = Object.getOwnPropertyDescriptor, D = (t, e, i, a) => {
269
- for (var s = a > 1 ? void 0 : a ? Ie(e, i) : e, n = t.length - 1, l; n >= 0; n--)
270
- (l = t[n]) && (s = (a ? l(e, i, s) : l(s)) || s);
271
- return a && s && $e(e, i, s), s;
267
+ var Ie = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, D = (t, e, i, a) => {
268
+ for (var s = a > 1 ? void 0 : a ? Ce(e, i) : e, o = t.length - 1, c; o >= 0; o--)
269
+ (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
270
+ return a && s && Ie(e, i, s), s;
272
271
  };
273
272
  let y = class extends H {
274
273
  constructor() {
275
274
  super(...arguments), this.localize = new q(this), this.role = "treeitem", this.siteUrl = "", this.token = "", this.searchText = "", this.folder = null, this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.folderPathsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.data = null, this.totalCount = 0, this.isLoading = !1, this.fetchFolders = async ({
276
275
  folderId: t,
277
276
  start: e = 0
278
- }) => await Ct({
277
+ }) => await Tt({
279
278
  folderId: t,
280
279
  folderPath: this.folder?.path ?? [],
281
280
  folderPathsSet: this.folderPathsSet,
@@ -301,8 +300,8 @@ let y = class extends H {
301
300
  });
302
301
  if (this.data = e, this.totalCount = i, await this.updateComplete, !this.treeItem.selected && !this.treeItem.indeterminate) {
303
302
  let a = !0, s = !0;
304
- for (const n of this.treeItem.getChildrenItems())
305
- n.selected ? (vt(n, !0, "multiple"), s = !1) : a = !1;
303
+ for (const o of this.treeItem.getChildrenItems())
304
+ o.selected ? (bt(o, !0, "multiple"), s = !1) : a = !1;
306
305
  this.treeItem.indeterminate = !a && !s;
307
306
  }
308
307
  };
@@ -336,18 +335,18 @@ let y = class extends H {
336
335
  if (await this.updateComplete, !this.treeItem)
337
336
  return;
338
337
  let t = !1;
339
- const e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), a = xt(this.folder?.path ?? [], this.folder?.fullPath ?? ""), s = [...this.currentRootIDsSet], n = (m, g) => {
338
+ const e = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set(), a = xt(this.folder?.path ?? [], this.folder?.fullPath ?? ""), s = [...this.currentRootIDsSet], o = (m, g) => {
340
339
  m.forEach(($) => {
341
- const f = I($);
340
+ const f = S($);
342
341
  if (!f.path.trim() || !f.id.trim())
343
342
  return !1;
344
343
  const F = R(f.path), k = R(a);
345
- a && F.startsWith(k) && F !== k && g.add(be(f.path, a));
344
+ a && F.startsWith(k) && F !== k && g.add(we(f.path, a));
346
345
  });
347
346
  };
348
- n(this.removedIDs, i), n(s, e);
349
- let l = !!s.some((m) => {
350
- const g = I(m);
347
+ o(this.removedIDs, i), o(s, e);
348
+ let c = !!s.some((m) => {
349
+ const g = S(m);
351
350
  if (!g.path.trim() || !g.id.trim())
352
351
  return !1;
353
352
  const $ = N({
@@ -365,8 +364,8 @@ let y = class extends H {
365
364
  })
366
365
  );
367
366
  const m = this.parentElement?.parentElement;
368
- m && m instanceof y && m.syncBoxes(), l = !1;
369
- } else if (!l)
367
+ m && m instanceof y && m.syncBoxes(), c = !1;
368
+ } else if (!c)
370
369
  if (h) {
371
370
  this.currentRootIDsSet.add(
372
371
  N({
@@ -375,13 +374,13 @@ let y = class extends H {
375
374
  })
376
375
  );
377
376
  const m = this.parentElement?.parentElement;
378
- m && m instanceof y && m.syncBoxes(), l = !0;
377
+ m && m instanceof y && m.syncBoxes(), c = !0;
379
378
  } else e.size > 0 && (t = !0);
380
- l ? (t = i.size > 0, this.treeItem.selected = !0) : (t = e.size > 0, this.treeItem.selected = !1, await this.treeItem.updateComplete), t ? (this.treeItem.selected = !1, await this.treeItem.updateComplete, this.treeItem.indeterminate = !0) : this.treeItem.indeterminate = !1;
379
+ c ? (t = i.size > 0, this.treeItem.selected = !0) : (t = e.size > 0, this.treeItem.selected = !1, await this.treeItem.updateComplete), t ? (this.treeItem.selected = !1, await this.treeItem.updateComplete, this.treeItem.indeterminate = !0) : this.treeItem.indeterminate = !1;
381
380
  }
382
381
  render() {
383
382
  const t = xt(this.folder?.path ?? [], this.folder?.fullPath ?? "");
384
- return o`
383
+ return n`
385
384
  <cx-tree-item
386
385
  aria-label=${this.folder?.title ?? ""}
387
386
  class=${C({
@@ -402,7 +401,7 @@ let y = class extends H {
402
401
  ${U(
403
402
  this.data ?? [],
404
403
  (e) => e.id,
405
- (e) => o`<cx-folder-item
404
+ (e) => n`<cx-folder-item
406
405
  slot="children"
407
406
  .folder=${e}
408
407
  .siteUrl=${this.siteUrl}
@@ -414,7 +413,7 @@ let y = class extends H {
414
413
  )}
415
414
  ${p(
416
415
  this.data && this.data.length < this.totalCount,
417
- () => o`
416
+ () => n`
418
417
  <div slot="children" class="load-more-button">
419
418
  <cx-button
420
419
  data-testid="load-more-button"
@@ -435,7 +434,7 @@ y.styles = [tt];
435
434
  y.dependencies = {
436
435
  "cx-icon": J,
437
436
  "cx-line-clamp": Q,
438
- "cx-tree-item": ft
437
+ "cx-tree-item": yt
439
438
  };
440
439
  D([
441
440
  z("cx-tree-item")
@@ -490,7 +489,7 @@ D([
490
489
  y = D([
491
490
  W("cx-folder-item")
492
491
  ], y);
493
- const Se = at`
492
+ const Ae = at`
494
493
  .folder-tree {
495
494
  overflow: auto;
496
495
  flex: 1;
@@ -545,15 +544,15 @@ const Se = at`
545
544
  line-height: var(--cx-line-height-small);
546
545
  }
547
546
  `;
548
- var we = Object.defineProperty, Ce = Object.getOwnPropertyDescriptor, S = (t, e, i, a) => {
549
- for (var s = a > 1 ? void 0 : a ? Ce(e, i) : e, n = t.length - 1, l; n >= 0; n--)
550
- (l = t[n]) && (s = (a ? l(e, i, s) : l(s)) || s);
551
- return a && s && we(e, i, s), s;
547
+ var De = Object.defineProperty, Te = Object.getOwnPropertyDescriptor, w = (t, e, i, a) => {
548
+ for (var s = a > 1 ? void 0 : a ? Te(e, i) : e, o = t.length - 1, c; o >= 0; o--)
549
+ (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
550
+ return a && s && De(e, i, s), s;
552
551
  };
553
552
  let b = class extends H {
554
553
  constructor() {
555
554
  super(...arguments), this.localize = new q(this), this.role = "tree", this.siteUrl = "", this.bearerToken = "", this.token = "", this.searchText = "", this.folders = [], this.rootIDs = [], this.totalCount = 0, this.loadMore = () => {
556
- }, this.isLoading = !1, this.folderPathsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.renderFolder = (t) => o`<cx-folder-item
555
+ }, this.isLoading = !1, this.folderPathsSet = /* @__PURE__ */ new Set(), this.removedIDs = [], this.currentRootIDsSet = /* @__PURE__ */ new Set(), this.renderFolder = (t) => n`<cx-folder-item
557
556
  .currentRootIDsSet=${this.currentRootIDsSet}
558
557
  .folder=${t}
559
558
  .folderPathsSet=${this.folderPathsSet}
@@ -592,27 +591,27 @@ let b = class extends H {
592
591
  if (e.selected) {
593
592
  if (!this.currentRootIDsSet.has(s)) {
594
593
  lt(e, "multiple"), this.currentRootIDsSet.add(s);
595
- for (const n of e.getChildrenItems())
596
- !n.id.trim() || !n.dataset.path?.trim() || this.currentRootIDsSet.add(
594
+ for (const o of e.getChildrenItems())
595
+ !o.id.trim() || !o.dataset.path?.trim() || this.currentRootIDsSet.add(
597
596
  N({
598
- id: n.id,
599
- path: n.dataset.path ?? ""
597
+ id: o.id,
598
+ path: o.dataset.path ?? ""
600
599
  })
601
600
  );
602
601
  }
603
602
  this.removedIDs = this.removedIDs.filter(
604
- (n) => n !== s && !I(n).path.startsWith(a + "/")
603
+ (o) => o !== s && !S(o).path.startsWith(a + "/")
605
604
  );
606
605
  } else
607
606
  this.removedIDs.push(s), this.currentRootIDsSet.has(s) && (this.currentRootIDsSet.delete(s), lt(e, "multiple"));
608
- [...this.currentRootIDsSet].forEach((n) => {
609
- const l = R(a), h = I(n).path, _ = R(h);
610
- _.startsWith(l) && _ !== l && (e.selected || this.currentRootIDsSet.delete(n));
607
+ [...this.currentRootIDsSet].forEach((o) => {
608
+ const c = R(a), h = S(o).path, _ = R(h);
609
+ _.startsWith(c) && _ !== c && (e.selected || this.currentRootIDsSet.delete(o));
611
610
  }), this.currentRootIDsSet = new Set(this.currentRootIDsSet);
612
611
  }
613
612
  }
614
613
  render() {
615
- return o`
614
+ return n`
616
615
  <div class="folder-tree selectable">
617
616
  <cx-tree
618
617
  class=${C({
@@ -630,7 +629,7 @@ let b = class extends H {
630
629
  )}
631
630
  ${p(
632
631
  this.folders && this.folders.length < this.totalCount,
633
- () => o`
632
+ () => n`
634
633
  <div class="load-more-button">
635
634
  <cx-button
636
635
  variant="text"
@@ -647,104 +646,163 @@ let b = class extends H {
647
646
  `;
648
647
  }
649
648
  };
650
- b.styles = [tt, Se];
649
+ b.styles = [tt, Ae];
651
650
  b.dependencies = {
652
651
  "cx-folder-item": y,
653
- "cx-tree": yt
652
+ "cx-tree": $t
654
653
  };
655
- S([
654
+ w([
656
655
  z("cx-tree")
657
656
  ], b.prototype, "tree", 2);
658
- S([
657
+ w([
659
658
  d({ attribute: "site-url", reflect: !0, type: String })
660
659
  ], b.prototype, "siteUrl", 2);
661
- S([
660
+ w([
662
661
  d({ attribute: "bearer-token", reflect: !0, type: String })
663
662
  ], b.prototype, "bearerToken", 2);
664
- S([
663
+ w([
665
664
  d({ attribute: "token", reflect: !0, type: String })
666
665
  ], b.prototype, "token", 2);
667
- S([
666
+ w([
668
667
  d({ attribute: "search-text", reflect: !0, type: String })
669
668
  ], b.prototype, "searchText", 2);
670
- S([
669
+ w([
671
670
  d({ type: Array })
672
671
  ], b.prototype, "folders", 2);
673
- S([
672
+ w([
674
673
  d({ attribute: "root-ids", reflect: !0, type: Array })
675
674
  ], b.prototype, "rootIDs", 2);
676
- S([
675
+ w([
677
676
  d({ attribute: "total-count", reflect: !0, type: Number })
678
677
  ], b.prototype, "totalCount", 2);
679
- S([
678
+ w([
680
679
  d({ attribute: "load-more", type: Function })
681
680
  ], b.prototype, "loadMore", 2);
682
- S([
681
+ w([
683
682
  d({ attribute: "is-loading", reflect: !0, type: Boolean })
684
683
  ], b.prototype, "isLoading", 2);
685
- S([
684
+ w([
686
685
  d({ attribute: "folder-paths-set", type: Object })
687
686
  ], b.prototype, "folderPathsSet", 2);
688
- S([
687
+ w([
689
688
  u()
690
689
  ], b.prototype, "removedIDs", 2);
691
- S([
690
+ w([
692
691
  u()
693
692
  ], b.prototype, "currentRootIDsSet", 2);
694
- S([
693
+ w([
695
694
  P("rootIDs")
696
695
  ], b.prototype, "handleRootIDsChange", 1);
697
- b = S([
696
+ b = w([
698
697
  W("cx-folder-tree")
699
698
  ], b);
700
- var Ae = 200;
701
- function De(t, e, i, a) {
702
- var s = -1, n = kt, l = !0, h = t.length, _ = [], m = e.length;
699
+ function Pe(t, e, i) {
700
+ switch (i.length) {
701
+ case 0:
702
+ return t.call(e);
703
+ case 1:
704
+ return t.call(e, i[0]);
705
+ case 2:
706
+ return t.call(e, i[0], i[1]);
707
+ case 3:
708
+ return t.call(e, i[0], i[1], i[2]);
709
+ }
710
+ return t.apply(e, i);
711
+ }
712
+ var _t = Math.max;
713
+ function ze(t, e, i) {
714
+ return e = _t(e === void 0 ? t.length - 1 : e, 0), function() {
715
+ for (var a = arguments, s = -1, o = _t(a.length - e, 0), c = Array(o); ++s < o; )
716
+ c[s] = a[e + s];
717
+ s = -1;
718
+ for (var h = Array(e + 1); ++s < e; )
719
+ h[s] = a[s];
720
+ return h[e] = i(c), Pe(t, this, h);
721
+ };
722
+ }
723
+ function Ee(t) {
724
+ return function() {
725
+ return t;
726
+ };
727
+ }
728
+ var ft = function() {
729
+ try {
730
+ var t = Et(Object, "defineProperty");
731
+ return t({}, "", {}), t;
732
+ } catch {
733
+ }
734
+ }(), Le = ft ? function(t, e) {
735
+ return ft(t, "toString", {
736
+ configurable: !0,
737
+ enumerable: !1,
738
+ value: Ee(e),
739
+ writable: !0
740
+ });
741
+ } : It, Fe = 800, Ue = 16, Re = Date.now;
742
+ function ke(t) {
743
+ var e = 0, i = 0;
744
+ return function() {
745
+ var a = Re(), s = Ue - (a - i);
746
+ if (i = a, s > 0) {
747
+ if (++e >= Fe)
748
+ return arguments[0];
749
+ } else
750
+ e = 0;
751
+ return t.apply(void 0, arguments);
752
+ };
753
+ }
754
+ var Oe = ke(Le);
755
+ function Ne(t, e) {
756
+ return Oe(ze(t, e, It), t + "");
757
+ }
758
+ var je = 200;
759
+ function Be(t, e, i, a) {
760
+ var s = -1, o = Bt, c = !0, h = t.length, _ = [], m = e.length;
703
761
  if (!h)
704
762
  return _;
705
- i && (e = Jt(e, Pt(i))), e.length >= Ae && (n = zt, l = !1, e = new Tt(e));
763
+ i && (e = ee(e, Lt(i))), e.length >= je && (o = Ut, c = !1, e = new Ft(e));
706
764
  t:
707
765
  for (; ++s < h; ) {
708
766
  var g = t[s], $ = i == null ? g : i(g);
709
- if (g = g !== 0 ? g : 0, l && $ === $) {
767
+ if (g = g !== 0 ? g : 0, c && $ === $) {
710
768
  for (var f = m; f--; )
711
769
  if (e[f] === $)
712
770
  continue t;
713
771
  _.push(g);
714
- } else n(e, $, a) || _.push(g);
772
+ } else o(e, $, a) || _.push(g);
715
773
  }
716
774
  return _;
717
775
  }
718
- var _t = pt ? pt.isConcatSpreadable : void 0;
719
- function Te(t) {
720
- return $t(t) || Et(t) || !!(_t && t && t[_t]);
776
+ var vt = pt ? pt.isConcatSpreadable : void 0;
777
+ function Me(t) {
778
+ return wt(t) || Rt(t) || !!(vt && t && t[vt]);
721
779
  }
722
- function Pe(t, e, i, a, s) {
723
- var n = -1, l = t.length;
724
- for (i || (i = Te), s || (s = []); ++n < l; ) {
725
- var h = t[n];
726
- i(h) ? Lt(s, h) : a || (s[s.length] = h);
780
+ function Ve(t, e, i, a, s) {
781
+ var o = -1, c = t.length;
782
+ for (i || (i = Me), s || (s = []); ++o < c; ) {
783
+ var h = t[o];
784
+ i(h) ? kt(s, h) : a || (s[s.length] = h);
727
785
  }
728
786
  return s;
729
787
  }
730
- function ze(t, e, i) {
788
+ function He(t, e, i) {
731
789
  var a = t.length;
732
790
  if (a < 2)
733
791
  return a ? dt(t[0]) : [];
734
- for (var s = -1, n = Array(a); ++s < a; )
735
- for (var l = t[s], h = -1; ++h < a; )
736
- h != s && (n[s] = De(n[s] || l, t[h], e, i));
737
- return dt(Pe(n), e, i);
792
+ for (var s = -1, o = Array(a); ++s < a; )
793
+ for (var c = t[s], h = -1; ++h < a; )
794
+ h != s && (o[s] = Be(o[s] || c, t[h], e, i));
795
+ return dt(Ve(o), e, i);
738
796
  }
739
- function Ee(t) {
740
- return Qt(t) && bt(t);
797
+ function We(t) {
798
+ return se(t) && St(t);
741
799
  }
742
- var st = Zt(function(t) {
743
- return ze(Ft(t, Ee));
744
- }), v = /* @__PURE__ */ ((t) => (t.Canceled = "CANCELED", t.Failed = "FAILED", t.InProgress = "INPROGRESS", t.PendingComplete = "PENDINGCOMPLETE", t.Success = "SUCCESS", t))(v || {}), Le = Object.defineProperty, Fe = Object.getOwnPropertyDescriptor, j = (t, e, i, a) => {
745
- for (var s = a > 1 ? void 0 : a ? Fe(e, i) : e, n = t.length - 1, l; n >= 0; n--)
746
- (l = t[n]) && (s = (a ? l(e, i, s) : l(s)) || s);
747
- return a && s && Le(e, i, s), s;
800
+ var st = Ne(function(t) {
801
+ return He(Ot(t, We));
802
+ }), v = /* @__PURE__ */ ((t) => (t.Canceled = "CANCELED", t.Failed = "FAILED", t.InProgress = "INPROGRESS", t.PendingComplete = "PENDINGCOMPLETE", t.Success = "SUCCESS", t))(v || {}), qe = Object.defineProperty, Ge = Object.getOwnPropertyDescriptor, j = (t, e, i, a) => {
803
+ for (var s = a > 1 ? void 0 : a ? Ge(e, i) : e, o = t.length - 1, c; o >= 0; o--)
804
+ (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
805
+ return a && s && qe(e, i, s), s;
748
806
  };
749
807
  let T = class extends H {
750
808
  constructor() {
@@ -760,21 +818,21 @@ let T = class extends H {
760
818
  return this;
761
819
  }
762
820
  renderFolderSuccessText() {
763
- return o`${this.childrenCount} ${this.localize.term("subfolders")},
821
+ return n`${this.childrenCount} ${this.localize.term("subfolders")},
764
822
  ${this.assetsCount} ${this.localize.term("assets")}`;
765
823
  }
766
824
  renderSuccess() {
767
- return o`<div class="file-on-demand-pinned-status__success progress">
825
+ return n`<div class="file-on-demand-pinned-status__success progress">
768
826
  <cx-icon name="file_download" variant="filled"></cx-icon>
769
827
  <cx-typography variant="small">
770
828
  <cx-line-clamp lines="1">
771
- ${p(this.isFolder, this.renderFolderSuccessText.bind(this), () => o`${this.localize.term("cached")}`)}
829
+ ${p(this.isFolder, this.renderFolderSuccessText.bind(this), () => n`${this.localize.term("cached")}`)}
772
830
  </cx-line-clamp>
773
831
  </cx-typography>
774
832
  </div>`;
775
833
  }
776
834
  renderFailed() {
777
- return o`<div class="file-on-demand-pinned-status__failed progress">
835
+ return n`<div class="file-on-demand-pinned-status__failed progress">
778
836
  <cx-icon name="file_download_off" variant="filled"></cx-icon>
779
837
  <cx-typography variant="small">
780
838
  <cx-line-clamp lines="1">
@@ -784,7 +842,7 @@ let T = class extends H {
784
842
  </div>`;
785
843
  }
786
844
  renderCanceled() {
787
- return o`<div class="file-on-demand-pinned-status__canceled progress">
845
+ return n`<div class="file-on-demand-pinned-status__canceled progress">
788
846
  <cx-icon name="file_download_off" variant="filled"></cx-icon>
789
847
  <cx-typography variant="small">
790
848
  <cx-line-clamp lines="1">
@@ -794,7 +852,7 @@ let T = class extends H {
794
852
  </div>`;
795
853
  }
796
854
  renderInProgress() {
797
- return o`<div class="file-on-demand-pinned-status__in-progress progress">
855
+ return n`<div class="file-on-demand-pinned-status__in-progress progress">
798
856
  <cx-icon name="downloading" variant="filled"></cx-icon>
799
857
  <cx-typography variant="small">
800
858
  <cx-line-clamp lines="1">
@@ -805,8 +863,8 @@ let T = class extends H {
805
863
  </div>`;
806
864
  }
807
865
  render() {
808
- return o`<div class="file-on-demand-pinned-status">
809
- ${ie(this.uploadStatus, [
866
+ return n`<div class="file-on-demand-pinned-status">
867
+ ${ne(this.uploadStatus, [
810
868
  [v.Success, this.renderSuccess.bind(this)],
811
869
  [v.Failed, this.renderFailed.bind(this)],
812
870
  [v.InProgress, this.renderInProgress.bind(this)],
@@ -859,7 +917,7 @@ j([
859
917
  T = j([
860
918
  W("cx-file-on-demand-pinned-status")
861
919
  ], T);
862
- const Ue = at`
920
+ const Ye = at`
863
921
  :host {
864
922
  padding: var(--cx-spacing-2x-small) var(--cx-spacing-small);
865
923
  display: block;
@@ -1059,10 +1117,10 @@ const Ue = at`
1059
1117
  color: var(--cx-color-neutral-500);
1060
1118
  }
1061
1119
  `;
1062
- var Re = Object.defineProperty, ke = Object.getOwnPropertyDescriptor, V = (t, e, i, a) => {
1063
- for (var s = a > 1 ? void 0 : a ? ke(e, i) : e, n = t.length - 1, l; n >= 0; n--)
1064
- (l = t[n]) && (s = (a ? l(e, i, s) : l(s)) || s);
1065
- return a && s && Re(e, i, s), s;
1120
+ var Ke = Object.defineProperty, Xe = Object.getOwnPropertyDescriptor, V = (t, e, i, a) => {
1121
+ for (var s = a > 1 ? void 0 : a ? Xe(e, i) : e, o = t.length - 1, c; o >= 0; o--)
1122
+ (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
1123
+ return a && s && Ke(e, i, s), s;
1066
1124
  };
1067
1125
  let L = class extends H {
1068
1126
  constructor() {
@@ -1084,7 +1142,7 @@ let L = class extends H {
1084
1142
  return this.listType === x.PINNED;
1085
1143
  }
1086
1144
  get isFolder() {
1087
- return xe.includes((this.asset.docType ?? "").toLowerCase());
1145
+ return fe.includes((this.asset.docType ?? "").toLowerCase());
1088
1146
  }
1089
1147
  get thumbnailUrl() {
1090
1148
  return this.asset.thumbnail?.trim() ?? "";
@@ -1190,27 +1248,27 @@ let L = class extends H {
1190
1248
  remainingTime: i,
1191
1249
  size: a = 0,
1192
1250
  timestamp: s = Date.now(),
1193
- uploadErrorMessage: n,
1194
- uploadStatus: l = v.InProgress
1251
+ uploadErrorMessage: o,
1252
+ uploadStatus: c = v.InProgress
1195
1253
  }) {
1196
- const h = a > 0 ? e * 100 / a : 0, _ = l === v.InProgress ? h : 100, m = o`
1254
+ const h = a > 0 ? e * 100 / a : 0, _ = c === v.InProgress ? h : 100, m = n`
1197
1255
  <div class=${C({
1198
- "in-progress": l === v.InProgress,
1256
+ "in-progress": c === v.InProgress,
1199
1257
  paused: t,
1200
1258
  progress: !0,
1201
1259
  "uploading-progress": !0
1202
1260
  })}>
1203
- ${p(t, () => o`<cx-icon name="pause" variant="filled"></cx-icon>`, () => o`<cx-icon name="arrow_upward"></cx-icon>`)}
1261
+ ${p(t, () => n`<cx-icon name="pause" variant="filled"></cx-icon>`, () => n`<cx-icon name="arrow_upward"></cx-icon>`)}
1204
1262
  <cx-typography variant="small">
1205
1263
  <cx-line-clamp lines="1">
1206
- ${p(t, () => o`${this.localize.term("paused")} ‧`)}
1264
+ ${p(t, () => n`${this.localize.term("paused")} ‧`)}
1207
1265
  <cx-format-bytes .value=${e}></cx-format-bytes>
1208
1266
  ${this.localize.term("of")}
1209
1267
  <cx-format-bytes .value=${a}></cx-format-bytes>
1210
1268
  (${Math.round(h)}%)
1211
1269
  ${p(
1212
1270
  !!i && !t,
1213
- () => o`‧
1271
+ () => n`‧
1214
1272
  <cx-relative-time
1215
1273
  format="narrow"
1216
1274
  numeric="always"
@@ -1222,7 +1280,7 @@ let L = class extends H {
1222
1280
  </cx-line-clamp>
1223
1281
  </cx-typography>
1224
1282
  </div>
1225
- `, g = o`
1283
+ `, g = n`
1226
1284
  <div class="progress syncing-progress">
1227
1285
  <cx-icon name="cached"></cx-icon>
1228
1286
  <cx-typography variant="small">
@@ -1238,7 +1296,7 @@ let L = class extends H {
1238
1296
  </cx-line-clamp>
1239
1297
  </cx-typography>
1240
1298
  </div>
1241
- `, $ = o`
1299
+ `, $ = n`
1242
1300
  <div class="progress completed-progress">
1243
1301
  <cx-icon name="check"></cx-icon>
1244
1302
  <cx-typography variant="small">
@@ -1254,12 +1312,12 @@ let L = class extends H {
1254
1312
  </cx-line-clamp>
1255
1313
  </cx-typography>
1256
1314
  </div>
1257
- `, f = o`
1315
+ `, f = n`
1258
1316
  <div class="progress failed-progress">
1259
1317
  <cx-typography variant="small">
1260
1318
  <cx-line-clamp lines="1">
1261
1319
  <cx-tooltip
1262
- content=${n || this.localize.term("uploadFailed")}
1320
+ content=${o || this.localize.term("uploadFailed")}
1263
1321
  >
1264
1322
  <span class="failed-progress__text">
1265
1323
  ${this.localize.term("uploadFailed")} ‧
@@ -1275,7 +1333,7 @@ let L = class extends H {
1275
1333
  </cx-line-clamp>
1276
1334
  </cx-typography>
1277
1335
  </div>
1278
- `, F = o`
1336
+ `, F = n`
1279
1337
  <div class="progress canceled-progress">
1280
1338
  <cx-icon name="cancel"></cx-icon>
1281
1339
  <cx-typography variant="small">
@@ -1292,11 +1350,11 @@ let L = class extends H {
1292
1350
  </cx-typography>
1293
1351
  </div>
1294
1352
  `;
1295
- return o`
1353
+ return n`
1296
1354
  ${p(
1297
- l === v.InProgress,
1298
- () => o`<cx-progress-bar
1299
- style=${se({
1355
+ c === v.InProgress,
1356
+ () => n`<cx-progress-bar
1357
+ style=${oe({
1300
1358
  "--color": t ? "var(--cx-color-warning-500)" : "var(--cx-color-primary-500)"
1301
1359
  })}
1302
1360
  .value=${_.toFixed(0)}
@@ -1305,16 +1363,16 @@ let L = class extends H {
1305
1363
  >${m}`
1306
1364
  )}
1307
1365
  ${p(
1308
- l === v.PendingComplete,
1366
+ c === v.PendingComplete,
1309
1367
  () => g
1310
1368
  )}
1311
- ${p(l === v.Success, () => $)}
1312
- ${p(l === v.Failed, () => f)}
1313
- ${p(l === v.Canceled, () => F)}
1369
+ ${p(c === v.Success, () => $)}
1370
+ ${p(c === v.Failed, () => f)}
1371
+ ${p(c === v.Canceled, () => F)}
1314
1372
  `;
1315
1373
  }
1316
1374
  renderUploadingStatus() {
1317
- return o`
1375
+ return n`
1318
1376
  ${this.renderProgress({
1319
1377
  isPaused: this.asset.isPaused,
1320
1378
  progress: (this.asset.size ?? 0) - (this.asset.remainingSize ?? 0),
@@ -1327,7 +1385,7 @@ let L = class extends H {
1327
1385
  `;
1328
1386
  }
1329
1387
  renderPinnedStatus() {
1330
- return o`<cx-file-on-demand-pinned-status
1388
+ return n`<cx-file-on-demand-pinned-status
1331
1389
  size=${this.asset.size ?? 0}
1332
1390
  remaining-size=${this.asset.remainingSize ?? 0}
1333
1391
  upload-status=${this.asset.uploadStatus}
@@ -1337,12 +1395,12 @@ let L = class extends H {
1337
1395
  ></cx-file-on-demand-pinned-status>`;
1338
1396
  }
1339
1397
  renderThumbnailContent() {
1340
- return this.isFolder ? this.listType === x.FAVORITES ? o`<cx-icon
1398
+ return this.isFolder ? this.listType === x.FAVORITES ? n`<cx-icon
1341
1399
  class="asset__folder__icon"
1342
1400
  name="folder_special"
1343
- ></cx-icon>` : o`<cx-icon class="asset__folder__icon" name="topic"></cx-icon>` : o`${p(
1401
+ ></cx-icon>` : n`<cx-icon class="asset__folder__icon" name="topic"></cx-icon>` : n`${p(
1344
1402
  !!this.thumbnailUrl,
1345
- () => o`<img
1403
+ () => n`<img
1346
1404
  alt=${this.asset.fileName}
1347
1405
  class="asset__thumbnail__image"
1348
1406
  src=${this.thumbnailUrl}
@@ -1364,13 +1422,13 @@ let L = class extends H {
1364
1422
  class="asset__thumbnail__extension__text"
1365
1423
  variant="small"
1366
1424
  >
1367
- ${fe(this.asset.fileName)}
1425
+ ${be(this.asset.fileName)}
1368
1426
  </cx-typography>
1369
1427
  </cx-line-clamp>
1370
1428
  </div>`;
1371
1429
  }
1372
1430
  renderThumbnail() {
1373
- return o`<div
1431
+ return n`<div
1374
1432
  class=${C({
1375
1433
  asset__thumbnail: !0,
1376
1434
  "asset__thumbnail--folder": this.isFolder,
@@ -1381,7 +1439,7 @@ let L = class extends H {
1381
1439
  </div>`;
1382
1440
  }
1383
1441
  renderOpenDriveButton() {
1384
- return o`<cx-tooltip content=${this.localize.term("openInDrive")} hoist>
1442
+ return n`<cx-tooltip content=${this.localize.term("openInDrive")} hoist>
1385
1443
  <cx-icon-button
1386
1444
  data-testid="asset__drive-button"
1387
1445
  name="folder_open"
@@ -1390,11 +1448,11 @@ let L = class extends H {
1390
1448
  </cx-tooltip>`;
1391
1449
  }
1392
1450
  renderNormalActions() {
1393
- return o`${this.renderOpenDriveButton()}
1451
+ return n`${this.renderOpenDriveButton()}
1394
1452
  ${p(
1395
1453
  this.favoriteInProgressAssets.includes(this.asset.recordId),
1396
- () => o`<cx-spinner class="asset__actions__spinner"></cx-spinner>`,
1397
- () => o`<cx-tooltip
1454
+ () => n`<cx-spinner class="asset__actions__spinner"></cx-spinner>`,
1455
+ () => n`<cx-tooltip
1398
1456
  content=${this.asset.isInFavorite ? this.localize.term("unfavorite") : this.localize.term("favorite")}
1399
1457
  hoist
1400
1458
  >
@@ -1408,7 +1466,7 @@ let L = class extends H {
1408
1466
  )} `;
1409
1467
  }
1410
1468
  renderRetryableUploadActions() {
1411
- return o`${this.renderOpenDriveButton()}
1469
+ return n`${this.renderOpenDriveButton()}
1412
1470
  <cx-tooltip content=${this.localize.term("retry")} hoist>
1413
1471
  <cx-icon-button
1414
1472
  data-testid="asset__retry-button"
@@ -1418,7 +1476,7 @@ let L = class extends H {
1418
1476
  </cx-tooltip>`;
1419
1477
  }
1420
1478
  renderInProgressActions() {
1421
- return o`
1479
+ return n`
1422
1480
  <cx-tooltip
1423
1481
  content=${this.asset.isPaused ? this.localize.term("resume") : this.localize.term("pause")}
1424
1482
  hoist
@@ -1440,10 +1498,10 @@ let L = class extends H {
1440
1498
  `;
1441
1499
  }
1442
1500
  renderPinnedActions() {
1443
- return o`${p(
1501
+ return n`${p(
1444
1502
  this.pinInProgressAssets.includes(this.asset.recordId),
1445
- () => o`<cx-spinner class="asset__actions__spinner"></cx-spinner>`,
1446
- () => o`<cx-tooltip
1503
+ () => n`<cx-spinner class="asset__actions__spinner"></cx-spinner>`,
1504
+ () => n`<cx-tooltip
1447
1505
  content=${this.asset.isPinned ? this.localize.term("unpin") : this.localize.term("pin")}
1448
1506
  hoist
1449
1507
  >
@@ -1457,7 +1515,7 @@ let L = class extends H {
1457
1515
  )} `;
1458
1516
  }
1459
1517
  render() {
1460
- return o`
1518
+ return n`
1461
1519
  <div
1462
1520
  data-id=${this.asset.recordId}
1463
1521
  data-testid=${`asset-${this.asset.uploadStatus}`}
@@ -1475,7 +1533,7 @@ let L = class extends H {
1475
1533
  <div class="asset__description__status">
1476
1534
  ${p(
1477
1535
  this.listType === x.RECENT,
1478
- () => o`
1536
+ () => n`
1479
1537
  <cx-typography
1480
1538
  variant="small"
1481
1539
  class="asset__description__status__time"
@@ -1516,17 +1574,17 @@ let L = class extends H {
1516
1574
  `;
1517
1575
  }
1518
1576
  };
1519
- L.styles = [tt, Ue];
1577
+ L.styles = [tt, Ye];
1520
1578
  L.dependencies = {
1521
1579
  "cx-file-on-demand-pinned-status": T,
1522
1580
  "cx-format-bytes": ot,
1523
1581
  "cx-icon": J,
1524
- "cx-icon-button": It,
1582
+ "cx-icon-button": Ct,
1525
1583
  "cx-line-clamp": Q,
1526
- "cx-progress-bar": te,
1527
- "cx-relative-time": St,
1528
- "cx-spinner": ee,
1529
- "cx-tooltip": wt,
1584
+ "cx-progress-bar": ie,
1585
+ "cx-relative-time": At,
1586
+ "cx-spinner": ae,
1587
+ "cx-tooltip": Dt,
1530
1588
  "cx-typography": nt
1531
1589
  };
1532
1590
  V([
@@ -1564,7 +1622,7 @@ V([
1564
1622
  L = V([
1565
1623
  W("cx-file-on-demand-asset")
1566
1624
  ], L);
1567
- const Oe = at`
1625
+ const Ze = at`
1568
1626
  :host {
1569
1627
  --asset-height: 40px;
1570
1628
  display: block;
@@ -2105,10 +2163,10 @@ const Oe = at`
2105
2163
  justify-content: flex-end;
2106
2164
  }
2107
2165
  `;
2108
- var Ne = Object.defineProperty, je = Object.getOwnPropertyDescriptor, c = (t, e, i, a) => {
2109
- for (var s = a > 1 ? void 0 : a ? je(e, i) : e, n = t.length - 1, l; n >= 0; n--)
2110
- (l = t[n]) && (s = (a ? l(e, i, s) : l(s)) || s);
2111
- return a && s && Ne(e, i, s), s;
2166
+ var Je = Object.defineProperty, Qe = Object.getOwnPropertyDescriptor, l = (t, e, i, a) => {
2167
+ for (var s = a > 1 ? void 0 : a ? Qe(e, i) : e, o = t.length - 1, c; o >= 0; o--)
2168
+ (c = t[o]) && (s = (a ? c(e, i, s) : c(s)) || s);
2169
+ return a && s && Je(e, i, s), s;
2112
2170
  };
2113
2171
  let r = class extends H {
2114
2172
  constructor() {
@@ -2143,7 +2201,7 @@ let r = class extends H {
2143
2201
  start: s = 0
2144
2202
  }) => {
2145
2203
  try {
2146
- return await Ct({
2204
+ return await Tt({
2147
2205
  excludes: t,
2148
2206
  folderId: e,
2149
2207
  folderPathsSet: i,
@@ -2153,8 +2211,8 @@ let r = class extends H {
2153
2211
  start: s,
2154
2212
  token: this.token
2155
2213
  });
2156
- } catch (n) {
2157
- n instanceof Error && n.message === "Failed to fetch" && this.emit("cx-renew-token");
2214
+ } catch (o) {
2215
+ o instanceof Error && o.message === "Failed to fetch" && this.emit("cx-renew-token");
2158
2216
  }
2159
2217
  return {
2160
2218
  data: this.availableFolderIdentifiers,
@@ -2367,7 +2425,7 @@ let r = class extends H {
2367
2425
  this.rootIDs = t, await this.updateComplete;
2368
2426
  const i = this.container.querySelectorAll("cx-tree-item"), a = st(this.rootIDs, e);
2369
2427
  i.forEach((s) => {
2370
- a.includes(s.dataset.id ?? "") && vt(s);
2428
+ a.includes(s.dataset.id ?? "") && bt(s);
2371
2429
  });
2372
2430
  }
2373
2431
  // #region Render
@@ -2375,7 +2433,7 @@ let r = class extends H {
2375
2433
  const t = () => {
2376
2434
  this.openDrive();
2377
2435
  };
2378
- return o`
2436
+ return n`
2379
2437
  <div class="header">
2380
2438
  <div class="header__user">
2381
2439
  <cx-avatar
@@ -2413,7 +2471,7 @@ let r = class extends H {
2413
2471
  >
2414
2472
  ${p(
2415
2473
  this.hasNewVersion,
2416
- () => o`<cx-badge
2474
+ () => n`<cx-badge
2417
2475
  class="settings__version__badge"
2418
2476
  slot="badge"
2419
2477
  variant="danger"
@@ -2429,7 +2487,7 @@ let r = class extends H {
2429
2487
  }
2430
2488
  // #region Assets
2431
2489
  renderAsset(t, e) {
2432
- return o`<cx-file-on-demand-asset
2490
+ return n`<cx-file-on-demand-asset
2433
2491
  .asset=${t}
2434
2492
  .listType=${e}
2435
2493
  .favoriteInProgressAssets=${this.favoriteInProgressAssets}
@@ -2437,7 +2495,7 @@ let r = class extends H {
2437
2495
  ></cx-file-on-demand-asset>`;
2438
2496
  }
2439
2497
  renderRecentAssets() {
2440
- const t = o`
2498
+ const t = n`
2441
2499
  <div class="recent-empty assets-list__tab-group__empty-message">
2442
2500
  <cx-icon class="empty-icon" name="explore"></cx-icon>
2443
2501
  <cx-typography variant="body2">
@@ -2446,7 +2504,7 @@ let r = class extends H {
2446
2504
  </div>
2447
2505
  `, [e, i] = ut(
2448
2506
  this.recentAssets.assets
2449
- ), a = o`
2507
+ ), a = n`
2450
2508
  <div class="recent__list" @scroll=${this.requestMoreRecentAssets}>
2451
2509
  <div
2452
2510
  class=${C({
@@ -2485,7 +2543,7 @@ let r = class extends H {
2485
2543
  </div>
2486
2544
  </div>
2487
2545
  `;
2488
- return o`
2546
+ return n`
2489
2547
  <cx-tab-panel
2490
2548
  name=${x.RECENT}
2491
2549
  class="assets-list__recent-tab-panel"
@@ -2499,14 +2557,14 @@ let r = class extends H {
2499
2557
  `;
2500
2558
  }
2501
2559
  renderFavoriteAssets() {
2502
- const t = o`
2560
+ const t = n`
2503
2561
  <div class="favorites-empty assets-list__tab-group__empty-message">
2504
2562
  <cx-icon class="empty-icon" name="star"></cx-icon>
2505
2563
  <cx-typography variant="body2">
2506
2564
  ${this.localize.term("allFavoriteAssetsWillBeVisibleHere")}
2507
2565
  </cx-typography>
2508
2566
  </div>
2509
- `, e = mt(this.favoriteAssets.assets), i = o`
2567
+ `, e = mt(this.favoriteAssets.assets), i = n`
2510
2568
  <div class="favorites__list" @scroll=${this.requestMoreFavoriteAssets}>
2511
2569
  ${U(
2512
2570
  e,
@@ -2515,7 +2573,7 @@ let r = class extends H {
2515
2573
  )}
2516
2574
  </div>
2517
2575
  `;
2518
- return o`
2576
+ return n`
2519
2577
  <cx-tab-panel
2520
2578
  name=${x.FAVORITES}
2521
2579
  class="assets-list__favorites-tab-panel"
@@ -2543,7 +2601,7 @@ let r = class extends H {
2543
2601
  `;
2544
2602
  }
2545
2603
  renderUploadingAssets() {
2546
- const t = o`
2604
+ const t = n`
2547
2605
  <div class="uploads-empty assets-list__tab-group__empty-message">
2548
2606
  <cx-icon class="empty-icon" name="arrow_upward"></cx-icon>
2549
2607
  <cx-typography variant="body2">
@@ -2552,7 +2610,7 @@ let r = class extends H {
2552
2610
  </div>
2553
2611
  `, [e, i] = ut(
2554
2612
  this.uploadingAssets.assets
2555
- ), a = o`
2613
+ ), a = n`
2556
2614
  <div class="uploads__list" @scroll=${this.requestMoreUploadingAssets}>
2557
2615
  <div
2558
2616
  class=${C({
@@ -2599,7 +2657,7 @@ let r = class extends H {
2599
2657
  </div>
2600
2658
  </div>
2601
2659
  `;
2602
- return o`
2660
+ return n`
2603
2661
  <cx-tab-panel
2604
2662
  name=${x.UPLOADS}
2605
2663
  class="assets-list__uploads-tab-panel"
@@ -2613,14 +2671,14 @@ let r = class extends H {
2613
2671
  `;
2614
2672
  }
2615
2673
  renderPinnedAssets() {
2616
- const t = o`
2674
+ const t = n`
2617
2675
  <div class="pinned-empty assets-list__tab-group__empty-message">
2618
2676
  <cx-icon class="empty-icon" name="keep"></cx-icon>
2619
2677
  <cx-typography variant="body2">
2620
2678
  ${this.localize.term("allPinnedAssetsWillBeVisibleHere")}
2621
2679
  </cx-typography>
2622
2680
  </div>
2623
- `, e = mt(this.pinnedAssets.assets), i = o`
2681
+ `, e = mt(this.pinnedAssets.assets), i = n`
2624
2682
  <div class="pinned__list" @scroll=${this.requestMorePinnedAssets}>
2625
2683
  ${U(
2626
2684
  e,
@@ -2629,7 +2687,7 @@ let r = class extends H {
2629
2687
  )}
2630
2688
  </div>
2631
2689
  `;
2632
- return o`
2690
+ return n`
2633
2691
  <cx-tab-panel
2634
2692
  name=${x.PINNED}
2635
2693
  class="assets-list__pinned-tab-panel"
@@ -2645,7 +2703,7 @@ let r = class extends H {
2645
2703
  `;
2646
2704
  }
2647
2705
  renderAssetsList() {
2648
- return o`
2706
+ return n`
2649
2707
  <div class="assets-list">
2650
2708
  <cx-tab-group
2651
2709
  @cx-tab-show=${async (e) => {
@@ -2703,7 +2761,7 @@ let r = class extends H {
2703
2761
  `;
2704
2762
  }
2705
2763
  renderAssetsView() {
2706
- return o`
2764
+ return n`
2707
2765
  <div class="assets">
2708
2766
  ${this.renderHeader()}${this.renderAssetsList()}${this.renderStatusFooter()}
2709
2767
  </div>
@@ -2726,47 +2784,47 @@ let r = class extends H {
2726
2784
  this.isAddingRootIDs = !0, await this.updateComplete, this.searchText = "";
2727
2785
  const s = this.rootIDs.filter((h) => {
2728
2786
  if (!this.folderTree.shadowRoot?.querySelector(
2729
- `[data-id="${I(h).id}"]`
2787
+ `[data-id="${S(h).id}"]`
2730
2788
  ))
2731
2789
  return !0;
2732
- }), n = /* @__PURE__ */ new Set([
2790
+ }), o = /* @__PURE__ */ new Set([
2733
2791
  ...this.folderTree.currentRootIDs,
2734
2792
  ...s
2735
2793
  ]);
2736
- for (const h of n) {
2737
- const _ = R(I(h).path), m = this.folderTree.removedIDs.filter(
2738
- (g) => R(I(g).path).startsWith(_)
2794
+ for (const h of o) {
2795
+ const _ = R(S(h).path), m = this.folderTree.removedIDs.filter(
2796
+ (g) => R(S(g).path).startsWith(_)
2739
2797
  );
2740
2798
  if (m.length > 0) {
2741
2799
  const { totalCount: g } = await this.fetchFolders({
2742
- excludes: m.map((f) => I(f).id),
2743
- folderId: I(h).id,
2800
+ excludes: m.map((f) => S(f).id),
2801
+ folderId: S(h).id,
2744
2802
  start: 0
2745
2803
  }), { data: $ } = await this.fetchFolders({
2746
- excludes: m.map((f) => I(f).id),
2747
- folderId: I(h).id,
2804
+ excludes: m.map((f) => S(f).id),
2805
+ folderId: S(h).id,
2748
2806
  limit: g || 10,
2749
2807
  start: 0
2750
2808
  });
2751
2809
  $.forEach((f) => {
2752
- n.add(
2810
+ o.add(
2753
2811
  N({ id: f.id, path: f.fullPath })
2754
2812
  );
2755
- }), n.delete(h);
2813
+ }), o.delete(h);
2756
2814
  }
2757
2815
  }
2758
- const l = Array.from(n);
2759
- this.updateActiveFolderIdentifiers(l), this.removedIds = l.filter(
2760
- (h) => [...l].some((_) => {
2761
- const m = I(h), g = I(_), $ = R(g.path);
2816
+ const c = Array.from(o);
2817
+ this.updateActiveFolderIdentifiers(c), this.removedIds = c.filter(
2818
+ (h) => [...c].some((_) => {
2819
+ const m = S(h), g = S(_), $ = R(g.path);
2762
2820
  return _ !== h && m.path.startsWith($);
2763
2821
  })
2764
2822
  ), e(), this.isAddingRootIDs = !1;
2765
2823
  }, a = (s) => {
2766
- const n = s.target;
2767
- this.searchText = (n.value ?? "").trim();
2824
+ const o = s.target;
2825
+ this.searchText = (o.value ?? "").trim();
2768
2826
  };
2769
- return o`
2827
+ return n`
2770
2828
  <cx-dialog
2771
2829
  class="select-folders-popup"
2772
2830
  no-header
@@ -2804,7 +2862,7 @@ let r = class extends H {
2804
2862
  }
2805
2863
  renderSelectableFolderTree() {
2806
2864
  const t = this.availableFolderIdentifiers;
2807
- return o`
2865
+ return n`
2808
2866
  <cx-folder-tree
2809
2867
  class="selectable-folder-tree"
2810
2868
  .siteUrl=${this.settings.config.siteUrl}
@@ -2821,20 +2879,20 @@ let r = class extends H {
2821
2879
  }
2822
2880
  renderRootFolderTree() {
2823
2881
  if (!this.rootIDs.length)
2824
- return Ut;
2882
+ return Nt;
2825
2883
  const t = this.rootIDs.filter(
2826
2884
  (a) => !this.removedIds.includes(a)
2827
2885
  ), e = (a) => {
2828
2886
  this.updateActiveFolderIdentifiers(
2829
2887
  t.filter(
2830
- (s) => I(s).id !== a
2888
+ (s) => S(s).id !== a
2831
2889
  )
2832
2890
  ), this.folderTree.rootIDs = this.rootIDs, this.folderTree.resetTree();
2833
2891
  }, i = (a) => {
2834
- const { id: s, path: n } = I(a), l = () => {
2892
+ const { id: s, path: o } = S(a), c = () => {
2835
2893
  e(s);
2836
2894
  };
2837
- return o`
2895
+ return n`
2838
2896
  <cx-tree-item
2839
2897
  data-id=${s}
2840
2898
  class=${C({
@@ -2844,7 +2902,7 @@ let r = class extends H {
2844
2902
  <div class="folder-tree__label">
2845
2903
  <cx-icon class="folder-tree__icon" name="folder"></cx-icon>
2846
2904
  <cx-line-clamp lines="1" class="folder-tree__label__value">
2847
- ${n}
2905
+ ${o}
2848
2906
  </cx-line-clamp>
2849
2907
  </div>
2850
2908
  <cx-tooltip
@@ -2853,14 +2911,14 @@ let r = class extends H {
2853
2911
  hoist
2854
2912
  >
2855
2913
  <cx-icon-button
2856
- @click=${l}
2914
+ @click=${c}
2857
2915
  name="close"
2858
2916
  ></cx-icon-button>
2859
2917
  </cx-tooltip>
2860
2918
  </cx-tree-item>
2861
2919
  `;
2862
2920
  };
2863
- return o`
2921
+ return n`
2864
2922
  <div data-testid="root-folder-tree" class="folder-tree">
2865
2923
  <cx-tree selection="none">
2866
2924
  ${U(
@@ -2877,7 +2935,7 @@ let r = class extends H {
2877
2935
  t.target.value === "custom" ? (this._activeFoldersMode = !0, this.rootIDs = this.settings.config.rootIDs ?? []) : (this._activeFoldersMode = !1, this.rootIDs = []);
2878
2936
  }
2879
2937
  renderGeneralSettings() {
2880
- const t = o`
2938
+ const t = n`
2881
2939
  <div class="settings-group settings__active-folder">
2882
2940
  <cx-typography variant="h5">
2883
2941
  ${this.localize.term("activeFolders")}
@@ -2899,13 +2957,13 @@ let r = class extends H {
2899
2957
  </cx-select>
2900
2958
  ${p(
2901
2959
  this._activeFoldersMode,
2902
- () => o`
2960
+ () => n`
2903
2961
  ${this.renderRootFolderTree()} ${this.renderSelectFoldersPopup()}
2904
2962
  `
2905
2963
  )}
2906
2964
  </div>
2907
2965
  `;
2908
- return o`
2966
+ return n`
2909
2967
  <div class="settings__general">
2910
2968
  ${t}
2911
2969
  <div class="settings-group settings__software">
@@ -2926,7 +2984,7 @@ let r = class extends H {
2926
2984
  </div>
2927
2985
  ${p(
2928
2986
  this.hasNewVersion,
2929
- () => o`<div class="settings__software__version__value">
2987
+ () => n`<div class="settings__software__version__value">
2930
2988
  <cx-badge
2931
2989
  class="settings__version__badge"
2932
2990
  slot="badge"
@@ -3028,7 +3086,7 @@ let r = class extends H {
3028
3086
  await this.updateComplete, this.cacheLocationValueText?.handleResize();
3029
3087
  }
3030
3088
  renderAdvancedSettings() {
3031
- const t = o`<cx-tooltip
3089
+ const t = n`<cx-tooltip
3032
3090
  content=${this.localize.term("openDrive")}
3033
3091
  hoist
3034
3092
  >
@@ -3039,7 +3097,7 @@ let r = class extends H {
3039
3097
  @click=${this.openCacheLocation}
3040
3098
  ></cx-icon-button>
3041
3099
  </cx-tooltip>`;
3042
- return o`
3100
+ return n`
3043
3101
  <div class="settings__advanced">
3044
3102
  <div class="settings-group settings__proxy">
3045
3103
  <cx-typography variant="h5">Proxy</cx-typography>
@@ -3192,7 +3250,7 @@ let r = class extends H {
3192
3250
  const t = () => {
3193
3251
  this.hideSettings();
3194
3252
  };
3195
- return o`
3253
+ return n`
3196
3254
  <div class="settings">
3197
3255
  <form class="settings__form" @submit=${(i) => {
3198
3256
  i.preventDefault(), this.saveSettings();
@@ -3245,33 +3303,33 @@ let r = class extends H {
3245
3303
  }
3246
3304
  // #endregion
3247
3305
  renderStatusFooter() {
3248
- const t = o`
3306
+ const t = n`
3249
3307
  <cx-typography class="error-message" variant="small">
3250
3308
  ${this.localize.term("fileOnDemandSyncErrorMessage")}
3251
3309
  </cx-typography>
3252
3310
  `, e = () => {
3253
3311
  switch (this.connectionStatus) {
3254
3312
  case "excellent":
3255
- return o`
3313
+ return n`
3256
3314
  <cx-icon variant="filled" name="check_circle"></cx-icon>
3257
3315
  `;
3258
3316
  case "good":
3259
- return o` <cx-icon variant="filled" name="circle"></cx-icon> `;
3317
+ return n` <cx-icon variant="filled" name="circle"></cx-icon> `;
3260
3318
  case "bad":
3261
- return o` <cx-icon variant="filled" name="circle"></cx-icon> `;
3319
+ return n` <cx-icon variant="filled" name="circle"></cx-icon> `;
3262
3320
  }
3263
3321
  }, i = () => {
3264
3322
  switch (this.assetIndexSyncStatus) {
3265
3323
  case "loaded":
3266
- return o`
3324
+ return n`
3267
3325
  <cx-icon variant="filled" name="check_circle"></cx-icon>
3268
3326
  `;
3269
3327
  case "loading":
3270
- return o` <cx-icon variant="filled" name="cached"></cx-icon> `;
3328
+ return n` <cx-icon variant="filled" name="cached"></cx-icon> `;
3271
3329
  case "error":
3272
- return o` <cx-icon variant="filled" name="error"></cx-icon> `;
3330
+ return n` <cx-icon variant="filled" name="error"></cx-icon> `;
3273
3331
  }
3274
- }, a = o`<div
3332
+ }, a = n`<div
3275
3333
  class=${C({
3276
3334
  "connection-status": !0,
3277
3335
  "connection-status--bad": this.connectionStatus === "bad",
@@ -3296,7 +3354,7 @@ let r = class extends H {
3296
3354
  </div>
3297
3355
  </cx-tooltip>
3298
3356
  </div>`, s = this.settings.cacheUsage >= this.settings.cacheSize;
3299
- return o`
3357
+ return n`
3300
3358
  <cx-divider class="status-footer__divider"></cx-divider>
3301
3359
  <div class="status-footer">
3302
3360
  <div class="connected-url">
@@ -3323,7 +3381,7 @@ let r = class extends H {
3323
3381
  </cx-typography>
3324
3382
  <div class="value">
3325
3383
  <cx-typography variant="small">
3326
- ${ue[this.assetIndexSyncStatus]}
3384
+ ${me[this.assetIndexSyncStatus]}
3327
3385
  </cx-typography>
3328
3386
  ${i()}
3329
3387
  </div>
@@ -3341,7 +3399,7 @@ let r = class extends H {
3341
3399
  <cx-format-bytes .value=${this.settings.cacheSize}></cx-format-bytes>
3342
3400
  </cx-typography>
3343
3401
  </cx-line-clamp>
3344
- ${p(s, () => o`<cx-icon class="cache-usage__warning-icon" name="warning" variant="filled"></cx-icon>`)}
3402
+ ${p(s, () => n`<cx-icon class="cache-usage__warning-icon" name="warning" variant="filled"></cx-icon>`)}
3345
3403
  </cx-space>
3346
3404
  </cx-tooltip>
3347
3405
  </div>
@@ -3355,7 +3413,7 @@ let r = class extends H {
3355
3413
  K(e) || (this.validConnectionUrl = !1);
3356
3414
  }
3357
3415
  renderWelcomeView() {
3358
- return o`
3416
+ return n`
3359
3417
  <div class="welcome">
3360
3418
  <div class="welcome__message">
3361
3419
  <cx-typography variant="h5">
@@ -3418,14 +3476,14 @@ let r = class extends H {
3418
3476
  return this.connectionEstablished ? this.isSettingsOpened ? this.renderSettingsView() : this.renderAssetsView() : this.renderWelcomeView();
3419
3477
  }
3420
3478
  renderLoadingOverlay() {
3421
- return o`
3479
+ return n`
3422
3480
  <div class="loading-overlay">
3423
3481
  <cx-spinner></cx-spinner>
3424
3482
  </div>
3425
3483
  `;
3426
3484
  }
3427
3485
  render() {
3428
- return o`
3486
+ return n`
3429
3487
  <div
3430
3488
  class=${C({
3431
3489
  container: !0,
@@ -3440,115 +3498,115 @@ let r = class extends H {
3440
3498
  }
3441
3499
  // #endregion
3442
3500
  };
3443
- r.styles = Oe;
3501
+ r.styles = Ze;
3444
3502
  r.dependencies = {
3445
- "cx-avatar": Ot,
3446
- "cx-button": Nt,
3447
- "cx-confirm-popover": Kt,
3448
- "cx-dialog": jt,
3449
- "cx-divider": Bt,
3503
+ "cx-avatar": Mt,
3504
+ "cx-button": Vt,
3505
+ "cx-confirm-popover": Qt,
3506
+ "cx-dialog": Ht,
3507
+ "cx-divider": Wt,
3450
3508
  "cx-file-on-demand-asset": L,
3451
3509
  "cx-folder-tree": b,
3452
3510
  "cx-format-bytes": ot,
3453
3511
  "cx-icon": J,
3454
- "cx-icon-button": It,
3455
- "cx-input": Mt,
3512
+ "cx-icon-button": Ct,
3513
+ "cx-input": qt,
3456
3514
  "cx-line-clamp": Q,
3457
- "cx-option": Vt,
3458
- "cx-relative-time": St,
3459
- "cx-select": Ht,
3460
- "cx-space": Wt,
3461
- "cx-tab": qt,
3462
- "cx-tab-group": Gt,
3463
- "cx-tab-panel": Yt,
3464
- "cx-tooltip": wt,
3465
- "cx-tree": yt,
3466
- "cx-tree-item": ft,
3515
+ "cx-option": Gt,
3516
+ "cx-relative-time": At,
3517
+ "cx-select": Yt,
3518
+ "cx-space": Kt,
3519
+ "cx-tab": Xt,
3520
+ "cx-tab-group": Zt,
3521
+ "cx-tab-panel": Jt,
3522
+ "cx-tooltip": Dt,
3523
+ "cx-tree": $t,
3524
+ "cx-tree-item": yt,
3467
3525
  "cx-typography": nt
3468
3526
  };
3469
- c([
3527
+ l([
3470
3528
  z(".container")
3471
3529
  ], r.prototype, "container", 2);
3472
- c([
3530
+ l([
3473
3531
  z("cx-folder-tree")
3474
3532
  ], r.prototype, "folderTree", 2);
3475
- c([
3533
+ l([
3476
3534
  z("cx-dialog")
3477
3535
  ], r.prototype, "dialog", 2);
3478
- c([
3536
+ l([
3479
3537
  z(".recent__list")
3480
3538
  ], r.prototype, "recentAssetsList", 2);
3481
- c([
3539
+ l([
3482
3540
  z(".favorites__list")
3483
3541
  ], r.prototype, "favoritesAssetsList", 2);
3484
- c([
3542
+ l([
3485
3543
  z(".uploads__list")
3486
3544
  ], r.prototype, "uploadsAssetsList", 2);
3487
- c([
3545
+ l([
3488
3546
  z(".pinned__list")
3489
3547
  ], r.prototype, "pinnedAssetsList", 2);
3490
- c([
3548
+ l([
3491
3549
  z(".assets-list__tab-group")
3492
3550
  ], r.prototype, "assetsListTabGroup", 2);
3493
- c([
3551
+ l([
3494
3552
  z(".settings__cache__location__value__text")
3495
3553
  ], r.prototype, "cacheLocationValueText", 2);
3496
- c([
3554
+ l([
3497
3555
  d({
3498
3556
  attribute: "connection-established",
3499
3557
  type: Boolean
3500
3558
  })
3501
3559
  ], r.prototype, "connectionEstablished", 2);
3502
- c([
3560
+ l([
3503
3561
  d({
3504
3562
  attribute: "connection-status",
3505
3563
  reflect: !0,
3506
3564
  type: String
3507
3565
  })
3508
3566
  ], r.prototype, "connectionStatus", 2);
3509
- c([
3567
+ l([
3510
3568
  d({
3511
3569
  attribute: "connection-status-tooltip",
3512
3570
  type: String
3513
3571
  })
3514
3572
  ], r.prototype, "connectionStatusTooltip", 2);
3515
- c([
3573
+ l([
3516
3574
  d({
3517
3575
  attribute: "asset-index-sync-status",
3518
3576
  reflect: !0,
3519
3577
  type: String
3520
3578
  })
3521
3579
  ], r.prototype, "assetIndexSyncStatus", 2);
3522
- c([
3580
+ l([
3523
3581
  d({
3524
3582
  attribute: "user-avatar-url",
3525
3583
  type: String
3526
3584
  })
3527
3585
  ], r.prototype, "userAvatarUrl", 2);
3528
- c([
3586
+ l([
3529
3587
  d({
3530
3588
  type: String
3531
3589
  })
3532
3590
  ], r.prototype, "username", 2);
3533
- c([
3591
+ l([
3534
3592
  d({
3535
3593
  attribute: "recent-assets",
3536
3594
  type: Object
3537
3595
  })
3538
3596
  ], r.prototype, "recentAssets", 2);
3539
- c([
3597
+ l([
3540
3598
  d({
3541
3599
  attribute: "favorite-assets",
3542
3600
  type: Object
3543
3601
  })
3544
3602
  ], r.prototype, "favoriteAssets", 2);
3545
- c([
3603
+ l([
3546
3604
  d({
3547
3605
  attribute: "favorite-last-sync",
3548
3606
  type: Number
3549
3607
  })
3550
3608
  ], r.prototype, "favoritesLastSync", 2);
3551
- c([
3609
+ l([
3552
3610
  d({
3553
3611
  attribute: "favorite-in-progress-assets",
3554
3612
  converter: {
@@ -3558,7 +3616,7 @@ c([
3558
3616
  type: String
3559
3617
  })
3560
3618
  ], r.prototype, "favoriteInProgressAssets", 2);
3561
- c([
3619
+ l([
3562
3620
  d({
3563
3621
  attribute: "pin-in-progress-assets",
3564
3622
  converter: {
@@ -3568,173 +3626,177 @@ c([
3568
3626
  type: String
3569
3627
  })
3570
3628
  ], r.prototype, "pinInProgressAssets", 2);
3571
- c([
3629
+ l([
3572
3630
  d({
3573
3631
  attribute: "uploading-assets",
3574
3632
  type: Object
3575
3633
  })
3576
3634
  ], r.prototype, "uploadingAssets", 2);
3577
- c([
3635
+ l([
3578
3636
  d({
3579
3637
  attribute: "pinned-assets",
3580
3638
  type: Object
3581
3639
  })
3582
3640
  ], r.prototype, "pinnedAssets", 2);
3583
- c([
3641
+ l([
3584
3642
  u()
3585
3643
  ], r.prototype, "availableFolderIdentifiers", 2);
3586
- c([
3644
+ l([
3587
3645
  u()
3588
3646
  ], r.prototype, "isLoading", 2);
3589
- c([
3647
+ l([
3590
3648
  d({
3591
3649
  attribute: "settings",
3592
3650
  type: Object
3593
3651
  })
3594
3652
  ], r.prototype, "settings", 2);
3595
- c([
3653
+ l([
3596
3654
  d({ attribute: "pick-cache-location", type: Function })
3597
3655
  ], r.prototype, "pickCacheLocation", 2);
3598
- c([
3656
+ l([
3599
3657
  d({
3600
3658
  attribute: "has-new-version",
3601
3659
  type: Boolean
3602
3660
  })
3603
3661
  ], r.prototype, "hasNewVersion", 2);
3604
- c([
3662
+ l([
3605
3663
  d({
3606
3664
  attribute: "about-content",
3607
3665
  type: String
3608
3666
  })
3609
3667
  ], r.prototype, "aboutContent", 2);
3610
- c([
3668
+ l([
3611
3669
  d({ type: String })
3612
3670
  ], r.prototype, "token", 2);
3613
- c([
3671
+ l([
3614
3672
  d({
3615
3673
  attribute: "user-interaction-blocked",
3616
3674
  type: Boolean
3617
3675
  })
3618
3676
  ], r.prototype, "userInteractionBlocked", 2);
3619
- c([
3677
+ l([
3620
3678
  d({
3621
3679
  attribute: "is-connecting",
3622
3680
  type: Boolean
3623
3681
  })
3624
3682
  ], r.prototype, "isConnecting", 2);
3625
- c([
3683
+ l([
3626
3684
  d({
3627
3685
  attribute: "is-cancelling-connection",
3628
3686
  type: Boolean
3629
3687
  })
3630
3688
  ], r.prototype, "isCancellingConnection", 2);
3631
- c([
3689
+ l([
3632
3690
  d({
3633
3691
  attribute: "is-disconnecting",
3634
3692
  type: Boolean
3635
3693
  })
3636
3694
  ], r.prototype, "isDisconnecting", 2);
3637
- c([
3695
+ l([
3638
3696
  d({
3639
3697
  attribute: "is-upgrading",
3640
3698
  type: Boolean
3641
3699
  })
3642
3700
  ], r.prototype, "isUpgrading", 2);
3643
- c([
3701
+ l([
3644
3702
  u()
3645
3703
  ], r.prototype, "isSettingsOpened", 2);
3646
- c([
3704
+ l([
3647
3705
  u()
3648
3706
  ], r.prototype, "rootIDs", 2);
3649
- c([
3707
+ l([
3650
3708
  u()
3651
3709
  ], r.prototype, "_activeFoldersMode", 2);
3652
- c([
3710
+ l([
3653
3711
  u()
3654
3712
  ], r.prototype, "removedIds", 2);
3655
- c([
3713
+ l([
3656
3714
  u()
3657
3715
  ], r.prototype, "cacheSize", 2);
3658
- c([
3716
+ l([
3659
3717
  u()
3660
3718
  ], r.prototype, "cacheLocation", 2);
3661
- c([
3719
+ l([
3662
3720
  u()
3663
3721
  ], r.prototype, "proxyTypes", 2);
3664
- c([
3722
+ l([
3665
3723
  u()
3666
3724
  ], r.prototype, "siteUrl", 2);
3667
- c([
3725
+ l([
3668
3726
  u()
3669
3727
  ], r.prototype, "isRecentAssetsLoading", 2);
3670
- c([
3728
+ l([
3671
3729
  u()
3672
3730
  ], r.prototype, "isFavoriteAssetsLoading", 2);
3673
- c([
3731
+ l([
3674
3732
  u()
3675
3733
  ], r.prototype, "isUploadingAssetsLoading", 2);
3676
- c([
3734
+ l([
3677
3735
  u()
3678
3736
  ], r.prototype, "isPinnedAssetsLoading", 2);
3679
- c([
3737
+ l([
3680
3738
  u()
3681
3739
  ], r.prototype, "connectError", 2);
3682
- c([
3740
+ l([
3683
3741
  u()
3684
3742
  ], r.prototype, "disconnectError", 2);
3685
- c([
3743
+ l([
3686
3744
  u()
3687
3745
  ], r.prototype, "upgradeError", 2);
3688
- c([
3746
+ l([
3689
3747
  u()
3690
3748
  ], r.prototype, "totalCount", 2);
3691
- c([
3749
+ l([
3692
3750
  u()
3693
3751
  ], r.prototype, "folderPathsSet", 2);
3694
- c([
3752
+ l([
3695
3753
  u()
3696
3754
  ], r.prototype, "validConnectionUrl", 2);
3697
- c([
3755
+ l([
3698
3756
  u()
3699
3757
  ], r.prototype, "isAddingRootIDs", 2);
3700
- c([
3758
+ l([
3701
3759
  P(["connectionEstablished", "token"])
3702
3760
  ], r.prototype, "fetchData", 1);
3703
- c([
3761
+ l([
3704
3762
  P(["connectionEstablished"])
3705
3763
  ], r.prototype, "showRecentTab", 1);
3706
- c([
3764
+ l([
3707
3765
  P("settings")
3708
3766
  ], r.prototype, "updateSettingsStates", 1);
3709
- c([
3767
+ l([
3710
3768
  P("recentAssets")
3711
3769
  ], r.prototype, "onRecentAssetsChanged", 1);
3712
- c([
3770
+ l([
3713
3771
  P("pinnedAssets")
3714
3772
  ], r.prototype, "onPinnedAssetsChanged", 1);
3715
- c([
3773
+ l([
3716
3774
  P("favoriteAssets")
3717
3775
  ], r.prototype, "onFavoriteAssetsChanged", 1);
3718
- c([
3776
+ l([
3719
3777
  P("uploadingAssets")
3720
3778
  ], r.prototype, "onUploadingAssetsChanged", 1);
3721
- c([
3779
+ l([
3722
3780
  u()
3723
3781
  ], r.prototype, "searchText", 2);
3724
- c([
3782
+ l([
3725
3783
  P(["searchText"]),
3726
- Xt(200)
3784
+ te(200)
3727
3785
  ], r.prototype, "onSearch", 1);
3728
- c([
3786
+ l([
3729
3787
  P("cacheLocation")
3730
3788
  ], r.prototype, "handleCacheLocationChange", 1);
3731
- r = c([
3789
+ r = l([
3732
3790
  W("cx-file-on-demand")
3733
3791
  ], r);
3734
3792
  export {
3735
3793
  r as C,
3736
- De as a,
3737
- Pe as b,
3738
- ze as c,
3739
- Ee as i
3794
+ Ve as a,
3795
+ Ne as b,
3796
+ Be as c,
3797
+ ft as d,
3798
+ He as e,
3799
+ We as i,
3800
+ ze as o,
3801
+ Oe as s
3740
3802
  };