@trops/dash-core 0.1.861 → 0.1.862

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
@@ -2858,9 +2858,9 @@ function draftIdOf(pkg) {
2858
2858
  return m ? m[1] : null;
2859
2859
  }
2860
2860
 
2861
- function _createForOfIteratorHelper$1n(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1n(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; } } }; }
2862
- function _unsupportedIterableToArray$1n(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1n(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$1n(r, a) : void 0; } }
2863
- function _arrayLikeToArray$1n(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; }
2861
+ function _createForOfIteratorHelper$1o(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1o(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; } } }; }
2862
+ function _unsupportedIterableToArray$1o(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1o(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$1o(r, a) : void 0; } }
2863
+ function _arrayLikeToArray$1o(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; }
2864
2864
 
2865
2865
  /**
2866
2866
  * Walk a workspace layout and collect widget component keys that are
@@ -2874,7 +2874,7 @@ function collectComponentsFromLayout(layout) {
2874
2874
 
2875
2875
  // Collect IDs of layout items that are actively referenced by grid cells
2876
2876
  var activeItemIds = new Set();
2877
- var _iterator = _createForOfIteratorHelper$1n(layout),
2877
+ var _iterator = _createForOfIteratorHelper$1o(layout),
2878
2878
  _step;
2879
2879
  try {
2880
2880
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -2894,7 +2894,7 @@ function collectComponentsFromLayout(layout) {
2894
2894
  } finally {
2895
2895
  _iterator.f();
2896
2896
  }
2897
- var _iterator2 = _createForOfIteratorHelper$1n(layout),
2897
+ var _iterator2 = _createForOfIteratorHelper$1o(layout),
2898
2898
  _step2;
2899
2899
  try {
2900
2900
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -3035,7 +3035,7 @@ var useInstalledWidgets = function useInstalledWidgets() {
3035
3035
  _t = [];
3036
3036
  case 4:
3037
3037
  allDrafts = _t;
3038
- _iterator4 = _createForOfIteratorHelper$1n(allDrafts);
3038
+ _iterator4 = _createForOfIteratorHelper$1o(allDrafts);
3039
3039
  try {
3040
3040
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
3041
3041
  d = _step4.value;
@@ -3243,9 +3243,9 @@ var useInstalledWidgets = function useInstalledWidgets() {
3243
3243
  };
3244
3244
  };
3245
3245
 
3246
- function _createForOfIteratorHelper$1m(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1m(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; } } }; }
3247
- function _unsupportedIterableToArray$1m(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1m(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$1m(r, a) : void 0; } }
3248
- function _arrayLikeToArray$1m(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; }
3246
+ function _createForOfIteratorHelper$1n(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1n(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; } } }; }
3247
+ function _unsupportedIterableToArray$1n(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1n(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$1n(r, a) : void 0; } }
3248
+ function _arrayLikeToArray$1n(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; }
3249
3249
  function ownKeys$23(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; }
3250
3250
  function _objectSpread$23(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$23(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$23(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3251
3251
  /**
@@ -3341,7 +3341,7 @@ function normalizeRow(row, labelToType) {
3341
3341
  function unionDedupe(a, b) {
3342
3342
  var out = new Set(Array.isArray(a) ? a : []);
3343
3343
  if (Array.isArray(b)) {
3344
- var _iterator = _createForOfIteratorHelper$1m(b),
3344
+ var _iterator = _createForOfIteratorHelper$1n(b),
3345
3345
  _step;
3346
3346
  try {
3347
3347
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -3911,9 +3911,9 @@ function useRegistryAuthGate() {
3911
3911
  };
3912
3912
  }
3913
3913
 
3914
- function _createForOfIteratorHelper$1l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1l(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; } } }; }
3915
- function _unsupportedIterableToArray$1l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1l(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$1l(r, a) : void 0; } }
3916
- function _arrayLikeToArray$1l(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; }
3914
+ function _createForOfIteratorHelper$1m(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1m(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; } } }; }
3915
+ function _unsupportedIterableToArray$1m(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1m(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$1m(r, a) : void 0; } }
3916
+ function _arrayLikeToArray$1m(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; }
3917
3917
  function ownKeys$21(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; }
3918
3918
  function _objectSpread$21(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$21(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$21(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
3919
3919
 
@@ -4411,7 +4411,7 @@ function useWidgetUpdates() {
4411
4411
  // (install replaces the entire package, not just one widget)
4412
4412
  setUpdates(function (prev) {
4413
4413
  var next = new Map(prev);
4414
- var _iterator = _createForOfIteratorHelper$1l(next),
4414
+ var _iterator = _createForOfIteratorHelper$1m(next),
4415
4415
  _step;
4416
4416
  try {
4417
4417
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -4471,7 +4471,7 @@ function useWidgetUpdates() {
4471
4471
  var liveUpdates = useMemo(function () {
4472
4472
  if (!updates || updates.size === 0) return updates;
4473
4473
  var installedVersion = new Map();
4474
- var _iterator2 = _createForOfIteratorHelper$1l(installedWidgets),
4474
+ var _iterator2 = _createForOfIteratorHelper$1m(installedWidgets),
4475
4475
  _step2;
4476
4476
  try {
4477
4477
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -4485,7 +4485,7 @@ function useWidgetUpdates() {
4485
4485
  _iterator2.f();
4486
4486
  }
4487
4487
  var live = new Map();
4488
- var _iterator3 = _createForOfIteratorHelper$1l(updates),
4488
+ var _iterator3 = _createForOfIteratorHelper$1m(updates),
4489
4489
  _step3;
4490
4490
  try {
4491
4491
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -4513,7 +4513,7 @@ function useWidgetUpdates() {
4513
4513
  var packagesWithUpdates = useMemo(function () {
4514
4514
  if (!liveUpdates || liveUpdates.size === 0) return [];
4515
4515
  var byPackage = new Map();
4516
- var _iterator4 = _createForOfIteratorHelper$1l(liveUpdates),
4516
+ var _iterator4 = _createForOfIteratorHelper$1m(liveUpdates),
4517
4517
  _step4;
4518
4518
  try {
4519
4519
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -4541,7 +4541,7 @@ function useWidgetUpdates() {
4541
4541
  } finally {
4542
4542
  _iterator4.f();
4543
4543
  }
4544
- var _iterator5 = _createForOfIteratorHelper$1l(installedWidgets),
4544
+ var _iterator5 = _createForOfIteratorHelper$1m(installedWidgets),
4545
4545
  _step5;
4546
4546
  try {
4547
4547
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -4672,7 +4672,7 @@ function useWidgetUpdates() {
4672
4672
  // packageId) → grant rows (which are keyed by widgetId like
4673
4673
  // `trops.slack.SlackChannels`).
4674
4674
  rowByComponentName = new Map();
4675
- _iterator6 = _createForOfIteratorHelper$1l(allRows);
4675
+ _iterator6 = _createForOfIteratorHelper$1m(allRows);
4676
4676
  try {
4677
4677
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
4678
4678
  r = _step6.value;
@@ -4685,7 +4685,7 @@ function useWidgetUpdates() {
4685
4685
  _iterator6.f();
4686
4686
  }
4687
4687
  widgetsWithMissing = [];
4688
- _iterator7 = _createForOfIteratorHelper$1l(manifests);
4688
+ _iterator7 = _createForOfIteratorHelper$1m(manifests);
4689
4689
  _context5.prev = 8;
4690
4690
  _loop = /*#__PURE__*/_regeneratorRuntime.mark(function _loop() {
4691
4691
  var _manifest$permissions, _manifest$permissions2;
@@ -4710,7 +4710,7 @@ function useWidgetUpdates() {
4710
4710
  pkgWidgets = installedWidgets.filter(function (w) {
4711
4711
  return (w.packageId || w.name) === packageId;
4712
4712
  });
4713
- _iterator8 = _createForOfIteratorHelper$1l(pkgWidgets);
4713
+ _iterator8 = _createForOfIteratorHelper$1m(pkgWidgets);
4714
4714
  _context4.prev = 2;
4715
4715
  _iterator8.s();
4716
4716
  case 3:
@@ -4858,7 +4858,7 @@ function useWidgetUpdates() {
4858
4858
  // Seed every selected package as pending so the modal renders
4859
4859
  // the full per-row state from the first paint.
4860
4860
  initial = new Map();
4861
- _iterator9 = _createForOfIteratorHelper$1l(packageNames);
4861
+ _iterator9 = _createForOfIteratorHelper$1m(packageNames);
4862
4862
  try {
4863
4863
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
4864
4864
  name = _step9.value;
@@ -4920,7 +4920,7 @@ function useWidgetUpdates() {
4920
4920
  // loop so the freshly-installed code can immediately use
4921
4921
  // what was approved (and is gated from what wasn't).
4922
4922
  accepted = decision.acceptedByWidgetId || {};
4923
- _iterator0 = _createForOfIteratorHelper$1l(preflight.widgets);
4923
+ _iterator0 = _createForOfIteratorHelper$1m(preflight.widgets);
4924
4924
  _context7.prev = 6;
4925
4925
  _iterator0.s();
4926
4926
  case 7:
@@ -5004,7 +5004,7 @@ function useWidgetUpdates() {
5004
5004
  // e.g. a stale registry zip or a verify mismatch).
5005
5005
  failedDetails = [];
5006
5006
  _context7.prev = 19;
5007
- _iterator1 = _createForOfIteratorHelper$1l(packageNames);
5007
+ _iterator1 = _createForOfIteratorHelper$1m(packageNames);
5008
5008
  _context7.prev = 20;
5009
5009
  _loop2 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop2() {
5010
5010
  var pkgName, msg, _t0;
@@ -5111,7 +5111,7 @@ function useWidgetUpdates() {
5111
5111
  succeededSet = new Set(succeeded);
5112
5112
  setUpdates(function (prev) {
5113
5113
  var next = new Map(prev);
5114
- var _iterator10 = _createForOfIteratorHelper$1l(next),
5114
+ var _iterator10 = _createForOfIteratorHelper$1m(next),
5115
5115
  _step10;
5116
5116
  try {
5117
5117
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
@@ -5439,9 +5439,9 @@ function useAppUpdates() {
5439
5439
 
5440
5440
  function ownKeys$1$(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; }
5441
5441
  function _objectSpread$1$(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1$(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1$(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
5442
- function _createForOfIteratorHelper$1k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1k(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; } } }; }
5443
- function _unsupportedIterableToArray$1k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1k(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$1k(r, a) : void 0; } }
5444
- function _arrayLikeToArray$1k(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; }
5442
+ function _createForOfIteratorHelper$1l(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1l(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; } } }; }
5443
+ function _unsupportedIterableToArray$1l(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1l(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$1l(r, a) : void 0; } }
5444
+ function _arrayLikeToArray$1l(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; }
5445
5445
  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";
5446
5446
  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";
5447
5447
 
@@ -5461,7 +5461,7 @@ function flattenPreflightLines(missing) {
5461
5461
  var _Object$entries$_i = _slicedToArray(_Object$entries[_i], 2),
5462
5462
  serverName = _Object$entries$_i[0],
5463
5463
  perms = _Object$entries$_i[1];
5464
- var _iterator = _createForOfIteratorHelper$1k(perms.tools || []),
5464
+ var _iterator = _createForOfIteratorHelper$1l(perms.tools || []),
5465
5465
  _step;
5466
5466
  try {
5467
5467
  var _loop2 = function _loop2() {
@@ -5490,7 +5490,7 @@ function flattenPreflightLines(missing) {
5490
5490
  } finally {
5491
5491
  _iterator.f();
5492
5492
  }
5493
- var _iterator2 = _createForOfIteratorHelper$1k(perms.readPaths || []),
5493
+ var _iterator2 = _createForOfIteratorHelper$1l(perms.readPaths || []),
5494
5494
  _step2;
5495
5495
  try {
5496
5496
  var _loop3 = function _loop3() {
@@ -5517,7 +5517,7 @@ function flattenPreflightLines(missing) {
5517
5517
  } finally {
5518
5518
  _iterator2.f();
5519
5519
  }
5520
- var _iterator3 = _createForOfIteratorHelper$1k(perms.writePaths || []),
5520
+ var _iterator3 = _createForOfIteratorHelper$1l(perms.writePaths || []),
5521
5521
  _step3;
5522
5522
  try {
5523
5523
  var _loop4 = function _loop4() {
@@ -5569,13 +5569,13 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5569
5569
  var _pendingPreflight$wid;
5570
5570
  if (!pendingPreflight || !((_pendingPreflight$wid = pendingPreflight.widgets) !== null && _pendingPreflight$wid !== void 0 && _pendingPreflight$wid.length)) return;
5571
5571
  var initial = {};
5572
- var _iterator4 = _createForOfIteratorHelper$1k(pendingPreflight.widgets),
5572
+ var _iterator4 = _createForOfIteratorHelper$1l(pendingPreflight.widgets),
5573
5573
  _step4;
5574
5574
  try {
5575
5575
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
5576
5576
  var w = _step4.value;
5577
5577
  initial[w.widgetId] = {};
5578
- var _iterator5 = _createForOfIteratorHelper$1k(flattenPreflightLines(w.missing)),
5578
+ var _iterator5 = _createForOfIteratorHelper$1l(flattenPreflightLines(w.missing)),
5579
5579
  _step5;
5580
5580
  try {
5581
5581
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -5612,7 +5612,7 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5612
5612
  // Build the per-widget addition blob from checked lines. Skip
5613
5613
  // widgets where the user unchecked everything.
5614
5614
  var acceptedByWidgetId = {};
5615
- var _iterator6 = _createForOfIteratorHelper$1k(widgets),
5615
+ var _iterator6 = _createForOfIteratorHelper$1l(widgets),
5616
5616
  _step6;
5617
5617
  try {
5618
5618
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -5620,7 +5620,7 @@ var WidgetPreflightReview = function WidgetPreflightReview(_ref) {
5620
5620
  var _lines = flattenPreflightLines(w.missing);
5621
5621
  var acc = {};
5622
5622
  var any = false;
5623
- var _iterator7 = _createForOfIteratorHelper$1k(_lines),
5623
+ var _iterator7 = _createForOfIteratorHelper$1l(_lines),
5624
5624
  _step7;
5625
5625
  try {
5626
5626
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -7902,9 +7902,9 @@ function unavailableRequiredWidgets(widgetDeps, compatibility) {
7902
7902
  });
7903
7903
  }
7904
7904
 
7905
- function _createForOfIteratorHelper$1j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1j(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; } } }; }
7906
- function _unsupportedIterableToArray$1j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1j(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$1j(r, a) : void 0; } }
7907
- function _arrayLikeToArray$1j(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; }
7905
+ function _createForOfIteratorHelper$1k(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1k(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; } } }; }
7906
+ function _unsupportedIterableToArray$1k(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1k(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$1k(r, a) : void 0; } }
7907
+ function _arrayLikeToArray$1k(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; }
7908
7908
  function ownKeys$1X(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; }
7909
7909
  function _objectSpread$1X(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1X(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1X(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
7910
7910
  var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
@@ -8271,7 +8271,7 @@ var RegistryDashboardDetail = function RegistryDashboardDetail(_ref) {
8271
8271
  toInstall = 0,
8272
8272
  unavailable = 0,
8273
8273
  hasUnavailableRequired = false;
8274
- var _iterator = _createForOfIteratorHelper$1j(widgetDeps),
8274
+ var _iterator = _createForOfIteratorHelper$1k(widgetDeps),
8275
8275
  _step;
8276
8276
  try {
8277
8277
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -11531,9 +11531,9 @@ function isUserWidget(item) {
11531
11531
  return true;
11532
11532
  }
11533
11533
 
11534
- function _createForOfIteratorHelper$1i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1i(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; } } }; }
11535
- function _unsupportedIterableToArray$1i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1i(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$1i(r, a) : void 0; } }
11536
- function _arrayLikeToArray$1i(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; }
11534
+ function _createForOfIteratorHelper$1j(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1j(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; } } }; }
11535
+ function _unsupportedIterableToArray$1j(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1j(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$1j(r, a) : void 0; } }
11536
+ function _arrayLikeToArray$1j(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; }
11537
11537
 
11538
11538
  /**
11539
11539
  * Whether a provider of this name exists. appProviders is a map keyed by
@@ -11587,7 +11587,7 @@ function resolveProviderName(_ref) {
11587
11587
  // array. Support both because different callers shape it either way.
11588
11588
  if (appProviders) {
11589
11589
  if (Array.isArray(appProviders)) {
11590
- var _iterator = _createForOfIteratorHelper$1i(appProviders),
11590
+ var _iterator = _createForOfIteratorHelper$1j(appProviders),
11591
11591
  _step;
11592
11592
  try {
11593
11593
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -11647,7 +11647,7 @@ function forEachWidget(workspace, visit) {
11647
11647
  };
11648
11648
  var _walk = function walk(items) {
11649
11649
  if (!Array.isArray(items)) return;
11650
- var _iterator2 = _createForOfIteratorHelper$1i(items),
11650
+ var _iterator2 = _createForOfIteratorHelper$1j(items),
11651
11651
  _step2;
11652
11652
  try {
11653
11653
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -11688,7 +11688,7 @@ function forEachWidget(workspace, visit) {
11688
11688
  // widgets that only live there (e.g. AI-place writes that bypass
11689
11689
  // the page handler).
11690
11690
  if (Array.isArray(workspace.pages)) {
11691
- var _iterator3 = _createForOfIteratorHelper$1i(workspace.pages),
11691
+ var _iterator3 = _createForOfIteratorHelper$1j(workspace.pages),
11692
11692
  _step3;
11693
11693
  try {
11694
11694
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -11740,7 +11740,7 @@ function getUnresolvedProviders(_ref2) {
11740
11740
  // the same `type` listed twice (a Claude code-gen quirk), which
11741
11741
  // would otherwise produce duplicate rows in the Providers tab.
11742
11742
  var seenTypes = new Set();
11743
- var _iterator4 = _createForOfIteratorHelper$1i(requirements),
11743
+ var _iterator4 = _createForOfIteratorHelper$1j(requirements),
11744
11744
  _step4;
11745
11745
  try {
11746
11746
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -11784,7 +11784,7 @@ function getUnresolvedProviders(_ref2) {
11784
11784
  */
11785
11785
  function groupByProviderType(unresolved) {
11786
11786
  var byType = new Map();
11787
- var _iterator5 = _createForOfIteratorHelper$1i(unresolved || []),
11787
+ var _iterator5 = _createForOfIteratorHelper$1j(unresolved || []),
11788
11788
  _step5;
11789
11789
  try {
11790
11790
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -11827,7 +11827,7 @@ function getAllProviderBindings(_ref3) {
11827
11827
  // quirk) which would otherwise duplicate the per-widget row in
11828
11828
  // the Providers tab.
11829
11829
  var seenTypes = new Set();
11830
- var _iterator6 = _createForOfIteratorHelper$1i(requirements),
11830
+ var _iterator6 = _createForOfIteratorHelper$1j(requirements),
11831
11831
  _step6;
11832
11832
  try {
11833
11833
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -11870,9 +11870,9 @@ function getAllProviderBindings(_ref3) {
11870
11870
 
11871
11871
  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; }
11872
11872
  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; }
11873
- function _createForOfIteratorHelper$1h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1h(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; } } }; }
11874
- function _unsupportedIterableToArray$1h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1h(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$1h(r, a) : void 0; } }
11875
- function _arrayLikeToArray$1h(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; }
11873
+ function _createForOfIteratorHelper$1i(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1i(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; } } }; }
11874
+ function _unsupportedIterableToArray$1i(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1i(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$1i(r, a) : void 0; } }
11875
+ function _arrayLikeToArray$1i(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; }
11876
11876
  var EVENT_STRING_RE = /^([^[]+)\[([^\]]+)\]\.(.+)$/;
11877
11877
 
11878
11878
  /** Parse "Component[itemId].event" → { component, itemId, event }. */
@@ -12049,7 +12049,7 @@ function getCurrentWiring(workspace) {
12049
12049
  // Live format is array; defensive guard for legacy object
12050
12050
  // form (a single source widget keyed under the handler).
12051
12051
  var events = Array.isArray(eventList) ? eventList : typeof eventList === "string" ? [eventList] : [];
12052
- var _iterator = _createForOfIteratorHelper$1h(events),
12052
+ var _iterator = _createForOfIteratorHelper$1i(events),
12053
12053
  _step;
12054
12054
  try {
12055
12055
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -12113,7 +12113,7 @@ function getOrphanedListeners(workspace, getWidgetConfig) {
12113
12113
  if (!byItemId.has(id)) byItemId.set(id, meta);
12114
12114
  });
12115
12115
  var orphans = [];
12116
- var _iterator2 = _createForOfIteratorHelper$1h(wiring),
12116
+ var _iterator2 = _createForOfIteratorHelper$1i(wiring),
12117
12117
  _step2;
12118
12118
  try {
12119
12119
  var _loop = function _loop() {
@@ -12200,7 +12200,7 @@ function pruneDeadListenerReferences(workspace) {
12200
12200
  var liveKeys = new Set();
12201
12201
  var _walkForLive = function walkForLive(items) {
12202
12202
  if (!Array.isArray(items)) return;
12203
- var _iterator3 = _createForOfIteratorHelper$1h(items),
12203
+ var _iterator3 = _createForOfIteratorHelper$1i(items),
12204
12204
  _step3;
12205
12205
  try {
12206
12206
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -12221,7 +12221,7 @@ function pruneDeadListenerReferences(workspace) {
12221
12221
  };
12222
12222
  _walkForLive(workspace.layout);
12223
12223
  if (Array.isArray(workspace.pages)) {
12224
- var _iterator4 = _createForOfIteratorHelper$1h(workspace.pages),
12224
+ var _iterator4 = _createForOfIteratorHelper$1i(workspace.pages),
12225
12225
  _step4;
12226
12226
  try {
12227
12227
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -12238,7 +12238,7 @@ function pruneDeadListenerReferences(workspace) {
12238
12238
  var removed = 0;
12239
12239
  var _pruneListeners = function pruneListeners(items) {
12240
12240
  if (!Array.isArray(items)) return;
12241
- var _iterator5 = _createForOfIteratorHelper$1h(items),
12241
+ var _iterator5 = _createForOfIteratorHelper$1i(items),
12242
12242
  _step5;
12243
12243
  try {
12244
12244
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -12250,7 +12250,7 @@ function pruneDeadListenerReferences(workspace) {
12250
12250
  var events = item.listeners[handler];
12251
12251
  if (!Array.isArray(events)) continue;
12252
12252
  var kept = [];
12253
- var _iterator6 = _createForOfIteratorHelper$1h(events),
12253
+ var _iterator6 = _createForOfIteratorHelper$1i(events),
12254
12254
  _step6;
12255
12255
  try {
12256
12256
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -12287,7 +12287,7 @@ function pruneDeadListenerReferences(workspace) {
12287
12287
  };
12288
12288
  _pruneListeners(workspace.layout);
12289
12289
  if (Array.isArray(workspace.pages)) {
12290
- var _iterator7 = _createForOfIteratorHelper$1h(workspace.pages),
12290
+ var _iterator7 = _createForOfIteratorHelper$1i(workspace.pages),
12291
12291
  _step7;
12292
12292
  try {
12293
12293
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -12331,7 +12331,7 @@ function applyWiringChanges(workspace, _ref) {
12331
12331
  });
12332
12332
  return byReceiver.get(id);
12333
12333
  };
12334
- var _iterator8 = _createForOfIteratorHelper$1h(adds),
12334
+ var _iterator8 = _createForOfIteratorHelper$1i(adds),
12335
12335
  _step8;
12336
12336
  try {
12337
12337
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -12344,7 +12344,7 @@ function applyWiringChanges(workspace, _ref) {
12344
12344
  } finally {
12345
12345
  _iterator8.f();
12346
12346
  }
12347
- var _iterator9 = _createForOfIteratorHelper$1h(removes),
12347
+ var _iterator9 = _createForOfIteratorHelper$1i(removes),
12348
12348
  _step9;
12349
12349
  try {
12350
12350
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -12418,7 +12418,7 @@ function applyToItem(listeners, _ref2) {
12418
12418
  }
12419
12419
 
12420
12420
  // Removes first so a re-add (rare) lands.
12421
- var _iterator0 = _createForOfIteratorHelper$1h(removes),
12421
+ var _iterator0 = _createForOfIteratorHelper$1i(removes),
12422
12422
  _step0;
12423
12423
  try {
12424
12424
  var _loop2 = function _loop2() {
@@ -12447,7 +12447,7 @@ function applyToItem(listeners, _ref2) {
12447
12447
  } finally {
12448
12448
  _iterator0.f();
12449
12449
  }
12450
- var _iterator1 = _createForOfIteratorHelper$1h(adds),
12450
+ var _iterator1 = _createForOfIteratorHelper$1i(adds),
12451
12451
  _step1;
12452
12452
  try {
12453
12453
  for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
@@ -12506,9 +12506,9 @@ var SectionLayout = function SectionLayout(_ref) {
12506
12506
  });
12507
12507
  };
12508
12508
 
12509
- function _createForOfIteratorHelper$1g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1g(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; } } }; }
12510
- function _unsupportedIterableToArray$1g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1g(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$1g(r, a) : void 0; } }
12511
- function _arrayLikeToArray$1g(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; }
12509
+ function _createForOfIteratorHelper$1h(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1h(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; } } }; }
12510
+ function _unsupportedIterableToArray$1h(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1h(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$1h(r, a) : void 0; } }
12511
+ function _arrayLikeToArray$1h(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; }
12512
12512
 
12513
12513
  /**
12514
12514
  * @param {Array<object>} workspaces dashboards (each with id, name, layout/pages)
@@ -12520,7 +12520,7 @@ function _arrayLikeToArray$1g(r, a) { (null == a || a > r.length) && (a = r.leng
12520
12520
  function buildWidgetEventCatalog(workspaces, getWidgetConfig) {
12521
12521
  if (!Array.isArray(workspaces)) return [];
12522
12522
  var out = [];
12523
- var _iterator = _createForOfIteratorHelper$1g(workspaces),
12523
+ var _iterator = _createForOfIteratorHelper$1h(workspaces),
12524
12524
  _step;
12525
12525
  try {
12526
12526
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -12593,12 +12593,12 @@ function describeSubscription(sub, catalog) {
12593
12593
  // Bot subscriptions resolve against the bot catalog; `kind` lets the form
12594
12594
  // say "bot missing" instead of "widget missing".
12595
12595
  if (sub && sub.source && sub.source.kind === "bot") {
12596
- var _iterator2 = _createForOfIteratorHelper$1g(botCatalog || []),
12596
+ var _iterator2 = _createForOfIteratorHelper$1h(botCatalog || []),
12597
12597
  _step2;
12598
12598
  try {
12599
12599
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
12600
12600
  var b = _step2.value;
12601
- var _iterator3 = _createForOfIteratorHelper$1g(b.events),
12601
+ var _iterator3 = _createForOfIteratorHelper$1h(b.events),
12602
12602
  _step3;
12603
12603
  try {
12604
12604
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -12629,17 +12629,17 @@ function describeSubscription(sub, catalog) {
12629
12629
  kind: "bot"
12630
12630
  };
12631
12631
  }
12632
- var _iterator4 = _createForOfIteratorHelper$1g(catalog || []),
12632
+ var _iterator4 = _createForOfIteratorHelper$1h(catalog || []),
12633
12633
  _step4;
12634
12634
  try {
12635
12635
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
12636
12636
  var ws = _step4.value;
12637
- var _iterator5 = _createForOfIteratorHelper$1g(ws.widgets),
12637
+ var _iterator5 = _createForOfIteratorHelper$1h(ws.widgets),
12638
12638
  _step5;
12639
12639
  try {
12640
12640
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
12641
12641
  var w = _step5.value;
12642
- var _iterator6 = _createForOfIteratorHelper$1g(w.events),
12642
+ var _iterator6 = _createForOfIteratorHelper$1h(w.events),
12643
12643
  _step6;
12644
12644
  try {
12645
12645
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -12699,7 +12699,7 @@ function buildBotEventCatalog(bots, toolSources) {
12699
12699
  if (!Array.isArray(bots)) return [];
12700
12700
  var sources = Array.isArray(toolSources) ? toolSources : [];
12701
12701
  var out = [];
12702
- var _iterator7 = _createForOfIteratorHelper$1g(bots),
12702
+ var _iterator7 = _createForOfIteratorHelper$1h(bots),
12703
12703
  _step7;
12704
12704
  try {
12705
12705
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -12715,7 +12715,7 @@ function buildBotEventCatalog(bots, toolSources) {
12715
12715
  event: "failed",
12716
12716
  label: "Failed"
12717
12717
  }];
12718
- var _iterator8 = _createForOfIteratorHelper$1g(bot.publishes || []),
12718
+ var _iterator8 = _createForOfIteratorHelper$1h(bot.publishes || []),
12719
12719
  _step8;
12720
12720
  try {
12721
12721
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -12731,7 +12731,7 @@ function buildBotEventCatalog(bots, toolSources) {
12731
12731
  } finally {
12732
12732
  _iterator8.f();
12733
12733
  }
12734
- var _iterator9 = _createForOfIteratorHelper$1g(bot.mcpServers || []),
12734
+ var _iterator9 = _createForOfIteratorHelper$1h(bot.mcpServers || []),
12735
12735
  _step9;
12736
12736
  try {
12737
12737
  var _loop = function _loop() {
@@ -12744,7 +12744,7 @@ function buildBotEventCatalog(bots, toolSources) {
12744
12744
  var tools = Array.isArray(sel) ? src.tools.filter(function (t) {
12745
12745
  return sel.includes(t);
12746
12746
  }) : src.tools;
12747
- var _iterator0 = _createForOfIteratorHelper$1g(tools),
12747
+ var _iterator0 = _createForOfIteratorHelper$1h(tools),
12748
12748
  _step0;
12749
12749
  try {
12750
12750
  for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
@@ -12848,21 +12848,21 @@ function buildTriggerOptions(_ref) {
12848
12848
  var wsList = (Array.isArray(workspaces) ? workspaces : []).filter(function (ws) {
12849
12849
  return ws && (teamKey === null || String(ws.id) === teamKey);
12850
12850
  });
12851
- var _iterator1 = _createForOfIteratorHelper$1g(buildWidgetEventCatalog(wsList, getWidgetConfig)),
12851
+ var _iterator1 = _createForOfIteratorHelper$1h(buildWidgetEventCatalog(wsList, getWidgetConfig)),
12852
12852
  _step1;
12853
12853
  try {
12854
12854
  for (_iterator1.s(); !(_step1 = _iterator1.n()).done;) {
12855
12855
  var ws = _step1.value;
12856
12856
  var group = "Widgets on ".concat(ws.name);
12857
12857
  var seen = {};
12858
- var _iterator11 = _createForOfIteratorHelper$1g(ws.widgets),
12858
+ var _iterator11 = _createForOfIteratorHelper$1h(ws.widgets),
12859
12859
  _step11;
12860
12860
  try {
12861
12861
  for (_iterator11.s(); !(_step11 = _iterator11.n()).done;) {
12862
12862
  var widget = _step11.value;
12863
12863
  seen[widget.label] = (seen[widget.label] || 0) + 1;
12864
12864
  var name = seen[widget.label] > 1 ? "".concat(widget.label, " (").concat(seen[widget.label], ")") : widget.label;
12865
- var _iterator12 = _createForOfIteratorHelper$1g(widget.events),
12865
+ var _iterator12 = _createForOfIteratorHelper$1h(widget.events),
12866
12866
  _step12;
12867
12867
  try {
12868
12868
  for (_iterator12.s(); !(_step12 = _iterator12.n()).done;) {
@@ -12904,13 +12904,13 @@ function buildTriggerOptions(_ref) {
12904
12904
  var wsOf = new Map(candidates.map(function (b) {
12905
12905
  return [b.id, b.workspaceId];
12906
12906
  }));
12907
- var _iterator10 = _createForOfIteratorHelper$1g(buildBotEventCatalog(candidates, toolSources, botId)),
12907
+ var _iterator10 = _createForOfIteratorHelper$1h(buildBotEventCatalog(candidates, toolSources, botId)),
12908
12908
  _step10;
12909
12909
  try {
12910
12910
  for (_iterator10.s(); !(_step10 = _iterator10.n()).done;) {
12911
12911
  var entry = _step10.value;
12912
12912
  var where = teamKey === null && wsOf.get(entry.botId) !== null && wsOf.get(entry.botId) !== undefined ? " (".concat(nameOfWs.get(String(wsOf.get(entry.botId))) || "another dashboard", ")") : "";
12913
- var _iterator13 = _createForOfIteratorHelper$1g(entry.events),
12913
+ var _iterator13 = _createForOfIteratorHelper$1h(entry.events),
12914
12914
  _step13;
12915
12915
  try {
12916
12916
  for (_iterator13.s(); !(_step13 = _iterator13.n()).done;) {
@@ -12958,7 +12958,7 @@ function groupBotEvents(events) {
12958
12958
  title: "Tools it uses",
12959
12959
  events: []
12960
12960
  }];
12961
- var _iterator14 = _createForOfIteratorHelper$1g(Array.isArray(events) ? events : []),
12961
+ var _iterator14 = _createForOfIteratorHelper$1h(Array.isArray(events) ? events : []),
12962
12962
  _step14;
12963
12963
  try {
12964
12964
  var _loop2 = function _loop2() {
@@ -13567,9 +13567,9 @@ var getUserConfigurableProviders = function getUserConfigurableProviders(provide
13567
13567
  });
13568
13568
  };
13569
13569
 
13570
- function _createForOfIteratorHelper$1f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1f(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; } } }; }
13571
- function _unsupportedIterableToArray$1f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1f(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$1f(r, a) : void 0; } }
13572
- function _arrayLikeToArray$1f(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; }
13570
+ function _createForOfIteratorHelper$1g(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1g(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; } } }; }
13571
+ function _unsupportedIterableToArray$1g(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1g(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$1g(r, a) : void 0; } }
13572
+ function _arrayLikeToArray$1g(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; }
13573
13573
  // A copy of electron/bots/teamPlan.js for the renderer (the Create screen's
13574
13574
  // Plan step, phase 4). Keep the two the same — teamPlan.parity.test.js checks.
13575
13575
  /**
@@ -13658,7 +13658,7 @@ function gridCells(grid) {
13658
13658
  var problems = [];
13659
13659
  var taken = new Map(); // "r.c" → widget
13660
13660
  var seen = new Set();
13661
- var _iterator = _createForOfIteratorHelper$1f(Array.isArray(grid.cells) ? grid.cells : []),
13661
+ var _iterator = _createForOfIteratorHelper$1g(Array.isArray(grid.cells) ? grid.cells : []),
13662
13662
  _step;
13663
13663
  try {
13664
13664
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -13764,7 +13764,7 @@ function checkGrid(grid, at, names, errors, warnings) {
13764
13764
  var _gridCells3 = gridCells(grid),
13765
13765
  fits = _gridCells3.fits,
13766
13766
  problems = _gridCells3.problems;
13767
- var _iterator5 = _createForOfIteratorHelper$1f(problems),
13767
+ var _iterator5 = _createForOfIteratorHelper$1g(problems),
13768
13768
  _step5;
13769
13769
  try {
13770
13770
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -13776,7 +13776,7 @@ function checkGrid(grid, at, names, errors, warnings) {
13776
13776
  } finally {
13777
13777
  _iterator5.f();
13778
13778
  }
13779
- var _iterator6 = _createForOfIteratorHelper$1f(fits),
13779
+ var _iterator6 = _createForOfIteratorHelper$1g(fits),
13780
13780
  _step6;
13781
13781
  try {
13782
13782
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -13981,7 +13981,7 @@ function validatePlan(plan) {
13981
13981
  errors.push("".concat(at, ".pages[").concat(j, "] needs a name and a list of widgets."));
13982
13982
  return;
13983
13983
  }
13984
- var _iterator7 = _createForOfIteratorHelper$1f(pg.widgets),
13984
+ var _iterator7 = _createForOfIteratorHelper$1g(pg.widgets),
13985
13985
  _step7;
13986
13986
  try {
13987
13987
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -14026,7 +14026,7 @@ function validatePlan(plan) {
14026
14026
  // A provider the user doesn't have: the build waits on that step
14027
14027
  // ("needs a provider", CRE-004 AC5) — a warning, not an error.
14028
14028
  if (have.size && Array.isArray(p.providers)) {
14029
- var _iterator8 = _createForOfIteratorHelper$1f(p.providers),
14029
+ var _iterator8 = _createForOfIteratorHelper$1g(p.providers),
14030
14030
  _step8;
14031
14031
  try {
14032
14032
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -14051,7 +14051,7 @@ function validatePlan(plan) {
14051
14051
  if (Array.isArray(pieces)) {
14052
14052
  var byName = function byName(kind) {
14053
14053
  var out = new Map();
14054
- var _iterator9 = _createForOfIteratorHelper$1f(pieces),
14054
+ var _iterator9 = _createForOfIteratorHelper$1g(pieces),
14055
14055
  _step9;
14056
14056
  try {
14057
14057
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -14345,9 +14345,9 @@ function parseCron(cron) {
14345
14345
 
14346
14346
  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; }
14347
14347
  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; }
14348
- function _createForOfIteratorHelper$1e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1e(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; } } }; }
14349
- function _unsupportedIterableToArray$1e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1e(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$1e(r, a) : void 0; } }
14350
- function _arrayLikeToArray$1e(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; }
14348
+ function _createForOfIteratorHelper$1f(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1f(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; } } }; }
14349
+ function _unsupportedIterableToArray$1f(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1f(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$1f(r, a) : void 0; } }
14350
+ function _arrayLikeToArray$1f(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; }
14351
14351
 
14352
14352
  // The Planner's names for provider types → the type ids Dash uses.
14353
14353
  var ALIASES = {
@@ -14380,7 +14380,7 @@ function normalizeType(name) {
14380
14380
  function providerTypesOf(providers) {
14381
14381
  var list = Array.isArray(providers) ? providers : Object.values(providers || {});
14382
14382
  var out = new Set();
14383
- var _iterator = _createForOfIteratorHelper$1e(list),
14383
+ var _iterator = _createForOfIteratorHelper$1f(list),
14384
14384
  _step;
14385
14385
  try {
14386
14386
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -14538,12 +14538,12 @@ function buildChecklist(plan) {
14538
14538
  }
14539
14539
  });
14540
14540
  var seenType = new Set();
14541
- var _iterator2 = _createForOfIteratorHelper$1e(pieces),
14541
+ var _iterator2 = _createForOfIteratorHelper$1f(pieces),
14542
14542
  _step2;
14543
14543
  try {
14544
14544
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
14545
14545
  var p = _step2.value;
14546
- var _iterator4 = _createForOfIteratorHelper$1e(p && p.providers || []),
14546
+ var _iterator4 = _createForOfIteratorHelper$1f(p && p.providers || []),
14547
14547
  _step4;
14548
14548
  try {
14549
14549
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -14570,7 +14570,7 @@ function buildChecklist(plan) {
14570
14570
  } finally {
14571
14571
  _iterator2.f();
14572
14572
  }
14573
- var _iterator3 = _createForOfIteratorHelper$1e(plan && plan.beforeBuilding || []),
14573
+ var _iterator3 = _createForOfIteratorHelper$1f(plan && plan.beforeBuilding || []),
14574
14574
  _step3;
14575
14575
  try {
14576
14576
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -14723,7 +14723,7 @@ function countsLine(plan) {
14723
14723
  // A piece with no source (a plan's layout often has none) is one the
14724
14724
  // plan makes: new — not "1 undefined layout" (QA 2026-10-22).
14725
14725
  var bySource = {};
14726
- var _iterator5 = _createForOfIteratorHelper$1e(group),
14726
+ var _iterator5 = _createForOfIteratorHelper$1f(group),
14727
14727
  _step5;
14728
14728
  try {
14729
14729
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -14845,7 +14845,7 @@ function botDetails(piece) {
14845
14845
  return s ? s.charAt(0).toUpperCase() + s.slice(1) : s;
14846
14846
  };
14847
14847
  var starts = [];
14848
- var _iterator7 = _createForOfIteratorHelper$1e(Array.isArray(p.on) ? p.on : []),
14848
+ var _iterator7 = _createForOfIteratorHelper$1f(Array.isArray(p.on) ? p.on : []),
14849
14849
  _step7;
14850
14850
  try {
14851
14851
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -16460,9 +16460,9 @@ function mcpJsonToFormState(jsonString, nextRowId) {
16460
16460
  return result;
16461
16461
  }
16462
16462
 
16463
- function _createForOfIteratorHelper$1d(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1d(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; } } }; }
16464
- function _unsupportedIterableToArray$1d(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1d(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$1d(r, a) : void 0; } }
16465
- function _arrayLikeToArray$1d(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; }
16463
+ function _createForOfIteratorHelper$1e(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1e(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; } } }; }
16464
+ function _unsupportedIterableToArray$1e(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1e(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$1e(r, a) : void 0; } }
16465
+ function _arrayLikeToArray$1e(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; }
16466
16466
  function ownKeys$1P(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; }
16467
16467
  function _objectSpread$1P(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1P(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1P(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
16468
16468
  var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
@@ -16747,11 +16747,11 @@ var EnhancedWidgetDropdown = function EnhancedWidgetDropdown(_ref) {
16747
16747
 
16748
16748
  // Flatten all widgets from all packages for the widget list
16749
16749
  flatWidgets = [];
16750
- _iterator = _createForOfIteratorHelper$1d(result.packages || []);
16750
+ _iterator = _createForOfIteratorHelper$1e(result.packages || []);
16751
16751
  try {
16752
16752
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
16753
16753
  pkg = _step.value;
16754
- _iterator2 = _createForOfIteratorHelper$1d(pkg.widgets || []);
16754
+ _iterator2 = _createForOfIteratorHelper$1e(pkg.widgets || []);
16755
16755
  try {
16756
16756
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
16757
16757
  widget = _step2.value;
@@ -18442,9 +18442,9 @@ function deriveWidgetOwnership(_ref2) {
18442
18442
  };
18443
18443
  }
18444
18444
 
18445
- 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; } } }; }
18446
- 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; } }
18447
- 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; }
18445
+ function _createForOfIteratorHelper$1d(r, e) { var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (!t) { if (Array.isArray(r) || (t = _unsupportedIterableToArray$1d(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; } } }; }
18446
+ function _unsupportedIterableToArray$1d(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray$1d(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$1d(r, a) : void 0; } }
18447
+ function _arrayLikeToArray$1d(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; }
18448
18448
 
18449
18449
  /**
18450
18450
  * "Built by AI · yours", "Loaded from your folder · yours",
@@ -18510,7 +18510,7 @@ function listenerRows(item) {
18510
18510
  var handler = _Object$keys[_i];
18511
18511
  var list = listeners[handler];
18512
18512
  if (!Array.isArray(list)) continue;
18513
- var _iterator = _createForOfIteratorHelper$1c(list),
18513
+ var _iterator = _createForOfIteratorHelper$1d(list),
18514
18514
  _step;
18515
18515
  try {
18516
18516
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -18923,9 +18923,9 @@ var useWidgetSchedulerStatus = function useWidgetSchedulerStatus(widgetId) {
18923
18923
  };
18924
18924
  };
18925
18925
 
18926
- 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; } } }; }
18927
- 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; } }
18928
- 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; }
18926
+ 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; } } }; }
18927
+ 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; } }
18928
+ 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; }
18929
18929
  function formatCountdown(ms) {
18930
18930
  if (ms == null || ms < 0) return "--";
18931
18931
  if (ms < 1000) return "< 1s";
@@ -19054,7 +19054,7 @@ var WidgetCardStatusBar = function WidgetCardStatusBar(_ref) {
19054
19054
 
19055
19055
  // Find soonest countdown among enabled tasks
19056
19056
  var soonestMs = null;
19057
- var _iterator = _createForOfIteratorHelper$1b(enabledTasks),
19057
+ var _iterator = _createForOfIteratorHelper$1c(enabledTasks),
19058
19058
  _step;
19059
19059
  try {
19060
19060
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -19419,9 +19419,9 @@ function formatMonthCost(spend, botId) {
19419
19419
  return "No runs this month";
19420
19420
  }
19421
19421
 
19422
- 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; } } }; }
19423
- 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; } }
19424
- 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; }
19422
+ 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; } } }; }
19423
+ 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; } }
19424
+ 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; }
19425
19425
 
19426
19426
  /**
19427
19427
  * Select-to-edit in the dashboard editor (create-entry phase 1c, CRE-006).
@@ -19458,7 +19458,7 @@ function widgetsOf$1(layout) {
19458
19458
 
19459
19459
  /** The grid and cell holding widget `itemId`, or null. */
19460
19460
  function findWidgetCell(layout, itemId) {
19461
- var _iterator = _createForOfIteratorHelper$1a(Array.isArray(layout) ? layout : []),
19461
+ var _iterator = _createForOfIteratorHelper$1b(Array.isArray(layout) ? layout : []),
19462
19462
  _step;
19463
19463
  try {
19464
19464
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -19489,7 +19489,7 @@ function botsFeeding(widget) {
19489
19489
  var out = new Set();
19490
19490
  for (var _i2 = 0, _Object$values = Object.values(widget && widget.listeners || {}); _i2 < _Object$values.length; _i2++) {
19491
19491
  var events = _Object$values[_i2];
19492
- var _iterator2 = _createForOfIteratorHelper$1a(Array.isArray(events) ? events : []),
19492
+ var _iterator2 = _createForOfIteratorHelper$1b(Array.isArray(events) ? events : []),
19493
19493
  _step2;
19494
19494
  try {
19495
19495
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -19534,7 +19534,7 @@ function relatedTo(selection) {
19534
19534
  return w.uuid === selection.uuid;
19535
19535
  });
19536
19536
  if (!widget) return related;
19537
- var _iterator3 = _createForOfIteratorHelper$1a(botsFeeding(widget)),
19537
+ var _iterator3 = _createForOfIteratorHelper$1b(botsFeeding(widget)),
19538
19538
  _step3;
19539
19539
  try {
19540
19540
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -19546,7 +19546,7 @@ function relatedTo(selection) {
19546
19546
  } finally {
19547
19547
  _iterator3.f();
19548
19548
  }
19549
- var _iterator4 = _createForOfIteratorHelper$1a(bots),
19549
+ var _iterator4 = _createForOfIteratorHelper$1b(bots),
19550
19550
  _step4;
19551
19551
  try {
19552
19552
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -19562,7 +19562,7 @@ function relatedTo(selection) {
19562
19562
  var _bot = bots.find(function (b) {
19563
19563
  return b.id === selection.botId;
19564
19564
  });
19565
- var _iterator5 = _createForOfIteratorHelper$1a(widgets),
19565
+ var _iterator5 = _createForOfIteratorHelper$1b(widgets),
19566
19566
  _step5;
19567
19567
  try {
19568
19568
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -20142,9 +20142,9 @@ var WidgetNotFound = function WidgetNotFound(_ref) {
20142
20142
  var GRID_CELL_WIDGET_TYPE = "grid-cell-widget";
20143
20143
  var SIDEBAR_WIDGET_TYPE = "sidebar-widget";
20144
20144
 
20145
- 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; } } }; }
20146
- 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; } }
20147
- 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; }
20145
+ 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; } } }; }
20146
+ 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; } }
20147
+ 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; }
20148
20148
  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; }
20149
20149
  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; }
20150
20150
  var DraggableDroppableCellBody = function DraggableDroppableCellBody(props) {
@@ -20802,7 +20802,7 @@ var LayoutGridContainer = /*#__PURE__*/memo(function (_ref4) {
20802
20802
  return selectable["delete"](cn);
20803
20803
  });
20804
20804
  var resolved = new Set();
20805
- var _iterator = _createForOfIteratorHelper$19(selectable),
20805
+ var _iterator = _createForOfIteratorHelper$1a(selectable),
20806
20806
  _step;
20807
20807
  try {
20808
20808
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -28425,9 +28425,9 @@ function migrateBareComponentName(componentMap, component) {
28425
28425
 
28426
28426
  function ownKeys$1C(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; }
28427
28427
  function _objectSpread$1C(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1C(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1C(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
28428
- 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; } } }; }
28429
- 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; } }
28430
- 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; }
28428
+ 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; } } }; }
28429
+ 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; } }
28430
+ 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; }
28431
28431
  /**
28432
28432
  * The model for all layout components used primarily in the renderLayout method
28433
28433
  * @param {Object} layoutItem an object containing various attributes of the layout item
@@ -28439,7 +28439,7 @@ function _arrayLikeToArray$18(r, a) { (null == a || a > r.length) && (a = r.leng
28439
28439
  function sortObjectByKeys(obj) {
28440
28440
  var sortedKeys = Object.keys(obj).sort();
28441
28441
  var sortedObj = {};
28442
- var _iterator = _createForOfIteratorHelper$18(sortedKeys),
28442
+ var _iterator = _createForOfIteratorHelper$19(sortedKeys),
28443
28443
  _step;
28444
28444
  try {
28445
28445
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -28757,9 +28757,9 @@ var SettingsModel = function SettingsModel() {
28757
28757
  return obj;
28758
28758
  };
28759
28759
 
28760
- 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; } } }; }
28761
- 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; } }
28762
- 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; }
28760
+ 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; } } }; }
28761
+ 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; } }
28762
+ 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; }
28763
28763
 
28764
28764
  /**
28765
28765
  * Workspace-level pre-pass that migrates legacy bare component
@@ -28834,7 +28834,7 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
28834
28834
  };
28835
28835
  var _walk = function walk(items) {
28836
28836
  if (!Array.isArray(items)) return;
28837
- var _iterator = _createForOfIteratorHelper$17(items),
28837
+ var _iterator = _createForOfIteratorHelper$18(items),
28838
28838
  _step;
28839
28839
  try {
28840
28840
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -28856,7 +28856,7 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
28856
28856
  };
28857
28857
  _walk(workspace.layout);
28858
28858
  if (Array.isArray(workspace.pages)) {
28859
- var _iterator2 = _createForOfIteratorHelper$17(workspace.pages),
28859
+ var _iterator2 = _createForOfIteratorHelper$18(workspace.pages),
28860
28860
  _step2;
28861
28861
  try {
28862
28862
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -28873,9 +28873,9 @@ function migrateScopedIdsInWorkspace(workspace, componentMap) {
28873
28873
  return counts;
28874
28874
  }
28875
28875
 
28876
- 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; } } }; }
28877
- 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; } }
28878
- 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; }
28876
+ 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; } } }; }
28877
+ 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; } }
28878
+ 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; }
28879
28879
  /**
28880
28880
  * cleanForeignWidgetsFromWorkspace.js
28881
28881
  *
@@ -28916,7 +28916,7 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
28916
28916
  var _cleanList = function cleanList(items) {
28917
28917
  if (!Array.isArray(items)) return items;
28918
28918
  var kept = [];
28919
- var _iterator = _createForOfIteratorHelper$16(items),
28919
+ var _iterator = _createForOfIteratorHelper$17(items),
28920
28920
  _step;
28921
28921
  try {
28922
28922
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -28953,7 +28953,7 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
28953
28953
  workspace.sidebarLayout = _cleanList(workspace.sidebarLayout);
28954
28954
  }
28955
28955
  if (Array.isArray(workspace.pages)) {
28956
- var _iterator2 = _createForOfIteratorHelper$16(workspace.pages),
28956
+ var _iterator2 = _createForOfIteratorHelper$17(workspace.pages),
28957
28957
  _step2;
28958
28958
  try {
28959
28959
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -28971,9 +28971,9 @@ function cleanForeignWidgetsFromWorkspace(workspace) {
28971
28971
  return summary;
28972
28972
  }
28973
28973
 
28974
- 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; } } }; }
28975
- 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; } }
28976
- 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; }
28974
+ 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; } } }; }
28975
+ 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; } }
28976
+ 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; }
28977
28977
  /**
28978
28978
  * migrateLayoutItemTypes.js
28979
28979
  *
@@ -29035,7 +29035,7 @@ function migrateLayoutItemTypes(workspace) {
29035
29035
  };
29036
29036
  var _walk = function walk(items) {
29037
29037
  if (!Array.isArray(items)) return;
29038
- var _iterator = _createForOfIteratorHelper$15(items),
29038
+ var _iterator = _createForOfIteratorHelper$16(items),
29039
29039
  _step;
29040
29040
  try {
29041
29041
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -29053,7 +29053,7 @@ function migrateLayoutItemTypes(workspace) {
29053
29053
  };
29054
29054
  _walk(workspace.layout);
29055
29055
  if (Array.isArray(workspace.pages)) {
29056
- var _iterator2 = _createForOfIteratorHelper$15(workspace.pages),
29056
+ var _iterator2 = _createForOfIteratorHelper$16(workspace.pages),
29057
29057
  _step2;
29058
29058
  try {
29059
29059
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -29629,9 +29629,9 @@ var ThemeModel = function ThemeModel() {
29629
29629
  var _excluded$7 = ["key", "label"];
29630
29630
  function ownKeys$1A(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; }
29631
29631
  function _objectSpread$1A(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1A(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1A(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
29632
- 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; } } }; }
29633
- 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; } }
29634
- 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; }
29632
+ 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; } } }; }
29633
+ 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; } }
29634
+ 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; }
29635
29635
  /**
29636
29636
  * A widget's settings as an object keyed by setting name — the documented
29637
29637
  * userConfig shape ({ title: { type, displayName, … } }). Some widgets list
@@ -29661,7 +29661,7 @@ function normalizeUserConfig(userConfig) {
29661
29661
  return changed ? _out : userConfig;
29662
29662
  }
29663
29663
  var out = {};
29664
- var _iterator = _createForOfIteratorHelper$14(userConfig),
29664
+ var _iterator = _createForOfIteratorHelper$15(userConfig),
29665
29665
  _step;
29666
29666
  try {
29667
29667
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -29721,9 +29721,9 @@ function normalizeField(field) {
29721
29721
  return next;
29722
29722
  }
29723
29723
 
29724
- 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; } } }; }
29725
- 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; } }
29726
- 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; }
29724
+ 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; } } }; }
29725
+ 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; } }
29726
+ 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; }
29727
29727
 
29728
29728
  /**
29729
29729
  * ComponentConfigModel
@@ -29803,7 +29803,7 @@ var ComponentConfigModel = function ComponentConfigModel() {
29803
29803
  if ("providers" in obj && Array.isArray(obj.providers)) {
29804
29804
  var seen = new Set();
29805
29805
  var cleaned = [];
29806
- var _iterator = _createForOfIteratorHelper$13(obj.providers),
29806
+ var _iterator = _createForOfIteratorHelper$14(obj.providers),
29807
29807
  _step;
29808
29808
  try {
29809
29809
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -29849,9 +29849,9 @@ var MenuItemModel = function MenuItemModel() {
29849
29849
  return m;
29850
29850
  };
29851
29851
 
29852
- 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; } } }; }
29853
- 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; } }
29854
- 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; }
29852
+ 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; } } }; }
29853
+ 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; } }
29854
+ 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; }
29855
29855
  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; }
29856
29856
  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; }
29857
29857
  /**
@@ -29911,7 +29911,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
29911
29911
  maxRow = -Infinity;
29912
29912
  var minCol = Infinity,
29913
29913
  maxCol = -Infinity;
29914
- var _iterator = _createForOfIteratorHelper$12(cellNumbers),
29914
+ var _iterator = _createForOfIteratorHelper$13(cellNumbers),
29915
29915
  _step;
29916
29916
  try {
29917
29917
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -29935,7 +29935,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
29935
29935
  } finally {
29936
29936
  _iterator.f();
29937
29937
  }
29938
- var _iterator2 = _createForOfIteratorHelper$12(cellNumbers),
29938
+ var _iterator2 = _createForOfIteratorHelper$13(cellNumbers),
29939
29939
  _step2;
29940
29940
  try {
29941
29941
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -29977,7 +29977,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
29977
29977
  _iterator2.f();
29978
29978
  }
29979
29979
  var componentsInRange = [];
29980
- var _iterator3 = _createForOfIteratorHelper$12(cellNumbers),
29980
+ var _iterator3 = _createForOfIteratorHelper$13(cellNumbers),
29981
29981
  _step3;
29982
29982
  try {
29983
29983
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -30015,7 +30015,7 @@ function mergeGridCellsOp(grid, cellNumbers, keepComponentId) {
30015
30015
  // other selected cells get hidden and have their component refs
30016
30016
  // cleared (so a stale ref in a hidden cell never re-renders).
30017
30017
  var keepCell = cellNumbers[0];
30018
- var _iterator4 = _createForOfIteratorHelper$12(cellNumbers),
30018
+ var _iterator4 = _createForOfIteratorHelper$13(cellNumbers),
30019
30019
  _step4;
30020
30020
  try {
30021
30021
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -30545,9 +30545,9 @@ function deleteGridColumnOp(grid, colNumber) {
30545
30545
  };
30546
30546
  }
30547
30547
 
30548
- 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; } } }; }
30549
- 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; } }
30550
- 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; }
30548
+ 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; } } }; }
30549
+ 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; } }
30550
+ 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; }
30551
30551
  /**
30552
30552
  * A Model for a Workspace (Dashboard)
30553
30553
  * The Dashboard in this instance is the entire Layout inclusive of the workspaces and widgets
@@ -30619,7 +30619,7 @@ var DashboardModel = /*#__PURE__*/function () {
30619
30619
 
30620
30620
  // Also normalize grids within pages
30621
30621
  if (this.pages.length > 0) {
30622
- var _iterator = _createForOfIteratorHelper$11(this.pages),
30622
+ var _iterator = _createForOfIteratorHelper$12(this.pages),
30623
30623
  _step;
30624
30624
  try {
30625
30625
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -32021,7 +32021,7 @@ var DashboardModel = /*#__PURE__*/function () {
32021
32021
  // destructive-delete behavior.
32022
32022
  var result = deleteGridRowOp(gridContainer.grid, rowNumber);
32023
32023
  gridContainer.grid = result.grid;
32024
- var _iterator2 = _createForOfIteratorHelper$11(result.orphanedComponents),
32024
+ var _iterator2 = _createForOfIteratorHelper$12(result.orphanedComponents),
32025
32025
  _step2;
32026
32026
  try {
32027
32027
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -32120,7 +32120,7 @@ var DashboardModel = /*#__PURE__*/function () {
32120
32120
  // Slice 11: pure helper.
32121
32121
  var result = deleteGridColumnOp(gridContainer.grid, colNumber);
32122
32122
  gridContainer.grid = result.grid;
32123
- var _iterator3 = _createForOfIteratorHelper$11(result.orphanedComponents),
32123
+ var _iterator3 = _createForOfIteratorHelper$12(result.orphanedComponents),
32124
32124
  _step3;
32125
32125
  try {
32126
32126
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -32215,7 +32215,7 @@ var DashboardModel = /*#__PURE__*/function () {
32215
32215
  try {
32216
32216
  // Collect all item IDs actively referenced by grid cells
32217
32217
  var activeItemIds = new Set();
32218
- var _iterator4 = _createForOfIteratorHelper$11(this.layout),
32218
+ var _iterator4 = _createForOfIteratorHelper$12(this.layout),
32219
32219
  _step4;
32220
32220
  try {
32221
32221
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -32255,7 +32255,7 @@ var DashboardModel = /*#__PURE__*/function () {
32255
32255
  });
32256
32256
 
32257
32257
  // Clean listener references on remaining items for each removed orphan
32258
- var _iterator5 = _createForOfIteratorHelper$11(orphanedIds),
32258
+ var _iterator5 = _createForOfIteratorHelper$12(orphanedIds),
32259
32259
  _step5;
32260
32260
  try {
32261
32261
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -33028,9 +33028,9 @@ var useDashboard = function useDashboard() {
33028
33028
  });
33029
33029
  };
33030
33030
 
33031
- 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; } } }; }
33032
- 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; } }
33033
- 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; }
33031
+ 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; } } }; }
33032
+ 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; } }
33033
+ 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; }
33034
33034
 
