@eshal-bot/chat-widget 0.1.39 → 0.1.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chat-widget.esm.js +3 -3
- package/dist/chat-widget.js +302 -24
- package/dist/chat-widget.min.js +1 -1
- package/dist/chat-widget.umd.js +5 -5
- package/package.json +1 -1
package/dist/chat-widget.js
CHANGED
|
@@ -56065,6 +56065,12 @@
|
|
|
56065
56065
|
const DICTIONARIES = {
|
|
56066
56066
|
en: EN,
|
|
56067
56067
|
ar: {
|
|
56068
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56069
|
+
// substituted verbatim at the call site and rendered through
|
|
56070
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56071
|
+
chooseTopicLabel: "اختر موضوعًا للبدء:",
|
|
56072
|
+
categoryTopicsHeading: "يرجى طرح سؤالك حول **{category}** أدناه.",
|
|
56073
|
+
quickQuestionsHeadingLabel: "أو اطرح سؤالًا سريعًا:",
|
|
56068
56074
|
typeYourMessage: "اكتب رسالتك هنا...",
|
|
56069
56075
|
agentIsLoading: "جارٍ تحميل الوكيل...",
|
|
56070
56076
|
conversationResolved: "تم إنهاء المحادثة",
|
|
@@ -56097,6 +56103,12 @@
|
|
|
56097
56103
|
allowMicAccess: "السماح بالوصول إلى الميكروفون"
|
|
56098
56104
|
},
|
|
56099
56105
|
es: {
|
|
56106
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56107
|
+
// substituted verbatim at the call site and rendered through
|
|
56108
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56109
|
+
chooseTopicLabel: "Elige un tema para empezar:",
|
|
56110
|
+
categoryTopicsHeading: "Por favor, haz tu pregunta sobre **{category}** a continuación.",
|
|
56111
|
+
quickQuestionsHeadingLabel: "O haz una pregunta rápida:",
|
|
56100
56112
|
typeYourMessage: "Escribe tu mensaje...",
|
|
56101
56113
|
agentIsLoading: "El agente está cargando...",
|
|
56102
56114
|
conversationResolved: "Conversación resuelta",
|
|
@@ -56129,6 +56141,12 @@
|
|
|
56129
56141
|
allowMicAccess: "Permitir acceso al micrófono"
|
|
56130
56142
|
},
|
|
56131
56143
|
be: {
|
|
56144
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56145
|
+
// substituted verbatim at the call site and rendered through
|
|
56146
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56147
|
+
chooseTopicLabel: "Выберыце тэму, каб пачаць:",
|
|
56148
|
+
categoryTopicsHeading: "Калі ласка, задайце сваё пытанне пра **{category}** ніжэй.",
|
|
56149
|
+
quickQuestionsHeadingLabel: "Або задайце хуткае пытанне:",
|
|
56132
56150
|
typeYourMessage: "Увядзіце паведамленне...",
|
|
56133
56151
|
agentIsLoading: "Агент загружаецца...",
|
|
56134
56152
|
conversationResolved: "Размова завершана",
|
|
@@ -56161,6 +56179,12 @@
|
|
|
56161
56179
|
allowMicAccess: "Дазволіць доступ да мікрафона"
|
|
56162
56180
|
},
|
|
56163
56181
|
bs: {
|
|
56182
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56183
|
+
// substituted verbatim at the call site and rendered through
|
|
56184
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56185
|
+
chooseTopicLabel: "Odaberite temu za početak:",
|
|
56186
|
+
categoryTopicsHeading: "Molimo postavite svoje pitanje o **{category}** ispod.",
|
|
56187
|
+
quickQuestionsHeadingLabel: "Ili postavite brzo pitanje:",
|
|
56164
56188
|
typeYourMessage: "Upišite vašu poruku...",
|
|
56165
56189
|
agentIsLoading: "Agent se učitava...",
|
|
56166
56190
|
conversationResolved: "Razgovor je završen",
|
|
@@ -56193,6 +56217,12 @@
|
|
|
56193
56217
|
allowMicAccess: "Dozvoli pristup mikrofonu"
|
|
56194
56218
|
},
|
|
56195
56219
|
bg: {
|
|
56220
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56221
|
+
// substituted verbatim at the call site and rendered through
|
|
56222
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56223
|
+
chooseTopicLabel: "Изберете тема, за да започнете:",
|
|
56224
|
+
categoryTopicsHeading: "Моля, задайте въпроса си за **{category}** по-долу.",
|
|
56225
|
+
quickQuestionsHeadingLabel: "Или задайте бърз въпрос:",
|
|
56196
56226
|
typeYourMessage: "Въведете съобщението си...",
|
|
56197
56227
|
agentIsLoading: "Агентът се зарежда...",
|
|
56198
56228
|
conversationResolved: "Разговорът е приключен",
|
|
@@ -56225,6 +56255,12 @@
|
|
|
56225
56255
|
allowMicAccess: "Позволете достъп до микрофона"
|
|
56226
56256
|
},
|
|
56227
56257
|
my: {
|
|
56258
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56259
|
+
// substituted verbatim at the call site and rendered through
|
|
56260
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56261
|
+
chooseTopicLabel: "စတင်ရန် ခေါင်းစဉ်တစ်ခု ရွေးချယ်ပါ:",
|
|
56262
|
+
categoryTopicsHeading: "ကျေးဇူးပြု၍ သင်၏ **{category}** မေးခွန်းကို အောက်တွင် မေးပါ။",
|
|
56263
|
+
quickQuestionsHeadingLabel: "သို့မဟုတ် မြန်ဆန်သော မေးခွန်းတစ်ခု မေးပါ:",
|
|
56228
56264
|
typeYourMessage: "သင့်မက်ဆေ့ချ်ကို ရိုက်ထည့်ပါ...",
|
|
56229
56265
|
agentIsLoading: "အေးဂျင့်ကို ဖွင့်နေသည်...",
|
|
56230
56266
|
conversationResolved: "စကားဝိုင်း ပြီးစီးပြီ",
|
|
@@ -56257,6 +56293,12 @@
|
|
|
56257
56293
|
allowMicAccess: "မိုက်ခရိုဖုန်း ဝင်ရောက်ခွင့်ပြုပါ"
|
|
56258
56294
|
},
|
|
56259
56295
|
ca: {
|
|
56296
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56297
|
+
// substituted verbatim at the call site and rendered through
|
|
56298
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56299
|
+
chooseTopicLabel: "Tria un tema per començar:",
|
|
56300
|
+
categoryTopicsHeading: "Si us plau, fes la teva pregunta sobre **{category}** a continuació.",
|
|
56301
|
+
quickQuestionsHeadingLabel: "O fes una pregunta ràpida:",
|
|
56260
56302
|
typeYourMessage: "Escriu el teu missatge...",
|
|
56261
56303
|
agentIsLoading: "L'agent està carregant...",
|
|
56262
56304
|
conversationResolved: "Conversa resolta",
|
|
@@ -56289,6 +56331,12 @@
|
|
|
56289
56331
|
allowMicAccess: "Permetre accés al micròfon"
|
|
56290
56332
|
},
|
|
56291
56333
|
zh: {
|
|
56334
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56335
|
+
// substituted verbatim at the call site and rendered through
|
|
56336
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56337
|
+
chooseTopicLabel: "选择一个主题开始:",
|
|
56338
|
+
categoryTopicsHeading: "请在下方提出您关于 **{category}** 的问题。",
|
|
56339
|
+
quickQuestionsHeadingLabel: "或者提一个快速问题:",
|
|
56292
56340
|
typeYourMessage: "输入您的消息...",
|
|
56293
56341
|
agentIsLoading: "客服正在加载...",
|
|
56294
56342
|
conversationResolved: "对话已结束",
|
|
@@ -56321,6 +56369,12 @@
|
|
|
56321
56369
|
allowMicAccess: "允许访问麦克风"
|
|
56322
56370
|
},
|
|
56323
56371
|
hr: {
|
|
56372
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56373
|
+
// substituted verbatim at the call site and rendered through
|
|
56374
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56375
|
+
chooseTopicLabel: "Odaberite temu za početak:",
|
|
56376
|
+
categoryTopicsHeading: "Molimo postavite svoje pitanje o **{category}** u nastavku.",
|
|
56377
|
+
quickQuestionsHeadingLabel: "Ili postavite brzo pitanje:",
|
|
56324
56378
|
typeYourMessage: "Upišite svoju poruku...",
|
|
56325
56379
|
agentIsLoading: "Agent se učitava...",
|
|
56326
56380
|
conversationResolved: "Razgovor je završen",
|
|
@@ -56353,6 +56407,12 @@
|
|
|
56353
56407
|
allowMicAccess: "Dopustite pristup mikrofonu"
|
|
56354
56408
|
},
|
|
56355
56409
|
cs: {
|
|
56410
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56411
|
+
// substituted verbatim at the call site and rendered through
|
|
56412
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56413
|
+
chooseTopicLabel: "Vyberte téma a začněte:",
|
|
56414
|
+
categoryTopicsHeading: "Prosím, položte svou otázku ohledně **{category}** níže.",
|
|
56415
|
+
quickQuestionsHeadingLabel: "Nebo položte rychlou otázku:",
|
|
56356
56416
|
typeYourMessage: "Napište zprávu...",
|
|
56357
56417
|
agentIsLoading: "Agent se načítá...",
|
|
56358
56418
|
conversationResolved: "Konverzace ukončena",
|
|
@@ -56385,6 +56445,12 @@
|
|
|
56385
56445
|
allowMicAccess: "Povolit přístup k mikrofonu"
|
|
56386
56446
|
},
|
|
56387
56447
|
da: {
|
|
56448
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56449
|
+
// substituted verbatim at the call site and rendered through
|
|
56450
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56451
|
+
chooseTopicLabel: "Vælg et emne for at komme i gang:",
|
|
56452
|
+
categoryTopicsHeading: "Stil venligst dit spørgsmål om **{category}** nedenfor.",
|
|
56453
|
+
quickQuestionsHeadingLabel: "Eller stil et hurtigt spørgsmål:",
|
|
56388
56454
|
typeYourMessage: "Skriv din besked...",
|
|
56389
56455
|
agentIsLoading: "Agenten indlæses...",
|
|
56390
56456
|
conversationResolved: "Samtale afsluttet",
|
|
@@ -56417,6 +56483,12 @@
|
|
|
56417
56483
|
allowMicAccess: "Tillad mikrofonadgang"
|
|
56418
56484
|
},
|
|
56419
56485
|
nl: {
|
|
56486
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56487
|
+
// substituted verbatim at the call site and rendered through
|
|
56488
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56489
|
+
chooseTopicLabel: "Kies een onderwerp om te beginnen:",
|
|
56490
|
+
categoryTopicsHeading: "Stel hieronder uw vraag over **{category}**.",
|
|
56491
|
+
quickQuestionsHeadingLabel: "Of stel een snelle vraag:",
|
|
56420
56492
|
typeYourMessage: "Typ je bericht...",
|
|
56421
56493
|
agentIsLoading: "Agent wordt geladen...",
|
|
56422
56494
|
conversationResolved: "Gesprek beëindigd",
|
|
@@ -56449,6 +56521,12 @@
|
|
|
56449
56521
|
allowMicAccess: "Toegang tot microfoon toestaan"
|
|
56450
56522
|
},
|
|
56451
56523
|
et: {
|
|
56524
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56525
|
+
// substituted verbatim at the call site and rendered through
|
|
56526
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56527
|
+
chooseTopicLabel: "Vali alustamiseks teema:",
|
|
56528
|
+
categoryTopicsHeading: "Palun esita oma **{category}** küsimus allpool.",
|
|
56529
|
+
quickQuestionsHeadingLabel: "Või esita kiire küsimus:",
|
|
56452
56530
|
typeYourMessage: "Sisesta oma sõnum...",
|
|
56453
56531
|
agentIsLoading: "Agent laeb...",
|
|
56454
56532
|
conversationResolved: "Vestlus lõpetatud",
|
|
@@ -56481,6 +56559,12 @@
|
|
|
56481
56559
|
allowMicAccess: "Luba mikrofoni juurdepääs"
|
|
56482
56560
|
},
|
|
56483
56561
|
fi: {
|
|
56562
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56563
|
+
// substituted verbatim at the call site and rendered through
|
|
56564
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56565
|
+
chooseTopicLabel: "Aloita valitsemalla aihe:",
|
|
56566
|
+
categoryTopicsHeading: "Esitä **{category}**-kysymyksesi alla.",
|
|
56567
|
+
quickQuestionsHeadingLabel: "Tai esitä nopea kysymys:",
|
|
56484
56568
|
typeYourMessage: "Kirjoita viestisi...",
|
|
56485
56569
|
agentIsLoading: "Agenttia ladataan...",
|
|
56486
56570
|
conversationResolved: "Keskustelu päättynyt",
|
|
@@ -56513,6 +56597,12 @@
|
|
|
56513
56597
|
allowMicAccess: "Salli mikrofonin käyttö"
|
|
56514
56598
|
},
|
|
56515
56599
|
fr: {
|
|
56600
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56601
|
+
// substituted verbatim at the call site and rendered through
|
|
56602
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56603
|
+
chooseTopicLabel: "Choisissez un sujet pour commencer :",
|
|
56604
|
+
categoryTopicsHeading: "Veuillez poser votre question sur **{category}** ci-dessous.",
|
|
56605
|
+
quickQuestionsHeadingLabel: "Ou posez une question rapide :",
|
|
56516
56606
|
typeYourMessage: "Tapez votre message...",
|
|
56517
56607
|
agentIsLoading: "L'agent est en cours de chargement...",
|
|
56518
56608
|
conversationResolved: "Conversation terminée",
|
|
@@ -56545,6 +56635,12 @@
|
|
|
56545
56635
|
allowMicAccess: "Autoriser l'accès au microphone"
|
|
56546
56636
|
},
|
|
56547
56637
|
de: {
|
|
56638
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56639
|
+
// substituted verbatim at the call site and rendered through
|
|
56640
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56641
|
+
chooseTopicLabel: "Wählen Sie ein Thema, um zu beginnen:",
|
|
56642
|
+
categoryTopicsHeading: "Bitte stellen Sie Ihre Frage zu **{category}** unten.",
|
|
56643
|
+
quickQuestionsHeadingLabel: "Oder stellen Sie eine schnelle Frage:",
|
|
56548
56644
|
typeYourMessage: "Geben Sie Ihre Nachricht ein...",
|
|
56549
56645
|
agentIsLoading: "Agent wird geladen...",
|
|
56550
56646
|
conversationResolved: "Gespräch beendet",
|
|
@@ -56577,6 +56673,12 @@
|
|
|
56577
56673
|
allowMicAccess: "Mikrofonzugriff erlauben"
|
|
56578
56674
|
},
|
|
56579
56675
|
el: {
|
|
56676
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56677
|
+
// substituted verbatim at the call site and rendered through
|
|
56678
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56679
|
+
chooseTopicLabel: "Επιλέξτε ένα θέμα για να ξεκινήσετε:",
|
|
56680
|
+
categoryTopicsHeading: "Παρακαλώ κάντε την ερώτησή σας σχετικά με το **{category}** παρακάτω.",
|
|
56681
|
+
quickQuestionsHeadingLabel: "Ή κάντε μια γρήγορη ερώτηση:",
|
|
56580
56682
|
typeYourMessage: "Πληκτρολογήστε το μήνυμά σας...",
|
|
56581
56683
|
agentIsLoading: "Ο πράκτορας φορτώνει...",
|
|
56582
56684
|
conversationResolved: "Η συζήτηση ολοκληρώθηκε",
|
|
@@ -56609,6 +56711,12 @@
|
|
|
56609
56711
|
allowMicAccess: "Επιτρέψτε πρόσβαση στο μικρόφωνο"
|
|
56610
56712
|
},
|
|
56611
56713
|
hi: {
|
|
56714
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56715
|
+
// substituted verbatim at the call site and rendered through
|
|
56716
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56717
|
+
chooseTopicLabel: "शुरू करने के लिए एक विषय चुनें:",
|
|
56718
|
+
categoryTopicsHeading: "कृपया अपना **{category}** प्रश्न नीचे पूछें।",
|
|
56719
|
+
quickQuestionsHeadingLabel: "या एक त्वरित प्रश्न पूछें:",
|
|
56612
56720
|
typeYourMessage: "अपना संदेश लिखें...",
|
|
56613
56721
|
agentIsLoading: "एजेंट लोड हो रहा है...",
|
|
56614
56722
|
conversationResolved: "बातचीत समाप्त हुई",
|
|
@@ -56643,6 +56751,12 @@
|
|
|
56643
56751
|
allowMicAccess: "माइक्रोफ़ोन एक्सेस की अनुमति दें"
|
|
56644
56752
|
},
|
|
56645
56753
|
mr: {
|
|
56754
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56755
|
+
// substituted verbatim at the call site and rendered through
|
|
56756
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56757
|
+
chooseTopicLabel: "सुरू करण्यासाठी एक विषय निवडा:",
|
|
56758
|
+
categoryTopicsHeading: "कृपया तुमचा **{category}** प्रश्न खाली विचारा.",
|
|
56759
|
+
quickQuestionsHeadingLabel: "किंवा एक झटपट प्रश्न विचारा:",
|
|
56646
56760
|
typeYourMessage: "तुमचा संदेश टाइप करा...",
|
|
56647
56761
|
agentIsLoading: "एजंट लोड होत आहे...",
|
|
56648
56762
|
conversationResolved: "संभाषण समाप्त",
|
|
@@ -56677,6 +56791,12 @@
|
|
|
56677
56791
|
allowMicAccess: "मायक्रोफोन प्रवेशास परवानगी द्या"
|
|
56678
56792
|
},
|
|
56679
56793
|
hu: {
|
|
56794
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56795
|
+
// substituted verbatim at the call site and rendered through
|
|
56796
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56797
|
+
chooseTopicLabel: "Válassz egy témát a kezdéshez:",
|
|
56798
|
+
categoryTopicsHeading: "Kérjük, tedd fel **{category}** kérdésedet alább.",
|
|
56799
|
+
quickQuestionsHeadingLabel: "Vagy tegyél fel egy gyors kérdést:",
|
|
56680
56800
|
typeYourMessage: "Írja be az üzenetét...",
|
|
56681
56801
|
agentIsLoading: "Az ügynök betöltődik...",
|
|
56682
56802
|
conversationResolved: "Beszélgetés befejezve",
|
|
@@ -56709,6 +56829,12 @@
|
|
|
56709
56829
|
allowMicAccess: "Mikrofon hozzáférés engedélyezése"
|
|
56710
56830
|
},
|
|
56711
56831
|
is: {
|
|
56832
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56833
|
+
// substituted verbatim at the call site and rendered through
|
|
56834
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56835
|
+
chooseTopicLabel: "Veldu efni til að byrja:",
|
|
56836
|
+
categoryTopicsHeading: "Vinsamlegast spurðu spurningu þinnar um **{category}** hér að neðan.",
|
|
56837
|
+
quickQuestionsHeadingLabel: "Eða spurðu fljótlegrar spurningar:",
|
|
56712
56838
|
typeYourMessage: "Sláðu inn skilaboð...",
|
|
56713
56839
|
agentIsLoading: "Fulltrúi hleðst...",
|
|
56714
56840
|
conversationResolved: "Samtali lokið",
|
|
@@ -56741,6 +56867,12 @@
|
|
|
56741
56867
|
allowMicAccess: "Leyfa aðgang að hljóðnema"
|
|
56742
56868
|
},
|
|
56743
56869
|
id: {
|
|
56870
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56871
|
+
// substituted verbatim at the call site and rendered through
|
|
56872
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56873
|
+
chooseTopicLabel: "Pilih topik untuk memulai:",
|
|
56874
|
+
categoryTopicsHeading: "Silakan ajukan pertanyaan **{category}** Anda di bawah.",
|
|
56875
|
+
quickQuestionsHeadingLabel: "Atau ajukan pertanyaan cepat:",
|
|
56744
56876
|
typeYourMessage: "Ketik pesan Anda...",
|
|
56745
56877
|
agentIsLoading: "Agen sedang dimuat...",
|
|
56746
56878
|
conversationResolved: "Percakapan selesai",
|
|
@@ -56773,6 +56905,12 @@
|
|
|
56773
56905
|
allowMicAccess: "Izinkan akses mikrofon"
|
|
56774
56906
|
},
|
|
56775
56907
|
it: {
|
|
56908
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56909
|
+
// substituted verbatim at the call site and rendered through
|
|
56910
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56911
|
+
chooseTopicLabel: "Scegli un argomento per iniziare:",
|
|
56912
|
+
categoryTopicsHeading: "Per favore, poni la tua domanda su **{category}** qui sotto.",
|
|
56913
|
+
quickQuestionsHeadingLabel: "Oppure fai una domanda rapida:",
|
|
56776
56914
|
typeYourMessage: "Scrivi il tuo messaggio...",
|
|
56777
56915
|
agentIsLoading: "L'agente sta caricando...",
|
|
56778
56916
|
conversationResolved: "Conversazione conclusa",
|
|
@@ -56805,6 +56943,12 @@
|
|
|
56805
56943
|
allowMicAccess: "Consenti l'accesso al microfono"
|
|
56806
56944
|
},
|
|
56807
56945
|
ja: {
|
|
56946
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56947
|
+
// substituted verbatim at the call site and rendered through
|
|
56948
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56949
|
+
chooseTopicLabel: "始めるにはトピックを選択してください:",
|
|
56950
|
+
categoryTopicsHeading: "**{category}** に関するご質問を以下にお書きください。",
|
|
56951
|
+
quickQuestionsHeadingLabel: "または、簡単な質問をどうぞ:",
|
|
56808
56952
|
typeYourMessage: "メッセージを入力してください...",
|
|
56809
56953
|
agentIsLoading: "エージェントを読み込んでいます...",
|
|
56810
56954
|
conversationResolved: "会話が終了しました",
|
|
@@ -56837,6 +56981,12 @@
|
|
|
56837
56981
|
allowMicAccess: "マイクへのアクセスを許可"
|
|
56838
56982
|
},
|
|
56839
56983
|
ko: {
|
|
56984
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
56985
|
+
// substituted verbatim at the call site and rendered through
|
|
56986
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
56987
|
+
chooseTopicLabel: "시작하려면 주제를 선택하세요:",
|
|
56988
|
+
categoryTopicsHeading: "**{category}** 에 대한 질문을 아래에 작성해 주세요.",
|
|
56989
|
+
quickQuestionsHeadingLabel: "또는 간단한 질문을 해보세요:",
|
|
56840
56990
|
typeYourMessage: "메시지를 입력하세요...",
|
|
56841
56991
|
agentIsLoading: "상담원을 불러오는 중...",
|
|
56842
56992
|
conversationResolved: "대화가 종료되었습니다",
|
|
@@ -56869,6 +57019,12 @@
|
|
|
56869
57019
|
allowMicAccess: "마이크 액세스 허용"
|
|
56870
57020
|
},
|
|
56871
57021
|
lv: {
|
|
57022
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57023
|
+
// substituted verbatim at the call site and rendered through
|
|
57024
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57025
|
+
chooseTopicLabel: "Izvēlieties tēmu, lai sāktu:",
|
|
57026
|
+
categoryTopicsHeading: "Lūdzu, uzdodiet savu jautājumu par **{category}** zemāk.",
|
|
57027
|
+
quickQuestionsHeadingLabel: "Vai uzdodiet ātru jautājumu:",
|
|
56872
57028
|
typeYourMessage: "Ierakstiet savu ziņu...",
|
|
56873
57029
|
agentIsLoading: "Aģents tiek ielādēts...",
|
|
56874
57030
|
conversationResolved: "Saruna pabeigta",
|
|
@@ -56901,6 +57057,12 @@
|
|
|
56901
57057
|
allowMicAccess: "Atļaut piekļuvi mikrofonam"
|
|
56902
57058
|
},
|
|
56903
57059
|
lt: {
|
|
57060
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57061
|
+
// substituted verbatim at the call site and rendered through
|
|
57062
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57063
|
+
chooseTopicLabel: "Pasirinkite temą, kad pradėtumėte:",
|
|
57064
|
+
categoryTopicsHeading: "Prašome užduoti savo klausimą apie **{category}** žemiau.",
|
|
57065
|
+
quickQuestionsHeadingLabel: "Arba užduokite greitą klausimą:",
|
|
56904
57066
|
typeYourMessage: "Įveskite pranešimą...",
|
|
56905
57067
|
agentIsLoading: "Agentas kraunamas...",
|
|
56906
57068
|
conversationResolved: "Pokalbis baigtas",
|
|
@@ -56933,6 +57095,12 @@
|
|
|
56933
57095
|
allowMicAccess: "Leisti prieigą prie mikrofono"
|
|
56934
57096
|
},
|
|
56935
57097
|
mk: {
|
|
57098
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57099
|
+
// substituted verbatim at the call site and rendered through
|
|
57100
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57101
|
+
chooseTopicLabel: "Изберете тема за да започнете:",
|
|
57102
|
+
categoryTopicsHeading: "Ве молиме поставете го вашето прашање за **{category}** подолу.",
|
|
57103
|
+
quickQuestionsHeadingLabel: "Или поставете брзо прашање:",
|
|
56936
57104
|
typeYourMessage: "Напишете ја вашата порака...",
|
|
56937
57105
|
agentIsLoading: "Агентот се вчитува...",
|
|
56938
57106
|
conversationResolved: "Разговорот е завршен",
|
|
@@ -56965,6 +57133,12 @@
|
|
|
56965
57133
|
allowMicAccess: "Дозволи пристап до микрофонот"
|
|
56966
57134
|
},
|
|
56967
57135
|
ms: {
|
|
57136
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57137
|
+
// substituted verbatim at the call site and rendered through
|
|
57138
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57139
|
+
chooseTopicLabel: "Pilih topik untuk memulakan:",
|
|
57140
|
+
categoryTopicsHeading: "Sila ajukan soalan **{category}** anda di bawah.",
|
|
57141
|
+
quickQuestionsHeadingLabel: "Atau ajukan soalan ringkas:",
|
|
56968
57142
|
typeYourMessage: "Taip mesej anda...",
|
|
56969
57143
|
agentIsLoading: "Ejen sedang dimuatkan...",
|
|
56970
57144
|
conversationResolved: "Perbualan selesai",
|
|
@@ -56997,6 +57171,12 @@
|
|
|
56997
57171
|
allowMicAccess: "Benarkan akses mikrofon"
|
|
56998
57172
|
},
|
|
56999
57173
|
no: {
|
|
57174
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57175
|
+
// substituted verbatim at the call site and rendered through
|
|
57176
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57177
|
+
chooseTopicLabel: "Velg et emne for å komme i gang:",
|
|
57178
|
+
categoryTopicsHeading: "Vennligst still spørsmålet ditt om **{category}** nedenfor.",
|
|
57179
|
+
quickQuestionsHeadingLabel: "Eller still et raskt spørsmål:",
|
|
57000
57180
|
typeYourMessage: "Skriv meldingen din...",
|
|
57001
57181
|
agentIsLoading: "Agenten laster...",
|
|
57002
57182
|
conversationResolved: "Samtale avsluttet",
|
|
@@ -57029,6 +57209,12 @@
|
|
|
57029
57209
|
allowMicAccess: "Tillat mikrofontilgang"
|
|
57030
57210
|
},
|
|
57031
57211
|
fa: {
|
|
57212
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57213
|
+
// substituted verbatim at the call site and rendered through
|
|
57214
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57215
|
+
chooseTopicLabel: "برای شروع، یک موضوع را انتخاب کنید:",
|
|
57216
|
+
categoryTopicsHeading: "لطفاً سؤال خود درباره **{category}** را در زیر مطرح کنید.",
|
|
57217
|
+
quickQuestionsHeadingLabel: "یا یک سؤال سریع بپرسید:",
|
|
57032
57218
|
typeYourMessage: "پیام خود را تایپ کنید...",
|
|
57033
57219
|
agentIsLoading: "در حال بارگذاری نماینده...",
|
|
57034
57220
|
conversationResolved: "مکالمه به پایان رسید",
|
|
@@ -57061,6 +57247,12 @@
|
|
|
57061
57247
|
allowMicAccess: "اجازه دسترسی به میکروفون"
|
|
57062
57248
|
},
|
|
57063
57249
|
pl: {
|
|
57250
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57251
|
+
// substituted verbatim at the call site and rendered through
|
|
57252
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57253
|
+
chooseTopicLabel: "Wybierz temat, aby rozpocząć:",
|
|
57254
|
+
categoryTopicsHeading: "Proszę zadać pytanie dotyczące **{category}** poniżej.",
|
|
57255
|
+
quickQuestionsHeadingLabel: "Lub zadaj szybkie pytanie:",
|
|
57064
57256
|
typeYourMessage: "Wpisz wiadomość...",
|
|
57065
57257
|
agentIsLoading: "Agent się ładuje...",
|
|
57066
57258
|
conversationResolved: "Rozmowa zakończona",
|
|
@@ -57093,6 +57285,12 @@
|
|
|
57093
57285
|
allowMicAccess: "Zezwól na dostęp do mikrofonu"
|
|
57094
57286
|
},
|
|
57095
57287
|
pt: {
|
|
57288
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57289
|
+
// substituted verbatim at the call site and rendered through
|
|
57290
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57291
|
+
chooseTopicLabel: "Escolha um tópico para começar:",
|
|
57292
|
+
categoryTopicsHeading: "Por favor, faça sua pergunta sobre **{category}** abaixo.",
|
|
57293
|
+
quickQuestionsHeadingLabel: "Ou faça uma pergunta rápida:",
|
|
57096
57294
|
typeYourMessage: "Digite sua mensagem...",
|
|
57097
57295
|
agentIsLoading: "O agente está carregando...",
|
|
57098
57296
|
conversationResolved: "Conversa encerrada",
|
|
@@ -57125,6 +57323,12 @@
|
|
|
57125
57323
|
allowMicAccess: "Permitir acesso ao microfone"
|
|
57126
57324
|
},
|
|
57127
57325
|
ro: {
|
|
57326
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57327
|
+
// substituted verbatim at the call site and rendered through
|
|
57328
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57329
|
+
chooseTopicLabel: "Alegeți un subiect pentru a începe:",
|
|
57330
|
+
categoryTopicsHeading: "Vă rugăm să adresați întrebarea dvs. despre **{category}** mai jos.",
|
|
57331
|
+
quickQuestionsHeadingLabel: "Sau puneți o întrebare rapidă:",
|
|
57128
57332
|
typeYourMessage: "Scrieți mesajul dvs...",
|
|
57129
57333
|
agentIsLoading: "Agentul se încarcă...",
|
|
57130
57334
|
conversationResolved: "Conversație încheiată",
|
|
@@ -57157,6 +57361,12 @@
|
|
|
57157
57361
|
allowMicAccess: "Permiteți accesul la microfon"
|
|
57158
57362
|
},
|
|
57159
57363
|
ru: {
|
|
57364
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57365
|
+
// substituted verbatim at the call site and rendered through
|
|
57366
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57367
|
+
chooseTopicLabel: "Выберите тему, чтобы начать:",
|
|
57368
|
+
categoryTopicsHeading: "Пожалуйста, задайте свой вопрос о **{category}** ниже.",
|
|
57369
|
+
quickQuestionsHeadingLabel: "Или задайте быстрый вопрос:",
|
|
57160
57370
|
typeYourMessage: "Введите ваше сообщение...",
|
|
57161
57371
|
agentIsLoading: "Агент загружается...",
|
|
57162
57372
|
conversationResolved: "Разговор завершен",
|
|
@@ -57189,6 +57399,12 @@
|
|
|
57189
57399
|
allowMicAccess: "Разрешить доступ к микрофону"
|
|
57190
57400
|
},
|
|
57191
57401
|
sr: {
|
|
57402
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57403
|
+
// substituted verbatim at the call site and rendered through
|
|
57404
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57405
|
+
chooseTopicLabel: "Изаберите тему да бисте започели:",
|
|
57406
|
+
categoryTopicsHeading: "Молимо поставите своје питање о **{category}** испод.",
|
|
57407
|
+
quickQuestionsHeadingLabel: "Или поставите брзо питање:",
|
|
57192
57408
|
typeYourMessage: "Укуцајте вашу поруку...",
|
|
57193
57409
|
agentIsLoading: "Агент се учитава...",
|
|
57194
57410
|
conversationResolved: "Разговор је завршен",
|
|
@@ -57221,6 +57437,12 @@
|
|
|
57221
57437
|
allowMicAccess: "Дозволи приступ микрофону"
|
|
57222
57438
|
},
|
|
57223
57439
|
sk: {
|
|
57440
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57441
|
+
// substituted verbatim at the call site and rendered through
|
|
57442
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57443
|
+
chooseTopicLabel: "Vyberte tému, aby ste začali:",
|
|
57444
|
+
categoryTopicsHeading: "Prosím, položte svoju otázku o **{category}** nižšie.",
|
|
57445
|
+
quickQuestionsHeadingLabel: "Alebo položte rýchlu otázku:",
|
|
57224
57446
|
typeYourMessage: "Napíšte svoju správu...",
|
|
57225
57447
|
agentIsLoading: "Agent sa načítava...",
|
|
57226
57448
|
conversationResolved: "Konverzácia ukončená",
|
|
@@ -57253,6 +57475,12 @@
|
|
|
57253
57475
|
allowMicAccess: "Povoliť prístup k mikrofónu"
|
|
57254
57476
|
},
|
|
57255
57477
|
sl: {
|
|
57478
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57479
|
+
// substituted verbatim at the call site and rendered through
|
|
57480
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57481
|
+
chooseTopicLabel: "Izberite temo za začetek:",
|
|
57482
|
+
categoryTopicsHeading: "Prosimo, postavite vprašanje o **{category}** spodaj.",
|
|
57483
|
+
quickQuestionsHeadingLabel: "Ali postavite hitro vprašanje:",
|
|
57256
57484
|
typeYourMessage: "Vnesite svoje sporočilo...",
|
|
57257
57485
|
agentIsLoading: "Agent se nalaga...",
|
|
57258
57486
|
conversationResolved: "Pogovor je končan",
|
|
@@ -57285,6 +57513,12 @@
|
|
|
57285
57513
|
allowMicAccess: "Dovoli dostop do mikrofona"
|
|
57286
57514
|
},
|
|
57287
57515
|
sv: {
|
|
57516
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57517
|
+
// substituted verbatim at the call site and rendered through
|
|
57518
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57519
|
+
chooseTopicLabel: "Välj ett ämne för att komma igång:",
|
|
57520
|
+
categoryTopicsHeading: "Ställ gärna din **{category}**-fråga nedan.",
|
|
57521
|
+
quickQuestionsHeadingLabel: "Eller ställ en snabb fråga:",
|
|
57288
57522
|
typeYourMessage: "Skriv ditt meddelande...",
|
|
57289
57523
|
agentIsLoading: "Agenten laddas...",
|
|
57290
57524
|
conversationResolved: "Konversation avslutad",
|
|
@@ -57317,6 +57551,12 @@
|
|
|
57317
57551
|
allowMicAccess: "Tillåt mikrofonåtkomst"
|
|
57318
57552
|
},
|
|
57319
57553
|
th: {
|
|
57554
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57555
|
+
// substituted verbatim at the call site and rendered through
|
|
57556
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57557
|
+
chooseTopicLabel: "เลือกหัวข้อเพื่อเริ่มต้น:",
|
|
57558
|
+
categoryTopicsHeading: "โปรดถามคำถามเกี่ยวกับ **{category}** ด้านล่าง",
|
|
57559
|
+
quickQuestionsHeadingLabel: "หรือถามคำถามด่วน:",
|
|
57320
57560
|
typeYourMessage: "พิมพ์ข้อความของคุณ...",
|
|
57321
57561
|
agentIsLoading: "กำลังโหลดตัวแทน...",
|
|
57322
57562
|
conversationResolved: "การสนทนาสิ้นสุดลง",
|
|
@@ -57349,6 +57589,12 @@
|
|
|
57349
57589
|
allowMicAccess: "อนุญาตการเข้าถึงไมโครโฟน"
|
|
57350
57590
|
},
|
|
57351
57591
|
tr: {
|
|
57592
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57593
|
+
// substituted verbatim at the call site and rendered through
|
|
57594
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57595
|
+
chooseTopicLabel: "Başlamak için bir konu seçin:",
|
|
57596
|
+
categoryTopicsHeading: "Lütfen **{category}** sorunuzu aşağıya yazın.",
|
|
57597
|
+
quickQuestionsHeadingLabel: "Veya hızlı bir soru sorun:",
|
|
57352
57598
|
typeYourMessage: "Mesajınızı yazın...",
|
|
57353
57599
|
agentIsLoading: "Temsilci yükleniyor...",
|
|
57354
57600
|
conversationResolved: "Görüşme sonlandırıldı",
|
|
@@ -57381,6 +57627,12 @@
|
|
|
57381
57627
|
allowMicAccess: "Mikrofon erişimine izin ver"
|
|
57382
57628
|
},
|
|
57383
57629
|
uk: {
|
|
57630
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57631
|
+
// substituted verbatim at the call site and rendered through
|
|
57632
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57633
|
+
chooseTopicLabel: "Виберіть тему, щоб почати:",
|
|
57634
|
+
categoryTopicsHeading: "Будь ласка, поставте своє запитання щодо **{category}** нижче.",
|
|
57635
|
+
quickQuestionsHeadingLabel: "Або поставте швидке запитання:",
|
|
57384
57636
|
typeYourMessage: "Введіть ваше повідомлення...",
|
|
57385
57637
|
agentIsLoading: "Агент завантажується...",
|
|
57386
57638
|
conversationResolved: "Розмову завершено",
|
|
@@ -57413,6 +57665,12 @@
|
|
|
57413
57665
|
allowMicAccess: "Дозволити доступ до мікрофона"
|
|
57414
57666
|
},
|
|
57415
57667
|
ur: {
|
|
57668
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57669
|
+
// substituted verbatim at the call site and rendered through
|
|
57670
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57671
|
+
chooseTopicLabel: "شروع کرنے کے لیے ایک موضوع منتخب کریں:",
|
|
57672
|
+
categoryTopicsHeading: "براہ کرم اپنا **{category}** سوال نیچے پوچھیں۔",
|
|
57673
|
+
quickQuestionsHeadingLabel: "یا کوئی فوری سوال پوچھیں:",
|
|
57416
57674
|
typeYourMessage: "اپنا پیغام ٹائپ کریں...",
|
|
57417
57675
|
agentIsLoading: "ایجنٹ لوڈ ہو رہا ہے...",
|
|
57418
57676
|
conversationResolved: "گفتگو مکمل",
|
|
@@ -57445,6 +57703,12 @@
|
|
|
57445
57703
|
allowMicAccess: "مائیکروفون تک رسائی کی اجازت دیں"
|
|
57446
57704
|
},
|
|
57447
57705
|
vi: {
|
|
57706
|
+
// Topic-picker + quick-questions surface strings. {category} is
|
|
57707
|
+
// substituted verbatim at the call site and rendered through
|
|
57708
|
+
// ReactMarkdown — keep the **{category}** bold wrapper.
|
|
57709
|
+
chooseTopicLabel: "Chọn một chủ đề để bắt đầu:",
|
|
57710
|
+
categoryTopicsHeading: "Vui lòng đặt câu hỏi của bạn về **{category}** bên dưới.",
|
|
57711
|
+
quickQuestionsHeadingLabel: "Hoặc đặt một câu hỏi nhanh:",
|
|
57448
57712
|
typeYourMessage: "Nhập tin nhắn của bạn...",
|
|
57449
57713
|
agentIsLoading: "Đang tải trợ lý...",
|
|
57450
57714
|
conversationResolved: "Cuộc trò chuyện đã kết thúc",
|
|
@@ -60091,7 +60355,7 @@
|
|
|
60091
60355
|
|
|
60092
60356
|
// Map API response to widget props (use props as overrides if provided)
|
|
60093
60357
|
const widgetConfig = reactExports.useMemo(() => {
|
|
60094
|
-
var _agentConfig$config, _cfg$identity, _cfg$branding, _cfg$typography, _cfg$messages, _cfg$voice, _cfg$onboarding, _cfg$disclaimer, _cfg$csat, _cfg$inactivity, _cfg$behavior, _cfg$security, _cfg$layout, _ref2,
|
|
60358
|
+
var _agentConfig$config, _cfg$identity, _cfg$branding, _cfg$typography, _cfg$messages, _cfg$voice, _cfg$onboarding, _cfg$disclaimer, _cfg$csat, _cfg$inactivity, _cfg$behavior, _cfg$security, _cfg$layout, _ref2, _messages$bundles$loc, _messages$bundles, _messages$bundles$en, _messages$bundles2, _ref3, _ref4, _ref5, _ref6, _branding$chatbotAvat, _branding$chatbotAvat2, _ref7, _ref8, _ref9, _ref0, _ref1, _ref10, _ref11, _ref12, _ref13, _ref14, _ref15, _ref16, _ref17, _ref18, _inactivity$timeoutVa, _inactivity$timeoutUn, _ref19, _ref20, _ref21, _ref22, _ref23, _ref24, _ref25, _ref26, _csat$enabled, _csat$format, _csat$prompt, _csat$triggerType, _csat$idleTimeoutMins, _csat$followUpEnabled, _csat$followUpPrompt, _behavior$autoPromptE, _behavior$allowFeedba;
|
|
60095
60359
|
if (!agentConfig) {
|
|
60096
60360
|
return null;
|
|
60097
60361
|
}
|
|
@@ -60111,55 +60375,69 @@
|
|
|
60111
60375
|
const security = (_cfg$security = cfg.security) !== null && _cfg$security !== void 0 ? _cfg$security : {};
|
|
60112
60376
|
const layout = (_cfg$layout = cfg.layout) !== null && _cfg$layout !== void 0 ? _cfg$layout : {};
|
|
60113
60377
|
const locale = (_ref2 = defaultLanguage !== null && defaultLanguage !== void 0 ? defaultLanguage : messages.defaultLocale) !== null && _ref2 !== void 0 ? _ref2 : "en";
|
|
60114
|
-
|
|
60378
|
+
// Per-field English fallback for the localized bundle. We can't use
|
|
60379
|
+
// `bundles[locale] ?? bundles.en` because `??` only catches
|
|
60380
|
+
// null/undefined — and the Languages config UI doesn't currently
|
|
60381
|
+
// expose per-language welcome / quickQuestions text, so picking
|
|
60382
|
+
// Hindi (etc.) as default leaves `bundles.hi = { welcome: "",
|
|
60383
|
+
// quickQuestions: [] }`. The empty string would shadow English and
|
|
60384
|
+
// useChatState (`if (!welcomeMessage) return []`) silently skips
|
|
60385
|
+
// the greeting bubble. Treat empty string / empty array as
|
|
60386
|
+
// "missing" and fall back to the English bundle for that field.
|
|
60387
|
+
const localeBundle = (_messages$bundles$loc = (_messages$bundles = messages.bundles) === null || _messages$bundles === void 0 ? void 0 : _messages$bundles[locale]) !== null && _messages$bundles$loc !== void 0 ? _messages$bundles$loc : {};
|
|
60388
|
+
const enBundle = (_messages$bundles$en = (_messages$bundles2 = messages.bundles) === null || _messages$bundles2 === void 0 ? void 0 : _messages$bundles2["en"]) !== null && _messages$bundles$en !== void 0 ? _messages$bundles$en : {};
|
|
60389
|
+
const bundle = {
|
|
60390
|
+
welcome: localeBundle.welcome || enBundle.welcome,
|
|
60391
|
+
quickQuestions: Array.isArray(localeBundle.quickQuestions) && localeBundle.quickQuestions.length > 0 ? localeBundle.quickQuestions : enBundle.quickQuestions
|
|
60392
|
+
};
|
|
60115
60393
|
|
|
60116
60394
|
// Enum values from the DB are UPPER_SNAKE_CASE; widget uses lower-kebab-case
|
|
60117
60395
|
const toLauncherPos = val => val ? val.toLowerCase().replace(/_/g, "-") : "bottom-right";
|
|
60118
60396
|
const toDisclaimerPos = val => val ? val.toLowerCase() : "top";
|
|
60119
|
-
const finalAllowedDomains = (
|
|
60397
|
+
const finalAllowedDomains = (_ref3 = allowedDomains !== null && allowedDomains !== void 0 ? allowedDomains : security.allowedDomains) !== null && _ref3 !== void 0 ? _ref3 : [];
|
|
60120
60398
|
return {
|
|
60121
60399
|
darkMode: darkMode !== null && darkMode !== void 0 ? darkMode : false,
|
|
60122
|
-
primaryColor: (
|
|
60123
|
-
companyName: (
|
|
60400
|
+
primaryColor: (_ref4 = primaryColor !== null && primaryColor !== void 0 ? primaryColor : branding.brandColor) !== null && _ref4 !== void 0 ? _ref4 : "#2563eb",
|
|
60401
|
+
companyName: (_ref5 = companyName !== null && companyName !== void 0 ? companyName : identity.companyName) !== null && _ref5 !== void 0 ? _ref5 : "Support Team",
|
|
60124
60402
|
conciergeName: conciergeName !== null && conciergeName !== void 0 ? conciergeName : identity.conciergeName,
|
|
60125
|
-
companyLogo: (
|
|
60403
|
+
companyLogo: (_ref6 = companyLogo !== null && companyLogo !== void 0 ? companyLogo : branding.avatar) !== null && _ref6 !== void 0 ? _ref6 : null,
|
|
60126
60404
|
chatbotAvatarEnabled: (_branding$chatbotAvat = branding.chatbotAvatarEnabled) !== null && _branding$chatbotAvat !== void 0 ? _branding$chatbotAvat : false,
|
|
60127
60405
|
chatbotAvatar: (_branding$chatbotAvat2 = branding.chatbotAvatar) !== null && _branding$chatbotAvat2 !== void 0 ? _branding$chatbotAvat2 : null,
|
|
60128
|
-
welcomeMessage: (
|
|
60129
|
-
quickQuestions: (
|
|
60406
|
+
welcomeMessage: (_ref7 = welcomeMessage !== null && welcomeMessage !== void 0 ? welcomeMessage : bundle.welcome) !== null && _ref7 !== void 0 ? _ref7 : "Hi! How can we help?",
|
|
60407
|
+
quickQuestions: (_ref8 = quickQuestions !== null && quickQuestions !== void 0 ? quickQuestions : bundle.quickQuestions) !== null && _ref8 !== void 0 ? _ref8 : [],
|
|
60130
60408
|
quickQuestionsEnabled: quickQuestionsEnabled !== null && quickQuestionsEnabled !== void 0 ? quickQuestionsEnabled : messages.quickQuestionsEnabled,
|
|
60131
60409
|
textColor: textColor !== null && textColor !== void 0 ? textColor : "#000000",
|
|
60132
60410
|
agentMessageBubbleColor: agentMessageBubbleColor !== null && agentMessageBubbleColor !== void 0 ? agentMessageBubbleColor : typography.agentMessageBubbleColor,
|
|
60133
60411
|
userMessageBoxColor: userMessageBoxColor !== null && userMessageBoxColor !== void 0 ? userMessageBoxColor : typography.userMessageBoxColor,
|
|
60134
|
-
assistantTextColor: (
|
|
60135
|
-
userTextColor: (
|
|
60136
|
-
fontFamily: (
|
|
60137
|
-
fontSize: (
|
|
60412
|
+
assistantTextColor: (_ref9 = assistantTextColor !== null && assistantTextColor !== void 0 ? assistantTextColor : typography.assistantTextColor) !== null && _ref9 !== void 0 ? _ref9 : "#000000",
|
|
60413
|
+
userTextColor: (_ref0 = userTextColor !== null && userTextColor !== void 0 ? userTextColor : typography.userTextColor) !== null && _ref0 !== void 0 ? _ref0 : "#000000",
|
|
60414
|
+
fontFamily: (_ref1 = fontFamily !== null && fontFamily !== void 0 ? fontFamily : typography.agentMessageBubbleFontFamily) !== null && _ref1 !== void 0 ? _ref1 : "Inter",
|
|
60415
|
+
fontSize: (_ref10 = fontSize !== null && fontSize !== void 0 ? fontSize : typography.agentMessageBubbleFontSize) !== null && _ref10 !== void 0 ? _ref10 : "14px",
|
|
60138
60416
|
defaultLanguage: locale,
|
|
60139
60417
|
organizationId: orgId,
|
|
60140
|
-
headerTextBold: (
|
|
60141
|
-
headerTextItalic: (
|
|
60418
|
+
headerTextBold: (_ref11 = headerTextBold !== null && headerTextBold !== void 0 ? headerTextBold : typography.headerTextBold) !== null && _ref11 !== void 0 ? _ref11 : false,
|
|
60419
|
+
headerTextItalic: (_ref12 = headerTextItalic !== null && headerTextItalic !== void 0 ? headerTextItalic : typography.headerTextItalic) !== null && _ref12 !== void 0 ? _ref12 : false,
|
|
60142
60420
|
headerTextColor: typography.headerTextColor,
|
|
60143
60421
|
headerFontFamily: typography.headerFontFamily,
|
|
60144
60422
|
headerFontSize: typography.headerFontSize,
|
|
60145
|
-
enableVoiceInteraction: (
|
|
60146
|
-
disclaimerEnabled: (
|
|
60423
|
+
enableVoiceInteraction: (_ref13 = enableVoiceInteraction !== null && enableVoiceInteraction !== void 0 ? enableVoiceInteraction : voice.enableVoiceInteraction) !== null && _ref13 !== void 0 ? _ref13 : false,
|
|
60424
|
+
disclaimerEnabled: (_ref14 = disclaimerEnabled !== null && disclaimerEnabled !== void 0 ? disclaimerEnabled : disclaimer.enabled) !== null && _ref14 !== void 0 ? _ref14 : false,
|
|
60147
60425
|
disclaimerText: disclaimerText !== null && disclaimerText !== void 0 ? disclaimerText : disclaimer.text,
|
|
60148
60426
|
disclaimerPosition: disclaimerPosition !== null && disclaimerPosition !== void 0 ? disclaimerPosition : toDisclaimerPos(disclaimer.position),
|
|
60149
60427
|
disclaimerLinkUrl: normalizeExternalUrl(disclaimerLinkUrl !== null && disclaimerLinkUrl !== void 0 ? disclaimerLinkUrl : disclaimer.linkUrl),
|
|
60150
60428
|
disclaimerLinkLabel: disclaimerLinkLabel !== null && disclaimerLinkLabel !== void 0 ? disclaimerLinkLabel : disclaimer.linkLabel,
|
|
60151
|
-
showPoweredBy: (
|
|
60152
|
-
onboardingQuestions: (
|
|
60153
|
-
collectionPrompt: (
|
|
60429
|
+
showPoweredBy: (_ref15 = showPoweredBy !== null && showPoweredBy !== void 0 ? showPoweredBy : branding.showPoweredBy) !== null && _ref15 !== void 0 ? _ref15 : true,
|
|
60430
|
+
onboardingQuestions: (_ref16 = onboardingQuestions !== null && onboardingQuestions !== void 0 ? onboardingQuestions : onboarding.questions) !== null && _ref16 !== void 0 ? _ref16 : [],
|
|
60431
|
+
collectionPrompt: (_ref17 = collectionPrompt !== null && collectionPrompt !== void 0 ? collectionPrompt : onboarding.collapsiblePrompt) !== null && _ref17 !== void 0 ? _ref17 : "Before we begin, I need to verify your details.",
|
|
60154
60432
|
allowedDomains: finalAllowedDomains,
|
|
60155
60433
|
launcherPosition: position !== null && position !== void 0 ? position : toLauncherPos(layout.launcherPosition),
|
|
60156
|
-
onboardingEnabled: (
|
|
60434
|
+
onboardingEnabled: (_ref18 = onboardingEnabled !== null && onboardingEnabled !== void 0 ? onboardingEnabled : onboarding.enabled) !== null && _ref18 !== void 0 ? _ref18 : false,
|
|
60157
60435
|
inactivityTimeoutValue: (_inactivity$timeoutVa = inactivity.timeoutValue) !== null && _inactivity$timeoutVa !== void 0 ? _inactivity$timeoutVa : null,
|
|
60158
60436
|
inactivityTimeoutUnit: (_inactivity$timeoutUn = inactivity.timeoutUnit) !== null && _inactivity$timeoutUn !== void 0 ? _inactivity$timeoutUn : null,
|
|
60159
|
-
agentMessageBubbleFontFamily: (
|
|
60160
|
-
agentMessageBubbleFontSize: (
|
|
60161
|
-
userMessageBubbleFontFamily: (
|
|
60162
|
-
userMessageBubbleFontSize: (
|
|
60437
|
+
agentMessageBubbleFontFamily: (_ref19 = (_ref20 = agentMessageBubbleFontFamily !== null && agentMessageBubbleFontFamily !== void 0 ? agentMessageBubbleFontFamily : typography.agentMessageBubbleFontFamily) !== null && _ref20 !== void 0 ? _ref20 : fontFamily) !== null && _ref19 !== void 0 ? _ref19 : "Inter",
|
|
60438
|
+
agentMessageBubbleFontSize: (_ref21 = (_ref22 = agentMessageBubbleFontSize !== null && agentMessageBubbleFontSize !== void 0 ? agentMessageBubbleFontSize : typography.agentMessageBubbleFontSize) !== null && _ref22 !== void 0 ? _ref22 : fontSize) !== null && _ref21 !== void 0 ? _ref21 : "14px",
|
|
60439
|
+
userMessageBubbleFontFamily: (_ref23 = (_ref24 = userMessageBubbleFontFamily !== null && userMessageBubbleFontFamily !== void 0 ? userMessageBubbleFontFamily : typography.userMessageBubbleFontFamily) !== null && _ref24 !== void 0 ? _ref24 : fontFamily) !== null && _ref23 !== void 0 ? _ref23 : "Inter",
|
|
60440
|
+
userMessageBubbleFontSize: (_ref25 = (_ref26 = userMessageBubbleFontSize !== null && userMessageBubbleFontSize !== void 0 ? userMessageBubbleFontSize : typography.userMessageBubbleFontSize) !== null && _ref26 !== void 0 ? _ref26 : fontSize) !== null && _ref25 !== void 0 ? _ref25 : "14px",
|
|
60163
60441
|
csatEnabled: (_csat$enabled = csat.enabled) !== null && _csat$enabled !== void 0 ? _csat$enabled : false,
|
|
60164
60442
|
csatFormat: (_csat$format = csat.format) !== null && _csat$format !== void 0 ? _csat$format : "EMOJI",
|
|
60165
60443
|
csatPrompt: (_csat$prompt = csat.prompt) !== null && _csat$prompt !== void 0 ? _csat$prompt : "How was your experience?",
|