@trops/dash-core 0.1.790 → 0.1.791

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -2,7 +2,7 @@ import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
2
2
  import _typeof from '@babel/runtime/helpers/typeof';
3
3
  import _defineProperty from '@babel/runtime/helpers/defineProperty';
4
4
  import * as DashReact from '@trops/dash-react';
5
- import { isObject as isObject$1, ThemeContext, FontAwesomeIcon, Modal, deepCopy, MainSection, getUUID, getStylesForItem, themeObjects, Heading, SearchInput, ButtonIcon, SubHeading3, InputText, Button, Tag, Button3, Button2, Paragraph, Sidebar, Panel, Stepper, Tag3, Card2, Card3, Heading3, MenuItem3, FormLabel, SelectMenu, Switch, SelectInput, CodeEditorVS, SettingsModal, SubHeading2, tailwindHeightFractions, Menu3, Panel3, useStatusTokens, ButtonIcon3, DropdownPanel, MenuItem2, Caption2, StatusBadge as StatusBadge$1, ConfirmationModal, DropComponent, DragComponent, getStyleName, capitalizeFirstLetter, isHexColor as isHexColor$1, deriveShades, colorTypes, TAILWIND_PALETTE, Toggle, normalizeHex as normalizeHex$1, contrastRatio, Caption, getColorFamilies, getCuratedColorGrid, DashPanel, hexToRgb as hexToRgb$1, themeVariants, SubHeading, Heading2, Paragraph2, Paragraph3, ButtonIcon2, Tag2, Alert, Alert2, Alert3, Toast, Toast2, Toast3, ProgressBar, ProgressBar2, ProgressBar3, MenuItem, Breadcrumbs, Breadcrumbs2, Breadcrumbs3, Caption3, Code, Code2, Code3, Divider, Divider2, Divider3, DashPanel2, DashPanel3, Tabs, Tabs2, Tabs3, Accordion, Accordion2, Accordion3, Toggle2, Toggle3, TextArea, Checkbox, Slider, RadioGroup, AlertBanner, Skeleton, StatCard, DataList, EmptyState, Card, Panel2, ThemeFromUrlPane, ListRow, AlgoliaSearchBox, CodeEditorInline, Icon2, SectionLabel, SegmentedControl, ChatMessage, ChatComposer, useResizableWidth, ResizeHandle, PanelHeader, ChoiceMenu, CommandPalette, useSidebar, ChatToolCall, FilterMenu, Navbar, withRouter, Menu as Menu$1 } from '@trops/dash-react';
5
+ import { isObject as isObject$1, ThemeContext, FontAwesomeIcon, Modal, deepCopy, MainSection, getUUID, getStylesForItem, themeObjects, Heading, SearchInput, ButtonIcon, SubHeading3, InputText, Button, Tag, Button3, Button2, Paragraph, Sidebar, Panel, Stepper, AlertBanner, Tag3, Card2, Card3, Heading3, MenuItem3, FormLabel, SelectMenu, Switch, SelectInput, CodeEditorVS, SettingsModal, SubHeading2, tailwindHeightFractions, Menu3, Panel3, useStatusTokens, ButtonIcon3, DropdownPanel, MenuItem2, Caption2, StatusBadge as StatusBadge$1, ConfirmationModal, DropComponent, DragComponent, getStyleName, capitalizeFirstLetter, isHexColor as isHexColor$1, deriveShades, colorTypes, TAILWIND_PALETTE, Toggle, normalizeHex as normalizeHex$1, contrastRatio, Caption, getColorFamilies, getCuratedColorGrid, DashPanel, hexToRgb as hexToRgb$1, themeVariants, SubHeading, Heading2, Paragraph2, Paragraph3, ButtonIcon2, Tag2, Alert, Alert2, Alert3, Toast, Toast2, Toast3, ProgressBar, ProgressBar2, ProgressBar3, MenuItem, Breadcrumbs, Breadcrumbs2, Breadcrumbs3, Caption3, Code, Code2, Code3, Divider, Divider2, Divider3, DashPanel2, DashPanel3, Tabs, Tabs2, Tabs3, Accordion, Accordion2, Accordion3, Toggle2, Toggle3, TextArea, Checkbox, Slider, RadioGroup, Skeleton, StatCard, DataList, EmptyState, Card, Panel2, ThemeFromUrlPane, ListRow, AlgoliaSearchBox, CodeEditorInline, Icon2, SectionLabel, SegmentedControl, ChatMessage, ChatComposer, useResizableWidth, ResizeHandle, PanelHeader, ChoiceMenu, CommandPalette, useSidebar, ChatToolCall, FilterMenu, Navbar, withRouter, Menu as Menu$1 } from '@trops/dash-react';
6
6
  export * from '@trops/dash-react';
7
7
  export { FontAwesomeIcon, ThemeContext } from '@trops/dash-react';
8
8
  import _objectWithoutProperties from '@babel/runtime/helpers/objectWithoutProperties';
