@wexio/messenger-widget-react 1.1.3 → 1.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/dist/{widget-react-CRMJO52c2.js → widget-react--A4IVF5N2.js} +6 -1
  2. package/dist/{widget-react-CQ0MdjMO.js → widget-react-BDd1HJHs.js} +40 -40
  3. package/dist/{widget-react-D4IN0PAd.js → widget-react-BFgpQWPW.js} +3106 -1324
  4. package/dist/{widget-react-CQ0DMi7b.js → widget-react-BGCZpMUT.js} +1 -1
  5. package/dist/{widget-react--Z53yWLq2.js → widget-react-BGmjRit12.js} +6 -1
  6. package/dist/{widget-react-DggFuVeH.js → widget-react-BJN4_XqD.js} +6 -1
  7. package/dist/{widget-react-TZUXHkN3.js → widget-react-BVRYDaf5.js} +2 -2
  8. package/dist/{widget-react-D8VVnE_C.js → widget-react-BepZON2O.js} +6 -1
  9. package/dist/{widget-react-CtqfleDq.js → widget-react-BirV4fjr.js} +6 -1
  10. package/dist/{widget-react-DxMQL_8s.js → widget-react-BjeN5jDi.js} +6 -1
  11. package/dist/{widget-react-CRU0Mk7M2.js → widget-react-Blj9taMI2.js} +6 -1
  12. package/dist/{widget-react-Bewo4hAN.js → widget-react-Bpjcku_E.js} +6 -1
  13. package/dist/{widget-react-BXWBpwSG.js → widget-react-Br-jpQBt.js} +6 -1
  14. package/dist/{widget-react-zxHGJvC92.js → widget-react-Br8qtj152.js} +3 -3
  15. package/dist/{widget-react-B1xXdkrb.js → widget-react-C4jVLX4O.js} +6 -1
  16. package/dist/{widget-react-Da9YD8ww.js → widget-react-CMn2M4G7.js} +6 -1
  17. package/dist/{widget-react-C-AT2-gv.js → widget-react-CPIqSc_J.js} +6 -1
  18. package/dist/{widget-react-qdPNeB-W.js → widget-react-CPnUEeex.js} +1499 -3276
  19. package/dist/{widget-react-eXbKkl7c.js → widget-react-CVrATfkA.js} +6 -1
  20. package/dist/{widget-react-CYNlFLU2.js → widget-react-CkDPMun5.js} +6 -1
  21. package/dist/{widget-react-CD4t2uUl.js → widget-react-Cp0KM0D6.js} +6 -1
  22. package/dist/{widget-react-CHovQzDz.js → widget-react-Cs_ooZdD.js} +6 -1
  23. package/dist/{widget-react-CrpD2kq2.js → widget-react-Csr68eN1.js} +6 -1
  24. package/dist/{widget-react-BAidDzVE.js → widget-react-CxzW4Bam.js} +6 -1
  25. package/dist/{widget-react-PPEhhlha.js → widget-react-D00lhVJW.js} +6 -1
  26. package/dist/{widget-react-CN_ZiUtH2.js → widget-react-D7Q1S5E02.js} +37 -37
  27. package/dist/{widget-react-CoGUeF_h2.js → widget-react-DM5ptbez2.js} +6 -1
  28. package/dist/{widget-react-Budvz0_j.js → widget-react-DU5Wg6Cl.js} +6 -1
  29. package/dist/{widget-react-BKH1V5yP2.js → widget-react-DWO5MXt62.js} +4 -4
  30. package/dist/{widget-react-BeiQb2DF.js → widget-react-DYBhHaDC.js} +6 -1
  31. package/dist/{widget-react-BApgrs0F2.js → widget-react-DZxVgDlM2.js} +6 -1
  32. package/dist/{widget-react-DP-dfZKt.js → widget-react-D_1wQTaz.js} +2 -2
  33. package/dist/{widget-react-DvJJgkjL2.js → widget-react-Dhi-efUB2.js} +6 -1
  34. package/dist/{widget-react-nq6E5YOO.js → widget-react-DmQP1bcj.js} +1009 -1009
  35. package/dist/{widget-react-Dwh_wT04.js → widget-react-Dvze5gXC.js} +6 -1
  36. package/dist/{widget-react-OBiIuvv4.js → widget-react-H0QV1X13.js} +6 -1
  37. package/dist/{widget-react-CXoyPTrE.js → widget-react-JcQ9Xwb6.js} +6 -1
  38. package/dist/{widget-react-Br4IdRpT.js → widget-react-LjYTh4EJ.js} +6 -1
  39. package/dist/{widget-react-TvsiLCVT.js → widget-react-M3D_BLuT.js} +6 -1
  40. package/dist/{widget-react-C2zCJ9nY2.js → widget-react-NUWScxeE2.js} +28 -28
  41. package/dist/{widget-react-BTMh-VbZ.js → widget-react-NffhFueH.js} +2 -2
  42. package/dist/{widget-react-C1espdWC.js → widget-react-O_BU6qSC.js} +6 -1
  43. package/dist/{widget-react-DCMGvY8I.js → widget-react-WSHbDgKs.js} +6 -1
  44. package/dist/{widget-react-Bh-QS4id.js → widget-react-_6vfCiAZ.js} +6 -1
  45. package/dist/{widget-react-qRVXcyaM2.js → widget-react-e8MoPThS2.js} +6 -1
  46. package/dist/widget-react.js +2997 -2951
  47. package/package.json +1 -1
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Auf diesem Gerät ist noch kein Passkey vorhanden – tippen Sie auf „Passkey einrichten“, um einen zu erstellen.",
130
130
  googleSignInDemo: "Mit Google fortfahren",