33035
33035
  /**
33036
33036
  * useWidgetProviders Hook
@@ -33093,7 +33093,7 @@ var useWidgetProviders = function useWidgetProviders() {
33093
33093
  // 2. Workspace-level: stored as workspace.selectedProviders[widgetId][providerType]
33094
33094
  // 3. App-default: any provider in AppContext.providers flagged isDefaultForType
33095
33095
  var providers = {};
33096
- var _iterator = _createForOfIteratorHelper$10(providerDeclarations),
33096
+ var _iterator = _createForOfIteratorHelper$11(providerDeclarations),
33097
33097
  _step;
33098
33098
  try {
33099
33099
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -33152,9 +33152,9 @@ var useWidgetProviders = function useWidgetProviders() {
33152
33152
  };
33153
33153
  };
33154
33154
 
33155
- 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; } } }; }
33156
- 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; } }
33157
- 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; }
33155
+ 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; } } }; }
33156
+ 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; } }
33157
+ 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; }
33158
33158
 
33159
33159
  /**
33160
33160
  * Module-level shared state for MCP server connections.
@@ -33209,7 +33209,7 @@ function unionPathScope(grants, serverName) {
33209
33209
  allowedPaths: []
33210
33210
  };
33211
33211
  }
33212
- var _iterator = _createForOfIteratorHelper$$(grants),
33212
+ var _iterator = _createForOfIteratorHelper$10(grants),
33213
33213
  _step;
33214
33214
  try {
33215
33215
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -33222,7 +33222,7 @@ function unionPathScope(grants, serverName) {
33222
33222
  var serverPerms = servers[serverName];
33223
33223
  if (!serverPerms || _typeof(serverPerms) !== "object") continue;
33224
33224
  if (Array.isArray(serverPerms.readPaths)) {
33225
- var _iterator2 = _createForOfIteratorHelper$$(serverPerms.readPaths),
33225
+ var _iterator2 = _createForOfIteratorHelper$10(serverPerms.readPaths),
33226
33226
  _step2;
33227
33227
  try {
33228
33228
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -33236,7 +33236,7 @@ function unionPathScope(grants, serverName) {
33236
33236
  }
33237
33237
  }
33238
33238
  if (Array.isArray(serverPerms.writePaths)) {
33239
- var _iterator3 = _createForOfIteratorHelper$$(serverPerms.writePaths),
33239
+ var _iterator3 = _createForOfIteratorHelper$10(serverPerms.writePaths),
33240
33240
  _step3;
33241
33241
  try {
33242
33242
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -34043,9 +34043,9 @@ var useNotifications = function useNotifications() {
34043
34043
  };
34044
34044
  };
34045
34045
 
34046
- 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; } } }; }
34047
- 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; } }
34048
- 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; }
34046
+ 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; } } }; }
34047
+ 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; } }
34048
+ 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; }
34049
34049
 
34050
34050
  /**
34051
34051
  * useScheduler Hook
@@ -34118,7 +34118,7 @@ var useScheduler = function useScheduler() {
34118
34118
  if (pending && pending.length > 0) {
34119
34119
  setPendingResults(pending);
34120
34120
  // Call handlers for each pending result
34121
- var _iterator = _createForOfIteratorHelper$_(pending),
34121
+ var _iterator = _createForOfIteratorHelper$$(pending),
34122
34122
  _step;
34123
34123
  try {
34124
34124
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -35364,9 +35364,9 @@ var CustomHexColorPane = function CustomHexColorPane(_ref) {
35364
35364
  });
35365
35365
  };
35366
35366
 
35367
- 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; } } }; }
35368
- 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; } }
35369
- 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; }
35367
+ 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; } } }; }
35368
+ 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; } }
35369
+ 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; }
35370
35370
  function rgbDistSq(a, b) {
35371
35371
  var dr = a.r - b.r;
35372
35372
  var dg = a.g - b.g;
@@ -35384,13 +35384,13 @@ function nearestSwatch(hex, families) {
35384
35384
  var target = hexToRgb$1(hex);
35385
35385
  if (!target) return null;
35386
35386
  var best = null;
35387
- var _iterator = _createForOfIteratorHelper$Z(families),
35387
+ var _iterator = _createForOfIteratorHelper$_(families),
35388
35388
  _step;
35389
35389
  try {
35390
35390
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
35391
35391
  var family = _step.value;
35392
35392
  var grid = getCuratedColorGrid(family) || [];
35393
- var _iterator2 = _createForOfIteratorHelper$Z(grid),
35393
+ var _iterator2 = _createForOfIteratorHelper$_(grid),
35394
35394
  _step2;
35395
35395
  try {
35396
35396
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -42362,9 +42362,9 @@ var GrantManuallyModal = function GrantManuallyModal(_ref) {
42362
42362
  });
42363
42363
  };
42364
42364
 
42365
- 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; } } }; }
42366
- 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; } }
42367
- 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; }
42365
+ 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; } } }; }
42366
+ 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; } }
42367
+ 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; }
42368
42368
  /**
42369
42369
  * groupRowsByPackage
42370
42370
  *
@@ -42416,7 +42416,7 @@ function _hasGrant(granted) {
42416
42416
  function groupRowsByPackage(rows) {
42417
42417
  if (!Array.isArray(rows)) return [];
42418
42418
  var byPackage = new Map();
42419
- var _iterator = _createForOfIteratorHelper$Y(rows),
42419
+ var _iterator = _createForOfIteratorHelper$Z(rows),
42420
42420
  _step;
42421
42421
  try {
42422
42422
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -42626,15 +42626,15 @@ var PrivacySecurityList = function PrivacySecurityList(_ref) {
42626
42626
  * absence), false for paths (scanner can't see them)
42627
42627
  * @returns {Set<string>} the granted items that are stale
42628
42628
  */