@@ -1357,6 +1357,12 @@ var ElectronDashboardApi = /*#__PURE__*/function () {
1357
1357
  try {
1358
1358
  // Handle the promise returned by the IPC call
1359
1359
  this.api.workspace.saveWorkspaceForApplication(appId, workspaceToSave).then(function (result) {
1360
+ // A failed write comes back as { error: true, message }, not a
1361
+ // rejection — it's an error, never a save.
1362
+ if (result && result.error) {
1363
+ onError(_this8.events.WORKSPACE_SAVE_ERROR, new Error(result.message || "The dashboard wasn't saved."));
1364
+ return;
1365
+ }
1360
1366
  onSuccess(_this8.events.WORKSPACE_SAVE_COMPLETE, result);
1361
1367
  })["catch"](function (error) {
1362
1368
  onError(_this8.events.WORKSPACE_SAVE_ERROR, error);
@@ -2804,9 +2810,9 @@ function draftIdOf(pkg) {
2804
2810
  return m ? m[1] : null;
2805
2811
  }
2806
2812
 
2807
- function _createForOfIteratorHelper$1b(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1b(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
2808
- function _unsupportedIterableToArray$1b(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1b(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1b(r, a) : void 0; } }
2809
- function _arrayLikeToArray$1b(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
2813
+ function _createForOfIteratorHelper$1c(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1c(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
2814
+ function _unsupportedIterableToArray$1c(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1c(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1c(r, a) : void 0; } }
2815
+ function _arrayLikeToArray$1c(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
2810
2816
 
2811
2817
  /**
2812
2818
  * Walk a workspace layout and collect widget component keys that are
@@ -2820,7 +2826,7 @@ function collectComponentsFromLayout(layout) {
2820
2826
 
2821
2827
  // Collect IDs of layout items that are actively referenced by grid cells
2822
2828
  var activeItemIds = new Set();
2823
- var _iterator = _createForOfIteratorHelper$1b(layout),
2829
+ var _iterator = _createForOfIteratorHelper$1c(layout),
2824
2830
  _step;
2825
2831
  try {
2826
2832
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -2840,7 +2846,7 @@ function collectComponentsFromLayout(layout) {
2840
2846
  } finally {
2841
2847
  _iterator.f();
2842
2848
  }
2843
- var _iterator2 = _createForOfIteratorHelper$1b(layout),
2849
+ var _iterator2 = _createForOfIteratorHelper$1c(layout),
2844
2850
  _step2;
2845
2851
  try {
2846
2852
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -2980,7 +2986,7 @@ var useInstalledWidgets = function useInstalledWidgets() {
2980
2986
  _t = [];
2981
2987
  case 4:
2982
2988
  allDrafts = _t;
2983
- _iterator4 = _createForOfIteratorHelper$1b(allDrafts);
2989
+ _iterator4 = _createForOfIteratorHelper$1c(allDrafts);
2984
2990
  try {
2985
2991
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
2986
2992
  d = _step4.value;
@@ -3154,9 +3160,9 @@ var useInstalledWidgets = function useInstalledWidgets() {
3154
3160
  };
3155
3161
  };
3156
3162
 
3157
- function _createForOfIteratorHelper$1a(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1a(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
3158
- function _unsupportedIterableToArray$1a(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1a(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1a(r, a) : void 0; } }
3159
- function _arrayLikeToArray$1a(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3163
+ function _createForOfIteratorHelper$1b(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1b(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
3164
+ function _unsupportedIterableToArray$1b(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1b(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1b(r, a) : void 0; } }
3165
+ function _arrayLikeToArray$1b(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3160
3166
  function ownKeys$1N(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3161
3167
  function _objectSpread$1N(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1N(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1N(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3162
3168
  /**
@@ -3252,7 +3258,7 @@ function normalizeRow(row, labelToType) {
3252
3258
  function unionDedupe(a, b) {
3253
3259
  var out = new Set(Array.isArray(a) ? a : []);
3254
3260
  if (Array.isArray(b)) {
3255
- var _iterator = _createForOfIteratorHelper$1a(b),
3261
+ var _iterator = _createForOfIteratorHelper$1b(b),
3256
3262
  _step;
3257
3263
  try {
3258
3264
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -3285,9 +3291,9 @@ function cleanIpcError(message) {
3285
3291
  return match ? match[1] : message;
3286
3292
  }
3287
3293
 
3288
- function _createForOfIteratorHelper$19(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$19(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
3289
- function _unsupportedIterableToArray$19(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$19(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$19(r, a) : void 0; } }
3290
- function _arrayLikeToArray$19(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3294
+ function _createForOfIteratorHelper$1a(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1a(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
3295
+ function _unsupportedIterableToArray$1a(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1a(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$1a(r, a) : void 0; } }
3296
+ function _arrayLikeToArray$1a(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
3291
3297
  function ownKeys$1M(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
3292
3298
  function _objectSpread$1M(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1M(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1M(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3293
3299
 
@@ -3819,7 +3825,7 @@ function useWidgetUpdates() {
3819
3825
  // (install replaces the entire package, not just one widget)
3820
3826
  setUpdates(function (prev) {
3821
3827
  var next = new Map(prev);
3822
- var _iterator = _createForOfIteratorHelper$19(next),
3828
+ var _iterator = _createForOfIteratorHelper$1a(next),
3823
3829
  _step;
3824
3830
  try {
3825
3831
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -3877,7 +3883,7 @@ function useWidgetUpdates() {
3877
3883
  var liveUpdates = useMemo(function () {
3878
3884
  if (!updates || updates.size === 0) return updates;
3879
3885
  var installedVersion = new Map();
3880
- var _iterator2 = _createForOfIteratorHelper$19(installedWidgets),
3886
+ var _iterator2 = _createForOfIteratorHelper$1a(installedWidgets),
3881
3887
  _step2;
3882
3888
  try {
3883
3889
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -3891,7 +3897,7 @@ function useWidgetUpdates() {
3891
3897
  _iterator2.f();
3892
3898
  }
3893
3899
  var live = new Map();
3894
- var _iterator3 = _createForOfIteratorHelper$19(updates),
3900
+ var _iterator3 = _createForOfIteratorHelper$1a(updates),
3895
3901
  _step3;
3896
3902
  try {
3897
3903
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -3919,7 +3925,7 @@ function useWidgetUpdates() {
3919
3925
  var packagesWithUpdates = useMemo(function () {
3920
3926
  if (!liveUpdates || liveUpdates.size === 0) return [];
3921
3927
  var byPackage = new Map();
3922
- var _iterator4 = _createForOfIteratorHelper$19(liveUpdates),
3928
+ var _iterator4 = _createForOfIteratorHelper$1a(liveUpdates),
3923
3929
  _step4;
3924
3930
  try {
3925
3931
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -3947,7 +3953,7 @@ function useWidgetUpdates() {
3947
3953
  } finally {
3948
3954
  _iterator4.f();
3949
3955
  }
3950
- var _iterator5 = _createForOfIteratorHelper$19(installedWidgets),
3956
+ var _iterator5 = _createForOfIteratorHelper$1a(installedWidgets),
3951
3957
  _step5;
3952
3958
  try {
3953
3959
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -4078,7 +4084,7 @@ function useWidgetUpdates() {
4078
4084
  // packageId) → grant rows (which are keyed by widgetId like
4079
4085
  // `trops.slack.SlackChannels`).
4080
4086
  rowByComponentName = new Map();
4081
- _iterator6 = _createForOfIteratorHelper$19(allRows);
4087
+ _iterator6 = _createForOfIteratorHelper$1a(allRows);
4082
4088
  try {
4083
4089
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
4084
4090
  r = _step6.value;
@@ -4091,7 +4097,7 @@ function useWidgetUpdates() {
4091
4097
  _iterator6.f();
4092
4098
  }
4093
4099
  widgetsWithMissing = [];
4094
- _iterator7 = _createForOfIteratorHelper$19(manifests);
4100
+ _iterator7 = _createForOfIteratorHelper$1a(manifests);
4095
4101
  _context5.prev = 8;
4096
4102
  _loop = /*#__PURE__*/_regeneratorRuntime.mark(function _loop() {
4097
4103
  var _manifest$permissions, _manifest$permissions2;
@@ -4116,7 +4122,7 @@ function useWidgetUpdates() {
4116
4122
  pkgWidgets = installedWidgets.filter(function (w) {
4117
4123
  return (w.packageId || w.name) === packageId;
4118
4124
  });
4119
- _iterator8 = _createForOfIteratorHelper$19(pkgWidgets);
4125
+ _iterator8 = _createForOfIteratorHelper$1a(pkgWidgets);
4120
4126
  _context4.prev = 2;
4121
4127
  _iterator8.s();
4122
4128
  case 3:
@@ -4232,7 +4238,7 @@ function useWidgetUpdates() {
4232
4238
  // Seed every selected package as pending so the modal renders
4233
4239
  // the full per-row state from the first paint.
4234
4240
  initial = new Map();
4235
- _iterator9 = _createForOfIteratorHelper$19(packageNames);
4241
+ _iterator9 = _createForOfIteratorHelper$1a(packageNames);
4236
4242
  try {
4237
4243
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
4238
4244
  name = _step9.value;
@@ -4292,7 +4298,7 @@ function useWidgetUpdates() {
4292
4298
  // loop so the freshly-installed code can immediately use
4293
4299
  // what was approved (and is gated from what wasn't).
4294
4300
  accepted = decision.acceptedByWidgetId || {};
4295
- _iterator0 = _createForOfIteratorHelper$19(preflight.widgets);
4301
+ _iterator0 = _createForOfIteratorHelper$1a(preflight.widgets);
4296
4302
  _context7.prev = 6;
4297
4303
  _iterator0.s();
4298
4304
  case 7:
@@ -4376,7 +4382,7 @@ function useWidgetUpdates() {
4376
4382
  // e.g. a stale registry zip or a verify mismatch).
4377
4383
  failedDetails = [];
4378
4384
  _context7.prev = 19;
4379
- _iterator1 = _createForOfIteratorHelper$19(packageNames);
4385
+ _iterator1 = _createForOfIteratorHelper$1a(packageNames);
4380
4386
  _context7.prev = 20;
4381
4387
  _loop2 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop2() {
4382
4388
  var pkgName, msg, _t0;
@@ -4483,7 +4489,7 @@ function useWidgetUpdates() {
4483
4489
  succeededSet = new Set(succeeded);
4484
4490
  setUpdates(function (prev) {
4485
4491
  var next = new Map(prev);
4486
- var _iterator10 = _createForOfIteratorHelper$19(next),
4492
+ var _iterator10 = _createForOfIteratorHelper$1a(next),
4487
4493
  _step10;
4488
4494
  try {
4489
4495
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
@@ -4877,9 +4883,9 @@ function useRegistryAuth() {
4877
4883
 
4878
4884
  function ownKeys$1K(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
4879
4885
  function _objectSpread$1K(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1K(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1K(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
4880
- function _createForOfIteratorHelper$18(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$18(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
4881
- function _unsupportedIterableToArray$18(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$18(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$18(r, a) : void 0; } }
4882
- function _arrayLikeToArray$18(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
4886
+ function _createForOfIteratorHelper$19(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$19(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
4887
+ function _unsupportedIterableToArray$19(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$19(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$19(r, a) : void 0; } }
4888
+ function _arrayLikeToArray$19(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
4883
4889
  var secondaryBtnClass$1 = "px-3 py-2 text-sm font-medium rounded bg-gray-700 hover:bg-gray-600 disabled:bg-gray-800 disabled:text-gray-500 disabled:cursor-not-allowed text-gray-100";
4884
4890
  var primaryBtnClass$1 = "px-3 py-2 text-sm font-medium rounded bg-blue-600 hover:bg-blue-500 disabled:bg-gray-700 disabled:text-gray-500 disabled:cursor-not-allowed text-white";
4885
4891
 
@@ -4899,7 +4905,7 @@ function flattenPreflightLines(missing) {
4899
4905
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
4900
4906
  serverName = _Object$entries$_i[0],
4901
4907
  perms = _Object$entries$_i[1];
4902
- var _iterator = _createForOfIteratorHelper$18(perms.tools || []),
4908
+ var _iterator = _createForOfIteratorHelper$19(perms.tools || []),
4903
4909
  _step;
4904
4910
  try {
4905
4911
  var _loop2 = function _loop2() {
@@ -4928,7 +4934,7 @@ function flattenPreflightLines(missing) {
4928
4934
  } finally {
4929
4935
  _iterator.f();
4930
4936
  }
4931
- var _iterator2 = _createForOfIteratorHelper$18(perms.readPaths || []),
4937
+ var _iterator2 = _createForOfIteratorHelper$19(perms.readPaths || []),
4932
4938
  _step2;
4933
4939
  try {
4934
4940
  var _loop3 = function _loop3() {
@@ -4955,7 +4961,7 @@ function flattenPreflightLines(missing) {
4955
4961
  } finally {
4956
4962
  _iterator2.f();
4957
4963
  }
4958
- var _iterator3 = _createForOfIteratorHelper$18(perms.writePaths || []),
4964
+ var _iterator3 = _createForOfIteratorHelper$19(perms.writePaths || []),
4959
4965
  _step3;
4960
4966
  try {
4961
4967
  var _loop4 = function _loop4() {
@@ -5007,13 +5013,13 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5007
5013
  var _pendingPreflight$wid;
5008
5014
  if (!pendingPreflight || !((_pendingPreflight$wid = pendingPreflight.widgets) !== null && _pendingPreflight$wid !== void 0 && _pendingPreflight$wid.length)) return;
5009
5015
  var initial = {};
5010
- var _iterator4 = _createForOfIteratorHelper$18(pendingPreflight.widgets),
5016
+ var _iterator4 = _createForOfIteratorHelper$19(pendingPreflight.widgets),
5011
5017
  _step4;
5012
5018
  try {
5013
5019
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
5014
5020
  var w = _step4.value;
5015
5021
  initial[w.widgetId] = {};
5016
- var _iterator5 = _createForOfIteratorHelper$18(flattenPreflightLines(w.missing)),
5022
+ var _iterator5 = _createForOfIteratorHelper$19(flattenPreflightLines(w.missing)),
5017
5023
  _step5;
5018
5024
  try {
5019
5025
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -5050,7 +5056,7 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5050
5056
  // Build the per-widget addition blob from checked lines. Skip
5051
5057
  // widgets where the user unchecked everything.
5052
5058
  var acceptedByWidgetId = {};
5053
- var _iterator6 = _createForOfIteratorHelper$18(widgets),
5059
+ var _iterator6 = _createForOfIteratorHelper$19(widgets),
5054
5060
  _step6;
5055
5061
  try {
5056
5062
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -5058,7 +5064,7 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5058
5064
  var _lines = flattenPreflightLines(w.missing);
5059
5065
  var acc = {};
5060
5066
  var any = false;
5061
- var _iterator7 = _createForOfIteratorHelper$18(_lines),
5067
+ var _iterator7 = _createForOfIteratorHelper$19(_lines),
5062
5068
  _step7;
5063
5069
  try {
5064
5070
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -6346,9 +6352,9 @@ var LayoutContainer = function LayoutContainer(_ref) {
6346
6352
 
6347
6353
  function ownKeys$1H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
6348
6354
  function _objectSpread$1H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
6349
- function _createForOfIteratorHelper$17(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$17(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
6350
- function _unsupportedIterableToArray$17(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$17(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$17(r, a) : void 0; } }
6351
- function _arrayLikeToArray$17(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
6355
+ function _createForOfIteratorHelper$18(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$18(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
6356
+ function _unsupportedIterableToArray$18(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$18(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$18(r, a) : void 0; } }
6357
+ function _arrayLikeToArray$18(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
6352
6358
  /**
6353
6359
  * Layout template definitions for the dashboard template picker.
6354
6360
  *
@@ -6622,7 +6628,7 @@ function createLayoutFromTemplate(template) {
6622
6628
  cols: template.cols,
6623
6629
  gap: "gap-2"
6624
6630
  };
6625
- var _iterator = _createForOfIteratorHelper$17(template.cells),
6631
+ var _iterator = _createForOfIteratorHelper$18(template.cells),
6626
6632
  _step;
6627
6633
  try {
6628
6634
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -7699,9 +7705,35 @@ function installedText(result, fallbackName) {
7699
7705
  return text;
7700
7706
  }
7701
7707
 
7702
- function _createForOfIteratorHelper$16(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$16(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
7703
- function _unsupportedIterableToArray$16(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$16(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$16(r, a) : void 0; } }
7704
- function _arrayLikeToArray$16(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
7708
+ /**
7709
+ * Compatibility helpers for installing a registry dashboard.
7710
+ */
7711
+
7712
+ /** The key a widget dependency has in compatibility.widgets. */
7713
+ function depKeyFor(dep) {
7714
+ return dep.scope && dep.packageName && dep.widgetName ? "".concat(dep.scope, ".").concat(dep.packageName, ".").concat(dep.widgetName) : dep.id || dep["package"] || dep.name;
7715
+ }
7716
+
7717
+ /**
7718
+ * Names of the required widgets that can't be installed — Install is blocked
7719
+ * while there are any (Phase 1e). No check yet, or a compatible one, blocks
7720
+ * nothing.
7721
+ */
7722
+ function unavailableRequiredWidgets(widgetDeps, compatibility) {
7723
+ if (!compatibility || compatibility.compatible !== false) return [];
7724
+ return (widgetDeps || []).filter(function (dep) {
7725
+ return dep.required !== false;
7726
+ }).filter(function (dep) {
7727
+ var status = (compatibility.widgets || {})[depKeyFor(dep)];
7728
+ return status !== "installed" && status !== "available";
7729
+ }).map(function (dep) {
7730
+ return dep.displayName || dep.name || dep.packageName;
7731
+ });
7732
+ }
7733
+
7734
+ function _createForOfIteratorHelper$17(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$17(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
7735
+ function _unsupportedIterableToArray$17(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$17(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$17(r, a) : void 0; } }
7736
+ function _arrayLikeToArray$17(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
7705
7737
  function ownKeys$1G(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
7706
7738
  function _objectSpread$1G(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1G(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1G(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7707
7739
  var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
@@ -8068,7 +8100,7 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
8068
8100
  toInstall = 0,
8069
8101
  unavailable = 0,
8070
8102
  hasUnavailableRequired = false;
8071
- var _iterator = _createForOfIteratorHelper$16(widgetDeps),
8103
+ var _iterator = _createForOfIteratorHelper$17(widgetDeps),
8072
8104
  _step;
8073
8105
  try {
8074
8106
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -8096,6 +8128,8 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
8096
8128
  widgets: augWidgets
8097
8129
  };
8098
8130
  }();
8131
+ // Install is blocked while a required widget can't be installed (Phase 1e).
8132
+ var blockedBy = unavailableRequiredWidgets(widgetDeps, compatibility);
8099
8133
  var wiring = (preview === null || preview === void 0 ? void 0 : preview.wiring) || [];
8100
8134
  // Its bots (create-entry 5a-2, US-027 AC3): the registry's summary.
8101
8135
  var team = teamLines((preview === null || preview === void 0 ? void 0 : preview.team) || pkg.team);
@@ -8360,17 +8394,20 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
8360
8394
  })]
8361
8395
  })
8362
8396
  })]
8363
- }), (installResult === null || installResult === void 0 ? void 0 : installResult.status) !== "success" && (installResult === null || installResult === void 0 ? void 0 : installResult.status) !== "auth" && /*#__PURE__*/jsx("div", {
8364
- className: "flex items-center justify-end px-6 py-3 border-t ".concat(currentTheme["border-primary-medium"]),
8365
- children: /*#__PURE__*/jsx(Button, {
8397
+ }), (installResult === null || installResult === void 0 ? void 0 : installResult.status) !== "success" && (installResult === null || installResult === void 0 ? void 0 : installResult.status) !== "auth" && /*#__PURE__*/jsxs("div", {
8398
+ className: "flex items-center justify-end gap-3 px-6 py-3 border-t ".concat(currentTheme["border-primary-medium"]),
8399
+ children: [blockedBy.length > 0 ? /*#__PURE__*/jsxs("span", {
8400
+ className: "text-sm opacity-70 mr-auto",
8401
+ children: ["Can't install \u2014 these widgets aren't available:", " ", blockedBy.join(", "), "."]
8402
+ }) : null, /*#__PURE__*/jsx(Button, {
8366
8403
  title: isInstalling ? "Installing..." : "Install Dashboard",
8367
8404
  bgColor: "bg-blue-600",
8368
8405
  hoverBackgroundColor: isInstalling ? "" : "hover:bg-blue-700",
8369
8406
  textSize: "text-sm",
8370
8407
  padding: "py-1.5 px-4",
8371
8408
  onClick: handleInstallClick,
8372
- disabled: isInstalling
8373
- })
8409
+ disabled: isInstalling || blockedBy.length > 0
8410
+ })]
8374
8411
  }), /*#__PURE__*/jsx(DashboardInstallOptionsModal, {
8375
8412
  isOpen: showOptionsModal,
8376
8413
  setIsOpen: setShowOptionsModal,
@@ -8775,20 +8812,25 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8775
8812
  _useState14 = _slicedToArray(_useState13, 2),
8776
8813
  selectedFile = _useState14[0],
8777
8814
  setSelectedFile = _useState14[1];
8815
+ // Why the file couldn't be read or imported (Phase 1e) — never silent.
8816
+ var _useState15 = useState(null),
8817
+ _useState16 = _slicedToArray(_useState15, 2),
8818
+ importError = _useState16[0],
8819
+ setImportError = _useState16[1];
8778
8820
 
8779
8821
  // Inline new-folder form state
8780
- var _useState15 = useState(false),
8781
- _useState16 = _slicedToArray(_useState15, 2),
8782
- isCreatingFolder = _useState16[0],
8783
- setIsCreatingFolder = _useState16[1];
8784
- var _useState17 = useState(""),
8822
+ var _useState17 = useState(false),
8785
8823
  _useState18 = _slicedToArray(_useState17, 2),
8786
- newFolderName = _useState18[0],
8787
- setNewFolderName = _useState18[1];
8788
- var _useState19 = useState(null),
8824
+ isCreatingFolder = _useState18[0],
8825
+ setIsCreatingFolder = _useState18[1];
8826
+ var _useState19 = useState(""),
8789
8827
  _useState20 = _slicedToArray(_useState19, 2),
8790
- newFolderIcon = _useState20[0],
8791
- setNewFolderIcon = _useState20[1];
8828
+ newFolderName = _useState20[0],
8829
+ setNewFolderName = _useState20[1];
8830
+ var _useState21 = useState(null),
8831
+ _useState22 = _slicedToArray(_useState21, 2),
8832
+ newFolderIcon = _useState22[0],
8833
+ setNewFolderIcon = _useState22[1];
8792
8834
 
8793
8835
  // Reset state when modal opens
8794
8836
  useEffect(function () {
@@ -8809,6 +8851,7 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8809
8851
  })[0]) === null || _Object$entries$sort$ === void 0 ? void 0 : _Object$entries$sort$[0]) || null : null;
8810
8852
  setSelectedThemeKey(appThemeKey || fallback);
8811
8853
  setSelectedFile(null);
8854
+ setImportError(null);
8812
8855
  setIsCreatingFolder(false);
8813
8856
  setNewFolderName("");
8814
8857
  setNewFolderIcon(null);
@@ -8865,33 +8908,46 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8865
8908
  }
8866
8909
  function _handleImportFromFile() {
8867
8910
  _handleImportFromFile = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee() {
8868
- var result, _result$dashboardConf, _result$dashboardConf2, _result$dashboardConf3, _result$dashboardConf4;
8911
+ var _result$dashboardConf, _result$dashboardConf2, _result$dashboardConf3, _result$dashboardConf4, result, _t;
8869
8912
  return _regeneratorRuntime.wrap(function (_context) {
8870
8913
  while (1) switch (_context.prev = _context.next) {
8871
8914
  case 0:
8872
- _context.prev = 0;
8873
- _context.next = 1;
8915
+ setImportError(null);
8916
+ _context.prev = 1;
8917
+ _context.next = 2;
8874
8918
  return window.mainApi.dashboardConfig.selectDashboardFile();
8875
- case 1:
8919
+ case 2:
8876
8920
  result = _context.sent;
8877
- if (result && !result.canceled && result.success) {
8878
- setSelectedFile(result);
8879
- setDashboardName(((_result$dashboardConf = result.dashboardConfig) === null || _result$dashboardConf === void 0 || (_result$dashboardConf = _result$dashboardConf.workspace) === null || _result$dashboardConf === void 0 ? void 0 : _result$dashboardConf.name) || ((_result$dashboardConf2 = result.dashboardConfig) === null || _result$dashboardConf2 === void 0 ? void 0 : _result$dashboardConf2.name) || "");
8880
- setSelectedMenuId(((_result$dashboardConf3 = result.dashboardConfig) === null || _result$dashboardConf3 === void 0 || (_result$dashboardConf3 = _result$dashboardConf3.workspace) === null || _result$dashboardConf3 === void 0 ? void 0 : _result$dashboardConf3.menuId) || (menuItems.length > 0 ? menuItems[0].id : 1));
8881
- setSelectedThemeKey(((_result$dashboardConf4 = result.dashboardConfig) === null || _result$dashboardConf4 === void 0 || (_result$dashboardConf4 = _result$dashboardConf4.workspace) === null || _result$dashboardConf4 === void 0 ? void 0 : _result$dashboardConf4.themeKey) || null);
8882
- setActiveStep(0);
8883
- setCreationMethod("import");
8921
+ if (!(!result || result.canceled)) {
8922
+ _context.next = 3;
8923
+ break;
8884
8924
  }
8885
- _context.next = 3;
8886
- break;
8887
- case 2:
8888
- _context.prev = 2;
8889
- _context["catch"](0);
8925
+ return _context.abrupt("return");
8890
8926
  case 3:
8927
+ if (result.success) {
8928
+ _context.next = 4;
8929
+ break;
8930
+ }
8931
+ setImportError("Couldn't read that file: ".concat(result.error || "it isn't a dashboard ZIP", "."));
8932
+ return _context.abrupt("return");
8933
+ case 4:
8934
+ setSelectedFile(result);
8935
+ setDashboardName(((_result$dashboardConf = result.dashboardConfig) === null || _result$dashboardConf === void 0 || (_result$dashboardConf = _result$dashboardConf.workspace) === null || _result$dashboardConf === void 0 ? void 0 : _result$dashboardConf.name) || ((_result$dashboardConf2 = result.dashboardConfig) === null || _result$dashboardConf2 === void 0 ? void 0 : _result$dashboardConf2.name) || "");
8936
+ setSelectedMenuId(((_result$dashboardConf3 = result.dashboardConfig) === null || _result$dashboardConf3 === void 0 || (_result$dashboardConf3 = _result$dashboardConf3.workspace) === null || _result$dashboardConf3 === void 0 ? void 0 : _result$dashboardConf3.menuId) || (menuItems.length > 0 ? menuItems[0].id : 1));
8937
+ setSelectedThemeKey(((_result$dashboardConf4 = result.dashboardConfig) === null || _result$dashboardConf4 === void 0 || (_result$dashboardConf4 = _result$dashboardConf4.workspace) === null || _result$dashboardConf4 === void 0 ? void 0 : _result$dashboardConf4.themeKey) || null);
8938
+ setActiveStep(0);
8939
+ setCreationMethod("import");
8940
+ _context.next = 6;
8941
+ break;
8942
+ case 5:
8943
+ _context.prev = 5;
8944
+ _t = _context["catch"](1);
8945
+ setImportError("Couldn't open the file: ".concat(_t && _t.message || "unknown error", "."));
8946
+ case 6:
8891
8947
  case "end":
8892
8948
  return _context.stop();
8893
8949
  }
8894
- }, _callee, null, [[0, 2]]);
8950
+ }, _callee, null, [[1, 5]]);
8895
8951
  }));
8896
8952
  return _handleImportFromFile.apply(this, arguments);
8897
8953
  }
@@ -8914,7 +8970,7 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8914
8970
  }
8915
8971
  function _handleImportConfirm() {
8916
8972
  _handleImportConfirm = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee2() {
8917
- var menuId, newItem, result;
8973
+ var menuId, newItem, result, _t2;
8918
8974
  return _regeneratorRuntime.wrap(function (_context2) {
8919
8975
  while (1) switch (_context2.prev = _context2.next) {
8920
8976
  case 0:
@@ -8936,6 +8992,7 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8936
8992
  onSaveMenuItem(newItem);
8937
8993
  }
8938
8994
  }
8995
+ setImportError(null);
8939
8996
  _context2.prev = 2;
8940
8997
  _context2.next = 3;
8941
8998
  return window.mainApi.dashboardConfig.importDashboardConfig(appId, {
@@ -8953,12 +9010,15 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
8953
9010
  onOpenWorkspace(result.workspace);
8954
9011
  }
8955
9012
  handleClose();
9013
+ } else {
9014
+ setImportError("The dashboard wasn't imported: ".concat(result && result.error || "no reason given", "."));
8956
9015
  }
8957
9016
  _context2.next = 5;
8958
9017
  break;
8959
9018
  case 4:
8960
9019
  _context2.prev = 4;
8961
- _context2["catch"](2);
9020
+ _t2 = _context2["catch"](2);
9021
+ setImportError("The dashboard wasn't imported: ".concat(_t2 && _t2.message || "unknown error", "."));
8962
9022
  case 5:
8963
9023
  case "end":
8964
9024
  return _context2.stop();
@@ -9389,8 +9449,15 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
9389
9449
 
9390
9450
  // Import stepper footer: 4 steps (File, Name, Organize, Theme)
9391
9451
  if (creationMethod === "import") {
9392
- return /*#__PURE__*/jsx(Modal.Footer, {
9393
- children: /*#__PURE__*/jsxs("div", {
9452
+ return /*#__PURE__*/jsxs(Modal.Footer, {
9453
+ children: [importError ? /*#__PURE__*/jsx("div", {
9454
+ className: "flex-1 min-w-0 mr-4",
9455
+ children: /*#__PURE__*/jsx(AlertBanner, {
9456
+ variant: "error",
9457
+ size: "compact",
9458
+ message: importError
9459
+ })
9460
+ }) : null, /*#__PURE__*/jsxs("div", {
9394
9461
  className: "flex flex-row space-x-2",
9395
9462
  children: [activeStep === 0 && /*#__PURE__*/jsxs(Fragment, {
9396
9463
  children: [/*#__PURE__*/jsx(Button, {
@@ -9487,7 +9554,7 @@ var LayoutManagerModal = function LayoutManagerModal(_ref) {
9487
9554
  hoverBackgroundColor: "hover:bg-blue-500"
9488
9555
  })]
9489
9556
  })]
9490
- })
9557
+ })]
9491
9558
  });
9492
9559
  }
9493
9560
 
@@ -9787,9 +9854,9 @@ var LayoutQuickAddMenu = function LayoutQuickAddMenu(_ref) {
9787
9854
  });
9788
9855
  };
9789
9856
 
9790
- function _createForOfIteratorHelper$15(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$15(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
9791
- function _unsupportedIterableToArray$15(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$15(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$15(r, a) : void 0; } }
9792
- function _arrayLikeToArray$15(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9857
+ function _createForOfIteratorHelper$16(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$16(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
9858
+ function _unsupportedIterableToArray$16(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$16(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$16(r, a) : void 0; } }
9859
+ function _arrayLikeToArray$16(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
9793
9860
 
9794
9861
  /**
9795
9862
  * useRegistrySearch — shared hook for browsing and installing registry packages.
@@ -9903,13 +9970,13 @@ var useRegistrySearch = function useRegistrySearch() {
9903
9970
  return c.toLowerCase();
9904
9971
  }));
9905
9972
  widgets = [];
9906
- _iterator = _createForOfIteratorHelper$15(pkgs);
9973
+ _iterator = _createForOfIteratorHelper$16(pkgs);
9907
9974
  try {
9908
9975
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
9909
9976
  pkg = _step.value;
9910
9977
  // Compute missing APIs for the entire package
9911
9978
  allApiProviders = [];
9912
- _iterator2 = _createForOfIteratorHelper$15(pkg.providers || []);
9979
+ _iterator2 = _createForOfIteratorHelper$16(pkg.providers || []);
9913
9980
  try {
9914
9981
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
9915
9982
  p = _step2.value;
@@ -9922,11 +9989,11 @@ var useRegistrySearch = function useRegistrySearch() {
9922
9989
  } finally {
9923
9990
  _iterator2.f();
9924
9991
  }
9925
- _iterator3 = _createForOfIteratorHelper$15(pkg.widgets || []);
9992
+ _iterator3 = _createForOfIteratorHelper$16(pkg.widgets || []);
9926
9993
  try {
9927
9994
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
9928
9995
  w = _step3.value;
9929
- _iterator5 = _createForOfIteratorHelper$15(w.providers || []);
9996
+ _iterator5 = _createForOfIteratorHelper$16(w.providers || []);
9930
9997
  try {
9931
9998
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
9932
9999
  _p = _step5.value;
@@ -9948,7 +10015,7 @@ var useRegistrySearch = function useRegistrySearch() {
9948
10015
  missingApis = _toConsumableArray(new Set(allApiProviders)).filter(function (api) {
9949
10016
  return !capSet.has(api.toLowerCase());
9950
10017
  });
9951
- _iterator4 = _createForOfIteratorHelper$15(pkg.widgets || []);
10018
+ _iterator4 = _createForOfIteratorHelper$16(pkg.widgets || []);
9952
10019
  try {
9953
10020
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
9954
10021
  widget = _step4.value;
@@ -10735,9 +10802,9 @@ function WizardThemePreview(_ref) {
10735
10802
  });
10736
10803
  }
10737
10804
 
10738
- function _createForOfIteratorHelper$14(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$14(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
10739
- function _unsupportedIterableToArray$14(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$14(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$14(r, a) : void 0; } }
10740
- function _arrayLikeToArray$14(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
10805
+ function _createForOfIteratorHelper$15(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$15(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
10806
+ function _unsupportedIterableToArray$15(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$15(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$15(r, a) : void 0; } }
10807
+ function _arrayLikeToArray$15(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
10741
10808
  var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
10742
10809
  var _state$selectedDashbo, _state$selectedDashbo2, _state$layout;
10743
10810
  var state = _ref.state,
@@ -10956,7 +11023,7 @@ var WizardCustomizeStep = function WizardCustomizeStep(_ref) {
10956
11023
  installedNames = new Set(installedList.map(function (w) {
10957
11024
  return w.name;
10958
11025
  }));
10959
- _iterator = _createForOfIteratorHelper$14(state.selectedWidgets);
11026
+ _iterator = _createForOfIteratorHelper$15(state.selectedWidgets);
10960
11027
  _context2.prev = 12;
10961
11028
  _iterator.s();
10962
11029
  case 13:
@@ -12645,9 +12712,9 @@ function mergeDownOp(grid, row, col) {
12645
12712
  }
12646
12713
 
12647
12714
  var _excluded$6 = ["rows", "cols"];
12648
- function _createForOfIteratorHelper$13(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$13(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12649
- function _unsupportedIterableToArray$13(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$13(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$13(r, a) : void 0; } }
12650
- function _arrayLikeToArray$13(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12715
+ function _createForOfIteratorHelper$14(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$14(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
12716
+ function _unsupportedIterableToArray$14(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$14(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$14(r, a) : void 0; } }
12717
+ function _arrayLikeToArray$14(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
12651
12718
  function ownKeys$1D(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
12652
12719
  function _objectSpread$1D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
12653
12720
  var defaultGrid = {
@@ -12769,7 +12836,7 @@ function GridEditor(_ref) {
12769
12836
  function sortObjectByKeys(obj) {
12770
12837
  var sortedKeys = Object.keys(obj).sort();
12771
12838
  var sortedObj = {};
12772
- var _iterator = _createForOfIteratorHelper$13(sortedKeys),
12839
+ var _iterator = _createForOfIteratorHelper$14(sortedKeys),
12773
12840
  _step;
12774
12841
  try {
12775
12842
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -13242,9 +13309,9 @@ var PanelEditItemNotifications = function PanelEditItemNotifications(_ref) {
13242
13309
  });
13243
13310
  };
13244
13311
 
13245
- function _createForOfIteratorHelper$12(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$12(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13246
- function _unsupportedIterableToArray$12(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$12(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$12(r, a) : void 0; } }
13247
- function _arrayLikeToArray$12(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13312
+ function _createForOfIteratorHelper$13(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$13(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13313
+ function _unsupportedIterableToArray$13(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$13(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$13(r, a) : void 0; } }
13314
+ function _arrayLikeToArray$13(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13248
13315
  function ownKeys$1B(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
13249
13316
  function _objectSpread$1B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
13250
13317
  var DAYS = [{
@@ -13573,7 +13640,7 @@ var PanelEditItemSchedule = function PanelEditItemSchedule(_ref2) {
13573
13640
  setIsLoading(true);
13574
13641
  window.mainApi.scheduler.getTasks(widgetUuid).then(function (tasks) {
13575
13642
  var stateMap = {};
13576
- var _iterator = _createForOfIteratorHelper$12(tasks || []),
13643
+ var _iterator = _createForOfIteratorHelper$13(tasks || []),
13577
13644
  _step;
13578
13645
  try {
13579
13646
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -13832,9 +13899,9 @@ function isUserWidget(item) {
13832
13899
  return true;
13833
13900
  }
13834
13901
 
13835
- function _createForOfIteratorHelper$11(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$11(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13836
- function _unsupportedIterableToArray$11(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$11(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$11(r, a) : void 0; } }
13837
- function _arrayLikeToArray$11(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13902
+ function _createForOfIteratorHelper$12(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$12(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
13903
+ function _unsupportedIterableToArray$12(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$12(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$12(r, a) : void 0; } }
13904
+ function _arrayLikeToArray$12(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
13838
13905
 
13839
13906
  /**
13840
13907
  * Resolve which provider name a given widget instance would bind to for
@@ -13866,7 +13933,7 @@ function resolveProviderName(_ref) {
13866
13933
  // array. Support both because different callers shape it either way.
13867
13934
  if (appProviders) {
13868
13935
  if (Array.isArray(appProviders)) {
13869
- var _iterator = _createForOfIteratorHelper$11(appProviders),
13936
+ var _iterator = _createForOfIteratorHelper$12(appProviders),
13870
13937
  _step;
13871
13938
  try {
13872
13939
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -13926,7 +13993,7 @@ function forEachWidget(workspace, visit) {
13926
13993
  };
13927
13994
  var _walk = function walk(items) {
13928
13995
  if (!Array.isArray(items)) return;
13929
- var _iterator2 = _createForOfIteratorHelper$11(items),
13996
+ var _iterator2 = _createForOfIteratorHelper$12(items),
13930
13997
  _step2;
13931
13998
  try {
13932
13999
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -13967,7 +14034,7 @@ function forEachWidget(workspace, visit) {
13967
14034
  // widgets that only live there (e.g. AI-place writes that bypass
13968
14035
  // the page handler).
13969
14036
  if (Array.isArray(workspace.pages)) {
13970
- var _iterator3 = _createForOfIteratorHelper$11(workspace.pages),
14037
+ var _iterator3 = _createForOfIteratorHelper$12(workspace.pages),
13971
14038
  _step3;
13972
14039
  try {
13973
14040
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -14018,7 +14085,7 @@ function getUnresolvedProviders(_ref2) {
14018
14085
  // the same `type` listed twice (a Claude code-gen quirk), which
14019
14086
  // would otherwise produce duplicate rows in the Providers tab.
14020
14087
  var seenTypes = new Set();
14021
- var _iterator4 = _createForOfIteratorHelper$11(requirements),
14088
+ var _iterator4 = _createForOfIteratorHelper$12(requirements),
14022
14089
  _step4;
14023
14090
  try {
14024
14091
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -14061,7 +14128,7 @@ function getUnresolvedProviders(_ref2) {
14061
14128
  */
14062
14129
  function groupByProviderType(unresolved) {
14063
14130
  var byType = new Map();
14064
- var _iterator5 = _createForOfIteratorHelper$11(unresolved || []),
14131
+ var _iterator5 = _createForOfIteratorHelper$12(unresolved || []),
14065
14132
  _step5;
14066
14133
  try {
14067
14134
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -14103,7 +14170,7 @@ function getAllProviderBindings(_ref3) {
14103
14170
  // quirk) which would otherwise duplicate the per-widget row in
14104
14171
  // the Providers tab.
14105
14172
  var seenTypes = new Set();
14106
- var _iterator6 = _createForOfIteratorHelper$11(requirements),
14173
+ var _iterator6 = _createForOfIteratorHelper$12(requirements),
14107
14174
  _step6;
14108
14175
  try {
14109
14176
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -14145,9 +14212,9 @@ function getAllProviderBindings(_ref3) {
14145
14212
 
14146
14213
  function ownKeys$1z(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
14147
14214
  function _objectSpread$1z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
14148
- function _createForOfIteratorHelper$10(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$10(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
14149
- function _unsupportedIterableToArray$10(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$10(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$10(r, a) : void 0; } }
14150
- function _arrayLikeToArray$10(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14215
+ function _createForOfIteratorHelper$11(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$11(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
14216
+ function _unsupportedIterableToArray$11(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$11(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$11(r, a) : void 0; } }
14217
+ function _arrayLikeToArray$11(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14151
14218
  var EVENT_STRING_RE = /^([^[]+)\[([^\]]+)\]\.(.+)$/;
14152
14219
 
14153
14220
  /** Parse "Component[itemId].event" → { component, itemId, event }. */
@@ -14324,7 +14391,7 @@ function getCurrentWiring(workspace) {
14324
14391
  // Live format is array; defensive guard for legacy object
14325
14392
  // form (a single source widget keyed under the handler).
14326
14393
  var events = Array.isArray(eventList) ? eventList : typeof eventList === "string" ? [eventList] : [];
14327
- var _iterator = _createForOfIteratorHelper$10(events),
14394
+ var _iterator = _createForOfIteratorHelper$11(events),
14328
14395
  _step;
14329
14396
  try {
14330
14397
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -14388,7 +14455,7 @@ function getOrphanedListeners(workspace, getWidgetConfig) {
14388
14455
  if (!byItemId.has(id)) byItemId.set(id, meta);
14389
14456
  });
14390
14457
  var orphans = [];
14391
- var _iterator2 = _createForOfIteratorHelper$10(wiring),
14458
+ var _iterator2 = _createForOfIteratorHelper$11(wiring),
14392
14459
  _step2;
14393
14460
  try {
14394
14461
  var _loop = function _loop() {
@@ -14475,7 +14542,7 @@ function pruneDeadListenerReferences(workspace) {
14475
14542
  var liveKeys = new Set();
14476
14543
  var _walkForLive = function walkForLive(items) {
14477
14544
  if (!Array.isArray(items)) return;
14478
- var _iterator3 = _createForOfIteratorHelper$10(items),
14545
+ var _iterator3 = _createForOfIteratorHelper$11(items),
14479
14546
  _step3;
14480
14547
  try {
14481
14548
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -14496,7 +14563,7 @@ function pruneDeadListenerReferences(workspace) {
14496
14563
  };
14497
14564
  _walkForLive(workspace.layout);
14498
14565
  if (Array.isArray(workspace.pages)) {
14499
- var _iterator4 = _createForOfIteratorHelper$10(workspace.pages),
14566
+ var _iterator4 = _createForOfIteratorHelper$11(workspace.pages),
14500
14567
  _step4;
14501
14568
  try {
14502
14569
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -14513,7 +14580,7 @@ function pruneDeadListenerReferences(workspace) {
14513
14580
  var removed = 0;
14514
14581
  var _pruneListeners = function pruneListeners(items) {
14515
14582
  if (!Array.isArray(items)) return;
14516
- var _iterator5 = _createForOfIteratorHelper$10(items),
14583
+ var _iterator5 = _createForOfIteratorHelper$11(items),
14517
14584
  _step5;
14518
14585
  try {
14519
14586
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -14525,7 +14592,7 @@ function pruneDeadListenerReferences(workspace) {
14525
14592
  var events = item.listeners[handler];
14526
14593
  if (!Array.isArray(events)) continue;
14527
14594
  var kept = [];
14528
- var _iterator6 = _createForOfIteratorHelper$10(events),
14595
+ var _iterator6 = _createForOfIteratorHelper$11(events),
14529
14596
  _step6;
14530
14597
  try {
14531
14598
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -14562,7 +14629,7 @@ function pruneDeadListenerReferences(workspace) {
14562
14629
  };
14563
14630
  _pruneListeners(workspace.layout);
14564
14631
  if (Array.isArray(workspace.pages)) {
14565
- var _iterator7 = _createForOfIteratorHelper$10(workspace.pages),
14632
+ var _iterator7 = _createForOfIteratorHelper$11(workspace.pages),
14566
14633
  _step7;
14567
14634
  try {
14568
14635
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -14606,7 +14673,7 @@ function applyWiringChanges(workspace, _ref) {
14606
14673
  });
14607
14674
  return byReceiver.get(id);
14608
14675
  };
14609
- var _iterator8 = _createForOfIteratorHelper$10(adds),
14676
+ var _iterator8 = _createForOfIteratorHelper$11(adds),
14610
14677
  _step8;
14611
14678
  try {
14612
14679
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -14619,7 +14686,7 @@ function applyWiringChanges(workspace, _ref) {
14619
14686
  } finally {
14620
14687
  _iterator8.f();
14621
14688
  }
14622
- var _iterator9 = _createForOfIteratorHelper$10(removes),
14689
+ var _iterator9 = _createForOfIteratorHelper$11(removes),
14623
14690
  _step9;
14624
14691
  try {
14625
14692
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -14693,7 +14760,7 @@ function applyToItem(listeners, _ref2) {
14693
14760
  }
14694
14761
 
14695
14762
  // Removes first so a re-add (rare) lands.
14696
- var _iterator0 = _createForOfIteratorHelper$10(removes),
14763
+ var _iterator0 = _createForOfIteratorHelper$11(removes),
14697
14764
  _step0;
14698
14765
  try {
14699
14766
  var _loop2 = function _loop2() {
@@ -14722,7 +14789,7 @@ function applyToItem(listeners, _ref2) {
14722
14789
  } finally {
14723
14790
  _iterator0.f();
14724
14791
  }
14725
- var _iterator1 = _createForOfIteratorHelper$10(adds),
14792
+ var _iterator1 = _createForOfIteratorHelper$11(adds),
14726
14793
  _step1;
14727
14794
  try {
14728
14795
  for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
@@ -14781,9 +14848,9 @@ var SectionLayout = function SectionLayout(_ref) {
14781
14848
  });
14782
14849
  };
14783
14850
 
14784
- function _createForOfIteratorHelper$$(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$$(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
14785
- function _unsupportedIterableToArray$$(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$$(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$$(r, a) : void 0; } }
14786
- function _arrayLikeToArray$$(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14851
+ function _createForOfIteratorHelper$10(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$10(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
14852
+ function _unsupportedIterableToArray$10(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$10(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$10(r, a) : void 0; } }
14853
+ function _arrayLikeToArray$10(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
14787
14854
 
14788
14855
  /**
14789
14856
  * @param {Array<object>} workspaces dashboards (each with id, name, layout/pages)
@@ -14795,7 +14862,7 @@ function _arrayLikeToArray$$(r, a) { (null == a || a > r.length) && (a = r.lengt
14795
14862
  function buildWidgetEventCatalog(workspaces, getWidgetConfig) {
14796
14863
  if (!Array.isArray(workspaces)) return [];
14797
14864
  var out = [];
14798
- var _iterator = _createForOfIteratorHelper$$(workspaces),
14865
+ var _iterator = _createForOfIteratorHelper$10(workspaces),
14799
14866
  _step;
14800
14867
  try {
14801
14868
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -14868,12 +14935,12 @@ function describeSubscription(sub, catalog) {
14868
14935
  // Bot subscriptions resolve against the bot catalog; `kind` lets the form
14869
14936
  // say "bot missing" instead of "widget missing".
14870
14937
  if (sub && sub.source && sub.source.kind === "bot") {
14871
- var _iterator2 = _createForOfIteratorHelper$$(botCatalog || []),
14938
+ var _iterator2 = _createForOfIteratorHelper$10(botCatalog || []),
14872
14939
  _step2;
14873
14940
  try {
14874
14941
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
14875
14942
  var b = _step2.value;
14876
- var _iterator3 = _createForOfIteratorHelper$$(b.events),
14943
+ var _iterator3 = _createForOfIteratorHelper$10(b.events),
14877
14944
  _step3;
14878
14945
  try {
14879
14946
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -14904,17 +14971,17 @@ function describeSubscription(sub, catalog) {
14904
14971
  kind: "bot"
14905
14972
  };
14906
14973
  }
14907
- var _iterator4 = _createForOfIteratorHelper$$(catalog || []),
14974
+ var _iterator4 = _createForOfIteratorHelper$10(catalog || []),
14908
14975
  _step4;
14909
14976
  try {
14910
14977
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
14911
14978
  var ws = _step4.value;
14912
- var _iterator5 = _createForOfIteratorHelper$$(ws.widgets),
14979
+ var _iterator5 = _createForOfIteratorHelper$10(ws.widgets),
14913
14980
  _step5;
14914
14981
  try {
14915
14982
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
14916
14983
  var w = _step5.value;
14917
- var _iterator6 = _createForOfIteratorHelper$$(w.events),
14984
+ var _iterator6 = _createForOfIteratorHelper$10(w.events),
14918
14985
  _step6;
14919
14986
  try {
14920
14987
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -14974,7 +15041,7 @@ function buildBotEventCatalog(bots, toolSources) {
14974
15041
  if (!Array.isArray(bots)) return [];
14975
15042
  var sources = Array.isArray(toolSources) ? toolSources : [];
14976
15043
  var out = [];
14977
- var _iterator7 = _createForOfIteratorHelper$$(bots),
15044
+ var _iterator7 = _createForOfIteratorHelper$10(bots),
14978
15045
  _step7;
14979
15046
  try {
14980
15047
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -14990,7 +15057,7 @@ function buildBotEventCatalog(bots, toolSources) {
14990
15057
  event: "failed",
14991
15058
  label: "Failed"
14992
15059
  }];
14993
- var _iterator8 = _createForOfIteratorHelper$$(bot.publishes || []),
15060
+ var _iterator8 = _createForOfIteratorHelper$10(bot.publishes || []),
14994
15061
  _step8;
14995
15062
  try {
14996
15063
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -15006,7 +15073,7 @@ function buildBotEventCatalog(bots, toolSources) {
15006
15073
  } finally {
15007
15074
  _iterator8.f();
15008
15075
  }
15009
- var _iterator9 = _createForOfIteratorHelper$$(bot.mcpServers || []),
15076
+ var _iterator9 = _createForOfIteratorHelper$10(bot.mcpServers || []),
15010
15077
  _step9;
15011
15078
  try {
15012
15079
  var _loop = function _loop() {
@@ -15019,7 +15086,7 @@ function buildBotEventCatalog(bots, toolSources) {
15019
15086
  var tools = Array.isArray(sel) ? src.tools.filter(function (t) {
15020
15087
  return sel.includes(t);
15021
15088
  }) : src.tools;
15022
- var _iterator0 = _createForOfIteratorHelper$$(tools),
15089
+ var _iterator0 = _createForOfIteratorHelper$10(tools),
15023
15090
  _step0;
15024
15091
  try {
15025
15092
  for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
@@ -15123,21 +15190,21 @@ function buildTriggerOptions(_ref) {
15123
15190
  var wsList = (Array.isArray(workspaces) ? workspaces : []).filter(function (ws) {
15124
15191
  return ws && (teamKey === null || String(ws.id) === teamKey);
15125
15192
  });
15126
- var _iterator1 = _createForOfIteratorHelper$$(buildWidgetEventCatalog(wsList, getWidgetConfig)),
15193
+ var _iterator1 = _createForOfIteratorHelper$10(buildWidgetEventCatalog(wsList, getWidgetConfig)),
15127
15194
  _step1;
15128
15195
  try {
15129
15196
  for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
15130
15197
  var ws = _step1.value;
15131
15198
  var group = "Widgets on ".concat(ws.name);
15132
15199
  var seen = {};
15133
- var _iterator11 = _createForOfIteratorHelper$$(ws.widgets),
15200
+ var _iterator11 = _createForOfIteratorHelper$10(ws.widgets),
15134
15201
  _step11;
15135
15202
  try {
15136
15203
  for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
15137
15204
  var widget = _step11.value;
15138
15205
  seen[widget.label] = (seen[widget.label] || 0) + 1;
15139
15206
  var name = seen[widget.label] > 1 ? "".concat(widget.label, " (").concat(seen[widget.label], ")") : widget.label;
15140
- var _iterator12 = _createForOfIteratorHelper$$(widget.events),
15207
+ var _iterator12 = _createForOfIteratorHelper$10(widget.events),
15141
15208
  _step12;
15142
15209
  try {
15143
15210
  for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
@@ -15179,13 +15246,13 @@ function buildTriggerOptions(_ref) {
15179
15246
  var wsOf = new Map(candidates.map(function (b) {
15180
15247
  return [b.id, b.workspaceId];
15181
15248
  }));
15182
- var _iterator10 = _createForOfIteratorHelper$$(buildBotEventCatalog(candidates, toolSources, botId)),
15249
+ var _iterator10 = _createForOfIteratorHelper$10(buildBotEventCatalog(candidates, toolSources, botId)),
15183
15250
  _step10;
15184
15251
  try {
15185
15252
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
15186
15253
  var entry = _step10.value;
15187
15254
  var where = teamKey === null && wsOf.get(entry.botId) !== null && wsOf.get(entry.botId) !== undefined ? " (".concat(nameOfWs.get(String(wsOf.get(entry.botId))) || "another dashboard", ")") : "";
15188
- var _iterator13 = _createForOfIteratorHelper$$(entry.events),
15255
+ var _iterator13 = _createForOfIteratorHelper$10(entry.events),
15189
15256
  _step13;
15190
15257
  try {
15191
15258
  for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
@@ -15233,7 +15300,7 @@ function groupBotEvents(events) {
15233
15300
  title: "Tools it uses",
15234
15301
  events: []
15235
15302
  }];
15236
- var _iterator14 = _createForOfIteratorHelper$$(Array.isArray(events) ? events : []),
15303
+ var _iterator14 = _createForOfIteratorHelper$10(Array.isArray(events) ? events : []),
15237
15304
  _step14;
15238
15305
  try {
15239
15306
  var _loop2 = function _loop2() {
@@ -18380,9 +18447,9 @@ function mcpJsonToFormState(jsonString, nextRowId) {
18380
18447
  return result;
18381
18448
  }
18382
18449
 
18383
- function _createForOfIteratorHelper$_(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$_(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
18384
- function _unsupportedIterableToArray$_(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$_(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$_(r, a) : void 0; } }
18385
- function _arrayLikeToArray$_(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
18450
+ function _createForOfIteratorHelper$$(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$$(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
18451
+ function _unsupportedIterableToArray$$(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$$(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$$(r, a) : void 0; } }
18452
+ function _arrayLikeToArray$$(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
18386
18453
  function ownKeys$1v(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
18387
18454
  function _objectSpread$1v(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1v(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1v(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
18388
18455
  var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
@@ -18667,11 +18734,11 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
18667
18734
 
18668
18735
  // Flatten all widgets from all packages for the widget list
18669
18736
  flatWidgets = [];
18670
- _iterator = _createForOfIteratorHelper$_(result.packages || []);
18737
+ _iterator = _createForOfIteratorHelper$$(result.packages || []);
18671
18738
  try {
18672
18739
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
18673
18740
  pkg = _step.value;
18674
- _iterator2 = _createForOfIteratorHelper$_(pkg.widgets || []);
18741
+ _iterator2 = _createForOfIteratorHelper$$(pkg.widgets || []);
18675
18742
  try {
18676
18743
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
18677
18744
  widget = _step2.value;
@@ -20621,9 +20688,9 @@ var useWidgetSchedulerStatus = function useWidgetSchedulerStatus(widgetId) {
20621
20688
  };
20622
20689
  };
20623
20690
 
20624
- function _createForOfIteratorHelper$Z(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Z(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
20625
- function _unsupportedIterableToArray$Z(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Z(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Z(r, a) : void 0; } }
20626
- function _arrayLikeToArray$Z(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
20691
+ function _createForOfIteratorHelper$_(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$_(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
20692
+ function _unsupportedIterableToArray$_(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$_(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$_(r, a) : void 0; } }
20693
+ function _arrayLikeToArray$_(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
20627
20694
  function formatCountdown(ms) {
20628
20695
  if (ms == null || ms < 0) return "--";
20629
20696
  if (ms < 1000) return "< 1s";
@@ -20752,7 +20819,7 @@ var WidgetCardStatusBar = function WidgetCardStatusBar(_ref) {
20752
20819
 
20753
20820
  // Find soonest countdown among enabled tasks
20754
20821
  var soonestMs = null;
20755
- var _iterator = _createForOfIteratorHelper$Z(enabledTasks),
20822
+ var _iterator = _createForOfIteratorHelper$_(enabledTasks),
20756
20823
  _step;
20757
20824
  try {
20758
20825
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -21144,9 +21211,9 @@ function formatMonthCost(spend, botId) {
21144
21211
  return "No runs this month";
21145
21212
  }
21146
21213
 
21147
- function _createForOfIteratorHelper$Y(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Y(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
21148
- function _unsupportedIterableToArray$Y(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Y(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Y(r, a) : void 0; } }
21149
- function _arrayLikeToArray$Y(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
21214
+ function _createForOfIteratorHelper$Z(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Z(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
21215
+ function _unsupportedIterableToArray$Z(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Z(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Z(r, a) : void 0; } }
21216
+ function _arrayLikeToArray$Z(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
21150
21217
 
21151
21218
  /**
21152
21219
  * Select-to-edit in the dashboard editor (create-entry phase 1c, CRE-006).
@@ -21183,7 +21250,7 @@ function widgetsOf(layout) {
21183
21250
 
21184
21251
  /** The grid and cell holding widget `itemId`, or null. */
21185
21252
  function findWidgetCell(layout, itemId) {
21186
- var _iterator = _createForOfIteratorHelper$Y(Array.isArray(layout) ? layout : []),
21253
+ var _iterator = _createForOfIteratorHelper$Z(Array.isArray(layout) ? layout : []),
21187
21254
  _step;
21188
21255
  try {
21189
21256
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -21214,7 +21281,7 @@ function botsFeeding(widget) {
21214
21281
  var out = new Set();
21215
21282
  for (var _i2 = 0, _Object$values = Object.values(widget && widget.listeners || {}); _i2 < _Object$values.length; _i2++) {
21216
21283
  var events = _Object$values[_i2];
21217
- var _iterator2 = _createForOfIteratorHelper$Y(Array.isArray(events) ? events : []),
21284
+ var _iterator2 = _createForOfIteratorHelper$Z(Array.isArray(events) ? events : []),
21218
21285
  _step2;
21219
21286
  try {
21220
21287
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -21259,7 +21326,7 @@ function relatedTo(selection) {
21259
21326
  return w.uuid === selection.uuid;
21260
21327
  });
21261
21328
  if (!widget) return related;
21262
- var _iterator3 = _createForOfIteratorHelper$Y(botsFeeding(widget)),
21329
+ var _iterator3 = _createForOfIteratorHelper$Z(botsFeeding(widget)),
21263
21330
  _step3;
21264
21331
  try {
21265
21332
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -21271,7 +21338,7 @@ function relatedTo(selection) {
21271
21338
  } finally {
21272
21339
  _iterator3.f();
21273
21340
  }
21274
- var _iterator4 = _createForOfIteratorHelper$Y(bots),
21341
+ var _iterator4 = _createForOfIteratorHelper$Z(bots),
21275
21342
  _step4;
21276
21343
  try {
21277
21344
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -21287,7 +21354,7 @@ function relatedTo(selection) {
21287
21354
  var _bot = bots.find(function (b) {
21288
21355
  return b.id === selection.botId;
21289
21356
  });
21290
- var _iterator5 = _createForOfIteratorHelper$Y(widgets),
21357
+ var _iterator5 = _createForOfIteratorHelper$Z(widgets),
21291
21358
  _step5;
21292
21359
  try {
21293
21360
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -21871,9 +21938,9 @@ var WidgetNotFound = function WidgetNotFound(_ref) {
21871
21938
  var GRID_CELL_WIDGET_TYPE = "grid-cell-widget";
21872
21939
  var SIDEBAR_WIDGET_TYPE = "sidebar-widget";
21873
21940
 
21874
- function _createForOfIteratorHelper$X(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$X(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
21875
- function _unsupportedIterableToArray$X(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$X(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$X(r, a) : void 0; } }
21876
- function _arrayLikeToArray$X(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
21941
+ function _createForOfIteratorHelper$Y(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Y(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
21942
+ function _unsupportedIterableToArray$Y(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Y(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Y(r, a) : void 0; } }
21943
+ function _arrayLikeToArray$Y(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
21877
21944
  function ownKeys$1t(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
21878
21945
  function _objectSpread$1t(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1t(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1t(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
21879
21946
 
@@ -22541,7 +22608,7 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref4) {
22541
22608
  return selectable["delete"](cn);
22542
22609
  });
22543
22610
  var resolved = new Set();
22544
- var _iterator = _createForOfIteratorHelper$X(selectable),
22611
+ var _iterator = _createForOfIteratorHelper$Y(selectable),
22545
22612
  _step;
22546
22613
  try {
22547
22614
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -29951,9 +30018,9 @@ function migrateBareComponentName(componentMap, component) {
29951
30018
 
29952
30019
  function ownKeys$1j(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
29953
30020
  function _objectSpread$1j(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1j(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1j(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29954
- function _createForOfIteratorHelper$W(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$W(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
29955
- function _unsupportedIterableToArray$W(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$W(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$W(r, a) : void 0; } }
29956
- function _arrayLikeToArray$W(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30021
+ function _createForOfIteratorHelper$X(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$X(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30022
+ function _unsupportedIterableToArray$X(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$X(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$X(r, a) : void 0; } }
30023
+ function _arrayLikeToArray$X(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
29957
30024
  /**
29958
30025
  * The model for all layout components used primarily in the renderLayout method
29959
30026
  * @param {Object} layoutItem an object containing various attributes of the layout item
@@ -29965,7 +30032,7 @@ function _arrayLikeToArray$W(r, a) { (null == a || a > r.length) && (a = r.lengt
29965
30032
  function sortObjectByKeys(obj) {
29966
30033
  var sortedKeys = Object.keys(obj).sort();
29967
30034
  var sortedObj = {};
29968
- var _iterator = _createForOfIteratorHelper$W(sortedKeys),
30035
+ var _iterator = _createForOfIteratorHelper$X(sortedKeys),
29969
30036
  _step;
29970
30037
  try {
29971
30038
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -30283,9 +30350,9 @@ var SettingsModel = function SettingsModel() {
30283
30350
  return obj;
30284
30351
  };
30285
30352
 
30286
- function _createForOfIteratorHelper$V(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$V(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30287
- function _unsupportedIterableToArray$V(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$V(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$V(r, a) : void 0; } }
30288
- function _arrayLikeToArray$V(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30353
+ function _createForOfIteratorHelper$W(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$W(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30354
+ function _unsupportedIterableToArray$W(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$W(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$W(r, a) : void 0; } }
30355
+ function _arrayLikeToArray$W(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30289
30356
 
30290
30357
  /**
30291
30358
  * Workspace-level pre-pass that migrates legacy bare component
@@ -30360,7 +30427,7 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
30360
30427
  };
30361
30428
  var _walk = function walk(items) {
30362
30429
  if (!Array.isArray(items)) return;
30363
- var _iterator = _createForOfIteratorHelper$V(items),
30430
+ var _iterator = _createForOfIteratorHelper$W(items),
30364
30431
  _step;
30365
30432
  try {
30366
30433
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -30382,7 +30449,7 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
30382
30449
  };
30383
30450
  _walk(workspace.layout);
30384
30451
  if (Array.isArray(workspace.pages)) {
30385
- var _iterator2 = _createForOfIteratorHelper$V(workspace.pages),
30452
+ var _iterator2 = _createForOfIteratorHelper$W(workspace.pages),
30386
30453
  _step2;
30387
30454
  try {
30388
30455
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -30399,9 +30466,9 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
30399
30466
  return counts;
30400
30467
  }
30401
30468
 
30402
- function _createForOfIteratorHelper$U(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$U(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30403
- function _unsupportedIterableToArray$U(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$U(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$U(r, a) : void 0; } }
30404
- function _arrayLikeToArray$U(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30469
+ function _createForOfIteratorHelper$V(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$V(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30470
+ function _unsupportedIterableToArray$V(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$V(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$V(r, a) : void 0; } }
30471
+ function _arrayLikeToArray$V(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30405
30472
  /**
30406
30473
  * cleanForeignWidgetsFromWorkspace.js
30407
30474
  *
@@ -30442,7 +30509,7 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
30442
30509
  var _cleanList = function cleanList(items) {
30443
30510
  if (!Array.isArray(items)) return items;
30444
30511
  var kept = [];
30445
- var _iterator = _createForOfIteratorHelper$U(items),
30512
+ var _iterator = _createForOfIteratorHelper$V(items),
30446
30513
  _step;
30447
30514
  try {
30448
30515
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -30479,7 +30546,7 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
30479
30546
  workspace.sidebarLayout = _cleanList(workspace.sidebarLayout);
30480
30547
  }
30481
30548
  if (Array.isArray(workspace.pages)) {
30482
- var _iterator2 = _createForOfIteratorHelper$U(workspace.pages),
30549
+ var _iterator2 = _createForOfIteratorHelper$V(workspace.pages),
30483
30550
  _step2;
30484
30551
  try {
30485
30552
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -30497,9 +30564,9 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
30497
30564
  return summary;
30498
30565
  }
30499
30566
 
30500
- function _createForOfIteratorHelper$T(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$T(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30501
- function _unsupportedIterableToArray$T(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$T(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$T(r, a) : void 0; } }
30502
- function _arrayLikeToArray$T(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30567
+ function _createForOfIteratorHelper$U(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$U(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
30568
+ function _unsupportedIterableToArray$U(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$U(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$U(r, a) : void 0; } }
30569
+ function _arrayLikeToArray$U(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
30503
30570
  /**
30504
30571
  * migrateLayoutItemTypes.js
30505
30572
  *
@@ -30561,7 +30628,7 @@ function migrateLayoutItemTypes(workspace) {
30561
30628
  };
30562
30629
  var _walk = function walk(items) {
30563
30630
  if (!Array.isArray(items)) return;
30564
- var _iterator = _createForOfIteratorHelper$T(items),
30631
+ var _iterator = _createForOfIteratorHelper$U(items),
30565
30632
  _step;
30566
30633
  try {
30567
30634
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -30579,7 +30646,7 @@ function migrateLayoutItemTypes(workspace) {
30579
30646
  };
30580
30647
  _walk(workspace.layout);
30581
30648
  if (Array.isArray(workspace.pages)) {
30582
- var _iterator2 = _createForOfIteratorHelper$T(workspace.pages),
30649
+ var _iterator2 = _createForOfIteratorHelper$U(workspace.pages),
30583
30650
  _step2;
30584
30651
  try {
30585
30652
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -31151,9 +31218,9 @@ var ThemeModel = function ThemeModel() {
31151
31218
  }
31152
31219
  };
31153
31220
 
31154
- function _createForOfIteratorHelper$S(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$S(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
31155
- function _unsupportedIterableToArray$S(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$S(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$S(r, a) : void 0; } }
31156
- function _arrayLikeToArray$S(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31221
+ function _createForOfIteratorHelper$T(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$T(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
31222
+ function _unsupportedIterableToArray$T(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$T(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$T(r, a) : void 0; } }
31223
+ function _arrayLikeToArray$T(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31157
31224
  /*
31158
31225
  "component": AnalyticsReportsWidget,
31159
31226
  "type":"widget",
@@ -31271,7 +31338,7 @@ var ComponentConfigModel = function ComponentConfigModel() {
31271
31338
  if ("providers" in obj && Array.isArray(obj.providers)) {
31272
31339
  var seen = new Set();
31273
31340
  var cleaned = [];
31274
- var _iterator = _createForOfIteratorHelper$S(obj.providers),
31341
+ var _iterator = _createForOfIteratorHelper$T(obj.providers),
31275
31342
  _step;
31276
31343
  try {
31277
31344
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -31317,9 +31384,9 @@ var MenuItemModel = function MenuItemModel() {
31317
31384
  return m;
31318
31385
  };
31319
31386
 
31320
- function _createForOfIteratorHelper$R(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$R(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
31321
- function _unsupportedIterableToArray$R(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$R(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$R(r, a) : void 0; } }
31322
- function _arrayLikeToArray$R(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31387
+ function _createForOfIteratorHelper$S(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$S(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
31388
+ function _unsupportedIterableToArray$S(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$S(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$S(r, a) : void 0; } }
31389
+ function _arrayLikeToArray$S(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
31323
31390
  function ownKeys$1h(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
31324
31391
  function _objectSpread$1h(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1h(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1h(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
31325
31392
  /**
@@ -31379,7 +31446,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
31379
31446
  maxRow = -Infinity;
31380
31447
  var minCol = Infinity,
31381
31448
  maxCol = -Infinity;
31382
- var _iterator = _createForOfIteratorHelper$R(cellNumbers),
31449
+ var _iterator = _createForOfIteratorHelper$S(cellNumbers),
31383
31450
  _step;
31384
31451
  try {
31385
31452
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -31403,7 +31470,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
31403
31470
  } finally {
31404
31471
  _iterator.f();
31405
31472
  }
31406
- var _iterator2 = _createForOfIteratorHelper$R(cellNumbers),
31473
+ var _iterator2 = _createForOfIteratorHelper$S(cellNumbers),
31407
31474
  _step2;
31408
31475
  try {
31409
31476
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -31445,7 +31512,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
31445
31512
  _iterator2.f();
31446
31513
  }
31447
31514
  var componentsInRange = [];
31448
- var _iterator3 = _createForOfIteratorHelper$R(cellNumbers),
31515
+ var _iterator3 = _createForOfIteratorHelper$S(cellNumbers),
31449
31516
  _step3;
31450
31517
  try {
31451
31518
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -31483,7 +31550,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
31483
31550
  // other selected cells get hidden and have their component refs
31484
31551
  // cleared (so a stale ref in a hidden cell never re-renders).
31485
31552
  var keepCell = cellNumbers[0];
31486
- var _iterator4 = _createForOfIteratorHelper$R(cellNumbers),
31553
+ var _iterator4 = _createForOfIteratorHelper$S(cellNumbers),
31487
31554
  _step4;
31488
31555
  try {
31489
31556
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -32013,9 +32080,9 @@ function deleteGridColumnOp(grid, colNumber) {
32013
32080
  };
32014
32081
  }
32015
32082
 
32016
- function _createForOfIteratorHelper$Q(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Q(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
32017
- function _unsupportedIterableToArray$Q(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Q(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Q(r, a) : void 0; } }
32018
- function _arrayLikeToArray$Q(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
32083
+ function _createForOfIteratorHelper$R(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$R(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
32084
+ function _unsupportedIterableToArray$R(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$R(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$R(r, a) : void 0; } }
32085
+ function _arrayLikeToArray$R(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
32019
32086
  /**
32020
32087
  * A Model for a Workspace (Dashboard)
32021
32088
  * The Dashboard in this instance is the entire Layout inclusive of the workspaces and widgets
@@ -32087,7 +32154,7 @@ var DashboardModel = /*#__PURE__*/function () {
32087
32154
 
32088
32155
  // Also normalize grids within pages
32089
32156
  if (this.pages.length > 0) {
32090
- var _iterator = _createForOfIteratorHelper$Q(this.pages),
32157
+ var _iterator = _createForOfIteratorHelper$R(this.pages),
32091
32158
  _step;
32092
32159
  try {
32093
32160
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -33487,7 +33554,7 @@ var DashboardModel = /*#__PURE__*/function () {
33487
33554
  // destructive-delete behavior.
33488
33555
  var result = deleteGridRowOp(gridContainer.grid, rowNumber);
33489
33556
  gridContainer.grid = result.grid;
33490
- var _iterator2 = _createForOfIteratorHelper$Q(result.orphanedComponents),
33557
+ var _iterator2 = _createForOfIteratorHelper$R(result.orphanedComponents),
33491
33558
  _step2;
33492
33559
  try {
33493
33560
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -33586,7 +33653,7 @@ var DashboardModel = /*#__PURE__*/function () {
33586
33653
  // Slice 11: pure helper.
33587
33654
  var result = deleteGridColumnOp(gridContainer.grid, colNumber);
33588
33655
  gridContainer.grid = result.grid;
33589
- var _iterator3 = _createForOfIteratorHelper$Q(result.orphanedComponents),
33656
+ var _iterator3 = _createForOfIteratorHelper$R(result.orphanedComponents),
33590
33657
  _step3;
33591
33658
  try {
33592
33659
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -33681,7 +33748,7 @@ var DashboardModel = /*#__PURE__*/function () {
33681
33748
  try {
33682
33749
  // Collect all item IDs actively referenced by grid cells
33683
33750
  var activeItemIds = new Set();
33684
- var _iterator4 = _createForOfIteratorHelper$Q(this.layout),
33751
+ var _iterator4 = _createForOfIteratorHelper$R(this.layout),
33685
33752
  _step4;
33686
33753
  try {
33687
33754
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -33721,7 +33788,7 @@ var DashboardModel = /*#__PURE__*/function () {
33721
33788
  });
33722
33789
 
33723
33790
  // Clean listener references on remaining items for each removed orphan
33724
- var _iterator5 = _createForOfIteratorHelper$Q(orphanedIds),
33791
+ var _iterator5 = _createForOfIteratorHelper$R(orphanedIds),
33725
33792
  _step5;
33726
33793
  try {
33727
33794
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -34494,9 +34561,9 @@ var useDashboard = function useDashboard() {
34494
34561
  });
34495
34562
  };
34496
34563
 
34497
- function _createForOfIteratorHelper$P(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$P(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
34498
- function _unsupportedIterableToArray$P(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$P(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$P(r, a) : void 0; } }
34499
- function _arrayLikeToArray$P(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
34564
+ function _createForOfIteratorHelper$Q(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$Q(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
34565
+ function _unsupportedIterableToArray$Q(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$Q(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$Q(r, a) : void 0; } }
34566
+ function _arrayLikeToArray$Q(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
34500
34567
 
34501
34568
  /**
34502
34569
  * useWidgetProviders Hook
@@ -34559,7 +34626,7 @@ var useWidgetProviders = function useWidgetProviders() {
34559
34626
  // 2. Workspace-level: stored as workspace.selectedProviders[widgetId][providerType]
34560
34627
  // 3. App-default: any provider in AppContext.providers flagged isDefaultForType
34561
34628
  var providers = {};
34562
- var _iterator = _createForOfIteratorHelper$P(providerDeclarations),
34629
+ var _iterator = _createForOfIteratorHelper$Q(providerDeclarations),
34563
34630
  _step;
34564
34631
  try {
34565
34632
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -34618,9 +34685,9 @@ var useWidgetProviders = function useWidgetProviders() {
34618
34685
  };
34619
34686
  };
34620
34687
 
34621
- function _createForOfIteratorHelper$O(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$O(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
34622
- function _unsupportedIterableToArray$O(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$O(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$O(r, a) : void 0; } }
34623
- function _arrayLikeToArray$O(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
34688
+ function _createForOfIteratorHelper$P(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$P(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
34689
+ function _unsupportedIterableToArray$P(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$P(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$P(r, a) : void 0; } }
34690
+ function _arrayLikeToArray$P(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
34624
34691
 
34625
34692
  /**
34626
34693
  * Module-level shared state for MCP server connections.
@@ -34675,7 +34742,7 @@ function unionPathScope(grants, serverName) {
34675
34742
  allowedPaths: []
34676
34743
  };
34677
34744
  }
34678
- var _iterator = _createForOfIteratorHelper$O(grants),
34745
+ var _iterator = _createForOfIteratorHelper$P(grants),
34679
34746
  _step;
34680
34747
  try {
34681
34748
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -34688,7 +34755,7 @@ function unionPathScope(grants, serverName) {
34688
34755
  var serverPerms = servers[serverName];
34689
34756
  if (!serverPerms || _typeof(serverPerms) !== "object") continue;
34690
34757
  if (Array.isArray(serverPerms.readPaths)) {
34691
- var _iterator2 = _createForOfIteratorHelper$O(serverPerms.readPaths),
34758
+ var _iterator2 = _createForOfIteratorHelper$P(serverPerms.readPaths),
34692
34759
  _step2;
34693
34760
  try {
34694
34761
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -34702,7 +34769,7 @@ function unionPathScope(grants, serverName) {
34702
34769
  }
34703
34770
  }
34704
34771
  if (Array.isArray(serverPerms.writePaths)) {
34705
- var _iterator3 = _createForOfIteratorHelper$O(serverPerms.writePaths),
34772
+ var _iterator3 = _createForOfIteratorHelper$P(serverPerms.writePaths),
34706
34773
  _step3;
34707
34774
  try {
34708
34775
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -35509,9 +35576,9 @@ var useNotifications = function useNotifications() {
35509
35576
  };
35510
35577
  };
35511
35578
 
35512
- function _createForOfIteratorHelper$N(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$N(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
35513
- function _unsupportedIterableToArray$N(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$N(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$N(r, a) : void 0; } }
35514
- function _arrayLikeToArray$N(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
35579
+ function _createForOfIteratorHelper$O(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$O(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
35580
+ function _unsupportedIterableToArray$O(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$O(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$O(r, a) : void 0; } }
35581
+ function _arrayLikeToArray$O(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
35515
35582
 
35516
35583
  /**
35517
35584
  * useScheduler Hook
@@ -35584,7 +35651,7 @@ var useScheduler = function useScheduler() {
35584
35651
  if (pending && pending.length > 0) {
35585
35652
  setPendingResults(pending);
35586
35653
  // Call handlers for each pending result
35587
- var _iterator = _createForOfIteratorHelper$N(pending),
35654
+ var _iterator = _createForOfIteratorHelper$O(pending),
35588
35655
  _step;
35589
35656
  try {
35590
35657
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -36823,9 +36890,9 @@ var CustomHexColorPane = function CustomHexColorPane(_ref) {
36823
36890
  });
36824
36891
  };
36825
36892
 
36826
- function _createForOfIteratorHelper$M(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$M(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
36827
- function _unsupportedIterableToArray$M(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$M(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$M(r, a) : void 0; } }
36828
- function _arrayLikeToArray$M(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
36893
+ function _createForOfIteratorHelper$N(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$N(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
36894
+ function _unsupportedIterableToArray$N(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$N(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$N(r, a) : void 0; } }
36895
+ function _arrayLikeToArray$N(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
36829
36896
  function rgbDistSq(a, b) {
36830
36897
  var dr = a.r - b.r;
36831
36898
  var dg = a.g - b.g;
@@ -36843,13 +36910,13 @@ function nearestSwatch(hex, families) {
36843
36910
  var target = hexToRgb$1(hex);
36844
36911
  if (!target) return null;
36845
36912
  var best = null;
36846
- var _iterator = _createForOfIteratorHelper$M(families),
36913
+ var _iterator = _createForOfIteratorHelper$N(families),
36847
36914
  _step;
36848
36915
  try {
36849
36916
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
36850
36917
  var family = _step.value;
36851
36918
  var grid = getCuratedColorGrid(family) || [];
36852
- var _iterator2 = _createForOfIteratorHelper$M(grid),
36919
+ var _iterator2 = _createForOfIteratorHelper$N(grid),
36853
36920
  _step2;
36854
36921
  try {
36855
36922
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -43911,9 +43978,9 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
43911
43978
  });
43912
43979
  };
43913
43980
 
43914
- function _createForOfIteratorHelper$L(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$L(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
43915
- function _unsupportedIterableToArray$L(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$L(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$L(r, a) : void 0; } }
43916
- function _arrayLikeToArray$L(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
43981
+ function _createForOfIteratorHelper$M(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$M(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
43982
+ function _unsupportedIterableToArray$M(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$M(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$M(r, a) : void 0; } }
43983
+ function _arrayLikeToArray$M(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
43917
43984
  /**
43918
43985
  * groupRowsByPackage
43919
43986
  *
@@ -43965,7 +44032,7 @@ function _hasGrant(granted) {
43965
44032
  function groupRowsByPackage(rows) {
43966
44033
  if (!Array.isArray(rows)) return [];
43967
44034
  var byPackage = new Map();
43968
- var _iterator = _createForOfIteratorHelper$L(rows),
44035
+ var _iterator = _createForOfIteratorHelper$M(rows),
43969
44036
  _step;
43970
44037
  try {
43971
44038
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -44175,15 +44242,15 @@ var PrivacySecurityList = function PrivacySecurityList(_ref) {
44175
44242
  * absence), false for paths (scanner can't see them)
44176
44243
  * @returns {Set<string>} the granted items that are stale
44177
44244
  */
44178
- function _createForOfIteratorHelper$K(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$K(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44179
- function _unsupportedIterableToArray$K(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$K(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$K(r, a) : void 0; } }
44180
- function _arrayLikeToArray$K(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44245
+ function _createForOfIteratorHelper$L(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$L(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44246
+ function _unsupportedIterableToArray$L(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$L(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$L(r, a) : void 0; } }
44247
+ function _arrayLikeToArray$L(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44181
44248
  function computeStaleItems(declaredItems, grantedItems, validatesStale) {
44182
44249
  var out = new Set();
44183
44250
  if (!validatesStale) return out;
44184
44251
  var declared = new Set(Array.isArray(declaredItems) ? declaredItems : []);
44185
44252
  var granted = Array.isArray(grantedItems) ? grantedItems : [];
44186
- var _iterator = _createForOfIteratorHelper$K(granted),
44253
+ var _iterator = _createForOfIteratorHelper$L(granted),
44187
44254
  _step;
44188
44255
  try {
44189
44256
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -44780,9 +44847,9 @@ var WidgetPackageDetail = function WidgetPackageDetail(_ref) {
44780
44847
  */
44781
44848
  function ownKeys$14(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
44782
44849
  function _objectSpread$14(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$14(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$14(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
44783
- function _createForOfIteratorHelper$J(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$J(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44784
- function _unsupportedIterableToArray$J(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$J(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$J(r, a) : void 0; } }
44785
- function _arrayLikeToArray$J(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44850
+ function _createForOfIteratorHelper$K(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$K(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44851
+ function _unsupportedIterableToArray$K(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$K(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$K(r, a) : void 0; } }
44852
+ function _arrayLikeToArray$K(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44786
44853
  function applyToolToggle(grant, labels, tool, on) {
44787
44854
  if (!grant || _typeof(grant) !== "object") return null;
44788
44855
  if (!Array.isArray(labels) || labels.length === 0) return null;
@@ -44803,7 +44870,7 @@ function applyToolToggle(grant, labels, tool, on) {
44803
44870
  }
44804
44871
 
44805
44872
  // Apply the toggle to each target label.
44806
- var _iterator = _createForOfIteratorHelper$J(labels),
44873
+ var _iterator = _createForOfIteratorHelper$K(labels),
44807
44874
  _step;
44808
44875
  try {
44809
44876
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -44863,9 +44930,9 @@ function applyToolToggle(grant, labels, tool, on) {
44863
44930
  */
44864
44931
  function ownKeys$13(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
44865
44932
  function _objectSpread$13(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$13(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$13(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
44866
- function _createForOfIteratorHelper$I(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$I(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44867
- function _unsupportedIterableToArray$I(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$I(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$I(r, a) : void 0; } }
44868
- function _arrayLikeToArray$I(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44933
+ function _createForOfIteratorHelper$J(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$J(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44934
+ function _unsupportedIterableToArray$J(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$J(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$J(r, a) : void 0; } }
44935
+ function _arrayLikeToArray$J(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44869
44936
  var VALID_KINDS$1 = new Set(["readPaths", "writePaths"]);
44870
44937
  function applyPathRemoval(grant, labels, kind, path) {
44871
44938
  if (!grant || _typeof(grant) !== "object") return null;
@@ -44884,7 +44951,7 @@ function applyPathRemoval(grant, labels, kind, path) {
44884
44951
  };
44885
44952
  }
44886
44953
  if (VALID_KINDS$1.has(kind)) {
44887
- var _iterator = _createForOfIteratorHelper$I(labels),
44954
+ var _iterator = _createForOfIteratorHelper$J(labels),
44888
44955
  _step;
44889
44956
  try {
44890
44957
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -44992,9 +45059,9 @@ function applyDomainItemRemoval(grant, domain, kind, value) {
44992
45059
 
44993
45060
  function ownKeys$11(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
44994
45061
  function _objectSpread$11(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$11(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$11(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
44995
- function _createForOfIteratorHelper$H(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$H(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
44996
- function _unsupportedIterableToArray$H(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$H(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$H(r, a) : void 0; } }
44997
- function _arrayLikeToArray$H(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
45062
+ function _createForOfIteratorHelper$I(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$I(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
45063
+ function _unsupportedIterableToArray$I(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$I(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$I(r, a) : void 0; } }
45064
+ function _arrayLikeToArray$I(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
44998
45065
  var PrivacySecuritySection = function PrivacySecuritySection() {
44999
45066
  var _useContext = useContext(AppContext),
45000
45067
  providers = _useContext.providers;
@@ -45165,7 +45232,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
45165
45232
  }
45166
45233
  }
45167
45234
  targets = labels.length > 0 ? labels : [serverName];
45168
- _iterator = _createForOfIteratorHelper$H(targets);
45235
+ _iterator = _createForOfIteratorHelper$I(targets);
45169
45236
  _context4.prev = 1;
45170
45237
  _iterator.s();
45171
45238
  case 2:
@@ -45459,7 +45526,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
45459
45526
  return _context9.abrupt("return");
45460
45527
  case 3:
45461
45528
  next = currentGrant;
45462
- _iterator2 = _createForOfIteratorHelper$H(declaredTools);
45529
+ _iterator2 = _createForOfIteratorHelper$I(declaredTools);
45463
45530
  try {
45464
45531
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
45465
45532
  tool = _step2.value;
@@ -45499,7 +45566,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
45499
45566
  while (1) switch (_context0.prev = _context0.next) {
45500
45567
  case 0:
45501
45568
  _context0.prev = 0;
45502
- _iterator3 = _createForOfIteratorHelper$H(packageGroup.widgets);
45569
+ _iterator3 = _createForOfIteratorHelper$I(packageGroup.widgets);
45503
45570
  _context0.prev = 1;
45504
45571
  _iterator3.s();
45505
45572
  case 2:
@@ -46698,9 +46765,9 @@ function parseCron(cron) {
46698
46765
  };
46699
46766
  }
46700
46767
 
46701
- function _createForOfIteratorHelper$G(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$G(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
46702
- function _unsupportedIterableToArray$G(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$G(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$G(r, a) : void 0; } }
46703
- function _arrayLikeToArray$G(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
46768
+ function _createForOfIteratorHelper$H(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$H(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
46769
+ function _unsupportedIterableToArray$H(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$H(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$H(r, a) : void 0; } }
46770
+ function _arrayLikeToArray$H(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
46704
46771
  /**
46705
46772
  * teamUtils.js
46706
46773
  *
@@ -46733,7 +46800,7 @@ function dashboardOptions(workspaces) {
46733
46800
  return w && norm(w.id) !== null;
46734
46801
  });
46735
46802
  var totals = {};
46736
- var _iterator = _createForOfIteratorHelper$G(list),
46803
+ var _iterator = _createForOfIteratorHelper$H(list),
46737
46804
  _step;
46738
46805
  try {
46739
46806
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -46780,7 +46847,7 @@ function groupBotsByTeam(bots, workspaces) {
46780
46847
  label: "Unassigned",
46781
46848
  bots: []
46782
46849
  };
46783
- var _iterator2 = _createForOfIteratorHelper$G(list),
46850
+ var _iterator2 = _createForOfIteratorHelper$H(list),
46784
46851
  _step2;
46785
46852
  try {
46786
46853
  var _loop = function _loop() {
@@ -51440,9 +51507,9 @@ var CreateScoutStep = function CreateScoutStep(_ref) {
51440
51507
  });
51441
51508
  };
51442
51509
 
51443
- function _createForOfIteratorHelper$F(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$F(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
51444
- function _unsupportedIterableToArray$F(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$F(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$F(r, a) : void 0; } }
51445
- function _arrayLikeToArray$F(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
51510
+ function _createForOfIteratorHelper$G(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$G(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
51511
+ function _unsupportedIterableToArray$G(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$G(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$G(r, a) : void 0; } }
51512
+ function _arrayLikeToArray$G(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
51446
51513
  // A copy of electron/bots/teamPlan.js for the renderer (the Create screen's
51447
51514
  // Plan step, phase 4). Keep the two the same — teamPlan.parity.test.js checks.
51448
51515
  /**
@@ -51528,7 +51595,7 @@ function gridCells(grid) {
51528
51595
  var problems = [];
51529
51596
  var taken = new Map(); // "r.c" → widget
51530
51597
  var seen = new Set();
51531
- var _iterator = _createForOfIteratorHelper$F(Array.isArray(grid.cells) ? grid.cells : []),
51598
+ var _iterator = _createForOfIteratorHelper$G(Array.isArray(grid.cells) ? grid.cells : []),
51532
51599
  _step;
51533
51600
  try {
51534
51601
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -51634,7 +51701,7 @@ function checkGrid(grid, at, names, errors, warnings) {
51634
51701
  var _gridCells3 = gridCells(grid),
51635
51702
  fits = _gridCells3.fits,
51636
51703
  problems = _gridCells3.problems;
51637
- var _iterator5 = _createForOfIteratorHelper$F(problems),
51704
+ var _iterator5 = _createForOfIteratorHelper$G(problems),
51638
51705
  _step5;
51639
51706
  try {
51640
51707
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -51646,7 +51713,7 @@ function checkGrid(grid, at, names, errors, warnings) {
51646
51713
  } finally {
51647
51714
  _iterator5.f();
51648
51715
  }
51649
- var _iterator6 = _createForOfIteratorHelper$F(fits),
51716
+ var _iterator6 = _createForOfIteratorHelper$G(fits),
51650
51717
  _step6;
51651
51718
  try {
51652
51719
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -51808,7 +51875,7 @@ function validatePlan(plan) {
51808
51875
  errors.push("".concat(at, ".pages[").concat(j, "] needs a name and a list of widgets."));
51809
51876
  return;
51810
51877
  }
51811
- var _iterator7 = _createForOfIteratorHelper$F(pg.widgets),
51878
+ var _iterator7 = _createForOfIteratorHelper$G(pg.widgets),
51812
51879
  _step7;
51813
51880
  try {
51814
51881
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -51844,7 +51911,7 @@ function validatePlan(plan) {
51844
51911
  // A provider the user doesn't have: the build waits on that step
51845
51912
  // ("needs a provider", CRE-004 AC5) — a warning, not an error.
51846
51913
  if (have.size && Array.isArray(p.providers)) {
51847
- var _iterator8 = _createForOfIteratorHelper$F(p.providers),
51914
+ var _iterator8 = _createForOfIteratorHelper$G(p.providers),
51848
51915
  _step8;
51849
51916
  try {
51850
51917
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -51869,7 +51936,7 @@ function validatePlan(plan) {
51869
51936
  if (Array.isArray(pieces)) {
51870
51937
  var byName = function byName(kind) {
51871
51938
  var out = new Map();
51872
- var _iterator9 = _createForOfIteratorHelper$F(pieces),
51939
+ var _iterator9 = _createForOfIteratorHelper$G(pieces),
51873
51940
  _step9;
51874
51941
  try {
51875
51942
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -51963,9 +52030,9 @@ function validatePlan(plan) {
51963
52030
  };
51964
52031
  }
51965
52032
 
51966
- function _createForOfIteratorHelper$E(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$E(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
51967
- function _unsupportedIterableToArray$E(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$E(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$E(r, a) : void 0; } }
51968
- function _arrayLikeToArray$E(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52033
+ function _createForOfIteratorHelper$F(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$F(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52034
+ function _unsupportedIterableToArray$F(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$F(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$F(r, a) : void 0; } }
52035
+ function _arrayLikeToArray$F(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
51969
52036
  var STEP_TOKENS = {
51970
52037
  widget: {
51971
52038
  "new": {
@@ -52040,7 +52107,7 @@ function estimatePlan(plan) {
52040
52107
  builder: 0,
52041
52108
  checker: 0
52042
52109
  };
52043
- var _iterator = _createForOfIteratorHelper$E(pieces),
52110
+ var _iterator = _createForOfIteratorHelper$F(pieces),
52044
52111
  _step;
52045
52112
  try {
52046
52113
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -52099,9 +52166,9 @@ function describeEstimate(est) {
52099
52166
 
52100
52167
  function ownKeys$X(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
52101
52168
  function _objectSpread$X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52102
- function _createForOfIteratorHelper$D(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$D(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52103
- function _unsupportedIterableToArray$D(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$D(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$D(r, a) : void 0; } }
52104
- function _arrayLikeToArray$D(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52169
+ function _createForOfIteratorHelper$E(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$E(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52170
+ function _unsupportedIterableToArray$E(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$E(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$E(r, a) : void 0; } }
52171
+ function _arrayLikeToArray$E(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52105
52172
 
52106
52173
  // The Planner's names for provider types → the type ids Dash uses.
52107
52174
  var ALIASES = {
@@ -52178,12 +52245,12 @@ function buildChecklist(plan) {
52178
52245
  }
52179
52246
  });
52180
52247
  var seenType = new Set();
52181
- var _iterator = _createForOfIteratorHelper$D(pieces),
52248
+ var _iterator = _createForOfIteratorHelper$E(pieces),
52182
52249
  _step;
52183
52250
  try {
52184
52251
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
52185
52252
  var p = _step.value;
52186
- var _iterator3 = _createForOfIteratorHelper$D(p && p.providers || []),
52253
+ var _iterator3 = _createForOfIteratorHelper$E(p && p.providers || []),
52187
52254
  _step3;
52188
52255
  try {
52189
52256
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -52210,7 +52277,7 @@ function buildChecklist(plan) {
52210
52277
  } finally {
52211
52278
  _iterator.f();
52212
52279
  }
52213
- var _iterator2 = _createForOfIteratorHelper$D(plan && plan.beforeBuilding || []),
52280
+ var _iterator2 = _createForOfIteratorHelper$E(plan && plan.beforeBuilding || []),
52214
52281
  _step2;
52215
52282
  try {
52216
52283
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -52356,7 +52423,7 @@ function countsLine(plan) {
52356
52423
  });
52357
52424
  if (!group.length) return 1; // continue
52358
52425
  var bySource = {};
52359
- var _iterator4 = _createForOfIteratorHelper$D(group),
52426
+ var _iterator4 = _createForOfIteratorHelper$E(group),
52360
52427
  _step4;
52361
52428
  try {
52362
52429
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -52476,7 +52543,7 @@ function botDetails(piece) {
52476
52543
  return s ? s.charAt(0).toUpperCase() + s.slice(1) : s;
52477
52544
  };
52478
52545
  var starts = [];
52479
- var _iterator6 = _createForOfIteratorHelper$D(Array.isArray(p.on) ? p.on : []),
52546
+ var _iterator6 = _createForOfIteratorHelper$E(Array.isArray(p.on) ? p.on : []),
52480
52547
  _step6;
52481
52548
  try {
52482
52549
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -52522,9 +52589,9 @@ function editNote(edits) {
52522
52589
 
52523
52590
  function ownKeys$W(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
52524
52591
  function _objectSpread$W(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$W(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$W(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52525
- function _createForOfIteratorHelper$C(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$C(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52526
- function _unsupportedIterableToArray$C(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$C(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$C(r, a) : void 0; } }
52527
- function _arrayLikeToArray$C(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52592
+ function _createForOfIteratorHelper$D(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$D(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52593
+ function _unsupportedIterableToArray$D(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$D(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$D(r, a) : void 0; } }
52594
+ function _arrayLikeToArray$D(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52528
52595
  function classOf(provider) {
52529
52596
  return provider && provider.providerClass || "credential";
52530
52597
  }
@@ -52646,7 +52713,7 @@ function providerUsage(name, _ref2) {
52646
52713
  bots = _ref2$bots === void 0 ? [] : _ref2$bots,
52647
52714
  bindingsFor = _ref2.bindingsFor;
52648
52715
  var dashboards = [];
52649
- var _iterator = _createForOfIteratorHelper$C(workspaces || []),
52716
+ var _iterator = _createForOfIteratorHelper$D(workspaces || []),
52650
52717
  _step;
52651
52718
  try {
52652
52719
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -52729,9 +52796,9 @@ function groupProviders(providers) {
52729
52796
  });
52730
52797
  }
52731
52798
 
52732
- function _createForOfIteratorHelper$B(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$B(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52733
- function _unsupportedIterableToArray$B(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$B(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$B(r, a) : void 0; } }
52734
- function _arrayLikeToArray$B(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52799
+ function _createForOfIteratorHelper$C(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$C(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
52800
+ function _unsupportedIterableToArray$C(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$C(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$C(r, a) : void 0; } }
52801
+ function _arrayLikeToArray$C(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
52735
52802
  function ownKeys$V(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
52736
52803
  function _objectSpread$V(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$V(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$V(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52737
52804
  var getWidgetRequirements$1 = function getWidgetRequirements(name) {
@@ -52809,7 +52876,7 @@ function useProviderStatus(_ref) {
52809
52876
  };
52810
52877
  var checkRunning = useCallback(function () {
52811
52878
  if (!dashApi || typeof dashApi.mcpGetServerStatus !== "function") return;
52812
- var _iterator = _createForOfIteratorHelper$B(mcpNames ? mcpNames.split("\n") : []),
52879
+ var _iterator = _createForOfIteratorHelper$C(mcpNames ? mcpNames.split("\n") : []),
52813
52880
  _step;
52814
52881
  try {
52815
52882
  var _loop = function _loop() {
@@ -53065,9 +53132,9 @@ var OverflowMenu = function OverflowMenu(_ref4) {
53065
53132
 
53066
53133
  function ownKeys$U(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
53067
53134
  function _objectSpread$U(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$U(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$U(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
53068
- function _createForOfIteratorHelper$A(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$A(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
53069
- function _unsupportedIterableToArray$A(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$A(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$A(r, a) : void 0; } }
53070
- function _arrayLikeToArray$A(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
53135
+ function _createForOfIteratorHelper$B(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$B(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
53136
+ function _unsupportedIterableToArray$B(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$B(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$B(r, a) : void 0; } }
53137
+ function _arrayLikeToArray$B(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
53071
53138
  /**
53072
53139
  * applyBulkProviderBindings — pure utility for the dashboard config
53073
53140
  * bulk-edit modal's Save path.
@@ -53125,7 +53192,7 @@ function applyToLayoutArray(layout, changesByWidgetId) {
53125
53192
  var next = layout.map(function (item) {
53126
53193
  if (!item) return item;
53127
53194
  var matchedChanges = null;
53128
- var _iterator = _createForOfIteratorHelper$A(changesByWidgetId.entries()),
53195
+ var _iterator = _createForOfIteratorHelper$B(changesByWidgetId.entries()),
53129
53196
  _step;
53130
53197
  try {
53131
53198
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -53175,7 +53242,7 @@ function applyBulkProviderBindings(workspace, changes) {
53175
53242
  // Group changes by widgetId so we can match each layout item once
53176
53243
  // and apply every type-level change on it in a single pass.
53177
53244
  var changesByWidgetId = new Map();
53178
- var _iterator2 = _createForOfIteratorHelper$A(changes),
53245
+ var _iterator2 = _createForOfIteratorHelper$B(changes),
53179
53246
  _step2;
53180
53247
  try {
53181
53248
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -53197,7 +53264,7 @@ function applyBulkProviderBindings(workspace, changes) {
53197
53264
  // ── Layer 2: workspace.selectedProviders ─────────────────────────
53198
53265
  var nextSelectedProviders = _objectSpread$U({}, workspace.selectedProviders || {});
53199
53266
  var layer2Changed = false;
53200
- var _iterator3 = _createForOfIteratorHelper$A(changesByWidgetId.entries()),
53267
+ var _iterator3 = _createForOfIteratorHelper$B(changesByWidgetId.entries()),
53201
53268
  _step3;
53202
53269
  try {
53203
53270
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -53564,9 +53631,9 @@ function reconcileWorkspaceAfterLayoutChange(workspace) {
53564
53631
 
53565
53632
  function ownKeys$S(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
53566
53633
  function _objectSpread$S(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$S(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$S(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
53567
- function _createForOfIteratorHelper$z(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$z(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
53568
- function _unsupportedIterableToArray$z(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$z(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$z(r, a) : void 0; } }
53569
- function _arrayLikeToArray$z(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
53634
+ function _createForOfIteratorHelper$A(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$A(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
53635
+ function _unsupportedIterableToArray$A(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$A(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$A(r, a) : void 0; } }
53636
+ function _arrayLikeToArray$A(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
53570
53637
  var explicitBinding = function explicitBinding(workspace, binding) {
53571
53638
  return binding.layoutItem && binding.layoutItem.selectedProviders && binding.layoutItem.selectedProviders[binding.providerType] || binding.widgetId != null && workspace.selectedProviders && workspace.selectedProviders[binding.widgetId] && workspace.selectedProviders[binding.widgetId][binding.providerType] || null;
53572
53639
  };
@@ -53606,7 +53673,7 @@ function providerUseModel(_ref) {
53606
53673
  return !!(s && s.key === "needsSetup");
53607
53674
  };
53608
53675
  var dashboards = [];
53609
- var _iterator = _createForOfIteratorHelper$z(workspaces || []),
53676
+ var _iterator = _createForOfIteratorHelper$A(workspaces || []),
53610
53677
  _step;
53611
53678
  try {
53612
53679
  var _loop = function _loop() {
@@ -53692,13 +53759,13 @@ function planProviderUse(model) {
53692
53759
  };
53693
53760
  var workspaces = [];
53694
53761
  var count = 0;
53695
- var _iterator2 = _createForOfIteratorHelper$z(model.dashboards),
53762
+ var _iterator2 = _createForOfIteratorHelper$A(model.dashboards),
53696
53763
  _step2;
53697
53764
  try {
53698
53765
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
53699
53766
  var d = _step2.value;
53700
53767
  var changes = [];
53701
- var _iterator4 = _createForOfIteratorHelper$z(d.rows),
53768
+ var _iterator4 = _createForOfIteratorHelper$A(d.rows),
53702
53769
  _step4;
53703
53770
  try {
53704
53771
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -53729,7 +53796,7 @@ function planProviderUse(model) {
53729
53796
  _iterator2.f();
53730
53797
  }
53731
53798
  var bots = [];
53732
- var _iterator3 = _createForOfIteratorHelper$z(model.bots),
53799
+ var _iterator3 = _createForOfIteratorHelper$A(model.bots),
53733
53800
  _step3;
53734
53801
  try {
53735
53802
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -53792,7 +53859,7 @@ function _applyProviderUse() {
53792
53859
  bots: 0,
53793
53860
  failed: []
53794
53861
  };
53795
- _iterator5 = _createForOfIteratorHelper$z(plan.workspaces);
53862
+ _iterator5 = _createForOfIteratorHelper$A(plan.workspaces);
53796
53863
  _context3.prev = 1;
53797
53864
  _loop2 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop2() {
53798
53865
  var _step5$value, workspaceId, changes, workspace, name, updated, _iterator7, _step7, c, _t;
@@ -53816,7 +53883,7 @@ function _applyProviderUse() {
53816
53883
  return saveWorkspace(dashApi, appId, updated);
53817
53884
  case 3:
53818
53885
  result.dashboards += 1;
53819
- _iterator7 = _createForOfIteratorHelper$z(changes);
53886
+ _iterator7 = _createForOfIteratorHelper$A(changes);
53820
53887
  try {
53821
53888
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
53822
53889
  c = _step7.value;
@@ -53865,7 +53932,7 @@ function _applyProviderUse() {
53865
53932
  _iterator5.f();
53866
53933
  return _context3.finish(6);
53867
53934
  case 7:
53868
- _iterator6 = _createForOfIteratorHelper$z(plan.bots);
53935
+ _iterator6 = _createForOfIteratorHelper$A(plan.bots);
53869
53936
  _context3.prev = 8;
53870
53937
  _loop3 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop3() {
53871
53938
  var _step6$value, botId, add, bot, name, current, mcpServers, _t2;
@@ -53944,21 +54011,21 @@ function _applyProviderUse() {
53944
54011
 
53945
54012
  function ownKeys$R(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
53946
54013
  function _objectSpread$R(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$R(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$R(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
53947
- function _createForOfIteratorHelper$y(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$y(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
53948
- function _unsupportedIterableToArray$y(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$y(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$y(r, a) : void 0; } }
53949
- function _arrayLikeToArray$y(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
54014
+ function _createForOfIteratorHelper$z(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$z(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
54015
+ function _unsupportedIterableToArray$z(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$z(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$z(r, a) : void 0; } }
54016
+ function _arrayLikeToArray$z(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
53950
54017
  var plural$5 = function plural(n, one) {
53951
54018
  var many = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "".concat(one, "s");
53952
54019
  return "".concat(n, " ").concat(n === 1 ? one : many);
53953
54020
  };
53954
54021
  var initialPicks = function initialPicks(model) {
53955
54022
  var picks = {};
53956
- var _iterator = _createForOfIteratorHelper$y(model && model.dashboards || []),
54023
+ var _iterator = _createForOfIteratorHelper$z(model && model.dashboards || []),
53957
54024
  _step;
53958
54025
  try {
53959
54026
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
53960
54027
  var d = _step.value;
53961
- var _iterator3 = _createForOfIteratorHelper$y(d.rows),
54028
+ var _iterator3 = _createForOfIteratorHelper$z(d.rows),
53962
54029
  _step3;
53963
54030
  try {
53964
54031
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -53976,7 +54043,7 @@ var initialPicks = function initialPicks(model) {
53976
54043
  } finally {
53977
54044
  _iterator.f();
53978
54045
  }
53979
- var _iterator2 = _createForOfIteratorHelper$y(model && model.bots || []),
54046
+ var _iterator2 = _createForOfIteratorHelper$z(model && model.bots || []),
53980
54047
  _step2;
53981
54048
  try {
53982
54049
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -54040,12 +54107,12 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
54040
54107
  }, [isOpen, model]);
54041
54108
  var changes = useMemo(function () {
54042
54109
  var n = 0;
54043
- var _iterator4 = _createForOfIteratorHelper$y(model && model.dashboards || []),
54110
+ var _iterator4 = _createForOfIteratorHelper$z(model && model.dashboards || []),
54044
54111
  _step4;
54045
54112
  try {
54046
54113
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
54047
54114
  var d = _step4.value;
54048
- var _iterator6 = _createForOfIteratorHelper$y(d.rows),
54115
+ var _iterator6 = _createForOfIteratorHelper$z(d.rows),
54049
54116
  _step6;
54050
54117
  try {
54051
54118
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -54063,7 +54130,7 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
54063
54130
  } finally {
54064
54131
  _iterator4.f();
54065
54132
  }
54066
- var _iterator5 = _createForOfIteratorHelper$y(model && model.bots || []),
54133
+ var _iterator5 = _createForOfIteratorHelper$z(model && model.bots || []),
54067
54134
  _step5;
54068
54135
  try {
54069
54136
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -54087,7 +54154,7 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
54087
54154
  var tickAll = function tickAll(rows) {
54088
54155
  return setPicks(function (p) {
54089
54156
  var next = _objectSpread$R({}, p);
54090
- var _iterator7 = _createForOfIteratorHelper$y(rows),
54157
+ var _iterator7 = _createForOfIteratorHelper$z(rows),
54091
54158
  _step7;
54092
54159
  try {
54093
54160
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -55176,9 +55243,9 @@ var ProviderDetail = function ProviderDetail(_ref) {
55176
55243
 
55177
55244
  function ownKeys$P(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
55178
55245
  function _objectSpread$P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
55179
- function _createForOfIteratorHelper$x(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$x(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
55180
- function _unsupportedIterableToArray$x(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$x(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$x(r, a) : void 0; } }
55181
- function _arrayLikeToArray$x(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
55246
+ function _createForOfIteratorHelper$y(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$y(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
55247
+ function _unsupportedIterableToArray$y(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$y(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$y(r, a) : void 0; } }
55248
+ function _arrayLikeToArray$y(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
55182
55249
  function isValidWsUrl(url) {
55183
55250
  if (!url) return false;
55184
55251
  try {
@@ -55225,7 +55292,7 @@ function extractCredentialFields(url, headerRows) {
55225
55292
  fields.add(match[1]);
55226
55293
  }
55227
55294
  }
55228
- var _iterator = _createForOfIteratorHelper$x(headerRows),
55295
+ var _iterator = _createForOfIteratorHelper$y(headerRows),
55229
55296
  _step;
55230
55297
  try {
55231
55298
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -55330,7 +55397,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
55330
55397
  if (!url.trim()) errs.url = "WebSocket URL is required";else if (!isValidWsUrl(url)) errs.url = "URL must start with ws:// or wss://";
55331
55398
 
55332
55399
  // Check required credential fields are filled
55333
- var _iterator2 = _createForOfIteratorHelper$x(credentialFields),
55400
+ var _iterator2 = _createForOfIteratorHelper$y(credentialFields),
55334
55401
  _step2;
55335
55402
  try {
55336
55403
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -55353,7 +55420,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
55353
55420
 
55354
55421
  // Build headers object from rows
55355
55422
  var headers = {};
55356
- var _iterator3 = _createForOfIteratorHelper$x(headerRows),
55423
+ var _iterator3 = _createForOfIteratorHelper$y(headerRows),
55357
55424
  _step3;
55358
55425
  try {
55359
55426
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -55422,7 +55489,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
55422
55489
 
55423
55490
  // Build config from current form state (same as handleSave)
55424
55491
  headers = {};
55425
- _iterator4 = _createForOfIteratorHelper$x(headerRows);
55492
+ _iterator4 = _createForOfIteratorHelper$y(headerRows);
55426
55493
  try {
55427
55494
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
55428
55495
  row = _step4.value;
@@ -56621,9 +56688,9 @@ var ProvidersSection = function ProvidersSection(_ref) {
56621
56688
  });
56622
56689
  };
56623
56690
 
56624
- function _createForOfIteratorHelper$w(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$w(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
56625
- function _unsupportedIterableToArray$w(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$w(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$w(r, a) : void 0; } }
56626
- function _arrayLikeToArray$w(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
56691
+ function _createForOfIteratorHelper$x(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$x(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
56692
+ function _unsupportedIterableToArray$x(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$x(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$x(r, a) : void 0; } }
56693
+ function _arrayLikeToArray$x(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
56627
56694
  function usePanel() {
56628
56695
  var _ref = useContext(ThemeContext) || {},
56629
56696
  currentTheme = _ref.currentTheme;
@@ -56660,12 +56727,12 @@ function accessLines(permissions) {
56660
56727
  */
56661
56728
  function listingAccessLines(pkg) {
56662
56729
  var lines = [];
56663
- var _iterator = _createForOfIteratorHelper$w(pkg && pkg.widgets || []),
56730
+ var _iterator = _createForOfIteratorHelper$x(pkg && pkg.widgets || []),
56664
56731
  _step;
56665
56732
  try {
56666
56733
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
56667
56734
  var w = _step.value;
56668
- var _iterator3 = _createForOfIteratorHelper$w(accessLines(w && w.permissions)),
56735
+ var _iterator3 = _createForOfIteratorHelper$x(accessLines(w && w.permissions)),
56669
56736
  _step3;
56670
56737
  try {
56671
56738
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -56689,7 +56756,7 @@ function listingAccessLines(pkg) {
56689
56756
  }))).map(function (p) {
56690
56757
  return p && p.type;
56691
56758
  }).filter(Boolean)));
56692
- var _iterator2 = _createForOfIteratorHelper$w(types),
56759
+ var _iterator2 = _createForOfIteratorHelper$x(types),
56693
56760
  _step2;
56694
56761
  try {
56695
56762
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -57030,9 +57097,9 @@ var SwapPicker = function SwapPicker(_ref5) {
57030
57097
 
57031
57098
  function ownKeys$O(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
57032
57099
  function _objectSpread$O(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$O(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$O(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
57033
- function _createForOfIteratorHelper$v(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$v(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
57034
- function _unsupportedIterableToArray$v(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$v(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$v(r, a) : void 0; } }
57035
- function _arrayLikeToArray$v(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
57100
+ function _createForOfIteratorHelper$w(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$w(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
57101
+ function _unsupportedIterableToArray$w(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$w(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$w(r, a) : void 0; } }
57102
+ function _arrayLikeToArray$w(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
57036
57103
  var ROLE = {
57037
57104
  builder: "Builder",
57038
57105
  checker: "Checker",
@@ -57066,13 +57133,13 @@ var HEAD = {
57066
57133
  /** The providers waiting steps need, once each: ["gmail"]. */
57067
57134
  function waitingProviders(steps) {
57068
57135
  var out = [];
57069
- var _iterator = _createForOfIteratorHelper$v(steps || []),
57136
+ var _iterator = _createForOfIteratorHelper$w(steps || []),
57070
57137
  _step;
57071
57138
  try {
57072
57139
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
57073
57140
  var s = _step.value;
57074
57141
  if (s.status !== "needs-provider") continue;
57075
- var _iterator2 = _createForOfIteratorHelper$v(s.waitingFor || []),
57142
+ var _iterator2 = _createForOfIteratorHelper$w(s.waitingFor || []),
57076
57143
  _step2;
57077
57144
  try {
57078
57145
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -57649,7 +57716,7 @@ var RemoveSummary = function RemoveSummary(_ref8) {
57649
57716
  var n = built.placed.length;
57650
57717
  goes.push("".concat(n === 1 ? "The widget" : "The ".concat(n, " widgets"), " it put on ").concat(built.dashboard.name));
57651
57718
  }
57652
- var _iterator3 = _createForOfIteratorHelper$v(built.bots || []),
57719
+ var _iterator3 = _createForOfIteratorHelper$w(built.bots || []),
57653
57720
  _step3;
57654
57721
  try {
57655
57722
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -57664,7 +57731,7 @@ var RemoveSummary = function RemoveSummary(_ref8) {
57664
57731
  if (built.dashboard && !targeted) {
57665
57732
  goes.push("The dashboard's team lead, if it has one");
57666
57733
  }
57667
- var _iterator4 = _createForOfIteratorHelper$v(built.widgets || []),
57734
+ var _iterator4 = _createForOfIteratorHelper$w(built.widgets || []),
57668
57735
  _step4;
57669
57736
  try {
57670
57737
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -59711,9 +59778,9 @@ var RecentList = function RecentList(_ref2) {
59711
59778
 
59712
59779
  function ownKeys$I(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
59713
59780
  function _objectSpread$I(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$I(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$I(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
59714
- function _createForOfIteratorHelper$u(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$u(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
59715
- function _unsupportedIterableToArray$u(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$u(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$u(r, a) : void 0; } }
59716
- function _arrayLikeToArray$u(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
59781
+ function _createForOfIteratorHelper$v(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$v(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
59782
+ function _unsupportedIterableToArray$v(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$v(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$v(r, a) : void 0; } }
59783
+ function _arrayLikeToArray$v(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
59717
59784
  var STARTER_TAG = "starter";
59718
59785
  var titleCase$1 = function titleCase(s) {
59719
59786
  return String(s || "").split(/[-_\s]+/).filter(Boolean).map(function (w) {
@@ -59732,7 +59799,7 @@ function starterPackages(index) {
59732
59799
  /** "Productivity", … — the categories present, in order of first use. */
59733
59800
  function starterCategories(starters) {
59734
59801
  var out = [];
59735
- var _iterator = _createForOfIteratorHelper$u(starters || []),
59802
+ var _iterator = _createForOfIteratorHelper$v(starters || []),
59736
59803
  _step;
59737
59804
  try {
59738
59805
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -59857,7 +59924,7 @@ function starterToPlan(config) {
59857
59924
  };
59858
59925
  var widgetPieces = [];
59859
59926
  var nameOfWidget = new Map();
59860
- var _iterator2 = _createForOfIteratorHelper$u(widgetItems(ws)),
59927
+ var _iterator2 = _createForOfIteratorHelper$v(widgetItems(ws)),
59861
59928
  _step2;
59862
59929
  try {
59863
59930
  var _loop = function _loop() {
@@ -59947,9 +60014,9 @@ function remixRequest(card, plan) {
59947
60014
 
59948
60015
  function ownKeys$H(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
59949
60016
  function _objectSpread$H(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$H(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$H(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
59950
- function _createForOfIteratorHelper$t(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$t(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
59951
- function _unsupportedIterableToArray$t(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$t(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$t(r, a) : void 0; } }
59952
- function _arrayLikeToArray$t(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
60017
+ function _createForOfIteratorHelper$u(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$u(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
60018
+ function _unsupportedIterableToArray$u(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$u(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$u(r, a) : void 0; } }
60019
+ function _arrayLikeToArray$u(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
59953
60020
  var titleCase = function titleCase(s) {
59954
60021
  return String(s || "").replace(/(^|[-_\s])(\w)/g, function (_m, sep, c) {
59955
60022
  return (sep ? " " : "") + c.toUpperCase();
@@ -60031,7 +60098,7 @@ var StarterCards = function StarterCards(_ref2) {
60031
60098
  var alive = true;
60032
60099
  var api = window.mainApi && window.mainApi.dashboardConfig;
60033
60100
  if (!api || !api.getPackageConfig) return undefined;
60034
- var _iterator = _createForOfIteratorHelper$t(starters),
60101
+ var _iterator = _createForOfIteratorHelper$u(starters),
60035
60102
  _step;
60036
60103
  try {
60037
60104
  var _loop = function _loop() {
@@ -60133,9 +60200,9 @@ var StarterCards = function StarterCards(_ref2) {
60133
60200
  });
60134
60201
  };
60135
60202
 
60136
- function _createForOfIteratorHelper$s(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$s(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
60137
- function _unsupportedIterableToArray$s(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$s(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$s(r, a) : void 0; } }
60138
- function _arrayLikeToArray$s(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
60203
+ function _createForOfIteratorHelper$t(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$t(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
60204
+ function _unsupportedIterableToArray$t(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$t(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$t(r, a) : void 0; } }
60205
+ function _arrayLikeToArray$t(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
60139
60206
  /**
60140
60207
  * leadMessages.js — pure helpers for messaging a team lead directly from the
60141
60208
  * AI Assistant's "To:" picker (bot-teams TEAM-013).
@@ -60181,7 +60248,7 @@ function buildLlmHistory(messages) {
60181
60248
  content: content
60182
60249
  });
60183
60250
  };
60184
- var _iterator = _createForOfIteratorHelper$s(messages || []),
60251
+ var _iterator = _createForOfIteratorHelper$t(messages || []),
60185
60252
  _step;
60186
60253
  try {
60187
60254
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -61824,9 +61891,9 @@ function _pickType() {
61824
61891
  return _pickType.apply(this, arguments);
61825
61892
  }
61826
61893
 
61827
- function _createForOfIteratorHelper$r(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$r(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
61828
- function _unsupportedIterableToArray$r(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$r(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$r(r, a) : void 0; } }
61829
- function _arrayLikeToArray$r(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
61894
+ function _createForOfIteratorHelper$s(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$s(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
61895
+ function _unsupportedIterableToArray$s(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$s(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$s(r, a) : void 0; } }
61896
+ function _arrayLikeToArray$s(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
61830
61897
  var THEME_SYSTEM = "You design color themes for Dash, a desktop dashboard app with a dark and a light mode. From the user's description, answer with JSON only:\n{\"name\": \"<2-3 word theme name>\", \"primary\": \"#rrggbb\", \"secondary\": \"#rrggbb\", \"tertiary\": \"#rrggbb\", \"neutral\": \"#rrggbb\"}\n- primary: the main accent (buttons, highlights).\n- secondary and tertiary: supporting accents that go with it.\n- neutral: a low-saturation gray-ish color for backgrounds and borders.\nPick colors that read well on both dark and light backgrounds.";
61831
61898
  var HEX = /^#[0-9a-f]{6}$/i;
61832
61899
  var CHANNELS = ["primary", "secondary", "tertiary", "neutral"];
@@ -61836,7 +61903,7 @@ function parseThemeAnswer(text) {
61836
61903
  var j = firstJson(text);
61837
61904
  if (!j) return null;
61838
61905
  var colors = {};
61839
- var _iterator = _createForOfIteratorHelper$r(CHANNELS),
61906
+ var _iterator = _createForOfIteratorHelper$s(CHANNELS),
61840
61907
  _step;
61841
61908
  try {
61842
61909
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -64661,9 +64728,9 @@ function matchesSource(entry, filter) {
64661
64728
  return widgetSource(entry, username) === filter;
64662
64729
  }
64663
64730
 
64664
- function _createForOfIteratorHelper$q(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$q(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
64665
- function _unsupportedIterableToArray$q(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$q(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$q(r, a) : void 0; } }
64666
- function _arrayLikeToArray$q(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
64731
+ function _createForOfIteratorHelper$r(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$r(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
64732
+ function _unsupportedIterableToArray$r(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$r(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$r(r, a) : void 0; } }
64733
+ function _arrayLikeToArray$r(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
64667
64734
  function ownKeys$A(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
64668
64735
  function _objectSpread$A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
64669
64736
  var DEFAULT_CONFIG_NAME$1 = "My Workspace";
@@ -65274,7 +65341,7 @@ var WidgetSidebar = function WidgetSidebar(_ref4) {
65274
65341
  return _context2.abrupt("return");
65275
65342
  case 2:
65276
65343
  names = new Set();
65277
- _iterator = _createForOfIteratorHelper$q(widgets);
65344
+ _iterator = _createForOfIteratorHelper$r(widgets);
65278
65345
  try {
65279
65346
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
65280
65347
  w = _step.value;
@@ -66522,9 +66589,9 @@ var useMissingWidgets = function useMissingWidgets(workspace) {
66522
66589
 
66523
66590
  function ownKeys$x(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
66524
66591
  function _objectSpread$x(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$x(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$x(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
66525
- function _createForOfIteratorHelper$p(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$p(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
66526
- function _unsupportedIterableToArray$p(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$p(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$p(r, a) : void 0; } }
66527
- function _arrayLikeToArray$p(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
66592
+ function _createForOfIteratorHelper$q(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$q(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
66593
+ function _unsupportedIterableToArray$q(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$q(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$q(r, a) : void 0; } }
66594
+ function _arrayLikeToArray$q(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
66528
66595
  var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
66529
66596
  var _ref$missingComponent = _ref.missingComponents,
66530
66597
  missingComponents = _ref$missingComponent === void 0 ? [] : _ref$missingComponent,
@@ -66575,7 +66642,7 @@ var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
66575
66642
  case 0:
66576
66643
  results = [];
66577
66644
  seen = new Set();
66578
- _iterator = _createForOfIteratorHelper$p(missingComponents);
66645
+ _iterator = _createForOfIteratorHelper$q(missingComponents);
66579
66646
  _context2.prev = 1;
66580
66647
  _loop = /*#__PURE__*/_regeneratorRuntime.mark(function _loop() {
66581
66648
  var componentKey, _getWidgetSearchQuery, packageName, widgetName, pkg, result;
@@ -66964,9 +67031,9 @@ function renderFormItem(displayName, key, instructions, required, value, _onChan
66964
67031
 
66965
67032
  function ownKeys$w(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
66966
67033
  function _objectSpread$w(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$w(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$w(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
66967
- function _createForOfIteratorHelper$o(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$o(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
66968
- function _unsupportedIterableToArray$o(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$o(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$o(r, a) : void 0; } }
66969
- function _arrayLikeToArray$o(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
67034
+ function _createForOfIteratorHelper$p(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$p(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
67035
+ function _unsupportedIterableToArray$p(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$p(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$p(r, a) : void 0; } }
67036
+ function _arrayLikeToArray$p(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
66970
67037
  var ALL_WIDGETS_ID = "__ALL__";
66971
67038
 
66972
67039
  /**
@@ -67054,7 +67121,7 @@ var WidgetsTab = function WidgetsTab(_ref) {
67054
67121
  // widgets from a single input.
67055
67122
  var sharedFields = useMemo(function () {
67056
67123
  var byKey = new Map();
67057
- var _iterator = _createForOfIteratorHelper$o(widgets),
67124
+ var _iterator = _createForOfIteratorHelper$p(widgets),
67058
67125
  _step;
67059
67126
  try {
67060
67127
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -67095,7 +67162,7 @@ var WidgetsTab = function WidgetsTab(_ref) {
67095
67162
  }, [sharedFields.length, widgets.length]);
67096
67163
  var groupedWidgets = useMemo(function () {
67097
67164
  var groups = new Map();
67098
- var _iterator2 = _createForOfIteratorHelper$o(widgets),
67165
+ var _iterator2 = _createForOfIteratorHelper$p(widgets),
67099
67166
  _step2;
67100
67167
  try {
67101
67168
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -67319,9 +67386,9 @@ function SharedFieldRow(_ref6) {
67319
67386
  });
67320
67387
  }
67321
67388
 
67322
- function _createForOfIteratorHelper$n(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$n(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
67323
- function _unsupportedIterableToArray$n(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$n(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$n(r, a) : void 0; } }
67324
- function _arrayLikeToArray$n(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
67389
+ function _createForOfIteratorHelper$o(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$o(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
67390
+ function _unsupportedIterableToArray$o(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$o(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$o(r, a) : void 0; } }
67391
+ function _arrayLikeToArray$o(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
67325
67392
  var PermissionsTab = function PermissionsTab(_ref) {
67326
67393
  var workspace = _ref.workspace;
67327
67394
  var _React$useContext = React__default.useContext(AppContext),
@@ -67548,7 +67615,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
67548
67615
  return _context4.abrupt("return");
67549
67616
  case 3:
67550
67617
  next = currentGrant;
67551
- _iterator = _createForOfIteratorHelper$n(declaredTools);
67618
+ _iterator = _createForOfIteratorHelper$o(declaredTools);
67552
67619
  try {
67553
67620
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
67554
67621
  tool = _step.value;
@@ -67708,7 +67775,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
67708
67775
  }
67709
67776
  }
67710
67777
  targets = labels.length > 0 ? labels : [serverName];
67711
- _iterator2 = _createForOfIteratorHelper$n(targets);
67778
+ _iterator2 = _createForOfIteratorHelper$o(targets);
67712
67779
  _context8.prev = 1;
67713
67780
  _iterator2.s();
67714
67781
  case 2:
@@ -67764,7 +67831,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
67764
67831
  case 0:
67765
67832
  setBusy(true);
67766
67833
  _context9.prev = 1;
67767
- _iterator3 = _createForOfIteratorHelper$n(filteredRows);
67834
+ _iterator3 = _createForOfIteratorHelper$o(filteredRows);
67768
67835
  _context9.prev = 2;
67769
67836
  _iterator3.s();
67770
67837
  case 3:
@@ -67823,7 +67890,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
67823
67890
  case 0:
67824
67891
  setBusy(true);
67825
67892
  _context0.prev = 1;
67826
- _iterator4 = _createForOfIteratorHelper$n(filteredRows);
67893
+ _iterator4 = _createForOfIteratorHelper$o(filteredRows);
67827
67894
  _context0.prev = 2;
67828
67895
  _iterator4.s();
67829
67896
  case 3:
@@ -68418,9 +68485,9 @@ var BotsTab = function BotsTab(_ref2) {
68418
68485
  });
68419
68486
  };
68420
68487
 
68421
- function _createForOfIteratorHelper$m(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$m(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
68422
- function _unsupportedIterableToArray$m(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$m(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$m(r, a) : void 0; } }
68423
- function _arrayLikeToArray$m(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
68488
+ function _createForOfIteratorHelper$n(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$n(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
68489
+ function _unsupportedIterableToArray$n(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$n(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$n(r, a) : void 0; } }
68490
+ function _arrayLikeToArray$n(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
68424
68491
  function ownKeys$u(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
68425
68492
  function _objectSpread$u(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$u(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$u(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
68426
68493
  var ConfigTab = function ConfigTab(_ref) {
@@ -68579,7 +68646,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68579
68646
  };
68580
68647
  if (!appProviders) return byType;
68581
68648
  if (Array.isArray(appProviders)) {
68582
- var _iterator = _createForOfIteratorHelper$m(appProviders),
68649
+ var _iterator = _createForOfIteratorHelper$n(appProviders),
68583
68650
  _step;
68584
68651
  try {
68585
68652
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -68645,7 +68712,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68645
68712
  });
68646
68713
  }
68647
68714
  if (Array.isArray(workspace === null || workspace === void 0 ? void 0 : workspace.pages)) {
68648
- var _iterator2 = _createForOfIteratorHelper$m(workspace.pages),
68715
+ var _iterator2 = _createForOfIteratorHelper$n(workspace.pages),
68649
68716
  _step2;
68650
68717
  try {
68651
68718
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -68672,7 +68739,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68672
68739
  var visitedByLocation = new WeakSet();
68673
68740
  var _collect = function collect(items, location) {
68674
68741
  if (!Array.isArray(items)) return;
68675
- var _iterator3 = _createForOfIteratorHelper$m(items),
68742
+ var _iterator3 = _createForOfIteratorHelper$n(items),
68676
68743
  _step3;
68677
68744
  try {
68678
68745
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -68773,7 +68840,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68773
68840
  }
68774
68841
  if (stagedListeners.adds.length > 0) {
68775
68842
  // Append; avoid duplicates against current state.
68776
- var _iterator4 = _createForOfIteratorHelper$m(stagedListeners.adds),
68843
+ var _iterator4 = _createForOfIteratorHelper$n(stagedListeners.adds),
68777
68844
  _step4;
68778
68845
  try {
68779
68846
  var _loop = function _loop() {
@@ -68797,7 +68864,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68797
68864
  }
68798
68865
  if (orphans.length === 0) return next;
68799
68866
  var orphanIndex = new Map();
68800
- var _iterator5 = _createForOfIteratorHelper$m(orphans),
68867
+ var _iterator5 = _createForOfIteratorHelper$n(orphans),
68801
68868
  _step5;
68802
68869
  try {
68803
68870
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -68839,7 +68906,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68839
68906
  function stagePrefFieldForAll(targetWidgets, key, value) {
68840
68907
  setStagedPrefs(function (prev) {
68841
68908
  var next = _objectSpread$u({}, prev);
68842
- var _iterator6 = _createForOfIteratorHelper$m(targetWidgets),
68909
+ var _iterator6 = _createForOfIteratorHelper$n(targetWidgets),
68843
68910
  _step6;
68844
68911
  try {
68845
68912
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -68884,7 +68951,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
68884
68951
  });
68885
68952
  setStaged(function (prev) {
68886
68953
  var next = _objectSpread$u({}, prev);
68887
- var _iterator7 = _createForOfIteratorHelper$m(affected),
68954
+ var _iterator7 = _createForOfIteratorHelper$n(affected),
68888
68955
  _step7;
68889
68956
  try {
68890
68957
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -69733,7 +69800,7 @@ function ListenersTab(_ref1) {
69733
69800
  // Receiver lookup (by composite key) for label resolution in chips.
69734
69801
  var receiverByKey = useMemo(function () {
69735
69802
  var m = new Map();
69736
- var _iterator8 = _createForOfIteratorHelper$m(receivers),
69803
+ var _iterator8 = _createForOfIteratorHelper$n(receivers),
69737
69804
  _step8;
69738
69805
  try {
69739
69806
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -69831,7 +69898,7 @@ function HandlersColumn(_ref11) {
69831
69898
  onSelectHandler = _ref11.onSelectHandler;
69832
69899
  var countsByHandler = useMemo(function () {
69833
69900
  var m = new Map();
69834
- var _iterator9 = _createForOfIteratorHelper$m(myWiring),
69901
+ var _iterator9 = _createForOfIteratorHelper$n(myWiring),
69835
69902
  _step9;
69836
69903
  try {
69837
69904
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -69908,7 +69975,7 @@ function EventsColumn(_ref12) {
69908
69975
  var wiredHere = useMemo(function () {
69909
69976
  var seen = new Set();
69910
69977
  var out = [];
69911
- var _iterator0 = _createForOfIteratorHelper$m(myWiring),
69978
+ var _iterator0 = _createForOfIteratorHelper$n(myWiring),
69912
69979
  _step0;
69913
69980
  try {
69914
69981
  for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
@@ -70602,9 +70669,9 @@ var BotChat = function BotChat(_ref) {
70602
70669
  });
70603
70670
  };
70604
70671
 
70605
- function _createForOfIteratorHelper$l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$l(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
70606
- function _unsupportedIterableToArray$l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$l(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$l(r, a) : void 0; } }
70607
- function _arrayLikeToArray$l(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
70672
+ function _createForOfIteratorHelper$m(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$m(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
70673
+ function _unsupportedIterableToArray$m(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$m(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$m(r, a) : void 0; } }
70674
+ function _arrayLikeToArray$m(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
70608
70675
  /**
70609
70676
  * botSummary — what the Bots page shows about a bot (app-navigation PRD
70610
70677
  * NAV-006): its widget-style name, avatar colour, providers + tools, each
@@ -70638,7 +70705,7 @@ function avatarColor(bot) {
70638
70705
  /** Each bot's newest run, from `listRecentRuns` (newest first). */
70639
70706
  function lastRunsByBot(recent) {
70640
70707
  var out = {};
70641
- var _iterator = _createForOfIteratorHelper$l(recent || []),
70708
+ var _iterator = _createForOfIteratorHelper$m(recent || []),
70642
70709
  _step;
70643
70710
  try {
70644
70711
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -70689,9 +70756,9 @@ var BotAvatar = function BotAvatar(_ref) {
70689
70756
 
70690
70757
  function ownKeys$s(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
70691
70758
  function _objectSpread$s(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$s(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$s(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
70692
- function _createForOfIteratorHelper$k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$k(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
70693
- function _unsupportedIterableToArray$k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$k(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$k(r, a) : void 0; } }
70694
- function _arrayLikeToArray$k(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
70759
+ function _createForOfIteratorHelper$l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$l(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
70760
+ function _unsupportedIterableToArray$l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$l(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$l(r, a) : void 0; } }
70761
+ function _arrayLikeToArray$l(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
70695
70762
  var BOT_EVENT_RE = /^bot:(.+)\[([^\]]+)\]\.(.+)$/;
70696
70763
  var slugify = function slugify(name) {
70697
70764
  return String(name || "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "bot";
@@ -70749,13 +70816,13 @@ function diagramEdges() {
70749
70816
  }));
70750
70817
  if (lead) ids["delete"](lead.id);
70751
70818
  var edges = [];
70752
- var _iterator = _createForOfIteratorHelper$k(members || []),
70819
+ var _iterator = _createForOfIteratorHelper$l(members || []),
70753
70820
  _step;
70754
70821
  try {
70755
70822
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
70756
70823
  var to = _step.value;
70757
70824
  if (!to || !ids.has(to.id)) continue;
70758
- var _iterator2 = _createForOfIteratorHelper$k(botSubs(to)),
70825
+ var _iterator2 = _createForOfIteratorHelper$l(botSubs(to)),
70759
70826
  _step2;
70760
70827
  try {
70761
70828
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -70817,12 +70884,12 @@ function runsAfter(bot) {
70817
70884
  function thenTriggers(botId) {
70818
70885
  var members = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
70819
70886
  var out = [];
70820
- var _iterator3 = _createForOfIteratorHelper$k(members || []),
70887
+ var _iterator3 = _createForOfIteratorHelper$l(members || []),
70821
70888
  _step3;
70822
70889
  try {
70823
70890
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
70824
70891
  var b = _step3.value;
70825
- var _iterator4 = _createForOfIteratorHelper$k(botSubs(b)),
70892
+ var _iterator4 = _createForOfIteratorHelper$l(botSubs(b)),
70826
70893
  _step4;
70827
70894
  try {
70828
70895
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -70909,7 +70976,7 @@ function diagramLayout(_ref2) {
70909
70976
  function loopEdges() {
70910
70977
  var edges = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
70911
70978
  var next = new Map();
70912
- var _iterator5 = _createForOfIteratorHelper$k(edges),
70979
+ var _iterator5 = _createForOfIteratorHelper$l(edges),
70913
70980
  _step5;
70914
70981
  try {
70915
70982
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -70930,7 +70997,7 @@ function loopEdges() {
70930
70997
  if (id === goal) return true;
70931
70998
  if (seen.has(id)) continue;
70932
70999
  seen.add(id);
70933
- var _iterator6 = _createForOfIteratorHelper$k(next.get(id) || []),
71000
+ var _iterator6 = _createForOfIteratorHelper$l(next.get(id) || []),
70934
71001
  _step6;
70935
71002
  try {
70936
71003
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -71209,9 +71276,9 @@ var TriggerPopover = function TriggerPopover(_ref) {
71209
71276
  });
71210
71277
  };
71211
71278
 
71212
- function _createForOfIteratorHelper$j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$j(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
71213
- function _unsupportedIterableToArray$j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$j(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$j(r, a) : void 0; } }
71214
- function _arrayLikeToArray$j(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
71279
+ function _createForOfIteratorHelper$k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$k(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
71280
+ function _unsupportedIterableToArray$k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$k(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$k(r, a) : void 0; } }
71281
+ function _arrayLikeToArray$k(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
71215
71282
  function ownKeys$r(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
71216
71283
  function _objectSpread$r(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$r(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$r(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
71217
71284
  var CARD_H = 80;
@@ -71381,7 +71448,7 @@ var TeamChart = function TeamChart(_ref) {
71381
71448
  return pos[b.id].x + layout.cardW / 2;
71382
71449
  });
71383
71450
  teamLines.push("M".concat(Math.min.apply(Math, _toConsumableArray(xs).concat([lx])), ",").concat(layout.busY, " H").concat(Math.max.apply(Math, _toConsumableArray(xs).concat([lx]))));
71384
- var _iterator = _createForOfIteratorHelper$j(firstRow),
71451
+ var _iterator = _createForOfIteratorHelper$k(firstRow),
71385
71452
  _step;
71386
71453
  try {
71387
71454
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -75174,9 +75241,9 @@ var NewDashboardChooser = function NewDashboardChooser(_ref2) {
75174
75241
 
75175
75242
  function ownKeys$m(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
75176
75243
  function _objectSpread$m(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$m(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$m(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
75177
- function _createForOfIteratorHelper$i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$i(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
75178
- function _unsupportedIterableToArray$i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$i(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$i(r, a) : void 0; } }
75179
- function _arrayLikeToArray$i(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
75244
+ function _createForOfIteratorHelper$j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$j(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
75245
+ function _unsupportedIterableToArray$j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$j(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$j(r, a) : void 0; } }
75246
+ function _arrayLikeToArray$j(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
75180
75247
  var DASHBOARD_TAGS = ["productivity", "monitoring", "analytics", "communication", "developer", "sales", "marketing", "finance", "project-management", "social", "news", "utilities"];
75181
75248
  var BUMP_OPTIONS$1 = [{
75182
75249
  value: "patch",
@@ -75250,7 +75317,7 @@ function collectComponentConfigs() {
75250
75317
  // fixed "reference" entry.
75251
75318
  function seedSelections(plan, dashboardVisibility) {
75252
75319
  var selections = {};
75253
- var _iterator = _createForOfIteratorHelper$i(plan.widgets || []),
75320
+ var _iterator = _createForOfIteratorHelper$j(plan.widgets || []),
75254
75321
  _step;
75255
75322
  try {
75256
75323
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -75644,7 +75711,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref2) {
75644
75711
  useEffect(function () {
75645
75712
  if (!isOpen || step !== 5 || !plan || defaultsLoading) return;
75646
75713
  var packagesToScan = [];
75647
- var _iterator2 = _createForOfIteratorHelper$i(plan.widgets || []),
75714
+ var _iterator2 = _createForOfIteratorHelper$j(plan.widgets || []),
75648
75715
  _step2;
75649
75716
  try {
75650
75717
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -75683,7 +75750,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref2) {
75683
75750
  })).then(function (results) {
75684
75751
  setDefaultsByPackage(function (prev) {
75685
75752
  var next = _objectSpread$m({}, prev);
75686
- var _iterator3 = _createForOfIteratorHelper$i(results),
75753
+ var _iterator3 = _createForOfIteratorHelper$j(results),
75687
75754
  _step3;
75688
75755
  try {
75689
75756
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -75776,7 +75843,7 @@ var PublishDashboardModal = function PublishDashboardModal(_ref2) {
75776
75843
  break;
75777
75844
  }
75778
75845
  seenPackages = new Set();
75779
- _iterator4 = _createForOfIteratorHelper$i(plan.widgets || []);
75846
+ _iterator4 = _createForOfIteratorHelper$j(plan.widgets || []);
75780
75847
  _context2.prev = 4;
75781
75848
  _iterator4.s();
75782
75849
  case 5:
@@ -76705,7 +76772,7 @@ function DependencyTable(_ref5) {
76705
76772
  // row. Each row shows the list of component widgets that live inside it
76706
76773
  // so the user knows what's getting published.
76707
76774
  var byKey = new Map();
76708
- var _iterator5 = _createForOfIteratorHelper$i(plan.widgets || []),
76775
+ var _iterator5 = _createForOfIteratorHelper$j(plan.widgets || []),
76709
76776
  _step6;
76710
76777
  try {
76711
76778
  for (_iterator5.s(); !(_step6 = _iterator5.n()).done;) {
@@ -76876,7 +76943,7 @@ function DefaultsReviewList(_ref7) {
76876
76943
  // stays aligned with Dependencies — no surprises about WHICH
76877
76944
  // package's defaults you're editing.
76878
76945
  var rows = [];
76879
- var _iterator6 = _createForOfIteratorHelper$i((plan === null || plan === void 0 ? void 0 : plan.widgets) || []),
76946
+ var _iterator6 = _createForOfIteratorHelper$j((plan === null || plan === void 0 ? void 0 : plan.widgets) || []),
76880
76947
  _step7;
76881
76948
  try {
76882
76949
  for (_iterator6.s(); !(_step7 = _iterator6.n()).done;) {
@@ -77085,9 +77152,9 @@ function dashboardSummary(workspace) {
77085
77152
  };
77086
77153
  }
77087
77154
 
77088
- function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
77089
- function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$h(r, a) : void 0; } }
77090
- function _arrayLikeToArray$h(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
77155
+ function _createForOfIteratorHelper$i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$i(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
77156
+ function _unsupportedIterableToArray$i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$i(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$i(r, a) : void 0; } }
77157
+ function _arrayLikeToArray$i(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
77091
77158
 
77092
77159
  /**
77093
77160
  * useApprovalsByDashboard — how many bot approvals are waiting on each
@@ -77130,7 +77197,7 @@ function useApprovalsByDashboard() {
77130
77197
  return [bot.id, bot.workspaceId];
77131
77198
  }));
77132
77199
  next = {};
77133
- _iterator = _createForOfIteratorHelper$h(approvals || []);
77200
+ _iterator = _createForOfIteratorHelper$i(approvals || []);
77134
77201
  _context.prev = 3;
77135
77202
  _iterator.s();
77136
77203
  case 4:
@@ -77220,6 +77287,34 @@ function exportedText(result) {
77220
77287
  return left.length ? "".concat(base, " Not included: ").concat(left.join("; "), ".") : base;
77221
77288
  }
77222
77289
 
77290
+ function _createForOfIteratorHelper$h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$h(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
77291
+ function _unsupportedIterableToArray$h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$h(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$h(r, a) : void 0; } }
77292
+ function _arrayLikeToArray$h(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
77293
+ /**
77294
+ * saveErrorText — a failed dashboard save's reason in plain words (Phase 1e).
77295
+ * Disk errors come back as "EACCES: permission denied, open '<long path>'";
77296
+ * the user gets what went wrong, not the code or the path.
77297
+ */
77298
+ var DISK_ERRORS = [[/^(EACCES|EPERM)\b/, "Dash isn't allowed to write to its data folder."], [/^ENOSPC\b/, "The disk is full."], [/^EROFS\b/, "Dash's data folder is read-only."]];
77299
+ function saveErrorText(error) {
77300
+ var message = (error && error.message || "").trim();
77301
+ var _iterator = _createForOfIteratorHelper$h(DISK_ERRORS),
77302
+ _step;
77303
+ try {
77304
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
77305
+ var _step$value = _slicedToArray(_step.value, 2),
77306
+ code = _step$value[0],
77307
+ text = _step$value[1];
77308
+ if (code.test(message)) return text;
77309
+ }
77310
+ } catch (err) {
77311
+ _iterator.e(err);
77312
+ } finally {
77313
+ _iterator.f();
77314
+ }
77315
+ return message;
77316
+ }
77317
+
77223
77318
  function _createForOfIteratorHelper$g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$g(r)) || e && r && "number" == typeof r.length) { t && (r = t); var _n = 0, F = function F() {}; return { s: F, n: function n() { return _n >= r.length ? { done: !0 } : { done: !1, value: r[_n++] }; }, e: function e(r) { throw r; }, f: F }; } throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); } var o, a = !0, u = !1; return { s: function s() { t = t.call(r); }, n: function n() { var r = t.next(); return a = r.done, r; }, e: function e(r) { u = !0, o = r; }, f: function f() { try { a || null == t["return"] || t["return"](); } finally { if (u) throw o; } } }; }
77224
77319
  function _unsupportedIterableToArray$g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$g(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray$g(r, a) : void 0; } }
77225
77320
  function _arrayLikeToArray$g(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
@@ -77369,7 +77464,14 @@ var DashboardDetailPanel = function DashboardDetailPanel(_ref2) {
77369
77464
  dashApi.saveWorkspace(appId, forSave(updated), function () {
77370
77465
  return onReloadWorkspaces && onReloadWorkspaces();
77371
77466
  }, function (e, err) {
77372
- return (void 0);
77467
+ return window.dispatchEvent(new CustomEvent("dash:notify", {
77468
+ detail: {
77469
+ type: "error",
77470
+ title: "Couldn't save the dashboard",
77471
+ message: saveErrorText(err) || "Try again.",
77472
+ duration: 8000
77473
+ }
77474
+ }));
77373
77475
  });
77374
77476
  };
77375
77477
  var saveName = function saveName() {
@@ -87992,17 +88094,38 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
87992
88094
  return;
87993
88095
  }
87994
88096
  // Not editing: a one-off pick, saved straight away.
87995
- updateTabWorkspace(reconciled);
88097
+ saveRightAway(reconciled, "provider");
88098
+ }
88099
+ }
87996
88100
 
87997
- // Persist to main app via IPC
87998
- try {
87999
- dashApi.saveWorkspace(credentials.appId, reconciled, function (e, result) {
88000
- }, function (e, error) {
88001
- });
88002
- } catch (e) {
88003
- }
88101
+ // Phase 1e: a change made outside Edit shows at once and is saved straight
88102
+ // away. If the save fails, the screen goes back to what's saved and the
88103
+ // user is told — it never shows a change that didn't happen.
88104
+ function saveRightAway(reconciled, what) {
88105
+ var before = workspaceSelected;
88106
+ updateTabWorkspace(reconciled);
88107
+ var failed = function failed(_e, error) {
88108
+ if (before) updateTabWorkspace(before);
88109
+ notifySaveError("Couldn't save the ".concat(what, " change"), error);
88110
+ };
88111
+ try {
88112
+ dashApi.saveWorkspace(credentials.appId, reconciled, function () {}, failed);
88113
+ } catch (e) {
88114
+ failed(null, e);
88004
88115
  }
88005
88116
  }
88117
+ function notifySaveError(title, error) {
88118
+ var next = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "Try again.";
88119
+ var reason = saveErrorText(error).replace(/\.+$/, "");
88120
+ window.dispatchEvent(new CustomEvent("dash:notify", {
88121
+ detail: {
88122
+ type: "error",
88123
+ title: title,
88124
+ message: reason ? "".concat(reason, ". ").concat(next) : next,
88125
+ duration: 8000
88126
+ }
88127
+ }));
88128
+ }
88006
88129
 
88007
88130
  // ─── Bulk provider binding save (Dashboard Config modal) ──────────
88008
88131
  // Takes [{ widgetId, providerType, providerName }] and writes the
@@ -88027,15 +88150,7 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
88027
88150
  stageWorkspaceEdit(reconciled);
88028
88151
  return;
88029
88152
  }
88030
- updateTabWorkspace(reconciled);
88031
- try {
88032
- dashApi.saveWorkspace(credentials.appId, reconciled, function (e, result) {
88033
- return (void 0);
88034
- }, function (e, error) {
88035
- return (void 0);
88036
- });
88037
- } catch (e) {
88038
- }
88153
+ saveRightAway(reconciled, "provider");
88039
88154
  }
88040
88155
 
88041
88156
  // ─── Bulk widget userPrefs save ───────────────────────────────────
@@ -88061,15 +88176,7 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
88061
88176
  stageWorkspaceEdit(reconciled);
88062
88177
  return;
88063
88178
  }
88064
- updateTabWorkspace(reconciled);
88065
- try {
88066
- dashApi.saveWorkspace(credentials.appId, reconciled, function (e, result) {
88067
- return (void 0);
88068
- }, function (e, error) {
88069
- return (void 0);
88070
- });
88071
- } catch (e) {
88072
- }
88179
+ saveRightAway(reconciled, "widget settings");
88073
88180
  }
88074
88181
 
88075
88182
  // ─── Bulk listener binding save ──────────────────────────────────
@@ -88089,15 +88196,7 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
88089
88196
  stageWorkspaceEdit(reconciled);
88090
88197
  return;
88091
88198
  }
88092
- updateTabWorkspace(reconciled);
88093
- try {
88094
- dashApi.saveWorkspace(credentials.appId, reconciled, function (e, result) {
88095
- return (void 0);
88096
- }, function (e, error) {
88097
- return (void 0);
88098
- });
88099
- } catch (e) {
88100
- }
88199
+ saveRightAway(reconciled, "listener");
88101
88200
  }
88102
88201
 
88103
88202
  // ─── Unresolved providers + listener orphans (modal + auto-open) ─
@@ -88821,6 +88920,7 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
88821
88920
  dashApi.saveWorkspace(credentials.appId, workspaceToSave, handleSaveWorkspaceComplete, handleSaveWorkspaceError);
88822
88921
  }
88823
88922
  } catch (e) {
88923
+ handleSaveWorkspaceError(null, e);
88824
88924
  }
88825
88925
  }
88826
88926
  function handleSaveWorkspaceComplete(e, message) {
@@ -88872,7 +88972,10 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
88872
88972
  return true;
88873
88973
  });
88874
88974
  }
88875
- function handleSaveWorkspaceError(e, message) {
88975
+
88976
+ // A failed Save keeps Edit open with every change still there (Phase 1e).
88977
+ function handleSaveWorkspaceError(_e, error) {
88978
+ notifySaveError("Couldn't save the dashboard", error, "Your changes are still here — try Save again.");
88876
88979
  }
88877
88980
  function handleOpenThemeManager() {
88878
88981
  var themeKey = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;
@@ -90637,7 +90740,15 @@ var MainMenuConst = function MainMenuConst(_ref) {
90637
90740
  }
90638
90741
  function handleSaveWorkspaceMenuIdComplete(e, message) {
90639
90742
  }
90640
- function handleSaveWorkspaceError(e, message) {
90743
+ function handleSaveWorkspaceError(e, error) {
90744
+ window.dispatchEvent(new CustomEvent("dash:notify", {
90745
+ detail: {
90746
+ type: "error",
90747
+ title: "Couldn't move the dashboard",
90748
+ message: saveErrorText(error) || "Try again.",
90749
+ duration: 8000
90750
+ }
90751
+ }));
90641
90752
  }
90642
90753
  function handleCreateNew(menuItem) {
90643
90754
  onClickNewWorkspace && onClickNewWorkspace(menuItem