@alfadocs/ui-kit 1.91.0 → 1.93.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 (77) hide show
  1. package/README.md +24 -0
  2. package/dist/_chunks/map-view--c9bJDRw.js +726 -0
  3. package/dist/_chunks/{practice-results-CQ_KvEXK.js → practice-results-BWX9y6mS.js} +495 -471
  4. package/dist/_chunks/{booking-opt_h7Uc.js → reserved.agent-C1gLyK2R.js} +1031 -1011
  5. package/dist/ag-grid.css +2746 -0
  6. package/dist/agent-catalog.json +15 -1
  7. package/dist/apexcharts.css +40 -0
  8. package/dist/components/booking/index.d.ts +3 -0
  9. package/dist/components/booking/index.js +6 -4
  10. package/dist/components/booking/reserved.agent.d.ts +4 -0
  11. package/dist/components/booking/reserved.d.ts +9 -6
  12. package/dist/components/map-view/index.d.ts +1 -1
  13. package/dist/components/map-view/index.js +1 -1
  14. package/dist/components/map-view/map-view.d.ts +17 -0
  15. package/dist/components/practice-results/index.js +1 -1
  16. package/dist/components/practice-results/practice-results.d.ts +2 -2
  17. package/dist/core.css +2 -0
  18. package/dist/fullcalendar.css +56 -0
  19. package/dist/i18n/config.js +81 -81
  20. package/dist/i18n/locales/ar.d.ts +1 -0
  21. package/dist/i18n/locales/ar.js +2 -1
  22. package/dist/i18n/locales/de.d.ts +1 -0
  23. package/dist/i18n/locales/de.js +2 -1
  24. package/dist/i18n/locales/el.d.ts +1 -0
  25. package/dist/i18n/locales/el.js +2 -1
  26. package/dist/i18n/locales/en.d.ts +3 -2
  27. package/dist/i18n/locales/en.js +2 -1
  28. package/dist/i18n/locales/es.d.ts +1 -0
  29. package/dist/i18n/locales/es.js +2 -1
  30. package/dist/i18n/locales/fr.d.ts +1 -0
  31. package/dist/i18n/locales/fr.js +2 -1
  32. package/dist/i18n/locales/hi.d.ts +1 -0
  33. package/dist/i18n/locales/hi.js +2 -1
  34. package/dist/i18n/locales/it.d.ts +1 -0
  35. package/dist/i18n/locales/it.js +2 -1
  36. package/dist/i18n/locales/ja.d.ts +1 -0
  37. package/dist/i18n/locales/ja.js +2 -1
  38. package/dist/i18n/locales/nl.d.ts +1 -0
  39. package/dist/i18n/locales/nl.js +2 -1
  40. package/dist/i18n/locales/pl.d.ts +1 -0
  41. package/dist/i18n/locales/pl.js +2 -1
  42. package/dist/i18n/locales/pt.d.ts +1 -0
  43. package/dist/i18n/locales/pt.js +2 -1
  44. package/dist/i18n/locales/ro.d.ts +1 -0
  45. package/dist/i18n/locales/ro.js +2 -1
  46. package/dist/i18n/locales/ru.d.ts +1 -0
  47. package/dist/i18n/locales/ru.js +2 -1
  48. package/dist/i18n/locales/sq.d.ts +1 -0
  49. package/dist/i18n/locales/sq.js +2 -1
  50. package/dist/i18n/locales/sv.d.ts +1 -0
  51. package/dist/i18n/locales/sv.js +2 -1
  52. package/dist/i18n/locales/tr.d.ts +1 -0
  53. package/dist/i18n/locales/tr.js +2 -1
  54. package/dist/i18n/locales/zh.d.ts +1 -0
  55. package/dist/i18n/locales/zh.js +2 -1
  56. package/dist/index.js +452 -450
  57. package/dist/locales/ar.json +2 -1
  58. package/dist/locales/de.json +2 -1
  59. package/dist/locales/el.json +2 -1
  60. package/dist/locales/en.json +2 -1
  61. package/dist/locales/es.json +2 -1
  62. package/dist/locales/fr.json +2 -1
  63. package/dist/locales/hi.json +2 -1
  64. package/dist/locales/it.json +2 -1
  65. package/dist/locales/ja.json +2 -1
  66. package/dist/locales/nl.json +2 -1
  67. package/dist/locales/pl.json +2 -1
  68. package/dist/locales/pt.json +2 -1
  69. package/dist/locales/ro.json +2 -1
  70. package/dist/locales/ru.json +2 -1
  71. package/dist/locales/sq.json +2 -1
  72. package/dist/locales/sv.json +2 -1
  73. package/dist/locales/tr.json +2 -1
  74. package/dist/locales/zh.json +2 -1
  75. package/dist/redactor.css +54 -0
  76. package/package.json +10 -3
  77. package/dist/_chunks/map-view-UrNgxBy3.js +0 -606