42629
- 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; } } }; }
42630
- 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; } }
42631
- 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; }
42629
+ 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; } } }; }
42630
+ 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; } }
42631
+ 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; }
42632
42632
  function computeStaleItems(declaredItems, grantedItems, validatesStale) {
42633
42633
  var out = new Set();
42634
42634
  if (!validatesStale) return out;
42635
42635
  var declared = new Set(Array.isArray(declaredItems) ? declaredItems : []);
42636
42636
  var granted = Array.isArray(grantedItems) ? grantedItems : [];
42637
- var _iterator = _createForOfIteratorHelper$X(granted),
42637
+ var _iterator = _createForOfIteratorHelper$Y(granted),
42638
42638
  _step;
42639
42639
  try {
42640
42640
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -43231,9 +43231,9 @@ var WidgetPackageDetail = function WidgetPackageDetail(_ref) {
43231
43231
  */
43232
43232
  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; }
43233
43233
  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; }
43234
- 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; } } }; }
43235
- 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; } }
43236
- 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; }
43234
+ 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; } } }; }
43235
+ 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; } }
43236
+ 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; }
43237
43237
  function applyToolToggle(grant, labels, tool, on) {
43238
43238
  if (!grant || _typeof(grant) !== "object") return null;
43239
43239
  if (!Array.isArray(labels) || labels.length === 0) return null;
@@ -43254,7 +43254,7 @@ function applyToolToggle(grant, labels, tool, on) {
43254
43254
  }
43255
43255
 
43256
43256
  // Apply the toggle to each target label.
43257
- var _iterator = _createForOfIteratorHelper$W(labels),
43257
+ var _iterator = _createForOfIteratorHelper$X(labels),
43258
43258
  _step;
43259
43259
  try {
43260
43260
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -43314,9 +43314,9 @@ function applyToolToggle(grant, labels, tool, on) {
43314
43314
  */
43315
43315
  function ownKeys$1l(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; }
43316
43316
  function _objectSpread$1l(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1l(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1l(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
43317
- 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; } } }; }
43318
- 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; } }
43319
- 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; }
43317
+ 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; } } }; }
43318
+ 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; } }
43319
+ 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; }
43320
43320
  var VALID_KINDS$1 = new Set(["readPaths", "writePaths"]);
43321
43321
  function applyPathRemoval(grant, labels, kind, path) {
43322
43322
  if (!grant || _typeof(grant) !== "object") return null;
@@ -43335,7 +43335,7 @@ function applyPathRemoval(grant, labels, kind, path) {
43335
43335
  };
43336
43336
  }
43337
43337
  if (VALID_KINDS$1.has(kind)) {
43338
- var _iterator = _createForOfIteratorHelper$V(labels),
43338
+ var _iterator = _createForOfIteratorHelper$W(labels),
43339
43339
  _step;
43340
43340
  try {
43341
43341
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -43443,9 +43443,9 @@ function applyDomainItemRemoval(grant, domain, kind, value) {
43443
43443
 
43444
43444
  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; }
43445
43445
  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; }
43446
- 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; } } }; }
43447
- 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; } }
43448
- 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; }
43446
+ 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; } } }; }
43447
+ 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; } }
43448
+ 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; }
43449
43449
  var PrivacySecuritySection = function PrivacySecuritySection() {
43450
43450
  var _useContext = useContext(AppContext),
43451
43451
  providers = _useContext.providers;
@@ -43616,7 +43616,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
43616
43616
  }
43617
43617
  }
43618
43618
  targets = labels.length > 0 ? labels : [serverName];
43619
- _iterator = _createForOfIteratorHelper$U(targets);
43619
+ _iterator = _createForOfIteratorHelper$V(targets);
43620
43620
  _context4.prev = 1;
43621
43621
  _iterator.s();
43622
43622
  case 2:
@@ -43910,7 +43910,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
43910
43910
  return _context9.abrupt("return");
43911
43911
  case 3:
43912
43912
  next = currentGrant;
43913
- _iterator2 = _createForOfIteratorHelper$U(declaredTools);
43913
+ _iterator2 = _createForOfIteratorHelper$V(declaredTools);
43914
43914
  try {
43915
43915
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
43916
43916
  tool = _step2.value;
@@ -43950,7 +43950,7 @@ var PrivacySecuritySection = function PrivacySecuritySection() {
43950
43950
  while (1) switch (_context0.prev = _context0.next) {
43951
43951
  case 0:
43952
43952
  _context0.prev = 0;
43953
- _iterator3 = _createForOfIteratorHelper$U(packageGroup.widgets);
43953
+ _iterator3 = _createForOfIteratorHelper$V(packageGroup.widgets);
43954
43954
  _context0.prev = 1;
43955
43955
  _iterator3.s();
43956
43956
  case 2:
@@ -45921,9 +45921,9 @@ var LoadProfileModal = function LoadProfileModal(_ref) {
45921
45921
 
45922
45922
  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; }
45923
45923
  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; }
45924
- 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; } } }; }
45925
- 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; } }
45926
- 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; }
45924
+ 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; } } }; }
45925
+ 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; } }
45926
+ 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; }
45927
45927
  var plural$a = function plural(n, noun) {
45928
45928
  return "".concat(n, " ").concat(noun).concat(n === 1 ? "" : "s");
45929
45929
  };
@@ -46065,7 +46065,7 @@ var LoadProfileV2Modal = function LoadProfileV2Modal(_ref) {
46065
46065
  // The file's provider name → this computer's (null: set up later).
46066
46066
  var _useState9 = useState(function () {
46067
46067
  var out = {};
46068
- var _iterator = _createForOfIteratorHelper$T(preview.providers || []),
46068
+ var _iterator = _createForOfIteratorHelper$U(preview.providers || []),
46069
46069
  _step;
46070
46070
  try {
46071
46071
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -46356,9 +46356,9 @@ var LoadProfileV2Modal = function LoadProfileV2Modal(_ref) {
46356
46356
  });
46357
46357
  };
46358
46358
 
46359
- 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; } } }; }
46360
- 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; } }
46361
- 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; }
46359
+ 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; } } }; }
46360
+ 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; } }
46361
+ 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; }
46362
46362
  var KINDS = [{
46363
46363
  kind: "dashboards",
46364
46364
  title: "Dashboards",
@@ -47045,7 +47045,7 @@ var ProfilesSection = function ProfilesSection(_ref2) {
47045
47045
  return !i.inProfile;
47046
47046
  });
47047
47047
  setBusyKey("all");
47048
- _iterator2 = _createForOfIteratorHelper$S(missing);
47048
+ _iterator2 = _createForOfIteratorHelper$T(missing);
47049
47049
  _context1.prev = 1;
47050
47050
  _iterator2.s();
47051
47051
  case 2:
@@ -47310,7 +47310,7 @@ var ProfilesSection = function ProfilesSection(_ref2) {
47310
47310
  return "".concat(n, " ").concat(plural$9(res.botsPaused.length, "bot"), " arrived paused \u2014 turn them on when you're ready.");
47311
47311
  });
47312
47312
  }
47313
- var _iterator = _createForOfIteratorHelper$S(res.botsWaiting || []),
47313
+ var _iterator = _createForOfIteratorHelper$T(res.botsWaiting || []),
47314
47314
  _step;
47315
47315
  try {
47316
47316
  var _loop = function _loop() {
@@ -47951,9 +47951,9 @@ var DashboardLoaderModal = function DashboardLoaderModal(_ref) {
47951
47951
 
47952
47952
  function ownKeys$1f(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; }
47953
47953
  function _objectSpread$1f(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1f(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1f(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
47954
- 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; } } }; }
47955
- 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; } }
47956
- 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; }
47954
+ 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; } } }; }
47955
+ 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; } }
47956
+ 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; }
47957
47957
  /**
47958
47958
  * Layout template definitions for the dashboard template picker.
47959
47959
  *
@@ -48227,7 +48227,7 @@ function createLayoutFromTemplate(template) {
48227
48227
  cols: template.cols,
48228
48228
  gap: "gap-2"
48229
48229
  };
48230
- var _iterator = _createForOfIteratorHelper$R(template.cells),
48230
+ var _iterator = _createForOfIteratorHelper$S(template.cells),
48231
48231
  _step;
48232
48232
  try {
48233
48233
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -48290,9 +48290,9 @@ function keepLatest(edited, opened, latest) {
48290
48290
  return out;
48291
48291
  }
48292
48292
 
48293
- 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; } } }; }
48294
- 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; } }
48295
- 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; }
48293
+ 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; } } }; }
48294
+ 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; } }
48295
+ 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; }
48296
48296
  /**
48297
48297
  * teamUtils.js
48298
48298
  *
@@ -48325,7 +48325,7 @@ function dashboardOptions(workspaces) {
48325
48325
  return w && norm$1(w.id) !== null;
48326
48326
  });
48327
48327
  var totals = {};
48328
- var _iterator = _createForOfIteratorHelper$Q(list),
48328
+ var _iterator = _createForOfIteratorHelper$R(list),
48329
48329
  _step;
48330
48330
  try {
48331
48331
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -48372,7 +48372,7 @@ function groupBotsByTeam(bots, workspaces) {
48372
48372
  label: "Unassigned",
48373
48373
  bots: []
48374
48374
  };
48375
- var _iterator2 = _createForOfIteratorHelper$Q(list),
48375
+ var _iterator2 = _createForOfIteratorHelper$R(list),
48376
48376
  _step2;
48377
48377
  try {
48378
48378
  var _loop = function _loop() {
@@ -48465,7 +48465,7 @@ var PROVIDER_NAMES = {
48465
48465
  };
48466
48466
 
48467
48467
  /** A provider id as people know it. */
