@wexio/messenger-widget-react 1.6.0 → 1.7.0

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 (89) hide show
  1. package/CHANGELOG.md +15 -0
  2. package/README.md +1 -0
  3. package/dist/widget-react-1cGzeWPR2.js +2 -0
  4. package/dist/widget-react-29V_I6IW.js +2 -0
  5. package/dist/{widget-react-D2sqPDts.js → widget-react-5vmcmqij.js} +2 -2
  6. package/dist/{widget-react-Dl2PevZk.js → widget-react-8gKsfB0D.js} +2 -2
  7. package/dist/widget-react-A8LQA2iO.js +2 -0
  8. package/dist/widget-react-B0TTXiFz2.js +2 -0
  9. package/dist/widget-react-B17zynhG.js +2 -0
  10. package/dist/widget-react-BEJDHxER.js +2 -0
  11. package/dist/widget-react-BHFiADhs.js +2 -0
  12. package/dist/widget-react-BJNO-1kR.js +2 -0
  13. package/dist/{widget-react-DmRVdLdI.js → widget-react-BK8heNFR.js} +2 -2
  14. package/dist/widget-react-BdJ4kka6.js +2 -0
  15. package/dist/widget-react-BxX7eyiS.js +2 -0
  16. package/dist/widget-react-CAmx0zaE.js +2 -0
  17. package/dist/widget-react-CMcBAjse.js +2 -0
  18. package/dist/widget-react-CYRWxdIE.js +2 -0
  19. package/dist/widget-react-CedC7Paj2.js +2 -0
  20. package/dist/{widget-react-DUnaBOfT.js → widget-react-ChDwJoyJ.js} +4 -4
  21. package/dist/widget-react-CmosXiPf2.js +2 -0
  22. package/dist/widget-react-Cqzxiehe.js +292 -0
  23. package/dist/widget-react-Ct0RWRGP.js +2 -0
  24. package/dist/widget-react-Cu2I_GKL.js +2 -0
  25. package/dist/{widget-react-DhLRmjli.js → widget-react-DFQYM8pj.js} +2 -2
  26. package/dist/widget-react-DHL5gFDE.js +2 -0
  27. package/dist/{widget-react-FX5W7RyV.js → widget-react-DIvxQOfe.js} +2 -2
  28. package/dist/widget-react-DLx-oztU.js +2 -0
  29. package/dist/{widget-react-C40Ha_9C.js → widget-react-DR2EqmbG.js} +2 -2
  30. package/dist/widget-react-DVyJWuD6.js +2 -0
  31. package/dist/widget-react-Dba8Uwhz.js +2 -0
  32. package/dist/widget-react-Ddw-s-1u.js +2 -0
  33. package/dist/{widget-react-DFbFMJOG.js → widget-react-DfOTGxwf.js} +8 -8
  34. package/dist/widget-react-DmuLxVTc2.js +2 -0
  35. package/dist/widget-react-DnpA9Zvz2.js +2 -0
  36. package/dist/widget-react-Dny58hnS.js +2 -0
  37. package/dist/widget-react-Drs2W-ML.js +2 -0
  38. package/dist/widget-react-Dw77zQTD2.js +2 -0
  39. package/dist/{widget-react-9oF1qdlF.js → widget-react-DxOdTnrZ.js} +11 -11
  40. package/dist/widget-react-DytSyqCk.js +2 -0
  41. package/dist/widget-react-S09zQLXL.js +2 -0
  42. package/dist/{widget-react-C-hnCqBf.js → widget-react-_QsYqFeh.js} +2 -2
  43. package/dist/widget-react-dKenmb24.js +2 -0
  44. package/dist/widget-react-iYAij4tA.js +2 -0
  45. package/dist/widget-react-nW6RH2sM.js +2 -0
  46. package/dist/widget-react-oNO0DkmJ2.js +2 -0
  47. package/dist/widget-react-q5cdnSIK.js +2 -0
  48. package/dist/widget-react-r5X-d4oF.js +2 -0
  49. package/dist/widget-react-uta-tft5.js +2 -0
  50. package/dist/widget-react.d.ts +14 -0
  51. package/dist/widget-react.js +30 -30
  52. package/package.json +1 -1
  53. package/dist/widget-react-1FPhjaT7.js +0 -2
  54. package/dist/widget-react-B-zdiXnI.js +0 -2
  55. package/dist/widget-react-B3jj01Xc.js +0 -2
  56. package/dist/widget-react-B6W6yHa9.js +0 -2
  57. package/dist/widget-react-BGg29YDq.js +0 -2
  58. package/dist/widget-react-BNsA7Hq8.js +0 -2
  59. package/dist/widget-react-BP_S1jOe2.js +0 -2
  60. package/dist/widget-react-BjVldSFi2.js +0 -2
  61. package/dist/widget-react-BpfEg8PP.js +0 -2
  62. package/dist/widget-react-BqKcbGFN.js +0 -2
  63. package/dist/widget-react-BtVbDkom.js +0 -2
  64. package/dist/widget-react-BxYFNB-9.js +0 -2
  65. package/dist/widget-react-C9D7iqrt.js +0 -2
  66. package/dist/widget-react-CJkUvFuJ2.js +0 -2
  67. package/dist/widget-react-CM6RqtRI2.js +0 -2
  68. package/dist/widget-react-COGNC9PO.js +0 -2
  69. package/dist/widget-react-CPEQKK8u.js +0 -2
  70. package/dist/widget-react-CZHkN2nG.js +0 -2
  71. package/dist/widget-react-CkDSkBH9.js +0 -285
  72. package/dist/widget-react-CuJV_7PK.js +0 -2
  73. package/dist/widget-react-D5s6TWhn.js +0 -2
  74. package/dist/widget-react-DFBIOPUo.js +0 -2
  75. package/dist/widget-react-DSyQ4JjS.js +0 -2
  76. package/dist/widget-react-DW-XOzIR.js +0 -2
  77. package/dist/widget-react-DXnKk30y2.js +0 -2
  78. package/dist/widget-react-DfgfDdBf2.js +0 -2
  79. package/dist/widget-react-DjlwkwTM2.js +0 -2
  80. package/dist/widget-react-DzgDJMDl.js +0 -2
  81. package/dist/widget-react-GikUZ6_D.js +0 -2
  82. package/dist/widget-react-M6ZbU9Uk.js +0 -2
  83. package/dist/widget-react-SG4_gli5.js +0 -2
  84. package/dist/widget-react-W_6RewLw2.js +0 -2
  85. package/dist/widget-react-llsiMoHr.js +0 -2
  86. package/dist/widget-react-uIbfBWRJ.js +0 -2
  87. package/dist/widget-react-wMl4Kthk.js +0 -2
  88. package/dist/widget-react-yKWc1q98.js +0 -2
  89. package/dist/widget-react-zZslBPCS.js +0 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,20 @@
1
1
  # @wexio/messenger-widget-react
2
2
 
3
+ ## 1.7.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 386ab4f: Launcher message and message threads. A MESSAGE slot is now the unread bubble over the closed launcher: the slot with the most specific matching variant (page, then origin, then visitor kind, then the operator's order) shows while it is unread, re-picks on SPA navigation without jumping, and goes away for good once the visitor clicks it, opens the panel over it or dismisses it with X / Esc (until the operator edits it, or `reappearAfterDays` after a dismiss). Each slot has its own thread (`message:<slotId>`), created by the first message and titled with the slot text in the thread list; with Messages as the default tab the launcher (and the Messages tab) opens the thread of the slot that matches the current page, else the last active thread, else a new chat; any other default tab opens as before. Contract 074 stage 2: several variants and `paths` per slot, `reappearAfterDays` on MESSAGE slots. A config without a MESSAGE slot behaves as before.
8
+ - 386ab4f: Targeted content for welcome messages, and Home blocks (BE contract v1). Each slot can carry several variants with an audience rule (`visitors`, `origins`, `paths`); the first match wins, the BE renders the variables and the widget never sees `{{`. Session-dependent content comes from `GET /api/web/config/:pk/session` after every handshake, restore, pre-chat submit, profile save and re-auth; a 404, 401, 5xx, network error or 3 s timeout keeps the public projection, and the welcome waits behind the typing dots so it never flashes. Welcome buttons are plain quick replies that send their label. New public React prop `onMessageAction`, the matching `wexio:message-action` event (web component and script tag), and `wexio:host-viewport:v1` from the loader. Config without `contentVersion` renders exactly as before. Private-only: the `audienceOverride` prop.
9
+
10
+ ### Patch Changes
11
+
12
+ - 386ab4f: Fix: guard errors from the BE are recognised by their stable `WEB_*` codes (REST `code`, GraphQL `extensions.code` and `extensions.http.status`) instead of message text, so a translated message can no longer break the "widget off" and wrong-integration recovery. The client-generated welcome no longer counts as an unread message on the launcher badge (only a real operator or flow message does). The script-tag embed now reliably gets the host viewport ("Expand" stays hidden on a phone-wide host), the loader clamps the details it relays for `wexio:message-action`, and a few small robustness fixes (preview-token cache eviction, linear path matching). Dark theme `--wx-fg-subtle` is now #94949e (>= 4.5:1 on every dark surface). Quick-reply chips (welcome, unread peek, operator / flow messages) get a 44px invisible touch target without changing their look, clamp long labels to two lines (the full label stays the accessible name) and sit in a labelled "Quick replies" group. In the launcher peek the chip stack and chip text follow the launcher side in RTL too; the touch hit area applies to touch devices only. A host-page `pushState` / `replaceState` no longer notifies the widget synchronously (fixes "useInsertionEffect must not schedule updates" in Next hosts).
13
+ - 386ab4f: Fix: a host `offset` (React prop, `offset-x` / `offset-y`, `wexioSettings.offset`) now wins PER AXIS over the integration's `theme.launcherOffset` in the React and web-component embeds too (a host that sets only `x` keeps the configured `y`), as the loader already did. `defaultOpen` / `open` go through the same auth guard as a launcher tap and a host open that meets a failed handshake shows the retry popup. The script-tag "Expand" control is hidden on a phone-wide host (the loader reports `width` in `wexio:host-viewport:v1`). Light theme `--wx-fg-muted`, `--wx-fg-subtle` and `--wx-danger` now reach WCAG AA 4.5:1.
14
+ - 386ab4f: BE preview token (dashboard playground, BE 062). Private `previewToken` prop and `onPreviewTokenExpired(reason)` callback on the React embed; the `preview-token` attribute and `wexio:preview-token-request` event on `<wexio-widget>`; `wexioSettings.previewToken`, `Wexio("previewToken", token)` and `wexio:preview-token:v1` / `wexio:preview-token:request` on the iframe loader (the frame URL gets only the flag `pv=1`). The token is sent as `x-web-preview-token` on the config, handshake, GraphQL and session calls, never on SSE and never in a URL. It forces isolated in-memory storage, ignores `user`, and the sign-in gate shows demo mocks. A rejected token pauses the outbox and asks the host for a new one once per token value; a new token re-handshakes on the previous visitor id. Not part of the public packages. The public bundles carry the same runtime (the loader, the attribute) but expose no public type or documented option for it.
15
+
16
+ ## 1.6.1
17
+
3
18
  ## 1.6.0
4
19
 
5
20
  ### Minor Changes
package/README.md CHANGED
@@ -103,6 +103,7 @@ Pass a verified `user` to log a known visitor in (a known-user login / boot). Pr
103
103
  | `onResize` | `(size: { width: number; height: number }) => void` | Fired whenever the widget's intended dimensions change (open ↔ closed ↔ expanded). Use for host-side layout sync. |
104
104
  | `onOpen` | `() => void` | Fired when the visitor opens the panel (taps the launcher, peek bubble, etc.). |
105
105
  | `onClose` | `() => void` | Fires on every open to closed transition (header X, launcher, Escape). |
106
+ | `onMessageAction` | `(event: MessageActionEvent) => void` | Fired when a visitor clicks a quick-reply button on a welcome message (the label is also sent as a visitor message). Payload: `{ slotId, variantId, buttonId, actionType: "QUICK_REPLY", source: "WELCOME" }`. |
106
107
  | `className` | `string` | Pass-through class on the outer host `<div>`. Style this with normal layout CSS. |
107
108
  | `style` | `React.CSSProperties` | Pass-through inline styles for the outer host `<div>`. |
