@cntrl-site/components 1.0.101 → 1.0.103
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/README.md +25 -1
- package/dist/Burger-C6jI6C1c.js +661 -0
- package/dist/Burger-EMSn7TPB.mjs +1807 -0
- package/dist/ClickGallerie-D7g093HX.js +36 -0
- package/dist/ClickGallerie-QSOQjSdv.mjs +271 -0
- package/dist/Components/Burger/BurgerComponent.d.ts +0 -1
- package/dist/Components/ClickGallerie/ClickGallerie.d.ts +1 -0
- package/dist/Components/ClickGallerie/ClickGallerieComponent.d.ts +0 -1
- package/dist/Components/FAQ/FAQComponent.d.ts +0 -1
- package/dist/Components/Form/FormComponent.d.ts +0 -1
- package/dist/Components/Grid/GridComponent.d.ts +0 -1
- package/dist/Components/Helix/HelixComponent.d.ts +0 -1
- package/dist/Components/Hive/HiveComponent.d.ts +0 -1
- package/dist/Components/LightboxJournal/LightboxJournalComponent.d.ts +0 -1
- package/dist/Components/LightboxStrip/LightboxStripComponent.d.ts +0 -1
- package/dist/Components/List/ListComponent.d.ts +0 -1
- package/dist/Components/Marquee/MarqueeComponent.d.ts +0 -1
- package/dist/Components/MarqueeText/MarqueeTextComponent.d.ts +0 -1
- package/dist/Components/Mercury/MercuryComponent.d.ts +0 -1
- package/dist/Components/OnelinerForm/OnelinerFormComponent.d.ts +0 -1
- package/dist/Components/Pretext/PretextComponent.d.ts +0 -1
- package/dist/Components/Scale/Scale.d.ts +2 -0
- package/dist/Components/Scale/ScaleComponent.d.ts +0 -1
- package/dist/Components/SimpleButton/SimpleButtonComponent.d.ts +0 -1
- package/dist/Components/Slider20/Slider20Component.d.ts +0 -1
- package/dist/Components/TestimonialGrid/TestimonialGridComponent.d.ts +0 -1
- package/dist/Components/TestimonialSingle/TestimonialSingleComponent.d.ts +0 -1
- package/dist/Components/Waterfall/WaterfallComponent.d.ts +0 -1
- package/dist/ControlSlider-SiOt22l_.js +1 -0
- package/dist/ControlSlider-pZv7H6BU.mjs +334 -0
- package/dist/FAQ-C7823fyi.js +166 -0
- package/dist/FAQ-CZ39u4m8.mjs +588 -0
- package/dist/Form-BX5_41nb.mjs +472 -0
- package/dist/Form-Dn-6A1He.js +153 -0
- package/dist/Grid-CemGhf3F.js +374 -0
- package/dist/Grid-cfQsXW3b.mjs +1553 -0
- package/dist/Helix-2Vr-9WBa.js +43 -0
- package/dist/Helix-BmkAKT1G.mjs +315 -0
- package/dist/Hive-BC6zQBsv.js +321 -0
- package/dist/Hive-BGMWinrW.mjs +1425 -0
- package/dist/HiveLightboxTitles-DhEeFKWs.mjs +507 -0
- package/dist/HiveLightboxTitles-DlyptAaK.js +1 -0
- package/dist/ImageRevealSlider-BBWtFjUF.js +1 -0
- package/dist/ImageRevealSlider-BdFGyVEP.mjs +184 -0
- package/dist/Lightbox-CIss_nOG.js +1 -0
- package/dist/Lightbox-eP9qAZzL.mjs +665 -0
- package/dist/LightboxJournal-D59ex6wH.mjs +1613 -0
- package/dist/LightboxJournal-DAEZOPDi.js +523 -0
- package/dist/LightboxStrip-BDjI1jyH.js +386 -0
- package/dist/LightboxStrip-YspzBP8N.mjs +1574 -0
- package/dist/List-C32WImI3.js +377 -0
- package/dist/List-DW7fyJbf.mjs +1891 -0
- package/dist/Marquee-BYClHHws.mjs +551 -0
- package/dist/Marquee-vmHaTGIP.js +133 -0
- package/dist/MarqueeText-4Rip_sQX.mjs +515 -0
- package/dist/MarqueeText-E6OubMOG.js +132 -0
- package/dist/Mercury-BwF_XW2w.js +267 -0
- package/dist/Mercury-DuKJQ1Zo.mjs +1701 -0
- package/dist/OnelinerForm-BEu7_sho.mjs +434 -0
- package/dist/OnelinerForm-C2Y_XMCY.js +194 -0
- package/dist/Pretext-10CcyP1E.mjs +2762 -0
- package/dist/Pretext-DvQ3xsni.js +231 -0
- package/dist/PretextComponent-CGycuNNn.js +1 -0
- package/dist/PretextComponent-DN8cyZ8x.mjs +11633 -0
- package/dist/RichTextRenderer-B6WtTYlR.mjs +32 -0
- package/dist/RichTextRenderer-CIy6yI8U.js +1 -0
- package/dist/Scale-Bg3bGICG.js +114 -0
- package/dist/Scale-TnkWtRrs.mjs +409 -0
- package/dist/SimpleButton-C-o2W9bS.mjs +451 -0
- package/dist/SimpleButton-nGEcO2gB.js +243 -0
- package/dist/Slider20-C9o2REDl.js +272 -0
- package/dist/Slider20-Dm8BeCli.mjs +851 -0
- package/dist/SvgImage-B5mR9y6q.mjs +51 -0
- package/dist/SvgImage-DFlmxAoL.js +1 -0
- package/dist/TestimonialGrid-CPu4qQ6B.mjs +492 -0
- package/dist/TestimonialGrid-D4ieiz9e.js +90 -0
- package/dist/TestimonialSingle-CVu15ZtV.js +125 -0
- package/dist/TestimonialSingle-DLdnAVF7.mjs +391 -0
- package/dist/Waterfall-A0FjM2my.mjs +1400 -0
- package/dist/Waterfall-DnPDHbCL.js +287 -0
- package/dist/buildColorVars-CE2D5cQV.js +1 -0
- package/dist/buildColorVars-CLyWQm5K.mjs +21 -0
- package/dist/components-BFJINCME.mjs +2053 -0
- package/dist/components-DTCDEBo0.js +1 -0
- package/dist/components.css +1 -1
- package/dist/elements.d.ts +7 -0
- package/dist/elements.js +1 -0
- package/dist/elements.mjs +63 -0
- package/dist/elements.node.d.ts +6 -0
- package/dist/elements.node.js +1 -0
- package/dist/elements.node.mjs +21 -0
- package/dist/forking.d.ts +1 -0
- package/dist/formFieldValidation-DZl2KVaF.js +1 -0
- package/dist/formFieldValidation-DvihFrq5.mjs +21 -0
- package/dist/getColorAlpha-BVBY0N5x.mjs +39 -0
- package/dist/getColorAlpha-CoSseoCn.js +1 -0
- package/dist/getImageRect-BQhQXvT8.js +1 -0
- package/dist/getImageRect-CBMhFNHM.mjs +109 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -28862
- package/dist/index.mjs +16 -62473
- package/dist/loadSvgMaskUrl-DfF7ay6h.js +1 -0
- package/dist/loadSvgMaskUrl-xHgGYgPe.mjs +20 -0
- package/dist/panelAvailability-D179wwJx.mjs +27 -0
- package/dist/panelAvailability-DnOe0rQ4.js +1 -0
- package/dist/react-splide.esm-CabaEmHi.js +6 -0
- package/dist/react-splide.esm-DQqds4PL.mjs +1750 -0
- package/dist/readTestimonialTextMeasure-BIXpGFEt.mjs +13 -0
- package/dist/readTestimonialTextMeasure-CEPaB4Sy.js +1 -0
- package/dist/scalingValue-C9JH5L6O.mjs +6 -0
- package/dist/scalingValue-CSHYgTZl.js +1 -0
- package/dist/sources.d.ts +1 -0
- package/dist/sources.js +23865 -0
- package/dist/sources.mjs +23891 -0
- package/dist/textStylesToCss-05Mn6I_2.mjs +32 -0
- package/dist/textStylesToCss-CNN3zZTV.js +1 -0
- package/dist/types/Component.d.ts +0 -1
- package/dist/useLightboxScrollLock-Hf16Eq4g.js +1 -0
- package/dist/useLightboxScrollLock-VQ07s7EJ.mjs +18 -0
- package/dist/useLightboxSwipeDismiss-Br9uE5G0.js +1 -0
- package/dist/useLightboxSwipeDismiss-SGv6Ra33.mjs +95 -0
- package/dist/useScopedStyles-Bf6yohVQ.js +1 -0
- package/dist/useScopedStyles-DhBG3557.mjs +11 -0
- package/dist/utils-033j3qNL.js +1 -0
- package/dist/utils-FxC9rcxw.mjs +247 -0
- package/dist/utils.js +1 -1
- package/dist/utils.mjs +17 -11
- package/package.json +31 -2
- package/dist/index-2JTNRDR1.js +0 -1
- package/dist/index-DA8t6EZ4.mjs +0 -255
- package/dist/panelAvailability-CgSic84c.mjs +0 -126
- package/dist/panelAvailability-D8c7cdbu.js +0 -1
|
@@ -0,0 +1,334 @@
|
|
|
1
|
+
import { jsx as t, jsxs as v, Fragment as M } from "react/jsx-runtime";
|
|
2
|
+
import { useState as f, useRef as Y, useEffect as O } from "react";
|
|
3
|
+
import { S as q, a as K } from "./react-splide.esm-DQqds4PL.mjs";
|
|
4
|
+
/* empty css */
|
|
5
|
+
import c from "classnames";
|
|
6
|
+
import { R as Q } from "./RichTextRenderer-B6WtTYlR.mjs";
|
|
7
|
+
import { s } from "./scalingValue-C9JH5L6O.mjs";
|
|
8
|
+
import { S as N } from "./SvgImage-B5mR9y6q.mjs";
|
|
9
|
+
import { n as Z } from "./textStylesToCss-05Mn6I_2.mjs";
|
|
10
|
+
const G = "ControlSlider-module__wrapper___sHEkd", J = "ControlSlider-module__hoverArrow___A-dOH", X = "ControlSlider-module__sliderItem___QQSkR", E = "ControlSlider-module__sliderImage___9hRl-", oo = "ControlSlider-module__arrow___05ghY", to = "ControlSlider-module__arrowVertical___tBfVN", eo = "ControlSlider-module__nextArrow___-30Yc", no = "ControlSlider-module__arrowInner___aEra3", io = "ControlSlider-module__arrowIcon___S4ztF", ro = "ControlSlider-module__arrowImg___2dwJW", lo = "ControlSlider-module__mirror___brd6U", ao = "ControlSlider-module__pagination___bicLF", so = "ControlSlider-module__paginationInner___bT-P-", co = "ControlSlider-module__paginationVertical___zYqKw", mo = "ControlSlider-module__paginationItem___nTRbk", _o = "ControlSlider-module__dot___p1Qun", go = "ControlSlider-module__activeDot___LHFaj", po = "ControlSlider-module__paginationInsideBottom___R3FWn", ho = "ControlSlider-module__paginationInsideTop___V-qb-", uo = "ControlSlider-module__paginationOutsideBottom___14w8D", fo = "ControlSlider-module__paginationOutsideTop___SCLqB", Co = "ControlSlider-module__paginationInsideLeft___yOBRZ", wo = "ControlSlider-module__paginationInsideRight___Rtt3o", vo = "ControlSlider-module__paginationOutsideLeft___lahaw", So = "ControlSlider-module__paginationOutsideRight___EtuQa", Io = "ControlSlider-module__imgWrapper___UjEgB", Ao = "ControlSlider-module__captionBlock___dJ6-j", yo = "ControlSlider-module__captionTextWrapper___HFlpf", Ro = "ControlSlider-module__captionText___uGBVc", bo = "ControlSlider-module__active___WZK4G", Lo = "ControlSlider-module__withPointerEvents___t-18M", ko = "ControlSlider-module__topLeftAlignment___zjnGM", xo = "ControlSlider-module__topCenterAlignment___gD1xW", Oo = "ControlSlider-module__topRightAlignment___NMapS", No = "ControlSlider-module__middleLeftAlignment___OnUrY", To = "ControlSlider-module__middleCenterAlignment___Tdkl0", zo = "ControlSlider-module__middleRightAlignment___wEbfX", Bo = "ControlSlider-module__bottomLeftAlignment___cTP2-", Vo = "ControlSlider-module__bottomCenterAlignment___c54fB", Wo = "ControlSlider-module__bottomRightAlignment___kEwrz", Fo = "ControlSlider-module__clickOverlay___DZA28", Do = "ControlSlider-module__contain___pLyq7", $o = "ControlSlider-module__cover___KdDat", o = {
|
|
11
|
+
wrapper: G,
|
|
12
|
+
hoverArrow: J,
|
|
13
|
+
sliderItem: X,
|
|
14
|
+
sliderImage: E,
|
|
15
|
+
arrow: oo,
|
|
16
|
+
arrowVertical: to,
|
|
17
|
+
nextArrow: eo,
|
|
18
|
+
arrowInner: no,
|
|
19
|
+
arrowIcon: io,
|
|
20
|
+
arrowImg: ro,
|
|
21
|
+
mirror: lo,
|
|
22
|
+
pagination: ao,
|
|
23
|
+
paginationInner: so,
|
|
24
|
+
paginationVertical: co,
|
|
25
|
+
paginationItem: mo,
|
|
26
|
+
dot: _o,
|
|
27
|
+
activeDot: go,
|
|
28
|
+
paginationInsideBottom: po,
|
|
29
|
+
paginationInsideTop: ho,
|
|
30
|
+
paginationOutsideBottom: uo,
|
|
31
|
+
paginationOutsideTop: fo,
|
|
32
|
+
paginationInsideLeft: Co,
|
|
33
|
+
paginationInsideRight: wo,
|
|
34
|
+
paginationOutsideLeft: vo,
|
|
35
|
+
paginationOutsideRight: So,
|
|
36
|
+
imgWrapper: Io,
|
|
37
|
+
captionBlock: Ao,
|
|
38
|
+
captionTextWrapper: yo,
|
|
39
|
+
captionText: Ro,
|
|
40
|
+
active: bo,
|
|
41
|
+
withPointerEvents: Lo,
|
|
42
|
+
topLeftAlignment: ko,
|
|
43
|
+
topCenterAlignment: xo,
|
|
44
|
+
topRightAlignment: Oo,
|
|
45
|
+
middleLeftAlignment: No,
|
|
46
|
+
middleCenterAlignment: To,
|
|
47
|
+
middleRightAlignment: zo,
|
|
48
|
+
bottomLeftAlignment: Bo,
|
|
49
|
+
bottomCenterAlignment: Vo,
|
|
50
|
+
bottomRightAlignment: Wo,
|
|
51
|
+
clickOverlay: Fo,
|
|
52
|
+
contain: Do,
|
|
53
|
+
cover: $o
|
|
54
|
+
}, Po = {
|
|
55
|
+
"top-left": o.topLeftAlignment,
|
|
56
|
+
"top-center": o.topCenterAlignment,
|
|
57
|
+
"top-right": o.topRightAlignment,
|
|
58
|
+
"middle-left": o.middleLeftAlignment,
|
|
59
|
+
"middle-center": o.middleCenterAlignment,
|
|
60
|
+
"middle-right": o.middleRightAlignment,
|
|
61
|
+
"bottom-left": o.bottomLeftAlignment,
|
|
62
|
+
"bottom-center": o.bottomCenterAlignment,
|
|
63
|
+
"bottom-right": o.bottomRightAlignment
|
|
64
|
+
};
|
|
65
|
+
function Go({ settings: g, content: p, styles: z, isEditor: l }) {
|
|
66
|
+
const [m, B] = f(null), { widthSettings: A, fontSettings: S, letterSpacing: V, textAlign: W, wordSpacing: F, fontSizeLineHeight: y, textAppearance: I, color: D } = z.imageCaption ?? {}, [_, $] = f(void 0), [C, P] = f(null), [w, U] = f(0), [j, H] = f(0), { direction: n, transition: a, controls: e, pagination: i, imageCaption: h, triggers: u } = g, R = Y(a.type), { x: b, y: L } = g.controls.offset, k = (r) => {
|
|
67
|
+
m && m.go(r);
|
|
68
|
+
};
|
|
69
|
+
return O(() => {
|
|
70
|
+
if (!C) return;
|
|
71
|
+
const r = new ResizeObserver((d) => {
|
|
72
|
+
if (!m) return;
|
|
73
|
+
const [x] = d;
|
|
74
|
+
$({
|
|
75
|
+
width: Math.round(x.contentRect.width),
|
|
76
|
+
height: Math.round(x.contentRect.height)
|
|
77
|
+
});
|
|
78
|
+
});
|
|
79
|
+
return r.observe(C), () => r.unobserve(C);
|
|
80
|
+
}, [C]), O(() => {
|
|
81
|
+
!m || R.current === a.type || (H((r) => r + 1), R.current = a.type);
|
|
82
|
+
}, [a.type]), /* @__PURE__ */ t("div", { className: c(o.wrapper, { [o.editor]: l }), ref: P, children: /* @__PURE__ */ v(
|
|
83
|
+
"div",
|
|
84
|
+
{
|
|
85
|
+
className: o.sliderInner,
|
|
86
|
+
style: {
|
|
87
|
+
width: _ ? _.width : "100%",
|
|
88
|
+
height: _ ? _.height : "100%",
|
|
89
|
+
backgroundColor: a.backgroundColor && a.type === "fade in" ? a.backgroundColor : "transparent"
|
|
90
|
+
},
|
|
91
|
+
children: [
|
|
92
|
+
g.imageCaption.isActive && /* @__PURE__ */ t(
|
|
93
|
+
"div",
|
|
94
|
+
{
|
|
95
|
+
className: c(o.captionBlock),
|
|
96
|
+
children: /* @__PURE__ */ t(
|
|
97
|
+
"div",
|
|
98
|
+
{
|
|
99
|
+
className: o.captionTextWrapper,
|
|
100
|
+
children: p.map((r, d) => /* @__PURE__ */ t(
|
|
101
|
+
"div",
|
|
102
|
+
{
|
|
103
|
+
className: c(o.captionText, Po[h.alignment], {
|
|
104
|
+
[o.withPointerEvents]: d === w && l,
|
|
105
|
+
[o.active]: d === w
|
|
106
|
+
}),
|
|
107
|
+
style: {
|
|
108
|
+
fontFamily: Z(S.fontFamily),
|
|
109
|
+
fontWeight: S.fontWeight,
|
|
110
|
+
fontStyle: S.fontStyle,
|
|
111
|
+
width: A.sizing === "auto" ? "max-content" : s(A.width, l),
|
|
112
|
+
letterSpacing: s(V, l),
|
|
113
|
+
wordSpacing: s(F, l),
|
|
114
|
+
textAlign: W,
|
|
115
|
+
fontSize: s(y.fontSize, l),
|
|
116
|
+
lineHeight: s(y.lineHeight, l),
|
|
117
|
+
textTransform: I.textTransform ?? "none",
|
|
118
|
+
textDecoration: I.textDecoration ?? "none",
|
|
119
|
+
fontVariant: I.fontVariant ?? "normal",
|
|
120
|
+
color: D,
|
|
121
|
+
transitionDuration: a.duration ? `${Math.round(parseInt(a.duration) / 2)}ms` : "500ms"
|
|
122
|
+
},
|
|
123
|
+
children: /* @__PURE__ */ t(
|
|
124
|
+
"div",
|
|
125
|
+
{
|
|
126
|
+
"data-styles": "imageCaption",
|
|
127
|
+
className: o.captionTextInner,
|
|
128
|
+
style: {
|
|
129
|
+
"--link-hover-color": h.linkHoverColor,
|
|
130
|
+
"--link-color": h.linkColor,
|
|
131
|
+
position: "relative",
|
|
132
|
+
top: s(h.offset.y, l),
|
|
133
|
+
left: s(h.offset.x, l)
|
|
134
|
+
},
|
|
135
|
+
children: /* @__PURE__ */ t(Q, { content: r.imageCaption })
|
|
136
|
+
}
|
|
137
|
+
)
|
|
138
|
+
},
|
|
139
|
+
d
|
|
140
|
+
))
|
|
141
|
+
}
|
|
142
|
+
)
|
|
143
|
+
}
|
|
144
|
+
),
|
|
145
|
+
/* @__PURE__ */ t(
|
|
146
|
+
q,
|
|
147
|
+
{
|
|
148
|
+
onMove: (r) => {
|
|
149
|
+
U(r.index);
|
|
150
|
+
},
|
|
151
|
+
ref: B,
|
|
152
|
+
options: {
|
|
153
|
+
arrows: !1,
|
|
154
|
+
speed: a.duration ? parseInt(a.duration) : 500,
|
|
155
|
+
autoplay: u.autoPlay !== null,
|
|
156
|
+
...u.autoPlay !== null && {
|
|
157
|
+
interval: parseInt(u.autoPlay) * 1e3
|
|
158
|
+
},
|
|
159
|
+
direction: n === "horiz" || a.type === "fade in" ? "ltr" : "ttb",
|
|
160
|
+
pagination: !1,
|
|
161
|
+
drag: u.triggersList.drag,
|
|
162
|
+
perPage: 1,
|
|
163
|
+
width: _ ? _.width : "100%",
|
|
164
|
+
height: _ ? _.height : "100%",
|
|
165
|
+
type: a.type === "fade in" ? "fade" : "loop",
|
|
166
|
+
rewind: !0
|
|
167
|
+
},
|
|
168
|
+
children: p.map((r, d) => /* @__PURE__ */ t(K, { children: /* @__PURE__ */ t(
|
|
169
|
+
"div",
|
|
170
|
+
{
|
|
171
|
+
className: o.sliderItem,
|
|
172
|
+
children: /* @__PURE__ */ t(
|
|
173
|
+
"div",
|
|
174
|
+
{
|
|
175
|
+
className: o.imgWrapper,
|
|
176
|
+
children: /* @__PURE__ */ t(
|
|
177
|
+
"img",
|
|
178
|
+
{
|
|
179
|
+
className: c(o.sliderImage, {
|
|
180
|
+
[o.contain]: r.image.objectFit === "contain",
|
|
181
|
+
[o.cover]: r.image.objectFit === "cover"
|
|
182
|
+
}),
|
|
183
|
+
src: r.image.assetId,
|
|
184
|
+
alt: r.image.name ?? ""
|
|
185
|
+
}
|
|
186
|
+
)
|
|
187
|
+
}
|
|
188
|
+
)
|
|
189
|
+
}
|
|
190
|
+
) }, d))
|
|
191
|
+
},
|
|
192
|
+
j
|
|
193
|
+
),
|
|
194
|
+
e.isActive && /* @__PURE__ */ v(M, { children: [
|
|
195
|
+
/* @__PURE__ */ t(
|
|
196
|
+
"div",
|
|
197
|
+
{
|
|
198
|
+
className: c(o.arrow, {
|
|
199
|
+
[o.arrowVertical]: n === "vert",
|
|
200
|
+
[o.hoverArrow]: e.show === "on hover"
|
|
201
|
+
}),
|
|
202
|
+
style: {
|
|
203
|
+
color: e.color,
|
|
204
|
+
"--arrow-hover-color": e.hover
|
|
205
|
+
},
|
|
206
|
+
children: /* @__PURE__ */ v(
|
|
207
|
+
"button",
|
|
208
|
+
{
|
|
209
|
+
onClick: () => {
|
|
210
|
+
k("-1");
|
|
211
|
+
},
|
|
212
|
+
className: o.arrowInner,
|
|
213
|
+
style: {
|
|
214
|
+
transform: `translate(${s(b, l)}, ${s(L * (n === "horiz" ? 1 : -1), l)}) scale(${g.controls.scale / 100}) rotate(${n === "horiz" ? "0deg" : "90deg"})`
|
|
215
|
+
},
|
|
216
|
+
children: [
|
|
217
|
+
e.arrowsImgUrl && /* @__PURE__ */ t(
|
|
218
|
+
N,
|
|
219
|
+
{
|
|
220
|
+
url: e.arrowsImgUrl,
|
|
221
|
+
fill: e.color,
|
|
222
|
+
hoverFill: e.hover,
|
|
223
|
+
className: c(o.arrowImg, o.mirror)
|
|
224
|
+
}
|
|
225
|
+
),
|
|
226
|
+
!e.arrowsImgUrl && /* @__PURE__ */ t(T, { color: e.color, className: c(o.arrowIcon, o.arrowImg, o.mirror) })
|
|
227
|
+
]
|
|
228
|
+
}
|
|
229
|
+
)
|
|
230
|
+
}
|
|
231
|
+
),
|
|
232
|
+
/* @__PURE__ */ t(
|
|
233
|
+
"div",
|
|
234
|
+
{
|
|
235
|
+
className: c(o.arrow, o.nextArrow, {
|
|
236
|
+
[o.arrowVertical]: n === "vert",
|
|
237
|
+
[o.hoverArrow]: e.show === "on hover"
|
|
238
|
+
}),
|
|
239
|
+
style: {
|
|
240
|
+
color: e.color,
|
|
241
|
+
"--arrow-hover-color": e.hover
|
|
242
|
+
},
|
|
243
|
+
children: /* @__PURE__ */ v(
|
|
244
|
+
"button",
|
|
245
|
+
{
|
|
246
|
+
className: o.arrowInner,
|
|
247
|
+
onClick: () => k("+1"),
|
|
248
|
+
style: {
|
|
249
|
+
transform: `translate(${s(b * (n === "horiz" ? -1 : 1), l)}, ${s(L, l)}) scale(${g.controls.scale / 100}) rotate(${n === "horiz" ? "0deg" : "90deg"})`
|
|
250
|
+
},
|
|
251
|
+
children: [
|
|
252
|
+
e.arrowsImgUrl && /* @__PURE__ */ t(
|
|
253
|
+
N,
|
|
254
|
+
{
|
|
255
|
+
url: e.arrowsImgUrl,
|
|
256
|
+
fill: e.color,
|
|
257
|
+
hoverFill: e.hover,
|
|
258
|
+
className: o.arrowImg
|
|
259
|
+
}
|
|
260
|
+
),
|
|
261
|
+
!e.arrowsImgUrl && /* @__PURE__ */ t(T, { color: e.color, className: c(o.arrowIcon, o.arrowImg) })
|
|
262
|
+
]
|
|
263
|
+
}
|
|
264
|
+
)
|
|
265
|
+
}
|
|
266
|
+
)
|
|
267
|
+
] }),
|
|
268
|
+
u.triggersList.click && /* @__PURE__ */ t(
|
|
269
|
+
"div",
|
|
270
|
+
{
|
|
271
|
+
className: o.clickOverlay,
|
|
272
|
+
onClick: () => {
|
|
273
|
+
m && m.go("+1");
|
|
274
|
+
}
|
|
275
|
+
}
|
|
276
|
+
),
|
|
277
|
+
i.isActive && /* @__PURE__ */ t(
|
|
278
|
+
"div",
|
|
279
|
+
{
|
|
280
|
+
className: c(o.pagination, {
|
|
281
|
+
[o.paginationInsideBottom]: i.position === "inside-1" && n === "horiz",
|
|
282
|
+
[o.paginationInsideTop]: i.position === "inside-2" && n === "horiz",
|
|
283
|
+
[o.paginationOutsideBottom]: i.position === "outside-1" && n === "horiz",
|
|
284
|
+
[o.paginationOutsideTop]: i.position === "outside-2" && n === "horiz",
|
|
285
|
+
[o.paginationInsideLeft]: i.position === "inside-1" && n === "vert",
|
|
286
|
+
[o.paginationInsideRight]: i.position === "inside-2" && n === "vert",
|
|
287
|
+
[o.paginationOutsideLeft]: i.position === "outside-1" && n === "vert",
|
|
288
|
+
[o.paginationOutsideRight]: i.position === "outside-2" && n === "vert",
|
|
289
|
+
[o.paginationVertical]: n === "vert"
|
|
290
|
+
}),
|
|
291
|
+
children: /* @__PURE__ */ t(
|
|
292
|
+
"div",
|
|
293
|
+
{
|
|
294
|
+
className: o.paginationInner,
|
|
295
|
+
style: {
|
|
296
|
+
backgroundColor: i.colors[2],
|
|
297
|
+
transform: `scale(${i.scale / 100}) translate(${s(i.offset.x, l)}, ${s(i.offset.y, l)}) rotate(${n === "horiz" ? "0deg" : "90deg"})`
|
|
298
|
+
},
|
|
299
|
+
children: p.map((r, d) => /* @__PURE__ */ t(
|
|
300
|
+
"button",
|
|
301
|
+
{
|
|
302
|
+
onClick: () => {
|
|
303
|
+
m && m.go(d);
|
|
304
|
+
},
|
|
305
|
+
className: c(o.paginationItem),
|
|
306
|
+
children: /* @__PURE__ */ t(
|
|
307
|
+
"div",
|
|
308
|
+
{
|
|
309
|
+
className: c(o.dot, {
|
|
310
|
+
[o.activeDot]: d === w
|
|
311
|
+
}),
|
|
312
|
+
style: {
|
|
313
|
+
backgroundColor: d === w ? i.colors[0] : i.colors[1],
|
|
314
|
+
"--pagination-hover-color": i.hover
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
)
|
|
318
|
+
},
|
|
319
|
+
d
|
|
320
|
+
))
|
|
321
|
+
}
|
|
322
|
+
)
|
|
323
|
+
}
|
|
324
|
+
)
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
) });
|
|
328
|
+
}
|
|
329
|
+
function T({ color: g, className: p }) {
|
|
330
|
+
return /* @__PURE__ */ t("svg", { viewBox: "0 0 10 18", className: p, children: /* @__PURE__ */ t("g", { id: "Symbols", stroke: "none", strokeWidth: "1", fillRule: "evenodd", children: /* @__PURE__ */ t("path", { d: "M-3.70710678,4.29289322 C-3.34662282,3.93240926 -2.77939176,3.90467972 -2.38710056,4.20970461 L-2.29289322,4.29289322 L5,11.585 L12.2928932,4.29289322 C12.6533772,3.93240926 13.2206082,3.90467972 13.6128994,4.20970461 L13.7071068,4.29289322 C14.0675907,4.65337718 14.0953203,5.22060824 13.7902954,5.61289944 L13.7071068,5.70710678 L5.70710678,13.7071068 C5.34662282,14.0675907 4.77939176,14.0953203 4.38710056,13.7902954 L4.29289322,13.7071068 L-3.70710678,5.70710678 C-4.09763107,5.31658249 -4.09763107,4.68341751 -3.70710678,4.29289322 Z", id: "Shape-Copy", fill: g, transform: "translate(5, 9) rotate(-90) translate(-5, -9)" }) }) });
|
|
331
|
+
}
|
|
332
|
+
export {
|
|
333
|
+
Go as ControlSlider
|
|
334
|
+
};
|
|
@@ -0,0 +1,166 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),m=require("react"),G=require("classnames"),p=require("./scalingValue-CSHYgTZl.js"),Kt=require("./buildColorVars-CE2D5cQV.js"),Yt=require("./useScopedStyles-Bf6yohVQ.js"),w=require("./textStylesToCss-CNN3zZTV.js"),Zt=require("./SvgImage-DFlmxAoL.js"),Jt=require("./RichTextRenderer-CIy6yI8U.js"),K=300,h=.004,Ut={questionColor:"question-color",answerColor:"answer-color",dividerColor:"divider-color",iconColor:"icon-color",questionHoverColor:"question-hover-color",iconHoverColor:"icon-hover-color",iconActiveColor:"icon-active-color",dividerHoverColor:"divider-hover-color"},Xt=["hover","focus","filled","success","error"];function Et(t){return`calc(var(--cntrl-article-width, 100vw) * ${t/1440})`}function Y(t,r,n,s){return r!==void 0&&r<(t??.01)?`${n} ${s}`:n}function Z(t,r,n,s){const l=t??.01;return r===void 0||r>=l?{}:{[`--${n}-text-leading-gap`]:p.scalingValue((l-r)/2,s)}}function Pt(t){return`
|
|
2
|
+
.${t}-wrapper {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
display: flex;
|
|
5
|
+
flex-direction: column;
|
|
6
|
+
}
|
|
7
|
+
.${t}-item {
|
|
8
|
+
display: flex;
|
|
9
|
+
flex-direction: column;
|
|
10
|
+
position: relative;
|
|
11
|
+
border-bottom-width: var(--${t}-divider-width);
|
|
12
|
+
border-bottom-style: var(--${t}-divider-style);
|
|
13
|
+
border-bottom-color: var(--${t}-divider-color);
|
|
14
|
+
}
|
|
15
|
+
.${t}-item:first-child {
|
|
16
|
+
border-top-width: var(--${t}-divider-width);
|
|
17
|
+
border-top-style: var(--${t}-divider-style);
|
|
18
|
+
border-top-color: var(--${t}-divider-color);
|
|
19
|
+
}
|
|
20
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item {
|
|
21
|
+
transition: border-color 250ms;
|
|
22
|
+
}
|
|
23
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-question-button {
|
|
24
|
+
transition: color 250ms;
|
|
25
|
+
}
|
|
26
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item:not(.${t}-item-open):hover,
|
|
27
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item:has(+ .${t}-item:not(.${t}-item-open):hover),
|
|
28
|
+
.${t}-wrapper.${t}-entry-hover-default.${t}-state-hover .${t}-item:not(.${t}-item-open) {
|
|
29
|
+
border-bottom-color: var(--${t}-divider-hover-color, var(--${t}-divider-color));
|
|
30
|
+
}
|
|
31
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item:not(.${t}-item-open):hover:first-child,
|
|
32
|
+
.${t}-wrapper.${t}-entry-hover-default.${t}-state-hover .${t}-item:not(.${t}-item-open):first-child {
|
|
33
|
+
border-top-color: var(--${t}-divider-hover-color, var(--${t}-divider-color));
|
|
34
|
+
}
|
|
35
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item:not(.${t}-item-open):hover .${t}-question-button,
|
|
36
|
+
.${t}-wrapper.${t}-entry-hover-default.${t}-state-hover .${t}-item:not(.${t}-item-open) .${t}-question-button {
|
|
37
|
+
color: var(--${t}-question-hover-color, var(--${t}-question-color));
|
|
38
|
+
}
|
|
39
|
+
.${t}-question-button {
|
|
40
|
+
display: flex;
|
|
41
|
+
flex-direction: column;
|
|
42
|
+
align-items: stretch;
|
|
43
|
+
width: 100%;
|
|
44
|
+
margin: 0;
|
|
45
|
+
border: none;
|
|
46
|
+
background: none;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
text-align: left;
|
|
49
|
+
color: var(--${t}-question-color);
|
|
50
|
+
font: inherit;
|
|
51
|
+
padding-left: 0;
|
|
52
|
+
outline: none;
|
|
53
|
+
-webkit-tap-highlight-color: transparent;
|
|
54
|
+
}
|
|
55
|
+
.${t}-question-button:focus,
|
|
56
|
+
.${t}-question-button:focus-visible {
|
|
57
|
+
outline: none;
|
|
58
|
+
}
|
|
59
|
+
.${t}-question-row {
|
|
60
|
+
display: flex;
|
|
61
|
+
align-items: center;
|
|
62
|
+
justify-content: space-between;
|
|
63
|
+
gap: ${Et(20)};
|
|
64
|
+
width: 100%;
|
|
65
|
+
min-width: 0;
|
|
66
|
+
min-height: var(--${t}-question-min-height, unset);
|
|
67
|
+
}
|
|
68
|
+
.${t}-editor .${t}-question-button {
|
|
69
|
+
cursor: default;
|
|
70
|
+
}
|
|
71
|
+
.${t}-question {
|
|
72
|
+
margin: 0;
|
|
73
|
+
flex: 1;
|
|
74
|
+
min-width: 0;
|
|
75
|
+
color: inherit;
|
|
76
|
+
white-space: pre-wrap;
|
|
77
|
+
overflow-wrap: anywhere;
|
|
78
|
+
word-break: break-word;
|
|
79
|
+
}
|
|
80
|
+
.${t}-text-tight-leading {
|
|
81
|
+
display: block;
|
|
82
|
+
flex-shrink: 0;
|
|
83
|
+
padding-top: var(--${t}-text-leading-gap, 0);
|
|
84
|
+
padding-bottom: var(--${t}-text-leading-gap, 0);
|
|
85
|
+
}
|
|
86
|
+
.${t}-icon {
|
|
87
|
+
flex-shrink: 0;
|
|
88
|
+
width: var(--${t}-icon-max-width);
|
|
89
|
+
height: var(--${t}-icon-max-width);
|
|
90
|
+
position: relative;
|
|
91
|
+
transition: transform ${K}ms ease;
|
|
92
|
+
}
|
|
93
|
+
.${t}-icon-custom {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
}
|
|
98
|
+
.${t}-icon-image {
|
|
99
|
+
position: absolute;
|
|
100
|
+
top: 50%;
|
|
101
|
+
left: 50%;
|
|
102
|
+
transform: translate(-50%, -50%);
|
|
103
|
+
width: 100%;
|
|
104
|
+
height: 100%;
|
|
105
|
+
transition: background-color 250ms;
|
|
106
|
+
}
|
|
107
|
+
.${t}-wrapper.${t}-entry-hover-default .${t}-item:not(.${t}-item-open):hover .${t}-icon-image,
|
|
108
|
+
.${t}-wrapper.${t}-entry-hover-default.${t}-state-hover .${t}-item:not(.${t}-item-open) .${t}-icon-image {
|
|
109
|
+
--fill: var(--${t}-icon-hover-color, var(--${t}-icon-color)) !important;
|
|
110
|
+
--hover-fill: var(--${t}-icon-hover-color, var(--${t}-icon-color)) !important;
|
|
111
|
+
}
|
|
112
|
+
.${t}-item-open .${t}-icon-image {
|
|
113
|
+
--fill: var(--${t}-icon-active-color, var(--${t}-icon-color)) !important;
|
|
114
|
+
--hover-fill: var(--${t}-icon-active-color, var(--${t}-icon-color)) !important;
|
|
115
|
+
}
|
|
116
|
+
.${t}-item-open .${t}-icon-anim-45 {
|
|
117
|
+
transform: rotate(45deg);
|
|
118
|
+
}
|
|
119
|
+
.${t}-item-open .${t}-icon-anim-90 {
|
|
120
|
+
transform: rotate(90deg);
|
|
121
|
+
}
|
|
122
|
+
.${t}-item-open .${t}-icon-anim-180 {
|
|
123
|
+
transform: rotate(180deg);
|
|
124
|
+
}
|
|
125
|
+
.${t}-panel {
|
|
126
|
+
display: grid;
|
|
127
|
+
grid-template-rows: 0fr;
|
|
128
|
+
transition: grid-template-rows ${K}ms ease;
|
|
129
|
+
}
|
|
130
|
+
.${t}-item-open .${t}-panel {
|
|
131
|
+
grid-template-rows: 1fr;
|
|
132
|
+
}
|
|
133
|
+
.${t}-panel-inner {
|
|
134
|
+
overflow: hidden;
|
|
135
|
+
min-height: 0;
|
|
136
|
+
}
|
|
137
|
+
.${t}-answer {
|
|
138
|
+
color: var(--${t}-answer-color);
|
|
139
|
+
}
|
|
140
|
+
.${t}-answer-text {
|
|
141
|
+
margin: 0;
|
|
142
|
+
color: inherit;
|
|
143
|
+
white-space: pre-wrap;
|
|
144
|
+
overflow-wrap: anywhere;
|
|
145
|
+
word-break: break-word;
|
|
146
|
+
}
|
|
147
|
+
.${t}-answer-text a {
|
|
148
|
+
color: inherit;
|
|
149
|
+
text-decoration: underline;
|
|
150
|
+
text-underline-offset: 0.1em;
|
|
151
|
+
}
|
|
152
|
+
.${t}-padding-handle {
|
|
153
|
+
width: 100%;
|
|
154
|
+
flex-shrink: 0;
|
|
155
|
+
background: transparent;
|
|
156
|
+
}
|
|
157
|
+
.${t}-question-controls,
|
|
158
|
+
.${t}-answer-controls {
|
|
159
|
+
position: relative;
|
|
160
|
+
}
|
|
161
|
+
.${t}-control-anchor {
|
|
162
|
+
position: absolute;
|
|
163
|
+
pointer-events: none;
|
|
164
|
+
z-index: 2;
|
|
165
|
+
}
|
|
166
|
+
`}function J(t,r,n,s,l,g,e,y){return{fontSettings:{fontFamily:t,fontWeight:(r==null?void 0:r.fontWeight)??400,fontStyle:(r==null?void 0:r.fontStyle)??"normal"},fontSize:n??.01,lineHeight:s,letterSpacing:l??0,wordSpacing:g??0,textAppearance:e,color:y??"#000000"}}function te({settings:t,content:r,isEditor:n,isPreviewMode:s,isEditMode:l,activeEvent:g}){const{prefix:e}=Yt.useScopedStyles(),y=l??!1,{wrapperWidth:$=1,cellMinHeight:W=0,dividerWidth:U=694e-6,dividerStyle:X="solid",entryHoverEffect:E="default",autoclose:q="off",icon:P,iconMaxWidth:b=.00833,iconPaddingRight:S=0,iconAnimation:tt="rotate 45",questionColor:z="#000000",answerColor:_="#000000",dividerColor:et="#0000001F",iconColor:ot="#000000",questionHoverColor:nt="#666666",iconHoverColor:at="#666666",iconActiveColor:rt="#000000",dividerHoverColor:it="#000000",questionFontFamily:st,questionFontSettings:lt,questionFontSize:C,questionLineHeight:j,questionLetterSpacing:ct,questionWordSpacing:dt,questionTextAppearance:ht,answerFontFamily:mt,answerFontSettings:gt,answerFontSize:N,answerLineHeight:T,answerLetterSpacing:pt,answerWordSpacing:$t,answerTextAppearance:ut,questionPaddingLeft:L=0,questionPaddingTop:F=0,questionPaddingBottom:M=0,answerPaddingLeft:R=0,answerPaddingRight:A=0,answerPaddingTop:k=0,answerPaddingBottom:V=0}=t,vt=r??[],[u,H]=m.useState(()=>new Set),I=!n||s;m.useEffect(()=>{H(new Set)},[q]),m.useEffect(()=>{n&&!l&&!s&&H(new Set)},[n,l,s]);const a=i=>p.scalingValue(i,n??!1),xt=Math.max(L,h),ft=Math.max(F,h),wt=Math.max(M,h),yt=Math.max(R,h),qt=Math.max(A,h),bt=Math.max(k,h),St=Math.max(V,h),Ct=Math.max(0,($??1)-S-b),jt=Math.max(0,($??1)-A),Nt=Math.max(0,($??1)-R),Tt=Math.max(S,h),Lt=Math.max(0,($??1)-L-b),Ft=m.useMemo(()=>u.size===0?0:Math.min(...u),[u]),Mt=m.useCallback(i=>u.has(i),[u]),Rt=I&&E==="default"?`${e}-entry-hover-default`:"",B=P??"",At=B!=="",kt=tt.replace(/^rotate /,""),O=`${e}-icon-anim-${kt}`,Vt=w.omitTextColors(w.textStylesToCss(J(st,lt,C,j,ct,dt,ht,z),n)),Ht=w.omitTextColors(w.textStylesToCss(J(mt,gt,N,T,pt,$t,ut,_),n)),It=Y(C,j,`${e}-question`,`${e}-text-tight-leading`),Wt=Y(N,T,`${e}-answer-text`,`${e}-text-tight-leading`),zt=Z(C,j,e,n),_t=Z(N,T,e,n),Bt=Kt.buildColorVars(e,{questionColor:z,answerColor:_,dividerColor:et,iconColor:ot,questionHoverColor:nt,iconHoverColor:at,iconActiveColor:rt,dividerHoverColor:it},Ut,Xt),Ot=g&&g!=="default"?`${e}-state-${g}`:"",Dt=m.useCallback(i=>{I&&H(c=>{if(c.has(i)){const x=new Set(c);return x.delete(i),x}if(q==="on")return new Set([i]);const d=new Set(c);return d.add(i),d})},[I,q]),Qt=m.useMemo(()=>Pt(e),[e]),Gt={[`--${e}-divider-width`]:p.scalingValue(U,n??!1),[`--${e}-divider-style`]:X,[`--${e}-icon-max-width`]:p.scalingValue(b,n??!1),...W>0?{[`--${e}-question-min-height`]:p.scalingValue(W,n??!1)}:{}};return o.jsxs(o.Fragment,{children:[o.jsx("style",{dangerouslySetInnerHTML:{__html:Qt}}),o.jsx("div",{style:Bt,children:o.jsx("div",{className:G(`${e}-wrapper`,n&&!s&&`${e}-editor`,Rt,Ot),style:{width:p.scalingValue($,n??!1),maxWidth:"100%",...Gt},children:vt.map((i,c)=>{var Q;const d=Mt(c),x=((Q=i.question)==null?void 0:Q.trim())??"",v=i.answer,D=((v==null?void 0:v.length)??0)>0,f=y&&c===Ft;return o.jsxs("div",{className:G(`${e}-item`,d&&`${e}-item-open`),"data-faq-item":"",children:[o.jsxs("div",{className:`${e}-question-controls`,children:[f&&o.jsxs(o.Fragment,{children:[o.jsx("div",{"data-controls":"questionPaddingTop","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-center-only-drag":"","data-controls-hit-placement":"left-y",className:`${e}-control-anchor`,style:{top:0,left:0,width:"100%",height:a(ft)}}),o.jsx("div",{"data-controls":"questionPaddingLeft","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-min":"0","data-controls-max-fraction":String(Ct),"data-controls-center-only-drag":"","data-controls-hit-placement":"center-x",className:`${e}-control-anchor`,style:{top:0,left:0,width:a(xt),height:"100%"}}),o.jsx("div",{"data-controls":"iconPaddingRight","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(Lt),"data-controls-center-only-drag":"","data-controls-hit-placement":"center-x",className:`${e}-control-anchor`,style:{top:0,right:0,width:a(Tt),height:"100%"}})]}),o.jsxs("button",{type:"button",className:`${e}-question-button`,"aria-expanded":d,style:{...Vt,...zt,paddingLeft:a(L),paddingRight:a(S)},onClick:()=>Dt(c),children:[F>0&&o.jsx("span",{className:`${e}-padding-handle`,style:{height:a(F)},"aria-hidden":"true"}),o.jsxs("span",{className:`${e}-question-row`,children:[o.jsx("span",{className:It,children:x}),D&&(At?o.jsx("span",{className:`${e}-icon ${e}-icon-custom ${O}`,"aria-hidden":"true",children:o.jsx(Zt.SvgImage,{url:B,fill:`var(--${e}-icon-color)`,hoverFill:`var(--${e}-icon-hover-color, var(--${e}-icon-color))`,className:`${e}-icon-image`})}):o.jsx("span",{className:`${e}-icon ${e}-icon-default ${O}`,"aria-hidden":"true"}))]}),M>0&&o.jsx("span",{className:`${e}-padding-handle`,style:{height:a(M)},"aria-hidden":"true"})]}),f&&o.jsx("div",{"data-controls":"questionPaddingBottom","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-center-only-drag":"","data-controls-hit-placement":"left-y",className:`${e}-control-anchor`,style:{bottom:0,left:0,width:"100%",height:a(wt)}})]}),D&&v&&o.jsx("div",{className:`${e}-panel`,"aria-hidden":!d,children:o.jsx("div",{className:`${e}-panel-inner`,children:o.jsxs("div",{className:`${e}-answer-controls`,children:[f&&d&&o.jsxs(o.Fragment,{children:[o.jsx("div",{"data-controls":"answerPaddingTop","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-center-only-drag":"","data-controls-hit-placement":"left-y",className:`${e}-control-anchor`,style:{top:0,left:0,width:"100%",height:a(bt)}}),o.jsx("div",{"data-controls":"answerPaddingLeft","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-min":"0","data-controls-max-fraction":String(jt),"data-controls-center-only-drag":"","data-controls-hit-placement":"center-x",className:`${e}-control-anchor`,style:{top:0,left:0,width:a(yt),height:"100%"}}),o.jsx("div",{"data-controls":"answerPaddingRight","data-controls-axis":"x","data-controls-variant":"column-padding","data-controls-reverse":"","data-controls-min":"0","data-controls-max-fraction":String(Nt),"data-controls-center-only-drag":"","data-controls-hit-placement":"center-x",className:`${e}-control-anchor`,style:{top:0,right:0,width:a(qt),height:"100%"}})]}),k>0&&o.jsx("div",{className:`${e}-padding-handle`,style:{height:a(k)}}),o.jsx("div",{className:`${e}-answer`,style:{...Ht,..._t,paddingLeft:a(R),paddingRight:a(A)},children:o.jsx("div",{className:Wt,children:o.jsx(Jt.RichTextRenderer,{content:v})})}),V>0&&o.jsx("div",{className:`${e}-padding-handle`,style:{height:a(V)}}),f&&d&&o.jsx("div",{"data-controls":"answerPaddingBottom","data-controls-axis":"y","data-controls-variant":"row-padding","data-controls-min":"0","data-controls-center-only-drag":"","data-controls-hit-placement":"left-y",className:`${e}-control-anchor`,style:{bottom:0,left:0,width:"100%",height:a(St)}})]})})})]},c)})})})]})}exports.FAQ=te;
|