48468
- function providerName(id) {
48468
+ function providerName$1(id) {
48469
48469
  return PROVIDER_NAMES[id] || id || "Unknown";
48470
48470
  }
48471
48471
 
@@ -50068,9 +50068,9 @@ function appendAnswerText(text, chunk) {
50068
50068
  return prev + next;
50069
50069
  }
50070
50070
 
50071
- 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; } } }; }
50072
- 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; } }
50073
- 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; }
50071
+ 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; } } }; }
50072
+ 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; } }
50073
+ 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; }
50074
50074
  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; }
50075
50075
  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; }
50076
50076
  function bots$1() {
@@ -50359,7 +50359,7 @@ function _stopTeamRole() {
50359
50359
  _context3["catch"](4);
50360
50360
  team = [];
50361
50361
  case 8:
50362
- _iterator = _createForOfIteratorHelper$P(team);
50362
+ _iterator = _createForOfIteratorHelper$Q(team);
50363
50363
  _context3.prev = 9;
50364
50364
  _iterator.s();
50365
50365
  case 10:
@@ -50446,9 +50446,9 @@ function withoutMatches(text) {
50446
50446
 
50447
50447
  function ownKeys$1a(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; }
50448
50448
  function _objectSpread$1a(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$1a(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$1a(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
50449
- 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; } } }; }
50450
- 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; } }
50451
- 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; }
50449
+ 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; } } }; }
50450
+ 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; } }
50451
+ 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; }
50452
50452
  var STARTER_TAG = "starter";
50453
50453
  var titleCase$1 = function titleCase(s) {
50454
50454
  return String(s || "").split(/[-_\s]+/).filter(Boolean).map(function (w) {
@@ -50467,7 +50467,7 @@ function starterPackages(index) {
50467
50467
  /** "Productivity", … — the categories present, in order of first use. */
50468
50468
  function starterCategories(starters) {
50469
50469
  var out = [];
50470
- var _iterator = _createForOfIteratorHelper$O(starters || []),
50470
+ var _iterator = _createForOfIteratorHelper$P(starters || []),
50471
50471
  _step;
50472
50472
  try {
50473
50473
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -50592,7 +50592,7 @@ function starterToPlan(config) {
50592
50592
  };
50593
50593
  var widgetPieces = [];
50594
50594
  var nameOfWidget = new Map();
50595
- var _iterator2 = _createForOfIteratorHelper$O(widgetItems(ws)),
50595
+ var _iterator2 = _createForOfIteratorHelper$P(widgetItems(ws)),
50596
50596
  _step2;
50597
50597
  try {
50598
50598
  var _loop = function _loop() {
@@ -51660,9 +51660,9 @@ var DashTeamApprovals = function DashTeamApprovals(_ref) {
51660
51660
  });
51661
51661
  };
51662
51662
 
51663
- 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; } } }; }
51664
- 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; } }
51665
- 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; }
51663
+ 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; } } }; }
51664
+ 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; } }
51665
+ 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; }
51666
51666
  var STEP_TOKENS = {
51667
51667
  widget: {
51668
51668
  "new": {
@@ -51737,7 +51737,7 @@ function estimatePlan(plan) {
51737
51737
  builder: 0,
51738
51738
  checker: 0
51739
51739
  };
51740
- var _iterator = _createForOfIteratorHelper$N(pieces),
51740
+ var _iterator = _createForOfIteratorHelper$O(pieces),
51741
51741
  _step;
51742
51742
  try {
51743
51743
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -51796,9 +51796,9 @@ function describeEstimate(est) {
51796
51796
 
51797
51797
  function ownKeys$17(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; }
51798
51798
  function _objectSpread$17(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$17(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$17(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
51799
- 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; } } }; }
51800
- 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; } }
51801
- 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; }
51799
+ 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; } } }; }
51800
+ 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; } }
51801
+ 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; }
51802
51802
  function classOf(provider) {
51803
51803
  return provider && provider.providerClass || "credential";
51804
51804
  }
@@ -51920,7 +51920,7 @@ function providerUsage(name, _ref2) {
51920
51920
  bots = _ref2$bots === void 0 ? [] : _ref2$bots,
51921
51921
  bindingsFor = _ref2.bindingsFor;
51922
51922
  var dashboards = [];
51923
- var _iterator = _createForOfIteratorHelper$M(workspaces || []),
51923
+ var _iterator = _createForOfIteratorHelper$N(workspaces || []),
51924
51924
  _step;
51925
51925
  try {
51926
51926
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -52090,9 +52090,9 @@ function groupProviders(providers) {
52090
52090
  });
52091
52091
  }
52092
52092
 
52093
- 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; } } }; }
52094
- 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; } }
52095
- 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; }
52093
+ 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; } } }; }
52094
+ 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; } }
52095
+ 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; }
52096
52096
  function ownKeys$16(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; }
52097
52097
  function _objectSpread$16(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$16(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$16(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52098
52098
  var getWidgetRequirements$1 = function getWidgetRequirements(name) {
@@ -52176,7 +52176,7 @@ function useProviderStatus(_ref) {
52176
52176
  };
52177
52177
  var checkRunning = useCallback(function () {
52178
52178
  if (!dashApi || typeof dashApi.mcpGetServerStatus !== "function") return;
52179
- var _iterator = _createForOfIteratorHelper$L(mcpNames ? mcpNames.split("\n") : []),
52179
+ var _iterator = _createForOfIteratorHelper$M(mcpNames ? mcpNames.split("\n") : []),
52180
52180
  _step;
52181
52181
  try {
52182
52182
  var _loop = function _loop() {
@@ -52435,9 +52435,9 @@ var OverflowMenu = function OverflowMenu(_ref4) {
52435
52435
 
52436
52436
  function ownKeys$15(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; }
52437
52437
  function _objectSpread$15(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$15(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$15(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
52438
- 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; } } }; }
52439
- 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; } }
52440
- 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; }
52438
+ 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; } } }; }
52439
+ 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; } }
52440
+ 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; }
52441
52441
  /**
52442
52442
  * applyBulkProviderBindings — pure utility for the dashboard config
52443
52443
  * bulk-edit modal's Save path.
@@ -52495,7 +52495,7 @@ function applyToLayoutArray(layout, changesByWidgetId) {
52495
52495
  var next = layout.map(function (item) {
52496
52496
  if (!item) return item;
52497
52497
  var matchedChanges = null;
52498
- var _iterator = _createForOfIteratorHelper$K(changesByWidgetId.entries()),
52498
+ var _iterator = _createForOfIteratorHelper$L(changesByWidgetId.entries()),
52499
52499
  _step;
52500
52500
  try {
52501
52501
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -52545,7 +52545,7 @@ function applyBulkProviderBindings(workspace, changes) {
52545
52545
  // Group changes by widgetId so we can match each layout item once
52546
52546
  // and apply every type-level change on it in a single pass.
52547
52547
  var changesByWidgetId = new Map();
52548
- var _iterator2 = _createForOfIteratorHelper$K(changes),
52548
+ var _iterator2 = _createForOfIteratorHelper$L(changes),
52549
52549
  _step2;
52550
52550
  try {
52551
52551
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -52567,7 +52567,7 @@ function applyBulkProviderBindings(workspace, changes) {
52567
52567
  // ── Layer 2: workspace.selectedProviders ─────────────────────────
52568
52568
  var nextSelectedProviders = _objectSpread$15({}, workspace.selectedProviders || {});
52569
52569
  var layer2Changed = false;
52570
- var _iterator3 = _createForOfIteratorHelper$K(changesByWidgetId.entries()),
52570
+ var _iterator3 = _createForOfIteratorHelper$L(changesByWidgetId.entries()),
52571
52571
  _step3;
52572
52572
  try {
52573
52573
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -52934,9 +52934,9 @@ function reconcileWorkspaceAfterLayoutChange(workspace) {
52934
52934
 
52935
52935
  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; }
52936
52936
  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; }
52937
- 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; } } }; }
52938
- 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; } }
52939
- 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; }
52937
+ 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; } } }; }
52938
+ 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; } }
52939
+ 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; }
52940
52940
  var explicitBinding = function explicitBinding(workspace, binding) {
52941
52941
  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;
52942
52942
  };
@@ -52976,7 +52976,7 @@ function providerUseModel(_ref) {
52976
52976
  return !!(s && s.key === "needsSetup");
52977
52977
  };
52978
52978
  var dashboards = [];
52979
- var _iterator = _createForOfIteratorHelper$J(workspaces || []),
52979
+ var _iterator = _createForOfIteratorHelper$K(workspaces || []),
52980
52980
  _step;
52981
52981
  try {
52982
52982
  var _loop = function _loop() {
@@ -53062,13 +53062,13 @@ function planProviderUse(model) {
53062
53062
  };
53063
53063
  var workspaces = [];
53064
53064
  var count = 0;
53065
- var _iterator2 = _createForOfIteratorHelper$J(model.dashboards),
53065
+ var _iterator2 = _createForOfIteratorHelper$K(model.dashboards),
53066
53066
  _step2;
53067
53067
  try {
53068
53068
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
53069
53069
  var d = _step2.value;
53070
53070
  var changes = [];
53071
- var _iterator4 = _createForOfIteratorHelper$J(d.rows),
53071
+ var _iterator4 = _createForOfIteratorHelper$K(d.rows),
53072
53072
  _step4;
53073
53073
  try {
53074
53074
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -53099,7 +53099,7 @@ function planProviderUse(model) {
53099
53099
  _iterator2.f();
53100
53100
  }
53101
53101
  var bots = [];
53102
- var _iterator3 = _createForOfIteratorHelper$J(model.bots),
53102
+ var _iterator3 = _createForOfIteratorHelper$K(model.bots),
53103
53103
  _step3;
53104
53104
  try {
53105
53105
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -53162,7 +53162,7 @@ function _applyProviderUse() {
53162
53162
  bots: 0,
53163
53163
  failed: []
53164
53164
  };
53165
- _iterator5 = _createForOfIteratorHelper$J(plan.workspaces);
53165
+ _iterator5 = _createForOfIteratorHelper$K(plan.workspaces);
53166
53166
  _context3.prev = 1;
53167
53167
  _loop2 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop2() {
53168
53168
  var _step5$value, workspaceId, changes, workspace, name, updated, _iterator7, _step7, c, _t;
@@ -53186,7 +53186,7 @@ function _applyProviderUse() {
53186
53186
  return saveWorkspace(dashApi, appId, updated);
53187
53187
  case 3:
53188
53188
  result.dashboards += 1;
53189
- _iterator7 = _createForOfIteratorHelper$J(changes);
53189
+ _iterator7 = _createForOfIteratorHelper$K(changes);
53190
53190
  try {
53191
53191
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
53192
53192
  c = _step7.value;
@@ -53235,7 +53235,7 @@ function _applyProviderUse() {
53235
53235
  _iterator5.f();
53236
53236
  return _context3.finish(6);
53237
53237
  case 7:
53238
- _iterator6 = _createForOfIteratorHelper$J(plan.bots);
53238
+ _iterator6 = _createForOfIteratorHelper$K(plan.bots);
53239
53239
  _context3.prev = 8;
53240
53240
  _loop3 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop3() {
53241
53241
  var _step6$value, botId, add, bot, name, current, mcpServers, _t2;
@@ -53314,21 +53314,21 @@ function _applyProviderUse() {
53314
53314
 
53315
53315
  function ownKeys$12(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; }
53316
53316
  function _objectSpread$12(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$12(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$12(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
53317
- 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; } } }; }
53318
- 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; } }
53319
- 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; }
53317
+ 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; } } }; }
53318
+ 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; } }
53319
+ 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; }
53320
53320
  var plural$7 = function plural(n, one) {
53321
53321
  var many = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : "".concat(one, "s");
53322
53322
  return "".concat(n, " ").concat(n === 1 ? one : many);
53323
53323
  };
53324
53324
  var initialPicks = function initialPicks(model) {
53325
53325
  var picks = {};
53326
- var _iterator = _createForOfIteratorHelper$I(model && model.dashboards || []),
53326
+ var _iterator = _createForOfIteratorHelper$J(model && model.dashboards || []),
53327
53327
  _step;
53328
53328
  try {
53329
53329
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
53330
53330
  var d = _step.value;
53331
- var _iterator3 = _createForOfIteratorHelper$I(d.rows),
53331
+ var _iterator3 = _createForOfIteratorHelper$J(d.rows),
53332
53332
  _step3;
53333
53333
  try {
53334
53334
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -53346,7 +53346,7 @@ var initialPicks = function initialPicks(model) {
53346
53346
  } finally {
53347
53347
  _iterator.f();
53348
53348
  }
53349
- var _iterator2 = _createForOfIteratorHelper$I(model && model.bots || []),
53349
+ var _iterator2 = _createForOfIteratorHelper$J(model && model.bots || []),
53350
53350
  _step2;
53351
53351
  try {
53352
53352
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -53410,12 +53410,12 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
53410
53410
  }, [isOpen, model]);
53411
53411
  var changes = useMemo(function () {
53412
53412
  var n = 0;
53413
- var _iterator4 = _createForOfIteratorHelper$I(model && model.dashboards || []),
53413
+ var _iterator4 = _createForOfIteratorHelper$J(model && model.dashboards || []),
53414
53414
  _step4;
53415
53415
  try {
53416
53416
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
53417
53417
  var d = _step4.value;
53418
- var _iterator6 = _createForOfIteratorHelper$I(d.rows),
53418
+ var _iterator6 = _createForOfIteratorHelper$J(d.rows),
53419
53419
  _step6;
53420
53420
  try {
53421
53421
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -53433,7 +53433,7 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
53433
53433
  } finally {
53434
53434
  _iterator4.f();
53435
53435
  }
53436
- var _iterator5 = _createForOfIteratorHelper$I(model && model.bots || []),
53436
+ var _iterator5 = _createForOfIteratorHelper$J(model && model.bots || []),
53437
53437
  _step5;
53438
53438
  try {
53439
53439
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -53457,7 +53457,7 @@ var ProviderUseDialog = function ProviderUseDialog(_ref) {
53457
53457
  var tickAll = function tickAll(rows) {
53458
53458
  return setPicks(function (p) {
53459
53459
  var next = _objectSpread$12({}, p);
53460
- var _iterator7 = _createForOfIteratorHelper$I(rows),
53460
+ var _iterator7 = _createForOfIteratorHelper$J(rows),
53461
53461
  _step7;
53462
53462
  try {
53463
53463
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -53693,9 +53693,9 @@ var Row = function Row(_ref4) {
53693
53693
  });
53694
53694
  };
53695
53695
 
53696
- 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; } } }; }
53697
- 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; } }
53698
- 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; }
53696
+ 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; } } }; }
53697
+ 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; } }
53698
+ 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; }
53699
53699
  /**
53700
53700
  * connectionErrorText — a failed connection test's reason in plain words.
53701
53701
  * Network errors come back as "connect ECONNREFUSED 127.0.0.1:8080"; the
@@ -53738,7 +53738,7 @@ var CONNECTION_ERRORS = [[/ECONNREFUSED/, function (host) {
53738
53738
  */
53739
53739
  function connectionErrorText(message, url) {
53740
53740
  var raw = String(message || "").trim();
53741
- var _iterator = _createForOfIteratorHelper$H(CONNECTION_ERRORS),
53741
+ var _iterator = _createForOfIteratorHelper$I(CONNECTION_ERRORS),
53742
53742
  _step;
53743
53743
  try {
53744
53744
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -56851,9 +56851,9 @@ var McpCatalogDetail = function McpCatalogDetail(_ref) {
56851
56851
 
56852
56852
  function ownKeys$_(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; }
56853
56853
  function _objectSpread$_(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$_(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$_(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
56854
- 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; } } }; }
56855
- 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; } }
56856
- 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; }
56854
+ 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; } } }; }
56855
+ 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; } }
56856
+ 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; }
56857
56857
  function isValidWsUrl(url) {
56858
56858
  if (!url) return false;
56859
56859
  try {
@@ -56900,7 +56900,7 @@ function extractCredentialFields(url, headerRows) {
56900
56900
  fields.add(match[1]);
56901
56901
  }
56902
56902
  }
56903
- var _iterator = _createForOfIteratorHelper$G(headerRows),
56903
+ var _iterator = _createForOfIteratorHelper$H(headerRows),
56904
56904
  _step;
56905
56905
  try {
56906
56906
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -57006,7 +57006,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
57006
57006
  if (!url.trim()) errs.url = "WebSocket URL is required";else if (!isValidWsUrl(url)) errs.url = "URL must start with ws:// or wss://";
57007
57007
 
57008
57008
  // Check required credential fields are filled
57009
- var _iterator2 = _createForOfIteratorHelper$G(credentialFields),
57009
+ var _iterator2 = _createForOfIteratorHelper$H(credentialFields),
57010
57010
  _step2;
57011
57011
  try {
57012
57012
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -57029,7 +57029,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
57029
57029
 
57030
57030
  // Build headers object from rows
57031
57031
  var headers = {};
57032
- var _iterator3 = _createForOfIteratorHelper$G(headerRows),
57032
+ var _iterator3 = _createForOfIteratorHelper$H(headerRows),
57033
57033
  _step3;
57034
57034
  try {
57035
57035
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -57100,7 +57100,7 @@ var WebSocketProviderForm = function WebSocketProviderForm(_ref) {
57100
57100
 
57101
57101
  // Build config from current form state (same as handleSave)
57102
57102
  headers = {};
57103
- _iterator4 = _createForOfIteratorHelper$G(headerRows);
57103
+ _iterator4 = _createForOfIteratorHelper$H(headerRows);
57104
57104
  try {
57105
57105
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
57106
57106
  row = _step4.value;
@@ -58487,9 +58487,9 @@ var ProvidersSection = function ProvidersSection(_ref) {
58487
58487
  });
58488
58488
  };
58489
58489
 
58490
- 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; } } }; }
58491
- 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; } }
58492
- 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; }
58490
+ 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; } } }; }
58491
+ 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; } }
58492
+ 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; }
58493
58493
  function usePanel() {
58494
58494
  var _ref = useContext(ThemeContext) || {},
58495
58495
  currentTheme = _ref.currentTheme;
@@ -58526,12 +58526,12 @@ function accessLines(permissions) {
58526
58526
  */
58527
58527
  function listingAccessLines(pkg) {
58528
58528
  var lines = [];
58529
- var _iterator = _createForOfIteratorHelper$F(pkg && pkg.widgets || []),
58529
+ var _iterator = _createForOfIteratorHelper$G(pkg && pkg.widgets || []),
58530
58530
  _step;
58531
58531
  try {
58532
58532
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
58533
58533
  var w = _step.value;
58534
- var _iterator3 = _createForOfIteratorHelper$F(accessLines(w && w.permissions)),
58534
+ var _iterator3 = _createForOfIteratorHelper$G(accessLines(w && w.permissions)),
58535
58535
  _step3;
58536
58536
  try {
58537
58537
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -58555,7 +58555,7 @@ function listingAccessLines(pkg) {
58555
58555
  }))).map(function (p) {
58556
58556
  return p && p.type;
58557
58557
  }).filter(Boolean)));
58558
- var _iterator2 = _createForOfIteratorHelper$F(types),
58558
+ var _iterator2 = _createForOfIteratorHelper$G(types),
58559
58559
  _step2;
58560
58560
  try {
58561
58561
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -59049,16 +59049,16 @@ function getWidgetPreviewRenderer() {
59049
59049
 
59050
59050
  function ownKeys$Z(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; }
59051
59051
  function _objectSpread$Z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
59052
- 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; } } }; }
59053
- 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; } }
59054
- 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; }
59052
+ 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; } } }; }
59053
+ 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; } }
59054
+ 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; }
59055
59055
  function previewProviders(widget, appProviders) {
59056
59056
  var chosen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
59057
59057
  var needs = [];
59058
59058
  var selected = {};
59059
59059
  var missing = null;
59060
59060
  var unchosen = null;
59061
- var _iterator = _createForOfIteratorHelper$E(getUserConfigurableProviders(widget && widget.providers)),
59061
+ var _iterator = _createForOfIteratorHelper$F(getUserConfigurableProviders(widget && widget.providers)),
59062
59062
  _step;
59063
59063
  try {
59064
59064
  var _loop = function _loop() {
@@ -59748,15 +59748,15 @@ function lineDiff(before, after) {
59748
59748
 
59749
59749
  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; }
59750
59750
  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; }
59751
- 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; } } }; }
59752
- 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; } }
59753
- 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; }
59751
+ 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; } } }; }
59752
+ 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; } }
59753
+ 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; }
59754
59754
  function plannedProviders(planned) {
59755
59755
  var needs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
59756
59756
  var appProviders = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};
59757
59757
  var out = {};
59758
59758
  if (!planned) return out;
59759
- var _iterator = _createForOfIteratorHelper$D(needs),
59759
+ var _iterator = _createForOfIteratorHelper$E(needs),
59760
59760
  _step;
59761
59761
  try {
59762
59762
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -60339,9 +60339,9 @@ var CellPreview = function CellPreview(_ref) {
60339
60339
 
60340
60340
  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; }
60341
60341
  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; }
