ai12z 3.18.1-alpha.5 → 3.18.1-alpha.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.
Files changed (47) hide show
  1. package/dist/cjs/ai12z-beacon.cjs.entry.js +1 -1
  2. package/dist/cjs/ai12z-bot.cjs.entry.js +1 -1
  3. package/dist/cjs/ai12z-chat_2.cjs.entry.js +1 -1
  4. package/dist/cjs/ai12z-cta.cjs.entry.js +1 -1
  5. package/dist/cjs/ai12z-knowledge-box.cjs.entry.js +1 -1
  6. package/dist/cjs/{beacon-BNN_wZe2.js → beacon-D57uiQD_.js} +3 -3
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/search-results-page.cjs.entry.js +1 -1
  9. package/dist/collection/utils/beacon.js +2 -2
  10. package/dist/collection/utils/referralDomain/engine-map.js +1 -1
  11. package/dist/components/ai12z-beacon.js +1 -1
  12. package/dist/components/ai12z-bot.js +1 -1
  13. package/dist/components/ai12z-chat.js +1 -1
  14. package/dist/components/ai12z-cta.js +1 -1
  15. package/dist/components/ai12z-inline-search.js +1 -1
  16. package/dist/components/ai12z-knowledge-box.js +1 -1
  17. package/dist/components/index.js +1 -1
  18. package/dist/components/{p-r_-50g1t.js → p-ClBV2FvS.js} +1 -1
  19. package/dist/components/p-DAbUgLyU.js +1 -0
  20. package/dist/components/{p-qCMH0liL.js → p-DGR6nHvq.js} +1 -1
  21. package/dist/components/{p-C55BLy2X.js → p-Den_E0yr.js} +1 -1
  22. package/dist/components/{p-xvWbFKE-.js → p-Dq2GbZ7c.js} +1 -1
  23. package/dist/components/{p-6PFrzpqU.js → p-_zqCOmQU.js} +1 -1
  24. package/dist/components/{p-Dr3gozdO.js → p-o2M3zLfk.js} +1 -1
  25. package/dist/components/{p-Br6RoQKq.js → p-pZWsPezk.js} +1 -1
  26. package/dist/components/search-results-page.js +1 -1
  27. package/dist/esm/ai12z-beacon.entry.js +1 -1
  28. package/dist/esm/ai12z-bot.entry.js +1 -1
  29. package/dist/esm/ai12z-chat_2.entry.js +1 -1
  30. package/dist/esm/ai12z-cta.entry.js +1 -1
  31. package/dist/esm/ai12z-knowledge-box.entry.js +1 -1
  32. package/dist/esm/{beacon-CvQ_i2Pk.js → beacon-ChyMsPZk.js} +3 -3
  33. package/dist/esm/index.js +1 -1
  34. package/dist/esm/search-results-page.entry.js +1 -1
  35. package/dist/library/index.esm.js +1 -1
  36. package/dist/library/library.esm.js +1 -1
  37. package/dist/library/p-01e165f9.entry.js +1 -0
  38. package/dist/library/{p-6597fde7.entry.js → p-2a32ceca.entry.js} +1 -1
  39. package/dist/library/{p-9020fadc.entry.js → p-35953140.entry.js} +1 -1
  40. package/dist/library/{p-abcc7319.entry.js → p-6b3c7bad.entry.js} +1 -1
  41. package/dist/library/{p-CqZSBwBv.js → p-CxVw-Bsu.js} +1 -1
  42. package/dist/library/{p-a473d7b7.entry.js → p-c538e529.entry.js} +1 -1
  43. package/dist/library/{p-a59287af.entry.js → p-df5639c0.entry.js} +1 -1
  44. package/dist/types/utils/referralDomain/engine-map.d.ts +2 -2
  45. package/package.json +2 -2
  46. package/dist/components/p-0ln41L7q.js +0 -1
  47. package/dist/library/p-e0988ffb.entry.js +0 -1
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-v8T1EJAJ.js');
4
- var beacon = require('./beacon-BNN_wZe2.js');
4
+ var beacon = require('./beacon-D57uiQD_.js');
5
5
  require('./utils-BVLGsz5A.js');
6
6
 
