@wix/system-core-components 1.3.1

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 (102) hide show
  1. package/README.md +38 -0
  2. package/dist/bundles/debug/es/system-core-components.mjs +3679 -0
  3. package/dist/bundles/debug/es/system-core-components.mjs.map +1 -0
  4. package/dist/bundles/debug/style.css +1 -0
  5. package/dist/bundles/debug/umd/system-core-components.js +3680 -0
  6. package/dist/bundles/debug/umd/system-core-components.js.map +1 -0
  7. package/dist/bundles/es/system-core-components.mjs +3579 -0
  8. package/dist/bundles/es/system-core-components.mjs.map +1 -0
  9. package/dist/bundles/style.css +1 -0
  10. package/dist/bundles/umd/system-core-components.js +2 -0
  11. package/dist/bundles/umd/system-core-components.js.map +1 -0
  12. package/dist/esm/Anchor.d.ts +2 -0
  13. package/dist/esm/Anchor.js +5 -0
  14. package/dist/esm/Anchor.js.map +1 -0
  15. package/dist/esm/FooterContainer_TransparentScreen.d.ts +4 -0
  16. package/dist/esm/FooterContainer_TransparentScreen.js +6 -0
  17. package/dist/esm/FooterContainer_TransparentScreen.js.map +1 -0
  18. package/dist/esm/FooterSection.d.ts +4 -0
  19. package/dist/esm/FooterSection.js +6 -0
  20. package/dist/esm/FooterSection.js.map +1 -0
  21. package/dist/esm/HeaderContainer_TransparentScreen.d.ts +6 -0
  22. package/dist/esm/HeaderContainer_TransparentScreen.js +7 -0
  23. package/dist/esm/HeaderContainer_TransparentScreen.js.map +1 -0
  24. package/dist/esm/HeaderSection.d.ts +6 -0
  25. package/dist/esm/HeaderSection.js +7 -0
  26. package/dist/esm/HeaderSection.js.map +1 -0
  27. package/dist/esm/PageGroup.d.ts +4 -0
  28. package/dist/esm/PageGroup.js +6 -0
  29. package/dist/esm/PageGroup.js.map +1 -0
  30. package/dist/esm/PageSections.d.ts +4 -0
  31. package/dist/esm/PageSections.js +6 -0
  32. package/dist/esm/PageSections.js.map +1 -0
  33. package/dist/esm/Page_BasicPageSkin.d.ts +4 -0
  34. package/dist/esm/Page_BasicPageSkin.js +6 -0
  35. package/dist/esm/Page_BasicPageSkin.js.map +1 -0
  36. package/dist/esm/Page_ResponsivePageWithColorBG.d.ts +4 -0
  37. package/dist/esm/Page_ResponsivePageWithColorBG.js +6 -0
  38. package/dist/esm/Page_ResponsivePageWithColorBG.js.map +1 -0
  39. package/dist/esm/PagesContainer.d.ts +3 -0
  40. package/dist/esm/PagesContainer.js +5 -0
  41. package/dist/esm/PagesContainer.js.map +1 -0
  42. package/dist/esm/ResponsiveContainer.d.ts +4 -0
  43. package/dist/esm/ResponsiveContainer.js +6 -0
  44. package/dist/esm/ResponsiveContainer.js.map +1 -0
  45. package/dist/esm/ResponsivePopupPage_WithoutOverlay.d.ts +6 -0
  46. package/dist/esm/ResponsivePopupPage_WithoutOverlay.js +7 -0
  47. package/dist/esm/ResponsivePopupPage_WithoutOverlay.js.map +1 -0
  48. package/dist/esm/Section.d.ts +6 -0
  49. package/dist/esm/Section.js +7 -0
  50. package/dist/esm/Section.js.map +1 -0
  51. package/dist/esm/hocs.d.ts +28 -0
  52. package/dist/esm/hocs.js +23 -0
  53. package/dist/esm/hocs.js.map +1 -0
  54. package/dist/esm/index.d.ts +13 -0
  55. package/dist/esm/index.js +14 -0
  56. package/dist/esm/index.js.map +1 -0
  57. package/dist/types/Anchor.d.ts +3 -0
  58. package/dist/types/Anchor.d.ts.map +1 -0
  59. package/dist/types/FooterContainer_TransparentScreen.d.ts +5 -0
  60. package/dist/types/FooterContainer_TransparentScreen.d.ts.map +1 -0
  61. package/dist/types/FooterSection.d.ts +5 -0
  62. package/dist/types/FooterSection.d.ts.map +1 -0
  63. package/dist/types/HeaderContainer_TransparentScreen.d.ts +7 -0
  64. package/dist/types/HeaderContainer_TransparentScreen.d.ts.map +1 -0
  65. package/dist/types/HeaderSection.d.ts +7 -0
  66. package/dist/types/HeaderSection.d.ts.map +1 -0
  67. package/dist/types/PageGroup.d.ts +5 -0
  68. package/dist/types/PageGroup.d.ts.map +1 -0
  69. package/dist/types/PageSections.d.ts +5 -0
  70. package/dist/types/PageSections.d.ts.map +1 -0
  71. package/dist/types/Page_BasicPageSkin.d.ts +5 -0
  72. package/dist/types/Page_BasicPageSkin.d.ts.map +1 -0
  73. package/dist/types/Page_ResponsivePageWithColorBG.d.ts +5 -0
  74. package/dist/types/Page_ResponsivePageWithColorBG.d.ts.map +1 -0
  75. package/dist/types/PagesContainer.d.ts +4 -0
  76. package/dist/types/PagesContainer.d.ts.map +1 -0
  77. package/dist/types/ResponsiveContainer.d.ts +5 -0
  78. package/dist/types/ResponsiveContainer.d.ts.map +1 -0
  79. package/dist/types/ResponsivePopupPage_WithoutOverlay.d.ts +7 -0
  80. package/dist/types/ResponsivePopupPage_WithoutOverlay.d.ts.map +1 -0
  81. package/dist/types/Section.d.ts +7 -0
  82. package/dist/types/Section.d.ts.map +1 -0
  83. package/dist/types/hocs.d.ts +29 -0
  84. package/dist/types/hocs.d.ts.map +1 -0
  85. package/dist/types/index.d.ts +14 -0
  86. package/dist/types/index.d.ts.map +1 -0
  87. package/package.json +73 -0
  88. package/src/Anchor.tsx +5 -0
  89. package/src/FooterContainer_TransparentScreen.tsx +6 -0
  90. package/src/FooterSection.tsx +6 -0
  91. package/src/HeaderContainer_TransparentScreen.tsx +7 -0
  92. package/src/HeaderSection.tsx +7 -0
  93. package/src/PageGroup.tsx +6 -0
  94. package/src/PageSections.tsx +6 -0
  95. package/src/Page_BasicPageSkin.tsx +6 -0
  96. package/src/Page_ResponsivePageWithColorBG.tsx +6 -0
  97. package/src/PagesContainer.tsx +5 -0
  98. package/src/ResponsiveContainer.tsx +6 -0
  99. package/src/ResponsivePopupPage_WithoutOverlay.tsx +7 -0
  100. package/src/Section.tsx +7 -0
  101. package/src/hocs.tsx +34 -0
  102. package/src/index.ts +13 -0