60342
- 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; } } }; }
60343
- 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; } }
60344
- 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; }
60342
+ 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; } } }; }
60343
+ 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; } }
60344
+ 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; }
60345
60345
  var ROLE = {
60346
60346
  builder: "Builder",
60347
60347
  checker: "Checker",
@@ -60379,13 +60379,13 @@ var HEAD = {
60379
60379
  /** The providers waiting steps need, once each: ["gmail"]. */
60380
60380
  function waitingProviders(steps) {
60381
60381
  var out = [];
60382
- var _iterator = _createForOfIteratorHelper$C(steps || []),
60382
+ var _iterator = _createForOfIteratorHelper$D(steps || []),
60383
60383
  _step;
60384
60384
  try {
60385
60385
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
60386
60386
  var s = _step.value;
60387
60387
  if (s.status !== "needs-provider") continue;
60388
- var _iterator2 = _createForOfIteratorHelper$C(s.waitingFor || []),
60388
+ var _iterator2 = _createForOfIteratorHelper$D(s.waitingFor || []),
60389
60389
  _step2;
60390
60390
  try {
60391
60391
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -61352,7 +61352,7 @@ var RemoveSummary = function RemoveSummary(_ref11) {
61352
61352
  var n = built.placed.length;
61353
61353
  goes.push("".concat(n === 1 ? "The widget" : "The ".concat(n, " widgets"), " it put on ").concat(built.dashboard.name));
61354
61354
  }
61355
- var _iterator3 = _createForOfIteratorHelper$C(built.bots || []),
61355
+ var _iterator3 = _createForOfIteratorHelper$D(built.bots || []),
61356
61356
  _step3;
61357
61357
  try {
61358
61358
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -61367,7 +61367,7 @@ var RemoveSummary = function RemoveSummary(_ref11) {
61367
61367
  if (built.dashboard && !targeted) {
61368
61368
  goes.push("The dashboard's team lead, if it has one");
61369
61369
  }
61370
- var _iterator4 = _createForOfIteratorHelper$C(built.widgets || []),
61370
+ var _iterator4 = _createForOfIteratorHelper$D(built.widgets || []),
61371
61371
  _step4;
61372
61372
  try {
61373
61373
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -61976,16 +61976,86 @@ var PlanChecklistRows = function PlanChecklistRows(_ref1) {
61976
61976
  _ref1$who = _ref1.who,
61977
61977
  who = _ref1$who === void 0 ? null : _ref1$who,
61978
61978
  _ref1$readOnly = _ref1.readOnly,
61979
- readOnly = _ref1$readOnly === void 0 ? false : _ref1$readOnly;
61979
+ readOnly = _ref1$readOnly === void 0 ? false : _ref1$readOnly,
61980
+ _ref1$rows = _ref1.rows,
61981
+ rows = _ref1$rows === void 0 ? false : _ref1$rows;
61980
61982
  var _useConfigTokens3 = useConfigTokens(),
61981
61983
  muted = _useConfigTokens3.muted,
61982
- strong = _useConfigTokens3.strong;
61984
+ strong = _useConfigTokens3.strong,
61985
+ hairline = _useConfigTokens3.hairline;
61986
+ var statusTokens = useStatusTokens();
61983
61987
  return /*#__PURE__*/jsx(Fragment, {
61984
61988
  children: checklist.map(function (it) {
61985
61989
  var skipped = isSkipped(it, checks, have);
61986
61990
  var done = isDone(it, checks, have) && !skipped;
61987
61991
  // The user's providers that could stand in, closest first.
61988
61992
  var choices = it.kind === "connect" ? providerChoices(providers, it.providerType) : [];
61993
+ var picker = choices.length ? /*#__PURE__*/jsx("div", {
61994
+ className: "w-full",
61995
+ "data-testid": "checklist-use-provider",
61996
+ children: /*#__PURE__*/jsx(SelectInput, {
61997
+ label: "Or use one you have",
61998
+ value: "",
61999
+ onChange: function onChange(name) {
62000
+ var p = choices.find(function (x) {
62001
+ return x.name === name;
62002
+ });
62003
+ if (p) onPickProvider(it, p);
62004
+ },
62005
+ options: [{
62006
+ value: "",
62007
+ label: "Pick a provider…"
62008
+ }].concat(_toConsumableArray(choices.map(function (p) {
62009
+ return {
62010
+ value: p.name,
62011
+ label: p.type ? "".concat(p.name, " \xB7 ").concat(p.type) : p.name
62012
+ };
62013
+ })))
62014
+ })
62015
+ }) : null;
62016
+ if (rows) {
62017
+ // The lead workspace's Before it builds (frame 1): a mark, who
62018
+ // asks, what and its detail, the action on the same line.
62019
+ return /*#__PURE__*/jsxs("div", {
62020
+ className: "flex flex-row items-start gap-3 px-4 py-3 border-t text-sm ".concat(hairline),
62021
+ "data-testid": "checklist-item",
62022
+ children: [done ? /*#__PURE__*/jsx(FontAwesomeIcon, {
62023
+ icon: "check",
62024
+ className: "h-3 w-3 mt-1 ".concat(statusTokens.success.icon),
62025
+ "aria-label": "Done"
62026
+ }) :
62027
+ /*#__PURE__*/
62028
+ // A hollow ring: still to do (frame 1's ○).
62029
+ jsx("span", {
62030
+ role: "img",
62031
+ "aria-label": "To do",
62032
+ className: "inline-block flex-shrink-0 h-2.5 w-2.5 mt-1 rounded-full border ".concat(hairline)
62033
+ }), /*#__PURE__*/jsxs("span", {
62034
+ className: "flex-1 min-w-0 flex flex-col items-start gap-1",
62035
+ children: [who ? /*#__PURE__*/jsxs("span", {
62036
+ className: "flex flex-row items-center gap-1.5 text-xs ".concat(muted),
62037
+ "data-testid": "checklist-who",
62038
+ children: [/*#__PURE__*/jsx("span", {
62039
+ className: "inline-block h-2 w-2 rounded-full ".concat(statusTokens.success.solidBg),
62040
+ "aria-hidden": "true"
62041
+ }), who(it)]
62042
+ }) : null, /*#__PURE__*/jsx("span", {
62043
+ className: done ? muted : strong,
62044
+ children: it.label
62045
+ }), it["package"] || skipped ? /*#__PURE__*/jsx("span", {
62046
+ className: "text-xs ".concat(muted),
62047
+ "data-testid": skipped ? "checklist-skipped" : undefined,
62048
+ children: skipped ? "Skipped — what needs it waits" : it["package"]
62049
+ }) : null, done || readOnly ? null : picker]
62050
+ }), done || readOnly ? null : /*#__PURE__*/jsx(Button2, {
62051
+ title: it.kind === "install" ? "Review" : it.kind === "connect" ? "Connect" : "OK",
62052
+ size: "sm",
62053
+ onClick: function onClick() {
62054
+ return onAction(it);
62055
+ }
62056
+ })]
62057
+ }, it.id);
62058
+ }
61989
62059
  return /*#__PURE__*/jsxs("div", {
61990
62060
  className: "flex ".concat(compact ? "flex-col items-stretch" : "flex-row items-center", " gap-3 text-sm py-1"),
61991
62061
  "data-testid": "checklist-item",
@@ -62019,26 +62089,7 @@ var PlanChecklistRows = function PlanChecklistRows(_ref1) {
62019
62089
  }
62020
62090
  }), choices.length ? /*#__PURE__*/jsx("div", {
62021
62091
  className: compact ? "w-full" : "w-56",
62022
- "data-testid": "checklist-use-provider",
62023
- children: /*#__PURE__*/jsx(SelectInput, {
62024
- label: "Or use one you have",
62025
- value: "",
62026
- onChange: function onChange(name) {
62027
- var p = choices.find(function (x) {
62028
- return x.name === name;
62029
- });
62030
- if (p) onPickProvider(it, p);
62031
- },
62032
- options: [{
62033
- value: "",
62034
- label: "Pick a provider…"
62035
- }].concat(_toConsumableArray(choices.map(function (p) {
62036
- return {
62037
- value: p.name,
62038
- label: p.type ? "".concat(p.name, " \xB7 ").concat(p.type) : p.name
62039
- };
62040
- })))
62041
- })
62092
+ children: picker
62042
62093
  }) : null]
62043
62094
  })]
62044
62095
  }, it.id);
@@ -64128,9 +64179,9 @@ var CreateEdit = function CreateEdit(_ref) {
64128
64179
 
64129
64180
  function ownKeys$Q(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; }
64130
64181
  function _objectSpread$Q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$Q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$Q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
64131
- 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; } } }; }
64132
- 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; } }
64133
- 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; }
64182
+ 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; } } }; }
64183
+ 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; } }
64184
+ 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; }
64134
64185
  var titleCase = function titleCase(s) {
64135
64186
  return String(s || "").replace(/(^|[-_\s])(\w)/g, function (_m, sep, c) {
64136
64187
  return (sep ? " " : "") + c.toUpperCase();
@@ -64212,7 +64263,7 @@ var StarterCards = function StarterCards(_ref2) {
64212
64263
  var alive = true;
64213
64264
  var api = window.mainApi && window.mainApi.dashboardConfig;
64214
64265
  if (!api || !api.getPackageConfig) return undefined;
64215
- var _iterator = _createForOfIteratorHelper$B(starters),
64266
+ var _iterator = _createForOfIteratorHelper$C(starters),
64216
64267
  _step;
64217
64268
  try {
64218
64269
  var _loop = function _loop() {
@@ -64840,9 +64891,9 @@ function _pickType() {
64840
64891
  return _pickType.apply(this, arguments);
64841
64892
  }
64842
64893
 
64843
- 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; } } }; }
64844
- 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; } }
64845
- 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; }
64894
+ 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; } } }; }
64895
+ 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; } }
64896
+ 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; }
64846
64897
  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.";
64847
64898
  var HEX = /^#[0-9a-f]{6}$/i;
64848
64899
  var CHANNELS = ["primary", "secondary", "tertiary", "neutral"];
@@ -64852,7 +64903,7 @@ function parseThemeAnswer(text) {
64852
64903
  var j = firstJson(text);
64853
64904
  if (!j) return null;
64854
64905
  var colors = {};
64855
- var _iterator = _createForOfIteratorHelper$A(CHANNELS),
64906
+ var _iterator = _createForOfIteratorHelper$B(CHANNELS),
64856
64907
  _step;
64857
64908
  try {
64858
64909
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -64920,9 +64971,9 @@ function _themeFromPrompt() {
64920
64971
  return _themeFromPrompt.apply(this, arguments);
64921
64972
  }
64922
64973
 
64923
- 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; } } }; }
64924
- 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; } }
64925
- 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; }
64974
+ 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; } } }; }
64975
+ 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; } }
64976
+ 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; }
64926
64977
 
64927
64978
  // How much of a bot's instructions says what it does.
64928
64979
  var DOES_MAX = 160;
@@ -65015,7 +65066,7 @@ function contextRequest(ctx, lead) {
65015
65066
  if (ctx.widgets.length) lines.push("Widgets: ".concat(ctx.widgets.join(", "), "."));
65016
65067
  if (ctx.bots.length) {
65017
65068
  lines.push("Its bots:");
65018
- var _iterator = _createForOfIteratorHelper$z(ctx.bots),
65069
+ var _iterator = _createForOfIteratorHelper$A(ctx.bots),
65019
65070
  _step;
65020
65071
  try {
65021
65072
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -68977,9 +69028,9 @@ function matchesSource(entry, filter) {
68977
69028
  return widgetSource(entry, username) === filter;
68978
69029
  }
68979
69030
 
68980
- 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; } } }; }
68981
- 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; } }
68982
- 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; }
69031
+ 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; } } }; }
69032
+ 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; } }
69033
+ 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; }
68983
69034
 
68984
69035
  /**
68985
69036
  * useRegistrySearch — shared hook for browsing and installing registry packages.
@@ -69093,13 +69144,13 @@ var useRegistrySearch = function useRegistrySearch() {
69093
69144
  return c.toLowerCase();
69094
69145
  }));
69095
69146
  widgets = [];
69096
- _iterator = _createForOfIteratorHelper$y(pkgs);
69147
+ _iterator = _createForOfIteratorHelper$z(pkgs);
69097
69148
  try {
69098
69149
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
69099
69150
  pkg = _step.value;
69100
69151
  // Compute missing APIs for the entire package
69101
69152
  allApiProviders = [];
69102
- _iterator2 = _createForOfIteratorHelper$y(pkg.providers || []);
69153
+ _iterator2 = _createForOfIteratorHelper$z(pkg.providers || []);
69103
69154
  try {
69104
69155
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
69105
69156
  p = _step2.value;
@@ -69112,11 +69163,11 @@ var useRegistrySearch = function useRegistrySearch() {
69112
69163
  } finally {
69113
69164
  _iterator2.f();
69114
69165
  }
69115
- _iterator3 = _createForOfIteratorHelper$y(pkg.widgets || []);
69166
+ _iterator3 = _createForOfIteratorHelper$z(pkg.widgets || []);
69116
69167
  try {
69117
69168
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
69118
69169
  w = _step3.value;
69119
- _iterator5 = _createForOfIteratorHelper$y(w.providers || []);
69170
+ _iterator5 = _createForOfIteratorHelper$z(w.providers || []);
69120
69171
  try {
69121
69172
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
69122
69173
  _p = _step5.value;
@@ -69138,7 +69189,7 @@ var useRegistrySearch = function useRegistrySearch() {
69138
69189
  missingApis = _toConsumableArray(new Set(allApiProviders)).filter(function (api) {
69139
69190
  return !capSet.has(api.toLowerCase());
69140
69191
  });
69141
- _iterator4 = _createForOfIteratorHelper$y(pkg.widgets || []);
69192
+ _iterator4 = _createForOfIteratorHelper$z(pkg.widgets || []);
69142
69193
  try {
69143
69194
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
69144
69195
  widget = _step4.value;
@@ -69291,9 +69342,9 @@ var useRegistrySearch = function useRegistrySearch() {
69291
69342
  };
69292
69343
  };
69293
69344
 
69294
- 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; } } }; }
69295
- 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; } }
69296
- 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; }
69345
+ 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; } } }; }
69346
+ 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; } }
69347
+ 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; }
69297
69348
  var RECENT_LIMIT$2 = 5;
69298
69349
  var RECENT_DAYS = 14;
69299
69350
  var DAY_MS = 24 * 60 * 60 * 1000;
@@ -69315,7 +69366,7 @@ function recentlyCreated(widgets, registry) {
69315
69366
  _opts$days = opts.days,
69316
69367
  days = _opts$days === void 0 ? RECENT_DAYS : _opts$days;
69317
69368
  var byPackage = new Map();
69318
- var _iterator = _createForOfIteratorHelper$x(registry || []),
69369
+ var _iterator = _createForOfIteratorHelper$y(registry || []),
69319
69370
  _step;
69320
69371
  try {
69321
69372
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -69331,7 +69382,7 @@ function recentlyCreated(widgets, registry) {
69331
69382
  }
69332
69383
  var since = now - days * DAY_MS;
69333
69384
  var rows = [];
69334
- var _iterator2 = _createForOfIteratorHelper$x(widgets || []),
69385
+ var _iterator2 = _createForOfIteratorHelper$y(widgets || []),
69335
69386
  _step2;
69336
69387
  try {
69337
69388
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -69361,9 +69412,9 @@ function recentlyCreated(widgets, registry) {
69361
69412
  });
69362
69413
  }
69363
69414
 
69364
- 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; } } }; }
69365
- 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; } }
69366
- 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; }
69415
+ 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; } } }; }
69416
+ 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; } }
69417
+ 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; }
69367
69418
  function ownKeys$J(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; }
69368
69419
  function _objectSpread$J(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$J(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$J(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
69369
69420
  var DEFAULT_CONFIG_NAME$1 = "My Workspace";
@@ -69978,7 +70029,7 @@ var WidgetSidebar = function WidgetSidebar(_ref4) {
69978
70029
  return _context2.abrupt("return");
69979
70030
  case 2:
69980
70031
  names = new Set();
69981
- _iterator = _createForOfIteratorHelper$w(widgets);
70032
+ _iterator = _createForOfIteratorHelper$x(widgets);
69982
70033
  try {
69983
70034
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
69984
70035
  w = _step.value;
@@ -70709,9 +70760,9 @@ var EditPanel = function EditPanel(_ref) {
70709
70760
  });
70710
70761
  };
70711
70762
 
70712
- 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; } } }; }
70713
- 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; } }
70714
- 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; }
70763
+ 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; } } }; }
70764
+ 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; } }
70765
+ 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; }
70715
70766
  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; }
70716
70767
  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; }
70717
70768
  var DAYS = [{
@@ -71048,7 +71099,7 @@ var PanelEditItemSchedule = function PanelEditItemSchedule(_ref2) {
71048
71099
  setIsLoading(true);
71049
71100
  window.mainApi.scheduler.getTasks(widgetUuid).then(function (tasks) {
71050
71101
  var stateMap = {};
71051
- var _iterator = _createForOfIteratorHelper$v(tasks || []),
71102
+ var _iterator = _createForOfIteratorHelper$w(tasks || []),
71052
71103
  _step;
71053
71104
  try {
71054
71105
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -71943,9 +71994,9 @@ var EditBotsRow = function EditBotsRow(_ref) {
71943
71994
  });
71944
71995
  };
71945
71996
 
71946
- 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; } } }; }
71947
- 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; } }
71948
- 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; }
71997
+ 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; } } }; }
71998
+ 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; } }
71999
+ 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; }
71949
72000
  /**
71950
72001
  * Dashboard Config hands one widget to the edit panel (consolidation Phase
71951
72002
  * 3P): where that widget is — its layout item, the layout it's in, its page
@@ -71963,7 +72014,7 @@ function findWidgetForHandOff(workspace, target) {
71963
72014
  return !!i && (target.uuid != null && (i.uuid === target.uuid || i.uuidString === target.uuid) || target.component != null && target.itemId != null && i.component === target.component && String(i.id) === String(target.itemId));
71964
72015
  };
71965
72016
  var pages = Array.isArray(workspace.pages) ? workspace.pages : [];
71966
- var _iterator = _createForOfIteratorHelper$u(pages),
72017
+ var _iterator = _createForOfIteratorHelper$v(pages),
71967
72018
  _step;
71968
72019
  try {
71969
72020
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -72047,9 +72098,9 @@ var useMissingWidgets = function useMissingWidgets(workspace) {
72047
72098
 
72048
72099
  function ownKeys$F(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; }
72049
72100
  function _objectSpread$F(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$F(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$F(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72050
- 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; } } }; }
72051
- 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; } }
72052
- 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; }
72101
+ 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; } } }; }
72102
+ 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; } }
72103
+ 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; }
72053
72104
  var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
72054
72105
  var _ref$missingComponent = _ref.missingComponents,
72055
72106
  missingComponents = _ref$missingComponent === void 0 ? [] : _ref$missingComponent,
@@ -72100,7 +72151,7 @@ var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
72100
72151
  case 0:
72101
72152
  results = [];
72102
72153
  seen = new Set();
72103
- _iterator = _createForOfIteratorHelper$t(missingComponents);
72154
+ _iterator = _createForOfIteratorHelper$u(missingComponents);
72104
72155
  _context2.prev = 1;
72105
72156
  _loop = /*#__PURE__*/_regeneratorRuntime.mark(function _loop() {
72106
72157
  var componentKey, _getWidgetSearchQuery, packageName, widgetName, pkg, result;
@@ -72228,7 +72279,7 @@ var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
72228
72279
  while (1) switch (_context4.prev = _context4.next) {
72229
72280
  case 0:
72230
72281
  refused = [];
72231
- _iterator2 = _createForOfIteratorHelper$t(indexes);
72282
+ _iterator2 = _createForOfIteratorHelper$u(indexes);
72232
72283
  _context4.prev = 1;
72233
72284
  _loop2 = /*#__PURE__*/_regeneratorRuntime.mark(function _loop2() {
72234
72285
  var i, widget, packageName, packageScope, downloadUrl, packageVersion, scopedId, resolvedUrl, message, _t3;
@@ -72487,9 +72538,9 @@ var MissingWidgetsModal = function MissingWidgetsModal(_ref) {
72487
72538
 
72488
72539
  function ownKeys$E(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; }
72489
72540
  function _objectSpread$E(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$E(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$E(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72490
- 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; } } }; }
72491
- 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; } }
72492
- 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; }
72541
+ 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; } } }; }
72542
+ 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; } }
72543
+ 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; }
72493
72544
  /**
72494
72545
  * numberDuplicateLabels — two widgets of the same kind read "Notepad 1" and
72495
72546
  * "Notepad 2" instead of being told apart by an internal id or uuid.
@@ -72502,7 +72553,7 @@ function _arrayLikeToArray$s(r, a) { (null == a || a > r.length) && (a = r.lengt
72502
72553
  function numberDuplicateLabels(list, key) {
72503
72554
  if (!Array.isArray(list)) return list;
72504
72555
  var counts = new Map();
72505
- var _iterator = _createForOfIteratorHelper$s(list),
72556
+ var _iterator = _createForOfIteratorHelper$t(list),
72506
72557
  _step;
72507
72558
  try {
72508
72559
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -72527,9 +72578,9 @@ function numberDuplicateLabels(list, key) {
72527
72578
 
72528
72579
  function ownKeys$D(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; }
72529
72580
  function _objectSpread$D(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$D(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$D(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
72530
- 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; } } }; }
72531
- 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; } }
72532
- 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; }
72581
+ 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; } } }; }
72582
+ 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; } }
72583
+ 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; }
72533
72584
  var ALL_WIDGETS_ID = "__ALL__";
72534
72585
 
72535
72586
  /**
@@ -72627,7 +72678,7 @@ var WidgetsTab = function WidgetsTab(_ref) {
72627
72678
  // widgets from a single input.
72628
72679
  var sharedFields = useMemo(function () {
72629
72680
  var byKey = new Map();
72630
- var _iterator = _createForOfIteratorHelper$r(widgets),
72681
+ var _iterator = _createForOfIteratorHelper$s(widgets),
72631
72682
  _step;
72632
72683
  try {
72633
72684
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -72668,7 +72719,7 @@ var WidgetsTab = function WidgetsTab(_ref) {
72668
72719
  }, [sharedFields.length, widgets.length]);
72669
72720
  var groupedWidgets = useMemo(function () {
72670
72721
  var groups = new Map();
72671
- var _iterator2 = _createForOfIteratorHelper$r(widgets),
72722
+ var _iterator2 = _createForOfIteratorHelper$s(widgets),
72672
72723
  _step2;
72673
72724
  try {
72674
72725
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -72983,9 +73034,9 @@ function SharedFieldRow(_ref13) {
72983
73034
  });
72984
73035
  }
72985
73036
 
72986
- 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; } } }; }
72987
- 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; } }
72988
- 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; }
73037
+ 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; } } }; }
73038
+ 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; } }
73039
+ 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; }
72989
73040
  var PermissionsTab = function PermissionsTab(_ref) {
72990
73041
  var workspace = _ref.workspace;
72991
73042
  var _React$useContext = React__default.useContext(AppContext),
@@ -73212,7 +73263,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
73212
73263
  return _context4.abrupt("return");
73213
73264
  case 3:
73214
73265
  next = currentGrant;
73215
- _iterator = _createForOfIteratorHelper$q(declaredTools);
73266
+ _iterator = _createForOfIteratorHelper$r(declaredTools);
73216
73267
  try {
73217
73268
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
73218
73269
  tool = _step.value;
@@ -73372,7 +73423,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
73372
73423
  }
73373
73424
  }
73374
73425
  targets = labels.length > 0 ? labels : [serverName];
73375
- _iterator2 = _createForOfIteratorHelper$q(targets);
73426
+ _iterator2 = _createForOfIteratorHelper$r(targets);
73376
73427
  _context8.prev = 1;
73377
73428
  _iterator2.s();
73378
73429
  case 2:
@@ -73428,7 +73479,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
73428
73479
  case 0:
73429
73480
  setBusy(true);
73430
73481
  _context9.prev = 1;
73431
- _iterator3 = _createForOfIteratorHelper$q(filteredRows);
73482
+ _iterator3 = _createForOfIteratorHelper$r(filteredRows);
73432
73483
  _context9.prev = 2;
73433
73484
  _iterator3.s();
73434
73485
  case 3:
@@ -73487,7 +73538,7 @@ var PermissionsTab = function PermissionsTab(_ref) {
73487
73538
  case 0:
73488
73539
  setBusy(true);
73489
73540
  _context0.prev = 1;
73490
- _iterator4 = _createForOfIteratorHelper$q(filteredRows);
73541
+ _iterator4 = _createForOfIteratorHelper$r(filteredRows);
73491
73542
  _context0.prev = 2;
73492
73543
  _iterator4.s();
73493
73544
  case 3:
@@ -74164,9 +74215,9 @@ var NotificationsList = function NotificationsList(_ref2) {
74164
74215
  });
74165
74216
  };
74166
74217
 
74167
- 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; } } }; }
74168
- 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; } }
74169
- 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; }
74218
+ 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; } } }; }
74219
+ 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; } }
74220
+ 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; }
74170
74221
  function ownKeys$B(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; }
74171
74222
  function _objectSpread$B(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$B(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$B(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
74172
74223
  var widgetNameOf = function widgetNameOf(component) {
@@ -74336,7 +74387,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74336
74387
  };
74337
74388
  if (!appProviders) return byType;
74338
74389
  if (Array.isArray(appProviders)) {
74339
- var _iterator = _createForOfIteratorHelper$p(appProviders),
74390
+ var _iterator = _createForOfIteratorHelper$q(appProviders),
74340
74391
  _step;
74341
74392
  try {
74342
74393
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -74407,7 +74458,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74407
74458
  });
74408
74459
  }
74409
74460
  if (Array.isArray(workspace === null || workspace === void 0 ? void 0 : workspace.pages)) {
74410
- var _iterator2 = _createForOfIteratorHelper$p(workspace.pages),
74461
+ var _iterator2 = _createForOfIteratorHelper$q(workspace.pages),
74411
74462
  _step2;
74412
74463
  try {
74413
74464
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -74434,7 +74485,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74434
74485
  var visitedByLocation = new WeakSet();
74435
74486
  var _collect = function collect(items, location) {
74436
74487
  if (!Array.isArray(items)) return;
74437
- var _iterator3 = _createForOfIteratorHelper$p(items),
74488
+ var _iterator3 = _createForOfIteratorHelper$q(items),
74438
74489
  _step3;
74439
74490
  try {
74440
74491
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
@@ -74535,7 +74586,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74535
74586
  }
74536
74587
  if (stagedListeners.adds.length > 0) {
74537
74588
  // Append; avoid duplicates against current state.
74538
- var _iterator4 = _createForOfIteratorHelper$p(stagedListeners.adds),
74589
+ var _iterator4 = _createForOfIteratorHelper$q(stagedListeners.adds),
74539
74590
  _step4;
74540
74591
  try {
74541
74592
  var _loop = function _loop() {
@@ -74559,7 +74610,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74559
74610
  }
74560
74611
  if (orphans.length === 0) return next;
74561
74612
  var orphanIndex = new Map();
74562
- var _iterator5 = _createForOfIteratorHelper$p(orphans),
74613
+ var _iterator5 = _createForOfIteratorHelper$q(orphans),
74563
74614
  _step5;
74564
74615
  try {
74565
74616
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -74601,7 +74652,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74601
74652
  function stagePrefFieldForAll(targetWidgets, key, value) {
74602
74653
  setStagedPrefs(function (prev) {
74603
74654
  var next = _objectSpread$B({}, prev);
74604
- var _iterator6 = _createForOfIteratorHelper$p(targetWidgets),
74655
+ var _iterator6 = _createForOfIteratorHelper$q(targetWidgets),
74605
74656
  _step6;
74606
74657
  try {
74607
74658
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -74646,7 +74697,7 @@ var DashboardConfigModal = function DashboardConfigModal(_ref2) {
74646
74697
  });
74647
74698
  setStaged(function (prev) {
74648
74699
  var next = _objectSpread$B({}, prev);
74649
- var _iterator7 = _createForOfIteratorHelper$p(affected),
74700
+ var _iterator7 = _createForOfIteratorHelper$q(affected),
74650
74701
  _step7;
74651
74702
  try {
74652
74703
  for (_iterator7.s(); !(_step7 = _iterator7.n()).done;) {
@@ -75514,7 +75565,7 @@ function ListenersTab(_ref1) {
75514
75565
  // Receiver lookup (by composite key) for label resolution in chips.
75515
75566
  var receiverByKey = useMemo(function () {
75516
75567
  var m = new Map();
75517
- var _iterator8 = _createForOfIteratorHelper$p(receivers),
75568
+ var _iterator8 = _createForOfIteratorHelper$q(receivers),
75518
75569
  _step8;
75519
75570
  try {
75520
75571
  for (_iterator8.s(); !(_step8 = _iterator8.n()).done;) {
@@ -75612,7 +75663,7 @@ function HandlersColumn(_ref11) {
75612
75663
  onSelectHandler = _ref11.onSelectHandler;
75613
75664
  var countsByHandler = useMemo(function () {
75614
75665
  var m = new Map();
75615
- var _iterator9 = _createForOfIteratorHelper$p(myWiring),
75666
+ var _iterator9 = _createForOfIteratorHelper$q(myWiring),
75616
75667
  _step9;
75617
75668
  try {
75618
75669
  for (_iterator9.s(); !(_step9 = _iterator9.n()).done;) {
@@ -75689,7 +75740,7 @@ function EventsColumn(_ref12) {
75689
75740
  var wiredHere = useMemo(function () {
75690
75741
  var seen = new Set();
75691
75742
  var out = [];
75692
- var _iterator0 = _createForOfIteratorHelper$p(myWiring),
75743
+ var _iterator0 = _createForOfIteratorHelper$q(myWiring),
75693
75744
  _step0;
75694
75745
  try {
75695
75746
  for (_iterator0.s(); !(_step0 = _iterator0.n()).done;) {
@@ -75807,9 +75858,9 @@ function EventsColumn(_ref12) {
75807
75858
  );
75808
75859
  }
75809
75860
 
75810
- 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; } } }; }
75811
- 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; } }
75812
- 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; }
75861
+ 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; } } }; }
75862
+ 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; } }
75863
+ 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; }
75813
75864
  /**
75814
75865
  * botSummary — what the Bots page shows about a bot (app-navigation PRD
75815
75866
  * NAV-006): its widget-style name, avatar colour, providers + tools, each
@@ -75843,7 +75894,7 @@ function avatarColor(bot) {
75843
75894
  /** Each bot's newest run, from `listRecentRuns` (newest first). */