7
7
  const Ai12zBeacon = class {
@@ -15,7 +15,7 @@ var keyboardShortcuts = require('./keyboard-shortcuts-CG5wmCzE.js');
15
15
  var ctaHelpers = require('./ctaHelpers-YuTLEI-L.js');
16
16
  var appStore = require('./app-store-BtkiHvcw.js');
17
17
  var parseHelper = require('./parseHelper-D5-IDbvW.js');
18
- var beacon = require('./beacon-BNN_wZe2.js');
18
+ var beacon = require('./beacon-D57uiQD_.js');
19
19
  var bodyScrollLock = require('./bodyScrollLock-C7gKTAfx.js');
20
20
  require('./_commonjsHelpers-MBWFX2dn.js');
21
21
 
@@ -11,7 +11,7 @@ var surveyHelpers = require('./surveyHelpers-D4hpoZ62.js');
11
11
  var keyboardShortcuts = require('./keyboard-shortcuts-CG5wmCzE.js');
12
12
  var analyticsService = require('./analyticsService-CkAva47S.js');
13
13
  var botHelpers = require('./botHelpers-B_lFspU6.js');
14
- var beacon = require('./beacon-BNN_wZe2.js');
14
+ var beacon = require('./beacon-D57uiQD_.js');
15
15
  require('./_commonjsHelpers-MBWFX2dn.js');
16
16
  require('./logger-D--BUQGx.js');
17
17
  require('./response-adapter-BiZsYx3F.js');
@@ -7,7 +7,7 @@ var socketService = require('./socket-service-BVVsiQ0_.js');
7
7
  var globalStore = require('./global-store-R6x06KvJ.js');
8
8
  var reCaptchaHelpers = require('./reCaptchaHelpers-rbqUu9hP.js');
9
9
  var ctaHelpers = require('./ctaHelpers-YuTLEI-L.js');
10
- var beacon = require('./beacon-BNN_wZe2.js');
10
+ var beacon = require('./beacon-D57uiQD_.js');
11
11
  var appStore = require('./app-store-BtkiHvcw.js');
12
12
  var bodyScrollLock = require('./bodyScrollLock-C7gKTAfx.js');
13
13
  var purify_es = require('./purify.es-B7Ashs9w.js');
@@ -10,7 +10,7 @@ var index$1 = require('./index-3r9eIF0N.js');
10
10
  var surveyHelpers = require('./surveyHelpers-D4hpoZ62.js');
11
11
  var botHelpers = require('./botHelpers-B_lFspU6.js');
12
12
  var analyticsService = require('./analyticsService-CkAva47S.js');
13
- var beacon = require('./beacon-BNN_wZe2.js');
13
+ var beacon = require('./beacon-D57uiQD_.js');
14
14
  require('./_commonjsHelpers-MBWFX2dn.js');
15
15
 
16
16
  const ai12zKnowledgeBoxCss = () => `:host{font-family:var(--ai12z-knowledge-box-font-family) !important;font-size:var(--ai12z-knowledge-box-font-size) !important;color:var(--ai12z-knowledge-box-font-color, black);text-align:var(--ai12z-knowledge-box-text-align, left)}.ai12z-kb-wrapper{background-color:var(--ai12z-knowledge-box-bg-color)}.ai12z-suggest-container{padding:32px 32px 32px 32px;flex:none}.ai12z-suggest-answer{font-size:var(--ai12z-knowledge-box-font-size)}.ai12z-suggest-title{font-weight:700}.ai12z-suggest-align{float:left}.ai12z-suggest-relevance{text-align:end}.ai12z-suggest-error-msg{color:rgb(239 68 68)}.ai12z-suggest-hide{display:none}.ai12z-suggest-thumbs{margin-left:90%}.ai12z-suggest-thumbs-up{fill:var(--ai12z-feedback-selected);width:24px}.ai12z-suggest-thumbs-down{fill:var(--ai12z-feedback-selected);width:24px}.not-allowed{cursor:not-allowed}.ai12zBtn{background-color:var(--ai12z-knowledge-box-button-bgcolor);color:var(--ai12z-knowledge-box-button-color) !important;padding:5px 10px;border:none;border-radius:5px;cursor:pointer;text-decoration:none !important;margin:5px}.custom-privacy{color:var(--ai12z-knowledge-box-privacy-color);text-align:center;font-size:var(--ai12z-knowledge-box-privacy-font-size);margin-top:10px}button:focus-visible{outline:2px solid var(--ai12z-knowledge-box-focus-visible-color, #0A2A43);outline-offset:2px}button.kb-btn-primary:focus-visible{outline:2px solid var(--ai12z-knowledge-box-focus-visible-color-primary, --ai12z-knowledge-box-focus-visible-color);outline-offset:2px}button.kb-btn-secondary:focus-visible{outline:2px solid var(--ai12z-knowledge-box-focus-visible-color-secondary, --ai12z-knowledge-box-focus-visible-color)}.diamond-icon{color:var(--ai12z-knowledge-box-icon-color, #a5e6e6);width:28px;height:28px;transform-origin:center;}.diamond-icon.loading{animation:rotate 2s linear infinite}@keyframes rotate{from{transform:rotate(0deg)}to{transform:rotate(360deg)}}`;
@@ -269,7 +269,7 @@ const ENGINE_MAP = [
269
269
  { engine: "grok", hosts: ["grok.com"] },
270
270
  { engine: "meta_ai", hosts: ["meta.ai"] },
271
271
  { engine: "you", hosts: ["you.com"] },
272
- { engine: "deepSeek", hosts: ["deepseek.com"] },
272
+ { engine: "deepseek", hosts: ["deepseek.com"] },
273
273
  // Search engines
274
274
  { engine: "google", hosts: ["google"] },
275
275
  { engine: "bing", hosts: ["bing"] },
@@ -345,7 +345,7 @@ const SUPPORTED_ENGINES = [
345
345
  "grok",
346
346
  "meta_ai",
347
347
  "you",
348
- "deepSeek",
348
+ "deepseek",
349
349
  "google",
350
350
  "bing",
351
351
  "duckduckgo",
@@ -368,7 +368,7 @@ const ENGINE_TYPE_MAP = {
368
368
  grok: "ai_answer_engine",
369
369
  meta_ai: "ai_answer_engine",
370
370
  you: "ai_answer_engine",
371
- deepSeek: "ai_answer_engine",
371
+ deepseek: "ai_answer_engine",
372
372
  google: "search_engine",
373
373
  bing: "search_engine",
374
374
  duckduckgo: "search_engine",
@@ -10,7 +10,7 @@ var ai12zInlineSearch_entry = require('./ai12z-inline-search.entry.cjs.js');
10
10
  var ai12zForm_entry = require('./ai12z-form.entry.cjs.js');
11
11
  var ai12zContainer_entry = require('./ai12z-container.entry.cjs.js');
12
12
  require('./index-v8T1EJAJ.js');
13
- require('./beacon-BNN_wZe2.js');
13
+ require('./beacon-D57uiQD_.js');
14
14
  require('./utils-BVLGsz5A.js');
15
15
  require('./response-adapter-BiZsYx3F.js');
16
16
  require('./processCarouselData-wo_rseiO.js');
@@ -7,7 +7,7 @@ var socketService = require('./socket-service-BVVsiQ0_.js');
7
7
  var ctaHelpers = require('./ctaHelpers-YuTLEI-L.js');
8
8
  var globalStore = require('./global-store-R6x06KvJ.js');
9
9
  var reCaptchaHelpers = require('./reCaptchaHelpers-rbqUu9hP.js');
10
- var beacon = require('./beacon-BNN_wZe2.js');
10
+ var beacon = require('./beacon-D57uiQD_.js');
11
11
  require('./response-adapter-BiZsYx3F.js');
12
12
 
13
13
  const searchResultsViewCss = () => `:host{display:block;width:100%;font-family:var(--ai12z-font-family);font-size:var(--ai12z-font-size);color:var(--ai12z-font-color, black);text-align:var(--ai12z-text-align, left)}.search-page-container{background-color:var(--ai12z-search-bar-bgcolor, rgb(244, 242, 238))}.submit-button{background-color:var(--ai12z-search-bar-button-bgcolor, var(--ai12z-primary-color))}.image-Container{position:relative;display:inline-block;margin-right:10px}.delete-image{opacity:3;position:absolute;right:3px;top:0;cursor:pointer;line-height:10px}.plus-icon{color:var(--ai12z-plus-icon-color)}#searchPanel{flex:1;min-height:0;display:flex;flex-direction:column}.welcome-template-container{flex-shrink:0;padding:16px;background:rgba(255, 255, 255, 0.95);backdrop-filter:blur(8px);margin-left:auto;margin-right:auto}.welcome-template-container{animation:slideUp 0.3s ease-out}@keyframes slideUp{from{transform:translateY(100%);opacity:0}to{transform:translateY(0);opacity:1}}.error-message-container{margin-top:4px}.error-msg{color:#dc2626;font-size:12px;display:block;animation:slideIn 0.2s ease-out}.enter-tip{font-size:12px;color:#fff;margin-left:10px}#searchForm{margin:0px}.search-layout{display:grid;grid-template-columns:minmax(0, 1fr) 420px;gap:32px;width:100%;padding:0 16px}.search-layout-no-aside{grid-template-columns:minmax(0, 1fr)}.left-column{height:100vh;display:flex;flex-direction:column}.quick-links-column{position:sticky;top:88px;height:-moz-fit-content;height:fit-content;}.chat-fieldset{border:2px solid var(--ai12z-primary-color);border-radius:16px;padding:12px;margin:0;background-color:var(--ai12z-primary-color)}.cta-search-results{border-top-width:1px;border-bottom-width:0px;border-color:rgb(243 244 246)}.cta-search-results-list{position:relative;padding-bottom:20px;padding-top:20px}.cta-search-results-list:hover{background-color:var(--ai12z-hover-bg-color)}.cta-search-container{margin-left:auto;margin-right:auto;display:flex;max-width:896px;justify-content:space-between;-moz-column-gap:24px;column-gap:24px}.cta-search-container-two{display:flex;min-width:0px;-moz-column-gap:16px;column-gap:16px}.cta-search-container-three{min-width:0px;flex:1 1 auto}.cta-search-text{font-weight:600;line-height:24px;font-size:var(--ai12z-search-result-title-font-size);color:var(--ai12z-search-result-title-color)}.cta-search-text-position{position:absolute;left:0px;right:0px;top:-1px;bottom:0px}.cta-search-description{margin-top:4px;display:flex;font-size:var(--ai12z-search-result-description-font-size);line-height:16px;line-height:20px;color:var(--ai12z-search-result-description-color)}.cta-search-list-arrow{display:flex;align-items:center;flex-shrink:0;-moz-column-gap:16px;column-gap:16px}.custom-icon-width{width:64px}.results-icon svg{width:24px;height:24px}@keyframes slideIn{from{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}.chat-content-wrapper::-webkit-scrollbar{width:8px}.chat-content-wrapper::-webkit-scrollbar-track{background:var(--ai12z-scrollbar-track-color, #f1f1f1);border-radius:10px}.chat-content-wrapper::-webkit-scrollbar-button{display:none}.chat-content-wrapper::-webkit-scrollbar-thumb{background:var(--ai12z-scrollbar-thumb-color, #888);border-radius:10px}.chat-content-wrapper::-webkit-scrollbar-thumb:hover{background:var(--ai12z-scrollbar-thumb-hover-color, #555)}.chat-content-wrapper{scrollbar-width:thin;scrollbar-color:var(--ai12z-scrollbar-thumb-color, #888) var(--ai12z-scrollbar-track-color, #f1f1f1);min-height:0}@media (max-width: 768px){.search-layout{grid-template-columns:1fr;gap:16px}.quick-links-column{display:none}.welcome-template-container{padding:12px}.welcome-template-content{padding:16px;border-radius:12px}.chat-content-wrapper::-webkit-scrollbar{width:4px}.has-conversation .welcome-template-container{display:none}}.sources-panel{width:360px;padding:16px;border-radius:12px;font-family:system-ui, -apple-system, sans-serif}.title{margin:0 0 12px;font-size:16px;font-weight:600;color:#0f172a}.skeleton-list{display:flex;flex-direction:column;gap:10px}.skeleton-line{height:14px;border-radius:999px;background:linear-gradient( 90deg, #e5e7eb 25%, #f1f5f9 37%, #e5e7eb 63% );background-size:400% 100%;}.skeleton-line.short{width:65%}.divider{height:1px;background:#e2e8f0;margin:6px 0}@keyframes shimmer{0%{background-position:100% 0}100%{background-position:-100% 0}}.chat-panel{flex:1;min-height:0;display:flex;flex-direction:column}.chat-content-wrapper{min-height:0;overflow-y:auto;flex:1}.chat-fixed-section{flex-shrink:0;display:flex;flex-direction:column;position:sticky;top:0;z-index:1000}.textarea-at-top .chat-fixed-section{top:0;bottom:auto;order:1}.textarea-at-top .chat-content-wrapper{order:2}.textarea-at-top .chat-fieldset{order:1}.textarea-at-top .welcome-template-container{order:2}.textarea-at-bottom .chat-content-wrapper{order:1}.textarea-at-bottom .chat-fixed-section{top:auto;bottom:0;order:2}.textarea-at-bottom .welcome-template-container{order:1}.textarea-at-bottom .chat-fieldset{order:2}`;
@@ -10,7 +10,7 @@ export const SUPPORTED_ENGINES = [
10
10
  "grok",
11
11
  "meta_ai",
12
12
  "you",
13
- "deepSeek",
13
+ "deepseek",
14
14
  "google",
15
15
  "bing",
16
16
  "duckduckgo",
@@ -33,7 +33,7 @@ export const ENGINE_TYPE_MAP = {
33
33
  grok: "ai_answer_engine",
34
34
  meta_ai: "ai_answer_engine",
35
35
  you: "ai_answer_engine",
36
- deepSeek: "ai_answer_engine",
36
+ deepseek: "ai_answer_engine",
37
37
  google: "search_engine",
38
38
  bing: "search_engine",
39
39
  duckduckgo: "search_engine",
@@ -9,7 +9,7 @@ export const ENGINE_MAP = [
9
9
  { engine: "grok", hosts: ["grok.com"] },
10
10
  { engine: "meta_ai", hosts: ["meta.ai"] },
11
11
  { engine: "you", hosts: ["you.com"] },
12
- { engine: "deepSeek", hosts: ["deepseek.com"] },
12
+ { engine: "deepseek", hosts: ["deepseek.com"] },
13
13
  // Search engines
14
14
  { engine: "google", hosts: ["google"] },
15
15
  { engine: "bing", hosts: ["bing"] },
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-0ln41L7q.js";const p=o,r=s;export{p as Ai12zBeacon,r as defineCustomElement}
1
+ import{A as o,d as s}from"./p-DAbUgLyU.js";const p=o,r=s;export{p as Ai12zBeacon,r as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-qCMH0liL.js";const p=o,r=s;export{p as Ai12zBot,r as defineCustomElement}
1
+ import{A as o,d as s}from"./p-DGR6nHvq.js";const p=o,r=s;export{p as Ai12zBot,r as defineCustomElement}
@@ -1 +1 @@
1
- import{M as o,d as r}from"./p-Dr3gozdO.js";const s=o,p=r;export{s as Ai12zChat,p as defineCustomElement}
1
+ import{M as o,d as s}from"./p-o2M3zLfk.js";const p=o,r=s;export{p as Ai12zChat,r as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as r}from"./p-r_-50g1t.js";const s=o,t=r;export{s as Ai12zCta,t as defineCustomElement}
1
+ import{A as o,d as s}from"./p-ClBV2FvS.js";const p=o,r=s;export{p as Ai12zCta,r as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as r}from"./p-Br6RoQKq.js";const s=o,p=r;export{s as Ai12zInlineSearch,p as defineCustomElement}
1
+ import{A as s,d as o}from"./p-pZWsPezk.js";const p=s,r=o;export{p as Ai12zInlineSearch,r as defineCustomElement}
@@ -1 +1 @@
1
- import{A as o,d as s}from"./p-xvWbFKE-.js";const p=o,r=s;export{p as Ai12zKnowledgeBox,r as defineCustomElement}
1
+ import{A as o,d as s}from"./p-Dq2GbZ7c.js";const p=o,r=s;export{p as Ai12zKnowledgeBox,r as defineCustomElement}
@@ -1 +1 @@
1
- import{g as o}from"./p-rVmRQ8bG.js";export{a as getAssetPath,r as render,s as setAssetPath,b as setNonce,c as setPlatformOptions}from"./p-rVmRQ8bG.js";export{A as Ai12zBeacon}from"./p-0ln41L7q.js";export{A as Ai12zBot}from"./p-qCMH0liL.js";export{A as Ai12zCta}from"./p-r_-50g1t.js";export{A as Ai12zKnowledgeBox}from"./p-xvWbFKE-.js";export{S as Ai12zSearchPanel}from"./p-B4yEREni.js";export{S as Ai12zSearchResultsPage}from"./p-6PFrzpqU.js";export{A as Ai12zInlineSearch}from"./p-Br6RoQKq.js";export{A as Ai12zForm}from"./p-DcOKHO2y.js";export{A as Ai12zContainer}from"./p-C_vJzk90.js";o();
1
+ import{g as e}from"./p-rVmRQ8bG.js";export{a as getAssetPath,r as render,s as setAssetPath,b as setNonce,c as setPlatformOptions}from"./p-rVmRQ8bG.js";export{A as Ai12zBeacon}from"./p-DAbUgLyU.js";export{A as Ai12zBot}from"./p-DGR6nHvq.js";export{A as Ai12zCta}from"./p-ClBV2FvS.js";export{A as Ai12zKnowledgeBox}from"./p-Dq2GbZ7c.js";export{S as Ai12zSearchPanel}from"./p-B4yEREni.js";export{S as Ai12zSearchResultsPage}from"./p-_zqCOmQU.js";export{A as Ai12zInlineSearch}from"./p-pZWsPezk.js";export{A as Ai12zForm}from"./p-DcOKHO2y.js";export{A as Ai12zContainer}from"./p-C_vJzk90.js";e();
@@ -1 +1 @@
1
- import{t,p as e,H as o,e as i,E as a,f as r,h as s,d as n}from"./p-rVmRQ8bG.js";import{d as l,n as c,c as h,o as d,h as p,p as w,q as g}from"./p-uBqtYDJ1.js";import{d as m,S as v}from"./p-CaMH5wYq.js";import{d as u,S as f}from"./p-Dr3gozdO.js";import{e as x}from"./p-CrJCDSt_.js";import{d as b,l as y,g as k,f as z,r as C,a as S,b as j,v as M,c as A,h as E,u as q,i as I,j as T,k as H,m as D,n as L,o as N,q as O}from"./p-DCXtJ3V1.js";import{i as J}from"./p-C55BLy2X.js";import{d as R,s as B}from"./p-7nkZmW6S.js";import{b as F}from"./p-DvxYmlU_.js";import{p as K}from"./p-82j2i1Bw.js";import{d as $}from"./p-CDM40ci1.js";import{d as U}from"./p-ClSkLu41.js";import{d as _}from"./p-DmCL0aBr.js";import{d as Z}from"./p-BRczakta.js";import{d as V}from"./p-nxQB8VYC.js";const Y=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.errored=i(this,"errored",7),this.buttonClicked=i(this,"buttonClicked",7),this.messageSent=i(this,"messageSent",7),this.messageReceived=i(this,"messageReceived",7),this.open=i(this,"open",7),this.close=i(this,"close",7),this.stateChanged=i(this,"stateChanged",7),this.clearResults=i(this,"clearResults",7),this.clearInput=i(this,"clearInput",7),this.stopStream=i(this,"stopStream",7),this.startStream=i(this,"startStream",7),this.survey=i(this,"survey",7),this.formSubmitted=i(this,"formSubmitted",7),this.streamResponse=i(this,"streamResponse",7),this.endResponse=i(this,"endResponse",7),this.isElementAvailable=i(this,"isElementAvailable",7),this.test="123",this.cdnPath="https://cdn.ai12z.net/assets/cta",this.dirty=!1,this.isSubmitted=!1,this.pButtonText="Ask AI",this.pPlaceholder="AI search...",this.pHelpText="Enter text to get started",this.pNoResultsText="No results found",this.errorMsg="Error please try again!",this.pheading="",this.isCta=!1,this.dataKey=a.DATA_KEY||"",this.dataMode=a.DATA_MODE||"prod",this.options={},this.excludeTags=[],this.includeTags=[],this.ctaSettings={},this.showModal=!1,this.questionCounter=0,this.formData={search:"",displayText:""},this.searchResults=[],this.error=null,this.conversationId=null,this.canRender=!0,this.chatHistory=[],this.isChat=!1,this.aiMessageId=null,this.announceMessage="",this.showHistory=!1,this.conversationHistory=[],this.isRendered=!1,this.sendSurveyData=async t=>{this.sendJSON("This JSON is from a form submission"+t.results,t.completeText)},this.detectTextByLang=()=>{const t=b();y(t).then((t=>{this.pButtonText=t.button_text,this.pPlaceholder=t.placeholder_text,this.pHelpText=t.help_text,this.pNoResultsText=t.results_text,this.errorMsg=t.error_message})).catch((t=>{console.error("Error loading language file:",t)}))},this.handleSubmit=async(t,e,o,i,a,r={isHide:!1})=>{var s,n,l,h,d;if("history"!==o){if("ask-ai"===o&&(this.questionCounter++,S("ai12z-cta-data",{qCounter:this.questionCounter})),this.dirty=!0,this.isSubmitted=!0,null==t||t.preventDefault(),this.formData=Object.assign(Object.assign({},this.formData),{search:e}),0===this.chatHistory.length&&(null===(s=this.ctaSettings)||void 0===s?void 0:s.autoResetTimer)>0&&"ask-ai"===o&&this.startTimer(),i||"follow-up"!==o||(this.chatHistory=[],this.isChat=!1,this.showHistory=!1,this.displayMessage()),"survey"===o&&(this.chatHistory=j(this.chatHistory)),M(this.formData.search,a))return this.isSubmitted=!1,void this.stateChanged.emit(!1);try{let t={answer:"",formModel:null,insight_id:null};if("ask-ai"===o||this.isChat){this.socketService||(this.socketService=f.createInstance(this.dataMode,this.dataKey),await this.socketService.waitForConnection()),this.isChat=!0,this.chatHistory.push(A(""!==this.formData.displayText?this.formData.displayText:this.formData.search,"user","success",a)),this.chatHistory[this.chatHistory.length-1].isHide=null!==(n=r.isHide)&&void 0!==n&&n,this.aiMessageId="",this.thumbsId=E(),this.chatHistory.push(A('<div class="animate-ping">...</div>',"ai","pending",void 0,this.aiMessageId)),this.imgFiles=a&&a.length>0?a:[],this.chatHistory=j(this.chatHistory),t.answer=(null===(l=this.ctaSettings)||void 0===l?void 0:l.maxQuestion)>0&&this.questionCounter>(null===(h=this.ctaSettings)||void 0===h?void 0:h.maxQuestion)?this.ctaSettings.msgLimit:null==t?void 0:t.answer;const e=A(null==t?void 0:t.answer,"ai","success",void 0,this.aiMessageId,null==t?void 0:t.insight_id,this.thumbsId,null==t?void 0:t.formModel);this.chatHistory=q(this.chatHistory,e),requestAnimationFrame((()=>{var t;I(this.questionCounter,null===(t=this.ctaSettings)||void 0===t?void 0:t.maxQuestion)?this.startStream.emit({search:this.formData.search,maxQuestion:!0,chatData:this.chatHistory[this.chatHistory.length-1]}):this.startStream.emit({search:this.formData.search,imgFiles:this.imgFiles})}))}else(null===(d=this.ctaSettings)||void 0===d?void 0:d.autoSearch)&&(t=await c(this.dataKey,this.dataMode,this.formData.search),this.displaySearchResults(t))}catch(t){console.error(t),this.error=t}finally{this.isSubmitted=!1,this.stateChanged.emit(!1),this.formData.displayText=""}}else{this.showHistory=!0,this.isChat=!1;const t=k("ai12z-cta-history");this.conversationHistory=z(t,C(this.ctaSettings),this.ctaSettings.pId)}},this.displaySearchResults=t=>{this.searchResults=t.docs,this.isSubmitted=!1,this.showHistory=!1}}async openModal(){var t;this.showModal=!0,this.dirty=!1,r.setActive("cta"),(null===(t=this.ctaSettings)||void 0===t?void 0:t.clearMemory)&&this.clearSearchHistory(),requestAnimationFrame((()=>{var t;this.el.shadowRoot.querySelector("ai12z-input-form").querySelector("textarea").focus(),this.el.shadowRoot.querySelector(".modal-wrapper").classList.add("show-modal"),F.acquire("ai12z-cta"),document.querySelector("ai12z-bot")&&(null===(t=document.querySelector("ai12z-bot").shadowRoot.querySelector(".layout"))||void 0===t||t.classList.add("hide-chatbot"))})),this.open.emit(),this.setLocalData(),this.isElementAvailable.emit(!0)}setLocalData(){S("ai12z-cta-data",{qCounter:this.questionCounter})}async sendMessage(t,e){this.formData.search=t,this.formData.displayText=null!=e?e:t,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null),this.messageSent.emit(t)}async sendJSON(t,e){this.formData.search=JSON.stringify(t),this.formData.displayText=e,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null),this.messageSent.emit(t)}async closeModal(){var t;this.el.shadowRoot.querySelector(".modal-wrapper").classList.remove("show-modal"),F.release("ai12z-cta"),document.querySelector("ai12z-bot")&&(null===(t=document.querySelector("ai12z-bot").shadowRoot.querySelector(".layout"))||void 0===t||t.classList.remove("hide-chatbot")),setTimeout((()=>{var t;this.showModal=!1,this.stopStream.emit({socketId:null===(t=this.socketService)||void 0===t?void 0:t.getSocketId()}),this.socketService=null,this.close.emit(),T(this.timer)}),300)}handleKeyDown(t){var e;this.showModal&&((t.metaKey||t.ctrlKey)&&"k"===t.key&&(t.preventDefault(),this.openModal()),"Escape"===t.key&&(t.preventDefault(),(null===(e=this.ctaSettings)||void 0===e?void 0:e.allowClose)?this.closeModal():this.announce("This dialog cannot be closed with Escape. Please complete your interaction.")))}surveyHandler(t){if("button"===t.detail.type)this.formData.displayText="",this.handleSubmit(null,t.detail.results,t.detail.type,!1,null),this.buttonClicked.emit(t.detail.results);else if("carousel"===t.detail.type)this.chatHistory=[...this.chatHistory,t.detail.results];else if("update"===t.detail.type){const e=this.chatHistory.findIndex((e=>e.id===t.detail.results.id));this.chatHistory=q(this.chatHistory,t.detail.results,e)}else if("sendMessage"===t.detail.type)t.detail.results.length>1?this.sendMessage(t.detail.results[0],t.detail.results[1]):this.sendMessage(t.detail.results[0]);else if("sendJSON"===t.detail.type)this.sendJSON(t.detail.results[0],t.detail.results[1]);else{const e=t.detail,o=`This JSON is from a form submission [${e.keyName}]: ${JSON.stringify(e.results,null,2)}. There is no need to show the form [${e.keyName}] again.`;this.formData.search=o,this.formData.displayText=e.completeText,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null,{isHide:!0})}}formSubmittedHandler(t){t.stopPropagation(),this.formSubmitted.emit(t.detail.data)}async componentWillLoad(){this.canRender=await h(this.dataKey,this.dataMode),d(`https://cdn.ai12z.net/assets/bot/${a.CDN_PATH}/tailwind.min.css`,this.el),B("cta",this.dataKey,this.dataMode),await this.configCtaSettings(),this.ctaSettings.disableBeacon||J(this.dataKey,this.dataMode);const t=this.el.children;let e=t&&t.length>0;if(this.detectTextByLang(),e)for(var o=0;o<t.length;o++)"cta"!==t[o].tagName.toLowerCase()&&"cta"!==t[o].getAttribute("slot")||(this.isCta=!0)}onDataKeyChange(t){B("cta",this.dataKey,this.dataMode)}onDataModeChange(t){B("cta",this.dataKey,this.dataMode)}clearSearchHistory(){this.searchResults&&this.searchResults.length>0&&(this.searchResults.splice(0,this.searchResults.length),this.searchResults=[...this.searchResults]),this.chatHistory=[],this.isChat=!1,this.clearInput.emit(!1),this.clearResults.emit(!1)}handleOutsideClick(t){var e;H(t,"modal-wrapper")&&((null===(e=this.ctaSettings)||void 0===e?void 0:e.allowClose)?this.closeModal():this.announce("This dialog cannot be closed by clicking outside. Please complete your interaction."))}announce(t){this.announceMessage=t,setTimeout((()=>{this.announceMessage=""}),1e3)}startTimer(){var t;this.timer=D((()=>{this.questionCounter=0,S("ai12z-cta-data",{qCounter:this.questionCounter})}),null===(t=this.ctaSettings)||void 0===t?void 0:t.autoResetTimer)}async configCtaSettings(){p({apiKey:this.dataKey,configId:this.configId,configType:"search"},this.dataMode).then((t=>{var e,o,i,r,s,n,l,c,h,d,p,w,g;if(t){if(this.ctaSettings=t,(null===(e=null==t?void 0:t.v3)||void 0===e?void 0:e.siteKey)?x(t._id,t.v3.siteKey,"search",this.dataKey,this.dataMode,(t=>{this.errored.emit(t)})).then((t=>{t&&(this.isRendered=!0)})).catch((t=>{console.error("Recaptcha verification failed:",t),this.isRendered=!1})):this.isRendered=!0,void 0===(null===(o=this.ctaSettings)||void 0===o?void 0:o.autoSearch)&&(this.ctaSettings.autoSearch=!0),void 0===(null===(i=this.ctaSettings)||void 0===i?void 0:i.allowClose)&&(this.ctaSettings.allowClose=!0),void 0!==(null===(r=this.options)||void 0===r?void 0:r.allowClose)&&(this.ctaSettings.allowClose=this.options.allowClose),void 0===(null===(s=this.ctaSettings)||void 0===s?void 0:s.clearMemory)&&(this.ctaSettings.clearMemory=!0),void 0===(null===(n=this.ctaSettings)||void 0===n?void 0:n.enableMobileView)&&(this.ctaSettings.enableMobileView=!0),void 0===(null===(l=this.ctaSettings)||void 0===l?void 0:l.categorize)&&(this.ctaSettings.categorize=!0),this.ctaSettings.customCSS&&this.insertCustomCSS(this.ctaSettings.customCSS),this.ctaSettings.customJS&&L(this.el.shadowRoot,this.ctaSettings.customJS),(null===(c=this.ctaSettings.welcome)||void 0===c?void 0:c.styles)&&this.insertCustomCSS(this.ctaSettings.welcome.styles),(null===(h=this.ctaSettings.welcome)||void 0===h?void 0:h.scripts)&&L(this.el.shadowRoot,this.ctaSettings.welcome.scripts),(null!==(d=this.ctaSettings.helpText)&&void 0!==d?d:null===(p=this.ctaSettings.welcome)||void 0===p?void 0:p.message)&&(this.pHelpText=null!==(w=this.ctaSettings.helpText)&&void 0!==w?w:null===(g=this.ctaSettings.welcome)||void 0===g?void 0:g.message),this.ctaSettings.theme){let t="";t="custom"!==this.ctaSettings.theme?`${this.cdnPath}/${a.CDN_PATH}/themes/theme-${this.ctaSettings.theme}.css`:this.ctaSettings.customTheme;const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.head.appendChild(e)}else{const t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",`${this.cdnPath}/${a.CDN_PATH}/themes/theme-default.css`),document.head.appendChild(t)}this.ctaSettings.textareaAtBottom="bottom"===this.ctaSettings.inputFieldPosition}})).catch((t=>{console.error("Error loading configuration:",t)}))}insertCustomCSS(t){N(this.el.shadowRoot,t)}componentDidLoad(){w(this.el),r.register("cta",this)}deleteChatHistoryHandler(t){const e=k("ai12z-cta-history"),o=C(this.ctaSettings),i=z(e,o,this.ctaSettings.pId),a=e.filter((e=>!i.includes(e)||e.conversationId!==t.detail.conversationId));localStorage.setItem("ai12z-cta-history",JSON.stringify(a)),this.conversationHistory=z(a,o,this.ctaSettings.pId)}chatClickHandler(t){t.detail.length>0&&(this.chatHistory=t.detail,this.isChat=!0,requestAnimationFrame((()=>{var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ai12z-chat");null==e||e.hydrateMessagesFromState()}))),this.showHistory=!1}defaultTemplate(){const t=O();return s("button",{type:"button",class:"flex ring-1 ring-slate-900/10 hover:ring-slate-300 focus:outline-none focus:ring-2 focus:ring-sky-500 shadow-sm custom-button","aria-label":"Open AI Search"},s("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"flex-none text-slate-300 dark:text-slate-400"},s("path",{d:"m19 19-3.5-3.5"}),s("circle",{cx:"11",cy:"11",r:"6"})),s("span",{class:"flex-auto"},this.pPlaceholder),s("kbd",{class:"font-sans font-semibold text-slate-400"},s("abbr",{title:"Command",class:"no-underline text-slate-400"},t&&s("span",null,"⌘"),!t&&s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",class:"inline w-4 h-4 mb-1"},s("path",{d:"M3.5 2A1.5 1.5 0 0 0 2 3.5v2A1.5 1.5 0 0 0 3.5 7h2A1.5 1.5 0 0 0 7 5.5v-2A1.5 1.5 0 0 0 5.5 2h-2ZM3.5 9A1.5 1.5 0 0 0 2 10.5v2A1.5 1.5 0 0 0 3.5 14h2A1.5 1.5 0 0 0 7 12.5v-2A1.5 1.5 0 0 0 5.5 9h-2ZM9 3.5A1.5 1.5 0 0 1 10.5 2h2A1.5 1.5 0 0 1 14 3.5v2A1.5 1.5 0 0 1 12.5 7h-2A1.5 1.5 0 0 1 9 5.5v-2ZM10.5 9A1.5 1.5 0 0 0 9 10.5v2a1.5 1.5 0 0 0 1.5 1.5h2a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 12.5 9h-2Z"}))),"K"))}displayMessage(){var t,e,o,i,a,r,n;let l=null;return this.error?l=s("p",{class:"text-red-500"},this.errorMsg):this.isSubmitted?l=s("svg",{class:"animate-spin -ml-1 mr-3 h-5 w-5 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},s("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),s("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})):(this.dirty&&(l=null!==(e=null===(t=this.ctaSettings)||void 0===t?void 0:t.noResultsText)&&void 0!==e?e:this.pNoResultsText),l=null!==(i=null===(o=this.ctaSettings)||void 0===o?void 0:o.helpText)&&void 0!==i?i:this.pHelpText),((null===(a=this.searchResults)||void 0===a?void 0:a.length)>0||(null===(r=this.chatHistory)||void 0===r?void 0:r.length)>0)&&!(null===(n=this.ctaSettings)||void 0===n?void 0:n.keepWelcomeVisible)?null:"string"==typeof l?s("div",{class:"flex prose custom-msg",innerHTML:l}):s("p",{class:"custom-msg flex"},l)}getHeaderTemplate(){var t,e,o;return K.sanitize(null!==(o=null!==(e=null===(t=this.ctaSettings)||void 0===t?void 0:t.heading)&&void 0!==e?e:this.pheading)&&void 0!==o?o:"")}render(){var t,e,o,i,a,r,l,c,h,d,p,w,m,u,f,x,b,y,k,z,C,S,j,M,A,E,q,I,T,H,D,L,N,O,J,R,B,F,K,$,U,_;const Z={width:(null===(t=this.ctaSettings)||void 0===t?void 0:t.enableMobileView)?"100%":null===(e=this.ctaSettings)||void 0===e?void 0:e.dialogWidth,"max-width":null===(o=this.ctaSettings)||void 0===o?void 0:o.dialogMaxWidth,"min-height":this.chatHistory.length>0?"unset":null!==(a=null===(i=this.ctaSettings)||void 0===i?void 0:i.dialogMinHeight)&&void 0!==a?a:"300px","margin-top":null!==(l=null===(r=this.ctaSettings)||void 0===r?void 0:r.dialogTopMargin)&&void 0!==l?l:"80px"},V=this.getHeaderTemplate();return this.canRender?s(n,null,this.isRendered&&s("div",{class:"custom-container",onClick:()=>this.openModal()},!this.isCta&&this.defaultTemplate(),this.isCta&&s("slot",{name:"cta"})),s("div",{class:{"bg-smoke-light":!0,"modal-wrapper":!0,"custom-model":!0,"hide-dialog":!this.showModal},onClick:t=>this.handleOutsideClick(t),role:"dialog","aria-modal":"true","aria-label":"Search modal","aria-describedby":(null===(c=this.ctaSettings)||void 0===c?void 0:c.allowClose)?void 0:"modal-close-info"},s("div",{"aria-live":"assertive","aria-atomic":"true",class:"sr-only"},this.announceMessage),!(null===(h=this.ctaSettings)||void 0===h?void 0:h.allowClose)&&s("div",{id:"modal-close-info",class:"sr-only"},"This dialog cannot be closed with Escape key or by clicking outside. Please complete your interaction."),s("div",{class:"skip-links"},s("a",{class:"skip-link",href:"#main-content",onClick:t=>{var e;t.preventDefault();const o=null===(e=this.el.shadowRoot.querySelector("ai12z-chat"))||void 0===e?void 0:e.shadowRoot.querySelector("#main-content");o&&o.focus()}},"Skip to main content"),s("a",{class:"skip-link",href:"#searchInput",onClick:t=>{t.preventDefault();const e=this.el.shadowRoot.querySelector("ai12z-input-form").querySelector("#searchInput");e&&e.focus()}},"Skip to message input")),s("div",{class:{"overscroll-contain":!0,"modal-content-wrapper":!0,"model-content":!0,"modal-position":!0,"modal-header-position":!!V},style:Z},s("span",{class:"btn-position",style:{top:V?"20px":"0px"}},(null===(d=this.ctaSettings)||void 0===d?void 0:d.allowClose)&&s("button",{onClick:()=>this.closeModal(),class:"modal-close","aria-label":"Close AI Search",tabindex:"0",title:"Close AI Search"},s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"},s("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))),s("div",{class:"modal-body flex flex-col"},V&&s("header",{class:"cta-header model-heading",innerHTML:V}),s("div",{class:`cta-layout flex flex-col flex-1 ${(null===(p=this.ctaSettings)||void 0===p?void 0:p.textareaAtBottom)?"reverse":"normal"} ${(null===(w=this.chatHistory)||void 0===w?void 0:w.length)>0?"has-conversation":""}`},s("div",{class:"input-wrapper"},!this.showHistory&&this.ctaSettings.textareaAtBottom&&s("div",{class:"welcome-template-bottom-container"},this.displayMessage()),s("ai12z-input-form",{onAction:async t=>{const{value:e,type:o,followUp:i,imgFiles:a}=t.detail;await this.handleSubmit(t,e,o,i,a)},isChat:this.isChat,componentType:"cta",chatLength:this.chatHistory.length,placeholder:null!==(u=null===(m=this.ctaSettings)||void 0===m?void 0:m.placeholder)&&void 0!==u?u:this.pPlaceholder,buttonText:(null===(f=this.ctaSettings)||void 0===f?void 0:f.buttonText)?null===(x=this.ctaSettings)||void 0===x?void 0:x.buttonText:""==(null===(b=this.ctaSettings)||void 0===b?void 0:b.buttonText)||!(null===(y=this.ctaSettings)||void 0===y?void 0:y.buttonText)||""==(null===(k=this.ctaSettings)||void 0===k?void 0:k.buttonText)&&""==(null===(z=this.ctaSettings)||void 0===z?void 0:z.iconSrc)?!(null===(C=this.ctaSettings)||void 0===C?void 0:C.buttonText)&&(null===(S=this.ctaSettings)||void 0===S?void 0:S.iconSrc)?"":this.pButtonText:null===(j=this.ctaSettings)||void 0===j?void 0:j.buttonText,iconSrc:null!==(A=null===(M=this.ctaSettings)||void 0===M?void 0:M.iconSrc)&&void 0!==A?A:"",followUpLabel:null!==(q=null===(E=this.ctaSettings)||void 0===E?void 0:E.followUpLabel)&&void 0!==q?q:"Do you have a follow up question?",isImageUpload:null===(T=null===(I=this.ctaSettings)||void 0===I?void 0:I.imageUpload)||void 0===T||T,isEnableMic:null===(D=null===(H=this.ctaSettings)||void 0===H?void 0:H.enableMic)||void 0===D||D,openMenuUpward:this.ctaSettings.textareaAtBottom,"data-key":this.dataKey,"data-mode":this.dataMode}),!this.showHistory&&!this.ctaSettings.textareaAtBottom&&s("div",{class:"welcome-template-top-container"},this.displayMessage())),s("div",{id:"main-content",class:"content-area"},s("div",{class:"custom-results"},!this.isChat&&!(null===(L=this.ctaSettings)||void 0===L?void 0:L.categorize)&&s(v,{results:this.searchResults}),!this.isChat&&(null===(N=this.ctaSettings)||void 0===N?void 0:N.categorize)&&s("ai12z-category",{categoryList:this.searchResults,linkTarget:null===(O=this.ctaSettings)||void 0===O?void 0:O.linkTarget})),this.isChat&&s("ai12z-chat",{chats:this.chatHistory,env:this.dataMode,query:this.formData.search,apiKey:this.dataKey,aiMessageId:this.aiMessageId,imgFiles:this.imgFiles,target:""===(null===(J=this.ctaSettings)||void 0===J?void 0:J.linkTarget)?"_blank":null===(R=this.ctaSettings)||void 0===R?void 0:R.linkTarget,voiceType:(null===(B=this.ctaSettings)||void 0===B?void 0:B.audioType)||"default",voice:(null===(F=this.ctaSettings)||void 0===F?void 0:F.voice)||"Google US English",onFeedback:async t=>{const{feedback:e,insightId:o}=t.detail;g(this.dataKey,this.dataMode,o,e)},componentType:"ctasearch",socketIn:this.socketService,dataAttributes:this.dataAttributes,chatExcludeTags:this.excludeTags,chatIncludeTags:this.includeTags,customstyle:null===(K=this.ctaSettings)||void 0===K?void 0:K.customCSS,customJS:null===($=this.ctaSettings)||void 0===$?void 0:$.customJS,settings:null!==(U=this.ctaSettings)&&void 0!==U?U:{}}),this.showHistory&&s("chatbot-history",{chatList:this.conversationHistory,botName:null===(_=this.ctaSettings)||void 0===_?void 0:_.name}),!this.isChat&&s("div",{class:"custom-privacy"},s("slot",{name:"custom-privacy"})))))))):s(n,null,s("span",{style:{display:"none"}},"Failed to load ai12z control due to insufficient fund"))}get el(){return this}static get watchers(){return{dataKey:[{onDataKeyChange:0}],dataMode:[{onDataModeChange:0}]}}static get style(){return':host{--bg-smoke-light:rgba(0, 0, 0, 0.5);margin-left:20px;font-family:var(--ai12z-search-font-family) var(--ai12z-font-family) !important;font-size:var(--ai12z-search-font-size, var(--ai12z-font-size)) !important;color:var(--ai12z-font-color, black);text-align:var(--ai12z-text-align, left)}.keyboard-shortcuts-btn{vertical-align:middle;padding-right:5px;color:#666}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.skip-links{position:relative;z-index:9999}.skip-link{position:absolute;top:-40px;left:0;background-color:var(--ai12z-primary-color, #007bff);color:white;padding:8px 16px;text-decoration:none;border-radius:4px;font-weight:500;z-index:10000;opacity:0;pointer-events:none;transition:top 0.2s, opacity 0.2s}.skip-link:focus{top:8px;opacity:1;pointer-events:auto;outline:3px solid var(--ai12z-secondary-accent, #0056b3);outline-offset:2px}.bg-smoke-light{transition:opacity 300ms ease-in-out;position:fixed;top:0;left:0;z-index:200;height:100vh;width:100vw;cursor:auto;flex-direction:column;background-color:#0003;--tw-backdrop-blur:blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-content{transition:transform 300ms ease-in-out, opacity 300ms ease-in-out;transform:scale(0.9);opacity:0}.modal-position{position:relative;padding:32px 16px 8px;flex-direction:column}.modal-header-position{padding:0px 0px 8px 0px}.cta-header{min-height:48px;padding:0 0 12px}.modal-close:hover{color:rgb(31 41 55)}.model-heading{color:var(--ai12z-heading-color);font-size:var(--ai12z-heading-font-size)}:host(.show-modal) .bg-smoke-light{opacity:1}:host(.show-modal) .modal-content{transform:scale(1);opacity:1}.modal-content-wrapper{background-color:rgb(255 255 255);width:100%;max-width:768px;border-radius:8px;clip-path:inset(0 round 8px)}.model-wrapper{position:fixed;top:0;left:0;z-index:200;height:100vh;width:100vw;cursor:auto;flex-direction:column;background-color:#0003;padding:16px;--tw-backdrop-blur:blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.custom-model{overflow:auto;inset:0px;position:fixed;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-items:center}.hide-dialog{display:none !important}.modal-position .btn-position{position:absolute;right:0px;top:0px;padding:4px 16px;color:var(--ai12z-secondary-accent, #0056B3)}@media (max-width: 768px){.modal-content-wrapper{width:100%;height:100vh;height:100dvh !important;margin:0 !important;border-radius:0;overflow:auto;max-width:none !important}.custom-privacy{position:fixed !important;bottom:0;left:0;width:100%;padding:10px}.modal-position .btn-position{padding:7.2px 12px 7.2px 16px;position:fixed}.content-area{padding:0px !important}.modal-header-position{padding:0px 16px 8px}.has-conversation .welcome-template-top-container,.has-conversation .welcome-template-bottom-container{display:none}}.btn-left{top:0;left:0;position:absolute;padding:5.6px 16px;color:var(--ai12z-secondary-accent, #0056B3)}.custom-privacy{color:var(--ai12z-knowledge-box-privacy-color);text-align:center;margin-top:auto;bottom:0;left:0;right:0}.custom-button{align-items:center;text-align:left;background-color:rgb(255 255 255);color:rgb(148 163 184);border-radius:8px;width:288px;min-height:48px;padding-left:16px;padding-right:16px}.custom-msg{text-align:center;color:var(--ai12z-font-mute);justify-content:center;max-width:none !important;}.cta-search-results{border-top-width:1px;border-bottom-width:0px;border-color:rgb(243 244 246)}.cta-search-results-list{position:relative;padding-bottom:20px;padding-top:20px}.cta-search-results-list:hover{background-color:var(--ai12z-hover-bg-color)}.cta-search-container{margin-left:auto;margin-right:auto;display:flex;max-width:896px;justify-content:space-between;-moz-column-gap:24px;column-gap:24px}.cta-search-container-two{display:flex;min-width:0px;-moz-column-gap:16px;column-gap:16px}.cta-search-container-three{min-width:0px;flex:1 1 auto}.cta-search-text{font-weight:600;line-height:24px;font-size:var(--ai12z-search-result-title-font-size);color:var(--ai12z-search-result-title-color)}.cta-search-text-position{position:absolute;left:0px;right:0px;top:-1px;bottom:0px}.cta-search-description{margin-top:4px;display:flex;font-size:var(--ai12z-search-result-description-font-size);line-height:16px;line-height:20px;color:var(--ai12z-search-result-description-color)}.cta-search-list-arrow{display:flex;align-items:center;flex-shrink:0;-moz-column-gap:16px;column-gap:16px}.custom-icon-width{width:64px}.results-icon svg{width:24px;height:24px}.modal-body{display:flex;flex-direction:column}.cta-layout{display:flex;flex:1;min-height:0}.cta-layout.normal{flex-direction:column}.cta-layout.reverse{flex-direction:column-reverse}.input-wrapper{position:sticky;top:0;bottom:0;z-index:10;background:white;padding:16px}.content-area{flex:1;padding:12px}.welcome-template-top-container{padding-top:10px}.welcome-template-bottom-container{padding-bottom:10px}@layer properties;@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% 0.237 25.331);--color-sky-500:oklch(68.5% 0.169 237.323);--color-blue-300:oklch(80.9% 0.105 251.813);--color-blue-500:oklch(62.3% 0.214 259.815);--color-blue-600:oklch(54.6% 0.245 262.881);--color-blue-700:oklch(48.8% 0.243 264.376);--color-blue-800:oklch(42.4% 0.199 265.638);--color-slate-300:oklch(86.9% 0.022 252.894);--color-slate-400:oklch(70.4% 0.04 256.788);--color-slate-900:oklch(20.8% 0.042 265.755);--color-gray-100:oklch(96.7% 0.003 264.542);--color-gray-200:oklch(92.8% 0.006 264.531);--color-gray-400:oklch(70.7% 0.022 261.325);--color-gray-500:oklch(55.1% 0.027 264.364);--color-gray-600:oklch(44.6% 0.03 256.802);--color-gray-700:oklch(37.3% 0.034 259.733);--color-gray-800:oklch(27.8% 0.033 256.848);--color-gray-900:oklch(21% 0.034 264.665);--color-white:#fff;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-0.025em;--tracking-wide:0.025em;--leading-normal:1.5;--ease-out:cubic-bezier(0,0,0.2,1);--ease-in-out:cubic-bezier(0.4,0,0.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,0.2,1) infinite;--animate-pulse:pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4,0,0.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--spacing:4px;--text-xs:12px;--text-xs--line-height:16px;--text-sm:14px;--text-sm--line-height:20px;--text-lg:18px;--text-lg--line-height:28px;--text-xl:20px;--text-xl--line-height:28px;--text-2xl:24px;--text-2xl--line-height:32px;--radius-md:4px;--radius-lg:8px;--radius-xl:12px;--radius-2xl:16px;--radius-3xl:24px;--container-sm:448px;--container-xl:640px}}@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.\\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-7{right:calc(var(--spacing)*7)}.right-8{right:calc(var(--spacing)*8)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-5{bottom:calc(var(--spacing)*5)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-5{left:calc(var(--spacing)*5)}.z-10{z-index:10}.z-30{z-index:30}.order-1{order:1}.order-2{order:2}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.container{width:100%;@media (width >= 640px){max-width:640px}@media (width >= 768px){max-width:768px}@media (width >= 1024px){max-width:1024px}@media (width >= 1280px){max-width:1280px}@media (width >= 1536px){max-width:1536px}}.container\\!{width:100%!important;@media (width >= 640px){max-width:640px!important}@media (width >= 768px){max-width:768px!important}@media (width >= 1024px){max-width:1024px!important}@media (width >= 1280px){max-width:1280px!important}@media (width >= 1536px){max-width:1536px!important}}.m-0{margin:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.ms-2{margin-inline-start:calc(var(--spacing)*2)}.prose{color:var(--tw-prose-body);max-width:65ch;--tw-prose-body:oklch(37.3% 0.034 259.733);--tw-prose-headings:oklch(21% 0.034 264.665);--tw-prose-lead:oklch(44.6% 0.03 256.802);--tw-prose-links:oklch(21% 0.034 264.665);--tw-prose-bold:oklch(21% 0.034 264.665);--tw-prose-counters:oklch(55.1% 0.027 264.364);--tw-prose-bullets:oklch(87.2% 0.01 258.338);--tw-prose-hr:oklch(92.8% 0.006 264.531);--tw-prose-quotes:oklch(21% 0.034 264.665);--tw-prose-quote-borders:oklch(92.8% 0.006 264.531);--tw-prose-captions:oklch(55.1% 0.027 264.364);--tw-prose-kbd:oklch(21% 0.034 264.665);--tw-prose-kbd-shadows:color-mix(in oklab,oklch(21% 0.034 264.665) 10%,transparent);--tw-prose-code:oklch(21% 0.034 264.665);--tw-prose-pre-code:oklch(92.8% 0.006 264.531);--tw-prose-pre-bg:oklch(27.8% 0.033 256.848);--tw-prose-th-borders:oklch(87.2% 0.01 258.338);--tw-prose-td-borders:oklch(92.8% 0.006 264.531);--tw-prose-invert-body:oklch(87.2% 0.01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% 0.022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% 0.022 261.325);--tw-prose-invert-bullets:oklch(44.6% 0.03 256.802);--tw-prose-invert-hr:oklch(37.3% 0.034 259.733);--tw-prose-invert-quotes:oklch(96.7% 0.003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% 0.034 259.733);--tw-prose-invert-captions:oklch(70.7% 0.022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:hsla(0,0%,100%,.1);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% 0.01 258.338);--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:oklch(44.6% 0.03 256.802);--tw-prose-invert-td-borders:oklch(37.3% 0.034 259.733);font-size:16px;line-height:1.75;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}:where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}:where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-bottom:1.25em;margin-top:1.25em;padding-inline-start:1.625em}:where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-bottom:1.25em;margin-top:1.25em;padding-inline-start:1.625em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-bottom:3em;margin-top:3em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){border-inline-start-color:var(--tw-prose-quote-borders);border-inline-start-width:4px;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-inline-start:1em;quotes:"\\201C""\\201D""\\2018""\\2019"}:where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}:where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}:where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:1em;margin-top:2em}:where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.6;margin-bottom:.6em;margin-top:1.6em}:where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:1.5em}:where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-bottom:2em;margin-top:2em}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){border-radius:5px;box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);color:var(--tw-prose-kbd);font-family:inherit;font-size:.875em;font-weight:500;padding-inline-end:.375em;padding-bottom:.1875em;padding-top:.1875em;padding-inline-start:.375em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\\60 "}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\\60 "}:where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:6px;color:var(--tw-prose-pre-code);font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:1.7142857em;margin-top:1.7142857em;overflow-x:auto;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-top:.8571429em;padding-inline-start:1.1428571em}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:0}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.875em;line-height:1.7142857;margin-bottom:2em;margin-top:2em;table-layout:auto;width:100%}:where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-color:var(--tw-prose-th-borders);border-bottom-width:1px}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em;vertical-align:bottom}:where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-color:var(--tw-prose-td-borders);border-bottom-width:1px}:where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}:where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}:where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-color:var(--tw-prose-th-borders);border-top-width:1px}:where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}:where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0;margin-top:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0;margin-top:0}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}:where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-top:.5714286em;padding-inline-start:.5714286em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-px{margin-top:1px}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-0{height:calc(var(--spacing)*0)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-56{height:calc(var(--spacing)*56)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-px{height:1px}.max-h-80{max-height:calc(var(--spacing)*80)}.min-h-\\[calc\\(100\\%-1px\\)\\]{min-height:calc(100% - 1px)}.min-h-fit{min-height:-moz-fit-content;min-height:fit-content}.w-1\\/2{width:50%}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-11\\/12{width:91.66667%}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-auto{width:auto}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-\\[200px\\]{min-width:200px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-\\[1_1_0\\]{flex:1 1 0}.flex-auto{flex:auto}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.translate-y-\\[0\\.5px\\]{translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[0\\.5px\\]{--tw-translate-y:0.5px}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%}.scale-100,.scale-90{scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.space-y-2{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}}.space-y-3{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*3*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*3*var(--tw-space-y-reverse))}}.gap-x-2{-moz-column-gap:calc(var(--spacing)*2);column-gap:calc(var(--spacing)*2)}.space-x-1{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}}.space-x-2{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*2*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*2*var(--tw-space-x-reverse))}}.space-x-3{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*3*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*3*var(--tw-space-x-reverse))}}.space-x-4{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}}.gap-y-1{row-gap:calc(var(--spacing)*1)}.gap-y-3{row-gap:calc(var(--spacing)*3)}.self-center{align-self:center}.self-end{align-self:flex-end}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:calc(infinity*1px)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-2xl{border-bottom-left-radius:var(--radius-2xl);border-bottom-right-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-gray-200{border-color:var(--color-gray-200)}.border-white{border-color:var(--color-white)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-700{background-color:var(--color-blue-700)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-inherit{background-color:inherit}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--color-white)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-\\[10px\\]{padding:10px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-\\[14px\\]{padding-right:14px}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-red-500{color:var(--color-red-500)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-25{opacity:25%}.opacity-50{opacity:50%}.opacity-75{opacity:75%}.opacity-90{opacity:90%}.opacity-100{opacity:100%}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,rgba(0,0,0,.1)),0 1px 2px -1px var(--tw-shadow-color,rgba(0,0,0,.1))}.shadow,.shadow-lg{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,rgba(0,0,0,.1)),0 4px 6px -4px var(--tw-shadow-color,rgba(0,0,0,.1))}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,rgba(0,0,0,.1)),0 1px 2px -1px var(--tw-shadow-color,rgba(0,0,0,.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-slate-900\\/10{--tw-ring-color:color-mix(in srgb,oklch(20.8% 0.042 265.755) 10%,transparent);@supports (color:color-mix(in lab,red,red)){--tw-ring-color:color-mix(in oklab,var(--color-slate-900) 10%,transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-all{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-transform{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.duration-300{--tw-duration:300ms;transition-duration:.3s}.duration-700{--tw-duration:700ms;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.after\\:invisible{&:after{content:var(--tw-content);visibility:hidden}}.after\\:whitespace-pre-wrap{&:after{content:var(--tw-content);white-space:pre-wrap}}.hover\\:bg-blue-800{&:hover{@media (hover:hover){background-color:var(--color-blue-800)}}}.hover\\:bg-gray-100{&:hover{@media (hover:hover){background-color:var(--color-gray-100)}}}.hover\\:bg-gradient-to-t{&:hover{@media (hover:hover){--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}}}.hover\\:text-blue-700{&:hover{@media (hover:hover){color:var(--color-blue-700)}}}.hover\\:underline{&:hover{@media (hover:hover){text-decoration-line:underline}}}.hover\\:ring-slate-300{&:hover{@media (hover:hover){--tw-ring-color:var(--color-slate-300)}}}.focus\\:ring-2{&:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:ring-4{&:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:ring-blue-300{&:focus{--tw-ring-color:var(--color-blue-300)}}.focus\\:ring-sky-500{&:focus{--tw-ring-color:var(--color-sky-500)}}.focus\\:outline{&:focus{outline-style:var(--tw-outline-style);outline-width:1px}}.focus\\:outline-2{&:focus{outline-style:var(--tw-outline-style);outline-width:2px}}.focus\\:outline-offset-2{&:focus{outline-offset:2px}}.focus\\:outline-none{&:focus{--tw-outline-style:none;outline-style:none}}.disabled\\:cursor-not-allowed{&:disabled{cursor:not-allowed}}.disabled\\:bg-transparent{&:disabled{background-color:transparent}}.disabled\\:hover\\:bg-transparent{&:disabled{&:hover{@media (hover:hover){background-color:transparent}}}}.sm\\:h-3{@media (width >= 640px){height:calc(var(--spacing)*3)}}.sm\\:w-3{@media (width >= 640px){width:calc(var(--spacing)*3)}}.sm\\:px-6{@media (width >= 640px){padding-inline:calc(var(--spacing)*6)}}.md\\:right-0{@media (width >= 768px){right:calc(var(--spacing)*0)}}.md\\:col-span-2{@media (width >= 768px){grid-column:span 2/span 2}}.md\\:mt-6{@media (width >= 768px){margin-top:calc(var(--spacing)*6)}}.md\\:ml-2{@media (width >= 768px){margin-left:calc(var(--spacing)*2)}}.md\\:block{@media (width >= 768px){display:block}}.md\\:flex{@media (width >= 768px){display:flex}}.md\\:h-4{@media (width >= 768px){height:calc(var(--spacing)*4)}}.md\\:h-96{@media (width >= 768px){height:calc(var(--spacing)*96)}}.md\\:h-auto{@media (width >= 768px){height:auto}}.md\\:w-1\\/2{@media (width >= 768px){width:50%}}.md\\:w-1\\/3{@media (width >= 768px){width:33.33333%}}.md\\:w-2\\/3{@media (width >= 768px){width:66.66667%}}.md\\:w-4{@media (width >= 768px){width:calc(var(--spacing)*4)}}.md\\:max-w-xl{@media (width >= 768px){max-width:var(--container-xl)}}.md\\:flex-none{@media (width >= 768px){flex:none}}.md\\:grid-cols-2{@media (width >= 768px){grid-template-columns:repeat(2,minmax(0,1fr))}}.md\\:flex-row{@media (width >= 768px){flex-direction:row}}.md\\:gap-x-3{@media (width >= 768px){-moz-column-gap:calc(var(--spacing)*3);column-gap:calc(var(--spacing)*3)}}.md\\:rounded-t-xl{@media (width >= 768px){border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}}.md\\:p-2\\.5{@media (width >= 768px){padding:calc(var(--spacing)*2.5)}}.md\\:p-4{@media (width >= 768px){padding:calc(var(--spacing)*4)}}.md\\:pl-3{@media (width >= 768px){padding-left:calc(var(--spacing)*3)}}.md\\:text-xl{@media (width >= 768px){font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}.lg\\:px-8{@media (width >= 1024px){padding-inline:calc(var(--spacing)*8)}}.\\@md\\:mx-0{@container (width >= 512px){margin-inline:calc(var(--spacing)*0)}}.\\@md\\:gap-x-3{@container (width >= 512px){-moz-column-gap:calc(var(--spacing)*3);column-gap:calc(var(--spacing)*3)}}.\\@md\\:rounded-t-xl{@container (width >= 512px){border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}}.\\@md\\:px-3{@container (width >= 512px){padding-inline:calc(var(--spacing)*3)}}.\\@md\\:px-6{@container (width >= 512px){padding-inline:calc(var(--spacing)*6)}}.\\@md\\:pt-8{@container (width >= 512px){padding-top:calc(var(--spacing)*8)}}.\\@md\\:pr-4{@container (width >= 512px){padding-right:calc(var(--spacing)*4)}}.\\@md\\:pb-7{@container (width >= 512px){padding-bottom:calc(var(--spacing)*7)}}.rtl\\:rotate-180{&:where(:dir(rtl),[dir=rtl],[dir=rtl] *){rotate:180deg}}.rtl\\:space-x-reverse{&:where(:dir(rtl),[dir=rtl],[dir=rtl] *){:where(&>:not(:last-child)){--tw-space-x-reverse:1}}}.dark\\:border-gray-700{@media (prefers-color-scheme:dark){border-color:var(--color-gray-700)}}.dark\\:bg-blue-600{@media (prefers-color-scheme:dark){background-color:var(--color-blue-600)}}.dark\\:text-gray-100{@media (prefers-color-scheme:dark){color:var(--color-gray-100)}}.dark\\:text-gray-400{@media (prefers-color-scheme:dark){color:var(--color-gray-400)}}.dark\\:text-gray-800{@media (prefers-color-scheme:dark){color:var(--color-gray-800)}}.dark\\:text-slate-400{@media (prefers-color-scheme:dark){color:var(--color-slate-400)}}.dark\\:text-white{@media (prefers-color-scheme:dark){color:var(--color-white)}}.dark\\:hover\\:bg-blue-700{@media (prefers-color-scheme:dark){&:hover{@media (hover:hover){background-color:var(--color-blue-700)}}}}.dark\\:focus\\:ring-blue-800{@media (prefers-color-scheme:dark){&:focus{--tw-ring-color:var(--color-blue-800)}}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";initial-value:"";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}'}},[257,"ai12z-cta",{isCta:[1028,"is-cta"],dataKey:[513,"data-key"],dataMode:[513,"data-mode"],configId:[513,"config-id"],dataAttributes:[513,"data-attributes"],options:[16],excludeTags:[16],includeTags:[16],socketService:[32],ctaSettings:[32],showModal:[32],timer:[32],questionCounter:[32],formData:[32],searchResults:[32],error:[32],conversationId:[32],canRender:[32],chatHistory:[32],isChat:[32],aiMessageId:[32],thumbsId:[32],imgFiles:[32],announceMessage:[32],showHistory:[32],conversationHistory:[32],isRendered:[32],openModal:[64],sendMessage:[64],sendJSON:[64],closeModal:[64]},[[0,"keydown","handleKeyDown"],[0,"survey","surveyHandler"],[0,"formComplete","formSubmittedHandler"],[0,"deleteChatHistory","deleteChatHistoryHandler"],[0,"chatClick","chatClickHandler"]],{dataKey:[{onDataKeyChange:0}],dataMode:[{onDataModeChange:0}]}]);function P(){"undefined"!=typeof customElements&&["ai12z-cta","ai12z-category","ai12z-chat","ai12z-input-form","audio-recorder","chatbot-history","delete-confirmation-modal","image-uploader","item-list","keyboard-shortcuts-dialog"].forEach((e=>{switch(e){case"ai12z-cta":customElements.get(t(e))||customElements.define(t(e),Y);break;case"ai12z-category":customElements.get(t(e))||m();break;case"ai12z-chat":customElements.get(t(e))||u();break;case"ai12z-input-form":customElements.get(t(e))||$();break;case"audio-recorder":customElements.get(t(e))||R();break;case"chatbot-history":customElements.get(t(e))||U();break;case"delete-confirmation-modal":customElements.get(t(e))||_();break;case"image-uploader":customElements.get(t(e))||Z();break;case"item-list":customElements.get(t(e))||l();break;case"keyboard-shortcuts-dialog":customElements.get(t(e))||V()}}))}P();export{Y as A,P as d}
1
+ import{t,p as e,H as o,e as i,E as a,f as r,h as s,d as n}from"./p-rVmRQ8bG.js";import{d as l,n as c,c as h,o as d,h as p,p as w,q as g}from"./p-uBqtYDJ1.js";import{d as m,S as v}from"./p-CaMH5wYq.js";import{d as u,S as f}from"./p-o2M3zLfk.js";import{e as x}from"./p-CrJCDSt_.js";import{d as b,l as y,g as k,f as z,r as C,a as S,b as j,v as M,c as A,h as E,u as q,i as I,j as T,k as H,m as D,n as L,o as N,q as J}from"./p-DCXtJ3V1.js";import{i as O}from"./p-Den_E0yr.js";import{d as R,s as F}from"./p-7nkZmW6S.js";import{b as K}from"./p-DvxYmlU_.js";import{p as $}from"./p-82j2i1Bw.js";import{d as B}from"./p-CDM40ci1.js";import{d as U}from"./p-ClSkLu41.js";import{d as _}from"./p-DmCL0aBr.js";import{d as Z}from"./p-BRczakta.js";import{d as V}from"./p-nxQB8VYC.js";const Y=e(class extends o{constructor(t){super(),!1!==t&&this.__registerHost(),this.__attachShadow(),this.errored=i(this,"errored",7),this.buttonClicked=i(this,"buttonClicked",7),this.messageSent=i(this,"messageSent",7),this.messageReceived=i(this,"messageReceived",7),this.open=i(this,"open",7),this.close=i(this,"close",7),this.stateChanged=i(this,"stateChanged",7),this.clearResults=i(this,"clearResults",7),this.clearInput=i(this,"clearInput",7),this.stopStream=i(this,"stopStream",7),this.startStream=i(this,"startStream",7),this.survey=i(this,"survey",7),this.formSubmitted=i(this,"formSubmitted",7),this.streamResponse=i(this,"streamResponse",7),this.endResponse=i(this,"endResponse",7),this.isElementAvailable=i(this,"isElementAvailable",7),this.test="123",this.cdnPath="https://cdn.ai12z.net/assets/cta",this.dirty=!1,this.isSubmitted=!1,this.pButtonText="Ask AI",this.pPlaceholder="AI search...",this.pHelpText="Enter text to get started",this.pNoResultsText="No results found",this.errorMsg="Error please try again!",this.pheading="",this.isCta=!1,this.dataKey=a.DATA_KEY||"",this.dataMode=a.DATA_MODE||"prod",this.options={},this.excludeTags=[],this.includeTags=[],this.ctaSettings={},this.showModal=!1,this.questionCounter=0,this.formData={search:"",displayText:""},this.searchResults=[],this.error=null,this.conversationId=null,this.canRender=!0,this.chatHistory=[],this.isChat=!1,this.aiMessageId=null,this.announceMessage="",this.showHistory=!1,this.conversationHistory=[],this.isRendered=!1,this.sendSurveyData=async t=>{this.sendJSON("This JSON is from a form submission"+t.results,t.completeText)},this.detectTextByLang=()=>{const t=b();y(t).then((t=>{this.pButtonText=t.button_text,this.pPlaceholder=t.placeholder_text,this.pHelpText=t.help_text,this.pNoResultsText=t.results_text,this.errorMsg=t.error_message})).catch((t=>{console.error("Error loading language file:",t)}))},this.handleSubmit=async(t,e,o,i,a,r={isHide:!1})=>{var s,n,l,h,d;if("history"!==o){if("ask-ai"===o&&(this.questionCounter++,S("ai12z-cta-data",{qCounter:this.questionCounter})),this.dirty=!0,this.isSubmitted=!0,null==t||t.preventDefault(),this.formData=Object.assign(Object.assign({},this.formData),{search:e}),0===this.chatHistory.length&&(null===(s=this.ctaSettings)||void 0===s?void 0:s.autoResetTimer)>0&&"ask-ai"===o&&this.startTimer(),i||"follow-up"!==o||(this.chatHistory=[],this.isChat=!1,this.showHistory=!1,this.displayMessage()),"survey"===o&&(this.chatHistory=j(this.chatHistory)),M(this.formData.search,a))return this.isSubmitted=!1,void this.stateChanged.emit(!1);try{let t={answer:"",formModel:null,insight_id:null};if("ask-ai"===o||this.isChat){this.socketService||(this.socketService=f.createInstance(this.dataMode,this.dataKey),await this.socketService.waitForConnection()),this.isChat=!0,this.chatHistory.push(A(""!==this.formData.displayText?this.formData.displayText:this.formData.search,"user","success",a)),this.chatHistory[this.chatHistory.length-1].isHide=null!==(n=r.isHide)&&void 0!==n&&n,this.aiMessageId="",this.thumbsId=E(),this.chatHistory.push(A('<div class="animate-ping">...</div>',"ai","pending",void 0,this.aiMessageId)),this.imgFiles=a&&a.length>0?a:[],this.chatHistory=j(this.chatHistory),t.answer=(null===(l=this.ctaSettings)||void 0===l?void 0:l.maxQuestion)>0&&this.questionCounter>(null===(h=this.ctaSettings)||void 0===h?void 0:h.maxQuestion)?this.ctaSettings.msgLimit:null==t?void 0:t.answer;const e=A(null==t?void 0:t.answer,"ai","success",void 0,this.aiMessageId,null==t?void 0:t.insight_id,this.thumbsId,null==t?void 0:t.formModel);this.chatHistory=q(this.chatHistory,e),requestAnimationFrame((()=>{var t;I(this.questionCounter,null===(t=this.ctaSettings)||void 0===t?void 0:t.maxQuestion)?this.startStream.emit({search:this.formData.search,maxQuestion:!0,chatData:this.chatHistory[this.chatHistory.length-1]}):this.startStream.emit({search:this.formData.search,imgFiles:this.imgFiles})}))}else(null===(d=this.ctaSettings)||void 0===d?void 0:d.autoSearch)&&(t=await c(this.dataKey,this.dataMode,this.formData.search),this.displaySearchResults(t))}catch(t){console.error(t),this.error=t}finally{this.isSubmitted=!1,this.stateChanged.emit(!1),this.formData.displayText=""}}else{this.showHistory=!0,this.isChat=!1;const t=k("ai12z-cta-history");this.conversationHistory=z(t,C(this.ctaSettings),this.ctaSettings.pId)}},this.displaySearchResults=t=>{this.searchResults=t.docs,this.isSubmitted=!1,this.showHistory=!1}}async openModal(){var t;this.showModal=!0,this.dirty=!1,r.setActive("cta"),(null===(t=this.ctaSettings)||void 0===t?void 0:t.clearMemory)&&this.clearSearchHistory(),requestAnimationFrame((()=>{var t;this.el.shadowRoot.querySelector("ai12z-input-form").querySelector("textarea").focus(),this.el.shadowRoot.querySelector(".modal-wrapper").classList.add("show-modal"),K.acquire("ai12z-cta"),document.querySelector("ai12z-bot")&&(null===(t=document.querySelector("ai12z-bot").shadowRoot.querySelector(".layout"))||void 0===t||t.classList.add("hide-chatbot"))})),this.open.emit(),this.setLocalData(),this.isElementAvailable.emit(!0)}setLocalData(){S("ai12z-cta-data",{qCounter:this.questionCounter})}async sendMessage(t,e){this.formData.search=t,this.formData.displayText=null!=e?e:t,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null),this.messageSent.emit(t)}async sendJSON(t,e){this.formData.search=JSON.stringify(t),this.formData.displayText=e,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null),this.messageSent.emit(t)}async closeModal(){var t;this.el.shadowRoot.querySelector(".modal-wrapper").classList.remove("show-modal"),K.release("ai12z-cta"),document.querySelector("ai12z-bot")&&(null===(t=document.querySelector("ai12z-bot").shadowRoot.querySelector(".layout"))||void 0===t||t.classList.remove("hide-chatbot")),setTimeout((()=>{var t;this.showModal=!1,this.stopStream.emit({socketId:null===(t=this.socketService)||void 0===t?void 0:t.getSocketId()}),this.socketService=null,this.close.emit(),T(this.timer)}),300)}handleKeyDown(t){var e;this.showModal&&((t.metaKey||t.ctrlKey)&&"k"===t.key&&(t.preventDefault(),this.openModal()),"Escape"===t.key&&(t.preventDefault(),(null===(e=this.ctaSettings)||void 0===e?void 0:e.allowClose)?this.closeModal():this.announce("This dialog cannot be closed with Escape. Please complete your interaction.")))}surveyHandler(t){if("button"===t.detail.type)this.formData.displayText="",this.handleSubmit(null,t.detail.results,t.detail.type,!1,null),this.buttonClicked.emit(t.detail.results);else if("carousel"===t.detail.type)this.chatHistory=[...this.chatHistory,t.detail.results];else if("update"===t.detail.type){const e=this.chatHistory.findIndex((e=>e.id===t.detail.results.id));this.chatHistory=q(this.chatHistory,t.detail.results,e)}else if("sendMessage"===t.detail.type)t.detail.results.length>1?this.sendMessage(t.detail.results[0],t.detail.results[1]):this.sendMessage(t.detail.results[0]);else if("sendJSON"===t.detail.type)this.sendJSON(t.detail.results[0],t.detail.results[1]);else{const e=t.detail,o=`This JSON is from a form submission [${e.keyName}]: ${JSON.stringify(e.results,null,2)}. There is no need to show the form [${e.keyName}] again.`;this.formData.search=o,this.formData.displayText=e.completeText,this.handleSubmit(null,this.formData.search,"ask-ai",!1,null,{isHide:!0})}}formSubmittedHandler(t){t.stopPropagation(),this.formSubmitted.emit(t.detail.data)}async componentWillLoad(){this.canRender=await h(this.dataKey,this.dataMode),d(`https://cdn.ai12z.net/assets/bot/${a.CDN_PATH}/tailwind.min.css`,this.el),F("cta",this.dataKey,this.dataMode),await this.configCtaSettings(),this.ctaSettings.disableBeacon||O(this.dataKey,this.dataMode);const t=this.el.children;let e=t&&t.length>0;if(this.detectTextByLang(),e)for(var o=0;o<t.length;o++)"cta"!==t[o].tagName.toLowerCase()&&"cta"!==t[o].getAttribute("slot")||(this.isCta=!0)}onDataKeyChange(t){F("cta",this.dataKey,this.dataMode)}onDataModeChange(t){F("cta",this.dataKey,this.dataMode)}clearSearchHistory(){this.searchResults&&this.searchResults.length>0&&(this.searchResults.splice(0,this.searchResults.length),this.searchResults=[...this.searchResults]),this.chatHistory=[],this.isChat=!1,this.clearInput.emit(!1),this.clearResults.emit(!1)}handleOutsideClick(t){var e;H(t,"modal-wrapper")&&((null===(e=this.ctaSettings)||void 0===e?void 0:e.allowClose)?this.closeModal():this.announce("This dialog cannot be closed by clicking outside. Please complete your interaction."))}announce(t){this.announceMessage=t,setTimeout((()=>{this.announceMessage=""}),1e3)}startTimer(){var t;this.timer=D((()=>{this.questionCounter=0,S("ai12z-cta-data",{qCounter:this.questionCounter})}),null===(t=this.ctaSettings)||void 0===t?void 0:t.autoResetTimer)}async configCtaSettings(){p({apiKey:this.dataKey,configId:this.configId,configType:"search"},this.dataMode).then((t=>{var e,o,i,r,s,n,l,c,h,d,p,w,g;if(t){if(this.ctaSettings=t,(null===(e=null==t?void 0:t.v3)||void 0===e?void 0:e.siteKey)?x(t._id,t.v3.siteKey,"search",this.dataKey,this.dataMode,(t=>{this.errored.emit(t)})).then((t=>{t&&(this.isRendered=!0)})).catch((t=>{console.error("Recaptcha verification failed:",t),this.isRendered=!1})):this.isRendered=!0,void 0===(null===(o=this.ctaSettings)||void 0===o?void 0:o.autoSearch)&&(this.ctaSettings.autoSearch=!0),void 0===(null===(i=this.ctaSettings)||void 0===i?void 0:i.allowClose)&&(this.ctaSettings.allowClose=!0),void 0!==(null===(r=this.options)||void 0===r?void 0:r.allowClose)&&(this.ctaSettings.allowClose=this.options.allowClose),void 0===(null===(s=this.ctaSettings)||void 0===s?void 0:s.clearMemory)&&(this.ctaSettings.clearMemory=!0),void 0===(null===(n=this.ctaSettings)||void 0===n?void 0:n.enableMobileView)&&(this.ctaSettings.enableMobileView=!0),void 0===(null===(l=this.ctaSettings)||void 0===l?void 0:l.categorize)&&(this.ctaSettings.categorize=!0),this.ctaSettings.customCSS&&this.insertCustomCSS(this.ctaSettings.customCSS),this.ctaSettings.customJS&&L(this.el.shadowRoot,this.ctaSettings.customJS),(null===(c=this.ctaSettings.welcome)||void 0===c?void 0:c.styles)&&this.insertCustomCSS(this.ctaSettings.welcome.styles),(null===(h=this.ctaSettings.welcome)||void 0===h?void 0:h.scripts)&&L(this.el.shadowRoot,this.ctaSettings.welcome.scripts),(null!==(d=this.ctaSettings.helpText)&&void 0!==d?d:null===(p=this.ctaSettings.welcome)||void 0===p?void 0:p.message)&&(this.pHelpText=null!==(w=this.ctaSettings.helpText)&&void 0!==w?w:null===(g=this.ctaSettings.welcome)||void 0===g?void 0:g.message),this.ctaSettings.theme){let t="";t="custom"!==this.ctaSettings.theme?`${this.cdnPath}/${a.CDN_PATH}/themes/theme-${this.ctaSettings.theme}.css`:this.ctaSettings.customTheme;const e=document.createElement("link");e.setAttribute("rel","stylesheet"),e.setAttribute("href",t),document.head.appendChild(e)}else{const t=document.createElement("link");t.setAttribute("rel","stylesheet"),t.setAttribute("href",`${this.cdnPath}/${a.CDN_PATH}/themes/theme-default.css`),document.head.appendChild(t)}this.ctaSettings.textareaAtBottom="bottom"===this.ctaSettings.inputFieldPosition}})).catch((t=>{console.error("Error loading configuration:",t)}))}insertCustomCSS(t){N(this.el.shadowRoot,t)}componentDidLoad(){w(this.el),r.register("cta",this)}deleteChatHistoryHandler(t){const e=k("ai12z-cta-history"),o=C(this.ctaSettings),i=z(e,o,this.ctaSettings.pId),a=e.filter((e=>!i.includes(e)||e.conversationId!==t.detail.conversationId));localStorage.setItem("ai12z-cta-history",JSON.stringify(a)),this.conversationHistory=z(a,o,this.ctaSettings.pId)}chatClickHandler(t){t.detail.length>0&&(this.chatHistory=t.detail,this.isChat=!0,requestAnimationFrame((()=>{var t;const e=null===(t=this.el.shadowRoot)||void 0===t?void 0:t.querySelector("ai12z-chat");null==e||e.hydrateMessagesFromState()}))),this.showHistory=!1}defaultTemplate(){const t=J();return s("button",{type:"button",class:"flex ring-1 ring-slate-900/10 hover:ring-slate-300 focus:outline-none focus:ring-2 focus:ring-sky-500 shadow-sm custom-button","aria-label":"Open AI Search"},s("svg",{width:"24",height:"24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round",class:"flex-none text-slate-300 dark:text-slate-400"},s("path",{d:"m19 19-3.5-3.5"}),s("circle",{cx:"11",cy:"11",r:"6"})),s("span",{class:"flex-auto"},this.pPlaceholder),s("kbd",{class:"font-sans font-semibold text-slate-400"},s("abbr",{title:"Command",class:"no-underline text-slate-400"},t&&s("span",null,"⌘"),!t&&s("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 16 16",fill:"currentColor",class:"inline w-4 h-4 mb-1"},s("path",{d:"M3.5 2A1.5 1.5 0 0 0 2 3.5v2A1.5 1.5 0 0 0 3.5 7h2A1.5 1.5 0 0 0 7 5.5v-2A1.5 1.5 0 0 0 5.5 2h-2ZM3.5 9A1.5 1.5 0 0 0 2 10.5v2A1.5 1.5 0 0 0 3.5 14h2A1.5 1.5 0 0 0 7 12.5v-2A1.5 1.5 0 0 0 5.5 9h-2ZM9 3.5A1.5 1.5 0 0 1 10.5 2h2A1.5 1.5 0 0 1 14 3.5v2A1.5 1.5 0 0 1 12.5 7h-2A1.5 1.5 0 0 1 9 5.5v-2ZM10.5 9A1.5 1.5 0 0 0 9 10.5v2a1.5 1.5 0 0 0 1.5 1.5h2a1.5 1.5 0 0 0 1.5-1.5v-2A1.5 1.5 0 0 0 12.5 9h-2Z"}))),"K"))}displayMessage(){var t,e,o,i,a,r,n;let l=null;return this.error?l=s("p",{class:"text-red-500"},this.errorMsg):this.isSubmitted?l=s("svg",{class:"animate-spin -ml-1 mr-3 h-5 w-5 text-gray-400",xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 24 24"},s("circle",{class:"opacity-25",cx:"12",cy:"12",r:"10",stroke:"currentColor","stroke-width":"4"}),s("path",{class:"opacity-75",fill:"currentColor",d:"M4 12a8 8 0 018-8V0C5.373 0 0 5.373 0 12h4zm2 5.291A7.962 7.962 0 014 12H0c0 3.042 1.135 5.824 3 7.938l3-2.647z"})):(this.dirty&&(l=null!==(e=null===(t=this.ctaSettings)||void 0===t?void 0:t.noResultsText)&&void 0!==e?e:this.pNoResultsText),l=null!==(i=null===(o=this.ctaSettings)||void 0===o?void 0:o.helpText)&&void 0!==i?i:this.pHelpText),((null===(a=this.searchResults)||void 0===a?void 0:a.length)>0||(null===(r=this.chatHistory)||void 0===r?void 0:r.length)>0)&&!(null===(n=this.ctaSettings)||void 0===n?void 0:n.keepWelcomeVisible)?null:"string"==typeof l?s("div",{class:"flex prose custom-msg",innerHTML:l}):s("p",{class:"custom-msg flex"},l)}getHeaderTemplate(){var t,e,o;return $.sanitize(null!==(o=null!==(e=null===(t=this.ctaSettings)||void 0===t?void 0:t.heading)&&void 0!==e?e:this.pheading)&&void 0!==o?o:"")}render(){var t,e,o,i,a,r,l,c,h,d,p,w,m,u,f,x,b,y,k,z,C,S,j,M,A,E,q,I,T,H,D,L,N,J,O,R,F,K,$,B,U,_;const Z={width:(null===(t=this.ctaSettings)||void 0===t?void 0:t.enableMobileView)?"100%":null===(e=this.ctaSettings)||void 0===e?void 0:e.dialogWidth,"max-width":null===(o=this.ctaSettings)||void 0===o?void 0:o.dialogMaxWidth,"min-height":this.chatHistory.length>0?"unset":null!==(a=null===(i=this.ctaSettings)||void 0===i?void 0:i.dialogMinHeight)&&void 0!==a?a:"300px","margin-top":null!==(l=null===(r=this.ctaSettings)||void 0===r?void 0:r.dialogTopMargin)&&void 0!==l?l:"80px"},V=this.getHeaderTemplate();return this.canRender?s(n,null,this.isRendered&&s("div",{class:"custom-container",onClick:()=>this.openModal()},!this.isCta&&this.defaultTemplate(),this.isCta&&s("slot",{name:"cta"})),s("div",{class:{"bg-smoke-light":!0,"modal-wrapper":!0,"custom-model":!0,"hide-dialog":!this.showModal},onClick:t=>this.handleOutsideClick(t),role:"dialog","aria-modal":"true","aria-label":"Search modal","aria-describedby":(null===(c=this.ctaSettings)||void 0===c?void 0:c.allowClose)?void 0:"modal-close-info"},s("div",{"aria-live":"assertive","aria-atomic":"true",class:"sr-only"},this.announceMessage),!(null===(h=this.ctaSettings)||void 0===h?void 0:h.allowClose)&&s("div",{id:"modal-close-info",class:"sr-only"},"This dialog cannot be closed with Escape key or by clicking outside. Please complete your interaction."),s("div",{class:"skip-links"},s("a",{class:"skip-link",href:"#main-content",onClick:t=>{var e;t.preventDefault();const o=null===(e=this.el.shadowRoot.querySelector("ai12z-chat"))||void 0===e?void 0:e.shadowRoot.querySelector("#main-content");o&&o.focus()}},"Skip to main content"),s("a",{class:"skip-link",href:"#searchInput",onClick:t=>{t.preventDefault();const e=this.el.shadowRoot.querySelector("ai12z-input-form").querySelector("#searchInput");e&&e.focus()}},"Skip to message input")),s("div",{class:{"overscroll-contain":!0,"modal-content-wrapper":!0,"model-content":!0,"modal-position":!0,"modal-header-position":!!V},style:Z},s("span",{class:"btn-position",style:{top:V?"20px":"0px"}},(null===(d=this.ctaSettings)||void 0===d?void 0:d.allowClose)&&s("button",{onClick:()=>this.closeModal(),class:"modal-close","aria-label":"Close AI Search",tabindex:"0",title:"Close AI Search"},s("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"1.8","stroke-linecap":"round","stroke-linejoin":"round"},s("line",{x1:"18",y1:"6",x2:"6",y2:"18"}),s("line",{x1:"6",y1:"6",x2:"18",y2:"18"})))),s("div",{class:"modal-body flex flex-col"},V&&s("header",{class:"cta-header model-heading",innerHTML:V}),s("div",{class:`cta-layout flex flex-col flex-1 ${(null===(p=this.ctaSettings)||void 0===p?void 0:p.textareaAtBottom)?"reverse":"normal"} ${(null===(w=this.chatHistory)||void 0===w?void 0:w.length)>0?"has-conversation":""}`},s("div",{class:"input-wrapper"},!this.showHistory&&this.ctaSettings.textareaAtBottom&&s("div",{class:"welcome-template-bottom-container"},this.displayMessage()),s("ai12z-input-form",{onAction:async t=>{const{value:e,type:o,followUp:i,imgFiles:a}=t.detail;await this.handleSubmit(t,e,o,i,a)},isChat:this.isChat,componentType:"cta",chatLength:this.chatHistory.length,placeholder:null!==(u=null===(m=this.ctaSettings)||void 0===m?void 0:m.placeholder)&&void 0!==u?u:this.pPlaceholder,buttonText:(null===(f=this.ctaSettings)||void 0===f?void 0:f.buttonText)?null===(x=this.ctaSettings)||void 0===x?void 0:x.buttonText:""==(null===(b=this.ctaSettings)||void 0===b?void 0:b.buttonText)||!(null===(y=this.ctaSettings)||void 0===y?void 0:y.buttonText)||""==(null===(k=this.ctaSettings)||void 0===k?void 0:k.buttonText)&&""==(null===(z=this.ctaSettings)||void 0===z?void 0:z.iconSrc)?!(null===(C=this.ctaSettings)||void 0===C?void 0:C.buttonText)&&(null===(S=this.ctaSettings)||void 0===S?void 0:S.iconSrc)?"":this.pButtonText:null===(j=this.ctaSettings)||void 0===j?void 0:j.buttonText,iconSrc:null!==(A=null===(M=this.ctaSettings)||void 0===M?void 0:M.iconSrc)&&void 0!==A?A:"",followUpLabel:null!==(q=null===(E=this.ctaSettings)||void 0===E?void 0:E.followUpLabel)&&void 0!==q?q:"Do you have a follow up question?",isImageUpload:null===(T=null===(I=this.ctaSettings)||void 0===I?void 0:I.imageUpload)||void 0===T||T,isEnableMic:null===(D=null===(H=this.ctaSettings)||void 0===H?void 0:H.enableMic)||void 0===D||D,openMenuUpward:this.ctaSettings.textareaAtBottom,"data-key":this.dataKey,"data-mode":this.dataMode}),!this.showHistory&&!this.ctaSettings.textareaAtBottom&&s("div",{class:"welcome-template-top-container"},this.displayMessage())),s("div",{id:"main-content",class:"content-area"},s("div",{class:"custom-results"},!this.isChat&&!(null===(L=this.ctaSettings)||void 0===L?void 0:L.categorize)&&s(v,{results:this.searchResults}),!this.isChat&&(null===(N=this.ctaSettings)||void 0===N?void 0:N.categorize)&&s("ai12z-category",{categoryList:this.searchResults,linkTarget:null===(J=this.ctaSettings)||void 0===J?void 0:J.linkTarget})),this.isChat&&s("ai12z-chat",{chats:this.chatHistory,env:this.dataMode,query:this.formData.search,apiKey:this.dataKey,aiMessageId:this.aiMessageId,imgFiles:this.imgFiles,target:""===(null===(O=this.ctaSettings)||void 0===O?void 0:O.linkTarget)?"_blank":null===(R=this.ctaSettings)||void 0===R?void 0:R.linkTarget,voiceType:(null===(F=this.ctaSettings)||void 0===F?void 0:F.audioType)||"default",voice:(null===(K=this.ctaSettings)||void 0===K?void 0:K.voice)||"Google US English",onFeedback:async t=>{const{feedback:e,insightId:o}=t.detail;g(this.dataKey,this.dataMode,o,e)},componentType:"ctasearch",socketIn:this.socketService,dataAttributes:this.dataAttributes,chatExcludeTags:this.excludeTags,chatIncludeTags:this.includeTags,customstyle:null===($=this.ctaSettings)||void 0===$?void 0:$.customCSS,customJS:null===(B=this.ctaSettings)||void 0===B?void 0:B.customJS,settings:null!==(U=this.ctaSettings)&&void 0!==U?U:{}}),this.showHistory&&s("chatbot-history",{chatList:this.conversationHistory,botName:null===(_=this.ctaSettings)||void 0===_?void 0:_.name}),!this.isChat&&s("div",{class:"custom-privacy"},s("slot",{name:"custom-privacy"})))))))):s(n,null,s("span",{style:{display:"none"}},"Failed to load ai12z control due to insufficient fund"))}get el(){return this}static get watchers(){return{dataKey:[{onDataKeyChange:0}],dataMode:[{onDataModeChange:0}]}}static get style(){return':host{--bg-smoke-light:rgba(0, 0, 0, 0.5);margin-left:20px;font-family:var(--ai12z-search-font-family) var(--ai12z-font-family) !important;font-size:var(--ai12z-search-font-size, var(--ai12z-font-size)) !important;color:var(--ai12z-font-color, black);text-align:var(--ai12z-text-align, left)}.keyboard-shortcuts-btn{vertical-align:middle;padding-right:5px;color:#666}.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0, 0, 0, 0);white-space:nowrap;border-width:0}.skip-links{position:relative;z-index:9999}.skip-link{position:absolute;top:-40px;left:0;background-color:var(--ai12z-primary-color, #007bff);color:white;padding:8px 16px;text-decoration:none;border-radius:4px;font-weight:500;z-index:10000;opacity:0;pointer-events:none;transition:top 0.2s, opacity 0.2s}.skip-link:focus{top:8px;opacity:1;pointer-events:auto;outline:3px solid var(--ai12z-secondary-accent, #0056b3);outline-offset:2px}.bg-smoke-light{transition:opacity 300ms ease-in-out;position:fixed;top:0;left:0;z-index:200;height:100vh;width:100vw;cursor:auto;flex-direction:column;background-color:#0003;--tw-backdrop-blur:blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.modal-content{transition:transform 300ms ease-in-out, opacity 300ms ease-in-out;transform:scale(0.9);opacity:0}.modal-position{position:relative;padding:32px 16px 8px;flex-direction:column}.modal-header-position{padding:0px 0px 8px 0px}.cta-header{min-height:48px;padding:0 0 12px}.modal-close:hover{color:rgb(31 41 55)}.model-heading{color:var(--ai12z-heading-color);font-size:var(--ai12z-heading-font-size)}:host(.show-modal) .bg-smoke-light{opacity:1}:host(.show-modal) .modal-content{transform:scale(1);opacity:1}.modal-content-wrapper{background-color:rgb(255 255 255);width:100%;max-width:768px;border-radius:8px;clip-path:inset(0 round 8px)}.model-wrapper{position:fixed;top:0;left:0;z-index:200;height:100vh;width:100vw;cursor:auto;flex-direction:column;background-color:#0003;padding:16px;--tw-backdrop-blur:blur(4px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.custom-model{overflow:auto;inset:0px;position:fixed;min-height:100vh;min-height:100dvh;display:flex;align-items:center;justify-items:center}.hide-dialog{display:none !important}.modal-position .btn-position{position:absolute;right:0px;top:0px;padding:4px 16px;color:var(--ai12z-secondary-accent, #0056B3)}@media (max-width: 768px){.modal-content-wrapper{width:100%;height:100vh;height:100dvh !important;margin:0 !important;border-radius:0;overflow:auto;max-width:none !important}.custom-privacy{position:fixed !important;bottom:0;left:0;width:100%;padding:10px}.modal-position .btn-position{padding:7.2px 12px 7.2px 16px;position:fixed}.content-area{padding:0px !important}.modal-header-position{padding:0px 16px 8px}.has-conversation .welcome-template-top-container,.has-conversation .welcome-template-bottom-container{display:none}}.btn-left{top:0;left:0;position:absolute;padding:5.6px 16px;color:var(--ai12z-secondary-accent, #0056B3)}.custom-privacy{color:var(--ai12z-knowledge-box-privacy-color);text-align:center;margin-top:auto;bottom:0;left:0;right:0}.custom-button{align-items:center;text-align:left;background-color:rgb(255 255 255);color:rgb(148 163 184);border-radius:8px;width:288px;min-height:48px;padding-left:16px;padding-right:16px}.custom-msg{text-align:center;color:var(--ai12z-font-mute);justify-content:center;max-width:none !important;}.cta-search-results{border-top-width:1px;border-bottom-width:0px;border-color:rgb(243 244 246)}.cta-search-results-list{position:relative;padding-bottom:20px;padding-top:20px}.cta-search-results-list:hover{background-color:var(--ai12z-hover-bg-color)}.cta-search-container{margin-left:auto;margin-right:auto;display:flex;max-width:896px;justify-content:space-between;-moz-column-gap:24px;column-gap:24px}.cta-search-container-two{display:flex;min-width:0px;-moz-column-gap:16px;column-gap:16px}.cta-search-container-three{min-width:0px;flex:1 1 auto}.cta-search-text{font-weight:600;line-height:24px;font-size:var(--ai12z-search-result-title-font-size);color:var(--ai12z-search-result-title-color)}.cta-search-text-position{position:absolute;left:0px;right:0px;top:-1px;bottom:0px}.cta-search-description{margin-top:4px;display:flex;font-size:var(--ai12z-search-result-description-font-size);line-height:16px;line-height:20px;color:var(--ai12z-search-result-description-color)}.cta-search-list-arrow{display:flex;align-items:center;flex-shrink:0;-moz-column-gap:16px;column-gap:16px}.custom-icon-width{width:64px}.results-icon svg{width:24px;height:24px}.modal-body{display:flex;flex-direction:column}.cta-layout{display:flex;flex:1;min-height:0}.cta-layout.normal{flex-direction:column}.cta-layout.reverse{flex-direction:column-reverse}.input-wrapper{position:sticky;top:0;bottom:0;z-index:10;background:white;padding:16px}.content-area{flex:1;padding:12px}.welcome-template-top-container{padding-top:10px}.welcome-template-bottom-container{padding-bottom:10px}@layer properties;@layer theme, base, components, utilities;@layer theme{:host,:root{--font-sans:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji";--font-mono:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;--color-red-500:oklch(63.7% 0.237 25.331);--color-sky-500:oklch(68.5% 0.169 237.323);--color-blue-300:oklch(80.9% 0.105 251.813);--color-blue-500:oklch(62.3% 0.214 259.815);--color-blue-600:oklch(54.6% 0.245 262.881);--color-blue-700:oklch(48.8% 0.243 264.376);--color-blue-800:oklch(42.4% 0.199 265.638);--color-slate-300:oklch(86.9% 0.022 252.894);--color-slate-400:oklch(70.4% 0.04 256.788);--color-slate-900:oklch(20.8% 0.042 265.755);--color-gray-100:oklch(96.7% 0.003 264.542);--color-gray-200:oklch(92.8% 0.006 264.531);--color-gray-400:oklch(70.7% 0.022 261.325);--color-gray-500:oklch(55.1% 0.027 264.364);--color-gray-600:oklch(44.6% 0.03 256.802);--color-gray-700:oklch(37.3% 0.034 259.733);--color-gray-800:oklch(27.8% 0.033 256.848);--color-gray-900:oklch(21% 0.034 264.665);--color-white:#fff;--font-weight-normal:400;--font-weight-medium:500;--font-weight-semibold:600;--font-weight-bold:700;--tracking-tight:-0.025em;--tracking-wide:0.025em;--leading-normal:1.5;--ease-out:cubic-bezier(0,0,0.2,1);--ease-in-out:cubic-bezier(0.4,0,0.2,1);--animate-spin:spin 1s linear infinite;--animate-ping:ping 1s cubic-bezier(0,0,0.2,1) infinite;--animate-pulse:pulse 2s cubic-bezier(0.4,0,0.6,1) infinite;--default-transition-duration:150ms;--default-transition-timing-function:cubic-bezier(0.4,0,0.2,1);--default-font-family:var(--font-sans);--default-mono-font-family:var(--font-mono);--spacing:4px;--text-xs:12px;--text-xs--line-height:16px;--text-sm:14px;--text-sm--line-height:20px;--text-lg:18px;--text-lg--line-height:28px;--text-xl:20px;--text-xl--line-height:28px;--text-2xl:24px;--text-2xl--line-height:32px;--radius-md:4px;--radius-lg:8px;--radius-xl:12px;--radius-2xl:16px;--radius-3xl:24px;--container-sm:448px;--container-xl:640px}}@layer base{*,::backdrop,::file-selector-button,:after,:before{border:0 solid;box-sizing:border-box;margin:0;padding:0}:host,html{line-height:1.5;-webkit-text-size-adjust:100%;font-family:var(--default-font-family,ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol","Noto Color Emoji");font-feature-settings:var(--default-font-feature-settings,normal);font-variation-settings:var(--default-font-variation-settings,normal);-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;-webkit-text-decoration:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-family:var(--default-mono-font-family,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace);font-feature-settings:var(--default-mono-font-feature-settings,normal);font-size:1em;font-variation-settings:var(--default-mono-font-variation-settings,normal)}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}:-moz-focusring{outline:auto}progress{vertical-align:baseline}summary{display:list-item}menu,ol,ul{list-style:none}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}::file-selector-button,button,input,optgroup,select,textarea{background-color:transparent;border-radius:0;color:inherit;font:inherit;font-feature-settings:inherit;font-variation-settings:inherit;letter-spacing:inherit;opacity:1}:where(select:is([multiple],[size])) optgroup{font-weight:bolder}:where(select:is([multiple],[size])) optgroup option{padding-inline-start:20px}::file-selector-button{margin-inline-end:4px}::-moz-placeholder{opacity:1}::placeholder{opacity:1}@supports (not (-webkit-appearance:-apple-pay-button)) or (contain-intrinsic-size:1px){::-moz-placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}::placeholder{color:currentcolor;@supports (color:color-mix(in lab,red,red)){color:color-mix(in oklab,currentcolor 50%,transparent)}}}textarea{resize:vertical}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-date-and-time-value{min-height:1lh;text-align:inherit}::-webkit-datetime-edit{display:inline-flex}::-webkit-datetime-edit-fields-wrapper{padding:0}::-webkit-datetime-edit,::-webkit-datetime-edit-day-field,::-webkit-datetime-edit-hour-field,::-webkit-datetime-edit-meridiem-field,::-webkit-datetime-edit-millisecond-field,::-webkit-datetime-edit-minute-field,::-webkit-datetime-edit-month-field,::-webkit-datetime-edit-second-field,::-webkit-datetime-edit-year-field{padding-block:0}::-webkit-calendar-picker-indicator{line-height:1}:-moz-ui-invalid{box-shadow:none}::file-selector-button,button,input:where([type=button],[type=reset],[type=submit]){-webkit-appearance:button;-moz-appearance:button;appearance:button}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[hidden]:where(:not([hidden=until-found])){display:none!important}}@layer utilities{.\\@container{container-type:inline-size}.pointer-events-auto{pointer-events:auto}.pointer-events-none{pointer-events:none}.collapse{visibility:collapse}.visible{visibility:visible}.sr-only{border-width:0;clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;white-space:nowrap;width:1px}.absolute,.sr-only{position:absolute}.fixed{position:fixed}.relative{position:relative}.static{position:static}.sticky{position:sticky}.top-0{top:calc(var(--spacing)*0)}.top-full{top:100%}.right-0{right:calc(var(--spacing)*0)}.right-4{right:calc(var(--spacing)*4)}.right-7{right:calc(var(--spacing)*7)}.right-8{right:calc(var(--spacing)*8)}.bottom-0{bottom:calc(var(--spacing)*0)}.bottom-5{bottom:calc(var(--spacing)*5)}.bottom-6{bottom:calc(var(--spacing)*6)}.bottom-full{bottom:100%}.left-0{left:calc(var(--spacing)*0)}.left-1\\/2{left:50%}.left-5{left:calc(var(--spacing)*5)}.z-10{z-index:10}.z-30{z-index:30}.order-1{order:1}.order-2{order:2}.col-span-1{grid-column:span 1/span 1}.col-span-2{grid-column:span 2/span 2}.container{width:100%;@media (width >= 640px){max-width:640px}@media (width >= 768px){max-width:768px}@media (width >= 1024px){max-width:1024px}@media (width >= 1280px){max-width:1280px}@media (width >= 1536px){max-width:1536px}}.container\\!{width:100%!important;@media (width >= 640px){max-width:640px!important}@media (width >= 768px){max-width:768px!important}@media (width >= 1024px){max-width:1024px!important}@media (width >= 1280px){max-width:1280px!important}@media (width >= 1536px){max-width:1536px!important}}.m-0{margin:calc(var(--spacing)*0)}.mx-1{margin-inline:calc(var(--spacing)*1)}.mx-auto{margin-inline:auto}.my-4{margin-block:calc(var(--spacing)*4)}.ms-2{margin-inline-start:calc(var(--spacing)*2)}.prose{color:var(--tw-prose-body);max-width:65ch;--tw-prose-body:oklch(37.3% 0.034 259.733);--tw-prose-headings:oklch(21% 0.034 264.665);--tw-prose-lead:oklch(44.6% 0.03 256.802);--tw-prose-links:oklch(21% 0.034 264.665);--tw-prose-bold:oklch(21% 0.034 264.665);--tw-prose-counters:oklch(55.1% 0.027 264.364);--tw-prose-bullets:oklch(87.2% 0.01 258.338);--tw-prose-hr:oklch(92.8% 0.006 264.531);--tw-prose-quotes:oklch(21% 0.034 264.665);--tw-prose-quote-borders:oklch(92.8% 0.006 264.531);--tw-prose-captions:oklch(55.1% 0.027 264.364);--tw-prose-kbd:oklch(21% 0.034 264.665);--tw-prose-kbd-shadows:color-mix(in oklab,oklch(21% 0.034 264.665) 10%,transparent);--tw-prose-code:oklch(21% 0.034 264.665);--tw-prose-pre-code:oklch(92.8% 0.006 264.531);--tw-prose-pre-bg:oklch(27.8% 0.033 256.848);--tw-prose-th-borders:oklch(87.2% 0.01 258.338);--tw-prose-td-borders:oklch(92.8% 0.006 264.531);--tw-prose-invert-body:oklch(87.2% 0.01 258.338);--tw-prose-invert-headings:#fff;--tw-prose-invert-lead:oklch(70.7% 0.022 261.325);--tw-prose-invert-links:#fff;--tw-prose-invert-bold:#fff;--tw-prose-invert-counters:oklch(70.7% 0.022 261.325);--tw-prose-invert-bullets:oklch(44.6% 0.03 256.802);--tw-prose-invert-hr:oklch(37.3% 0.034 259.733);--tw-prose-invert-quotes:oklch(96.7% 0.003 264.542);--tw-prose-invert-quote-borders:oklch(37.3% 0.034 259.733);--tw-prose-invert-captions:oklch(70.7% 0.022 261.325);--tw-prose-invert-kbd:#fff;--tw-prose-invert-kbd-shadows:hsla(0,0%,100%,.1);--tw-prose-invert-code:#fff;--tw-prose-invert-pre-code:oklch(87.2% 0.01 258.338);--tw-prose-invert-pre-bg:rgba(0,0,0,.5);--tw-prose-invert-th-borders:oklch(44.6% 0.03 256.802);--tw-prose-invert-td-borders:oklch(37.3% 0.034 259.733);font-size:16px;line-height:1.75;:where(p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}:where([class~=lead]):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-lead);font-size:1.25em;line-height:1.6;margin-bottom:1.2em;margin-top:1.2em}:where(a):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-links);font-weight:500;text-decoration:underline}:where(strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-bold);font-weight:600}:where(a strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(ol):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal;margin-bottom:1.25em;margin-top:1.25em;padding-inline-start:1.625em}:where(ol[type=A]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=A s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-alpha}:where(ol[type=a s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-alpha}:where(ol[type=I]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type=I s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:upper-roman}:where(ol[type=i s]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:lower-roman}:where(ol[type="1"]):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:decimal}:where(ul):not(:where([class~=not-prose],[class~=not-prose] *)){list-style-type:disc;margin-bottom:1.25em;margin-top:1.25em;padding-inline-start:1.625em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-counters);font-weight:400}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *))::marker{color:var(--tw-prose-bullets)}:where(dt):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;margin-top:1.25em}:where(hr):not(:where([class~=not-prose],[class~=not-prose] *)){border-color:var(--tw-prose-hr);border-top-width:1px;margin-bottom:3em;margin-top:3em}:where(blockquote):not(:where([class~=not-prose],[class~=not-prose] *)){border-inline-start-color:var(--tw-prose-quote-borders);border-inline-start-width:4px;color:var(--tw-prose-quotes);font-style:italic;font-weight:500;margin-bottom:1.6em;margin-top:1.6em;padding-inline-start:1em;quotes:"\\201C""\\201D""\\2018""\\2019"}:where(blockquote p:first-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:open-quote}:where(blockquote p:last-of-type):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:close-quote}:where(h1):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:2.25em;font-weight:800;line-height:1.1111111;margin-bottom:.8888889em;margin-top:0}:where(h1 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:900}:where(h2):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.5em;font-weight:700;line-height:1.3333333;margin-bottom:1em;margin-top:2em}:where(h2 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:800}:where(h3):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-size:1.25em;font-weight:600;line-height:1.6;margin-bottom:.6em;margin-top:1.6em}:where(h3 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}:where(h4):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;line-height:1.5;margin-bottom:.5em;margin-top:1.5em}:where(h4 strong):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-weight:700}:where(img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(picture):not(:where([class~=not-prose],[class~=not-prose] *)){display:block;margin-bottom:2em;margin-top:2em}:where(video):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(kbd):not(:where([class~=not-prose],[class~=not-prose] *)){border-radius:5px;box-shadow:0 0 0 1px var(--tw-prose-kbd-shadows),0 3px 0 var(--tw-prose-kbd-shadows);color:var(--tw-prose-kbd);font-family:inherit;font-size:.875em;font-weight:500;padding-inline-end:.375em;padding-bottom:.1875em;padding-top:.1875em;padding-inline-start:.375em}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-code);font-size:.875em;font-weight:600}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:"\\60 "}:where(code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:"\\60 "}:where(a code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h1 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(h2 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.875em}:where(h3 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit;font-size:.9em}:where(h4 code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(blockquote code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(thead th code):not(:where([class~=not-prose],[class~=not-prose] *)){color:inherit}:where(pre):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:var(--tw-prose-pre-bg);border-radius:6px;color:var(--tw-prose-pre-code);font-size:.875em;font-weight:400;line-height:1.7142857;margin-bottom:1.7142857em;margin-top:1.7142857em;overflow-x:auto;padding-inline-end:1.1428571em;padding-bottom:.8571429em;padding-top:.8571429em;padding-inline-start:1.1428571em}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)){background-color:transparent;border-radius:0;border-width:0;color:inherit;font-family:inherit;font-size:inherit;font-weight:inherit;line-height:inherit;padding:0}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):before{content:none}:where(pre code):not(:where([class~=not-prose],[class~=not-prose] *)):after{content:none}:where(table):not(:where([class~=not-prose],[class~=not-prose] *)){font-size:.875em;line-height:1.7142857;margin-bottom:2em;margin-top:2em;table-layout:auto;width:100%}:where(thead):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-color:var(--tw-prose-th-borders);border-bottom-width:1px}:where(thead th):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-headings);font-weight:600;padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-inline-start:.5714286em;vertical-align:bottom}:where(tbody tr):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-color:var(--tw-prose-td-borders);border-bottom-width:1px}:where(tbody tr:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){border-bottom-width:0}:where(tbody td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:baseline}:where(tfoot):not(:where([class~=not-prose],[class~=not-prose] *)){border-top-color:var(--tw-prose-th-borders);border-top-width:1px}:where(tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){vertical-align:top}:where(th,td):not(:where([class~=not-prose],[class~=not-prose] *)){text-align:start}:where(figure>*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0;margin-top:0}:where(figcaption):not(:where([class~=not-prose],[class~=not-prose] *)){color:var(--tw-prose-captions);font-size:.875em;line-height:1.4285714;margin-top:.8571429em}:where(picture>img):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0;margin-top:0}:where(li):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.5em;margin-top:.5em}:where(ol>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(ul>li):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:.375em}:where(.prose>ul>li p):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}:where(.prose>ul>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ul>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(.prose>ol>li>p:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:1.25em}:where(.prose>ol>li>p:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em}:where(ul ul,ul ol,ol ul,ol ol):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:.75em;margin-top:.75em}:where(dl):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:1.25em;margin-top:1.25em}:where(dd):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:.5em;padding-inline-start:1.625em}:where(hr+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h2+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h3+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(h4+*):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(thead th:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(thead th:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(tbody td,tfoot td):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:.5714286em;padding-bottom:.5714286em;padding-top:.5714286em;padding-inline-start:.5714286em}:where(tbody td:first-child,tfoot td:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-start:0}:where(tbody td:last-child,tfoot td:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){padding-inline-end:0}:where(figure):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:2em;margin-top:2em}:where(.prose>:first-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-top:0}:where(.prose>:last-child):not(:where([class~=not-prose],[class~=not-prose] *)){margin-bottom:0}}.mt-0\\.5{margin-top:calc(var(--spacing)*.5)}.mt-1{margin-top:calc(var(--spacing)*1)}.mt-2{margin-top:calc(var(--spacing)*2)}.mt-2\\.5{margin-top:calc(var(--spacing)*2.5)}.mt-4{margin-top:calc(var(--spacing)*4)}.mt-px{margin-top:1px}.mr-0\\.5{margin-right:calc(var(--spacing)*.5)}.mr-1{margin-right:calc(var(--spacing)*1)}.mr-3{margin-right:calc(var(--spacing)*3)}.mb-1{margin-bottom:calc(var(--spacing)*1)}.mb-2{margin-bottom:calc(var(--spacing)*2)}.mb-3{margin-bottom:calc(var(--spacing)*3)}.mb-4{margin-bottom:calc(var(--spacing)*4)}.-ml-1{margin-left:calc(var(--spacing)*-1)}.ml-1{margin-left:calc(var(--spacing)*1)}.ml-2{margin-left:calc(var(--spacing)*2)}.ml-auto{margin-left:auto}.box-border{box-sizing:border-box}.block{display:block}.flex{display:flex}.grid{display:grid}.hidden{display:none}.inline{display:inline}.inline-block{display:inline-block}.inline-flex{display:inline-flex}.table{display:table}.size-6{height:calc(var(--spacing)*6);width:calc(var(--spacing)*6)}.size-10{height:calc(var(--spacing)*10);width:calc(var(--spacing)*10)}.h-0{height:calc(var(--spacing)*0)}.h-2\\.5{height:calc(var(--spacing)*2.5)}.h-3{height:calc(var(--spacing)*3)}.h-3\\.5{height:calc(var(--spacing)*3.5)}.h-4{height:calc(var(--spacing)*4)}.h-5{height:calc(var(--spacing)*5)}.h-6{height:calc(var(--spacing)*6)}.h-8{height:calc(var(--spacing)*8)}.h-10{height:calc(var(--spacing)*10)}.h-12{height:calc(var(--spacing)*12)}.h-56{height:calc(var(--spacing)*56)}.h-64{height:calc(var(--spacing)*64)}.h-96{height:calc(var(--spacing)*96)}.h-auto{height:auto}.h-fit{height:-moz-fit-content;height:fit-content}.h-full{height:100%}.h-px{height:1px}.max-h-80{max-height:calc(var(--spacing)*80)}.min-h-\\[calc\\(100\\%-1px\\)\\]{min-height:calc(100% - 1px)}.min-h-fit{min-height:-moz-fit-content;min-height:fit-content}.w-1\\/2{width:50%}.w-2\\.5{width:calc(var(--spacing)*2.5)}.w-3{width:calc(var(--spacing)*3)}.w-3\\.5{width:calc(var(--spacing)*3.5)}.w-4{width:calc(var(--spacing)*4)}.w-5{width:calc(var(--spacing)*5)}.w-6{width:calc(var(--spacing)*6)}.w-8{width:calc(var(--spacing)*8)}.w-10{width:calc(var(--spacing)*10)}.w-11\\/12{width:91.66667%}.w-44{width:calc(var(--spacing)*44)}.w-48{width:calc(var(--spacing)*48)}.w-auto{width:auto}.w-full{width:100%}.max-w-full{max-width:100%}.max-w-none{max-width:none}.max-w-sm{max-width:var(--container-sm)}.min-w-\\[200px\\]{min-width:200px}.min-w-full{min-width:100%}.flex-1{flex:1}.flex-\\[1_1_0\\]{flex:1 1 0}.flex-auto{flex:auto}.flex-none{flex:none}.flex-shrink{flex-shrink:1}.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.-translate-x-1\\/2{--tw-translate-x:-50%}.-translate-x-1\\/2,.translate-y-\\[0\\.5px\\]{translate:var(--tw-translate-x) var(--tw-translate-y)}.translate-y-\\[0\\.5px\\]{--tw-translate-y:0.5px}.scale-90{--tw-scale-x:90%;--tw-scale-y:90%;--tw-scale-z:90%}.scale-100,.scale-90{scale:var(--tw-scale-x) var(--tw-scale-y)}.scale-100{--tw-scale-x:100%;--tw-scale-y:100%;--tw-scale-z:100%}.transform{transform:var(--tw-rotate-x,) var(--tw-rotate-y,) var(--tw-rotate-z,) var(--tw-skew-x,) var(--tw-skew-y,)}.animate-ping{animation:var(--animate-ping)}.animate-pulse{animation:var(--animate-pulse)}.animate-spin{animation:var(--animate-spin)}.cursor-not-allowed{cursor:not-allowed}.cursor-pointer{cursor:pointer}.resize{resize:both}.resize-none{resize:none}.grid-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.flex-col{flex-direction:column}.flex-row{flex-direction:row}.flex-wrap{flex-wrap:wrap}.place-content-center{place-content:center}.items-center{align-items:center}.items-end{align-items:flex-end}.items-start{align-items:flex-start}.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}.gap-1{gap:calc(var(--spacing)*1)}.gap-1\\.5{gap:calc(var(--spacing)*1.5)}.gap-2{gap:calc(var(--spacing)*2)}.gap-4{gap:calc(var(--spacing)*4)}.space-y-2{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*2*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*2*var(--tw-space-y-reverse))}}.space-y-3{:where(&>:not(:last-child)){--tw-space-y-reverse:0;margin-block-end:calc(var(--spacing)*3*(1 - var(--tw-space-y-reverse)));margin-block-start:calc(var(--spacing)*3*var(--tw-space-y-reverse))}}.gap-x-2{-moz-column-gap:calc(var(--spacing)*2);column-gap:calc(var(--spacing)*2)}.space-x-1{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*1*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*1*var(--tw-space-x-reverse))}}.space-x-2{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*2*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*2*var(--tw-space-x-reverse))}}.space-x-3{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*3*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*3*var(--tw-space-x-reverse))}}.space-x-4{:where(&>:not(:last-child)){--tw-space-x-reverse:0;margin-inline-end:calc(var(--spacing)*4*(1 - var(--tw-space-x-reverse)));margin-inline-start:calc(var(--spacing)*4*var(--tw-space-x-reverse))}}.gap-y-1{row-gap:calc(var(--spacing)*1)}.gap-y-3{row-gap:calc(var(--spacing)*3)}.self-center{align-self:center}.self-end{align-self:flex-end}.truncate{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.overflow-auto{overflow:auto}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}.overflow-y-scroll{overflow-y:scroll}.overscroll-contain{overscroll-behavior:contain}.rounded-2xl{border-radius:var(--radius-2xl)}.rounded-3xl{border-radius:var(--radius-3xl)}.rounded-full{border-radius:calc(infinity*1px)}.rounded-lg{border-radius:var(--radius-lg)}.rounded-md{border-radius:var(--radius-md)}.rounded-xl{border-radius:var(--radius-xl)}.rounded-b-2xl{border-bottom-left-radius:var(--radius-2xl);border-bottom-right-radius:var(--radius-2xl)}.border{border-style:var(--tw-border-style);border-width:1px}.border-2{border-style:var(--tw-border-style);border-width:2px}.border-b{border-bottom-style:var(--tw-border-style);border-bottom-width:1px}.border-solid{--tw-border-style:solid;border-style:solid}.border-gray-200{border-color:var(--color-gray-200)}.border-white{border-color:var(--color-white)}.bg-blue-500{background-color:var(--color-blue-500)}.bg-blue-600{background-color:var(--color-blue-600)}.bg-blue-700{background-color:var(--color-blue-700)}.bg-gray-200{background-color:var(--color-gray-200)}.bg-gray-500{background-color:var(--color-gray-500)}.bg-gray-800{background-color:var(--color-gray-800)}.bg-inherit{background-color:inherit}.bg-transparent{background-color:transparent}.bg-white{background-color:var(--color-white)}.object-cover{-o-object-fit:cover;object-fit:cover}.p-0{padding:calc(var(--spacing)*0)}.p-1{padding:calc(var(--spacing)*1)}.p-1\\.5{padding:calc(var(--spacing)*1.5)}.p-2{padding:calc(var(--spacing)*2)}.p-2\\.5{padding:calc(var(--spacing)*2.5)}.p-4{padding:calc(var(--spacing)*4)}.p-5{padding:calc(var(--spacing)*5)}.p-\\[10px\\]{padding:10px}.px-1{padding-inline:calc(var(--spacing)*1)}.px-3{padding-inline:calc(var(--spacing)*3)}.px-4{padding-inline:calc(var(--spacing)*4)}.px-5{padding-inline:calc(var(--spacing)*5)}.py-1{padding-block:calc(var(--spacing)*1)}.py-2{padding-block:calc(var(--spacing)*2)}.pt-0{padding-top:calc(var(--spacing)*0)}.pt-2{padding-top:calc(var(--spacing)*2)}.pt-5{padding-top:calc(var(--spacing)*5)}.pr-2{padding-right:calc(var(--spacing)*2)}.pr-\\[14px\\]{padding-right:14px}.pb-1{padding-bottom:calc(var(--spacing)*1)}.pb-2{padding-bottom:calc(var(--spacing)*2)}.pb-3{padding-bottom:calc(var(--spacing)*3)}.pl-2{padding-left:calc(var(--spacing)*2)}.pl-3{padding-left:calc(var(--spacing)*3)}.pl-4{padding-left:calc(var(--spacing)*4)}.text-center{text-align:center}.text-left{text-align:left}.text-right{text-align:right}.align-bottom{vertical-align:bottom}.font-sans{font-family:var(--font-sans)}.text-2xl{font-size:var(--text-2xl);line-height:var(--tw-leading,var(--text-2xl--line-height))}.text-lg{font-size:var(--text-lg);line-height:var(--tw-leading,var(--text-lg--line-height))}.text-sm{font-size:var(--text-sm);line-height:var(--tw-leading,var(--text-sm--line-height))}.text-xs{font-size:var(--text-xs);line-height:var(--tw-leading,var(--text-xs--line-height))}.text-\\[10px\\]{font-size:10px}.leading-normal{--tw-leading:var(--leading-normal);line-height:var(--leading-normal)}.font-bold{--tw-font-weight:var(--font-weight-bold);font-weight:var(--font-weight-bold)}.font-medium{--tw-font-weight:var(--font-weight-medium);font-weight:var(--font-weight-medium)}.font-normal{--tw-font-weight:var(--font-weight-normal);font-weight:var(--font-weight-normal)}.font-semibold{--tw-font-weight:var(--font-weight-semibold);font-weight:var(--font-weight-semibold)}.tracking-tight{--tw-tracking:var(--tracking-tight);letter-spacing:var(--tracking-tight)}.tracking-wide{--tw-tracking:var(--tracking-wide);letter-spacing:var(--tracking-wide)}.break-words{overflow-wrap:break-word}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.text-blue-500{color:var(--color-blue-500)}.text-blue-600{color:var(--color-blue-600)}.text-gray-400{color:var(--color-gray-400)}.text-gray-500{color:var(--color-gray-500)}.text-gray-600{color:var(--color-gray-600)}.text-gray-700{color:var(--color-gray-700)}.text-gray-800{color:var(--color-gray-800)}.text-gray-900{color:var(--color-gray-900)}.text-red-500{color:var(--color-red-500)}.text-slate-300{color:var(--color-slate-300)}.text-slate-400{color:var(--color-slate-400)}.text-white{color:var(--color-white)}.capitalize{text-transform:capitalize}.lowercase{text-transform:lowercase}.uppercase{text-transform:uppercase}.no-underline{text-decoration-line:none}.underline{text-decoration-line:underline}.opacity-0{opacity:0}.opacity-25{opacity:25%}.opacity-50{opacity:50%}.opacity-75{opacity:75%}.opacity-90{opacity:90%}.opacity-100{opacity:100%}.shadow{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,rgba(0,0,0,.1)),0 1px 2px -1px var(--tw-shadow-color,rgba(0,0,0,.1))}.shadow,.shadow-lg{box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.shadow-lg{--tw-shadow:0 10px 15px -3px var(--tw-shadow-color,rgba(0,0,0,.1)),0 4px 6px -4px var(--tw-shadow-color,rgba(0,0,0,.1))}.shadow-sm{--tw-shadow:0 1px 3px 0 var(--tw-shadow-color,rgba(0,0,0,.1)),0 1px 2px -1px var(--tw-shadow-color,rgba(0,0,0,.1));box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring,.ring-1{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(1px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}.ring-slate-900\\/10{--tw-ring-color:color-mix(in srgb,oklch(20.8% 0.042 265.755) 10%,transparent);@supports (color:color-mix(in lab,red,red)){--tw-ring-color:color-mix(in oklab,var(--color-slate-900) 10%,transparent)}}.outline{outline-style:var(--tw-outline-style);outline-width:1px}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur,) var(--tw-brightness,) var(--tw-contrast,) var(--tw-grayscale,) var(--tw-hue-rotate,) var(--tw-invert,) var(--tw-saturate,) var(--tw-sepia,) var(--tw-drop-shadow,)}.transition{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to,opacity,box-shadow,transform,translate,scale,rotate,filter,backdrop-filter,display,content-visibility,overlay,pointer-events;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-all{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:all;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-colors{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:color,background-color,border-color,outline-color,text-decoration-color,fill,stroke,--tw-gradient-from,--tw-gradient-via,--tw-gradient-to;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.transition-transform{transition-duration:var(--tw-duration,var(--default-transition-duration));transition-property:transform,translate,scale,rotate;transition-timing-function:var(--tw-ease,var(--default-transition-timing-function))}.duration-300{--tw-duration:300ms;transition-duration:.3s}.duration-700{--tw-duration:700ms;transition-duration:.7s}.ease-in-out{--tw-ease:var(--ease-in-out);transition-timing-function:var(--ease-in-out)}.ease-out{--tw-ease:var(--ease-out);transition-timing-function:var(--ease-out)}.outline-none{--tw-outline-style:none;outline-style:none}.after\\:invisible{&:after{content:var(--tw-content);visibility:hidden}}.after\\:whitespace-pre-wrap{&:after{content:var(--tw-content);white-space:pre-wrap}}.hover\\:bg-blue-800{&:hover{@media (hover:hover){background-color:var(--color-blue-800)}}}.hover\\:bg-gray-100{&:hover{@media (hover:hover){background-color:var(--color-gray-100)}}}.hover\\:bg-gradient-to-t{&:hover{@media (hover:hover){--tw-gradient-position:to top in oklab;background-image:linear-gradient(var(--tw-gradient-stops))}}}.hover\\:text-blue-700{&:hover{@media (hover:hover){color:var(--color-blue-700)}}}.hover\\:underline{&:hover{@media (hover:hover){text-decoration-line:underline}}}.hover\\:ring-slate-300{&:hover{@media (hover:hover){--tw-ring-color:var(--color-slate-300)}}}.focus\\:ring-2{&:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(2px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:ring-4{&:focus{--tw-ring-shadow:var(--tw-ring-inset,) 0 0 0 calc(4px + var(--tw-ring-offset-width)) var(--tw-ring-color,currentcolor);box-shadow:var(--tw-inset-shadow),var(--tw-inset-ring-shadow),var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow)}}.focus\\:ring-blue-300{&:focus{--tw-ring-color:var(--color-blue-300)}}.focus\\:ring-sky-500{&:focus{--tw-ring-color:var(--color-sky-500)}}.focus\\:outline{&:focus{outline-style:var(--tw-outline-style);outline-width:1px}}.focus\\:outline-2{&:focus{outline-style:var(--tw-outline-style);outline-width:2px}}.focus\\:outline-offset-2{&:focus{outline-offset:2px}}.focus\\:outline-none{&:focus{--tw-outline-style:none;outline-style:none}}.disabled\\:cursor-not-allowed{&:disabled{cursor:not-allowed}}.disabled\\:bg-transparent{&:disabled{background-color:transparent}}.disabled\\:hover\\:bg-transparent{&:disabled{&:hover{@media (hover:hover){background-color:transparent}}}}.sm\\:h-3{@media (width >= 640px){height:calc(var(--spacing)*3)}}.sm\\:w-3{@media (width >= 640px){width:calc(var(--spacing)*3)}}.sm\\:px-6{@media (width >= 640px){padding-inline:calc(var(--spacing)*6)}}.md\\:right-0{@media (width >= 768px){right:calc(var(--spacing)*0)}}.md\\:col-span-2{@media (width >= 768px){grid-column:span 2/span 2}}.md\\:mt-6{@media (width >= 768px){margin-top:calc(var(--spacing)*6)}}.md\\:ml-2{@media (width >= 768px){margin-left:calc(var(--spacing)*2)}}.md\\:block{@media (width >= 768px){display:block}}.md\\:flex{@media (width >= 768px){display:flex}}.md\\:h-4{@media (width >= 768px){height:calc(var(--spacing)*4)}}.md\\:h-96{@media (width >= 768px){height:calc(var(--spacing)*96)}}.md\\:h-auto{@media (width >= 768px){height:auto}}.md\\:w-1\\/2{@media (width >= 768px){width:50%}}.md\\:w-1\\/3{@media (width >= 768px){width:33.33333%}}.md\\:w-2\\/3{@media (width >= 768px){width:66.66667%}}.md\\:w-4{@media (width >= 768px){width:calc(var(--spacing)*4)}}.md\\:max-w-xl{@media (width >= 768px){max-width:var(--container-xl)}}.md\\:flex-none{@media (width >= 768px){flex:none}}.md\\:grid-cols-2{@media (width >= 768px){grid-template-columns:repeat(2,minmax(0,1fr))}}.md\\:flex-row{@media (width >= 768px){flex-direction:row}}.md\\:gap-x-3{@media (width >= 768px){-moz-column-gap:calc(var(--spacing)*3);column-gap:calc(var(--spacing)*3)}}.md\\:rounded-t-xl{@media (width >= 768px){border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}}.md\\:p-2\\.5{@media (width >= 768px){padding:calc(var(--spacing)*2.5)}}.md\\:p-4{@media (width >= 768px){padding:calc(var(--spacing)*4)}}.md\\:pl-3{@media (width >= 768px){padding-left:calc(var(--spacing)*3)}}.md\\:text-xl{@media (width >= 768px){font-size:var(--text-xl);line-height:var(--tw-leading,var(--text-xl--line-height))}}.lg\\:px-8{@media (width >= 1024px){padding-inline:calc(var(--spacing)*8)}}.\\@md\\:mx-0{@container (width >= 512px){margin-inline:calc(var(--spacing)*0)}}.\\@md\\:gap-x-3{@container (width >= 512px){-moz-column-gap:calc(var(--spacing)*3);column-gap:calc(var(--spacing)*3)}}.\\@md\\:rounded-t-xl{@container (width >= 512px){border-top-left-radius:var(--radius-xl);border-top-right-radius:var(--radius-xl)}}.\\@md\\:px-3{@container (width >= 512px){padding-inline:calc(var(--spacing)*3)}}.\\@md\\:px-6{@container (width >= 512px){padding-inline:calc(var(--spacing)*6)}}.\\@md\\:pt-8{@container (width >= 512px){padding-top:calc(var(--spacing)*8)}}.\\@md\\:pr-4{@container (width >= 512px){padding-right:calc(var(--spacing)*4)}}.\\@md\\:pb-7{@container (width >= 512px){padding-bottom:calc(var(--spacing)*7)}}.rtl\\:rotate-180{&:where(:dir(rtl),[dir=rtl],[dir=rtl] *){rotate:180deg}}.rtl\\:space-x-reverse{&:where(:dir(rtl),[dir=rtl],[dir=rtl] *){:where(&>:not(:last-child)){--tw-space-x-reverse:1}}}.dark\\:border-gray-700{@media (prefers-color-scheme:dark){border-color:var(--color-gray-700)}}.dark\\:bg-blue-600{@media (prefers-color-scheme:dark){background-color:var(--color-blue-600)}}.dark\\:text-gray-100{@media (prefers-color-scheme:dark){color:var(--color-gray-100)}}.dark\\:text-gray-400{@media (prefers-color-scheme:dark){color:var(--color-gray-400)}}.dark\\:text-gray-800{@media (prefers-color-scheme:dark){color:var(--color-gray-800)}}.dark\\:text-slate-400{@media (prefers-color-scheme:dark){color:var(--color-slate-400)}}.dark\\:text-white{@media (prefers-color-scheme:dark){color:var(--color-white)}}.dark\\:hover\\:bg-blue-700{@media (prefers-color-scheme:dark){&:hover{@media (hover:hover){background-color:var(--color-blue-700)}}}}.dark\\:focus\\:ring-blue-800{@media (prefers-color-scheme:dark){&:focus{--tw-ring-color:var(--color-blue-800)}}}}@property --tw-translate-x{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-y{syntax:"*";inherits:false;initial-value:0}@property --tw-translate-z{syntax:"*";inherits:false;initial-value:0}@property --tw-scale-x{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-y{syntax:"*";inherits:false;initial-value:1}@property --tw-scale-z{syntax:"*";inherits:false;initial-value:1}@property --tw-rotate-x{syntax:"*";inherits:false}@property --tw-rotate-y{syntax:"*";inherits:false}@property --tw-rotate-z{syntax:"*";inherits:false}@property --tw-skew-x{syntax:"*";inherits:false}@property --tw-skew-y{syntax:"*";inherits:false}@property --tw-space-y-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-space-x-reverse{syntax:"*";inherits:false;initial-value:0}@property --tw-border-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-leading{syntax:"*";inherits:false}@property --tw-font-weight{syntax:"*";inherits:false}@property --tw-tracking{syntax:"*";inherits:false}@property --tw-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-shadow-color{syntax:"*";inherits:false}@property --tw-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-inset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-shadow-color{syntax:"*";inherits:false}@property --tw-inset-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-ring-color{syntax:"*";inherits:false}@property --tw-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-inset-ring-color{syntax:"*";inherits:false}@property --tw-inset-ring-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-ring-inset{syntax:"*";inherits:false}@property --tw-ring-offset-width{syntax:"<length>";inherits:false;initial-value:0}@property --tw-ring-offset-color{syntax:"*";inherits:false;initial-value:#fff}@property --tw-ring-offset-shadow{syntax:"*";inherits:false;initial-value:0 0 #0000}@property --tw-outline-style{syntax:"*";inherits:false;initial-value:solid}@property --tw-blur{syntax:"*";inherits:false}@property --tw-brightness{syntax:"*";inherits:false}@property --tw-contrast{syntax:"*";inherits:false}@property --tw-grayscale{syntax:"*";inherits:false}@property --tw-hue-rotate{syntax:"*";inherits:false}@property --tw-invert{syntax:"*";inherits:false}@property --tw-opacity{syntax:"*";inherits:false}@property --tw-saturate{syntax:"*";inherits:false}@property --tw-sepia{syntax:"*";inherits:false}@property --tw-drop-shadow{syntax:"*";inherits:false}@property --tw-drop-shadow-color{syntax:"*";inherits:false}@property --tw-drop-shadow-alpha{syntax:"<percentage>";inherits:false;initial-value:100%}@property --tw-drop-shadow-size{syntax:"*";inherits:false}@property --tw-duration{syntax:"*";inherits:false}@property --tw-ease{syntax:"*";inherits:false}@property --tw-content{syntax:"*";initial-value:"";inherits:false}@keyframes spin{to{transform:rotate(1turn)}}@keyframes ping{75%,to{opacity:0;transform:scale(2)}}@keyframes pulse{50%{opacity:.5}}@layer properties{@supports ((-webkit-hyphens:none) and (not (margin-trim:inline))) or ((-moz-orient:inline) and (not (color:rgb(from red r g b)))){*,::backdrop,:after,:before{--tw-translate-x:0;--tw-translate-y:0;--tw-translate-z:0;--tw-scale-x:1;--tw-scale-y:1;--tw-scale-z:1;--tw-rotate-x:initial;--tw-rotate-y:initial;--tw-rotate-z:initial;--tw-skew-x:initial;--tw-skew-y:initial;--tw-space-y-reverse:0;--tw-space-x-reverse:0;--tw-border-style:solid;--tw-leading:initial;--tw-font-weight:initial;--tw-tracking:initial;--tw-shadow:0 0 #0000;--tw-shadow-color:initial;--tw-shadow-alpha:100%;--tw-inset-shadow:0 0 #0000;--tw-inset-shadow-color:initial;--tw-inset-shadow-alpha:100%;--tw-ring-color:initial;--tw-ring-shadow:0 0 #0000;--tw-inset-ring-color:initial;--tw-inset-ring-shadow:0 0 #0000;--tw-ring-inset:initial;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-offset-shadow:0 0 #0000;--tw-outline-style:solid;--tw-blur:initial;--tw-brightness:initial;--tw-contrast:initial;--tw-grayscale:initial;--tw-hue-rotate:initial;--tw-invert:initial;--tw-opacity:initial;--tw-saturate:initial;--tw-sepia:initial;--tw-drop-shadow:initial;--tw-drop-shadow-color:initial;--tw-drop-shadow-alpha:100%;--tw-drop-shadow-size:initial;--tw-duration:initial;--tw-ease:initial;--tw-content:""}}}'}},[257,"ai12z-cta",{isCta:[1028,"is-cta"],dataKey:[513,"data-key"],dataMode:[513,"data-mode"],configId:[513,"config-id"],dataAttributes:[513,"data-attributes"],options:[16],excludeTags:[16],includeTags:[16],socketService:[32],ctaSettings:[32],showModal:[32],timer:[32],questionCounter:[32],formData:[32],searchResults:[32],error:[32],conversationId:[32],canRender:[32],chatHistory:[32],isChat:[32],aiMessageId:[32],thumbsId:[32],imgFiles:[32],announceMessage:[32],showHistory:[32],conversationHistory:[32],isRendered:[32],openModal:[64],sendMessage:[64],sendJSON:[64],closeModal:[64]},[[0,"keydown","handleKeyDown"],[0,"survey","surveyHandler"],[0,"formComplete","formSubmittedHandler"],[0,"deleteChatHistory","deleteChatHistoryHandler"],[0,"chatClick","chatClickHandler"]],{dataKey:[{onDataKeyChange:0}],dataMode:[{onDataModeChange:0}]}]);function P(){"undefined"!=typeof customElements&&["ai12z-cta","ai12z-category","ai12z-chat","ai12z-input-form","audio-recorder","chatbot-history","delete-confirmation-modal","image-uploader","item-list","keyboard-shortcuts-dialog"].forEach((e=>{switch(e){case"ai12z-cta":customElements.get(t(e))||customElements.define(t(e),Y);break;case"ai12z-category":customElements.get(t(e))||m();break;case"ai12z-chat":customElements.get(t(e))||u();break;case"ai12z-input-form":customElements.get(t(e))||B();break;case"audio-recorder":customElements.get(t(e))||R();break;case"chatbot-history":customElements.get(t(e))||U();break;case"delete-confirmation-modal":customElements.get(t(e))||_();break;case"image-uploader":customElements.get(t(e))||Z();break;case"item-list":customElements.get(t(e))||l();break;case"keyboard-shortcuts-dialog":customElements.get(t(e))||V()}}))}P();export{Y as A,P as d}
@@ -0,0 +1 @@
1
+ import{t as e,p as a,H as t,E as s,h as o,d as n}from"./p-rVmRQ8bG.js";import{i}from"./p-Den_E0yr.js";import{d as r}from"./p-uBqtYDJ1.js";const d=a(class extends t{constructor(e){super(),!1!==e&&this.__registerHost(),this.dataKey=s.DATA_KEY||"",this.dataMode=s.DATA_MODE||"prod",this.disable=!1}componentWillLoad(){this.initializeBeacon()}onPropChange(){this.initializeBeacon()}initializeBeacon(){this.dataKey&&(this.disable||i(this.dataKey,this.dataMode))}render(){return o(n,{key:"84462e1e48427855a56beeca8262cb97f6752302",hidden:!0})}static get watchers(){return{dataKey:[{onPropChange:0}],dataMode:[{onPropChange:0}],disable:[{onPropChange:0}]}}},[0,"ai12z-beacon",{dataKey:[513,"data-key"],dataMode:[513,"data-mode"],disable:[516]},void 0,{dataKey:[{onPropChange:0}],dataMode:[{onPropChange:0}],disable:[{onPropChange:0}]}]);function c(){"undefined"!=typeof customElements&&["ai12z-beacon","item-list"].forEach((a=>{switch(a){case"ai12z-beacon":customElements.get(e(a))||customElements.define(e(a),d);break;case"item-list":customElements.get(e(a))||r()}}))}c();export{d as A,c as d}