@anoki/fse-ui 1.0.760 → 1.0.761
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs121.js.map +1 -1
- package/dist/index.cjs276.js +1 -1
- package/dist/index.cjs342.js +1 -1
- package/dist/index.cjs370.js +1 -1
- package/dist/index.cjs371.js +1 -1
- package/dist/index.cjs399.js +1 -1
- package/dist/index.cjs400.js +1 -1
- package/dist/index.cjs401.js +1 -1
- package/dist/index.cjs402.js +1 -1
- package/dist/index.cjs408.js +1 -1
- package/dist/index.cjs409.js +1 -1
- package/dist/index.cjs416.js +2 -0
- package/dist/index.cjs416.js.map +1 -0
- package/dist/index.cjs417.js +2 -0
- package/dist/index.cjs417.js.map +1 -0
- package/dist/index.cjs418.js +1 -1
- package/dist/index.cjs418.js.map +1 -1
- package/dist/index.cjs419.js +1 -1
- package/dist/index.cjs419.js.map +1 -1
- package/dist/index.cjs420.js +1 -1
- package/dist/index.cjs420.js.map +1 -1
- package/dist/index.cjs421.js +1 -1
- package/dist/index.cjs421.js.map +1 -1
- package/dist/index.cjs422.js +1 -1
- package/dist/index.cjs422.js.map +1 -1
- package/dist/{index.cjs428.js → index.cjs435.js} +1 -1
- package/dist/{index.cjs428.js.map → index.cjs435.js.map} +1 -1
- package/dist/{index.cjs429.js → index.cjs436.js} +2 -2
- package/dist/{index.cjs429.js.map → index.cjs436.js.map} +1 -1
- package/dist/{index.cjs430.js → index.cjs437.js} +1 -1
- package/dist/{index.cjs430.js.map → index.cjs437.js.map} +1 -1
- package/dist/{index.cjs431.js → index.cjs438.js} +2 -2
- package/dist/{index.cjs431.js.map → index.cjs438.js.map} +1 -1
- package/dist/{index.cjs432.js → index.cjs439.js} +2 -2
- package/dist/{index.cjs432.js.map → index.cjs439.js.map} +1 -1
- package/dist/{index.cjs433.js → index.cjs440.js} +1 -1
- package/dist/{index.cjs433.js.map → index.cjs440.js.map} +1 -1
- package/dist/index.cjs441.js +1 -1
- package/dist/index.cjs457.js +1 -1
- package/dist/index.cjs458.js +1 -1
- package/dist/index.cjs465.js +1 -1
- package/dist/index.cjs465.js.map +1 -1
- package/dist/index.cjs466.js +1 -1
- package/dist/index.cjs466.js.map +1 -1
- package/dist/index.cjs467.js +2 -0
- package/dist/index.cjs467.js.map +1 -0
- package/dist/index.cjs468.js +2 -0
- package/dist/index.cjs468.js.map +1 -0
- package/dist/index.cjs469.js +1 -1
- package/dist/index.cjs479.js +1 -1
- package/dist/index.cjs482.js +1 -1
- package/dist/index.cjs482.js.map +1 -1
- package/dist/index.cjs483.js +1 -1
- package/dist/index.cjs483.js.map +1 -1
- package/dist/index.cjs484.js +2 -0
- package/dist/index.cjs484.js.map +1 -0
- package/dist/index.cjs485.js +2 -0
- package/dist/index.cjs485.js.map +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.es121.js.map +1 -1
- package/dist/index.es276.js +7 -7
- package/dist/index.es342.js +1 -1
- package/dist/index.es370.js +2 -2
- package/dist/index.es371.js +3 -3
- package/dist/index.es399.js +1 -1
- package/dist/index.es400.js +1 -1
- package/dist/index.es401.js +12 -12
- package/dist/index.es402.js +1 -1
- package/dist/index.es408.js +1 -1
- package/dist/index.es409.js +1 -1
- package/dist/index.es416.js +128 -0
- package/dist/index.es416.js.map +1 -0
- package/dist/index.es417.js +138 -0
- package/dist/index.es417.js.map +1 -0
- package/dist/index.es418.js +13 -124
- package/dist/index.es418.js.map +1 -1
- package/dist/index.es419.js +14 -134
- package/dist/index.es419.js.map +1 -1
- package/dist/index.es420.js +7 -12
- package/dist/index.es420.js.map +1 -1
- package/dist/index.es421.js +50 -15
- package/dist/index.es421.js.map +1 -1
- package/dist/index.es422.js +53 -9
- package/dist/index.es422.js.map +1 -1
- package/dist/{index.es428.js → index.es435.js} +1 -1
- package/dist/{index.es428.js.map → index.es435.js.map} +1 -1
- package/dist/{index.es429.js → index.es436.js} +2 -2
- package/dist/{index.es429.js.map → index.es436.js.map} +1 -1
- package/dist/{index.es430.js → index.es437.js} +1 -1
- package/dist/{index.es430.js.map → index.es437.js.map} +1 -1
- package/dist/{index.es431.js → index.es438.js} +3 -3
- package/dist/{index.es431.js.map → index.es438.js.map} +1 -1
- package/dist/{index.es432.js → index.es439.js} +4 -4
- package/dist/{index.es432.js.map → index.es439.js.map} +1 -1
- package/dist/{index.es433.js → index.es440.js} +1 -1
- package/dist/{index.es433.js.map → index.es440.js.map} +1 -1
- package/dist/index.es441.js +1 -1
- package/dist/index.es457.js +1 -1
- package/dist/index.es458.js +1 -1
- package/dist/index.es465.js +20 -25
- package/dist/index.es465.js.map +1 -1
- package/dist/index.es466.js +12 -4
- package/dist/index.es466.js.map +1 -1
- package/dist/index.es467.js +31 -0
- package/dist/index.es467.js.map +1 -0
- package/dist/index.es468.js +8 -0
- package/dist/index.es468.js.map +1 -0
- package/dist/index.es469.js +2 -2
- package/dist/index.es479.js +3 -3
- package/dist/index.es482.js +9 -3
- package/dist/index.es482.js.map +1 -1
- package/dist/index.es483.js +171 -126
- package/dist/index.es483.js.map +1 -1
- package/dist/index.es484.js +7 -0
- package/dist/index.es484.js.map +1 -0
- package/dist/index.es485.js +136 -0
- package/dist/index.es485.js.map +1 -0
- package/package.json +1 -1
- package/dist/index.cjs423.js +0 -2
- package/dist/index.cjs423.js.map +0 -1
- package/dist/index.cjs424.js +0 -2
- package/dist/index.cjs424.js.map +0 -1
- package/dist/index.cjs463.js +0 -2
- package/dist/index.cjs463.js.map +0 -1
- package/dist/index.cjs464.js +0 -2
- package/dist/index.cjs464.js.map +0 -1
- package/dist/index.cjs480.js +0 -2
- package/dist/index.cjs480.js.map +0 -1
- package/dist/index.cjs481.js +0 -2
- package/dist/index.cjs481.js.map +0 -1
- package/dist/index.es423.js +0 -53
- package/dist/index.es423.js.map +0 -1
- package/dist/index.es424.js +0 -56
- package/dist/index.es424.js.map +0 -1
- package/dist/index.es463.js +0 -26
- package/dist/index.es463.js.map +0 -1
- package/dist/index.es464.js +0 -16
- package/dist/index.es464.js.map +0 -1
- package/dist/index.es480.js +0 -13
- package/dist/index.es480.js.map +0 -1
- package/dist/index.es481.js +0 -181
- package/dist/index.es481.js.map +0 -1
package/dist/index.es483.js
CHANGED
@@ -1,136 +1,181 @@
|
|
1
|
-
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
const
|
7
|
-
Object.keys(
|
8
|
-
|
1
|
+
import { a } from "./index.es485.js";
|
2
|
+
function y(e) {
|
3
|
+
return e === void 0 && (e = ""), e.trim().split(" ").filter((t) => !!t.trim());
|
4
|
+
}
|
5
|
+
function b(e) {
|
6
|
+
const t = e;
|
7
|
+
Object.keys(t).forEach((r) => {
|
8
|
+
try {
|
9
|
+
t[r] = null;
|
10
|
+
} catch {
|
11
|
+
}
|
12
|
+
try {
|
13
|
+
delete t[r];
|
14
|
+
} catch {
|
15
|
+
}
|
9
16
|
});
|
10
17
|
}
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
getElementsByTagName() {
|
45
|
-
return [];
|
18
|
+
function M(e, t) {
|
19
|
+
return t === void 0 && (t = 0), setTimeout(e, t);
|
20
|
+
}
|
21
|
+
function C() {
|
22
|
+
return Date.now();
|
23
|
+
}
|
24
|
+
function S(e) {
|
25
|
+
const t = a();
|
26
|
+
let r;
|
27
|
+
return t.getComputedStyle && (r = t.getComputedStyle(e, null)), !r && e.currentStyle && (r = e.currentStyle), r || (r = e.style), r;
|
28
|
+
}
|
29
|
+
function v(e, t) {
|
30
|
+
t === void 0 && (t = "x");
|
31
|
+
const r = a();
|
32
|
+
let n, o, s;
|
33
|
+
const l = S(e);
|
34
|
+
return r.WebKitCSSMatrix ? (o = l.transform || l.webkitTransform, o.split(",").length > 6 && (o = o.split(", ").map((i) => i.replace(",", ".")).join(", ")), s = new r.WebKitCSSMatrix(o === "none" ? "" : o)) : (s = l.MozTransform || l.OTransform || l.MsTransform || l.msTransform || l.transform || l.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), n = s.toString().split(",")), t === "x" && (r.WebKitCSSMatrix ? o = s.m41 : n.length === 16 ? o = parseFloat(n[12]) : o = parseFloat(n[4])), t === "y" && (r.WebKitCSSMatrix ? o = s.m42 : n.length === 16 ? o = parseFloat(n[13]) : o = parseFloat(n[5])), o || 0;
|
35
|
+
}
|
36
|
+
function d(e) {
|
37
|
+
return typeof e == "object" && e !== null && e.constructor && Object.prototype.toString.call(e).slice(8, -1) === "Object";
|
38
|
+
}
|
39
|
+
function E(e) {
|
40
|
+
return typeof window < "u" && typeof window.HTMLElement < "u" ? e instanceof HTMLElement : e && (e.nodeType === 1 || e.nodeType === 11);
|
41
|
+
}
|
42
|
+
function g() {
|
43
|
+
const e = Object(arguments.length <= 0 ? void 0 : arguments[0]), t = ["__proto__", "constructor", "prototype"];
|
44
|
+
for (let r = 1; r < arguments.length; r += 1) {
|
45
|
+
const n = r < 0 || arguments.length <= r ? void 0 : arguments[r];
|
46
|
+
if (n != null && !E(n)) {
|
47
|
+
const o = Object.keys(Object(n)).filter((s) => t.indexOf(s) < 0);
|
48
|
+
for (let s = 0, l = o.length; s < l; s += 1) {
|
49
|
+
const i = o[s], u = Object.getOwnPropertyDescriptor(n, i);
|
50
|
+
u !== void 0 && u.enumerable && (d(e[i]) && d(n[i]) ? n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i]) : !d(e[i]) && d(n[i]) ? (e[i] = {}, n[i].__swiper__ ? e[i] = n[i] : g(e[i], n[i])) : e[i] = n[i]);
|
46
51
|
}
|
47
|
-
}
|
48
|
-
},
|
49
|
-
createElementNS() {
|
50
|
-
return {};
|
51
|
-
},
|
52
|
-
importNode() {
|
53
|
-
return null;
|
54
|
-
},
|
55
|
-
location: {
|
56
|
-
hash: "",
|
57
|
-
host: "",
|
58
|
-
hostname: "",
|
59
|
-
href: "",
|
60
|
-
origin: "",
|
61
|
-
pathname: "",
|
62
|
-
protocol: "",
|
63
|
-
search: ""
|
52
|
+
}
|
64
53
|
}
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
}
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
54
|
+
return e;
|
55
|
+
}
|
56
|
+
function O(e, t, r) {
|
57
|
+
e.style.setProperty(t, r);
|
58
|
+
}
|
59
|
+
function P(e) {
|
60
|
+
let {
|
61
|
+
swiper: t,
|
62
|
+
targetPosition: r,
|
63
|
+
side: n
|
64
|
+
} = e;
|
65
|
+
const o = a(), s = -t.translate;
|
66
|
+
let l = null, i;
|
67
|
+
const u = t.params.speed;
|
68
|
+
t.wrapperEl.style.scrollSnapType = "none", o.cancelAnimationFrame(t.cssModeFrameID);
|
69
|
+
const p = r > s ? "next" : "prev", h = (f, m) => p === "next" && f >= m || p === "prev" && f <= m, w = () => {
|
70
|
+
i = (/* @__PURE__ */ new Date()).getTime(), l === null && (l = i);
|
71
|
+
const f = Math.max(Math.min((i - l) / u, 1), 0), m = 0.5 - Math.cos(f * Math.PI) / 2;
|
72
|
+
let c = s + m * (r - s);
|
73
|
+
if (h(c, r) && (c = r), t.wrapperEl.scrollTo({
|
74
|
+
[n]: c
|
75
|
+
}), h(c, r)) {
|
76
|
+
t.wrapperEl.style.overflow = "hidden", t.wrapperEl.style.scrollSnapType = "", setTimeout(() => {
|
77
|
+
t.wrapperEl.style.overflow = "", t.wrapperEl.scrollTo({
|
78
|
+
[n]: c
|
79
|
+
});
|
80
|
+
}), o.cancelAnimationFrame(t.cssModeFrameID);
|
81
|
+
return;
|
93
82
|
}
|
94
|
-
|
95
|
-
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
|
109
|
-
|
110
|
-
},
|
111
|
-
Date() {
|
112
|
-
},
|
113
|
-
screen: {},
|
114
|
-
setTimeout() {
|
115
|
-
},
|
116
|
-
clearTimeout() {
|
117
|
-
},
|
118
|
-
matchMedia() {
|
119
|
-
return {};
|
120
|
-
},
|
121
|
-
requestAnimationFrame(e) {
|
122
|
-
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
123
|
-
},
|
124
|
-
cancelAnimationFrame(e) {
|
125
|
-
typeof setTimeout > "u" || clearTimeout(e);
|
83
|
+
t.cssModeFrameID = o.requestAnimationFrame(w);
|
84
|
+
};
|
85
|
+
w();
|
86
|
+
}
|
87
|
+
function j(e, t) {
|
88
|
+
t === void 0 && (t = "");
|
89
|
+
const r = a(), n = [...e.children];
|
90
|
+
return r.HTMLSlotElement && e instanceof HTMLSlotElement && n.push(...e.assignedElements()), t ? n.filter((o) => o.matches(t)) : n;
|
91
|
+
}
|
92
|
+
function T(e, t) {
|
93
|
+
const r = [t];
|
94
|
+
for (; r.length > 0; ) {
|
95
|
+
const n = r.shift();
|
96
|
+
if (e === n)
|
97
|
+
return !0;
|
98
|
+
r.push(...n.children, ...n.shadowRoot ? n.shadowRoot.children : [], ...n.assignedElements ? n.assignedElements() : []);
|
126
99
|
}
|
127
|
-
}
|
128
|
-
function
|
129
|
-
const
|
130
|
-
|
100
|
+
}
|
101
|
+
function F(e, t) {
|
102
|
+
const r = a();
|
103
|
+
let n = t.contains(e);
|
104
|
+
return !n && r.HTMLSlotElement && t instanceof HTMLSlotElement && (n = [...t.assignedElements()].includes(e), n || (n = T(e, t))), n;
|
105
|
+
}
|
106
|
+
function _(e) {
|
107
|
+
try {
|
108
|
+
console.warn(e);
|
109
|
+
return;
|
110
|
+
} catch {
|
111
|
+
}
|
112
|
+
}
|
113
|
+
function A(e, t) {
|
114
|
+
t === void 0 && (t = []);
|
115
|
+
const r = document.createElement(e);
|
116
|
+
return r.classList.add(...Array.isArray(t) ? t : y(t)), r;
|
117
|
+
}
|
118
|
+
function I(e, t) {
|
119
|
+
const r = [];
|
120
|
+
for (; e.previousElementSibling; ) {
|
121
|
+
const n = e.previousElementSibling;
|
122
|
+
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
123
|
+
}
|
124
|
+
return r;
|
125
|
+
}
|
126
|
+
function k(e, t) {
|
127
|
+
const r = [];
|
128
|
+
for (; e.nextElementSibling; ) {
|
129
|
+
const n = e.nextElementSibling;
|
130
|
+
t ? n.matches(t) && r.push(n) : r.push(n), e = n;
|
131
|
+
}
|
132
|
+
return r;
|
133
|
+
}
|
134
|
+
function H(e, t) {
|
135
|
+
return a().getComputedStyle(e, null).getPropertyValue(t);
|
136
|
+
}
|
137
|
+
function L(e) {
|
138
|
+
let t = e, r;
|
139
|
+
if (t) {
|
140
|
+
for (r = 0; (t = t.previousSibling) !== null; )
|
141
|
+
t.nodeType === 1 && (r += 1);
|
142
|
+
return r;
|
143
|
+
}
|
144
|
+
}
|
145
|
+
function W(e, t) {
|
146
|
+
const r = [];
|
147
|
+
let n = e.parentElement;
|
148
|
+
for (; n; )
|
149
|
+
t ? n.matches(t) && r.push(n) : r.push(n), n = n.parentElement;
|
150
|
+
return r;
|
151
|
+
}
|
152
|
+
function D(e, t, r) {
|
153
|
+
const n = a();
|
154
|
+
return e[t === "width" ? "offsetWidth" : "offsetHeight"] + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-right" : "margin-top")) + parseFloat(n.getComputedStyle(e, null).getPropertyValue(t === "width" ? "margin-left" : "margin-bottom"));
|
155
|
+
}
|
156
|
+
function K(e) {
|
157
|
+
return (Array.isArray(e) ? e : [e]).filter((t) => !!t);
|
131
158
|
}
|
132
159
|
export {
|
133
|
-
a,
|
134
|
-
|
160
|
+
W as a,
|
161
|
+
A as c,
|
162
|
+
C as d,
|
163
|
+
j as e,
|
164
|
+
D as f,
|
165
|
+
L as h,
|
166
|
+
y as i,
|
167
|
+
v as j,
|
168
|
+
d as l,
|
169
|
+
K as m,
|
170
|
+
M as n,
|
171
|
+
H as p,
|
172
|
+
k as q,
|
173
|
+
I as r,
|
174
|
+
O as s,
|
175
|
+
P as t,
|
176
|
+
_ as u,
|
177
|
+
F as v,
|
178
|
+
g as w,
|
179
|
+
b as x
|
135
180
|
};
|
136
181
|
//# sourceMappingURL=index.es483.js.map
|
package/dist/index.es483.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.es483.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAOA,MAAQ,QAAQ,OAAOA,KAAQ,YAAY,iBAAiBA,KAAOA,EAAI,gBAAgB;AAChG;AACA,SAASC,EAAOC,GAAQC,GAAK;AAC3B,EAAID,MAAW,WACbA,IAAS,CAAE,IAETC,MAAQ,WACVA,IAAM,CAAE;AAEV,QAAMC,IAAW,CAAC,a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oreList":[0]}
|
1
|
+
{"version":3,"file":"index.es483.js","sources":["../node_modules/swiper/shared/utils.mjs"],"sourcesContent":["import { a as getWindow, g as getDocument } from './ssr-window.esm.mjs';\n\nfunction classesToTokens(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return classes.trim().split(' ').filter(c => !!c.trim());\n}\n\nfunction deleteProps(obj) {\n const object = obj;\n Object.keys(object).forEach(key => {\n try {\n object[key] = null;\n } catch (e) {\n // no getter for object\n }\n try {\n delete object[key];\n } catch (e) {\n // something got wrong\n }\n });\n}\nfunction nextTick(callback, delay) {\n if (delay === void 0) {\n delay = 0;\n }\n return setTimeout(callback, delay);\n}\nfunction now() {\n return Date.now();\n}\nfunction getComputedStyle(el) {\n const window = getWindow();\n let style;\n if (window.getComputedStyle) {\n style = window.getComputedStyle(el, null);\n }\n if (!style && el.currentStyle) {\n style = el.currentStyle;\n }\n if (!style) {\n style = el.style;\n }\n return style;\n}\nfunction getTranslate(el, axis) {\n if (axis === void 0) {\n axis = 'x';\n }\n const window = getWindow();\n let matrix;\n let curTransform;\n let transformMatrix;\n const curStyle = getComputedStyle(el);\n if (window.WebKitCSSMatrix) {\n curTransform = curStyle.transform || curStyle.webkitTransform;\n if (curTransform.split(',').length > 6) {\n curTransform = curTransform.split(', ').map(a => a.replace(',', '.')).join(', ');\n }\n // Some old versions of Webkit choke when 'none' is passed; pass\n // empty string instead in this case\n transformMatrix = new window.WebKitCSSMatrix(curTransform === 'none' ? '' : curTransform);\n } else {\n transformMatrix = curStyle.MozTransform || curStyle.OTransform || curStyle.MsTransform || curStyle.msTransform || curStyle.transform || curStyle.getPropertyValue('transform').replace('translate(', 'matrix(1, 0, 0, 1,');\n matrix = transformMatrix.toString().split(',');\n }\n if (axis === 'x') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m41;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[12]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[4]);\n }\n if (axis === 'y') {\n // Latest Chrome and webkits Fix\n if (window.WebKitCSSMatrix) curTransform = transformMatrix.m42;\n // Crazy IE10 Matrix\n else if (matrix.length === 16) curTransform = parseFloat(matrix[13]);\n // Normal Browsers\n else curTransform = parseFloat(matrix[5]);\n }\n return curTransform || 0;\n}\nfunction isObject(o) {\n return typeof o === 'object' && o !== null && o.constructor && Object.prototype.toString.call(o).slice(8, -1) === 'Object';\n}\nfunction isNode(node) {\n // eslint-disable-next-line\n if (typeof window !== 'undefined' && typeof window.HTMLElement !== 'undefined') {\n return node instanceof HTMLElement;\n }\n return node && (node.nodeType === 1 || node.nodeType === 11);\n}\nfunction extend() {\n const to = Object(arguments.length <= 0 ? undefined : arguments[0]);\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n for (let i = 1; i < arguments.length; i += 1) {\n const nextSource = i < 0 || arguments.length <= i ? undefined : arguments[i];\n if (nextSource !== undefined && nextSource !== null && !isNode(nextSource)) {\n const keysArray = Object.keys(Object(nextSource)).filter(key => noExtend.indexOf(key) < 0);\n for (let nextIndex = 0, len = keysArray.length; nextIndex < len; nextIndex += 1) {\n const nextKey = keysArray[nextIndex];\n const desc = Object.getOwnPropertyDescriptor(nextSource, nextKey);\n if (desc !== undefined && desc.enumerable) {\n if (isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else if (!isObject(to[nextKey]) && isObject(nextSource[nextKey])) {\n to[nextKey] = {};\n if (nextSource[nextKey].__swiper__) {\n to[nextKey] = nextSource[nextKey];\n } else {\n extend(to[nextKey], nextSource[nextKey]);\n }\n } else {\n to[nextKey] = nextSource[nextKey];\n }\n }\n }\n }\n }\n return to;\n}\nfunction setCSSProperty(el, varName, varValue) {\n el.style.setProperty(varName, varValue);\n}\nfunction animateCSSModeScroll(_ref) {\n let {\n swiper,\n targetPosition,\n side\n } = _ref;\n const window = getWindow();\n const startPosition = -swiper.translate;\n let startTime = null;\n let time;\n const duration = swiper.params.speed;\n swiper.wrapperEl.style.scrollSnapType = 'none';\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n const dir = targetPosition > startPosition ? 'next' : 'prev';\n const isOutOfBound = (current, target) => {\n return dir === 'next' && current >= target || dir === 'prev' && current <= target;\n };\n const animate = () => {\n time = new Date().getTime();\n if (startTime === null) {\n startTime = time;\n }\n const progress = Math.max(Math.min((time - startTime) / duration, 1), 0);\n const easeProgress = 0.5 - Math.cos(progress * Math.PI) / 2;\n let currentPosition = startPosition + easeProgress * (targetPosition - startPosition);\n if (isOutOfBound(currentPosition, targetPosition)) {\n currentPosition = targetPosition;\n }\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n if (isOutOfBound(currentPosition, targetPosition)) {\n swiper.wrapperEl.style.overflow = 'hidden';\n swiper.wrapperEl.style.scrollSnapType = '';\n setTimeout(() => {\n swiper.wrapperEl.style.overflow = '';\n swiper.wrapperEl.scrollTo({\n [side]: currentPosition\n });\n });\n window.cancelAnimationFrame(swiper.cssModeFrameID);\n return;\n }\n swiper.cssModeFrameID = window.requestAnimationFrame(animate);\n };\n animate();\n}\nfunction getSlideTransformEl(slideEl) {\n return slideEl.querySelector('.swiper-slide-transform') || slideEl.shadowRoot && slideEl.shadowRoot.querySelector('.swiper-slide-transform') || slideEl;\n}\nfunction elementChildren(element, selector) {\n if (selector === void 0) {\n selector = '';\n }\n const window = getWindow();\n const children = [...element.children];\n if (window.HTMLSlotElement && element instanceof HTMLSlotElement) {\n children.push(...element.assignedElements());\n }\n if (!selector) {\n return children;\n }\n return children.filter(el => el.matches(selector));\n}\nfunction elementIsChildOfSlot(el, slot) {\n // Breadth-first search through all parent's children and assigned elements\n const elementsQueue = [slot];\n while (elementsQueue.length > 0) {\n const elementToCheck = elementsQueue.shift();\n if (el === elementToCheck) {\n return true;\n }\n elementsQueue.push(...elementToCheck.children, ...(elementToCheck.shadowRoot ? elementToCheck.shadowRoot.children : []), ...(elementToCheck.assignedElements ? elementToCheck.assignedElements() : []));\n }\n}\nfunction elementIsChildOf(el, parent) {\n const window = getWindow();\n let isChild = parent.contains(el);\n if (!isChild && window.HTMLSlotElement && parent instanceof HTMLSlotElement) {\n const children = [...parent.assignedElements()];\n isChild = children.includes(el);\n if (!isChild) {\n isChild = elementIsChildOfSlot(el, parent);\n }\n }\n return isChild;\n}\nfunction showWarning(text) {\n try {\n console.warn(text);\n return;\n } catch (err) {\n // err\n }\n}\nfunction createElement(tag, classes) {\n if (classes === void 0) {\n classes = [];\n }\n const el = document.createElement(tag);\n el.classList.add(...(Array.isArray(classes) ? classes : classesToTokens(classes)));\n return el;\n}\nfunction elementOffset(el) {\n const window = getWindow();\n const document = getDocument();\n const box = el.getBoundingClientRect();\n const body = document.body;\n const clientTop = el.clientTop || body.clientTop || 0;\n const clientLeft = el.clientLeft || body.clientLeft || 0;\n const scrollTop = el === window ? window.scrollY : el.scrollTop;\n const scrollLeft = el === window ? window.scrollX : el.scrollLeft;\n return {\n top: box.top + scrollTop - clientTop,\n left: box.left + scrollLeft - clientLeft\n };\n}\nfunction elementPrevAll(el, selector) {\n const prevEls = [];\n while (el.previousElementSibling) {\n const prev = el.previousElementSibling; // eslint-disable-line\n if (selector) {\n if (prev.matches(selector)) prevEls.push(prev);\n } else prevEls.push(prev);\n el = prev;\n }\n return prevEls;\n}\nfunction elementNextAll(el, selector) {\n const nextEls = [];\n while (el.nextElementSibling) {\n const next = el.nextElementSibling; // eslint-disable-line\n if (selector) {\n if (next.matches(selector)) nextEls.push(next);\n } else nextEls.push(next);\n el = next;\n }\n return nextEls;\n}\nfunction elementStyle(el, prop) {\n const window = getWindow();\n return window.getComputedStyle(el, null).getPropertyValue(prop);\n}\nfunction elementIndex(el) {\n let child = el;\n let i;\n if (child) {\n i = 0;\n // eslint-disable-next-line\n while ((child = child.previousSibling) !== null) {\n if (child.nodeType === 1) i += 1;\n }\n return i;\n }\n return undefined;\n}\nfunction elementParents(el, selector) {\n const parents = []; // eslint-disable-line\n let parent = el.parentElement; // eslint-disable-line\n while (parent) {\n if (selector) {\n if (parent.matches(selector)) parents.push(parent);\n } else {\n parents.push(parent);\n }\n parent = parent.parentElement;\n }\n return parents;\n}\nfunction elementTransitionEnd(el, callback) {\n function fireCallBack(e) {\n if (e.target !== el) return;\n callback.call(el, e);\n el.removeEventListener('transitionend', fireCallBack);\n }\n if (callback) {\n el.addEventListener('transitionend', fireCallBack);\n }\n}\nfunction elementOuterSize(el, size, includeMargins) {\n const window = getWindow();\n if (includeMargins) {\n return el[size === 'width' ? 'offsetWidth' : 'offsetHeight'] + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-right' : 'margin-top')) + parseFloat(window.getComputedStyle(el, null).getPropertyValue(size === 'width' ? 'margin-left' : 'margin-bottom'));\n }\n return el.offsetWidth;\n}\nfunction makeElementsArray(el) {\n return (Array.isArray(el) ? el : [el]).filter(e => !!e);\n}\nfunction getRotateFix(swiper) {\n return v => {\n if (Math.abs(v) > 0 && swiper.browser && swiper.browser.need3dFix && Math.abs(v) % 90 === 0) {\n return v + 0.001;\n }\n return v;\n };\n}\n\nexport { elementParents as a, elementOffset as b, createElement as c, now as d, elementChildren as e, elementOuterSize as f, getSlideTransformEl as g, elementIndex as h, classesToTokens as i, getTranslate as j, elementTransitionEnd as k, isObject as l, makeElementsArray as m, nextTick as n, getRotateFix as o, elementStyle as p, elementNextAll as q, elementPrevAll as r, setCSSProperty as s, animateCSSModeScroll as t, showWarning as u, elementIsChildOf as v, extend as w, deleteProps as x };\n"],"names":["classesToTokens","classes","c","deleteProps","obj","object","key","nextTick","callback","delay","now","getComputedStyle","el","window","getWindow","style","getTranslate","axis","matrix","curTransform","transformMatrix","curStyle","a","isObject","o","isNode","node","extend","to","noExtend","i","nextSource","keysArray","nextIndex","len","nextKey","desc","setCSSProperty","varName","varValue","animateCSSModeScroll","_ref","swiper","targetPosition","side","startPosition","startTime","time","duration","dir","isOutOfBound","current","target","animate","progress","easeProgress","currentPosition","elementChildren","element","selector","children","elementIsChildOfSlot","slot","elementsQueue","elementToCheck","elementIsChildOf","parent","isChild","showWarning","text","createElement","tag","elementPrevAll","prevEls","prev","elementNextAll","nextEls","next","elementStyle","prop","elementIndex","child","elementParents","parents","elementOuterSize","size","includeMargins","makeElementsArray","e"],"mappings":";AAEA,SAASA,EAAgBC,GAAS;AAChC,SAAIA,MAAY,WACdA,IAAU,KAELA,EAAQ,OAAO,MAAM,GAAG,EAAE,OAAO,CAAAC,MAAK,CAAC,CAACA,EAAE,KAAI,CAAE;AACzD;AAEA,SAASC,EAAYC,GAAK;AACxB,QAAMC,IAASD;AACf,SAAO,KAAKC,CAAM,EAAE,QAAQ,CAAAC,MAAO;AACjC,QAAI;AACF,MAAAD,EAAOC,CAAG,IAAI;AAAA,IACf,QAAW;AAAA,IAEhB;AACI,QAAI;AACF,aAAOD,EAAOC,CAAG;AAAA,IAClB,QAAW;AAAA,IAEhB;AAAA,EACA,CAAG;AACH;AACA,SAASC,EAASC,GAAUC,GAAO;AACjC,SAAIA,MAAU,WACZA,IAAQ,IAEH,WAAWD,GAAUC,CAAK;AACnC;AACA,SAASC,IAAM;AACb,SAAO,KAAK,IAAK;AACnB;AACA,SAASC,EAAiBC,GAAI;AAC5B,QAAMC,IAASC,EAAW;AAC1B,MAAIC;AACJ,SAAIF,EAAO,qBACTE,IAAQF,EAAO,iBAAiBD,GAAI,IAAI,IAEtC,CAACG,KAASH,EAAG,iBACfG,IAAQH,EAAG,eAERG,MACHA,IAAQH,EAAG,QAENG;AACT;AACA,SAASC,EAAaJ,GAAIK,GAAM;AAC9B,EAAIA,MAAS,WACXA,IAAO;AAET,QAAMJ,IAASC,EAAW;AAC1B,MAAII,GACAC,GACAC;AACJ,QAAMC,IAAWV,EAAiBC,CAAE;AACpC,SAAIC,EAAO,mBACTM,IAAeE,EAAS,aAAaA,EAAS,iBAC1CF,EAAa,MAAM,GAAG,EA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C;AACxD;","x_google_ignoreList":[0]}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es484.js","sources":["../node_modules/swiper/shared/classes-to-selector.mjs"],"sourcesContent":["function classesToSelector(classes) {\n if (classes === void 0) {\n classes = '';\n }\n return `.${classes.trim().replace(/([\\.:!+\\/])/g, '\\\\$1') // eslint-disable-line\n .replace(/ /g, '.')}`;\n}\n\nexport { classesToSelector as c };\n"],"names":["classesToSelector","classes"],"mappings":"AAAA,SAASA,EAAkBC,GAAS;AAClC,SAAIA,MAAY,WACdA,IAAU,KAEL,IAAIA,EAAQ,KAAM,EAAC,QAAQ,gBAAgB,MAAM,EACvD,QAAQ,MAAM,GAAG,CAAC;AACrB;","x_google_ignoreList":[0]}
|
@@ -0,0 +1,136 @@
|
|
1
|
+
function r(e) {
|
2
|
+
return e !== null && typeof e == "object" && "constructor" in e && e.constructor === Object;
|
3
|
+
}
|
4
|
+
function o(e, n) {
|
5
|
+
e === void 0 && (e = {}), n === void 0 && (n = {});
|
6
|
+
const u = ["__proto__", "constructor", "prototype"];
|
7
|
+
Object.keys(n).filter((t) => u.indexOf(t) < 0).forEach((t) => {
|
8
|
+
typeof e[t] > "u" ? e[t] = n[t] : r(n[t]) && r(e[t]) && Object.keys(n[t]).length > 0 && o(e[t], n[t]);
|
9
|
+
});
|
10
|
+
}
|
11
|
+
const i = {
|
12
|
+
body: {},
|
13
|
+
addEventListener() {
|
14
|
+
},
|
15
|
+
removeEventListener() {
|
16
|
+
},
|
17
|
+
activeElement: {
|
18
|
+
blur() {
|
19
|
+
},
|
20
|
+
nodeName: ""
|
21
|
+
},
|
22
|
+
querySelector() {
|
23
|
+
return null;
|
24
|
+
},
|
25
|
+
querySelectorAll() {
|
26
|
+
return [];
|
27
|
+
},
|
28
|
+
getElementById() {
|
29
|
+
return null;
|
30
|
+
},
|
31
|
+
createEvent() {
|
32
|
+
return {
|
33
|
+
initEvent() {
|
34
|
+
}
|
35
|
+
};
|
36
|
+
},
|
37
|
+
createElement() {
|
38
|
+
return {
|
39
|
+
children: [],
|
40
|
+
childNodes: [],
|
41
|
+
style: {},
|
42
|
+
setAttribute() {
|
43
|
+
},
|
44
|
+
getElementsByTagName() {
|
45
|
+
return [];
|
46
|
+
}
|
47
|
+
};
|
48
|
+
},
|
49
|
+
createElementNS() {
|
50
|
+
return {};
|
51
|
+
},
|
52
|
+
importNode() {
|
53
|
+
return null;
|
54
|
+
},
|
55
|
+
location: {
|
56
|
+
hash: "",
|
57
|
+
host: "",
|
58
|
+
hostname: "",
|
59
|
+
href: "",
|
60
|
+
origin: "",
|
61
|
+
pathname: "",
|
62
|
+
protocol: "",
|
63
|
+
search: ""
|
64
|
+
}
|
65
|
+
};
|
66
|
+
function s() {
|
67
|
+
const e = typeof document < "u" ? document : {};
|
68
|
+
return o(e, i), e;
|
69
|
+
}
|
70
|
+
const c = {
|
71
|
+
document: i,
|
72
|
+
navigator: {
|
73
|
+
userAgent: ""
|
74
|
+
},
|
75
|
+
location: {
|
76
|
+
hash: "",
|
77
|
+
host: "",
|
78
|
+
hostname: "",
|
79
|
+
href: "",
|
80
|
+
origin: "",
|
81
|
+
pathname: "",
|
82
|
+
protocol: "",
|
83
|
+
search: ""
|
84
|
+
},
|
85
|
+
history: {
|
86
|
+
replaceState() {
|
87
|
+
},
|
88
|
+
pushState() {
|
89
|
+
},
|
90
|
+
go() {
|
91
|
+
},
|
92
|
+
back() {
|
93
|
+
}
|
94
|
+
},
|
95
|
+
CustomEvent: function() {
|
96
|
+
return this;
|
97
|
+
},
|
98
|
+
addEventListener() {
|
99
|
+
},
|
100
|
+
removeEventListener() {
|
101
|
+
},
|
102
|
+
getComputedStyle() {
|
103
|
+
return {
|
104
|
+
getPropertyValue() {
|
105
|
+
return "";
|
106
|
+
}
|
107
|
+
};
|
108
|
+
},
|
109
|
+
Image() {
|
110
|
+
},
|
111
|
+
Date() {
|
112
|
+
},
|
113
|
+
screen: {},
|
114
|
+
setTimeout() {
|
115
|
+
},
|
116
|
+
clearTimeout() {
|
117
|
+
},
|
118
|
+
matchMedia() {
|
119
|
+
return {};
|
120
|
+
},
|
121
|
+
requestAnimationFrame(e) {
|
122
|
+
return typeof setTimeout > "u" ? (e(), null) : setTimeout(e, 0);
|
123
|
+
},
|
124
|
+
cancelAnimationFrame(e) {
|
125
|
+
typeof setTimeout > "u" || clearTimeout(e);
|
126
|
+
}
|
127
|
+
};
|
128
|
+
function a() {
|
129
|
+
const e = typeof window < "u" ? window : {};
|
130
|
+
return o(e, c), e;
|
131
|
+
}
|
132
|
+
export {
|
133
|
+
a,
|
134
|
+
s as g
|
135
|
+
};
|
136
|
+
//# sourceMappingURL=index.es485.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"index.es485.js","sources":["../node_modules/swiper/shared/ssr-window.esm.mjs"],"sourcesContent":["/**\n * SSR Window 5.0.0\n * Better handling for window object in SSR environment\n * https://github.com/nolimits4web/ssr-window\n *\n * Copyright 2025, Vladimir Kharlampidi\n *\n * Licensed under MIT\n *\n * Released on: February 12, 2025\n */\n/* eslint-disable no-param-reassign */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object' && 'constructor' in obj && obj.constructor === Object;\n}\nfunction extend(target, src) {\n if (target === void 0) {\n target = {};\n }\n if (src === void 0) {\n src = {};\n }\n const noExtend = ['__proto__', 'constructor', 'prototype'];\n Object.keys(src).filter(key => noExtend.indexOf(key) < 0).forEach(key => {\n if (typeof target[key] === 'undefined') target[key] = src[key];else if (isObject(src[key]) && isObject(target[key]) && Object.keys(src[key]).length > 0) {\n extend(target[key], src[key]);\n }\n });\n}\nconst ssrDocument = {\n body: {},\n addEventListener() {},\n removeEventListener() {},\n activeElement: {\n blur() {},\n nodeName: ''\n },\n querySelector() {\n return null;\n },\n querySelectorAll() {\n return [];\n },\n getElementById() {\n return null;\n },\n createEvent() {\n return {\n initEvent() {}\n };\n },\n createElement() {\n return {\n children: [],\n childNodes: [],\n style: {},\n setAttribute() {},\n getElementsByTagName() {\n return [];\n }\n };\n },\n createElementNS() {\n return {};\n },\n importNode() {\n return null;\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n }\n};\nfunction getDocument() {\n const doc = typeof document !== 'undefined' ? document : {};\n extend(doc, ssrDocument);\n return doc;\n}\nconst ssrWindow = {\n document: ssrDocument,\n navigator: {\n userAgent: ''\n },\n location: {\n hash: '',\n host: '',\n hostname: '',\n href: '',\n origin: '',\n pathname: '',\n protocol: '',\n search: ''\n },\n history: {\n replaceState() {},\n pushState() {},\n go() {},\n back() {}\n },\n CustomEvent: function CustomEvent() {\n return this;\n },\n addEventListener() {},\n removeEventListener() {},\n getComputedStyle() {\n return {\n getPropertyValue() {\n return '';\n }\n };\n },\n Image() {},\n Date() {},\n screen: {},\n setTimeout() {},\n clearTimeout() {},\n matchMedia() {\n return {};\n },\n requestAnimationFrame(callback) {\n if (typeof setTimeout === 'undefined') {\n callback();\n return null;\n }\n return setTimeout(callback, 0);\n },\n cancelAnimationFrame(id) {\n if (typeof setTimeout === 'undefined') {\n return;\n }\n clearTimeout(id);\n }\n};\nfunction getWindow() {\n const win = typeof window !== 'undefined' ? window : {};\n extend(win, ssrWindow);\n return win;\n}\n\nexport { getWindow as a, getDocument as g };\n"],"names":["isObject","obj","extend","target","src","noExtend","key","ssrDocument","getDocument","doc","ssrWindow","callback","id","getWindow","win"],"mappings":"AAYA,SAASA,EAASC,GAAK;AACrB,SAAOA,MAAQ,QAAQ,OAAOA,KAAQ,YAAY,iBAAiBA,KAAOA,EAAI,gBAAgB;AAChG;AACA,SAASC,EAAOC,GAAQC,GAAK;AAC3B,EAAID,MAAW,WACbA,IAAS,CAAE,IAETC,MAAQ,WACVA,IAAM,CAAE;AAEV,QAAMC,IAAW,CAAC,aAAa,eAAe,WAAW;AACzD,SAAO,KAAKD,CAAG,EAAE,OAAO,CAAAE,MAAOD,EAAS,QAAQC,CAAG,IAAI,CAAC,EAAE,QAA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,CAAW,GAChBE;AACT;AACA,MAAMC,IAAY;AAAA,EAChB,UAAUH;AAAA,EACV,WAAW;AAAA,IACT,WAAW;AAAA,EACZ;AAAA,EACD,UAAU;AAAA,IACR,MAAM;AAAA,IACN,MAAM;AAAA,IACN,UAAU;AAAA,IACV,MAAM;AAAA,IACN,QAAQ;AAAA,IACR,UAAU;AAAA,IACV,UAAU;AAAA,IACV,QAAQ;AAAA,EACT;AAAA,EACD,SAAS;AAAA,IACP,eAAe;AAAA,IAAE;AAAA,IACjB,YAAY;AAAA,IAAE;AAAA,IACd,KAAK;AAAA,IAAE;AAAA,IACP,OAAO;AAAA,IAAA;AAAA,EACR;AAAA,EACD,aAAa,WAAuB;AAClC,WAAO;AAAA,EACR;AAAA,EACD,mBAAmB;AAAA,EAAE;AAAA,EACrB,sBAAsB;AAAA,EAAE;AAAA,EACxB,mBAAmB;AACjB,WAAO;AAAA,MACL,mBAAmB;AACjB,eAAO;AAAA,MACf;AAAA,IACK;AAAA,EACF;AAAA,EACD,QAAQ;AAAA,EAAE;AAAA,EACV,OAAO;AAAA,EAAE;AAAA,EACT,QAAQ,CAAE;AAAA,EACV,aAAa;AAAA,EAAE;AAAA,EACf,eAAe;AAAA,EAAE;AAAA,EACjB,aAAa;AACX,WAAO,CAAE;AAAA,EACV;AAAA,EACD,sBAAsBI,GAAU;AAC9B,WAAI,OAAO,aAAe,OACxBA,EAAU,GACH,QAEF,WAAWA,GAAU,CAAC;AAAA,EAC9B;AAAA,EACD,qBAAqBC,GAAI;AACvB,IAAI,OAAO,aAAe,OAG1B,aAAaA,CAAE;AAAA,EACnB;AACA;AACA,SAASC,IAAY;AACnB,QAAMC,IAAM,OAAO,SAAW,MAAc,SAAS,CAAE;AACvD,SAAAZ,EAAOY,GAAKJ,CAAS,GACdI;AACT;","x_google_ignoreList":[0]}
|
package/package.json
CHANGED
package/dist/index.cjs423.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var k=function(r){if(typeof document>"u")return null;var u=Array.isArray(r)?r[0]:r;return u.ownerDocument.body},f=new WeakMap,v=new WeakMap,p={},h=0,b=function(r){return r&&(r.host||b(r.parentNode))},O=function(r,u){return u.map(function(t){if(r.contains(t))return t;var n=b(t);return n&&r.contains(n)?n:(console.error("aria-hidden",t,"in not contained inside",r,". Doing nothing"),null)}).filter(function(t){return!!t})},D=function(r,u,t,n){var i=O(u,Array.isArray(r)?r:[r]);p[t]||(p[t]=new WeakMap);var o=p[t],l=[],s=new Set,S=new Set(i),y=function(e){!e||s.has(e)||(s.add(e),y(e.parentNode))};i.forEach(y);var A=function(e){!e||S.has(e)||Array.prototype.forEach.call(e.children,function(a){if(s.has(a))A(a);else try{var c=a.getAttribute(n),d=c!==null&&c!=="false",w=(f.get(a)||0)+1,M=(o.get(a)||0)+1;f.set(a,w),o.set(a,M),l.push(a),w===1&&d&&v.set(a,!0),M===1&&a.setAttribute(t,"true"),d||a.setAttribute(n,"true")}catch(W){console.error("aria-hidden: cannot operate on ",a,W)}})};return A(u),s.clear(),h++,function(){l.forEach(function(e){var a=f.get(e)-1,c=o.get(e)-1;f.set(e,a),o.set(e,c),a||(v.has(e)||e.removeAttribute(n),v.delete(e)),c||e.removeAttribute(t)}),h--,h||(f=new WeakMap,f=new WeakMap,v=new WeakMap,p={})}},E=function(r,u,t){t===void 0&&(t="data-aria-hidden");var n=Array.from(Array.isArray(r)?r:[r]),i=k(r);return i?(n.push.apply(n,Array.from(i.querySelectorAll("[aria-live]"))),D(n,i,t,"aria-hidden")):function(){return null}};exports.hideOthers=E;
|
2
|
-
//# sourceMappingURL=index.cjs423.js.map
|
package/dist/index.cjs423.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs423.js","sources":["../node_modules/aria-hidden/dist/es2015/index.js"],"sourcesContent":["var getDefaultParent = function (originalTarget) {\n if (typeof document === 'undefined') {\n return null;\n }\n var sampleTarget = Array.isArray(originalTarget) ? originalTarget[0] : originalTarget;\n return sampleTarget.ownerDocument.body;\n};\nvar counterMap = new WeakMap();\nvar uncontrolledNodes = new WeakMap();\nvar markerMap = {};\nvar lockCount = 0;\nvar unwrapHost = function (node) {\n return node && (node.host || unwrapHost(node.parentNode));\n};\nvar correctTargets = function (parent, targets) {\n return targets\n .map(function (target) {\n if (parent.contains(target)) {\n return target;\n }\n var correctedTarget = unwrapHost(target);\n if (correctedTarget && parent.contains(correctedTarget)) {\n return correctedTarget;\n }\n console.error('aria-hidden', target, 'in not contained inside', parent, '. Doing nothing');\n return null;\n })\n .filter(function (x) { return Boolean(x); });\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @param {String} [controlAttribute] - html Attribute to control\n * @return {Undo} undo command\n */\nvar applyAttributeToOthers = function (originalTarget, parentNode, markerName, controlAttribute) {\n var targets = correctTargets(parentNode, Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n if (!markerMap[markerName]) {\n markerMap[markerName] = new WeakMap();\n }\n var markerCounter = markerMap[markerName];\n var hiddenNodes = [];\n var elementsToKeep = new Set();\n var elementsToStop = new Set(targets);\n var keep = function (el) {\n if (!el || elementsToKeep.has(el)) {\n return;\n }\n elementsToKeep.add(el);\n keep(el.parentNode);\n };\n targets.forEach(keep);\n var deep = function (parent) {\n if (!parent || elementsToStop.has(parent)) {\n return;\n }\n Array.prototype.forEach.call(parent.children, function (node) {\n if (elementsToKeep.has(node)) {\n deep(node);\n }\n else {\n try {\n var attr = node.getAttribute(controlAttribute);\n var alreadyHidden = attr !== null && attr !== 'false';\n var counterValue = (counterMap.get(node) || 0) + 1;\n var markerValue = (markerCounter.get(node) || 0) + 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n hiddenNodes.push(node);\n if (counterValue === 1 && alreadyHidden) {\n uncontrolledNodes.set(node, true);\n }\n if (markerValue === 1) {\n node.setAttribute(markerName, 'true');\n }\n if (!alreadyHidden) {\n node.setAttribute(controlAttribute, 'true');\n }\n }\n catch (e) {\n console.error('aria-hidden: cannot operate on ', node, e);\n }\n }\n });\n };\n deep(parentNode);\n elementsToKeep.clear();\n lockCount++;\n return function () {\n hiddenNodes.forEach(function (node) {\n var counterValue = counterMap.get(node) - 1;\n var markerValue = markerCounter.get(node) - 1;\n counterMap.set(node, counterValue);\n markerCounter.set(node, markerValue);\n if (!counterValue) {\n if (!uncontrolledNodes.has(node)) {\n node.removeAttribute(controlAttribute);\n }\n uncontrolledNodes.delete(node);\n }\n if (!markerValue) {\n node.removeAttribute(markerName);\n }\n });\n lockCount--;\n if (!lockCount) {\n // clear\n counterMap = new WeakMap();\n counterMap = new WeakMap();\n uncontrolledNodes = new WeakMap();\n markerMap = {};\n }\n };\n};\n/**\n * Marks everything except given node(or nodes) as aria-hidden\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var hideOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-aria-hidden'; }\n var targets = Array.from(Array.isArray(originalTarget) ? originalTarget : [originalTarget]);\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n // we should not hide ariaLive elements - https://github.com/theKashey/aria-hidden/issues/10\n targets.push.apply(targets, Array.from(activeParentNode.querySelectorAll('[aria-live]')));\n return applyAttributeToOthers(targets, activeParentNode, markerName, 'aria-hidden');\n};\n/**\n * Marks everything except given node(or nodes) as inert\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var inertOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-inert-ed'; }\n var activeParentNode = parentNode || getDefaultParent(originalTarget);\n if (!activeParentNode) {\n return function () { return null; };\n }\n return applyAttributeToOthers(originalTarget, activeParentNode, markerName, 'inert');\n};\n/**\n * @returns if current browser supports inert\n */\nexport var supportsInert = function () {\n return typeof HTMLElement !== 'undefined' && HTMLElement.prototype.hasOwnProperty('inert');\n};\n/**\n * Automatic function to \"suppress\" DOM elements - _hide_ or _inert_ in the best possible way\n * @param {Element | Element[]} originalTarget - elements to keep on the page\n * @param [parentNode] - top element, defaults to document.body\n * @param {String} [markerName] - a special attribute to mark every node\n * @return {Undo} undo command\n */\nexport var suppressOthers = function (originalTarget, parentNode, markerName) {\n if (markerName === void 0) { markerName = 'data-suppressed'; }\n return (supportsInert() ? inertOthers : hideOthers)(originalTarget, parentNode, markerName);\n};\n"],"names":["getDefaultParent","originalTarget","sampleTarget","counterMap","uncontrolledNodes","markerMap","lockCount","unwrapHost","node","correctTargets","parent","targets","target","correctedTarget","x","applyAttributeToOthers","parentNode","markerName","controlAttribute","markerCounter","hiddenNodes","elementsToKeep","elementsToStop","keep","el","deep","attr","alreadyHidden","counterValue","markerValue","e","hideOthers","activeParentNode"],"mappings":"gFAAA,IAAIA,EAAmB,SAAUC,EAAgB,CAC7C,GAAI,OAAO,SAAa,IACpB,OAAO,KAEX,IAAIC,EAAe,MAAM,QAAQD,CAAc,EAAIA,EAAe,CAAC,EAAIA,EACvE,OAAOC,EAAa,cAAc,IACtC,EACIC,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EACdC,EAAY,EACZC,EAAa,SAAUC,EAAM,CAC7B,OAAOA,IAASA,EAAK,MAAQD,EAAWC,EAAK,UAAU,EAC3D,EACIC,EAAiB,SAAUC,EAAQC,EAAS,CAC5C,OAAOA,EACF,IAAI,SAAUC,EAAQ,CACvB,GAAIF,EAAO,SAASE,CAAM,EACtB,OAAOA,EAEX,IAAIC,EAAkBN,EAAWK,CAAM,EACvC,OAAIC,GAAmBH,EAAO,SAASG,CAAe,EAC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N,QAAQ,MAAM,kCAAmCtB,EAAMsB,CAAC,CAC5E,CAEA,CAAS,CACJ,EACD,OAAAL,EAAKT,CAAU,EACfK,EAAe,MAAO,EACtBf,IACO,UAAY,CACfc,EAAY,QAAQ,SAAUZ,EAAM,CAChC,IAAIoB,EAAezB,EAAW,IAAIK,CAAI,EAAI,EACtCqB,EAAcV,EAAc,IAAIX,CAAI,EAAI,EAC5CL,EAAW,IAAIK,EAAMoB,CAAY,EACjCT,EAAc,IAAIX,EAAMqB,CAAW,EAC9BD,IACIxB,EAAkB,IAAII,CAAI,GAC3BA,EAAK,gBAAgBU,CAAgB,EAEzCd,EAAkB,OAAOI,CAAI,GAE5BqB,GACDrB,EAAK,gBAAgBS,CAAU,CAE/C,CAAS,EACDX,IACKA,IAEDH,EAAa,IAAI,QACjBA,EAAa,IAAI,QACjBC,EAAoB,IAAI,QACxBC,EAAY,CAAE,EAErB,CACL,EAQW0B,EAAa,SAAU9B,EAAgBe,EAAYC,EAAY,CAClEA,IAAe,SAAUA,EAAa,oBAC1C,IAAIN,EAAU,MAAM,KAAK,MAAM,QAAQV,CAAc,EAAIA,EAAiB,CAACA,CAAc,CAAC,EACtF+B,EAAiChC,EAAiBC,CAAc,EACpE,OAAK+B,GAILrB,EAAQ,KAAK,MAAMA,EAAS,MAAM,KAAKqB,EAAiB,iBAAiB,aAAa,CAAC,CAAC,EACjFjB,EAAuBJ,EAASqB,EAAkBf,EAAY,aAAa,GAJvE,UAAY,CAAE,OAAO,IAAO,CAK3C","x_google_ignoreList":[0]}
|
package/dist/index.cjs424.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const y=require("react"),g=require("./index.cjs397.js"),u=require("./index.cjs216.js");function S(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const l=S(y);function b(e){const t=x(e),n=l.forwardRef((r,o)=>{const{children:i,...c}=r,s=l.Children.toArray(i),f=s.find(E);if(f){const a=f.props.children,m=s.map(p=>p===f?l.Children.count(a)>1?l.Children.only(null):l.isValidElement(a)?a.props.children:null:p);return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:l.isValidElement(a)?l.cloneElement(a,void 0,m):null})}return u.jsxRuntimeExports.jsx(t,{...c,ref:o,children:i})});return n.displayName=`${e}.Slot`,n}function x(e){const t=l.forwardRef((n,r)=>{const{children:o,...i}=n;if(l.isValidElement(o)){const c=O(o),s=R(i,o.props);return o.type!==l.Fragment&&(s.ref=r?g.composeRefs(r,c):c),l.cloneElement(o,s)}return l.Children.count(o)>1?l.Children.only(null):null});return t.displayName=`${e}.SlotClone`,t}var d=Symbol("radix.slottable");function j(e){const t=({children:n})=>u.jsxRuntimeExports.jsx(u.jsxRuntimeExports.Fragment,{children:n});return t.displayName=`${e}.Slottable`,t.__radixId=d,t}function E(e){return l.isValidElement(e)&&typeof e.type=="function"&&"__radixId"in e.type&&e.type.__radixId===d}function R(e,t){const n={...t};for(const r in t){const o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...s)=>{i(...s),o(...s)}:o&&(n[r]=o):r==="style"?n[r]={...o,...i}:r==="className"&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}function O(e){var r,o;let t=(r=Object.getOwnPropertyDescriptor(e.props,"ref"))==null?void 0:r.get,n=t&&"isReactWarning"in t&&t.isReactWarning;return n?e.ref:(t=(o=Object.getOwnPropertyDescriptor(e,"ref"))==null?void 0:o.get,n=t&&"isReactWarning"in t&&t.isReactWarning,n?e.props.ref:e.props.ref||e.ref)}exports.createSlot=b;exports.createSlottable=j;
|
2
|
-
//# sourceMappingURL=index.cjs424.js.map
|
package/dist/index.cjs424.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs424.js","sources":["../node_modules/@radix-ui/react-slot/dist/index.mjs"],"sourcesContent":["// packages/react/slot/src/slot.tsx\nimport * as React from \"react\";\nimport { composeRefs } from \"@radix-ui/react-compose-refs\";\nimport { Fragment as Fragment2, jsx } from \"react/jsx-runtime\";\n// @__NO_SIDE_EFFECTS__\nfunction createSlot(ownerName) {\n const SlotClone = /* @__PURE__ */ createSlotClone(ownerName);\n const Slot2 = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n const childrenArray = React.Children.toArray(children);\n const slottable = childrenArray.find(isSlottable);\n if (slottable) {\n const newElement = slottable.props.children;\n const newChildren = childrenArray.map((child) => {\n if (child === slottable) {\n if (React.Children.count(newElement) > 1) return React.Children.only(null);\n return React.isValidElement(newElement) ? newElement.props.children : null;\n } else {\n return child;\n }\n });\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children: React.isValidElement(newElement) ? React.cloneElement(newElement, void 0, newChildren) : null });\n }\n return /* @__PURE__ */ jsx(SlotClone, { ...slotProps, ref: forwardedRef, children });\n });\n Slot2.displayName = `${ownerName}.Slot`;\n return Slot2;\n}\nvar Slot = /* @__PURE__ */ createSlot(\"Slot\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlotClone(ownerName) {\n const SlotClone = React.forwardRef((props, forwardedRef) => {\n const { children, ...slotProps } = props;\n if (React.isValidElement(children)) {\n const childrenRef = getElementRef(children);\n const props2 = mergeProps(slotProps, children.props);\n if (children.type !== React.Fragment) {\n props2.ref = forwardedRef ? composeRefs(forwardedRef, childrenRef) : childrenRef;\n }\n return React.cloneElement(children, props2);\n }\n return React.Children.count(children) > 1 ? React.Children.only(null) : null;\n });\n SlotClone.displayName = `${ownerName}.SlotClone`;\n return SlotClone;\n}\nvar SLOTTABLE_IDENTIFIER = Symbol(\"radix.slottable\");\n// @__NO_SIDE_EFFECTS__\nfunction createSlottable(ownerName) {\n const Slottable2 = ({ children }) => {\n return /* @__PURE__ */ jsx(Fragment2, { children });\n };\n Slottable2.displayName = `${ownerName}.Slottable`;\n Slottable2.__radixId = SLOTTABLE_IDENTIFIER;\n return Slottable2;\n}\nvar Slottable = /* @__PURE__ */ createSlottable(\"Slottable\");\nfunction isSlottable(child) {\n return React.isValidElement(child) && typeof child.type === \"function\" && \"__radixId\" in child.type && child.type.__radixId === SLOTTABLE_IDENTIFIER;\n}\nfunction mergeProps(slotProps, childProps) {\n const overrideProps = { ...childProps };\n for (const propName in childProps) {\n const slotPropValue = slotProps[propName];\n const childPropValue = childProps[propName];\n const isHandler = /^on[A-Z]/.test(propName);\n if (isHandler) {\n if (slotPropValue && childPropValue) {\n overrideProps[propName] = (...args) => {\n childPropValue(...args);\n slotPropValue(...args);\n };\n } else if (slotPropValue) {\n overrideProps[propName] = slotPropValue;\n }\n } else if (propName === \"style\") {\n overrideProps[propName] = { ...slotPropValue, ...childPropValue };\n } else if (propName === \"className\") {\n overrideProps[propName] = [slotPropValue, childPropValue].filter(Boolean).join(\" \");\n }\n }\n return { ...slotProps, ...overrideProps };\n}\nfunction getElementRef(element) {\n let getter = Object.getOwnPropertyDescriptor(element.props, \"ref\")?.get;\n let mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.ref;\n }\n getter = Object.getOwnPropertyDescriptor(element, \"ref\")?.get;\n mayWarn = getter && \"isReactWarning\" in getter && getter.isReactWarning;\n if (mayWarn) {\n return element.props.ref;\n }\n return element.props.ref || element.ref;\n}\nexport {\n Slot as Root,\n Slot,\n Slottable,\n createSlot,\n createSlottable\n};\n//# sourceMappingURL=index.mjs.map\n"],"names":["createSlot","ownerName","SlotClone","createSlotClone","Slot2","React","props","forwardedRef","children","slotProps","childrenArray","slottable","isSlottable","newElement","newChildren","child","jsx","childrenRef","getElementRef","props2","mergeProps","composeRefs","SLOTTABLE_IDENTIFIER","createSlottable","Slottable2","Fragment2","childProps","overrideProps","propName","slotPropValue","childPropValue","args","element","getter","_a","mayWarn","_b"],"mappings":"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AAyBJ,EAAS,KAAK,IAA9C,YAAAI,EAAiD,IAC1DD,EAAUF,GAAU,mBAAoBA,GAAUA,EAAO,eACrDE,EACKH,EAAQ,MAAM,IAEhBA,EAAQ,MAAM,KAAOA,EAAQ,IACtC","x_google_ignoreList":[0]}
|
package/dist/index.cjs463.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var a={left:0,top:0,right:0,gap:0},r=function(t){return parseInt(t||"",10)||0},o=function(t){var i=window.getComputedStyle(document.body),n=i[t==="padding"?"paddingLeft":"marginLeft"],e=i[t==="padding"?"paddingTop":"marginTop"],d=i[t==="padding"?"paddingRight":"marginRight"];return[r(n),r(e),r(d)]},g=function(t){if(t===void 0&&(t="margin"),typeof window>"u")return a;var i=o(t),n=document.documentElement.clientWidth,e=window.innerWidth;return{left:i[0],top:i[1],right:i[2],gap:Math.max(0,e-n+i[2]-i[0])}};exports.getGapWidth=g;exports.zeroGap=a;
|
2
|
-
//# sourceMappingURL=index.cjs463.js.map
|
package/dist/index.cjs463.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs463.js","sources":["../node_modules/react-remove-scroll-bar/dist/es2015/utils.js"],"sourcesContent":["export var zeroGap = {\n left: 0,\n top: 0,\n right: 0,\n gap: 0,\n};\nvar parse = function (x) { return parseInt(x || '', 10) || 0; };\nvar getOffset = function (gapMode) {\n var cs = window.getComputedStyle(document.body);\n var left = cs[gapMode === 'padding' ? 'paddingLeft' : 'marginLeft'];\n var top = cs[gapMode === 'padding' ? 'paddingTop' : 'marginTop'];\n var right = cs[gapMode === 'padding' ? 'paddingRight' : 'marginRight'];\n return [parse(left), parse(top), parse(right)];\n};\nexport var getGapWidth = function (gapMode) {\n if (gapMode === void 0) { gapMode = 'margin'; }\n if (typeof window === 'undefined') {\n return zeroGap;\n }\n var offsets = getOffset(gapMode);\n var documentWidth = document.documentElement.clientWidth;\n var windowWidth = window.innerWidth;\n return {\n left: offsets[0],\n top: offsets[1],\n right: offsets[2],\n gap: Math.max(0, windowWidth - documentWidth + offsets[2] - offsets[0]),\n };\n};\n"],"names":["zeroGap","parse","x","getOffset","gapMode","cs","left","top","right","getGapWidth","offsets","documentWidth","windowWidth"],"mappings":"gFAAU,IAACA,EAAU,CACjB,KAAM,EACN,IAAK,EACL,MAAO,EACP,IAAK,CACT,EACIC,EAAQ,SAAUC,EAAG,CAAE,OAAO,SAASA,GAAK,GAAI,EAAE,GAAK,CAAI,EAC3DC,EAAY,SAAUC,EAAS,CAC/B,IAAIC,EAAK,OAAO,iBAAiB,SAAS,IAAI,EAC1CC,EAAOD,EAAGD,IAAY,UAAY,cAAgB,YAAY,EAC9DG,EAAMF,EAAGD,IAAY,UAAY,aAAe,WAAW,EAC3DI,EAAQH,EAAGD,IAAY,UAAY,eAAiB,aAAa,EACrE,MAAO,CAACH,EAAMK,CAAI,EAAGL,EAAMM,CAAG,EAAGN,EAAMO,CAAK,CAAC,CACjD,EACWC,EAAc,SAAUL,EAAS,CAExC,GADIA,IAAY,SAAUA,EAAU,UAChC,OAAO,OAAW,IAClB,OAAOJ,EAEX,IAAIU,EAAUP,EAAUC,CAAO,EAC3BO,EAAgB,SAAS,gBAAgB,YACzCC,EAAc,OAAO,WACzB,MAAO,CACH,KAAMF,EAAQ,CAAC,EACf,IAAKA,EAAQ,CAAC,EACd,MAAOA,EAAQ,CAAC,EAChB,IAAK,KAAK,IAAI,EAAGE,EAAcD,EAAgBD,EAAQ,CAAC,EAAIA,EAAQ,CAAC,CAAC,CACzE,CACL","x_google_ignoreList":[0]}
|
package/dist/index.cjs464.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const r=require("react"),c=require("./index.cjs465.js");function u(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e){for(const n in e)if(n!=="default"){const o=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,o.get?o:{enumerable:!0,get:()=>e[n]})}}return t.default=e,Object.freeze(t)}const i=u(r);var a=function(){var e=c.stylesheetSingleton();return function(t,n){i.useEffect(function(){return e.add(t),function(){e.remove()}},[t&&n])}};exports.styleHookSingleton=a;
|
2
|
-
//# sourceMappingURL=index.cjs464.js.map
|
package/dist/index.cjs464.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs464.js","sources":["../node_modules/react-style-singleton/dist/es2015/hook.js"],"sourcesContent":["import * as React from 'react';\nimport { stylesheetSingleton } from './singleton';\n/**\n * creates a hook to control style singleton\n * @see {@link styleSingleton} for a safer component version\n * @example\n * ```tsx\n * const useStyle = styleHookSingleton();\n * ///\n * useStyle('body { overflow: hidden}');\n */\nexport var styleHookSingleton = function () {\n var sheet = stylesheetSingleton();\n return function (styles, isDynamic) {\n React.useEffect(function () {\n sheet.add(styles);\n return function () {\n sheet.remove();\n };\n }, [styles && isDynamic]);\n };\n};\n"],"names":["styleHookSingleton","sheet","stylesheetSingleton","styles","isDynamic","React"],"mappings":"kaAWU,IAACA,EAAqB,UAAY,CACxC,IAAIC,EAAQC,EAAAA,oBAAqB,EACjC,OAAO,SAAUC,EAAQC,EAAW,CAChCC,EAAM,UAAU,UAAY,CACxB,OAAAJ,EAAM,IAAIE,CAAM,EACT,UAAY,CACfF,EAAM,OAAQ,CACjB,CACb,EAAW,CAACE,GAAUC,CAAS,CAAC,CAC3B,CACL","x_google_ignoreList":[0]}
|
package/dist/index.cjs480.js
DELETED
@@ -1,2 +0,0 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("./index.cjs481.js");function o(i,f,l,n){return i.params.createElements&&Object.keys(n).forEach(e=>{if(!l[e]&&l.auto===!0){let t=u.e(i.el,`.${n[e]}`)[0];t||(t=u.c("div",n[e]),t.className=n[e],i.el.append(t)),l[e]=t,f[e]=t}}),l}exports.c=o;
|
2
|
-
//# sourceMappingURL=index.cjs480.js.map
|
package/dist/index.cjs480.js.map
DELETED
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"index.cjs480.js","sources":["../node_modules/swiper/shared/create-element-if-not-defined.mjs"],"sourcesContent":["import { e as elementChildren, c as createElement } from './utils.mjs';\n\nfunction createElementIfNotDefined(swiper, originalParams, params, checkProps) {\n if (swiper.params.createElements) {\n Object.keys(checkProps).forEach(key => {\n if (!params[key] && params.auto === true) {\n let element = elementChildren(swiper.el, `.${checkProps[key]}`)[0];\n if (!element) {\n element = createElement('div', checkProps[key]);\n element.className = checkProps[key];\n swiper.el.append(element);\n }\n params[key] = element;\n originalParams[key] = element;\n }\n });\n }\n return params;\n}\n\nexport { createElementIfNotDefined as c };\n"],"names":["createElementIfNotDefined","swiper","originalParams","params","checkProps","key","element","elementChildren","createElement"],"mappings":"qHAEA,SAASA,EAA0BC,EAAQC,EAAgBC,EAAQC,EAAY,CAC7E,OAAIH,EAAO,OAAO,gBAChB,OAAO,KAAKG,CAAU,EAAE,QAAQC,GAAO,CACrC,GAAI,CAACF,EAAOE,CAAG,GAAKF,EAAO,OAAS,GAAM,CACxC,IAAIG,EAAUC,EAAAA,EAAgBN,EAAO,GAAI,IAAIG,EAAWC,CAAG,CAAC,EAAE,EAAE,CAAC,EAC5DC,IACHA,EAAUE,EAAAA,EAAc,MAAOJ,EAAWC,CAAG,CAAC,EAC9CC,EAAQ,UAAYF,EAAWC,CAAG,EAClCJ,EAAO,GAAG,OAAOK,CAAO,GAE1BH,EAAOE,CAAG,EAAIC,EACdJ,EAAeG,CAAG,EAAIC,CAC9B,CACA,CAAK,EAEIH,CACT","x_google_ignoreList":[0]}
|