@cimulate/copilot-widget 1.7.4 → 1.7.6

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.
@@ -118,7 +118,7 @@ function GC() {
118
118
  function ye(L, Z) {
119
119
  return { $$typeof: e, type: L.type, key: Z, ref: L.ref, props: L.props, _owner: L._owner };
120
120
  }
121
- function j(L) {
121
+ function $(L) {
122
122
  return typeof L == "object" && L !== null && L.$$typeof === e;
123
123
  }
124
124
  function ne(L) {
@@ -150,7 +150,7 @@ function GC() {
150
150
  }
151
151
  if (qe) return qe = L, Re = Re(qe), L = _e === "" ? "." + de(qe, 0) : _e, M(Re) ? (P = "", L != null && (P = L.replace(pe, "$&/") + "/"), le(Re, Z, P, "", function(_t) {
152
152
  return _t;
153
- })) : Re != null && (j(Re) && (Re = ye(Re, P + (!Re.key || qe && qe.key === Re.key ? "" : ("" + Re.key).replace(pe, "$&/") + "/") + L)), Z.push(Re)), 1;
153
+ })) : Re != null && ($(Re) && (Re = ye(Re, P + (!Re.key || qe && qe.key === Re.key ? "" : ("" + Re.key).replace(pe, "$&/") + "/") + L)), Z.push(Re)), 1;
154
154
  if (qe = 0, _e = _e === "" ? "." : _e + ":", M(L)) for (var $e = 0; $e < L.length; $e++) {
155
155
  Pe = L[$e];
156
156
  var Ze = _e + de(Pe, $e);
@@ -197,7 +197,7 @@ function GC() {
197
197
  return Z;
198
198
  }) || [];