75844
75895
  function lastRunsByBot(recent) {
75845
75896
  var out = {};
75846
- var _iterator = _createForOfIteratorHelper$o(recent || []),
75897
+ var _iterator = _createForOfIteratorHelper$p(recent || []),
75847
75898
  _step;
75848
75899
  try {
75849
75900
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -75884,9 +75935,9 @@ var BotAvatar = function BotAvatar(_ref) {
75884
75935
 
75885
75936
  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; }
75886
75937
  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; }
75887
- 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; } } }; }
75888
- 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; } }
75889
- 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; }
75938
+ 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; } } }; }
75939
+ 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; } }
75940
+ 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; }
75890
75941
  var BOT_EVENT_RE = /^bot:(.+)\[([^\]]+)\]\.(.+)$/;
75891
75942
  var slugify = function slugify(name) {
75892
75943
  return String(name || "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "") || "bot";
@@ -75944,13 +75995,13 @@ function diagramEdges() {
75944
75995
  }));
75945
75996
  if (lead) ids["delete"](lead.id);
75946
75997
  var edges = [];
75947
- var _iterator = _createForOfIteratorHelper$n(members || []),
75998
+ var _iterator = _createForOfIteratorHelper$o(members || []),
75948
75999
  _step;
75949
76000
  try {
75950
76001
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
75951
76002
  var to = _step.value;
75952
76003
  if (!to || !ids.has(to.id)) continue;
75953
- var _iterator2 = _createForOfIteratorHelper$n(botSubs(to)),
76004
+ var _iterator2 = _createForOfIteratorHelper$o(botSubs(to)),
75954
76005
  _step2;
75955
76006
  try {
75956
76007
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -76012,12 +76063,12 @@ function runsAfter(bot) {
76012
76063
  function thenTriggers(botId) {
76013
76064
  var members = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
76014
76065
  var out = [];
76015
- var _iterator3 = _createForOfIteratorHelper$n(members || []),
76066
+ var _iterator3 = _createForOfIteratorHelper$o(members || []),
76016
76067
  _step3;
76017
76068
  try {
76018
76069
  for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
76019
76070
  var b = _step3.value;
76020
- var _iterator4 = _createForOfIteratorHelper$n(botSubs(b)),
76071
+ var _iterator4 = _createForOfIteratorHelper$o(botSubs(b)),
76021
76072
  _step4;
76022
76073
  try {
76023
76074
  for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
@@ -76104,7 +76155,7 @@ function diagramLayout(_ref2) {
76104
76155
  function loopEdges() {
76105
76156
  var edges = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
76106
76157
  var next = new Map();
76107
- var _iterator5 = _createForOfIteratorHelper$n(edges),
76158
+ var _iterator5 = _createForOfIteratorHelper$o(edges),
76108
76159
  _step5;
76109
76160
  try {
76110
76161
  for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
@@ -76125,7 +76176,7 @@ function loopEdges() {
76125
76176
  if (id === goal) return true;
76126
76177
  if (seen.has(id)) continue;
76127
76178
  seen.add(id);
76128
- var _iterator6 = _createForOfIteratorHelper$n(next.get(id) || []),
76179
+ var _iterator6 = _createForOfIteratorHelper$o(next.get(id) || []),
76129
76180
  _step6;
76130
76181
  try {
76131
76182
  for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
@@ -76404,9 +76455,9 @@ var TriggerPopover = function TriggerPopover(_ref) {
76404
76455
  });
76405
76456
  };
76406
76457
 
76407
- 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; } } }; }
76408
- 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; } }
76409
- 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; }
76458
+ 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; } } }; }
76459
+ 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; } }
76460
+ 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; }
76410
76461
  function ownKeys$z(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; }
76411
76462
  function _objectSpread$z(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$z(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$z(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
76412
76463
  var CARD_H = 80;
@@ -76576,7 +76627,7 @@ var TeamChart = function TeamChart(_ref) {
76576
76627
  return pos[b.id].x + layout.cardW / 2;
76577
76628
  });
76578
76629
  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]))));
76579
- var _iterator = _createForOfIteratorHelper$m(firstRow),
76630
+ var _iterator = _createForOfIteratorHelper$n(firstRow),
76580
76631
  _step;
76581
76632
  try {
76582
76633
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -82499,9 +82550,9 @@ function useAllBots() {
82499
82550
  }, [loading, bots, dashTeam, running, paused, approvals, lastRuns, approve, refresh]);
82500
82551
  }
82501
82552
 
82502
- 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; } } }; }
82503
- 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; } }
82504
- 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; }
82553
+ 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; } } }; }
82554
+ 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; } }
82555
+ 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; }
82505
82556
  /**
82506
82557
  * leadMessages.js — pure helpers for messaging a team lead directly from the
82507
82558
  * AI Assistant's "To:" picker (bot-teams TEAM-013).
@@ -82547,7 +82598,7 @@ function buildLlmHistory(messages) {
82547
82598
  content: content
82548
82599
  });
82549
82600
  };
82550
- var _iterator = _createForOfIteratorHelper$l(messages || []),
82601
+ var _iterator = _createForOfIteratorHelper$m(messages || []),
82551
82602
  _step;
82552
82603
  try {
82553
82604
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -83100,7 +83151,11 @@ var AskStep = function AskStep(_ref) {
83100
83151
  _ref$renderAfter = _ref.renderAfter,
83101
83152
  renderAfter = _ref$renderAfter === void 0 ? null : _ref$renderAfter,
83102
83153
  _ref$prepareSend = _ref.prepareSend,
83103
- prepareSend = _ref$prepareSend === void 0 ? null : _ref$prepareSend;
83154
+ prepareSend = _ref$prepareSend === void 0 ? null : _ref$prepareSend,
83155
+ _ref$placeholder = _ref.placeholder,
83156
+ placeholder = _ref$placeholder === void 0 ? null : _ref$placeholder,
83157
+ _ref$hint = _ref.hint,
83158
+ hint = _ref$hint === void 0 ? undefined : _ref$hint;
83104
83159
  // [{ who: "you" | "planner" | "lead" | "role" | "note" | "step", text, meta?, plan? }]
83105
83160
  // A step is a hand-off ("Asked Inbox Watch"): { id, bot, label, request,
83106
83161
  // status, answer?, result? } (handoffSteps.js).
@@ -83531,6 +83586,13 @@ var AskStep = function AskStep(_ref) {
83531
83586
  var box = boxes && boxes.length ? boxes[boxes.length - 1] : null;
83532
83587
  if (box) box.focus();
83533
83588
  };
83589
+ // The conversation follows its newest message (and what shows after it:
83590
+ // the plan's card, the reply choices).
83591
+ var scroller = useRef(null);
83592
+ useEffect(function () {
83593
+ var el = scroller.current;
83594
+ if (el) el.scrollTop = el.scrollHeight;
83595
+ }, [messages.length, busy]);
83534
83596
  var after = function after(m, i) {
83535
83597
  return renderAfter ? renderAfter(m, i, {
83536
83598
  send: send,
@@ -83543,6 +83605,7 @@ var AskStep = function AskStep(_ref) {
83543
83605
  className: "flex-1 min-h-0 flex flex-col",
83544
83606
  "data-testid": "ask-step",
83545
83607
  children: [/*#__PURE__*/jsx("div", {
83608
+ ref: scroller,
83546
83609
  className: "flex-1 min-h-0 overflow-y-auto",
83547
83610
  children: /*#__PURE__*/jsxs("div", {
83548
83611
  className: "flex flex-col gap-3 px-3 py-3",
@@ -83621,7 +83684,7 @@ var AskStep = function AskStep(_ref) {
83621
83684
  })
83622
83685
  }) : null]
83623
83686
  })
83624
- }), /*#__PURE__*/jsx(ChatComposer, {
83687
+ }), /*#__PURE__*/jsx(ChatComposer, _objectSpread$r(_objectSpread$r({
83625
83688
  ariaLabel: "Ask a follow-up",
83626
83689
  value: reply,
83627
83690
  onChange: function onChange(v) {
@@ -83632,17 +83695,19 @@ var AskStep = function AskStep(_ref) {
83632
83695
  },
83633
83696
  busy: busy,
83634
83697
  onStop: stopNow,
83635
- placeholder: busy ? "".concat(replyName.charAt(0).toUpperCase()).concat(replyName.slice(1), " is looking\u2026") : lead ? "Ask ".concat(lead.leadName, " a follow-up\u2026") : teamRole ? "Ask the ".concat(roleName, " a follow-up\u2026") : "Ask a follow-up…",
83698
+ placeholder: busy ? "".concat(replyName.charAt(0).toUpperCase()).concat(replyName.slice(1), " is looking\u2026") : placeholder ? placeholder : lead ? "Ask ".concat(lead.leadName, " a follow-up\u2026") : teamRole ? "Ask the ".concat(roleName, " a follow-up\u2026") : "Ask a follow-up…",
83636
83699
  above: !hideTo && (lead || teamRole) ? /*#__PURE__*/jsxs("span", {
83637
83700
  className: "text-xs ".concat(muted),
83638
83701
  "data-testid": "ask-to",
83639
83702
  children: ["To: ", lead ? leadLabel(lead) : "".concat(roleName, " \xB7 Dash team")]
83640
83703
  }) : null
83704
+ }, hint !== undefined ? {
83705
+ hint: hint
83706
+ } : {}), {}, {
83641
83707
  // Same word as the dock's first question (one label per action).
83642
- ,
83643
83708
  sendLabel: "Ask",
83644
83709
  className: "flex-shrink-0"
83645
- })]
83710
+ }))]
83646
83711
  });
83647
83712
  };
83648
83713
 
@@ -84438,9 +84503,9 @@ var BotPageModal = function BotPageModal(_ref) {
84438
84503
  });
84439
84504
  };
84440
84505
 
84441
- 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; } } }; }
84442
- 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; } }
84443
- 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; }
84506
+ 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; } } }; }
84507
+ 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; } }
84508
+ 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; }
84444
84509
  /**
84445
84510
  * workspaceContacts.js — who the lead workspace can talk to (lead-workspace
84446
84511
  * release 2): the Dash Lead, each dashboard's lead, and each bot on no
@@ -84449,12 +84514,14 @@ function _arrayLikeToArray$k(r, a) { (null == a || a > r.length) && (a = r.lengt
84449
84514
  * A contact:
84450
84515
  * { key, kind: "dashlead" | "lead" | "bot", name, sub, botId,
84451
84516
  * recipient (what AskStep is given; null for a lone bot),
84452
- * members: [{ id, name }] (the bots it hands work to) }
84517
+ * members: [{ id, name, role? }] (the bots it hands work to),
84518
+ * line (under its name at the top of the switcher) }
84453
84519
  * `key` matches a conversation's `with` from Recent ("role:dashlead",
84454
84520
  * "lead:<botId>"); a lone bot's is "bot:<id>".
84455
84521
  */
84456
84522
 
84457
- var WORK_ROLES = ["planner", "scout", "builder", "checker"];
84523
+ // In the order they work (frame 1): the Scout looks first.
84524
+ var WORK_ROLES = ["scout", "planner", "builder", "checker"];
84458
84525
  var sameId = function sameId(a, b) {
84459
84526
  return a !== null && a !== undefined && b !== null && b !== undefined && String(a) === String(b);
84460
84527
  };
@@ -84498,12 +84565,17 @@ function contactGroups() {
84498
84565
  }).filter(Boolean).map(function (b) {
84499
84566
  return {
84500
84567
  id: b.id,
84501
- name: b.name
84568
+ name: b.name,
84569
+ role: b.role
84502
84570
  };
84503
84571
  })
84504
84572
  });
84573
+ var d = leadsGroup[0];
84574
+ d.line = d.members.map(function (m) {
84575
+ return m.name;
84576
+ }).join(" · ") || d.sub;
84505
84577
  }
84506
- var _iterator = _createForOfIteratorHelper$k(leads || []),
84578
+ var _iterator = _createForOfIteratorHelper$l(leads || []),
84507
84579
  _step;
84508
84580
  try {
84509
84581
  var _loop = function _loop() {
@@ -84524,7 +84596,10 @@ function contactGroups() {
84524
84596
  sub: "".concat(l.dashboardLabel || l.dashboardName || "Dashboard", " \xB7 ").concat(plural$5(members.length, "bot")),
84525
84597
  botId: l.botId,
84526
84598
  recipient: l,
84527
- members: members
84599
+ members: members,
84600
+ line: members.map(function (m) {
84601
+ return m.name;
84602
+ }).join(" · ") || "No bots yet"
84528
84603
  });
84529
84604
  };
84530
84605
  for (_iterator.s(); !(_step = _iterator.n()).done;) {
@@ -84545,7 +84620,8 @@ function contactGroups() {
84545
84620
  sub: "A bot on no dashboard",
84546
84621
  botId: b.id,
84547
84622
  recipient: null,
84548
- members: []
84623
+ members: [],
84624
+ line: "A bot on no dashboard"
84549
84625
  };
84550
84626
  });
84551
84627
  return [{
@@ -84561,7 +84637,7 @@ function contactGroups() {
84561
84637
 
84562
84638
  /** One contact by key, from the groups; null when it's gone. */
84563
84639
  function findContact(groups, key) {
84564
- var _iterator2 = _createForOfIteratorHelper$k(groups || []),
84640
+ var _iterator2 = _createForOfIteratorHelper$l(groups || []),
84565
84641
  _step2;
84566
84642
  try {
84567
84643
  for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
@@ -84591,6 +84667,10 @@ function contactThreads(entries, key) {
84591
84667
  });
84592
84668
  }
84593
84669
 
84670
+ 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; } } }; }
84671
+ 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; } }
84672
+ 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; }
84673
+
84594
84674
  /** The latest hand-off step that brought a plan, or null. */