131
131
  connectingOperator: "Ein Mitarbeiter wurde zugewiesen, bitte warten…",
132
+ assignment: { eta: {
133
+ minutes: "Ein Mitarbeiter antwortet in etwa {minutes} Min.",
134
+ soft: "Wir antworten normalerweise innerhalb weniger Minuten",
135
+ businessHours: "Das Team ist wieder um {time} erreichbar"
136
+ } },
132
137
  withOperator: "Sie chatten jetzt mit {name}",
133
138
  operatorConnected: "Mitarbeiter verbunden",
134
139
  chatResolved: "Gespräch gelöst",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-eXbKkl7c.js.map
359
+ //# sourceMappingURL=widget-react-CVrATfkA.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "इस डिवाइस पर अभी कोई पासकी नहीं है — बनाने के लिए \"पासकी सेट करें\" पर टैप करें।",
130
130
  googleSignInDemo: "Google के साथ जारी रखें",
131
131
  connectingOperator: "एक ऑपरेटर नियुक्त किया गया है, कृपया प्रतीक्षा करें…",
132
+ assignment: { eta: {
133
+ minutes: "एक ऑपरेटर लगभग {minutes} मिनट में जवाब देगा",
134
+ soft: "हम आमतौर पर कुछ ही मिनटों में जवाब देते हैं",
135
+ businessHours: "टीम {time} पर वापस आएगी"
136
+ } },
132
137
  withOperator: "अब आप {name} के साथ चैट कर रहे हैं",
133
138
  operatorConnected: "ऑपरेटर से जुड़ गए",
134
139
  chatResolved: "बातचीत हल हो गई",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-CYNlFLU2.js.map
359
+ //# sourceMappingURL=widget-react-CkDPMun5.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Încă nu există un passkey pe acest dispozitiv — atinge „Configurează un passkey” pentru a crea unul.",
130
130
  googleSignInDemo: "Continuă cu Google",
131
131
  connectingOperator: "Un operator ți-a fost alocat, te rugăm să aștepți…",
132
+ assignment: { eta: {
133
+ minutes: "Un operator va răspunde în aproximativ {minutes} min",
134
+ soft: "De obicei răspundem în câteva minute",
135
+ businessHours: "Echipa revine la {time}"
136
+ } },
132
137
  withOperator: "Acum discuți cu {name}",
