@telia-ace/knowledge-widget-components-guide 1.0.46-next.6 → 1.0.46-next.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{guide.cf075f8e.js → guide.8c4b352b.js} +229 -229
- package/dist/guide.8c4b352b.js.map +1 -0
- package/dist/index.js +20 -16
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/guide.cf075f8e.js.map +0 -1
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var pe = Object.defineProperty, $e = Object.defineProperties;
|
|
2
|
+
var Ee = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var W = Object.getOwnPropertySymbols;
|
|
4
4
|
var ee = Object.prototype.hasOwnProperty, te = Object.prototype.propertyIsEnumerable;
|
|
5
|
-
var _ = (e, t, n) => t in e ?
|
|
5
|
+
var _ = (e, t, n) => t in e ? pe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, C = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
7
|
ee.call(t, n) && _(e, n, t[n]);
|
|
8
8
|
if (W)
|
|
9
9
|
for (var n of W(t))
|
|
10
10
|
te.call(t, n) && _(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
},
|
|
12
|
+
}, F = (e, t) => $e(e, Ee(t));
|
|
13
13
|
var R = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var o in e)
|
|
@@ -20,29 +20,29 @@ var R = (e, t) => {
|
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
22
|
import { css as G } from "@emotion/react";
|
|
23
|
-
import
|
|
24
|
-
import { ContactList as oe, contactLink as
|
|
25
|
-
import { useRouteData as q, List as
|
|
26
|
-
import { NotFound as
|
|
27
|
-
import { appendClassNames as H, buildCategoryTrail as
|
|
28
|
-
import a, { useMemo as P, useState as ue, useEffect as he, useCallback as V, forwardRef as
|
|
29
|
-
import { PickerTypes as
|
|
30
|
-
const
|
|
23
|
+
import s from "@emotion/styled";
|
|
24
|
+
import { ContactList as oe, contactLink as ke } from "@telia-ace/knowledge-widget-adapters";
|
|
25
|
+
import { useRouteData as q, List as we, TextLink as le, paddedBorderTabStyle as re, Feedback as xe, StyledHeaderText as Le, useDispatch as se, useProperties as J, useContainer as ie, Tooltip as ze, Text as K, SymbolBadge as O, StyledListButton as T, useFavorites as Se, StyledText as ne, FavoriteButton as Be, DrawerList as ce, DrawerAnimationType as me, DropdownList as de, useChildren as Ne, Lightbox as Ce, DialogLink as ve, embeddedLinkMapper as De, createEmptyComponent as Fe, Loader as Re, loadingOpacity as Te, Paragraph as Oe, genericHtml as Ie, headingElement as We, DialogList as He, contentBox as Pe, Metadata as Me, Button as je, linkTabStyle as Ae } from "@telia-ace/knowledge-widget-ui";
|
|
26
|
+
import { NotFound as Ve, Component as Ge } from "@telia-ace/widget-types-grid";
|
|
27
|
+
import { appendClassNames as H, buildCategoryTrail as qe, createParams as Je } from "@telia-ace/widget-utilities";
|
|
28
|
+
import a, { useMemo as P, useState as ue, useEffect as he, useCallback as V, forwardRef as Ke } from "react";
|
|
29
|
+
import { PickerTypes as y } from "@telia-ace/knowledge-widget-core";
|
|
30
|
+
const Qe = ({
|
|
31
31
|
className: e,
|
|
32
32
|
defaultAnswerVersionLabel: t,
|
|
33
33
|
guide: { perspective: n, perspectives: o },
|
|
34
34
|
availablePerspectives: u = []
|
|
35
35
|
}) => {
|
|
36
|
-
const { name: c, params:
|
|
36
|
+
const { name: c, params: r } = q(), h = P(() => !o || !u.length ? [] : u.filter(({ name: m }) => !!o[m]).map(({ name: m, title: d }) => ({ label: d, connection: o[m] })), [o, u]);
|
|
37
37
|
return /* @__PURE__ */ a.createElement(
|
|
38
|
-
|
|
38
|
+
Xe,
|
|
39
39
|
{
|
|
40
40
|
className: H(e, "humany-guide-answer-version-picker"),
|
|
41
41
|
items: h,
|
|
42
42
|
renderItem: (m) => {
|
|
43
|
-
const d = m.label === "Default" ? t : m.label, g = n === m.connection, f = g && (!
|
|
43
|
+
const d = m.label === "Default" ? t : m.label, g = n === m.connection, f = g && (!r.connection || n === r.connection);
|
|
44
44
|
return /* @__PURE__ */ a.createElement("li", { key: m.connection, "data-version": m.connection }, /* @__PURE__ */ a.createElement(
|
|
45
|
-
|
|
45
|
+
Ye,
|
|
46
46
|
{
|
|
47
47
|
key: m.connection,
|
|
48
48
|
as: f ? "span" : void 0,
|
|
@@ -51,7 +51,7 @@ const Ke = ({
|
|
|
51
51
|
selected: g,
|
|
52
52
|
"aria-label": d,
|
|
53
53
|
title: d,
|
|
54
|
-
params:
|
|
54
|
+
params: F(C({}, r), {
|
|
55
55
|
connection: m.connection
|
|
56
56
|
})
|
|
57
57
|
}
|
|
@@ -59,7 +59,7 @@ const Ke = ({
|
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
);
|
|
62
|
-
},
|
|
62
|
+
}, Ue = Qe, Xe = s(we)`
|
|
63
63
|
display: flex;
|
|
64
64
|
align-items: center;
|
|
65
65
|
flex-wrap: wrap;
|
|
@@ -78,7 +78,7 @@ const Ke = ({
|
|
|
78
78
|
li > span {
|
|
79
79
|
cursor: default;
|
|
80
80
|
}
|
|
81
|
-
`,
|
|
81
|
+
`, Ye = s(le)`
|
|
82
82
|
font-weight: 300;
|
|
83
83
|
color: ${(e) => {
|
|
84
84
|
var t;
|
|
@@ -94,15 +94,15 @@ const Ke = ({
|
|
|
94
94
|
&:focus-visible {
|
|
95
95
|
${re};
|
|
96
96
|
}
|
|
97
|
-
`,
|
|
97
|
+
`, Ze = s(oe)`
|
|
98
98
|
border-top: ${(e) => e.theme.border};
|
|
99
99
|
${(e) => e.backButtonShown === "true" && `border-bottom: ${e.theme.border};`}
|
|
100
|
-
`,
|
|
100
|
+
`, _e = s(xe)`
|
|
101
101
|
${(e) => {
|
|
102
102
|
var t, n;
|
|
103
103
|
return `padding: ${(t = e.theme.sizes) == null ? void 0 : t.large} ${(n = e.theme.sizes) == null ? void 0 : n.large};`;
|
|
104
104
|
}}
|
|
105
|
-
`,
|
|
105
|
+
`, et = s(Le)`
|
|
106
106
|
${(e) => {
|
|
107
107
|
var t, n;
|
|
108
108
|
return `padding: ${(t = e.theme.sizes) == null ? void 0 : t.large} ${(n = e.theme.sizes) == null ? void 0 : n.large};`;
|
|
@@ -114,62 +114,62 @@ const Ke = ({
|
|
|
114
114
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
115
115
|
}};
|
|
116
116
|
font-weight: bold;
|
|
117
|
-
`,
|
|
117
|
+
`, tt = ({ backButtonShown: e = !1, accordion: t = !1 }) => {
|
|
118
118
|
const n = se(), {
|
|
119
119
|
loading: o = !1,
|
|
120
120
|
dialog: u = [],
|
|
121
121
|
guide: c,
|
|
122
|
-
handoverContactMethods:
|
|
122
|
+
handoverContactMethods: r = [],
|
|
123
123
|
contactHeader: h,
|
|
124
124
|
showFeedback: m,
|
|
125
125
|
feedbackDirection: d = "horizontal",
|
|
126
126
|
feedbackRecognitionLabel: g,
|
|
127
127
|
feedbackGiven: f,
|
|
128
|
-
feedbackHeader:
|
|
129
|
-
positiveFeedbackLabel:
|
|
128
|
+
feedbackHeader: p,
|
|
129
|
+
positiveFeedbackLabel: $,
|
|
130
130
|
negativeFeedbackLabel: b,
|
|
131
|
-
contactFeedbackLabel:
|
|
132
|
-
} = J(), [
|
|
131
|
+
contactFeedbackLabel: i
|
|
132
|
+
} = J(), [E, x] = ue(!1);
|
|
133
133
|
return he(() => {
|
|
134
134
|
f || x(!1);
|
|
135
|
-
}, [f]), !m || !c || !c.allowFeedback || o && !f || u.length ? null : f && g && !
|
|
136
|
-
|
|
135
|
+
}, [f]), !m || !c || !c.allowFeedback || o && !f || u.length ? null : f && g && !r.length && !o ? /* @__PURE__ */ a.createElement(
|
|
136
|
+
et,
|
|
137
137
|
{
|
|
138
138
|
accordion: t ? "true" : "false",
|
|
139
139
|
tabindex: -1,
|
|
140
|
-
ref: (
|
|
141
|
-
!
|
|
140
|
+
ref: (k) => {
|
|
141
|
+
!E && k && (x(!0), k.focus());
|
|
142
142
|
}
|
|
143
143
|
},
|
|
144
144
|
g
|
|
145
|
-
) : c.hasHandover &&
|
|
146
|
-
|
|
145
|
+
) : c.hasHandover && r.length ? /* @__PURE__ */ a.createElement(
|
|
146
|
+
Ze,
|
|
147
147
|
{
|
|
148
148
|
backButtonShown: e ? "true" : "false",
|
|
149
149
|
accordion: t ? "true" : "false",
|
|
150
150
|
header: h,
|
|
151
|
-
contactMethods:
|
|
151
|
+
contactMethods: r,
|
|
152
152
|
dispatch: n
|
|
153
153
|
}
|
|
154
154
|
) : /* @__PURE__ */ a.createElement(
|
|
155
|
-
|
|
155
|
+
_e,
|
|
156
156
|
{
|
|
157
157
|
accordion: t ? "true" : "false",
|
|
158
|
-
positive:
|
|
159
|
-
negative: c.hasHandover ?
|
|
160
|
-
header:
|
|
158
|
+
positive: $,
|
|
159
|
+
negative: c.hasHandover ? i : b,
|
|
160
|
+
header: p,
|
|
161
161
|
selected: f,
|
|
162
|
-
onFeedback: (
|
|
162
|
+
onFeedback: (k) => n("feedback", k),
|
|
163
163
|
direction: d
|
|
164
164
|
}
|
|
165
165
|
);
|
|
166
|
-
},
|
|
166
|
+
}, nt = tt, at = ({
|
|
167
167
|
guide: { categories: e = [] },
|
|
168
|
-
toolbar: { picker: t =
|
|
168
|
+
toolbar: { picker: t = y.NONE }
|
|
169
169
|
}) => {
|
|
170
170
|
const [n, o] = ue([]), u = ie();
|
|
171
171
|
return he(() => {
|
|
172
|
-
|
|
172
|
+
qe(
|
|
173
173
|
"index",
|
|
174
174
|
e.map((c) => c.toString()),
|
|
175
175
|
u
|
|
@@ -177,29 +177,29 @@ const Ke = ({
|
|
|
177
177
|
o(c);
|
|
178
178
|
});
|
|
179
179
|
}, [e]), n.length ? /* @__PURE__ */ a.createElement(
|
|
180
|
-
|
|
180
|
+
ze,
|
|
181
181
|
{
|
|
182
182
|
className: "humany-guide-category-tooltip",
|
|
183
|
-
sticky: t ===
|
|
183
|
+
sticky: t === y.DRAWER,
|
|
184
184
|
content: /* @__PURE__ */ a.createElement(a.Fragment, null, n.map((c) => /* @__PURE__ */ a.createElement(
|
|
185
|
-
|
|
185
|
+
lt,
|
|
186
186
|
{
|
|
187
187
|
className: "humany-guide-category-trail",
|
|
188
|
-
key: c.map((
|
|
188
|
+
key: c.map((r) => r.id).join(".")
|
|
189
189
|
},
|
|
190
|
-
c.map((
|
|
190
|
+
c.map((r, h) => /* @__PURE__ */ a.createElement(
|
|
191
191
|
K,
|
|
192
192
|
{
|
|
193
193
|
className: "humany-guide-category-trail-segment",
|
|
194
|
-
key:
|
|
194
|
+
key: r.id
|
|
195
195
|
},
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
h !== c.length - 1 && /* @__PURE__ */ a.createElement(
|
|
196
|
+
r.symbol && h === 0 && /* @__PURE__ */ a.createElement(O, { size: 14, symbol: r.symbol }),
|
|
197
|
+
r.title,
|
|
198
|
+
h !== c.length - 1 && /* @__PURE__ */ a.createElement(rt, { className: "humany-category-separator" }, "/")
|
|
199
199
|
))
|
|
200
200
|
)))
|
|
201
201
|
},
|
|
202
|
-
t ===
|
|
202
|
+
t === y.DRAWER ? /* @__PURE__ */ a.createElement(
|
|
203
203
|
T,
|
|
204
204
|
{
|
|
205
205
|
className: "humany-guide-category-tooltip-button",
|
|
@@ -215,7 +215,7 @@ const Ke = ({
|
|
|
215
215
|
)
|
|
216
216
|
) : /* @__PURE__ */ a.createElement(ae, { size: 19, symbol: { type: "Svg", content: "information" } })
|
|
217
217
|
) : null;
|
|
218
|
-
},
|
|
218
|
+
}, ot = at, lt = s.div`
|
|
219
219
|
i,
|
|
220
220
|
svg {
|
|
221
221
|
margin: 0 ${(e) => {
|
|
@@ -230,42 +230,42 @@ const Ke = ({
|
|
|
230
230
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
231
231
|
}};
|
|
232
232
|
}
|
|
233
|
-
`,
|
|
233
|
+
`, rt = s(K)`
|
|
234
234
|
margin: 0 ${(e) => {
|
|
235
235
|
var t;
|
|
236
236
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
237
237
|
}};
|
|
238
|
-
`, ae =
|
|
238
|
+
`, ae = s(O)`
|
|
239
239
|
display: block;
|
|
240
|
-
`,
|
|
240
|
+
`, st = ({
|
|
241
241
|
header: e,
|
|
242
242
|
tooltip: t,
|
|
243
243
|
printActionLabel: n,
|
|
244
244
|
copyActionLabel: o,
|
|
245
245
|
addFavoriteTooltip: u,
|
|
246
246
|
removeFavoriteCancelLabel: c,
|
|
247
|
-
removeFavoriteConfirmLabel:
|
|
247
|
+
removeFavoriteConfirmLabel: r,
|
|
248
248
|
removeFavoriteHeader: h,
|
|
249
249
|
removeFavoriteLabel: m,
|
|
250
250
|
removeFavoriteTooltip: d,
|
|
251
251
|
toolbarFunctionsCloseButtonAriaLabel: g,
|
|
252
252
|
allowCopy: f = !1,
|
|
253
|
-
allowPrint:
|
|
254
|
-
showFavoriteToggle:
|
|
255
|
-
picker: b =
|
|
256
|
-
guide:
|
|
257
|
-
dispatch:
|
|
253
|
+
allowPrint: p = !1,
|
|
254
|
+
showFavoriteToggle: $ = !1,
|
|
255
|
+
picker: b = y.NONE,
|
|
256
|
+
guide: i,
|
|
257
|
+
dispatch: E
|
|
258
258
|
}) => {
|
|
259
|
-
const [x,
|
|
260
|
-
(
|
|
261
|
-
|
|
259
|
+
const [x, k] = Se(), l = V(
|
|
260
|
+
(w) => {
|
|
261
|
+
i && E("copy", i);
|
|
262
262
|
},
|
|
263
|
-
[
|
|
263
|
+
[i, E]
|
|
264
264
|
), S = V(() => {
|
|
265
|
-
|
|
266
|
-
}, [
|
|
267
|
-
const { id:
|
|
268
|
-
if (f &&
|
|
265
|
+
i && E("print");
|
|
266
|
+
}, [i, E]), B = P(() => {
|
|
267
|
+
const { id: w, title: N } = i, D = [];
|
|
268
|
+
if (f && D.push({
|
|
269
269
|
type: "copy",
|
|
270
270
|
child: /* @__PURE__ */ a.createElement(
|
|
271
271
|
T,
|
|
@@ -274,12 +274,12 @@ const Ke = ({
|
|
|
274
274
|
"data-has-symbol": "true",
|
|
275
275
|
title: o,
|
|
276
276
|
"aria-label": n,
|
|
277
|
-
onClick:
|
|
277
|
+
onClick: l
|
|
278
278
|
},
|
|
279
279
|
/* @__PURE__ */ a.createElement(A, { size: 16, symbol: { type: "Svg", content: "copy" } }),
|
|
280
280
|
o && /* @__PURE__ */ a.createElement(ne, null, o)
|
|
281
281
|
)
|
|
282
|
-
}),
|
|
282
|
+
}), p && D.push({
|
|
283
283
|
type: "print",
|
|
284
284
|
child: /* @__PURE__ */ a.createElement(
|
|
285
285
|
T,
|
|
@@ -293,48 +293,48 @@ const Ke = ({
|
|
|
293
293
|
/* @__PURE__ */ a.createElement(A, { size: 16, symbol: { type: "Svg", content: "print" } }),
|
|
294
294
|
n && /* @__PURE__ */ a.createElement(ne, null, n)
|
|
295
295
|
)
|
|
296
|
-
}),
|
|
297
|
-
const I = x.indexOf(
|
|
298
|
-
|
|
296
|
+
}), $) {
|
|
297
|
+
const I = x.indexOf(w) > -1;
|
|
298
|
+
D.push({
|
|
299
299
|
type: "favorite",
|
|
300
300
|
child: /* @__PURE__ */ a.createElement(
|
|
301
|
-
|
|
301
|
+
Be,
|
|
302
302
|
{
|
|
303
|
-
id:
|
|
304
|
-
guideTitle:
|
|
303
|
+
id: w,
|
|
304
|
+
guideTitle: N,
|
|
305
305
|
isFavorite: I,
|
|
306
306
|
buttonLabel: I ? d : u,
|
|
307
307
|
addFavoriteTooltip: u,
|
|
308
308
|
removeFavoriteCancelLabel: c,
|
|
309
|
-
removeFavoriteConfirmLabel:
|
|
309
|
+
removeFavoriteConfirmLabel: r,
|
|
310
310
|
removeFavoriteHeader: h,
|
|
311
311
|
removeFavoriteLabel: m,
|
|
312
312
|
removeFavoriteTooltip: d,
|
|
313
|
-
actions:
|
|
313
|
+
actions: k
|
|
314
314
|
}
|
|
315
315
|
)
|
|
316
316
|
});
|
|
317
317
|
}
|
|
318
|
-
return
|
|
318
|
+
return D;
|
|
319
319
|
}, [
|
|
320
320
|
x,
|
|
321
|
-
|
|
321
|
+
i,
|
|
322
322
|
f,
|
|
323
|
+
p,
|
|
323
324
|
$,
|
|
324
|
-
E,
|
|
325
325
|
n,
|
|
326
326
|
o,
|
|
327
327
|
u,
|
|
328
328
|
c,
|
|
329
|
-
|
|
329
|
+
r,
|
|
330
330
|
h,
|
|
331
331
|
m,
|
|
332
332
|
d
|
|
333
333
|
]);
|
|
334
334
|
if (!B.length)
|
|
335
335
|
return null;
|
|
336
|
-
const
|
|
337
|
-
|
|
336
|
+
const v = /* @__PURE__ */ a.createElement(
|
|
337
|
+
mt,
|
|
338
338
|
{
|
|
339
339
|
tabIndex: 0,
|
|
340
340
|
title: t,
|
|
@@ -342,30 +342,30 @@ const Ke = ({
|
|
|
342
342
|
"data-has-label": "false"
|
|
343
343
|
},
|
|
344
344
|
/* @__PURE__ */ a.createElement(A, { symbol: { type: "Svg", content: "options" }, size: 18 })
|
|
345
|
-
),
|
|
346
|
-
return b ===
|
|
347
|
-
|
|
345
|
+
), L = ({ type: w, child: N }) => /* @__PURE__ */ a.createElement("li", { key: w, "data-function-type": w }, N);
|
|
346
|
+
return b === y.DROPDOWN ? /* @__PURE__ */ a.createElement(
|
|
347
|
+
ct,
|
|
348
348
|
{
|
|
349
349
|
className: "humany-guide-functions-dropdown-list",
|
|
350
350
|
header: e,
|
|
351
351
|
items: B,
|
|
352
|
-
trigger:
|
|
353
|
-
renderItem:
|
|
352
|
+
trigger: v,
|
|
353
|
+
renderItem: L,
|
|
354
354
|
closeButtonAriaLabel: g
|
|
355
355
|
}
|
|
356
|
-
) : b ===
|
|
356
|
+
) : b === y.DRAWER ? /* @__PURE__ */ a.createElement(
|
|
357
357
|
ce,
|
|
358
358
|
{
|
|
359
359
|
className: "humany-guide-functions-drawer-list",
|
|
360
360
|
animation: { type: me.SlideInBottom },
|
|
361
361
|
header: e,
|
|
362
362
|
items: B,
|
|
363
|
-
trigger:
|
|
364
|
-
renderItem:
|
|
363
|
+
trigger: v,
|
|
364
|
+
renderItem: L,
|
|
365
365
|
closeButtonAriaLabel: g
|
|
366
366
|
}
|
|
367
367
|
) : null;
|
|
368
|
-
},
|
|
368
|
+
}, it = st, A = s(O)`
|
|
369
369
|
circle {
|
|
370
370
|
fill: ${(e) => {
|
|
371
371
|
var t;
|
|
@@ -381,74 +381,74 @@ const Ke = ({
|
|
|
381
381
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
382
382
|
}};
|
|
383
383
|
}
|
|
384
|
-
`,
|
|
384
|
+
`, ct = s(de)`
|
|
385
385
|
display: block;
|
|
386
386
|
min-height: auto;
|
|
387
|
-
`,
|
|
387
|
+
`, mt = s(T)`
|
|
388
388
|
padding: calc(${(e) => {
|
|
389
389
|
var t;
|
|
390
390
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
391
391
|
}} * 2) 0;
|
|
392
|
-
`,
|
|
392
|
+
`, dt = (e, t) => {
|
|
393
393
|
var n;
|
|
394
394
|
return ((n = t.find((o) => o.id === e.id)) == null ? void 0 : n.label) || "";
|
|
395
|
-
},
|
|
396
|
-
var
|
|
395
|
+
}, ut = (c) => {
|
|
396
|
+
var r = c, {
|
|
397
397
|
header: e,
|
|
398
398
|
tooltip: t,
|
|
399
|
-
picker: n =
|
|
399
|
+
picker: n = y.NONE,
|
|
400
400
|
guide: o
|
|
401
|
-
} =
|
|
401
|
+
} = r, u = R(r, [
|
|
402
402
|
"header",
|
|
403
403
|
"tooltip",
|
|
404
404
|
"picker",
|
|
405
405
|
"guide"
|
|
406
406
|
]);
|
|
407
|
-
const { name: h, params: m } = q(), d = P(() => Object.keys(o.translations || {}).reduce((
|
|
408
|
-
const
|
|
409
|
-
return
|
|
407
|
+
const { name: h, params: m } = q(), d = P(() => Object.keys(o.translations || {}).reduce(($, b) => {
|
|
408
|
+
const i = {};
|
|
409
|
+
return i.key = b, i.id = (o.translations || {})[b], i.label = u[`${b}LanguageLabel`], (i.id || i.label) && $.push(i), $;
|
|
410
410
|
}, []), [o, u]);
|
|
411
411
|
if (!d.length)
|
|
412
412
|
return null;
|
|
413
|
-
const g =
|
|
414
|
-
|
|
413
|
+
const g = dt(o, d), f = /* @__PURE__ */ a.createElement(
|
|
414
|
+
gt,
|
|
415
415
|
{
|
|
416
416
|
tabIndex: 0,
|
|
417
417
|
title: t,
|
|
418
418
|
"data-has-symbol": "true",
|
|
419
|
-
"data-has-label": n ===
|
|
419
|
+
"data-has-label": n === y.DROPDOWN && g ? "true" : "false"
|
|
420
420
|
},
|
|
421
|
-
n ===
|
|
422
|
-
|
|
421
|
+
n === y.DROPDOWN && /* @__PURE__ */ a.createElement(a.Fragment, null, g && /* @__PURE__ */ a.createElement(bt, null, g), /* @__PURE__ */ a.createElement(
|
|
422
|
+
yt,
|
|
423
423
|
{
|
|
424
424
|
symbol: { type: "Svg", content: "caret-down" },
|
|
425
425
|
size: 11
|
|
426
426
|
}
|
|
427
427
|
)),
|
|
428
|
-
n ===
|
|
429
|
-
),
|
|
430
|
-
|
|
428
|
+
n === y.DRAWER && /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(ft, { symbol: { type: "Svg", content: "language" }, size: 20 }))
|
|
429
|
+
), p = ({ label: $, key: b, id: i }) => /* @__PURE__ */ a.createElement("li", { key: b, "data-language": b }, /* @__PURE__ */ a.createElement(
|
|
430
|
+
$t,
|
|
431
431
|
{
|
|
432
432
|
tabIndex: 0,
|
|
433
|
-
text:
|
|
433
|
+
text: $,
|
|
434
434
|
routeName: h,
|
|
435
|
-
selected: o.id ===
|
|
436
|
-
params:
|
|
435
|
+
selected: o.id === i,
|
|
436
|
+
params: Je(F(C({}, m), {
|
|
437
437
|
connection: void 0,
|
|
438
|
-
guide:
|
|
438
|
+
guide: i
|
|
439
439
|
}))
|
|
440
440
|
}
|
|
441
441
|
));
|
|
442
|
-
return n ===
|
|
443
|
-
|
|
442
|
+
return n === y.DROPDOWN ? /* @__PURE__ */ a.createElement(
|
|
443
|
+
pt,
|
|
444
444
|
{
|
|
445
445
|
className: "humany-guide-languages-dropdown-list",
|
|
446
446
|
header: e,
|
|
447
447
|
items: d,
|
|
448
448
|
trigger: f,
|
|
449
|
-
renderItem:
|
|
449
|
+
renderItem: p
|
|
450
450
|
}
|
|
451
|
-
) : n ===
|
|
451
|
+
) : n === y.DRAWER ? /* @__PURE__ */ a.createElement(
|
|
452
452
|
ce,
|
|
453
453
|
{
|
|
454
454
|
className: "humany-guide-languages-drawer-list",
|
|
@@ -456,17 +456,17 @@ const Ke = ({
|
|
|
456
456
|
header: e,
|
|
457
457
|
items: d,
|
|
458
458
|
trigger: f,
|
|
459
|
-
renderItem:
|
|
459
|
+
renderItem: p
|
|
460
460
|
}
|
|
461
461
|
) : null;
|
|
462
|
-
},
|
|
462
|
+
}, ht = ut, gt = s(T)`
|
|
463
463
|
&&& {
|
|
464
464
|
margin: 0 ${(e) => {
|
|
465
465
|
var t;
|
|
466
466
|
return `calc(${(t = e.theme.sizes) == null ? void 0 : t.small} * 2)`;
|
|
467
467
|
}} 0 0;
|
|
468
468
|
}
|
|
469
|
-
`,
|
|
469
|
+
`, ft = s(O)`
|
|
470
470
|
circle {
|
|
471
471
|
fill: ${(e) => {
|
|
472
472
|
var t;
|
|
@@ -482,7 +482,7 @@ const Ke = ({
|
|
|
482
482
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
483
483
|
}};
|
|
484
484
|
}
|
|
485
|
-
`,
|
|
485
|
+
`, bt = s(K)`
|
|
486
486
|
margin: 0 ${(e) => {
|
|
487
487
|
var t;
|
|
488
488
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
@@ -491,7 +491,7 @@ const Ke = ({
|
|
|
491
491
|
var t;
|
|
492
492
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
493
493
|
}};
|
|
494
|
-
`,
|
|
494
|
+
`, yt = s(O)`
|
|
495
495
|
align-self: flex-end;
|
|
496
496
|
stroke-width: 2px;
|
|
497
497
|
stroke-linecap: round;
|
|
@@ -506,10 +506,10 @@ const Ke = ({
|
|
|
506
506
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
507
507
|
}};
|
|
508
508
|
}
|
|
509
|
-
`,
|
|
509
|
+
`, pt = s(de)`
|
|
510
510
|
display: block;
|
|
511
511
|
min-height: auto;
|
|
512
|
-
`,
|
|
512
|
+
`, $t = s(le)`
|
|
513
513
|
color: ${(e) => {
|
|
514
514
|
var t, n;
|
|
515
515
|
return e.selected ? (t = e.theme.colors) == null ? void 0 : t.primary : (n = e.theme.colors) == null ? void 0 : n.text;
|
|
@@ -521,34 +521,34 @@ const Ke = ({
|
|
|
521
521
|
${re}
|
|
522
522
|
text-decoration: underline;
|
|
523
523
|
}
|
|
524
|
-
`,
|
|
524
|
+
`, Et = (e) => {
|
|
525
525
|
const {
|
|
526
526
|
allowCopy: t = !1,
|
|
527
527
|
allowPrint: n = !1,
|
|
528
528
|
guideCategories: o = !1,
|
|
529
529
|
language: u = !1,
|
|
530
530
|
showFavoriteToggle: c = !1,
|
|
531
|
-
picker:
|
|
531
|
+
picker: r = y.NONE
|
|
532
532
|
} = e;
|
|
533
|
-
return !t && !n && !u && !c && !o ||
|
|
534
|
-
},
|
|
535
|
-
const
|
|
533
|
+
return !t && !n && !u && !c && !o || r === y.NONE;
|
|
534
|
+
}, kt = ({ className: e = "", dispatch: t }) => {
|
|
535
|
+
const w = J(), {
|
|
536
536
|
toolbarLanguageHeader: n,
|
|
537
537
|
toolbarFunctionsHeader: o,
|
|
538
538
|
toolbarLanguageTooltip: u,
|
|
539
539
|
toolbarFunctionsTooltip: c,
|
|
540
|
-
toolbarFunctionsCloseButtonAriaLabel:
|
|
540
|
+
toolbarFunctionsCloseButtonAriaLabel: r,
|
|
541
541
|
printActionLabel: h,
|
|
542
542
|
copyActionLabel: m,
|
|
543
543
|
addFavoriteTooltip: d,
|
|
544
544
|
removeFavoriteCancelLabel: g,
|
|
545
545
|
removeFavoriteConfirmLabel: f,
|
|
546
|
-
removeFavoriteHeader:
|
|
547
|
-
removeFavoriteLabel:
|
|
546
|
+
removeFavoriteHeader: p,
|
|
547
|
+
removeFavoriteLabel: $,
|
|
548
548
|
removeFavoriteTooltip: b,
|
|
549
|
-
guide:
|
|
550
|
-
toolbar:
|
|
551
|
-
} =
|
|
549
|
+
guide: i,
|
|
550
|
+
toolbar: E
|
|
551
|
+
} = w, x = R(w, [
|
|
552
552
|
"toolbarLanguageHeader",
|
|
553
553
|
"toolbarFunctionsHeader",
|
|
554
554
|
"toolbarLanguageTooltip",
|
|
@@ -565,21 +565,21 @@ const Ke = ({
|
|
|
565
565
|
"guide",
|
|
566
566
|
"toolbar"
|
|
567
567
|
]);
|
|
568
|
-
if (!
|
|
568
|
+
if (!i || !E || Et(E))
|
|
569
569
|
return null;
|
|
570
|
-
const { language:
|
|
571
|
-
return /* @__PURE__ */ a.createElement(
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
guide:
|
|
570
|
+
const { language: k, guideCategories: l, allowCopy: S, allowPrint: B, showFavoriteToggle: v, picker: L } = E;
|
|
571
|
+
return /* @__PURE__ */ a.createElement(xt, { className: H("humany-guide-toolbar", e) }, k && Object.keys(i.translations || {}).length > 1 && /* @__PURE__ */ a.createElement(
|
|
572
|
+
ht,
|
|
573
|
+
C({
|
|
574
|
+
guide: i,
|
|
575
575
|
header: n,
|
|
576
576
|
tooltip: u,
|
|
577
|
-
picker:
|
|
577
|
+
picker: L
|
|
578
578
|
}, x)
|
|
579
|
-
),
|
|
580
|
-
|
|
579
|
+
), l && /* @__PURE__ */ a.createElement(ot, { guide: i, toolbar: E }), (S || B || v) && /* @__PURE__ */ a.createElement(
|
|
580
|
+
it,
|
|
581
581
|
{
|
|
582
|
-
guide:
|
|
582
|
+
guide: i,
|
|
583
583
|
header: o,
|
|
584
584
|
tooltip: c,
|
|
585
585
|
printActionLabel: h,
|
|
@@ -587,18 +587,18 @@ const Ke = ({
|
|
|
587
587
|
addFavoriteTooltip: d,
|
|
588
588
|
removeFavoriteCancelLabel: g,
|
|
589
589
|
removeFavoriteConfirmLabel: f,
|
|
590
|
-
removeFavoriteHeader:
|
|
591
|
-
removeFavoriteLabel:
|
|
590
|
+
removeFavoriteHeader: p,
|
|
591
|
+
removeFavoriteLabel: $,
|
|
592
592
|
removeFavoriteTooltip: b,
|
|
593
|
-
toolbarFunctionsCloseButtonAriaLabel:
|
|
593
|
+
toolbarFunctionsCloseButtonAriaLabel: r,
|
|
594
594
|
allowCopy: S,
|
|
595
595
|
allowPrint: B,
|
|
596
|
-
showFavoriteToggle:
|
|
597
|
-
picker:
|
|
596
|
+
showFavoriteToggle: v,
|
|
597
|
+
picker: L,
|
|
598
598
|
dispatch: t
|
|
599
599
|
}
|
|
600
600
|
));
|
|
601
|
-
},
|
|
601
|
+
}, wt = kt, xt = s.div`
|
|
602
602
|
display: flex;
|
|
603
603
|
align-items: center;
|
|
604
604
|
justify-content: space-between;
|
|
@@ -610,100 +610,100 @@ const Ke = ({
|
|
|
610
610
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
611
611
|
}} * 2) 0 0;
|
|
612
612
|
}
|
|
613
|
-
`,
|
|
613
|
+
`, qt = Ke(
|
|
614
614
|
(u, o) => {
|
|
615
615
|
var c = u, { className: e, accordion: t = !1 } = c, n = R(c, ["className", "accordion"]);
|
|
616
616
|
const {
|
|
617
|
-
loading:
|
|
617
|
+
loading: r = !1,
|
|
618
618
|
dialog: h = [],
|
|
619
619
|
contactMethods: m = [],
|
|
620
620
|
showHeader: d = !0,
|
|
621
621
|
showAnswerVersions: g = !1,
|
|
622
622
|
defaultAnswerVersionLabel: f = "Default",
|
|
623
|
-
backButtonLabel:
|
|
624
|
-
metadataByLabel:
|
|
623
|
+
backButtonLabel: p,
|
|
624
|
+
metadataByLabel: $,
|
|
625
625
|
metadataModifiedLabel: b,
|
|
626
|
-
metadataPublishedLabel:
|
|
627
|
-
availablePerspectives:
|
|
626
|
+
metadataPublishedLabel: i,
|
|
627
|
+
availablePerspectives: E,
|
|
628
628
|
metadata: x,
|
|
629
|
-
toolbar:
|
|
630
|
-
guide:
|
|
629
|
+
toolbar: k,
|
|
630
|
+
guide: l,
|
|
631
631
|
error: S
|
|
632
632
|
} = J(), {
|
|
633
|
-
params: { connection: B }
|
|
634
|
-
} = q(), L = ie(),
|
|
633
|
+
params: { connection: B, guide: v }
|
|
634
|
+
} = q(), L = ie(), w = Ne(), N = se(), D = P(() => ({
|
|
635
635
|
transform: {
|
|
636
|
-
img: (z) => /* @__PURE__ */ a.createElement(
|
|
636
|
+
img: (z) => /* @__PURE__ */ a.createElement(Ce, { attrs: z, htmlBody: (l == null ? void 0 : l.body) || "" }),
|
|
637
637
|
a: (z) => {
|
|
638
|
-
const Y = z, { children:
|
|
638
|
+
const Y = z, { children: be } = Y, X = R(Y, ["children"])["data-target"];
|
|
639
639
|
if (X && h.length) {
|
|
640
640
|
const Z = h.find(
|
|
641
|
-
({ connection:
|
|
641
|
+
({ connection: ye }) => ye === X
|
|
642
642
|
);
|
|
643
643
|
if (Z)
|
|
644
|
-
return /* @__PURE__ */ a.createElement(
|
|
644
|
+
return /* @__PURE__ */ a.createElement(ve, C({}, Z), be);
|
|
645
645
|
}
|
|
646
|
-
return
|
|
646
|
+
return De(L)(z);
|
|
647
647
|
}
|
|
648
648
|
}
|
|
649
|
-
}), [
|
|
650
|
-
|
|
651
|
-
}, [
|
|
652
|
-
if (!
|
|
653
|
-
return
|
|
649
|
+
}), [l, L, h]), I = V(() => {
|
|
650
|
+
N("back");
|
|
651
|
+
}, [N]);
|
|
652
|
+
if (!l && !S && !r)
|
|
653
|
+
return Fe(L, F(C({}, n), {
|
|
654
654
|
className: H(e, "humany-guide")
|
|
655
655
|
}));
|
|
656
|
-
const { id:
|
|
656
|
+
const { id: ge = "", title: Q = "", body: M = "", translations: U = {} } = l || {};
|
|
657
657
|
if (S && S.status === 404)
|
|
658
|
-
return /* @__PURE__ */ a.createElement(
|
|
659
|
-
const j = !!t && !!B,
|
|
658
|
+
return /* @__PURE__ */ a.createElement(Ve, { showSearch: !1 });
|
|
659
|
+
const j = !!t && !!B, fe = Object.keys(U).find((z) => U[z] === `${ge}`);
|
|
660
660
|
return /* @__PURE__ */ a.createElement(
|
|
661
|
-
|
|
662
|
-
|
|
661
|
+
Lt,
|
|
662
|
+
F(C({
|
|
663
663
|
ref: o
|
|
664
664
|
}, n), {
|
|
665
|
-
"data-loading":
|
|
665
|
+
"data-loading": r,
|
|
666
666
|
className: H(e, "humany-guide")
|
|
667
667
|
}),
|
|
668
668
|
/* @__PURE__ */ a.createElement(
|
|
669
|
-
|
|
669
|
+
Ct,
|
|
670
670
|
{
|
|
671
|
-
"data-loading":
|
|
671
|
+
"data-loading": r,
|
|
672
672
|
accordion: t ? "true" : "false",
|
|
673
673
|
className: "humany-guide-content"
|
|
674
674
|
},
|
|
675
|
-
(g &&
|
|
676
|
-
|
|
675
|
+
(g && l || !!k) && /* @__PURE__ */ a.createElement(Nt, { className: "humany-guide-top" }, g && l && /* @__PURE__ */ a.createElement(
|
|
676
|
+
Ue,
|
|
677
677
|
{
|
|
678
678
|
defaultAnswerVersionLabel: f,
|
|
679
|
-
availablePerspectives:
|
|
680
|
-
guide:
|
|
679
|
+
availablePerspectives: E,
|
|
680
|
+
guide: l
|
|
681
681
|
}
|
|
682
|
-
), !!
|
|
682
|
+
), !!k && /* @__PURE__ */ a.createElement(wt, { dispatch: N })),
|
|
683
683
|
!!(Q || M) && /* @__PURE__ */ a.createElement(
|
|
684
|
-
|
|
684
|
+
zt,
|
|
685
685
|
{
|
|
686
686
|
className: "humany-guide-body",
|
|
687
687
|
accordion: t ? "true" : "false",
|
|
688
688
|
header: d && Q || void 0,
|
|
689
689
|
html: M,
|
|
690
|
-
htmlParseInstruction:
|
|
691
|
-
lang:
|
|
690
|
+
htmlParseInstruction: D,
|
|
691
|
+
lang: fe
|
|
692
692
|
}
|
|
693
693
|
),
|
|
694
|
-
h && M.indexOf("h-option-link") === -1 && /* @__PURE__ */ a.createElement(
|
|
694
|
+
h && M.indexOf("h-option-link") === -1 && /* @__PURE__ */ a.createElement(Bt, { dialog: h }),
|
|
695
695
|
/* @__PURE__ */ a.createElement(
|
|
696
|
-
|
|
696
|
+
St,
|
|
697
697
|
{
|
|
698
698
|
backButtonShown: j ? "true" : "false",
|
|
699
699
|
contactMethods: m,
|
|
700
|
-
dispatch:
|
|
701
|
-
guideId:
|
|
700
|
+
dispatch: N,
|
|
701
|
+
guideId: l && l.id
|
|
702
702
|
}
|
|
703
703
|
),
|
|
704
|
-
!m.length && /* @__PURE__ */ a.createElement(
|
|
705
|
-
j && /* @__PURE__ */ a.createElement(
|
|
706
|
-
|
|
704
|
+
!m.length && v === (l == null ? void 0 : l.id) && /* @__PURE__ */ a.createElement(nt, { backButtonShown: j, accordion: t }),
|
|
705
|
+
j && /* @__PURE__ */ a.createElement(Ft, { "aria-label": p, onClick: I }, /* @__PURE__ */ a.createElement(
|
|
706
|
+
Rt,
|
|
707
707
|
{
|
|
708
708
|
width: "7",
|
|
709
709
|
height: "13",
|
|
@@ -713,21 +713,21 @@ const Ke = ({
|
|
|
713
713
|
},
|
|
714
714
|
/* @__PURE__ */ a.createElement("line", { x1: "6.64645", y1: "12.5513", x2: "0.648357", y2: "6.55319" }),
|
|
715
715
|
/* @__PURE__ */ a.createElement("line", { x1: "0.646447", y1: "6.64455", x2: "6.64454", y2: "0.646465" })
|
|
716
|
-
),
|
|
716
|
+
), p && /* @__PURE__ */ a.createElement("span", null, p)),
|
|
717
717
|
x && /* @__PURE__ */ a.createElement(
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
modified:
|
|
721
|
-
published:
|
|
722
|
-
modifiedBy:
|
|
723
|
-
publishedBy:
|
|
724
|
-
byLabel:
|
|
718
|
+
vt,
|
|
719
|
+
F(C({}, x), {
|
|
720
|
+
modified: l == null ? void 0 : l.modified,
|
|
721
|
+
published: l == null ? void 0 : l.published,
|
|
722
|
+
modifiedBy: l == null ? void 0 : l.modifiedBy,
|
|
723
|
+
publishedBy: l == null ? void 0 : l.publishedBy,
|
|
724
|
+
byLabel: $,
|
|
725
725
|
modifiedLabel: b,
|
|
726
|
-
publishedLabel:
|
|
726
|
+
publishedLabel: i
|
|
727
727
|
})
|
|
728
728
|
),
|
|
729
|
-
|
|
730
|
-
|
|
729
|
+
w.map((z) => /* @__PURE__ */ a.createElement(
|
|
730
|
+
Dt,
|
|
731
731
|
{
|
|
732
732
|
key: z.id,
|
|
733
733
|
id: z.id,
|
|
@@ -736,14 +736,14 @@ const Ke = ({
|
|
|
736
736
|
}
|
|
737
737
|
))
|
|
738
738
|
),
|
|
739
|
-
/* @__PURE__ */ a.createElement(
|
|
739
|
+
/* @__PURE__ */ a.createElement(Re, { loading: r })
|
|
740
740
|
);
|
|
741
741
|
}
|
|
742
|
-
),
|
|
743
|
-
${
|
|
742
|
+
), Lt = s.div`
|
|
743
|
+
${Te}
|
|
744
744
|
min-width: 0;
|
|
745
|
-
`,
|
|
746
|
-
${
|
|
745
|
+
`, zt = s(Oe)`
|
|
746
|
+
${Ie}
|
|
747
747
|
${(e) => {
|
|
748
748
|
var t;
|
|
749
749
|
return `padding: ${(t = e.theme.sizes) == null ? void 0 : t.large};`;
|
|
@@ -753,7 +753,7 @@ const Ke = ({
|
|
|
753
753
|
|
|
754
754
|
${(e) => {
|
|
755
755
|
var t, n;
|
|
756
|
-
return
|
|
756
|
+
return We(e)(
|
|
757
757
|
"h1",
|
|
758
758
|
G`
|
|
759
759
|
font-size: ${(t = e.theme.fonts) == null ? void 0 : t.large};
|
|
@@ -779,16 +779,16 @@ const Ke = ({
|
|
|
779
779
|
display: inline;
|
|
780
780
|
}
|
|
781
781
|
}
|
|
782
|
-
`,
|
|
782
|
+
`, St = s(oe)`
|
|
783
783
|
border-top: ${(e) => e.theme.border};
|
|
784
784
|
${(e) => e.backButtonShown === "true" && `border-bottom: ${e.theme.border};`}
|
|
785
|
-
`,
|
|
785
|
+
`, Bt = s(He)`
|
|
786
786
|
${(e) => {
|
|
787
787
|
var t, n;
|
|
788
788
|
return `padding: 0 ${(t = e.theme.sizes) == null ? void 0 : t.large} ${(n = e.theme.sizes) == null ? void 0 : n.large};`;
|
|
789
789
|
}}
|
|
790
790
|
display: block;
|
|
791
|
-
`,
|
|
791
|
+
`, Nt = s.div`
|
|
792
792
|
${(e) => {
|
|
793
793
|
var t, n;
|
|
794
794
|
return `padding: calc(${(t = e.theme.sizes) == null ? void 0 : t.normal}*2) ${(n = e.theme.sizes) == null ? void 0 : n.large};`;
|
|
@@ -799,11 +799,11 @@ const Ke = ({
|
|
|
799
799
|
border-bottom: ${(e) => e.theme.border};
|
|
800
800
|
border-radius: ${(e) => `${e.theme.borderRadius} ${e.theme.borderRadius}`} 0 0;
|
|
801
801
|
background-color: #ffffff;
|
|
802
|
-
`,
|
|
803
|
-
${
|
|
802
|
+
`, Ct = s.div`
|
|
803
|
+
${Pe}
|
|
804
804
|
display: block;
|
|
805
805
|
> a {
|
|
806
|
-
${
|
|
806
|
+
${ke}
|
|
807
807
|
}
|
|
808
808
|
|
|
809
809
|
${(e) => e.accordion === "true" && G`
|
|
@@ -811,7 +811,7 @@ const Ke = ({
|
|
|
811
811
|
box-shadow: none;
|
|
812
812
|
background-color: #fafafa;
|
|
813
813
|
`}
|
|
814
|
-
`,
|
|
814
|
+
`, vt = s(Me)`
|
|
815
815
|
display: block;
|
|
816
816
|
${(e) => {
|
|
817
817
|
var t, n;
|
|
@@ -827,9 +827,9 @@ const Ke = ({
|
|
|
827
827
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
828
828
|
}};
|
|
829
829
|
border-top: ${(e) => e.theme.border};
|
|
830
|
-
`,
|
|
830
|
+
`, Dt = s(Ge)`
|
|
831
831
|
border-top: ${(e) => e.theme.border};
|
|
832
|
-
`,
|
|
832
|
+
`, Ft = s(je)`
|
|
833
833
|
${(e) => {
|
|
834
834
|
var t, n;
|
|
835
835
|
return `padding: ${(t = e.theme.sizes) == null ? void 0 : t.normal} calc(${(n = e.theme.sizes) == null ? void 0 : n.normal} * 2);`;
|
|
@@ -847,13 +847,13 @@ const Ke = ({
|
|
|
847
847
|
font-weight: 300;
|
|
848
848
|
}
|
|
849
849
|
&:focus-visible {
|
|
850
|
-
${
|
|
850
|
+
${Ae}
|
|
851
851
|
padding: ${(e) => {
|
|
852
852
|
var t, n;
|
|
853
853
|
return `calc(${(t = e.theme.sizes) == null ? void 0 : t.small} / 2) ${(n = e.theme.sizes) == null ? void 0 : n.small}`;
|
|
854
854
|
}};
|
|
855
855
|
}
|
|
856
|
-
`,
|
|
856
|
+
`, Rt = s.svg`
|
|
857
857
|
margin-right: ${(e) => {
|
|
858
858
|
var t;
|
|
859
859
|
return (t = e.theme.sizes) == null ? void 0 : t.small;
|
|
@@ -866,6 +866,6 @@ const Ke = ({
|
|
|
866
866
|
}
|
|
867
867
|
`;
|
|
868
868
|
export {
|
|
869
|
-
|
|
869
|
+
qt as default
|
|
870
870
|
};
|
|
871
|
-
//# sourceMappingURL=guide.
|
|
871
|
+
//# sourceMappingURL=guide.8c4b352b.js.map
|