84595
84675
  function latestPlanStep(messages) {
84596
84676
  var list = Array.isArray(messages) ? messages : [];
@@ -84725,25 +84805,169 @@ function withPlanContext(text, plan) {
84725
84805
  function whoAsks() {
84726
84806
  return "Planner · Dash team";
84727
84807
  }
84808
+ var SOURCE_LINE = {
84809
+ yours: "Yours",
84810
+ "ai-built": "AI-built",
84811
+ registry: "From the registry",
84812
+ "new": "New",
84813
+ update: "Yours, changed"
84814
+ };
84815
+
84816
+ /** "1 widget" · "3 widgets" */
84817
+ var count = function count(n, one) {
84818
+ return "".concat(n, " ").concat(one).concat(n === 1 ? "" : "s");
84819
+ };
84820
+
84821
+ /** The providers the plan needs connected (Before it builds' connects). */
84822
+ var connectItems = function connectItems(checklist) {
84823
+ return (checklist || []).filter(function (it) {
84824
+ return it && it.kind === "connect";
84825
+ });
84826
+ };
84827
+ var providerName = function providerName(it) {
84828
+ return String(it.label || "").replace(/^Connect /, "");
84829
+ };
84830
+
84831
+ /**
84832
+ * The opened plan's line (frame 6): "4 widgets · 1 bot · uses Home
84833
+ * Assistant".
84834
+ */
84835
+ function planSubLine(plan) {
84836
+ var checklist = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
84837
+ var pieces = plan && Array.isArray(plan.pieces) && plan.pieces || [];
84838
+ var widgets = pieces.filter(function (p) {
84839
+ return p && p.kind === "widget";
84840
+ }).length;
84841
+ var bots = pieces.filter(function (p) {
84842
+ return p && p.kind === "bot";
84843
+ }).length;
84844
+ var uses = connectItems(checklist).map(providerName);
84845
+ return [widgets ? count(widgets, "widget") : null, bots ? count(bots, "bot") : null, uses.length ? "uses ".concat(uses.join(", ")) : null].filter(Boolean).join(" · ");
84846
+ }
84847
+
84848
+ /**
84849
+ * The opened plan's rows (frame 6): one per widget or bot — its name, where
84850
+ * it comes from and what it's for — then a warning row per provider still to
84851
+ * connect. `isDone(item)` says whether a connect is done.
84852
+ * @returns {{ main: string, sub: string, warn?: boolean }[]}
84853
+ */
84854
+ function planRows(plan) {
84855
+ var checklist = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];
84856
+ var isDone = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : function () {
84857
+ return false;
84858
+ };
84859
+ var pieces = plan && Array.isArray(plan.pieces) && plan.pieces || [];
84860
+ var rows = pieces.filter(function (p) {
84861
+ return p && (p.kind === "widget" || p.kind === "bot") && p.name;
84862
+ }).map(function (p) {
84863
+ var source = SOURCE_LINE[p.source] || SOURCE_LINE["new"];
84864
+ var what = String(p.adds || p.notes || p["package"] || "").trim();
84865
+ return {
84866
+ main: p.name,
84867
+ sub: what ? "".concat(source, " \u2014 ").concat(what) : source
84868
+ };
84869
+ });
84870
+ var _iterator = _createForOfIteratorHelper$k(connectItems(checklist)),
84871
+ _step;
84872
+ try {
84873
+ for (_iterator.s(); !(_step = _iterator.n()).done;) {
84874
+ var it = _step.value;
84875
+ if (isDone(it)) continue;
84876
+ rows.push({
84877
+ main: "Needs ".concat(providerName(it), " connected"),
84878
+ sub: "Before it builds, or during the build",
84879
+ warn: true
84880
+ });
84881
+ }
84882
+ } catch (err) {
84883
+ _iterator.e(err);
84884
+ } finally {
84885
+ _iterator.f();
84886
+ }
84887
+ return rows;
84888
+ }
84889
+
84890
+ /**
84891
+ * The Providers line at the foot of the right column: each provider the plan
84892
+ * needs and whether it's connected; "none needed" for a plan that needs
84893
+ * none.
84894
+ */
84895
+ function providersLine() {
84896
+ var checklist = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
84897
+ var isDone = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : function () {
84898
+ return false;
84899
+ };
84900
+ var items = connectItems(checklist);
84901
+ if (!items.length) return "none needed";
84902
+ return items.map(function (it) {
84903
+ return "".concat(providerName(it), " \xB7 ").concat(isDone(it) ? "connected" : "not connected yet");
84904
+ }).join(" · ");
84905
+ }
84728
84906
 
84729
84907
  function ownKeys$q(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; }
84730
84908
  function _objectSpread$q(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys$q(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys$q(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }
84731
- var PlanCard = function PlanCard(_ref) {
84732
- var plan = _ref.plan,
84733
- onOpen = _ref.onOpen;
84909
+ var OutputCard = function OutputCard(_ref) {
84910
+ var _ref$icon = _ref.icon,
84911
+ icon = _ref$icon === void 0 ? "table-cells-large" : _ref$icon,
84912
+ title = _ref.title,
84913
+ _ref$sub = _ref.sub,
84914
+ sub = _ref$sub === void 0 ? "" : _ref$sub,
84915
+ _ref$kind = _ref.kind,
84916
+ kind = _ref$kind === void 0 ? "" : _ref$kind,
84917
+ onClick = _ref.onClick,
84918
+ _ref$bordered = _ref.bordered,
84919
+ bordered = _ref$bordered === void 0 ? true : _ref$bordered,
84920
+ testId = _ref.testId;
84734
84921
  var _useConfigTokens = useConfigTokens(),
84735
84922
  muted = _useConfigTokens.muted,
84736
- hairline = _useConfigTokens.hairline;
84923
+ strong = _useConfigTokens.strong,
84924
+ hairline = _useConfigTokens.hairline,
84925
+ selectedBg = _useConfigTokens.selectedBg,
84926
+ fieldBg = _useConfigTokens.fieldBg;
84927
+ return /*#__PURE__*/jsxs("button", {
84928
+ type: "button",
84929
+ onClick: onClick,
84930
+ className: "w-full flex flex-row items-center gap-3 rounded-xl px-4 py-3 text-left ".concat(bordered ? "border ".concat(hairline) : "", " ").concat(selectedBg, " dr-role-surface"),
84931
+ "data-testid": testId,
84932
+ children: [/*#__PURE__*/jsx("span", {
84933
+ className: "flex-shrink-0 flex items-center justify-center h-10 w-10 rounded-lg ".concat(fieldBg, " dr-role-well ").concat(muted),
84934
+ "aria-hidden": "true",
84935
+ children: /*#__PURE__*/jsx(FontAwesomeIcon, {
84936
+ icon: icon,
84937
+ className: "h-4 w-4"
84938
+ })
84939
+ }), /*#__PURE__*/jsxs("span", {
84940
+ className: "flex-1 min-w-0 flex flex-col gap-0.5",
84941
+ children: [/*#__PURE__*/jsx("span", {
84942
+ className: "text-sm font-semibold truncate ".concat(strong),
84943
+ children: title
84944
+ }), sub ? /*#__PURE__*/jsx("span", {
84945
+ className: "text-xs ".concat(muted),
84946
+ children: sub
84947
+ }) : null]
84948
+ }), kind ? /*#__PURE__*/jsx("span", {
84949
+ className: "flex-shrink-0 text-xs ".concat(muted),
84950
+ children: kind
84951
+ }) : null]
84952
+ });
84953
+ };
84954
+
84955
+ /**
84956
+ * The plan as a card in the conversation: opens it on the right. An earlier
84957
+ * plan (one the Planner has since changed) says so, and still opens.
84958
+ */
84959
+ var PlanCard = function PlanCard(_ref2) {
84960
+ var plan = _ref2.plan,
84961
+ _ref2$earlier = _ref2.earlier,
84962
+ earlier = _ref2$earlier === void 0 ? false : _ref2$earlier,
84963
+ onOpen = _ref2.onOpen;
84737
84964
  return /*#__PURE__*/jsx("div", {
84738
- className: "self-start w-full max-w-md rounded-lg border ".concat(hairline),
84965
+ className: "self-start w-full max-w-md",
84739
84966
  "data-testid": "workspace-plan-card",
84740
- children: /*#__PURE__*/jsx(ListRow, {
84741
- icon: /*#__PURE__*/jsx(FontAwesomeIcon, {
84742
- icon: "table-cells-large",
84743
- className: "h-4 w-4 ".concat(muted)
84744
- }),
84967
+ children: /*#__PURE__*/jsx(OutputCard, {
84745
84968
  title: planName(plan),
84746
- meta: planLine(plan),
84969
+ sub: earlier ? "".concat(planLine(plan), " \xB7 changed since") : planLine(plan),
84970
+ bordered: false,
84747
84971
  onClick: onOpen
84748
84972
  })
84749
84973
  });
@@ -84758,14 +84982,14 @@ var PlanCard = function PlanCard(_ref) {
84758
84982
  * @param {() => void} onChange Change something (the reply box)
84759
84983
  * @param {boolean} sent already sent to Create to build
84760
84984
  */
84761
- var PlanChoices = function PlanChoices(_ref2) {
84762
- var plan = _ref2.plan,
84763
- check = _ref2.check,
84764
- _ref2$sent = _ref2.sent,
84765
- sent = _ref2$sent === void 0 ? false : _ref2$sent,
84766
- onSend = _ref2.onSend,
84767
- onBuild = _ref2.onBuild,
84768
- onChange = _ref2.onChange;
84985
+ var PlanChoices = function PlanChoices(_ref3) {
84986
+ var plan = _ref3.plan,
84987
+ check = _ref3.check,
84988
+ _ref3$sent = _ref3.sent,
84989
+ sent = _ref3$sent === void 0 ? false : _ref3$sent,
84990
+ onSend = _ref3.onSend,
84991
+ onBuild = _ref3.onBuild,
84992
+ onChange = _ref3.onChange;
84769
84993
  var _useConfigTokens2 = useConfigTokens(),
84770
84994
  muted = _useConfigTokens2.muted,
84771
84995
  strong = _useConfigTokens2.strong,
@@ -84847,8 +85071,7 @@ var PlanChoices = function PlanChoices(_ref2) {
84847
85071
  className: "text-sm ".concat(muted),
84848
85072
  children: "The plan has a few gaps, so it can't be built yet."
84849
85073
  }), /*#__PURE__*/jsx("div", {
84850
- children: /*#__PURE__*/jsx(Button3, {
84851
- size: "sm",
85074
+ children: /*#__PURE__*/jsx(Button2, {
84852
85075
  title: "Ask the Planner to fix it",
84853
85076
  onClick: function onClick() {
84854
85077
  return (
@@ -84875,7 +85098,7 @@ var PlanChoices = function PlanChoices(_ref2) {
84875
85098
  children: [/*#__PURE__*/jsx(Button, {
84876
85099
  title: "Yes, build it",
84877
85100
  onClick: onBuild
84878
- }), /*#__PURE__*/jsx(Button3, {
85101
+ }), /*#__PURE__*/jsx(Button2, {
84879
85102
  title: "Change something",
84880
85103
  onClick: onChange
84881
85104
  })]
@@ -84883,20 +85106,23 @@ var PlanChoices = function PlanChoices(_ref2) {
84883
85106
  };
84884
85107
 
84885
85108
  /**
84886
- * Before it builds (Create's checklist, frame 1): each item names who asks,
84887
- * and is done here — reviewed, connected, OK'd or skipped.
85109
+ * Before it builds (Create's checklist, frame 1): a box with each item on a
85110
+ * row — done or not, who asks, what — and its action beside it.
84888
85111
  *
84889
85112
  * @param {object} wp useWorkspacePlan's result
84890
85113
  * @param {boolean} readOnly the lead is answering: a new plan may come
84891
85114
  */
84892
- var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84893
- var wp = _ref3.wp,
84894
- _ref3$readOnly = _ref3.readOnly,
84895
- readOnly = _ref3$readOnly === void 0 ? false : _ref3$readOnly;
85115
+ var BeforeItBuilds = function BeforeItBuilds(_ref4) {
85116
+ var wp = _ref4.wp,
85117
+ _ref4$readOnly = _ref4.readOnly,
85118
+ readOnly = _ref4$readOnly === void 0 ? false : _ref4$readOnly;
84896
85119
  var _useState3 = useState(null),
84897
85120
  _useState4 = _slicedToArray(_useState3, 2),
84898
85121
  dialog = _useState4[0],
84899
85122
  setDialog = _useState4[1];
85123
+ var _useConfigTokens3 = useConfigTokens(),
85124
+ strong = _useConfigTokens3.strong;
85125
+ var statusTokens = useStatusTokens();
84900
85126
  var plan = wp.plan,
84901
85127
  checklist = wp.checklist,
84902
85128
  checks = wp.checks,
@@ -84904,15 +85130,18 @@ var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84904
85130
  if (!plan || !checklist.length) return null;
84905
85131
  var done = checklist.length - wp.open;
84906
85132
  return /*#__PURE__*/jsxs(Fragment, {
84907
- children: [/*#__PURE__*/jsx(PlanSection, {
84908
- title: "Before it builds \xB7 ".concat(done, " of ").concat(checklist.length, " done"),
84909
- testId: "workspace-before",
84910
- children: /*#__PURE__*/jsx(PlanChecklistRows, {
85133
+ children: [/*#__PURE__*/jsxs("div", {
85134
+ className: "flex flex-col rounded-xl border overflow-hidden ".concat(statusTokens.warning.accentBorder),
85135
+ "data-testid": "workspace-before",
85136
+ children: [/*#__PURE__*/jsxs("span", {
85137
+ className: "px-4 py-3 text-sm font-semibold ".concat(strong),
85138
+ children: ["Before it builds \xB7 ", done, " of ", checklist.length, " done"]
85139
+ }), /*#__PURE__*/jsx(PlanChecklistRows, {
84911
85140
  checklist: checklist,
84912
85141
  checks: checks,
84913
85142
  have: have,
84914
85143
  providers: wp.providers,
84915
- compact: true,
85144
+ rows: true,
84916
85145
  readOnly: readOnly,
84917
85146
  who: whoAsks,
84918
85147
  onAction: function onAction(it) {
@@ -84922,7 +85151,7 @@ var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84922
85151
  });
84923
85152
  },
84924
85153
  onPickProvider: wp.pickProvider
84925
- })
85154
+ })]
84926
85155
  }), dialog && dialog.kind === "install" ? /*#__PURE__*/jsx(InstallReviewDialog, {
84927
85156
  item: dialog.item,
84928
85157
  onApprove: function onApprove() {
@@ -84945,7 +85174,7 @@ var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84945
85174
  setDialog(null);
84946
85175
  },
84947
85176
  onClose: (/*#__PURE__*/function () {
84948
- var _ref4 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(created) {
85177
+ var _ref5 = _asyncToGenerator(/*#__PURE__*/_regeneratorRuntime.mark(function _callee(created) {
84949
85178
  var it, made;
84950
85179
  return _regeneratorRuntime.wrap(function (_context) {
84951
85180
  while (1) switch (_context.prev = _context.next) {
@@ -84975,7 +85204,7 @@ var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84975
85204
  }, _callee, null, [[1, 3]]);
84976
85205
  }));
84977
85206
  return function (_x) {
84978
- return _ref4.apply(this, arguments);
85207
+ return _ref5.apply(this, arguments);
84979
85208
  };
84980
85209
  }())
84981
85210
  }) : null]
@@ -84983,22 +85212,31 @@ var BeforeItBuilds = function BeforeItBuilds(_ref3) {
84983
85212
  };
84984
85213
 
84985
85214
  /**
84986
- * The plan, opened on the right: what it makes, a sketch, what to expect —
84987
- * and Yes, build it, so it can be built whatever the chat ended on.
85215
+ * The plan, opened on the right (frame 6): what it makes, one row each, and
85216
+ * what still needs connecting. Changes are asked for in the chat (Change
85217
+ * something). The current plan has Yes, build it, so it can be built
85218
+ * whatever the chat ended on; an earlier one (`plan` given) is only shown.
84988
85219
  */
84989
- var PlanOutput = function PlanOutput(_ref5) {
84990
- var wp = _ref5.wp,
84991
- _ref5$readOnly = _ref5.readOnly,
84992
- readOnly = _ref5$readOnly === void 0 ? false : _ref5$readOnly,
84993
- _ref5$onBuild = _ref5.onBuild,
84994
- onBuild = _ref5$onBuild === void 0 ? null : _ref5$onBuild;
84995
- var _useConfigTokens3 = useConfigTokens(),
84996
- muted = _useConfigTokens3.muted,
84997
- strong = _useConfigTokens3.strong;
84998
- var plan = wp.plan;
85220
+ var PlanOutput = function PlanOutput(_ref6) {
85221
+ var wp = _ref6.wp,
85222
+ _ref6$plan = _ref6.plan,
85223
+ earlier = _ref6$plan === void 0 ? null : _ref6$plan,
85224
+ _ref6$readOnly = _ref6.readOnly,
85225
+ readOnly = _ref6$readOnly === void 0 ? false : _ref6$readOnly,
85226
+ _ref6$onBuild = _ref6.onBuild,
85227
+ onBuild = _ref6$onBuild === void 0 ? null : _ref6$onBuild;
85228
+ var _useConfigTokens4 = useConfigTokens(),
85229
+ muted = _useConfigTokens4.muted,
85230
+ strong = _useConfigTokens4.strong,
85231
+ hairline = _useConfigTokens4.hairline;
85232
+ var statusTokens = useStatusTokens();
85233
+ var plan = earlier || wp.plan;
84999
85234
  if (!plan) return null;
85000
- var target = planTarget(plan);
85001
- var pieces = plan.pieces || [];
85235
+ var checklist = earlier ? [] : wp.checklist;
85236
+ var connected = function connected(it) {
85237
+ return isDone(it, wp.checks, wp.have);
85238
+ };
85239
+ var rows = planRows(plan, checklist, connected);
85002
85240
  return /*#__PURE__*/jsxs("div", {
85003
85241
  className: "flex flex-col gap-4",
85004
85242
  "data-testid": "workspace-plan-output",
@@ -85006,31 +85244,44 @@ var PlanOutput = function PlanOutput(_ref5) {
85006
85244
  className: "flex flex-col gap-1",
85007
85245
  children: [/*#__PURE__*/jsx("span", {
85008
85246
  className: "text-xs ".concat(muted),
85009
- children: "Planner \xB7 the plan"
85247
+ children: earlier ? "Planner · an earlier plan" : "Planner · the plan"
85010
85248
  }), /*#__PURE__*/jsx("span", {
85011
85249
  className: "text-lg font-semibold ".concat(strong),
85012
85250
  children: planName(plan)
85013
- }), plan.summary ? /*#__PURE__*/jsx("span", {
85014
- className: "text-sm",
85015
- children: plan.summary
85016
- }) : null, /*#__PURE__*/jsxs("span", {
85251
+ }), /*#__PURE__*/jsx("span", {
85017
85252
  className: "text-sm ".concat(muted),
85018
- children: [countsLine(plan) || "Nothing to make yet", " \xB7 nothing is made until you say yes"]
85019
- })]
85020
- }), pieces.length ? /*#__PURE__*/jsxs(Fragment, {
85021
- children: [/*#__PURE__*/jsx(PlanPieces, {
85022
- plan: plan,
85023
- target: target,
85024
- readOnly: readOnly,
85025
- onEdit: wp.edit
85026
- }), target ? null : /*#__PURE__*/jsx(PlanSketch, {
85027
- plan: plan,
85028
- compact: true
85029
- }), /*#__PURE__*/jsx(PlanExpect, {
85030
- plan: plan,
85031
- estimate: estimatePlan(plan, {})
85253
+ children: planSubLine(plan, checklist) || "Nothing to make yet"
85032
85254
  })]
85033
- }) : null, readOnly ? /*#__PURE__*/jsx("span", {
85255
+ }), rows.length ? /*#__PURE__*/jsx("div", {
85256
+ className: "flex flex-col rounded-xl border overflow-hidden ".concat(hairline),
85257
+ "data-testid": "workspace-plan-rows",
85258
+ children: rows.map(function (r, i) {
85259
+ return /*#__PURE__*/jsxs("div", {
85260
+ className: "flex flex-row items-start gap-3 px-4 py-3 text-sm ".concat(i ? "border-t ".concat(hairline) : ""),
85261
+ "data-testid": "workspace-plan-row",
85262
+ children: [r.warn ? /*#__PURE__*/jsx(FontAwesomeIcon, {
85263
+ icon: "triangle-exclamation",
85264
+ className: "h-3 w-3 mt-1 ".concat(statusTokens.warning.icon),
85265
+ "aria-hidden": "true"
85266
+ }) : /*#__PURE__*/jsx("span", {
85267
+ className: "inline-block flex-shrink-0 h-2.5 w-2.5 mt-1 rounded-full border ".concat(hairline),
85268
+ "aria-hidden": "true"
85269
+ }), /*#__PURE__*/jsxs("span", {
85270
+ className: "flex-1 min-w-0 flex flex-col gap-0.5",
85271
+ children: [/*#__PURE__*/jsx("span", {
85272
+ className: strong,
85273
+ children: r.main
85274
+ }), r.sub ? /*#__PURE__*/jsx("span", {
85275
+ className: "text-xs ".concat(muted),
85276
+ children: r.sub
85277
+ }) : null]
85278
+ })]
85279
+ }, i);
85280
+ })
85281
+ }) : null, earlier ? /*#__PURE__*/jsx("span", {
85282
+ className: "text-sm ".concat(muted),
85283
+ children: "The Planner changed this plan since \u2014 the latest is under Outputs."
85284
+ }) : readOnly ? /*#__PURE__*/jsx("span", {
85034
85285
  className: "text-sm ".concat(muted),
85035
85286
  children: "The Dash Lead is answering \u2014 the plan may change."
85036
85287
  }) : wp.sent ? /*#__PURE__*/jsx("span", {
@@ -85040,11 +85291,17 @@ var PlanOutput = function PlanOutput(_ref5) {
85040
85291
  }) : onBuild && canBuild({
85041
85292
  plan: plan,
85042
85293
  check: wp.check
85043
- }) ? /*#__PURE__*/jsx("div", {
85044
- children: /*#__PURE__*/jsx(Button, {
85045
- title: "Yes, build it",
85046
- onClick: onBuild
85047
- })
85294
+ }) ? /*#__PURE__*/jsxs("div", {
85295
+ className: "flex flex-col gap-2",
85296
+ children: [/*#__PURE__*/jsx("span", {
85297
+ className: "text-xs ".concat(muted),
85298
+ children: "Want something different? Say so in the chat."
85299
+ }), /*#__PURE__*/jsx("div", {
85300
+ children: /*#__PURE__*/jsx(Button, {
85301
+ title: "Yes, build it",
85302
+ onClick: onBuild
85303
+ })
85304
+ })]
85048
85305
  }) : null]
85049
85306
  });
85050
85307
  };
@@ -85080,6 +85337,40 @@ var norm = function norm(name) {
85080
85337
  return String(name || "").replace(/^the /i, "").trim().toLowerCase();
85081
85338
  };
85082
85339
 
85340
+ // What each Dash team role is for, under its name until it's asked (frame
85341
+ // 13), and what its output is called (frame 1).
85342
+ var ROLE_LINES = {
85343
+ scout: "finds what you already have",
85344
+ planner: "turns your request into a plan",
85345
+ builder: "builds what you approve",
85346
+ checker: "checks what's built"
85347
+ };
85348
+ var ROLE_OUTPUT = {
85349
+ scout: "Findings"
85350
+ };
85351
+
85352
+ /**
85353
+ * Where you can start a new Dash Lead conversation from (frame 13).
85354
+ * `onStartFrom(kind)`: "describe" | "registry" | "copy" | "widget".
85355
+ */
85356
+ var START_FROM = [{
85357
+ kind: "describe",
85358
+ title: "Describe it",
85359
+ sub: "Say what you want in the box — the usual way"
85360
+ }, {
85361
+ kind: "registry",
85362
+ title: "A dashboard from the registry",
85363
+ sub: "Install a ready-made one and its bots, then adjust it"
85364
+ }, {
85365
+ kind: "copy",
85366
+ title: "Copy one of your dashboards",
85367
+ sub: "Start from what you have and change it"
85368
+ }, {
85369
+ kind: "widget",
85370
+ title: "Edit a widget you have",
85371
+ sub: "Open it in the Widget Builder"
85372
+ }];
85373
+
85083
85374
  /**
85084
85375
  * What each bot is doing right now — one line, from its stream: the tool
85085
85376
  * it's calling, or that it's writing. Cleared when its run ends.
@@ -85154,10 +85445,86 @@ function shortTime(at) {
85154
85445
  }
85155
85446
 
85156
85447
  /**
85157
- * WorkspaceSide — the workspace's right column (lead-workspace release 2):
85158
- * Needs you (the team's approvals), Outputs (what the team answered), and
85159
- * Team in this conversation (each bot: whether it was asked, a live line
85160
- * while it works, its answer). A lone bot shows its runs instead.
85448
+ * A team member's state and line (frames 1, 13): working (its live line),
85449
+ * done (what it answered), or not asked yet — ready, or waiting while a plan
85450
+ * waits for the go-ahead.
85451
+ */
85452
+ function memberState(m, last, status, _ref2) {
85453
+ var plan = _ref2.plan,
85454
+ lines = _ref2.lines;
85455
+ var working = !!(last && last.status === "asking");
85456
+ if (working) return {
85457
+ tone: "working",
85458
+ state: "working",
85459
+ line: lines[m.id] || "starting…"
85460
+ };
85461
+ if (last) {
85462
+ if (last.status === "failed") return {
85463
+ tone: "bad",
85464
+ state: "couldn't answer",
85465
+ line: last.result || ""
85466
+ };
85467
+ if (last.status === "stopped") return {
85468
+ tone: "idle",
85469
+ state: "stopped",
85470
+ line: last.result || ""
85471
+ };
85472
+ // A plan says what it is ("drafted a plan — 2 widgets"), not the
85473
+ // Planner's first words.
85474
+ if (last.plan) {
85475
+ var what = planSubLine(last.plan);
85476
+ return {
85477
+ tone: "ok",
85478
+ state: "done",
85479
+ line: what ? "drafted a plan \u2014 ".concat(what) : "drafted a plan"
85480
+ };
85481
+ }
85482
+ return {
85483
+ tone: "ok",
85484
+ state: "done",
85485
+ line: last.result || ""
85486
+ };
85487
+ }
85488
+ if (status === "Running") return {
85489
+ tone: "idle",
85490
+ state: "busy with its own run",
85491
+ line: ""
85492
+ };
85493
+ if (status === "Paused") return {
85494
+ tone: "idle",
85495
+ state: "paused",
85496
+ line: ""
85497
+ };
85498
+ if (plan && m.role === "builder") return {
85499
+ tone: "idle",
85500
+ state: "waiting",
85501
+ line: "waiting for your go-ahead"
85502
+ };
85503
+ if (plan && m.role === "checker") return {
85504
+ tone: "idle",
85505
+ state: "waiting",
85506
+ line: ROLE_LINES.checker
85507
+ };
85508
+ // The plan came without it (the lead looked itself).
85509
+ if (plan && m.role === "scout") return {
85510
+ tone: "idle",
85511
+ state: "not needed",
85512
+ line: ""
85513
+ };
85514
+ return {
85515
+ tone: "idle",
85516
+ state: "ready",
85517
+ line: ROLE_LINES[m.role] || ""
85518
+ };
85519
+ }
85520
+
85521
+ /**
85522
+ * WorkspaceSide — the workspace's right column (lead-workspace releases 2
85523
+ * and 3a, frames 1, 6, 13): Outputs — where to start from (a new Dash Lead
85524
+ * conversation), Before it builds, the team's approvals, the plan and the
85525
+ * team's answers — then Team in this conversation (each bot: its state, a
85526
+ * live line while it works, its output) and the providers the plan needs. A
85527
+ * lone bot shows its runs instead of a team.
85161
85528
  *
85162
85529
  * @param {object} contact workspaceContacts' contact
85163
85530
  * @param {object[]} messages the conversation (AskStep's), with its steps
@@ -85165,36 +85532,48 @@ function shortTime(at) {
85165
85532
  * @param {object|null} wp the conversation's plan (useWorkspacePlan)
85166
85533
  * @param {boolean} planReadOnly the lead is answering: a new plan may come
85167
85534
  * @param {() => void} onBuild Yes, build it
85168
- * @param {string|null} open what's opened: "plan", a step's id, or null
85535
+ * @param {string|null} open what's opened: "plan", "plan:<step id>" (an
85536
+ * earlier plan), a step's id, or null
85169
85537
  * @param {(what) => void} onOpen
85170
85538
  * @param {boolean} wide, onToggleWide the column's size
85171
- */
85172
- var WorkspaceSide = function WorkspaceSide(_ref2) {
85173
- var contact = _ref2.contact,
85174
- _ref2$messages = _ref2.messages,
85175
- messages = _ref2$messages === void 0 ? [] : _ref2$messages,
85176
- _ref2$statusOf = _ref2.statusOf,
85177
- statusOf = _ref2$statusOf === void 0 ? function () {
85539
+ * @param {boolean} isNew a new conversation, nothing asked yet
85540
+ * @param {(kind) => void} onStartFrom a Start from choice
85541
+ */
85542
+ var WorkspaceSide = function WorkspaceSide(_ref3) {
85543
+ var contact = _ref3.contact,
85544
+ _ref3$messages = _ref3.messages,
85545
+ messages = _ref3$messages === void 0 ? [] : _ref3$messages,
85546
+ _ref3$statusOf = _ref3.statusOf,
85547
+ statusOf = _ref3$statusOf === void 0 ? function () {
85178
85548
  return "Idle";
85179
- } : _ref2$statusOf,
85180
- _ref2$wp = _ref2.wp,
85181
- wp = _ref2$wp === void 0 ? null : _ref2$wp,
85182
- _ref2$planReadOnly = _ref2.planReadOnly,
85183
- planReadOnly = _ref2$planReadOnly === void 0 ? false : _ref2$planReadOnly,
85184
- _ref2$onBuild = _ref2.onBuild,
85185
- onBuild = _ref2$onBuild === void 0 ? null : _ref2$onBuild,
85186
- _ref2$open = _ref2.open,
85187
- open = _ref2$open === void 0 ? null : _ref2$open,
85188
- _ref2$onOpen = _ref2.onOpen,
85189
- onOpen = _ref2$onOpen === void 0 ? function () {} : _ref2$onOpen,
85190
- _ref2$wide = _ref2.wide,
85191
- wide = _ref2$wide === void 0 ? false : _ref2$wide,
85192
- _ref2$onToggleWide = _ref2.onToggleWide,
85193
- onToggleWide = _ref2$onToggleWide === void 0 ? null : _ref2$onToggleWide;
85549
+ } : _ref3$statusOf,
85550
+ _ref3$wp = _ref3.wp,
85551
+ wp = _ref3$wp === void 0 ? null : _ref3$wp,
85552
+ _ref3$planReadOnly = _ref3.planReadOnly,
85553
+ planReadOnly = _ref3$planReadOnly === void 0 ? false : _ref3$planReadOnly,
85554
+ _ref3$onBuild = _ref3.onBuild,
85555
+ onBuild = _ref3$onBuild === void 0 ? null : _ref3$onBuild,
85556
+ _ref3$open = _ref3.open,
85557
+ open = _ref3$open === void 0 ? null : _ref3$open,
85558
+ _ref3$onOpen = _ref3.onOpen,
85559
+ onOpen = _ref3$onOpen === void 0 ? function () {} : _ref3$onOpen,
85560
+ _ref3$wide = _ref3.wide,
85561
+ wide = _ref3$wide === void 0 ? false : _ref3$wide,
85562
+ _ref3$onToggleWide = _ref3.onToggleWide,
85563
+ onToggleWide = _ref3$onToggleWide === void 0 ? null : _ref3$onToggleWide,
85564
+ _ref3$isNew = _ref3.isNew,
85565
+ isNew = _ref3$isNew === void 0 ? false : _ref3$isNew,
85566
+ _ref3$onStartFrom = _ref3.onStartFrom,
85567
+ onStartFrom = _ref3$onStartFrom === void 0 ? null : _ref3$onStartFrom;
85194
85568
  var _useConfigTokens = useConfigTokens(),
85195
85569
  muted = _useConfigTokens.muted,
85196
85570
  strong = _useConfigTokens.strong,
85197
85571
  hairline = _useConfigTokens.hairline;
85572
+ var _ref4 = useContext(ThemeContext) || {},
85573
+ currentTheme = _ref4.currentTheme;
85574
+ // The link colour: the accent role (Aurora gives it its own text shade).
85575
+ var link = "".concat(currentTheme && currentTheme["text-primary-medium"] || "", " dr-role-accent");
85576
+ var statusTokens = useStatusTokens();
85198
85577
  var members = contact && contact.members || [];
85199
85578
  var lines = useLiveLines(members.map(function (m) {
85200
85579
  return m.id;
@@ -85203,8 +85582,6 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85203
85582
  var steps = (messages || []).filter(function (m) {
85204
85583
  return m && m.who === "step";
85205
85584
  });
85206
-
85207
- // A step opened from Outputs or a bot's row: the latest version of it.
85208
85585
  var plan = wp && wp.plan ? wp.plan : null;
85209
85586
  var back = /*#__PURE__*/jsxs("div", {
85210
85587
  className: "flex flex-row items-center gap-2",
@@ -85216,9 +85593,10 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85216
85593
  }
85217
85594
  }), /*#__PURE__*/jsx("span", {
85218
85595
  className: "flex-1"
85219
- }), onToggleWide ? /*#__PURE__*/jsx(Button3, {
85596
+ }), onToggleWide ? /*#__PURE__*/jsx(Button2, {
85220
85597
  size: "sm",
85221
- title: wide ? "Shrink" : "Expand",
85598
+ title: wide ? "Shrink ⇥" : "⇤ Expand",
85599
+ ariaLabel: wide ? "Shrink" : "Expand",
85222
85600
  onClick: onToggleWide
85223
85601
  }) : null]
85224
85602
  });
@@ -85232,6 +85610,19 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85232
85610
  })]
85233
85611
  });
85234
85612
  }
85613
+ // An earlier plan, from its card in the chat.
85614
+ var earlierStep = typeof open === "string" && open.startsWith("plan:") ? steps.find(function (s) {
85615
+ return s.id === open.slice(5) && s.plan;
85616
+ }) || null : null;
85617
+ if (earlierStep && wp) {
85618
+ return /*#__PURE__*/jsxs("div", {
85619
+ className: "flex flex-col gap-4 p-5 min-h-0 overflow-y-auto",
85620
+ children: [back, /*#__PURE__*/jsx(PlanOutput, {
85621
+ wp: wp,
85622
+ plan: earlierStep.plan
85623
+ })]
85624
+ });
85625
+ }
85235
85626
  var step = open && open !== "plan" ? steps.find(function (s) {
85236
85627
  return s.id === open;
85237
85628
  }) || null : null;
@@ -85277,52 +85668,78 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85277
85668
  id: contact.botId,
85278
85669
  name: contact.name
85279
85670
  }].concat(_toConsumableArray(members)) : [];
85671
+ var startFrom = isNew && contact && contact.kind === "dashlead" && onStartFrom;
85672
+ var connected = function connected(it) {
85673
+ return wp ? isDone(it, wp.checks, wp.have) : false;
85674
+ };
85675
+ var dot = {
85676
+ ok: statusTokens.success.icon,
85677
+ bad: statusTokens.error.icon,
85678
+ idle: muted
85679
+ };
85280
85680
  return /*#__PURE__*/jsxs("div", {
85281
- className: "flex flex-col gap-5 p-5 min-h-0 overflow-y-auto",
85681
+ className: "flex flex-col gap-4 p-5 min-h-0 overflow-y-auto",
85282
85682
  "data-testid": "workspace-side",
85283
- children: [/*#__PURE__*/jsx(DashTeamApprovals, {
85284
- compact: true,
85285
- bots: approvalBots
85286
- }), wp ? /*#__PURE__*/jsx(BeforeItBuilds, {
85287
- wp: wp,
85288
- readOnly: planReadOnly
85289
- }) : null, /*#__PURE__*/jsxs("div", {
85683
+ children: [/*#__PURE__*/jsx("span", {
85684
+ className: "text-sm font-semibold ".concat(strong),
85685
+ children: "Outputs"
85686
+ }), startFrom ? /*#__PURE__*/jsxs("div", {
85290
85687
  className: "flex flex-col gap-2",
85688
+ "data-testid": "workspace-start-from",
85291
85689
  children: [/*#__PURE__*/jsx("span", {
85292
- className: "text-sm font-semibold ".concat(strong),
85293
- children: "Outputs"
85294
- }), plan ? /*#__PURE__*/jsx(ListRow, {
85295
- testId: "workspace-output-plan",
85296
- icon: /*#__PURE__*/jsx(FontAwesomeIcon, {
85297
- icon: "table-cells-large",
85298
- className: "h-4 w-4 ".concat(muted)
85299
- }),
85300
- title: "".concat(planName(plan), " \u2014 plan"),
85301
- meta: planStatus({
85302
- plan: plan,
85303
- check: wp.check,
85304
- open: wp.open
85305
- }),
85306
- onClick: function onClick() {
85307
- return onOpen("plan");
85308
- }
85309
- }) : null, answered.length || plan ? answered.map(function (s) {
85310
- return /*#__PURE__*/jsx(ListRow, {
85311
- testId: "workspace-output",
85312
- icon: /*#__PURE__*/jsx(FontAwesomeIcon, {
85313
- icon: "comment",
85314
- className: "h-4 w-4 ".concat(muted)
85315
- }),
85316
- title: "".concat(cap(s.bot), "'s answer"),
85317
- meta: s.result,
85690
+ className: "text-xs ".concat(muted),
85691
+ children: "Start from"
85692
+ }), START_FROM.map(function (s) {
85693
+ return /*#__PURE__*/jsxs("button", {
85694
+ type: "button",
85318
85695
  onClick: function onClick() {
85319
- return onOpen(s.id);
85320
- }
85321
- }, s.id);
85322
- }) : /*#__PURE__*/jsx("span", {
85323
- className: "rounded-lg border border-dashed p-4 text-center text-sm ".concat(hairline, " ").concat(muted),
85324
- children: isBot ? "Its answers and results show here." : "What the team finds shows here."
85696
+ return onStartFrom(s.kind);
85697
+ },
85698
+ className: "flex flex-col gap-0.5 rounded-lg border px-3 py-2.5 text-left ".concat(hairline),
85699
+ children: [/*#__PURE__*/jsx("span", {
85700
+ className: "text-sm font-semibold ".concat(strong),
85701
+ children: s.title
85702
+ }), /*#__PURE__*/jsx("span", {
85703
+ className: "text-xs ".concat(muted),
85704
+ children: s.sub
85705
+ })]
85706
+ }, s.kind);
85325
85707
  })]
85708
+ }) : null, wp ? /*#__PURE__*/jsx(BeforeItBuilds, {
85709
+ wp: wp,
85710
+ readOnly: planReadOnly
85711
+ }) : null, /*#__PURE__*/jsx(DashTeamApprovals, {
85712
+ compact: true,
85713
+ bots: approvalBots
85714
+ }), plan ? /*#__PURE__*/jsx(OutputCard, {
85715
+ testId: "workspace-output-plan",
85716
+ title: "".concat(planName(plan), " \u2014 plan"),
85717
+ sub: planStatus({
85718
+ plan: plan,
85719
+ check: wp.check,
85720
+ open: wp.open
85721
+ }),
85722
+ kind: "Plan",
85723
+ onClick: function onClick() {
85724
+ return onOpen("plan");
85725
+ }
85726
+ }) : null, answered.map(function (s) {
85727
+ return /*#__PURE__*/jsx(OutputCard, {
85728
+ testId: "workspace-output",
85729
+ icon: "comment",
85730
+ title: "".concat(cap(s.bot), "'s answer"),
85731
+ sub: s.result,
85732
+ kind: "Answer",
85733
+ onClick: function onClick() {
85734
+ return onOpen(s.id);
85735
+ }
85736
+ }, s.id);
85737
+ }), !answered.length && !plan && !startFrom ? /*#__PURE__*/jsx("span", {
85738
+ className: "rounded-xl border border-dashed p-6 text-center text-sm ".concat(hairline, " ").concat(muted),
85739
+ children: isBot ? "Its answers and results show here." : "What the team makes shows here."
85740
+ }) : null, /*#__PURE__*/jsx("div", {
85741
+ className: "border-t ".concat(hairline),
85742
+ "aria-hidden": "true"
85326
85743
  }), isBot ? /*#__PURE__*/jsxs("div", {
85327
85744
  className: "flex flex-col gap-2",
85328
85745
  "data-testid": "workspace-runs",
@@ -85345,7 +85762,7 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85345
85762
  children: "No runs yet."
85346
85763
  })]
85347
85764
  }) : /*#__PURE__*/jsxs("div", {
85348
- className: "flex flex-col gap-2",
85765
+ className: "flex flex-col gap-3",
85349
85766
  "data-testid": "workspace-team",
85350
85767
  children: [/*#__PURE__*/jsx("span", {
85351
85768
  className: "text-sm font-semibold ".concat(strong),
@@ -85355,50 +85772,66 @@ var WorkspaceSide = function WorkspaceSide(_ref2) {
85355
85772
  return norm(s.bot) === norm(m.name);
85356
85773
  });
85357
85774
  var last = mine[mine.length - 1] || null;
85358
- var status = statusOf(m.id);
85359
- var working = !!(last && last.status === "asking");
85360
- var state = working ? "working" : last ? last.status === "failed" ? "couldn't answer" : last.status === "stopped" ? "stopped" : "answered" : status === "Running" ? "busy with its own run" : status === "Paused" ? "paused" : "not asked";
85361
- var line = working ? lines[m.id] || "starting…" : last ? last.result || "" : "";
85775
+ var _memberState = memberState(m, last, statusOf(m.id), {
85776
+ plan: plan,
85777
+ lines: lines
85778
+ }),
85779
+ tone = _memberState.tone,
85780
+ state = _memberState.state,
85781
+ line = _memberState.line;
85782
+ var out = last && last.plan && plan ? {
85783
+ label: "Plan",
85784
+ open: "plan"
85785
+ } : last && last.answer ? {
85786
+ label: ROLE_OUTPUT[m.role] || "Answer",
85787
+ open: last.id
85788
+ } : null;
85362
85789
  return /*#__PURE__*/jsxs("div", {
85363
85790
  className: "flex flex-row items-start gap-3",
85364
85791
  "data-testid": "workspace-member",
85365
85792
  children: [/*#__PURE__*/jsx(FontAwesomeIcon, {
85366
- icon: working ? "spinner" : last ? "circle-check" : "circle",
85367
- className: "h-3 w-3 mt-1 ".concat(working ? "animate-spin" : "", " ").concat(muted)
85793
+ icon: tone === "working" ? "spinner" : "circle",
85794
+ className: "h-2 w-2 mt-1.5 ".concat(tone === "working" ? "animate-spin ".concat(muted) : dot[tone]),
85795
+ "aria-hidden": "true"
85368
85796
  }), /*#__PURE__*/jsxs("span", {
85369
85797
  className: "flex-1 min-w-0 flex flex-col gap-0.5",
85370
85798
  children: [/*#__PURE__*/jsxs("span", {
85371
85799
  className: "text-sm",
85372
85800
  children: [/*#__PURE__*/jsx("span", {
85373
- className: "font-medium ".concat(strong),
85801
+ className: "font-semibold ".concat(strong),
85374
85802
  children: m.name
85375
85803
  }), /*#__PURE__*/jsxs("span", {
85376
- className: muted,
85804
+ className: "text-xs ".concat(muted),
85377
85805
  children: [" \xB7 ", state]
85378
85806
  })]
85379
85807
  }), line ? /*#__PURE__*/jsx("span", {
85380
85808
  className: "text-xs font-mono truncate ".concat(muted),
85381
85809
  children: line
85382
85810
  }) : null]
85383
- }), last && last.plan && plan ? /*#__PURE__*/jsx(Button3, {
85384
- size: "sm",
85385
- title: "Plan \u203A",
85386
- onClick: function onClick() {
85387
- return onOpen("plan");
85388
- }
85389
- }) : last && last.answer ? /*#__PURE__*/jsx(Button3, {
85390
- size: "sm",
85391
- title: "Answer \u203A",
85811
+ }), out ? /*#__PURE__*/jsxs("button", {
85812
+ type: "button",
85392
85813
  onClick: function onClick() {
85393
- return onOpen(last.id);
85394
- }
85814
+ return onOpen(out.open);
85815
+ },
85816
+ className: "flex-shrink-0 text-sm ".concat(link),
85817
+ children: [out.label, " \u203A"]
85395
85818
  }) : null]
85396
85819
  }, m.id);
85397
85820
  }) : /*#__PURE__*/jsx("span", {
85398
85821
  className: "text-sm ".concat(muted),
85399
85822
  children: "This team has no bots yet."
85400
85823
  })]
85401
- })]
85824
+ }), plan ? /*#__PURE__*/jsxs("div", {
85825
+ className: "flex flex-row gap-2 text-sm",
85826
+ "data-testid": "workspace-providers",
85827
+ children: [/*#__PURE__*/jsx("span", {
85828
+ className: "font-semibold ".concat(strong),
85829
+ children: "Providers"
85830
+ }), /*#__PURE__*/jsx("span", {
85831
+ className: muted,
85832
+ children: providersLine(wp.checklist, connected)
85833
+ })]
85834
+ }) : null]
85402
85835
  });
85403
85836
  };
85404
85837
 
@@ -85632,6 +86065,7 @@ var EMPTY$1 = [];
85632
86065
  var TICK_MS$1 = 60000;
85633
86066
  var SIDE_MIN = 320;
85634
86067
  var SIDE_MAX = 900;
86068
+ var WIDE = 760;
85635
86069
  function botsApi() {
85636
86070
  return typeof window !== "undefined" && window.mainApi ? window.mainApi.bots : null;
85637
86071
  }
@@ -85690,8 +86124,8 @@ function startText(contact) {
85690
86124
  if (contact.kind === "dashlead") {
85691
86125
  return {
85692
86126
  title: "What should we make?",
85693
- text: "Describe it in your own words — a dashboard, a widget, a bot, or a question about what you have. The Dash Lead brings in the Planner, Scout, Builder and Checker, and nothing is made until you say yes.",
85694
- starters: ["Plan me a dashboard for my smart home", "A widget that shows my calendar", "Do I already have a weather widget?", "What did my bots do today?"]
86127
+ text: "Describe it in your own words — a dashboard, a widget, a bot, or a change to one you have. The team plans it with you, and nothing is made until you say yes.",
86128
+ starters: ["A dashboard for my smart home", "A widget that shows my calendar", "A bot that sums up my email each morning", "Change one of my dashboards"]
85695
86129
  };
85696
86130
  }
85697
86131
  var first = contact.members[0];
@@ -85716,11 +86150,15 @@ function startText(contact) {
85716
86150
  * @param {{ key?: string }|null} request who to open on ("role:dashlead",
85717
86151
  * "lead:<botId>", "bot:<botId>"); default the Dash Lead
85718
86152
  * @param {() => void} onClose
86153
+ * @param {(page) => void} [onOpenPage] opens an app page ("dashboards",
86154
+ * "widgets") in the workspace's place — Start from's copy and edit
85719
86155
  */
85720
86156
  var LeadWorkspace = function LeadWorkspace(_ref) {
85721
86157
  var _ref$request = _ref.request,
85722
86158
  request = _ref$request === void 0 ? null : _ref$request,
85723
- onClose = _ref.onClose;
86159
+ onClose = _ref.onClose,
86160
+ _ref$onOpenPage = _ref.onOpenPage,
86161
+ onOpenPage = _ref$onOpenPage === void 0 ? null : _ref$onOpenPage;
85724
86162
  var _ref2 = useContext(ThemeContext) || {},
85725
86163
  currentTheme = _ref2.currentTheme;
85726
86164
  var panel = getStylesForItem(themeObjects.PANEL, currentTheme, {
@@ -85731,6 +86169,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85731
86169
  strong = _useConfigTokens.strong,
85732
86170
  hairline = _useConfigTokens.hairline,
85733
86171
  selectedBg = _useConfigTokens.selectedBg;
86172
+ var composer = useRef(null);
85734
86173
  var all = useAllBots();
85735
86174
  var _useTeamLeads = useTeamLeads(true),
85736
86175
  leads = _useTeamLeads.leads,
@@ -85855,6 +86294,29 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85855
86294
  // The lead is still answering: the plan isn't changed meanwhile.
85856
86295
  var answering = stillAnswering(messages);
85857
86296
 
86297
+ // Start from (frame 13). Describing it is the box; the registry's
86298
+ // dashboards are in Create for now (release 6 brings them here); copying a
86299
+ // dashboard and editing a widget are on their pages.
86300
+ var startFrom = function startFrom(kind) {
86301
+ if (kind === "describe") {
86302
+ if (composer.current) composer.current.focus();
86303
+ return;
86304
+ }
86305
+ if (kind === "registry") {
86306
+ if (typeof window !== "undefined") {
86307
+ window.dispatchEvent(new CustomEvent("dash:open-create", {
86308
+ detail: {
86309
+ type: "dashboard"
86310
+ }
86311
+ }));
86312
+ }
86313
+ onClose();
86314
+ return;
86315
+ }
86316
+ var page = kind === "copy" ? "dashboards" : "widgets";
86317
+ if (onOpenPage) onOpenPage(page);else onClose();
86318
+ };
86319
+
85858
86320
  // After a message: the plan's card under the step that brought it, and
85859
86321
  // the reply choices under the lead's answer to it.
85860
86322
  var choicesAt = choicesIndex(messages);
@@ -85867,6 +86329,16 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85867
86329
  }
85868
86330
  });
85869
86331
  }
86332
+ // An earlier plan keeps its card: the history still opens it.
86333
+ if (m.who === "step" && m.plan) {
86334
+ return /*#__PURE__*/jsx(PlanCard, {
86335
+ plan: m.plan,
86336
+ earlier: true,
86337
+ onOpen: function onOpen() {
86338
+ return setSideOpen("plan:".concat(m.id));
86339
+ }
86340
+ });
86341
+ }
85870
86342
  if (i === choicesAt && wp.plan && !api.busy) {
85871
86343
  return /*#__PURE__*/jsx(PlanChoices, {
85872
86344
  plan: wp.plan,
@@ -85927,7 +86399,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85927
86399
  children: contact ? contact.name : "No one to talk to yet"
85928
86400
  }), /*#__PURE__*/jsx("span", {
85929
86401
  className: "text-xs truncate ".concat(muted),
85930
- children: contact ? contact.sub : ""
86402
+ children: contact ? contact.line || contact.sub : ""
85931
86403
  })]
85932
86404
  }), /*#__PURE__*/jsx(FontAwesomeIcon, {
85933
86405
  icon: "chevron-down",
@@ -85935,11 +86407,13 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85935
86407
  })]
85936
86408
  }), switchOpen ? /*#__PURE__*/jsx("div", {
85937
86409
  role: "menu",
85938
- className: "absolute left-3 right-3 z-30 flex flex-col gap-1 rounded-lg border p-2 shadow-lg ".concat(hairline, " ").concat(panel.backgroundColor || "")
85939
- // Below the switcher, never over it.
86410
+ className: "absolute left-1 right-1 z-30 flex flex-col gap-1 rounded-lg border p-2 shadow-lg overflow-y-auto ".concat(hairline, " ").concat(panel.backgroundColor || "")
86411
+ // Below the switcher, never over it; a long list scrolls
86412
+ // inside the window.
85940
86413
  ,
85941
86414
  style: {
85942
- top: 76
86415
+ top: 76,
86416
+ maxHeight: "calc(100% - 88px)"
85943
86417
  },
85944
86418
  "data-testid": "workspace-switcher-menu",
85945
86419
  children: groups.map(function (g) {
@@ -85949,11 +86423,39 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85949
86423
  className: "px-2 pt-1 text-xs ".concat(muted),
85950
86424
  children: g.label
85951
86425
  }), g.items.map(function (c) {
86426
+ var current = c.key === (contact && contact.key);
85952
86427
  return /*#__PURE__*/jsx(ListRow, {
85953
86428
  testId: "workspace-switcher-item",
85954
- title: c.name,
85955
- meta: c.sub,
85956
- selected: c.key === (contact && contact.key),
86429
+ icon: /*#__PURE__*/jsx(BotAvatar, {
86430
+ bot: {
86431
+ id: c.botId,
86432
+ name: c.name
86433
+ },
86434
+ icon: c.kind === "dashlead" ? "people-group" : undefined
86435
+ }),
86436
+ title: /*#__PURE__*/jsxs("span", {
86437
+ className: "flex flex-row items-center gap-2",
86438
+ children: [/*#__PURE__*/jsx("span", {
86439
+ className: "truncate",
86440
+ children: c.name
86441
+ }), current ? /*#__PURE__*/jsx("span", {
86442
+ role: "img",
86443
+ "aria-label": "Current",
86444
+ className: "flex-shrink-0",
86445
+ children: /*#__PURE__*/jsx(FontAwesomeIcon, {
86446
+ icon: "check",
86447
+ className: "h-3 w-3"
86448
+ })
86449
+ }) : null]
86450
+ }),
86451
+ ariaLabel: c.name
86452
+ // One line: a long dashboard name never strands "· 0 bots".
86453
+ ,
86454
+ meta: /*#__PURE__*/jsx("span", {
86455
+ className: "block truncate",
86456
+ children: c.sub
86457
+ }),
86458
+ selected: current,
85957
86459
  onClick: function onClick() {
85958
86460
  return switchTo(c.key);
85959
86461
  }
@@ -85972,9 +86474,13 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85972
86474
  }), /*#__PURE__*/jsx("span", {
85973
86475
  className: "px-2 pt-3 pb-1 text-xs ".concat(muted),
85974
86476
  children: "Recents"
85975
- }), /*#__PURE__*/jsx("div", {
86477
+ }), /*#__PURE__*/jsxs("div", {
85976
86478
  className: "flex-1 min-h-0 overflow-y-auto flex flex-col",
85977
- children: threads.length ? threads.map(function (t) {
86479
+ children: [open ? null : /*#__PURE__*/jsx(ListRow, {
86480
+ testId: "workspace-thread-new",
86481
+ title: "New conversation",
86482
+ selected: true
86483
+ }), threads.length ? threads.map(function (t) {
85978
86484
  return /*#__PURE__*/jsx(ListRow, {
85979
86485
  testId: "workspace-thread",
85980
86486
  title: t.title
@@ -85993,10 +86499,10 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
85993
86499
  });
85994
86500
  }
85995
86501
  }, t.id);
85996
- }) : /*#__PURE__*/jsxs("span", {
86502
+ }) : open ? /*#__PURE__*/jsxs("span", {
85997
86503
  className: "px-2 py-2 text-xs ".concat(muted),
85998
86504
  children: ["Your conversations with ", contact ? contact.name : "them", " ", "show here."]
85999
- })
86505
+ }) : null]
86000
86506
  })]
86001
86507
  })]
86002
86508
  }), /*#__PURE__*/jsxs("section", {
@@ -86041,7 +86547,9 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86041
86547
  ,
86042
86548
  prepareSend: function prepareSend(t) {
86043
86549
  return withPlanContext(t, wp.plan, wp.takeEdits());
86044
- }
86550
+ },
86551
+ placeholder: "Reply",
86552
+ hint: null
86045
86553
  }, "".concat(contact.key, ":").concat(open.key)) : /*#__PURE__*/jsxs(Fragment, {
86046
86554
  children: [/*#__PURE__*/jsx("div", {
86047
86555
  className: "flex-1 min-h-0 overflow-y-auto flex flex-col justify-center px-6",
@@ -86057,7 +86565,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86057
86565
  }), /*#__PURE__*/jsx("div", {
86058
86566
  className: "flex flex-row flex-wrap gap-2",
86059
86567
  children: start.starters.map(function (s) {
86060
- return /*#__PURE__*/jsx(Button3, {
86568
+ return /*#__PURE__*/jsx(Button2, {
86061
86569
  size: "sm",
86062
86570
  title: s,
86063
86571
  onClick: function onClick() {
@@ -86068,6 +86576,7 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86068
86576
  })]
86069
86577
  })
86070
86578
  }), /*#__PURE__*/jsx(ChatComposer, {
86579
+ ref: composer,
86071
86580
  ariaLabel: contact ? "Ask ".concat(contact.name) : "Ask",
86072
86581
  value: draft,
86073
86582
  onChange: function onChange(v) {
@@ -86076,7 +86585,8 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86076
86585
  onSend: function onSend() {
86077
86586
  return ask();
86078
86587
  },
86079
- placeholder: contact ? "Ask ".concat(contact.name, "\u2026") : "Ask…",
86588
+ placeholder: "Reply",
86589
+ hint: null,
86080
86590
  sendLabel: "Ask",
86081
86591
  className: "flex-shrink-0"
86082
86592
  })]
@@ -86087,15 +86597,21 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86087
86597
  "aria-label": "Outputs",
86088
86598
  className: "flex-shrink-0 flex flex-col min-h-0 border-l ".concat(hairline),
86089
86599
  style: {
86090
- // Expanded, it never squeezes the conversation out.
86091
- width: wide ? Math.min(SIDE_MAX, Math.round((typeof window !== "undefined" ? window.innerWidth : 1600) * 0.55)) : sideWidth
86600
+ // Expanded (frame 37): 760 wide, and never more than half the
86601
+ // screen, so the conversation keeps room.
86602
+ width: wide ? Math.min(WIDE, Math.round((typeof window !== "undefined" ? window.innerWidth : 1600) * 0.5)) : sideWidth
86092
86603
  },
86093
86604
  children: [/*#__PURE__*/jsx("div", {
86094
86605
  className: "flex-shrink-0 flex flex-row items-center justify-end px-3 py-2 border-b ".concat(hairline),
86095
- children: /*#__PURE__*/jsx(ButtonIcon3, {
86096
- icon: "xmark",
86097
- ariaLabel: "Close",
86098
- onClick: onClose
86606
+ children: /*#__PURE__*/jsx("button", {
86607
+ type: "button",
86608
+ "aria-label": "Close",
86609
+ onClick: onClose,
86610
+ className: "flex items-center justify-center h-8 w-8 rounded-lg ".concat(muted),
86611
+ children: /*#__PURE__*/jsx(FontAwesomeIcon, {
86612
+ icon: "xmark",
86613
+ className: "h-4 w-4"
86614
+ })
86099
86615
  })
86100
86616
  }), contact ? /*#__PURE__*/jsx(WorkspaceSide, {
86101
86617
  contact: contact,
@@ -86111,7 +86627,9 @@ var LeadWorkspace = function LeadWorkspace(_ref) {
86111
86627
  return setWide(function (v) {
86112
86628
  return !v;
86113
86629
  });
86114
- }
86630
+ },
86631
+ isNew: !open && !isBot,
86632
+ onStartFrom: startFrom
86115
86633
  }) : null]
86116
86634
  })]
86117
86635
  })
@@ -89387,7 +89905,7 @@ var SpendingView = function SpendingView() {
89387
89905
  title: "By AI provider",
89388
89906
  rows: summary.providers,
89389
89907
  nameOf: function nameOf(r) {
89390
- return providerName(r.id);
89908
+ return providerName$1(r.id);
89391
89909
  },
89392
89910
  empty: "No runs counted by provider yet \u2014 this starts with the next run.",
89393
89911
  muted: muted,
@@ -99881,6 +100399,10 @@ var DashboardStageInner = function DashboardStageInner(_ref3) {
99881
100399
  request: workspaceRequest,
99882
100400
  onClose: function onClose() {
99883
100401
  return setWorkspaceRequest(null);
100402
+ },
100403
+ onOpenPage: function onOpenPage(page) {
100404
+ setWorkspaceRequest(null);
100405
+ handleOpenPageGuarded(page);
99884
100406
  }
99885
100407
  }, workspaceRequest.seq) : null, /*#__PURE__*/jsx(BotPageModal, {
99886
100408
  request: botPageRequest,