@@ -0,0 +1,3579 @@
1
+ import dt from "react";
2
+ import { useStateOverrides as Or } from "@wix/builder-state-react";
3
+ import wr from "react-dom";
4
+ var st = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
5
+ function ct(Me) {
6
+ return Me && Me.__esModule && Object.prototype.hasOwnProperty.call(Me, "default") ? Me.default : Me;
7
+ }
8
+ var lr = { exports: {} };
9
+ (function(Me, Xe) {
10
+ (function(de, ee) {
11
+ Me.exports = ee(dt);
12
+ })(typeof self < "u" ? self : st, function(de) {
13
+ return function() {
14
+ var ee = { "Xdf/": function(i) {
15
+ i.exports = de;
16
+ }, Fe5V: function(i) {
17
+ function s() {
18
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
19
+ for (var l = 1; l < arguments.length; l++) {
20
+ var g = arguments[l];
21
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
22
+ }
23
+ return c;
24
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
25
+ }
26
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
27
+ } }, we = {};
28
+ function E(i) {
29
+ var s = we[i];
30
+ if (s !== void 0) return s.exports;
31
+ var c = we[i] = { exports: {} };
32
+ return ee[i](c, c.exports, E), c.exports;
33
+ }
34
+ E.n = function(i) {
35
+ var s = i && i.__esModule ? function() {
36
+ return i.default;
37
+ } : function() {
38
+ return i;
39
+ };
40
+ return E.d(s, { a: s }), s;
41
+ }, E.d = function(i, s) {
42
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
43
+ }, E.o = function(i, s) {
44
+ return Object.prototype.hasOwnProperty.call(i, s);
45
+ }, E.r = function(i) {
46
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
47
+ };
48
+ var te = {};
49
+ return function() {
50
+ E.r(te), E.d(te, { default: function() {
51
+ return m;
52
+ } });
53
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = "Vd6aQZ", g = "mHZSwn", m = (u) => {
54
+ const { id: L, name: B, urlFragment: oe, className: ae, isAriaHidden: R } = u;
55
+ return c.createElement("div", s()({ id: L }, ((x) => Object.entries(x).reduce((N, [P, X]) => (P.includes("data-") && (N[P] = X), N), {}))(u), { className: l + " ignore-focus " + ae, "aria-hidden": R }, !R && { role: "region", tabIndex: -1, "aria-label": B }), oe && c.createElement("div", { id: oe }), c.createElement("span", { className: g }, B));
56
+ };
57
+ }(), te;
58
+ }();
59
+ });
60
+ })(lr);
61
+ var xr = lr.exports;
62
+ const Cr = /* @__PURE__ */ ct(xr), ca = Cr;
63
+ var ur = { exports: {} };
64
+ (function(Me, Xe) {
65
+ (function(de, ee) {
66
+ Me.exports = ee(dt);
67
+ })(typeof self < "u" ? self : st, function(de) {
68
+ return function() {
69
+ var ee = { XCHU: function(i, s, c) {
70
+ c.d(s, { default: function() {
71
+ return A;
72
+ } });
73
+ var l = c("Fe5V"), g = c.n(l), m = c("Xdf/"), u = c.n(m), L = c("MRkx");
74
+ const B = "wixui-", oe = (H, ...G) => {
75
+ const _ = [];
76
+ return _.push(`${B}${H}`), G.forEach((Y) => {
77
+ Y && (_.push(`${B}${Y}`), _.push(Y));
78
+ }), _.join(" ");
79
+ };
80
+ var ae = c("guqK");
81
+ const R = "mesh-container-content", x = "inline-content", N = (H) => u().createElement("div", { key: H.props.id + "-rotated-wrapper", "data-mesh-id": H.props.id + "-rotated-wrapper" }, H), P = (H, G) => {
82
+ const { id: _, className: Y, wedges: I = [], rotatedComponents: se = [], children: pe, fixedComponents: me = [], extraClassName: be = "", renderRotatedComponents: Ne = N } = H, Be = u().Children.toArray(pe()), Se = [], Ce = [];
83
+ Be.forEach((ie) => me.includes(ie.props.id) ? Se.push(ie) : Ce.push(ie));
84
+ const Le = ((ie) => {
85
+ const { wedges: Ge, rotatedComponents: V, childrenArray: K, renderRotatedComponents: $e } = ie, ge = V.reduce((je, De) => ({ ...je, [De]: !0 }), {});
86
+ return [...K.map((je) => {
87
+ return ge[De = je, De.props.id.split("__")[0]] ? $e(je) : je;
88
+ var De;
89
+ }), ...Ge.map((je) => u().createElement("div", { key: je, "data-mesh-id": je }))];
90
+ })({ childrenArray: Ce, rotatedComponents: se, wedges: I, renderRotatedComponents: Ne });
91
+ return u().createElement("div", g()({}, (0, ae.P5)(H), { "data-mesh-id": _ + "inlineContent", "data-testid": x, className: (0, L.Z)(Y, be), ref: G }), u().createElement("div", { "data-mesh-id": _ + "inlineContent-gridContainer", "data-testid": R }, Le), Se);
92
+ };
93
+ var X = u().forwardRef(P), _e = { root: "footer" }, A = (H) => {
94
+ const { id: G, className: _, customClassNames: Y = [], skin: I, children: se, meshProps: pe, fillLayers: me, lang: be } = H, Ne = { onMouseEnter: H.onMouseEnter, onMouseLeave: H.onMouseLeave, onClick: H.onClick, onDoubleClick: H.onDblClick }, Be = (0, L.Z)(_, oe(_e.root, ...Y));
95
+ return m.createElement(I, { wrapperProps: { ...(0, ae.P5)(H), lang: be, id: G, tagName: "footer", eventHandlers: Ne, tabIndex: "-1", className: Be }, fillLayers: me, "data-block-level-container": "FooterContainer" }, m.createElement(X, g()({ id: G }, pe), se));
96
+ };
97
+ }, guqK: function(i, s, c) {
98
+ c.d(s, { P5: function() {
99
+ return l;
100
+ } });
101
+ const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
102
+ }, "Xdf/": function(i) {
103
+ i.exports = de;
104
+ }, Fe5V: function(i) {
105
+ function s() {
106
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
107
+ for (var l = 1; l < arguments.length; l++) {
108
+ var g = arguments[l];
109
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
110
+ }
111
+ return c;
112
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
113
+ }
114
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
115
+ }, MRkx: function(i, s, c) {
116
+ function l(g) {
117
+ var m, u, L = "";
118
+ if (typeof g == "string" || typeof g == "number") L += g;
119
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
120
+ else for (m in g) g[m] && (L && (L += " "), L += m);
121
+ return L;
122
+ }
123
+ s.Z = function() {
124
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
125
+ return L;
126
+ };
127
+ } }, we = {};
128
+ function E(i) {
129
+ var s = we[i];
130
+ if (s !== void 0) return s.exports;
131
+ var c = we[i] = { exports: {} };
132
+ return ee[i](c, c.exports, E), c.exports;
133
+ }
134
+ E.n = function(i) {
135
+ var s = i && i.__esModule ? function() {
136
+ return i.default;
137
+ } : function() {
138
+ return i;
139
+ };
140
+ return E.d(s, { a: s }), s;
141
+ }, E.d = function(i, s) {
142
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
143
+ }, E.o = function(i, s) {
144
+ return Object.prototype.hasOwnProperty.call(i, s);
145
+ }, E.r = function(i) {
146
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
147
+ };
148
+ var te = {};
149
+ return function() {
150
+ E.r(te), E.d(te, { default: function() {
151
+ return ae;
152
+ } });
153
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E.n(c), g = { screenWidthBackground: "lvxhkV", HeaderHideToTop: "QJjwEo", headerHideToTop: "QJjwEo", HeaderHideToTopReverse: "kdBXfh", headerHideToTopReverse: "kdBXfh", HeaderFadeOut: "MP52zt", headerFadeOut: "MP52zt", transitionEnded: "Bhu9m5", HeaderFadeOutReverse: "LVP8Wf", headerFadeOutReverse: "LVP8Wf", inlineContent: "VrZrC0", centeredContent: "cKxVkc", centeredContentBg: "vlM3HR", root: "AT7o0U" }, m = E("MRkx"), u = (R) => {
154
+ let { id: x, className: N, skinClassName: P, tagName: X = "div", transition: _e, transitionEnded: A, eventHandlers: H, skinStyles: G, children: _, tabIndex: Y, lang: I } = R;
155
+ const se = X;
156
+ return l().createElement(se, s()({ id: x, className: (0, m.Z)(P, _e && G[_e], A && G.transitionEnded, N), tabIndex: Y, lang: I }, H), _);
157
+ }, L = (R) => {
158
+ let { wrapperProps: x, children: N, skinStyles: P } = R;
159
+ return c.createElement(u, s()({}, x, { skinClassName: P.root, skinStyles: P }), c.createElement("div", { className: P.screenWidthBackground }), c.createElement("div", { className: P.centeredContent }, c.createElement("div", { className: P.centeredContentBg }), c.createElement("div", { className: P.inlineContent }, N)));
160
+ }, B = (R) => l().createElement(L, s()({}, R, { skinStyles: g })), oe = E("XCHU"), ae = (R) => l().createElement(oe.default, s()({}, R, { skin: B }));
161
+ }(), te;
162
+ }();
163
+ });
164
+ })(ur);
165
+ var Mr = ur.exports;
166
+ const Sr = /* @__PURE__ */ ct(Mr), It = (Me) => ({ children: Xe, ...de }) => dt.createElement(Me, { ...de }, () => Xe || []), sr = (Me, Xe) => (de) => {
167
+ const [ee = {}, , we] = Or(de.nickname), E = Xe.useComponentProps({ ...de, ...ee }, {}, we);
168
+ return dt.createElement(Me, { ...de, ...E });
169
+ }, la = It(Sr);
170
+ var dr = { exports: {} };
171
+ (function(Me, Xe) {
172
+ (function(de, ee) {
173
+ Me.exports = ee(dt);
174
+ })(typeof self < "u" ? self : st, function(de) {
175
+ return function() {
176
+ var ee = { iCIt: function(i, s, c) {
177
+ c.d(s, { default: function() {
178
+ return C;
179
+ } });
180
+ var l = {};
181
+ c.r(l), c.d(l, { STATIC_MEDIA_URL: function() {
182
+ return Mn;
183
+ }, ph: function() {
184
+ return Dt;
185
+ } });
186
+ var g = c("Fe5V"), m = c.n(g), u = c("Xdf/"), L = c.n(u), B = c("MRkx");
187
+ const oe = "wixui-", ae = (e, ...t) => {
188
+ const a = [];
189
+ return e && a.push(`${oe}${e}`), t.forEach((n) => {
190
+ n && (a.push(`${oe}${n}`), a.push(n));
191
+ }), a.join(" ");
192
+ };
193
+ var R = c("guqK");
194
+ const x = "section-container";
195
+ var N = "jhxvbR";
196
+ const P = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, Y = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, I = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [I.CENTER]: { x: 0.5, y: 0.5 }, [I.TOP_LEFT]: { x: 0, y: 0 }, [I.TOP_RIGHT]: { x: 1, y: 0 }, [I.TOP]: { x: 0.5, y: 0 }, [I.BOTTOM_LEFT]: { x: 0, y: 1 }, [I.BOTTOM_RIGHT]: { x: 1, y: 1 }, [I.BOTTOM]: { x: 0.5, y: 1 }, [I.RIGHT]: { x: 1, y: 0.5 }, [I.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Ne = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Ce = 25e6, Le = [1.5, 2, 4], ie = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Ge = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, V = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, K = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, $e = { AVIF: "AVIF", PAVIF: "PAVIF" };
197
+ function ge(e, ...t) {
198
+ return function(...a) {
199
+ const n = a[a.length - 1] || {}, r = [e[0]];
200
+ return t.forEach(function(o, h) {
201
+ const f = Number.isInteger(o) ? a[o] : n[o];
202
+ r.push(f, e[h + 1]);
203
+ }), r.join("");
204
+ };
205
+ }
206
+ function je(e) {
207
+ return e[e.length - 1];
208
+ }
209
+ const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF], qe = [K.JPEG, K.JPG, K.JPE];
210
+ function ze(e, t, a) {
211
+ return a && t && !(!(n = t.id) || !n.trim() || n.toLowerCase() === "none") && Object.values(_).includes(e);
212
+ var n;
213
+ }
214
+ function Ue(e, t, a, n) {
215
+ if (/(^https?)|(^data)|(^\/\/)/.test(e) || !function(h, f, p) {
216
+ return !(Je(h) || rt(h)) || !f || p;
217
+ }(e, t, a)) return !1;
218
+ const r = function(h) {
219
+ return De.includes(Ze(h));
220
+ }(e), o = function(h, f, p) {
221
+ return !(!ht(h) || !f && !p);
222
+ }(e, a, n);
223
+ return r || o;
224
+ }
225
+ function Ve(e) {
226
+ return Ze(e) === K.PNG;
227
+ }
228
+ function Je(e) {
229
+ return Ze(e) === K.WEBP;
230
+ }
231
+ function ht(e) {
232
+ return Ze(e) === K.GIF;
233
+ }
234
+ function rt(e) {
235
+ return Ze(e) === K.AVIF;
236
+ }
237
+ const Lt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"], gt = "_";
238
+ function _t(e) {
239
+ return function(t) {
240
+ return qe.includes(Ze(t));
241
+ }(e) ? K.JPG : Ve(e) ? K.PNG : Je(e) ? K.WEBP : ht(e) ? K.GIF : rt(e) ? K.AVIF : K.UNRECOGNIZED;
242
+ }
243
+ function Ze(e) {
244
+ return (/[.]([^.]+)$/.exec(e) && /[.]([^.]+)$/.exec(e)[1] || "").toLowerCase();
245
+ }
246
+ function Ke(e, t, a, n, r) {
247
+ let o;
248
+ return o = r === Y.FILL ? function(h, f, p, y) {
249
+ return Math.max(p / h, y / f);
250
+ }(e, t, a, n) : r === Y.FIT ? function(h, f, p, y) {
251
+ return Math.min(p / h, y / f);
252
+ }(e, t, a, n) : 1, o;
253
+ }
254
+ function it(e, t, a, n, r, o) {
255
+ e = e || n.width, t = t || n.height;
256
+ const { scaleFactor: h, width: f, height: p } = function(y, v, O, w, M) {
257
+ let S, k = O, W = w;
258
+ if (S = Ke(y, v, O, w, M), M === Y.FIT && (k = y * S, W = v * S), k && W && k * W > Ce) {
259
+ const q = Math.sqrt(Ce / (k * W));
260
+ k *= q, W *= q, S = Ke(y, v, k, W, M);
261
+ }
262
+ return { scaleFactor: S, width: k, height: W };
263
+ }(e, t, n.width * r, n.height * r, a);
264
+ return function(y, v, O, w, M, S, k) {
265
+ const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = function(fe, ce, le, J) {
266
+ return J === "auto" ? function($, Ee) {
267
+ const ve = vt($, Ee);
268
+ return { optimizedScaleFactor: ie[ve].maxUpscale, upscaleMethodValue: Ne.classic, forceUSM: !1 };
269
+ }(fe, ce) : J === "super" ? function($) {
270
+ return { optimizedScaleFactor: je(Le), upscaleMethodValue: Ne.super, forceUSM: !(Le.includes($) || $ > je(Le)) };
271
+ }(le) : function($, Ee) {
272
+ const ve = vt($, Ee);
273
+ return { optimizedScaleFactor: ie[ve].maxUpscale, upscaleMethodValue: Ne.classic, forceUSM: !1 };
274
+ }(fe, ce);
275
+ }(y, v, S, M);
276
+ let Te = O, he = w;
277
+ if (S <= W) return { width: Te, height: he, scaleFactor: S, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !1 };
278
+ switch (k) {
279
+ case Y.FILL:
280
+ Te = O * (W / S), he = w * (W / S);
281
+ break;
282
+ case Y.FIT:
283
+ Te = y * W, he = v * W;
284
+ }
285
+ return { width: Te, height: he, scaleFactor: W, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !0 };
286
+ }(e, t, f, p, o, h, a);
287
+ }
288
+ function lt(e, t, a, n) {
289
+ const r = wt(a) || function(o = I.CENTER) {
290
+ return se[o];
291
+ }(n);
292
+ return { x: Math.max(0, Math.min(e.width - t.width, r.x * e.width - t.width / 2)), y: Math.max(0, Math.min(e.height - t.height, r.y * e.height - t.height / 2)), width: Math.min(e.width, t.width), height: Math.min(e.height, t.height) };
293
+ }
294
+ function ut(e) {
295
+ return e.alignment && pe[e.alignment] || pe[I.CENTER];
296
+ }
297
+ function wt(e) {
298
+ let t;
299
+ return !e || typeof e.x != "number" || isNaN(e.x) || typeof e.y != "number" || isNaN(e.y) || (t = { x: ot(Math.max(0, Math.min(100, e.x)) / 100, 2), y: ot(Math.max(0, Math.min(100, e.y)) / 100, 2) }), t;
300
+ }
301
+ function vt(e, t) {
302
+ const a = e * t;
303
+ return a > ie[Ge.HIGH].size ? Ge.HIGH : a > ie[Ge.MEDIUM].size ? Ge.MEDIUM : a > ie[Ge.LOW].size ? Ge.LOW : Ge.TINY;
304
+ }
305
+ function ot(e, t) {
306
+ const a = Math.pow(10, t);
307
+ return (e * a / a).toFixed(t);
308
+ }
309
+ function Bt(e) {
310
+ return e && e.upscaleMethod && be[e.upscaleMethod.toUpperCase()] || be.AUTO;
311
+ }
312
+ function Gt(e, t) {
313
+ const a = Je(e) || rt(e);
314
+ return Ze(e) === K.GIF || a && t;
315
+ }
316
+ const yt = { isMobile: !1 }, kt = function(e) {
317
+ return yt[e];
318
+ };
319
+ function xt() {
320
+ if (typeof window < "u" && typeof navigator < "u") {
321
+ const t = window.matchMedia && window.matchMedia("(max-width: 767px)").matches, a = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
322
+ e = t && a, yt.isMobile = e;
323
+ }
324
+ var e;
325
+ }
326
+ function jt(e, t) {
327
+ const a = { css: { container: {} } }, { css: n } = a, { fittingType: r } = e;
328
+ switch (r) {
329
+ case _.ORIGINAL_SIZE:
330
+ case _.LEGACY_ORIGINAL_SIZE:
331
+ case _.LEGACY_STRIP_ORIGINAL_SIZE:
332
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "no-repeat";
333
+ break;
334
+ case _.SCALE_TO_FIT:
335
+ case _.LEGACY_STRIP_SCALE_TO_FIT:
336
+ n.container.backgroundSize = "contain", n.container.backgroundRepeat = "no-repeat";
337
+ break;
338
+ case _.STRETCH:
339
+ n.container.backgroundSize = "100% 100%", n.container.backgroundRepeat = "no-repeat";
340
+ break;
341
+ case _.SCALE_TO_FILL:
342
+ case _.LEGACY_STRIP_SCALE_TO_FILL:
343
+ n.container.backgroundSize = "cover", n.container.backgroundRepeat = "no-repeat";
344
+ break;
345
+ case _.TILE_HORIZONTAL:
346
+ case _.LEGACY_STRIP_TILE_HORIZONTAL:
347
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-x";
348
+ break;
349
+ case _.TILE_VERTICAL:
350
+ case _.LEGACY_STRIP_TILE_VERTICAL:
351
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-y";
352
+ break;
353
+ case _.TILE:
354
+ case _.LEGACY_STRIP_TILE:
355
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat";
356
+ break;
357
+ case _.LEGACY_STRIP_FIT_AND_TILE:
358
+ n.container.backgroundSize = "contain", n.container.backgroundRepeat = "repeat";
359
+ break;
360
+ case _.FIT_AND_TILE:
361
+ case _.LEGACY_BG_FIT_AND_TILE:
362
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat";
363
+ break;
364
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
365
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-x";
366
+ break;
367
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
368
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-y";
369
+ break;
370
+ case _.LEGACY_BG_NORMAL:
371
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "no-repeat";
372
+ }
373
+ switch (t.alignment) {
374
+ case I.CENTER:
375
+ n.container.backgroundPosition = "center center";
376
+ break;
377
+ case I.LEFT:
378
+ n.container.backgroundPosition = "left center";
379
+ break;
380
+ case I.RIGHT:
381
+ n.container.backgroundPosition = "right center";
382
+ break;
383
+ case I.TOP:
384
+ n.container.backgroundPosition = "center top";
385
+ break;
386
+ case I.BOTTOM:
387
+ n.container.backgroundPosition = "center bottom";
388
+ break;
389
+ case I.TOP_RIGHT:
390
+ n.container.backgroundPosition = "right top";
391
+ break;
392
+ case I.TOP_LEFT:
393
+ n.container.backgroundPosition = "left top";
394
+ break;
395
+ case I.BOTTOM_RIGHT:
396
+ n.container.backgroundPosition = "right bottom";
397
+ break;
398
+ case I.BOTTOM_LEFT:
399
+ n.container.backgroundPosition = "left bottom";
400
+ }
401
+ return a;
402
+ }
403
+ const Ct = { [I.CENTER]: "center", [I.TOP]: "top", [I.TOP_LEFT]: "top left", [I.TOP_RIGHT]: "top right", [I.BOTTOM]: "bottom", [I.BOTTOM_LEFT]: "bottom left", [I.BOTTOM_RIGHT]: "bottom right", [I.LEFT]: "left", [I.RIGHT]: "right" }, Yt = { position: "absolute", top: "auto", right: "auto", bottom: "auto", left: "auto" };
404
+ function j(e, t) {
405
+ const a = { css: { container: {}, img: {} } }, { css: n } = a, { fittingType: r } = e, o = t.alignment;
406
+ switch (n.container.position = "relative", r) {
407
+ case _.ORIGINAL_SIZE:
408
+ case _.LEGACY_ORIGINAL_SIZE:
409
+ e.parts && e.parts.length ? (n.img.width = e.parts[0].width, n.img.height = e.parts[0].height) : (n.img.width = e.src.width, n.img.height = e.src.height);
410
+ break;
411
+ case _.SCALE_TO_FIT:
412
+ case _.LEGACY_FIT_WIDTH:
413
+ case _.LEGACY_FIT_HEIGHT:
414
+ case _.LEGACY_FULL:
415
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "contain", n.img.objectPosition = Ct[o] || "unset";
416
+ break;
417
+ case _.LEGACY_BG_NORMAL:
418
+ n.img.width = "100%", n.img.height = "100%", n.img.objectFit = "none", n.img.objectPosition = Ct[o] || "unset";
419
+ break;
420
+ case _.STRETCH:
421
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "fill";
422
+ break;
423
+ case _.SCALE_TO_FILL:
424
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "cover";
425
+ }
426
+ if (typeof n.img.width == "number" && typeof n.img.height == "number" && (n.img.width !== t.width || n.img.height !== t.height)) {
427
+ const h = Math.round((t.height - n.img.height) / 2), f = Math.round((t.width - n.img.width) / 2);
428
+ Object.assign(n.img, Yt, function(p, y, v) {
429
+ return { [I.TOP_LEFT]: { top: 0, left: 0 }, [I.TOP_RIGHT]: { top: 0, right: 0 }, [I.TOP]: { top: 0, left: y }, [I.BOTTOM_LEFT]: { bottom: 0, left: 0 }, [I.BOTTOM_RIGHT]: { bottom: 0, right: 0 }, [I.BOTTOM]: { bottom: 0, left: y }, [I.RIGHT]: { top: p, right: 0 }, [I.LEFT]: { top: p, left: 0 }, [I.CENTER]: { width: v.width, height: v.height, objectFit: "none" } };
430
+ }(h, f, t)[o]);
431
+ }
432
+ return a;
433
+ }
434
+ function z(e, t) {
435
+ const a = { css: { container: {} }, attr: { container: {}, img: {} } }, { css: n, attr: r } = a, { fittingType: o } = e, h = t.alignment, { width: f, height: p } = e.src;
436
+ let y;
437
+ switch (n.container.position = "relative", o) {
438
+ case _.ORIGINAL_SIZE:
439
+ case _.LEGACY_ORIGINAL_SIZE:
440
+ case _.TILE:
441
+ e.parts && e.parts.length ? (r.img.width = e.parts[0].width, r.img.height = e.parts[0].height) : (r.img.width = f, r.img.height = p), r.img.preserveAspectRatio = "xMidYMid slice";
442
+ break;
443
+ case _.SCALE_TO_FIT:
444
+ case _.LEGACY_FIT_WIDTH:
445
+ case _.LEGACY_FIT_HEIGHT:
446
+ case _.LEGACY_FULL:
447
+ r.img.width = "100%", r.img.height = "100%", r.img.transform = "", r.img.preserveAspectRatio = "";
448
+ break;
449
+ case _.STRETCH:
450
+ r.img.width = t.width, r.img.height = t.height, r.img.x = 0, r.img.y = 0, r.img.transform = "", r.img.preserveAspectRatio = "none";
451
+ break;
452
+ case _.SCALE_TO_FILL:
453
+ Ue(e.src.id) ? (r.img.width = t.width, r.img.height = t.height) : (y = function(v, O, w, M, S) {
454
+ const k = Ke(v, O, w, M, S);
455
+ return { width: Math.round(v * k), height: Math.round(O * k) };
456
+ }(f, p, t.width, t.height, Y.FILL), r.img.width = y.width, r.img.height = y.height), r.img.x = 0, r.img.y = 0, r.img.transform = "", r.img.preserveAspectRatio = "xMidYMid slice";
457
+ }
458
+ if (typeof r.img.width == "number" && typeof r.img.height == "number" && (r.img.width !== t.width || r.img.height !== t.height)) {
459
+ let v, O, w = 0, M = 0;
460
+ o === _.TILE ? (v = t.width % r.img.width, O = t.height % r.img.height) : (v = t.width - r.img.width, O = t.height - r.img.height);
461
+ const S = Math.round(v / 2), k = Math.round(O / 2);
462
+ switch (h) {
463
+ case I.TOP_LEFT:
464
+ w = 0, M = 0;
465
+ break;
466
+ case I.TOP:
467
+ w = S, M = 0;
468
+ break;
469
+ case I.TOP_RIGHT:
470
+ w = v, M = 0;
471
+ break;
472
+ case I.LEFT:
473
+ w = 0, M = k;
474
+ break;
475
+ case I.CENTER:
476
+ w = S, M = k;
477
+ break;
478
+ case I.RIGHT:
479
+ w = v, M = k;
480
+ break;
481
+ case I.BOTTOM_LEFT:
482
+ w = 0, M = O;
483
+ break;
484
+ case I.BOTTOM:
485
+ w = S, M = O;
486
+ break;
487
+ case I.BOTTOM_RIGHT:
488
+ w = v, M = O;
489
+ }
490
+ r.img.x = w, r.img.y = M;
491
+ }
492
+ return r.container.width = t.width, r.container.height = t.height, r.container.viewBox = [0, 0, t.width, t.height].join(" "), a;
493
+ }
494
+ function Q(e, t, a) {
495
+ let n;
496
+ switch (t.crop && (n = function(r, o) {
497
+ const h = Math.max(0, Math.min(r.width, o.x + o.width) - Math.max(0, o.x)), f = Math.max(0, Math.min(r.height, o.y + o.height) - Math.max(0, o.y));
498
+ return h && f && (r.width !== h || r.height !== f) ? { x: Math.max(0, o.x), y: Math.max(0, o.y), width: h, height: f } : null;
499
+ }(t, t.crop), n && (e.src.width = n.width, e.src.height = n.height, e.src.isCropped = !0, e.parts.push(F(n)))), e.fittingType) {
500
+ case _.SCALE_TO_FIT:
501
+ case _.LEGACY_FIT_WIDTH:
502
+ case _.LEGACY_FIT_HEIGHT:
503
+ case _.LEGACY_FULL:
504
+ case _.FIT_AND_TILE:
505
+ case _.LEGACY_BG_FIT_AND_TILE:
506
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
507
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
508
+ case _.LEGACY_BG_NORMAL:
509
+ e.parts.push(b(e, a));
510
+ break;
511
+ case _.SCALE_TO_FILL:
512
+ e.parts.push(function(r, o) {
513
+ const h = it(r.src.width, r.src.height, Y.FILL, o, r.devicePixelRatio, r.upscaleMethod), f = wt(r.focalPoint);
514
+ return { transformType: f ? Y.FILL_FOCAL : Y.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment: ut(o), focalPointX: f && f.x, focalPointY: f && f.y, upscale: h.scaleFactor > 1, forceUSM: h.forceUSM, scaleFactor: h.scaleFactor, cssUpscaleNeeded: h.cssUpscaleNeeded, upscaleMethodValue: h.upscaleMethodValue };
515
+ }(e, a));
516
+ break;
517
+ case _.STRETCH:
518
+ e.parts.push(function(r, o) {
519
+ const h = Ke(r.src.width, r.src.height, o.width, o.height, Y.FILL), f = { ...o };
520
+ return f.width = r.src.width * h, f.height = r.src.height * h, b(r, f);
521
+ }(e, a));
522
+ break;
523
+ case _.TILE_HORIZONTAL:
524
+ case _.TILE_VERTICAL:
525
+ case _.TILE:
526
+ case _.LEGACY_ORIGINAL_SIZE:
527
+ case _.ORIGINAL_SIZE:
528
+ n = lt(e.src, a, e.focalPoint, a.alignment), e.src.isCropped ? (Object.assign(e.parts[0], n), e.src.width = n.width, e.src.height = n.height) : e.parts.push(F(n));
529
+ break;
530
+ case _.LEGACY_STRIP_TILE_HORIZONTAL:
531
+ case _.LEGACY_STRIP_TILE_VERTICAL:
532
+ case _.LEGACY_STRIP_TILE:
533
+ case _.LEGACY_STRIP_ORIGINAL_SIZE:
534
+ e.parts.push(function(r) {
535
+ return { transformType: Y.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
536
+ }(a));
537
+ break;
538
+ case _.LEGACY_STRIP_SCALE_TO_FIT:
539
+ case _.LEGACY_STRIP_FIT_AND_TILE:
540
+ e.parts.push(function(r) {
541
+ return { transformType: Y.FIT, width: Math.round(r.width), height: Math.round(r.height), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
542
+ }(a));
543
+ break;
544
+ case _.LEGACY_STRIP_SCALE_TO_FILL:
545
+ e.parts.push(function(r) {
546
+ return { transformType: Y.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
547
+ }(a));
548
+ }
549
+ }
550
+ function b(e, t) {
551
+ const a = it(e.src.width, e.src.height, Y.FIT, t, e.devicePixelRatio, e.upscaleMethod);
552
+ return { transformType: !e.src.width || !e.src.height ? Y.FIT : Y.FILL, width: Math.round(a.width), height: Math.round(a.height), alignment: pe.center, upscale: a.scaleFactor > 1, forceUSM: a.forceUSM, scaleFactor: a.scaleFactor, cssUpscaleNeeded: a.cssUpscaleNeeded, upscaleMethodValue: a.upscaleMethodValue };
553
+ }
554
+ function F(e) {
555
+ return { transformType: Y.CROP, x: Math.round(e.x), y: Math.round(e.y), width: Math.round(e.width), height: Math.round(e.height), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
556
+ }
557
+ function Z(e, t) {
558
+ t = t || {}, e.quality = function(a, n) {
559
+ const r = a.fileType === K.PNG, o = a.fileType === K.JPG, h = a.fileType === K.WEBP, f = a.fileType === K.AVIF;
560
+ if (o || r || h || f) {
561
+ const O = je(a.parts), w = (y = O.width, v = O.height, ie[vt(y, v)].quality);
562
+ let M = n.quality && n.quality >= 5 && n.quality <= 90 ? n.quality : w;
563
+ return M = r ? M + 5 : M, M;
564
+ }
565
+ var y, v;
566
+ return 0;
567
+ }(e, t), e.progressive = function(a) {
568
+ return a.progressive !== !1;
569
+ }(t), e.watermark = function(a) {
570
+ return a.watermark;
571
+ }(t), e.autoEncode = t.autoEncode ?? !0, e.encoding = t?.encoding, e.unsharpMask = function(a, n) {
572
+ if (function(o) {
573
+ const h = typeof (o = o || {}).radius == "number" && !isNaN(o.radius) && o.radius >= 0.1 && o.radius <= 500, f = typeof o.amount == "number" && !isNaN(o.amount) && o.amount >= 0 && o.amount <= 10, p = typeof o.threshold == "number" && !isNaN(o.threshold) && o.threshold >= 0 && o.threshold <= 255;
574
+ return h && f && p;
575
+ }(n.unsharpMask)) return { radius: ot(n.unsharpMask?.radius, 2), amount: ot(n.unsharpMask?.amount, 2), threshold: ot(n.unsharpMask?.threshold, 2) };
576
+ if ((typeof (r = (r = n.unsharpMask) || {}).radius != "number" || isNaN(r.radius) || r.radius !== 0 || typeof r.amount != "number" || isNaN(r.amount) || r.amount !== 0 || typeof r.threshold != "number" || isNaN(r.threshold) || r.threshold !== 0) && function(o) {
577
+ const h = je(o.parts);
578
+ return !(h.scaleFactor >= 1) || h.forceUSM || h.transformType === Y.FIT;
579
+ }(a)) return Be;
580
+ var r;
581
+ }(e, t), e.filters = function(a) {
582
+ const n = a.filters || {}, r = {};
583
+ return U(n[V.CONTRAST], -100, 100) && (r[V.CONTRAST] = n[V.CONTRAST]), U(n[V.BRIGHTNESS], -100, 100) && (r[V.BRIGHTNESS] = n[V.BRIGHTNESS]), U(n[V.SATURATION], -100, 100) && (r[V.SATURATION] = n[V.SATURATION]), U(n[V.HUE], -180, 180) && (r[V.HUE] = n[V.HUE]), U(n[V.BLUR], 0, 100) && (r[V.BLUR] = n[V.BLUR]), r;
584
+ }(t);
585
+ }
586
+ function U(e, t, a) {
587
+ return typeof e == "number" && !isNaN(e) && e !== 0 && e >= t && e <= a;
588
+ }
589
+ function ne(e, t, a, n) {
590
+ const r = function(w) {
591
+ return w?.isSEOBot ?? !1;
592
+ }(n), o = _t(t.id), h = function(w, M) {
593
+ const S = /\.([^.]*)$/, k = new RegExp(`(${Lt.concat(nt).join("|")})`, "g");
594
+ if (M && M.length) {
595
+ let q = M;
596
+ const D = M.match(S);
597
+ return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k, gt);
598
+ }
599
+ const W = w.match(/\/(.*?)$/);
600
+ return (W ? W[1] : w).replace(S, "");
601
+ }(t.id, t.name), f = r ? 1 : function(w) {
602
+ return Math.min(w.pixelAspectRatio || 1, X);
603
+ }(a), p = Ze(t.id), y = p, v = Ue(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation), O = { fileName: h, fileExtension: p, fileType: o, fittingType: e, preferredExtension: y, src: { id: t.id, width: t.width, height: t.height, isCropped: !1, isAnimated: Gt(t.id, n?.hasAnimation) }, focalPoint: { x: t.focalPoint && t.focalPoint.x, y: t.focalPoint && t.focalPoint.y }, parts: [], devicePixelRatio: f, quality: 0, upscaleMethod: Bt(n), progressive: !0, watermark: "", unsharpMask: {}, filters: {}, transformed: v, allowFullGIFTransformation: n?.allowFullGIFTransformation, isPlaceholderFlow: n?.isPlaceholderFlow };
604
+ return v && (Q(O, t, a), Z(O, n)), O;
605
+ }
606
+ function re(e, t, a) {
607
+ const n = { ...a }, r = kt("isMobile");
608
+ switch (e) {
609
+ case _.LEGACY_BG_FIT_AND_TILE:
610
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
611
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
612
+ case _.LEGACY_BG_NORMAL:
613
+ const o = r ? H : _e, h = r ? G : A;
614
+ n.width = Math.min(o, t.width), n.height = Math.min(h, Math.round(n.width / (t.width / t.height))), n.pixelAspectRatio = 1;
615
+ }
616
+ return n;
617
+ }
618
+ const Ae = ge`fit/w_${"width"},h_${"height"}`, Re = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, Ye = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, We = ge`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Qe = ge`crop/w_${"width"},h_${"height"},al_${"alignment"}`, ft = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, at = ge`,lg_${"upscaleMethodValue"}`, En = ge`,q_${"quality"}`, Ut = ge`,quality_auto`, Tn = ge`,usm_${"radius"}_${"amount"}_${"threshold"}`, In = ge`,bl`, vn = ge`,wm_${"watermark"}`, bn = { [V.CONTRAST]: ge`,con_${"contrast"}`, [V.BRIGHTNESS]: ge`,br_${"brightness"}`, [V.SATURATION]: ge`,sat_${"saturation"}`, [V.HUE]: ge`,hue_${"hue"}`, [V.BLUR]: ge`,blur_${"blur"}` }, Ln = ge`,enc_auto`, yn = ge`,enc_avif`, $t = ge`,enc_pavif`, rn = ge`,pstr`, An = ge`,anm_all`;
619
+ function Et(e, t, a, n = {}, r) {
620
+ if (Ue(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation)) {
621
+ if (Je(t.id) || rt(t.id)) {
622
+ const { alignment: o, ...h } = a;
623
+ t.focalPoint = { x: void 0, y: void 0 }, delete t?.crop, r = ne(e, t, h, n);
624
+ } else r = r || ne(e, t, a, n);
625
+ return function(o) {
626
+ const h = [];
627
+ o.parts.forEach((p) => {
628
+ switch (p.transformType) {
629
+ case Y.CROP:
630
+ h.push(We(p));
631
+ break;
632
+ case Y.LEGACY_CROP:
633
+ h.push(Qe(p));
634
+ break;
635
+ case Y.LEGACY_FILL:
636
+ let y = ft(p);
637
+ p.upscale && (y += at(p)), h.push(y);
638
+ break;
639
+ case Y.FIT:
640
+ let v = Ae(p);
641
+ p.upscale && (v += at(p)), h.push(v);
642
+ break;
643
+ case Y.FILL:
644
+ let O = Re(p);
645
+ p.upscale && (O += at(p)), h.push(O);
646
+ break;
647
+ case Y.FILL_FOCAL:
648
+ let w = Ye(p);
649
+ p.upscale && (w += at(p)), h.push(w);
650
+ }
651
+ });
652
+ let f = h.join("/");
653
+ if (o.quality && (f += En(o)), o.unsharpMask && (f += Tn(o.unsharpMask)), o.progressive || (f += In(o)), o.watermark && (f += vn(o)), o.filters && (f += Object.keys(o.filters).map((p) => bn[p](o.filters)).join("")), o.fileType !== K.GIF && (o.encoding === $e.AVIF ? (f += yn(o), f += Ut(o)) : o.encoding === $e.PAVIF ? (f += $t(o), f += Ut(o)) : o.autoEncode && (f += Ln(o))), o.src?.isAnimated && o.transformed) {
654
+ const p = ht(o.src.id), y = o.isPlaceholderFlow === !0, v = o.allowFullGIFTransformation === !0;
655
+ y ? f += rn(o) : p && v && (f += An(o));
656
+ }
657
+ return `${o.src.id}/${P}/${f}/${o.fileName}.${o.preferredExtension}`;
658
+ }(r);
659
+ }
660
+ return t.id;
661
+ }
662
+ const Vt = { [I.CENTER]: "50% 50%", [I.TOP_LEFT]: "0% 0%", [I.TOP_RIGHT]: "100% 0%", [I.TOP]: "50% 0%", [I.BOTTOM_LEFT]: "0% 100%", [I.BOTTOM_RIGHT]: "100% 100%", [I.BOTTOM]: "50% 100%", [I.RIGHT]: "100% 50%", [I.LEFT]: "0% 50%" }, an = Object.entries(Vt).reduce((e, [t, a]) => (e[a] = t, e), {}), bt = [_.TILE, _.TILE_HORIZONTAL, _.TILE_VERTICAL, _.LEGACY_BG_FIT_AND_TILE, _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL, _.LEGACY_BG_FIT_AND_TILE_VERTICAL], On = [_.LEGACY_ORIGINAL_SIZE, _.ORIGINAL_SIZE, _.LEGACY_BG_NORMAL];
663
+ function Zt(e, t, { width: a, height: n }) {
664
+ return e === _.TILE && t.width > a && t.height > n;
665
+ }
666
+ function wn(e, { width: t, height: a }) {
667
+ if (!t || !a) {
668
+ const n = t || Math.min(980, e.width), r = n / e.width;
669
+ return { width: n, height: a || e.height * r };
670
+ }
671
+ return { width: t, height: a };
672
+ }
673
+ function on(e, t, a, n = "center") {
674
+ const r = { img: {}, container: {} };
675
+ if (e === _.SCALE_TO_FILL) {
676
+ const o = t.focalPoint && function(f) {
677
+ const p = `${f.x}% ${f.y}%`;
678
+ return an[p] || "";
679
+ }(t.focalPoint), h = o || n;
680
+ t.focalPoint && !o ? r.img = { objectPosition: zt(t, a, t.focalPoint) } : r.img = { objectPosition: Vt[h] };
681
+ } else [_.LEGACY_ORIGINAL_SIZE, _.ORIGINAL_SIZE].includes(e) ? r.img = { objectFit: "none", top: "auto", left: "auto", right: "auto", bottom: "auto" } : bt.includes(e) && (r.container = { backgroundSize: `${t.width}px ${t.height}px` });
682
+ return r;
683
+ }
684
+ function zt(e, t, a) {
685
+ const { width: n, height: r } = e, { width: o, height: h } = t, { x: f, y: p } = a;
686
+ if (!o || !h) return `${f}% ${p}%`;
687
+ const y = Math.max(o / n, h / r), v = n * y, O = r * y, w = Math.max(0, Math.min(v - o, v * (f / 100) - o / 2)), M = Math.max(0, Math.min(O - h, O * (p / 100) - h / 2));
688
+ return `${w && Math.floor(w / (v - o) * 100)}% ${M && Math.floor(M / (O - h) * 100)}%`;
689
+ }
690
+ const xn = { width: "100%", height: "100%" };
691
+ function Dt(e, t, a, n = {}) {
692
+ const { autoEncode: r = !0, isSEOBot: o, shouldLoadHQImage: h, hasAnimation: f, allowAnimatedTransform: p, encoding: y } = n;
693
+ if (!ze(e, t, a)) return Se;
694
+ const v = !0, O = p ?? v, w = Ue(t.id, f, O);
695
+ if (!w || h) return At(e, t, a, { ...n, autoEncode: r, useSrcset: w });
696
+ const M = { ...a, ...wn(t, a) }, { alignment: S, htmlTag: k } = M, W = Zt(e, t, M), q = function(J, $, { width: Ee, height: ve }, ue = !1) {
697
+ if (ue) return { width: Ee, height: ve };
698
+ const xe = !On.includes(J), ke = Zt(J, $, { width: Ee, height: ve }), ye = !ke && bt.includes(J), Ie = ye ? $.width : Ee, Oe = ye ? $.height : ve, He = xe ? function(Pe, Fe) {
699
+ return Pe > 900 ? Fe ? 0.05 : 0.15 : Pe > 500 ? Fe ? 0.1 : 0.18 : Pe > 200 ? 0.25 : 1;
700
+ }(Ie, Ve($.id)) : 1;
701
+ return { width: ke ? 1920 : Ie * He, height: Oe * He };
702
+ }(e, t, M, o), D = function(J, $, Ee) {
703
+ return Ee ? 0 : bt.includes($) ? 1 : J > 200 ? 2 : 3;
704
+ }(M.width, e, o), Te = function(J, $) {
705
+ const Ee = bt.includes(J) && !$;
706
+ return J === _.SCALE_TO_FILL || Ee ? _.SCALE_TO_FIT : J;
707
+ }(e, W), he = on(e, t, a, S), { uri: fe } = At(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: O, encoding: y, isPlaceholderFlow: v }), { attr: ce = {}, css: le } = At(e, t, { ...M, alignment: S, htmlTag: k }, {});
708
+ return le.img = le.img || {}, le.container = le.container || {}, Object.assign(le.img, he.img, xn), Object.assign(le.container, he.container), { uri: fe, css: le, attr: ce, transformed: !0 };
709
+ }
710
+ function At(e, t, a, n) {
711
+ let r = {};
712
+ if (ze(e, t, a)) {
713
+ const o = re(e, t, a), h = ne(e, t, o, n);
714
+ r.uri = Et(e, t, o, n, h), n?.useSrcset && (r.srcset = function(f, p, y, v, O) {
715
+ const w = y.pixelAspectRatio || 1;
716
+ return { dpr: [`${w === 1 ? O.uri : Et(f, p, { ...y, pixelAspectRatio: 1 }, v)} 1x`, `${w === 2 ? O.uri : Et(f, p, { ...y, pixelAspectRatio: 2 }, v)} 2x`] };
717
+ }(e, t, o, n, r)), Object.assign(r, function(f, p) {
718
+ let y;
719
+ return y = p.htmlTag === me.BG ? jt : p.htmlTag === me.SVG ? z : j, y(f, p);
720
+ }(h, o), { transformed: h.transformed });
721
+ } else r = Se;
722
+ return r;
723
+ }
724
+ const Cn = "https://static.wixstatic.com/media/";
725
+ xt(), xt();
726
+ const Mn = Cn, { STATIC_MEDIA_URL: Wt } = l, sn = ({ fittingType: e, src: t, target: a, options: n }) => {
727
+ const r = Dt(e, t, a, { ...n, autoEncode: !0 });
728
+ return r?.uri && !/^[a-z]+:/.test(r.uri) && (r.uri = `${Wt}${r.uri}`), r;
729
+ }, cn = /^[a-z]+:/, ln = (e) => {
730
+ const { id: t, containerId: a, uri: n, alt: r, name: o = "", role: h, width: f, height: p, displayMode: y, devicePixelRatio: v, quality: O, alignType: w, bgEffectName: M = "", focalPoint: S, upscaleMethod: k, className: W = "", crop: q, imageStyles: D = {}, targetWidth: Te, targetHeight: he, targetScale: fe, onLoad: ce = () => {
731
+ }, onError: le = () => {
732
+ }, shouldUseLQIP: J, containerWidth: $, containerHeight: Ee, getPlaceholder: ve, isInFirstFold: ue, placeholderTransition: xe, socialAttrs: ke, isSEOBot: ye, skipMeasure: Ie, hasAnimation: Oe, encoding: He, isFluidLayout: Pe } = e, Fe = u.useRef(null);
733
+ let Pt = "";
734
+ const rr = xe === "blur", et = u.useRef(null);
735
+ if (!et.current) if (ve || J || ue || ye) {
736
+ const tt = { upscaleMethod: k, ...O || {}, shouldLoadHQImage: ue, isSEOBot: ye, hasAnimation: Oe, encoding: He };
737
+ et.current = (ve || sn)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: $, height: Ee, alignment: w, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed || ue || ye ? "" : "true";
738
+ } else et.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
739
+ const Ft = !ye && (ve || J) && !ue && et.current.transformed, ar = u.useMemo(() => JSON.stringify({ containerId: a, ...a && { containerId: a }, ...w && { alignType: w }, ...Ie && { skipMeasure: !0 }, displayMode: y, ...$ && { targetWidth: $ }, ...Ee && { targetHeight: Ee }, ...Te && { targetWidth: Te }, ...he && { targetHeight: he }, ...fe && { targetScale: fe }, isLQIP: Ft, isSEOBot: ye, lqipTransition: xe, encoding: He, imageData: { width: f, height: p, uri: n, name: o, displayMode: y, hasAnimation: Oe, ...O && { quality: O }, ...v && { devicePixelRatio: v }, ...S && { focalPoint: S }, ...q && { crop: q }, ...k && { upscaleMethod: k } } }), [a, w, Ie, y, $, Ee, Te, he, fe, Ft, ye, xe, He, f, p, n, o, Oe, O, v, S, q, k]), pt = et.current, ir = pt?.uri, _n = pt?.srcset, mt = pt.css?.img, cr = `${N} ${W}`;
740
+ u.useEffect(() => {
741
+ const tt = Fe.current;
742
+ ce && tt?.currentSrc && tt?.complete && ce({ target: tt });
743
+ }, []);
744
+ const or = pt && !pt?.transformed ? `max(${f}px, 100%)` : Te ? `${Te}px` : null;
745
+ return u.createElement("wow-image", { id: t, class: cr, "data-image-info": ar, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Ft && rr ? "" : void 0, "data-is-responsive": Pe ? "true" : void 0, style: or ? { "--wix-img-max-width": or } : {} }, u.createElement("img", { src: ir, ref: Fe, alt: r || "", role: h, style: { ...mt, ...D }, onLoad: ce, onError: le, width: $ || void 0, height: Ee || void 0, ...ke, srcSet: ue ? _n?.dpr?.map((tt) => cn.test(tt) ? tt : `${Wt}${tt}`).join(", ") : void 0, fetchpriority: ue ? "high" : void 0, loading: ue === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
746
+ };
747
+ var qt = "Tj01hh", Jt = (e) => {
748
+ var t, a;
749
+ const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: v, onError: O, containerWidth: w, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || w, fe = y || M, { fallbackSrc: ce, srcset: le, sources: J, css: $ } = q || {}, { width: Ee, height: ve, ...ue } = (q == null || (t = q.css) == null ? void 0 : t.img) || {}, xe = Te === "original_size" ? q == null || (a = q.css) == null ? void 0 : a.img : ue;
750
+ var ke;
751
+ return ce && le && $ ? u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, sizes: he + "px", srcSet: W ? D?.srcset : q?.srcset, id: n, src: ce, alt: r || "", role: o, style: { ...f, ...W ? { ...D == null || (ke = D.css) == null ? void 0 : ke.img } : { ...xe } }, onLoad: v, onError: O, className: (0, B.Z)(h, qt), width: he, height: fe }, k)) : ce && J && $ ? u.createElement("picture", null, J.map((ye) => {
752
+ let { srcset: Ie, media: Oe, sizes: He } = ye;
753
+ return u.createElement("source", { key: Oe, srcSet: Ie, media: Oe, sizes: He });
754
+ }), u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, id: n, src: J[0].fallbackSrc, alt: r || "", role: o, style: { ...f, objectFit: J[0].imgStyle.objectFit, objectPosition: J[0].imgStyle.objectPosition }, onLoad: v, onError: O, className: (0, B.Z)(h, qt), width: he, height: fe }, k))) : u.createElement(ln, e);
755
+ }, Mt = (e) => {
756
+ var t, a, n;
757
+ const { className: r, customIdPrefix: o, getPlaceholder: h, hasAnimation: f, ...p } = e, y = u.useMemo(() => JSON.stringify({ containerId: p.containerId, alignType: p.alignType, fittingType: p.displayMode, hasAnimation: f, imageData: { width: p.width, height: p.height, uri: p.uri, name: p.name, ...p.quality && { quality: p.quality }, displayMode: p.displayMode } }), [p, f]), v = u.useRef(null);
758
+ v.current || (v.current = h ? h({ fittingType: p.displayMode, src: { id: p.uri, width: p.width, height: p.height, name: p.name }, target: { width: p.containerWidth, height: p.containerHeight, alignment: p.alignType, htmlTag: "bg" }, options: { hasAnimation: f, allowAnimatedTransform: !1 } }) : { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} } });
759
+ const O = v.current, w = (t = O?.uri) != null ? t : "", M = (a = (n = O.css) == null ? void 0 : n.container) != null ? a : {}, S = Object.assign(w ? { backgroundImage: "url(" + w + ")" } : {}, M);
760
+ return u.createElement("wix-bg-image", { id: "" + (o || "bgImg_") + p.containerId, class: r, style: S, "data-tiled-image-info": y, "data-has-bg-scroll-effect": p.hasBgScrollEffect || "", "data-bg-effect-name": p.bgEffectName || "", "data-motion-part": "BG_IMG " + p.containerId });
761
+ };
762
+ const Sn = new RegExp("<%= compId %>", "g"), Nn = (e, t) => e.replace(Sn, t);
763
+ var St = (e) => e?.replace(":hover", ""), Rn = "bX9O_S", Pn = "Z_wCwr", Fn = "Jxk_UL", Gn = "K8MSra", kn = "YTb3b4";
764
+ const Hn = { quality: { unsharpMask: { radius: 0.33, amount: 1, threshold: 0 } }, devicePixelRatio: 1 };
765
+ var Bn = (e) => {
766
+ const { id: t, videoRef: a, videoInfo: n, posterImageInfo: r, muted: o, preload: h, loop: f, alt: p, isVideoEnabled: y, getPlaceholder: v, extraClassName: O = "" } = e;
767
+ n.containerId = St(n.containerId);
768
+ const w = u.useMemo(() => JSON.stringify(n), [n]), M = u.createElement(u.Fragment, null, r.filterEffectSvgString && u.createElement("svg", { id: "svg_" + n.containerId, className: kn }, u.createElement("defs", { dangerouslySetInnerHTML: { __html: Nn(r.filterEffectSvgString, n.containerId) } })), u.createElement(Jt, m()({ key: n.videoId + "_img", id: r.containerId + "_img", className: (0, B.Z)(Pn, Fn, "bgVideoposter", O), imageStyles: { width: "100%", height: "100%" } }, r, Hn, { getPlaceholder: v })));
769
+ return y ? u.createElement("wix-video", { id: t, "data-video-info": w, "data-motion-part": "BG_IMG " + n.containerId, class: (0, B.Z)(Rn, "bgVideo", O) }, u.createElement("video", { key: n.videoId + "_video", ref: a, id: n.containerId + "_video", className: Gn, crossOrigin: "anonymous", "aria-label": p, playsInline: !0, preload: h, muted: o, loop: f }), M) : M;
770
+ }, jn = "SUz0WK", Yn = (e) => {
771
+ const { id: t, containerId: a, pageId: n, children: r, bgEffectName: o = "", containerSize: h } = e;
772
+ return u.createElement("wix-bg-media", { id: t, class: jn, "data-container-id": a, "data-container-size": (h?.width || 0) + ", " + (h?.height || 0), "data-page-id": n, "data-bg-effect-name": o, "data-motion-part": "BG_MEDIA " + a }, r);
773
+ };
774
+ const Un = "bgOverlay";
775
+ var un = "m4khSP", $n = "FNxOn5", Vn = (e) => {
776
+ const { imageOverlay: t } = e;
777
+ return u.createElement("div", { "data-testid": Un, className: un }, t && u.createElement(Mt, m()({ customIdPrefix: "bgImgOverlay_", className: $n }, t)));
778
+ };
779
+ const Ht = "bgLayers", Zn = "colorUnderlay", zn = "mediaPadding", Nt = "canvas";
780
+ var dn = "MW5IWV", Dn = "N3eg0s", Rt = "Kv1aVt", Xt = "dLPlxY", hn = "VgO9Yg", Wn = "LWbAav", fn = "yK6aSC", Kt = "K_YxMd", pn = "NGjcJN", Qt = "mNGsUM", qn = "I8xA4L";
781
+ const en = "bgImage";
782
+ var Jn = (e) => {
783
+ const { videoRef: t, canvasRef: a, hasBgFullscreenScrollEffect: n, image: r, backgroundImage: o, backgroundMedia: h, video: f, backgroundOverlay: p, shouldPadMedia: y, extraClass: v = "", shouldRenderUnderlay: O = !f, reducedMotion: w = !1, getPlaceholder: M, hasCanvasAnimation: S, useWixMediaCanvas: k, onClick: W } = e, { onImageLoad: q } = ((Ee) => {
784
+ let { onReady: ve, image: ue } = Ee;
785
+ return (0, u.useEffect)(() => {
786
+ ve && !ue && ve();
787
+ }, [ve, ue]), { onImageLoad: (xe) => {
788
+ ue != null && ue.onLoad && ue.onLoad(xe), ve && ve();
789
+ } };
790
+ })(e), D = St(e.containerId), Te = "img_" + St(D), he = r && u.createElement(Jt, m()({ id: Te, className: (0, B.Z)(Rt, Xt, Qt, en), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Mt, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Xt, Qt, en), getPlaceholder: M })), ce = f && u.createElement(Bn, m()({ id: "videoContainer_" + D }, f, { extraClassName: fn, reducedMotion: w, videoRef: t, getPlaceholder: M })), le = k && a || S ? u.createElement("wix-media-canvas", { "data-container-id": D, class: S ? qn : "" }, he, fe, ce, u.createElement("canvas", { id: D + "webglcanvas", className: (0, B.Z)(Kt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": Nt })) : u.createElement(u.Fragment, null, he, fe, ce, a && u.createElement("canvas", { id: D + "webglcanvas", ref: a, className: (0, B.Z)(Kt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": Nt })), J = h ? u.createElement(Yn, m()({ id: "bgMedia_" + D }, h), le) : u.createElement("div", { id: "bgMedia_" + D, "data-motion-part": "BG_MEDIA " + D, className: hn }, le), $ = p && u.createElement(Vn, p);
791
+ return u.createElement("div", { id: Ht + "_" + D, "data-hook": Ht, "data-motion-part": "BG_LAYER " + D, className: (0, B.Z)(dn, v, { [Dn]: n }), onClick: W }, O && u.createElement("div", { "data-testid": Zn, className: (0, B.Z)(Wn, Rt) }), y ? u.createElement("div", { "data-testid": zn, className: pn }, J, $) : u.createElement(u.Fragment, null, J, $));
792
+ }, Xn = (e) => u.createElement(Jn, e), Kn = "dkukWC", mn = "FRCqDF", Qn = "xnZvZH", er = "MBOSCN";
793
+ const Ot = (e, t, a) => {
794
+ const n = ((r, o) => r ? [...Array(1 + (o || 0)).keys()].reverse().map((h) => u.createElement("div", { key: "divider-layer-" + h, style: { "--divider-layer-i": h }, className: mn, "data-testid": "divider-layer-" + h, "data-divider-layer": h })) : null)(!!t, a);
795
+ return t ? u.createElement("div", { className: (0, B.Z)(Kn, { [Qn]: e === "top", [er]: e === "bottom" }), "data-testid": e + "-divider" }, n) : null;
796
+ };
797
+ var gn = (e) => {
798
+ var t, a;
799
+ const n = u.useMemo(() => {
800
+ var o;
801
+ return Ot("top", e?.hasTopDivider, e == null || (o = e.topLayers) == null ? void 0 : o.size);
802
+ }, [e?.hasTopDivider, e == null || (t = e.topLayers) == null ? void 0 : t.size]), r = u.useMemo(() => {
803
+ var o;
804
+ return Ot("bottom", e?.hasBottomDivider, e == null || (o = e.bottomLayers) == null ? void 0 : o.size);
805
+ }, [e?.hasBottomDivider, e == null || (a = e.bottomLayers) == null ? void 0 : a.size]);
806
+ return u.createElement(u.Fragment, null, n, r);
807
+ }, tr = { root: "section" }, Tt = c("p1x1");
808
+ const tn = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
809
+ tn.displayName = "PauseSmall";
810
+ var nr = tn;
811
+ const nn = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M6.87468837,5.45041947 L12.7318793,8.46657119 C13.20163,8.68731241 13.20163,9.26940918 12.7318793,9.53342881 L6.87468837,12.5495805 C6.58008377,12.7012867 6.00070071,12.5801226 6,12.0161517 L6,5.98384828 C6,5.65247743 6.35266876,5.20682168 6.87468837,5.45041947 Z M7,11.3602529 L11.5834735,9 L7,6.63974714 L7,11.3602529 Z" }));
812
+ nn.displayName = "PlaySmall";
813
+ var d = nn;
814
+ const T = (e, t) => {
815
+ var a;
816
+ const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: v = e.fillLayers || e.background, tagName: O, getPlaceholder: w, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder: le } = e, J = O || "section", { shouldOmitWrapperLayers: $ } = p, Ee = (0, B.Z)(Tt.Z[r], h, o, S ? ae(S.root, ...f) : ae(tr.root, ...f), { [Tt.Z.shouldOmitWrapperLayers]: $ }), ve = !(v == null || !v.video), ue = function(Ie, Oe, He) {
817
+ const Pe = L().useRef(null), Fe = L().useRef(null);
818
+ return Oe ? Fe.current || (Fe.current = { play: () => Pe.current?.play(), load: () => Pe.current?.load(), pause: () => Pe.current?.pause(), stop: () => {
819
+ Pe.current && (Pe.current.pause(), Pe.current.currentTime = 0, He && He(Pe.current));
820
+ } }) : Fe.current = null, L().useImperativeHandle(Ie, () => Fe.current || { load() {
821
+ }, stop() {
822
+ } }), Pe;
823
+ }(t, ve, k), [xe, ke] = u.useState(!(ue != null && (a = ue.current) != null && a.paused));
824
+ return u.createElement(J, m()({ id: n }, (0, R.P5)(e), ((Ie = {}) => {
825
+ const Oe = Ie.tabIndex ?? Ie.tabindex ?? void 0;
826
+ return Oe !== void 0 ? { tabIndex: Number(Oe) } : {};
827
+ })(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " + Tt.Z.section, "data-testid": x, onClick: W, onDoubleClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he }), v && !le && u.createElement(Xn, m()({}, v, { videoRef: ue, getPlaceholder: w })), ve && ce && !le && u.createElement("button", { className: "" + Tt.Z.videoPlayPauseButton, onClick: () => {
828
+ const Ie = ue?.current;
829
+ Ie && (Ie.paused ? Ie.play() : Ie.pause(), ke((Oe) => {
830
+ const He = !Oe, Pe = document.getElementById(n);
831
+ return Pe && Pe.querySelectorAll("video").forEach((Fe) => {
832
+ Fe !== Ie && (He ? Fe.play() : Fe.pause());
833
+ }), He;
834
+ }));
835
+ }, "aria-pressed": xe, "aria-label": fe?.ariaLabel }, xe ? u.createElement(nr, null) : u.createElement(d, null)), M && !le && u.createElement(gn, M), y());
836
+ var ye;
837
+ };
838
+ var C = u.forwardRef(T);
839
+ }, p1x1: function(i, s) {
840
+ s.Z = { "bg-underlay": "LWbAav", bgUnderlay: "LWbAav", "layers-container": "MW5IWV", layersContainer: "MW5IWV", animate: "V7OeEw", headerSectionAddVisibilityTransition: "MDGLoD", move: "BHIo43", fade: "UvF1nu", scrollUp: "YzrQFb", RectangleArea: "xuzjBY", rectangleArea: "xuzjBY", DefaultAreaSkin: "O7Ybkb", defaultAreaSkin: "O7Ybkb", "full-screen-scroll-effect": "GeNLDt", fullScreenScrollEffect: "GeNLDt", "fill-layer": "K8pHFh", fillLayer: "K8pHFh", "image-fill-layer": "TaweqS", imageFillLayer: "TaweqS", "bg-media": "yzHyNT", bgMedia: "yzHyNT", videoFillLayer: "zBFCpO", "alpha-canvas": "xjgrS3", alphaCanvas: "xjgrS3", "media-padding-layer": "b3zSS0", mediaPaddingLayer: "b3zSS0", transforms: "Wsv3ak", "media-canvas": "IiJMfn", mediaCanvas: "IiJMfn", RectangleAreaAfterScroll: "KJgt14", rectangleAreaAfterScroll: "KJgt14", scrolled: "VTwcX7", section: "Gzsk0j", "video-play-pause-button": "MdLl0h", videoPlayPauseButton: "MdLl0h", childrenContainer: "Gmmci1" };
841
+ }, guqK: function(i, s, c) {
842
+ c.d(s, { P5: function() {
843
+ return l;
844
+ } });
845
+ const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
846
+ }, "Xdf/": function(i) {
847
+ i.exports = de;
848
+ }, Fe5V: function(i) {
849
+ function s() {
850
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
851
+ for (var l = 1; l < arguments.length; l++) {
852
+ var g = arguments[l];
853
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
854
+ }
855
+ return c;
856
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
857
+ }
858
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
859
+ }, MRkx: function(i, s, c) {
860
+ function l(g) {
861
+ var m, u, L = "";
862
+ if (typeof g == "string" || typeof g == "number") L += g;
863
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
864
+ else for (m in g) g[m] && (L && (L += " "), L += m);
865
+ return L;
866
+ }
867
+ s.Z = function() {
868
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
869
+ return L;
870
+ };
871
+ } }, we = {};
872
+ function E(i) {
873
+ var s = we[i];
874
+ if (s !== void 0) return s.exports;
875
+ var c = we[i] = { exports: {} };
876
+ return ee[i](c, c.exports, E), c.exports;
877
+ }
878
+ E.n = function(i) {
879
+ var s = i && i.__esModule ? function() {
880
+ return i.default;
881
+ } : function() {
882
+ return i;
883
+ };
884
+ return E.d(s, { a: s }), s;
885
+ }, E.d = function(i, s) {
886
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
887
+ }, E.o = function(i, s) {
888
+ return Object.prototype.hasOwnProperty.call(i, s);
889
+ }, E.r = function(i) {
890
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
891
+ };
892
+ var te = {};
893
+ return function() {
894
+ E.r(te), E.d(te, { default: function() {
895
+ return m;
896
+ } });
897
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E("iCIt"), g = { root: "footer" }, m = (u) => c.createElement(l.default, s()({}, u, { semanticClassNames: g }));
898
+ }(), te;
899
+ }();
900
+ });
901
+ })(dr);
902
+ var Nr = dr.exports;
903
+ const Rr = /* @__PURE__ */ ct(Nr), ua = It(Rr);
904
+ var hr = { exports: {} };
905
+ (function(Me, Xe) {
906
+ (function(de, ee) {
907
+ Me.exports = ee(dt);
908
+ })(typeof self < "u" ? self : st, function(de) {
909
+ return function() {
910
+ var ee = { eV9E: function(i, s, c) {
911
+ c.d(s, { default: function() {
912
+ return Y;
913
+ } });
914
+ var l = c("Fe5V"), g = c.n(l), m = c("Xdf/"), u = c.n(m), L = c("MRkx");
915
+ const B = "wixui-", oe = (I, ...se) => {
916
+ const pe = [];
917
+ return pe.push(`${B}${I}`), se.forEach((me) => {
918
+ me && (pe.push(`${B}${me}`), pe.push(me));
919
+ }), pe.join(" ");
920
+ };
921
+ var ae = c("guqK");
922
+ const R = "mesh-container-content", x = "inline-content", N = (I) => u().createElement("div", { key: I.props.id + "-rotated-wrapper", "data-mesh-id": I.props.id + "-rotated-wrapper" }, I), P = (I, se) => {
923
+ const { id: pe, className: me, wedges: be = [], rotatedComponents: Ne = [], children: Be, fixedComponents: Se = [], extraClassName: Ce = "", renderRotatedComponents: Le = N } = I, ie = u().Children.toArray(Be()), Ge = [], V = [];
924
+ ie.forEach(($e) => Se.includes($e.props.id) ? Ge.push($e) : V.push($e));
925
+ const K = (($e) => {
926
+ const { wedges: ge, rotatedComponents: je, childrenArray: De, renderRotatedComponents: qe } = $e, ze = je.reduce((Ue, Ve) => ({ ...Ue, [Ve]: !0 }), {});
927
+ return [...De.map((Ue) => {
928
+ return ze[Ve = Ue, Ve.props.id.split("__")[0]] ? qe(Ue) : Ue;
929
+ var Ve;
930
+ }), ...ge.map((Ue) => u().createElement("div", { key: Ue, "data-mesh-id": Ue }))];
931
+ })({ childrenArray: V, rotatedComponents: Ne, wedges: be, renderRotatedComponents: Le });
932
+ return u().createElement("div", g()({}, (0, ae.P5)(I), { "data-mesh-id": pe + "inlineContent", "data-testid": x, className: (0, L.Z)(me, Ce), ref: se }), u().createElement("div", { "data-mesh-id": pe + "inlineContent-gridContainer", "data-testid": R }, K), Ge);
933
+ };
934
+ var X = u().forwardRef(P), _e = c("5zKW"), A = { root: "header" };
935
+ const H = "Reverse", G = "up", _ = "down";
936
+ var Y = (I) => {
937
+ const { id: se, skin: pe, children: me, animations: be, meshProps: Ne, className: Be, customClassNames: Se = [], fillLayers: Ce, lang: Le } = I, [ie, Ge] = (0, m.useState)(""), [V, K] = (0, m.useState)(!1), $e = (Ve) => {
938
+ Ge(Ve), K(!1);
939
+ };
940
+ (0, m.useEffect)(() => {
941
+ window.TransitionEvent || setTimeout(() => K(!0), 200);
942
+ }, [ie]);
943
+ const ge = ie && !((Ve) => Ve.endsWith(H))(ie), je = () => {
944
+ const Ve = ((Je) => "" + Je + H)(ie);
945
+ $e(Ve);
946
+ }, De = { onMouseEnter: I.onMouseEnter, onMouseLeave: I.onMouseLeave, onClick: I.onClick, onDoubleClick: I.onDblClick, onFocus: ge ? je : void 0, onTransitionEnd: () => K(!0) };
947
+ let qe = _, ze = 0;
948
+ (0, _e.R)((Ve) => {
949
+ var Je, ht;
950
+ let { currPos: rt, prevPos: Lt } = Ve;
951
+ const nt = rt.y && -1 * rt.y, gt = Lt.y && -1 * Lt.y, _t = be[be.length - 1], Ze = (Je = _t.params) == null || (Je = Je.animations) == null ? void 0 : Je[_t.params.animations.length - 1];
952
+ if (!Ze) return;
953
+ const Ke = ((ht = _t.viewMode) == null ? void 0 : ht.toLowerCase()) === "mobile" ? 1 : ((it) => {
954
+ switch (it) {
955
+ case "HeaderFadeOut":
956
+ return 200;
957
+ case "HeaderHideToTop":
958
+ return 400;
959
+ default:
960
+ return null;
961
+ }
962
+ })(Ze.name);
963
+ Ke && (((it, lt) => {
964
+ qe === _ && it < lt ? (ze = lt, qe = G) : qe === G && it > lt && it >= 0 && lt >= 0 && (ze = lt, qe = _);
965
+ })(nt, gt), ge ? (qe === G && nt + Ke < ze || rt.y === 0) && je() : qe === _ && nt - ze >= Ke && $e(Ze.name));
966
+ }, [ie, be], { disabled: !be || !be.length });
967
+ const Ue = (0, L.Z)(Be, oe(A.root, ...Se));
968
+ return u().createElement(pe, { wrapperProps: { id: se, tagName: "header", eventHandlers: De, className: Ue, transition: ie, transitionEnded: V, tabIndex: "-1", lang: Le }, "data-block-level-container": "HeaderContainer", fillLayers: Ce }, u().createElement(X, g()({ id: se }, Ne, { children: me })));
969
+ };
970
+ }, "5zKW": function(i, s, c) {
971
+ c.d(s, { R: function() {
972
+ return B;
973
+ } });
974
+ var l = c("Xdf/"), g = c("cy2i"), m = c.n(g), u = c("guqK");
975
+ function L() {
976
+ if (!(0, u.jU)()) return { x: 0, y: 0, isAtPageBottom: !1 };
977
+ const { left: oe, top: ae } = document.body.getBoundingClientRect();
978
+ return { x: oe, y: ae, isAtPageBottom: window.innerHeight + window.scrollY === document.body.scrollHeight };
979
+ }
980
+ function B(oe, ae, R) {
981
+ R === void 0 && (R = {}), R = { waitFor: 100, disabled: !1, ...R };
982
+ const x = (0, l.useRef)(L());
983
+ let N = null;
984
+ const P = () => {
985
+ m().measure(() => {
986
+ const X = L(), _e = x.current;
987
+ x.current = X, N = null, m().mutate(() => oe({ prevPos: _e, currPos: X }));
988
+ });
989
+ };
990
+ ((0, u.jU)() ? l.useLayoutEffect : l.useEffect)(() => {
991
+ if (!(0, u.jU)()) return;
992
+ const X = () => {
993
+ N === null && (N = window.setTimeout(P, R.waitFor));
994
+ };
995
+ return R.disabled ? () => {
996
+ } : (window.addEventListener("scroll", X), () => {
997
+ window.removeEventListener("scroll", X), N && window.clearTimeout(N);
998
+ });
999
+ }, ae);
1000
+ }
1001
+ }, cy2i: function(i, s, c) {
1002
+ var l;
1003
+ (function(g) {
1004
+ var m = function() {
1005
+ }, u = g.requestAnimationFrame || g.webkitRequestAnimationFrame || g.mozRequestAnimationFrame || g.msRequestAnimationFrame || function(x) {
1006
+ return setTimeout(x, 16);
1007
+ };
1008
+ function L() {
1009
+ var x = this;
1010
+ x.reads = [], x.writes = [], x.raf = u.bind(g);
1011
+ }
1012
+ function B(x) {
1013
+ x.scheduled || (x.scheduled = !0, x.raf(oe.bind(null, x)), m());
1014
+ }
1015
+ function oe(x) {
1016
+ var N, P = x.writes, X = x.reads;
1017
+ try {
1018
+ m("flushing reads", X.length), x.runTasks(X), m("flushing writes", P.length), x.runTasks(P);
1019
+ } catch (_e) {
1020
+ N = _e;
1021
+ }
1022
+ if (x.scheduled = !1, (X.length || P.length) && B(x), N) {
1023
+ if (m("task errored", N.message), !x.catch) throw N;
1024
+ x.catch(N);
1025
+ }
1026
+ }
1027
+ function ae(x, N) {
1028
+ var P = x.indexOf(N);
1029
+ return !!~P && !!x.splice(P, 1);
1030
+ }
1031
+ L.prototype = { constructor: L, runTasks: function(x) {
1032
+ var N;
1033
+ for (m(); N = x.shift(); ) N();
1034
+ }, measure: function(x, N) {
1035
+ var P = N ? x.bind(N) : x;
1036
+ return this.reads.push(P), B(this), P;
1037
+ }, mutate: function(x, N) {
1038
+ var P = N ? x.bind(N) : x;
1039
+ return this.writes.push(P), B(this), P;
1040
+ }, clear: function(x) {
1041
+ return ae(this.reads, x) || ae(this.writes, x);
1042
+ }, extend: function(x) {
1043
+ if (typeof x != "object") throw new Error("expected object");
1044
+ var N = Object.create(this);
1045
+ return function(P, X) {
1046
+ for (var _e in X) X.hasOwnProperty(_e) && (P[_e] = X[_e]);
1047
+ }(N, x), N.fastdom = this, N.initialize && N.initialize(), N;
1048
+ }, catch: null };
1049
+ var R = g.fastdom = g.fastdom || new L();
1050
+ (l = function() {
1051
+ return R;
1052
+ }.call(R, c, R, i)) === void 0 || (i.exports = l);
1053
+ })(typeof window < "u" ? window : this !== void 0 ? this : globalThis);
1054
+ }, guqK: function(i, s, c) {
1055
+ c.d(s, { P5: function() {
1056
+ return g;
1057
+ }, jU: function() {
1058
+ return l;
1059
+ } });
1060
+ const l = () => typeof window < "u", g = (m) => Object.entries(m).reduce((u, [L, B]) => (L.includes("data-") && (u[L] = B), u), {});
1061
+ }, "Xdf/": function(i) {
1062
+ i.exports = de;
1063
+ }, Fe5V: function(i) {
1064
+ function s() {
1065
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
1066
+ for (var l = 1; l < arguments.length; l++) {
1067
+ var g = arguments[l];
1068
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
1069
+ }
1070
+ return c;
1071
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
1072
+ }
1073
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
1074
+ }, MRkx: function(i, s, c) {
1075
+ function l(g) {
1076
+ var m, u, L = "";
1077
+ if (typeof g == "string" || typeof g == "number") L += g;
1078
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
1079
+ else for (m in g) g[m] && (L && (L += " "), L += m);
1080
+ return L;
1081
+ }
1082
+ s.Z = function() {
1083
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
1084
+ return L;
1085
+ };
1086
+ } }, we = {};
1087
+ function E(i) {
1088
+ var s = we[i];
1089
+ if (s !== void 0) return s.exports;
1090
+ var c = we[i] = { exports: {} };
1091
+ return ee[i].call(c.exports, c, c.exports, E), c.exports;
1092
+ }
1093
+ E.n = function(i) {
1094
+ var s = i && i.__esModule ? function() {
1095
+ return i.default;
1096
+ } : function() {
1097
+ return i;
1098
+ };
1099
+ return E.d(s, { a: s }), s;
1100
+ }, E.d = function(i, s) {
1101
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
1102
+ }, E.o = function(i, s) {
1103
+ return Object.prototype.hasOwnProperty.call(i, s);
1104
+ }, E.r = function(i) {
1105
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
1106
+ };
1107
+ var te = {};
1108
+ return function() {
1109
+ E.r(te), E.d(te, { default: function() {
1110
+ return ae;
1111
+ } });
1112
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E.n(c), g = { screenWidthBackground: "lvxhkV", HeaderHideToTop: "QJjwEo", headerHideToTop: "QJjwEo", HeaderHideToTopReverse: "kdBXfh", headerHideToTopReverse: "kdBXfh", HeaderFadeOut: "MP52zt", headerFadeOut: "MP52zt", transitionEnded: "Bhu9m5", HeaderFadeOutReverse: "LVP8Wf", headerFadeOutReverse: "LVP8Wf", inlineContent: "VrZrC0", centeredContent: "cKxVkc", centeredContentBg: "vlM3HR", root: "AT7o0U" }, m = E("MRkx"), u = (R) => {
1113
+ let { id: x, className: N, skinClassName: P, tagName: X = "div", transition: _e, transitionEnded: A, eventHandlers: H, skinStyles: G, children: _, tabIndex: Y, lang: I } = R;
1114
+ const se = X;
1115
+ return l().createElement(se, s()({ id: x, className: (0, m.Z)(P, _e && G[_e], A && G.transitionEnded, N), tabIndex: Y, lang: I }, H), _);
1116
+ }, L = (R) => {
1117
+ let { wrapperProps: x, children: N, skinStyles: P } = R;
1118
+ return c.createElement(u, s()({}, x, { skinClassName: P.root, skinStyles: P }), c.createElement("div", { className: P.screenWidthBackground }), c.createElement("div", { className: P.centeredContent }, c.createElement("div", { className: P.centeredContentBg }), c.createElement("div", { className: P.inlineContent }, N)));
1119
+ }, B = (R) => l().createElement(L, s()({}, R, { skinStyles: g })), oe = E("eV9E"), ae = (R) => l().createElement(oe.default, s()({}, R, { skin: B }));
1120
+ }(), te;
1121
+ }();
1122
+ });
1123
+ })(hr);
1124
+ var Pr = hr.exports;
1125
+ const Fr = /* @__PURE__ */ ct(Pr);
1126
+ var fr = { exports: {} };
1127
+ (function(Me, Xe) {
1128
+ (function(de, ee) {
1129
+ Me.exports = ee(dt);
1130
+ })(typeof self < "u" ? self : st, function(de) {
1131
+ return function() {
1132
+ var ee = { "Xdf/": function(i) {
1133
+ i.exports = de;
1134
+ } }, we = {};
1135
+ function E(i) {
1136
+ var s = we[i];
1137
+ if (s !== void 0) return s.exports;
1138
+ var c = we[i] = { exports: {} };
1139
+ return ee[i](c, c.exports, E), c.exports;
1140
+ }
1141
+ E.d = function(i, s) {
1142
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
1143
+ }, E.o = function(i, s) {
1144
+ return Object.prototype.hasOwnProperty.call(i, s);
1145
+ }, E.r = function(i) {
1146
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
1147
+ };
1148
+ var te = {};
1149
+ return function() {
1150
+ E.r(te), E.d(te, { default: function() {
1151
+ return l;
1152
+ } });
1153
+ const i = (g) => g.replace(/([A-Z])/g, (m) => `-${m.toLowerCase()}`);
1154
+ var s = E("Xdf/"), c, l = (c = (g) => {
1155
+ let { mapperProps: m, controllerUtils: u } = g;
1156
+ const { updateStyles: L } = u, { compId: B, marginTop: oe, isMobileView: ae, isFixed: R, ...x } = m;
1157
+ var N;
1158
+ return N = () => {
1159
+ var P;
1160
+ const X = (((P = window.document.getElementById(B)) == null ? void 0 : P.clientHeight) || 0) >= window.document.body.clientHeight / 2;
1161
+ ae && R && X && L({ position: "relative !important", marginTop: oe, top: 0 });
1162
+ }, (0, s.useEffect)(N, []), x;
1163
+ }, { useComponentProps: (g, m, u) => {
1164
+ const L = ((B) => ({ ...B, updateStyles: (oe) => {
1165
+ const ae = Object.entries(oe).reduce((R, [x, N]) => {
1166
+ return { ...R, [(P = x, P.startsWith("--") ? x : i(x))]: N === void 0 ? null : N };
1167
+ var P;
1168
+ }, {});
1169
+ B.updateStyles(ae);
1170
+ } }))(u);
1171
+ return c({ mapperProps: g, stateValues: m, controllerUtils: L });
1172
+ } });
1173
+ }(), te;
1174
+ }();
1175
+ });
1176
+ })(fr);
1177
+ var Gr = fr.exports;
1178
+ const kr = /* @__PURE__ */ ct(Gr), da = It(sr(Fr, kr));
1179
+ var pr = { exports: {} };
1180
+ (function(Me, Xe) {
1181
+ (function(de, ee) {
1182
+ Me.exports = ee(dt);
1183
+ })(typeof self < "u" ? self : st, function(de) {
1184
+ return function() {
1185
+ var ee = { iCIt: function(i, s, c) {
1186
+ c.d(s, { default: function() {
1187
+ return C;
1188
+ } });
1189
+ var l = {};
1190
+ c.r(l), c.d(l, { STATIC_MEDIA_URL: function() {
1191
+ return Mn;
1192
+ }, ph: function() {
1193
+ return Dt;
1194
+ } });
1195
+ var g = c("Fe5V"), m = c.n(g), u = c("Xdf/"), L = c.n(u), B = c("MRkx");
1196
+ const oe = "wixui-", ae = (e, ...t) => {
1197
+ const a = [];
1198
+ return e && a.push(`${oe}${e}`), t.forEach((n) => {
1199
+ n && (a.push(`${oe}${n}`), a.push(n));
1200
+ }), a.join(" ");
1201
+ };
1202
+ var R = c("guqK");
1203
+ const x = "section-container";
1204
+ var N = "jhxvbR";
1205
+ const P = "v1", X = 2, _e = 1920, A = 1920, H = 1e3, G = 1e3, _ = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, Y = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, I = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, se = { [I.CENTER]: { x: 0.5, y: 0.5 }, [I.TOP_LEFT]: { x: 0, y: 0 }, [I.TOP_RIGHT]: { x: 1, y: 0 }, [I.TOP]: { x: 0.5, y: 0 }, [I.BOTTOM_LEFT]: { x: 0, y: 1 }, [I.BOTTOM_RIGHT]: { x: 1, y: 1 }, [I.BOTTOM]: { x: 0.5, y: 1 }, [I.RIGHT]: { x: 1, y: 0.5 }, [I.LEFT]: { x: 0, y: 0.5 } }, pe = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, me = { BG: "bg", SVG: "svg" }, be = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, Ne = { classic: 1, super: 2 }, Be = { radius: "0.66", amount: "1.00", threshold: "0.01" }, Se = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Ce = 25e6, Le = [1.5, 2, 4], ie = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Ge = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, V = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, K = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, $e = { AVIF: "AVIF", PAVIF: "PAVIF" };
1206
+ function ge(e, ...t) {
1207
+ return function(...a) {
1208
+ const n = a[a.length - 1] || {}, r = [e[0]];
1209
+ return t.forEach(function(o, h) {
1210
+ const f = Number.isInteger(o) ? a[o] : n[o];
1211
+ r.push(f, e[h + 1]);
1212
+ }), r.join("");
1213
+ };
1214
+ }
1215
+ function je(e) {
1216
+ return e[e.length - 1];
1217
+ }
1218
+ const De = [K.PNG, K.JPEG, K.JPG, K.JPE, K.WIX_ICO_MP, K.WIX_MP, K.WEBP, K.AVIF], qe = [K.JPEG, K.JPG, K.JPE];
1219
+ function ze(e, t, a) {
1220
+ return a && t && !(!(n = t.id) || !n.trim() || n.toLowerCase() === "none") && Object.values(_).includes(e);
1221
+ var n;
1222
+ }
1223
+ function Ue(e, t, a, n) {
1224
+ if (/(^https?)|(^data)|(^\/\/)/.test(e) || !function(h, f, p) {
1225
+ return !(Je(h) || rt(h)) || !f || p;
1226
+ }(e, t, a)) return !1;
1227
+ const r = function(h) {
1228
+ return De.includes(Ze(h));
1229
+ }(e), o = function(h, f, p) {
1230
+ return !(!ht(h) || !f && !p);
1231
+ }(e, a, n);
1232
+ return r || o;
1233
+ }
1234
+ function Ve(e) {
1235
+ return Ze(e) === K.PNG;
1236
+ }
1237
+ function Je(e) {
1238
+ return Ze(e) === K.WEBP;
1239
+ }
1240
+ function ht(e) {
1241
+ return Ze(e) === K.GIF;
1242
+ }
1243
+ function rt(e) {
1244
+ return Ze(e) === K.AVIF;
1245
+ }
1246
+ const Lt = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), nt = ["\\.", "\\*"], gt = "_";
1247
+ function _t(e) {
1248
+ return function(t) {
1249
+ return qe.includes(Ze(t));
1250
+ }(e) ? K.JPG : Ve(e) ? K.PNG : Je(e) ? K.WEBP : ht(e) ? K.GIF : rt(e) ? K.AVIF : K.UNRECOGNIZED;
1251
+ }
1252
+ function Ze(e) {
1253
+ return (/[.]([^.]+)$/.exec(e) && /[.]([^.]+)$/.exec(e)[1] || "").toLowerCase();
1254
+ }
1255
+ function Ke(e, t, a, n, r) {
1256
+ let o;
1257
+ return o = r === Y.FILL ? function(h, f, p, y) {
1258
+ return Math.max(p / h, y / f);
1259
+ }(e, t, a, n) : r === Y.FIT ? function(h, f, p, y) {
1260
+ return Math.min(p / h, y / f);
1261
+ }(e, t, a, n) : 1, o;
1262
+ }
1263
+ function it(e, t, a, n, r, o) {
1264
+ e = e || n.width, t = t || n.height;
1265
+ const { scaleFactor: h, width: f, height: p } = function(y, v, O, w, M) {
1266
+ let S, k = O, W = w;
1267
+ if (S = Ke(y, v, O, w, M), M === Y.FIT && (k = y * S, W = v * S), k && W && k * W > Ce) {
1268
+ const q = Math.sqrt(Ce / (k * W));
1269
+ k *= q, W *= q, S = Ke(y, v, k, W, M);
1270
+ }
1271
+ return { scaleFactor: S, width: k, height: W };
1272
+ }(e, t, n.width * r, n.height * r, a);
1273
+ return function(y, v, O, w, M, S, k) {
1274
+ const { optimizedScaleFactor: W, upscaleMethodValue: q, forceUSM: D } = function(fe, ce, le, J) {
1275
+ return J === "auto" ? function($, Ee) {
1276
+ const ve = vt($, Ee);
1277
+ return { optimizedScaleFactor: ie[ve].maxUpscale, upscaleMethodValue: Ne.classic, forceUSM: !1 };
1278
+ }(fe, ce) : J === "super" ? function($) {
1279
+ return { optimizedScaleFactor: je(Le), upscaleMethodValue: Ne.super, forceUSM: !(Le.includes($) || $ > je(Le)) };
1280
+ }(le) : function($, Ee) {
1281
+ const ve = vt($, Ee);
1282
+ return { optimizedScaleFactor: ie[ve].maxUpscale, upscaleMethodValue: Ne.classic, forceUSM: !1 };
1283
+ }(fe, ce);
1284
+ }(y, v, S, M);
1285
+ let Te = O, he = w;
1286
+ if (S <= W) return { width: Te, height: he, scaleFactor: S, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !1 };
1287
+ switch (k) {
1288
+ case Y.FILL:
1289
+ Te = O * (W / S), he = w * (W / S);
1290
+ break;
1291
+ case Y.FIT:
1292
+ Te = y * W, he = v * W;
1293
+ }
1294
+ return { width: Te, height: he, scaleFactor: W, upscaleMethodValue: q, forceUSM: D, cssUpscaleNeeded: !0 };
1295
+ }(e, t, f, p, o, h, a);
1296
+ }
1297
+ function lt(e, t, a, n) {
1298
+ const r = wt(a) || function(o = I.CENTER) {
1299
+ return se[o];
1300
+ }(n);
1301
+ return { x: Math.max(0, Math.min(e.width - t.width, r.x * e.width - t.width / 2)), y: Math.max(0, Math.min(e.height - t.height, r.y * e.height - t.height / 2)), width: Math.min(e.width, t.width), height: Math.min(e.height, t.height) };
1302
+ }
1303
+ function ut(e) {
1304
+ return e.alignment && pe[e.alignment] || pe[I.CENTER];
1305
+ }
1306
+ function wt(e) {
1307
+ let t;
1308
+ return !e || typeof e.x != "number" || isNaN(e.x) || typeof e.y != "number" || isNaN(e.y) || (t = { x: ot(Math.max(0, Math.min(100, e.x)) / 100, 2), y: ot(Math.max(0, Math.min(100, e.y)) / 100, 2) }), t;
1309
+ }
1310
+ function vt(e, t) {
1311
+ const a = e * t;
1312
+ return a > ie[Ge.HIGH].size ? Ge.HIGH : a > ie[Ge.MEDIUM].size ? Ge.MEDIUM : a > ie[Ge.LOW].size ? Ge.LOW : Ge.TINY;
1313
+ }
1314
+ function ot(e, t) {
1315
+ const a = Math.pow(10, t);
1316
+ return (e * a / a).toFixed(t);
1317
+ }
1318
+ function Bt(e) {
1319
+ return e && e.upscaleMethod && be[e.upscaleMethod.toUpperCase()] || be.AUTO;
1320
+ }
1321
+ function Gt(e, t) {
1322
+ const a = Je(e) || rt(e);
1323
+ return Ze(e) === K.GIF || a && t;
1324
+ }
1325
+ const yt = { isMobile: !1 }, kt = function(e) {
1326
+ return yt[e];
1327
+ };
1328
+ function xt() {
1329
+ if (typeof window < "u" && typeof navigator < "u") {
1330
+ const t = window.matchMedia && window.matchMedia("(max-width: 767px)").matches, a = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
1331
+ e = t && a, yt.isMobile = e;
1332
+ }
1333
+ var e;
1334
+ }
1335
+ function jt(e, t) {
1336
+ const a = { css: { container: {} } }, { css: n } = a, { fittingType: r } = e;
1337
+ switch (r) {
1338
+ case _.ORIGINAL_SIZE:
1339
+ case _.LEGACY_ORIGINAL_SIZE:
1340
+ case _.LEGACY_STRIP_ORIGINAL_SIZE:
1341
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "no-repeat";
1342
+ break;
1343
+ case _.SCALE_TO_FIT:
1344
+ case _.LEGACY_STRIP_SCALE_TO_FIT:
1345
+ n.container.backgroundSize = "contain", n.container.backgroundRepeat = "no-repeat";
1346
+ break;
1347
+ case _.STRETCH:
1348
+ n.container.backgroundSize = "100% 100%", n.container.backgroundRepeat = "no-repeat";
1349
+ break;
1350
+ case _.SCALE_TO_FILL:
1351
+ case _.LEGACY_STRIP_SCALE_TO_FILL:
1352
+ n.container.backgroundSize = "cover", n.container.backgroundRepeat = "no-repeat";
1353
+ break;
1354
+ case _.TILE_HORIZONTAL:
1355
+ case _.LEGACY_STRIP_TILE_HORIZONTAL:
1356
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-x";
1357
+ break;
1358
+ case _.TILE_VERTICAL:
1359
+ case _.LEGACY_STRIP_TILE_VERTICAL:
1360
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-y";
1361
+ break;
1362
+ case _.TILE:
1363
+ case _.LEGACY_STRIP_TILE:
1364
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat";
1365
+ break;
1366
+ case _.LEGACY_STRIP_FIT_AND_TILE:
1367
+ n.container.backgroundSize = "contain", n.container.backgroundRepeat = "repeat";
1368
+ break;
1369
+ case _.FIT_AND_TILE:
1370
+ case _.LEGACY_BG_FIT_AND_TILE:
1371
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat";
1372
+ break;
1373
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
1374
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-x";
1375
+ break;
1376
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
1377
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "repeat-y";
1378
+ break;
1379
+ case _.LEGACY_BG_NORMAL:
1380
+ n.container.backgroundSize = "auto", n.container.backgroundRepeat = "no-repeat";
1381
+ }
1382
+ switch (t.alignment) {
1383
+ case I.CENTER:
1384
+ n.container.backgroundPosition = "center center";
1385
+ break;
1386
+ case I.LEFT:
1387
+ n.container.backgroundPosition = "left center";
1388
+ break;
1389
+ case I.RIGHT:
1390
+ n.container.backgroundPosition = "right center";
1391
+ break;
1392
+ case I.TOP:
1393
+ n.container.backgroundPosition = "center top";
1394
+ break;
1395
+ case I.BOTTOM:
1396
+ n.container.backgroundPosition = "center bottom";
1397
+ break;
1398
+ case I.TOP_RIGHT:
1399
+ n.container.backgroundPosition = "right top";
1400
+ break;
1401
+ case I.TOP_LEFT:
1402
+ n.container.backgroundPosition = "left top";
1403
+ break;
1404
+ case I.BOTTOM_RIGHT:
1405
+ n.container.backgroundPosition = "right bottom";
1406
+ break;
1407
+ case I.BOTTOM_LEFT:
1408
+ n.container.backgroundPosition = "left bottom";
1409
+ }
1410
+ return a;
1411
+ }
1412
+ const Ct = { [I.CENTER]: "center", [I.TOP]: "top", [I.TOP_LEFT]: "top left", [I.TOP_RIGHT]: "top right", [I.BOTTOM]: "bottom", [I.BOTTOM_LEFT]: "bottom left", [I.BOTTOM_RIGHT]: "bottom right", [I.LEFT]: "left", [I.RIGHT]: "right" }, Yt = { position: "absolute", top: "auto", right: "auto", bottom: "auto", left: "auto" };
1413
+ function j(e, t) {
1414
+ const a = { css: { container: {}, img: {} } }, { css: n } = a, { fittingType: r } = e, o = t.alignment;
1415
+ switch (n.container.position = "relative", r) {
1416
+ case _.ORIGINAL_SIZE:
1417
+ case _.LEGACY_ORIGINAL_SIZE:
1418
+ e.parts && e.parts.length ? (n.img.width = e.parts[0].width, n.img.height = e.parts[0].height) : (n.img.width = e.src.width, n.img.height = e.src.height);
1419
+ break;
1420
+ case _.SCALE_TO_FIT:
1421
+ case _.LEGACY_FIT_WIDTH:
1422
+ case _.LEGACY_FIT_HEIGHT:
1423
+ case _.LEGACY_FULL:
1424
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "contain", n.img.objectPosition = Ct[o] || "unset";
1425
+ break;
1426
+ case _.LEGACY_BG_NORMAL:
1427
+ n.img.width = "100%", n.img.height = "100%", n.img.objectFit = "none", n.img.objectPosition = Ct[o] || "unset";
1428
+ break;
1429
+ case _.STRETCH:
1430
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "fill";
1431
+ break;
1432
+ case _.SCALE_TO_FILL:
1433
+ n.img.width = t.width, n.img.height = t.height, n.img.objectFit = "cover";
1434
+ }
1435
+ if (typeof n.img.width == "number" && typeof n.img.height == "number" && (n.img.width !== t.width || n.img.height !== t.height)) {
1436
+ const h = Math.round((t.height - n.img.height) / 2), f = Math.round((t.width - n.img.width) / 2);
1437
+ Object.assign(n.img, Yt, function(p, y, v) {
1438
+ return { [I.TOP_LEFT]: { top: 0, left: 0 }, [I.TOP_RIGHT]: { top: 0, right: 0 }, [I.TOP]: { top: 0, left: y }, [I.BOTTOM_LEFT]: { bottom: 0, left: 0 }, [I.BOTTOM_RIGHT]: { bottom: 0, right: 0 }, [I.BOTTOM]: { bottom: 0, left: y }, [I.RIGHT]: { top: p, right: 0 }, [I.LEFT]: { top: p, left: 0 }, [I.CENTER]: { width: v.width, height: v.height, objectFit: "none" } };
1439
+ }(h, f, t)[o]);
1440
+ }
1441
+ return a;
1442
+ }
1443
+ function z(e, t) {
1444
+ const a = { css: { container: {} }, attr: { container: {}, img: {} } }, { css: n, attr: r } = a, { fittingType: o } = e, h = t.alignment, { width: f, height: p } = e.src;
1445
+ let y;
1446
+ switch (n.container.position = "relative", o) {
1447
+ case _.ORIGINAL_SIZE:
1448
+ case _.LEGACY_ORIGINAL_SIZE:
1449
+ case _.TILE:
1450
+ e.parts && e.parts.length ? (r.img.width = e.parts[0].width, r.img.height = e.parts[0].height) : (r.img.width = f, r.img.height = p), r.img.preserveAspectRatio = "xMidYMid slice";
1451
+ break;
1452
+ case _.SCALE_TO_FIT:
1453
+ case _.LEGACY_FIT_WIDTH:
1454
+ case _.LEGACY_FIT_HEIGHT:
1455
+ case _.LEGACY_FULL:
1456
+ r.img.width = "100%", r.img.height = "100%", r.img.transform = "", r.img.preserveAspectRatio = "";
1457
+ break;
1458
+ case _.STRETCH:
1459
+ r.img.width = t.width, r.img.height = t.height, r.img.x = 0, r.img.y = 0, r.img.transform = "", r.img.preserveAspectRatio = "none";
1460
+ break;
1461
+ case _.SCALE_TO_FILL:
1462
+ Ue(e.src.id) ? (r.img.width = t.width, r.img.height = t.height) : (y = function(v, O, w, M, S) {
1463
+ const k = Ke(v, O, w, M, S);
1464
+ return { width: Math.round(v * k), height: Math.round(O * k) };
1465
+ }(f, p, t.width, t.height, Y.FILL), r.img.width = y.width, r.img.height = y.height), r.img.x = 0, r.img.y = 0, r.img.transform = "", r.img.preserveAspectRatio = "xMidYMid slice";
1466
+ }
1467
+ if (typeof r.img.width == "number" && typeof r.img.height == "number" && (r.img.width !== t.width || r.img.height !== t.height)) {
1468
+ let v, O, w = 0, M = 0;
1469
+ o === _.TILE ? (v = t.width % r.img.width, O = t.height % r.img.height) : (v = t.width - r.img.width, O = t.height - r.img.height);
1470
+ const S = Math.round(v / 2), k = Math.round(O / 2);
1471
+ switch (h) {
1472
+ case I.TOP_LEFT:
1473
+ w = 0, M = 0;
1474
+ break;
1475
+ case I.TOP:
1476
+ w = S, M = 0;
1477
+ break;
1478
+ case I.TOP_RIGHT:
1479
+ w = v, M = 0;
1480
+ break;
1481
+ case I.LEFT:
1482
+ w = 0, M = k;
1483
+ break;
1484
+ case I.CENTER:
1485
+ w = S, M = k;
1486
+ break;
1487
+ case I.RIGHT:
1488
+ w = v, M = k;
1489
+ break;
1490
+ case I.BOTTOM_LEFT:
1491
+ w = 0, M = O;
1492
+ break;
1493
+ case I.BOTTOM:
1494
+ w = S, M = O;
1495
+ break;
1496
+ case I.BOTTOM_RIGHT:
1497
+ w = v, M = O;
1498
+ }
1499
+ r.img.x = w, r.img.y = M;
1500
+ }
1501
+ return r.container.width = t.width, r.container.height = t.height, r.container.viewBox = [0, 0, t.width, t.height].join(" "), a;
1502
+ }
1503
+ function Q(e, t, a) {
1504
+ let n;
1505
+ switch (t.crop && (n = function(r, o) {
1506
+ const h = Math.max(0, Math.min(r.width, o.x + o.width) - Math.max(0, o.x)), f = Math.max(0, Math.min(r.height, o.y + o.height) - Math.max(0, o.y));
1507
+ return h && f && (r.width !== h || r.height !== f) ? { x: Math.max(0, o.x), y: Math.max(0, o.y), width: h, height: f } : null;
1508
+ }(t, t.crop), n && (e.src.width = n.width, e.src.height = n.height, e.src.isCropped = !0, e.parts.push(F(n)))), e.fittingType) {
1509
+ case _.SCALE_TO_FIT:
1510
+ case _.LEGACY_FIT_WIDTH:
1511
+ case _.LEGACY_FIT_HEIGHT:
1512
+ case _.LEGACY_FULL:
1513
+ case _.FIT_AND_TILE:
1514
+ case _.LEGACY_BG_FIT_AND_TILE:
1515
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
1516
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
1517
+ case _.LEGACY_BG_NORMAL:
1518
+ e.parts.push(b(e, a));
1519
+ break;
1520
+ case _.SCALE_TO_FILL:
1521
+ e.parts.push(function(r, o) {
1522
+ const h = it(r.src.width, r.src.height, Y.FILL, o, r.devicePixelRatio, r.upscaleMethod), f = wt(r.focalPoint);
1523
+ return { transformType: f ? Y.FILL_FOCAL : Y.FILL, width: Math.round(h.width), height: Math.round(h.height), alignment: ut(o), focalPointX: f && f.x, focalPointY: f && f.y, upscale: h.scaleFactor > 1, forceUSM: h.forceUSM, scaleFactor: h.scaleFactor, cssUpscaleNeeded: h.cssUpscaleNeeded, upscaleMethodValue: h.upscaleMethodValue };
1524
+ }(e, a));
1525
+ break;
1526
+ case _.STRETCH:
1527
+ e.parts.push(function(r, o) {
1528
+ const h = Ke(r.src.width, r.src.height, o.width, o.height, Y.FILL), f = { ...o };
1529
+ return f.width = r.src.width * h, f.height = r.src.height * h, b(r, f);
1530
+ }(e, a));
1531
+ break;
1532
+ case _.TILE_HORIZONTAL:
1533
+ case _.TILE_VERTICAL:
1534
+ case _.TILE:
1535
+ case _.LEGACY_ORIGINAL_SIZE:
1536
+ case _.ORIGINAL_SIZE:
1537
+ n = lt(e.src, a, e.focalPoint, a.alignment), e.src.isCropped ? (Object.assign(e.parts[0], n), e.src.width = n.width, e.src.height = n.height) : e.parts.push(F(n));
1538
+ break;
1539
+ case _.LEGACY_STRIP_TILE_HORIZONTAL:
1540
+ case _.LEGACY_STRIP_TILE_VERTICAL:
1541
+ case _.LEGACY_STRIP_TILE:
1542
+ case _.LEGACY_STRIP_ORIGINAL_SIZE:
1543
+ e.parts.push(function(r) {
1544
+ return { transformType: Y.LEGACY_CROP, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
1545
+ }(a));
1546
+ break;
1547
+ case _.LEGACY_STRIP_SCALE_TO_FIT:
1548
+ case _.LEGACY_STRIP_FIT_AND_TILE:
1549
+ e.parts.push(function(r) {
1550
+ return { transformType: Y.FIT, width: Math.round(r.width), height: Math.round(r.height), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
1551
+ }(a));
1552
+ break;
1553
+ case _.LEGACY_STRIP_SCALE_TO_FILL:
1554
+ e.parts.push(function(r) {
1555
+ return { transformType: Y.LEGACY_FILL, width: Math.round(r.width), height: Math.round(r.height), alignment: ut(r), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
1556
+ }(a));
1557
+ }
1558
+ }
1559
+ function b(e, t) {
1560
+ const a = it(e.src.width, e.src.height, Y.FIT, t, e.devicePixelRatio, e.upscaleMethod);
1561
+ return { transformType: !e.src.width || !e.src.height ? Y.FIT : Y.FILL, width: Math.round(a.width), height: Math.round(a.height), alignment: pe.center, upscale: a.scaleFactor > 1, forceUSM: a.forceUSM, scaleFactor: a.scaleFactor, cssUpscaleNeeded: a.cssUpscaleNeeded, upscaleMethodValue: a.upscaleMethodValue };
1562
+ }
1563
+ function F(e) {
1564
+ return { transformType: Y.CROP, x: Math.round(e.x), y: Math.round(e.y), width: Math.round(e.width), height: Math.round(e.height), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
1565
+ }
1566
+ function Z(e, t) {
1567
+ t = t || {}, e.quality = function(a, n) {
1568
+ const r = a.fileType === K.PNG, o = a.fileType === K.JPG, h = a.fileType === K.WEBP, f = a.fileType === K.AVIF;
1569
+ if (o || r || h || f) {
1570
+ const O = je(a.parts), w = (y = O.width, v = O.height, ie[vt(y, v)].quality);
1571
+ let M = n.quality && n.quality >= 5 && n.quality <= 90 ? n.quality : w;
1572
+ return M = r ? M + 5 : M, M;
1573
+ }
1574
+ var y, v;
1575
+ return 0;
1576
+ }(e, t), e.progressive = function(a) {
1577
+ return a.progressive !== !1;
1578
+ }(t), e.watermark = function(a) {
1579
+ return a.watermark;
1580
+ }(t), e.autoEncode = t.autoEncode ?? !0, e.encoding = t?.encoding, e.unsharpMask = function(a, n) {
1581
+ if (function(o) {
1582
+ const h = typeof (o = o || {}).radius == "number" && !isNaN(o.radius) && o.radius >= 0.1 && o.radius <= 500, f = typeof o.amount == "number" && !isNaN(o.amount) && o.amount >= 0 && o.amount <= 10, p = typeof o.threshold == "number" && !isNaN(o.threshold) && o.threshold >= 0 && o.threshold <= 255;
1583
+ return h && f && p;
1584
+ }(n.unsharpMask)) return { radius: ot(n.unsharpMask?.radius, 2), amount: ot(n.unsharpMask?.amount, 2), threshold: ot(n.unsharpMask?.threshold, 2) };
1585
+ if ((typeof (r = (r = n.unsharpMask) || {}).radius != "number" || isNaN(r.radius) || r.radius !== 0 || typeof r.amount != "number" || isNaN(r.amount) || r.amount !== 0 || typeof r.threshold != "number" || isNaN(r.threshold) || r.threshold !== 0) && function(o) {
1586
+ const h = je(o.parts);
1587
+ return !(h.scaleFactor >= 1) || h.forceUSM || h.transformType === Y.FIT;
1588
+ }(a)) return Be;
1589
+ var r;
1590
+ }(e, t), e.filters = function(a) {
1591
+ const n = a.filters || {}, r = {};
1592
+ return U(n[V.CONTRAST], -100, 100) && (r[V.CONTRAST] = n[V.CONTRAST]), U(n[V.BRIGHTNESS], -100, 100) && (r[V.BRIGHTNESS] = n[V.BRIGHTNESS]), U(n[V.SATURATION], -100, 100) && (r[V.SATURATION] = n[V.SATURATION]), U(n[V.HUE], -180, 180) && (r[V.HUE] = n[V.HUE]), U(n[V.BLUR], 0, 100) && (r[V.BLUR] = n[V.BLUR]), r;
1593
+ }(t);
1594
+ }
1595
+ function U(e, t, a) {
1596
+ return typeof e == "number" && !isNaN(e) && e !== 0 && e >= t && e <= a;
1597
+ }
1598
+ function ne(e, t, a, n) {
1599
+ const r = function(w) {
1600
+ return w?.isSEOBot ?? !1;
1601
+ }(n), o = _t(t.id), h = function(w, M) {
1602
+ const S = /\.([^.]*)$/, k = new RegExp(`(${Lt.concat(nt).join("|")})`, "g");
1603
+ if (M && M.length) {
1604
+ let q = M;
1605
+ const D = M.match(S);
1606
+ return D && De.includes(D[1]) && (q = M.replace(S, "")), encodeURIComponent(q).replace(k, gt);
1607
+ }
1608
+ const W = w.match(/\/(.*?)$/);
1609
+ return (W ? W[1] : w).replace(S, "");
1610
+ }(t.id, t.name), f = r ? 1 : function(w) {
1611
+ return Math.min(w.pixelAspectRatio || 1, X);
1612
+ }(a), p = Ze(t.id), y = p, v = Ue(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation), O = { fileName: h, fileExtension: p, fileType: o, fittingType: e, preferredExtension: y, src: { id: t.id, width: t.width, height: t.height, isCropped: !1, isAnimated: Gt(t.id, n?.hasAnimation) }, focalPoint: { x: t.focalPoint && t.focalPoint.x, y: t.focalPoint && t.focalPoint.y }, parts: [], devicePixelRatio: f, quality: 0, upscaleMethod: Bt(n), progressive: !0, watermark: "", unsharpMask: {}, filters: {}, transformed: v, allowFullGIFTransformation: n?.allowFullGIFTransformation, isPlaceholderFlow: n?.isPlaceholderFlow };
1613
+ return v && (Q(O, t, a), Z(O, n)), O;
1614
+ }
1615
+ function re(e, t, a) {
1616
+ const n = { ...a }, r = kt("isMobile");
1617
+ switch (e) {
1618
+ case _.LEGACY_BG_FIT_AND_TILE:
1619
+ case _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
1620
+ case _.LEGACY_BG_FIT_AND_TILE_VERTICAL:
1621
+ case _.LEGACY_BG_NORMAL:
1622
+ const o = r ? H : _e, h = r ? G : A;
1623
+ n.width = Math.min(o, t.width), n.height = Math.min(h, Math.round(n.width / (t.width / t.height))), n.pixelAspectRatio = 1;
1624
+ }
1625
+ return n;
1626
+ }
1627
+ const Ae = ge`fit/w_${"width"},h_${"height"}`, Re = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, Ye = ge`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, We = ge`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Qe = ge`crop/w_${"width"},h_${"height"},al_${"alignment"}`, ft = ge`fill/w_${"width"},h_${"height"},al_${"alignment"}`, at = ge`,lg_${"upscaleMethodValue"}`, En = ge`,q_${"quality"}`, Ut = ge`,quality_auto`, Tn = ge`,usm_${"radius"}_${"amount"}_${"threshold"}`, In = ge`,bl`, vn = ge`,wm_${"watermark"}`, bn = { [V.CONTRAST]: ge`,con_${"contrast"}`, [V.BRIGHTNESS]: ge`,br_${"brightness"}`, [V.SATURATION]: ge`,sat_${"saturation"}`, [V.HUE]: ge`,hue_${"hue"}`, [V.BLUR]: ge`,blur_${"blur"}` }, Ln = ge`,enc_auto`, yn = ge`,enc_avif`, $t = ge`,enc_pavif`, rn = ge`,pstr`, An = ge`,anm_all`;
1628
+ function Et(e, t, a, n = {}, r) {
1629
+ if (Ue(t.id, n?.hasAnimation, n?.allowAnimatedTransform, n?.allowFullGIFTransformation)) {
1630
+ if (Je(t.id) || rt(t.id)) {
1631
+ const { alignment: o, ...h } = a;
1632
+ t.focalPoint = { x: void 0, y: void 0 }, delete t?.crop, r = ne(e, t, h, n);
1633
+ } else r = r || ne(e, t, a, n);
1634
+ return function(o) {
1635
+ const h = [];
1636
+ o.parts.forEach((p) => {
1637
+ switch (p.transformType) {
1638
+ case Y.CROP:
1639
+ h.push(We(p));
1640
+ break;
1641
+ case Y.LEGACY_CROP:
1642
+ h.push(Qe(p));
1643
+ break;
1644
+ case Y.LEGACY_FILL:
1645
+ let y = ft(p);
1646
+ p.upscale && (y += at(p)), h.push(y);
1647
+ break;
1648
+ case Y.FIT:
1649
+ let v = Ae(p);
1650
+ p.upscale && (v += at(p)), h.push(v);
1651
+ break;
1652
+ case Y.FILL:
1653
+ let O = Re(p);
1654
+ p.upscale && (O += at(p)), h.push(O);
1655
+ break;
1656
+ case Y.FILL_FOCAL:
1657
+ let w = Ye(p);
1658
+ p.upscale && (w += at(p)), h.push(w);
1659
+ }
1660
+ });
1661
+ let f = h.join("/");
1662
+ if (o.quality && (f += En(o)), o.unsharpMask && (f += Tn(o.unsharpMask)), o.progressive || (f += In(o)), o.watermark && (f += vn(o)), o.filters && (f += Object.keys(o.filters).map((p) => bn[p](o.filters)).join("")), o.fileType !== K.GIF && (o.encoding === $e.AVIF ? (f += yn(o), f += Ut(o)) : o.encoding === $e.PAVIF ? (f += $t(o), f += Ut(o)) : o.autoEncode && (f += Ln(o))), o.src?.isAnimated && o.transformed) {
1663
+ const p = ht(o.src.id), y = o.isPlaceholderFlow === !0, v = o.allowFullGIFTransformation === !0;
1664
+ y ? f += rn(o) : p && v && (f += An(o));
1665
+ }
1666
+ return `${o.src.id}/${P}/${f}/${o.fileName}.${o.preferredExtension}`;
1667
+ }(r);
1668
+ }
1669
+ return t.id;
1670
+ }
1671
+ const Vt = { [I.CENTER]: "50% 50%", [I.TOP_LEFT]: "0% 0%", [I.TOP_RIGHT]: "100% 0%", [I.TOP]: "50% 0%", [I.BOTTOM_LEFT]: "0% 100%", [I.BOTTOM_RIGHT]: "100% 100%", [I.BOTTOM]: "50% 100%", [I.RIGHT]: "100% 50%", [I.LEFT]: "0% 50%" }, an = Object.entries(Vt).reduce((e, [t, a]) => (e[a] = t, e), {}), bt = [_.TILE, _.TILE_HORIZONTAL, _.TILE_VERTICAL, _.LEGACY_BG_FIT_AND_TILE, _.LEGACY_BG_FIT_AND_TILE_HORIZONTAL, _.LEGACY_BG_FIT_AND_TILE_VERTICAL], On = [_.LEGACY_ORIGINAL_SIZE, _.ORIGINAL_SIZE, _.LEGACY_BG_NORMAL];
1672
+ function Zt(e, t, { width: a, height: n }) {
1673
+ return e === _.TILE && t.width > a && t.height > n;
1674
+ }
1675
+ function wn(e, { width: t, height: a }) {
1676
+ if (!t || !a) {
1677
+ const n = t || Math.min(980, e.width), r = n / e.width;
1678
+ return { width: n, height: a || e.height * r };
1679
+ }
1680
+ return { width: t, height: a };
1681
+ }
1682
+ function on(e, t, a, n = "center") {
1683
+ const r = { img: {}, container: {} };
1684
+ if (e === _.SCALE_TO_FILL) {
1685
+ const o = t.focalPoint && function(f) {
1686
+ const p = `${f.x}% ${f.y}%`;
1687
+ return an[p] || "";
1688
+ }(t.focalPoint), h = o || n;
1689
+ t.focalPoint && !o ? r.img = { objectPosition: zt(t, a, t.focalPoint) } : r.img = { objectPosition: Vt[h] };
1690
+ } else [_.LEGACY_ORIGINAL_SIZE, _.ORIGINAL_SIZE].includes(e) ? r.img = { objectFit: "none", top: "auto", left: "auto", right: "auto", bottom: "auto" } : bt.includes(e) && (r.container = { backgroundSize: `${t.width}px ${t.height}px` });
1691
+ return r;
1692
+ }
1693
+ function zt(e, t, a) {
1694
+ const { width: n, height: r } = e, { width: o, height: h } = t, { x: f, y: p } = a;
1695
+ if (!o || !h) return `${f}% ${p}%`;
1696
+ const y = Math.max(o / n, h / r), v = n * y, O = r * y, w = Math.max(0, Math.min(v - o, v * (f / 100) - o / 2)), M = Math.max(0, Math.min(O - h, O * (p / 100) - h / 2));
1697
+ return `${w && Math.floor(w / (v - o) * 100)}% ${M && Math.floor(M / (O - h) * 100)}%`;
1698
+ }
1699
+ const xn = { width: "100%", height: "100%" };
1700
+ function Dt(e, t, a, n = {}) {
1701
+ const { autoEncode: r = !0, isSEOBot: o, shouldLoadHQImage: h, hasAnimation: f, allowAnimatedTransform: p, encoding: y } = n;
1702
+ if (!ze(e, t, a)) return Se;
1703
+ const v = !0, O = p ?? v, w = Ue(t.id, f, O);
1704
+ if (!w || h) return At(e, t, a, { ...n, autoEncode: r, useSrcset: w });
1705
+ const M = { ...a, ...wn(t, a) }, { alignment: S, htmlTag: k } = M, W = Zt(e, t, M), q = function(J, $, { width: Ee, height: ve }, ue = !1) {
1706
+ if (ue) return { width: Ee, height: ve };
1707
+ const xe = !On.includes(J), ke = Zt(J, $, { width: Ee, height: ve }), ye = !ke && bt.includes(J), Ie = ye ? $.width : Ee, Oe = ye ? $.height : ve, He = xe ? function(Pe, Fe) {
1708
+ return Pe > 900 ? Fe ? 0.05 : 0.15 : Pe > 500 ? Fe ? 0.1 : 0.18 : Pe > 200 ? 0.25 : 1;
1709
+ }(Ie, Ve($.id)) : 1;
1710
+ return { width: ke ? 1920 : Ie * He, height: Oe * He };
1711
+ }(e, t, M, o), D = function(J, $, Ee) {
1712
+ return Ee ? 0 : bt.includes($) ? 1 : J > 200 ? 2 : 3;
1713
+ }(M.width, e, o), Te = function(J, $) {
1714
+ const Ee = bt.includes(J) && !$;
1715
+ return J === _.SCALE_TO_FILL || Ee ? _.SCALE_TO_FIT : J;
1716
+ }(e, W), he = on(e, t, a, S), { uri: fe } = At(Te, t, { ...q, alignment: S, htmlTag: k }, { autoEncode: r, filters: D ? { blur: D } : {}, hasAnimation: f, allowAnimatedTransform: O, encoding: y, isPlaceholderFlow: v }), { attr: ce = {}, css: le } = At(e, t, { ...M, alignment: S, htmlTag: k }, {});
1717
+ return le.img = le.img || {}, le.container = le.container || {}, Object.assign(le.img, he.img, xn), Object.assign(le.container, he.container), { uri: fe, css: le, attr: ce, transformed: !0 };
1718
+ }
1719
+ function At(e, t, a, n) {
1720
+ let r = {};
1721
+ if (ze(e, t, a)) {
1722
+ const o = re(e, t, a), h = ne(e, t, o, n);
1723
+ r.uri = Et(e, t, o, n, h), n?.useSrcset && (r.srcset = function(f, p, y, v, O) {
1724
+ const w = y.pixelAspectRatio || 1;
1725
+ return { dpr: [`${w === 1 ? O.uri : Et(f, p, { ...y, pixelAspectRatio: 1 }, v)} 1x`, `${w === 2 ? O.uri : Et(f, p, { ...y, pixelAspectRatio: 2 }, v)} 2x`] };
1726
+ }(e, t, o, n, r)), Object.assign(r, function(f, p) {
1727
+ let y;
1728
+ return y = p.htmlTag === me.BG ? jt : p.htmlTag === me.SVG ? z : j, y(f, p);
1729
+ }(h, o), { transformed: h.transformed });
1730
+ } else r = Se;
1731
+ return r;
1732
+ }
1733
+ const Cn = "https://static.wixstatic.com/media/";
1734
+ xt(), xt();
1735
+ const Mn = Cn, { STATIC_MEDIA_URL: Wt } = l, sn = ({ fittingType: e, src: t, target: a, options: n }) => {
1736
+ const r = Dt(e, t, a, { ...n, autoEncode: !0 });
1737
+ return r?.uri && !/^[a-z]+:/.test(r.uri) && (r.uri = `${Wt}${r.uri}`), r;
1738
+ }, cn = /^[a-z]+:/, ln = (e) => {
1739
+ const { id: t, containerId: a, uri: n, alt: r, name: o = "", role: h, width: f, height: p, displayMode: y, devicePixelRatio: v, quality: O, alignType: w, bgEffectName: M = "", focalPoint: S, upscaleMethod: k, className: W = "", crop: q, imageStyles: D = {}, targetWidth: Te, targetHeight: he, targetScale: fe, onLoad: ce = () => {
1740
+ }, onError: le = () => {
1741
+ }, shouldUseLQIP: J, containerWidth: $, containerHeight: Ee, getPlaceholder: ve, isInFirstFold: ue, placeholderTransition: xe, socialAttrs: ke, isSEOBot: ye, skipMeasure: Ie, hasAnimation: Oe, encoding: He, isFluidLayout: Pe } = e, Fe = u.useRef(null);
1742
+ let Pt = "";
1743
+ const rr = xe === "blur", et = u.useRef(null);
1744
+ if (!et.current) if (ve || J || ue || ye) {
1745
+ const tt = { upscaleMethod: k, ...O || {}, shouldLoadHQImage: ue, isSEOBot: ye, hasAnimation: Oe, encoding: He };
1746
+ et.current = (ve || sn)({ fittingType: y, src: { id: n, width: f, height: p, crop: q, name: o, focalPoint: S }, target: { width: $, height: Ee, alignment: w, htmlTag: "img" }, options: tt }), Pt = !et.current.transformed || ue || ye ? "" : "true";
1747
+ } else et.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
1748
+ const Ft = !ye && (ve || J) && !ue && et.current.transformed, ar = u.useMemo(() => JSON.stringify({ containerId: a, ...a && { containerId: a }, ...w && { alignType: w }, ...Ie && { skipMeasure: !0 }, displayMode: y, ...$ && { targetWidth: $ }, ...Ee && { targetHeight: Ee }, ...Te && { targetWidth: Te }, ...he && { targetHeight: he }, ...fe && { targetScale: fe }, isLQIP: Ft, isSEOBot: ye, lqipTransition: xe, encoding: He, imageData: { width: f, height: p, uri: n, name: o, displayMode: y, hasAnimation: Oe, ...O && { quality: O }, ...v && { devicePixelRatio: v }, ...S && { focalPoint: S }, ...q && { crop: q }, ...k && { upscaleMethod: k } } }), [a, w, Ie, y, $, Ee, Te, he, fe, Ft, ye, xe, He, f, p, n, o, Oe, O, v, S, q, k]), pt = et.current, ir = pt?.uri, _n = pt?.srcset, mt = pt.css?.img, cr = `${N} ${W}`;
1749
+ u.useEffect(() => {
1750
+ const tt = Fe.current;
1751
+ ce && tt?.currentSrc && tt?.complete && ce({ target: tt });
1752
+ }, []);
1753
+ const or = pt && !pt?.transformed ? `max(${f}px, 100%)` : Te ? `${Te}px` : null;
1754
+ return u.createElement("wow-image", { id: t, class: cr, "data-image-info": ar, "data-motion-part": `BG_IMG ${a}`, "data-bg-effect-name": M, "data-has-ssr-src": Pt, "data-animate-blur": !ye && Ft && rr ? "" : void 0, "data-is-responsive": Pe ? "true" : void 0, style: or ? { "--wix-img-max-width": or } : {} }, u.createElement("img", { src: ir, ref: Fe, alt: r || "", role: h, style: { ...mt, ...D }, onLoad: ce, onError: le, width: $ || void 0, height: Ee || void 0, ...ke, srcSet: ue ? _n?.dpr?.map((tt) => cn.test(tt) ? tt : `${Wt}${tt}`).join(", ") : void 0, fetchpriority: ue ? "high" : void 0, loading: ue === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
1755
+ };
1756
+ var qt = "Tj01hh", Jt = (e) => {
1757
+ var t, a;
1758
+ const { id: n, alt: r, role: o, className: h, imageStyles: f = {}, targetWidth: p, targetHeight: y, onLoad: v, onError: O, containerWidth: w, containerHeight: M, isInFirstFold: S, socialAttrs: k, skipMeasure: W, responsiveImageProps: q, zoomedImageResponsiveOverride: D, displayMode: Te } = e, he = p || w, fe = y || M, { fallbackSrc: ce, srcset: le, sources: J, css: $ } = q || {}, { width: Ee, height: ve, ...ue } = (q == null || (t = q.css) == null ? void 0 : t.img) || {}, xe = Te === "original_size" ? q == null || (a = q.css) == null ? void 0 : a.img : ue;
1759
+ var ke;
1760
+ return ce && le && $ ? u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, sizes: he + "px", srcSet: W ? D?.srcset : q?.srcset, id: n, src: ce, alt: r || "", role: o, style: { ...f, ...W ? { ...D == null || (ke = D.css) == null ? void 0 : ke.img } : { ...xe } }, onLoad: v, onError: O, className: (0, B.Z)(h, qt), width: he, height: fe }, k)) : ce && J && $ ? u.createElement("picture", null, J.map((ye) => {
1761
+ let { srcset: Ie, media: Oe, sizes: He } = ye;
1762
+ return u.createElement("source", { key: Oe, srcSet: Ie, media: Oe, sizes: He });
1763
+ }), u.createElement("img", m()({ fetchpriority: S ? "high" : void 0, loading: S === !1 ? "lazy" : void 0, id: n, src: J[0].fallbackSrc, alt: r || "", role: o, style: { ...f, objectFit: J[0].imgStyle.objectFit, objectPosition: J[0].imgStyle.objectPosition }, onLoad: v, onError: O, className: (0, B.Z)(h, qt), width: he, height: fe }, k))) : u.createElement(ln, e);
1764
+ }, Mt = (e) => {
1765
+ var t, a, n;
1766
+ const { className: r, customIdPrefix: o, getPlaceholder: h, hasAnimation: f, ...p } = e, y = u.useMemo(() => JSON.stringify({ containerId: p.containerId, alignType: p.alignType, fittingType: p.displayMode, hasAnimation: f, imageData: { width: p.width, height: p.height, uri: p.uri, name: p.name, ...p.quality && { quality: p.quality }, displayMode: p.displayMode } }), [p, f]), v = u.useRef(null);
1767
+ v.current || (v.current = h ? h({ fittingType: p.displayMode, src: { id: p.uri, width: p.width, height: p.height, name: p.name }, target: { width: p.containerWidth, height: p.containerHeight, alignment: p.alignType, htmlTag: "bg" }, options: { hasAnimation: f, allowAnimatedTransform: !1 } }) : { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} } });
1768
+ const O = v.current, w = (t = O?.uri) != null ? t : "", M = (a = (n = O.css) == null ? void 0 : n.container) != null ? a : {}, S = Object.assign(w ? { backgroundImage: "url(" + w + ")" } : {}, M);
1769
+ return u.createElement("wix-bg-image", { id: "" + (o || "bgImg_") + p.containerId, class: r, style: S, "data-tiled-image-info": y, "data-has-bg-scroll-effect": p.hasBgScrollEffect || "", "data-bg-effect-name": p.bgEffectName || "", "data-motion-part": "BG_IMG " + p.containerId });
1770
+ };
1771
+ const Sn = new RegExp("<%= compId %>", "g"), Nn = (e, t) => e.replace(Sn, t);
1772
+ var St = (e) => e?.replace(":hover", ""), Rn = "bX9O_S", Pn = "Z_wCwr", Fn = "Jxk_UL", Gn = "K8MSra", kn = "YTb3b4";
1773
+ const Hn = { quality: { unsharpMask: { radius: 0.33, amount: 1, threshold: 0 } }, devicePixelRatio: 1 };
1774
+ var Bn = (e) => {
1775
+ const { id: t, videoRef: a, videoInfo: n, posterImageInfo: r, muted: o, preload: h, loop: f, alt: p, isVideoEnabled: y, getPlaceholder: v, extraClassName: O = "" } = e;
1776
+ n.containerId = St(n.containerId);
1777
+ const w = u.useMemo(() => JSON.stringify(n), [n]), M = u.createElement(u.Fragment, null, r.filterEffectSvgString && u.createElement("svg", { id: "svg_" + n.containerId, className: kn }, u.createElement("defs", { dangerouslySetInnerHTML: { __html: Nn(r.filterEffectSvgString, n.containerId) } })), u.createElement(Jt, m()({ key: n.videoId + "_img", id: r.containerId + "_img", className: (0, B.Z)(Pn, Fn, "bgVideoposter", O), imageStyles: { width: "100%", height: "100%" } }, r, Hn, { getPlaceholder: v })));
1778
+ return y ? u.createElement("wix-video", { id: t, "data-video-info": w, "data-motion-part": "BG_IMG " + n.containerId, class: (0, B.Z)(Rn, "bgVideo", O) }, u.createElement("video", { key: n.videoId + "_video", ref: a, id: n.containerId + "_video", className: Gn, crossOrigin: "anonymous", "aria-label": p, playsInline: !0, preload: h, muted: o, loop: f }), M) : M;
1779
+ }, jn = "SUz0WK", Yn = (e) => {
1780
+ const { id: t, containerId: a, pageId: n, children: r, bgEffectName: o = "", containerSize: h } = e;
1781
+ return u.createElement("wix-bg-media", { id: t, class: jn, "data-container-id": a, "data-container-size": (h?.width || 0) + ", " + (h?.height || 0), "data-page-id": n, "data-bg-effect-name": o, "data-motion-part": "BG_MEDIA " + a }, r);
1782
+ };
1783
+ const Un = "bgOverlay";
1784
+ var un = "m4khSP", $n = "FNxOn5", Vn = (e) => {
1785
+ const { imageOverlay: t } = e;
1786
+ return u.createElement("div", { "data-testid": Un, className: un }, t && u.createElement(Mt, m()({ customIdPrefix: "bgImgOverlay_", className: $n }, t)));
1787
+ };
1788
+ const Ht = "bgLayers", Zn = "colorUnderlay", zn = "mediaPadding", Nt = "canvas";
1789
+ var dn = "MW5IWV", Dn = "N3eg0s", Rt = "Kv1aVt", Xt = "dLPlxY", hn = "VgO9Yg", Wn = "LWbAav", fn = "yK6aSC", Kt = "K_YxMd", pn = "NGjcJN", Qt = "mNGsUM", qn = "I8xA4L";
1790
+ const en = "bgImage";
1791
+ var Jn = (e) => {
1792
+ const { videoRef: t, canvasRef: a, hasBgFullscreenScrollEffect: n, image: r, backgroundImage: o, backgroundMedia: h, video: f, backgroundOverlay: p, shouldPadMedia: y, extraClass: v = "", shouldRenderUnderlay: O = !f, reducedMotion: w = !1, getPlaceholder: M, hasCanvasAnimation: S, useWixMediaCanvas: k, onClick: W } = e, { onImageLoad: q } = ((Ee) => {
1793
+ let { onReady: ve, image: ue } = Ee;
1794
+ return (0, u.useEffect)(() => {
1795
+ ve && !ue && ve();
1796
+ }, [ve, ue]), { onImageLoad: (xe) => {
1797
+ ue != null && ue.onLoad && ue.onLoad(xe), ve && ve();
1798
+ } };
1799
+ })(e), D = St(e.containerId), Te = "img_" + St(D), he = r && u.createElement(Jt, m()({ id: Te, className: (0, B.Z)(Rt, Xt, Qt, en), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: M }, r, { onLoad: q })), fe = o && u.createElement(Mt, m()({}, o, { containerId: D, className: (0, B.Z)(Rt, Xt, Qt, en), getPlaceholder: M })), ce = f && u.createElement(Bn, m()({ id: "videoContainer_" + D }, f, { extraClassName: fn, reducedMotion: w, videoRef: t, getPlaceholder: M })), le = k && a || S ? u.createElement("wix-media-canvas", { "data-container-id": D, class: S ? qn : "" }, he, fe, ce, u.createElement("canvas", { id: D + "webglcanvas", className: (0, B.Z)(Kt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": Nt })) : u.createElement(u.Fragment, null, he, fe, ce, a && u.createElement("canvas", { id: D + "webglcanvas", ref: a, className: (0, B.Z)(Kt, "webglcanvas"), "aria-label": f?.alt || "", role: "presentation", "data-testid": Nt })), J = h ? u.createElement(Yn, m()({ id: "bgMedia_" + D }, h), le) : u.createElement("div", { id: "bgMedia_" + D, "data-motion-part": "BG_MEDIA " + D, className: hn }, le), $ = p && u.createElement(Vn, p);
1800
+ return u.createElement("div", { id: Ht + "_" + D, "data-hook": Ht, "data-motion-part": "BG_LAYER " + D, className: (0, B.Z)(dn, v, { [Dn]: n }), onClick: W }, O && u.createElement("div", { "data-testid": Zn, className: (0, B.Z)(Wn, Rt) }), y ? u.createElement("div", { "data-testid": zn, className: pn }, J, $) : u.createElement(u.Fragment, null, J, $));
1801
+ }, Xn = (e) => u.createElement(Jn, e), Kn = "dkukWC", mn = "FRCqDF", Qn = "xnZvZH", er = "MBOSCN";
1802
+ const Ot = (e, t, a) => {
1803
+ const n = ((r, o) => r ? [...Array(1 + (o || 0)).keys()].reverse().map((h) => u.createElement("div", { key: "divider-layer-" + h, style: { "--divider-layer-i": h }, className: mn, "data-testid": "divider-layer-" + h, "data-divider-layer": h })) : null)(!!t, a);
1804
+ return t ? u.createElement("div", { className: (0, B.Z)(Kn, { [Qn]: e === "top", [er]: e === "bottom" }), "data-testid": e + "-divider" }, n) : null;
1805
+ };
1806
+ var gn = (e) => {
1807
+ var t, a;
1808
+ const n = u.useMemo(() => {
1809
+ var o;
1810
+ return Ot("top", e?.hasTopDivider, e == null || (o = e.topLayers) == null ? void 0 : o.size);
1811
+ }, [e?.hasTopDivider, e == null || (t = e.topLayers) == null ? void 0 : t.size]), r = u.useMemo(() => {
1812
+ var o;
1813
+ return Ot("bottom", e?.hasBottomDivider, e == null || (o = e.bottomLayers) == null ? void 0 : o.size);
1814
+ }, [e?.hasBottomDivider, e == null || (a = e.bottomLayers) == null ? void 0 : a.size]);
1815
+ return u.createElement(u.Fragment, null, n, r);
1816
+ }, tr = { root: "section" }, Tt = c("p1x1");
1817
+ const tn = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
1818
+ tn.displayName = "PauseSmall";
1819
+ var nr = tn;
1820
+ const nn = ({ size: e, ...t }) => u.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: e || "18", height: e || "18", ...t }, u.createElement("path", { d: "M6.87468837,5.45041947 L12.7318793,8.46657119 C13.20163,8.68731241 13.20163,9.26940918 12.7318793,9.53342881 L6.87468837,12.5495805 C6.58008377,12.7012867 6.00070071,12.5801226 6,12.0161517 L6,5.98384828 C6,5.65247743 6.35266876,5.20682168 6.87468837,5.45041947 Z M7,11.3602529 L11.5834735,9 L7,6.63974714 L7,11.3602529 Z" }));
1821
+ nn.displayName = "PlaySmall";
1822
+ var d = nn;
1823
+ const T = (e, t) => {
1824
+ var a;
1825
+ const { id: n, skin: r = "RectangleArea", className: o, containerRootClassName: h = "", customClassNames: f = [], containerProps: p, children: y, fillLayers: v = e.fillLayers || e.background, tagName: O, getPlaceholder: w, dividers: M, semanticClassNames: S, onStop: k, onClick: W, onDblClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he, translations: fe, isPlayPauseSectionExperimentOn: ce, isBuilder: le } = e, J = O || "section", { shouldOmitWrapperLayers: $ } = p, Ee = (0, B.Z)(Tt.Z[r], h, o, S ? ae(S.root, ...f) : ae(tr.root, ...f), { [Tt.Z.shouldOmitWrapperLayers]: $ }), ve = !(v == null || !v.video), ue = function(Ie, Oe, He) {
1826
+ const Pe = L().useRef(null), Fe = L().useRef(null);
1827
+ return Oe ? Fe.current || (Fe.current = { play: () => Pe.current?.play(), load: () => Pe.current?.load(), pause: () => Pe.current?.pause(), stop: () => {
1828
+ Pe.current && (Pe.current.pause(), Pe.current.currentTime = 0, He && He(Pe.current));
1829
+ } }) : Fe.current = null, L().useImperativeHandle(Ie, () => Fe.current || { load() {
1830
+ }, stop() {
1831
+ } }), Pe;
1832
+ }(t, ve, k), [xe, ke] = u.useState(!(ue != null && (a = ue.current) != null && a.paused));
1833
+ return u.createElement(J, m()({ id: n }, (0, R.P5)(e), ((Ie = {}) => {
1834
+ const Oe = Ie.tabIndex ?? Ie.tabindex ?? void 0;
1835
+ return Oe !== void 0 ? { tabIndex: Number(Oe) } : {};
1836
+ })(e.a11y || { tabIndex: -1 }), (ye = e.a11y, ye?.label ? { "aria-label": ye.label } : {}), { "data-block-level-container": "Section", className: Ee + " " + Tt.Z.section, "data-testid": x, onClick: W, onDoubleClick: q, onMouseEnter: D, onMouseLeave: Te, lang: he }), v && !le && u.createElement(Xn, m()({}, v, { videoRef: ue, getPlaceholder: w })), ve && ce && !le && u.createElement("button", { className: "" + Tt.Z.videoPlayPauseButton, onClick: () => {
1837
+ const Ie = ue?.current;
1838
+ Ie && (Ie.paused ? Ie.play() : Ie.pause(), ke((Oe) => {
1839
+ const He = !Oe, Pe = document.getElementById(n);
1840
+ return Pe && Pe.querySelectorAll("video").forEach((Fe) => {
1841
+ Fe !== Ie && (He ? Fe.play() : Fe.pause());
1842
+ }), He;
1843
+ }));
1844
+ }, "aria-pressed": xe, "aria-label": fe?.ariaLabel }, xe ? u.createElement(nr, null) : u.createElement(d, null)), M && !le && u.createElement(gn, M), y());
1845
+ var ye;
1846
+ };
1847
+ var C = u.forwardRef(T);
1848
+ }, cy2i: function(i, s, c) {
1849
+ var l;
1850
+ (function(g) {
1851
+ var m = function() {
1852
+ }, u = g.requestAnimationFrame || g.webkitRequestAnimationFrame || g.mozRequestAnimationFrame || g.msRequestAnimationFrame || function(x) {
1853
+ return setTimeout(x, 16);
1854
+ };
1855
+ function L() {
1856
+ var x = this;
1857
+ x.reads = [], x.writes = [], x.raf = u.bind(g);
1858
+ }
1859
+ function B(x) {
1860
+ x.scheduled || (x.scheduled = !0, x.raf(oe.bind(null, x)), m());
1861
+ }
1862
+ function oe(x) {
1863
+ var N, P = x.writes, X = x.reads;
1864
+ try {
1865
+ m("flushing reads", X.length), x.runTasks(X), m("flushing writes", P.length), x.runTasks(P);
1866
+ } catch (_e) {
1867
+ N = _e;
1868
+ }
1869
+ if (x.scheduled = !1, (X.length || P.length) && B(x), N) {
1870
+ if (m("task errored", N.message), !x.catch) throw N;
1871
+ x.catch(N);
1872
+ }
1873
+ }
1874
+ function ae(x, N) {
1875
+ var P = x.indexOf(N);
1876
+ return !!~P && !!x.splice(P, 1);
1877
+ }
1878
+ L.prototype = { constructor: L, runTasks: function(x) {
1879
+ var N;
1880
+ for (m(); N = x.shift(); ) N();
1881
+ }, measure: function(x, N) {
1882
+ var P = N ? x.bind(N) : x;
1883
+ return this.reads.push(P), B(this), P;
1884
+ }, mutate: function(x, N) {
1885
+ var P = N ? x.bind(N) : x;
1886
+ return this.writes.push(P), B(this), P;
1887
+ }, clear: function(x) {
1888
+ return ae(this.reads, x) || ae(this.writes, x);
1889
+ }, extend: function(x) {
1890
+ if (typeof x != "object") throw new Error("expected object");
1891
+ var N = Object.create(this);
1892
+ return function(P, X) {
1893
+ for (var _e in X) X.hasOwnProperty(_e) && (P[_e] = X[_e]);
1894
+ }(N, x), N.fastdom = this, N.initialize && N.initialize(), N;
1895
+ }, catch: null };
1896
+ var R = g.fastdom = g.fastdom || new L();
1897
+ (l = function() {
1898
+ return R;
1899
+ }.call(R, c, R, i)) === void 0 || (i.exports = l);
1900
+ })(typeof window < "u" ? window : this !== void 0 ? this : globalThis);
1901
+ }, p1x1: function(i, s) {
1902
+ s.Z = { "bg-underlay": "LWbAav", bgUnderlay: "LWbAav", "layers-container": "MW5IWV", layersContainer: "MW5IWV", animate: "V7OeEw", headerSectionAddVisibilityTransition: "MDGLoD", move: "BHIo43", fade: "UvF1nu", scrollUp: "YzrQFb", RectangleArea: "xuzjBY", rectangleArea: "xuzjBY", DefaultAreaSkin: "O7Ybkb", defaultAreaSkin: "O7Ybkb", "full-screen-scroll-effect": "GeNLDt", fullScreenScrollEffect: "GeNLDt", "fill-layer": "K8pHFh", fillLayer: "K8pHFh", "image-fill-layer": "TaweqS", imageFillLayer: "TaweqS", "bg-media": "yzHyNT", bgMedia: "yzHyNT", videoFillLayer: "zBFCpO", "alpha-canvas": "xjgrS3", alphaCanvas: "xjgrS3", "media-padding-layer": "b3zSS0", mediaPaddingLayer: "b3zSS0", transforms: "Wsv3ak", "media-canvas": "IiJMfn", mediaCanvas: "IiJMfn", RectangleAreaAfterScroll: "KJgt14", rectangleAreaAfterScroll: "KJgt14", scrolled: "VTwcX7", section: "Gzsk0j", "video-play-pause-button": "MdLl0h", videoPlayPauseButton: "MdLl0h", childrenContainer: "Gmmci1" };
1903
+ }, guqK: function(i, s, c) {
1904
+ c.d(s, { P5: function() {
1905
+ return g;
1906
+ }, jU: function() {
1907
+ return l;
1908
+ } });
1909
+ const l = () => typeof window < "u", g = (m) => Object.entries(m).reduce((u, [L, B]) => (L.includes("data-") && (u[L] = B), u), {});
1910
+ }, "Xdf/": function(i) {
1911
+ i.exports = de;
1912
+ }, Fe5V: function(i) {
1913
+ function s() {
1914
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
1915
+ for (var l = 1; l < arguments.length; l++) {
1916
+ var g = arguments[l];
1917
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
1918
+ }
1919
+ return c;
1920
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
1921
+ }
1922
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
1923
+ }, MRkx: function(i, s, c) {
1924
+ function l(g) {
1925
+ var m, u, L = "";
1926
+ if (typeof g == "string" || typeof g == "number") L += g;
1927
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
1928
+ else for (m in g) g[m] && (L && (L += " "), L += m);
1929
+ return L;
1930
+ }
1931
+ s.Z = function() {
1932
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
1933
+ return L;
1934
+ };
1935
+ } }, we = {};
1936
+ function E(i) {
1937
+ var s = we[i];
1938
+ if (s !== void 0) return s.exports;
1939
+ var c = we[i] = { exports: {} };
1940
+ return ee[i].call(c.exports, c, c.exports, E), c.exports;
1941
+ }
1942
+ E.n = function(i) {
1943
+ var s = i && i.__esModule ? function() {
1944
+ return i.default;
1945
+ } : function() {
1946
+ return i;
1947
+ };
1948
+ return E.d(s, { a: s }), s;
1949
+ }, E.d = function(i, s) {
1950
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
1951
+ }, E.o = function(i, s) {
1952
+ return Object.prototype.hasOwnProperty.call(i, s);
1953
+ }, E.r = function(i) {
1954
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
1955
+ };
1956
+ var te = {};
1957
+ return function() {
1958
+ E.r(te), E.d(te, { default: function() {
1959
+ return _e;
1960
+ } });
1961
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E.n(c), g = E("MRkx"), m = E("iCIt"), u = E("cy2i"), L = E.n(u), B = E("guqK");
1962
+ function oe() {
1963
+ if (!(0, B.jU)()) return { x: 0, y: 0, isAtPageBottom: !1 };
1964
+ const { left: A, top: H } = document.body.getBoundingClientRect();
1965
+ return { x: A, y: H, isAtPageBottom: window.innerHeight + window.scrollY === document.body.scrollHeight };
1966
+ }
1967
+ function ae(A, H, G) {
1968
+ G === void 0 && (G = {}), G = { waitFor: 100, disabled: !1, ...G };
1969
+ const _ = (0, c.useRef)(oe());
1970
+ let Y = null;
1971
+ const I = () => {
1972
+ L().measure(() => {
1973
+ const se = oe(), pe = _.current;
1974
+ _.current = se, Y = null, L().mutate(() => A({ prevPos: pe, currPos: se }));
1975
+ });
1976
+ };
1977
+ ((0, B.jU)() ? c.useLayoutEffect : c.useEffect)(() => {
1978
+ if (!(0, B.jU)()) return;
1979
+ const se = () => {
1980
+ Y === null && (Y = window.setTimeout(I, G.waitFor));
1981
+ };
1982
+ return G.disabled ? () => {
1983
+ } : (window.addEventListener("scroll", se), () => {
1984
+ window.removeEventListener("scroll", se), Y && window.clearTimeout(Y);
1985
+ });
1986
+ }, H);
1987
+ }
1988
+ var R = E("p1x1"), x = { root: "header" }, N = "PgbBOL", P = "mBJHfd", X = (A) => {
1989
+ const H = A.animationState === "scrolled-down" && A.animate === "fade";
1990
+ return l().createElement("div", { id: "header-section-wrapper_" + A.id, className: (0, g.Z)(P, A.className, { [R.Z.animate]: A.animate !== "none", [R.Z.move]: A.animationState === "scrolled-down" && A.animate === "move", [R.Z.fade]: H, [R.Z.headerSectionAddVisibilityTransition]: H && A.isHeaderSectionAddVisibilityTransitionEnabled, [R.Z.scrollUp]: A.animationState === "scrolled-up", [R.Z.scrolled]: A.scrolled }) }, l().createElement(m.default, s()({}, A, { semanticClassNames: x, className: (0, g.Z)(A.className, { [R.Z[A.skin]]: !0 }) })));
1991
+ }, _e = (A) => {
1992
+ const [H, G] = l().useState(!1);
1993
+ ae((se) => {
1994
+ let { currPos: pe } = se;
1995
+ -1 * pe.y >= 2 ? H || G(!0) : H && G(!1);
1996
+ }, [H], { disabled: A.skin !== "RectangleAreaAfterScroll" });
1997
+ const [_, Y] = (0, c.useState)("");
1998
+ if (ae(/* @__PURE__ */ ((se, pe) => {
1999
+ let me = 0, be = "DOWN";
2000
+ return (Ne) => {
2001
+ let { prevPos: Be, currPos: Se } = Ne;
2002
+ const Ce = -1 * Se.y, Le = -1 * Be.y;
2003
+ Ce >= Le ? (be === "UP" && (me = Le, be = "DOWN"), Ce - me > /* @__PURE__ */ ((ie) => ie === "move" ? 400 : 200)(se) && pe("scrolled-down")) : (be === "DOWN" && (me = Le, be = "UP"), (me - Ce > 100 || Ce <= 10) && pe("scrolled-up"));
2004
+ };
2005
+ })(A.animate, Y), [], { waitFor: 45, disabled: A.animate === "none" }), A.isBuilder && !A.isHeaderUseMarginsEnabled) return l().createElement(X, s()({}, A, { animationState: _, scrolled: H }));
2006
+ const I = _ === "scrolled-down" && A.animate === "fade";
2007
+ return l().createElement(m.default, s()({}, A, { semanticClassNames: x, className: (0, g.Z)(A.className, { [R.Z[A.skin]]: !0, [R.Z.scrolled]: H, [R.Z.animate]: A.animate !== "none", [R.Z.move]: _ === "scrolled-down" && A.animate === "move", [R.Z.fade]: I, [R.Z.headerSectionAddVisibilityTransition]: I && A.isHeaderSectionAddVisibilityTransitionEnabled, [R.Z.scrollUp]: _ === "scrolled-up", [N]: A.isHeaderUseMarginsEnabled && A.isBuilder }) }));
2008
+ };
2009
+ }(), te;
2010
+ }();
2011
+ });
2012
+ })(pr);
2013
+ var Hr = pr.exports;
2014
+ const Br = /* @__PURE__ */ ct(Hr);
2015
+ var mr = { exports: {} };
2016
+ (function(Me, Xe) {
2017
+ (function(de, ee) {
2018
+ Me.exports = ee();
2019
+ })(typeof self < "u" ? self : st, function() {
2020
+ return function() {
2021
+ var de = { d: function(l, g) {
2022
+ for (var m in g) de.o(g, m) && !de.o(l, m) && Object.defineProperty(l, m, { enumerable: !0, get: g[m] });
2023
+ }, o: function(l, g) {
2024
+ return Object.prototype.hasOwnProperty.call(l, g);
2025
+ }, r: function(l) {
2026
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(l, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(l, "__esModule", { value: !0 });
2027
+ } }, ee = {};
2028
+ de.r(ee), de.d(ee, { default: function() {
2029
+ return c;
2030
+ } });
2031
+ const we = (l) => l.replace(/([A-Z])/g, (g) => `-${g.toLowerCase()}`), E = (l = {}, g) => l[g] === !0 || l[g] === "true" || l[g] === "new", te = "specs.thunderbolt.HeaderSectionAddVisibilityTransition", i = "specs.thunderbolt.headerUseMargins";
2032
+ var s, c = (s = (l) => {
2033
+ let { mapperProps: g, stateValues: m } = l;
2034
+ const { experiments: u = {} } = m;
2035
+ return { ...g, isHeaderUseMarginsEnabled: E(u, i), isHeaderSectionAddVisibilityTransitionEnabled: E(u, te) };
2036
+ }, { useComponentProps: (l, g, m) => {
2037
+ const u = ((L) => ({ ...L, updateStyles: (B) => {
2038
+ const oe = Object.entries(B).reduce((ae, [R, x]) => {
2039
+ return { ...ae, [(N = R, N.startsWith("--") ? R : we(R))]: x === void 0 ? null : x };
2040
+ var N;
2041
+ }, {});
2042
+ L.updateStyles(oe);
2043
+ } }))(m);
2044
+ return s({ mapperProps: l, stateValues: g, controllerUtils: u });
2045
+ } });
2046
+ return ee;
2047
+ }();
2048
+ });
2049
+ })(mr);
2050
+ var jr = mr.exports;
2051
+ const Yr = /* @__PURE__ */ ct(jr), ha = It(sr(Br, Yr));
2052
+ var gr = { exports: {} };
2053
+ (function(Me, Xe) {
2054
+ (function(de, ee) {
2055
+ Me.exports = ee(dt);
2056
+ })(typeof self < "u" ? self : st, function(de) {
2057
+ return function() {
2058
+ var ee = { QRCH: function(i, s, c) {
2059
+ c.d(s, { default: function() {
2060
+ return u;
2061
+ } });
2062
+ var l = c("Fe5V"), g = c.n(l), m = c("Xdf/"), u = (L) => {
2063
+ const { id: B, className: oe, customClassNames: ae = [], skin: R, pageDidMount: x, onClick: N = () => {
2064
+ }, onDblClick: P = () => {
2065
+ }, onMouseEnter: X, onMouseLeave: _e, children: A } = L;
2066
+ return m.createElement(R, g()({ id: B, className: oe, customClassNames: ae }, ((H) => Object.entries(H).reduce((G, [_, Y]) => (_.includes("data-") && (G[_] = Y), G), {}))(L), { pageDidMount: x, onClick: N, onDblClick: P, onMouseEnter: X, onMouseLeave: _e }), A);
2067
+ };
2068
+ }, "Xdf/": function(i) {
2069
+ i.exports = de;
2070
+ }, Fe5V: function(i) {
2071
+ function s() {
2072
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
2073
+ for (var l = 1; l < arguments.length; l++) {
2074
+ var g = arguments[l];
2075
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
2076
+ }
2077
+ return c;
2078
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
2079
+ }
2080
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
2081
+ } }, we = {};
2082
+ function E(i) {
2083
+ var s = we[i];
2084
+ if (s !== void 0) return s.exports;
2085
+ var c = we[i] = { exports: {} };
2086
+ return ee[i](c, c.exports, E), c.exports;
2087
+ }
2088
+ E.n = function(i) {
2089
+ var s = i && i.__esModule ? function() {
2090
+ return i.default;
2091
+ } : function() {
2092
+ return i;
2093
+ };
2094
+ return E.d(s, { a: s }), s;
2095
+ }, E.d = function(i, s) {
2096
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2097
+ }, E.o = function(i, s) {
2098
+ return Object.prototype.hasOwnProperty.call(i, s);
2099
+ }, E.r = function(i) {
2100
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2101
+ };
2102
+ var te = {};
2103
+ return function() {
2104
+ E.r(te), E.d(te, { default: function() {
2105
+ return P;
2106
+ } });
2107
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E.n(c), g = E("QRCH"), m = { bg: "c7cMWz", inlineContent: "FVGvCX", pageWrapper: "zK7MhX", root: "fEm0Bo" };
2108
+ function u(X) {
2109
+ var _e, A, H = "";
2110
+ if (typeof X == "string" || typeof X == "number") H += X;
2111
+ else if (typeof X == "object") if (Array.isArray(X)) for (_e = 0; _e < X.length; _e++) X[_e] && (A = u(X[_e])) && (H && (H += " "), H += A);
2112
+ else for (_e in X) X[_e] && (H && (H += " "), H += _e);
2113
+ return H;
2114
+ }
2115
+ var L = function() {
2116
+ for (var X, _e, A = 0, H = ""; A < arguments.length; ) (X = arguments[A++]) && (_e = u(X)) && (H && (H += " "), H += _e);
2117
+ return H;
2118
+ };
2119
+ const B = "wixui-", oe = (X, ..._e) => {
2120
+ const A = [];
2121
+ return A.push(`${B}${X}`), _e.forEach((H) => {
2122
+ H && (A.push(`${B}${H}`), A.push(H));
2123
+ }), A.join(" ");
2124
+ }, ae = "page-bg";
2125
+ var R = { root: "page" }, x = (X) => {
2126
+ let { id: _e, className: A, customClassNames: H = [], pageDidMount: G, onClick: _, onDblClick: Y, children: I, skinsStyle: se, onMouseEnter: pe, onMouseLeave: me } = X;
2127
+ const be = L(se.root, se.pageWrapper, A);
2128
+ return l().createElement("div", { id: _e, className: be, ref: G, onClick: _, onDoubleClick: Y, onMouseEnter: pe, onMouseLeave: me }, l().createElement("div", { className: L(se.bg, oe(R.root, ...H)), "data-testid": ae }), l().createElement("div", { className: se.inlineContent }, I()));
2129
+ };
2130
+ const N = (X) => l().createElement(x, s()({}, X, { skinsStyle: m }));
2131
+ var P = (X) => l().createElement(g.default, s()({}, X, { skin: N }));
2132
+ }(), te;
2133
+ }();
2134
+ });
2135
+ })(gr);
2136
+ var Ur = gr.exports;
2137
+ const $r = /* @__PURE__ */ ct(Ur), fa = It($r);
2138
+ var _r = { exports: {} };
2139
+ (function(Me, Xe) {
2140
+ (function(de, ee) {
2141
+ Me.exports = ee(dt);
2142
+ })(typeof self < "u" ? self : st, function(de) {
2143
+ return function() {
2144
+ var ee = { "Xdf/": function(i) {
2145
+ i.exports = de;
2146
+ } }, we = {};
2147
+ function E(i) {
2148
+ var s = we[i];
2149
+ if (s !== void 0) return s.exports;
2150
+ var c = we[i] = { exports: {} };
2151
+ return ee[i](c, c.exports, E), c.exports;
2152
+ }
2153
+ E.n = function(i) {
2154
+ var s = i && i.__esModule ? function() {
2155
+ return i.default;
2156
+ } : function() {
2157
+ return i;
2158
+ };
2159
+ return E.d(s, { a: s }), s;
2160
+ }, E.d = function(i, s) {
2161
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2162
+ }, E.o = function(i, s) {
2163
+ return Object.prototype.hasOwnProperty.call(i, s);
2164
+ }, E.r = function(i) {
2165
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2166
+ };
2167
+ var te = {};
2168
+ return function() {
2169
+ function i(R) {
2170
+ var x, N, P = "";
2171
+ if (typeof R == "string" || typeof R == "number") P += R;
2172
+ else if (typeof R == "object") if (Array.isArray(R)) for (x = 0; x < R.length; x++) R[x] && (N = i(R[x])) && (P && (P += " "), P += N);
2173
+ else for (x in R) R[x] && (P && (P += " "), P += x);
2174
+ return P;
2175
+ }
2176
+ E.r(te), E.d(te, { default: function() {
2177
+ return ae;
2178
+ } });
2179
+ var s = function() {
2180
+ for (var R, x, N = 0, P = ""; N < arguments.length; ) (R = arguments[N++]) && (x = i(R)) && (P && (P += " "), P += x);
2181
+ return P;
2182
+ }, c = E("Xdf/"), l = E.n(c);
2183
+ const g = "wixui-", m = (R, ...x) => {
2184
+ const N = [];
2185
+ return N.push(`${g}${R}`), x.forEach((P) => {
2186
+ P && (N.push(`${g}${P}`), N.push(P));
2187
+ }), N.join(" ");
2188
+ }, u = "page-bg";
2189
+ var L = { root: "page" }, B = "P0dCOY", oe = "PJ4KCX", ae = (R) => {
2190
+ let { id: x, className: N, customClassNames: P = [], pageDidMount: X, onClick: _e, onDblClick: A, children: H, onMouseEnter: G, onMouseLeave: _ } = R;
2191
+ return l().createElement("div", { id: x, className: s(B, N), ref: X, onClick: _e, onDoubleClick: A, onMouseEnter: G, onMouseLeave: _ }, l().createElement("div", { className: s(oe, m(L.root, ...P)), "data-testid": u }), l().createElement("div", null, H()));
2192
+ };
2193
+ }(), te;
2194
+ }();
2195
+ });
2196
+ })(_r);
2197
+ var Vr = _r.exports;
2198
+ const Zr = /* @__PURE__ */ ct(Vr), pa = It(Zr);
2199
+ var Er = { exports: {} };
2200
+ (function(Me, Xe) {
2201
+ (function(de, ee) {
2202
+ Me.exports = ee(dt, wr);
2203
+ })(typeof self < "u" ? self : st, function(de, ee) {
2204
+ return function() {
2205
+ var we = { "Xdf/": function(s) {
2206
+ s.exports = de;
2207
+ }, NUjG: function(s) {
2208
+ s.exports = ee;
2209
+ }, Fe5V: function(s) {
2210
+ function c() {
2211
+ return s.exports = c = Object.assign ? Object.assign.bind() : function(l) {
2212
+ for (var g = 1; g < arguments.length; g++) {
2213
+ var m = arguments[g];
2214
+ for (var u in m) ({}).hasOwnProperty.call(m, u) && (l[u] = m[u]);
2215
+ }
2216
+ return l;
2217
+ }, s.exports.__esModule = !0, s.exports.default = s.exports, c.apply(null, arguments);
2218
+ }
2219
+ s.exports = c, s.exports.__esModule = !0, s.exports.default = s.exports;
2220
+ } }, E = {};
2221
+ function te(s) {
2222
+ var c = E[s];
2223
+ if (c !== void 0) return c.exports;
2224
+ var l = E[s] = { exports: {} };
2225
+ return we[s](l, l.exports, te), l.exports;
2226
+ }
2227
+ te.n = function(s) {
2228
+ var c = s && s.__esModule ? function() {
2229
+ return s.default;
2230
+ } : function() {
2231
+ return s;
2232
+ };
2233
+ return te.d(c, { a: c }), c;
2234
+ }, te.d = function(s, c) {
2235
+ for (var l in c) te.o(c, l) && !te.o(s, l) && Object.defineProperty(s, l, { enumerable: !0, get: c[l] });
2236
+ }, te.o = function(s, c) {
2237
+ return Object.prototype.hasOwnProperty.call(s, c);
2238
+ }, te.r = function(s) {
2239
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
2240
+ };
2241
+ var i = {};
2242
+ return function() {
2243
+ te.r(i), te.d(i, { default: function() {
2244
+ return Yt;
2245
+ } });
2246
+ var s = te("Fe5V"), c = te.n(s), l = te("Xdf/"), g = te.n(l);
2247
+ function m(j) {
2248
+ var z, Q, b = "";
2249
+ if (typeof j == "string" || typeof j == "number") b += j;
2250
+ else if (typeof j == "object") if (Array.isArray(j)) for (z = 0; z < j.length; z++) j[z] && (Q = m(j[z])) && (b && (b += " "), b += Q);
2251
+ else for (z in j) j[z] && (b && (b += " "), b += z);
2252
+ return b;
2253
+ }
2254
+ var u = function() {
2255
+ for (var j, z, Q = 0, b = ""; Q < arguments.length; ) (j = arguments[Q++]) && (z = m(j)) && (b && (b += " "), b += z);
2256
+ return b;
2257
+ };
2258
+ const L = (j) => Object.entries(j).reduce((z, [Q, b]) => (Q.includes("data-") && (z[Q] = b), z), {});
2259
+ function B(j, z) {
2260
+ if (j == null) return {};
2261
+ var Q = {};
2262
+ for (var b in j) if ({}.hasOwnProperty.call(j, b)) {
2263
+ if (z.indexOf(b) !== -1) continue;
2264
+ Q[b] = j[b];
2265
+ }
2266
+ return Q;
2267
+ }
2268
+ function oe() {
2269
+ return oe = Object.assign ? Object.assign.bind() : function(j) {
2270
+ for (var z = 1; z < arguments.length; z++) {
2271
+ var Q = arguments[z];
2272
+ for (var b in Q) ({}).hasOwnProperty.call(Q, b) && (j[b] = Q[b]);
2273
+ }
2274
+ return j;
2275
+ }, oe.apply(null, arguments);
2276
+ }
2277
+ function ae(j, z) {
2278
+ return ae = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(Q, b) {
2279
+ return Q.__proto__ = b, Q;
2280
+ }, ae(j, z);
2281
+ }
2282
+ function R(j, z) {
2283
+ j.prototype = Object.create(z.prototype), j.prototype.constructor = j, ae(j, z);
2284
+ }
2285
+ var x = g().createContext(null);
2286
+ function N(j, z) {
2287
+ var Q = /* @__PURE__ */ Object.create(null);
2288
+ return j && l.Children.map(j, function(b) {
2289
+ return b;
2290
+ }).forEach(function(b) {
2291
+ Q[b.key] = function(F) {
2292
+ return z && (0, l.isValidElement)(F) ? z(F) : F;
2293
+ }(b);
2294
+ }), Q;
2295
+ }
2296
+ function P(j, z, Q) {
2297
+ return Q[z] != null ? Q[z] : j.props[z];
2298
+ }
2299
+ function X(j, z, Q) {
2300
+ var b = N(j.children), F = function(Z, U) {
2301
+ function ne(at) {
2302
+ return at in U ? U[at] : Z[at];
2303
+ }
2304
+ Z = Z || {}, U = U || {};
2305
+ var re, Ae = /* @__PURE__ */ Object.create(null), Re = [];
2306
+ for (var Ye in Z) Ye in U ? Re.length && (Ae[Ye] = Re, Re = []) : Re.push(Ye);
2307
+ var We = {};
2308
+ for (var Qe in U) {
2309
+ if (Ae[Qe]) for (re = 0; re < Ae[Qe].length; re++) {
2310
+ var ft = Ae[Qe][re];
2311
+ We[Ae[Qe][re]] = ne(ft);
2312
+ }
2313
+ We[Qe] = ne(Qe);
2314
+ }
2315
+ for (re = 0; re < Re.length; re++) We[Re[re]] = ne(Re[re]);
2316
+ return We;
2317
+ }(z, b);
2318
+ return Object.keys(F).forEach(function(Z) {
2319
+ var U = F[Z];
2320
+ if ((0, l.isValidElement)(U)) {
2321
+ var ne = Z in z, re = Z in b, Ae = z[Z], Re = (0, l.isValidElement)(Ae) && !Ae.props.in;
2322
+ !re || ne && !Re ? re || !ne || Re ? re && ne && (0, l.isValidElement)(Ae) && (F[Z] = (0, l.cloneElement)(U, { onExited: Q.bind(null, U), in: Ae.props.in, exit: P(U, "exit", j), enter: P(U, "enter", j) })) : F[Z] = (0, l.cloneElement)(U, { in: !1 }) : F[Z] = (0, l.cloneElement)(U, { onExited: Q.bind(null, U), in: !0, exit: P(U, "exit", j), enter: P(U, "enter", j) });
2323
+ }
2324
+ }), F;
2325
+ }
2326
+ var _e = Object.values || function(j) {
2327
+ return Object.keys(j).map(function(z) {
2328
+ return j[z];
2329
+ });
2330
+ }, A = function(j) {
2331
+ function z(b, F) {
2332
+ var Z, U = (Z = j.call(this, b, F) || this).handleExited.bind(function(ne) {
2333
+ if (ne === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2334
+ return ne;
2335
+ }(Z));
2336
+ return Z.state = { contextValue: { isMounting: !0 }, handleExited: U, firstRender: !0 }, Z;
2337
+ }
2338
+ R(z, j);
2339
+ var Q = z.prototype;
2340
+ return Q.componentDidMount = function() {
2341
+ this.mounted = !0, this.setState({ contextValue: { isMounting: !1 } });
2342
+ }, Q.componentWillUnmount = function() {
2343
+ this.mounted = !1;
2344
+ }, z.getDerivedStateFromProps = function(b, F) {
2345
+ var Z, U, ne = F.children, re = F.handleExited;
2346
+ return { children: F.firstRender ? (Z = b, U = re, N(Z.children, function(Ae) {
2347
+ return (0, l.cloneElement)(Ae, { onExited: U.bind(null, Ae), in: !0, appear: P(Ae, "appear", Z), enter: P(Ae, "enter", Z), exit: P(Ae, "exit", Z) });
2348
+ })) : X(b, ne, re), firstRender: !1 };
2349
+ }, Q.handleExited = function(b, F) {
2350
+ var Z = N(this.props.children);
2351
+ b.key in Z || (b.props.onExited && b.props.onExited(F), this.mounted && this.setState(function(U) {
2352
+ var ne = oe({}, U.children);
2353
+ return delete ne[b.key], { children: ne };
2354
+ }));
2355
+ }, Q.render = function() {
2356
+ var b = this.props, F = b.component, Z = b.childFactory, U = B(b, ["component", "childFactory"]), ne = this.state.contextValue, re = _e(this.state.children).map(Z);
2357
+ return delete U.appear, delete U.enter, delete U.exit, F === null ? g().createElement(x.Provider, { value: ne }, re) : g().createElement(x.Provider, { value: ne }, g().createElement(F, U, re));
2358
+ }, z;
2359
+ }(g().Component);
2360
+ A.propTypes = {}, A.defaultProps = { component: "div", childFactory: function(j) {
2361
+ return j;
2362
+ } };
2363
+ var H = A;
2364
+ function G(j, z) {
2365
+ return j.replace(new RegExp("(^|\\s)" + z + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
2366
+ }
2367
+ var _ = te("NUjG"), Y = te.n(_), I = !1, se = function(j) {
2368
+ return j.scrollTop;
2369
+ }, pe = "unmounted", me = "exited", be = "entering", Ne = "entered", Be = "exiting", Se = function(j) {
2370
+ function z(b, F) {
2371
+ var Z;
2372
+ Z = j.call(this, b, F) || this;
2373
+ var U, ne = F && !F.isMounting ? b.enter : b.appear;
2374
+ return Z.appearStatus = null, b.in ? ne ? (U = me, Z.appearStatus = be) : U = Ne : U = b.unmountOnExit || b.mountOnEnter ? pe : me, Z.state = { status: U }, Z.nextCallback = null, Z;
2375
+ }
2376
+ R(z, j), z.getDerivedStateFromProps = function(b, F) {
2377
+ return b.in && F.status === pe ? { status: me } : null;
2378
+ };
2379
+ var Q = z.prototype;
2380
+ return Q.componentDidMount = function() {
2381
+ this.updateStatus(!0, this.appearStatus);
2382
+ }, Q.componentDidUpdate = function(b) {
2383
+ var F = null;
2384
+ if (b !== this.props) {
2385
+ var Z = this.state.status;
2386
+ this.props.in ? Z !== be && Z !== Ne && (F = be) : Z !== be && Z !== Ne || (F = Be);
2387
+ }
2388
+ this.updateStatus(!1, F);
2389
+ }, Q.componentWillUnmount = function() {
2390
+ this.cancelNextCallback();
2391
+ }, Q.getTimeouts = function() {
2392
+ var b, F, Z, U = this.props.timeout;
2393
+ return b = F = Z = U, U != null && typeof U != "number" && (b = U.exit, F = U.enter, Z = U.appear !== void 0 ? U.appear : F), { exit: b, enter: F, appear: Z };
2394
+ }, Q.updateStatus = function(b, F) {
2395
+ if (b === void 0 && (b = !1), F !== null) if (this.cancelNextCallback(), F === be) {
2396
+ if (this.props.unmountOnExit || this.props.mountOnEnter) {
2397
+ var Z = this.props.nodeRef ? this.props.nodeRef.current : Y().findDOMNode(this);
2398
+ Z && se(Z);
2399
+ }
2400
+ this.performEnter(b);
2401
+ } else this.performExit();
2402
+ else this.props.unmountOnExit && this.state.status === me && this.setState({ status: pe });
2403
+ }, Q.performEnter = function(b) {
2404
+ var F = this, Z = this.props.enter, U = this.context ? this.context.isMounting : b, ne = this.props.nodeRef ? [U] : [Y().findDOMNode(this), U], re = ne[0], Ae = ne[1], Re = this.getTimeouts(), Ye = U ? Re.appear : Re.enter;
2405
+ !b && !Z || I ? this.safeSetState({ status: Ne }, function() {
2406
+ F.props.onEntered(re);
2407
+ }) : (this.props.onEnter(re, Ae), this.safeSetState({ status: be }, function() {
2408
+ F.props.onEntering(re, Ae), F.onTransitionEnd(Ye, function() {
2409
+ F.safeSetState({ status: Ne }, function() {
2410
+ F.props.onEntered(re, Ae);
2411
+ });
2412
+ });
2413
+ }));
2414
+ }, Q.performExit = function() {
2415
+ var b = this, F = this.props.exit, Z = this.getTimeouts(), U = this.props.nodeRef ? void 0 : Y().findDOMNode(this);
2416
+ F && !I ? (this.props.onExit(U), this.safeSetState({ status: Be }, function() {
2417
+ b.props.onExiting(U), b.onTransitionEnd(Z.exit, function() {
2418
+ b.safeSetState({ status: me }, function() {
2419
+ b.props.onExited(U);
2420
+ });
2421
+ });
2422
+ })) : this.safeSetState({ status: me }, function() {
2423
+ b.props.onExited(U);
2424
+ });
2425
+ }, Q.cancelNextCallback = function() {
2426
+ this.nextCallback !== null && (this.nextCallback.cancel(), this.nextCallback = null);
2427
+ }, Q.safeSetState = function(b, F) {
2428
+ F = this.setNextCallback(F), this.setState(b, F);
2429
+ }, Q.setNextCallback = function(b) {
2430
+ var F = this, Z = !0;
2431
+ return this.nextCallback = function(U) {
2432
+ Z && (Z = !1, F.nextCallback = null, b(U));
2433
+ }, this.nextCallback.cancel = function() {
2434
+ Z = !1;
2435
+ }, this.nextCallback;
2436
+ }, Q.onTransitionEnd = function(b, F) {
2437
+ this.setNextCallback(F);
2438
+ var Z = this.props.nodeRef ? this.props.nodeRef.current : Y().findDOMNode(this), U = b == null && !this.props.addEndListener;
2439
+ if (Z && !U) {
2440
+ if (this.props.addEndListener) {
2441
+ var ne = this.props.nodeRef ? [this.nextCallback] : [Z, this.nextCallback], re = ne[0], Ae = ne[1];
2442
+ this.props.addEndListener(re, Ae);
2443
+ }
2444
+ b != null && setTimeout(this.nextCallback, b);
2445
+ } else setTimeout(this.nextCallback, 0);
2446
+ }, Q.render = function() {
2447
+ var b = this.state.status;
2448
+ if (b === pe) return null;
2449
+ var F = this.props, Z = F.children, U = (F.in, F.mountOnEnter, F.unmountOnExit, F.appear, F.enter, F.exit, F.timeout, F.addEndListener, F.onEnter, F.onEntering, F.onEntered, F.onExit, F.onExiting, F.onExited, F.nodeRef, B(F, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]));
2450
+ return g().createElement(x.Provider, { value: null }, typeof Z == "function" ? Z(b, U) : g().cloneElement(g().Children.only(Z), U));
2451
+ }, z;
2452
+ }(g().Component);
2453
+ function Ce() {
2454
+ }
2455
+ Se.contextType = x, Se.propTypes = {}, Se.defaultProps = { in: !1, mountOnEnter: !1, unmountOnExit: !1, appear: !1, enter: !0, exit: !0, onEnter: Ce, onEntering: Ce, onEntered: Ce, onExit: Ce, onExiting: Ce, onExited: Ce }, Se.UNMOUNTED = pe, Se.EXITED = me, Se.ENTERING = be, Se.ENTERED = Ne, Se.EXITING = Be;
2456
+ var Le = Se, ie = function(j, z) {
2457
+ return j && z && z.split(" ").forEach(function(Q) {
2458
+ return F = Q, void ((b = j).classList ? b.classList.remove(F) : typeof b.className == "string" ? b.className = G(b.className, F) : b.setAttribute("class", G(b.className && b.className.baseVal || "", F)));
2459
+ var b, F;
2460
+ });
2461
+ }, Ge = function(j) {
2462
+ function z() {
2463
+ for (var b, F = arguments.length, Z = new Array(F), U = 0; U < F; U++) Z[U] = arguments[U];
2464
+ return (b = j.call.apply(j, [this].concat(Z)) || this).appliedClasses = { appear: {}, enter: {}, exit: {} }, b.onEnter = function(ne, re) {
2465
+ var Ae = b.resolveArguments(ne, re), Re = Ae[0], Ye = Ae[1];
2466
+ b.removeClasses(Re, "exit"), b.addClass(Re, Ye ? "appear" : "enter", "base"), b.props.onEnter && b.props.onEnter(ne, re);
2467
+ }, b.onEntering = function(ne, re) {
2468
+ var Ae = b.resolveArguments(ne, re), Re = Ae[0], Ye = Ae[1] ? "appear" : "enter";
2469
+ b.addClass(Re, Ye, "active"), b.props.onEntering && b.props.onEntering(ne, re);
2470
+ }, b.onEntered = function(ne, re) {
2471
+ var Ae = b.resolveArguments(ne, re), Re = Ae[0], Ye = Ae[1] ? "appear" : "enter";
2472
+ b.removeClasses(Re, Ye), b.addClass(Re, Ye, "done"), b.props.onEntered && b.props.onEntered(ne, re);
2473
+ }, b.onExit = function(ne) {
2474
+ var re = b.resolveArguments(ne)[0];
2475
+ b.removeClasses(re, "appear"), b.removeClasses(re, "enter"), b.addClass(re, "exit", "base"), b.props.onExit && b.props.onExit(ne);
2476
+ }, b.onExiting = function(ne) {
2477
+ var re = b.resolveArguments(ne)[0];
2478
+ b.addClass(re, "exit", "active"), b.props.onExiting && b.props.onExiting(ne);
2479
+ }, b.onExited = function(ne) {
2480
+ var re = b.resolveArguments(ne)[0];
2481
+ b.removeClasses(re, "exit"), b.addClass(re, "exit", "done"), b.props.onExited && b.props.onExited(ne);
2482
+ }, b.resolveArguments = function(ne, re) {
2483
+ return b.props.nodeRef ? [b.props.nodeRef.current, ne] : [ne, re];
2484
+ }, b.getClassNames = function(ne) {
2485
+ var re = b.props.classNames, Ae = typeof re == "string", Re = Ae ? (Ae && re ? re + "-" : "") + ne : re[ne];
2486
+ return { baseClassName: Re, activeClassName: Ae ? Re + "-active" : re[ne + "Active"], doneClassName: Ae ? Re + "-done" : re[ne + "Done"] };
2487
+ }, b;
2488
+ }
2489
+ R(z, j);
2490
+ var Q = z.prototype;
2491
+ return Q.addClass = function(b, F, Z) {
2492
+ var U = this.getClassNames(F)[Z + "ClassName"], ne = this.getClassNames("enter").doneClassName;
2493
+ F === "appear" && Z === "done" && ne && (U += " " + ne), Z === "active" && b && se(b), U && (this.appliedClasses[F][Z] = U, function(re, Ae) {
2494
+ re && Ae && Ae.split(" ").forEach(function(Re) {
2495
+ return We = Re, void ((Ye = re).classList ? Ye.classList.add(We) : function(Qe, ft) {
2496
+ return Qe.classList ? !!ft && Qe.classList.contains(ft) : (" " + (Qe.className.baseVal || Qe.className) + " ").indexOf(" " + ft + " ") !== -1;
2497
+ }(Ye, We) || (typeof Ye.className == "string" ? Ye.className = Ye.className + " " + We : Ye.setAttribute("class", (Ye.className && Ye.className.baseVal || "") + " " + We)));
2498
+ var Ye, We;
2499
+ });
2500
+ }(b, U));
2501
+ }, Q.removeClasses = function(b, F) {
2502
+ var Z = this.appliedClasses[F], U = Z.base, ne = Z.active, re = Z.done;
2503
+ this.appliedClasses[F] = {}, U && ie(b, U), ne && ie(b, ne), re && ie(b, re);
2504
+ }, Q.render = function() {
2505
+ var b = this.props, F = (b.classNames, B(b, ["classNames"]));
2506
+ return g().createElement(Le, oe({}, F, { onEnter: this.onEnter, onEntered: this.onEntered, onEntering: this.onEntering, onExit: this.onExit, onExiting: this.onExiting, onExited: this.onExited }));
2507
+ }, z;
2508
+ }(g().Component);
2509
+ Ge.defaultProps = { classNames: "" }, Ge.propTypes = {};
2510
+ var V = Ge, K = "sNF2R0", $e = "hLoBV3", ge = "Rdf41z", je = "ftlZWo", De = "ATGlOr", qe = "KQSXD0", ze = "pagQKE", Ue = "_6zG5H", Ve = "BB49uC", Je = "j9xE1V", ht = "ICs7Rs", rt = "DxijZJ", Lt = "B5kjYq", nt = "cJijIV", gt = "hOxaWM", _t = "T9p3fN", Ze = "qDxYJm", Ke = "aA9V0P", it = "YPXPAS", lt = "Xf2zsA", ut = "y7Kt7s", wt = "EeUgMu", vt = "fdHrtm", ot = "WIFaG4";
2511
+ const Bt = { CrossFade: (j) => {
2512
+ const { reverse: z, ...Q } = j;
2513
+ return l.createElement(V, c()({}, Q, { classNames: { enter: K, enterActive: $e, exit: ge, exitActive: je } }), j.children);
2514
+ }, OutIn: (j) => {
2515
+ const { reverse: z, ...Q } = j;
2516
+ return l.createElement(V, c()({}, Q, { classNames: { enter: De, enterActive: qe, exit: ze, exitActive: Ue } }), j.children);
2517
+ }, SlideHorizontal: (j) => {
2518
+ const { reverse: z, ...Q } = j;
2519
+ return l.createElement(V, c()({}, Q, { classNames: z ? { enter: Lt, enterActive: nt, exit: gt, exitActive: _t } : { enter: Ve, enterActive: Je, exit: ht, exitActive: rt } }), j.children);
2520
+ }, SlideVertical: (j) => {
2521
+ const { reverse: z, ...Q } = j;
2522
+ return l.createElement(V, c()({}, Q, { classNames: z ? { enter: ut, enterActive: wt, exit: vt, exitActive: ot } : { enter: Ze, enterActive: Ke, exit: it, exitActive: lt } }), j.children);
2523
+ } };
2524
+ var Gt = (j) => {
2525
+ const z = Bt[j.type], { type: Q, ...b } = j;
2526
+ return l.createElement(z, b);
2527
+ };
2528
+ const yt = "TRANSITION_GROUP";
2529
+ var kt = (j) => {
2530
+ const { id: z = yt, transition: Q = "none", transitionDuration: b = 0, transitionEnabled: F = !0, onTransitionComplete: Z = () => {
2531
+ }, onTransitionStarting: U = () => {
2532
+ }, className: ne, children: re, shouldUseViewTransition: Ae } = j, Re = l.Children.toArray(re())[0], Ye = Re?.props.id, We = Q === "none", Qe = Q === "SlideVertical", ft = typeof window < "u" && "startViewTransition" in document && Ae;
2533
+ return l.createElement(l.Fragment, null, We ? re() : ft ? l.createElement("div", c()({ id: z }, L(j), { className: ne }), re()) : l.createElement(H, c()({ id: z }, L(j), { className: ne, childFactory: (at) => l.cloneElement(at, { reverse: Qe }) }), l.createElement(Gt, { type: Q, key: Ye, timeout: b, onEntered: Z, onExiting: U, enter: F, exit: F, unmountOnExit: !0 }, () => Re)));
2534
+ }, xt = "JsJXaX", jt = "AnQkDU";
2535
+ const Ct = l.memo(kt, (j, z) => !z.children().length);
2536
+ var Yt = (j) => {
2537
+ const { id: z, children: Q, className: b, ...F } = j;
2538
+ return l.createElement("div", c()({ id: z }, L(j), { className: u(xt, b) }), l.createElement(Ct, c()({ id: z + "_" + yt, className: jt }, F), Q));
2539
+ };
2540
+ }(), i;
2541
+ }();
2542
+ });
2543
+ })(Er);
2544
+ var zr = Er.exports;
2545
+ const Dr = /* @__PURE__ */ ct(zr), ma = It(Dr);
2546
+ var Tr = { exports: {} };
2547
+ (function(Me, Xe) {
2548
+ (function(de, ee) {
2549
+ Me.exports = ee(dt);
2550
+ })(typeof self < "u" ? self : st, function(de) {
2551
+ return function() {
2552
+ var ee = { "Xdf/": function(i) {
2553
+ i.exports = de;
2554
+ }, Fe5V: function(i) {
2555
+ function s() {
2556
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
2557
+ for (var l = 1; l < arguments.length; l++) {
2558
+ var g = arguments[l];
2559
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
2560
+ }
2561
+ return c;
2562
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
2563
+ }
2564
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
2565
+ } }, we = {};
2566
+ function E(i) {
2567
+ var s = we[i];
2568
+ if (s !== void 0) return s.exports;
2569
+ var c = we[i] = { exports: {} };
2570
+ return ee[i](c, c.exports, E), c.exports;
2571
+ }
2572
+ E.n = function(i) {
2573
+ var s = i && i.__esModule ? function() {
2574
+ return i.default;
2575
+ } : function() {
2576
+ return i;
2577
+ };
2578
+ return E.d(s, { a: s }), s;
2579
+ }, E.d = function(i, s) {
2580
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2581
+ }, E.o = function(i, s) {
2582
+ return Object.prototype.hasOwnProperty.call(i, s);
2583
+ }, E.r = function(i) {
2584
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2585
+ };
2586
+ var te = {};
2587
+ return function() {
2588
+ E.r(te), E.d(te, { default: function() {
2589
+ return l;
2590
+ } });
2591
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = (g) => {
2592
+ const { children: m, className: u } = g;
2593
+ return c.createElement("main", s()({ id: "PAGES_CONTAINER" }, ((L) => Object.entries(L).reduce((B, [oe, ae]) => (oe.includes("data-") && (B[oe] = ae), B), {}))(g), { className: u, tabIndex: -1, "data-main-content": !0 }), m());
2594
+ };
2595
+ }(), te;
2596
+ }();
2597
+ });
2598
+ })(Tr);
2599
+ var Wr = Tr.exports;
2600
+ const qr = /* @__PURE__ */ ct(Wr), ga = It(qr);
2601
+ var Ir = { exports: {} };
2602
+ (function(Me, Xe) {
2603
+ (function(de, ee) {
2604
+ Me.exports = ee(dt);
2605
+ })(typeof self < "u" ? self : st, function(de) {
2606
+ return function() {
2607
+ var ee = { jBV1: function(i, s, c) {
2608
+ c.d(s, { V5: function() {
2609
+ return m;
2610
+ } });
2611
+ const l = ["aria-id", "aria-metadata", "aria-type"], g = (u, L) => Object.entries(u).reduce((B, [oe, ae]) => (L.includes(oe) || (B[oe] = ae), B), {}), m = ({ role: u, tabIndex: L, tabindex: B, ...oe } = {}) => {
2612
+ const ae = Object.entries(oe).reduce((R, [x, N]) => ({ ...R, [`aria-${x}`.toLowerCase()]: N }), { role: u, tabIndex: L ?? B });
2613
+ return Object.keys(ae).forEach((R) => {
2614
+ ae[R] !== void 0 && ae[R] !== null || delete ae[R];
2615
+ }), g(ae, l);
2616
+ };
2617
+ }, "Xdf/": function(i) {
2618
+ i.exports = de;
2619
+ }, MRkx: function(i, s, c) {
2620
+ function l(g) {
2621
+ var m, u, L = "";
2622
+ if (typeof g == "string" || typeof g == "number") L += g;
2623
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
2624
+ else for (m in g) g[m] && (L && (L += " "), L += m);
2625
+ return L;
2626
+ }
2627
+ s.Z = function() {
2628
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
2629
+ return L;
2630
+ };
2631
+ } }, we = {};
2632
+ function E(i) {
2633
+ var s = we[i];
2634
+ if (s !== void 0) return s.exports;
2635
+ var c = we[i] = { exports: {} };
2636
+ return ee[i](c, c.exports, E), c.exports;
2637
+ }
2638
+ E.n = function(i) {
2639
+ var s = i && i.__esModule ? function() {
2640
+ return i.default;
2641
+ } : function() {
2642
+ return i;
2643
+ };
2644
+ return E.d(s, { a: s }), s;
2645
+ }, E.d = function(i, s) {
2646
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2647
+ }, E.o = function(i, s) {
2648
+ return Object.prototype.hasOwnProperty.call(i, s);
2649
+ }, E.r = function(i) {
2650
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2651
+ };
2652
+ var te = {};
2653
+ return function() {
2654
+ E.r(te), E.d(te, { default: function() {
2655
+ return oe;
2656
+ } });
2657
+ var i = E("Xdf/"), s = E.n(i), c = E("jBV1"), l = E("MRkx");
2658
+ const g = "responsive-container-overflow", m = "responsive-container-content";
2659
+ var u = "xpmKd_";
2660
+ const L = s().forwardRef((ae, R) => {
2661
+ let { children: x, className: N } = ae;
2662
+ return s().createElement("div", { className: (0, l.Z)(N, u), "data-testid": g, ref: R }, x);
2663
+ }), B = (ae, R) => {
2664
+ let { containerLayoutClassName: x, overlowWrapperClassName: N, hasOverflow: P, hasScrollOverflow: X, shouldOmitWrapperLayers: _e, children: A, role: H, label: G, extraRootClass: _ = "", ariaLive: Y, ariaAttributes: I, tabIndex: se, tagName: pe = "div" } = ae;
2665
+ const me = !_e && P;
2666
+ let be = -1;
2667
+ X && se !== void 0 && (be = se);
2668
+ const Ne = me ? be : void 0, Be = (0, i.useCallback)((Le) => me ? s().createElement(L, { className: (0, l.Z)(N, _) }, Le) : Le, [me, N, _]), Se = P ? x : (0, l.Z)(x, _), Ce = { ref: R, "data-testid": m, tabIndex: Ne, ...H ? { role: H } : {}, ...G ? { "aria-label": G } : {}, ...Y ? { "aria-live": Y } : {}, ...(0, c.V5)(I) };
2669
+ return pe === "multi-column-layouter" ? (Ce.class = Se, Ce.style = { visibility: "hidden" }) : Ce.className = Se, Be(_e ? s().createElement(s().Fragment, null, A()) : s().createElement(pe || "div", Ce, A()));
2670
+ };
2671
+ var oe = s().forwardRef(B);
2672
+ }(), te;
2673
+ }();
2674
+ });
2675
+ })(Ir);
2676
+ var Jr = Ir.exports;
2677
+ const vr = /* @__PURE__ */ ct(Jr), _a = It(vr), Ea = It(vr);
2678
+ var br = { exports: {} };
2679
+ (function(Me, Xe) {
2680
+ (function(de, ee) {
2681
+ Me.exports = ee(dt);
2682
+ })(typeof self < "u" ? self : st, function(de) {
2683
+ return function() {
2684
+ var ee = { "Xdf/": function(i) {
2685
+ i.exports = de;
2686
+ }, Fe5V: function(i) {
2687
+ function s() {
2688
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
2689
+ for (var l = 1; l < arguments.length; l++) {
2690
+ var g = arguments[l];
2691
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
2692
+ }
2693
+ return c;
2694
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
2695
+ }
2696
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
2697
+ } }, we = {};
2698
+ function E(i) {
2699
+ var s = we[i];
2700
+ if (s !== void 0) return s.exports;
2701
+ var c = we[i] = { exports: {} };
2702
+ return ee[i](c, c.exports, E), c.exports;
2703
+ }
2704
+ E.n = function(i) {
2705
+ var s = i && i.__esModule ? function() {
2706
+ return i.default;
2707
+ } : function() {
2708
+ return i;
2709
+ };
2710
+ return E.d(s, { a: s }), s;
2711
+ }, E.d = function(i, s) {
2712
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2713
+ }, E.o = function(i, s) {
2714
+ return Object.prototype.hasOwnProperty.call(i, s);
2715
+ }, E.r = function(i) {
2716
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2717
+ };
2718
+ var te = {};
2719
+ return function() {
2720
+ E.r(te), E.d(te, { default: function() {
2721
+ return Y;
2722
+ } });
2723
+ var i = E("Fe5V"), s = E.n(i), c = E("Xdf/"), l = E.n(c);
2724
+ function g(I) {
2725
+ var se, pe, me = "";
2726
+ if (typeof I == "string" || typeof I == "number") me += I;
2727
+ else if (typeof I == "object") if (Array.isArray(I)) for (se = 0; se < I.length; se++) I[se] && (pe = g(I[se])) && (me && (me += " "), me += pe);
2728
+ else for (se in I) I[se] && (me && (me += " "), me += se);
2729
+ return me;
2730
+ }
2731
+ var m = function() {
2732
+ for (var I, se, pe = 0, me = ""; pe < arguments.length; ) (I = arguments[pe++]) && (se = g(I)) && (me && (me += " "), me += se);
2733
+ return me;
2734
+ };
2735
+ const u = ["aria-id", "aria-metadata", "aria-type"], L = (I, se) => Object.entries(I).reduce((pe, [me, be]) => (se.includes(me) || (pe[me] = be), pe), {}), B = ({ role: I, tabIndex: se, tabindex: pe, ...me } = {}) => {
2736
+ const be = Object.entries(me).reduce((Ne, [Be, Se]) => ({ ...Ne, [`aria-${Be}`.toLowerCase()]: Se }), { role: I, tabIndex: se ?? pe });
2737
+ return Object.keys(be).forEach((Ne) => {
2738
+ be[Ne] !== void 0 && be[Ne] !== null || delete be[Ne];
2739
+ }), L(be, u);
2740
+ }, oe = "responsive-container-overflow", ae = "responsive-container-content";
2741
+ var R = "gNqkn3";
2742
+ const x = l().forwardRef(({ children: I, className: se }, pe) => l().createElement("div", { className: m(se, R), "data-testid": oe, ref: pe }, I));
2743
+ var N = l().forwardRef(({ containerLayoutClassName: I, overlowWrapperClassName: se, hasOverflow: pe, hasScrollOverflow: me, shouldOmitWrapperLayers: be, children: Ne, role: Be, label: Se, extraRootClass: Ce = "", ariaLive: Le, ariaAttributes: ie, tabIndex: Ge, tagName: V = "div" }, K) => {
2744
+ const $e = !be && pe;
2745
+ let ge = -1;
2746
+ me && Ge !== void 0 && (ge = Ge);
2747
+ const je = $e ? ge : void 0, De = (0, c.useCallback)((Ue) => $e ? l().createElement(x, { className: m(se, Ce) }, Ue) : Ue, [$e, se, Ce]), qe = pe ? I : m(I, Ce), ze = { ref: K, "data-testid": ae, tabIndex: je, ...Be ? { role: Be } : {}, ...Se ? { "aria-label": Se } : {}, ...Le ? { "aria-live": Le } : {}, ...B(ie) };
2748
+ return V === "multi-column-layouter" ? (ze.class = qe, ze.style = { visibility: "hidden" }) : ze.className = qe, De(be ? l().createElement(l().Fragment, null, Ne()) : l().createElement(V || "div", ze, Ne()));
2749
+ });
2750
+ const P = "ResponsivePopupPageOverlay";
2751
+ var X = "_6rK0h", _e = "v_sFOS", A = "wEzP_D", H = "QN18GJ", G = "bfgH5E", _ = "SHhFKf", Y = (I) => {
2752
+ const { id: se, className: pe, pageDidMount: me, onClick: be, children: Ne, containerProps: Be, withOverlay: Se = !0, fixOverlayTouchAction: Ce } = I;
2753
+ return c.createElement("div", s()({ id: se }, ((Le) => Object.entries(Le).reduce((ie, [Ge, V]) => (Ge.includes("data-") && (ie[Ge] = V), ie), {}))(I), { className: m(pe, X, { [A]: be }), ref: me, "data-block-level-container": "PopupPage" }), Se && c.createElement("div", { className: m(H, { [G]: Ce }), onClick: be, "data-testid": P }), c.createElement(N, s()({}, Be, { extraRootClass: _e }), () => c.createElement("div", { className: _ }, Ne())));
2754
+ };
2755
+ }(), te;
2756
+ }();
2757
+ });
2758
+ })(br);
2759
+ var Xr = br.exports;
2760
+ const Kr = /* @__PURE__ */ ct(Xr);
2761
+ var Lr = { exports: {} };
2762
+ (function(Me, Xe) {
2763
+ (function(de, ee) {
2764
+ Me.exports = ee();
2765
+ })(typeof self < "u" ? self : st, function() {
2766
+ return function() {
2767
+ var de = { d: function(s, c) {
2768
+ for (var l in c) de.o(c, l) && !de.o(s, l) && Object.defineProperty(s, l, { enumerable: !0, get: c[l] });
2769
+ }, o: function(s, c) {
2770
+ return Object.prototype.hasOwnProperty.call(s, c);
2771
+ }, r: function(s) {
2772
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(s, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(s, "__esModule", { value: !0 });
2773
+ } }, ee = {};
2774
+ de.r(ee), de.d(ee, { default: function() {
2775
+ return i;
2776
+ } });
2777
+ const we = (s) => s.replace(/([A-Z])/g, (c) => `-${c.toLowerCase()}`), E = (s = {}, c) => s[c] === !0 || s[c] === "true" || s[c] === "new";
2778
+ var te, i = (te = (s) => {
2779
+ let { mapperProps: c, stateValues: l } = s;
2780
+ const { experiments: g = {} } = l;
2781
+ return { ...c, fixOverlayTouchAction: E(g, "specs.thunderbolt.fixLightboxOverlayIosTouchAction") };
2782
+ }, { useComponentProps: (s, c, l) => {
2783
+ const g = ((m) => ({ ...m, updateStyles: (u) => {
2784
+ const L = Object.entries(u).reduce((B, [oe, ae]) => {
2785
+ return { ...B, [(R = oe, R.startsWith("--") ? oe : we(oe))]: ae === void 0 ? null : ae };
2786
+ var R;
2787
+ }, {});
2788
+ m.updateStyles(L);
2789
+ } }))(l);
2790
+ return te({ mapperProps: s, stateValues: c, controllerUtils: g });
2791
+ } });
2792
+ return ee;
2793
+ }();
2794
+ });
2795
+ })(Lr);
2796
+ var Qr = Lr.exports;
2797
+ const ea = /* @__PURE__ */ ct(Qr), Ta = It(sr(Kr, ea));
2798
+ var yr = { exports: {} };
2799
+ (function(Me, Xe) {
2800
+ (function(de, ee) {
2801
+ Me.exports = ee(dt);
2802
+ })(typeof self < "u" ? self : st, function(de) {
2803
+ return function() {
2804
+ var ee = { p1x1: function(i, s) {
2805
+ s.Z = { "bg-underlay": "LWbAav", bgUnderlay: "LWbAav", "layers-container": "MW5IWV", layersContainer: "MW5IWV", animate: "V7OeEw", headerSectionAddVisibilityTransition: "MDGLoD", move: "BHIo43", fade: "UvF1nu", scrollUp: "YzrQFb", RectangleArea: "xuzjBY", rectangleArea: "xuzjBY", DefaultAreaSkin: "O7Ybkb", defaultAreaSkin: "O7Ybkb", "full-screen-scroll-effect": "GeNLDt", fullScreenScrollEffect: "GeNLDt", "fill-layer": "K8pHFh", fillLayer: "K8pHFh", "image-fill-layer": "TaweqS", imageFillLayer: "TaweqS", "bg-media": "yzHyNT", bgMedia: "yzHyNT", videoFillLayer: "zBFCpO", "alpha-canvas": "xjgrS3", alphaCanvas: "xjgrS3", "media-padding-layer": "b3zSS0", mediaPaddingLayer: "b3zSS0", transforms: "Wsv3ak", "media-canvas": "IiJMfn", mediaCanvas: "IiJMfn", RectangleAreaAfterScroll: "KJgt14", rectangleAreaAfterScroll: "KJgt14", scrolled: "VTwcX7", section: "Gzsk0j", "video-play-pause-button": "MdLl0h", videoPlayPauseButton: "MdLl0h", childrenContainer: "Gmmci1" };
2806
+ }, guqK: function(i, s, c) {
2807
+ c.d(s, { P5: function() {
2808
+ return l;
2809
+ } });
2810
+ const l = (g) => Object.entries(g).reduce((m, [u, L]) => (u.includes("data-") && (m[u] = L), m), {});
2811
+ }, "Xdf/": function(i) {
2812
+ i.exports = de;
2813
+ }, Fe5V: function(i) {
2814
+ function s() {
2815
+ return i.exports = s = Object.assign ? Object.assign.bind() : function(c) {
2816
+ for (var l = 1; l < arguments.length; l++) {
2817
+ var g = arguments[l];
2818
+ for (var m in g) ({}).hasOwnProperty.call(g, m) && (c[m] = g[m]);
2819
+ }
2820
+ return c;
2821
+ }, i.exports.__esModule = !0, i.exports.default = i.exports, s.apply(null, arguments);
2822
+ }
2823
+ i.exports = s, i.exports.__esModule = !0, i.exports.default = i.exports;
2824
+ }, MRkx: function(i, s, c) {
2825
+ function l(g) {
2826
+ var m, u, L = "";
2827
+ if (typeof g == "string" || typeof g == "number") L += g;
2828
+ else if (typeof g == "object") if (Array.isArray(g)) for (m = 0; m < g.length; m++) g[m] && (u = l(g[m])) && (L && (L += " "), L += u);
2829
+ else for (m in g) g[m] && (L && (L += " "), L += m);
2830
+ return L;
2831
+ }
2832
+ s.Z = function() {
2833
+ for (var g, m, u = 0, L = ""; u < arguments.length; ) (g = arguments[u++]) && (m = l(g)) && (L && (L += " "), L += m);
2834
+ return L;
2835
+ };
2836
+ } }, we = {};
2837
+ function E(i) {
2838
+ var s = we[i];
2839
+ if (s !== void 0) return s.exports;
2840
+ var c = we[i] = { exports: {} };
2841
+ return ee[i](c, c.exports, E), c.exports;
2842
+ }
2843
+ E.n = function(i) {
2844
+ var s = i && i.__esModule ? function() {
2845
+ return i.default;
2846
+ } : function() {
2847
+ return i;
2848
+ };
2849
+ return E.d(s, { a: s }), s;
2850
+ }, E.d = function(i, s) {
2851
+ for (var c in s) E.o(s, c) && !E.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
2852
+ }, E.o = function(i, s) {
2853
+ return Object.prototype.hasOwnProperty.call(i, s);
2854
+ }, E.r = function(i) {
2855
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
2856
+ };
2857
+ var te = {};
2858
+ return function() {
2859
+ E.r(te), E.d(te, { default: function() {
2860
+ return nn;
2861
+ } });
2862
+ var i = {};
2863
+ E.r(i), E.d(i, { STATIC_MEDIA_URL: function() {
2864
+ return Dt;
2865
+ }, ph: function() {
2866
+ return on;
2867
+ } });
2868
+ var s = E("Fe5V"), c = E.n(s), l = E("Xdf/"), g = E.n(l), m = E("MRkx");
2869
+ const u = "wixui-", L = (d, ...T) => {
2870
+ const C = [];
2871
+ return d && C.push(`${u}${d}`), T.forEach((e) => {
2872
+ e && (C.push(`${u}${e}`), C.push(e));
2873
+ }), C.join(" ");
2874
+ };
2875
+ var B = E("guqK");
2876
+ const oe = "section-container";
2877
+ var ae = "jhxvbR";
2878
+ const R = "v1", x = 2, N = 1920, P = 1920, X = 1e3, _e = 1e3, A = { SCALE_TO_FILL: "fill", SCALE_TO_FIT: "fit", STRETCH: "stretch", ORIGINAL_SIZE: "original_size", TILE: "tile", TILE_HORIZONTAL: "tile_horizontal", TILE_VERTICAL: "tile_vertical", FIT_AND_TILE: "fit_and_tile", LEGACY_STRIP_TILE: "legacy_strip_tile", LEGACY_STRIP_TILE_HORIZONTAL: "legacy_strip_tile_horizontal", LEGACY_STRIP_TILE_VERTICAL: "legacy_strip_tile_vertical", LEGACY_STRIP_SCALE_TO_FILL: "legacy_strip_fill", LEGACY_STRIP_SCALE_TO_FIT: "legacy_strip_fit", LEGACY_STRIP_FIT_AND_TILE: "legacy_strip_fit_and_tile", LEGACY_STRIP_ORIGINAL_SIZE: "legacy_strip_original_size", LEGACY_ORIGINAL_SIZE: "actual_size", LEGACY_FIT_WIDTH: "fitWidth", LEGACY_FIT_HEIGHT: "fitHeight", LEGACY_FULL: "full", LEGACY_BG_FIT_AND_TILE: "legacy_tile", LEGACY_BG_FIT_AND_TILE_HORIZONTAL: "legacy_tile_horizontal", LEGACY_BG_FIT_AND_TILE_VERTICAL: "legacy_tile_vertical", LEGACY_BG_NORMAL: "legacy_normal" }, H = { FIT: "fit", FILL: "fill", FILL_FOCAL: "fill_focal", CROP: "crop", LEGACY_CROP: "legacy_crop", LEGACY_FILL: "legacy_fill" }, G = { CENTER: "center", TOP: "top", TOP_LEFT: "top_left", TOP_RIGHT: "top_right", BOTTOM: "bottom", BOTTOM_LEFT: "bottom_left", BOTTOM_RIGHT: "bottom_right", LEFT: "left", RIGHT: "right" }, _ = { [G.CENTER]: { x: 0.5, y: 0.5 }, [G.TOP_LEFT]: { x: 0, y: 0 }, [G.TOP_RIGHT]: { x: 1, y: 0 }, [G.TOP]: { x: 0.5, y: 0 }, [G.BOTTOM_LEFT]: { x: 0, y: 1 }, [G.BOTTOM_RIGHT]: { x: 1, y: 1 }, [G.BOTTOM]: { x: 0.5, y: 1 }, [G.RIGHT]: { x: 1, y: 0.5 }, [G.LEFT]: { x: 0, y: 0.5 } }, Y = { center: "c", top: "t", top_left: "tl", top_right: "tr", bottom: "b", bottom_left: "bl", bottom_right: "br", left: "l", right: "r" }, I = { BG: "bg", SVG: "svg" }, se = { AUTO: "auto", CLASSIC: "classic", SUPER: "super" }, pe = { classic: 1, super: 2 }, me = { radius: "0.66", amount: "1.00", threshold: "0.01" }, be = { uri: "", css: { img: {}, container: {} }, attr: { img: {}, container: {} }, transformed: !1 }, Ne = 25e6, Be = [1.5, 2, 4], Se = { HIGH: { size: 196e4, quality: 90, maxUpscale: 1 }, MEDIUM: { size: 36e4, quality: 85, maxUpscale: 1 }, LOW: { size: 16e4, quality: 80, maxUpscale: 1.2 }, TINY: { size: 0, quality: 80, maxUpscale: 1.4 } }, Ce = { HIGH: "HIGH", MEDIUM: "MEDIUM", LOW: "LOW", TINY: "TINY" }, Le = { CONTRAST: "contrast", BRIGHTNESS: "brightness", SATURATION: "saturation", HUE: "hue", BLUR: "blur" }, ie = { JPG: "jpg", JPEG: "jpeg", JPE: "jpe", PNG: "png", WEBP: "webp", WIX_ICO_MP: "wix_ico_mp", WIX_MP: "wix_mp", GIF: "gif", AVIF: "avif", UNRECOGNIZED: "unrecognized" }, Ge = { AVIF: "AVIF", PAVIF: "PAVIF" };
2879
+ function V(d, ...T) {
2880
+ return function(...C) {
2881
+ const e = C[C.length - 1] || {}, t = [d[0]];
2882
+ return T.forEach(function(a, n) {
2883
+ const r = Number.isInteger(a) ? C[a] : e[a];
2884
+ t.push(r, d[n + 1]);
2885
+ }), t.join("");
2886
+ };
2887
+ }
2888
+ function K(d) {
2889
+ return d[d.length - 1];
2890
+ }
2891
+ const $e = [ie.PNG, ie.JPEG, ie.JPG, ie.JPE, ie.WIX_ICO_MP, ie.WIX_MP, ie.WEBP, ie.AVIF], ge = [ie.JPEG, ie.JPG, ie.JPE];
2892
+ function je(d, T, C) {
2893
+ return C && T && !(!(e = T.id) || !e.trim() || e.toLowerCase() === "none") && Object.values(A).includes(d);
2894
+ var e;
2895
+ }
2896
+ function De(d, T, C, e) {
2897
+ if (/(^https?)|(^data)|(^\/\/)/.test(d) || !function(n, r, o) {
2898
+ return !(ze(n) || Ve(n)) || !r || o;
2899
+ }(d, T, C)) return !1;
2900
+ const t = function(n) {
2901
+ return $e.includes(nt(n));
2902
+ }(d), a = function(n, r, o) {
2903
+ return !(!Ue(n) || !r && !o);
2904
+ }(d, C, e);
2905
+ return t || a;
2906
+ }
2907
+ function qe(d) {
2908
+ return nt(d) === ie.PNG;
2909
+ }
2910
+ function ze(d) {
2911
+ return nt(d) === ie.WEBP;
2912
+ }
2913
+ function Ue(d) {
2914
+ return nt(d) === ie.GIF;
2915
+ }
2916
+ function Ve(d) {
2917
+ return nt(d) === ie.AVIF;
2918
+ }
2919
+ const Je = ["/", "\\", "?", "<", ">", "|", "“", ":", '"'].map(encodeURIComponent), ht = ["\\.", "\\*"], rt = "_";
2920
+ function Lt(d) {
2921
+ return function(T) {
2922
+ return ge.includes(nt(T));
2923
+ }(d) ? ie.JPG : qe(d) ? ie.PNG : ze(d) ? ie.WEBP : Ue(d) ? ie.GIF : Ve(d) ? ie.AVIF : ie.UNRECOGNIZED;
2924
+ }
2925
+ function nt(d) {
2926
+ return (/[.]([^.]+)$/.exec(d) && /[.]([^.]+)$/.exec(d)[1] || "").toLowerCase();
2927
+ }
2928
+ function gt(d, T, C, e, t) {
2929
+ let a;
2930
+ return a = t === H.FILL ? function(n, r, o, h) {
2931
+ return Math.max(o / n, h / r);
2932
+ }(d, T, C, e) : t === H.FIT ? function(n, r, o, h) {
2933
+ return Math.min(o / n, h / r);
2934
+ }(d, T, C, e) : 1, a;
2935
+ }
2936
+ function _t(d, T, C, e, t, a) {
2937
+ d = d || e.width, T = T || e.height;
2938
+ const { scaleFactor: n, width: r, height: o } = function(h, f, p, y, v) {
2939
+ let O, w = p, M = y;
2940
+ if (O = gt(h, f, p, y, v), v === H.FIT && (w = h * O, M = f * O), w && M && w * M > Ne) {
2941
+ const S = Math.sqrt(Ne / (w * M));
2942
+ w *= S, M *= S, O = gt(h, f, w, M, v);
2943
+ }
2944
+ return { scaleFactor: O, width: w, height: M };
2945
+ }(d, T, e.width * t, e.height * t, C);
2946
+ return function(h, f, p, y, v, O, w) {
2947
+ const { optimizedScaleFactor: M, upscaleMethodValue: S, forceUSM: k } = function(D, Te, he, fe) {
2948
+ return fe === "auto" ? function(ce, le) {
2949
+ const J = lt(ce, le);
2950
+ return { optimizedScaleFactor: Se[J].maxUpscale, upscaleMethodValue: pe.classic, forceUSM: !1 };
2951
+ }(D, Te) : fe === "super" ? function(ce) {
2952
+ return { optimizedScaleFactor: K(Be), upscaleMethodValue: pe.super, forceUSM: !(Be.includes(ce) || ce > K(Be)) };
2953
+ }(he) : function(ce, le) {
2954
+ const J = lt(ce, le);
2955
+ return { optimizedScaleFactor: Se[J].maxUpscale, upscaleMethodValue: pe.classic, forceUSM: !1 };
2956
+ }(D, Te);
2957
+ }(h, f, O, v);
2958
+ let W = p, q = y;
2959
+ if (O <= M) return { width: W, height: q, scaleFactor: O, upscaleMethodValue: S, forceUSM: k, cssUpscaleNeeded: !1 };
2960
+ switch (w) {
2961
+ case H.FILL:
2962
+ W = p * (M / O), q = y * (M / O);
2963
+ break;
2964
+ case H.FIT:
2965
+ W = h * M, q = f * M;
2966
+ }
2967
+ return { width: W, height: q, scaleFactor: M, upscaleMethodValue: S, forceUSM: k, cssUpscaleNeeded: !0 };
2968
+ }(d, T, r, o, a, n, C);
2969
+ }
2970
+ function Ze(d, T, C, e) {
2971
+ const t = it(C) || function(a = G.CENTER) {
2972
+ return _[a];
2973
+ }(e);
2974
+ return { x: Math.max(0, Math.min(d.width - T.width, t.x * d.width - T.width / 2)), y: Math.max(0, Math.min(d.height - T.height, t.y * d.height - T.height / 2)), width: Math.min(d.width, T.width), height: Math.min(d.height, T.height) };
2975
+ }
2976
+ function Ke(d) {
2977
+ return d.alignment && Y[d.alignment] || Y[G.CENTER];
2978
+ }
2979
+ function it(d) {
2980
+ let T;
2981
+ return !d || typeof d.x != "number" || isNaN(d.x) || typeof d.y != "number" || isNaN(d.y) || (T = { x: ut(Math.max(0, Math.min(100, d.x)) / 100, 2), y: ut(Math.max(0, Math.min(100, d.y)) / 100, 2) }), T;
2982
+ }
2983
+ function lt(d, T) {
2984
+ const C = d * T;
2985
+ return C > Se[Ce.HIGH].size ? Ce.HIGH : C > Se[Ce.MEDIUM].size ? Ce.MEDIUM : C > Se[Ce.LOW].size ? Ce.LOW : Ce.TINY;
2986
+ }
2987
+ function ut(d, T) {
2988
+ const C = Math.pow(10, T);
2989
+ return (d * C / C).toFixed(T);
2990
+ }
2991
+ function wt(d) {
2992
+ return d && d.upscaleMethod && se[d.upscaleMethod.toUpperCase()] || se.AUTO;
2993
+ }
2994
+ function vt(d, T) {
2995
+ const C = ze(d) || Ve(d);
2996
+ return nt(d) === ie.GIF || C && T;
2997
+ }
2998
+ const ot = { isMobile: !1 }, Bt = function(d) {
2999
+ return ot[d];
3000
+ };
3001
+ function Gt() {
3002
+ if (typeof window < "u" && typeof navigator < "u") {
3003
+ const T = window.matchMedia && window.matchMedia("(max-width: 767px)").matches, C = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent);
3004
+ d = T && C, ot.isMobile = d;
3005
+ }
3006
+ var d;
3007
+ }
3008
+ function yt(d, T) {
3009
+ const C = { css: { container: {} } }, { css: e } = C, { fittingType: t } = d;
3010
+ switch (t) {
3011
+ case A.ORIGINAL_SIZE:
3012
+ case A.LEGACY_ORIGINAL_SIZE:
3013
+ case A.LEGACY_STRIP_ORIGINAL_SIZE:
3014
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "no-repeat";
3015
+ break;
3016
+ case A.SCALE_TO_FIT:
3017
+ case A.LEGACY_STRIP_SCALE_TO_FIT:
3018
+ e.container.backgroundSize = "contain", e.container.backgroundRepeat = "no-repeat";
3019
+ break;
3020
+ case A.STRETCH:
3021
+ e.container.backgroundSize = "100% 100%", e.container.backgroundRepeat = "no-repeat";
3022
+ break;
3023
+ case A.SCALE_TO_FILL:
3024
+ case A.LEGACY_STRIP_SCALE_TO_FILL:
3025
+ e.container.backgroundSize = "cover", e.container.backgroundRepeat = "no-repeat";
3026
+ break;
3027
+ case A.TILE_HORIZONTAL:
3028
+ case A.LEGACY_STRIP_TILE_HORIZONTAL:
3029
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat-x";
3030
+ break;
3031
+ case A.TILE_VERTICAL:
3032
+ case A.LEGACY_STRIP_TILE_VERTICAL:
3033
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat-y";
3034
+ break;
3035
+ case A.TILE:
3036
+ case A.LEGACY_STRIP_TILE:
3037
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat";
3038
+ break;
3039
+ case A.LEGACY_STRIP_FIT_AND_TILE:
3040
+ e.container.backgroundSize = "contain", e.container.backgroundRepeat = "repeat";
3041
+ break;
3042
+ case A.FIT_AND_TILE:
3043
+ case A.LEGACY_BG_FIT_AND_TILE:
3044
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat";
3045
+ break;
3046
+ case A.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
3047
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat-x";
3048
+ break;
3049
+ case A.LEGACY_BG_FIT_AND_TILE_VERTICAL:
3050
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "repeat-y";
3051
+ break;
3052
+ case A.LEGACY_BG_NORMAL:
3053
+ e.container.backgroundSize = "auto", e.container.backgroundRepeat = "no-repeat";
3054
+ }
3055
+ switch (T.alignment) {
3056
+ case G.CENTER:
3057
+ e.container.backgroundPosition = "center center";
3058
+ break;
3059
+ case G.LEFT:
3060
+ e.container.backgroundPosition = "left center";
3061
+ break;
3062
+ case G.RIGHT:
3063
+ e.container.backgroundPosition = "right center";
3064
+ break;
3065
+ case G.TOP:
3066
+ e.container.backgroundPosition = "center top";
3067
+ break;
3068
+ case G.BOTTOM:
3069
+ e.container.backgroundPosition = "center bottom";
3070
+ break;
3071
+ case G.TOP_RIGHT:
3072
+ e.container.backgroundPosition = "right top";
3073
+ break;
3074
+ case G.TOP_LEFT:
3075
+ e.container.backgroundPosition = "left top";
3076
+ break;
3077
+ case G.BOTTOM_RIGHT:
3078
+ e.container.backgroundPosition = "right bottom";
3079
+ break;
3080
+ case G.BOTTOM_LEFT:
3081
+ e.container.backgroundPosition = "left bottom";
3082
+ }
3083
+ return C;
3084
+ }
3085
+ const kt = { [G.CENTER]: "center", [G.TOP]: "top", [G.TOP_LEFT]: "top left", [G.TOP_RIGHT]: "top right", [G.BOTTOM]: "bottom", [G.BOTTOM_LEFT]: "bottom left", [G.BOTTOM_RIGHT]: "bottom right", [G.LEFT]: "left", [G.RIGHT]: "right" }, xt = { position: "absolute", top: "auto", right: "auto", bottom: "auto", left: "auto" };
3086
+ function jt(d, T) {
3087
+ const C = { css: { container: {}, img: {} } }, { css: e } = C, { fittingType: t } = d, a = T.alignment;
3088
+ switch (e.container.position = "relative", t) {
3089
+ case A.ORIGINAL_SIZE:
3090
+ case A.LEGACY_ORIGINAL_SIZE:
3091
+ d.parts && d.parts.length ? (e.img.width = d.parts[0].width, e.img.height = d.parts[0].height) : (e.img.width = d.src.width, e.img.height = d.src.height);
3092
+ break;
3093
+ case A.SCALE_TO_FIT:
3094
+ case A.LEGACY_FIT_WIDTH:
3095
+ case A.LEGACY_FIT_HEIGHT:
3096
+ case A.LEGACY_FULL:
3097
+ e.img.width = T.width, e.img.height = T.height, e.img.objectFit = "contain", e.img.objectPosition = kt[a] || "unset";
3098
+ break;
3099
+ case A.LEGACY_BG_NORMAL:
3100
+ e.img.width = "100%", e.img.height = "100%", e.img.objectFit = "none", e.img.objectPosition = kt[a] || "unset";
3101
+ break;
3102
+ case A.STRETCH:
3103
+ e.img.width = T.width, e.img.height = T.height, e.img.objectFit = "fill";
3104
+ break;
3105
+ case A.SCALE_TO_FILL:
3106
+ e.img.width = T.width, e.img.height = T.height, e.img.objectFit = "cover";
3107
+ }
3108
+ if (typeof e.img.width == "number" && typeof e.img.height == "number" && (e.img.width !== T.width || e.img.height !== T.height)) {
3109
+ const n = Math.round((T.height - e.img.height) / 2), r = Math.round((T.width - e.img.width) / 2);
3110
+ Object.assign(e.img, xt, function(o, h, f) {
3111
+ return { [G.TOP_LEFT]: { top: 0, left: 0 }, [G.TOP_RIGHT]: { top: 0, right: 0 }, [G.TOP]: { top: 0, left: h }, [G.BOTTOM_LEFT]: { bottom: 0, left: 0 }, [G.BOTTOM_RIGHT]: { bottom: 0, right: 0 }, [G.BOTTOM]: { bottom: 0, left: h }, [G.RIGHT]: { top: o, right: 0 }, [G.LEFT]: { top: o, left: 0 }, [G.CENTER]: { width: f.width, height: f.height, objectFit: "none" } };
3112
+ }(n, r, T)[a]);
3113
+ }
3114
+ return C;
3115
+ }
3116
+ function Ct(d, T) {
3117
+ const C = { css: { container: {} }, attr: { container: {}, img: {} } }, { css: e, attr: t } = C, { fittingType: a } = d, n = T.alignment, { width: r, height: o } = d.src;
3118
+ let h;
3119
+ switch (e.container.position = "relative", a) {
3120
+ case A.ORIGINAL_SIZE:
3121
+ case A.LEGACY_ORIGINAL_SIZE:
3122
+ case A.TILE:
3123
+ d.parts && d.parts.length ? (t.img.width = d.parts[0].width, t.img.height = d.parts[0].height) : (t.img.width = r, t.img.height = o), t.img.preserveAspectRatio = "xMidYMid slice";
3124
+ break;
3125
+ case A.SCALE_TO_FIT:
3126
+ case A.LEGACY_FIT_WIDTH:
3127
+ case A.LEGACY_FIT_HEIGHT:
3128
+ case A.LEGACY_FULL:
3129
+ t.img.width = "100%", t.img.height = "100%", t.img.transform = "", t.img.preserveAspectRatio = "";
3130
+ break;
3131
+ case A.STRETCH:
3132
+ t.img.width = T.width, t.img.height = T.height, t.img.x = 0, t.img.y = 0, t.img.transform = "", t.img.preserveAspectRatio = "none";
3133
+ break;
3134
+ case A.SCALE_TO_FILL:
3135
+ De(d.src.id) ? (t.img.width = T.width, t.img.height = T.height) : (h = function(f, p, y, v, O) {
3136
+ const w = gt(f, p, y, v, O);
3137
+ return { width: Math.round(f * w), height: Math.round(p * w) };
3138
+ }(r, o, T.width, T.height, H.FILL), t.img.width = h.width, t.img.height = h.height), t.img.x = 0, t.img.y = 0, t.img.transform = "", t.img.preserveAspectRatio = "xMidYMid slice";
3139
+ }
3140
+ if (typeof t.img.width == "number" && typeof t.img.height == "number" && (t.img.width !== T.width || t.img.height !== T.height)) {
3141
+ let f, p, y = 0, v = 0;
3142
+ a === A.TILE ? (f = T.width % t.img.width, p = T.height % t.img.height) : (f = T.width - t.img.width, p = T.height - t.img.height);
3143
+ const O = Math.round(f / 2), w = Math.round(p / 2);
3144
+ switch (n) {
3145
+ case G.TOP_LEFT:
3146
+ y = 0, v = 0;
3147
+ break;
3148
+ case G.TOP:
3149
+ y = O, v = 0;
3150
+ break;
3151
+ case G.TOP_RIGHT:
3152
+ y = f, v = 0;
3153
+ break;
3154
+ case G.LEFT:
3155
+ y = 0, v = w;
3156
+ break;
3157
+ case G.CENTER:
3158
+ y = O, v = w;
3159
+ break;
3160
+ case G.RIGHT:
3161
+ y = f, v = w;
3162
+ break;
3163
+ case G.BOTTOM_LEFT:
3164
+ y = 0, v = p;
3165
+ break;
3166
+ case G.BOTTOM:
3167
+ y = O, v = p;
3168
+ break;
3169
+ case G.BOTTOM_RIGHT:
3170
+ y = f, v = p;
3171
+ }
3172
+ t.img.x = y, t.img.y = v;
3173
+ }
3174
+ return t.container.width = T.width, t.container.height = T.height, t.container.viewBox = [0, 0, T.width, T.height].join(" "), C;
3175
+ }
3176
+ function Yt(d, T, C) {
3177
+ let e;
3178
+ switch (T.crop && (e = function(t, a) {
3179
+ const n = Math.max(0, Math.min(t.width, a.x + a.width) - Math.max(0, a.x)), r = Math.max(0, Math.min(t.height, a.y + a.height) - Math.max(0, a.y));
3180
+ return n && r && (t.width !== n || t.height !== r) ? { x: Math.max(0, a.x), y: Math.max(0, a.y), width: n, height: r } : null;
3181
+ }(T, T.crop), e && (d.src.width = e.width, d.src.height = e.height, d.src.isCropped = !0, d.parts.push(z(e)))), d.fittingType) {
3182
+ case A.SCALE_TO_FIT:
3183
+ case A.LEGACY_FIT_WIDTH:
3184
+ case A.LEGACY_FIT_HEIGHT:
3185
+ case A.LEGACY_FULL:
3186
+ case A.FIT_AND_TILE:
3187
+ case A.LEGACY_BG_FIT_AND_TILE:
3188
+ case A.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
3189
+ case A.LEGACY_BG_FIT_AND_TILE_VERTICAL:
3190
+ case A.LEGACY_BG_NORMAL:
3191
+ d.parts.push(j(d, C));
3192
+ break;
3193
+ case A.SCALE_TO_FILL:
3194
+ d.parts.push(function(t, a) {
3195
+ const n = _t(t.src.width, t.src.height, H.FILL, a, t.devicePixelRatio, t.upscaleMethod), r = it(t.focalPoint);
3196
+ return { transformType: r ? H.FILL_FOCAL : H.FILL, width: Math.round(n.width), height: Math.round(n.height), alignment: Ke(a), focalPointX: r && r.x, focalPointY: r && r.y, upscale: n.scaleFactor > 1, forceUSM: n.forceUSM, scaleFactor: n.scaleFactor, cssUpscaleNeeded: n.cssUpscaleNeeded, upscaleMethodValue: n.upscaleMethodValue };
3197
+ }(d, C));
3198
+ break;
3199
+ case A.STRETCH:
3200
+ d.parts.push(function(t, a) {
3201
+ const n = gt(t.src.width, t.src.height, a.width, a.height, H.FILL), r = { ...a };
3202
+ return r.width = t.src.width * n, r.height = t.src.height * n, j(t, r);
3203
+ }(d, C));
3204
+ break;
3205
+ case A.TILE_HORIZONTAL:
3206
+ case A.TILE_VERTICAL:
3207
+ case A.TILE:
3208
+ case A.LEGACY_ORIGINAL_SIZE:
3209
+ case A.ORIGINAL_SIZE:
3210
+ e = Ze(d.src, C, d.focalPoint, C.alignment), d.src.isCropped ? (Object.assign(d.parts[0], e), d.src.width = e.width, d.src.height = e.height) : d.parts.push(z(e));
3211
+ break;
3212
+ case A.LEGACY_STRIP_TILE_HORIZONTAL:
3213
+ case A.LEGACY_STRIP_TILE_VERTICAL:
3214
+ case A.LEGACY_STRIP_TILE:
3215
+ case A.LEGACY_STRIP_ORIGINAL_SIZE:
3216
+ d.parts.push(function(t) {
3217
+ return { transformType: H.LEGACY_CROP, width: Math.round(t.width), height: Math.round(t.height), alignment: Ke(t), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
3218
+ }(C));
3219
+ break;
3220
+ case A.LEGACY_STRIP_SCALE_TO_FIT:
3221
+ case A.LEGACY_STRIP_FIT_AND_TILE:
3222
+ d.parts.push(function(t) {
3223
+ return { transformType: H.FIT, width: Math.round(t.width), height: Math.round(t.height), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
3224
+ }(C));
3225
+ break;
3226
+ case A.LEGACY_STRIP_SCALE_TO_FILL:
3227
+ d.parts.push(function(t) {
3228
+ return { transformType: H.LEGACY_FILL, width: Math.round(t.width), height: Math.round(t.height), alignment: Ke(t), upscale: !1, forceUSM: !0, scaleFactor: 1, cssUpscaleNeeded: !1 };
3229
+ }(C));
3230
+ }
3231
+ }
3232
+ function j(d, T) {
3233
+ const C = _t(d.src.width, d.src.height, H.FIT, T, d.devicePixelRatio, d.upscaleMethod);
3234
+ return { transformType: !d.src.width || !d.src.height ? H.FIT : H.FILL, width: Math.round(C.width), height: Math.round(C.height), alignment: Y.center, upscale: C.scaleFactor > 1, forceUSM: C.forceUSM, scaleFactor: C.scaleFactor, cssUpscaleNeeded: C.cssUpscaleNeeded, upscaleMethodValue: C.upscaleMethodValue };
3235
+ }
3236
+ function z(d) {
3237
+ return { transformType: H.CROP, x: Math.round(d.x), y: Math.round(d.y), width: Math.round(d.width), height: Math.round(d.height), upscale: !1, forceUSM: !1, scaleFactor: 1, cssUpscaleNeeded: !1 };
3238
+ }
3239
+ function Q(d, T) {
3240
+ T = T || {}, d.quality = function(C, e) {
3241
+ const t = C.fileType === ie.PNG, a = C.fileType === ie.JPG, n = C.fileType === ie.WEBP, r = C.fileType === ie.AVIF;
3242
+ if (a || t || n || r) {
3243
+ const p = K(C.parts), y = (h = p.width, f = p.height, Se[lt(h, f)].quality);
3244
+ let v = e.quality && e.quality >= 5 && e.quality <= 90 ? e.quality : y;
3245
+ return v = t ? v + 5 : v, v;
3246
+ }
3247
+ var h, f;
3248
+ return 0;
3249
+ }(d, T), d.progressive = function(C) {
3250
+ return C.progressive !== !1;
3251
+ }(T), d.watermark = function(C) {
3252
+ return C.watermark;
3253
+ }(T), d.autoEncode = T.autoEncode ?? !0, d.encoding = T?.encoding, d.unsharpMask = function(C, e) {
3254
+ if (function(a) {
3255
+ const n = typeof (a = a || {}).radius == "number" && !isNaN(a.radius) && a.radius >= 0.1 && a.radius <= 500, r = typeof a.amount == "number" && !isNaN(a.amount) && a.amount >= 0 && a.amount <= 10, o = typeof a.threshold == "number" && !isNaN(a.threshold) && a.threshold >= 0 && a.threshold <= 255;
3256
+ return n && r && o;
3257
+ }(e.unsharpMask)) return { radius: ut(e.unsharpMask?.radius, 2), amount: ut(e.unsharpMask?.amount, 2), threshold: ut(e.unsharpMask?.threshold, 2) };
3258
+ if ((typeof (t = (t = e.unsharpMask) || {}).radius != "number" || isNaN(t.radius) || t.radius !== 0 || typeof t.amount != "number" || isNaN(t.amount) || t.amount !== 0 || typeof t.threshold != "number" || isNaN(t.threshold) || t.threshold !== 0) && function(a) {
3259
+ const n = K(a.parts);
3260
+ return !(n.scaleFactor >= 1) || n.forceUSM || n.transformType === H.FIT;
3261
+ }(C)) return me;
3262
+ var t;
3263
+ }(d, T), d.filters = function(C) {
3264
+ const e = C.filters || {}, t = {};
3265
+ return b(e[Le.CONTRAST], -100, 100) && (t[Le.CONTRAST] = e[Le.CONTRAST]), b(e[Le.BRIGHTNESS], -100, 100) && (t[Le.BRIGHTNESS] = e[Le.BRIGHTNESS]), b(e[Le.SATURATION], -100, 100) && (t[Le.SATURATION] = e[Le.SATURATION]), b(e[Le.HUE], -180, 180) && (t[Le.HUE] = e[Le.HUE]), b(e[Le.BLUR], 0, 100) && (t[Le.BLUR] = e[Le.BLUR]), t;
3266
+ }(T);
3267
+ }
3268
+ function b(d, T, C) {
3269
+ return typeof d == "number" && !isNaN(d) && d !== 0 && d >= T && d <= C;
3270
+ }
3271
+ function F(d, T, C, e) {
3272
+ const t = function(y) {
3273
+ return y?.isSEOBot ?? !1;
3274
+ }(e), a = Lt(T.id), n = function(y, v) {
3275
+ const O = /\.([^.]*)$/, w = new RegExp(`(${Je.concat(ht).join("|")})`, "g");
3276
+ if (v && v.length) {
3277
+ let S = v;
3278
+ const k = v.match(O);
3279
+ return k && $e.includes(k[1]) && (S = v.replace(O, "")), encodeURIComponent(S).replace(w, rt);
3280
+ }
3281
+ const M = y.match(/\/(.*?)$/);
3282
+ return (M ? M[1] : y).replace(O, "");
3283
+ }(T.id, T.name), r = t ? 1 : function(y) {
3284
+ return Math.min(y.pixelAspectRatio || 1, x);
3285
+ }(C), o = nt(T.id), h = o, f = De(T.id, e?.hasAnimation, e?.allowAnimatedTransform, e?.allowFullGIFTransformation), p = { fileName: n, fileExtension: o, fileType: a, fittingType: d, preferredExtension: h, src: { id: T.id, width: T.width, height: T.height, isCropped: !1, isAnimated: vt(T.id, e?.hasAnimation) }, focalPoint: { x: T.focalPoint && T.focalPoint.x, y: T.focalPoint && T.focalPoint.y }, parts: [], devicePixelRatio: r, quality: 0, upscaleMethod: wt(e), progressive: !0, watermark: "", unsharpMask: {}, filters: {}, transformed: f, allowFullGIFTransformation: e?.allowFullGIFTransformation, isPlaceholderFlow: e?.isPlaceholderFlow };
3286
+ return f && (Yt(p, T, C), Q(p, e)), p;
3287
+ }
3288
+ function Z(d, T, C) {
3289
+ const e = { ...C }, t = Bt("isMobile");
3290
+ switch (d) {
3291
+ case A.LEGACY_BG_FIT_AND_TILE:
3292
+ case A.LEGACY_BG_FIT_AND_TILE_HORIZONTAL:
3293
+ case A.LEGACY_BG_FIT_AND_TILE_VERTICAL:
3294
+ case A.LEGACY_BG_NORMAL:
3295
+ const a = t ? X : N, n = t ? _e : P;
3296
+ e.width = Math.min(a, T.width), e.height = Math.min(n, Math.round(e.width / (T.width / T.height))), e.pixelAspectRatio = 1;
3297
+ }
3298
+ return e;
3299
+ }
3300
+ const U = V`fit/w_${"width"},h_${"height"}`, ne = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`, re = V`fill/w_${"width"},h_${"height"},fp_${"focalPointX"}_${"focalPointY"}`, Ae = V`crop/x_${"x"},y_${"y"},w_${"width"},h_${"height"}`, Re = V`crop/w_${"width"},h_${"height"},al_${"alignment"}`, Ye = V`fill/w_${"width"},h_${"height"},al_${"alignment"}`, We = V`,lg_${"upscaleMethodValue"}`, Qe = V`,q_${"quality"}`, ft = V`,quality_auto`, at = V`,usm_${"radius"}_${"amount"}_${"threshold"}`, En = V`,bl`, Ut = V`,wm_${"watermark"}`, Tn = { [Le.CONTRAST]: V`,con_${"contrast"}`, [Le.BRIGHTNESS]: V`,br_${"brightness"}`, [Le.SATURATION]: V`,sat_${"saturation"}`, [Le.HUE]: V`,hue_${"hue"}`, [Le.BLUR]: V`,blur_${"blur"}` }, In = V`,enc_auto`, vn = V`,enc_avif`, bn = V`,enc_pavif`, Ln = V`,pstr`, yn = V`,anm_all`;
3301
+ function $t(d, T, C, e = {}, t) {
3302
+ if (De(T.id, e?.hasAnimation, e?.allowAnimatedTransform, e?.allowFullGIFTransformation)) {
3303
+ if (ze(T.id) || Ve(T.id)) {
3304
+ const { alignment: a, ...n } = C;
3305
+ T.focalPoint = { x: void 0, y: void 0 }, delete T?.crop, t = F(d, T, n, e);
3306
+ } else t = t || F(d, T, C, e);
3307
+ return function(a) {
3308
+ const n = [];
3309
+ a.parts.forEach((o) => {
3310
+ switch (o.transformType) {
3311
+ case H.CROP:
3312
+ n.push(Ae(o));
3313
+ break;
3314
+ case H.LEGACY_CROP:
3315
+ n.push(Re(o));
3316
+ break;
3317
+ case H.LEGACY_FILL:
3318
+ let h = Ye(o);
3319
+ o.upscale && (h += We(o)), n.push(h);
3320
+ break;
3321
+ case H.FIT:
3322
+ let f = U(o);
3323
+ o.upscale && (f += We(o)), n.push(f);
3324
+ break;
3325
+ case H.FILL:
3326
+ let p = ne(o);
3327
+ o.upscale && (p += We(o)), n.push(p);
3328
+ break;
3329
+ case H.FILL_FOCAL:
3330
+ let y = re(o);
3331
+ o.upscale && (y += We(o)), n.push(y);
3332
+ }
3333
+ });
3334
+ let r = n.join("/");
3335
+ if (a.quality && (r += Qe(a)), a.unsharpMask && (r += at(a.unsharpMask)), a.progressive || (r += En(a)), a.watermark && (r += Ut(a)), a.filters && (r += Object.keys(a.filters).map((o) => Tn[o](a.filters)).join("")), a.fileType !== ie.GIF && (a.encoding === Ge.AVIF ? (r += vn(a), r += ft(a)) : a.encoding === Ge.PAVIF ? (r += bn(a), r += ft(a)) : a.autoEncode && (r += In(a))), a.src?.isAnimated && a.transformed) {
3336
+ const o = Ue(a.src.id), h = a.isPlaceholderFlow === !0, f = a.allowFullGIFTransformation === !0;
3337
+ h ? r += Ln(a) : o && f && (r += yn(a));
3338
+ }
3339
+ return `${a.src.id}/${R}/${r}/${a.fileName}.${a.preferredExtension}`;
3340
+ }(t);
3341
+ }
3342
+ return T.id;
3343
+ }
3344
+ const rn = { [G.CENTER]: "50% 50%", [G.TOP_LEFT]: "0% 0%", [G.TOP_RIGHT]: "100% 0%", [G.TOP]: "50% 0%", [G.BOTTOM_LEFT]: "0% 100%", [G.BOTTOM_RIGHT]: "100% 100%", [G.BOTTOM]: "50% 100%", [G.RIGHT]: "100% 50%", [G.LEFT]: "0% 50%" }, An = Object.entries(rn).reduce((d, [T, C]) => (d[C] = T, d), {}), Et = [A.TILE, A.TILE_HORIZONTAL, A.TILE_VERTICAL, A.LEGACY_BG_FIT_AND_TILE, A.LEGACY_BG_FIT_AND_TILE_HORIZONTAL, A.LEGACY_BG_FIT_AND_TILE_VERTICAL], Vt = [A.LEGACY_ORIGINAL_SIZE, A.ORIGINAL_SIZE, A.LEGACY_BG_NORMAL];
3345
+ function an(d, T, { width: C, height: e }) {
3346
+ return d === A.TILE && T.width > C && T.height > e;
3347
+ }
3348
+ function bt(d, { width: T, height: C }) {
3349
+ if (!T || !C) {
3350
+ const e = T || Math.min(980, d.width), t = e / d.width;
3351
+ return { width: e, height: C || d.height * t };
3352
+ }
3353
+ return { width: T, height: C };
3354
+ }
3355
+ function On(d, T, C, e = "center") {
3356
+ const t = { img: {}, container: {} };
3357
+ if (d === A.SCALE_TO_FILL) {
3358
+ const a = T.focalPoint && function(r) {
3359
+ const o = `${r.x}% ${r.y}%`;
3360
+ return An[o] || "";
3361
+ }(T.focalPoint), n = a || e;
3362
+ T.focalPoint && !a ? t.img = { objectPosition: Zt(T, C, T.focalPoint) } : t.img = { objectPosition: rn[n] };
3363
+ } else [A.LEGACY_ORIGINAL_SIZE, A.ORIGINAL_SIZE].includes(d) ? t.img = { objectFit: "none", top: "auto", left: "auto", right: "auto", bottom: "auto" } : Et.includes(d) && (t.container = { backgroundSize: `${T.width}px ${T.height}px` });
3364
+ return t;
3365
+ }
3366
+ function Zt(d, T, C) {
3367
+ const { width: e, height: t } = d, { width: a, height: n } = T, { x: r, y: o } = C;
3368
+ if (!a || !n) return `${r}% ${o}%`;
3369
+ const h = Math.max(a / e, n / t), f = e * h, p = t * h, y = Math.max(0, Math.min(f - a, f * (r / 100) - a / 2)), v = Math.max(0, Math.min(p - n, p * (o / 100) - n / 2));
3370
+ return `${y && Math.floor(y / (f - a) * 100)}% ${v && Math.floor(v / (p - n) * 100)}%`;
3371
+ }
3372
+ const wn = { width: "100%", height: "100%" };
3373
+ function on(d, T, C, e = {}) {
3374
+ const { autoEncode: t = !0, isSEOBot: a, shouldLoadHQImage: n, hasAnimation: r, allowAnimatedTransform: o, encoding: h } = e;
3375
+ if (!je(d, T, C)) return be;
3376
+ const f = !0, p = o ?? f, y = De(T.id, r, p);
3377
+ if (!y || n) return zt(d, T, C, { ...e, autoEncode: t, useSrcset: y });
3378
+ const v = { ...C, ...bt(T, C) }, { alignment: O, htmlTag: w } = v, M = an(d, T, v), S = function(fe, ce, { width: le, height: J }, $ = !1) {
3379
+ if ($) return { width: le, height: J };
3380
+ const Ee = !Vt.includes(fe), ve = an(fe, ce, { width: le, height: J }), ue = !ve && Et.includes(fe), xe = ue ? ce.width : le, ke = ue ? ce.height : J, ye = Ee ? function(Ie, Oe) {
3381
+ return Ie > 900 ? Oe ? 0.05 : 0.15 : Ie > 500 ? Oe ? 0.1 : 0.18 : Ie > 200 ? 0.25 : 1;
3382
+ }(xe, qe(ce.id)) : 1;
3383
+ return { width: ve ? 1920 : xe * ye, height: ke * ye };
3384
+ }(d, T, v, a), k = function(fe, ce, le) {
3385
+ return le ? 0 : Et.includes(ce) ? 1 : fe > 200 ? 2 : 3;
3386
+ }(v.width, d, a), W = function(fe, ce) {
3387
+ const le = Et.includes(fe) && !ce;
3388
+ return fe === A.SCALE_TO_FILL || le ? A.SCALE_TO_FIT : fe;
3389
+ }(d, M), q = On(d, T, C, O), { uri: D } = zt(W, T, { ...S, alignment: O, htmlTag: w }, { autoEncode: t, filters: k ? { blur: k } : {}, hasAnimation: r, allowAnimatedTransform: p, encoding: h, isPlaceholderFlow: f }), { attr: Te = {}, css: he } = zt(d, T, { ...v, alignment: O, htmlTag: w }, {});
3390
+ return he.img = he.img || {}, he.container = he.container || {}, Object.assign(he.img, q.img, wn), Object.assign(he.container, q.container), { uri: D, css: he, attr: Te, transformed: !0 };
3391
+ }
3392
+ function zt(d, T, C, e) {
3393
+ let t = {};
3394
+ if (je(d, T, C)) {
3395
+ const a = Z(d, T, C), n = F(d, T, a, e);
3396
+ t.uri = $t(d, T, a, e, n), e?.useSrcset && (t.srcset = function(r, o, h, f, p) {
3397
+ const y = h.pixelAspectRatio || 1;
3398
+ return { dpr: [`${y === 1 ? p.uri : $t(r, o, { ...h, pixelAspectRatio: 1 }, f)} 1x`, `${y === 2 ? p.uri : $t(r, o, { ...h, pixelAspectRatio: 2 }, f)} 2x`] };
3399
+ }(d, T, a, e, t)), Object.assign(t, function(r, o) {
3400
+ let h;
3401
+ return h = o.htmlTag === I.BG ? yt : o.htmlTag === I.SVG ? Ct : jt, h(r, o);
3402
+ }(n, a), { transformed: n.transformed });
3403
+ } else t = be;
3404
+ return t;
3405
+ }
3406
+ const xn = "https://static.wixstatic.com/media/";
3407
+ Gt(), Gt();
3408
+ const Dt = xn, { STATIC_MEDIA_URL: At } = i, Cn = ({ fittingType: d, src: T, target: C, options: e }) => {
3409
+ const t = on(d, T, C, { ...e, autoEncode: !0 });
3410
+ return t?.uri && !/^[a-z]+:/.test(t.uri) && (t.uri = `${At}${t.uri}`), t;
3411
+ }, Mn = /^[a-z]+:/, Wt = (d) => {
3412
+ const { id: T, containerId: C, uri: e, alt: t, name: a = "", role: n, width: r, height: o, displayMode: h, devicePixelRatio: f, quality: p, alignType: y, bgEffectName: v = "", focalPoint: O, upscaleMethod: w, className: M = "", crop: S, imageStyles: k = {}, targetWidth: W, targetHeight: q, targetScale: D, onLoad: Te = () => {
3413
+ }, onError: he = () => {
3414
+ }, shouldUseLQIP: fe, containerWidth: ce, containerHeight: le, getPlaceholder: J, isInFirstFold: $, placeholderTransition: Ee, socialAttrs: ve, isSEOBot: ue, skipMeasure: xe, hasAnimation: ke, encoding: ye, isFluidLayout: Ie } = d, Oe = l.useRef(null);
3415
+ let He = "";
3416
+ const Pe = Ee === "blur", Fe = l.useRef(null);
3417
+ if (!Fe.current) if (J || fe || $ || ue) {
3418
+ const mt = { upscaleMethod: w, ...p || {}, shouldLoadHQImage: $, isSEOBot: ue, hasAnimation: ke, encoding: ye };
3419
+ Fe.current = (J || Cn)({ fittingType: h, src: { id: e, width: r, height: o, crop: S, name: a, focalPoint: O }, target: { width: ce, height: le, alignment: y, htmlTag: "img" }, options: mt }), He = !Fe.current.transformed || $ || ue ? "" : "true";
3420
+ } else Fe.current = { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} }, transformed: !1 };
3421
+ const Pt = !ue && (J || fe) && !$ && Fe.current.transformed, rr = l.useMemo(() => JSON.stringify({ containerId: C, ...C && { containerId: C }, ...y && { alignType: y }, ...xe && { skipMeasure: !0 }, displayMode: h, ...ce && { targetWidth: ce }, ...le && { targetHeight: le }, ...W && { targetWidth: W }, ...q && { targetHeight: q }, ...D && { targetScale: D }, isLQIP: Pt, isSEOBot: ue, lqipTransition: Ee, encoding: ye, imageData: { width: r, height: o, uri: e, name: a, displayMode: h, hasAnimation: ke, ...p && { quality: p }, ...f && { devicePixelRatio: f }, ...O && { focalPoint: O }, ...S && { crop: S }, ...w && { upscaleMethod: w } } }), [C, y, xe, h, ce, le, W, q, D, Pt, ue, Ee, ye, r, o, e, a, ke, p, f, O, S, w]), et = Fe.current, Ft = et?.uri, ar = et?.srcset, pt = et.css?.img, ir = `${ae} ${M}`;
3422
+ l.useEffect(() => {
3423
+ const mt = Oe.current;
3424
+ Te && mt?.currentSrc && mt?.complete && Te({ target: mt });
3425
+ }, []);
3426
+ const _n = et && !et?.transformed ? `max(${r}px, 100%)` : W ? `${W}px` : null;
3427
+ return l.createElement("wow-image", { id: T, class: ir, "data-image-info": rr, "data-motion-part": `BG_IMG ${C}`, "data-bg-effect-name": v, "data-has-ssr-src": He, "data-animate-blur": !ue && Pt && Pe ? "" : void 0, "data-is-responsive": Ie ? "true" : void 0, style: _n ? { "--wix-img-max-width": _n } : {} }, l.createElement("img", { src: Ft, ref: Oe, alt: t || "", role: n, style: { ...pt, ...k }, onLoad: Te, onError: he, width: ce || void 0, height: le || void 0, ...ve, srcSet: $ ? ar?.dpr?.map((mt) => Mn.test(mt) ? mt : `${At}${mt}`).join(", ") : void 0, fetchpriority: $ ? "high" : void 0, loading: $ === !1 ? "lazy" : void 0, suppressHydrationWarning: !0 }));
3428
+ };
3429
+ var sn = "Tj01hh", cn = (d) => {
3430
+ var T, C;
3431
+ const { id: e, alt: t, role: a, className: n, imageStyles: r = {}, targetWidth: o, targetHeight: h, onLoad: f, onError: p, containerWidth: y, containerHeight: v, isInFirstFold: O, socialAttrs: w, skipMeasure: M, responsiveImageProps: S, zoomedImageResponsiveOverride: k, displayMode: W } = d, q = o || y, D = h || v, { fallbackSrc: Te, srcset: he, sources: fe, css: ce } = S || {}, { width: le, height: J, ...$ } = (S == null || (T = S.css) == null ? void 0 : T.img) || {}, Ee = W === "original_size" ? S == null || (C = S.css) == null ? void 0 : C.img : $;
3432
+ var ve;
3433
+ return Te && he && ce ? l.createElement("img", c()({ fetchpriority: O ? "high" : void 0, loading: O === !1 ? "lazy" : void 0, sizes: q + "px", srcSet: M ? k?.srcset : S?.srcset, id: e, src: Te, alt: t || "", role: a, style: { ...r, ...M ? { ...k == null || (ve = k.css) == null ? void 0 : ve.img } : { ...Ee } }, onLoad: f, onError: p, className: (0, m.Z)(n, sn), width: q, height: D }, w)) : Te && fe && ce ? l.createElement("picture", null, fe.map((ue) => {
3434
+ let { srcset: xe, media: ke, sizes: ye } = ue;
3435
+ return l.createElement("source", { key: ke, srcSet: xe, media: ke, sizes: ye });
3436
+ }), l.createElement("img", c()({ fetchpriority: O ? "high" : void 0, loading: O === !1 ? "lazy" : void 0, id: e, src: fe[0].fallbackSrc, alt: t || "", role: a, style: { ...r, objectFit: fe[0].imgStyle.objectFit, objectPosition: fe[0].imgStyle.objectPosition }, onLoad: f, onError: p, className: (0, m.Z)(n, sn), width: q, height: D }, w))) : l.createElement(Wt, d);
3437
+ }, ln = (d) => {
3438
+ var T, C, e;
3439
+ const { className: t, customIdPrefix: a, getPlaceholder: n, hasAnimation: r, ...o } = d, h = l.useMemo(() => JSON.stringify({ containerId: o.containerId, alignType: o.alignType, fittingType: o.displayMode, hasAnimation: r, imageData: { width: o.width, height: o.height, uri: o.uri, name: o.name, ...o.quality && { quality: o.quality }, displayMode: o.displayMode } }), [o, r]), f = l.useRef(null);
3440
+ f.current || (f.current = n ? n({ fittingType: o.displayMode, src: { id: o.uri, width: o.width, height: o.height, name: o.name }, target: { width: o.containerWidth, height: o.containerHeight, alignment: o.alignType, htmlTag: "bg" }, options: { hasAnimation: r, allowAnimatedTransform: !1 } }) : { uri: void 0, css: { img: {} }, attr: { img: {}, container: {} } });
3441
+ const p = f.current, y = (T = p?.uri) != null ? T : "", v = (C = (e = p.css) == null ? void 0 : e.container) != null ? C : {}, O = Object.assign(y ? { backgroundImage: "url(" + y + ")" } : {}, v);
3442
+ return l.createElement("wix-bg-image", { id: "" + (a || "bgImg_") + o.containerId, class: t, style: O, "data-tiled-image-info": h, "data-has-bg-scroll-effect": o.hasBgScrollEffect || "", "data-bg-effect-name": o.bgEffectName || "", "data-motion-part": "BG_IMG " + o.containerId });
3443
+ };
3444
+ const qt = new RegExp("<%= compId %>", "g"), Jt = (d, T) => d.replace(qt, T);
3445
+ var Mt = (d) => d?.replace(":hover", ""), Sn = "bX9O_S", Nn = "Z_wCwr", St = "Jxk_UL", Rn = "K8MSra", Pn = "YTb3b4";
3446
+ const Fn = { quality: { unsharpMask: { radius: 0.33, amount: 1, threshold: 0 } }, devicePixelRatio: 1 };
3447
+ var Gn = (d) => {
3448
+ const { id: T, videoRef: C, videoInfo: e, posterImageInfo: t, muted: a, preload: n, loop: r, alt: o, isVideoEnabled: h, getPlaceholder: f, extraClassName: p = "" } = d;
3449
+ e.containerId = Mt(e.containerId);
3450
+ const y = l.useMemo(() => JSON.stringify(e), [e]), v = l.createElement(l.Fragment, null, t.filterEffectSvgString && l.createElement("svg", { id: "svg_" + e.containerId, className: Pn }, l.createElement("defs", { dangerouslySetInnerHTML: { __html: Jt(t.filterEffectSvgString, e.containerId) } })), l.createElement(cn, c()({ key: e.videoId + "_img", id: t.containerId + "_img", className: (0, m.Z)(Nn, St, "bgVideoposter", p), imageStyles: { width: "100%", height: "100%" } }, t, Fn, { getPlaceholder: f })));
3451
+ return h ? l.createElement("wix-video", { id: T, "data-video-info": y, "data-motion-part": "BG_IMG " + e.containerId, class: (0, m.Z)(Sn, "bgVideo", p) }, l.createElement("video", { key: e.videoId + "_video", ref: C, id: e.containerId + "_video", className: Rn, crossOrigin: "anonymous", "aria-label": o, playsInline: !0, preload: n, muted: a, loop: r }), v) : v;
3452
+ }, kn = "SUz0WK", Hn = (d) => {
3453
+ const { id: T, containerId: C, pageId: e, children: t, bgEffectName: a = "", containerSize: n } = d;
3454
+ return l.createElement("wix-bg-media", { id: T, class: kn, "data-container-id": C, "data-container-size": (n?.width || 0) + ", " + (n?.height || 0), "data-page-id": e, "data-bg-effect-name": a, "data-motion-part": "BG_MEDIA " + C }, t);
3455
+ };
3456
+ const Bn = "bgOverlay";
3457
+ var jn = "m4khSP", Yn = "FNxOn5", Un = (d) => {
3458
+ const { imageOverlay: T } = d;
3459
+ return l.createElement("div", { "data-testid": Bn, className: jn }, T && l.createElement(ln, c()({ customIdPrefix: "bgImgOverlay_", className: Yn }, T)));
3460
+ };
3461
+ const un = "bgLayers", $n = "colorUnderlay", Vn = "mediaPadding", Ht = "canvas";
3462
+ var Zn = "MW5IWV", zn = "N3eg0s", Nt = "Kv1aVt", dn = "dLPlxY", Dn = "VgO9Yg", Rt = "LWbAav", Xt = "yK6aSC", hn = "K_YxMd", Wn = "NGjcJN", fn = "mNGsUM", Kt = "I8xA4L";
3463
+ const pn = "bgImage";
3464
+ var Qt = (d) => {
3465
+ const { videoRef: T, canvasRef: C, hasBgFullscreenScrollEffect: e, image: t, backgroundImage: a, backgroundMedia: n, video: r, backgroundOverlay: o, shouldPadMedia: h, extraClass: f = "", shouldRenderUnderlay: p = !r, reducedMotion: y = !1, getPlaceholder: v, hasCanvasAnimation: O, useWixMediaCanvas: w, onClick: M } = d, { onImageLoad: S } = ((le) => {
3466
+ let { onReady: J, image: $ } = le;
3467
+ return (0, l.useEffect)(() => {
3468
+ J && !$ && J();
3469
+ }, [J, $]), { onImageLoad: (Ee) => {
3470
+ $ != null && $.onLoad && $.onLoad(Ee), J && J();
3471
+ } };
3472
+ })(d), k = Mt(d.containerId), W = "img_" + Mt(k), q = t && l.createElement(cn, c()({ id: W, className: (0, m.Z)(Nt, dn, fn, pn), imageStyles: { width: "100%", height: "100%" }, getPlaceholder: v }, t, { onLoad: S })), D = a && l.createElement(ln, c()({}, a, { containerId: k, className: (0, m.Z)(Nt, dn, fn, pn), getPlaceholder: v })), Te = r && l.createElement(Gn, c()({ id: "videoContainer_" + k }, r, { extraClassName: Xt, reducedMotion: y, videoRef: T, getPlaceholder: v })), he = w && C || O ? l.createElement("wix-media-canvas", { "data-container-id": k, class: O ? Kt : "" }, q, D, Te, l.createElement("canvas", { id: k + "webglcanvas", className: (0, m.Z)(hn, "webglcanvas"), "aria-label": r?.alt || "", role: "presentation", "data-testid": Ht })) : l.createElement(l.Fragment, null, q, D, Te, C && l.createElement("canvas", { id: k + "webglcanvas", ref: C, className: (0, m.Z)(hn, "webglcanvas"), "aria-label": r?.alt || "", role: "presentation", "data-testid": Ht })), fe = n ? l.createElement(Hn, c()({ id: "bgMedia_" + k }, n), he) : l.createElement("div", { id: "bgMedia_" + k, "data-motion-part": "BG_MEDIA " + k, className: Dn }, he), ce = o && l.createElement(Un, o);
3473
+ return l.createElement("div", { id: un + "_" + k, "data-hook": un, "data-motion-part": "BG_LAYER " + k, className: (0, m.Z)(Zn, f, { [zn]: e }), onClick: M }, p && l.createElement("div", { "data-testid": $n, className: (0, m.Z)(Rt, Nt) }), h ? l.createElement("div", { "data-testid": Vn, className: Wn }, fe, ce) : l.createElement(l.Fragment, null, fe, ce));
3474
+ }, qn = (d) => l.createElement(Qt, d), en = "dkukWC", Jn = "FRCqDF", Xn = "xnZvZH", Kn = "MBOSCN";
3475
+ const mn = (d, T, C) => {
3476
+ const e = ((t, a) => t ? [...Array(1 + (a || 0)).keys()].reverse().map((n) => l.createElement("div", { key: "divider-layer-" + n, style: { "--divider-layer-i": n }, className: Jn, "data-testid": "divider-layer-" + n, "data-divider-layer": n })) : null)(!!T, C);
3477
+ return T ? l.createElement("div", { className: (0, m.Z)(en, { [Xn]: d === "top", [Kn]: d === "bottom" }), "data-testid": d + "-divider" }, e) : null;
3478
+ };
3479
+ var Qn = (d) => {
3480
+ var T, C;
3481
+ const e = l.useMemo(() => {
3482
+ var a;
3483
+ return mn("top", d?.hasTopDivider, d == null || (a = d.topLayers) == null ? void 0 : a.size);
3484
+ }, [d?.hasTopDivider, d == null || (T = d.topLayers) == null ? void 0 : T.size]), t = l.useMemo(() => {
3485
+ var a;
3486
+ return mn("bottom", d?.hasBottomDivider, d == null || (a = d.bottomLayers) == null ? void 0 : a.size);
3487
+ }, [d?.hasBottomDivider, d == null || (C = d.bottomLayers) == null ? void 0 : C.size]);
3488
+ return l.createElement(l.Fragment, null, e, t);
3489
+ }, er = { root: "section" }, Ot = E("p1x1");
3490
+ const gn = ({ size: d, ...T }) => l.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: d || "18", height: d || "18", ...T }, l.createElement("path", { d: "M7.5,5 C8.32842712,5 9,5.67157288 9,6.5 L9,11.5 C9,12.3284271 8.32842712,13 7.5,13 C6.67157288,13 6,12.3284271 6,11.5 L6,6.5 C6,5.67157288 6.67157288,5 7.5,5 Z M11.5,5 C12.3284271,5 13,5.67157288 13,6.5 L13,11.5 C13,12.3284271 12.3284271,13 11.5,13 C10.6715729,13 10,12.3284271 10,11.5 L10,6.5 C10,5.67157288 10.6715729,5 11.5,5 Z M7.5,6 C7.22385763,6 7,6.22385763 7,6.5 L7,11.5 C7,11.7761424 7.22385763,12 7.5,12 C7.77614237,12 8,11.7761424 8,11.5 L8,6.5 C8,6.22385763 7.77614237,6 7.5,6 Z M11.5,6 C11.2238576,6 11,6.22385763 11,6.5 L11,11.5 C11,11.7761424 11.2238576,12 11.5,12 C11.7761424,12 12,11.7761424 12,11.5 L12,6.5 C12,6.22385763 11.7761424,6 11.5,6 Z" }));
3491
+ gn.displayName = "PauseSmall";
3492
+ var tr = gn;
3493
+ const Tt = ({ size: d, ...T }) => l.createElement("svg", { viewBox: "0 0 18 18", fill: "currentColor", width: d || "18", height: d || "18", ...T }, l.createElement("path", { d: "M6.87468837,5.45041947 L12.7318793,8.46657119 C13.20163,8.68731241 13.20163,9.26940918 12.7318793,9.53342881 L6.87468837,12.5495805 C6.58008377,12.7012867 6.00070071,12.5801226 6,12.0161517 L6,5.98384828 C6,5.65247743 6.35266876,5.20682168 6.87468837,5.45041947 Z M7,11.3602529 L11.5834735,9 L7,6.63974714 L7,11.3602529 Z" }));
3494
+ Tt.displayName = "PlaySmall";
3495
+ var tn = Tt;
3496
+ const nr = (d, T) => {
3497
+ var C;
3498
+ const { id: e, skin: t = "RectangleArea", className: a, containerRootClassName: n = "", customClassNames: r = [], containerProps: o, children: h, fillLayers: f = d.fillLayers || d.background, tagName: p, getPlaceholder: y, dividers: v, semanticClassNames: O, onStop: w, onClick: M, onDblClick: S, onMouseEnter: k, onMouseLeave: W, lang: q, translations: D, isPlayPauseSectionExperimentOn: Te, isBuilder: he } = d, fe = p || "section", { shouldOmitWrapperLayers: ce } = o, le = (0, m.Z)(Ot.Z[t], n, a, O ? L(O.root, ...r) : L(er.root, ...r), { [Ot.Z.shouldOmitWrapperLayers]: ce }), J = !(f == null || !f.video), $ = function(xe, ke, ye) {
3499
+ const Ie = g().useRef(null), Oe = g().useRef(null);
3500
+ return ke ? Oe.current || (Oe.current = { play: () => Ie.current?.play(), load: () => Ie.current?.load(), pause: () => Ie.current?.pause(), stop: () => {
3501
+ Ie.current && (Ie.current.pause(), Ie.current.currentTime = 0, ye && ye(Ie.current));
3502
+ } }) : Oe.current = null, g().useImperativeHandle(xe, () => Oe.current || { load() {
3503
+ }, stop() {
3504
+ } }), Ie;
3505
+ }(T, J, w), [Ee, ve] = l.useState(!($ != null && (C = $.current) != null && C.paused));
3506
+ return l.createElement(fe, c()({ id: e }, (0, B.P5)(d), ((xe = {}) => {
3507
+ const ke = xe.tabIndex ?? xe.tabindex ?? void 0;
3508
+ return ke !== void 0 ? { tabIndex: Number(ke) } : {};
3509
+ })(d.a11y || { tabIndex: -1 }), (ue = d.a11y, ue?.label ? { "aria-label": ue.label } : {}), { "data-block-level-container": "Section", className: le + " " + Ot.Z.section, "data-testid": oe, onClick: M, onDoubleClick: S, onMouseEnter: k, onMouseLeave: W, lang: q }), f && !he && l.createElement(qn, c()({}, f, { videoRef: $, getPlaceholder: y })), J && Te && !he && l.createElement("button", { className: "" + Ot.Z.videoPlayPauseButton, onClick: () => {
3510
+ const xe = $?.current;
3511
+ xe && (xe.paused ? xe.play() : xe.pause(), ve((ke) => {
3512
+ const ye = !ke, Ie = document.getElementById(e);
3513
+ return Ie && Ie.querySelectorAll("video").forEach((Oe) => {
3514
+ Oe !== xe && (ye ? Oe.play() : Oe.pause());
3515
+ }), ye;
3516
+ }));
3517
+ }, "aria-pressed": Ee, "aria-label": D?.ariaLabel }, Ee ? l.createElement(tr, null) : l.createElement(tn, null)), v && !he && l.createElement(Qn, v), h());
3518
+ var ue;
3519
+ };
3520
+ var nn = l.forwardRef(nr);
3521
+ }(), te;
3522
+ }();
3523
+ });
3524
+ })(yr);
3525
+ var ta = yr.exports;
3526
+ const na = /* @__PURE__ */ ct(ta);
3527
+ var Ar = { exports: {} };
3528
+ (function(Me, Xe) {
3529
+ (function(de, ee) {
3530
+ Me.exports = ee();
3531
+ })(typeof self < "u" ? self : st, function() {
3532
+ return function() {
3533
+ var de = { d: function(i, s) {
3534
+ for (var c in s) de.o(s, c) && !de.o(i, c) && Object.defineProperty(i, c, { enumerable: !0, get: s[c] });
3535
+ }, o: function(i, s) {
3536
+ return Object.prototype.hasOwnProperty.call(i, s);
3537
+ }, r: function(i) {
3538
+ typeof Symbol < "u" && Symbol.toStringTag && Object.defineProperty(i, Symbol.toStringTag, { value: "Module" }), Object.defineProperty(i, "__esModule", { value: !0 });
3539
+ } }, ee = {};
3540
+ de.r(ee), de.d(ee, { default: function() {
3541
+ return te;
3542
+ } });
3543
+ const we = (i) => i.replace(/([A-Z])/g, (s) => `-${s.toLowerCase()}`);
3544
+ var E, te = (E = (i) => {
3545
+ let { mapperProps: s, stateValues: c } = i;
3546
+ const { experiments: l = {} } = c, g = ((m = {}, u) => m[u] === !0 || m[u] === "true" || m[u] === "new")(l, "specs.thunderbolt.playPauseSection");
3547
+ return { ...s, isPlayPauseSectionExperimentOn: g };
3548
+ }, { useComponentProps: (i, s, c) => {
3549
+ const l = ((g) => ({ ...g, updateStyles: (m) => {
3550
+ const u = Object.entries(m).reduce((L, [B, oe]) => {
3551
+ return { ...L, [(ae = B, ae.startsWith("--") ? B : we(B))]: oe === void 0 ? null : oe };
3552
+ var ae;
3553
+ }, {});
3554
+ g.updateStyles(u);
3555
+ } }))(c);
3556
+ return E({ mapperProps: i, stateValues: s, controllerUtils: l });
3557
+ } });
3558
+ return ee;
3559
+ }();
3560
+ });
3561
+ })(Ar);
3562
+ var ra = Ar.exports;
3563
+ const aa = /* @__PURE__ */ ct(ra), Ia = It(sr(na, aa));
3564
+ export {
3565
+ ca as Anchor,
3566
+ la as FooterContainer_TransparentScreen,
3567
+ ua as FooterSection,
3568
+ da as HeaderContainer_TransparentScreen,
3569
+ ha as HeaderSection,
3570
+ ma as PageGroup,
3571
+ _a as PageSections,
3572
+ fa as Page_BasicPageSkin,
3573
+ pa as Page_ResponsivePageWithColorBG,
3574
+ ga as PagesContainer,
3575
+ Ea as ResponsiveContainer,
3576
+ Ta as ResponsivePopupPage_WithoutOverlay,
3577
+ Ia as Section
3578
+ };
3579
+ //# sourceMappingURL=system-core-components.mjs.map