199
199
  }, only: function(L) {
200
- if (!j(L)) throw Error("React.Children.only expected to receive a single React element child.");
200
+ if (!$(L)) throw Error("React.Children.only expected to receive a single React element child.");
201
201
  return L;
202
202
  } }, We.Component = A, We.Fragment = n, We.Profiler = s, We.PureComponent = D, We.StrictMode = r, We.Suspense = f, We.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = re, We.act = w, We.cloneElement = function(L, Z, P) {
203
203
  if (L == null) throw Error("React.cloneElement(...): The argument must be a React element, but you passed " + L + ".");
@@ -223,7 +223,7 @@ function GC() {
223
223
  return { current: null };
224
224
  }, We.forwardRef = function(L) {
225
225
  return { $$typeof: c, render: L };
226
- }, We.isValidElement = j, We.lazy = function(L) {
226
+ }, We.isValidElement = $, We.lazy = function(L) {
227
227
  return { $$typeof: p, _payload: { _status: -1, _result: L }, _init: Ce };
228
228
  }, We.memo = function(L, Z) {
229
229
  return { $$typeof: d, type: L, compare: Z === void 0 ? null : Z };
@@ -3720,7 +3720,7 @@ const LT = {
3720
3720
  rangeFilters: Yr.RANGE_FILTERS_CHANGED,
3721
3721
  catalogSegment: Yr.CATALOG_SEGMENT_CHANGED,
3722
3722
  pricebooks: Yr.PRICEBOOKS_CHANGED
3723
- }, $ = "cim-widget", Ws = `--${$}`, ts = {
3723
+ }, j = "cim-widget", Ws = `--${j}`, ts = {
3724
3724
  primaryColor: "#3182ce",
3725
3725
  secondaryColor: "#2c5282",
3726
3726
  fontColor: "#1a202c",
@@ -3950,7 +3950,7 @@ const uk = (e) => {
3950
3950
  !1
3951
3951
  ), (s) => {
3952
3952
  r.push(s), ss.postMessage(n, "*");
3953
- }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", _n(ss.postMessage)), fk = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(ss) : typeof process != "undefined" && process.nextTick || VT, dk = (e) => e != null && _n(e[Nc]), X = {
3953
+ }))(`axios@${Math.random()}`, []) : (n) => setTimeout(n))(typeof setImmediate == "function", _n(ss.postMessage)), fk = typeof queueMicrotask != "undefined" ? queueMicrotask.bind(ss) : typeof process != "undefined" && process.nextTick || VT, dk = (e) => e != null && _n(e[Nc]), K = {
3954
3954
  isArray: _o,
3955
3955
  isArrayBuffer: UT,
3956
3956
  isBuffer: tu,
@@ -4050,7 +4050,7 @@ let Be = class qT extends Error {
4050
4050
  columnNumber: this.columnNumber,
4051
4051
  stack: this.stack,
4052
4052
  // Axios
4053
- config: X.toJSONObject(this.config),
4053
+ config: K.toJSONObject(this.config),
4054
4054
  code: this.code,
4055
4055
  status: this.status
4056
4056
  };
@@ -4071,10 +4071,10 @@ Be.ERR_INVALID_URL = "ERR_INVALID_URL";
4071
4071
  Be.ERR_FORM_DATA_DEPTH_EXCEEDED = "ERR_FORM_DATA_DEPTH_EXCEEDED";
4072
4072
  const hk = null;
4073
4073
  function Wh(e) {
4074
- return X.isPlainObject(e) || X.isArray(e);
4074
+ return K.isPlainObject(e) || K.isArray(e);
4075
4075
  }
4076
4076
  function YT(e) {
4077
- return X.endsWith(e, "[]") ? e.slice(0, -2) : e;
4077
+ return K.endsWith(e, "[]") ? e.slice(0, -2) : e;
4078
4078
  }
4079
4079
  function Zd(e, t, n) {
4080
4080
  return e ? e.concat(t).map(function(s, a) {
@@ -4082,15 +4082,15 @@ function Zd(e, t, n) {
4082
4082
  }).join(n ? "." : "") : t;
4083
4083
  }
4084
4084
  function pk(e) {
4085
- return X.isArray(e) && !e.some(Wh);
4085
+ return K.isArray(e) && !e.some(Wh);
4086
4086
  }
4087
- const mk = X.toFlatObject(X, {}, null, function(t) {
4087
+ const mk = K.toFlatObject(K, {}, null, function(t) {
4088
4088
  return /^is[A-Z]/.test(t);
4089
4089
  });
4090
4090
  function Pc(e, t, n) {
4091
- if (!X.isObject(e))
4091
+ if (!K.isObject(e))
4092
4092
  throw new TypeError("target must be an object");
4093
- t = t || new FormData(), n = X.toFlatObject(
4093
+ t = t || new FormData(), n = K.toFlatObject(
4094
4094
  n,
4095
4095
  {
4096
4096
  metaTokens: !0,
@@ -4099,32 +4099,32 @@ function Pc(e, t, n) {
4099
4099
  },
4100
4100
  !1,
4101
4101
  function(A, v) {
4102
- return !X.isUndefined(v[A]);
4102
+ return !K.isUndefined(v[A]);
4103
4103
  }
4104
4104
  );
4105
- const r = n.metaTokens, s = n.visitor || g, a = n.dots, u = n.indexes, c = n.Blob || typeof Blob != "undefined" && Blob, f = n.maxDepth === void 0 ? 100 : n.maxDepth, d = c && X.isSpecCompliantForm(t);
4106
- if (!X.isFunction(s))
4105
+ const r = n.metaTokens, s = n.visitor || g, a = n.dots, u = n.indexes, c = n.Blob || typeof Blob != "undefined" && Blob, f = n.maxDepth === void 0 ? 100 : n.maxDepth, d = c && K.isSpecCompliantForm(t);
4106
+ if (!K.isFunction(s))
4107
4107
  throw new TypeError("visitor must be a function");
4108
4108
  function p(S) {
4109
4109
  if (S === null) return "";
4110
- if (X.isDate(S))
4110
+ if (K.isDate(S))
4111
4111
  return S.toISOString();
4112
- if (X.isBoolean(S))
4112
+ if (K.isBoolean(S))
4113
4113
  return S.toString();
4114
- if (!d && X.isBlob(S))
4114
+ if (!d && K.isBlob(S))
4115
4115
  throw new Be("Blob is not supported. Use a Buffer instead.");
4116
- return X.isArrayBuffer(S) || X.isTypedArray(S) ? d && typeof Blob == "function" ? new Blob([S]) : Buffer.from(S) : S;
4116
+ return K.isArrayBuffer(S) || K.isTypedArray(S) ? d && typeof Blob == "function" ? new Blob([S]) : Buffer.from(S) : S;
4117
4117
  }
4118
4118
  function g(S, A, v) {
4119
4119
  let D = S;
4120
- if (X.isReactNative(t) && X.isReactNativeBlob(S))
4120
+ if (K.isReactNative(t) && K.isReactNativeBlob(S))
4121
4121
  return t.append(Zd(v, A, a), p(S)), !1;
4122
4122
  if (S && !v && typeof S == "object") {
4123
- if (X.endsWith(A, "{}"))
4123
+ if (K.endsWith(A, "{}"))
4124
4124
  A = r ? A : A.slice(0, -2), S = JSON.stringify(S);
4125
- else if (X.isArray(S) && pk(S) || (X.isFileList(S) || X.endsWith(A, "[]")) && (D = X.toArray(S)))
4125
+ else if (K.isArray(S) && pk(S) || (K.isFileList(S) || K.endsWith(A, "[]")) && (D = K.toArray(S)))
4126
4126
  return A = YT(A), D.forEach(function(M, q) {
4127
- !(X.isUndefined(M) || M === null) && t.append(
4127
+ !(K.isUndefined(M) || M === null) && t.append(
4128
4128
  // eslint-disable-next-line no-nested-ternary
4129
4129
  u === !0 ? Zd([A], q, a) : u === null ? A : A + "[]",
4130
4130
  p(M)
@@ -4139,7 +4139,7 @@ function Pc(e, t, n) {
4139
4139
  isVisitable: Wh
4140
4140
  });
4141
4141
  function _(S, A, v = 0) {
4142
- if (!X.isUndefined(S)) {
4142
+ if (!K.isUndefined(S)) {
4143
4143
  if (v > f)
4144
4144
  throw new Be(
4145
4145
  "Object is too deeply nested (" + v + " levels). Max depth: " + f,
@@ -4147,12 +4147,12 @@ function Pc(e, t, n) {
4147
4147
  );
4148
4148
  if (b.indexOf(S) !== -1)
4149
4149
  throw Error("Circular reference detected in " + A.join("."));
4150
- b.push(S), X.forEach(S, function(N, M) {
4151
- (!(X.isUndefined(N) || N === null) && s.call(t, N, X.isString(M) ? M.trim() : M, A, T)) === !0 && _(N, A ? A.concat(M) : [M], v + 1);
4150
+ b.push(S), K.forEach(S, function(N, M) {
4151
+ (!(K.isUndefined(N) || N === null) && s.call(t, N, K.isString(M) ? M.trim() : M, A, T)) === !0 && _(N, A ? A.concat(M) : [M], v + 1);
4152
4152
  }), b.pop();
4153
4153
  }
4154
4154
  }
4155
- if (!X.isObject(e))
4155
+ if (!K.isObject(e))
4156
4156
  throw new TypeError("data must be an object");
4157
4157
  return _(e), t;
4158
4158
  }
@@ -4190,11 +4190,11 @@ function gk(e) {
4190
4190
  function GT(e, t, n) {
4191
4191
  if (!t)
4192
4192
  return e;
4193
- const r = n && n.encode || gk, s = X.isFunction(n) ? {
4193
+ const r = n && n.encode || gk, s = K.isFunction(n) ? {
4194
4194
  serialize: n
4195
4195
  } : n, a = s && s.serialize;
4196
4196
  let u;
4197
- if (a ? u = a(t, s) : u = X.isURLSearchParams(t) ? t.toString() : new jp(t, s).toString(r), u) {
4197
+ if (a ? u = a(t, s) : u = K.isURLSearchParams(t) ? t.toString() : new jp(t, s).toString(r), u) {
4198
4198
  const c = e.indexOf("#");
4199
4199
  c !== -1 && (e = e.slice(0, c)), e += (e.indexOf("?") === -1 ? "?" : "&") + u;
4200
4200
  }
@@ -4250,7 +4250,7 @@ class Z1 {
4250
4250
  * @returns {void}
4251
4251
  */
4252
4252
  forEach(t) {
4253
- X.forEach(this.handlers, function(r) {
4253
+ K.forEach(this.handlers, function(r) {
4254
4254
  r !== null && t(r);
4255
4255
  });
4256
4256
  }
@@ -4280,12 +4280,12 @@ self instanceof WorkerGlobalScope && typeof self.importScripts == "function", xk
4280
4280
  function Ak(e, t) {
4281
4281
  return Pc(e, new nn.classes.URLSearchParams(), U({
4282
4282
  visitor: function(n, r, s, a) {
4283
- return nn.isNode && X.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
4283
+ return nn.isNode && K.isBuffer(n) ? (this.append(r, n.toString("base64")), !1) : a.defaultVisitor.apply(this, arguments);
4284
4284
  }
4285
4285
  }, t));
4286
4286
  }
4287
4287
  function wk(e) {
4288
- return X.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
4288
+ return K.matchAll(/\w+|\[(\w*)]/g, e).map((t) => t[0] === "[]" ? "" : t[1] || t[0]);
4289
4289
  }
4290
4290
  function kk(e) {
4291
4291
  const t = {}, n = Object.keys(e);
@@ -4301,21 +4301,21 @@ function XT(e) {
4301
4301
  let u = n[a++];
4302
4302
  if (u === "__proto__") return !0;
4303
4303
  const c = Number.isFinite(+u), f = a >= n.length;
4304
- return u = !u && X.isArray(s) ? s.length : u, f ? (X.hasOwnProp(s, u) ? s[u] = X.isArray(s[u]) ? s[u].concat(r) : [s[u], r] : s[u] = r, !c) : ((!s[u] || !X.isObject(s[u])) && (s[u] = []), t(n, r, s[u], a) && X.isArray(s[u]) && (s[u] = kk(s[u])), !c);
4304
+ return u = !u && K.isArray(s) ? s.length : u, f ? (K.hasOwnProp(s, u) ? s[u] = K.isArray(s[u]) ? s[u].concat(r) : [s[u], r] : s[u] = r, !c) : ((!s[u] || !K.isObject(s[u])) && (s[u] = []), t(n, r, s[u], a) && K.isArray(s[u]) && (s[u] = kk(s[u])), !c);
4305
4305
  }
4306
- if (X.isFormData(e) && X.isFunction(e.entries)) {
4306
+ if (K.isFormData(e) && K.isFunction(e.entries)) {
4307
4307
  const n = {};
4308
- return X.forEachEntry(e, (r, s) => {
4308
+ return K.forEachEntry(e, (r, s) => {
4309
4309
  t(wk(r), s, n, 0);
4310
4310
  }), n;
4311
4311
  }
4312
4312
  return null;
4313
4313
  }
4314
- const Gs = (e, t) => e != null && X.hasOwnProp(e, t) ? e[t] : void 0;
4314
+ const Gs = (e, t) => e != null && K.hasOwnProp(e, t) ? e[t] : void 0;
4315
4315
  function Nk(e, t, n) {
4316
- if (X.isString(e))
4316
+ if (K.isString(e))
4317
4317
  try {
4318
- return (t || JSON.parse)(e), X.trim(e);
4318
+ return (t || JSON.parse)(e), K.trim(e);
4319
4319
  } catch (r) {
4320
4320
  if (r.name !== "SyntaxError")
4321
4321
  throw r;
@@ -4327,21 +4327,21 @@ const iu = {
4327
4327
  adapter: ["xhr", "http", "fetch"],
4328
4328
  transformRequest: [
4329
4329
  function(t, n) {
4330
- const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, a = X.isObject(t);
4331
- if (a && X.isHTMLForm(t) && (t = new FormData(t)), X.isFormData(t))
4330
+ const r = n.getContentType() || "", s = r.indexOf("application/json") > -1, a = K.isObject(t);
4331
+ if (a && K.isHTMLForm(t) && (t = new FormData(t)), K.isFormData(t))
4332
4332
  return s ? JSON.stringify(XT(t)) : t;
4333
- if (X.isArrayBuffer(t) || X.isBuffer(t) || X.isStream(t) || X.isFile(t) || X.isBlob(t) || X.isReadableStream(t))
4333
+ if (K.isArrayBuffer(t) || K.isBuffer(t) || K.isStream(t) || K.isFile(t) || K.isBlob(t) || K.isReadableStream(t))
4334
4334
  return t;
4335
- if (X.isArrayBufferView(t))
4335
+ if (K.isArrayBufferView(t))
4336
4336
  return t.buffer;
4337
- if (X.isURLSearchParams(t))
4337
+ if (K.isURLSearchParams(t))
4338
4338
  return n.setContentType("application/x-www-form-urlencoded;charset=utf-8", !1), t.toString();
4339
4339
  let c;
4340
4340
  if (a) {
4341
4341
  const f = Gs(this, "formSerializer");
4342
4342
  if (r.indexOf("application/x-www-form-urlencoded") > -1)
4343
4343
  return Ak(t, f).toString();
4344
- if ((c = X.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
4344
+ if ((c = K.isFileList(t)) || r.indexOf("multipart/form-data") > -1) {
4345
4345
  const d = Gs(this, "env"), p = d && d.FormData;
4346
4346
  return Pc(
4347
4347
  c ? { "files[]": t } : t,
@@ -4356,9 +4356,9 @@ const iu = {
4356
4356
  transformResponse: [
4357
4357
  function(t) {
4358
4358
  const n = Gs(this, "transitional") || iu.transitional, r = n && n.forcedJSONParsing, s = Gs(this, "responseType"), a = s === "json";
4359
- if (X.isResponse(t) || X.isReadableStream(t))
4359
+ if (K.isResponse(t) || K.isReadableStream(t))
4360
4360
  return t;
4361
- if (t && X.isString(t) && (r && !s || a)) {
4361
+ if (t && K.isString(t) && (r && !s || a)) {
4362
4362
  const c = !(n && n.silentJSONParsing) && a;
4363
4363
  try {
4364
4364
  return JSON.parse(t, Gs(this, "parseReviver"));
@@ -4393,10 +4393,10 @@ const iu = {
4393
4393
  }
4394
4394
  }
4395
4395
  };
4396
- X.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
4396
+ K.forEach(["delete", "get", "head", "post", "put", "patch"], (e) => {
4397
4397
  iu.headers[e] = {};
4398
4398
  });
4399
- const vk = X.toObjectSet([
4399
+ const vk = K.toObjectSet([
4400
4400
  "age",
4401
4401
  "authorization",
4402
4402
  "content-length",
@@ -4445,7 +4445,7 @@ function Rk(e) {
4445
4445
  return Ik(e.replace(Pk, ""));
4446
4446
  }
4447
4447
  function Xl(e) {
4448
- return e === !1 || e == null ? e : X.isArray(e) ? e.map(Xl) : Rk(String(e));
4448
+ return e === !1 || e == null ? e : K.isArray(e) ? e.map(Xl) : Rk(String(e));
4449
4449
  }
4450
4450
  function Lk(e) {
4451
4451
  const t = /* @__PURE__ */ Object.create(null), n = /([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;
@@ -4456,12 +4456,12 @@ function Lk(e) {
4456
4456
  }
4457
4457
  const Dk = (e) => /^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim());
4458
4458
  function eh(e, t, n, r, s) {
4459
- if (X.isFunction(r))
4459
+ if (K.isFunction(r))
4460
4460
  return r.call(this, t, n);
4461
- if (s && (t = n), !!X.isString(t)) {
4462
- if (X.isString(r))
4461
+ if (s && (t = n), !!K.isString(t)) {
4462
+ if (K.isString(r))
4463
4463
  return t.indexOf(r) !== -1;
4464
- if (X.isRegExp(r))
4464
+ if (K.isRegExp(r))
4465
4465
  return r.test(t);
4466
4466
  }
4467
4467
  }
@@ -4469,7 +4469,7 @@ function Mk(e) {
4469
4469
  return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g, (t, n, r) => n.toUpperCase() + r);
4470
4470
  }
4471
4471
  function Fk(e, t) {
4472
- const n = X.toCamelCase(" " + t);
4472
+ const n = K.toCamelCase(" " + t);
4473
4473
  ["get", "set", "has"].forEach((r) => {
4474
4474
  Object.defineProperty(e, r + n, {
4475
4475
  value: function(s, a, u) {
@@ -4489,20 +4489,20 @@ let Sn = class {
4489
4489
  const p = ba(f);
4490
4490
  if (!p)
4491
4491
  throw new Error("header name must be a non-empty string");
4492
- const g = X.findKey(s, p);
4492
+ const g = K.findKey(s, p);
4493
4493
  (!g || s[g] === void 0 || d === !0 || d === void 0 && s[g] !== !1) && (s[g || f] = Xl(c));
4494
4494
  }
4495
- const u = (c, f) => X.forEach(c, (d, p) => a(d, p, f));
4496
- if (X.isPlainObject(t) || t instanceof this.constructor)
4495
+ const u = (c, f) => K.forEach(c, (d, p) => a(d, p, f));
4496
+ if (K.isPlainObject(t) || t instanceof this.constructor)
4497
4497
  u(t, n);
4498
- else if (X.isString(t) && (t = t.trim()) && !Dk(t))
4498
+ else if (K.isString(t) && (t = t.trim()) && !Dk(t))
4499
4499
  u(Ok(t), n);
4500
- else if (X.isObject(t) && X.isIterable(t)) {
4500
+ else if (K.isObject(t) && K.isIterable(t)) {
4501
4501
  let c = {}, f, d;
4502
4502
  for (const p of t) {
4503
- if (!X.isArray(p))
4503
+ if (!K.isArray(p))
4504
4504
  throw TypeError("Object iterator must return a key-value pair");
4505
- c[d = p[0]] = (f = c[d]) ? X.isArray(f) ? [...f, p[1]] : [f, p[1]] : p[1];
4505
+ c[d = p[0]] = (f = c[d]) ? K.isArray(f) ? [...f, p[1]] : [f, p[1]] : p[1];
4506
4506
  }
4507
4507
  u(c, n);
4508
4508
  } else
@@ -4511,16 +4511,16 @@ let Sn = class {
4511
4511
  }
4512
4512
  get(t, n) {
4513
4513
  if (t = ba(t), t) {
4514
- const r = X.findKey(this, t);
4514
+ const r = K.findKey(this, t);
4515
4515
  if (r) {
4516
4516
  const s = this[r];
4517
4517
  if (!n)
4518
4518
  return s;
4519
4519
  if (n === !0)
4520
4520
  return Lk(s);
4521
- if (X.isFunction(n))
4521
+ if (K.isFunction(n))
4522
4522
  return n.call(this, s, r);
4523
- if (X.isRegExp(n))
4523
+ if (K.isRegExp(n))
4524
4524
  return n.exec(s);
4525
4525
  throw new TypeError("parser must be boolean|regexp|function");
4526
4526
  }
@@ -4528,7 +4528,7 @@ let Sn = class {
4528
4528
  }
4529
4529
  has(t, n) {
4530
4530
  if (t = ba(t), t) {
4531
- const r = X.findKey(this, t);
4531
+ const r = K.findKey(this, t);
4532
4532
  return !!(r && this[r] !== void 0 && (!n || eh(this, this[r], r, n)));
4533
4533
  }
4534
4534
  return !1;
@@ -4538,11 +4538,11 @@ let Sn = class {
4538
4538
  let s = !1;
4539
4539
  function a(u) {
4540
4540
  if (u = ba(u), u) {
4541
- const c = X.findKey(r, u);
4541
+ const c = K.findKey(r, u);
4542
4542
  c && (!n || eh(r, r[c], c, n)) && (delete r[c], s = !0);
4543
4543
  }
4544
4544
  }
4545
- return X.isArray(t) ? t.forEach(a) : a(t), s;
4545
+ return K.isArray(t) ? t.forEach(a) : a(t), s;
4546
4546
  }
4547
4547
  clear(t) {
4548
4548
  const n = Object.keys(this);
@@ -4555,8 +4555,8 @@ let Sn = class {
4555
4555
  }
4556
4556
  normalize(t) {
4557
4557
  const n = this, r = {};
4558
- return X.forEach(this, (s, a) => {
4559
- const u = X.findKey(r, a);
4558
+ return K.forEach(this, (s, a) => {
4559
+ const u = K.findKey(r, a);
4560
4560
  if (u) {
4561
4561
  n[u] = Xl(s), delete n[a];
4562
4562
  return;
@@ -4570,8 +4570,8 @@ let Sn = class {
4570
4570
  }
4571
4571
  toJSON(t) {
4572
4572
  const n = /* @__PURE__ */ Object.create(null);
4573
- return X.forEach(this, (r, s) => {
4574
- r != null && r !== !1 && (n[s] = t && X.isArray(r) ? r.join(", ") : r);
4573
+ return K.forEach(this, (r, s) => {
4574
+ r != null && r !== !1 && (n[s] = t && K.isArray(r) ? r.join(", ") : r);
4575
4575
  }), n;
4576
4576
  }
4577
4577
  [Symbol.iterator]() {
@@ -4602,7 +4602,7 @@ let Sn = class {
4602
4602
  const c = ba(u);
4603
4603
  r[c] || (Fk(s, u), r[c] = !0);
4604
4604
  }
4605
- return X.isArray(t) ? t.forEach(a) : a(t), this;
4605
+ return K.isArray(t) ? t.forEach(a) : a(t), this;
4606
4606
  }
4607
4607
  };
4608
4608
  Sn.accessor([
@@ -4613,7 +4613,7 @@ Sn.accessor([
4613
4613
  "User-Agent",
4614
4614
  "Authorization"
4615
4615
  ]);
4616
- X.reduceDescriptors(Sn.prototype, ({ value: e }, t) => {
4616
+ K.reduceDescriptors(Sn.prototype, ({ value: e }, t) => {
4617
4617
  let n = t[0].toUpperCase() + t.slice(1);
4618
4618
  return {
4619
4619
  get: () => e,
@@ -4622,11 +4622,11 @@ X.reduceDescriptors(Sn.prototype, ({ value: e }, t) => {
4622
4622
  }
4623
4623
  };
4624
4624
  });
4625
- X.freezeMethods(Sn);
4625
+ K.freezeMethods(Sn);
4626
4626
  function th(e, t) {
4627
4627
  const n = this || iu, r = t || n, s = Sn.from(r.headers);
4628
4628
  let a = r.data;
4629
- return X.forEach(e, function(c) {
4629
+ return K.forEach(e, function(c) {
4630
4630
  a = c.call(n, a, s.normalize(), t ? t.status : void 0);
4631
4631
  }), s.normalize(), a;
4632
4632
  }
@@ -4720,7 +4720,7 @@ const sc = (e, t, n = 3) => {
4720
4720
  }),
4721
4721
  t[1]
4722
4722
  ];
4723
- }, nE = (e) => (...t) => X.asap(() => e(...t)), zk = nn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, nn.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
4723
+ }, nE = (e) => (...t) => K.asap(() => e(...t)), zk = nn.hasStandardBrowserEnv ? /* @__PURE__ */ ((e, t) => (n) => (n = new URL(n, nn.origin), e.protocol === n.protocol && e.host === n.host && (t || e.port === n.port)))(
4724
4724
  new URL(nn.origin),
4725
4725
  nn.navigator && /(msie|trident)/i.test(nn.navigator.userAgent)
4726
4726
  ) : () => !0, jk = nn.hasStandardBrowserEnv ? (
@@ -4729,7 +4729,7 @@ const sc = (e, t, n = 3) => {
4729
4729
  write(e, t, n, r, s, a, u) {
4730
4730
  if (typeof document == "undefined") return;
4731
4731
  const c = [`${e}=${encodeURIComponent(t)}`];
4732
- X.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), X.isString(r) && c.push(`path=${r}`), X.isString(s) && c.push(`domain=${s}`), a === !0 && c.push("secure"), X.isString(u) && c.push(`SameSite=${u}`), document.cookie = c.join("; ");
4732
+ K.isNumber(n) && c.push(`expires=${new Date(n).toUTCString()}`), K.isString(r) && c.push(`path=${r}`), K.isString(s) && c.push(`domain=${s}`), a === !0 && c.push("secure"), K.isString(u) && c.push(`SameSite=${u}`), document.cookie = c.join("; ");
4733
4733
  },
4734
4734
  read(e) {
4735
4735
  if (typeof document == "undefined") return null;
@@ -4773,28 +4773,28 @@ function ds(e, t) {
4773
4773
  configurable: !0
4774
4774
  });
4775
4775
  function r(d, p, g, b) {
4776
- return X.isPlainObject(d) && X.isPlainObject(p) ? X.merge.call({ caseless: b }, d, p) : X.isPlainObject(p) ? X.merge({}, p) : X.isArray(p) ? p.slice() : p;
4776
+ return K.isPlainObject(d) && K.isPlainObject(p) ? K.merge.call({ caseless: b }, d, p) : K.isPlainObject(p) ? K.merge({}, p) : K.isArray(p) ? p.slice() : p;
4777
4777
  }
4778
4778
  function s(d, p, g, b) {
4779
- if (X.isUndefined(p)) {
4780
- if (!X.isUndefined(d))
4779
+ if (K.isUndefined(p)) {
4780
+ if (!K.isUndefined(d))
4781
4781
  return r(void 0, d, g, b);
4782
4782
  } else return r(d, p, g, b);
4783
4783
  }
4784
4784
  function a(d, p) {
4785
- if (!X.isUndefined(p))
4785
+ if (!K.isUndefined(p))
4786
4786
  return r(void 0, p);
4787
4787
  }
4788
4788
  function u(d, p) {
4789
- if (X.isUndefined(p)) {
4790
- if (!X.isUndefined(d))
4789
+ if (K.isUndefined(p)) {
4790
+ if (!K.isUndefined(d))
4791
4791
  return r(void 0, d);
4792
4792
  } else return r(void 0, p);
4793
4793
  }
4794
4794
  function c(d, p, g) {
4795
- if (X.hasOwnProp(t, g))
4795
+ if (K.hasOwnProp(t, g))
4796
4796
  return r(d, p);
4797
- if (X.hasOwnProp(e, g))
4797
+ if (K.hasOwnProp(e, g))
4798
4798
  return r(void 0, d);
4799
4799
  }
4800
4800
  const f = {
@@ -4829,14 +4829,14 @@ function ds(e, t) {
4829
4829
  validateStatus: c,
4830
4830
  headers: (d, p, g) => s(rE(d), rE(p), g, !0)
4831
4831
  };
4832
- return X.forEach(Object.keys(U(U({}, e), t)), function(p) {
4832
+ return K.forEach(Object.keys(U(U({}, e), t)), function(p) {
4833
4833
  if (p === "__proto__" || p === "constructor" || p === "prototype") return;
4834
- const g = X.hasOwnProp(f, p) ? f[p] : s, b = X.hasOwnProp(e, p) ? e[p] : void 0, T = X.hasOwnProp(t, p) ? t[p] : void 0, _ = g(b, T, p);
4835
- X.isUndefined(_) && g !== c || (n[p] = _);
4834
+ const g = K.hasOwnProp(f, p) ? f[p] : s, b = K.hasOwnProp(e, p) ? e[p] : void 0, T = K.hasOwnProp(t, p) ? t[p] : void 0, _ = g(b, T, p);
4835
+ K.isUndefined(_) && g !== c || (n[p] = _);
4836
4836
  }), n;
4837
4837
  }
4838
4838
  const ZT = (e) => {
4839
- const t = ds({}, e), n = (b) => X.hasOwnProp(t, b) ? t[b] : void 0, r = n("data");
4839
+ const t = ds({}, e), n = (b) => K.hasOwnProp(t, b) ? t[b] : void 0, r = n("data");
4840
4840
  let s = n("withXSRFToken");
4841
4841
  const a = n("xsrfHeaderName"), u = n("xsrfCookieName");
4842
4842
  let c = n("headers");
@@ -4850,17 +4850,17 @@ const ZT = (e) => {
4850
4850
  "Basic " + btoa(
4851
4851
  (f.username || "") + ":" + (f.password ? unescape(encodeURIComponent(f.password)) : "")
4852
4852
  )
4853
- ), X.isFormData(r)) {
4853
+ ), K.isFormData(r)) {
4854
4854
  if (nn.hasStandardBrowserEnv || nn.hasStandardBrowserWebWorkerEnv)
4855
4855
  c.setContentType(void 0);
4856
- else if (X.isFunction(r.getHeaders)) {
4856
+ else if (K.isFunction(r.getHeaders)) {
4857
4857
  const b = r.getHeaders(), T = ["content-type", "content-length"];
4858
4858
  Object.entries(b).forEach(([_, S]) => {
4859
4859
  T.includes(_.toLowerCase()) && c.set(_, S);
4860
4860
  });
4861
4861
  }
4862
4862
  }
4863
- if (nn.hasStandardBrowserEnv && (X.isFunction(s) && (s = s(t)), s === !0 || s == null && zk(t.url))) {
4863
+ if (nn.hasStandardBrowserEnv && (K.isFunction(s) && (s = s(t)), s === !0 || s == null && zk(t.url))) {
4864
4864
  const T = a && u && jk.read(u);
4865
4865
  T && c.set(a, T);
4866
4866
  }
@@ -4917,9 +4917,9 @@ const ZT = (e) => {
4917
4917
  A
4918
4918
  )
4919
4919
  ), A = null;
4920
- }, a === void 0 && u.setContentType(null), "setRequestHeader" in A && X.forEach(u.toJSON(), function(M, q) {
4920
+ }, a === void 0 && u.setContentType(null), "setRequestHeader" in A && K.forEach(u.toJSON(), function(M, q) {
4921
4921
  A.setRequestHeader(q, M);
4922
- }), X.isUndefined(s.withCredentials) || (A.withCredentials = !!s.withCredentials), c && c !== "json" && (A.responseType = s.responseType), d && ([b, _] = sc(d, !0), A.addEventListener("progress", b)), f && A.upload && ([g, T] = sc(f), A.upload.addEventListener("progress", g), A.upload.addEventListener("loadend", T)), (s.cancelToken || s.signal) && (p = (N) => {
4922
+ }), K.isUndefined(s.withCredentials) || (A.withCredentials = !!s.withCredentials), c && c !== "json" && (A.responseType = s.responseType), d && ([b, _] = sc(d, !0), A.addEventListener("progress", b)), f && A.upload && ([g, T] = sc(f), A.upload.addEventListener("progress", g), A.upload.addEventListener("loadend", T)), (s.cancelToken || s.signal) && (p = (N) => {
4923
4923
  A && (r(!N || N.type ? new su(null, e, A) : N), A.abort(), A = null);
4924
4924
  }, s.cancelToken && s.cancelToken.subscribe(p), s.signal && (s.signal.aborted ? p() : s.signal.addEventListener("abort", p)));
4925
4925
  const D = Bk(s.url);
@@ -4958,7 +4958,7 @@ const ZT = (e) => {
4958
4958
  };
4959
4959
  e.forEach((d) => d.addEventListener("abort", a));
4960
4960
  const { signal: f } = r;
4961
- return f.unsubscribe = () => X.asap(c), f;
4961
+ return f.unsubscribe = () => K.asap(c), f;
4962
4962
  }
4963
4963
  }, Gk = function* (e, t) {
4964
4964
  let n = e.byteLength;
@@ -5039,17 +5039,17 @@ const ZT = (e) => {
5039
5039
  highWaterMark: 2
5040
5040
  }
5041
5041
  );
5042
- }, sE = 64 * 1024, { isFunction: Pl } = X, Qk = (({ Request: e, Response: t }) => ({
5042
+ }, sE = 64 * 1024, { isFunction: Pl } = K, Qk = (({ Request: e, Response: t }) => ({
5043
5043
  Request: e,
5044
5044
  Response: t
5045
- }))(X.global), { ReadableStream: oE, TextEncoder: aE } = X.global, uE = (e, ...t) => {
5045
+ }))(K.global), { ReadableStream: oE, TextEncoder: aE } = K.global, uE = (e, ...t) => {
5046
5046
  try {
5047
5047
  return !!e(...t);
5048
5048
  } catch (n) {
5049
5049
  return !1;
5050
5050
  }
5051
5051
  }, Jk = (e) => {
5052
- e = X.merge.call(
5052
+ e = K.merge.call(
5053
5053
  {
5054
5054
  skipUndefined: !0
5055
5055
  },
@@ -5071,7 +5071,7 @@ const ZT = (e) => {
5071
5071
  }
5072
5072
  }), A = S.headers.has("Content-Type");
5073
5073
  return S.body != null && S.body.cancel(), _ && !A;
5074
- }), p = u && c && uE(() => X.isReadableStream(new r("").body)), g = {
5074
+ }), p = u && c && uE(() => K.isReadableStream(new r("").body)), g = {
5075
5075
  stream: p && ((_) => _.body)
5076
5076
  };
5077
5077
  s && ["text", "arrayBuffer", "blob", "formData", "stream"].forEach((_) => {
@@ -5089,19 +5089,19 @@ const ZT = (e) => {
5089
5089
  const b = (_) => Xe(null, null, function* () {
5090
5090
  if (_ == null)
5091
5091
  return 0;
5092
- if (X.isBlob(_))
5092
+ if (K.isBlob(_))
5093
5093
  return _.size;
5094
- if (X.isSpecCompliantForm(_))
5094
+ if (K.isSpecCompliantForm(_))
5095
5095
  return (yield new n(nn.origin, {
5096
5096
  method: "POST",
5097
5097
  body: _
5098
5098
  }).arrayBuffer()).byteLength;
5099
- if (X.isArrayBufferView(_) || X.isArrayBuffer(_))
5099
+ if (K.isArrayBufferView(_) || K.isArrayBuffer(_))
5100
5100
  return _.byteLength;
5101
- if (X.isURLSearchParams(_) && (_ = _ + ""), X.isString(_))
5101
+ if (K.isURLSearchParams(_) && (_ = _ + ""), K.isString(_))
5102
5102
  return (yield f(_)).byteLength;
5103
5103
  }), T = (_, S) => Xe(null, null, function* () {
5104
- const A = X.toFiniteNumber(_.getContentLength());
5104
+ const A = K.toFiniteNumber(_.getContentLength());
5105
5105
  return A == null ? b(S) : A;
5106
5106
  });
5107
5107
  return (_) => Xe(null, null, function* () {
@@ -5117,7 +5117,7 @@ const ZT = (e) => {
5117
5117
  responseType: te,
5118
5118
  headers: ae,
5119
5119
  withCredentials: ye = "same-origin",
5120
- fetchOptions: j
5120
+ fetchOptions: $
5121
5121
  } = ZT(_), ne = t || fetch;
5122
5122
  te = te ? (te + "").toLowerCase() : "text";
5123
5123
  let pe = Wk(
@@ -5135,7 +5135,7 @@ const ZT = (e) => {
5135
5135
  body: v,
5136
5136
  duplex: "half"
5137
5137
  }), Z;
5138
- if (X.isFormData(v) && (Z = L.headers.get("content-type")) && ae.setContentType(Z), L.body) {
5138
+ if (K.isFormData(v) && (Z = L.headers.get("content-type")) && ae.setContentType(Z), L.body) {
5139
5139
  const [P, _e] = tE(
5140
5140
  Te,
5141
5141
  sc(nE(B))
@@ -5143,13 +5143,13 @@ const ZT = (e) => {
5143
5143
  v = iE(L.body, sE, P, _e);
5144
5144
  }
5145
5145
  }
5146
- X.isString(ye) || (ye = ye ? "include" : "omit");
5146
+ K.isString(ye) || (ye = ye ? "include" : "omit");
5147
5147
  const Ce = a && "credentials" in n.prototype;
5148
- if (X.isFormData(v)) {
5148
+ if (K.isFormData(v)) {
5149
5149
  const L = ae.getContentType();
5150
5150
  L && /^multipart\/form-data/i.test(L) && !/boundary=/i.test(L) && ae.delete("content-type");
5151
5151
  }
5152
- const ue = be(U({}, j), {
5152
+ const ue = be(U({}, $), {
5153
5153
  signal: pe,
5154
5154
  method: A.toUpperCase(),
5155
5155
  headers: ae.normalize().toJSON(),
@@ -5158,14 +5158,14 @@ const ZT = (e) => {
5158
5158
  credentials: Ce ? ye : void 0
5159
5159
  });
5160
5160
  de = a && new n(S, ue);
5161
- let G = yield a ? ne(de, j) : ne(S, ue);
5161
+ let G = yield a ? ne(de, $) : ne(S, ue);
5162
5162
  const re = p && (te === "stream" || te === "response");
5163
5163
  if (p && (q || re && le)) {
5164
5164
  const L = {};
5165
5165
  ["status", "statusText", "headers"].forEach((Re) => {
5166
5166
  L[Re] = G[Re];
5167
5167
  });
5168
- const Z = X.toFiniteNumber(G.headers.get("content-length")), [P, _e] = q && tE(
5168
+ const Z = K.toFiniteNumber(G.headers.get("content-length")), [P, _e] = q && tE(
5169
5169
  Z,
5170
5170
  sc(nE(q), !0)
5171
5171
  ) || [];
@@ -5177,7 +5177,7 @@ const ZT = (e) => {
5177
5177
  );
5178
5178
  }
5179
5179
  te = te || "text";
5180
- let w = yield g[X.findKey(g, te) || "text"](
5180
+ let w = yield g[K.findKey(g, te) || "text"](
5181
5181
  G,
5182
5182
  _
5183
5183
  );
@@ -5222,7 +5222,7 @@ const qp = {
5222
5222
  get: eb
5223
5223
  }
5224
5224
  };
5225
- X.forEach(qp, (e, t) => {
5225
+ K.forEach(qp, (e, t) => {
5226
5226
  if (e) {
5227
5227
  try {
5228
5228
  Object.defineProperty(e, "name", { value: t });
@@ -5231,9 +5231,9 @@ X.forEach(qp, (e, t) => {
5231
5231
  Object.defineProperty(e, "adapterName", { value: t });
5232
5232
  }
5233
5233
  });
5234
- const lE = (e) => `- ${e}`, eN = (e) => X.isFunction(e) || e === null || e === !1;
5234
+ const lE = (e) => `- ${e}`, eN = (e) => K.isFunction(e) || e === null || e === !1;
5235
5235
  function tN(e, t) {
5236
- e = X.isArray(e) ? e : [e];
5236
+ e = K.isArray(e) ? e : [e];
5237
5237
  const { length: n } = e;
5238
5238
  let r, s;
5239
5239
  const a = {};
@@ -5242,7 +5242,7 @@ function tN(e, t) {
5242
5242
  let c;
5243
5243
  if (s = r, !eN(r) && (s = qp[(c = String(r)).toLowerCase()], s === void 0))
5244
5244
  throw new Be(`Unknown adapter '${c}'`);
5245
- if (s && (X.isFunction(s) || (s = s.get(t))))
5245
+ if (s && (K.isFunction(s) || (s = s.get(t))))
5246
5246
  break;
5247
5247
  a[c || "#" + u] = s;
5248
5248
  }
@@ -5401,7 +5401,7 @@ let ls = class {
5401
5401
  legacyInterceptorReqResOrdering: Vn.transitional(Vn.boolean)
5402
5402
  },
5403
5403
  !1
5404
- ), s != null && (X.isFunction(s) ? n.paramsSerializer = {
5404
+ ), s != null && (K.isFunction(s) ? n.paramsSerializer = {
5405
5405
  serialize: s
5406
5406
  } : Kl.assertOptions(
5407
5407
  s,
@@ -5418,8 +5418,8 @@ let ls = class {
5418
5418
  },
5419
5419
  !0
5420
5420
  ), n.method = (n.method || this.defaults.method || "get").toLowerCase();
5421
- let u = a && X.merge(a.common, a[n.method]);
5422
- a && X.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (_) => {
5421
+ let u = a && K.merge(a.common, a[n.method]);
5422
+ a && K.forEach(["delete", "get", "head", "post", "put", "patch", "common"], (_) => {
5423
5423
  delete a[_];
5424
5424
  }), n.headers = Sn.concat(u, a);
5425
5425
  const c = [];
@@ -5468,7 +5468,7 @@ let ls = class {
5468
5468
  return GT(n, t.params, t.paramsSerializer);
5469
5469
  }
5470
5470
  };
5471
- X.forEach(["delete", "get", "head", "options"], function(t) {
5471
+ K.forEach(["delete", "get", "head", "options"], function(t) {
5472
5472
  ls.prototype[t] = function(n, r) {
5473
5473
  return this.request(
5474
5474
  ds(r || {}, {
@@ -5479,7 +5479,7 @@ X.forEach(["delete", "get", "head", "options"], function(t) {
5479
5479
  );
5480
5480
  };
5481
5481
  });
5482
- X.forEach(["post", "put", "patch"], function(t) {
5482
+ K.forEach(["post", "put", "patch"], function(t) {
5483
5483
  function n(r) {
5484
5484
  return function(a, u, c) {
5485
5485
  return this.request(
@@ -5575,7 +5575,7 @@ function iN(e) {
5575
5575
  };
5576
5576
  }
5577
5577
  function sN(e) {
5578
- return X.isObject(e) && e.isAxiosError === !0;
5578
+ return K.isObject(e) && e.isAxiosError === !0;
5579
5579
  }
5580
5580
  const Xh = {
5581
5581
  Continue: 100,
@@ -5653,7 +5653,7 @@ Object.entries(Xh).forEach(([e, t]) => {
5653
5653
  });
5654
5654
  function ib(e) {
5655
5655
  const t = new ls(e), n = FT(ls.prototype.request, t);
5656
- return X.extend(n, ls.prototype, t, { allOwnKeys: !0 }), X.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
5656
+ return K.extend(n, ls.prototype, t, { allOwnKeys: !0 }), K.extend(n, t, null, { allOwnKeys: !0 }), n.create = function(s) {
5657
5657
  return ib(ds(e, s));
5658
5658
  }, n;
5659
5659
  }
@@ -5673,7 +5673,7 @@ Ot.spread = iN;
5673
5673
  Ot.isAxiosError = sN;
5674
5674
  Ot.mergeConfig = ds;
5675
5675
  Ot.AxiosHeaders = Sn;
5676
- Ot.formToJSON = (e) => XT(X.isHTMLForm(e) ? new FormData(e) : e);
5676
+ Ot.formToJSON = (e) => XT(K.isHTMLForm(e) ? new FormData(e) : e);
5677
5677
  Ot.getAdapter = tb.getAdapter;
5678
5678
  Ot.HttpStatusCode = Xh;
5679
5679
  Ot.default = Ot;
@@ -5717,8 +5717,8 @@ class oN {
5717
5717
  }));
5718
5718
  Se(this, "_mapCopilotUrlToSearchUrl", (t = "", n = !1) => {
5719
5719
  if (t.endsWith("io")) {
5720
- const s = new URL(t).hostname, [, a] = s.split(".");
5721
- return `https://api.${a}.${this.CIMULATE_SEARCH_API_HOST}.io`;
5720
+ const s = new URL(t);
5721
+ return s.hostname = s.hostname.replace(/^copilot\./, "api."), s.origin;
5722
5722
  }
5723
5723
  return n ? `https://staging.${this.CIMULATE_SEARCH_API_HOST}.ai` : `https://prod.${this.CIMULATE_SEARCH_API_HOST}.ai`;
5724
5724
  });
@@ -5838,11 +5838,11 @@ const sb = z.createContext(null), lN = ({
5838
5838
  M.config || M.getConfig();
5839
5839
  }, [M]);
5840
5840
  const B = z.useMemo(() => Cw(A), [A]), te = z.useMemo(() => {
5841
- const ye = (d == null ? void 0 : d.placeholder) || c, j = (d == null ? void 0 : d.buttonLabel) || f;
5841
+ const ye = (d == null ? void 0 : d.placeholder) || c, $ = (d == null ? void 0 : d.buttonLabel) || f;
5842
5842
  let ne = "icon";
5843
5843
  return d != null && d.buttonType ? ne = d.buttonType : f && (ne = "text"), be(U({}, d || {}), {
5844
5844
  placeholder: ye,
5845
- buttonLabel: j,
5845
+ buttonLabel: $,
5846
5846
  buttonType: ne
5847
5847
  });
5848
5848
  }, [d, c, f]), ae = z.useMemo(
@@ -7077,7 +7077,7 @@ const Et = new GN(), XN = (e) => {
7077
7077
  setAskCimPrompts: ae
7078
7078
  } = ys(), {
7079
7079
  connected: ye,
7080
- entryType: j,
7080
+ entryType: $,
7081
7081
  copilot: ne,
7082
7082
  messages: pe,
7083
7083
  groupedMessages: de,
@@ -7263,16 +7263,10 @@ const Et = new GN(), XN = (e) => {
7263
7263
  z.useEffect(() => {
7264
7264
  if (!ne) return;
7265
7265
  const Ae = (Le) => {
7266
- if (!ue) {
7267
- if (!Le.message && Le.eventSourceId) {
7268
- Le.eventSourceId === Te.requestId && ae({
7269
- requestId: Le.eventSourceId,
7270
- message: Le
7271
- });
7272
- return;
7273
- }
7274
- N(Le);
7275
- }
7266
+ ue || (!Le.message && Le.eventSourceId && Le.eventSourceId === Te.requestId && ae({
7267
+ requestId: Le.eventSourceId,
7268
+ message: Le
7269
+ }), N(Le));
7276
7270
  };
7277
7271
  return ne.on("follow_up", Ae), () => {
7278
7272
  ne.off("follow_up", Ae);
@@ -7332,7 +7326,7 @@ const Et = new GN(), XN = (e) => {
7332
7326
  (Ae, Le) => {
7333
7327
  if (!Ae) return;
7334
7328
  const Ie = { userPrompt: Ae };
7335
- switch (Le && (Ie.imageFile = Le), j) {
7329
+ switch (Le && (Ie.imageFile = Le), $) {
7336
7330
  case "ask_cim":
7337
7331
  Re(Ie);
7338
7332
  return;
@@ -7355,7 +7349,7 @@ const Et = new GN(), XN = (e) => {
7355
7349
  }
7356
7350
  },
7357
7351
  [
7358
- j,
7352
+ $,
7359
7353
  d,
7360
7354
  p,
7361
7355
  Z,
@@ -7830,7 +7824,7 @@ const Et = new GN(), XN = (e) => {
7830
7824
  onRefinedSearch: te,
7831
7825
  onRefinedBrowse: ae,
7832
7826
  __features: ye,
7833
- children: j
7827
+ children: $
7834
7828
  }) => /* @__PURE__ */ C.jsx(
7835
7829
  lN,
7836
7830
  {
@@ -7871,7 +7865,7 @@ const Et = new GN(), XN = (e) => {
7871
7865
  onRefinedSearch: te,
7872
7866
  onRefinedBrowse: ae,
7873
7867
  onCopilotEvent: B,
7874
- children: j
7868
+ children: $
7875
7869
  }
7876
7870
  ) })
7877
7871
  }
@@ -7887,7 +7881,7 @@ function Hb(e) {
7887
7881
  } else for (n in e) e[n] && (r && (r += " "), r += n);
7888
7882
  return r;
7889
7883
  }
7890
- function K() {
7884
+ function X() {
7891
7885
  for (var e, t, n = 0, r = "", s = arguments.length; n < s; n++) (e = arguments[n]) && (t = Hb(e)) && (r && (r += " "), r += t);
7892
7886
  return r;
7893
7887
  }
@@ -8038,7 +8032,7 @@ const Xp = ({
8038
8032
  "button",
8039
8033
  {
8040
8034
  "aria-label": t,
8041
- className: K(e, `${$}-close-button`),
8035
+ className: X(e, `${j}-close-button`),
8042
8036
  disabled: r,
8043
8037
  onClick: n,
8044
8038
  children: /* @__PURE__ */ C.jsx(
@@ -8057,7 +8051,7 @@ const Xp = ({
8057
8051
  ), Mc = ({ className: e, children: t, type: n, disabled: r = !1, onClick: s }) => /* @__PURE__ */ C.jsx(
8058
8052
  "button",
8059
8053
  {
8060
- className: K(`${$}-button`, e, { disabled: r }),
8054
+ className: X(`${j}-button`, e, { disabled: r }),
8061
8055
  type: n || "button",
8062
8056
  disabled: r,
8063
8057
  onClick: s,
@@ -8075,7 +8069,7 @@ const Xp = ({
8075
8069
  }) => !n && !t ? null : /* @__PURE__ */ C.jsx(
8076
8070
  "button",
8077
8071
  {
8078
- className: K(e, `${$}-icon-button`),
8072
+ className: X(e, `${j}-icon-button`),
8079
8073
  type: r,
8080
8074
  "aria-label": s,
8081
8075
  title: a,
@@ -8084,7 +8078,7 @@ const Xp = ({
8084
8078
  children: t ? /* @__PURE__ */ C.jsx(
8085
8079
  "img",
8086
8080
  {
8087
- className: K(`${$}-icon-image`),
8081
+ className: X(`${j}-icon-image`),
8088
8082
  src: t,
8089
8083
  alt: s,
8090
8084
  loading: "lazy"
@@ -8099,7 +8093,7 @@ const Xp = ({
8099
8093
  return n ? /* @__PURE__ */ C.jsx(
8100
8094
  "img",
8101
8095
  {
8102
- className: K(`${$}-search-button-icon-image`, t),
8096
+ className: X(`${j}-search-button-icon-image`, t),
8103
8097
  src: n,
8104
8098
  alt: "",
8105
8099
  loading: "lazy"
@@ -8116,11 +8110,11 @@ const Xp = ({
8116
8110
  return /* @__PURE__ */ C.jsx(
8117
8111
  Pr,
8118
8112
  {
8119
- className: K(
8113
+ className: X(
8120
8114
  e,
8121
8115
  n,
8122
8116
  r,
8123
- `${$}-search-button-icon`
8117
+ `${j}-search-button-icon`
8124
8118
  ),
8125
8119
  type: "submit",
8126
8120
  disabled: s,
@@ -8133,11 +8127,11 @@ const Xp = ({
8133
8127
  return /* @__PURE__ */ C.jsxs(
8134
8128
  Mc,
8135
8129
  {
8136
- className: K(
8130
+ className: X(
8137
8131
  e,
8138
8132
  n,
8139
8133
  r,
8140
- `${$}-search-button`
8134
+ `${j}-search-button`
8141
8135
  ),
8142
8136
  type: "submit",
8143
8137
  "aria-label": (t == null ? void 0 : t.buttonAriaLabel) || "",
@@ -8164,7 +8158,7 @@ const Lv = () => {
8164
8158
  return n != null && n.enableCancelSearch ? /* @__PURE__ */ C.jsx(
8165
8159
  Pr,
8166
8160
  {
8167
- className: K(t, `${$}-cancel-button`),
8161
+ className: X(t, `${j}-cancel-button`),
8168
8162
  ariaLabel: "Cancel Copilot chat processing",
8169
8163
  title: "Cancel Copilot request",
8170
8164
  icon: /* @__PURE__ */ C.jsx(Rv, {}),
@@ -9416,11 +9410,11 @@ function Xv() {
9416
9410
  }
9417
9411
  function ye(de) {
9418
9412
  var le;
9419
- for (de = de || []; le = j(); )
9413
+ for (de = de || []; le = $(); )
9420
9414
  le !== !1 && de.push(le);
9421
9415
  return de;
9422
9416
  }
9423
- function j() {
9417
+ function $() {
9424
9418
  var de = M();
9425
9419
  if (!(d != S.charAt(0) || p != S.charAt(1))) {
9426
9420
  for (var le = 2; g != S.charAt(le) && (p != S.charAt(le) || d != S.charAt(le + 1)); )
@@ -9437,7 +9431,7 @@ function Xv() {
9437
9431
  function ne() {
9438
9432
  var de = M(), le = te(r);
9439
9433
  if (le) {
9440
- if (j(), !te(s)) return B("property missing ':'");
9434
+ if ($(), !te(s)) return B("property missing ':'");
9441
9435
  var Te = te(a), Ce = de({
9442
9436
  type: T,
9443
9437
  property: _(le[0].replace(e, g)),
@@ -10212,17 +10206,17 @@ function PO(e) {
10212
10206
  )
10213
10207
  return;
10214
10208
  const te = t.events.length;
10215
- let ae = te, ye, j;
10209
+ let ae = te, ye, $;
10216
10210
  for (; ae--; )
10217
10211
  if (t.events[ae][0] === "exit" && t.events[ae][1].type === "chunkFlow") {
10218
10212
  if (ye) {
10219
- j = t.events[ae][1].end;
10213
+ $ = t.events[ae][1].end;
10220
10214
  break;
10221
10215
  }
10222
10216
  ye = !0;
10223
10217
  }
10224
10218
  for (v(r), B = te; B < t.events.length; )
10225
- t.events[B][1].end = U({}, j), B++;
10219
+ t.events[B][1].end = U({}, $), B++;
10226
10220
  Rn(t.events, ae + 1, 0, t.events.slice(te)), t.events.length = B;
10227
10221
  }
10228
10222
  }
@@ -10501,8 +10495,8 @@ function $O(e, t, n) {
10501
10495
  }
10502
10496
  function q(B, te, ae) {
10503
10497
  let ye = 0;
10504
- return j;
10505
- function j(Te) {
10498
+ return $;
10499
+ function $(Te) {
10506
10500
  return B.enter("lineEnding"), B.consume(Te), B.exit("lineEnding"), ne;
10507
10501
  }
10508
10502
  function ne(Te) {
@@ -11191,10 +11185,10 @@ function TP(e, t, n) {
11191
11185
  return P === 62 ? (e.consume(P), r.interrupt ? t : pe) : n(P);
11192
11186
  }
11193
11187
  function D(P) {
11194
- return Ke(P) ? (e.consume(P), D) : j(P);
11188
+ return Ke(P) ? (e.consume(P), D) : $(P);
11195
11189
  }
11196
11190
  function N(P) {
11197
- return P === 47 ? (e.consume(P), j) : P === 58 || P === 95 || dn(P) ? (e.consume(P), M) : Ke(P) ? (e.consume(P), N) : j(P);
11191
+ return P === 47 ? (e.consume(P), $) : P === 58 || P === 95 || dn(P) ? (e.consume(P), M) : Ke(P) ? (e.consume(P), N) : $(P);
11198
11192
  }
11199
11193
  function M(P) {
11200
11194
  return P === 45 || P === 46 || P === 58 || P === 95 || rn(P) ? (e.consume(P), M) : q(P);
@@ -11214,7 +11208,7 @@ function TP(e, t, n) {
11214
11208
  function ye(P) {
11215
11209
  return P === 47 || P === 62 || Ke(P) ? N(P) : n(P);
11216
11210
  }
11217
- function j(P) {
11211
+ function $(P) {
11218
11212
  return P === 62 ? (e.consume(P), ne) : n(P);
11219
11213
  }
11220
11214
  function ne(P) {
@@ -11338,10 +11332,10 @@ function xP(e, t, n) {
11338
11332
  return w === 45 || rn(w) ? (e.consume(w), ae) : w === 47 || w === 62 || lt(w) ? ye(w) : n(w);
11339
11333
  }
11340
11334
  function ye(w) {
11341
- return w === 47 ? (e.consume(w), Ce) : w === 58 || w === 95 || dn(w) ? (e.consume(w), j) : Fe(w) ? (u = ye, ue(w)) : Ke(w) ? (e.consume(w), ye) : Ce(w);
11335
+ return w === 47 ? (e.consume(w), Ce) : w === 58 || w === 95 || dn(w) ? (e.consume(w), $) : Fe(w) ? (u = ye, ue(w)) : Ke(w) ? (e.consume(w), ye) : Ce(w);
11342
11336
  }
11343
- function j(w) {
11344
- return w === 45 || w === 46 || w === 58 || w === 95 || rn(w) ? (e.consume(w), j) : ne(w);
11337
+ function $(w) {
11338
+ return w === 45 || w === 46 || w === 58 || w === 95 || rn(w) ? (e.consume(w), $) : ne(w);
11345
11339
  }
11346
11340
  function ne(w) {
11347
11341
  return w === 61 ? (e.consume(w), pe) : Fe(w) ? (u = ne, ue(w)) : Ke(w) ? (e.consume(w), ne) : ye(w);
@@ -11928,7 +11922,7 @@ function cI(e, t, n) {
11928
11922
  };
11929
11923
  }
11930
11924
  function S(ne) {
11931
- s[ne.line] = ne.column, j();
11925
+ s[ne.line] = ne.column, $();
11932
11926
  }
11933
11927
  function A() {
11934
11928
  let ne;
@@ -11945,7 +11939,7 @@ function cI(e, t, n) {
11945
11939
  p = p(ne);
11946
11940
  }
11947
11941
  function D(ne) {
11948
- Fe(ne) ? (r.line++, r.column = 1, r.offset += ne === -3 ? 2 : 1, j()) : ne !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
11942
+ Fe(ne) ? (r.line++, r.column = 1, r.offset += ne === -3 ? 2 : 1, $()) : ne !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
11949
11943
  // strings.
11950
11944
  /** @type {string} */
11951
11945
  u[r._index].length && (r._bufferIndex = -1, r._index++)), d.previous = ne;
@@ -12025,10 +12019,10 @@ function cI(e, t, n) {
12025
12019
  restore: Ce
12026
12020
  };
12027
12021
  function Ce() {
12028
- r = ne, d.previous = pe, d.currentConstruct = de, d.events.length = le, c = Te, j();
12022
+ r = ne, d.previous = pe, d.currentConstruct = de, d.events.length = le, c = Te, $();
12029
12023
  }
12030
12024
  }
12031
- function j() {
12025
+ function $() {
12032
12026
  r.line in s && r.column < 2 && (r.column = s[r.line], r.offset += s[r.line] - 1);
12033
12027
  }
12034
12028
  }
@@ -12220,7 +12214,7 @@ function bI(e) {
12220
12214
  autolinkEmail: Ze,
12221
12215
  autolinkProtocol: $e,
12222
12216
  blockQuote: f(),
12223
- characterEscapeValue: j,
12217
+ characterEscapeValue: $,
12224
12218
  characterReferenceMarkerHexadecimal: Re,
12225
12219
  characterReferenceMarkerNumeric: Re,
12226
12220
  characterReferenceValue: Pe,
@@ -12229,11 +12223,11 @@ function bI(e) {
12229
12223
  codeFencedFence: S,
12230
12224
  codeFencedFenceInfo: T,
12231
12225
  codeFencedFenceMeta: _,
12232
- codeFlowValue: j,
12226
+ codeFlowValue: $,
12233
12227
  codeIndented: f(v),
12234
12228
  codeText: f(Te),
12235
- codeTextData: j,
12236
- data: j,
12229
+ codeTextData: $,
12230
+ data: $,
12237
12231
  definition: f(),
12238
12232
  definitionDestinationString: M,
12239
12233
  definitionLabelString: D,
@@ -12242,9 +12236,9 @@ function bI(e) {
12242
12236
  hardBreakEscape: f(pe),
12243
12237
  hardBreakTrailing: f(pe),
12244
12238
  htmlFlow: f(de),
12245
- htmlFlowData: j,
12239
+ htmlFlowData: $,
12246
12240
  htmlText: f(le),
12247
- htmlTextData: j,
12241
+ htmlTextData: $,
12248
12242
  image: f(ue),
12249
12243
  label: re,
12250
12244
  labelText: G,
@@ -12471,7 +12465,7 @@ function bI(e) {
12471
12465
  end: void 0
12472
12466
  }, Oe.push(He)), this.stack.push(He);
12473
12467
  }
12474
- function j(Q) {
12468
+ function $(Q) {
12475
12469
  const he = this.stack.pop();
12476
12470
  he.value += this.sliceSerialize(Q), he.position.end = Ai(Q.end);
12477
12471
  }
@@ -12482,7 +12476,7 @@ function bI(e) {
12482
12476
  Oe.position.end = Ai(Q.end), this.data.atHardBreak = void 0;
12483
12477
  return;
12484
12478
  }
12485
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(he.type) && (ye.call(this, Q), j.call(this, Q));
12479
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(he.type) && (ye.call(this, Q), $.call(this, Q));
12486
12480
  }
12487
12481
  function pe() {
12488
12482
  this.data.atHardBreak = !0;
@@ -12562,12 +12556,12 @@ function bI(e) {
12562
12556
  he.position.end = Ai(Q.end);
12563
12557
  }
12564
12558
  function $e(Q) {
12565
- j.call(this, Q);
12559
+ $.call(this, Q);
12566
12560
  const he = this.stack[this.stack.length - 1];
12567
12561
  he.url = this.sliceSerialize(Q);
12568
12562
  }
12569
12563
  function Ze(Q) {
12570
- j.call(this, Q);
12564
+ $.call(this, Q);
12571
12565
  const he = this.stack[this.stack.length - 1];
12572
12566
  he.url = "mailto:" + this.sliceSerialize(Q);
12573
12567
  }
@@ -22722,7 +22716,7 @@ const xS = ({
22722
22716
  return /* @__PURE__ */ C.jsx(
22723
22717
  "a",
22724
22718
  be(U(U({
22725
- className: K(e, `${$}-link`)
22719
+ className: X(e, `${j}-link`)
22726
22720
  }, n ? { href: n, target: a } : {}), r ? { title: r } : {}), {
22727
22721
  rel: "noopener noreferrer",
22728
22722
  children: s
@@ -22730,14 +22724,14 @@ const xS = ({
22730
22724
  );
22731
22725
  }, S4 = () => {
22732
22726
  const { disclaimerText: e, disclaimerMarkdown: t, globalClassName: n, openLinksInNewTab: r } = ct();
22733
- return !e && !t ? null : /* @__PURE__ */ C.jsx("div", { className: K(n, `${$}-disclaimer`), children: t ? /* @__PURE__ */ C.jsx(
22727
+ return !e && !t ? null : /* @__PURE__ */ C.jsx("div", { className: X(n, `${j}-disclaimer`), children: t ? /* @__PURE__ */ C.jsx(
22734
22728
  k_,
22735
22729
  {
22736
22730
  rehypePlugins: [TS, _4],
22737
22731
  components: {
22738
- ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: K(n, `${$}-ul`), children: s }),
22739
- ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: K(n, `${$}-ol`), children: s }),
22740
- li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: K(n, `${$}-li`), children: s }),
22732
+ ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: X(n, `${j}-ul`), children: s }),
22733
+ ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: X(n, `${j}-ol`), children: s }),
22734
+ li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: X(n, `${j}-li`), children: s }),
22741
22735
  a: ({ href: s, title: a, children: u }) => /* @__PURE__ */ C.jsx(
22742
22736
  xS,
22743
22737
  {
@@ -22751,23 +22745,23 @@ const xS = ({
22751
22745
  img: ({ src: s, alt: a }) => /* @__PURE__ */ C.jsx(
22752
22746
  "img",
22753
22747
  {
22754
- className: K(n, `${$}-disclaimer-image`),
22748
+ className: X(n, `${j}-disclaimer-image`),
22755
22749
  src: s,
22756
22750
  alt: a
22757
22751
  }
22758
22752
  ),
22759
- p: ({ children: s }) => /* @__PURE__ */ C.jsx("p", { className: K(n, `${$}-disclaimer-text`), children: s }),
22753
+ p: ({ children: s }) => /* @__PURE__ */ C.jsx("p", { className: X(n, `${j}-disclaimer-text`), children: s }),
22760
22754
  span: ({ children: s }) => /* @__PURE__ */ C.jsx(
22761
22755
  "span",
22762
22756
  {
22763
- className: K(n, `${$}-disclaimer-text-span`),
22757
+ className: X(n, `${j}-disclaimer-text-span`),
22764
22758
  children: s
22765
22759
  }
22766
22760
  )
22767
22761
  },
22768
22762
  children: t
22769
22763
  }
22770
- ) : /* @__PURE__ */ C.jsx("p", { className: K(n, `${$}-disclaimer-text`), children: e }) });
22764
+ ) : /* @__PURE__ */ C.jsx("p", { className: X(n, `${j}-disclaimer-text`), children: e }) });
22771
22765
  }, gm = ({
22772
22766
  className: e,
22773
22767
  isLoading: t,
@@ -22797,8 +22791,8 @@ const xS = ({
22797
22791
  let ae = "";
22798
22792
  try {
22799
22793
  ae = yield D();
22800
- } catch (j) {
22801
- c == null || c.error("Error converting file to base64:", j), alert("There was an error processing the file. Please try again.");
22794
+ } catch ($) {
22795
+ c == null || c.error("Error converting file to base64:", $), alert("There was an error processing the file. Please try again.");
22802
22796
  return;
22803
22797
  }
22804
22798
  te && (M(), g.current.value = "", r(te, ae));
@@ -22806,30 +22800,30 @@ const xS = ({
22806
22800
  return /* @__PURE__ */ C.jsxs(
22807
22801
  "div",
22808
22802
  {
22809
- className: K(
22803
+ className: X(
22810
22804
  f,
22811
22805
  e,
22812
22806
  n,
22813
22807
  a && "with-attachments",
22814
- `${$}-search-bar-wrapper`
22808
+ `${j}-search-bar-wrapper`
22815
22809
  ),
22816
22810
  children: [
22817
22811
  a && /* @__PURE__ */ C.jsxs(
22818
22812
  "div",
22819
22813
  {
22820
- className: K(
22814
+ className: X(
22821
22815
  f,
22822
22816
  n,
22823
- `${$}-image-file-preview`
22817
+ `${j}-image-file-preview`
22824
22818
  ),
22825
22819
  children: [
22826
22820
  /* @__PURE__ */ C.jsx(
22827
22821
  "img",
22828
22822
  {
22829
- className: K(
22823
+ className: X(
22830
22824
  f,
22831
22825
  n,
22832
- `${$}-image-preview`
22826
+ `${j}-image-preview`
22833
22827
  ),
22834
22828
  src: URL.createObjectURL(a),
22835
22829
  alt: `${_} preview`,
@@ -22839,10 +22833,10 @@ const xS = ({
22839
22833
  /* @__PURE__ */ C.jsx(
22840
22834
  "span",
22841
22835
  {
22842
- className: K(
22836
+ className: X(
22843
22837
  f,
22844
22838
  n,
22845
- `${$}-image-file-name`
22839
+ `${j}-image-file-name`
22846
22840
  ),
22847
22841
  title: _,
22848
22842
  children: _
@@ -22851,7 +22845,7 @@ const xS = ({
22851
22845
  /* @__PURE__ */ C.jsx(
22852
22846
  Xp,
22853
22847
  {
22854
- className: K(n, "clear-attachment"),
22848
+ className: X(n, "clear-attachment"),
22855
22849
  label: "Remove image",
22856
22850
  onClick: M
22857
22851
  }
@@ -22862,32 +22856,32 @@ const xS = ({
22862
22856
  /* @__PURE__ */ C.jsxs(
22863
22857
  "form",
22864
22858
  {
22865
- className: K(
22859
+ className: X(
22866
22860
  f,
22867
22861
  e,
22868
22862
  n,
22869
- `${$}-search-bar`
22863
+ `${j}-search-bar`
22870
22864
  ),
22871
- name: `${$}-search-form`,
22865
+ name: `${j}-search-form`,
22872
22866
  onSubmit: q,
22873
22867
  children: [
22874
22868
  /* @__PURE__ */ C.jsx(
22875
22869
  "span",
22876
22870
  {
22877
22871
  role: "status",
22878
- className: K(`${$}-connection-status-icon`, A)
22872
+ className: X(`${j}-connection-status-icon`, A)
22879
22873
  }
22880
22874
  ),
22881
22875
  T && /* @__PURE__ */ C.jsxs(
22882
22876
  "div",
22883
22877
  {
22884
22878
  role: "button",
22885
- className: K(
22879
+ className: X(
22886
22880
  f,
22887
22881
  e,
22888
22882
  n,
22889
22883
  v && "disabled",
22890
- `${$}-image-upload-button`
22884
+ `${j}-image-upload-button`
22891
22885
  ),
22892
22886
  "aria-disabled": v,
22893
22887
  tabIndex: 0,
@@ -22895,12 +22889,12 @@ const xS = ({
22895
22889
  /* @__PURE__ */ C.jsx(
22896
22890
  "label",
22897
22891
  {
22898
- className: K(
22892
+ className: X(
22899
22893
  f,
22900
22894
  e,
22901
22895
  n,
22902
22896
  v && "disabled",
22903
- `${$}-image-upload-label`
22897
+ `${j}-image-upload-label`
22904
22898
  ),
22905
22899
  htmlFor: "image-input",
22906
22900
  "aria-label": "Upload an image",
@@ -22910,17 +22904,17 @@ const xS = ({
22910
22904
  /* @__PURE__ */ C.jsx(
22911
22905
  "input",
22912
22906
  {
22913
- className: K(
22907
+ className: X(
22914
22908
  f,
22915
22909
  e,
22916
22910
  n,
22917
- `${$}-file-input`
22911
+ `${j}-file-input`
22918
22912
  ),
22919
22913
  type: "file",
22920
22914
  ref: b,
22921
22915
  id: "image-input",
22922
22916
  accept: ".png,.jpg,.jpeg,.avif,.svg,.gif,.tiff,.tif,.webp",
22923
- name: `${$}-file-input`,
22917
+ name: `${j}-file-input`,
22924
22918
  disabled: v,
22925
22919
  onInput: N
22926
22920
  }
@@ -22931,16 +22925,16 @@ const xS = ({
22931
22925
  /* @__PURE__ */ C.jsx(
22932
22926
  "input",
22933
22927
  {
22934
- className: K(
22928
+ className: X(
22935
22929
  f,
22936
22930
  e,
22937
22931
  n,
22938
- `${$}-search-input`
22932
+ `${j}-search-input`
22939
22933
  ),
22940
22934
  type: "text",
22941
22935
  ref: g,
22942
22936
  placeholder: d == null ? void 0 : d.placeholder,
22943
- name: `${$}-user-input`
22937
+ name: `${j}-user-input`
22944
22938
  }
22945
22939
  ),
22946
22940
  /* @__PURE__ */ C.jsx(Dv, { isLoading: v }),
@@ -23521,14 +23515,14 @@ function RD() {
23521
23515
  g = null, b = w, T = !1;
23522
23516
  }
23523
23517
  }
23524
- var B = !1, te = null, ae = -1, ye = 5, j = -1;
23518
+ var B = !1, te = null, ae = -1, ye = 5, $ = -1;
23525
23519
  function ne() {
23526
- return !(e.unstable_now() - j < ye);
23520
+ return !(e.unstable_now() - $ < ye);
23527
23521
  }
23528
23522
  function pe() {
23529
23523
  if (te !== null) {
23530
23524
  var G = e.unstable_now();
23531
- j = G;
23525
+ $ = G;
23532
23526
  var re = !0;
23533
23527
  try {
23534
23528
  re = te(!0, G);
@@ -23737,7 +23731,7 @@ function DD() {
23737
23731
  var E = A.hasOwnProperty(o) ? A[o] : null;
23738
23732
  (E !== null ? E.type !== 0 : h || !(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N") && (_(o, l, E, h) && (l = null), h || E === null ? b(o) && (l === null ? i.removeAttribute(o) : i.setAttribute(o, "" + l)) : E.mustUseProperty ? i[E.propertyName] = l === null ? E.type === 3 ? !1 : "" : l : (o = E.attributeName, h = E.attributeNamespace, l === null ? i.removeAttribute(o) : (E = E.type, l = E === 3 || E === 4 && l === !0 ? "" : "" + l, h ? i.setAttributeNS(h, o, l) : i.setAttribute(o, l))));
23739
23733
  }
23740
- var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, q = /* @__PURE__ */ Symbol.for("react.element"), B = /* @__PURE__ */ Symbol.for("react.portal"), te = /* @__PURE__ */ Symbol.for("react.fragment"), ae = /* @__PURE__ */ Symbol.for("react.strict_mode"), ye = /* @__PURE__ */ Symbol.for("react.profiler"), j = /* @__PURE__ */ Symbol.for("react.provider"), ne = /* @__PURE__ */ Symbol.for("react.context"), pe = /* @__PURE__ */ Symbol.for("react.forward_ref"), de = /* @__PURE__ */ Symbol.for("react.suspense"), le = /* @__PURE__ */ Symbol.for("react.suspense_list"), Te = /* @__PURE__ */ Symbol.for("react.memo"), Ce = /* @__PURE__ */ Symbol.for("react.lazy"), ue = /* @__PURE__ */ Symbol.for("react.offscreen"), G = Symbol.iterator;
23734
+ var M = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED, q = /* @__PURE__ */ Symbol.for("react.element"), B = /* @__PURE__ */ Symbol.for("react.portal"), te = /* @__PURE__ */ Symbol.for("react.fragment"), ae = /* @__PURE__ */ Symbol.for("react.strict_mode"), ye = /* @__PURE__ */ Symbol.for("react.profiler"), $ = /* @__PURE__ */ Symbol.for("react.provider"), ne = /* @__PURE__ */ Symbol.for("react.context"), pe = /* @__PURE__ */ Symbol.for("react.forward_ref"), de = /* @__PURE__ */ Symbol.for("react.suspense"), le = /* @__PURE__ */ Symbol.for("react.suspense_list"), Te = /* @__PURE__ */ Symbol.for("react.memo"), Ce = /* @__PURE__ */ Symbol.for("react.lazy"), ue = /* @__PURE__ */ Symbol.for("react.offscreen"), G = Symbol.iterator;
23741
23735
  function re(i) {
23742
23736
  return i === null || typeof i != "object" ? null : (i = G && i[G] || i["@@iterator"], typeof i == "function" ? i : null);
23743
23737
  }
@@ -23851,7 +23845,7 @@ function DD() {
23851
23845
  if (typeof i == "object") switch (i.$$typeof) {
23852
23846
  case ne:
23853
23847
  return (i.displayName || "Context") + ".Consumer";
23854
- case j:
23848
+ case $:
23855
23849
  return (i._context.displayName || "Context") + ".Provider";
23856
23850
  case pe:
23857
23851
  var o = i.render;
@@ -28497,7 +28491,7 @@ Error generating stack: ` + y.message + `
28497
28491
  return Tl(l, E, y, o);
28498
28492
  default:
28499
28493
  if (typeof i == "object" && i !== null) switch (i.$$typeof) {
28500
- case j:
28494
+ case $:
28501
28495
  x = 10;
28502
28496
  break e;
28503
28497
  case ne:
@@ -28938,7 +28932,7 @@ function Cm(e, t = {}) {
28938
28932
  context: f,
28939
28933
  event: T(),
28940
28934
  prop: a,
28941
- send: j,
28935
+ send: $,
28942
28936
  action: v,
28943
28937
  guard: D,
28944
28938
  track: BD,
@@ -29020,7 +29014,7 @@ function Cm(e, t = {}) {
29020
29014
  });
29021
29015
  };
29022
29016
  }, []);
29023
- const ye = () => "ref" in B ? B.ref.current : B.get(), j = (ue) => {
29017
+ const ye = () => "ref" in B ? B.ref.current : B.get(), $ = (ue) => {
29024
29018
  queueMicrotask(() => {
29025
29019
  var P, _e, Re, Pe, qe;
29026
29020
  if (ae.current !== to.Started) return;
@@ -29043,7 +29037,7 @@ function Cm(e, t = {}) {
29043
29037
  };
29044
29038
  return (Ce = e.watch) == null || Ce.call(e, A()), {
29045
29039
  state: _(),
29046
- send: j,
29040
+ send: $,
29047
29041
  context: f,
29048
29042
  prop: a,
29049
29043
  scope: n,
@@ -29662,7 +29656,7 @@ const aM = (e) => ({
29662
29656
  }, _ = vm(a), S = Nm(_), A = yield c.getDimensions(p), v = _ === "y", D = v ? "top" : "left", N = v ? "bottom" : "right", M = v ? "clientHeight" : "clientWidth", q = u.reference[S] + u.reference[_] - T[_] - u.floating[S], B = T[_] - u.reference[_], te = yield c.getOffsetParent == null ? void 0 : c.getOffsetParent(p);
29663
29657
  let ae = te ? te[M] : 0;
29664
29658
  (!ae || !(yield c.isElement == null ? void 0 : c.isElement(te))) && (ae = f.floating[M] || u.floating[S]);
29665
- const ye = q / 2 - B / 2, j = ae / 2 - A[S] / 2 - 1, ne = Li(b[D], j), pe = Li(b[N], j), de = ne, le = ae - A[S] - pe, Te = ae / 2 - A[S] / 2 + ye, Ce = mp(de, Te, le), ue = !d.arrow && Ro(a) != null && Te !== Ce && u.reference[S] / 2 - (Te < de ? ne : pe) - A[S] / 2 < 0, G = ue ? Te < de ? Te - de : Te - le : 0;
29659
+ const ye = q / 2 - B / 2, $ = ae / 2 - A[S] / 2 - 1, ne = Li(b[D], $), pe = Li(b[N], $), de = ne, le = ae - A[S] - pe, Te = ae / 2 - A[S] / 2 + ye, Ce = mp(de, Te, le), ue = !d.arrow && Ro(a) != null && Te !== Ce && u.reference[S] / 2 - (Te < de ? ne : pe) - A[S] / 2 < 0, G = ue ? Te < de ? Te - de : Te - le : 0;
29666
29660
  return {
29667
29661
  [_]: T[_] + G,
29668
29662
  data: U({
@@ -29708,16 +29702,16 @@ const aM = (e) => ({
29708
29702
  return {};
29709
29703
  const D = ei(a), N = Ar(f), M = ei(f) === f, q = yield d.isRTL == null ? void 0 : d.isRTL(p.floating), B = T || (M || !A ? [Ec(f)] : eM(f)), te = S !== "none";
29710
29704
  !T && te && B.push(...iM(f, A, S, q));
29711
- const ae = [f, ...B], ye = yield Qa(n, v), j = [];
29705
+ const ae = [f, ...B], ye = yield Qa(n, v), $ = [];
29712
29706
  let ne = ((s = u.flip) == null ? void 0 : s.overflows) || [];
29713
- if (g && j.push(ye[D]), b) {
29707
+ if (g && $.push(ye[D]), b) {
29714
29708
  const Ce = ZD(a, c, q);
29715
- j.push(ye[Ce[0]], ye[Ce[1]]);
29709
+ $.push(ye[Ce[0]], ye[Ce[1]]);
29716
29710
  }
29717
29711
  if (ne = [...ne, {
29718
29712
  placement: a,
29719
- overflows: j
29720
- }], !j.every((Ce) => Ce <= 0)) {
29713
+ overflows: $
29714
+ }], !$.every((Ce) => Ce <= 0)) {
29721
29715
  var pe, de;
29722
29716
  const Ce = (((pe = u.flip) == null ? void 0 : pe.index) || 0) + 1, ue = ae[Ce];
29723
29717
  if (ue && (!(b === "alignment" ? N !== Ar(ue) : !1) || // We leave the current main axis only if every placement on that axis
@@ -30004,8 +29998,8 @@ const fM = function(e) {
30004
29998
  availableWidth: ye,
30005
29999
  availableHeight: ae
30006
30000
  }));
30007
- const j = yield c.getDimensions(f.floating);
30008
- return S !== j.width || A !== j.height ? {
30001
+ const $ = yield c.getDimensions(f.floating);
30002
+ return S !== $.width || A !== $.height ? {
30009
30003
  reset: {
30010
30004
  rects: !0
30011
30005
  }
@@ -30552,8 +30546,8 @@ function JM(e, t) {
30552
30546
  return {
30553
30547
  name: "transformOrigin",
30554
30548
  fn(n) {
30555
- var ye, j, ne, pe, de;
30556
- const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = QM(f), p = ((ye = s.arrow) == null ? void 0 : ye.x) || 0, g = ((j = s.arrow) == null ? void 0 : j.y) || 0, b = (t == null ? void 0 : t.clientWidth) || 0, T = (t == null ? void 0 : t.clientHeight) || 0, _ = p + b / 2, S = g + T / 2, A = Math.abs(((ne = s.shift) == null ? void 0 : ne.y) || 0), v = u.reference.height / 2, D = T / 2, N = (de = (pe = e.offset) == null ? void 0 : pe.mainAxis) != null ? de : e.gutter, M = typeof N == "number" ? N + D : N != null ? N : D, q = A > M, B = {
30549
+ var ye, $, ne, pe, de;
30550
+ const { elements: r, middlewareData: s, placement: a, rects: u, y: c } = n, f = a.split("-")[0], d = QM(f), p = ((ye = s.arrow) == null ? void 0 : ye.x) || 0, g = (($ = s.arrow) == null ? void 0 : $.y) || 0, b = (t == null ? void 0 : t.clientWidth) || 0, T = (t == null ? void 0 : t.clientHeight) || 0, _ = p + b / 2, S = g + T / 2, A = Math.abs(((ne = s.shift) == null ? void 0 : ne.y) || 0), v = u.reference.height / 2, D = T / 2, N = (de = (pe = e.offset) == null ? void 0 : pe.mainAxis) != null ? de : e.gutter, M = typeof N == "number" ? N + D : N != null ? N : D, q = A > M, B = {
30557
30551
  top: `${_}px calc(100% + ${M}px)`,
30558
30552
  bottom: `${_}px ${-M}px`,
30559
30553
  left: `calc(100% + ${M}px) ${S}px`,
@@ -30927,8 +30921,8 @@ function A5(e, t) {
30927
30921
  const T = /* @__PURE__ */ new Set(), _ = gs(e == null ? void 0 : e.getRootNode());
30928
30922
  function S(N) {
30929
30923
  function M(q) {
30930
- var ye, j;
30931
- const B = u && !xy() ? xn : (ne) => ne(), te = q != null ? q : N, ae = (j = (ye = te == null ? void 0 : te.composedPath) == null ? void 0 : ye.call(te)) != null ? j : [te == null ? void 0 : te.target];
30924
+ var ye, $;
30925
+ const B = u && !xy() ? xn : (ne) => ne(), te = q != null ? q : N, ae = ($ = (ye = te == null ? void 0 : te.composedPath) == null ? void 0 : ye.call(te)) != null ? $ : [te == null ? void 0 : te.target];
30932
30926
  B(() => {
30933
30927
  const ne = _ ? ae[0] : Kr(N);
30934
30928
  if (!(!e || !b(N, ne))) {
@@ -32024,8 +32018,8 @@ const Z5 = ({
32024
32018
  return /* @__PURE__ */ C.jsxs(
32025
32019
  "button",
32026
32020
  {
32027
- className: K(
32028
- `${$}-overflow-menu-button`,
32021
+ className: X(
32022
+ `${j}-overflow-menu-button`,
32029
32023
  "clear-chat-button",
32030
32024
  t
32031
32025
  ),
@@ -32051,9 +32045,9 @@ const Z5 = ({
32051
32045
  f2,
32052
32046
  {
32053
32047
  "aria-label": `Overflow menu for ${t}`,
32054
- className: K(
32055
- `${$}-overflow-menu-button-trigger`,
32056
- `${$}-icon-button`,
32048
+ className: X(
32049
+ `${j}-overflow-menu-button-trigger`,
32050
+ `${j}-icon-button`,
32057
32051
  a,
32058
32052
  e,
32059
32053
  t
@@ -32064,8 +32058,8 @@ const Z5 = ({
32064
32058
  /* @__PURE__ */ C.jsx(jS, { children: /* @__PURE__ */ C.jsxs(
32065
32059
  zS,
32066
32060
  {
32067
- className: K(
32068
- `${$}-overflow-menu-list`,
32061
+ className: X(
32062
+ `${j}-overflow-menu-list`,
32069
32063
  a,
32070
32064
  t
32071
32065
  ),
@@ -32099,9 +32093,9 @@ const h2 = (r) => {
32099
32093
  U({
32100
32094
  icon: /* @__PURE__ */ C.jsx(d2, { size: "16px" }),
32101
32095
  ariaLabel: "Clear Chat",
32102
- className: K(
32096
+ className: X(
32103
32097
  a,
32104
- `${$}-clear-chat-icon-button`,
32098
+ `${j}-clear-chat-icon-button`,
32105
32099
  t
32106
32100
  ),
32107
32101
  onClick: c
@@ -32119,9 +32113,9 @@ const h2 = (r) => {
32119
32113
  return t ? /* @__PURE__ */ C.jsx(
32120
32114
  Pr,
32121
32115
  {
32122
- className: K(
32116
+ className: X(
32123
32117
  n,
32124
- `${$}-toggle-minimize-button`,
32118
+ `${j}-toggle-minimize-button`,
32125
32119
  e
32126
32120
  ),
32127
32121
  ariaLabel: "Toggle Minimize",
@@ -32132,10 +32126,10 @@ const h2 = (r) => {
32132
32126
  ) : /* @__PURE__ */ C.jsxs(
32133
32127
  "button",
32134
32128
  {
32135
- className: K(
32129
+ className: X(
32136
32130
  n,
32137
- `${$}-overflow-menu-button`,
32138
- `${$}-toggle-minimize-button`,
32131
+ `${j}-overflow-menu-button`,
32132
+ `${j}-toggle-minimize-button`,
32139
32133
  e
32140
32134
  ),
32141
32135
  onClick: s,
@@ -32155,9 +32149,9 @@ const h2 = (r) => {
32155
32149
  return t ? /* @__PURE__ */ C.jsx(
32156
32150
  Pr,
32157
32151
  {
32158
- className: K(
32152
+ className: X(
32159
32153
  n,
32160
- `${$}-toggle-modal-button`,
32154
+ `${j}-toggle-modal-button`,
32161
32155
  e
32162
32156
  ),
32163
32157
  ariaLabel: "Toggle Modal",
@@ -32167,10 +32161,10 @@ const h2 = (r) => {
32167
32161
  ) : /* @__PURE__ */ C.jsxs(
32168
32162
  "button",
32169
32163
  {
32170
- className: K(
32164
+ className: X(
32171
32165
  n,
32172
- `${$}-overflow-menu-button`,
32173
- `${$}-toggle-modal-button`,
32166
+ `${j}-overflow-menu-button`,
32167
+ `${j}-toggle-modal-button`,
32174
32168
  e
32175
32169
  ),
32176
32170
  onClick: r,
@@ -32191,21 +32185,21 @@ const h2 = (r) => {
32191
32185
  return /* @__PURE__ */ C.jsxs(
32192
32186
  "div",
32193
32187
  {
32194
- className: K(
32188
+ className: X(
32195
32189
  t,
32196
- `${$}-ask-cim-entry-message`,
32197
- `${$}-message-group`,
32190
+ `${j}-ask-cim-entry-message`,
32191
+ `${j}-message-group`,
32198
32192
  e ? "standalone" : "embedded"
32199
32193
  ),
32200
32194
  children: [
32201
- /* @__PURE__ */ C.jsx("p", { className: K(t, `${$}-ask-cim-entry-text`), children: f }),
32195
+ /* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-ask-cim-entry-text`), children: f }),
32202
32196
  !!(d != null && d.length) && /* @__PURE__ */ C.jsx(
32203
32197
  "div",
32204
32198
  {
32205
- className: K(
32199
+ className: X(
32206
32200
  t,
32207
- `${$}-ask-cim-suggestions-container`,
32208
- `${$}-suggestion-container`,
32201
+ `${j}-ask-cim-suggestions-container`,
32202
+ `${j}-suggestion-container`,
32209
32203
  e ? "standalone" : "embedded"
32210
32204
  ),
32211
32205
  children: d.map((b) => {
@@ -32214,10 +32208,10 @@ const h2 = (r) => {
32214
32208
  Mc,
32215
32209
  {
32216
32210
  disabled: u,
32217
- className: K(
32211
+ className: X(
32218
32212
  t,
32219
- `${$}-ask-cim-suggestion-button`,
32220
- `${$}-suggestion-button`,
32213
+ `${j}-ask-cim-suggestion-button`,
32214
+ `${j}-suggestion-button`,
32221
32215
  e ? "standalone" : "embedded"
32222
32216
  ),
32223
32217
  onClick: p(
@@ -32244,7 +32238,7 @@ const h2 = (r) => {
32244
32238
  return /* @__PURE__ */ C.jsxs(
32245
32239
  "div",
32246
32240
  {
32247
- className: K(r, `${$}-product-tile`, {
32241
+ className: X(r, `${j}-product-tile`, {
32248
32242
  embedded: !e,
32249
32243
  standalone: e
32250
32244
  }),
@@ -32259,7 +32253,7 @@ const h2 = (r) => {
32259
32253
  children: /* @__PURE__ */ C.jsx(
32260
32254
  "img",
32261
32255
  {
32262
- className: K(r, `${$}-product-tile-image`, {
32256
+ className: X(r, `${j}-product-tile-image`, {
32263
32257
  embedded: !e,
32264
32258
  standalone: e
32265
32259
  }),
@@ -32272,7 +32266,7 @@ const h2 = (r) => {
32272
32266
  ) : /* @__PURE__ */ C.jsx(
32273
32267
  "img",
32274
32268
  {
32275
- className: K(r, `${$}-product-tile-image`, {
32269
+ className: X(r, `${j}-product-tile-image`, {
32276
32270
  embedded: !e,
32277
32271
  standalone: e
32278
32272
  }),
@@ -32284,18 +32278,18 @@ const h2 = (r) => {
32284
32278
  /* @__PURE__ */ C.jsxs(
32285
32279
  "div",
32286
32280
  {
32287
- className: K(r, `${$}-product-tile-details`, {
32281
+ className: X(r, `${j}-product-tile-details`, {
32288
32282
  embedded: !e,
32289
32283
  standalone: e
32290
32284
  }),
32291
32285
  children: [
32292
- /* @__PURE__ */ C.jsxs("div", { className: K(r, `${$}-product-tile-content`), children: [
32293
- u && /* @__PURE__ */ C.jsx("p", { className: `${$}-product-tile-brand`, children: u }),
32286
+ /* @__PURE__ */ C.jsxs("div", { className: X(r, `${j}-product-tile-content`), children: [
32287
+ u && /* @__PURE__ */ C.jsx("p", { className: `${j}-product-tile-brand`, children: u }),
32294
32288
  g ? /* @__PURE__ */ C.jsxs(
32295
32289
  "a",
32296
32290
  {
32297
32291
  "aria-label": `Go to product page for ${a}`,
32298
- className: K(r, `${$}-product-tile-pdp`),
32292
+ className: X(r, `${j}-product-tile-pdp`),
32299
32293
  href: `${g}`,
32300
32294
  target: s ? "_blank" : "_self",
32301
32295
  rel: "noopener noreferrer",
@@ -32305,7 +32299,7 @@ const h2 = (r) => {
32305
32299
  /* @__PURE__ */ C.jsx(
32306
32300
  "span",
32307
32301
  {
32308
- className: K(r, `${$}-product-tile-pdp-arrow`),
32302
+ className: X(r, `${j}-product-tile-pdp-arrow`),
32309
32303
  children: "→"
32310
32304
  }
32311
32305
  )
@@ -32314,13 +32308,13 @@ const h2 = (r) => {
32314
32308
  ) : /* @__PURE__ */ C.jsx(
32315
32309
  "p",
32316
32310
  {
32317
- className: K(r, `${$}-product-tile-name`),
32311
+ className: X(r, `${j}-product-tile-name`),
32318
32312
  title: a,
32319
32313
  children: a
32320
32314
  }
32321
32315
  )
32322
32316
  ] }),
32323
- /* @__PURE__ */ C.jsx("div", { className: K(r, `${$}-product-tile-footer`), children: /* @__PURE__ */ C.jsx("p", { className: K(r, `${$}-product-tile-price`), children: c }) })
32317
+ /* @__PURE__ */ C.jsx("div", { className: X(r, `${j}-product-tile-footer`), children: /* @__PURE__ */ C.jsx("p", { className: X(r, `${j}-product-tile-price`), children: c }) })
32324
32318
  ]
32325
32319
  }
32326
32320
  )
@@ -32335,13 +32329,13 @@ const h2 = (r) => {
32335
32329
  return n ? /* @__PURE__ */ C.jsxs(
32336
32330
  "div",
32337
32331
  {
32338
- className: K(r, `${$}-display-products widget-message`),
32332
+ className: X(r, `${j}-display-products widget-message`),
32339
32333
  children: [
32340
32334
  /* @__PURE__ */ C.jsx("p", { children: s.message }),
32341
32335
  s.products && s.products.length > 0 && /* @__PURE__ */ C.jsx(
32342
32336
  "div",
32343
32337
  {
32344
- className: K(r, `${$}-product-list`, {
32338
+ className: X(r, `${j}-product-list`, {
32345
32339
  embedded: !e,
32346
32340
  standalone: e
32347
32341
  }),
@@ -32368,14 +32362,14 @@ const h2 = (r) => {
32368
32362
  }) => /* @__PURE__ */ C.jsx(
32369
32363
  "div",
32370
32364
  {
32371
- className: K(e, `${$}-error-message`, {
32365
+ className: X(e, `${j}-error-message`, {
32372
32366
  standalone: n,
32373
32367
  embedded: !n
32374
32368
  }),
32375
32369
  children: /* @__PURE__ */ C.jsxs(
32376
32370
  "p",
32377
32371
  {
32378
- className: K(e, `${$}-error-message-text`, {
32372
+ className: X(e, `${j}-error-message-text`, {
32379
32373
  standalone: n,
32380
32374
  embedded: !n
32381
32375
  }),
@@ -32401,12 +32395,12 @@ const o8 = ({
32401
32395
  }) => /* @__PURE__ */ C.jsx(
32402
32396
  "div",
32403
32397
  {
32404
- className: K(e, `${$}-suggestion-container standalone`),
32398
+ className: X(e, `${j}-suggestion-container standalone`),
32405
32399
  children: s.map((u) => /* @__PURE__ */ C.jsxs(
32406
32400
  Mc,
32407
32401
  {
32408
32402
  disabled: r,
32409
- className: K(e, `${$}-suggestion-button standalone`),
32403
+ className: X(e, `${j}-suggestion-button standalone`),
32410
32404
  onClick: () => a(u, n || t),
32411
32405
  children: [
32412
32406
  /* @__PURE__ */ C.jsx(s8, { size: "1.5rem", style: { minHeight: "1.5rem", minWidth: "1.5rem" } }),
@@ -32426,8 +32420,8 @@ const o8 = ({
32426
32420
  }) => {
32427
32421
  var b;
32428
32422
  const { isLoading: a } = Or(), { messages: u } = Kn(), c = u.find((T) => T.id === n.eventSourceId), f = !!c, d = ((b = c == null ? void 0 : c.name) == null ? void 0 : b.replace("_suggestions", "")) || "", p = f ? _w(d) : null, g = f && (p === t || t === "ask_cim");
32429
- return /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-follow-up`), children: [
32430
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-text`), children: n.message }),
32423
+ return /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-follow-up`), children: [
32424
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-text`), children: n.message }),
32431
32425
  r && /* @__PURE__ */ C.jsx(
32432
32426
  o8,
32433
32427
  {
@@ -32442,14 +32436,14 @@ const o8 = ({
32442
32436
  !r && /* @__PURE__ */ C.jsx(
32443
32437
  "div",
32444
32438
  {
32445
- className: K(e, `${$}-suggestion-container embedded`),
32439
+ className: X(e, `${j}-suggestion-container embedded`),
32446
32440
  children: n.suggestions.map((T) => /* @__PURE__ */ C.jsx(
32447
32441
  "button",
32448
32442
  {
32449
32443
  disabled: a || !f || !g,
32450
- className: K(
32444
+ className: X(
32451
32445
  e,
32452
- `${$}-suggestion-button embedded`
32446
+ `${j}-suggestion-button embedded`
32453
32447
  ),
32454
32448
  onClick: () => s(T, n.eventSourceId || n.id),
32455
32449
  children: T.displayText
@@ -34177,7 +34171,7 @@ function uB(e, t, n) {
34177
34171
  const r = this;
34178
34172
  let s = 0, a = 0, u;
34179
34173
  return c;
34180
- function c(j) {
34174
+ function c($) {
34181
34175
  let ne = r.events.length - 1;
34182
34176
  for (; ne > -1; ) {
34183
34177
  const le = r.events[ne][1].type;
@@ -34186,61 +34180,61 @@ function uB(e, t, n) {
34186
34180
  else break;
34187
34181
  }
34188
34182
  const pe = ne > -1 ? r.events[ne][1].type : null, de = pe === "tableHead" || pe === "tableRow" ? B : f;
34189
- return de === B && r.parser.lazy[r.now().line] ? n(j) : de(j);
34183
+ return de === B && r.parser.lazy[r.now().line] ? n($) : de($);
34190
34184
  }
34191
- function f(j) {
34192
- return e.enter("tableHead"), e.enter("tableRow"), d(j);
34185
+ function f($) {
34186
+ return e.enter("tableHead"), e.enter("tableRow"), d($);
34193
34187
  }
34194
- function d(j) {
34195
- return j === 124 || (u = !0, a += 1), p(j);
34188
+ function d($) {
34189
+ return $ === 124 || (u = !0, a += 1), p($);
34196
34190
  }
34197
- function p(j) {
34198
- return j === null ? n(j) : Fe(j) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(j), e.exit("lineEnding"), T) : n(j) : Ke(j) ? Je(e, p, "whitespace")(j) : (a += 1, u && (u = !1, s += 1), j === 124 ? (e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), u = !0, p) : (e.enter("data"), g(j)));
34191
+ function p($) {
34192
+ return $ === null ? n($) : Fe($) ? a > 1 ? (a = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume($), e.exit("lineEnding"), T) : n($) : Ke($) ? Je(e, p, "whitespace")($) : (a += 1, u && (u = !1, s += 1), $ === 124 ? (e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), u = !0, p) : (e.enter("data"), g($)));
34199
34193
  }
34200
- function g(j) {
34201
- return j === null || j === 124 || lt(j) ? (e.exit("data"), p(j)) : (e.consume(j), j === 92 ? b : g);
34194
+ function g($) {
34195
+ return $ === null || $ === 124 || lt($) ? (e.exit("data"), p($)) : (e.consume($), $ === 92 ? b : g);
34202
34196
  }
34203
- function b(j) {
34204
- return j === 92 || j === 124 ? (e.consume(j), g) : g(j);
34197
+ function b($) {
34198
+ return $ === 92 || $ === 124 ? (e.consume($), g) : g($);
34205
34199
  }
34206
- function T(j) {
34207
- return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(j) : (e.enter("tableDelimiterRow"), u = !1, Ke(j) ? Je(e, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(j) : _(j));
34200
+ function T($) {
34201
+ return r.interrupt = !1, r.parser.lazy[r.now().line] ? n($) : (e.enter("tableDelimiterRow"), u = !1, Ke($) ? Je(e, _, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)($) : _($));
34208
34202
  }
34209
- function _(j) {
34210
- return j === 45 || j === 58 ? A(j) : j === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), S) : q(j);
34203
+ function _($) {
34204
+ return $ === 45 || $ === 58 ? A($) : $ === 124 ? (u = !0, e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), S) : q($);
34211
34205
  }
34212
- function S(j) {
34213
- return Ke(j) ? Je(e, A, "whitespace")(j) : A(j);
34206
+ function S($) {
34207
+ return Ke($) ? Je(e, A, "whitespace")($) : A($);
34214
34208
  }
34215
- function A(j) {
34216
- return j === 58 ? (a += 1, u = !0, e.enter("tableDelimiterMarker"), e.consume(j), e.exit("tableDelimiterMarker"), v) : j === 45 ? (a += 1, v(j)) : j === null || Fe(j) ? M(j) : q(j);
34209
+ function A($) {
34210
+ return $ === 58 ? (a += 1, u = !0, e.enter("tableDelimiterMarker"), e.consume($), e.exit("tableDelimiterMarker"), v) : $ === 45 ? (a += 1, v($)) : $ === null || Fe($) ? M($) : q($);
34217
34211
  }
34218
- function v(j) {
34219
- return j === 45 ? (e.enter("tableDelimiterFiller"), D(j)) : q(j);
34212
+ function v($) {
34213
+ return $ === 45 ? (e.enter("tableDelimiterFiller"), D($)) : q($);
34220
34214
  }
34221
- function D(j) {
34222
- return j === 45 ? (e.consume(j), D) : j === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume(j), e.exit("tableDelimiterMarker"), N) : (e.exit("tableDelimiterFiller"), N(j));
34215
+ function D($) {
34216
+ return $ === 45 ? (e.consume($), D) : $ === 58 ? (u = !0, e.exit("tableDelimiterFiller"), e.enter("tableDelimiterMarker"), e.consume($), e.exit("tableDelimiterMarker"), N) : (e.exit("tableDelimiterFiller"), N($));
34223
34217
  }
34224
- function N(j) {
34225
- return Ke(j) ? Je(e, M, "whitespace")(j) : M(j);
34218
+ function N($) {
34219
+ return Ke($) ? Je(e, M, "whitespace")($) : M($);
34226
34220
  }
34227
- function M(j) {
34228
- return j === 124 ? _(j) : j === null || Fe(j) ? !u || s !== a ? q(j) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t(j)) : q(j);
34221
+ function M($) {
34222
+ return $ === 124 ? _($) : $ === null || Fe($) ? !u || s !== a ? q($) : (e.exit("tableDelimiterRow"), e.exit("tableHead"), t($)) : q($);
34229
34223
  }
34230
- function q(j) {
34231
- return n(j);
34224
+ function q($) {
34225
+ return n($);
34232
34226
  }
34233
- function B(j) {
34234
- return e.enter("tableRow"), te(j);
34227
+ function B($) {
34228
+ return e.enter("tableRow"), te($);
34235
34229
  }
34236
- function te(j) {
34237
- return j === 124 ? (e.enter("tableCellDivider"), e.consume(j), e.exit("tableCellDivider"), te) : j === null || Fe(j) ? (e.exit("tableRow"), t(j)) : Ke(j) ? Je(e, te, "whitespace")(j) : (e.enter("data"), ae(j));
34230
+ function te($) {
34231
+ return $ === 124 ? (e.enter("tableCellDivider"), e.consume($), e.exit("tableCellDivider"), te) : $ === null || Fe($) ? (e.exit("tableRow"), t($)) : Ke($) ? Je(e, te, "whitespace")($) : (e.enter("data"), ae($));
34238
34232
  }
34239
- function ae(j) {
34240
- return j === null || j === 124 || lt(j) ? (e.exit("data"), te(j)) : (e.consume(j), j === 92 ? ye : ae);
34233
+ function ae($) {
34234
+ return $ === null || $ === 124 || lt($) ? (e.exit("data"), te($)) : (e.consume($), $ === 92 ? ye : ae);
34241
34235
  }
34242
- function ye(j) {
34243
- return j === 92 || j === 124 ? (e.consume(j), ae) : ae(j);
34236
+ function ye($) {
34237
+ return $ === 92 || $ === 124 ? (e.consume($), ae) : ae($);
34244
34238
  }
34245
34239
  }
34246
34240
  function lB(e, t) {
@@ -34357,7 +34351,7 @@ function gB(e) {
34357
34351
  ), n = e || mB, r = t.data(), s = r.micromarkExtensions || (r.micromarkExtensions = []), a = r.fromMarkdownExtensions || (r.fromMarkdownExtensions = []), u = r.toMarkdownExtensions || (r.toMarkdownExtensions = []);
34358
34352
  s.push(pB(n)), a.push(DF()), u.push(MF(n));
34359
34353
  }
34360
- const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-cursor`, children: /* @__PURE__ */ C.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Bm = ({
34354
+ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${j}-blinking-cursor`, children: /* @__PURE__ */ C.jsx("svg", { height: "16px", width: "16px", xmlns: "http://www.w3.org/2000/svg", children: /* @__PURE__ */ C.jsx("circle", { r: "0.45rem", cx: "0.5rem", cy: "0.55rem", fill: "black" }) }) }), Bm = ({
34361
34355
  globalClassName: e,
34362
34356
  openLinksInNewTab: t,
34363
34357
  showIsLoading: n,
@@ -34368,12 +34362,12 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34368
34362
  remarkPlugins: [gB],
34369
34363
  rehypePlugins: [TS],
34370
34364
  components: {
34371
- h1: ({ children: s }) => /* @__PURE__ */ C.jsx("h1", { className: K(e, `${$}-header h1`), children: s }),
34372
- h2: ({ children: s }) => /* @__PURE__ */ C.jsx("h2", { className: K(e, `${$}-header h2`), children: s }),
34373
- h3: ({ children: s }) => /* @__PURE__ */ C.jsx("h3", { className: K(e, `${$}-header h3`), children: s }),
34374
- ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: K(e, `${$}-ul`), children: s }),
34375
- ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: K(e, `${$}-ol`), children: s }),
34376
- li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: K(e, `${$}-li`), children: s }),
34365
+ h1: ({ children: s }) => /* @__PURE__ */ C.jsx("h1", { className: X(e, `${j}-header h1`), children: s }),
34366
+ h2: ({ children: s }) => /* @__PURE__ */ C.jsx("h2", { className: X(e, `${j}-header h2`), children: s }),
34367
+ h3: ({ children: s }) => /* @__PURE__ */ C.jsx("h3", { className: X(e, `${j}-header h3`), children: s }),
34368
+ ul: ({ children: s }) => /* @__PURE__ */ C.jsx("ul", { className: X(e, `${j}-ul`), children: s }),
34369
+ ol: ({ children: s }) => /* @__PURE__ */ C.jsx("ol", { className: X(e, `${j}-ol`), children: s }),
34370
+ li: ({ children: s }) => /* @__PURE__ */ C.jsx("li", { className: X(e, `${j}-li`), children: s }),
34377
34371
  a: ({ href: s, children: a }) => /* @__PURE__ */ C.jsx(
34378
34372
  xS,
34379
34373
  {
@@ -34383,15 +34377,15 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34383
34377
  children: a
34384
34378
  }
34385
34379
  ),
34386
- table: ({ children: s }) => /* @__PURE__ */ C.jsx("table", { className: K(e, `${$}-table`), children: s }),
34387
- thead: ({ children: s }) => /* @__PURE__ */ C.jsx("thead", { className: K(e, `${$}-thead`), children: s }),
34388
- tbody: ({ children: s }) => /* @__PURE__ */ C.jsx("tbody", { className: K(e, `${$}-tbody`), children: s }),
34389
- tr: ({ children: s }) => /* @__PURE__ */ C.jsx("tr", { className: K(e, `${$}-tr`), children: s }),
34390
- th: ({ children: s }) => /* @__PURE__ */ C.jsx("th", { className: K(e, `${$}-th`), children: s }),
34391
- td: ({ children: s }) => /* @__PURE__ */ C.jsx("td", { className: K(e, `${$}-td`), children: s }),
34392
- span: ({ className: s, children: a }) => s === `${$}-blinking-cursor` ? /* @__PURE__ */ C.jsx(Do, {}) : /* @__PURE__ */ C.jsx("span", { children: a })
34380
+ table: ({ children: s }) => /* @__PURE__ */ C.jsx("div", { className: X(e, `${j}-table-container`), children: /* @__PURE__ */ C.jsx("table", { className: X(e, `${j}-table`), children: s }) }),
34381
+ thead: ({ children: s }) => /* @__PURE__ */ C.jsx("thead", { className: X(e, `${j}-thead`), children: s }),
34382
+ tbody: ({ children: s }) => /* @__PURE__ */ C.jsx("tbody", { className: X(e, `${j}-tbody`), children: s }),
34383
+ tr: ({ children: s }) => /* @__PURE__ */ C.jsx("tr", { className: X(e, `${j}-tr`), children: s }),
34384
+ th: ({ children: s }) => /* @__PURE__ */ C.jsx("th", { className: X(e, `${j}-th`), children: s }),
34385
+ td: ({ children: s }) => /* @__PURE__ */ C.jsx("td", { className: X(e, `${j}-td`), children: s }),
34386
+ span: ({ className: s, children: a }) => s === `${j}-blinking-cursor` ? /* @__PURE__ */ C.jsx(Do, {}) : /* @__PURE__ */ C.jsx("span", { children: a })
34393
34387
  },
34394
- children: r.message + (n ? `<span className='${$}-blinking-cursor'></span>` : "")
34388
+ children: r.message + (n ? `<span className='${j}-blinking-cursor'></span>` : "")
34395
34389
  }
34396
34390
  ), EB = ({
34397
34391
  globalClassName: e,
@@ -34404,21 +34398,21 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34404
34398
  /* @__PURE__ */ C.jsxs(
34405
34399
  "div",
34406
34400
  {
34407
- className: K(e, `${$}-progress-message`, "standalone"),
34401
+ className: X(e, `${j}-progress-message`, "standalone"),
34408
34402
  children: [
34409
34403
  /* @__PURE__ */ C.jsx(
34410
34404
  "span",
34411
34405
  {
34412
- className: K(
34406
+ className: X(
34413
34407
  e,
34414
- `${$}-message-icon`,
34408
+ `${j}-message-icon`,
34415
34409
  "progress-icon",
34416
34410
  "standalone"
34417
34411
  ),
34418
34412
  children: /* @__PURE__ */ C.jsx($b, {})
34419
34413
  }
34420
34414
  ),
34421
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-progress-text`, "standalone"), children: t.message })
34415
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-progress-text`, "standalone"), children: t.message })
34422
34416
  ]
34423
34417
  }
34424
34418
  ),
@@ -34426,7 +34420,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34426
34420
  /* @__PURE__ */ C.jsx(
34427
34421
  Mc,
34428
34422
  {
34429
- className: K(e, `${$}-thought-context-button`),
34423
+ className: X(e, `${j}-thought-context-button`),
34430
34424
  onClick: c,
34431
34425
  children: n ? /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
34432
34426
  "Hide ",
@@ -34437,7 +34431,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34437
34431
  ] })
34438
34432
  }
34439
34433
  ),
34440
- n && /* @__PURE__ */ C.jsx("div", { className: K(e, `${$}-thought-container`), children: a && /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-progress-thought`), children: t.thought }) })
34434
+ n && /* @__PURE__ */ C.jsx("div", { className: X(e, `${j}-thought-container`), children: a && /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-progress-thought`), children: t.thought }) })
34441
34435
  ] })
34442
34436
  ] });
34443
34437
  }, yB = ({
@@ -34447,22 +34441,22 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34447
34441
  }) => n ? /* @__PURE__ */ C.jsx(EB, { globalClassName: e, message: t }) : /* @__PURE__ */ C.jsxs(
34448
34442
  "div",
34449
34443
  {
34450
- className: K(e, `${$}-progress-message`, "embedded"),
34444
+ className: X(e, `${j}-progress-message`, "embedded"),
34451
34445
  title: t.message,
34452
34446
  children: [
34453
34447
  /* @__PURE__ */ C.jsx(
34454
34448
  "span",
34455
34449
  {
34456
- className: K(
34450
+ className: X(
34457
34451
  e,
34458
- `${$}-message-icon`,
34452
+ `${j}-message-icon`,
34459
34453
  "progress-icon",
34460
34454
  "embedded"
34461
34455
  ),
34462
34456
  children: /* @__PURE__ */ C.jsx($b, {})
34463
34457
  }
34464
34458
  ),
34465
- /* @__PURE__ */ C.jsx("i", { className: K(e, `${$}-progress-text`, "embedded"), children: t.message })
34459
+ /* @__PURE__ */ C.jsx("i", { className: X(e, `${j}-progress-text`, "embedded"), children: t.message })
34466
34460
  ]
34467
34461
  }
34468
34462
  ), TB = ({
@@ -34475,7 +34469,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34475
34469
  return /* @__PURE__ */ C.jsxs(
34476
34470
  "div",
34477
34471
  {
34478
- className: K(e, `${$}-refined-event`, {
34472
+ className: X(e, `${j}-refined-event`, {
34479
34473
  embedded: !n,
34480
34474
  standalone: n
34481
34475
  }),
@@ -34483,7 +34477,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34483
34477
  !!r && /* @__PURE__ */ C.jsxs(
34484
34478
  "div",
34485
34479
  {
34486
- className: K(e, `${$}-refined-event-query`, {
34480
+ className: X(e, `${j}-refined-event-query`, {
34487
34481
  embedded: !n,
34488
34482
  standalone: n
34489
34483
  }),
@@ -34491,10 +34485,10 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34491
34485
  /* @__PURE__ */ C.jsx(
34492
34486
  "span",
34493
34487
  {
34494
- className: K(
34488
+ className: X(
34495
34489
  e,
34496
- `${$}-message-icon`,
34497
- `${$}-refined-event-icon`,
34490
+ `${j}-message-icon`,
34491
+ `${j}-refined-event-icon`,
34498
34492
  {
34499
34493
  embedded: !n,
34500
34494
  standalone: n
@@ -34506,10 +34500,10 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34506
34500
  /* @__PURE__ */ C.jsx(
34507
34501
  "p",
34508
34502
  {
34509
- className: K(
34503
+ className: X(
34510
34504
  e,
34511
- `${$}-text`,
34512
- `${$}-refined-event-query-text`,
34505
+ `${j}-text`,
34506
+ `${j}-refined-event-query-text`,
34513
34507
  "bold",
34514
34508
  {
34515
34509
  embedded: !n,
@@ -34547,7 +34541,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34547
34541
  }) => /* @__PURE__ */ C.jsx(
34548
34542
  "span",
34549
34543
  {
34550
- className: K(t, `${$}-facet-pill`, {
34544
+ className: X(t, `${j}-facet-pill`, {
34551
34545
  standalone: e,
34552
34546
  embedded: !e
34553
34547
  }),
@@ -34564,9 +34558,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34564
34558
  return n.map((c) => {
34565
34559
  var d;
34566
34560
  const f = ((d = s[c]) == null ? void 0 : d.join(", ")) || "";
34567
- return /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-facets`), children: [
34568
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-facet-category`), children: c }),
34569
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-facet-values`), children: f })
34561
+ return /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-facets`), children: [
34562
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-facet-category`), children: c }),
34563
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-facet-values`), children: f })
34570
34564
  ] }, c);
34571
34565
  });
34572
34566
  }, eu = ({
@@ -34576,9 +34570,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34576
34570
  }) => /* @__PURE__ */ C.jsx(
34577
34571
  "span",
34578
34572
  {
34579
- className: K(
34573
+ className: X(
34580
34574
  e,
34581
- `${$}-message-timestamp`,
34575
+ `${j}-message-timestamp`,
34582
34576
  n ? "standalone" : "embedded"
34583
34577
  ),
34584
34578
  title: t,
@@ -34591,18 +34585,18 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34591
34585
  }) => {
34592
34586
  var d, p;
34593
34587
  const { request: r, createdAt: s } = t, { facetFiltersList: a, filterCount: u } = U2(t), c = new Date(s).toLocaleString(), f = (d = r == null ? void 0 : r.attachments) == null ? void 0 : d.image;
34594
- return n ? /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-message standalone`), children: [
34588
+ return n ? /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message standalone`), children: [
34595
34589
  /* @__PURE__ */ C.jsxs(
34596
34590
  "div",
34597
34591
  {
34598
- className: K(e, `${$}-user-message-row standalone`),
34592
+ className: X(e, `${j}-user-message-row standalone`),
34599
34593
  children: [
34600
34594
  f ? /* @__PURE__ */ C.jsx(
34601
34595
  "img",
34602
34596
  {
34603
- className: K(
34597
+ className: X(
34604
34598
  e,
34605
- `${$}-user-message-image standalone`
34599
+ `${j}-user-message-image standalone`
34606
34600
  ),
34607
34601
  src: f,
34608
34602
  alt: "User provided context",
@@ -34611,9 +34605,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34611
34605
  ) : /* @__PURE__ */ C.jsx(
34612
34606
  "span",
34613
34607
  {
34614
- className: K(
34608
+ className: X(
34615
34609
  e,
34616
- `${$}-message-icon user-message-icon standalone`
34610
+ `${j}-message-icon user-message-icon standalone`
34617
34611
  ),
34618
34612
  children: /* @__PURE__ */ C.jsx(mE, {})
34619
34613
  }
@@ -34621,9 +34615,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34621
34615
  /* @__PURE__ */ C.jsx(
34622
34616
  "p",
34623
34617
  {
34624
- className: K(
34618
+ className: X(
34625
34619
  e,
34626
- `${$}-user-message-text`,
34620
+ `${j}-user-message-text`,
34627
34621
  "standalone"
34628
34622
  ),
34629
34623
  children: r == null ? void 0 : r.userPrompt
@@ -34656,14 +34650,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34656
34650
  isWidgetStandalone: !0
34657
34651
  }
34658
34652
  )
34659
- ] }) : /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-message embedded`), children: [
34660
- /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-message-row embedded`), children: [
34653
+ ] }) : /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message embedded`), children: [
34654
+ /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-message-row embedded`), children: [
34661
34655
  f ? /* @__PURE__ */ C.jsx(
34662
34656
  "img",
34663
34657
  {
34664
- className: K(
34658
+ className: X(
34665
34659
  e,
34666
- `${$}-user-message-image`,
34660
+ `${j}-user-message-image`,
34667
34661
  "embedded"
34668
34662
  ),
34669
34663
  src: f,
@@ -34673,14 +34667,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34673
34667
  ) : /* @__PURE__ */ C.jsx(
34674
34668
  "span",
34675
34669
  {
34676
- className: K(
34670
+ className: X(
34677
34671
  e,
34678
- `${$}-message-icon user-message-icon embedded`
34672
+ `${j}-message-icon user-message-icon embedded`
34679
34673
  ),
34680
34674
  children: /* @__PURE__ */ C.jsx(mE, {})
34681
34675
  }
34682
34676
  ),
34683
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-user-message-text embedded`), children: (p = t.request) == null ? void 0 : p.userPrompt }),
34677
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-user-message-text embedded`), children: (p = t.request) == null ? void 0 : p.userPrompt }),
34684
34678
  a.length > 0 && /* @__PURE__ */ C.jsx(bc, { isWidgetStandalone: !1, filterCount: u })
34685
34679
  ] }),
34686
34680
  /* @__PURE__ */ C.jsx(
@@ -34702,19 +34696,19 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34702
34696
  facetFiltersList: u,
34703
34697
  filterCount: c,
34704
34698
  imageData: f
34705
- }) => /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-search standalone`), children: [
34699
+ }) => /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search standalone`), children: [
34706
34700
  /* @__PURE__ */ C.jsxs("div", { children: [
34707
34701
  /* @__PURE__ */ C.jsxs(
34708
34702
  "div",
34709
34703
  {
34710
- className: K(e, `${$}-user-search-query standalone`),
34704
+ className: X(e, `${j}-user-search-query standalone`),
34711
34705
  children: [
34712
34706
  f ? /* @__PURE__ */ C.jsx(
34713
34707
  "img",
34714
34708
  {
34715
- className: K(
34709
+ className: X(
34716
34710
  e,
34717
- `${$}-user-search-image standalone`
34711
+ `${j}-user-search-image standalone`
34718
34712
  ),
34719
34713
  src: f,
34720
34714
  alt: s || r,
@@ -34723,9 +34717,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34723
34717
  ) : /* @__PURE__ */ C.jsx(
34724
34718
  "span",
34725
34719
  {
34726
- className: K(
34720
+ className: X(
34727
34721
  e,
34728
- `${$}-message-icon user-search-icon standalone`
34722
+ `${j}-message-icon user-search-icon standalone`
34729
34723
  ),
34730
34724
  children: /* @__PURE__ */ C.jsx(So, {})
34731
34725
  }
@@ -34733,7 +34727,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34733
34727
  /* @__PURE__ */ C.jsx(
34734
34728
  "p",
34735
34729
  {
34736
- className: K(e, `${$}-text bold`),
34730
+ className: X(e, `${j}-text bold`),
34737
34731
  children: `${n}: ${s || r}`
34738
34732
  }
34739
34733
  ),
@@ -34809,12 +34803,12 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34809
34803
  facetFiltersList: u,
34810
34804
  filterCount: c
34811
34805
  }
34812
- ) : /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-search embedded`), children: [
34813
- /* @__PURE__ */ C.jsxs("div", { className: K(e, `${$}-user-search-query embedded`), children: [
34806
+ ) : /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search embedded`), children: [
34807
+ /* @__PURE__ */ C.jsxs("div", { className: X(e, `${j}-user-search-query embedded`), children: [
34814
34808
  d ? /* @__PURE__ */ C.jsx(
34815
34809
  "img",
34816
34810
  {
34817
- className: K(e, `${$}-user-search-image embedded`),
34811
+ className: X(e, `${j}-user-search-image embedded`),
34818
34812
  src: d,
34819
34813
  alt: b || g,
34820
34814
  loading: "lazy"
@@ -34822,14 +34816,14 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34822
34816
  ) : /* @__PURE__ */ C.jsx(
34823
34817
  "span",
34824
34818
  {
34825
- className: K(
34819
+ className: X(
34826
34820
  e,
34827
- `${$}-message-icon user-search-icon embedded`
34821
+ `${j}-message-icon user-search-icon embedded`
34828
34822
  ),
34829
34823
  children: /* @__PURE__ */ C.jsx(So, {})
34830
34824
  }
34831
34825
  ),
34832
- /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-text bold embedded`), children: b || g }),
34826
+ /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-text bold embedded`), children: b || g }),
34833
34827
  u.length > 0 && /* @__PURE__ */ C.jsx(bc, { isWidgetStandalone: !1, filterCount: c })
34834
34828
  ] }),
34835
34829
  /* @__PURE__ */ C.jsx(
@@ -34935,8 +34929,8 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34935
34929
  );
34936
34930
  case "conversation_reset":
34937
34931
  return s === "ask_cim" ? null : /* @__PURE__ */ C.jsxs(C.Fragment, { children: [
34938
- /* @__PURE__ */ C.jsx("p", { className: K(t, `${$}-reset-message`), children: "This conversation has been reset." }),
34939
- /* @__PURE__ */ C.jsx("p", { className: K(t, `${$}-start-search-message`), children: r || "What products would you like to explore today?" })
34932
+ /* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-reset-message`), children: "This conversation has been reset." }),
34933
+ /* @__PURE__ */ C.jsx("p", { className: X(t, `${j}-start-search-message`), children: r || "What products would you like to explore today?" })
34940
34934
  ] });
34941
34935
  default:
34942
34936
  return null;
@@ -34952,13 +34946,13 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34952
34946
  return d && (f = new Date(d.createdAt).toLocaleString()), /* @__PURE__ */ C.jsxs(
34953
34947
  "div",
34954
34948
  {
34955
- className: K(
34949
+ className: X(
34956
34950
  n,
34957
- `${$}-message-group`,
34951
+ `${j}-message-group`,
34958
34952
  e ? "standalone" : "embedded"
34959
34953
  ),
34960
34954
  children: [
34961
- c.messages.length > 0 && c.messages.map((p) => /* @__PURE__ */ C.jsx("div", { className: `${$}-message-group-child`, children: /* @__PURE__ */ C.jsx(
34955
+ c.messages.length > 0 && c.messages.map((p) => /* @__PURE__ */ C.jsx("div", { className: `${j}-message-group-child`, children: /* @__PURE__ */ C.jsx(
34962
34956
  cT,
34963
34957
  {
34964
34958
  id: p.id,
@@ -34987,9 +34981,9 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
34987
34981
  return /* @__PURE__ */ C.jsx(
34988
34982
  "div",
34989
34983
  {
34990
- className: K(
34984
+ className: X(
34991
34985
  n,
34992
- `${$}-message`,
34986
+ `${j}-message`,
34993
34987
  e ? "standalone" : "embedded",
34994
34988
  { error: c.message.name.includes("error") }
34995
34989
  ),
@@ -35022,17 +35016,17 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
35022
35016
  }, [r]), f ? n ? /* @__PURE__ */ C.jsxs(
35023
35017
  "div",
35024
35018
  {
35025
- className: K(
35019
+ className: X(
35026
35020
  e,
35027
- `${$}-container`,
35028
- `${$}-embedded-chat`
35021
+ `${j}-container`,
35022
+ `${j}-embedded-chat`
35029
35023
  ),
35030
35024
  style: t,
35031
35025
  children: [
35032
35026
  /* @__PURE__ */ C.jsxs(
35033
35027
  "div",
35034
35028
  {
35035
- className: K(e, `${$}-message-container`, "embedded"),
35029
+ className: X(e, `${j}-message-container`, "embedded"),
35036
35030
  children: [
35037
35031
  /* @__PURE__ */ C.jsx(Um, { isWidgetStandalone: !1, handleSuggestionClick: u }),
35038
35032
  s && /* @__PURE__ */ C.jsx("div", { style: { display: "flex", justifyContent: "flex-start", paddingBottom: "1rem" }, children: /* @__PURE__ */ C.jsx(Do, {}) }),
@@ -35049,7 +35043,7 @@ const Do = () => /* @__PURE__ */ C.jsx("span", { className: `${$}-blinking-curso
35049
35043
  onSubmit: a
35050
35044
  }
35051
35045
  ),
35052
- /* @__PURE__ */ C.jsx("div", { className: K(`${$}-embedded-chat-menu`), children: /* @__PURE__ */ C.jsx(e8, { componentType: "chat", children: /* @__PURE__ */ C.jsx(m2, { componentType: "chat" }) }) })
35046
+ /* @__PURE__ */ C.jsx("div", { className: X(`${j}-embedded-chat-menu`), children: /* @__PURE__ */ C.jsx(e8, { componentType: "chat", children: /* @__PURE__ */ C.jsx(m2, { componentType: "chat" }) }) })
35053
35047
  ]
35054
35048
  }
35055
35049
  ) : /* @__PURE__ */ C.jsx("div", { children: "Loading Copilot..." }) : null;
@@ -35427,9 +35421,9 @@ const W2 = (e) => {
35427
35421
  return /* @__PURE__ */ C.jsx(
35428
35422
  Pr,
35429
35423
  {
35430
- className: K(
35424
+ className: X(
35431
35425
  e,
35432
- `${$}-left-right-toggle-button`,
35426
+ `${j}-left-right-toggle-button`,
35433
35427
  "dialog"
35434
35428
  ),
35435
35429
  ariaLabel: a,
@@ -35459,17 +35453,17 @@ const W2 = (e) => {
35459
35453
  children: /* @__PURE__ */ C.jsx(W2, { children: /* @__PURE__ */ C.jsx(
35460
35454
  jm,
35461
35455
  {
35462
- className: K(
35456
+ className: X(
35463
35457
  n,
35464
- `${$}-container`,
35465
- `${$}-dialog`,
35458
+ `${j}-container`,
35459
+ `${j}-dialog`,
35466
35460
  u
35467
35461
  ),
35468
35462
  style: r,
35469
35463
  children: /* @__PURE__ */ C.jsxs(
35470
35464
  Hm,
35471
35465
  {
35472
- className: K(n, `${$}-dialog-content`, {
35466
+ className: X(n, `${j}-dialog-content`, {
35473
35467
  standalone: S,
35474
35468
  embedded: !S
35475
35469
  }),
@@ -35477,7 +35471,7 @@ const W2 = (e) => {
35477
35471
  /* @__PURE__ */ C.jsxs(
35478
35472
  "div",
35479
35473
  {
35480
- className: K(n, `${$}-dialog-header`, {
35474
+ className: X(n, `${j}-dialog-header`, {
35481
35475
  standalone: S,
35482
35476
  embedded: !S
35483
35477
  }),
@@ -35487,7 +35481,7 @@ const W2 = (e) => {
35487
35481
  {
35488
35482
  alt: "",
35489
35483
  role: "img",
35490
- className: K(n, `${$}-dialog-logo`, {
35484
+ className: X(n, `${j}-dialog-logo`, {
35491
35485
  standalone: S,
35492
35486
  embedded: !S
35493
35487
  }),
@@ -35497,14 +35491,14 @@ const W2 = (e) => {
35497
35491
  /* @__PURE__ */ C.jsx(
35498
35492
  $m,
35499
35493
  {
35500
- className: K(n, `${$}-dialog-title`, {
35494
+ className: X(n, `${j}-dialog-title`, {
35501
35495
  standalone: S,
35502
35496
  embedded: !S
35503
35497
  }),
35504
35498
  children: t
35505
35499
  }
35506
35500
  ),
35507
- /* @__PURE__ */ C.jsxs("div", { className: K(n, `${$}-dialog-controls`), children: [
35501
+ /* @__PURE__ */ C.jsxs("div", { className: X(n, `${j}-dialog-controls`), children: [
35508
35502
  /* @__PURE__ */ C.jsx(m2, { componentType: "dialog", isIcon: !0 }),
35509
35503
  /* @__PURE__ */ C.jsx(HB, {}),
35510
35504
  /* @__PURE__ */ C.jsx(p2, { componentType: "dialog", isIcon: !0 }),
@@ -35517,7 +35511,7 @@ const W2 = (e) => {
35517
35511
  /* @__PURE__ */ C.jsxs(
35518
35512
  zm,
35519
35513
  {
35520
- className: K(n, `${$}-message-container`, {
35514
+ className: X(n, `${j}-message-container`, {
35521
35515
  standalone: S,
35522
35516
  embedded: !S
35523
35517
  }),
@@ -35562,9 +35556,9 @@ const W2 = (e) => {
35562
35556
  return t ? /* @__PURE__ */ C.jsx(
35563
35557
  Pr,
35564
35558
  {
35565
- className: K(
35559
+ className: X(
35566
35560
  n,
35567
- `${$}-toggle-dialog-button`,
35561
+ `${j}-toggle-dialog-button`,
35568
35562
  e
35569
35563
  ),
35570
35564
  ariaLabel: "Toggle Dialog",
@@ -35574,10 +35568,10 @@ const W2 = (e) => {
35574
35568
  ) : /* @__PURE__ */ C.jsxs(
35575
35569
  "button",
35576
35570
  {
35577
- className: K(
35571
+ className: X(
35578
35572
  n,
35579
- `${$}-overflow-menu-button`,
35580
- `${$}-toggle-dialog-button`,
35573
+ `${j}-overflow-menu-button`,
35574
+ `${j}-toggle-dialog-button`,
35581
35575
  e
35582
35576
  ),
35583
35577
  onClick: s,
@@ -35597,7 +35591,7 @@ const W2 = (e) => {
35597
35591
  {
35598
35592
  ariaLabel: s,
35599
35593
  title: s,
35600
- className: K(e, `${$}-modal-fullscreen-button`),
35594
+ className: X(e, `${j}-modal-fullscreen-button`),
35601
35595
  icon: /* @__PURE__ */ C.jsx(r, {}),
35602
35596
  onClick: n
35603
35597
  }
@@ -35618,22 +35612,22 @@ const W2 = (e) => {
35618
35612
  return S ? c ? /* @__PURE__ */ C.jsx(Y2, { lazyMount: !0, open: T, onOpenChange: A, children: /* @__PURE__ */ C.jsx(W2, { children: /* @__PURE__ */ C.jsxs(
35619
35613
  "div",
35620
35614
  {
35621
- className: K(n, `${$}-modal-container`),
35615
+ className: X(n, `${j}-modal-container`),
35622
35616
  style: r,
35623
35617
  children: [
35624
35618
  /* @__PURE__ */ C.jsx(
35625
35619
  z2,
35626
35620
  {
35627
- className: K(n, `${$}-modal-backdrop`)
35621
+ className: X(n, `${j}-modal-backdrop`)
35628
35622
  }
35629
35623
  ),
35630
35624
  /* @__PURE__ */ C.jsx(
35631
35625
  jm,
35632
35626
  {
35633
- className: K(
35627
+ className: X(
35634
35628
  n,
35635
- `${$}-container`,
35636
- `${$}-modal`,
35629
+ `${j}-container`,
35630
+ `${j}-modal`,
35637
35631
  {
35638
35632
  fullscreen: u,
35639
35633
  standalone: _,
@@ -35643,7 +35637,7 @@ const W2 = (e) => {
35643
35637
  children: /* @__PURE__ */ C.jsxs(
35644
35638
  Hm,
35645
35639
  {
35646
- className: K(n, `${$}-modal-content`, {
35640
+ className: X(n, `${j}-modal-content`, {
35647
35641
  standalone: _,
35648
35642
  embedded: !_
35649
35643
  }),
@@ -35651,7 +35645,7 @@ const W2 = (e) => {
35651
35645
  /* @__PURE__ */ C.jsxs(
35652
35646
  "div",
35653
35647
  {
35654
- className: K(n, `${$}-modal-header`, {
35648
+ className: X(n, `${j}-modal-header`, {
35655
35649
  standalone: _,
35656
35650
  embedded: !_
35657
35651
  }),
@@ -35661,7 +35655,7 @@ const W2 = (e) => {
35661
35655
  {
35662
35656
  alt: "",
35663
35657
  role: "img",
35664
- className: K(n, `${$}-modal-logo`, {
35658
+ className: X(n, `${j}-modal-logo`, {
35665
35659
  standalone: _,
35666
35660
  embedded: !_
35667
35661
  }),
@@ -35671,14 +35665,14 @@ const W2 = (e) => {
35671
35665
  /* @__PURE__ */ C.jsx(
35672
35666
  $m,
35673
35667
  {
35674
- className: K(n, `${$}-modal-title`, {
35668
+ className: X(n, `${j}-modal-title`, {
35675
35669
  standalone: _,
35676
35670
  embedded: !_
35677
35671
  }),
35678
35672
  children: t
35679
35673
  }
35680
35674
  ),
35681
- /* @__PURE__ */ C.jsxs("div", { className: K(n, `${$}-modal-controls`), children: [
35675
+ /* @__PURE__ */ C.jsxs("div", { className: X(n, `${j}-modal-controls`), children: [
35682
35676
  /* @__PURE__ */ C.jsx($B, {}),
35683
35677
  /* @__PURE__ */ C.jsx(jB, { componentType: "modal", isIcon: !0 }),
35684
35678
  /* @__PURE__ */ C.jsx(p2, { componentType: "modal", isIcon: !0 }),
@@ -35691,7 +35685,7 @@ const W2 = (e) => {
35691
35685
  /* @__PURE__ */ C.jsxs(
35692
35686
  zm,
35693
35687
  {
35694
- className: K(n, `${$}-message-container`, {
35688
+ className: X(n, `${j}-message-container`, {
35695
35689
  standalone: _,
35696
35690
  embedded: !_
35697
35691
  }),
@@ -35736,19 +35730,19 @@ const W2 = (e) => {
35736
35730
  /* @__PURE__ */ C.jsx(
35737
35731
  "div",
35738
35732
  {
35739
- className: K(e, `${$}-minimized-container`),
35733
+ className: X(e, `${j}-minimized-container`),
35740
35734
  style: n,
35741
35735
  children: /* @__PURE__ */ C.jsx(
35742
35736
  Pr,
35743
35737
  {
35744
- className: K(e, `${$}-minimized-button`),
35738
+ className: X(e, `${j}-minimized-button`),
35745
35739
  ariaLabel: "Open Copilot",
35746
35740
  icon: /* @__PURE__ */ C.jsx(
35747
35741
  "img",
35748
35742
  {
35749
35743
  src: t || qB,
35750
35744
  alt: "Copilot",
35751
- className: K(e, `${$}-minimized-icon-img`)
35745
+ className: X(e, `${j}-minimized-icon-img`)
35752
35746
  }
35753
35747
  ),
35754
35748
  onClick: r
@@ -35826,24 +35820,24 @@ const W2 = (e) => {
35826
35820
  return /* @__PURE__ */ C.jsxs(
35827
35821
  "form",
35828
35822
  {
35829
- className: K(t, `${$}-prompts-input-container`),
35830
- name: `${$}-prompts-form`,
35823
+ className: X(t, `${j}-prompts-input-container`),
35824
+ name: `${j}-prompts-form`,
35831
35825
  onSubmit: u,
35832
35826
  children: [
35833
35827
  /* @__PURE__ */ C.jsx(
35834
35828
  "label",
35835
35829
  {
35836
- htmlFor: `${$}-prompts-input`,
35830
+ htmlFor: `${j}-prompts-input`,
35837
35831
  "aria-label": n || "Ask Copilot",
35838
- children: /* @__PURE__ */ C.jsx(Q5, { className: K(t, `${$}-prompts-input-icon`) })
35832
+ children: /* @__PURE__ */ C.jsx(Q5, { className: X(t, `${j}-prompts-input-icon`) })
35839
35833
  }
35840
35834
  ),
35841
35835
  /* @__PURE__ */ C.jsx(
35842
35836
  "input",
35843
35837
  {
35844
- id: `${$}-prompts-input`,
35845
- className: K(t, `${$}-prompts-input`),
35846
- name: `${$}-prompts-input`,
35838
+ id: `${j}-prompts-input`,
35839
+ className: X(t, `${j}-prompts-input`),
35840
+ name: `${j}-prompts-input`,
35847
35841
  placeholder: n || "Ask Copilot",
35848
35842
  type: "text",
35849
35843
  disabled: r,
@@ -35854,7 +35848,7 @@ const W2 = (e) => {
35854
35848
  /* @__PURE__ */ C.jsx(
35855
35849
  Pr,
35856
35850
  {
35857
- className: K(t, `${$}-prompts-input-submit-button`),
35851
+ className: X(t, `${j}-prompts-input-submit-button`),
35858
35852
  type: "submit",
35859
35853
  ariaLabel: "Submit Prompt",
35860
35854
  icon: /* @__PURE__ */ C.jsx(So, {}),
@@ -35872,12 +35866,12 @@ const W2 = (e) => {
35872
35866
  const p = d.displayText.trim();
35873
35867
  p && e(p);
35874
35868
  }, u = !!(n != null && n.suggestions && ((c = n == null ? void 0 : n.suggestions) != null && c.length));
35875
- return /* @__PURE__ */ C.jsxs("div", { className: K(t, `${$}-prompts-button-group`), children: [
35869
+ return /* @__PURE__ */ C.jsxs("div", { className: X(t, `${j}-prompts-button-group`), children: [
35876
35870
  !s && /* @__PURE__ */ C.jsx(Do, {}),
35877
35871
  s && u && ((f = n == null ? void 0 : n.suggestions) == null ? void 0 : f.map((d) => /* @__PURE__ */ C.jsx(
35878
35872
  "button",
35879
35873
  {
35880
- className: K(t, `${$}-prompts-button`),
35874
+ className: X(t, `${j}-prompts-button`),
35881
35875
  disabled: r,
35882
35876
  onClick: a(d),
35883
35877
  children: d.displayText
@@ -35887,16 +35881,22 @@ const W2 = (e) => {
35887
35881
  ] });
35888
35882
  }, QB = () => {
35889
35883
  const { globalClassName: e } = ct(), { isInline: t, userPrompt: n } = Mi();
35890
- return !n || !t ? null : /* @__PURE__ */ C.jsx("div", { className: K(e, `${$}-prompts-message-container`), children: /* @__PURE__ */ C.jsx("p", { className: K(e, `${$}-prompts-message`), children: n }) });
35884
+ return !n || !t ? null : /* @__PURE__ */ C.jsx(
35885
+ "div",
35886
+ {
35887
+ className: X(e, `${j}-prompts-user-message-container`),
35888
+ children: /* @__PURE__ */ C.jsx("p", { className: X(e, `${j}-prompts-user-message`), children: n })
35889
+ }
35890
+ );
35891
35891
  }, JB = () => {
35892
35892
  const { globalClassName: e, openLinksInNewTab: t } = ct(), { isInline: n, responseMessage: r, isResponseLoading: s } = Mi();
35893
35893
  return !n || !r && !s ? null : s ? /* @__PURE__ */ C.jsx(Do, {}) : r ? /* @__PURE__ */ C.jsx(
35894
35894
  "div",
35895
35895
  {
35896
- className: K(
35896
+ className: X(
35897
35897
  e,
35898
- `${$}-prompts-response-container`,
35899
- `${$}-message-container`
35898
+ `${j}-prompts-response-container`,
35899
+ `${j}-message-container`
35900
35900
  ),
35901
35901
  children: /* @__PURE__ */ C.jsx(
35902
35902
  Bm,
@@ -35979,13 +35979,24 @@ const W2 = (e) => {
35979
35979
  /* @__PURE__ */ C.jsxs(
35980
35980
  "div",
35981
35981
  {
35982
- className: K(e, `${$}-prompts-extension-container`),
35982
+ className: X(e, `${j}-prompts-extension-container`),
35983
35983
  style: t,
35984
35984
  children: [
35985
35985
  /* @__PURE__ */ C.jsx(XB, { sendCopilotPrompt: v }),
35986
35986
  /* @__PURE__ */ C.jsx(KB, { sendCopilotPrompt: v }),
35987
- /* @__PURE__ */ C.jsx(QB, {}),
35988
- /* @__PURE__ */ C.jsx(JB, {})
35987
+ /* @__PURE__ */ C.jsxs(
35988
+ "div",
35989
+ {
35990
+ className: X(
35991
+ e,
35992
+ `${j}-prompts-extension-messages-container`
35993
+ ),
35994
+ children: [
35995
+ /* @__PURE__ */ C.jsx(QB, {}),
35996
+ /* @__PURE__ */ C.jsx(JB, {})
35997
+ ]
35998
+ }
35999
+ )
35989
36000
  ]
35990
36001
  }
35991
36002
  ),