@@ -0,0 +1,56 @@
1
+ @layer utilities{.ds\:\[\&_\.fc-scrollgrid-section-header\.fc-scrollgrid-section-sticky\>\*\]\:\!top-\[var\(--inc1-header-offset\,0px\)\] .fc-scrollgrid-section-header.fc-scrollgrid-section-sticky>*{top:var(--inc1-header-offset,0px)!important}.ds\:\[\&_\.fc-view\]\:\!overflow-visible .fc-view,.ds\:\[\&_\.fc-view\>table\]\:\!overflow-visible .fc-view>table{overflow:visible!important}.ds\:\[\&_\:is\(\.fc-event\,\.fc-bg-event_button\,\.fc-daygrid-more-link\,a\[data-navlink\]\)\]\:\[scroll-margin-block-start\:var\(--inc1-pinned-block-size\,0px\)\] :is(.fc-event,.fc-bg-event button,.fc-daygrid-more-link,a[data-navlink]){scroll-margin-block-start:var(--inc1-pinned-block-size,0px)}}
2
+ @media(prefers-reduced-motion:reduce){
3
+ .fc-theme-alfadocs .fc-event,.fc-theme-alfadocs .fc-button{transition:none!important}
4
+ .fc-theme-alfadocs .calendar-event-focused{transition:none}
5
+ .fc-theme-alfadocs .calendar-col-loading{animation:none}}
6
+ @media(forced-colors:active){
7
+ .fc-theme-alfadocs .calendar-event-selected{outline-color:Highlight}
8
+ .fc-theme-alfadocs.calendar-availability-mode a.fc-event:not(.calendar-event-selected){opacity:1}
9
+ .fc-theme-alfadocs.calendar-composing-mode a.fc-event:not(.calendar-event-draft,.calendar-event-selected){opacity:1}
10
+ .fc-theme-alfadocs .calendar-col-loading{animation:none;outline:1px dashed CanvasText;outline-offset:-1px}}
11
+ .fc-theme-alfadocs{--fc-page-bg-color: var(--background);--fc-neutral-bg-color: var(--background);--fc-neutral-text-color: var(--foreground);--fc-border-color: var(--border);--fc-today-bg-color: color-mix(in srgb, var(--accent) 8%, transparent);--fc-event-bg-color: transparent;--fc-event-border-color: transparent;--fc-event-text-color: var(--foreground);--fc-event-selected-overlay-color: color-mix( in srgb, var(--foreground) 12%, transparent );--fc-now-indicator-color: var(--now-indicator);--fc-list-event-hover-bg-color: color-mix( in srgb, var(--muted) 50%, transparent );--fc-highlight-color: color-mix(in srgb, var(--primary) 12%, transparent);font-family:var(--font-sans);color:var(--foreground);background:var(--background)}
12
+ .fc-theme-alfadocs .fc-button{background-color:var(--secondary);border-color:var(--border);color:var(--secondary-foreground);font-family:var(--font-sans);font-weight:var(--font-weight-medium);border-radius:var(--radius-md);transition:background-color var(--animation-duration) var(--ease-out);min-block-size:var(--min-target-size);padding-inline:var(--spacing-md)}
13
+ .fc-theme-alfadocs .fc-button:hover{background-color:var(--secondary-hover)}
14
+ .fc-theme-alfadocs .fc-button-primary:not(:disabled).fc-button-active,.fc-theme-alfadocs .fc-button-primary:not(:disabled):active{background-color:var(--primary);border-color:var(--primary);color:var(--primary-foreground)}
15
+ .fc-theme-alfadocs .fc-button:focus-visible{outline:var(--focus-ring-width) solid var(--ring);outline-offset:var(--focus-ring-offset)}
16
+ .fc-theme-alfadocs a.fc-event:focus-visible{outline:var(--focus-ring-width) solid var(--ring);outline-offset:var(--focus-ring-offset)}
17
+ .fc-theme-alfadocs :is(.fc-timegrid-event-harness,.fc-daygrid-event-harness,.fc-timeline-event-harness):has(>:is(a.fc-event:focus-visible,.calendar-event-focused,.calendar-event-selected)){z-index:50!important}
18
+ .fc-theme-alfadocs .fc-button:disabled{opacity:var(--opacity-50);cursor:not-allowed}
19
+ .fc-theme-alfadocs .fc-resource{min-block-size:var(--min-target-size)}
20
+ .fc-theme-alfadocs .fc-timegrid-slot{block-size:var(--calendar-slot-size, var(--calendar-slot-size-compact))}
21
+ .fc-theme-alfadocs.calendar-density-comfortable{--calendar-slot-size: var(--calendar-slot-size-comfortable)}
22
+ .fc-theme-alfadocs .fc-event,.fc-theme-alfadocs .fc-event-main{border-radius:var(--radius-sm);font-size:var(--font-size-sm);padding-inline:0}
23
+ .fc-theme-alfadocs .fc-timegrid-event .fc-event-main{padding:0}
24
+ .fc-theme-alfadocs .fc-list-event-dot{border-color:var(--muted-foreground)}
25
+ .fc-theme-alfadocs .fc-daygrid-more-link{background-color:var(--background);color:var(--foreground);border:1px solid var(--border);border-radius:var(--radius-sm);padding-inline:var(--spacing-xs);font-size:var(--font-size-xs);font-weight:var(--font-weight-medium);text-decoration:none;min-block-size:var(--min-target-size);display:inline-flex;align-items:center}
26
+ .fc-theme-alfadocs .fc-daygrid-more-link:hover{background-color:var(--muted)}
27
+ .fc-theme-alfadocs .fc-daygrid-more-link:focus-visible{outline:var(--focus-ring-width) solid var(--ring);outline-offset:var(--focus-ring-offset)}
28
+ .fc-theme-alfadocs .calendar-event-focused{outline:none;box-shadow:var(--shadow-focus);transition:box-shadow var(--animation-duration) var(--ease-out)}
29
+ .fc-theme-alfadocs .resource-dot{display:inline-block;inline-size:12px;block-size:12px;border-radius:var(--radius-full);margin-inline-end:var(--spacing-xs);vertical-align:middle;flex-shrink:0;background-color:var(--border)}
30
+ .fc-theme-alfadocs:not(.calendar-vertical-resource-labels) .fc-resource.fc-col-header-cell .fc-col-header-cell-cushion{max-inline-size:100%;box-sizing:border-box}
31
+ .fc-theme-alfadocs .calendar-resource-label{min-inline-size:0;max-inline-size:100%}
32
+ .fc-theme-alfadocs .calendar-resource-label>span:last-child{min-inline-size:0}
33
+ .fc-theme-alfadocs .resource-initials{display:inline-flex;align-items:center;justify-content:center;inline-size:28px;block-size:28px;border-radius:var(--radius-full);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);margin-inline-end:var(--spacing-xs);background-color:var(--muted);color:var(--foreground)}
34
+ .fc-theme-alfadocs .fc-resource-timegrid-day-frame+.fc-resource-timegrid-day-frame,.fc-theme-alfadocs .fc-timeline-slot-frame[data-date]+.fc-timeline-slot-frame[data-date]{border-inline-start:2px solid var(--border)}
35
+ .fc-theme-alfadocs .fc-col-header-cell,.fc-theme-alfadocs .fc-col-header-cell.fc-day-today,.fc-theme-alfadocs .fc-timeline-header,.fc-theme-alfadocs .fc-timeline-header-row,.fc-theme-alfadocs .fc-timeline-slot-label,.fc-theme-alfadocs .fc-timeline-slot-label.fc-day-today,.fc-theme-alfadocs .fc-datagrid-header,.fc-theme-alfadocs .fc-datagrid-header .fc-datagrid-cell{background-color:var(--background)}
36
+ .fc-theme-alfadocs .calendar-col-hidden{display:none}
37
+ .fc-theme-alfadocs .calendar-event-selected{outline:var(--focus-ring-width) solid var(--ring);outline-offset:1px}
38
+ .fc-theme-alfadocs.calendar-availability-mode .fc-bg-event{background:color-mix(in srgb,var(--success) 8%,transparent);opacity:1;border:1px solid var(--success);border-radius:var(--radius-sm);margin:1px;cursor:pointer;transition:background-color var(--animation-duration) var(--ease-out),box-shadow var(--animation-duration) var(--ease-out);display:flex;align-items:center;justify-content:center}
39
+ .fc-theme-alfadocs.calendar-availability-mode .fc-bg-event>*{display:flex;align-items:center;justify-content:center;max-inline-size:100%}
40
+ .fc-theme-alfadocs.calendar-availability-mode .fc-bg-event:hover{background:color-mix(in srgb,var(--success) 16%,transparent);box-shadow:var(--shadow-sm)}
41
+ .fc-theme-alfadocs .calendar-bg-event-label{display:inline-flex;align-items:center;gap:var(--spacing-2xs);padding-inline:var(--spacing-xs);font-size:var(--font-size-xs);font-weight:var(--font-weight-semibold);color:var(--success-foreground);max-inline-size:100%;overflow:hidden;white-space:nowrap}
42
+ .fc-theme-alfadocs .fc-bg-event:has(button[data-event-id]){opacity:1}
43
+ .fc-theme-alfadocs.calendar-availability-mode a.fc-event:not(.calendar-event-selected,:has([data-kind=task])){opacity:.35}
44
+ .fc-theme-alfadocs.calendar-composing-mode a.fc-event:not(.calendar-event-draft,.calendar-event-selected,:has([data-kind=task])){opacity:.35}
45
+ .fc-theme-alfadocs.calendar-composing-mode a.fc-event.calendar-event-draft{cursor:grab}
46
+ .fc-theme-alfadocs.calendar-composing-mode a.fc-event.calendar-event-draft:active{cursor:grabbing}
47
+ .fc-theme-alfadocs .calendar-col-loading{background-image:repeating-linear-gradient(135deg,color-mix(in srgb,var(--muted-foreground) 14%,transparent) 0 6px,transparent 6px 12px);animation:calendar-col-loading-drift calc(var(--animation-duration) * 6) linear infinite}
48
+ @keyframes calendar-col-loading-drift{to{background-position:0 calc(12px * 1.4142)}}
49
+ .fc-theme-alfadocs .fc-resource.fc-col-header-cell .fc-col-header-cell-cushion{box-sizing:border-box;max-inline-size:100%}
50
+ .calendar-vertical-resource-labels .fc-resource.fc-col-header-cell .fc-col-header-cell-cushion:not(:has([data-component=resource-chip],[data-component=avatar])){writing-mode:vertical-rl;rotate:180deg;max-inline-size:7.5rem}
51
+ .calendar-vertical-resource-labels .fc-resource.fc-col-header-cell .fc-col-header-cell-cushion>span>span:last-child{min-inline-size:0}
52
+ .fc-theme-alfadocs .fc-timegrid-slot-label-cushion,.fc-theme-alfadocs .fc-timegrid-axis-cushion{font-size:var(--font-size-xs);color:var(--muted-foreground);font-variant-numeric:tabular-nums}
53
+ .fc-theme-alfadocs.calendar-zebra-rows .fc-timegrid-slots tr:nth-child(odd){background-color:color-mix(in srgb,var(--muted) 70%,transparent)}
54
+ .fc-theme-alfadocs .fc .fc-scrollgrid{border-width:0}
55
+ .fc-theme-alfadocs .fc .fc-scrollgrid-section>td{border-right-width:0}
56
+ .fc-theme-alfadocs .fc .fc-scrollgrid>tbody>tr:last-child>td{border-bottom-width:0}
@@ -1,7 +1,7 @@
1
- import d from "i18next";
2
- import { default as J } from "i18next";
3
- import { initReactI18next as x } from "react-i18next";
4
- const W = [
1
+ import f from "i18next";
2
+ import { default as Q } from "i18next";
3
+ import { initReactI18next as N } from "react-i18next";
4
+ const F = [
5
5
  "en",
6
6
  "it",
7
7
  "de",
@@ -21,7 +21,7 @@ const W = [
21
21
  "zh",
22
22
  "hi"
23
23
  ];
24
- function F(e, r, t = d) {
24
+ function T(e, r, t = f) {
25
25
  t.addResourceBundle(
26
26
  e,
27
27
  "ui",
@@ -51,8 +51,8 @@ const A = !1, L = {
51
51
  ja: () => import("./locales/ja.js").then((e) => e.jaUi),
52
52
  zh: () => import("./locales/zh.js").then((e) => e.zhUi),
53
53
  hi: () => import("./locales/hi.js").then((e) => e.hiUi)
54
- }, q = /* @__PURE__ */ new WeakMap();
55
- function I(e) {
54
+ }, q = /* @__PURE__ */ new WeakMap(), S = /* @__PURE__ */ new WeakSet();
55
+ function B(e) {
56
56
  if (!e) return;
57
57
  const r = e.toLowerCase().replaceAll("_", "-").split("-")[0];
58
58
  return Object.hasOwn(L, r) ? r : void 0;
@@ -69,28 +69,28 @@ function p(e) {
69
69
  waiters: /* @__PURE__ */ new Set(),
70
70
  requested: /* @__PURE__ */ new Set()
71
71
  };
72
- q.set(e, t), N(e, t);
72
+ q.set(e, t), M(e, t);
73
73
  const i = e.changeLanguage.bind(e);
74
74
  return e.changeLanguage = (n, o) => {
75
75
  const u = ++t.languageRequest;
76
76
  if (!n) return i(n, o);
77
- const s = e.services.languageUtils, a = I(n), h = e.getDataByLanguage(n), l = a && a !== n && B(n, e).includes(a) && h && Object.keys(h).some(
78
- (f) => f !== "ui" || t.completed.get(n) !== e.getResourceBundle(n, "ui")
79
- ), g = e.options.supportedLngs && !l ? s.getBestMatchFromCodes([n]) : n;
77
+ const a = e.services.languageUtils, s = B(n), h = e.getDataByLanguage(n), l = s && s !== n && I(n, e).includes(s) && h && Object.keys(h).some(
78
+ (d) => d !== "ui" || t.completed.get(n) !== e.getResourceBundle(n, "ui")
79
+ ), g = e.options.supportedLngs && !l ? a.getBestMatchFromCodes([n]) : n;
80
80
  if (!g) {
81
- const f = e.t.bind(e);
82
- return o == null || o(null, f), Promise.resolve(f);
81
+ const d = e.t.bind(e);
82
+ return o == null || o(null, d), Promise.resolve(d);
83
83
  }
84
84
  return t.changing++, R(g, e).then(
85
85
  () => {
86
86
  if (u !== t.languageRequest) {
87
- const f = e.t.bind(e);
88
- return o == null || o(null, f), f;
87
+ const d = e.t.bind(e);
88
+ return o == null || o(null, d), d;
89
89
  }
90
90
  return i(g, o);
91
91
  },
92
- (f) => {
93
- throw o == null || o(f, e.t.bind(e)), f;
92
+ (d) => {
93
+ throw o == null || o(d, e.t.bind(e)), d;
94
94
  }
95
95
  ).finally(() => {
96
96
  t.changing--;
@@ -100,53 +100,53 @@ function p(e) {
100
100
  }), U(t);
101
101
  }), e.on("languageChanged", () => U(t)), t;
102
102
  }
103
- function N(e, r) {
103
+ function M(e, r) {
104
104
  const t = e.hasLoadedNamespace.bind(e);
105
- e.hasLoadedNamespace = (u, s) => {
106
- const a = t(u, s);
107
- return c(u) && e.isInitialized && b(
105
+ e.hasLoadedNamespace = (u, a) => {
106
+ const s = t(u, a);
107
+ return y(u) && e.isInitialized && b(
108
108
  e,
109
109
  r,
110
- typeof (s == null ? void 0 : s.lng) == "string" ? s.lng : e.language
111
- ), a;
110
+ typeof (a == null ? void 0 : a.lng) == "string" ? a.lng : e.language
111
+ ), s;
112
112
  };
113
113
  const i = e.t.bind(e);
114
114
  e.t = ((...u) => {
115
- const s = i(...u);
116
- return typeof s == "string" && M(e, r, u) ? "" : s;
115
+ const a = i(...u);
116
+ return typeof a == "string" && O(e, r, u) ? "" : a;
117
117
  });
118
118
  const n = e.loadNamespaces.bind(e);
119
- e.loadNamespaces = (u, s) => c(u) ? O(e, r).then(() => n(u, s)) : n(u, s);
119
+ e.loadNamespaces = (u, a) => y(u) ? P(e, r).then(() => n(u, a)) : n(u, a);
120
120
  const o = e.loadLanguages.bind(e);
121
- e.loadLanguages = (u, s) => {
122
- const a = (Array.isArray(u) ? u : [u]).map((l) => m(l, e)).filter((l) => !!l), h = [].concat(e.options.ns ?? []);
123
- return !e.isInitialized || a.length === 0 || !h.includes("ui") ? o(u, s) : Promise.all(
124
- a.map((l) => y(l, e).catch(() => !1))
125
- ).then(() => o(u, s));
121
+ e.loadLanguages = (u, a) => {
122
+ const s = (Array.isArray(u) ? u : [u]).map((l) => m(l, e)).filter((l) => !!l), h = [].concat(e.options.ns ?? []);
123
+ return !e.isInitialized || s.length === 0 || !h.includes("ui") ? o(u, a) : Promise.all(
124
+ s.map((l) => c(l, e).catch(() => !1))
125
+ ).then(() => o(u, a));
126
126
  };
127
127
  }
128
- function M(e, r, t) {
128
+ function O(e, r, t) {
129
129
  if (!e.isInitialized) return !1;
130
130
  const i = [t[1], t[2]].find(
131
- (a) => typeof a == "object" && a !== null
131
+ (s) => typeof s == "object" && s !== null
132
132
  ), n = Array.isArray(t[0]) ? t[0][0] : t[0], u = (typeof n == "string" && n.includes(":") ? n.split(":")[0] : "") || (i == null ? void 0 : i.ns) || e.options.defaultNS;
133
- if (!u || !c(u)) return !1;
134
- const s = typeof (i == null ? void 0 : i.lng) == "string" ? i.lng : e.language;
135
- return w(e, s) ? !1 : (b(e, r, s), !0);
133
+ if (!u || !y(u)) return !1;
134
+ const a = typeof (i == null ? void 0 : i.lng) == "string" ? i.lng : e.language;
135
+ return w(e, a) ? !1 : (b(e, r, a), !0);
136
136
  }
137
137
  function b(e, r, t) {
138
138
  if (!t || w(e, t)) return;
139
139
  const i = m(t, e);
140
- i && (t === e.language && r.changing > 0 || (r.requested.add(i), y(i, e).catch((n) => {
140
+ i && (t === e.language && r.changing > 0 || (r.requested.add(i), c(i, e).catch((n) => {
141
141
  })));
142
142
  }
143
- const c = (e) => typeof e == "string" ? e === "ui" : e.includes("ui");
143
+ const y = (e) => typeof e == "string" ? e === "ui" : e.includes("ui");
144
144
  function w(e, r) {
145
145
  if (!r) return !0;
146
146
  const t = m(r, e);
147
147
  if (!t) return !0;
148
148
  const i = p(e);
149
- return S(t, e).every(
149
+ return x(t, e).every(
150
150
  (n) => v(n, e, i) || i.failed.has(n) || j(n, e)
151
151
  );
152
152
  }
@@ -154,7 +154,7 @@ function j(e, r) {
154
154
  const t = r.getResourceBundle(e, "ui");
155
155
  return !!(t != null && t.common && t.errorPage);
156
156
  }
157
- function O(e, r) {
157
+ function P(e, r) {
158
158
  return e.isInitialized && w(e, e.language) ? Promise.resolve() : new Promise((t) => {
159
159
  const i = () => {
160
160
  e.isInitialized && w(e, e.language) && (r.waiters.delete(i), t());
@@ -166,19 +166,19 @@ function O(e, r) {
166
166
  function U(e) {
167
167
  for (const r of [...e.waiters]) r();
168
168
  }
169
- function B(e, r) {
169
+ function I(e, r) {
170
170
  return r.services.languageUtils.toResolveHierarchy(e);
171
171
  }
172
172
  async function R(e, r) {
173
173
  const t = m(e, r);
174
- return t ? y(t, r) : !1;
174
+ return t ? c(t, r) : !1;
175
175
  }
176
176
  function m(e, r) {
177
- return [.../* @__PURE__ */ new Set([e, ...B(e, r)])].filter(Boolean).find((t) => I(t));
177
+ return [.../* @__PURE__ */ new Set([e, ...I(e, r)])].filter(Boolean).find((t) => B(t));
178
178
  }
179
- function S(e, r) {
180
- const t = I(e);
181
- return e !== t && !B(e, r).includes(t) ? [t, e] : [t];
179
+ function x(e, r) {
180
+ const t = B(e);
181
+ return e !== t && !I(e, r).includes(t) ? [t, e] : [t];
182
182
  }
183
183
  function v(e, r, t) {
184
184
  const i = r.getResourceBundle(e, "ui");
@@ -187,22 +187,22 @@ function v(e, r, t) {
187
187
  async function z(e) {
188
188
  p(e).changing > 0 || await R(e.language, e);
189
189
  }
190
- async function P(e, r = d) {
191
- await y(e, r);
190
+ async function E(e, r = f) {
191
+ await c(e, r);
192
192
  }
193
- async function y(e, r) {
193
+ async function c(e, r) {
194
194
  if (!r.isInitialized)
195
195
  throw new Error(
196
196
  "Initialise the host i18next instance before loading UI locales."
197
197
  );
198
- const t = I(e);
198
+ const t = B(e);
199
199
  if (!t) return !1;
200
- const i = p(r), n = S(e, r);
201
- if (n.every((a) => v(a, r, i)))
200
+ const i = p(r), n = x(e, r);
201
+ if (n.every((s) => v(s, r, i)))
202
202
  return !1;
203
203
  const o = n.join(":"), u = i.pending.get(o);
204
204
  if (u) return u.then(() => !1);
205
- const s = (async () => {
205
+ const a = (async () => {
206
206
  try {
207
207
  const l = await L[t]();
208
208
  r.addResourceBundle(t, "ui", l, !0, !1);
@@ -215,29 +215,29 @@ async function y(e, r) {
215
215
  !1
216
216
  ), i.completed.set(g, r.getResourceBundle(g, "ui"));
217
217
  } catch (l) {
218
- throw await E(t, n, r, i), l;
218
+ throw await H(t, n, r, i), l;
219
219
  }
220
- const a = n.some((l) => i.failed.delete(l)), h = i.requested.delete(t);
221
- U(i), (a || h || m(r.language, r) === t) && r.emit("languageChanged", r.language);
220
+ const s = n.some((l) => i.failed.delete(l)), h = i.requested.delete(t);
221
+ U(i), (s || h || m(r.language, r) === t) && r.emit("languageChanged", r.language);
222
222
  })();
223
- i.pending.set(o, s);
223
+ i.pending.set(o, a);
224
224
  try {
225
- await s;
225
+ await a;
226
226
  } finally {
227
227
  i.pending.delete(o);
228
228
  }
229
229
  return !0;
230
230
  }
231
- async function E(e, r, t, i) {
231
+ async function H(e, r, t, i) {
232
232
  const n = i.waiters.size > 0 || i.requested.has(e) || m(t.language, t) === e;
233
233
  if (i.requested.delete(e), !n) {
234
234
  for (const o of r) i.failed.add(o);
235
235
  return;
236
236
  }
237
237
  try {
238
- e !== "en" && !C(t, i).includes("en") && await y("en", t).catch(() => !1);
238
+ e !== "en" && !C(t, i).includes("en") && await c("en", t).catch(() => !1);
239
239
  const o = C(t, i);
240
- o.length > 0 ? H(t, o[0]) : K(t);
240
+ o.length > 0 ? K(t, o[0]) : W(t);
241
241
  } finally {
242
242
  for (const o of r) i.failed.add(o);
243
243
  U(i), t.isInitialized && t.emit("languageChanged", t.language);
@@ -248,7 +248,7 @@ function C(e, r) {
248
248
  (t) => v(t, e, r) || j(t, e)
249
249
  );
250
250
  }
251
- function H(e, r) {
251
+ function K(e, r) {
252
252
  const t = e.options.fallbackLng, i = (n) => typeof n == "string" ? [n] : Array.isArray(n) ? n : [];
253
253
  if (!(typeof t == "function" || t === !1)) {
254
254
  if (t && typeof t == "object" && !Array.isArray(t)) {
@@ -259,30 +259,30 @@ function H(e, r) {
259
259
  i(t).includes(r) || (e.options.fallbackLng = [...i(t), r]);
260
260
  }
261
261
  }
262
- function K(e) {
262
+ function W(e) {
263
263
  e.options.parseMissingKeyHandler || (e.options.parseMissingKeyHandler = (r, t, i) => {
264
264
  if (t !== void 0) return t;
265
- if (!(i != null && i.ns) || !c(i.ns)) return r;
265
+ if (!(i != null && i.ns) || !y(i.ns)) return r;
266
266
  const o = (r.split(/[.:]/).at(-1) ?? r).replace(/([a-z0-9])([A-Z])/g, "$1 $2").replaceAll("_", " ").toLowerCase();
267
267
  return o.charAt(0).toUpperCase() + o.slice(1);
268
268
  });
269
269
  }
270
- async function T(e = d) {
270
+ async function $(e = f) {
271
271
  if (!e.isInitialized)
272
272
  throw new Error(
273
273
  "Initialise the host i18next instance before setting up UI translations."
274
274
  );
275
275
  p(e), await R(e.language, e);
276
276
  }
277
- async function $(e, r = d) {
277
+ async function V(e, r = f) {
278
278
  p(r), await r.changeLanguage(e);
279
279
  }
280
- async function V(e = d) {
280
+ async function Z(e = f) {
281
281
  await Promise.all(
282
- Object.keys(L).map((r) => P(r, e))
282
+ Object.keys(L).map((r) => E(r, e))
283
283
  );
284
284
  }
285
- d.isInitialized || d.use(x).init({
285
+ f.isInitialized || (S.add(f), f.use(N).init({
286
286
  lng: "en",
287
287
  fallbackLng: "en",
288
288
  ns: ["ui"],
@@ -294,20 +294,20 @@ d.isInitialized || d.use(x).init({
294
294
  interpolation: { escapeValue: !1 },
295
295
  // English arrives through the lazy loader below, like every other locale.
296
296
  resources: {}
297
- });
298
- p(d);
299
- Promise.resolve().then(
300
- () => d.isInitialized ? z(d) : void 0
297
+ }));
298
+ p(f);
299
+ S.has(f) || Promise.resolve().then(
300
+ () => f.isInitialized ? z(f) : void 0
301
301
  ).catch((e) => {
302
302
  });
303
303
  export {
304
- W as LOCALES_WITH_BUNDLES,
305
- J as default,
306
- T as initialiseUiI18n,
307
- V as loadAllLocales,
308
- P as loadLocale,
309
- F as registerUiBundle,
310
- I as resolveUiLanguage,
311
- $ as setLocale
304
+ F as LOCALES_WITH_BUNDLES,
305
+ Q as default,
306
+ $ as initialiseUiI18n,
307
+ Z as loadAllLocales,
308
+ E as loadLocale,
309
+ T as registerUiBundle,
310
+ B as resolveUiLanguage,
311
+ V as setLocale
312
312
  };
313
313
  //# sourceMappingURL=config.js.map
@@ -2506,6 +2506,7 @@ export declare const arUi: {
2506
2506
  readonly rating: "التقييم";
2507
2507
  readonly nextAvailable: "أقرب موعد متاح";
2508
2508
  readonly relevance: "الأكثر صلة";
2509
+ readonly price: "تكلفة الزيارة الأولى";
2509
2510
  };
2510
2511
  readonly empty: {
2511
2512
  readonly title: "لا توجد نتائج";
@@ -2493,7 +2493,8 @@ const e = {
2493
2493
  distance: "المسافة",
2494
2494
  rating: "التقييم",
2495
2495
  nextAvailable: "أقرب موعد متاح",
2496
- relevance: "الأكثر صلة"
2496
+ relevance: "الأكثر صلة",
2497
+ price: "تكلفة الزيارة الأولى"
2497
2498
  },
2498
2499
  empty: {
2499
2500
  title: "لا توجد نتائج",
@@ -2494,6 +2494,7 @@ export declare const deUi: {
2494
2494
  readonly rating: "Bewertung";
2495
2495
  readonly nextAvailable: "Nächster Termin";
2496
2496
  readonly relevance: "Relevanz";
2497
+ readonly price: "Kosten der Erstuntersuchung";
2497
2498
  };
2498
2499
  readonly empty: {
2499
2500
  readonly title: "Keine Ergebnisse";
@@ -2480,7 +2480,8 @@ const e = {
2480
2480
  distance: "Entfernung",
2481
2481
  rating: "Bewertung",
2482
2482
  nextAvailable: "Nächster Termin",
2483
- relevance: "Relevanz"
2483
+ relevance: "Relevanz",
2484
+ price: "Kosten der Erstuntersuchung"
2484
2485
  },
2485
2486
  empty: {
2486
2487
  title: "Keine Ergebnisse",
@@ -2491,6 +2491,7 @@ export declare const elUi: {
2491
2491
  readonly rating: "Βαθμολογία";
2492
2492
  readonly nextAvailable: "Επόμενη διαθεσιμότητα";
2493
2493
  readonly relevance: "Συνάφεια";
2494
+ readonly price: "Κόστος πρώτης επίσκεψης";
2494
2495
  };
2495
2496
  readonly empty: {
2496
2497
  readonly title: "Κανένα αποτέλεσμα";
@@ -2481,7 +2481,8 @@ const e = {
2481
2481
  distance: "Απόσταση",
2482
2482
  rating: "Βαθμολογία",
2483
2483
  nextAvailable: "Επόμενη διαθεσιμότητα",
2484
- relevance: "Συνάφεια"
2484
+ relevance: "Συνάφεια",
2485
+ price: "Κόστος πρώτης επίσκεψης"
2485
2486
  },
2486
2487
  empty: {
2487
2488
  title: "Κανένα αποτέλεσμα",
@@ -1,7 +1,7 @@
1
1
  /** English (en) ui resources. Canonical source for the bundle.
2
2
  *
3
- * Loaded eagerly by config.ts (default locale). All other locales are
4
- * lazy-loaded via dynamic import — see config.ts + LOADERS map. */
3
+ * Loaded on demand like the other 17 locales (see `LOADERS` in config.ts).
4
+ * The kit never fetches it at bootstrap (HTP-7057). */
5
5
  export declare const enUi: {
6
6
  readonly productLockup: {
7
7
  readonly makerLabel: "{{name}} by Alfadocs";
@@ -2617,6 +2617,7 @@ export declare const enUi: {
2617
2617
  readonly rating: "Rating";
2618
2618
  readonly nextAvailable: "Next available";
2619
2619
  readonly relevance: "Relevance";
2620
+ readonly price: "First visit price";
2620
2621
  };
2621
2622
  readonly empty: {
2622
2623
  readonly title: "No results";
@@ -2596,7 +2596,8 @@ const e = {
2596
2596
  distance: "Distance",
2597
2597
  rating: "Rating",
2598
2598
  nextAvailable: "Next available",
2599
- relevance: "Relevance"
2599
+ relevance: "Relevance",
2600
+ price: "First visit price"
2600
2601
  },
2601
2602
  empty: {
2602
2603
  title: "No results",
@@ -2494,6 +2494,7 @@ export declare const esUi: {
2494
2494
  readonly rating: "Valoración";
2495
2495
  readonly nextAvailable: "Próxima disponibilidad";
2496
2496
  readonly relevance: "Relevancia";
2497
+ readonly price: "Coste de la primera visita";
2497
2498
  };
2498
2499
  readonly empty: {
2499
2500
  readonly title: "Sin resultados";
@@ -2483,7 +2483,8 @@ const e = {
2483
2483
  distance: "Distancia",
2484
2484
  rating: "Valoración",
2485
2485
  nextAvailable: "Próxima disponibilidad",
2486
- relevance: "Relevancia"
2486
+ relevance: "Relevancia",
2487
+ price: "Coste de la primera visita"
2487
2488
  },
2488
2489
  empty: {
2489
2490
  title: "Sin resultados",
@@ -2494,6 +2494,7 @@ export declare const frUi: {
2494
2494
  readonly rating: "Note";
2495
2495
  readonly nextAvailable: "Prochaine disponibilité";
2496
2496
  readonly relevance: "Pertinence";
2497
+ readonly price: "Coût de la première consultation";
2497
2498
  };
2498
2499
  readonly empty: {
2499
2500
  readonly title: "Aucun résultat";
@@ -2483,7 +2483,8 @@ const e = {
2483
2483
  distance: "Distance",
2484
2484
  rating: "Note",
2485
2485
  nextAvailable: "Prochaine disponibilité",
2486
- relevance: "Pertinence"
2486
+ relevance: "Pertinence",
2487
+ price: "Coût de la première consultation"
2487
2488
  },
2488
2489
  empty: {
2489
2490
  title: "Aucun résultat",
@@ -2491,6 +2491,7 @@ export declare const hiUi: {
2491
2491
  readonly rating: "रेटिंग";
2492
2492
  readonly nextAvailable: "अगली उपलब्धता";
2493
2493
  readonly relevance: "प्रासंगिकता";
2494
+ readonly price: "पहली विज़िट का शुल्क";
2494
2495
  };
2495
2496
  readonly empty: {
2496
2497
  readonly title: "कोई परिणाम नहीं";
@@ -2481,7 +2481,8 @@ const e = {
2481
2481
  distance: "दूरी",
2482
2482
  rating: "रेटिंग",
2483
2483
  nextAvailable: "अगली उपलब्धता",
2484
- relevance: "प्रासंगिकता"
2484
+ relevance: "प्रासंगिकता",
2485
+ price: "पहली विज़िट का शुल्क"
2485
2486
  },
2486
2487
  empty: {
2487
2488
  title: "कोई परिणाम नहीं",
@@ -2491,6 +2491,7 @@ export declare const itUi: {
2491
2491
  readonly rating: "Valutazione";
2492
2492
  readonly nextAvailable: "Prima disponibilità";
2493
2493
  readonly relevance: "Rilevanza";
2494
+ readonly price: "Prezzo prima visita";
2494
2495
  };
2495
2496
  readonly empty: {
2496
2497
  readonly title: "Nessun risultato";
@@ -2464,7 +2464,8 @@ const e = {
2464
2464
  distance: "Distanza",
2465
2465
  rating: "Valutazione",
2466
2466
  nextAvailable: "Prima disponibilità",
2467
- relevance: "Rilevanza"
2467
+ relevance: "Rilevanza",
2468
+ price: "Prezzo prima visita"
2468
2469
  },
2469
2470
  empty: {
2470
2471
  title: "Nessun risultato",
@@ -2491,6 +2491,7 @@ export declare const jaUi: {
2491
2491
  readonly rating: "評価";
2492
2492
  readonly nextAvailable: "次の空き";
2493
2493
  readonly relevance: "関連度";
2494
+ readonly price: "初回受診費用";
2494
2495
  };
2495
2496
  readonly empty: {
2496
2497
  readonly title: "該当する結果がありません";
@@ -2481,7 +2481,8 @@ const e = {
2481
2481
  distance: "距離",
2482
2482
  rating: "評価",
2483
2483
  nextAvailable: "次の空き",
2484
- relevance: "関連度"
2484
+ relevance: "関連度",
2485
+ price: "初回受診費用"
2485
2486
  },
2486
2487
  empty: {
2487
2488
  title: "該当する結果がありません",
@@ -2491,6 +2491,7 @@ export declare const nlUi: {
2491
2491
  readonly rating: "Beoordeling";
2492
2492
  readonly nextAvailable: "Eerstvolgend beschikbaar";
2493
2493
  readonly relevance: "Relevantie";
2494
+ readonly price: "Kosten eerste consult";
2494
2495
  };
2495
2496
  readonly empty: {
2496
2497
  readonly title: "Geen resultaten";
@@ -2480,7 +2480,8 @@ const e = {
2480
2480
  distance: "Afstand",
2481
2481
  rating: "Beoordeling",
2482
2482
  nextAvailable: "Eerstvolgend beschikbaar",
2483
- relevance: "Relevantie"
2483
+ relevance: "Relevantie",
2484
+ price: "Kosten eerste consult"
2484
2485
  },
2485
2486
  empty: {
2486
2487
  title: "Geen resultaten",
@@ -2497,6 +2497,7 @@ export declare const plUi: {
2497
2497
  readonly rating: "Ocena";
2498
2498
  readonly nextAvailable: "Najbliższy termin";
2499
2499
  readonly relevance: "Trafność";
2500
+ readonly price: "Koszt pierwszej wizyty";
2500
2501
  };
2501
2502
  readonly empty: {
2502
2503
  readonly title: "Brak wyników";
@@ -2487,7 +2487,8 @@ const e = {
2487
2487
  distance: "Odległość",
2488
2488
  rating: "Ocena",
2489
2489
  nextAvailable: "Najbliższy termin",
2490
- relevance: "Trafność"
2490
+ relevance: "Trafność",
2491
+ price: "Koszt pierwszej wizyty"
2491
2492
  },
2492
2493
  empty: {
2493
2494
  title: "Brak wyników",
@@ -2498,6 +2498,7 @@ export declare const ptUi: {
2498
2498
  readonly rating: "Avaliação";
2499
2499
  readonly nextAvailable: "Próxima disponibilidade";
2500
2500
  readonly relevance: "Relevância";
2501
+ readonly price: "Custo da primeira consulta";
2501
2502
  };
2502
2503
  readonly empty: {
2503
2504
  readonly title: "Sem resultados";
@@ -2488,7 +2488,8 @@ const e = {
2488
2488
  distance: "Distância",
2489
2489
  rating: "Avaliação",
2490
2490
  nextAvailable: "Próxima disponibilidade",
2491
- relevance: "Relevância"
2491
+ relevance: "Relevância",
2492
+ price: "Custo da primeira consulta"
2492
2493
  },
2493
2494
  empty: {
2494
2495
  title: "Sem resultados",