@8wave/ai-elements 0.121.0-beta.20 → 0.121.0-beta.21

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.
@@ -13929,7 +13929,7 @@ var Zg = {
13929
13929
  //#endregion
13930
13930
  //#region ../../packages/components/src/chat/PkHostCallConfirmCard.vue?vue&type=script&setup=true&lang.ts
13931
13931
  U(), J(), ke();
13932
- var $g = { class: "w-full bg-surface p-sm rounded-xl border border-surface-3" }, e_ = { class: "text-14 text-word-2 m-0 mb-xs" }, t_ = /* @__PURE__ */ q({
13932
+ var $g = { class: "pk-host-call-confirm-card w-full bg-surface p-sm rounded-xl border border-surface-3" }, e_ = { class: "text-14 text-word-2 m-0 mb-xs" }, t_ = /* @__PURE__ */ q({
13933
13933
  __name: "PkHostCallConfirmCard",
13934
13934
  props: { question: { type: String } },
13935
13935
  emits: ["respond"],
@@ -17112,62 +17112,79 @@ var Hb = {
17112
17112
  }), [["styles", [".pk-page-control-bar{top:var(--spacing-48);z-index:2147483647;align-items:center;gap:var(--spacing-12);max-width:calc(100vw - var(--spacing-32));padding:var(--spacing-8) var(--spacing-8) var(--spacing-8) var(--spacing-16);border-radius:var(--rounded-full);background-color:var(--color-word-1);color:var(--color-surface);font-family:var(--font-sans);font-size:var(--text-14);font-weight:var(--font-medium);box-shadow:var(--shadow-lg);display:flex;position:fixed;left:50%;transform:translate(-50%)}.pk-page-control-bar__text{text-overflow:ellipsis;white-space:nowrap;min-width:0;overflow:hidden}.pk-page-control-bar__stop{border-radius:var(--rounded-full);padding:var(--spacing-6) var(--spacing-14);background-color:var(--color-surface);color:var(--color-word-1);font:inherit;cursor:pointer;border:0;flex-shrink:0}.pk-page-control-bar__stop:focus-visible{outline:var(--spacing-2) solid var(--color-surface);outline-offset:var(--spacing-2)}"]]]);
17113
17113
  //#endregion
17114
17114
  //#region ../../packages/components/src/chat/PkHostCallConfirmDialog.vue?vue&type=script&setup=true&lang.ts
17115
- U(), ke();
17116
- //#endregion
17117
- //#region ../../packages/components/src/chat/PkHostCallConfirmDialog.vue
17118
- var Gb = /*#__PURE__*/ An(/* @__PURE__ */ q({
17115
+ U(), ke(), J(), F();
17116
+ var Gb = 16, Kb = /*#__PURE__*/ An(/* @__PURE__ */ q({
17119
17117
  __name: "PkHostCallConfirmDialog",
17120
17118
  props: { question: { type: String } },
17121
17119
  emits: ["respond"],
17122
17120
  setup(e, { emit: t }) {
17123
- let n = t, r = _e("dialog");
17121
+ let n = t, r = _e("dialog"), i = V(), a = () => {
17122
+ let e = r.value;
17123
+ if (!e) return;
17124
+ let t = [...e.getRootNode().querySelectorAll(".pk-host-call-confirm-card")].filter((t) => !e.contains(t)), n = t[t.length - 1]?.getBoundingClientRect();
17125
+ if (!n || n.width === 0) {
17126
+ i.value = void 0;
17127
+ return;
17128
+ }
17129
+ let a = Math.max(Gb, Math.min(n.top, window.innerHeight - e.offsetHeight - Gb)), o = {
17130
+ left: `${n.left}px`,
17131
+ top: `${a}px`,
17132
+ width: `${n.width}px`
17133
+ };
17134
+ JSON.stringify(o) !== JSON.stringify(i.value) && (i.value = o);
17135
+ }, o = 0, s = () => {
17136
+ a(), o = requestAnimationFrame(s);
17137
+ };
17124
17138
  return oe(() => {
17125
- r.value?.showModal();
17126
- }), (t, i) => (j(), Z("dialog", {
17139
+ r.value?.showModal(), s();
17140
+ }), ae(() => {
17141
+ cancelAnimationFrame(o);
17142
+ }), (t, a) => (j(), Z("dialog", {
17127
17143
  ref_key: "dialog",
17128
17144
  ref: r,
17129
- class: "pk-host-call-confirm-dialog",
17130
- onCancel: i[1] ||= I((e) => n("respond", !1), ["prevent"])
17145
+ class: me(["pk-host-call-confirm-dialog", { "pk-host-call-confirm-dialog--anchored": i.value }]),
17146
+ style: re(i.value),
17147
+ onCancel: a[1] ||= I((e) => n("respond", !1), ["prevent"])
17131
17148
  }, [M(t_, {
17132
17149
  question: e.question,
17133
- onRespond: i[0] ||= (e) => n("respond", e)
17134
- }, null, 8, ["question"])], 544));
17150
+ onRespond: a[0] ||= (e) => n("respond", e)
17151
+ }, null, 8, ["question"])], 38));
17135
17152
  }
17136
- }), [["styles", [".pk-host-call-confirm-dialog{width:min(24rem, 100vw - var(--spacing-32));border-radius:var(--rounded-xl);max-width:none;color:var(--color-word-1);font-family:var(--font-sans);box-shadow:var(--shadow-xl);background:0 0;border:0;padding:0}.pk-host-call-confirm-dialog::backdrop{background:0 0}"]]]);
17153
+ }), [["styles", [".pk-host-call-confirm-dialog{inset:auto 0 var(--spacing-32);width:min(24rem, 100vw - var(--spacing-32));border-radius:var(--rounded-xl);max-width:none;color:var(--color-word-1);font-family:var(--font-sans);box-shadow:var(--shadow-xl);background:0 0;border:0;margin:0 auto;padding:0;position:fixed}.pk-host-call-confirm-dialog--anchored{margin:0;inset:auto}.pk-host-call-confirm-dialog::backdrop{background:0 0}"]]]);
17137
17154
  //#endregion
17138
17155
  //#region src/composables/usePageModal.ts