133
138
  operatorConnected: "Operator conectat",
134
139
  chatResolved: "Conversație rezolvată",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-CD4t2uUl.js.map
359
+ //# sourceMappingURL=widget-react-Cp0KM0D6.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Aún no hay ninguna passkey en este dispositivo: toca «Configurar una passkey» para crear una.",
130
130
  googleSignInDemo: "Continuar con Google",
131
131
  connectingOperator: "Se asignó un agente, espera un momento…",
132
+ assignment: { eta: {
133
+ minutes: "Un agente responderá en unos {minutes} min",
134
+ soft: "Normalmente respondemos en pocos minutos",
135
+ businessHours: "El equipo estará de vuelta a las {time}"
136
+ } },
132
137
  withOperator: "Ahora estás chateando con {name}",
133
138
  operatorConnected: "Agente conectado",
134
139
  chatResolved: "Conversación resuelta",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-CHovQzDz.js.map
359
+ //# sourceMappingURL=widget-react-Cs_ooZdD.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Belum ada passkey di perangkat ini — ketuk \"Siapkan passkey\" untuk membuatnya.",
130
130
  googleSignInDemo: "Lanjutkan dengan Google",
131
131
  connectingOperator: "Operator telah ditugaskan, mohon tunggu…",
132
+ assignment: { eta: {
133
+ minutes: "Operator akan membalas dalam sekitar {minutes} mnt",
134
+ soft: "Kami biasanya membalas dalam beberapa menit",
135
+ businessHours: "Tim akan kembali pada {time}"
136
+ } },
132
137
  withOperator: "Anda sekarang mengobrol dengan {name}",
133
138
  operatorConnected: "Operator terhubung",
134
139
  chatResolved: "Percakapan diselesaikan",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-CrpD2kq2.js.map
359
+ //# sourceMappingURL=widget-react-Csr68eN1.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "このデバイスにはまだパスキーがありません — 作成するには「パスキーを設定」をタップしてください。",
130
130
  googleSignInDemo: "Googleで続行",
131
131
  connectingOperator: "オペレーターが割り当てられました。しばらくお待ちください…",
132
+ assignment: { eta: {
133
+ minutes: "オペレーターは約{minutes}分以内に返信いたします",
134
+ soft: "通常、数分以内に返信いたします",
135
+ businessHours: "スタッフは{time}に対応を再開いたします"
136
+ } },
132
137
  withOperator: "{name}とのチャットが始まりました",
133
138
  operatorConnected: "オペレーターが接続されました",
134
139
  chatResolved: "会話は解決済みです",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-BAidDzVE.js.map
359
+ //# sourceMappingURL=widget-react-CxzW4Bam.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "이 기기에 아직 패스키가 없습니다 — 생성하려면 \"패스키 설정\"을 탭하세요.",
130
130
  googleSignInDemo: "Google로 계속하기",
131
131
  connectingOperator: "상담원이 배정되었습니다. 잠시만 기다려 주십시오…",
132
+ assignment: { eta: {
133
+ minutes: "상담원이 약 {minutes}분 이내에 답변드립니다",
134
+ soft: "보통 몇 분 이내에 답변드립니다",
135
+ businessHours: "담당팀이 {time}에 다시 응대를 시작합니다"
136
+ } },
132
137
  withOperator: "이제 {name}님과 채팅 중입니다",
133
138
  operatorConnected: "상담원이 연결되었습니다",
134
139
  chatResolved: "대화가 해결되었습니다",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-PPEhhlha.js.map
359
+ //# sourceMappingURL=widget-react-D00lhVJW.js.map
@@ -11,11 +11,11 @@ import "react";
11
11
  import "react-dom";
12
12
  import "react/jsx-runtime";
13
13
  import "react-dom/client";
