athena-xai-chat 1.0.77 → 1.0.79

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.
@@ -2553,8 +2553,8 @@ class J7 {
2553
2553
  bubbles: !0
2554
2554
  })
2555
2555
  ));
2556
- const v = this._extractTopTags(this._answers), r = this._answers.findIndex((l) => l.love_language);
2557
- r !== -1 ? this._answers[r].love_language = v.love_language : this._answers.push(v);
2556
+ const v = this._extractTopTags(this._answers);
2557
+ this._answers.findIndex((l) => l.love_language) === -1 && this._answers.push(v), this._answers = this._answers.map(({ tag: l, ...x }) => x);
2558
2558
  const z = C9(
2559
2559
  this._userId,
2560
2560
  JSON.stringify(this._answers),
@@ -2615,10 +2615,12 @@ class J7 {
2615
2615
  composed: !0,
2616
2616
  bubbles: !0
2617
2617
  })
2618
- ), window.dispatchEvent(
2618
+ );
2619
+ const N = this._answers.find((W) => "love_language" in W);
2620
+ window.dispatchEvent(
2619
2621
  new CustomEvent("love-language", {
2620
2622
  detail: {
2621
- loveLanguage: v?.love_language
2623
+ loveLanguage: N?.love_language
2622
2624
  },
2623
2625
  composed: !0,
2624
2626
  bubbles: !0
@@ -2817,10 +2819,9 @@ let Qe = class extends k {
2817
2819
  };
2818
2820
  Qe.styles = dA`
2819
2821
  .athena-xai-select-chat__initial-outer-container {
2820
- height: 100dvh;
2822
+ height: 85dvh;
2821
2823
  background: #FFFFFF;
2822
2824
  display: flex;
2823
- padding-top: 68px;
2824
2825
  overflow: hidden;
2825
2826
  }
2826
2827