108
109
 
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Home`,messages:`Messages`,help:`Help`,news:`News`,profile:`Profile`},header:{close:`Close`,back:`Back`,conversationSubtitle:`Our team can also help`,helpTitle:`Help`,newsTitle:`News`,expand:`Expand widget`,collapse:`Collapse widget`,messagesTitle:`Messages`,downloadTranscript:`Download transcript`,moreActions:`More`},launcher:{open:`Open chat`,close:`Close chat`,panel:`Chat`},tabError:{title:`Something went wrong`,hint:`This section couldn't be shown.`,retry:`Try again`},chunkError:{failed:`Couldn't load`,retry:`Retry`},home:{greetingHeadline:`Hi there 👋`,greetingSubheadline:`How can we help?`,askTitle:`Ask a question`,askSubtitle:`Our bot and team can help`,recentMessageLabel:`Recent message`,recentMessageTitle:`Recent message`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4h`,recentMessageSample:`Hi there 👋 Thanks for reaching out - we'll be right back with you.`,featuredArticleLoading:`Featured article`,featuredArticleTap:`Tap to read`,featuredArticleEmpty:`Pick an article`,featuredArticleSetUp:`Configure this block in your dashboard`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`October 8, 2026`,featuredArticleDemoSubline:`San Francisco · In-person + virtual`,featuredArticleDemoCta:`See the launch agenda`,seeAgenda:`See the launch agenda`,browseHelp:`Browse Help`,whatsNew:`What's new`,searchPlaceholder:`Search for help`,pinnedArticlesTitle:`Read these first`,popularArticlesTitle:`Popular articles`,pinnedArticleRow:`Pinned article {n}`,newsPreviewTitle:`Latest news`,seeAll:`See all`,newsPreviewRow:`News update {n}`,myConversationsTitle:`Your conversations`,myConversationsEmpty:`View your conversations`,teamStatusOnline:`We're online`,teamStatusReplyInstant:`Usually replies instantly`,teamStatusReplyMinutes:`Usually replies in a few minutes`,teamStatusReplyHours:`Usually replies within a few hours`,teamStatusReplyDay:`Usually replies within a day`,teamStatusAiOnline:`{name} can help right now`,teamStatusOperatorsBack:`Operators back {when}`,teamStatusOfflineUntil:`We're away, back {when}`,teamStatusOfflineSoon:`We're away, back soon`,recentMessageAttachment:`Attachment`},messages:{today:`Today`,yesterday:`Yesterday`,unreadMessages:`Unread messages`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`No messages yet`,emptyBody:`Start a conversation and our team will get back to you here.`,sendCta:`Send us a message`,attach:`Attach a file`,commands:`Quick commands`,record:`Record a voice message`,stopRecording:`Stop recording`,recording:`Recording…`,uploading:`Uploading…`,uploadFailed:`Upload failed`,voiceDenied:`Microphone access denied`,voiceUnsupported:`Voice recording isn't supported in this browser`,fileTooLarge:`File is too large (max 10MB)`,fileMimeNotAllowed:`This file type isn't supported`,emoji:`Insert emoji`,cancelRecording:`Cancel recording`,pauseRecording:`Pause recording`,resumeRecording:`Resume recording`,playPreview:`Play recording`,emojiPicker:`Emoji picker`,emojiCategories:{suggested:`Recently used`,smileysPeople:`Smileys & People`,animalsNature:`Animals & Nature`,foodDrink:`Food & Drink`,travelPlaces:`Travel & Places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`},emojiSearch:`Search…`,playAudio:`Play`,pauseAudio:`Pause`,openAudio:`Open audio`,removeAttachment:`Remove`,aiAssistant:`AI assistant`,operator:`Operator`,openImage:`Open image`,openPreview:`Open preview`,play:`Play`,pause:`Pause`,typing:`typing…`,aiThinking:`thinking…`,aiSearching:`browsing…`,typingSomeone:`Someone`,signInToChat:`Please sign in to start the conversation.`,signInUnavailable:`Sign-in is not available right now.`,googleSignIn:`Sign in with Google`,googleUnavailable:`Google sign-in isn't available. Check your connection or ad blocker and try again.`,passkeySignIn:`Sign in with a passkey`,passkeyRegister:`First time? Set up a passkey`,passkeyError:`Couldn't sign in. Please try again.`,passkeyNoCredential:`No passkey on this device yet. Tap “Set up a passkey” to create one.`,googleSignInDemo:`Continue with Google`,connectingOperator:`An operator has been assigned, please wait…`,assignment:{eta:{minutes:`An operator will reply in about {minutes} min`,soft:`We usually reply within a few minutes`,businessHours:`The team will be back at {time}`}},withOperator:`You're now chatting with {name}`,operatorConnected:`Operator connected`,chatResolved:`Conversation resolved`,chatResolvedByYou:`Conversation resolved by you`,chatResolvedByOperator:`Conversation resolved by {name}`,resolveConversation:`Resolve conversation`,sources:`Sources`,moreSources:`+{count} more`,askQuestion:`Ask a question`,previewYou:`You: {text}`,threadsEmptyTitle:`No conversations yet`,threadsEmptyBody:`Start a conversation and it will show up here.`,format:{bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,bulletList:`Bulleted list`,numberedList:`Numbered list`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Save`,linkCancel:`Cancel`,monospace:`Monospace`},queued:`Waiting for connection`,notDelivered:`Not delivered`,retry:`Retry`,offlineBanner:`You're offline`,backOnline:`Back online`,threadsErrorTitle:`Could not load your conversations`,threadsErrorBody:`Check your connection and try again.`,giphy:{title:`GIFs & Stickers`,searchPlaceholder:`Search GIPHY`,clear:`Clear`,tabGifs:`GIFs`,tabStickers:`Stickers`,error:`Couldn't load`,retry:`Retry`,empty:`No results`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Scroll to latest`,conversationClosed:`This conversation is closed`,startNewConversation:`Start a new conversation`,conversationBlocked:`This conversation is blocked`,visitorBlocked:`You can no longer send messages`,conversationClosedTitle:`That's a wrap 👋`,conversationClosedHint:`This conversation is closed. Start a new one whenever you like.`,fileFallback:`File`},prechat:{title:`Before we start`,subtitle:`A few quick details so our team can help you faster.`,labelName:`Name`,labelEmail:`Email`,labelPhone:`Phone`,labelCustom:`Details`,required:`Required`,invalidEmail:`Please enter a valid email`,invalidPhone:`Please enter a valid phone number`,submit:`Continue`,submitFailed:`Couldn't submit - please try again.`},help:{searchPlaceholder:`Search for help`,emptyTitle:`No articles yet`,emptyBody:`Nothing here yet.`,back:`Back`,helpful:`Was this helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,unresolvedCta:`Still need help? Message us`,noResults:`No results`,articleNotFound:`Article not found`,articleNotTranslated:`This article isn't available in your language yet.`,writtenBy:`Written by {names}`,relatedTitle:`Related articles`,collectionsCount:`{count, plural, =0 {No collections} one {# collection} other {# collections}}`,articlesCount:`{count, plural, =0 {No articles} one {Articles: #} other {Articles: #}}`,authorsByline:`Authors {first}{remaining, plural, =0 {} one { and # more} other { and # more}}`},news:{emptyTitle:`No updates yet`,emptyBody:`Check back here for product news and announcements.`,helpful:`Was this article helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,searchPlaceholder:`Search news`,noResults:`No matching posts`,editedAt:`edited {when}`,articleNotFound:`Article not found.`,articleNotTranslated:`This post isn't available in your language yet.`,readOriginal:`Read the original`,relatedTitle:`Related`,writtenBy:`Written by {names}`,unread:`Unread news`},reactions:{ariaLabel:`Reactions`,tapAria:`React with {emoji}`},languageSelector:{title:`Read in another language`,ariaLabel:`Article languages`},branding:{poweredBy:`Powered by`,wexio:`Wexio`},sound:{mute:`Mute notification sounds`,unmute:`Unmute notification sounds`},article:{tableOfContents:`Table of contents`,tabFallback:`Tab {n}`},peek:{newMessage:`New message`,dismiss:`Dismiss`,aiAssistant:`AI assistant`,operator:`Operator`,quickReplies:`Quick replies`},lightbox:{mediaPreview:`Media preview`,close:`Close preview`,previous:`Previous`,next:`Next`},authError:{turnstileTitle:`Couldn't verify your browser`,turnstileBody:`We weren't able to complete the security check. This is sometimes a network or ad-blocker issue. Try again, or reload the page.`,genericTitle:`Couldn't connect`,genericBody:`Something went wrong while signing you in. Please try again in a moment.`,retry:`Try again`,dismiss:`Dismiss`},profile:{title:`Your profile`,subtitle:`Update your info and how the widget behaves.`,uploadAvatar:`Change photo`,removeAvatar:`Remove photo`,avatarUploading:`Uploading…`,preferencesHeading:`Preferences`,preferenceLanguage:`Language`,preferenceDesktopNotifications:`Desktop notifications`,preferenceDesktopNotificationsHint:`Get a system notification when the widget isn't focused.`,preferenceThemeMode:`Theme`,themeAuto:`Match system`,themeLight:`Light`,themeDark:`Dark`,themeLocked:`Theme can't be changed.`,pinnedHint:`Not editable.`,requiredHint:`Required`,invalidEmail:`Please enter a valid email address.`,invalidPhone:`Use international format, e.g. +14155552671.`,noFields:`There's nothing to edit here yet.`,save:`Save changes`,saving:`Saving…`,cancel:`Discard`,saved:`Changes saved.`,loading:`Loading profile…`,loadError:`Couldn't load your profile. Please try again.`,retry:`Retry`,errorFieldNotAllowed:`This field isn't editable in this widget. Try refreshing.`,errorFieldPinned:`This field is locked by your account.`,errorFieldInvalid:`Some values aren't valid. Check the highlighted fields.`,errorThemeLocked:`Theme can't be changed.`,errorFeatureDisabled:`Profile editing isn't available.`,errorGeneric:`Couldn't save your changes. Please try again.`,notificationsBlocked:`Notifications are blocked by the browser. Update site permissions to enable.`,notificationsRequest:`Allow notifications when prompted to enable this.`,systemFields:{avatar:`Photo`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp opt-in`,webVerified:`Verified visitor`,firstName:`First name`,lastName:`Last name`,username:`Username`,language:`Language`,email:`Email`,phone:`Phone`,company:`Company`,location:`Location`,isValid:`Account valid`,chatStatus:`Chat status`,chatCategory:`Chat category`,priority:`Priority`,leadSource:`Lead source`,leadStatus:`Lead status`,interestLevel:`Interest level`,productInterest:`Product interest`,budgetRange:`Budget`,purchaseTimeline:`Purchase timeline`,lastMessageSentAt:`Last message sent`,lastMessageReceivedAt:`Last message received`,lastSeenAt:`Last seen`,firstMessageReceivedAt:`First contact`,isBlocked:`Blocked`,registrationDate:`Registered`,aiAvailable:`AI assistance`,totalMessagesSent:`Messages sent`,totalMessagesReceived:`Messages received`,totalAiMessagesSent:`AI messages sent`,totalBotMessagesSent:`Bot messages sent`,totalUserMessagesSent:`Operator messages sent`,flowCompletionRate:`Flow completion rate`,lastFlowCompleted:`Last completed flow`,totalFlowsStarted:`Flows started`,totalFlowsCompleted:`Flows completed`},systemFieldOptions:{chatStatus:{ISSUE:`Issue`,RESOLVED:`Resolved`,PENDING:`Pending`,IN_PROGRESS:`In progress`,CLOSED:`Closed`},chatCategory:{SALES:`Sales`,SUPPORT:`Support`,BILLING:`Billing`,FEEDBACK:`Feedback`,GENERAL:`General`,OTHER:`Other`},priority:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,URGENT:`Urgent`},leadStatus:{NEW:`New`,CONTACTED:`Contacted`,QUALIFIED:`Qualified`,NEGOTIATING:`Negotiating`,WON:`Won`,LOST:`Lost`},interestLevel:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,VERY_HIGH:`Very high`}},selectOption:`Select an option`,noOptions:`No options configured.`},transcript:{title:`Conversation with {org}`,started:`Started on {when}`,exported:`Exported from {org} on {when}`,truncated:`Note: only the most recent messages are included.`,operator:`Operator`,you:`You`},notification:{newMessage:`New message`,image:`Image`,video:`Video`,voiceMessage:`Voice message`,attachment:`Attachment`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-1cGzeWPR2.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Ana sayfa`,messages:`Mesajlar`,help:`Yardım`,news:`Haberler`,profile:`Profil`},header:{close:`Kapat`,back:`Geri`,conversationSubtitle:`Ekibimiz de yardımcı olabilir`,helpTitle:`Yardım`,newsTitle:`Haberler`,expand:`Widget'ı genişlet`,collapse:`Widget'ı küçült`,messagesTitle:`Mesajlar`,downloadTranscript:`Görüşmeyi indir`,moreActions:`Daha fazla`},launcher:{open:`Sohbeti aç`,close:`Sohbeti kapat`,panel:`Sohbet`},tabError:{title:`Bir şeyler ters gitti`,hint:`Bu bölüm gösterilemedi.`,retry:`Tekrar dene`},chunkError:{failed:`Yüklenemedi`,retry:`Tekrar dene`},home:{greetingHeadline:`Merhaba 👋`,greetingSubheadline:`Nasıl yardımcı olabiliriz?`,askTitle:`Soru sor`,askSubtitle:`Botumuz ve ekibimiz yardımcı olabilir`,recentMessageLabel:`Son mesaj`,recentMessageTitle:`Son mesaj`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 sa`,recentMessageSample:`Merhaba 👋 Bize ulaştığın için teşekkürler. Kısa süre içinde döneceğiz.`,featuredArticleLoading:`Öne çıkan makale`,featuredArticleTap:`Okumak için dokun`,featuredArticleEmpty:`Bir makale seç`,featuredArticleSetUp:`Bu bloğu panelinde yapılandır`,featuredArticleDemoEyebrow:`Pioneer · Tarihi not al`,featuredArticleDemoHeadline:`8 Ekim 2026`,featuredArticleDemoSubline:`San Francisco · Yüz yüze + çevrimiçi`,featuredArticleDemoCta:`Lansman programını gör`,seeAgenda:`Lansman programını gör`,browseHelp:`Yardıma göz at`,whatsNew:`Yenilikler`,searchPlaceholder:`Yardımda ara`,pinnedArticlesTitle:`Önce bunları oku`,popularArticlesTitle:`Popüler makaleler`,pinnedArticleRow:`Sabitlenmiş makale {n}`,newsPreviewTitle:`Son haberler`,seeAll:`Tümünü gör`,newsPreviewRow:`Haber güncellemesi {n}`,myConversationsTitle:`Sohbetlerin`,myConversationsEmpty:`Sohbetlerini görüntüle`,teamStatusOnline:`Çevrimiçiyiz`,teamStatusReplyInstant:`Genellikle anında yanıt verir`,teamStatusReplyMinutes:`Genellikle birkaç dakika içinde yanıt verir`,teamStatusReplyHours:`Genellikle birkaç saat içinde yanıt verir`,teamStatusReplyDay:`Genellikle bir gün içinde yanıt verir`,teamStatusAiOnline:`{name} şu anda yardımcı olabilir`,teamStatusOperatorsBack:`Operatörler {when} dönecek`,teamStatusOfflineUntil:`Şu an yoktuk, {when} döneceğiz`,teamStatusOfflineSoon:`Şu an yoktuk, yakında döneceğiz`,recentMessageAttachment:`Ek`},messages:{today:`Bugün`,yesterday:`Dün`,unreadMessages:`Okunmamış mesajlar`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Henüz mesaj yok`,emptyBody:`Bir sohbet başlat. Ekibimiz buradan sana dönecek.`,sendCta:`Bize mesaj gönder`,attach:`Dosya ekle`,commands:`Hızlı komutlar`,record:`Sesli mesaj kaydet`,stopRecording:`Kaydı durdur`,recording:`Kaydediliyor…`,uploading:`Yükleniyor…`,uploadFailed:`Yükleme başarısız`,voiceDenied:`Mikrofon erişimi reddedildi`,voiceUnsupported:`Bu tarayıcı ses kaydını desteklemiyor`,fileTooLarge:`Dosya çok büyük (en fazla 10 MB)`,fileMimeNotAllowed:`Bu dosya türü desteklenmiyor`,emoji:`Emoji ekle`,cancelRecording:`Kaydı iptal et`,pauseRecording:`Kaydı duraklat`,resumeRecording:`Kaydı sürdür`,playPreview:`Kaydı oynat`,emojiPicker:`Emoji seçici`,emojiCategories:{suggested:`Son kullanılanlar`,smileysPeople:`Gülen yüzler ve insanlar`,animalsNature:`Hayvanlar ve doğa`,foodDrink:`Yiyecek ve içecek`,travelPlaces:`Seyahat ve yerler`,activities:`Etkinlikler`,objects:`Nesneler`,symbols:`Semboller`,flags:`Bayraklar`},emojiSearch:`Ara…`,playAudio:`Oynat`,pauseAudio:`Duraklat`,openAudio:`Sesi aç`,removeAttachment:`Kaldır`,aiAssistant:`AI asistan`,operator:`Operatör`,openImage:`Görseli aç`,openPreview:`Önizlemeyi aç`,play:`Oynat`,pause:`Duraklat`,typing:`yazıyor…`,aiThinking:`düşünüyor…`,aiSearching:`araştırıyor…`,typingSomeone:`Biri`,signInToChat:`Sohbete başlamak için lütfen giriş yap.`,signInUnavailable:`Giriş şu anda kullanılamıyor.`,googleSignIn:`Google ile giriş yap`,googleUnavailable:`Google ile giriş kullanılamıyor. Bağlantını veya reklam engelleyicini kontrol edip tekrar dene.`,passkeySignIn:`Passkey ile giriş yap`,passkeyRegister:`İlk kez mi? Bir passkey oluştur`,passkeyError:`Giriş yapılamadı. Lütfen tekrar dene.`,passkeyNoCredential:`Bu cihazda henüz passkey yok. Eklemek için “Bir passkey oluştur”a dokun.`,googleSignInDemo:`Google ile devam et`,connectingOperator:`Bir operatör atandı, lütfen bekleyin…`,assignment:{eta:{minutes:`Bir operatör yaklaşık {minutes} dk içinde yanıt verecek`,soft:`Genellikle birkaç dakika içinde yanıt veriyoruz`,businessHours:`Ekip {time} itibarıyla geri dönecek`}},withOperator:`Şimdi {name} ile sohbet ediyorsunuz`,operatorConnected:`Operatör bağlandı`,chatResolved:`Görüşme çözüldü`,chatResolvedByYou:`Görüşmeyi siz çözdünüz`,chatResolvedByOperator:`Görüşmeyi {name} çözdü`,resolveConversation:`Görüşmeyi çöz`,sources:`Kaynaklar`,moreSources:`+{count} tane daha`,askQuestion:`Soru sor`,previewYou:`Sen: {text}`,threadsEmptyTitle:`Henüz sohbet yok`,threadsEmptyBody:`Bir sohbet başlat, burada görünsün.`,format:{bold:`Kalın`,italic:`İtalik`,underline:`Altı çizili`,strikethrough:`Üstü çizili`,bulletList:`Madde işaretli liste`,numberedList:`Numaralı liste`,link:`Bağlantı`,linkPlaceholder:`https://…`,linkSave:`Kaydet`,linkCancel:`İptal`,monospace:`Sabit aralıklı`},queued:`Bağlantı bekleniyor`,notDelivered:`İletilemedi`,retry:`Tekrar dene`,offlineBanner:`Çevrimdışısın`,backOnline:`Tekrar çevrimiçi`,threadsErrorTitle:`Sohbetlerin yüklenemedi`,threadsErrorBody:`Bağlantını kontrol edip tekrar dene.`,giphy:{title:`GIF'ler ve çıkartmalar`,searchPlaceholder:`GIPHY'de ara`,clear:`Temizle`,tabGifs:`GIF'ler`,tabStickers:`Çıkartmalar`,error:`Yüklenemedi`,retry:`Tekrar dene`,empty:`Sonuç yok`,poweredBy:`Powered by GIPHY`},scrollToLatest:`En sona git`,conversationClosed:`Bu sohbet kapatıldı`,startNewConversation:`Yeni bir sohbet başlat`,conversationBlocked:`Bu sohbet engellendi`,visitorBlocked:`Artık mesaj gönderemezsin`,conversationClosedTitle:`Görüşmek üzere 👋`,conversationClosedHint:`Bu sohbet kapatıldı. Dilediğin zaman yenisini başlatabilirsin.`,fileFallback:`Dosya`},prechat:{title:`Başlamadan önce`,subtitle:`Ekibimizin sana daha hızlı yardım edebilmesi için birkaç bilgi.`,labelName:`İsim`,labelEmail:`E-posta`,labelPhone:`Telefon`,labelCustom:`Ayrıntılar`,required:`Zorunlu`,invalidEmail:`Lütfen geçerli bir e-posta gir`,invalidPhone:`Lütfen geçerli bir telefon numarası gir`,submit:`Devam et`,submitFailed:`Gönderilemedi. Lütfen tekrar dene.`},help:{searchPlaceholder:`Yardımda ara`,emptyTitle:`Henüz makale yok`,emptyBody:`Burada henüz bir şey yok.`,back:`Geri`,helpful:`Bu yararlı oldu mu?`,yes:`Evet`,no:`Hayır`,thanks:`Geri bildirim için teşekkürler.`,unresolvedCta:`Hâlâ yardıma ihtiyacın var mı? Bize yaz`,noResults:`Sonuç yok`,articleNotFound:`Makale bulunamadı`,articleNotTranslated:`Bu makale henüz senin dilinde mevcut değil.`,writtenBy:`Yazan: {names}`,relatedTitle:`İlgili makaleler`,collectionsCount:`{count, plural, =0 {Koleksiyon yok} one {# koleksiyon} other {# koleksiyon}}`,articlesCount:`{count, plural, =0 {Makale yok} one {Makale: #} other {Makale: #}}`,authorsByline:`Yazarlar {first}{remaining, plural, =0 {} one { ve # kişi daha} other { ve # kişi daha}}`},news:{unread:`Okunmamış haberler`,emptyTitle:`Henüz güncelleme yok`,emptyBody:`Ürün haberleri ve duyurular için buraya tekrar bak.`,helpful:`Bu makale yararlı oldu mu?`,yes:`Evet`,no:`Hayır`,thanks:`Geri bildirim için teşekkürler.`,searchPlaceholder:`Haberlerde ara`,noResults:`Eşleşen gönderi yok`,editedAt:`{when} tarihinde düzenlendi`,articleNotFound:`Makale bulunamadı.`,articleNotTranslated:`Bu gönderi henüz senin dilinde mevcut değil.`,readOriginal:`Orijinali oku`,relatedTitle:`İlgili`,writtenBy:`Yazan: {names}`},reactions:{ariaLabel:`Tepkiler`,tapAria:`{emoji} ile tepki ver`},languageSelector:{title:`Başka bir dilde oku`,ariaLabel:`Makale dilleri`},branding:{poweredBy:`Sağlayıcı:`,wexio:`Wexio`},sound:{mute:`Bildirim seslerini kapat`,unmute:`Bildirim seslerini aç`},article:{tableOfContents:`İçindekiler`,tabFallback:`Sekme {n}`},peek:{newMessage:`Yeni mesaj`,dismiss:`Kapat`,aiAssistant:`AI asistan`,operator:`Operatör`,quickReplies:`Hızlı yanıtlar`},lightbox:{mediaPreview:`Medya önizlemesi`,close:`Önizlemeyi kapat`,previous:`Önceki`,next:`Sonraki`},authError:{turnstileTitle:`Tarayıcın doğrulanamadı`,turnstileBody:`Güvenlik kontrolünü tamamlayamadık. Bu bazen bir ağ veya reklam engelleyici sorunudur. Tekrar dene ya da sayfayı yenile.`,genericTitle:`Bağlanılamadı`,genericBody:`Giriş yapılırken bir sorun oluştu. Lütfen biraz sonra tekrar dene.`,retry:`Tekrar dene`,dismiss:`Kapat`},profile:{title:`Profilin`,subtitle:`Bilgilerini ve widget davranışını güncelle.`,uploadAvatar:`Fotoğrafı değiştir`,removeAvatar:`Fotoğrafı kaldır`,avatarUploading:`Yükleniyor…`,preferencesHeading:`Tercihler`,preferenceLanguage:`Dil`,preferenceDesktopNotifications:`Masaüstü bildirimleri`,preferenceDesktopNotificationsHint:`Widget odakta değilken bir sistem bildirimi al.`,preferenceThemeMode:`Tema`,themeAuto:`Sistemle aynı`,themeLight:`Açık`,themeDark:`Koyu`,themeLocked:`Tema değiştirilemez.`,pinnedHint:`Düzenlenemez.`,requiredHint:`Zorunlu`,invalidEmail:`Lütfen geçerli bir e-posta adresi gir.`,invalidPhone:`Uluslararası formatı kullan, örn. +14155552671.`,noFields:`Burada henüz düzenlenecek bir şey yok.`,save:`Değişiklikleri kaydet`,saving:`Kaydediliyor…`,cancel:`Vazgeç`,saved:`Değişiklikler kaydedildi.`,loading:`Profil yükleniyor…`,loadError:`Profilin yüklenemedi. Lütfen tekrar dene.`,retry:`Yeniden dene`,errorFieldNotAllowed:`Bu alan bu widget'ta düzenlenemez. Sayfayı yenilemeyi dene.`,errorFieldPinned:`Bu alan hesabın tarafından kilitlenmiş.`,errorFieldInvalid:`Bazı değerler geçerli değil. Vurgulanan alanları kontrol et.`,errorThemeLocked:`Tema değiştirilemez.`,errorFeatureDisabled:`Profil düzenleme kullanılamıyor.`,errorGeneric:`Değişikliklerin kaydedilemedi. Lütfen tekrar dene.`,notificationsBlocked:`Bildirimler tarayıcı tarafından engellendi. Etkinleştirmek için site izinlerini güncelle.`,notificationsRequest:`Bunu etkinleştirmek için istendiğinde bildirimlere izin ver.`,systemFields:{avatar:`Fotoğraf`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp onayı`,webVerified:`Doğrulanmış ziyaretçi`,firstName:`Ad`,lastName:`Soyad`,username:`Kullanıcı adı`,language:`Dil`,email:`E-posta`,phone:`Telefon`,company:`Şirket`,location:`Konum`,isValid:`Hesap geçerli`,chatStatus:`Sohbet durumu`,chatCategory:`Sohbet kategorisi`,priority:`Öncelik`,leadSource:`Müşteri adayı kaynağı`,leadStatus:`Müşteri adayı durumu`,interestLevel:`İlgi düzeyi`,productInterest:`Ürün ilgisi`,budgetRange:`Bütçe`,purchaseTimeline:`Satın alma zaman çizelgesi`,lastMessageSentAt:`Son gönderilen mesaj`,lastMessageReceivedAt:`Son alınan mesaj`,lastSeenAt:`Son görülme`,firstMessageReceivedAt:`İlk iletişim`,isBlocked:`Engellendi`,registrationDate:`Kayıt tarihi`,aiAvailable:`AI desteği`,totalMessagesSent:`Gönderilen mesajlar`,totalMessagesReceived:`Alınan mesajlar`,totalAiMessagesSent:`Gönderilen AI mesajları`,totalBotMessagesSent:`Gönderilen bot mesajları`,totalUserMessagesSent:`Gönderilen operatör mesajları`,flowCompletionRate:`Akış tamamlama oranı`,lastFlowCompleted:`Son tamamlanan akış`,totalFlowsStarted:`Başlatılan akışlar`,totalFlowsCompleted:`Tamamlanan akışlar`},systemFieldOptions:{chatStatus:{ISSUE:`Sorun`,RESOLVED:`Çözüldü`,PENDING:`Beklemede`,IN_PROGRESS:`Devam ediyor`,CLOSED:`Kapatıldı`},chatCategory:{SALES:`Satış`,SUPPORT:`Destek`,BILLING:`Faturalama`,FEEDBACK:`Geri bildirim`,GENERAL:`Genel`,OTHER:`Diğer`},priority:{LOW:`Düşük`,MEDIUM:`Orta`,HIGH:`Yüksek`,URGENT:`Acil`},leadStatus:{NEW:`Yeni`,CONTACTED:`İletişime geçildi`,QUALIFIED:`Nitelikli`,NEGOTIATING:`Görüşülüyor`,WON:`Kazanıldı`,LOST:`Kaybedildi`},interestLevel:{LOW:`Düşük`,MEDIUM:`Orta`,HIGH:`Yüksek`,VERY_HIGH:`Çok yüksek`}},selectOption:`Bir seçenek belirleyin`,noOptions:`Yapılandırılmış seçenek yok.`},transcript:{title:`{org} ile sohbet`,started:`Başlangıç: {when}`,exported:`{org} üzerinden {when} tarihinde dışa aktarıldı`,truncated:`Not: yalnızca en son mesajlar dahil edilmiştir.`,operator:`Operatör`,you:`Sen`},notification:{newMessage:`Yeni mesaj`,image:`Görsel`,video:`Video`,voiceMessage:`Sesli mesaj`,attachment:`Ek`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-29V_I6IW.js.map
@@ -1,2 +1,2 @@
1
- globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{t as e}from"./widget-react-FX5W7RyV.js";var t=e(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),n=30;function r(e){if(!e||typeof requestAnimationFrame>`u`)return;let t=0,r=()=>{if(!e.isConnected||++t>n)return;let i=e.getRootNode().activeElement;if(!i||i===document.body)e.focus({preventScroll:!0});else if(i!==e&&!i.closest(`[role="dialog"]`))return;requestAnimationFrame(r)};requestAnimationFrame(r)}export{t as n,r as t};
2
- //# sourceMappingURL=widget-react-D2sqPDts.js.map
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{t as e}from"./widget-react-DIvxQOfe.js";var t=e(`search`,[[`path`,{d:`m21 21-4.34-4.34`,key:`14j7rj`}],[`circle`,{cx:`11`,cy:`11`,r:`8`,key:`4ej97u`}]]),n=30;function r(e){if(!e||typeof requestAnimationFrame>`u`)return;let t=0,r=()=>{if(!e.isConnected||++t>n)return;let i=e.getRootNode().activeElement;if(!i||i===document.body)e.focus({preventScroll:!0});else if(i!==e&&!i.closest(`[role="dialog"]`))return;requestAnimationFrame(r)};requestAnimationFrame(r)}export{t as n,r as t};
2
+ //# sourceMappingURL=widget-react-5vmcmqij.js.map
@@ -1,2 +1,2 @@
1
- globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{t as e}from"./widget-react-FX5W7RyV.js";var t=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t};
2
- //# sourceMappingURL=widget-react-Dl2PevZk.js.map
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{t as e}from"./widget-react-DIvxQOfe.js";var t=e(`send`,[[`path`,{d:`M14.536 21.686a.5.5 0 0 0 .937-.024l6.5-19a.496.496 0 0 0-.635-.635l-19 6.5a.5.5 0 0 0-.024.937l7.93 3.18a2 2 0 0 1 1.112 1.11z`,key:`1ffxy3`}],[`path`,{d:`m21.854 2.147-10.94 10.939`,key:`12cjpa`}]]);export{t};
2
+ //# sourceMappingURL=widget-react-8gKsfB0D.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Головна`,messages:`Повідомлення`,help:`Допомога`,news:`Новини`,profile:`Профіль`},header:{close:`Закрити`,back:`Назад`,conversationSubtitle:`Наші фахівці також можуть допомогти`,helpTitle:`Допомога`,newsTitle:`Новини`,expand:`Розгорнути віджет`,collapse:`Згорнути віджет`,messagesTitle:`Повідомлення`,downloadTranscript:`Завантажити розшифровку`,moreActions:`Більше`},launcher:{open:`Відкрити чат`,close:`Закрити чат`,panel:`Чат`},tabError:{title:`Щось пішло не так`,hint:`Не вдалося показати цей розділ.`,retry:`Спробувати ще раз`},chunkError:{failed:`Не вдалося завантажити`,retry:`Повторити`},home:{greetingHeadline:`Як справи? 👋`,greetingSubheadline:`Чим вам допомогти?`,askTitle:`Поставити запитання`,askSubtitle:`Вам допоможуть наш бот і наші фахівці`,recentMessageLabel:`Нещодавнє повідомлення`,recentMessageTitle:`Нещодавнє повідомлення`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 год`,recentMessageSample:`Привіт 👋 Дякуємо, що звернулися - ми скоро повернемося до вас.`,featuredArticleLoading:`Рекомендована стаття`,featuredArticleTap:`Натисніть, щоб читати`,featuredArticleEmpty:`Виберіть статтю`,featuredArticleSetUp:`Налаштуйте цей блок у панелі`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`8 жовтня 2026`,featuredArticleDemoSubline:`Сан-Франциско · офлайн + онлайн`,featuredArticleDemoCta:`Переглянути програму запуску`,seeAgenda:`Переглянути програму запуску`,browseHelp:`Довідка`,whatsNew:`Що нового`,searchPlaceholder:`Пошук у довідці`,pinnedArticlesTitle:`Почніть із цього`,popularArticlesTitle:`Популярні статті`,pinnedArticleRow:`Закріплена стаття {n}`,newsPreviewTitle:`Останні новини`,seeAll:`Дивитись усе`,newsPreviewRow:`Новина {n}`,myConversationsTitle:`Ваші розмови`,myConversationsEmpty:`Переглянути ваші розмови`,teamStatusOnline:`Ми онлайн`,teamStatusReplyInstant:`Зазвичай відповідаємо одразу`,teamStatusReplyMinutes:`Зазвичай відповідаємо за кілька хвилин`,teamStatusReplyHours:`Зазвичай відповідаємо протягом кількох годин`,teamStatusReplyDay:`Зазвичай відповідаємо протягом дня`,teamStatusAiOnline:`{name} може допомогти зараз`,teamStatusOperatorsBack:`Оператори повернуться {when}`,teamStatusOfflineUntil:`Нас немає, повернемось {when}`,teamStatusOfflineSoon:`Нас немає, скоро повернемось`,recentMessageAttachment:`Вкладення`},messages:{today:`Сьогодні`,yesterday:`Вчора`,unreadMessages:`Непрочитані повідомлення`,slotDraftHint:`Збережіть зміни, щоб перевірити цю розмову.`,emptyTitle:`Ще немає повідомлень`,emptyBody:`Розпочніть розмову - ми відповімо тут.`,sendCta:`Надіслати повідомлення`,attach:`Прикріпити файл`,commands:`Швидкі команди`,record:`Записати голосове повідомлення`,stopRecording:`Зупинити запис`,recording:`Запис…`,uploading:`Завантаження…`,uploadFailed:`Не вдалося завантажити`,voiceDenied:`Доступ до мікрофона заборонено`,voiceUnsupported:`Браузер не підтримує запис голосу`,fileTooLarge:`Файл завеликий (максимум 10 МБ)`,fileMimeNotAllowed:`Цей тип файлу не підтримується`,emoji:`Вставити емодзі`,cancelRecording:`Скасувати запис`,pauseRecording:`Призупинити запис`,resumeRecording:`Продовжити запис`,playPreview:`Прослухати запис`,emojiPicker:`Вибір емодзі`,emojiCategories:{suggested:`Нещодавно використані`,smileysPeople:`Смайли та люди`,animalsNature:`Тварини та природа`,foodDrink:`Їжа та напої`,travelPlaces:`Подорожі та місця`,activities:`Активності`,objects:`Предмети`,symbols:`Символи`,flags:`Прапори`},emojiSearch:`Пошук…`,playAudio:`Відтворити`,pauseAudio:`Пауза`,openAudio:`Відкрити аудіо`,removeAttachment:`Видалити`,aiAssistant:`ШІ-помічник`,operator:`Оператор`,openImage:`Відкрити зображення`,openPreview:`Відкрити перегляд`,play:`Відтворити`,pause:`Призупинити`,typing:`друкує…`,aiThinking:`думає…`,aiSearching:`переглядає…`,typingSomeone:`Хтось`,signInToChat:`Будь ласка, увійдіть, щоб почати розмову.`,signInUnavailable:`Вхід наразі недоступний.`,googleSignIn:`Вхід через аккаунт Google`,googleUnavailable:`Вхід через Google недоступний. Перевірте з'єднання або блокувальник реклами та спробуйте ще раз.`,passkeySignIn:`Увійти за допомогою passkey`,passkeyRegister:`Вперше? Створіть passkey`,passkeyError:`Не вдалося увійти. Спробуйте ще раз.`,passkeyNoCredential:`На цьому пристрої ще немає passkey. Натисніть «Створіть passkey», щоб додати.`,googleSignInDemo:`Продовжити з Google`,connectingOperator:`Оператора призначено, зачекайте…`,assignment:{eta:{minutes:`Оператор відповість приблизно через {minutes} хв`,soft:`Зазвичай ми відповідаємо протягом кількох хвилин`,businessHours:`Команда повернеться о {time}`}},withOperator:`Тепер з вами {name}`,operatorConnected:`Оператор приєднався`,chatResolved:`Розмову завершено`,chatResolvedByYou:`Розмову завершено вами`,chatResolvedByOperator:`Розмову завершено: {name}`,resolveConversation:`Завершити розмову`,sources:`Джерела`,moreSources:`+{count} ще`,askQuestion:`Поставити запитання`,previewYou:`Ви: {text}`,threadsEmptyTitle:`Поки що немає розмов`,threadsEmptyBody:`Почніть розмову, і вона з'явиться тут.`,format:{bold:`Жирний`,italic:`Курсив`,underline:`Підкреслений`,strikethrough:`Закреслений`,bulletList:`Маркований список`,numberedList:`Нумерований список`,link:`Посилання`,linkPlaceholder:`https://…`,linkSave:`Зберегти`,linkCancel:`Скасувати`,monospace:`Моноширинний`},queued:`Очікує з'єднання`,notDelivered:`Не надіслано`,retry:`Повторити`,offlineBanner:`Ви офлайн`,backOnline:`Знову онлайн`,threadsErrorTitle:`Не вдалося завантажити розмови`,threadsErrorBody:`Перевірте з'єднання та спробуйте ще раз.`,giphy:{title:`GIF та стикери`,searchPlaceholder:`Пошук у GIPHY`,clear:`Очистити`,tabGifs:`GIF`,tabStickers:`Стикери`,error:`Не вдалося завантажити`,retry:`Повторити`,empty:`Нічого не знайдено`,poweredBy:`Powered by GIPHY`},scrollToLatest:`До останніх`,conversationClosed:`Розмову закрито`,startNewConversation:`Почати нову розмову`,conversationBlocked:`Розмову заблоковано`,visitorBlocked:`Ви більше не можете надсилати повідомлення`,conversationClosedTitle:`На цьому все 👋`,conversationClosedHint:`Розмову закрито. Почніть нову, коли завгодно.`,fileFallback:`Файл`},prechat:{title:`Перш ніж почати`,subtitle:`Кілька деталей, щоб наша команда могла швидше допомогти.`,labelName:`Імʼя`,labelEmail:`Електронна пошта`,labelPhone:`Телефон`,labelCustom:`Деталі`,required:`Обовʼязкове поле`,invalidEmail:`Введіть дійсну адресу електронної пошти`,invalidPhone:`Введіть дійсний номер телефону`,submit:`Продовжити`,submitFailed:`Не вдалося надіслати - спробуйте ще раз.`},help:{searchPlaceholder:`Шукати в довідці`,emptyTitle:`Ще немає статей`,emptyBody:`Тут поки нічого немає.`,back:`Назад`,helpful:`Чи була ця стаття корисною?`,yes:`Так`,no:`Ні`,thanks:`Дякуємо за відгук.`,unresolvedCta:`Усе ще потрібна допомога? Напишіть нам`,noResults:`Нічого не знайдено`,articleNotFound:`Статтю не знайдено`,articleNotTranslated:`Ця стаття ще не доступна вашою мовою.`,writtenBy:`Автор: {names}`,relatedTitle:`Схожі статті`,collectionsCount:`{count, plural, =0 {Без колекцій} one {# колекція} few {# колекції} many {# колекцій} other {# колекцій}}`,articlesCount:`{count, plural, =0 {Без статей} one {Статей: #} few {Статей: #} many {Статей: #} other {Статей: #}}`,authorsByline:`Автори {first}{remaining, plural, =0 {} one { та ще #} few { та ще #} many { та ще #} other { та ще #}}`},news:{unread:`Непрочитані новини`,emptyTitle:`Поки що нічого нового`,emptyBody:`Заходьте сюди за продуктовими новинами й оголошеннями.`,helpful:`Чи була ця стаття корисною?`,yes:`Так`,no:`Ні`,thanks:`Дякуємо за відгук.`,searchPlaceholder:`Пошук у новинах`,noResults:`Нічого не знайдено`,editedAt:`редаговано {when}`,articleNotFound:`Статтю не знайдено.`,articleNotTranslated:`Цей допис ще не доступний вашою мовою.`,readOriginal:`Читати оригінал`,relatedTitle:`Схоже`,writtenBy:`Автор: {names}`},reactions:{ariaLabel:`Реакції`,tapAria:`Поставити {emoji}`},languageSelector:{title:`Читати іншою мовою`,ariaLabel:`Мови статті`},branding:{poweredBy:`Працює на`,wexio:`Wexio`},sound:{mute:`Вимкнути звуки сповіщень`,unmute:`Увімкнути звуки сповіщень`},article:{tableOfContents:`Зміст`,tabFallback:`Вкладка {n}`},peek:{newMessage:`Нове повідомлення`,dismiss:`Закрити`,aiAssistant:`ШІ-помічник`,operator:`Оператор`,quickReplies:`Швидкі відповіді`},lightbox:{mediaPreview:`Перегляд медіа`,close:`Закрити перегляд`,previous:`Попереднє`,next:`Наступне`},authError:{turnstileTitle:`Не вдалося перевірити браузер`,turnstileBody:`Не вдалося пройти перевірку безпеки. Можливо, заважає мережа або блокувальник реклами. Спробуйте ще раз або перезавантажте сторінку.`,genericTitle:`Не вдалося підключитися`,genericBody:`Сталася помилка під час входу. Спробуйте за мить.`,retry:`Спробувати знову`,dismiss:`Закрити`},profile:{title:`Ваш профіль`,subtitle:`Оновіть свої дані та налаштування віджета.`,uploadAvatar:`Змінити фото`,removeAvatar:`Видалити фото`,avatarUploading:`Завантаження…`,preferencesHeading:`Налаштування`,preferenceLanguage:`Мова`,preferenceDesktopNotifications:`Сповіщення на робочому столі`,preferenceDesktopNotificationsHint:`Отримуйте системне сповіщення, коли віджет неактивний.`,preferenceThemeMode:`Тема`,themeAuto:`Як у системі`,themeLight:`Світла`,themeDark:`Темна`,themeLocked:`Тему змінити не можна.`,pinnedHint:`Не редагується.`,requiredHint:`Обов'язкове`,invalidEmail:`Введіть коректну адресу електронної пошти.`,invalidPhone:`Використовуйте міжнародний формат, напр. +380441234567.`,noFields:`Тут поки що нема що редагувати.`,save:`Зберегти`,saving:`Збереження…`,cancel:`Скасувати`,saved:`Зміни збережено.`,loading:`Завантаження профілю…`,loadError:`Не вдалося завантажити профіль. Спробуйте ще раз.`,retry:`Повторити`,errorFieldNotAllowed:`Це поле не редагується в цьому віджеті. Спробуйте оновити сторінку.`,errorFieldPinned:`Це поле заблоковане вашим обліковим записом.`,errorFieldInvalid:`Деякі значення некоректні. Перевірте підсвічені поля.`,errorThemeLocked:`Тему змінити не можна.`,errorFeatureDisabled:`Редагування профілю недоступне.`,errorGeneric:`Не вдалося зберегти зміни. Спробуйте ще раз.`,notificationsBlocked:`Сповіщення заблоковано браузером. Оновіть дозволи сайту, щоб увімкнути.`,notificationsRequest:`Дозвольте сповіщення в підказці браузера, щоб увімкнути.`,systemFields:{avatar:`Фото`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`Дозвіл на WhatsApp`,webVerified:`Підтверджений відвідувач`,firstName:`Ім'я`,lastName:`Прізвище`,username:`Юзернейм`,language:`Мова`,email:`Email`,phone:`Телефон`,company:`Компанія`,location:`Місцезнаходження`,isValid:`Активний акаунт`,chatStatus:`Статус чату`,chatCategory:`Категорія чату`,priority:`Пріоритет`,leadSource:`Джерело ліда`,leadStatus:`Статус ліда`,interestLevel:`Рівень зацікавленості`,productInterest:`Інтерес до продукту`,budgetRange:`Бюджет`,purchaseTimeline:`Терміни покупки`,lastMessageSentAt:`Останнє надіслане`,lastMessageReceivedAt:`Останнє отримане`,lastSeenAt:`Останній візит`,firstMessageReceivedAt:`Перший контакт`,isBlocked:`Заблоковано`,registrationDate:`Дата реєстрації`,aiAvailable:`AI-допомога`,totalMessagesSent:`Надіслано повідомлень`,totalMessagesReceived:`Отримано повідомлень`,totalAiMessagesSent:`AI-повідомлень`,totalBotMessagesSent:`Бот-повідомлень`,totalUserMessagesSent:`Операторських повідомлень`,flowCompletionRate:`Завершеність флоу`,lastFlowCompleted:`Останній завершений флоу`,totalFlowsStarted:`Розпочато флоу`,totalFlowsCompleted:`Завершено флоу`},systemFieldOptions:{chatStatus:{ISSUE:`Проблема`,RESOLVED:`Вирішено`,PENDING:`Очікує`,IN_PROGRESS:`В процесі`,CLOSED:`Закрито`},chatCategory:{SALES:`Продажі`,SUPPORT:`Підтримка`,BILLING:`Оплата`,FEEDBACK:`Відгук`,GENERAL:`Загальне`,OTHER:`Інше`},priority:{LOW:`Низький`,MEDIUM:`Середній`,HIGH:`Високий`,URGENT:`Терміновий`},leadStatus:{NEW:`Новий`,CONTACTED:`Зв'язалися`,QUALIFIED:`Кваліфікований`,NEGOTIATING:`Переговори`,WON:`Виграно`,LOST:`Втрачено`},interestLevel:{LOW:`Низький`,MEDIUM:`Середній`,HIGH:`Високий`,VERY_HIGH:`Дуже високий`}},selectOption:`Виберіть варіант`,noOptions:`Варіанти не налаштовано.`},transcript:{title:`Розмова з {org}`,started:`Розпочато {when}`,exported:`Експортовано з {org} {when}`,truncated:`Показано лише найновіші повідомлення.`,operator:`Оператор`,you:`Ви`},notification:{newMessage:`Нове повідомлення`,image:`Зображення`,video:`Відео`,voiceMessage:`Голосове повідомлення`,attachment:`Вкладення`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-A8LQA2iO.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Home`,messages:`Messages`,help:`Help`,news:`News`,profile:`Profile`},header:{close:`Close`,back:`Back`,conversationSubtitle:`Our team can also help`,helpTitle:`Help`,newsTitle:`News`,expand:`Expand widget`,collapse:`Collapse widget`,messagesTitle:`Messages`,downloadTranscript:`Download transcript`,moreActions:`More`},launcher:{open:`Open chat`,close:`Close chat`,panel:`Chat`},tabError:{title:`Something went wrong`,hint:`This section couldn't be shown.`,retry:`Try again`},chunkError:{failed:`Couldn't load`,retry:`Retry`},home:{greetingHeadline:`Hi there 👋`,greetingSubheadline:`How can we help?`,askTitle:`Ask a question`,askSubtitle:`Our bot and team can help`,recentMessageLabel:`Recent message`,recentMessageTitle:`Recent message`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4h`,recentMessageSample:`Hi there 👋 Thanks for reaching out - we'll be right back with you.`,featuredArticleLoading:`Featured article`,featuredArticleTap:`Tap to read`,featuredArticleEmpty:`Pick an article`,featuredArticleSetUp:`Configure this block in your dashboard`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`October 8, 2026`,featuredArticleDemoSubline:`San Francisco · In-person + virtual`,featuredArticleDemoCta:`See the launch agenda`,seeAgenda:`See the launch agenda`,browseHelp:`Browse Help`,whatsNew:`What's new`,searchPlaceholder:`Search for help`,pinnedArticlesTitle:`Read these first`,popularArticlesTitle:`Popular articles`,pinnedArticleRow:`Pinned article {n}`,newsPreviewTitle:`Latest news`,seeAll:`See all`,newsPreviewRow:`News update {n}`,myConversationsTitle:`Your conversations`,myConversationsEmpty:`View your conversations`,teamStatusOnline:`We're online`,teamStatusReplyInstant:`Usually replies instantly`,teamStatusReplyMinutes:`Usually replies in a few minutes`,teamStatusReplyHours:`Usually replies within a few hours`,teamStatusReplyDay:`Usually replies within a day`,teamStatusAiOnline:`{name} can help right now`,teamStatusOperatorsBack:`Operators back {when}`,teamStatusOfflineUntil:`We're away, back {when}`,teamStatusOfflineSoon:`We're away, back soon`,recentMessageAttachment:`Attachment`},messages:{today:`Today`,yesterday:`Yesterday`,unreadMessages:`Unread messages`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`No messages yet`,emptyBody:`Start a conversation and our team will get back to you here.`,sendCta:`Send us a message`,attach:`Attach a file`,commands:`Quick commands`,record:`Record a voice message`,stopRecording:`Stop recording`,recording:`Recording…`,uploading:`Uploading…`,uploadFailed:`Upload failed`,voiceDenied:`Microphone access denied`,voiceUnsupported:`Voice recording isn't supported in this browser`,fileTooLarge:`File is too large (max 10MB)`,fileMimeNotAllowed:`This file type isn't supported`,emoji:`Insert emoji`,cancelRecording:`Cancel recording`,pauseRecording:`Pause recording`,resumeRecording:`Resume recording`,playPreview:`Play recording`,emojiPicker:`Emoji picker`,emojiCategories:{suggested:`Recently used`,smileysPeople:`Smileys & People`,animalsNature:`Animals & Nature`,foodDrink:`Food & Drink`,travelPlaces:`Travel & Places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`},emojiSearch:`Search…`,playAudio:`Play`,pauseAudio:`Pause`,openAudio:`Open audio`,removeAttachment:`Remove`,aiAssistant:`AI assistant`,operator:`Operator`,openImage:`Open image`,openPreview:`Open preview`,play:`Play`,pause:`Pause`,typing:`typing…`,aiThinking:`thinking…`,aiSearching:`browsing…`,typingSomeone:`Someone`,signInToChat:`Please sign in to start the conversation.`,signInUnavailable:`Sign-in is not available right now.`,googleSignIn:`Sign in with Google`,googleUnavailable:`Google sign-in isn't available. Check your connection or ad blocker and try again.`,passkeySignIn:`Sign in with a passkey`,passkeyRegister:`First time? Set up a passkey`,passkeyError:`Couldn't sign in. Please try again.`,passkeyNoCredential:`No passkey on this device yet. Tap “Set up a passkey” to create one.`,googleSignInDemo:`Continue with Google`,connectingOperator:`An operator has been assigned, please wait…`,assignment:{eta:{minutes:`An operator will reply in about {minutes} min`,soft:`We usually reply within a few minutes`,businessHours:`The team will be back at {time}`}},withOperator:`You're now chatting with {name}`,operatorConnected:`Operator connected`,chatResolved:`Conversation resolved`,chatResolvedByYou:`Conversation resolved by you`,chatResolvedByOperator:`Conversation resolved by {name}`,resolveConversation:`Resolve conversation`,sources:`Sources`,moreSources:`+{count} more`,askQuestion:`Ask a question`,previewYou:`You: {text}`,threadsEmptyTitle:`No conversations yet`,threadsEmptyBody:`Start a conversation and it will show up here.`,format:{bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,bulletList:`Bulleted list`,numberedList:`Numbered list`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Save`,linkCancel:`Cancel`,monospace:`Monospace`},queued:`Waiting for connection`,notDelivered:`Not delivered`,retry:`Retry`,offlineBanner:`You're offline`,backOnline:`Back online`,threadsErrorTitle:`Could not load your conversations`,threadsErrorBody:`Check your connection and try again.`,giphy:{title:`GIFs & Stickers`,searchPlaceholder:`Search GIPHY`,clear:`Clear`,tabGifs:`GIFs`,tabStickers:`Stickers`,error:`Couldn't load`,retry:`Retry`,empty:`No results`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Scroll to latest`,conversationClosed:`This conversation is closed`,startNewConversation:`Start a new conversation`,conversationBlocked:`This conversation is blocked`,visitorBlocked:`You can no longer send messages`,conversationClosedTitle:`That's a wrap 👋`,conversationClosedHint:`This conversation is closed. Start a new one whenever you like.`,fileFallback:`File`},prechat:{title:`Before we start`,subtitle:`A few quick details so our team can help you faster.`,labelName:`Name`,labelEmail:`Email`,labelPhone:`Phone`,labelCustom:`Details`,required:`Required`,invalidEmail:`Please enter a valid email`,invalidPhone:`Please enter a valid phone number`,submit:`Continue`,submitFailed:`Couldn't submit - please try again.`},help:{searchPlaceholder:`Search for help`,emptyTitle:`No articles yet`,emptyBody:`Nothing here yet.`,back:`Back`,helpful:`Was this helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,unresolvedCta:`Still need help? Message us`,noResults:`No results`,articleNotFound:`Article not found`,articleNotTranslated:`This article isn't available in your language yet.`,writtenBy:`Written by {names}`,relatedTitle:`Related articles`,collectionsCount:`{count, plural, =0 {No collections} one {# collection} other {# collections}}`,articlesCount:`{count, plural, =0 {No articles} one {Articles: #} other {Articles: #}}`,authorsByline:`Authors {first}{remaining, plural, =0 {} one { and # more} other { and # more}}`},news:{emptyTitle:`No updates yet`,emptyBody:`Check back here for product news and announcements.`,helpful:`Was this article helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,searchPlaceholder:`Search news`,noResults:`No matching posts`,editedAt:`edited {when}`,articleNotFound:`Article not found.`,articleNotTranslated:`This post isn't available in your language yet.`,readOriginal:`Read the original`,relatedTitle:`Related`,writtenBy:`Written by {names}`,unread:`Unread news`},reactions:{ariaLabel:`Reactions`,tapAria:`React with {emoji}`},languageSelector:{title:`Read in another language`,ariaLabel:`Article languages`},branding:{poweredBy:`Powered by`,wexio:`Wexio`},sound:{mute:`Mute notification sounds`,unmute:`Unmute notification sounds`},article:{tableOfContents:`Table of contents`,tabFallback:`Tab {n}`},peek:{newMessage:`New message`,dismiss:`Dismiss`,aiAssistant:`AI assistant`,operator:`Operator`,quickReplies:`Quick replies`},lightbox:{mediaPreview:`Media preview`,close:`Close preview`,previous:`Previous`,next:`Next`},authError:{turnstileTitle:`Couldn't verify your browser`,turnstileBody:`We weren't able to complete the security check. This is sometimes a network or ad-blocker issue. Try again, or reload the page.`,genericTitle:`Couldn't connect`,genericBody:`Something went wrong while signing you in. Please try again in a moment.`,retry:`Try again`,dismiss:`Dismiss`},profile:{title:`Your profile`,subtitle:`Update your info and how the widget behaves.`,uploadAvatar:`Change photo`,removeAvatar:`Remove photo`,avatarUploading:`Uploading…`,preferencesHeading:`Preferences`,preferenceLanguage:`Language`,preferenceDesktopNotifications:`Desktop notifications`,preferenceDesktopNotificationsHint:`Get a system notification when the widget isn't focused.`,preferenceThemeMode:`Theme`,themeAuto:`Match system`,themeLight:`Light`,themeDark:`Dark`,themeLocked:`Theme can't be changed.`,pinnedHint:`Not editable.`,requiredHint:`Required`,invalidEmail:`Please enter a valid email address.`,invalidPhone:`Use international format, e.g. +14155552671.`,noFields:`There's nothing to edit here yet.`,save:`Save changes`,saving:`Saving…`,cancel:`Discard`,saved:`Changes saved.`,loading:`Loading profile…`,loadError:`Couldn't load your profile. Please try again.`,retry:`Retry`,errorFieldNotAllowed:`This field isn't editable in this widget. Try refreshing.`,errorFieldPinned:`This field is locked by your account.`,errorFieldInvalid:`Some values aren't valid. Check the highlighted fields.`,errorThemeLocked:`Theme can't be changed.`,errorFeatureDisabled:`Profile editing isn't available.`,errorGeneric:`Couldn't save your changes. Please try again.`,notificationsBlocked:`Notifications are blocked by the browser. Update site permissions to enable.`,notificationsRequest:`Allow notifications when prompted to enable this.`,systemFields:{avatar:`Photo`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp opt-in`,webVerified:`Verified visitor`,firstName:`First name`,lastName:`Last name`,username:`Username`,language:`Language`,email:`Email`,phone:`Phone`,company:`Company`,location:`Location`,isValid:`Account valid`,chatStatus:`Chat status`,chatCategory:`Chat category`,priority:`Priority`,leadSource:`Lead source`,leadStatus:`Lead status`,interestLevel:`Interest level`,productInterest:`Product interest`,budgetRange:`Budget`,purchaseTimeline:`Purchase timeline`,lastMessageSentAt:`Last message sent`,lastMessageReceivedAt:`Last message received`,lastSeenAt:`Last seen`,firstMessageReceivedAt:`First contact`,isBlocked:`Blocked`,registrationDate:`Registered`,aiAvailable:`AI assistance`,totalMessagesSent:`Messages sent`,totalMessagesReceived:`Messages received`,totalAiMessagesSent:`AI messages sent`,totalBotMessagesSent:`Bot messages sent`,totalUserMessagesSent:`Operator messages sent`,flowCompletionRate:`Flow completion rate`,lastFlowCompleted:`Last completed flow`,totalFlowsStarted:`Flows started`,totalFlowsCompleted:`Flows completed`},systemFieldOptions:{chatStatus:{ISSUE:`Issue`,RESOLVED:`Resolved`,PENDING:`Pending`,IN_PROGRESS:`In progress`,CLOSED:`Closed`},chatCategory:{SALES:`Sales`,SUPPORT:`Support`,BILLING:`Billing`,FEEDBACK:`Feedback`,GENERAL:`General`,OTHER:`Other`},priority:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,URGENT:`Urgent`},leadStatus:{NEW:`New`,CONTACTED:`Contacted`,QUALIFIED:`Qualified`,NEGOTIATING:`Negotiating`,WON:`Won`,LOST:`Lost`},interestLevel:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,VERY_HIGH:`Very high`}},selectOption:`Select an option`,noOptions:`No options configured.`},transcript:{title:`Conversation with {org}`,started:`Started on {when}`,exported:`Exported from {org} on {when}`,truncated:`Note: only the most recent messages are included.`,operator:`Operator`,you:`You`},notification:{newMessage:`New message`,image:`Image`,video:`Video`,voiceMessage:`Voice message`,attachment:`Attachment`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-B0TTXiFz2.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Acasă`,messages:`Mesaje`,help:`Ajutor`,news:`Noutăți`,profile:`Profil`},header:{close:`Închide`,back:`Înapoi`,conversationSubtitle:`Și echipa noastră te poate ajuta`,helpTitle:`Ajutor`,newsTitle:`Noutăți`,expand:`Extinde widgetul`,collapse:`Restrânge widgetul`,messagesTitle:`Mesaje`,downloadTranscript:`Descarcă conversația`,moreActions:`Mai multe`},launcher:{open:`Deschide chatul`,close:`Închide chatul`,panel:`Chat`},tabError:{title:`Ceva nu a funcționat`,hint:`Această secțiune nu a putut fi afișată.`,retry:`Încearcă din nou`},chunkError:{failed:`Nu s-a putut încărca`,retry:`Reîncearcă`},home:{greetingHeadline:`Salut 👋`,greetingSubheadline:`Cu ce te putem ajuta?`,askTitle:`Pune o întrebare`,askSubtitle:`Botul și echipa noastră te pot ajuta`,recentMessageLabel:`Mesaj recent`,recentMessageTitle:`Mesaj recent`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 h`,recentMessageSample:`Salut 👋 Mulțumim că ne-ai contactat. Revenim cu un răspuns în scurt timp.`,featuredArticleLoading:`Articol recomandat`,featuredArticleTap:`Atinge pentru a citi`,featuredArticleEmpty:`Alege un articol`,featuredArticleSetUp:`Configurează acest bloc în panoul tău`,featuredArticleDemoEyebrow:`Pioneer · Reține data`,featuredArticleDemoHeadline:`8 octombrie 2026`,featuredArticleDemoSubline:`San Francisco · în persoană + online`,featuredArticleDemoCta:`Vezi programul lansării`,seeAgenda:`Vezi programul lansării`,browseHelp:`Răsfoiește ajutorul`,whatsNew:`Ce este nou`,searchPlaceholder:`Caută în ajutor`,pinnedArticlesTitle:`Citește mai întâi astea`,popularArticlesTitle:`Articole populare`,pinnedArticleRow:`Articol fixat {n}`,newsPreviewTitle:`Ultimele noutăți`,seeAll:`Vezi tot`,newsPreviewRow:`Noutate {n}`,myConversationsTitle:`Conversațiile tale`,myConversationsEmpty:`Vezi-ți conversațiile`,teamStatusOnline:`Suntem online`,teamStatusReplyInstant:`De obicei răspunde instant`,teamStatusReplyMinutes:`De obicei răspunde în câteva minute`,teamStatusReplyHours:`De obicei răspunde în câteva ore`,teamStatusReplyDay:`De obicei răspunde în decurs de o zi`,teamStatusAiOnline:`{name} te poate ajuta chiar acum`,teamStatusOperatorsBack:`Operatorii revin {when}`,teamStatusOfflineUntil:`Suntem plecați, revenim {when}`,teamStatusOfflineSoon:`Suntem plecați, revenim în curând`,recentMessageAttachment:`Atașament`},messages:{today:`Astăzi`,yesterday:`Ieri`,unreadMessages:`Mesaje necitite`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Încă nu există mesaje`,emptyBody:`Începe o conversație, iar echipa noastră îți va răspunde aici.`,sendCta:`Trimite-ne un mesaj`,attach:`Atașează un fișier`,commands:`Comenzi rapide`,record:`Înregistrează un mesaj vocal`,stopRecording:`Oprește înregistrarea`,recording:`Se înregistrează…`,uploading:`Se încarcă…`,uploadFailed:`Încărcarea a eșuat`,voiceDenied:`Accesul la microfon a fost refuzat`,voiceUnsupported:`Înregistrarea vocală nu este acceptată în acest browser`,fileTooLarge:`Fișierul este prea mare (maximum 10 MB)`,fileMimeNotAllowed:`Acest tip de fișier nu este acceptat`,emoji:`Inserează emoji`,cancelRecording:`Anulează înregistrarea`,pauseRecording:`Întrerupe înregistrarea`,resumeRecording:`Reia înregistrarea`,playPreview:`Redă înregistrarea`,emojiPicker:`Selector de emoji`,emojiCategories:{suggested:`Folosite recent`,smileysPeople:`Fețe zâmbitoare și persoane`,animalsNature:`Animale și natură`,foodDrink:`Mâncare și băutură`,travelPlaces:`Călătorii și locuri`,activities:`Activități`,objects:`Obiecte`,symbols:`Simboluri`,flags:`Steaguri`},emojiSearch:`Caută…`,playAudio:`Redă`,pauseAudio:`Pauză`,openAudio:`Deschide audio`,removeAttachment:`Elimină`,aiAssistant:`Asistent AI`,operator:`Operator`,openImage:`Deschide imaginea`,openPreview:`Deschide previzualizarea`,play:`Redă`,pause:`Pauză`,typing:`scrie…`,aiThinking:`gândește…`,aiSearching:`caută…`,typingSomeone:`Cineva`,signInToChat:`Te rugăm să te conectezi pentru a începe conversația.`,signInUnavailable:`Autentificarea nu este disponibilă în acest moment.`,googleSignIn:`Conectează-te cu Google`,googleUnavailable:`Autentificarea cu Google nu este disponibilă. Verifică conexiunea sau blocantul de reclame și încearcă din nou.`,passkeySignIn:`Conectează-te cu un passkey`,passkeyRegister:`Prima dată? Configurează un passkey`,passkeyError:`Nu am putut autentifica. Încearcă din nou.`,passkeyNoCredential:`Încă nu există un passkey pe acest dispozitiv. Atinge „Configurează un passkey” pentru a crea unul.`,googleSignInDemo:`Continuă cu Google`,connectingOperator:`Un operator ți-a fost alocat, te rugăm să aștepți…`,assignment:{eta:{minutes:`Un operator va răspunde în aproximativ {minutes} min`,soft:`De obicei răspundem în câteva minute`,businessHours:`Echipa revine la {time}`}},withOperator:`Acum discuți cu {name}`,operatorConnected:`Operator conectat`,chatResolved:`Conversație rezolvată`,chatResolvedByYou:`Conversație rezolvată de tine`,chatResolvedByOperator:`Conversație rezolvată de {name}`,resolveConversation:`Rezolvă conversația`,sources:`Surse`,moreSources:`+{count} mai multe`,askQuestion:`Pune o întrebare`,previewYou:`Tu: {text}`,threadsEmptyTitle:`Nicio conversație încă`,threadsEmptyBody:`Începe o conversație și va apărea aici.`,format:{bold:`Aldin`,italic:`Cursiv`,underline:`Subliniat`,strikethrough:`Tăiat`,bulletList:`Listă cu marcatori`,numberedList:`Listă numerotată`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Salvează`,linkCancel:`Anulează`,monospace:`Monospațiat`},queued:`Se așteaptă conexiunea`,notDelivered:`Nelivrat`,retry:`Reîncearcă`,offlineBanner:`Ești offline`,backOnline:`Ești din nou online`,threadsErrorTitle:`Nu s-au putut încărca conversațiile tale`,threadsErrorBody:`Verifică conexiunea și încearcă din nou.`,giphy:{title:`GIF-uri și stickere`,searchPlaceholder:`Caută pe GIPHY`,clear:`Șterge`,tabGifs:`GIF-uri`,tabStickers:`Stickere`,error:`Nu s-a putut încărca`,retry:`Reîncearcă`,empty:`Niciun rezultat`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Derulează la ultimul mesaj`,conversationClosed:`Această conversație este închisă`,startNewConversation:`Începe o conversație nouă`,conversationBlocked:`Această conversație este blocată`,visitorBlocked:`Nu mai poți trimite mesaje`,conversationClosedTitle:`Asta e tot 👋`,conversationClosedHint:`Această conversație este închisă. Poți începe una nouă oricând.`,fileFallback:`Fișier`},prechat:{title:`Înainte de a începe`,subtitle:`Câteva detalii rapide ca echipa noastră să te poată ajuta mai repede.`,labelName:`Nume`,labelEmail:`E-mail`,labelPhone:`Telefon`,labelCustom:`Detalii`,required:`Obligatoriu`,invalidEmail:`Te rugăm să introduci un e-mail valid`,invalidPhone:`Te rugăm să introduci un număr de telefon valid`,submit:`Continuă`,submitFailed:`Nu s-a putut trimite. Încearcă din nou.`},help:{searchPlaceholder:`Caută în ajutor`,emptyTitle:`Încă nu există articole`,emptyBody:`Încă nu este nimic aici.`,back:`Înapoi`,helpful:`A fost util?`,yes:`Da`,no:`Nu`,thanks:`Mulțumim pentru feedback.`,unresolvedCta:`Mai ai nevoie de ajutor? Scrie-ne`,noResults:`Niciun rezultat`,articleNotFound:`Articolul nu a fost găsit`,articleNotTranslated:`Acest articol nu este încă disponibil în limba ta.`,writtenBy:`Scris de {names}`,relatedTitle:`Articole similare`,collectionsCount:`{count, plural, =0 {Nicio colecție} one {# colecție} few {# colecții} other {# de colecții}}`,articlesCount:`{count, plural, =0 {Niciun articol} one {Articole: #} few {Articole: #} other {Articole: #}}`,authorsByline:`Autori {first}{remaining, plural, =0 {} one { și încă #} few { și încă #} other { și încă #}}`},news:{emptyTitle:`Încă nu există actualizări`,emptyBody:`Revino aici pentru noutăți și anunțuri despre produs.`,helpful:`Acest articol a fost util?`,yes:`Da`,no:`Nu`,thanks:`Mulțumim pentru feedback.`,searchPlaceholder:`Caută în noutăți`,noResults:`Nicio postare găsită`,editedAt:`editat {when}`,articleNotFound:`Articolul nu a fost găsit.`,articleNotTranslated:`Această postare nu este încă disponibilă în limba ta.`,readOriginal:`Citește originalul`,relatedTitle:`Similar`,writtenBy:`Scris de {names}`,unread:`Știri necitite`},reactions:{ariaLabel:`Reacții`,tapAria:`Reacționează cu {emoji}`},languageSelector:{title:`Citește în altă limbă`,ariaLabel:`Limbi articol`},branding:{poweredBy:`Susținut de`,wexio:`Wexio`},sound:{mute:`Dezactivează sunetele notificărilor`,unmute:`Activează sunetele notificărilor`},article:{tableOfContents:`Cuprins`,tabFallback:`Filă {n}`},peek:{newMessage:`Mesaj nou`,dismiss:`Închide`,aiAssistant:`Asistent AI`,operator:`Operator`,quickReplies:`Răspunsuri rapide`},lightbox:{mediaPreview:`Previzualizare media`,close:`Închide previzualizarea`,previous:`Anterior`,next:`Următor`},authError:{turnstileTitle:`Nu am putut verifica browserul`,turnstileBody:`Nu am putut finaliza verificarea de securitate. Uneori este o problemă de rețea sau de blocator de reclame. Încearcă din nou sau reîncarcă pagina.`,genericTitle:`Nu ne-am putut conecta`,genericBody:`Ceva nu a funcționat la autentificare. Încearcă din nou într-un moment.`,retry:`Încearcă din nou`,dismiss:`Închide`},profile:{title:`Profilul tău`,subtitle:`Actualizează-ți datele și modul în care funcționează widgetul.`,uploadAvatar:`Schimbă fotografia`,removeAvatar:`Elimină fotografia`,avatarUploading:`Se încarcă…`,preferencesHeading:`Preferințe`,preferenceLanguage:`Limbă`,preferenceDesktopNotifications:`Notificări desktop`,preferenceDesktopNotificationsHint:`Primește o notificare de sistem când widgetul nu este în prim-plan.`,preferenceThemeMode:`Temă`,themeAuto:`Ca în sistem`,themeLight:`Luminoasă`,themeDark:`Întunecată`,themeLocked:`Tema nu poate fi schimbată.`,pinnedHint:`Nu poate fi editat.`,requiredHint:`Obligatoriu`,invalidEmail:`Te rugăm să introduci o adresă de e-mail validă.`,invalidPhone:`Folosește formatul internațional, ex. +14155552671.`,noFields:`Aici nu este încă nimic de editat.`,save:`Salvează modificările`,saving:`Se salvează…`,cancel:`Renunță`,saved:`Modificările au fost salvate.`,loading:`Se încarcă profilul…`,loadError:`Profilul nu a putut fi încărcat. Încearcă din nou.`,retry:`Reîncearcă`,errorFieldNotAllowed:`Acest câmp nu poate fi editat în acest widget. Încearcă să reîncarci.`,errorFieldPinned:`Acest câmp este blocat de contul tău.`,errorFieldInvalid:`Unele valori nu sunt valide. Verifică câmpurile evidențiate.`,errorThemeLocked:`Tema nu poate fi schimbată.`,errorFeatureDisabled:`Editarea profilului nu este disponibilă.`,errorGeneric:`Modificările nu au putut fi salvate. Încearcă din nou.`,notificationsBlocked:`Notificările sunt blocate de browser. Actualizează permisiunile site-ului pentru a le activa.`,notificationsRequest:`Permite notificările când ești întrebat pentru a activa această funcție.`,systemFields:{avatar:`Fotografie`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`Acord WhatsApp`,webVerified:`Vizitator verificat`,firstName:`Prenume`,lastName:`Nume de familie`,username:`Nume de utilizator`,language:`Limbă`,email:`E-mail`,phone:`Telefon`,company:`Companie`,location:`Locație`,isValid:`Cont valid`,chatStatus:`Stare chat`,chatCategory:`Categorie chat`,priority:`Prioritate`,leadSource:`Sursă lead`,leadStatus:`Stare lead`,interestLevel:`Nivel de interes`,productInterest:`Interes pentru produs`,budgetRange:`Buget`,purchaseTimeline:`Termen de achiziție`,lastMessageSentAt:`Ultimul mesaj trimis`,lastMessageReceivedAt:`Ultimul mesaj primit`,lastSeenAt:`Văzut ultima dată`,firstMessageReceivedAt:`Primul contact`,isBlocked:`Blocat`,registrationDate:`Înregistrat`,aiAvailable:`Asistență AI`,totalMessagesSent:`Mesaje trimise`,totalMessagesReceived:`Mesaje primite`,totalAiMessagesSent:`Mesaje AI trimise`,totalBotMessagesSent:`Mesaje bot trimise`,totalUserMessagesSent:`Mesaje operator trimise`,flowCompletionRate:`Rată de finalizare flow`,lastFlowCompleted:`Ultimul flow finalizat`,totalFlowsStarted:`Flow-uri începute`,totalFlowsCompleted:`Flow-uri finalizate`},systemFieldOptions:{chatStatus:{ISSUE:`Problemă`,RESOLVED:`Rezolvat`,PENDING:`În așteptare`,IN_PROGRESS:`În curs`,CLOSED:`Închis`},chatCategory:{SALES:`Vânzări`,SUPPORT:`Suport`,BILLING:`Facturare`,FEEDBACK:`Feedback`,GENERAL:`General`,OTHER:`Altul`},priority:{LOW:`Scăzută`,MEDIUM:`Medie`,HIGH:`Ridicată`,URGENT:`Urgentă`},leadStatus:{NEW:`Nou`,CONTACTED:`Contactat`,QUALIFIED:`Calificat`,NEGOTIATING:`În negociere`,WON:`Câștigat`,LOST:`Pierdut`},interestLevel:{LOW:`Scăzut`,MEDIUM:`Mediu`,HIGH:`Ridicat`,VERY_HIGH:`Foarte ridicat`}},selectOption:`Selectați o opțiune`,noOptions:`Nicio opțiune configurată.`},transcript:{title:`Conversație cu {org}`,started:`Începută la {when}`,exported:`Exportată din {org} la {when}`,truncated:`Notă: sunt incluse doar cele mai recente mesaje.`,operator:`Operator`,you:`Tu`},notification:{newMessage:`Mesaj nou`,image:`Imagine`,video:`Video`,voiceMessage:`Mesaj vocal`,attachment:`Atașament`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-B17zynhG.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Beranda`,messages:`Pesan`,help:`Bantuan`,news:`Berita`,profile:`Profil`},header:{close:`Tutup`,back:`Kembali`,conversationSubtitle:`Tim kami juga dapat membantu`,helpTitle:`Bantuan`,newsTitle:`Berita`,expand:`Perluas widget`,collapse:`Ciutkan widget`,messagesTitle:`Pesan`,downloadTranscript:`Unduh transkrip`,moreActions:`Lainnya`},launcher:{open:`Buka chat`,close:`Tutup chat`,panel:`Obrolan`},tabError:{title:`Terjadi kesalahan`,hint:`Bagian ini tidak dapat ditampilkan.`,retry:`Coba lagi`},chunkError:{failed:`Gagal memuat`,retry:`Coba lagi`},home:{greetingHeadline:`Halo 👋`,greetingSubheadline:`Bagaimana kami bisa membantu?`,askTitle:`Ajukan pertanyaan`,askSubtitle:`Bot dan tim kami siap membantu`,recentMessageLabel:`Pesan terbaru`,recentMessageTitle:`Pesan terbaru`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 jam`,recentMessageSample:`Halo 👋 Terima kasih telah menghubungi - kami akan segera kembali.`,featuredArticleLoading:`Artikel pilihan`,featuredArticleTap:`Ketuk untuk baca`,featuredArticleEmpty:`Pilih artikel`,featuredArticleSetUp:`Konfigurasikan blok ini di dasbor Anda`,featuredArticleDemoEyebrow:`Pioneer · Catat tanggalnya`,featuredArticleDemoHeadline:`8 Oktober 2026`,featuredArticleDemoSubline:`San Francisco · Tatap muka + virtual`,featuredArticleDemoCta:`Lihat agenda peluncuran`,seeAgenda:`Lihat agenda peluncuran`,browseHelp:`Telusuri Bantuan`,whatsNew:`Apa yang baru`,searchPlaceholder:`Cari bantuan`,pinnedArticlesTitle:`Baca ini lebih dulu`,popularArticlesTitle:`Artikel populer`,pinnedArticleRow:`Artikel disematkan {n}`,newsPreviewTitle:`Berita terbaru`,seeAll:`Lihat semua`,newsPreviewRow:`Pembaruan berita {n}`,myConversationsTitle:`Percakapan Anda`,myConversationsEmpty:`Lihat percakapan Anda`,teamStatusOnline:`Kami online`,teamStatusReplyInstant:`Biasanya membalas langsung`,teamStatusReplyMinutes:`Biasanya membalas dalam beberapa menit`,teamStatusReplyHours:`Biasanya membalas dalam beberapa jam`,teamStatusReplyDay:`Biasanya membalas dalam sehari`,teamStatusAiOnline:`{name} bisa membantu sekarang`,teamStatusOperatorsBack:`Operator kembali {when}`,teamStatusOfflineUntil:`Kami sedang tidak ada, kembali {when}`,teamStatusOfflineSoon:`Kami sedang tidak ada, segera kembali`,recentMessageAttachment:`Lampiran`},messages:{today:`Hari ini`,yesterday:`Kemarin`,unreadMessages:`Pesan belum dibaca`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Belum ada pesan`,emptyBody:`Mulai percakapan dan tim kami akan menanggapi di sini.`,sendCta:`Kirim pesan`,attach:`Lampirkan file`,commands:`Perintah cepat`,record:`Rekam pesan suara`,stopRecording:`Berhenti merekam`,recording:`Merekam…`,uploading:`Mengunggah…`,uploadFailed:`Unggahan gagal`,voiceDenied:`Akses mikrofon ditolak`,voiceUnsupported:`Perekaman suara tidak didukung di browser ini`,fileTooLarge:`File terlalu besar (maks 10MB)`,fileMimeNotAllowed:`Jenis file ini tidak didukung`,emoji:`Sisipkan emoji`,cancelRecording:`Batalkan rekaman`,pauseRecording:`Jeda rekaman`,resumeRecording:`Lanjutkan rekaman`,playPreview:`Putar rekaman`,emojiPicker:`Pemilih emoji`,emojiCategories:{suggested:`Terakhir digunakan`,smileysPeople:`Smiley & Orang`,animalsNature:`Hewan & Alam`,foodDrink:`Makanan & Minuman`,travelPlaces:`Perjalanan & Tempat`,activities:`Aktivitas`,objects:`Objek`,symbols:`Simbol`,flags:`Bendera`},emojiSearch:`Cari…`,playAudio:`Putar`,pauseAudio:`Jeda`,openAudio:`Buka audio`,removeAttachment:`Hapus`,aiAssistant:`Asisten AI`,operator:`Operator`,openImage:`Buka gambar`,openPreview:`Buka pratinjau`,play:`Putar`,pause:`Jeda`,typing:`mengetik…`,aiThinking:`berpikir…`,aiSearching:`menelusuri…`,typingSomeone:`Seseorang`,signInToChat:`Silakan masuk untuk memulai percakapan.`,signInUnavailable:`Masuk tidak tersedia saat ini.`,googleSignIn:`Masuk dengan Google`,googleUnavailable:`Masuk dengan Google tidak tersedia. Periksa koneksi atau pemblokir iklan Anda, lalu coba lagi.`,passkeySignIn:`Masuk dengan passkey`,passkeyRegister:`Pertama kali? Siapkan passkey`,passkeyError:`Tidak bisa masuk. Silakan coba lagi.`,passkeyNoCredential:`Belum ada passkey di perangkat ini. Ketuk "Siapkan passkey" untuk membuatnya.`,googleSignInDemo:`Lanjutkan dengan Google`,connectingOperator:`Operator telah ditugaskan, mohon tunggu…`,assignment:{eta:{minutes:`Operator akan membalas dalam sekitar {minutes} mnt`,soft:`Kami biasanya membalas dalam beberapa menit`,businessHours:`Tim akan kembali pada {time}`}},withOperator:`Anda sekarang mengobrol dengan {name}`,operatorConnected:`Operator terhubung`,chatResolved:`Percakapan diselesaikan`,chatResolvedByYou:`Percakapan diselesaikan oleh Anda`,chatResolvedByOperator:`Percakapan diselesaikan oleh {name}`,resolveConversation:`Selesaikan percakapan`,sources:`Sumber`,moreSources:`+{count} lainnya`,askQuestion:`Ajukan pertanyaan`,previewYou:`Anda: {text}`,threadsEmptyTitle:`Belum ada percakapan`,threadsEmptyBody:`Mulai percakapan dan akan muncul di sini.`,format:{bold:`Tebal`,italic:`Miring`,underline:`Garis bawah`,strikethrough:`Coret`,bulletList:`Daftar berpoin`,numberedList:`Daftar bernomor`,link:`Tautan`,linkPlaceholder:`https://…`,linkSave:`Simpan`,linkCancel:`Batal`,monospace:`Monospace`},queued:`Menunggu koneksi`,notDelivered:`Tidak terkirim`,retry:`Coba lagi`,offlineBanner:`Anda sedang offline`,backOnline:`Kembali online`,threadsErrorTitle:`Tidak dapat memuat percakapan Anda`,threadsErrorBody:`Periksa koneksi Anda dan coba lagi.`,giphy:{title:`GIF & Stiker`,searchPlaceholder:`Cari di GIPHY`,clear:`Hapus`,tabGifs:`GIF`,tabStickers:`Stiker`,error:`Gagal memuat`,retry:`Coba lagi`,empty:`Tidak ada hasil`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Gulir ke terbaru`,conversationClosed:`Percakapan ini ditutup`,startNewConversation:`Mulai percakapan baru`,conversationBlocked:`Percakapan ini diblokir`,visitorBlocked:`Anda tidak dapat mengirim pesan lagi`,conversationClosedTitle:`Sampai jumpa 👋`,conversationClosedHint:`Percakapan ini ditutup. Mulai yang baru kapan saja.`,fileFallback:`File`},prechat:{title:`Sebelum kita mulai`,subtitle:`Beberapa detail singkat agar tim kami bisa membantu Anda lebih cepat.`,labelName:`Nama`,labelEmail:`Email`,labelPhone:`Telepon`,labelCustom:`Detail`,required:`Wajib`,invalidEmail:`Silakan masukkan email yang valid`,invalidPhone:`Silakan masukkan nomor telepon yang valid`,submit:`Lanjutkan`,submitFailed:`Tidak bisa mengirim - silakan coba lagi.`},help:{searchPlaceholder:`Cari bantuan`,emptyTitle:`Belum ada artikel`,emptyBody:`Belum ada apa-apa di sini.`,back:`Kembali`,helpful:`Apakah ini bermanfaat?`,yes:`Ya`,no:`Tidak`,thanks:`Terima kasih atas masukannya.`,unresolvedCta:`Masih butuh bantuan? Kirim pesan`,noResults:`Tidak ada hasil`,articleNotFound:`Artikel tidak ditemukan`,articleNotTranslated:`Artikel ini belum tersedia dalam bahasa Anda.`,writtenBy:`Ditulis oleh {names}`,relatedTitle:`Artikel terkait`,collectionsCount:`{count, plural, =0 {Tidak ada koleksi} other {# koleksi}}`,articlesCount:`{count, plural, =0 {Tidak ada artikel} other {Artikel: #}}`,authorsByline:`Penulis {first}{remaining, plural, =0 {} other { dan # lainnya}}`},news:{unread:`Berita belum dibaca`,emptyTitle:`Belum ada pembaruan`,emptyBody:`Kembali ke sini untuk berita produk dan pengumuman.`,helpful:`Apakah artikel ini bermanfaat?`,yes:`Ya`,no:`Tidak`,thanks:`Terima kasih atas masukannya.`,searchPlaceholder:`Cari berita`,noResults:`Tidak ada postingan yang cocok`,editedAt:`diedit {when}`,articleNotFound:`Artikel tidak ditemukan.`,articleNotTranslated:`Postingan ini belum tersedia dalam bahasa Anda.`,readOriginal:`Baca aslinya`,relatedTitle:`Terkait`,writtenBy:`Ditulis oleh {names}`},reactions:{ariaLabel:`Reaksi`,tapAria:`Reaksi dengan {emoji}`},languageSelector:{title:`Baca dalam bahasa lain`,ariaLabel:`Bahasa artikel`},branding:{poweredBy:`Didukung oleh`,wexio:`Wexio`},sound:{mute:`Bisukan suara notifikasi`,unmute:`Aktifkan suara notifikasi`},article:{tableOfContents:`Daftar isi`,tabFallback:`Tab {n}`},peek:{newMessage:`Pesan baru`,dismiss:`Tutup`,aiAssistant:`Asisten AI`,operator:`Operator`,quickReplies:`Balasan cepat`},lightbox:{mediaPreview:`Pratinjau media`,close:`Tutup pratinjau`,previous:`Sebelumnya`,next:`Berikutnya`},authError:{turnstileTitle:`Tidak bisa memverifikasi browser Anda`,turnstileBody:`Kami tidak dapat menyelesaikan pemeriksaan keamanan. Terkadang ini masalah jaringan atau ad-blocker. Coba lagi atau muat ulang halaman.`,genericTitle:`Tidak bisa terhubung`,genericBody:`Terjadi kesalahan saat masuk. Silakan coba lagi sebentar.`,retry:`Coba lagi`,dismiss:`Tutup`},profile:{title:`Profil Anda`,subtitle:`Perbarui info Anda dan bagaimana widget bekerja.`,uploadAvatar:`Ubah foto`,removeAvatar:`Hapus foto`,avatarUploading:`Mengunggah…`,preferencesHeading:`Preferensi`,preferenceLanguage:`Bahasa`,preferenceDesktopNotifications:`Notifikasi desktop`,preferenceDesktopNotificationsHint:`Dapatkan notifikasi sistem saat widget tidak terfokus.`,preferenceThemeMode:`Tema`,themeAuto:`Ikuti sistem`,themeLight:`Terang`,themeDark:`Gelap`,themeLocked:`Tema tidak dapat diubah.`,pinnedHint:`Tidak dapat diedit.`,requiredHint:`Wajib`,invalidEmail:`Silakan masukkan alamat email yang valid.`,invalidPhone:`Gunakan format internasional, misal +14155552671.`,noFields:`Belum ada yang bisa diedit di sini.`,save:`Simpan perubahan`,saving:`Menyimpan…`,cancel:`Batal`,saved:`Perubahan tersimpan.`,loading:`Memuat profil…`,loadError:`Tidak bisa memuat profil Anda. Silakan coba lagi.`,retry:`Coba lagi`,errorFieldNotAllowed:`Bidang ini tidak dapat diedit di widget ini. Coba muat ulang.`,errorFieldPinned:`Bidang ini dikunci oleh akun Anda.`,errorFieldInvalid:`Beberapa nilai tidak valid. Periksa bidang yang ditandai.`,errorThemeLocked:`Tema tidak dapat diubah.`,errorFeatureDisabled:`Pengeditan profil tidak tersedia.`,errorGeneric:`Tidak bisa menyimpan perubahan. Silakan coba lagi.`,notificationsBlocked:`Notifikasi diblokir oleh browser. Perbarui izin situs untuk mengaktifkan.`,notificationsRequest:`Izinkan notifikasi saat diminta untuk mengaktifkannya.`,systemFields:{avatar:`Foto`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`Setujui WhatsApp`,webVerified:`Pengunjung terverifikasi`,firstName:`Nama depan`,lastName:`Nama belakang`,username:`Nama pengguna`,language:`Bahasa`,email:`Email`,phone:`Telepon`,company:`Perusahaan`,location:`Lokasi`,isValid:`Akun valid`,chatStatus:`Status chat`,chatCategory:`Kategori chat`,priority:`Prioritas`,leadSource:`Sumber lead`,leadStatus:`Status lead`,interestLevel:`Tingkat minat`,productInterest:`Minat produk`,budgetRange:`Anggaran`,purchaseTimeline:`Jadwal pembelian`,lastMessageSentAt:`Pesan terakhir dikirim`,lastMessageReceivedAt:`Pesan terakhir diterima`,lastSeenAt:`Terakhir terlihat`,firstMessageReceivedAt:`Kontak pertama`,isBlocked:`Diblokir`,registrationDate:`Terdaftar`,aiAvailable:`Bantuan AI`,totalMessagesSent:`Pesan terkirim`,totalMessagesReceived:`Pesan diterima`,totalAiMessagesSent:`Pesan AI terkirim`,totalBotMessagesSent:`Pesan bot terkirim`,totalUserMessagesSent:`Pesan operator terkirim`,flowCompletionRate:`Tingkat penyelesaian flow`,lastFlowCompleted:`Flow terakhir selesai`,totalFlowsStarted:`Flow dimulai`,totalFlowsCompleted:`Flow selesai`},systemFieldOptions:{chatStatus:{ISSUE:`Masalah`,RESOLVED:`Selesai`,PENDING:`Tertunda`,IN_PROGRESS:`Sedang berjalan`,CLOSED:`Ditutup`},chatCategory:{SALES:`Penjualan`,SUPPORT:`Dukungan`,BILLING:`Penagihan`,FEEDBACK:`Masukan`,GENERAL:`Umum`,OTHER:`Lainnya`},priority:{LOW:`Rendah`,MEDIUM:`Sedang`,HIGH:`Tinggi`,URGENT:`Mendesak`},leadStatus:{NEW:`Baru`,CONTACTED:`Telah dihubungi`,QUALIFIED:`Memenuhi syarat`,NEGOTIATING:`Negosiasi`,WON:`Menang`,LOST:`Kalah`},interestLevel:{LOW:`Rendah`,MEDIUM:`Sedang`,HIGH:`Tinggi`,VERY_HIGH:`Sangat tinggi`}},selectOption:`Pilih satu opsi`,noOptions:`Belum ada opsi yang dikonfigurasi.`},transcript:{title:`Percakapan dengan {org}`,started:`Dimulai pada {when}`,exported:`Diekspor dari {org} pada {when}`,truncated:`Catatan: hanya pesan terbaru yang disertakan.`,operator:`Operator`,you:`Anda`},notification:{newMessage:`Pesan baru`,image:`Gambar`,video:`Video`,voiceMessage:`Pesan suara`,attachment:`Lampiran`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-BEJDHxER.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Hjem`,messages:`Meldinger`,help:`Hjelp`,news:`Nyheter`,profile:`Profil`},header:{close:`Lukk`,back:`Tilbake`,conversationSubtitle:`Teamet vårt kan også hjelpe`,helpTitle:`Hjelp`,newsTitle:`Nyheter`,expand:`Utvid widgeten`,collapse:`Minimer widgeten`,messagesTitle:`Meldinger`,downloadTranscript:`Last ned samtalen`,moreActions:`Mer`},launcher:{open:`Åpne chat`,close:`Lukk chat`,panel:`Chat`},tabError:{title:`Noe gikk galt`,hint:`Denne delen kunne ikke vises.`,retry:`Prøv igjen`},chunkError:{failed:`Kunne ikke laste`,retry:`Prøv igjen`},home:{greetingHeadline:`Hei der 👋`,greetingSubheadline:`Hvordan kan vi hjelpe?`,askTitle:`Still et spørsmål`,askSubtitle:`Boten og teamet vårt kan hjelpe`,recentMessageLabel:`Siste melding`,recentMessageTitle:`Siste melding`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4t`,recentMessageSample:`Hei der 👋 Takk for at du tar kontakt - vi kommer straks tilbake.`,featuredArticleLoading:`Utvalgt artikkel`,featuredArticleTap:`Trykk for å lese`,featuredArticleEmpty:`Velg en artikkel`,featuredArticleSetUp:`Konfigurer denne blokken i dashbordet`,featuredArticleDemoEyebrow:`Pioneer · Sett av datoen`,featuredArticleDemoHeadline:`8. oktober 2026`,featuredArticleDemoSubline:`San Francisco · Fysisk + digitalt`,featuredArticleDemoCta:`Se programmet`,seeAgenda:`Se programmet`,browseHelp:`Bla i hjelpen`,whatsNew:`Hva er nytt`,searchPlaceholder:`Søk i hjelp`,pinnedArticlesTitle:`Les disse først`,popularArticlesTitle:`Populære artikler`,pinnedArticleRow:`Festet artikkel {n}`,newsPreviewTitle:`Siste nytt`,seeAll:`Se alle`,newsPreviewRow:`Nyhetsoppdatering {n}`,myConversationsTitle:`Dine samtaler`,myConversationsEmpty:`Se dine samtaler`,teamStatusOnline:`Vi er på nett`,teamStatusReplyInstant:`Svarer vanligvis umiddelbart`,teamStatusReplyMinutes:`Svarer vanligvis i løpet av noen minutter`,teamStatusReplyHours:`Svarer vanligvis i løpet av noen timer`,teamStatusReplyDay:`Svarer vanligvis i løpet av en dag`,teamStatusAiOnline:`{name} kan hjelpe deg nå`,teamStatusOperatorsBack:`Operatørene er tilbake {when}`,teamStatusOfflineUntil:`Vi er borte, tilbake {when}`,teamStatusOfflineSoon:`Vi er borte, tilbake snart`,recentMessageAttachment:`Vedlegg`},messages:{today:`I dag`,yesterday:`I går`,unreadMessages:`Uleste meldinger`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Ingen meldinger ennå`,emptyBody:`Start en samtale, så svarer teamet vårt deg her.`,sendCta:`Send oss en melding`,attach:`Legg ved en fil`,commands:`Hurtigkommandoer`,record:`Spill inn en talemelding`,stopRecording:`Stopp opptak`,recording:`Tar opp…`,uploading:`Laster opp…`,uploadFailed:`Opplastingen mislyktes`,voiceDenied:`Tilgang til mikrofon nektet`,voiceUnsupported:`Taleopptak støttes ikke i denne nettleseren`,fileTooLarge:`Filen er for stor (maks. 10 MB)`,fileMimeNotAllowed:`Denne filtypen støttes ikke`,emoji:`Sett inn emoji`,cancelRecording:`Avbryt opptak`,pauseRecording:`Pause opptak`,resumeRecording:`Fortsett opptak`,playPreview:`Spill av opptak`,emojiPicker:`Emoji-velger`,emojiCategories:{suggested:`Nylig brukt`,smileysPeople:`Smilefjes og personer`,animalsNature:`Dyr og natur`,foodDrink:`Mat og drikke`,travelPlaces:`Reise og steder`,activities:`Aktiviteter`,objects:`Objekter`,symbols:`Symboler`,flags:`Flagg`},emojiSearch:`Søk…`,playAudio:`Spill av`,pauseAudio:`Pause`,openAudio:`Åpne lyd`,removeAttachment:`Fjern`,aiAssistant:`AI-assistent`,operator:`Operatør`,openImage:`Åpne bilde`,openPreview:`Åpne forhåndsvisning`,play:`Spill av`,pause:`Pause`,typing:`skriver…`,aiThinking:`tenker…`,aiSearching:`søker…`,typingSomeone:`Noen`,signInToChat:`Logg inn for å starte samtalen.`,signInUnavailable:`Innlogging er ikke tilgjengelig akkurat nå.`,googleSignIn:`Logg inn med Google`,googleUnavailable:`Google-pålogging er ikke tilgjengelig. Sjekk tilkoblingen eller annonseblokkeringen og prøv igjen.`,passkeySignIn:`Logg inn med passkey`,passkeyRegister:`Første gang? Opprett en passkey`,passkeyError:`Kunne ikke logge inn. Prøv igjen.`,passkeyNoCredential:`Ingen passkey på denne enheten ennå. Trykk «Opprett en passkey» for å lage en.`,googleSignInDemo:`Fortsett med Google`,connectingOperator:`En operatør er tildelt, vennligst vent…`,assignment:{eta:{minutes:`En operatør svarer om cirka {minutes} min`,soft:`Vi svarer vanligvis innen få minutter`,businessHours:`Teamet er tilbake {time}`}},withOperator:`Du chatter nå med {name}`,operatorConnected:`Operatør tilkoblet`,chatResolved:`Samtalen er løst`,chatResolvedByYou:`Samtalen ble løst av deg`,chatResolvedByOperator:`Samtalen ble løst av {name}`,resolveConversation:`Løs samtalen`,sources:`Kilder`,moreSources:`+{count} til`,askQuestion:`Still et spørsmål`,previewYou:`Du: {text}`,threadsEmptyTitle:`Ingen samtaler ennå`,threadsEmptyBody:`Start en samtale, så vises den her.`,format:{bold:`Fet`,italic:`Kursiv`,underline:`Understreking`,strikethrough:`Gjennomstreking`,bulletList:`Punktliste`,numberedList:`Nummerert liste`,link:`Lenke`,linkPlaceholder:`https://…`,linkSave:`Lagre`,linkCancel:`Avbryt`,monospace:`Monospace`},queued:`Venter på tilkobling`,notDelivered:`Ikke levert`,retry:`Prøv igjen`,offlineBanner:`Du er frakoblet`,backOnline:`Tilbake på nett`,threadsErrorTitle:`Kunne ikke laste samtalene dine`,threadsErrorBody:`Sjekk tilkoblingen og prøv igjen.`,giphy:{title:`GIF-er og klistremerker`,searchPlaceholder:`Søk på GIPHY`,clear:`Tøm`,tabGifs:`GIF-er`,tabStickers:`Klistremerker`,error:`Kunne ikke laste`,retry:`Prøv igjen`,empty:`Ingen resultater`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Gå til siste`,conversationClosed:`Denne samtalen er avsluttet`,startNewConversation:`Start en ny samtale`,conversationBlocked:`Denne samtalen er blokkert`,visitorBlocked:`Du kan ikke lenger sende meldinger`,conversationClosedTitle:`Det var det 👋`,conversationClosedHint:`Denne samtalen er avsluttet. Start en ny når du vil.`,fileFallback:`Fil`},prechat:{title:`Før vi starter`,subtitle:`Noen raske detaljer slik at teamet vårt kan hjelpe deg raskere.`,labelName:`Navn`,labelEmail:`E-post`,labelPhone:`Telefon`,labelCustom:`Detaljer`,required:`Påkrevd`,invalidEmail:`Skriv inn en gyldig e-postadresse`,invalidPhone:`Skriv inn et gyldig telefonnummer`,submit:`Fortsett`,submitFailed:`Kunne ikke sende - prøv igjen.`},help:{searchPlaceholder:`Søk i hjelp`,emptyTitle:`Ingen artikler ennå`,emptyBody:`Ingenting her ennå.`,back:`Tilbake`,helpful:`Var dette nyttig?`,yes:`Ja`,no:`Nei`,thanks:`Takk for tilbakemeldingen.`,unresolvedCta:`Trenger du fortsatt hjelp? Skriv til oss`,noResults:`Ingen treff`,articleNotFound:`Artikkel ikke funnet`,articleNotTranslated:`Denne artikkelen er ikke tilgjengelig på språket ditt ennå.`,writtenBy:`Skrevet av {names}`,relatedTitle:`Relaterte artikler`,collectionsCount:`{count, plural, =0 {Ingen samlinger} one {# samling} other {# samlinger}}`,articlesCount:`{count, plural, =0 {Ingen artikler} one {Artikler: #} other {Artikler: #}}`,authorsByline:`Forfattere {first}{remaining, plural, =0 {} one { og # til} other { og # til}}`},news:{emptyTitle:`Ingen oppdateringer ennå`,emptyBody:`Kom tilbake hit for produktnyheter og kunngjøringer.`,helpful:`Var denne artikkelen nyttig?`,yes:`Ja`,no:`Nei`,thanks:`Takk for tilbakemeldingen.`,searchPlaceholder:`Søk i nyheter`,noResults:`Ingen treff`,editedAt:`redigert {when}`,articleNotFound:`Artikkel ikke funnet.`,articleNotTranslated:`Dette innlegget er ikke tilgjengelig på språket ditt ennå.`,readOriginal:`Les originalen`,relatedTitle:`Relatert`,writtenBy:`Skrevet av {names}`,unread:`Uleste nyheter`},reactions:{ariaLabel:`Reaksjoner`,tapAria:`Reager med {emoji}`},languageSelector:{title:`Les på et annet språk`,ariaLabel:`Artikkelens språk`},branding:{poweredBy:`Drevet av`,wexio:`Wexio`},sound:{mute:`Slå av varsellyder`,unmute:`Slå på varsellyder`},article:{tableOfContents:`Innholdsfortegnelse`,tabFallback:`Fane {n}`},peek:{newMessage:`Ny melding`,dismiss:`Lukk`,aiAssistant:`AI-assistent`,operator:`Operatør`,quickReplies:`Hurtigsvar`},lightbox:{mediaPreview:`Forhåndsvisning av media`,close:`Lukk forhåndsvisning`,previous:`Forrige`,next:`Neste`},authError:{turnstileTitle:`Kunne ikke verifisere nettleseren din`,turnstileBody:`Vi klarte ikke å fullføre sikkerhetssjekken. Det kan skyldes nettverk eller en annonseblokkering. Prøv igjen, eller last inn siden på nytt.`,genericTitle:`Kunne ikke koble til`,genericBody:`Noe gikk galt under innloggingen. Prøv igjen om et øyeblikk.`,retry:`Prøv igjen`,dismiss:`Lukk`},profile:{title:`Profilen din`,subtitle:`Oppdater informasjonen din og hvordan widgeten oppfører seg.`,uploadAvatar:`Bytt bilde`,removeAvatar:`Fjern bilde`,avatarUploading:`Laster opp…`,preferencesHeading:`Innstillinger`,preferenceLanguage:`Språk`,preferenceDesktopNotifications:`Skrivebordsvarsler`,preferenceDesktopNotificationsHint:`Få et systemvarsel når widgeten ikke er i fokus.`,preferenceThemeMode:`Tema`,themeAuto:`Følg systemet`,themeLight:`Lyst`,themeDark:`Mørkt`,themeLocked:`Temaet kan ikke endres.`,pinnedHint:`Kan ikke redigeres.`,requiredHint:`Påkrevd`,invalidEmail:`Skriv inn en gyldig e-postadresse.`,invalidPhone:`Bruk internasjonalt format, f.eks. +14155552671.`,noFields:`Det er ingenting å redigere her ennå.`,save:`Lagre endringer`,saving:`Lagrer…`,cancel:`Forkast`,saved:`Endringene er lagret.`,loading:`Laster profil…`,loadError:`Kunne ikke laste profilen din. Prøv igjen.`,retry:`Prøv igjen`,errorFieldNotAllowed:`Dette feltet kan ikke redigeres i denne widgeten. Prøv å oppdatere.`,errorFieldPinned:`Dette feltet er låst av kontoen din.`,errorFieldInvalid:`Noen verdier er ugyldige. Sjekk de uthevede feltene.`,errorThemeLocked:`Temaet kan ikke endres.`,errorFeatureDisabled:`Profilredigering er ikke tilgjengelig.`,errorGeneric:`Kunne ikke lagre endringene dine. Prøv igjen.`,notificationsBlocked:`Varsler er blokkert av nettleseren. Oppdater nettstedets tillatelser for å aktivere.`,notificationsRequest:`Tillat varsler når du blir spurt for å aktivere dette.`,systemFields:{avatar:`Bilde`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp-samtykke`,webVerified:`Verifisert besøkende`,firstName:`Fornavn`,lastName:`Etternavn`,username:`Brukernavn`,language:`Språk`,email:`E-post`,phone:`Telefon`,company:`Selskap`,location:`Sted`,isValid:`Gyldig konto`,chatStatus:`Chatstatus`,chatCategory:`Chatkategori`,priority:`Prioritet`,leadSource:`Leadkilde`,leadStatus:`Leadstatus`,interestLevel:`Interessenivå`,productInterest:`Produktinteresse`,budgetRange:`Budsjett`,purchaseTimeline:`Tidsplan for kjøp`,lastMessageSentAt:`Sist sendt`,lastMessageReceivedAt:`Sist mottatt`,lastSeenAt:`Sist sett`,firstMessageReceivedAt:`Første kontakt`,isBlocked:`Blokkert`,registrationDate:`Registrert`,aiAvailable:`AI-assistanse`,totalMessagesSent:`Sendte meldinger`,totalMessagesReceived:`Mottatte meldinger`,totalAiMessagesSent:`Sendte AI-meldinger`,totalBotMessagesSent:`Sendte bot-meldinger`,totalUserMessagesSent:`Sendte operatørmeldinger`,flowCompletionRate:`Fullføringsgrad for flyter`,lastFlowCompleted:`Sist fullførte flyt`,totalFlowsStarted:`Startede flyter`,totalFlowsCompleted:`Fullførte flyter`},systemFieldOptions:{chatStatus:{ISSUE:`Problem`,RESOLVED:`Løst`,PENDING:`Venter`,IN_PROGRESS:`Pågår`,CLOSED:`Lukket`},chatCategory:{SALES:`Salg`,SUPPORT:`Støtte`,BILLING:`Fakturering`,FEEDBACK:`Tilbakemelding`,GENERAL:`Generelt`,OTHER:`Annet`},priority:{LOW:`Lav`,MEDIUM:`Middels`,HIGH:`Høy`,URGENT:`Haster`},leadStatus:{NEW:`Ny`,CONTACTED:`Kontaktet`,QUALIFIED:`Kvalifisert`,NEGOTIATING:`Forhandler`,WON:`Vunnet`,LOST:`Tapt`},interestLevel:{LOW:`Lav`,MEDIUM:`Middels`,HIGH:`Høy`,VERY_HIGH:`Svært høy`}},selectOption:`Velg et alternativ`,noOptions:`Ingen alternativer er konfigurert.`},transcript:{title:`Samtale med {org}`,started:`Startet {when}`,exported:`Eksportert fra {org} {when}`,truncated:`Merk: Bare de siste meldingene er med.`,operator:`Operatør`,you:`Du`},notification:{newMessage:`Ny melding`,image:`Bilde`,video:`Video`,voiceMessage:`Talemelding`,attachment:`Vedlegg`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-BHFiADhs.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{E as e}from"./widget-react-DIvxQOfe.js";var t=e({article:()=>g,authError:()=>y,branding:()=>m,chunkError:()=>o,default:()=>C,header:()=>r,help:()=>u,home:()=>s,languageSelector:()=>p,launcher:()=>i,lightbox:()=>v,messages:()=>c,news:()=>d,notification:()=>S,peek:()=>_,prechat:()=>l,profile:()=>b,reactions:()=>f,sound:()=>h,tabError:()=>a,tabs:()=>n,transcript:()=>x}),n={home:`Home`,messages:`Messages`,help:`Help`,news:`News`,profile:`Profile`},r={close:`Close`,back:`Back`,conversationSubtitle:`Our team can also help`,helpTitle:`Help`,newsTitle:`News`,expand:`Expand widget`,collapse:`Collapse widget`,messagesTitle:`Messages`,downloadTranscript:`Download transcript`,moreActions:`More`},i={open:`Open chat`,close:`Close chat`,panel:`Chat`},a={title:`Something went wrong`,hint:`This section couldn't be shown.`,retry:`Try again`},o={failed:`Couldn't load`,retry:`Retry`},s={greetingHeadline:`Hi there 👋`,greetingSubheadline:`How can we help?`,askTitle:`Ask a question`,askSubtitle:`Our bot and team can help`,recentMessageLabel:`Recent message`,recentMessageTitle:`Recent message`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4h`,recentMessageSample:`Hi there 👋 Thanks for reaching out - we'll be right back with you.`,featuredArticleLoading:`Featured article`,featuredArticleTap:`Tap to read`,featuredArticleEmpty:`Pick an article`,featuredArticleSetUp:`Configure this block in your dashboard`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`October 8, 2026`,featuredArticleDemoSubline:`San Francisco · In-person + virtual`,featuredArticleDemoCta:`See the launch agenda`,seeAgenda:`See the launch agenda`,browseHelp:`Browse Help`,whatsNew:`What's new`,searchPlaceholder:`Search for help`,pinnedArticlesTitle:`Read these first`,popularArticlesTitle:`Popular articles`,pinnedArticleRow:`Pinned article {n}`,newsPreviewTitle:`Latest news`,seeAll:`See all`,newsPreviewRow:`News update {n}`,myConversationsTitle:`Your conversations`,myConversationsEmpty:`View your conversations`,teamStatusOnline:`We're online`,teamStatusReplyInstant:`Usually replies instantly`,teamStatusReplyMinutes:`Usually replies in a few minutes`,teamStatusReplyHours:`Usually replies within a few hours`,teamStatusReplyDay:`Usually replies within a day`,teamStatusAiOnline:`{name} can help right now`,teamStatusOperatorsBack:`Operators back {when}`,teamStatusOfflineUntil:`We're away, back {when}`,teamStatusOfflineSoon:`We're away, back soon`,recentMessageAttachment:`Attachment`},c={today:`Today`,yesterday:`Yesterday`,unreadMessages:`Unread messages`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`No messages yet`,emptyBody:`Start a conversation and our team will get back to you here.`,sendCta:`Send us a message`,attach:`Attach a file`,commands:`Quick commands`,record:`Record a voice message`,stopRecording:`Stop recording`,recording:`Recording…`,uploading:`Uploading…`,uploadFailed:`Upload failed`,voiceDenied:`Microphone access denied`,voiceUnsupported:`Voice recording isn't supported in this browser`,fileTooLarge:`File is too large (max 10MB)`,fileMimeNotAllowed:`This file type isn't supported`,emoji:`Insert emoji`,cancelRecording:`Cancel recording`,pauseRecording:`Pause recording`,resumeRecording:`Resume recording`,playPreview:`Play recording`,emojiPicker:`Emoji picker`,emojiCategories:{suggested:`Recently used`,smileysPeople:`Smileys & People`,animalsNature:`Animals & Nature`,foodDrink:`Food & Drink`,travelPlaces:`Travel & Places`,activities:`Activities`,objects:`Objects`,symbols:`Symbols`,flags:`Flags`},emojiSearch:`Search…`,playAudio:`Play`,pauseAudio:`Pause`,openAudio:`Open audio`,removeAttachment:`Remove`,aiAssistant:`AI assistant`,operator:`Operator`,openImage:`Open image`,openPreview:`Open preview`,play:`Play`,pause:`Pause`,typing:`typing…`,aiThinking:`thinking…`,aiSearching:`browsing…`,typingSomeone:`Someone`,signInToChat:`Please sign in to start the conversation.`,signInUnavailable:`Sign-in is not available right now.`,googleSignIn:`Sign in with Google`,googleUnavailable:`Google sign-in isn't available. Check your connection or ad blocker and try again.`,passkeySignIn:`Sign in with a passkey`,passkeyRegister:`First time? Set up a passkey`,passkeyError:`Couldn't sign in. Please try again.`,passkeyNoCredential:`No passkey on this device yet. Tap “Set up a passkey” to create one.`,googleSignInDemo:`Continue with Google`,connectingOperator:`An operator has been assigned, please wait…`,assignment:{eta:{minutes:`An operator will reply in about {minutes} min`,soft:`We usually reply within a few minutes`,businessHours:`The team will be back at {time}`}},withOperator:`You're now chatting with {name}`,operatorConnected:`Operator connected`,chatResolved:`Conversation resolved`,chatResolvedByYou:`Conversation resolved by you`,chatResolvedByOperator:`Conversation resolved by {name}`,resolveConversation:`Resolve conversation`,sources:`Sources`,moreSources:`+{count} more`,askQuestion:`Ask a question`,previewYou:`You: {text}`,threadsEmptyTitle:`No conversations yet`,threadsEmptyBody:`Start a conversation and it will show up here.`,format:{bold:`Bold`,italic:`Italic`,underline:`Underline`,strikethrough:`Strikethrough`,bulletList:`Bulleted list`,numberedList:`Numbered list`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Save`,linkCancel:`Cancel`,monospace:`Monospace`},queued:`Waiting for connection`,notDelivered:`Not delivered`,retry:`Retry`,offlineBanner:`You're offline`,backOnline:`Back online`,threadsErrorTitle:`Could not load your conversations`,threadsErrorBody:`Check your connection and try again.`,giphy:{title:`GIFs & Stickers`,searchPlaceholder:`Search GIPHY`,clear:`Clear`,tabGifs:`GIFs`,tabStickers:`Stickers`,error:`Couldn't load`,retry:`Retry`,empty:`No results`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Scroll to latest`,conversationClosed:`This conversation is closed`,startNewConversation:`Start a new conversation`,conversationBlocked:`This conversation is blocked`,visitorBlocked:`You can no longer send messages`,conversationClosedTitle:`That's a wrap 👋`,conversationClosedHint:`This conversation is closed. Start a new one whenever you like.`,fileFallback:`File`},l={title:`Before we start`,subtitle:`A few quick details so our team can help you faster.`,labelName:`Name`,labelEmail:`Email`,labelPhone:`Phone`,labelCustom:`Details`,required:`Required`,invalidEmail:`Please enter a valid email`,invalidPhone:`Please enter a valid phone number`,submit:`Continue`,submitFailed:`Couldn't submit - please try again.`},u={searchPlaceholder:`Search for help`,emptyTitle:`No articles yet`,emptyBody:`Nothing here yet.`,back:`Back`,helpful:`Was this helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,unresolvedCta:`Still need help? Message us`,noResults:`No results`,articleNotFound:`Article not found`,articleNotTranslated:`This article isn't available in your language yet.`,writtenBy:`Written by {names}`,relatedTitle:`Related articles`,collectionsCount:`{count, plural, =0 {No collections} one {# collection} other {# collections}}`,articlesCount:`{count, plural, =0 {No articles} one {Articles: #} other {Articles: #}}`,authorsByline:`Authors {first}{remaining, plural, =0 {} one { and # more} other { and # more}}`},d={unread:`Unread news`,emptyTitle:`No updates yet`,emptyBody:`Check back here for product news and announcements.`,helpful:`Was this article helpful?`,yes:`Yes`,no:`No`,thanks:`Thanks for the feedback.`,searchPlaceholder:`Search news`,noResults:`No matching posts`,editedAt:`edited {when}`,articleNotFound:`Article not found.`,articleNotTranslated:`This post isn't available in your language yet.`,readOriginal:`Read the original`,relatedTitle:`Related`,writtenBy:`Written by {names}`},f={ariaLabel:`Reactions`,tapAria:`React with {emoji}`},p={title:`Read in another language`,ariaLabel:`Article languages`},m={poweredBy:`Powered by`,wexio:`Wexio`},h={mute:`Mute notification sounds`,unmute:`Unmute notification sounds`},g={tableOfContents:`Table of contents`,tabFallback:`Tab {n}`},_={newMessage:`New message`,dismiss:`Dismiss`,aiAssistant:`AI assistant`,operator:`Operator`,quickReplies:`Quick replies`},v={mediaPreview:`Media preview`,close:`Close preview`,previous:`Previous`,next:`Next`},y={turnstileTitle:`Couldn't verify your browser`,turnstileBody:`We weren't able to complete the security check. This is sometimes a network or ad-blocker issue. Try again, or reload the page.`,genericTitle:`Couldn't connect`,genericBody:`Something went wrong while signing you in. Please try again in a moment.`,retry:`Try again`,dismiss:`Dismiss`},b={title:`Your profile`,subtitle:`Update your info and how the widget behaves.`,uploadAvatar:`Change photo`,removeAvatar:`Remove photo`,avatarUploading:`Uploading…`,preferencesHeading:`Preferences`,preferenceLanguage:`Language`,preferenceDesktopNotifications:`Desktop notifications`,preferenceDesktopNotificationsHint:`Get a system notification when the widget isn't focused.`,preferenceThemeMode:`Theme`,themeAuto:`Match system`,themeLight:`Light`,themeDark:`Dark`,themeLocked:`Theme can't be changed.`,pinnedHint:`Not editable.`,requiredHint:`Required`,invalidEmail:`Please enter a valid email address.`,invalidPhone:`Use international format, e.g. +14155552671.`,noFields:`There's nothing to edit here yet.`,save:`Save changes`,saving:`Saving…`,cancel:`Discard`,saved:`Changes saved.`,loading:`Loading profile…`,loadError:`Couldn't load your profile. Please try again.`,retry:`Retry`,errorFieldNotAllowed:`This field isn't editable in this widget. Try refreshing.`,errorFieldPinned:`This field is locked by your account.`,errorFieldInvalid:`Some values aren't valid. Check the highlighted fields.`,errorThemeLocked:`Theme can't be changed.`,errorFeatureDisabled:`Profile editing isn't available.`,errorGeneric:`Couldn't save your changes. Please try again.`,notificationsBlocked:`Notifications are blocked by the browser. Update site permissions to enable.`,notificationsRequest:`Allow notifications when prompted to enable this.`,systemFields:{avatar:`Photo`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp opt-in`,webVerified:`Verified visitor`,firstName:`First name`,lastName:`Last name`,username:`Username`,language:`Language`,email:`Email`,phone:`Phone`,company:`Company`,location:`Location`,isValid:`Account valid`,chatStatus:`Chat status`,chatCategory:`Chat category`,priority:`Priority`,leadSource:`Lead source`,leadStatus:`Lead status`,interestLevel:`Interest level`,productInterest:`Product interest`,budgetRange:`Budget`,purchaseTimeline:`Purchase timeline`,lastMessageSentAt:`Last message sent`,lastMessageReceivedAt:`Last message received`,lastSeenAt:`Last seen`,firstMessageReceivedAt:`First contact`,isBlocked:`Blocked`,registrationDate:`Registered`,aiAvailable:`AI assistance`,totalMessagesSent:`Messages sent`,totalMessagesReceived:`Messages received`,totalAiMessagesSent:`AI messages sent`,totalBotMessagesSent:`Bot messages sent`,totalUserMessagesSent:`Operator messages sent`,flowCompletionRate:`Flow completion rate`,lastFlowCompleted:`Last completed flow`,totalFlowsStarted:`Flows started`,totalFlowsCompleted:`Flows completed`},systemFieldOptions:{chatStatus:{ISSUE:`Issue`,RESOLVED:`Resolved`,PENDING:`Pending`,IN_PROGRESS:`In progress`,CLOSED:`Closed`},chatCategory:{SALES:`Sales`,SUPPORT:`Support`,BILLING:`Billing`,FEEDBACK:`Feedback`,GENERAL:`General`,OTHER:`Other`},priority:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,URGENT:`Urgent`},leadStatus:{NEW:`New`,CONTACTED:`Contacted`,QUALIFIED:`Qualified`,NEGOTIATING:`Negotiating`,WON:`Won`,LOST:`Lost`},interestLevel:{LOW:`Low`,MEDIUM:`Medium`,HIGH:`High`,VERY_HIGH:`Very high`}},selectOption:`Select an option`,noOptions:`No options configured.`},x={title:`Conversation with {org}`,started:`Started on {when}`,exported:`Exported from {org} on {when}`,truncated:`Note: only the most recent messages are included.`,operator:`Operator`,you:`You`},S={newMessage:`New message`,image:`Image`,video:`Video`,voiceMessage:`Voice message`,attachment:`Attachment`},C={tabs:n,header:r,launcher:i,tabError:a,chunkError:o,home:s,messages:c,prechat:l,help:u,news:d,reactions:f,languageSelector:p,branding:m,sound:h,article:g,peek:_,lightbox:v,authError:y,profile:b,transcript:x,notification:S};export{t as n,C as t};
2
+ //# sourceMappingURL=widget-react-BJNO-1kR.js.map
@@ -1,2 +1,2 @@
1
- globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{_ as e,i as t,n,t as r}from"./widget-react-FX5W7RyV.js";import{l as i,o as a,s as o}from"./widget-react-C-hnCqBf.js";import{t as s}from"./widget-react-Dl2PevZk.js";import{t as c}from"./widget-react-BxEMz2N0.js";import{t as l}from"./widget-react-DJczk-Ax.js";import{useEffect as u,useRef as d,useState as f}from"react";import{Fragment as p,jsx as m,jsxs as h}from"react/jsx-runtime";var g=r(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);function _(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}var v=class{constructor(){this.listeners={}}on(e,t,n){if(this.listeners[e]||(this.listeners[e]=new Set),n?.once){let n=(...r)=>{this.un(e,n),t(...r)};return this.listeners[e].add(n),()=>this.un(e,n)}return this.listeners[e].add(t),()=>this.un(e,t)}un(e,t){var n;(n=this.listeners[e])==null||n.delete(t)}once(e,t){return this.on(e,t,{once:!0})}unAll(){this.listeners={}}emit(e,...t){this.listeners[e]&&this.listeners[e].forEach((e=>e(...t)))}},y=class extends v{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit(`destroy`),this.subscriptions.forEach((e=>e())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},b=class extends v{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let e=()=>{this.isRunning&&(this.emit(`tick`),this.animationFrameId=requestAnimationFrame(e))};e()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},x=100,S=[`audio/webm`,`audio/wav`,`audio/mpeg`,`audio/mp4`,`audio/mp3`],C=class e extends y{constructor(e){var t,n,r;super(Object.assign(Object.assign({},e),{audioBitsPerSecond:e.audioBitsPerSecond??128e3,scrollingWaveform:(t=e.scrollingWaveform)!=null&&t,scrollingWaveformWindow:e.scrollingWaveformWindow??5,continuousWaveform:(n=e.continuousWaveform)!=null&&n,renderRecordedAudio:(r=e.renderRecordedAudio)==null||r,mediaRecorderTimeslice:e.mediaRecorderTimeslice??void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new b,this.subscriptions.push(this.timer.on(`tick`,(()=>{let e=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+e,this.emit(`record-progress`,this.duration)})))}static create(t){return new e(t||{})}renderMicStream(e){let t=new AudioContext,n=t.createMediaStreamSource(e),r=t.createAnalyser();n.connect(r),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(r.fftSize=32);let i=r.frequencyBinCount,a=new Float32Array(i),o=0;this.wavesurfer&&(this.originalOptions??(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let s=setInterval((()=>{if(!this.isWaveformPaused){if(r.getFloatTimeDomainData(a),this.options.scrollingWaveform){let e=Math.floor((this.options.scrollingWaveformWindow||0)*x),t=0;for(let e=0;e<i;e++){let n=Math.abs(a[e]);n>t&&(t=n)}this.dataWindow||(this.dataWindow=new Float32Array(e));let n=new Float32Array(e);if(this.dataWindow&&this.dataWindow.length>0){let t=e-1,r=this.dataWindow.slice(-t);n.set(r,0)}n[e-1]=t,this.dataWindow=n}else if(this.options.continuousWaveform){if(!this.dataWindow){let e=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*x):(this.wavesurfer?.getWidth()??0)*window.devicePixelRatio;this.dataWindow=new Float32Array(e)}let e=0;for(let t=0;t<i;t++){let n=Math.abs(a[t]);n>e&&(e=n)}if(o+1>this.dataWindow.length){let e=new Float32Array(2*this.dataWindow.length);e.set(this.dataWindow,0),this.dataWindow=e}this.dataWindow[o]=e,o++}else this.dataWindow=a;if(this.wavesurfer){let e=(this.dataWindow?.length??0)/x;this.wavesurfer.load(``,[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:e).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((e=>{console.error(`Error rendering real-time recording data:`,e)}))}}}),10);return{onDestroy:()=>{clearInterval(s),n?.disconnect(),t?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(e){return _(this,void 0,void 0,(function*(){let t;this.micStream&&this.stopMic();try{t=yield navigator.mediaDevices.getUserMedia({audio:e==null||e})}catch(e){throw Error(`Error accessing the microphone: `+e.message)}let n=this.renderMicStream(t);return this.micStream=n,this.unsubscribeDestroy=this.once(`destroy`,n.onDestroy),this.unsubscribeRecordEnd=this.once(`record-end`,n.onEnd),this.stream=t,t}))}stopMic(){var e,t,n;(e=this.micStream)==null||e.onDestroy(),(t=this.unsubscribeDestroy)==null||t.call(this),(n=this.unsubscribeRecordEnd)==null||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((e=>e.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(e){return _(this,void 0,void 0,(function*(){let t=this.stream||(yield this.startMic(e));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(t,{mimeType:this.options.mimeType||S.find((e=>MediaRecorder.isTypeSupported(e))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let r=[];n.ondataavailable=e=>{e.data.size>0&&r.push(e.data),this.emit(`record-data-available`,e.data)};let i=e=>{var t;let i=new Blob(r,{type:n.mimeType});this.emit(e,i),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(i),(t=this.wavesurfer)==null||t.load(this.recordedBlobUrl))};n.onpause=()=>i(`record-pause`),n.onstop=()=>i(`record-end`),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit(`record-start`)}))}getDuration(){return this.duration}isRecording(){return this.mediaRecorder?.state===`recording`}isPaused(){return this.mediaRecorder?.state===`paused`}isActive(){return this.mediaRecorder?.state!==`inactive`}stopRecording(){var e;this.isActive()&&((e=this.mediaRecorder)==null||e.stop(),this.timer.stop())}pauseRecording(){var e,t;this.isRecording()&&(this.isWaveformPaused=!0,(e=this.mediaRecorder)==null||e.requestData(),(t=this.mediaRecorder)==null||t.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var e;this.isPaused()&&(this.isWaveformPaused=!1,(e=this.mediaRecorder)==null||e.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit(`record-resume`))}static getAvailableAudioDevices(){return _(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((e=>e.filter((e=>e.kind===`audioinput`))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};function w(e){let t=Math.max(0,e);return`${Math.floor(t/60)}:${(t%60).toString().padStart(2,`0`)}`}function T(){if(typeof MediaRecorder>`u`)return null;for(let e of[`audio/webm;codecs=opus`,`audio/webm`,`audio/mp4`,`audio/ogg`])if(MediaRecorder.isTypeSupported?.(e))return e;return null}async function E(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=r.result;if(typeof e!=`string`){n(Error(`FileReader returned non-string result`));return}let i=e.indexOf(`,`);t(i>=0?e.slice(i+1):e)},r.onerror=()=>n(r.error??Error(`read failed`)),r.readAsDataURL(e)})}function D(e){let t=e?.name??``,n=e?.message??``;return t===`NotAllowedError`||t===`PermissionDeniedError`?`denied`:t===`NotFoundError`||t===`NotReadableError`||t===`OverconstrainedError`||t===`SecurityError`||t===`AbortError`||t===`TypeError`||/not found|could not start|secure origin|not readable|in use/i.test(n)?`failed`:/permission|denied|not allowed/i.test(n)?`denied`:`failed`}function O({onComplete:r,onCancel:c,onError:_}){let v=e(`messages`),y=d(null),b=d(null),x=d(null),S=d(null),O=d([]),A=d(null),[j,M]=f(`recording`),[N,P]=f(0),[F,I]=f(!1),L=d(null),R=d(!1);return u(()=>{let e=y.current;if(!e)return;if(typeof window>`u`||!window.MediaRecorder){_(`unsupported`);return}let t=!1;R.current=!1;let n=getComputedStyle(e),r=n.getPropertyValue(`--wx-primary`).trim()||`#5b6cff`,i=n.getPropertyValue(`--wx-fg-muted`).trim()||`#6b7280`,a=l.create({container:e,waveColor:i,progressColor:r,cursorColor:r,cursorWidth:2,height:32,barWidth:2,barGap:2,barRadius:2,interact:!0,hideScrollbar:!0});b.current=a,a.on(`play`,()=>I(!0)),a.on(`pause`,()=>I(!1)),a.on(`finish`,()=>I(!1));let o=a.registerPlugin(C.create({continuousWaveform:!0,continuousWaveformDuration:60,renderRecordedAudio:!1}));x.current=o;let s=null,c=null;return o.startMic().then(e=>{if(t||R.current){try{e.getTracks().forEach(e=>{e.stop()})}catch{}try{o.stopMic()}catch{}return}let n=T(),r=n?new MediaRecorder(e,{mimeType:n}):new MediaRecorder(e);S.current=r,c=r,O.current=[],r.addEventListener(`dataavailable`,e=>{e.data&&e.data.size>0&&O.current.push(e.data)}),r.addEventListener(`stop`,()=>{if(t||R.current)return;try{o.stopMic()}catch{}s!==null&&(clearInterval(s),s=null,A.current=null);let e=r.mimeType||n||`audio/webm`,i=new Blob(O.current,{type:e});E(i).then(n=>{if(t||R.current)return;let r=e.includes(`mp4`)?`mp4`:`webm`;L.current={base64:n,mimetype:e.split(`;`)[0].trim(),size:i.size,filename:`voice-${Date.now()}.${r}`},a.loadBlob(i).then(()=>{if(!(t||R.current)){try{a.setOptions({interact:!0})}catch{}try{a.setTime(0)}catch{}}}).catch(()=>{}),M(`preview`)}).catch(()=>_(`failed`))}),r.start();let i=performance.now();s=window.setInterval(()=>{let e=performance.now()-i,t=Math.floor(e/1e3);P(e=>e===t?e:t)},250),A.current=s}).catch(e=>{t||_(D(e))}),()=>{t=!0,s!==null&&clearInterval(s);try{c?.state===`recording`&&c.stop()}catch{}try{o.stopMic()}catch{}a.destroy(),b.current===a&&(b.current=null),x.current===o&&(x.current=null),S.current===c&&(S.current=null)}},[]),h(t.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.18},className:n(`flex items-center gap-1.5 rounded-wx-lg border border-wx-border bg-wx-bg px-2 py-2`),children:[m(k,{Icon:i,onClick:()=>{R.current=!0;try{S.current?.state===`recording`&&S.current.stop()}catch{}try{x.current?.stopMic()}catch{}try{b.current?.pause()}catch{}c()},ariaLabel:v(`cancelRecording`),intent:`ghost`}),h(`div`,{className:`flex h-9 min-w-0 flex-1 items-center gap-2 rounded-full bg-wx-bg-elevated px-3`,children:[j===`recording`&&m(`span`,{"aria-hidden":`true`,className:`h-2 w-2 shrink-0 animate-pulse rounded-full bg-wx-danger`}),m(`div`,{ref:y,"aria-hidden":`true`,className:n(`min-w-0 flex-1 overflow-hidden`,j!==`preview`&&`pointer-events-none`)}),m(`span`,{className:`shrink-0 font-mono text-xs tabular-nums text-wx-fg-muted`,children:w(N)})]}),j===`recording`&&m(t.button,{type:`button`,onClick:()=>{try{S.current?.state===`recording`&&S.current.stop()}catch{}},"aria-label":v(`stopRecording`),whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,`text-wx-fg-muted hover:bg-wx-bg-elevated hover:text-wx-fg`),children:m(g,{size:14})}),j===`preview`&&h(p,{children:[m(k,{Icon:F?a:o,onClick:()=>{let e=b.current;e&&(e.isPlaying()?e.pause():e.play())},ariaLabel:v(F?`pauseRecording`:`playPreview`),intent:`ghost`}),m(t.button,{type:`button`,onClick:()=>{let e=L.current;e&&r(e)},"aria-label":v(`sendCta`),whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,`bg-wx-primary text-wx-primary-fg hover:bg-wx-primary-hover`),children:m(s,{size:14})})]})]},`voice-recorder`)}function k({Icon:e,onClick:r,ariaLabel:i,intent:a,size:o=16}){let s=c();return m(t.button,{type:`button`,onClick:r,"aria-label":i,whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},...s.parentHandlers,className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,a===`primary`?`bg-wx-primary text-wx-primary-fg hover:bg-wx-primary-hover`:`text-wx-fg-muted hover:bg-wx-bg-elevated hover:text-wx-fg`),children:m(e,{ref:s.iconRef,size:o})})}export{O as VoiceRecorderBar};
2
- //# sourceMappingURL=widget-react-DmRVdLdI.js.map
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{b as e,i as t,n,t as r}from"./widget-react-DIvxQOfe.js";import{l as i,o as a,s as o}from"./widget-react-_QsYqFeh.js";import{t as s}from"./widget-react-8gKsfB0D.js";import{t as c}from"./widget-react-BxEMz2N0.js";import{t as l}from"./widget-react-DJczk-Ax.js";import{useEffect as u,useRef as d,useState as f}from"react";import{Fragment as p,jsx as m,jsxs as h}from"react/jsx-runtime";var g=r(`square`,[[`rect`,{width:`18`,height:`18`,x:`3`,y:`3`,rx:`2`,key:`afitv7`}]]);function _(e,t,n,r){return new(n||(n=Promise))((function(i,a){function o(e){try{c(r.next(e))}catch(e){a(e)}}function s(e){try{c(r.throw(e))}catch(e){a(e)}}function c(e){var t;e.done?i(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(o,s)}c((r=r.apply(e,t||[])).next())}))}var v=class{constructor(){this.listeners={}}on(e,t,n){if(this.listeners[e]||(this.listeners[e]=new Set),n?.once){let n=(...r)=>{this.un(e,n),t(...r)};return this.listeners[e].add(n),()=>this.un(e,n)}return this.listeners[e].add(t),()=>this.un(e,t)}un(e,t){var n;(n=this.listeners[e])==null||n.delete(t)}once(e,t){return this.on(e,t,{once:!0})}unAll(){this.listeners={}}emit(e,...t){this.listeners[e]&&this.listeners[e].forEach((e=>e(...t)))}},y=class extends v{constructor(e){super(),this.subscriptions=[],this.isDestroyed=!1,this.options=e}onInit(){}_init(e){this.isDestroyed&&(this.subscriptions=[],this.isDestroyed=!1),this.wavesurfer=e,this.onInit()}destroy(){this.emit(`destroy`),this.subscriptions.forEach((e=>e())),this.subscriptions=[],this.isDestroyed=!0,this.wavesurfer=void 0}},b=class extends v{constructor(){super(...arguments),this.animationFrameId=null,this.isRunning=!1}start(){if(this.isRunning)return;this.isRunning=!0;let e=()=>{this.isRunning&&(this.emit(`tick`),this.animationFrameId=requestAnimationFrame(e))};e()}stop(){this.isRunning=!1,this.animationFrameId!==null&&(cancelAnimationFrame(this.animationFrameId),this.animationFrameId=null)}destroy(){this.stop()}},x=100,S=[`audio/webm`,`audio/wav`,`audio/mpeg`,`audio/mp4`,`audio/mp3`],C=class e extends y{constructor(e){var t,n,r;super(Object.assign(Object.assign({},e),{audioBitsPerSecond:e.audioBitsPerSecond??128e3,scrollingWaveform:(t=e.scrollingWaveform)!=null&&t,scrollingWaveformWindow:e.scrollingWaveformWindow??5,continuousWaveform:(n=e.continuousWaveform)!=null&&n,renderRecordedAudio:(r=e.renderRecordedAudio)==null||r,mediaRecorderTimeslice:e.mediaRecorderTimeslice??void 0})),this.stream=null,this.mediaRecorder=null,this.dataWindow=null,this.isWaveformPaused=!1,this.lastStartTime=0,this.lastDuration=0,this.duration=0,this.micStream=null,this.recordedBlobUrl=null,this.timer=new b,this.subscriptions.push(this.timer.on(`tick`,(()=>{let e=performance.now()-this.lastStartTime;this.duration=this.isPaused()?this.duration:this.lastDuration+e,this.emit(`record-progress`,this.duration)})))}static create(t){return new e(t||{})}renderMicStream(e){let t=new AudioContext,n=t.createMediaStreamSource(e),r=t.createAnalyser();n.connect(r),(this.options.continuousWaveform||this.options.scrollingWaveform)&&(r.fftSize=32);let i=r.frequencyBinCount,a=new Float32Array(i),o=0;this.wavesurfer&&(this.originalOptions??(this.originalOptions=Object.assign({},this.wavesurfer.options)),this.wavesurfer.options.interact=!1,this.options.scrollingWaveform&&(this.wavesurfer.options.cursorWidth=0,this.wavesurfer.options.normalize=!0,this.wavesurfer.options.maxPeak=1));let s=setInterval((()=>{if(!this.isWaveformPaused){if(r.getFloatTimeDomainData(a),this.options.scrollingWaveform){let e=Math.floor((this.options.scrollingWaveformWindow||0)*x),t=0;for(let e=0;e<i;e++){let n=Math.abs(a[e]);n>t&&(t=n)}this.dataWindow||(this.dataWindow=new Float32Array(e));let n=new Float32Array(e);if(this.dataWindow&&this.dataWindow.length>0){let t=e-1,r=this.dataWindow.slice(-t);n.set(r,0)}n[e-1]=t,this.dataWindow=n}else if(this.options.continuousWaveform){if(!this.dataWindow){let e=this.options.continuousWaveformDuration?Math.round(this.options.continuousWaveformDuration*x):(this.wavesurfer?.getWidth()??0)*window.devicePixelRatio;this.dataWindow=new Float32Array(e)}let e=0;for(let t=0;t<i;t++){let n=Math.abs(a[t]);n>e&&(e=n)}if(o+1>this.dataWindow.length){let e=new Float32Array(2*this.dataWindow.length);e.set(this.dataWindow,0),this.dataWindow=e}this.dataWindow[o]=e,o++}else this.dataWindow=a;if(this.wavesurfer){let e=(this.dataWindow?.length??0)/x;this.wavesurfer.load(``,[this.dataWindow],this.options.scrollingWaveform?this.options.scrollingWaveformWindow:e).then((()=>{this.wavesurfer&&this.options.continuousWaveform&&(this.wavesurfer.setTime(this.getDuration()/1e3),this.wavesurfer.options.minPxPerSec||this.wavesurfer.setOptions({minPxPerSec:this.wavesurfer.getWidth()/this.wavesurfer.getDuration()}))})).catch((e=>{console.error(`Error rendering real-time recording data:`,e)}))}}}),10);return{onDestroy:()=>{clearInterval(s),n?.disconnect(),t?.close()},onEnd:()=>{this.isWaveformPaused=!0,this.stopMic()}}}startMic(e){return _(this,void 0,void 0,(function*(){let t;this.micStream&&this.stopMic();try{t=yield navigator.mediaDevices.getUserMedia({audio:e==null||e})}catch(e){throw Error(`Error accessing the microphone: `+e.message)}let n=this.renderMicStream(t);return this.micStream=n,this.unsubscribeDestroy=this.once(`destroy`,n.onDestroy),this.unsubscribeRecordEnd=this.once(`record-end`,n.onEnd),this.stream=t,t}))}stopMic(){var e,t,n;(e=this.micStream)==null||e.onDestroy(),(t=this.unsubscribeDestroy)==null||t.call(this),(n=this.unsubscribeRecordEnd)==null||n.call(this),this.micStream=null,this.unsubscribeDestroy=void 0,this.unsubscribeRecordEnd=void 0,this.stream&&(this.stream.getTracks().forEach((e=>e.stop())),this.stream=null,this.mediaRecorder=null)}startRecording(e){return _(this,void 0,void 0,(function*(){let t=this.stream||(yield this.startMic(e));this.dataWindow=null;let n=this.mediaRecorder||new MediaRecorder(t,{mimeType:this.options.mimeType||S.find((e=>MediaRecorder.isTypeSupported(e))),audioBitsPerSecond:this.options.audioBitsPerSecond});this.mediaRecorder=n,this.stopRecording();let r=[];n.ondataavailable=e=>{e.data.size>0&&r.push(e.data),this.emit(`record-data-available`,e.data)};let i=e=>{var t;let i=new Blob(r,{type:n.mimeType});this.emit(e,i),this.options.renderRecordedAudio&&(this.applyOriginalOptionsIfNeeded(),this.recordedBlobUrl&&URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=URL.createObjectURL(i),(t=this.wavesurfer)==null||t.load(this.recordedBlobUrl))};n.onpause=()=>i(`record-pause`),n.onstop=()=>i(`record-end`),n.start(this.options.mediaRecorderTimeslice),this.lastStartTime=performance.now(),this.lastDuration=0,this.duration=0,this.isWaveformPaused=!1,this.timer.start(),this.emit(`record-start`)}))}getDuration(){return this.duration}isRecording(){return this.mediaRecorder?.state===`recording`}isPaused(){return this.mediaRecorder?.state===`paused`}isActive(){return this.mediaRecorder?.state!==`inactive`}stopRecording(){var e;this.isActive()&&((e=this.mediaRecorder)==null||e.stop(),this.timer.stop())}pauseRecording(){var e,t;this.isRecording()&&(this.isWaveformPaused=!0,(e=this.mediaRecorder)==null||e.requestData(),(t=this.mediaRecorder)==null||t.pause(),this.timer.stop(),this.lastDuration=this.duration)}resumeRecording(){var e;this.isPaused()&&(this.isWaveformPaused=!1,(e=this.mediaRecorder)==null||e.resume(),this.timer.start(),this.lastStartTime=performance.now(),this.emit(`record-resume`))}static getAvailableAudioDevices(){return _(this,void 0,void 0,(function*(){return navigator.mediaDevices.enumerateDevices().then((e=>e.filter((e=>e.kind===`audioinput`))))}))}destroy(){this.applyOriginalOptionsIfNeeded(),super.destroy(),this.stopRecording(),this.stopMic(),this.recordedBlobUrl&&(URL.revokeObjectURL(this.recordedBlobUrl),this.recordedBlobUrl=null)}applyOriginalOptionsIfNeeded(){this.wavesurfer&&this.originalOptions&&(this.wavesurfer.setOptions(this.originalOptions),delete this.originalOptions)}};function w(e){let t=Math.max(0,e);return`${Math.floor(t/60)}:${(t%60).toString().padStart(2,`0`)}`}function T(){if(typeof MediaRecorder>`u`)return null;for(let e of[`audio/webm;codecs=opus`,`audio/webm`,`audio/mp4`,`audio/ogg`])if(MediaRecorder.isTypeSupported?.(e))return e;return null}async function E(e){return new Promise((t,n)=>{let r=new FileReader;r.onload=()=>{let e=r.result;if(typeof e!=`string`){n(Error(`FileReader returned non-string result`));return}let i=e.indexOf(`,`);t(i>=0?e.slice(i+1):e)},r.onerror=()=>n(r.error??Error(`read failed`)),r.readAsDataURL(e)})}function D(e){let t=e?.name??``,n=e?.message??``;return t===`NotAllowedError`||t===`PermissionDeniedError`?`denied`:t===`NotFoundError`||t===`NotReadableError`||t===`OverconstrainedError`||t===`SecurityError`||t===`AbortError`||t===`TypeError`||/not found|could not start|secure origin|not readable|in use/i.test(n)?`failed`:/permission|denied|not allowed/i.test(n)?`denied`:`failed`}function O({onComplete:r,onCancel:c,onError:_}){let v=e(`messages`),y=d(null),b=d(null),x=d(null),S=d(null),O=d([]),A=d(null),[j,M]=f(`recording`),[N,P]=f(0),[F,I]=f(!1),L=d(null),R=d(!1);return u(()=>{let e=y.current;if(!e)return;if(typeof window>`u`||!window.MediaRecorder){_(`unsupported`);return}let t=!1;R.current=!1;let n=getComputedStyle(e),r=n.getPropertyValue(`--wx-primary`).trim()||`#5b6cff`,i=n.getPropertyValue(`--wx-fg-muted`).trim()||`#565d69`,a=l.create({container:e,waveColor:i,progressColor:r,cursorColor:r,cursorWidth:2,height:32,barWidth:2,barGap:2,barRadius:2,interact:!0,hideScrollbar:!0});b.current=a,a.on(`play`,()=>I(!0)),a.on(`pause`,()=>I(!1)),a.on(`finish`,()=>I(!1));let o=a.registerPlugin(C.create({continuousWaveform:!0,continuousWaveformDuration:60,renderRecordedAudio:!1}));x.current=o;let s=null,c=null;return o.startMic().then(e=>{if(t||R.current){try{e.getTracks().forEach(e=>{e.stop()})}catch{}try{o.stopMic()}catch{}return}let n=T(),r=n?new MediaRecorder(e,{mimeType:n}):new MediaRecorder(e);S.current=r,c=r,O.current=[],r.addEventListener(`dataavailable`,e=>{e.data&&e.data.size>0&&O.current.push(e.data)}),r.addEventListener(`stop`,()=>{if(t||R.current)return;try{o.stopMic()}catch{}s!==null&&(clearInterval(s),s=null,A.current=null);let e=r.mimeType||n||`audio/webm`,i=new Blob(O.current,{type:e});E(i).then(n=>{if(t||R.current)return;let r=e.includes(`mp4`)?`mp4`:`webm`;L.current={base64:n,mimetype:e.split(`;`)[0].trim(),size:i.size,filename:`voice-${Date.now()}.${r}`},a.loadBlob(i).then(()=>{if(!(t||R.current)){try{a.setOptions({interact:!0})}catch{}try{a.setTime(0)}catch{}}}).catch(()=>{}),M(`preview`)}).catch(()=>_(`failed`))}),r.start();let i=performance.now();s=window.setInterval(()=>{let e=performance.now()-i,t=Math.floor(e/1e3);P(e=>e===t?e:t)},250),A.current=s}).catch(e=>{t||_(D(e))}),()=>{t=!0,s!==null&&clearInterval(s);try{c?.state===`recording`&&c.stop()}catch{}try{o.stopMic()}catch{}a.destroy(),b.current===a&&(b.current=null),x.current===o&&(x.current=null),S.current===c&&(S.current=null)}},[]),h(t.div,{initial:{opacity:0,y:6},animate:{opacity:1,y:0},transition:{duration:.18},className:n(`flex items-center gap-1.5 rounded-wx-lg border border-wx-border bg-wx-bg px-2 py-2`),children:[m(k,{Icon:i,onClick:()=>{R.current=!0;try{S.current?.state===`recording`&&S.current.stop()}catch{}try{x.current?.stopMic()}catch{}try{b.current?.pause()}catch{}c()},ariaLabel:v(`cancelRecording`),intent:`ghost`}),h(`div`,{className:`flex h-9 min-w-0 flex-1 items-center gap-2 rounded-full bg-wx-bg-elevated px-3`,children:[j===`recording`&&m(`span`,{"aria-hidden":`true`,className:`h-2 w-2 shrink-0 animate-pulse rounded-full bg-wx-danger`}),m(`div`,{ref:y,"aria-hidden":`true`,className:n(`min-w-0 flex-1 overflow-hidden`,j!==`preview`&&`pointer-events-none`)}),m(`span`,{className:`shrink-0 font-mono text-xs tabular-nums text-wx-fg-muted`,children:w(N)})]}),j===`recording`&&m(t.button,{type:`button`,onClick:()=>{try{S.current?.state===`recording`&&S.current.stop()}catch{}},"aria-label":v(`stopRecording`),whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,`text-wx-fg-muted hover:bg-wx-bg-elevated hover:text-wx-fg`),children:m(g,{size:14})}),j===`preview`&&h(p,{children:[m(k,{Icon:F?a:o,onClick:()=>{let e=b.current;e&&(e.isPlaying()?e.pause():e.play())},ariaLabel:v(F?`pauseRecording`:`playPreview`),intent:`ghost`}),m(t.button,{type:`button`,onClick:()=>{let e=L.current;e&&r(e)},"aria-label":v(`sendCta`),whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,`bg-wx-primary text-wx-primary-fg hover:bg-wx-primary-hover`),children:m(s,{size:14})})]})]},`voice-recorder`)}function k({Icon:e,onClick:r,ariaLabel:i,intent:a,size:o=16}){let s=c();return m(t.button,{type:`button`,onClick:r,"aria-label":i,whileHover:{scale:1.08},whileTap:{scale:.9},transition:{type:`spring`,stiffness:400,damping:22},...s.parentHandlers,className:n(`flex h-8 w-8 shrink-0 items-center justify-center rounded-full transition-colors`,a===`primary`?`bg-wx-primary text-wx-primary-fg hover:bg-wx-primary-hover`:`text-wx-fg-muted hover:bg-wx-bg-elevated hover:text-wx-fg`),children:m(e,{ref:s.iconRef,size:o})})}export{O as VoiceRecorderBar};
2
+ //# sourceMappingURL=widget-react-BK8heNFR.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`होम`,messages:`संदेश`,help:`सहायता`,news:`समाचार`,profile:`प्रोफ़ाइल`},header:{close:`बंद करें`,back:`वापस`,conversationSubtitle:`हमारी टीम भी मदद कर सकती है`,helpTitle:`सहायता`,newsTitle:`समाचार`,expand:`विजेट विस्तार करें`,collapse:`विजेट संक्षिप्त करें`,messagesTitle:`संदेश`,downloadTranscript:`ट्रांसक्रिप्ट डाउनलोड करें`,moreActions:`और देखें`},launcher:{open:`चैट खोलें`,close:`चैट बंद करें`,panel:`चैट`},tabError:{title:`कुछ गड़बड़ हो गई`,hint:`यह अनुभाग नहीं दिखाया जा सका।`,retry:`फिर से कोशिश करें`},chunkError:{failed:`लोड नहीं हो सका`,retry:`फिर कोशिश करें`},home:{greetingHeadline:`नमस्ते 👋`,greetingSubheadline:`हम आपकी कैसे मदद कर सकते हैं?`,askTitle:`प्रश्न पूछें`,askSubtitle:`हमारा बॉट और टीम मदद कर सकते हैं`,recentMessageLabel:`हाल का संदेश`,recentMessageTitle:`हाल का संदेश`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 घं`,recentMessageSample:`नमस्ते 👋 संपर्क करने के लिए धन्यवाद - हम जल्द ही आपके पास वापस आएंगे।`,featuredArticleLoading:`विशेष लेख`,featuredArticleTap:`पढ़ने के लिए टैप करें`,featuredArticleEmpty:`एक लेख चुनें`,featuredArticleSetUp:`इस ब्लॉक को अपने डैशबोर्ड में कॉन्फ़िगर करें`,featuredArticleDemoEyebrow:`Pioneer · तारीख याद रखें`,featuredArticleDemoHeadline:`8 अक्टूबर, 2026`,featuredArticleDemoSubline:`सैन फ़्रांसिस्को · व्यक्तिगत + वर्चुअल`,featuredArticleDemoCta:`लॉन्च का कार्यक्रम देखें`,seeAgenda:`लॉन्च का कार्यक्रम देखें`,browseHelp:`सहायता ब्राउज़ करें`,whatsNew:`नया क्या है`,searchPlaceholder:`सहायता खोजें`,pinnedArticlesTitle:`पहले इन्हें पढ़ें`,popularArticlesTitle:`लोकप्रिय लेख`,pinnedArticleRow:`पिन किया गया लेख {n}`,newsPreviewTitle:`ताज़ा समाचार`,seeAll:`सभी देखें`,newsPreviewRow:`समाचार अपडेट {n}`,myConversationsTitle:`आपकी बातचीत`,myConversationsEmpty:`अपनी बातचीत देखें`,teamStatusOnline:`हम ऑनलाइन हैं`,teamStatusReplyInstant:`आम तौर पर तुरंत जवाब देते हैं`,teamStatusReplyMinutes:`आम तौर पर कुछ मिनटों में जवाब देते हैं`,teamStatusReplyHours:`आम तौर पर कुछ घंटों में जवाब देते हैं`,teamStatusReplyDay:`आम तौर पर एक दिन के भीतर जवाब देते हैं`,teamStatusAiOnline:`{name} अभी मदद कर सकता है`,teamStatusOperatorsBack:`ऑपरेटर {when} लौटेंगे`,teamStatusOfflineUntil:`हम अभी उपलब्ध नहीं हैं, {when} लौटेंगे`,teamStatusOfflineSoon:`हम अभी उपलब्ध नहीं हैं, जल्द लौटेंगे`,recentMessageAttachment:`अटैचमेंट`},messages:{today:`आज`,yesterday:`कल`,unreadMessages:`अपठित संदेश`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`अभी तक कोई संदेश नहीं`,emptyBody:`बातचीत शुरू करें और हमारी टीम यहाँ आपसे संपर्क करेगी।`,sendCta:`हमें संदेश भेजें`,attach:`फ़ाइल संलग्न करें`,commands:`त्वरित कमांड`,record:`ध्वनि संदेश रिकॉर्ड करें`,stopRecording:`रिकॉर्डिंग रोकें`,recording:`रिकॉर्ड हो रहा है…`,uploading:`अपलोड हो रहा है…`,uploadFailed:`अपलोड विफल`,voiceDenied:`माइक्रोफ़ोन तक पहुँच अस्वीकृत`,voiceUnsupported:`इस ब्राउज़र में ध्वनि रिकॉर्डिंग समर्थित नहीं है`,fileTooLarge:`फ़ाइल बहुत बड़ी है (अधिकतम 10MB)`,fileMimeNotAllowed:`यह फ़ाइल प्रकार समर्थित नहीं है`,emoji:`इमोजी डालें`,cancelRecording:`रिकॉर्डिंग रद्द करें`,pauseRecording:`रिकॉर्डिंग रोकें`,resumeRecording:`रिकॉर्डिंग जारी रखें`,playPreview:`रिकॉर्डिंग चलाएँ`,emojiPicker:`इमोजी पिकर`,emojiCategories:{suggested:`हाल में उपयोग किए गए`,smileysPeople:`स्माइली और लोग`,animalsNature:`जानवर और प्रकृति`,foodDrink:`खाना और पीना`,travelPlaces:`यात्रा और स्थान`,activities:`गतिविधियाँ`,objects:`वस्तुएँ`,symbols:`प्रतीक`,flags:`झंडे`},emojiSearch:`खोजें…`,playAudio:`चलाएँ`,pauseAudio:`रोकें`,openAudio:`ऑडियो खोलें`,removeAttachment:`हटाएँ`,aiAssistant:`AI सहायक`,operator:`ऑपरेटर`,openImage:`छवि खोलें`,openPreview:`पूर्वावलोकन खोलें`,play:`चलाएँ`,pause:`रोकें`,typing:`टाइप कर रहा है…`,aiThinking:`सोच रहा है…`,aiSearching:`ब्राउज़ कर रहा है…`,typingSomeone:`कोई`,signInToChat:`कृपया बातचीत शुरू करने के लिए साइन इन करें।`,signInUnavailable:`साइन-इन अभी उपलब्ध नहीं है।`,googleSignIn:`Google से साइन इन करें`,googleUnavailable:`Google साइन-इन उपलब्ध नहीं है। अपना कनेक्शन या ऐड ब्लॉकर जाँचें और फिर कोशिश करें।`,passkeySignIn:`पासकी से साइन इन करें`,passkeyRegister:`पहली बार? पासकी सेट करें`,passkeyError:`साइन इन नहीं हो सका। कृपया फिर से कोशिश करें।`,passkeyNoCredential:`इस डिवाइस पर अभी कोई पासकी नहीं है. बनाने के लिए "पासकी सेट करें" पर टैप करें।`,googleSignInDemo:`Google के साथ जारी रखें`,connectingOperator:`एक ऑपरेटर नियुक्त किया गया है, कृपया प्रतीक्षा करें…`,assignment:{eta:{minutes:`एक ऑपरेटर लगभग {minutes} मिनट में जवाब देगा`,soft:`हम आमतौर पर कुछ ही मिनटों में जवाब देते हैं`,businessHours:`टीम {time} पर वापस आएगी`}},withOperator:`अब आप {name} के साथ चैट कर रहे हैं`,operatorConnected:`ऑपरेटर से जुड़ गए`,chatResolved:`बातचीत हल हो गई`,chatResolvedByYou:`आपके द्वारा बातचीत हल की गई`,chatResolvedByOperator:`{name} द्वारा बातचीत हल की गई`,resolveConversation:`बातचीत हल करें`,sources:`स्रोत`,moreSources:`+{count} और`,askQuestion:`सवाल पूछें`,previewYou:`आप: {text}`,threadsEmptyTitle:`अभी तक कोई बातचीत नहीं`,threadsEmptyBody:`बातचीत शुरू करें, वह यहाँ दिखाई देगी।`,format:{bold:`बोल्ड`,italic:`इटैलिक`,underline:`रेखांकित`,strikethrough:`स्ट्राइकथ्रू`,bulletList:`बुलेट सूची`,numberedList:`क्रमांकित सूची`,link:`लिंक`,linkPlaceholder:`https://…`,linkSave:`सहेजें`,linkCancel:`रद्द करें`,monospace:`मोनोस्पेस`},queued:`कनेक्शन का इंतज़ार`,notDelivered:`डिलीवर नहीं हुआ`,retry:`फिर कोशिश करें`,offlineBanner:`आप ऑफ़लाइन हैं`,backOnline:`फिर से ऑनलाइन`,threadsErrorTitle:`आपकी बातचीत लोड नहीं हो सकी`,threadsErrorBody:`अपना कनेक्शन जाँचें और फिर कोशिश करें।`,giphy:{title:`GIF और स्टिकर`,searchPlaceholder:`GIPHY में खोजें`,clear:`हटाएँ`,tabGifs:`GIF`,tabStickers:`स्टिकर`,error:`लोड नहीं हो सका`,retry:`फिर कोशिश करें`,empty:`कोई नतीजा नहीं`,poweredBy:`Powered by GIPHY`},scrollToLatest:`सबसे नए पर जाएँ`,conversationClosed:`यह बातचीत बंद है`,startNewConversation:`नई बातचीत शुरू करें`,conversationBlocked:`यह बातचीत ब्लॉक है`,visitorBlocked:`आप अब संदेश नहीं भेज सकते`,conversationClosedTitle:`बातचीत पूरी हुई 👋`,conversationClosedHint:`यह बातचीत बंद है। जब चाहें नई शुरू करें।`,fileFallback:`फ़ाइल`},prechat:{title:`शुरू करने से पहले`,subtitle:`कुछ त्वरित विवरण ताकि हमारी टीम आपकी तेज़ी से मदद कर सके।`,labelName:`नाम`,labelEmail:`ईमेल`,labelPhone:`फ़ोन`,labelCustom:`विवरण`,required:`आवश्यक`,invalidEmail:`कृपया एक मान्य ईमेल दर्ज करें`,invalidPhone:`कृपया एक मान्य फ़ोन नंबर दर्ज करें`,submit:`जारी रखें`,submitFailed:`जमा नहीं हो सका - कृपया फिर से कोशिश करें।`},help:{searchPlaceholder:`सहायता खोजें`,emptyTitle:`अभी तक कोई लेख नहीं`,emptyBody:`यहाँ अभी कुछ नहीं है।`,back:`वापस`,helpful:`क्या यह सहायक था?`,yes:`हाँ`,no:`नहीं`,thanks:`फ़ीडबैक के लिए धन्यवाद।`,unresolvedCta:`अभी भी सहायता चाहिए? हमें संदेश भेजें`,noResults:`कोई परिणाम नहीं`,articleNotFound:`लेख नहीं मिला`,articleNotTranslated:`यह लेख अभी आपकी भाषा में उपलब्ध नहीं है।`,writtenBy:`{names} द्वारा लिखित`,relatedTitle:`संबंधित लेख`,collectionsCount:`{count, plural, =0 {कोई संग्रह नहीं} one {# संग्रह} other {# संग्रह}}`,articlesCount:`{count, plural, =0 {कोई लेख नहीं} one {लेख: #} other {लेख: #}}`,authorsByline:`लेखक {first}{remaining, plural, =0 {} one { और # अन्य} other { और # अन्य}}`},news:{unread:`अपठित समाचार`,emptyTitle:`अभी तक कोई अपडेट नहीं`,emptyBody:`उत्पाद समाचार और घोषणाओं के लिए यहाँ वापस आएँ।`,helpful:`क्या यह लेख सहायक था?`,yes:`हाँ`,no:`नहीं`,thanks:`फ़ीडबैक के लिए धन्यवाद।`,searchPlaceholder:`समाचार खोजें`,noResults:`कोई मिलान वाली पोस्ट नहीं`,editedAt:`{when} संपादित`,articleNotFound:`लेख नहीं मिला।`,articleNotTranslated:`यह पोस्ट अभी आपकी भाषा में उपलब्ध नहीं है।`,readOriginal:`मूल पढ़ें`,relatedTitle:`संबंधित`,writtenBy:`{names} द्वारा लिखित`},reactions:{ariaLabel:`प्रतिक्रियाएँ`,tapAria:`{emoji} के साथ प्रतिक्रिया दें`},languageSelector:{title:`अन्य भाषा में पढ़ें`,ariaLabel:`लेख की भाषाएँ`},branding:{poweredBy:`द्वारा संचालित`,wexio:`Wexio`},sound:{mute:`सूचना ध्वनियाँ म्यूट करें`,unmute:`सूचना ध्वनियाँ अनम्यूट करें`},article:{tableOfContents:`विषय-सूची`,tabFallback:`टैब {n}`},peek:{newMessage:`नया संदेश`,dismiss:`खारिज करें`,aiAssistant:`AI सहायक`,operator:`ऑपरेटर`,quickReplies:`त्वरित उत्तर`},lightbox:{mediaPreview:`मीडिया पूर्वावलोकन`,close:`पूर्वावलोकन बंद करें`,previous:`पिछला`,next:`अगला`},authError:{turnstileTitle:`आपका ब्राउज़र सत्यापित नहीं हो सका`,turnstileBody:`हम सुरक्षा जाँच पूरी नहीं कर सके। कभी-कभी यह नेटवर्क या ऐड-ब्लॉकर की समस्या होती है. फिर से कोशिश करें या पेज पुनः लोड करें।`,genericTitle:`कनेक्ट नहीं हो सका`,genericBody:`साइन इन करते समय कुछ गलत हो गया। कृपया कुछ देर में फिर से कोशिश करें।`,retry:`फिर से कोशिश करें`,dismiss:`खारिज करें`},profile:{title:`आपकी प्रोफ़ाइल`,subtitle:`अपनी जानकारी और विजेट का व्यवहार अपडेट करें।`,uploadAvatar:`फ़ोटो बदलें`,removeAvatar:`फ़ोटो हटाएँ`,avatarUploading:`अपलोड हो रहा है…`,preferencesHeading:`वरीयताएँ`,preferenceLanguage:`भाषा`,preferenceDesktopNotifications:`डेस्कटॉप सूचनाएँ`,preferenceDesktopNotificationsHint:`जब विजेट फ़ोकस में न हो तो सिस्टम सूचना प्राप्त करें।`,preferenceThemeMode:`थीम`,themeAuto:`सिस्टम से मिलाएँ`,themeLight:`लाइट`,themeDark:`डार्क`,themeLocked:`थीम बदली नहीं जा सकती।`,pinnedHint:`संपादन योग्य नहीं।`,requiredHint:`आवश्यक`,invalidEmail:`कृपया एक मान्य ईमेल पता दर्ज करें।`,invalidPhone:`अंतर्राष्ट्रीय फ़ॉर्मेट का उपयोग करें, जैसे +14155552671।`,noFields:`यहाँ अभी संपादित करने को कुछ नहीं है।`,save:`परिवर्तन सहेजें`,saving:`सहेजा जा रहा है…`,cancel:`रद्द करें`,saved:`परिवर्तन सहेजे गए।`,loading:`प्रोफ़ाइल लोड हो रही है…`,loadError:`आपकी प्रोफ़ाइल लोड नहीं हो सकी। कृपया फिर से कोशिश करें।`,retry:`पुनः प्रयास करें`,errorFieldNotAllowed:`यह फ़ील्ड इस विजेट में संपादन योग्य नहीं है। ताज़ा करने का प्रयास करें।`,errorFieldPinned:`यह फ़ील्ड आपके खाते द्वारा लॉक है।`,errorFieldInvalid:`कुछ मान मान्य नहीं हैं। हाइलाइट किए गए फ़ील्ड जाँचें।`,errorThemeLocked:`थीम बदली नहीं जा सकती।`,errorFeatureDisabled:`प्रोफ़ाइल संपादन उपलब्ध नहीं है।`,errorGeneric:`आपके परिवर्तन सहेजे नहीं जा सके। कृपया फिर से कोशिश करें।`,notificationsBlocked:`ब्राउज़र द्वारा सूचनाएँ ब्लॉक हैं। सक्षम करने के लिए साइट अनुमतियाँ अपडेट करें।`,notificationsRequest:`इसे सक्षम करने के लिए संकेत मिलने पर सूचनाओं की अनुमति दें।`,systemFields:{avatar:`फ़ोटो`,wexioId:`Wexio ID`,telegramId:`Telegram ID`,whatsappId:`WhatsApp ID`,viberId:`Viber ID`,instagramId:`Instagram ID`,optInWhatsapp:`WhatsApp ऑप्ट-इन`,webVerified:`सत्यापित विज़िटर`,firstName:`पहला नाम`,lastName:`उपनाम`,username:`उपयोगकर्ता नाम`,language:`भाषा`,email:`ईमेल`,phone:`फ़ोन`,company:`कंपनी`,location:`स्थान`,isValid:`खाता वैध`,chatStatus:`चैट स्थिति`,chatCategory:`चैट श्रेणी`,priority:`प्राथमिकता`,leadSource:`लीड स्रोत`,leadStatus:`लीड स्थिति`,interestLevel:`रुचि स्तर`,productInterest:`उत्पाद रुचि`,budgetRange:`बजट`,purchaseTimeline:`खरीद की समय-सीमा`,lastMessageSentAt:`अंतिम संदेश भेजा`,lastMessageReceivedAt:`अंतिम संदेश प्राप्त`,lastSeenAt:`अंतिम बार देखा गया`,firstMessageReceivedAt:`पहला संपर्क`,isBlocked:`अवरुद्ध`,registrationDate:`पंजीकृत`,aiAvailable:`AI सहायता`,totalMessagesSent:`भेजे गए संदेश`,totalMessagesReceived:`प्राप्त संदेश`,totalAiMessagesSent:`AI संदेश भेजे गए`,totalBotMessagesSent:`बॉट संदेश भेजे गए`,totalUserMessagesSent:`ऑपरेटर संदेश भेजे गए`,flowCompletionRate:`फ़्लो पूर्णता दर`,lastFlowCompleted:`अंतिम पूर्ण फ़्लो`,totalFlowsStarted:`शुरू किए गए फ़्लो`,totalFlowsCompleted:`पूर्ण किए गए फ़्लो`},systemFieldOptions:{chatStatus:{ISSUE:`समस्या`,RESOLVED:`हल हो गया`,PENDING:`लंबित`,IN_PROGRESS:`प्रगति में`,CLOSED:`बंद`},chatCategory:{SALES:`बिक्री`,SUPPORT:`सहायता`,BILLING:`बिलिंग`,FEEDBACK:`फ़ीडबैक`,GENERAL:`सामान्य`,OTHER:`अन्य`},priority:{LOW:`कम`,MEDIUM:`मध्यम`,HIGH:`उच्च`,URGENT:`अत्यावश्यक`},leadStatus:{NEW:`नया`,CONTACTED:`संपर्क किया गया`,QUALIFIED:`योग्य`,NEGOTIATING:`बातचीत में`,WON:`जीता`,LOST:`हारा`},interestLevel:{LOW:`कम`,MEDIUM:`मध्यम`,HIGH:`उच्च`,VERY_HIGH:`बहुत उच्च`}},selectOption:`एक विकल्प चुनें`,noOptions:`कोई विकल्प कॉन्फ़िगर नहीं किया गया है।`},transcript:{title:`{org} के साथ बातचीत`,started:`{when} को शुरू हुई`,exported:`{org} से {when} को एक्सपोर्ट की गई`,truncated:`ध्यान दें: केवल सबसे हाल के संदेश शामिल हैं।`,operator:`ऑपरेटर`,you:`आप`},notification:{newMessage:`नया संदेश`,image:`छवि`,video:`वीडियो`,voiceMessage:`वॉइस संदेश`,attachment:`अटैचमेंट`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-BdJ4kka6.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Início`,messages:`Mensagens`,help:`Ajuda`,news:`Novidades`,profile:`Perfil`},header:{close:`Fechar`,back:`Voltar`,conversationSubtitle:`A nossa equipa também pode ajudar`,helpTitle:`Ajuda`,newsTitle:`Novidades`,expand:`Expandir widget`,collapse:`Recolher widget`,messagesTitle:`Mensagens`,downloadTranscript:`Transferir conversa`,moreActions:`Mais`},launcher:{open:`Abrir chat`,close:`Fechar chat`,panel:`Chat`},tabError:{title:`Algo correu mal`,hint:`Não foi possível mostrar esta secção.`,retry:`Tentar novamente`},chunkError:{failed:`Não foi possível carregar`,retry:`Tentar novamente`},home:{greetingHeadline:`Olá 👋`,greetingSubheadline:`Como podemos ajudar?`,askTitle:`Faça uma pergunta`,askSubtitle:`O nosso bot e a nossa equipa podem ajudar`,recentMessageLabel:`Mensagem recente`,recentMessageTitle:`Mensagem recente`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 h`,recentMessageSample:`Olá 👋 Obrigado por contactar-nos. Voltamos já a si.`,featuredArticleLoading:`Artigo em destaque`,featuredArticleTap:`Toque para ler`,featuredArticleEmpty:`Escolha um artigo`,featuredArticleSetUp:`Configure este bloco no seu painel`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`8 de outubro de 2026`,featuredArticleDemoSubline:`São Francisco · presencial + virtual`,featuredArticleDemoCta:`Ver a agenda do lançamento`,seeAgenda:`Ver a agenda do lançamento`,browseHelp:`Explorar a ajuda`,whatsNew:`Novidades`,searchPlaceholder:`Procurar na ajuda`,pinnedArticlesTitle:`Leia isto primeiro`,popularArticlesTitle:`Artigos populares`,pinnedArticleRow:`Artigo fixado {n}`,newsPreviewTitle:`Últimas novidades`,seeAll:`Ver tudo`,newsPreviewRow:`Novidade {n}`,myConversationsTitle:`As suas conversas`,myConversationsEmpty:`Ver as suas conversas`,teamStatusOnline:`Estamos online`,teamStatusReplyInstant:`Normalmente responde de imediato`,teamStatusReplyMinutes:`Normalmente responde em poucos minutos`,teamStatusReplyHours:`Normalmente responde em poucas horas`,teamStatusReplyDay:`Normalmente responde no prazo de um dia`,teamStatusAiOnline:`{name} pode ajudar agora`,teamStatusOperatorsBack:`Os operadores regressam {when}`,teamStatusOfflineUntil:`Estamos ausentes, regressamos {when}`,teamStatusOfflineSoon:`Estamos ausentes, regressamos em breve`,recentMessageAttachment:`Anexo`},messages:{today:`Hoje`,yesterday:`Ontem`,unreadMessages:`Mensagens não lidas`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Ainda não há mensagens`,emptyBody:`Inicie uma conversa e a nossa equipa responder-lhe-á aqui.`,sendCta:`Envie-nos uma mensagem`,attach:`Anexar um ficheiro`,commands:`Comandos rápidos`,record:`Gravar uma mensagem de voz`,stopRecording:`Parar gravação`,recording:`A gravar…`,uploading:`A carregar…`,uploadFailed:`Falha ao carregar`,voiceDenied:`Acesso ao microfone negado`,voiceUnsupported:`Este navegador não suporta gravação de voz`,fileTooLarge:`O ficheiro é demasiado grande (máx. 10 MB)`,fileMimeNotAllowed:`Este tipo de ficheiro não é suportado`,emoji:`Inserir emoji`,cancelRecording:`Cancelar gravação`,pauseRecording:`Pausar gravação`,resumeRecording:`Retomar gravação`,playPreview:`Reproduzir gravação`,emojiPicker:`Seletor de emojis`,emojiCategories:{suggested:`Utilizados recentemente`,smileysPeople:`Smileys e pessoas`,animalsNature:`Animais e natureza`,foodDrink:`Comida e bebida`,travelPlaces:`Viagens e locais`,activities:`Atividades`,objects:`Objetos`,symbols:`Símbolos`,flags:`Bandeiras`},emojiSearch:`Procurar…`,playAudio:`Reproduzir`,pauseAudio:`Pausar`,openAudio:`Abrir áudio`,removeAttachment:`Remover`,aiAssistant:`Assistente de IA`,operator:`Agente`,openImage:`Abrir imagem`,openPreview:`Abrir pré-visualização`,play:`Reproduzir`,pause:`Pausar`,typing:`a escrever…`,aiThinking:`a pensar…`,aiSearching:`a procurar…`,typingSomeone:`Alguém`,signInToChat:`Inicie sessão para começar a conversa.`,signInUnavailable:`O início de sessão não está disponível neste momento.`,googleSignIn:`Iniciar sessão com Google`,googleUnavailable:`O início de sessão com o Google não está disponível. Verifique a ligação ou o bloqueador de anúncios e tente novamente.`,passkeySignIn:`Iniciar sessão com uma passkey`,passkeyRegister:`Primeira vez? Configure uma passkey`,passkeyError:`Não foi possível iniciar sessão. Tente novamente.`,passkeyNoCredential:`Ainda não há nenhuma passkey neste dispositivo. Toque em «Configure uma passkey» para criar uma.`,googleSignInDemo:`Continuar com Google`,connectingOperator:`Foi-lhe atribuído um operador, aguarde…`,assignment:{eta:{minutes:`Um operador irá responder daqui a cerca de {minutes} min`,soft:`Normalmente respondemos em poucos minutos`,businessHours:`A equipa estará de volta às {time}`}},withOperator:`Está agora a conversar com {name}`,operatorConnected:`Operador ligado`,chatResolved:`Conversa resolvida`,chatResolvedByYou:`Conversa resolvida por si`,chatResolvedByOperator:`Conversa resolvida por {name}`,resolveConversation:`Resolver conversa`,sources:`Fontes`,moreSources:`+{count} mais`,askQuestion:`Fazer uma pergunta`,previewYou:`Você: {text}`,threadsEmptyTitle:`Ainda não há conversas`,threadsEmptyBody:`Inicie uma conversa e ela aparecerá aqui.`,format:{bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strikethrough:`Rasurado`,bulletList:`Lista com marcadores`,numberedList:`Lista numerada`,link:`Ligação`,linkPlaceholder:`https://…`,linkSave:`Guardar`,linkCancel:`Cancelar`,monospace:`Monoespaçado`},queued:`A aguardar ligação`,notDelivered:`Não entregue`,retry:`Tentar novamente`,offlineBanner:`Está offline`,backOnline:`De volta online`,threadsErrorTitle:`Não foi possível carregar as suas conversas`,threadsErrorBody:`Verifique a ligação e tente novamente.`,giphy:{title:`GIFs e autocolantes`,searchPlaceholder:`Pesquisar no GIPHY`,clear:`Limpar`,tabGifs:`GIFs`,tabStickers:`Autocolantes`,error:`Não foi possível carregar`,retry:`Tentar novamente`,empty:`Sem resultados`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Ir para a mais recente`,conversationClosed:`Esta conversa está encerrada`,startNewConversation:`Iniciar uma nova conversa`,conversationBlocked:`Esta conversa está bloqueada`,visitorBlocked:`Já não pode enviar mensagens`,conversationClosedTitle:`Por agora é tudo 👋`,conversationClosedHint:`Esta conversa está encerrada. Inicie uma nova quando quiser.`,fileFallback:`Ficheiro`},prechat:{title:`Antes de começarmos`,subtitle:`Alguns dados rápidos para a nossa equipa ajudar mais depressa.`,labelName:`Nome`,labelEmail:`E-mail`,labelPhone:`Telemóvel`,labelCustom:`Detalhes`,required:`Obrigatório`,invalidEmail:`Introduza um e-mail válido`,invalidPhone:`Introduza um número de telemóvel válido`,submit:`Continuar`,submitFailed:`Não foi possível submeter. Tente novamente.`},help:{searchPlaceholder:`Procurar na ajuda`,emptyTitle:`Ainda não há artigos`,emptyBody:`Ainda não há nada aqui.`,back:`Voltar`,helpful:`Foi útil?`,yes:`Sim`,no:`Não`,thanks:`Obrigado pelo seu feedback.`,unresolvedCta:`Ainda precisa de ajuda? Escreva-nos`,noResults:`Sem resultados`,articleNotFound:`Artigo não encontrado`,articleNotTranslated:`Este artigo ainda não está disponível no seu idioma.`,writtenBy:`Escrito por {names}`,relatedTitle:`Artigos relacionados`,collectionsCount:`{count, plural, =0 {Sem coleções} one {# coleção} other {# coleções}}`,articlesCount:`{count, plural, =0 {Sem artigos} one {Artigos: #} other {Artigos: #}}`,authorsByline:`Autores {first}{remaining, plural, =0 {} one { e mais #} other { e mais #}}`},news:{emptyTitle:`Ainda não há atualizações`,emptyBody:`Volte aqui para ver novidades do produto e anúncios.`,helpful:`Este artigo foi útil?`,yes:`Sim`,no:`Não`,thanks:`Obrigado pelo seu feedback.`,searchPlaceholder:`Procurar nas novidades`,noResults:`Sem publicações correspondentes`,editedAt:`editado {when}`,articleNotFound:`Artigo não encontrado.`,articleNotTranslated:`Esta publicação ainda não está disponível no seu idioma.`,readOriginal:`Ler o original`,relatedTitle:`Relacionados`,writtenBy:`Escrito por {names}`,unread:`Novidades não lidas`},reactions:{ariaLabel:`Reações`,tapAria:`Reagir com {emoji}`},languageSelector:{title:`Ler noutro idioma`,ariaLabel:`Idiomas do artigo`},branding:{poweredBy:`Com tecnologia de`,wexio:`Wexio`},sound:{mute:`Silenciar sons de notificação`,unmute:`Ativar sons de notificação`},article:{tableOfContents:`Índice`,tabFallback:`Separador {n}`},peek:{newMessage:`Nova mensagem`,dismiss:`Dispensar`,aiAssistant:`Assistente de IA`,operator:`Agente`,quickReplies:`Respostas rápidas`},lightbox:{mediaPreview:`Pré-visualização do conteúdo`,close:`Fechar pré-visualização`,previous:`Anterior`,next:`Seguinte`},authError:{turnstileTitle:`Não foi possível verificar o seu navegador`,turnstileBody:`Não conseguimos concluir a verificação de segurança. Por vezes é um problema de rede ou de bloqueador de anúncios. Tente novamente ou recarregue a página.`,genericTitle:`Não foi possível ligar`,genericBody:`Algo correu mal ao iniciar a sua sessão. Tente novamente daqui a um momento.`,retry:`Tentar novamente`,dismiss:`Dispensar`},profile:{title:`O seu perfil`,subtitle:`Atualize os seus dados e o comportamento do widget.`,uploadAvatar:`Alterar fotografia`,removeAvatar:`Remover fotografia`,avatarUploading:`A carregar…`,preferencesHeading:`Preferências`,preferenceLanguage:`Idioma`,preferenceDesktopNotifications:`Notificações de ambiente de trabalho`,preferenceDesktopNotificationsHint:`Receba uma notificação do sistema quando o widget não estiver em primeiro plano.`,preferenceThemeMode:`Tema`,themeAuto:`Como o sistema`,themeLight:`Claro`,themeDark:`Escuro`,themeLocked:`O tema não pode ser alterado.`,pinnedHint:`Não editável.`,requiredHint:`Obrigatório`,invalidEmail:`Introduza um endereço de e-mail válido.`,invalidPhone:`Use o formato internacional, p. ex. +351912345678.`,noFields:`Ainda não há nada para editar aqui.`,save:`Guardar alterações`,saving:`A guardar…`,cancel:`Descartar`,saved:`Alterações guardadas.`,loading:`A carregar o perfil…`,loadError:`Não foi possível carregar o seu perfil. Tente novamente.`,retry:`Repetir`,errorFieldNotAllowed:`Este campo não é editável neste widget. Tente atualizar.`,errorFieldPinned:`Este campo está bloqueado pela sua conta.`,errorFieldInvalid:`Alguns valores não são válidos. Verifique os campos destacados.`,errorThemeLocked:`O tema não pode ser alterado.`,errorFeatureDisabled:`A edição do perfil não está disponível.`,errorGeneric:`Não foi possível guardar as alterações. Tente novamente.`,notificationsBlocked:`As notificações estão bloqueadas pelo navegador. Atualize as permissões do site para ativar.`,notificationsRequest:`Permita as notificações quando for solicitado para ativar isto.`,systemFields:{avatar:`Fotografia`,wexioId:`ID Wexio`,telegramId:`ID Telegram`,whatsappId:`ID WhatsApp`,viberId:`ID Viber`,instagramId:`ID Instagram`,optInWhatsapp:`Consentimento WhatsApp`,webVerified:`Visitante verificado`,firstName:`Nome próprio`,lastName:`Apelido`,username:`Nome de utilizador`,language:`Idioma`,email:`E-mail`,phone:`Telemóvel`,company:`Empresa`,location:`Localização`,isValid:`Conta válida`,chatStatus:`Estado do chat`,chatCategory:`Categoria do chat`,priority:`Prioridade`,leadSource:`Origem do lead`,leadStatus:`Estado do lead`,interestLevel:`Nível de interesse`,productInterest:`Interesse no produto`,budgetRange:`Orçamento`,purchaseTimeline:`Prazo de compra`,lastMessageSentAt:`Última mensagem enviada`,lastMessageReceivedAt:`Última mensagem recebida`,lastSeenAt:`Visto pela última vez`,firstMessageReceivedAt:`Primeiro contacto`,isBlocked:`Bloqueado`,registrationDate:`Registado`,aiAvailable:`Assistência de IA`,totalMessagesSent:`Mensagens enviadas`,totalMessagesReceived:`Mensagens recebidas`,totalAiMessagesSent:`Mensagens enviadas pela IA`,totalBotMessagesSent:`Mensagens enviadas pelo bot`,totalUserMessagesSent:`Mensagens enviadas pelo agente`,flowCompletionRate:`Taxa de conclusão de flows`,lastFlowCompleted:`Último flow concluído`,totalFlowsStarted:`Flows iniciados`,totalFlowsCompleted:`Flows concluídos`},systemFieldOptions:{chatStatus:{ISSUE:`Problema`,RESOLVED:`Resolvido`,PENDING:`Pendente`,IN_PROGRESS:`Em curso`,CLOSED:`Fechado`},chatCategory:{SALES:`Vendas`,SUPPORT:`Suporte`,BILLING:`Faturação`,FEEDBACK:`Comentários`,GENERAL:`Geral`,OTHER:`Outro`},priority:{LOW:`Baixa`,MEDIUM:`Média`,HIGH:`Alta`,URGENT:`Urgente`},leadStatus:{NEW:`Novo`,CONTACTED:`Contactado`,QUALIFIED:`Qualificado`,NEGOTIATING:`Em negociação`,WON:`Ganho`,LOST:`Perdido`},interestLevel:{LOW:`Baixo`,MEDIUM:`Médio`,HIGH:`Alto`,VERY_HIGH:`Muito alto`}},selectOption:`Selecione uma opção`,noOptions:`Nenhuma opção configurada.`},transcript:{title:`Conversa com {org}`,started:`Iniciada em {when}`,exported:`Exportada de {org} em {when}`,truncated:`Nota: apenas as mensagens mais recentes estão incluídas.`,operator:`Operador`,you:`Você`},notification:{newMessage:`Nova mensagem`,image:`Imagem`,video:`Vídeo`,voiceMessage:`Mensagem de voz`,attachment:`Anexo`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-BxX7eyiS.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";import{b as e,n as t}from"./widget-react-DIvxQOfe.js";import{D as n,O as r,P as i,R as ee,T as a,c as o,d as s,ft as c,l as te,m as l,p as u,u as d,x as f,yt as ne}from"./widget-react-Cqzxiehe.js";import{i as re}from"./widget-react-_QsYqFeh.js";import{o as ie,p as ae,s as oe,t as se}from"./widget-react-DxOdTnrZ.js";import{t as ce}from"./widget-react-BxEMz2N0.js";import{a as p,i as m,n as le,o as h,r as g,s as ue,t as de}from"./widget-react-uta-tft5.js";import{useEffect as _,useMemo as v,useRef as y,useState as b}from"react";import{jsx as x,jsxs as S}from"react/jsx-runtime";var C=5;function fe(e,t,n=C){let r=e.find(e=>e.slug===t),i=new Set((r?.tags??[]).map(e=>e.slug));return e.filter(e=>e.slug!==t).map(e=>({a:e,score:(r&&e.categoryId===r.categoryId?2:0)+e.tags.filter(e=>i.has(e.slug)).length})).sort((e,t)=>t.score-e.score||t.a.publishedAt.localeCompare(e.a.publishedAt)).slice(0,n).map(({a:e})=>({_id:e.id,title:e.title,slug:e.slug,excerpt:e.excerpt||null}))}function pe(e){let t=e=>Array.isArray(e)?e:[];return{id:String(e._id??``),title:typeof e.title==`string`?e.title:``,excerpt:typeof e.excerpt==`string`?e.excerpt:``,content:typeof e.content==`string`?e.content:``,contentFormat:e.contentFormat===p.HTML?p.HTML:p.MARKDOWN,authors:t(e.authors).filter(e=>!!e&&typeof e==`object`).map(e=>({_id:String(e._id??``),name:typeof e.name==`string`?e.name:null,photo:e.photo})),tags:t(e.tags).filter(e=>!!e&&typeof e==`object`).map(e=>({_id:String(e._id??``),slug:typeof e.slug==`string`?e.slug:``,label:typeof e.label==`string`?e.label:``}))}}function w({slug:t,locale:C,isDummy:w,onHandoff:E,onOpenArticle:D,onOpenTranslation:O,onTitleResolved:k}){let A=e(`help`),j=n(),M=d(),N=i(),{config:P}=f(),F=P.messenger?.showRelatedHelpArticles??!0,I=P.messenger?.showReactionCounts??!0,L=ce(),[R,z]=b(C),B=r(R,j),V=v(()=>{if(w)return null;let e=N.previewData?.helpArticles;return Array.isArray(e)?e.find(e=>e&&typeof e==`object`&&e.slug===t)??null:null},[N.previewData,w,t]),H=!!V,{data:U,loading:me}=oe({variables:{args:{slug:t,locale:C}},skip:w||H}),W=ne(),G=W.publicKey,K=te(G&&!w&&!H?ee.article(G,t,C):null,U),[q]=ie(),{trackLinkClick:J}=o(),Y=y(null),X=v(()=>w?c(B).find(e=>e.slug===t):null,[w,t,B]),Z=w?X?{id:X.id,title:X.title,excerpt:X.excerpt,content:X.contentMarkdown,contentFormat:p.MARKDOWN,authors:X.authors,tags:X.tags,reactionCounts:null,locale:R,translations:[]}:null:H&&V?{...pe(V),reactionCounts:V.reactionCounts??null,locale:C,translations:[]}:K?.visitorHelpArticle?{id:K.visitorHelpArticle._id,title:K.visitorHelpArticle.title,excerpt:K.visitorHelpArticle.excerpt??``,content:K.visitorHelpArticle.content,contentFormat:K.visitorHelpArticle.contentFormat,authors:K.visitorHelpArticle.authors,tags:K.visitorHelpArticle.tags,reactionCounts:K.visitorHelpArticle.reactionCounts??null,locale:K.visitorHelpArticle.locale,translations:K.visitorHelpArticle.translations}:null,{data:he}=ae({variables:{articleId:Z?.id??``,limit:5,locale:C},skip:w||H||!Z?.id||!F}),ge=v(()=>{if(!H||!Z?.id)return[];let e=(N.previewData?.helpArticles??[]).filter(e=>!!e&&typeof e==`object`),t=new Set((Z.tags??[]).map(e=>typeof e==`object`&&e&&`slug`in e?String(e.slug):null).filter(e=>!!e)),n=(()=>{let e=V;if(!e)return null;let t=e.folderId;if(typeof t==`string`)return t;let n=e.folder;if(n&&typeof n==`object`&&`_id`in n){let e=n._id;return typeof e==`string`?e:null}return null})();return e.filter(e=>String(e._id??``)!==Z.id).map(e=>{let r=typeof e.folderId==`string`?e.folderId:e.folder&&typeof e.folder==`object`&&`_id`in e.folder?String(e.folder._id??``):null,i=Array.isArray(e.tags)?e.tags.map(e=>typeof e==`object`&&e&&`slug`in e?String(e.slug):null).filter(e=>!!e):[];return{raw:e,score:(n&&r===n?2:0)+i.filter(e=>t.has(e)).length}}).filter(e=>e.score>0).sort((e,t)=>t.score-e.score).slice(0,5).map(({raw:e})=>({_id:String(e._id??``),title:typeof e.title==`string`?e.title:``,slug:typeof e.slug==`string`?e.slug:``,excerpt:typeof e.excerpt==`string`?e.excerpt:null}))},[H,Z,V,N.previewData]),_e=v(()=>w?fe(c(B),t):[],[w,B,t]),Q=w?_e:H?ge:he?.visitorHelpRelated??[],ve=w||H?null:U?.visitorHelpArticle?.viewerReaction??null,ye=!w&&!H&&U?.visitorHelpArticle?[U.visitorHelpArticle._id,...(U.visitorHelpArticle.translations??[]).map(e=>e._id)]:Z?.id?[Z.id]:[];_(()=>{w||!Z?.id||!W.token||q({variables:{articleId:Z.id}}).catch(()=>{})},[Z?.id,w,q,W]),_(()=>{w||H||!Z?.id||Y.current!==Z.id&&(Y.current=Z.id,J({url:`/help/${t}`,targetType:`HELP_ARTICLE`,targetRefId:Z.id}))},[Z?.id,w,H,t,J]),m(Z?.title,k);let be=()=>E();if(!me&&!Z)return x(`div`,{className:`flex flex-1 flex-col items-center justify-center px-6 py-12`,children:x(u,{children:x(l,{className:`py-8 text-center`,children:x(`p`,{className:`text-sm font-semibold text-wx-fg`,children:A(`articleNotFound`)})})})});let xe=C.split(`-`)[0].toLowerCase(),$=Z?Z.locale.split(`-`)[0].toLowerCase():null;return!w&&!H&&!P.contentLocaleFallback&&$!==null&&$!==xe?x(`div`,{className:`flex flex-1 flex-col items-center justify-center px-6 py-12`,children:x(u,{children:x(l,{className:`py-8 text-center`,children:x(`p`,{className:`text-sm font-semibold text-wx-fg`,children:A(`articleNotTranslated`)})})})}):Z?x(s,{followDirection:!0,className:`flex-1`,viewportRef:M,children:S(`div`,{className:`flex flex-col px-5 pt-5 pb-12 [overflow-wrap:anywhere]`,children:[x(`h2`,{className:`text-xl leading-tight font-bold text-wx-fg`,children:Z.title}),Z.authors.length>0&&S(`p`,{className:`mt-2 flex items-center gap-2 text-xs text-wx-fg-muted`,children:[x(`span`,{className:`flex -space-x-1.5`,children:Z.authors.slice(0,3).map(e=>x(`span`,{className:`h-5 w-5 overflow-hidden rounded-full bg-wx-bg-elevated ring-1 ring-wx-bg`,"aria-hidden":`true`,children:e.photo?.url?x(`img`,{src:e.photo.url,alt:``,className:`h-full w-full object-cover`}):x(`span`,{className:`flex h-full w-full items-center justify-center text-[10px] font-semibold uppercase text-wx-fg-muted`,children:(e.name??`?`).charAt(0)})},e._id))}),x(`span`,{children:A(`writtenBy`,{names:Z.authors.map(e=>e.name??``).filter(Boolean).join(`, `)})})]}),Z.tags.length>0&&x(`div`,{className:`mt-2 flex flex-wrap gap-1`,children:Z.tags.map(e=>x(`span`,{className:`rounded-full bg-wx-bg-elevated px-2 py-0.5 text-[11px] font-medium text-wx-fg-muted`,children:e.label},e._id))}),Z.excerpt&&x(`p`,{className:`mt-2 mb-5 text-sm text-wx-fg-muted`,children:Z.excerpt}),x(g,{content:Z.content,isHtml:Z.contentFormat===p.HTML||ue(Z.content),markdownMarginClass:`mt-3`}),S(se,{type:`button`,variant:`solid`,size:`lg`,className:`mt-6 w-full shrink-0 min-h-12`,onClick:be,...L.parentHandlers,children:[x(re,{ref:L.iconRef,size:16}),x(`span`,{children:A(`unresolvedCta`)})]}),Z.id&&x(de,{surface:h.HELP,itemId:Z.id,reactionCounts:Z.reactionCounts,viewerReaction:ve,groupItemIds:ye,isDummy:w,showCounts:I,className:`mt-4`}),x(le,{currentLocale:w?R:Z.locale,locales:w?[...a]:Z.translations.map(e=>e.locale),allowedLocales:w?void 0:P.supportedLocales,onSelect:w?e=>z(e):e=>{let t=Z.translations.find(t=>t.locale===e);t&&O?.(t.slug,t.locale)},className:`mt-6`}),F&&Q.length>0&&S(`section`,{className:`mt-6`,children:[x(`p`,{className:`mb-2 text-xs font-semibold tracking-wide text-wx-fg-muted uppercase`,children:A(`relatedTitle`)}),x(`ul`,{className:`flex flex-col gap-1.5`,children:Q.map(e=>x(`li`,{children:S(`button`,{type:`button`,onClick:()=>D?.(e.slug),className:`flex w-full flex-col items-start gap-0.5 rounded-wx-lg bg-wx-bg-elevated px-3 py-2 text-start transition-colors hover:bg-wx-bg-elevated/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary`,children:[x(`span`,{className:`block truncate text-sm font-medium text-wx-fg`,children:e.title}),e.excerpt&&x(`span`,{className:`line-clamp-1 block text-xs text-wx-fg-muted`,children:e.excerpt})]})},e._id))})]})]})}):x(T,{})}function T(){return x(s,{followDirection:!0,className:`flex-1`,viewportRef:d(),children:S(`div`,{className:`flex flex-col px-5 pt-5 pb-12`,"aria-busy":`true`,"aria-live":`polite`,children:[S(`div`,{className:`animate-pulse space-y-2.5`,children:[x(`div`,{className:`h-5 w-3/4 rounded-md bg-wx-bg-elevated`}),x(`div`,{className:`h-5 w-1/2 rounded-md bg-wx-bg-elevated`})]}),S(`div`,{className:`mt-4 flex items-center gap-2 animate-pulse`,children:[x(`div`,{className:`h-5 w-5 rounded-full bg-wx-bg-elevated`}),x(`div`,{className:`h-3 w-32 rounded-md bg-wx-bg-elevated`})]}),x(`div`,{className:`mt-6 space-y-2.5 animate-pulse`,children:[`w-full`,`w-11/12`,`w-10/12`,`w-full`,`w-9/12`,`w-full`,`w-11/12`,`w-7/12`].map((e,n)=>x(`div`,{className:t(`h-3 rounded-md bg-wx-bg-elevated`,e)},n))})]})})}export{w as HelpArticleView};
2
+ //# sourceMappingURL=widget-react-CAmx0zaE.js.map
@@ -0,0 +1,2 @@
1
+ globalThis.process===void 0&&(globalThis.process={env:{},nextTick:function(e){setTimeout(e,0)},emit:function(){return!1}});import"react";import"react-dom";import"react/jsx-runtime";import"react-dom/client";var e={tabs:{home:`Início`,messages:`Mensagens`,help:`Ajuda`,news:`Novidades`,profile:`Perfil`},header:{close:`Fechar`,back:`Voltar`,conversationSubtitle:`Nossa equipe também pode ajudar`,helpTitle:`Ajuda`,newsTitle:`Novidades`,expand:`Expandir widget`,collapse:`Recolher widget`,messagesTitle:`Mensagens`,downloadTranscript:`Baixar conversa`,moreActions:`Mais`},launcher:{open:`Abrir chat`,close:`Fechar chat`,panel:`Chat`},tabError:{title:`Algo deu errado`,hint:`Não foi possível exibir esta seção.`,retry:`Tentar novamente`},chunkError:{failed:`Não foi possível carregar`,retry:`Tentar novamente`},home:{greetingHeadline:`Oi 👋`,greetingSubheadline:`Como podemos ajudar?`,askTitle:`Faça uma pergunta`,askSubtitle:`Nosso bot e nossa equipe podem ajudar`,recentMessageLabel:`Mensagem recente`,recentMessageTitle:`Mensagem recente`,recentMessageFromFallback:`Gaia`,recentMessageAgo:`4 h`,recentMessageSample:`Oi 👋 Obrigado por entrar em contato. Já voltamos para você.`,featuredArticleLoading:`Artigo em destaque`,featuredArticleTap:`Toque para ler`,featuredArticleEmpty:`Escolha um artigo`,featuredArticleSetUp:`Configure este bloco no seu painel`,featuredArticleDemoEyebrow:`Pioneer · Save the date`,featuredArticleDemoHeadline:`8 de outubro de 2026`,featuredArticleDemoSubline:`São Francisco · presencial + virtual`,featuredArticleDemoCta:`Ver a agenda do lançamento`,seeAgenda:`Ver a agenda do lançamento`,browseHelp:`Explorar a ajuda`,whatsNew:`Novidades`,searchPlaceholder:`Buscar na ajuda`,pinnedArticlesTitle:`Leia isto primeiro`,popularArticlesTitle:`Artigos populares`,pinnedArticleRow:`Artigo fixado {n}`,newsPreviewTitle:`Últimas novidades`,seeAll:`Ver tudo`,newsPreviewRow:`Atualização {n}`,myConversationsTitle:`Suas conversas`,myConversationsEmpty:`Ver suas conversas`,teamStatusOnline:`Estamos online`,teamStatusReplyInstant:`Geralmente responde na hora`,teamStatusReplyMinutes:`Geralmente responde em alguns minutos`,teamStatusReplyHours:`Geralmente responde em algumas horas`,teamStatusReplyDay:`Geralmente responde em até um dia`,teamStatusAiOnline:`{name} pode ajudar agora`,teamStatusOperatorsBack:`Os atendentes voltam {when}`,teamStatusOfflineUntil:`Estamos ausentes, voltamos {when}`,teamStatusOfflineSoon:`Estamos ausentes, voltamos em breve`,recentMessageAttachment:`Anexo`},messages:{today:`Hoje`,yesterday:`Ontem`,unreadMessages:`Mensagens não lidas`,slotDraftHint:`Save your changes to try this conversation.`,emptyTitle:`Ainda não há mensagens`,emptyBody:`Inicie uma conversa e nossa equipe responde aqui.`,sendCta:`Envie uma mensagem`,attach:`Anexar um arquivo`,commands:`Comandos rápidos`,record:`Gravar mensagem de voz`,stopRecording:`Parar gravação`,recording:`Gravando…`,uploading:`Enviando…`,uploadFailed:`Falha no envio`,voiceDenied:`Acesso ao microfone negado`,voiceUnsupported:`Este navegador não oferece gravação de voz`,fileTooLarge:`O arquivo é muito grande (máx. 10 MB)`,fileMimeNotAllowed:`Este tipo de arquivo não é suportado`,emoji:`Inserir emoji`,cancelRecording:`Cancelar gravação`,pauseRecording:`Pausar gravação`,resumeRecording:`Retomar gravação`,playPreview:`Reproduzir gravação`,emojiPicker:`Seletor de emoji`,emojiCategories:{suggested:`Usados recentemente`,smileysPeople:`Carinhas e pessoas`,animalsNature:`Animais e natureza`,foodDrink:`Comidas e bebidas`,travelPlaces:`Viagens e lugares`,activities:`Atividades`,objects:`Objetos`,symbols:`Símbolos`,flags:`Bandeiras`},emojiSearch:`Buscar…`,playAudio:`Reproduzir`,pauseAudio:`Pausar`,openAudio:`Abrir áudio`,removeAttachment:`Remover`,aiAssistant:`Assistente de IA`,operator:`Atendente`,openImage:`Abrir imagem`,openPreview:`Abrir prévia`,play:`Reproduzir`,pause:`Pausar`,typing:`digitando…`,aiThinking:`pensando…`,aiSearching:`pesquisando…`,typingSomeone:`Alguém`,signInToChat:`Entre na sua conta para iniciar a conversa.`,signInUnavailable:`O login não está disponível neste momento.`,googleSignIn:`Entrar com o Google`,googleUnavailable:`O login com o Google não está disponível. Verifique sua conexão ou bloqueador de anúncios e tente novamente.`,passkeySignIn:`Entrar com uma passkey`,passkeyRegister:`Primeira vez? Configurar uma passkey`,passkeyError:`Não foi possível entrar. Tente novamente.`,passkeyNoCredential:`Ainda não há nenhuma passkey neste dispositivo. Toque em «Configurar uma passkey» para criar uma.`,googleSignInDemo:`Continuar com o Google`,connectingOperator:`Um atendente foi atribuído, aguarde…`,assignment:{eta:{minutes:`Um atendente responderá em cerca de {minutes} min`,soft:`Normalmente respondemos em poucos minutos`,businessHours:`A equipe estará de volta às {time}`}},withOperator:`Agora você está conversando com {name}`,operatorConnected:`Atendente conectado`,chatResolved:`Conversa resolvida`,chatResolvedByYou:`Conversa resolvida por você`,chatResolvedByOperator:`Conversa resolvida por {name}`,resolveConversation:`Resolver conversa`,sources:`Fontes`,moreSources:`+{count} mais`,askQuestion:`Fazer uma pergunta`,previewYou:`Você: {text}`,threadsEmptyTitle:`Ainda não há conversas`,threadsEmptyBody:`Inicie uma conversa e ela aparecerá aqui.`,format:{bold:`Negrito`,italic:`Itálico`,underline:`Sublinhado`,strikethrough:`Tachado`,bulletList:`Lista com marcadores`,numberedList:`Lista numerada`,link:`Link`,linkPlaceholder:`https://…`,linkSave:`Salvar`,linkCancel:`Cancelar`,monospace:`Monoespaçado`},queued:`Aguardando conexão`,notDelivered:`Não entregue`,retry:`Tentar novamente`,offlineBanner:`Você está offline`,backOnline:`De volta online`,threadsErrorTitle:`Não foi possível carregar suas conversas`,threadsErrorBody:`Verifique sua conexão e tente novamente.`,giphy:{title:`GIFs e figurinhas`,searchPlaceholder:`Pesquisar no GIPHY`,clear:`Limpar`,tabGifs:`GIFs`,tabStickers:`Figurinhas`,error:`Não foi possível carregar`,retry:`Tentar novamente`,empty:`Nenhum resultado`,poweredBy:`Powered by GIPHY`},scrollToLatest:`Ir para a mais recente`,conversationClosed:`Esta conversa está encerrada`,startNewConversation:`Iniciar uma nova conversa`,conversationBlocked:`Esta conversa está bloqueada`,visitorBlocked:`Você não pode mais enviar mensagens`,conversationClosedTitle:`Por hoje é só 👋`,conversationClosedHint:`Esta conversa está encerrada. Inicie uma nova quando quiser.`,fileFallback:`Arquivo`},prechat:{title:`Antes de começarmos`,subtitle:`Alguns dados rápidos para nossa equipe ajudar mais rápido.`,labelName:`Nome`,labelEmail:`E-mail`,labelPhone:`Celular`,labelCustom:`Detalhes`,required:`Obrigatório`,invalidEmail:`Informe um e-mail válido`,invalidPhone:`Informe um número de celular válido`,submit:`Continuar`,submitFailed:`Não foi possível enviar. Tente novamente.`},help:{searchPlaceholder:`Buscar na ajuda`,emptyTitle:`Ainda não há artigos`,emptyBody:`Ainda não há nada aqui.`,back:`Voltar`,helpful:`Isto foi útil?`,yes:`Sim`,no:`Não`,thanks:`Obrigado pelo retorno.`,unresolvedCta:`Ainda precisa de ajuda? Mande uma mensagem`,noResults:`Sem resultados`,articleNotFound:`Artigo não encontrado`,articleNotTranslated:`Este artigo ainda não está disponível no seu idioma.`,writtenBy:`Escrito por {names}`,relatedTitle:`Artigos relacionados`,collectionsCount:`{count, plural, =0 {Sem coleções} one {# coleção} other {# coleções}}`,articlesCount:`{count, plural, =0 {Sem artigos} one {Artigos: #} other {Artigos: #}}`,authorsByline:`Autores {first}{remaining, plural, =0 {} one { e mais #} other { e mais #}}`},news:{emptyTitle:`Ainda não há novidades`,emptyBody:`Volte aqui para ver novidades do produto e anúncios.`,helpful:`Este artigo foi útil?`,yes:`Sim`,no:`Não`,thanks:`Obrigado pelo retorno.`,searchPlaceholder:`Buscar nas novidades`,noResults:`Nenhuma publicação correspondente`,editedAt:`editado {when}`,articleNotFound:`Artigo não encontrado.`,articleNotTranslated:`Esta publicação ainda não está disponível no seu idioma.`,readOriginal:`Ler o original`,relatedTitle:`Relacionados`,writtenBy:`Escrito por {names}`,unread:`Novidades não lidas`},reactions:{ariaLabel:`Reações`,tapAria:`Reagir com {emoji}`},languageSelector:{title:`Ler em outro idioma`,ariaLabel:`Idiomas do artigo`},branding:{poweredBy:`Desenvolvido por`,wexio:`Wexio`},sound:{mute:`Silenciar sons de notificação`,unmute:`Ativar sons de notificação`},article:{tableOfContents:`Sumário`,tabFallback:`Aba {n}`},peek:{newMessage:`Nova mensagem`,dismiss:`Dispensar`,aiAssistant:`Assistente de IA`,operator:`Atendente`,quickReplies:`Respostas rápidas`},lightbox:{mediaPreview:`Pré-visualização da mídia`,close:`Fechar prévia`,previous:`Anterior`,next:`Próximo`},authError:{turnstileTitle:`Não foi possível verificar seu navegador`,turnstileBody:`Não conseguimos concluir a verificação de segurança. Às vezes é um problema de rede ou de bloqueador de anúncios. Tente de novo ou recarregue a página.`,genericTitle:`Não foi possível conectar`,genericBody:`Algo deu errado ao fazer login. Tente novamente em um instante.`,retry:`Tentar de novo`,dismiss:`Dispensar`},profile:{title:`Seu perfil`,subtitle:`Atualize seus dados e o comportamento do widget.`,uploadAvatar:`Alterar foto`,removeAvatar:`Remover foto`,avatarUploading:`Enviando…`,preferencesHeading:`Preferências`,preferenceLanguage:`Idioma`,preferenceDesktopNotifications:`Notificações no computador`,preferenceDesktopNotificationsHint:`Receba uma notificação do sistema quando o widget não estiver em foco.`,preferenceThemeMode:`Tema`,themeAuto:`Como o sistema`,themeLight:`Claro`,themeDark:`Escuro`,themeLocked:`O tema não pode ser alterado.`,pinnedHint:`Não editável.`,requiredHint:`Obrigatório`,invalidEmail:`Informe um e-mail válido.`,invalidPhone:`Use o formato internacional, p. ex. +5511987654321.`,noFields:`Ainda não há nada para editar aqui.`,save:`Salvar alterações`,saving:`Salvando…`,cancel:`Descartar`,saved:`Alterações salvas.`,loading:`Carregando perfil…`,loadError:`Não foi possível carregar seu perfil. Tente novamente.`,retry:`Tentar de novo`,errorFieldNotAllowed:`Este campo não pode ser editado neste widget. Tente atualizar a página.`,errorFieldPinned:`Este campo está bloqueado pela sua conta.`,errorFieldInvalid:`Alguns valores não são válidos. Confira os campos destacados.`,errorThemeLocked:`O tema não pode ser alterado.`,errorFeatureDisabled:`A edição do perfil não está disponível.`,errorGeneric:`Não foi possível salvar as alterações. Tente novamente.`,notificationsBlocked:`O navegador bloqueou as notificações. Atualize as permissões do site para ativar.`,notificationsRequest:`Permita as notificações quando solicitado para ativar isso.`,systemFields:{avatar:`Foto`,wexioId:`ID Wexio`,telegramId:`ID Telegram`,whatsappId:`ID WhatsApp`,viberId:`ID Viber`,instagramId:`ID Instagram`,optInWhatsapp:`Consentimento do WhatsApp`,webVerified:`Visitante verificado`,firstName:`Nome`,lastName:`Sobrenome`,username:`Nome de usuário`,language:`Idioma`,email:`E-mail`,phone:`Celular`,company:`Empresa`,location:`Localização`,isValid:`Conta válida`,chatStatus:`Status do chat`,chatCategory:`Categoria do chat`,priority:`Prioridade`,leadSource:`Origem do lead`,leadStatus:`Status do lead`,interestLevel:`Nível de interesse`,productInterest:`Interesse no produto`,budgetRange:`Orçamento`,purchaseTimeline:`Prazo de compra`,lastMessageSentAt:`Última mensagem enviada`,lastMessageReceivedAt:`Última mensagem recebida`,lastSeenAt:`Visto pela última vez`,firstMessageReceivedAt:`Primeiro contato`,isBlocked:`Bloqueado`,registrationDate:`Cadastrado em`,aiAvailable:`Assistência de IA`,totalMessagesSent:`Mensagens enviadas`,totalMessagesReceived:`Mensagens recebidas`,totalAiMessagesSent:`Mensagens enviadas pela IA`,totalBotMessagesSent:`Mensagens enviadas pelo bot`,totalUserMessagesSent:`Mensagens enviadas pelo atendente`,flowCompletionRate:`Taxa de conclusão de flows`,lastFlowCompleted:`Último flow concluído`,totalFlowsStarted:`Flows iniciados`,totalFlowsCompleted:`Flows concluídos`},systemFieldOptions:{chatStatus:{ISSUE:`Problema`,RESOLVED:`Resolvido`,PENDING:`Pendente`,IN_PROGRESS:`Em andamento`,CLOSED:`Fechado`},chatCategory:{SALES:`Vendas`,SUPPORT:`Suporte`,BILLING:`Cobrança`,FEEDBACK:`Feedback`,GENERAL:`Geral`,OTHER:`Outro`},priority:{LOW:`Baixa`,MEDIUM:`Média`,HIGH:`Alta`,URGENT:`Urgente`},leadStatus:{NEW:`Novo`,CONTACTED:`Contatado`,QUALIFIED:`Qualificado`,NEGOTIATING:`Em negociação`,WON:`Ganho`,LOST:`Perdido`},interestLevel:{LOW:`Baixo`,MEDIUM:`Médio`,HIGH:`Alto`,VERY_HIGH:`Muito alto`}},selectOption:`Selecione uma opção`,noOptions:`Nenhuma opção configurada.`},transcript:{title:`Conversa com {org}`,started:`Iniciada em {when}`,exported:`Exportada de {org} em {when}`,truncated:`Observação: apenas as mensagens mais recentes estão incluídas.`,operator:`Atendente`,you:`Você`},notification:{newMessage:`Nova mensagem`,image:`Imagem`,video:`Vídeo`,voiceMessage:`Mensagem de voz`,attachment:`Anexo`}};export{e as default};
2
+ //# sourceMappingURL=widget-react-CMcBAjse.js.map