17139
17156
  F(), U();
17140
- var Kb = 300, qb = 50, Jb = /* @__PURE__ */ new Set(["EMBEDDED-CHAT-WIDGET", "FLOATING-CHAT-WIDGET"]), Yb = (e) => [...e.querySelectorAll("dialog:modal")], Xb = (e) => [...e.querySelectorAll("*")].filter((e) => !Jb.has(e.tagName)).map((e) => e.shadowRoot).filter((e) => !!e), Zb = () => {
17157
+ var qb = 300, Jb = 50, Yb = /* @__PURE__ */ new Set(["EMBEDDED-CHAT-WIDGET", "FLOATING-CHAT-WIDGET"]), Xb = (e) => [...e.querySelectorAll("dialog:modal")], Zb = (e) => [...e.querySelectorAll("*")].filter((e) => !Yb.has(e.tagName)).map((e) => e.shadowRoot).filter((e) => !!e), Qb = () => {
17141
17158
  let e = [], t = document.activeElement;
17142
17159
  for (; t;) e.push(t), t = t.shadowRoot?.activeElement ?? null;
17143
17160
  return e;
17144
- }, Qb = () => {
17161
+ }, $b = () => {
17145
17162
  let e;
17146
17163
  try {
17147
- e = Yb(document);
17148
- let t = e.length === 0 ? Xb(document) : [];
17149
- for (let n = 0; e.length === 0 && t.length > 0 && n < qb; n++) {
17164
+ e = Xb(document);
17165
+ let t = e.length === 0 ? Zb(document) : [];
17166
+ for (let n = 0; e.length === 0 && t.length > 0 && n < Jb; n++) {
17150
17167
  let n = t.shift();
17151
- e = Yb(n), t.push(...Xb(n));
17168
+ e = Xb(n), t.push(...Zb(n));
17152
17169
  }
17153
17170
  } catch {
17154
17171
  return null;
17155
17172
  }
17156
- let t = Zb();
17173
+ let t = Qb();
17157
17174
  return e.find((e) => t.some((t) => e.contains(t))) ?? e[e.length - 1] ?? null;
17158
17175
  };
17159
- function $b(e) {
17176
+ function ex(e) {
17160
17177
  let t = ve(null), n, r = () => {
17161
17178
  clearInterval(n), n = void 0, t.value = null;
17162
17179
  };
17163
17180
  return N(() => X(e), (e) => {
17164
- r(), e && (t.value = Qb(), n = setInterval(() => {
17165
- let e = Qb();
17181
+ r(), e && (t.value = $b(), n = setInterval(() => {
17182
+ let e = $b();
17166
17183
  e !== t.value && (t.value = e);
17167
- }, Kb));
17184
+ }, qb));
17168
17185
  }, { immediate: !0 }), Ce(r), t;
17169
17186
  }
17170
- var ex = () => {
17187
+ var tx = () => {
17171
17188
  for (let e of document.querySelectorAll("embedded-chat-widget, floating-chat-widget")) {
17172
17189
  let t = e.shadowRoot?.querySelector(".pk-page-control-bar");
17173
17190
  if (t) {
@@ -17183,14 +17200,14 @@ var ex = () => {
17183
17200
  paper: "#fff"
17184
17201
  };
17185
17202
  };
17186
- function tx(e, t, n) {
17203
+ function nx(e, t, n) {
17187
17204
  let r, i = () => {
17188
17205
  r?.remove(), r = void 0;
17189
17206
  };
17190
17207
  N([e, () => X(t)], ([e, t]) => {
17191
17208
  if (i(), !e || !t) return;
17192
17209
  r = document.createElement(Af);
17193
- let a = r.attachShadow({ mode: "open" }), o = document.createElement("style"), { ink: s, paper: c } = ex();
17210
+ let a = r.attachShadow({ mode: "open" }), o = document.createElement("style"), { ink: s, paper: c } = tx();
17194
17211
  o.textContent = `
17195
17212
  :host { all: initial; }
17196
17213
  div {
@@ -17217,16 +17234,16 @@ function tx(e, t, n) {
17217
17234
  //#endregion
17218
17235
  //#region ../../packages/components/src/chat/PkChatbotAuth.vue?vue&type=script&setup=true&lang.ts
17219
17236
  U(), J(), F(), ke();
17220
- var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-full min-h-full p-lg overflow-y-auto" }, rx = { class: "pk-chatbot-auth__flip w-full max-w-384 mx-auto my-auto" }, ix = { class: "pk-chatbot-auth__success-icon w-64 h-64 border border-surface-3 rounded-full bg-surface flex items-center justify-center overflow-hidden bg-surface mx-auto mb-md" }, ax = { class: "font-bold text-18 mb-xs" }, ox = { class: "mb-lg text-16 text-word-3" }, sx = {
17237
+ var rx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-full min-h-full p-lg overflow-y-auto" }, ix = { class: "pk-chatbot-auth__flip w-full max-w-384 mx-auto my-auto" }, ax = { class: "pk-chatbot-auth__success-icon w-64 h-64 border border-surface-3 rounded-full bg-surface flex items-center justify-center overflow-hidden bg-surface mx-auto mb-md" }, ox = { class: "font-bold text-18 mb-xs" }, sx = { class: "mb-lg text-16 text-word-3" }, cx = {
17221
17238
  key: "form",
17222
17239
  class: "pk-chatbot-auth__flip-card flex flex-col"
17223
- }, cx = { class: "flex flex-col" }, lx = {
17240
+ }, lx = { class: "flex flex-col" }, ux = {
17224
17241
  key: 0,
17225
17242
  class: "flex justify-center mb-md"
17226
- }, ux = ["src", "alt"], dx = { class: "text-center leading-normal mb-lg" }, fx = {
17243
+ }, dx = ["src", "alt"], fx = { class: "text-center leading-normal mb-lg" }, px = {
17227
17244
  key: 0,
17228
17245
  class: "font-bold text-20 m-0"
17229
- }, px = { class: "text-14 text-word-3 text-center leading-normal mb-md" }, mx = { class: "flex justify-center mt-md" }, hx = { class: "mb-md" }, gx = { class: "mb-md" }, _x = { class: "mb-md" }, vx = { class: "vv-separator mt-xs py-xs" }, yx = { class: "pt-lg text-center text-word-3" }, bx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17246
+ }, mx = { class: "text-14 text-word-3 text-center leading-normal mb-md" }, hx = { class: "flex justify-center mt-md" }, gx = { class: "mb-md" }, _x = { class: "mb-md" }, vx = { class: "mb-md" }, yx = { class: "vv-separator mt-xs py-xs" }, bx = { class: "pt-lg text-center text-word-3" }, xx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17230
17247
  __name: "PkChatbotAuth",
17231
17248
  props: /*@__PURE__*/ ce({
17232
17249
  branding: {
@@ -17318,7 +17335,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17318
17335
  }
17319
17336
  return (t, r) => {
17320
17337
  let i = xn, o = Cn, s = bn, h = mn;
17321
- return j(), Z("div", nx, [z("div", rx, [M(W, {
17338
+ return j(), Z("div", rx, [z("div", ix, [M(W, {
17322
17339
  name: "pk-flip",
17323
17340
  mode: "out-in",
17324
17341
  onAfterEnter: T
@@ -17330,13 +17347,13 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17330
17347
  tabindex: "-1",
17331
17348
  class: "pk-chatbot-auth__flip-card outline-none flex flex-col text-center leading-normal"
17332
17349
  }, [
17333
- z("div", ix, [M(i, {
17350
+ z("div", ax, [M(i, {
17334
17351
  name: "ri:mail-check-line",
17335
17352
  "aria-hidden": "true",
17336
17353
  class: "text-success w-32 h-32"
17337
17354
  })]),
17338
- z("h1", ax, A(u.value.title), 1),
17339
- z("p", ox, A(u.value.message), 1),
17355
+ z("h1", ox, A(u.value.title), 1),
17356
+ z("p", sx, A(u.value.message), 1),
17340
17357
  M(o, {
17341
17358
  type: "button",
17342
17359
  modifiers: "link",
@@ -17344,14 +17361,14 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17344
17361
  label: w(n)("action.backToSignIn"),
17345
17362
  onClick: p
17346
17363
  }, null, 8, ["label"])
17347
- ], 512)) : (j(), Z("div", sx, [z("div", cx, [
17348
- w(a)(e.branding?.interface.logo) ? (j(), Z("div", lx, [z("img", {
17364
+ ], 512)) : (j(), Z("div", cx, [z("div", lx, [
17365
+ w(a)(e.branding?.interface.logo) ? (j(), Z("div", ux, [z("img", {
17349
17366
  src: e.branding?.interface.logo,
17350
17367
  alt: e.branding?.name,
17351
17368
  class: "w-64 h-64 border border-surface-3 rounded-full overflow-hidden bg-surface object-contain",
17352
17369
  onError: r[0] ||= (t) => w(c)(e.branding?.interface.logo)
17353
- }, null, 40, ux)])) : G("", !0),
17354
- z("div", dx, [e.branding?.name ? (j(), Z("h1", fx, A(e.branding.name), 1)) : G("", !0), (j(), P(he(e.branding?.name ? "h2" : "h1"), { class: "text-word-3 mb-0" }, {
17370
+ }, null, 40, dx)])) : G("", !0),
17371
+ z("div", fx, [e.branding?.name ? (j(), Z("h1", px, A(e.branding.name), 1)) : G("", !0), (j(), P(he(e.branding?.name ? "h2" : "h1"), { class: "text-word-3 mb-0" }, {
17355
17372
  default: L(() => [oe.value ? (j(), Z(R, { key: 0 }, [Y(A(w(n)("twoFactor.challengeTitle")), 1)], 64)) : f.value === "sign-in" ? (j(), Z(R, { key: 1 }, [Y(A(w(n)("auth.signInTitle")), 1)], 64)) : f.value === "sign-up" ? (j(), Z(R, { key: 2 }, [Y(A(w(n)("auth.signUpTitle")), 1)], 64)) : f.value === "reset" ? (j(), Z(R, { key: 3 }, [Y(A(w(n)("auth.resetTitle")), 1)], 64)) : G("", !0)]),
17356
17373
  _: 1
17357
17374
  }))]),
@@ -17362,7 +17379,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17362
17379
  content: l.value
17363
17380
  }, null, 8, ["content"])) : G("", !0),
17364
17381
  oe.value ? (j(), Z(R, { key: 2 }, [
17365
- z("p", px, A(le.value), 1),
17382
+ z("p", mx, A(le.value), 1),
17366
17383
  M(w(O), {
17367
17384
  class: "flex flex-col",
17368
17385
  readonly: e.loading,
@@ -17387,7 +17404,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17387
17404
  ])]),
17388
17405
  _: 1
17389
17406
  }, 8, ["readonly"]),
17390
- z("div", mx, [D.value === "totp" ? (j(), P(o, {
17407
+ z("div", hx, [D.value === "totp" ? (j(), P(o, {
17391
17408
  key: 0,
17392
17409
  type: "button",
17393
17410
  modifiers: "link",
@@ -17413,7 +17430,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17413
17430
  readonly: e.loading,
17414
17431
  onSubmit: re
17415
17432
  }, {
17416
- default: L(() => [z("div", hx, [
17433
+ default: L(() => [z("div", gx, [
17417
17434
  M(w(y), {
17418
17435
  name: "email",
17419
17436
  type: "email",
@@ -17428,7 +17445,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17428
17445
  label: w(n)("label.password"),
17429
17446
  floating: ""
17430
17447
  }, null, 8, ["label"]),
17431
- z("div", gx, [M(o, {
17448
+ z("div", _x, [M(o, {
17432
17449
  type: "button",
17433
17450
  modifiers: "link",
17434
17451
  label: w(n)("action.forgetPassword"),
@@ -17458,7 +17475,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17458
17475
  readonly: e.loading,
17459
17476
  onSubmit: E
17460
17477
  }, {
17461
- default: L(() => [z("div", _x, [
17478
+ default: L(() => [z("div", vx, [
17462
17479
  M(w(x), {
17463
17480
  name: "name",
17464
17481
  type: "text",
@@ -17527,7 +17544,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17527
17544
  })]),
17528
17545
  _: 1
17529
17546
  }, 8, ["readonly"])) : G("", !0),
17530
- !oe.value && (f.value === "sign-in" || f.value === "sign-up") && m.value ? (j(), Z(R, { key: 6 }, [z("div", vx, [z("span", null, A(w(n)("label.or")), 1)]), M(h, {
17547
+ !oe.value && (f.value === "sign-in" || f.value === "sign-up") && m.value ? (j(), Z(R, { key: 6 }, [z("div", yx, [z("span", null, A(w(n)("label.or")), 1)]), M(h, {
17531
17548
  modifiers: "vertical",
17532
17549
  class: "gap-xs mt-xs"
17533
17550
  }, {
@@ -17550,7 +17567,7 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17550
17567
  }, null, 8, ["disabled", "label"])) : G("", !0)]),
17551
17568
  _: 1
17552
17569
  })], 64)) : G("", !0)
17553
- ]), z("div", yx, [oe.value ? (j(), P(o, {
17570
+ ]), z("div", bx, [oe.value ? (j(), P(o, {
17554
17571
  key: 0,
17555
17572
  type: "button",
17556
17573
  modifiers: "link",
@@ -17581,22 +17598,22 @@ var nx = { class: "pk-chatbot-auth flex flex-col items-center justify-center w-f
17581
17598
  })])]);
17582
17599
  };
17583
17600
  }
17584
- }), [["styles", [".pk-chatbot-auth__flip{transform-style:preserve-3d;perspective:1000px;display:grid}.pk-chatbot-auth__flip-card{backface-visibility:hidden;transform-style:preserve-3d;grid-area:1/1}.pk-chatbot-auth__success-icon{animation:.4s ease-out .3s backwards pk-chatbot-auth-check-pop}.pk-flip-enter-active{animation:.6s ease-out pk-chatbot-auth-flip-in}.pk-flip-leave-active{animation:.6s ease-in pk-chatbot-auth-flip-out}@keyframes pk-chatbot-auth-flip-in{0%{opacity:0;transform:rotateY(-180deg)}to{opacity:1;transform:rotateY(0)}}@keyframes pk-chatbot-auth-flip-out{0%{opacity:1;transform:rotateY(0)}to{opacity:0;transform:rotateY(180deg)}}@keyframes pk-chatbot-auth-check-pop{0%{opacity:0;transform:scale(0)}60%{transform:scale(1.15)}to{opacity:1;transform:scale(1)}}"]]]), xx = "@layer volver.reset,volver.preflight,volver.props;@layer volver.components{.pk-loader{width:var(--spacing-48);height:var(--spacing-48);border-radius:50%;animation:1s linear infinite pk-loader-rotate;position:relative}.pk-loader:before{content:\"\";box-sizing:border-box;border:var(--spacing-5) solid var(--color-brand);border-radius:50%;animation:2s linear infinite pk-loader-clip;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.pk-loader,.pk-loader:before{animation:none}}@keyframes pk-loader-rotate{to{rotate:360deg}}@keyframes pk-loader-clip{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}}@layer volver.themes,volver.utilities;";
17601
+ }), [["styles", [".pk-chatbot-auth__flip{transform-style:preserve-3d;perspective:1000px;display:grid}.pk-chatbot-auth__flip-card{backface-visibility:hidden;transform-style:preserve-3d;grid-area:1/1}.pk-chatbot-auth__success-icon{animation:.4s ease-out .3s backwards pk-chatbot-auth-check-pop}.pk-flip-enter-active{animation:.6s ease-out pk-chatbot-auth-flip-in}.pk-flip-leave-active{animation:.6s ease-in pk-chatbot-auth-flip-out}@keyframes pk-chatbot-auth-flip-in{0%{opacity:0;transform:rotateY(-180deg)}to{opacity:1;transform:rotateY(0)}}@keyframes pk-chatbot-auth-flip-out{0%{opacity:1;transform:rotateY(0)}to{opacity:0;transform:rotateY(180deg)}}@keyframes pk-chatbot-auth-check-pop{0%{opacity:0;transform:scale(0)}60%{transform:scale(1.15)}to{opacity:1;transform:scale(1)}}"]]]), Sx = "@layer volver.reset,volver.preflight,volver.props;@layer volver.components{.pk-loader{width:var(--spacing-48);height:var(--spacing-48);border-radius:50%;animation:1s linear infinite pk-loader-rotate;position:relative}.pk-loader:before{content:\"\";box-sizing:border-box;border:var(--spacing-5) solid var(--color-brand);border-radius:50%;animation:2s linear infinite pk-loader-clip;position:absolute;inset:0}@media (prefers-reduced-motion:reduce){.pk-loader,.pk-loader:before{animation:none}}@keyframes pk-loader-rotate{to{rotate:360deg}}@keyframes pk-loader-clip{0%{clip-path:polygon(50% 50%,0 0,0 0,0 0,0 0,0 0)}25%{clip-path:polygon(50% 50%,0 0,100% 0,100% 0,100% 0,100% 0)}50%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,100% 100%,100% 100%)}75%{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 100%)}to{clip-path:polygon(50% 50%,0 0,100% 0,100% 100%,0 100%,0 0)}}}@layer volver.themes,volver.utilities;";
17585
17602
  //#endregion
17586
17603
  //#region ../../packages/components/src/PkLoader.vue
17587
17604
  U();
17588
- var Sx = {};
17589
- function Cx(e, t) {
17605
+ var Cx = {};
17606
+ function wx(e, t) {
17590
17607
  return j(), Z("div", null, [...t[0] ||= [z("div", {
17591
17608
  "aria-hidden": "true",
17592
17609
  class: "pk-loader"
17593
17610
  }, null, -1)]]);
17594
17611
  }
17595
- var wx = /*#__PURE__*/ An(Sx, [["render", Cx], ["styles", [xx]]]);
17612
+ var Tx = /*#__PURE__*/ An(Cx, [["render", wx], ["styles", [Sx]]]);
17596
17613
  //#endregion
17597
17614
  //#region ../../packages/components/src/chat/PkWelcomePopup.vue?vue&type=script&setup=true&lang.ts
17598
17615
  U(), J(), ke(), F();
17599
- var Tx = { class: "welcome-popup__text" }, Ex = ["aria-label"], Dx = 100, Ox = /*#__PURE__*/ An(/* @__PURE__ */ q({
17616
+ var Ex = { class: "welcome-popup__text" }, Dx = ["aria-label"], Ox = 100, kx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17600
17617
  __name: "PkWelcomePopup",
17601
17618
  props: {
17602
17619
  agentId: { type: String },
@@ -17617,7 +17634,7 @@ var Tx = { class: "welcome-popup__text" }, Ex = ["aria-label"], Dx = 100, Ox = /
17617
17634
  c.value = [], s.value = !1;
17618
17635
  let t = e.split(/(\s+)/), n = 0;
17619
17636
  function r() {
17620
- n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, Dx)) : s.value = !0;
17637
+ n < t.length ? (c.value.push(t[n]), n++, l = setTimeout(r, Ox)) : s.value = !0;
17621
17638
  }
17622
17639
  r();
17623
17640
  }
@@ -17641,7 +17658,7 @@ var Tx = { class: "welcome-popup__text" }, Ex = ["aria-label"], Dx = 100, Ox = /
17641
17658
  key: 0,
17642
17659
  class: "welcome-popup",
17643
17660
  onClick: I(m, ["stop"])
17644
- }, [z("p", Tx, [(j(!0), Z(R, null, S(c.value, (e, t) => (j(), Z("span", {
17661
+ }, [z("p", Ex, [(j(!0), Z(R, null, S(c.value, (e, t) => (j(), Z("span", {
17645
17662
  key: t,
17646
17663
  class: "welcome-popup__word"
17647
17664
  }, A(e), 1))), 128))]), M(W, null, {
@@ -17657,7 +17674,7 @@ var Tx = { class: "welcome-popup__text" }, Ex = ["aria-label"], Dx = 100, Ox = /
17657
17674
  width: "14",
17658
17675
  height: "14",
17659
17676
  fill: "currentColor"
17660
- }, [z("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, Ex)) : G("", !0)]),
17677
+ }, [z("path", { d: "M12.0007 10.5865L16.9504 5.63672L18.3646 7.05093L13.4149 12.0007L18.3646 16.9504L16.9504 18.3646L12.0007 13.4149L7.05093 18.3646L5.63672 16.9504L10.5865 12.0007L5.63672 7.05093L7.05093 5.63672L12.0007 10.5865Z" })], -1)]], 8, Dx)) : G("", !0)]),
17661
17678
  _: 1
17662
17679
  })])) : G("", !0)]),
17663
17680
  _: 1
@@ -17667,16 +17684,16 @@ var Tx = { class: "welcome-popup__text" }, Ex = ["aria-label"], Dx = 100, Ox = /
17667
17684
  //#endregion
17668
17685
  //#region ../../packages/components/src/chat/PkWorkingBeam.vue?vue&type=script&setup=true&lang.ts
17669
17686
  U(), ke();
17670
- var kx = {
17687
+ var Ax = {
17671
17688
  key: 0,
17672
17689
  class: "pk-working-beam",
17673
17690
  "aria-hidden": "true"
17674
- }, Ax = /*#__PURE__*/ An(/* @__PURE__ */ q({
17691
+ }, jx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17675
17692
  __name: "PkWorkingBeam",
17676
17693
  props: { active: { type: Boolean } },
17677
17694
  setup(e) {
17678
17695
  return (t, n) => (j(), P(W, { name: "pk-working-beam" }, {
17679
- default: L(() => [e.active ? (j(), Z("span", kx, [...n[0] ||= [z("span", { class: "pk-working-beam__halo" }, null, -1), z("span", { class: "pk-working-beam__ring" }, [z("span", { class: "pk-working-beam__light" })], -1)]])) : G("", !0)]),
17696
+ default: L(() => [e.active ? (j(), Z("span", Ax, [...n[0] ||= [z("span", { class: "pk-working-beam__halo" }, null, -1), z("span", { class: "pk-working-beam__ring" }, [z("span", { class: "pk-working-beam__light" })], -1)]])) : G("", !0)]),
17680
17697
  _: 1
17681
17698
  }));
17682
17699
  }
@@ -17684,14 +17701,14 @@ var kx = {
17684
17701
  //#endregion
17685
17702
  //#region src/components/FloatingChatWidget.ce.vue?vue&type=script&setup=true&lang.ts
17686
17703
  U(), F(), J(), ke();
17687
- var jx = {
17704
+ var Mx = {
17688
17705
  key: 0,
17689
17706
  class: "floating-chat-widget__frame",
17690
17707
  "aria-hidden": "true"
17691
- }, Mx = {
17708
+ }, Nx = {
17692
17709
  key: 0,
17693
17710
  class: "floating-chat-widget__launcher"
17694
- }, Nx = ["aria-label", "aria-expanded"], Px = {
17711
+ }, Px = ["aria-label", "aria-expanded"], Fx = {
17695
17712
  key: 0,
17696
17713
  class: "w-full h-full",
17697
17714
  xmlns: "http://www.w3.org/2000/svg",
@@ -17699,7 +17716,7 @@ var jx = {
17699
17716
  width: "24",
17700
17717
  height: "24",
17701
17718
  fill: "currentColor"
17702
- }, Fx = {
17719
+ }, Ix = {
17703
17720
  key: 1,
17704
17721
  class: "w-full h-full",
17705
17722
  xmlns: "http://www.w3.org/2000/svg",
@@ -17707,13 +17724,13 @@ var jx = {
17707
17724
  width: "24",
17708
17725
  height: "24",
17709
17726
  fill: "currentColor"
17710
- }, Ix = {
17727
+ }, Lx = {
17711
17728
  key: 0,
17712
17729
  class: "floating-chat-widget__chat floating-chat-widget__auth"
17713
- }, Lx = { class: "floating-chat-widget__close" }, Rx = {
17730
+ }, Rx = { class: "floating-chat-widget__close" }, zx = {
17714
17731
  key: 0,
17715
17732
  class: "floating-chat-widget__chat floating-chat-widget__loading"
17716
- }, zx = { class: "floating-chat-widget__close" }, Bx = 450, Vx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17733
+ }, Bx = { class: "floating-chat-widget__close" }, Vx = 450, Hx = /*#__PURE__*/ An(/* @__PURE__ */ q({
17717
17734
  inheritAttrs: !1,
17718
17735
  __name: "FloatingChatWidget.ce",
17719
17736
  props: {
@@ -17791,8 +17808,8 @@ var jx = {
17791
17808
  userId: h
17792
17809
  });
17793
17810
  vm(() => E.isWorking), ym(() => E.pageControlActive);
17794
- let ie = $b(() => !!E.hostConfirmation || E.pageControlActive);
17795
- tx(ie, () => E.pageControlActive, {
17811
+ let ie = ex(() => !!E.hostConfirmation || E.pageControlActive);
17812
+ nx(ie, () => E.pageControlActive, {
17796
17813
  text: () => T("messagePart.pageControlActive"),
17797
17814
  stopLabel: () => T("action.stop"),
17798
17815
  onStop: () => void E.stopHostActions()
@@ -17844,7 +17861,7 @@ var jx = {
17844
17861
  N(l, () => {
17845
17862
  Ee.value = !0, clearTimeout(De), De = setTimeout(() => {
17846
17863
  Ee.value = !1;
17847
- }, Bx);
17864
+ }, Vx);
17848
17865
  });
17849
17866
  let Oe = B(() => Se.value && Ee.value ? "floating-chat-widget-copilot" : void 0), ke = B(() => {
17850
17867
  let e = [
@@ -17922,10 +17939,10 @@ var jx = {
17922
17939
  _: 1
17923
17940
  })) : G("", !0),
17924
17941
  M(W, { name: "floating-chat-widget-frame" }, {
17925
- default: L(() => [Se.value && w(l) ? (j(), Z("div", jx, [z("div", {
17942
+ default: L(() => [Se.value && w(l) ? (j(), Z("div", Mx, [z("div", {
17926
17943
  class: "floating-chat-widget__frame-window",
17927
17944
  style: re(we.value)
17928
- }, [M(Ax, { active: Ce.value }, null, 8, ["active"])], 4)])) : G("", !0)]),
17945
+ }, [M(jx, { active: Ce.value }, null, 8, ["active"])], 4)])) : G("", !0)]),
17929
17946
  _: 1
17930
17947
  }),
17931
17948
  M(W, { name: "floating-chat-widget-frame" }, {
@@ -17937,7 +17954,7 @@ var jx = {
17937
17954
  _: 1
17938
17955
  }),
17939
17956
  M(W, { name: "slide-bottom" }, {
17940
- default: L(() => [(w(D) || w(O)) && !w(ue) && !U.value && !(Se.value && w(l)) ? (j(), Z("div", Mx, [M(Ox, {
17957
+ default: L(() => [(w(D) || w(O)) && !w(ue) && !U.value && !(Se.value && w(l)) ? (j(), Z("div", Nx, [M(kx, {
17941
17958
  "agent-id": e.agentId,
17942
17959
  message: w(D)?.interface.initialMessage,
17943
17960
  enabled: !w(l) && w(D)?.interface?.welcomePopup,
@@ -17952,11 +17969,11 @@ var jx = {
17952
17969
  "aria-expanded": w(l),
17953
17970
  class: "floating-chat-widget__button",
17954
17971
  onClick: I(u, ["stop"])
17955
- }, [w(l) ? (j(), Z("svg", Px, [...n[5] ||= [z("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" }, null, -1)]])) : (j(), Z("svg", Fx, [...n[6] ||= [z("path", { d: "M12 1.99996C12.8632 1.99996 13.701 2.10973 14.5 2.31539L14 4.25192C13.3608 4.0874 12.6906 3.99997 12 3.99997C7.58174 3.99997 4.00002 7.58172 4 12C4 13.3344 4.3255 14.6174 4.93945 15.7656L5.28906 16.4189L4.63379 19.3662L7.58105 18.7109L8.23438 19.0605C9.38255 19.6745 10.6656 20 12 20C16.4183 20 20 16.4183 20 12C20 11.6771 19.9805 11.3587 19.9434 11.0459L21.9297 10.8095C21.976 11.1999 22 11.5972 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.69425 21.5746 7.29102 20.8242L2 22L3.17578 16.709C2.42541 15.3057 2 13.7025 2 12C2.00002 6.47714 6.47717 1.99996 12 1.99996ZM19.5293 1.3193C19.7058 0.893513 20.2942 0.8935 20.4707 1.3193L20.7236 1.93063C21.1555 2.97343 21.9615 3.80614 22.9746 4.2568L23.6914 4.57614C24.1022 4.75882 24.1022 5.35635 23.6914 5.53903L22.9326 5.87692C21.945 6.3162 21.1534 7.11943 20.7139 8.1279L20.4668 8.69333C20.2863 9.10747 19.7136 9.10747 19.5332 8.69333L19.2861 8.1279C18.8466 7.11942 18.0551 6.3162 17.0674 5.87692L16.3076 5.53903C15.8974 5.35618 15.8974 4.75895 16.3076 4.57614L17.0254 4.2568C18.0384 3.80614 18.8445 2.97343 19.2764 1.93063L19.5293 1.3193Z" }, null, -1)]]))], 8, Nx)])) : G("", !0)]),
17972
+ }, [w(l) ? (j(), Z("svg", Fx, [...n[5] ||= [z("path", { d: "M11.9999 13.1714L16.9497 8.22168L18.3639 9.63589L11.9999 15.9999L5.63599 9.63589L7.0502 8.22168L11.9999 13.1714Z" }, null, -1)]])) : (j(), Z("svg", Ix, [...n[6] ||= [z("path", { d: "M12 1.99996C12.8632 1.99996 13.701 2.10973 14.5 2.31539L14 4.25192C13.3608 4.0874 12.6906 3.99997 12 3.99997C7.58174 3.99997 4.00002 7.58172 4 12C4 13.3344 4.3255 14.6174 4.93945 15.7656L5.28906 16.4189L4.63379 19.3662L7.58105 18.7109L8.23438 19.0605C9.38255 19.6745 10.6656 20 12 20C16.4183 20 20 16.4183 20 12C20 11.6771 19.9805 11.3587 19.9434 11.0459L21.9297 10.8095C21.976 11.1999 22 11.5972 22 12C22 17.5228 17.5228 22 12 22C10.2975 22 8.69425 21.5746 7.29102 20.8242L2 22L3.17578 16.709C2.42541 15.3057 2 13.7025 2 12C2.00002 6.47714 6.47717 1.99996 12 1.99996ZM19.5293 1.3193C19.7058 0.893513 20.2942 0.8935 20.4707 1.3193L20.7236 1.93063C21.1555 2.97343 21.9615 3.80614 22.9746 4.2568L23.6914 4.57614C24.1022 4.75882 24.1022 5.35635 23.6914 5.53903L22.9326 5.87692C21.945 6.3162 21.1534 7.11943 20.7139 8.1279L20.4668 8.69333C20.2863 9.10747 19.7136 9.10747 19.5332 8.69333L19.2861 8.1279C18.8466 7.11942 18.0551 6.3162 17.0674 5.87692L16.3076 5.53903C15.8974 5.35618 15.8974 4.75895 16.3076 4.57614L17.0254 4.2568C18.0384 3.80614 18.8445 2.97343 19.2764 1.93063L19.5293 1.3193Z" }, null, -1)]]))], 8, Px)])) : G("", !0)]),
17956
17973
  _: 1
17957
17974
  }),
17958
17975
  M(W, { name: Oe.value }, {
17959
- default: L(() => [w(l) && (w(le) || w(de)) && !(w(D) && w(d).data) ? (j(), Z("div", Ix, [w(le) ? (j(), P(bx, {
17976
+ default: L(() => [w(l) && (w(le) || w(de)) && !(w(D) && w(d).data) ? (j(), Z("div", Lx, [w(le) ? (j(), P(xx, {
17960
17977
  key: 0,
17961
17978
  "error-message": w(Ae),
17962
17979
  "onUpdate:errorMessage": n[0] ||= (e) => Te(Ae) ? Ae.value = e : null,
@@ -17989,7 +18006,7 @@ var jx = {
17989
18006
  "onVerifyTwoFactor",
17990
18007
  "onSendTwoFactorCode",
17991
18008
  "onCancelTwoFactor"
17992
- ])) : (j(), P(wx, { key: 1 })), z("span", Lx, [M(a, {
18009
+ ])) : (j(), P(Tx, { key: 1 })), z("span", Rx, [M(a, {
17993
18010
  modifiers: "action-quiet",
17994
18011
  icon: "ri:close-line",
17995
18012
  title: t.$t("action.close"),
@@ -17998,7 +18015,7 @@ var jx = {
17998
18015
  _: 1
17999
18016
  }, 8, ["name"]),
18000
18017
  M(W, { name: Oe.value }, {
18001
- default: L(() => [w(l) && !w(le) && !w(D) && !w(de) ? (j(), Z("div", Rx, [M(wx), z("span", zx, [M(a, {
18018
+ default: L(() => [w(l) && !w(le) && !w(D) && !w(de) ? (j(), Z("div", zx, [M(Tx), z("span", Bx, [M(a, {
18002
18019
  modifiers: "action-quiet",
18003
18020
  icon: "ri:close-line",
18004
18021
  title: t.$t("action.close"),
@@ -18043,7 +18060,7 @@ var jx = {
18043
18060
  title: t.$t("action.close"),
18044
18061
  onClick: I(u, ["stop"])
18045
18062
  }, null, 8, ["modifiers", "title"])]),
18046
- "view-auth": L(() => [M(bx, {
18063
+ "view-auth": L(() => [M(xx, {
18047
18064
  "error-message": w(Ae),
18048
18065
  "onUpdate:errorMessage": n[2] ||= (e) => Te(Ae) ? Ae.value = e : null,
18049
18066
  success: w(je),
@@ -18101,13 +18118,13 @@ var jx = {
18101
18118
  class: "floating-chat-widget__panel-beam",
18102
18119
  style: re(we.value),
18103
18120
  "aria-hidden": "true"
18104
- }, [M(Ax, { active: R.value }, null, 8, ["active"])], 4)) : G("", !0),
18121
+ }, [M(jx, { active: R.value }, null, 8, ["active"])], 4)) : G("", !0),
18105
18122
  w(E).pageControlActive ? (j(), P(Wb, {
18106
18123
  key: 3,
18107
18124
  action: w(E).pageAction?.title,
18108
18125
  onStop: n[4] ||= (e) => w(E).stopHostActions()
18109
18126
  }, null, 8, ["action"])) : G("", !0),
18110
- w(E).hostConfirmation && w(ie) ? (j(), P(Gb, {
18127
+ w(E).hostConfirmation && w(ie) ? (j(), P(Kb, {
18111
18128
  key: 4,
18112
18129
  question: w(E).hostConfirmation.question ?? w(T)("toolApproval.prompt"),
18113
18130
  onRespond: w(E).respondHostConfirmation
@@ -18120,16 +18137,16 @@ var jx = {
18120
18137
  //#endregion
18121
18138
  //#region src/components/EmbeddedChatWidget.ce.vue?vue&type=script&setup=true&lang.ts
18122
18139
  U(), F(), J(), ke();
18123
- var Hx = {
18140
+ var Ux = {
18124
18141
  key: 4,
18125
18142
  class: "embedded-chat-widget embedded-chat-widget--not-found"
18126
- }, Ux = {
18143
+ }, Wx = {
18127
18144
  key: 0,
18128
18145
  class: "embedded-chat-widget embedded-chat-widget--auth"
18129
- }, Wx = {
18146
+ }, Gx = {
18130
18147
  key: 0,
18131
18148
  class: "embedded-chat-widget embedded-chat-widget--loading"
18132
- }, Gx = /*#__PURE__*/ An(/* @__PURE__ */ q({
18149
+ }, Kx = /*#__PURE__*/ An(/* @__PURE__ */ q({
18133
18150
  inheritAttrs: !1,
18134
18151
  __name: "EmbeddedChatWidget.ce",
18135
18152
  props: {
@@ -18215,8 +18232,8 @@ var Hx = {
18215
18232
  status: e.status
18216
18233
  }), u(e);
18217
18234
  }
18218
- let { t: ie } = Le({ useScope: "global" }), ae = $b(() => !!C.hostConfirmation || C.pageControlActive);
18219
- tx(ae, () => C.pageControlActive, {
18235
+ let { t: ie } = Le({ useScope: "global" }), ae = ex(() => !!C.hostConfirmation || C.pageControlActive);
18236
+ nx(ae, () => C.pageControlActive, {
18220
18237
  text: () => ie("messagePart.pageControlActive"),
18221
18238
  stopLabel: () => ie("action.stop"),
18222
18239
  onStop: () => void C.stopHostActions()
@@ -18311,17 +18328,17 @@ var Hx = {
18311
18328
  action: w(C).pageAction?.title,
18312
18329
  onStop: n[0] ||= (e) => w(C).stopHostActions()
18313
18330
  }, null, 8, ["action"])) : G("", !0),
18314
- w(C).hostConfirmation && w(ae) ? (j(), P(Gb, {
18331
+ w(C).hostConfirmation && w(ae) ? (j(), P(Kb, {
18315
18332
  key: 3,
18316
18333
  question: w(C).hostConfirmation.question ?? w(ie)("toolApproval.prompt"),
18317
18334
  onRespond: w(C).respondHostConfirmation
18318
18335
  }, null, 8, ["question", "onRespond"])) : G("", !0),
18319
- w(le) ? (j(), Z("div", Hx, [z("p", null, A(w(ie)("message.agentNotFound")), 1)])) : G("", !0),
18336
+ w(le) ? (j(), Z("div", Ux, [z("p", null, A(w(ie)("message.agentNotFound")), 1)])) : G("", !0),
18320
18337
  M(W, {
18321
18338
  name: "fade",
18322
18339
  appear: ""
18323
18340
  }, {
18324
- default: L(() => [(w(oe) || w(D)) && !w(le) && w(k) && (!w(l).data?.user?.id || w(l).data?.user?.isAnonymous) ? (j(), Z("div", Ux, [w(O) ? (j(), P(bx, {
18341
+ default: L(() => [(w(oe) || w(D)) && !w(le) && w(k) && (!w(l).data?.user?.id || w(l).data?.user?.isAnonymous) ? (j(), Z("div", Wx, [w(O) ? (j(), P(xx, {
18325
18342
  key: 0,
18326
18343
  "error-message": w(I),
18327
18344
  "onUpdate:errorMessage": n[1] ||= (e) => Te(I) ? I.value = e : null,
@@ -18352,14 +18369,14 @@ var Hx = {
18352
18369
  "onVerifyTwoFactor",
18353
18370
  "onSendTwoFactorCode",
18354
18371
  "onCancelTwoFactor"
18355
- ])) : (j(), P(wx, { key: 1 }))])) : G("", !0)]),
18372
+ ])) : (j(), P(Tx, { key: 1 }))])) : G("", !0)]),
18356
18373
  _: 1
18357
18374
  }),
18358
18375
  M(W, {
18359
18376
  name: "fade",
18360
18377
  appear: ""
18361
18378
  }, {
18362
- default: L(() => [w(ue) && !w(le) ? (j(), Z("div", Wx, [M(wx)])) : G("", !0)]),
18379
+ default: L(() => [w(ue) && !w(le) ? (j(), Z("div", Gx, [M(Tx)])) : G("", !0)]),
18363
18380
  _: 1
18364
18381
  }),
18365
18382
  w(oe) && w(l).data && !w(le) ? (j(), P(Vb, {
@@ -18395,7 +18412,7 @@ var Hx = {
18395
18412
  }, ye({
18396
18413
  "header-actions": L(() => [ge(t.$slots, "header-actions")]),
18397
18414
  actions: L(() => [ge(t.$slots, "actions")]),
18398
- "view-auth": L(() => [M(bx, {
18415
+ "view-auth": L(() => [M(xx, {
18399
18416
  "error-message": w(I),
18400
18417
  "onUpdate:errorMessage": n[3] ||= (e) => Te(I) ? I.value = e : null,
18401
18418
  success: w(Se),
@@ -18457,7 +18474,7 @@ var Hx = {
18457
18474
  //#endregion
18458
18475
  //#region src/lib.ts
18459
18476
  ke();
18460
- function Kx(e) {
18477
+ function qx(e) {
18461
18478
  let { t } = vr.global;
18462
18479
  e.use(Xn()), e.use(vr), e.provide(Re, vr), e.use(Ir, {
18463
18480
  iconsCollections: [Lr, Rr],
@@ -18483,16 +18500,16 @@ function Kx(e) {
18483
18500
  Ei(e instanceof Error ? e : Error(String(e)), { vueInfo: n });
18484
18501
  };
18485
18502
  }
18486
- function qx(e) {
18503
+ function Jx(e) {
18487
18504
  let { styles: t } = e;
18488
18505
  return {
18489
- configureApp: Kx,
18506
+ configureApp: qx,
18490
18507
  styles: [Di, ...t ?? []]
18491
18508
  };
18492
18509
  }
18493
- var Jx = Ee(Vx, qx(Vx)), Yx = Ee(Gx, qx(Gx));
18494
- customElements.define("floating-chat-widget", Jx), customElements.define("embedded-chat-widget", Yx);
18510
+ var Yx = Ee(Hx, Jx(Hx)), Xx = Ee(Kx, Jx(Kx));
18511
+ customElements.define("floating-chat-widget", Yx), customElements.define("embedded-chat-widget", Xx);
18495
18512
  //#endregion
18496
- export { Yx as EmbeddedChatWidgetCe, Jx as FloatingChatWidgetCe };
18513
+ export { Xx as EmbeddedChatWidgetCe, Yx as FloatingChatWidgetCe };
18497
18514
 
18498
18515
  //# sourceMappingURL=ai-elements.es.js.map