14
- import { E as e, S as t, r as n } from "./widget-react-D4IN0PAd.js";
15
- import { a as r, c as i, i as a, l as o, n as s, o as c, r as l, t as u } from "./widget-react-qdPNeB-W.js";
16
- import { i as d, n as f, o as p } from "./widget-react-CQ0DMi7b.js";
17
- import { d as m, h, m as g, n as _, r as v } from "./widget-react-CQ0MdjMO.js";
18
- import { t as y } from "./widget-react-DP-dfZKt.js";
14
+ import { T as e, k as t, o as n } from "./widget-react-BFgpQWPW.js";
15
+ import { i as r, n as i, o as a } from "./widget-react-BGCZpMUT.js";
16
+ import { d as o, h as s, m as c, n as l, r as u } from "./widget-react-BDd1HJHs.js";
17
+ import { t as d } from "./widget-react-D_1wQTaz.js";
18
+ import { a as f, c as p, i as m, l as h, n as g, o as _, r as v, t as y } from "./widget-react-CPnUEeex.js";
19
19
  import { useState as b } from "react";
20
20
  import { jsx as x, jsxs as S } from "react/jsx-runtime";
21
21
  //#region components/widget/news-article-view/helpers.ts
@@ -81,10 +81,10 @@ function C(e) {
81
81
  }
82
82
  //#endregion
83
83
  //#region components/widget/news-article-view/related-news-list.tsx
84
- function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPostsById: r, visitorRelatedRaw: i, isDummy: a, onOpen: o }) {
85
- let s = d("news"), c = (() => {
86
- if (a) return [];
87
- if (Array.isArray(i) && i.length > 0) return i.filter((e) => !!e && typeof e == "object").map((e) => {
84
+ function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPostsById: i, visitorRelatedRaw: a, isDummy: o, onOpen: s }) {
85
+ let c = r("news"), l = (() => {
86
+ if (o) return [];
87
+ if (Array.isArray(a) && a.length > 0) return a.filter((e) => !!e && typeof e == "object").map((e) => {
88
88
  let t = e.coverImageUrl?.url ?? e.externalCoverImageUrl;
89
89
  return {
90
90
  id: String(e._id ?? e.id ?? ""),
@@ -92,11 +92,11 @@ function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPosts
92
92
  coverImageUrl: typeof t == "string" ? t : void 0
93
93
  };
94
94
  }).filter((e) => e.id && e.title);
95
- if (r && Object.keys(r).length > 0 && (t.length > 0 || n.length > 0)) {
96
- let i = new Set(t), a = new Set(n), o = [];
97
- for (let [t, n] of Object.entries(r)) {
95
+ if (i && Object.keys(i).length > 0 && (t.length > 0 || n.length > 0)) {
96
+ let r = new Set(t), a = new Set(n), o = [];
97
+ for (let [t, n] of Object.entries(i)) {
98
98
  if (t === e || !n || typeof n != "object") continue;
99
- let r = n, s = Array.isArray(r.categories) ? r.categories : [], c = Array.isArray(r.tags) ? r.tags : [], l = (e) => {
99
+ let i = n, s = Array.isArray(i.categories) ? i.categories : [], c = Array.isArray(i.tags) ? i.tags : [], l = (e) => {
100
100
  let t = /* @__PURE__ */ new Set();
101
101
  for (let n of e) if (n && typeof n == "object") {
102
102
  let e = n._id ?? n.id;
@@ -104,16 +104,16 @@ function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPosts
104
104
  }
105
105
  return t;
106
106
  }, u = l(s), d = l(c), f = 0;
107
- for (let e of u) i.has(e) && f++;
107
+ for (let e of u) r.has(e) && f++;
108
108
  for (let e of d) a.has(e) && f++;
109
109
  if (f === 0) continue;
110
- let p = r.coverImageUrl?.url ?? r.externalCoverImageUrl;
110
+ let p = i.coverImageUrl?.url ?? i.externalCoverImageUrl;
111
111
  o.push({
112
112
  id: t,
113
- title: typeof r.title == "string" ? r.title : "",
113
+ title: typeof i.title == "string" ? i.title : "",
114
114
  coverImageUrl: typeof p == "string" ? p : void 0,
115
115
  overlap: f,
116
- publishedAt: typeof r.publishedAt == "string" ? r.publishedAt : ""
116
+ publishedAt: typeof i.publishedAt == "string" ? i.publishedAt : ""
117
117
  });
118
118
  }
119
119
  return o.sort((e, t) => t.overlap === e.overlap ? t.publishedAt.localeCompare(e.publishedAt) : t.overlap - e.overlap), o.slice(0, 5).map(({ id: e, title: t, coverImageUrl: n }) => ({
@@ -124,16 +124,16 @@ function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPosts
124
124
  }
125
125
  return [];
126
126
  })();
127
- return c.length === 0 ? null : /* @__PURE__ */ S("section", {
127
+ return l.length === 0 ? null : /* @__PURE__ */ S("section", {
128
128
  className: "mt-6",
129
129
  children: [/* @__PURE__ */ x("p", {
130
130
  className: "mb-2 text-xs font-semibold tracking-wide text-wx-fg-muted uppercase",
131
- children: s("relatedTitle")
131
+ children: c("relatedTitle")
132
132
  }), /* @__PURE__ */ x("ul", {
133
133
  className: "flex flex-col gap-2",
134
- children: c.map((e) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ S("button", {
134
+ children: l.map((e) => /* @__PURE__ */ x("li", { children: /* @__PURE__ */ S("button", {
135
135
  type: "button",
136
- onClick: () => o(e.id),
136
+ onClick: () => s(e.id),
137
137
  className: "flex w-full items-center gap-3 rounded-wx-lg bg-wx-bg-elevated px-3 py-2 text-left transition-colors hover:bg-wx-bg-elevated/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-wx-primary",
138
138
  children: [/* @__PURE__ */ x("span", {
139
139
  className: "aspect-square w-12 shrink-0 rounded-wx-sm bg-cover bg-center",
@@ -150,20 +150,20 @@ function w({ currentId: e, currentCategoryIds: t, currentTagIds: n, previewPosts
150
150
  //#endregion
151
151
  //#region components/widget/news-article-view/index.tsx
152
152
  function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
153
- let A = d("news"), j = d("demo"), M = p(), N = e(), { config: P } = t(), F = P.messenger?.showRelatedNews ?? !0, I = P.messenger?.showReactionCounts ?? !0, [L, R] = b(M), z = r(L, j), B = D ? null : N.previewData?.newsPostsById?.[T], V = !!B, { data: H, loading: U } = g({
153
+ let A = r("news"), j = r("demo"), M = a(), N = t(), { config: P } = e(), F = P.messenger?.showRelatedNews ?? !0, I = P.messenger?.showReactionCounts ?? !0, [L, R] = b(M), z = f(L, j), B = D ? null : N.previewData?.newsPostsById?.[T], V = !!B, { data: H, loading: U } = c({
154
154
  variables: { args: {
155
155
  id: T,
156
156
  locale: M
157
157
  } },
158
158
  skip: D || V || !T
159
- }), { data: W } = h({
159
+ }), { data: W } = s({
160
160
  variables: {
161
161
  postId: T,
162
162
  limit: 5,
163
163
  locale: M
164
164
  },
165
165
  skip: D || V || !T || !F
166
- }), G = D ? m(z).find((e) => e.id === T) ?? null : null, K = G ? {
166
+ }), G = D ? o(z).find((e) => e.id === T) ?? null : null, K = G ? {
167
167
  id: G.id,
168
168
  title: G.title,
169
169
  excerpt: G.excerpt,
@@ -178,7 +178,7 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
178
178
  category: G.category,
179
179
  locale: L
180
180
  } : C(V ? B : H?.visitorNewsPost);
181
- if (c(K?.title, k), !K) return U ? /* @__PURE__ */ x(E, {}) : /* @__PURE__ */ x("div", {
181
+ if (_(K?.title, k), !K) return U ? /* @__PURE__ */ x(E, {}) : /* @__PURE__ */ x("div", {
182
182
  className: "flex flex-1 items-center justify-center px-6 py-12 text-center",
183
183
  children: /* @__PURE__ */ x("p", {
184
184
  className: "text-sm text-wx-fg-muted",
@@ -199,7 +199,7 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
199
199
  children: /* @__PURE__ */ S("div", {
200
200
  className: "flex flex-col",
201
201
  children: [/* @__PURE__ */ x("div", {
202
- className: f("relative w-full"),
202
+ className: i("relative w-full"),
203
203
  style: {
204
204
  aspectRatio: "16 / 9",
205
205
  background: K.coverImageUrl ? `url(${K.coverImageUrl}) center/cover` : `linear-gradient(135deg, ${Y[0]}, ${Y[1]})`
@@ -218,10 +218,10 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
218
218
  month: "long",
219
219
  day: "numeric",
220
220
  year: "numeric"
221
- }) }), v(K) && K.upstreamUpdatedAt && /* @__PURE__ */ x("span", {
221
+ }) }), u(K) && K.upstreamUpdatedAt && /* @__PURE__ */ x("span", {
222
222
  className: "rounded-full bg-wx-bg-elevated px-1.5 py-0.5 text-[10px] font-medium text-wx-fg-muted",
223
223
  title: new Date(K.upstreamUpdatedAt).toLocaleString(M),
224
- children: A("editedAt", { when: _(K.upstreamUpdatedAt) })
224
+ children: A("editedAt", { when: l(K.upstreamUpdatedAt) })
225
225
  })]
226
226
  }),
227
227
  /* @__PURE__ */ x("h2", {
@@ -254,9 +254,9 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
254
254
  className: "text-base leading-relaxed text-wx-fg-muted",
255
255
  children: K.excerpt
256
256
  }),
257
- K.contentMarkdown && /* @__PURE__ */ x(l, {
257
+ K.contentMarkdown && /* @__PURE__ */ x(v, {
258
258
  content: K.contentMarkdown,
259
- isHtml: K.bodyFormat === "html" || o(K.contentMarkdown),
259
+ isHtml: K.bodyFormat === "html" || h(K.contentMarkdown),
260
260
  markdownMarginClass: "mt-3"
261
261
  }),
262
262
  K.sourceUrl && /* @__PURE__ */ S("a", {
@@ -264,7 +264,7 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
264
264
  target: "_blank",
265
265
  rel: "noopener noreferrer",
266
266
  className: "mt-4 flex items-center justify-center gap-1.5 text-xs text-wx-primary underline underline-offset-2 transition-opacity hover:opacity-80",
267
- children: [/* @__PURE__ */ x(y, { size: 12 }), /* @__PURE__ */ x("span", { children: A("readOriginal") })]
267
+ children: [/* @__PURE__ */ x(d, { size: 12 }), /* @__PURE__ */ x("span", { children: A("readOriginal") })]
268
268
  }),
269
269
  F && /* @__PURE__ */ x(w, {
270
270
  currentId: K.id,
@@ -275,8 +275,8 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
275
275
  isDummy: D,
276
276
  onOpen: O ?? (() => {})
277
277
  }),
278
- K.id && /* @__PURE__ */ x(u, {
279
- surface: i.NEWS,
278
+ K.id && /* @__PURE__ */ x(y, {
279
+ surface: p.NEWS,
280
280
  itemId: K.id,
281
281
  reactionCounts: K.reactionCounts ?? null,
282
282
  viewerReaction: K.viewerReaction ?? null,
@@ -285,9 +285,9 @@ function T({ id: T, isDummy: D, onOpenRelated: O, onTitleResolved: k }) {
285
285
  showCounts: I,
286
286
  className: "mt-6"
287
287
  }),
288
- /* @__PURE__ */ x(s, {
288
+ /* @__PURE__ */ x(g, {
289
289
  currentLocale: D ? L : K.locale ?? M,
290
- locales: D ? [...a] : (K.translations ?? []).map((e) => e.locale),
290
+ locales: D ? [...m] : (K.translations ?? []).map((e) => e.locale),
291
291
  allowedLocales: D ? void 0 : P.supportedLocales,
292
292
  onSelect: D ? (e) => R(e) : (e) => {
293
293
  let t = (K.translations ?? []).find((t) => t.locale === e);
@@ -330,7 +330,7 @@ function E() {
330
330
  "w-full",
331
331
  "w-9/12",
332
332
  "w-7/12"
333
- ].map((e, t) => /* @__PURE__ */ x("div", { className: f("h-3 rounded-md bg-wx-bg-elevated", e) }, t))
333
+ ].map((e, t) => /* @__PURE__ */ x("div", { className: i("h-3 rounded-md bg-wx-bg-elevated", e) }, t))
334
334
  })
335
335
  ]
336
336
  })]
@@ -340,4 +340,4 @@ function E() {
340
340
  //#endregion
341
341
  export { T as NewsArticleView };
342
342
 
343
- //# sourceMappingURL=widget-react-CN_ZiUtH2.js.map
343
+ //# sourceMappingURL=widget-react-D7Q1S5E02.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Bu cihazda henüz passkey yok — eklemek için “Bir passkey oluştur”a dokun.",
130
130
  googleSignInDemo: "Google ile devam et",
131
131
  connectingOperator: "Bir operatör atandı, lütfen bekleyin…",
132
+ assignment: { eta: {
133
+ minutes: "Bir operatör yaklaşık {minutes} dk içinde yanıt verecek",
134
+ soft: "Genellikle birkaç dakika içinde yanıt veriyoruz",
135
+ businessHours: "Ekip {time} itibarıyla geri dönecek"
136
+ } },
132
137
  withOperator: "Şimdi {name} ile sohbet ediyorsunuz",
133
138
  operatorConnected: "Operatör bağlandı",
134
139
  chatResolved: "Görüşme çözüldü",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-CoGUeF_h2.js.map
359
+ //# sourceMappingURL=widget-react-DM5ptbez2.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "No passkey on this device yet — tap “Set up a passkey” to create one.",
130
130
  googleSignInDemo: "Continue with Google",
131
131
  connectingOperator: "An operator has been assigned, please wait…",
132
+ assignment: { eta: {
133
+ minutes: "An operator will reply in about {minutes} min",
134
+ soft: "We usually reply within a few minutes",
135
+ businessHours: "The team will be back at {time}"
136
+ } },
132
137
  withOperator: "You're now chatting with {name}",
133
138
  operatorConnected: "Operator connected",
134
139
  chatResolved: "Conversation resolved",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-Budvz0_j.js.map
359
+ //# sourceMappingURL=widget-react-DU5Wg6Cl.js.map
@@ -11,9 +11,9 @@ import "react";
11
11
  import "react-dom";
12
12
  import "react/jsx-runtime";
13
13
  import "react-dom/client";
14
- import { i as e, n as t } from "./widget-react-CQ0DMi7b.js";
15
- import { t as n } from "./widget-react-DP-dfZKt.js";
16
- import { n as r, r as i, t as a } from "./widget-react-TZUXHkN3.js";
14
+ import { i as e, n as t } from "./widget-react-BGCZpMUT.js";
15
+ import { t as n } from "./widget-react-D_1wQTaz.js";
16
+ import { n as r, r as i, t as a } from "./widget-react-BVRYDaf5.js";
17
17
  import { t as o } from "./widget-react-D9b9f-j_2.js";
18
18
  import { memo as s, useEffect as c, useMemo as l, useRef as u, useState as d } from "react";
19
19
  import { jsx as f, jsxs as p } from "react/jsx-runtime";
@@ -361,4 +361,4 @@ function A(e, t) {
361
361
  //#endregion
362
362
  export { O as AudioBubblePlayer };
363
363
 
364
- //# sourceMappingURL=widget-react-BKH1V5yP2.js.map
364
+ //# sourceMappingURL=widget-react-DWO5MXt62.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Ingen passkey på denne enhed endnu — tryk på ”Opret en passkey” for at oprette en.",
130
130
  googleSignInDemo: "Fortsæt med Google",
131
131
  connectingOperator: "En operatør er blevet tildelt, vent venligst…",
132
+ assignment: { eta: {
133
+ minutes: "En medarbejder svarer om cirka {minutes} min",
134
+ soft: "Vi svarer normalt inden for få minutter",
135
+ businessHours: "Teamet er tilbage {time}"
136
+ } },
132
137
  withOperator: "Du chatter nu med {name}",
133
138
  operatorConnected: "Operatør forbundet",
134
139
  chatResolved: "Samtalen er løst",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-BeiQb2DF.js.map
359
+ //# sourceMappingURL=widget-react-DYBhHaDC.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "ยังไม่มีพาสคีย์ในอุปกรณ์นี้ — แตะ \"ตั้งค่าพาสคีย์\" เพื่อสร้าง",
130
130
  googleSignInDemo: "ดำเนินการต่อด้วย Google",
131
131
  connectingOperator: "มีการมอบหมายเจ้าหน้าที่แล้ว โปรดรอสักครู่…",
132
+ assignment: { eta: {
133
+ minutes: "เจ้าหน้าที่จะตอบกลับในอีกประมาณ {minutes} นาที",
134
+ soft: "โดยปกติเราจะตอบกลับภายในไม่กี่นาที",
135
+ businessHours: "ทีมงานจะกลับมาในเวลา {time}"
136
+ } },
132
137
  withOperator: "ตอนนี้คุณกำลังแชทกับ {name}",
133
138
  operatorConnected: "เชื่อมต่อกับเจ้าหน้าที่แล้ว",
134
139
  chatResolved: "การสนทนาได้รับการแก้ไขแล้ว",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-BApgrs0F2.js.map
359
+ //# sourceMappingURL=widget-react-DZxVgDlM2.js.map
@@ -11,7 +11,7 @@ import "react";
11
11
  import "react-dom";
12
12
  import "react/jsx-runtime";
13
13
  import "react-dom/client";
14
- import { t as e } from "./widget-react-CQ0DMi7b.js";
14
+ import { t as e } from "./widget-react-BGCZpMUT.js";
15
15
  var t = e("external-link", [
16
16
  ["path", {
17
17
  d: "M15 3h6v6",
@@ -29,4 +29,4 @@ var t = e("external-link", [
29
29
  //#endregion
30
30
  export { t };
31
31
 
32
- //# sourceMappingURL=widget-react-DP-dfZKt.js.map
32
+ //# sourceMappingURL=widget-react-D_1wQTaz.js.map
@@ -129,6 +129,11 @@ var t = /* @__PURE__ */ e({
129
129
  passkeyNoCredential: "Ingen passkey på den här enheten än — tryck på ”Skapa en passkey” för att lägga till.",
130
130
  googleSignInDemo: "Fortsätt med Google",
131
131
  connectingOperator: "En operatör har tilldelats, vänligen vänta…",
132
+ assignment: { eta: {
133
+ minutes: "En operatör svarar om cirka {minutes} min",
134
+ soft: "Vi svarar oftast inom några minuter",
135
+ businessHours: "Teamet är tillbaka {time}"
136
+ } },
132
137
  withOperator: "Du chattar nu med {name}",
133
138
  operatorConnected: "Operatör ansluten",
134
139
  chatResolved: "Konversationen har lösts",
@@ -351,4 +356,4 @@ var t = /* @__PURE__ */ e({
351
356
  //#endregion
352
357
  export { t as n, y as t };
353
358
 
354
- //# sourceMappingURL=widget-react-DvJJgkjL2.js.map
359
+ //# sourceMappingURL=widget-react-Dhi-efUB2.js.map