kss-modern 1.2.1 → 1.2.2
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/node/lib/index.mjs +5 -5
- package/dist/node/lib/pug/worker.mjs +1 -1
- package/dist/node/shared/{kss-modern.rh78o-vW.mjs → kss-modern.BQiL0d8K.mjs} +12 -9
- package/dist/styleguide-assets/.vite/manifest.json +16 -16
- package/dist/styleguide-assets/{animate-DRGZltJ3.js → animate-x_9xNIEv.js} +98 -95
- package/dist/styleguide-assets/assets/{worker-CejjK-QF.js → worker-CmLo4fRx.js} +14 -14
- package/dist/styleguide-assets/{browser-BgMZpraI.js → browser-nU7CpeVb.js} +2324 -2280
- package/dist/styleguide-assets/{clipboard-0X6xnPVo.js → clipboard-BUvXbiCa.js} +1 -1
- package/dist/styleguide-assets/{code-highlight-BygtMiLu.js → code-highlight-Fm7cxf-E.js} +1 -1
- package/dist/styleguide-assets/{fullpage-CGBSSxKh.js → fullpage-Ck0nyq2C.js} +1 -1
- package/dist/styleguide-assets/{html-validator-CeH3wXbU.js → html-validator-Cq21EQMK.js} +1 -1
- package/dist/styleguide-assets/{icons-Do1H6FzJ.js → icons-C6KKEuT_.js} +1 -1
- package/dist/styleguide-assets/{kss-modern-3dYdkdaU.css → kss-modern-DeXoMEvT.css} +1 -1
- package/dist/styleguide-assets/{preview-B-NERQ5n.js → preview-CHOmMvuB.js} +5 -5
- package/package.json +14 -14
|
@@ -2329,64 +2329,67 @@ function wi(e, { style: t, vars: n }, r, i) {
|
|
|
2329
2329
|
for (o in i?.applyProjectionStyles(a, r), n) a.setProperty(o, n[o]);
|
|
2330
2330
|
}
|
|
2331
2331
|
//#endregion
|
|
2332
|
+
//#region node_modules/motion-dom/dist/es/utils/border-radius.mjs
|
|
2333
|
+
var Ti = [
|
|
2334
|
+
"borderTopLeftRadius",
|
|
2335
|
+
"borderTopRightRadius",
|
|
2336
|
+
"borderBottomRightRadius",
|
|
2337
|
+
"borderBottomLeftRadius"
|
|
2338
|
+
];
|
|
2339
|
+
//#endregion
|
|
2332
2340
|
//#region node_modules/motion-dom/dist/es/projection/styles/scale-border-radius.mjs
|
|
2333
|
-
function
|
|
2341
|
+
function Ei(e, t) {
|
|
2334
2342
|
return t.max === t.min ? 0 : e / (t.max - t.min) * 100;
|
|
2335
2343
|
}
|
|
2336
2344
|
var $ = { correct: (e, t) => {
|
|
2337
2345
|
if (!t.target) return e;
|
|
2338
2346
|
if (typeof e == "string") if (z.test(e)) e = parseFloat(e);
|
|
2339
2347
|
else return e;
|
|
2340
|
-
return `${
|
|
2341
|
-
} },
|
|
2348
|
+
return `${Ei(e, t.target.x)}% ${Ei(e, t.target.y)}%`;
|
|
2349
|
+
} }, Di = { correct: (e, { treeScale: t, projectionDelta: n }) => {
|
|
2342
2350
|
let r = e, i = U.parse(e);
|
|
2343
2351
|
if (i.length > 5) return r;
|
|
2344
2352
|
let a = U.createTransformer(e), o = typeof i[0] == "number" ? 0 : 1, s = n.x.scale * t.x, c = n.y.scale * t.y;
|
|
2345
2353
|
i[0 + o] /= s, i[1 + o] /= c;
|
|
2346
2354
|
let l = W(s, c, .5);
|
|
2347
2355
|
return typeof i[2 + o] == "number" && (i[2 + o] /= l), typeof i[3 + o] == "number" && (i[3 + o] /= l), a(i);
|
|
2348
|
-
} },
|
|
2356
|
+
} }, Oi = {
|
|
2349
2357
|
borderRadius: {
|
|
2350
2358
|
...$,
|
|
2351
|
-
applyTo: [
|
|
2352
|
-
"borderTopLeftRadius",
|
|
2353
|
-
"borderTopRightRadius",
|
|
2354
|
-
"borderBottomLeftRadius",
|
|
2355
|
-
"borderBottomRightRadius"
|
|
2356
|
-
]
|
|
2359
|
+
applyTo: [...Ti]
|
|
2357
2360
|
},
|
|
2358
2361
|
borderTopLeftRadius: $,
|
|
2359
2362
|
borderTopRightRadius: $,
|
|
2360
2363
|
borderBottomLeftRadius: $,
|
|
2361
2364
|
borderBottomRightRadius: $,
|
|
2362
|
-
boxShadow:
|
|
2365
|
+
boxShadow: Di
|
|
2363
2366
|
};
|
|
2364
2367
|
//#endregion
|
|
2365
2368
|
//#region node_modules/motion-dom/dist/es/render/utils/is-forced-motion-value.mjs
|
|
2366
|
-
function
|
|
2367
|
-
return o.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!
|
|
2369
|
+
function ki(e, { layout: t, layoutId: n }) {
|
|
2370
|
+
return o.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Oi[e] || e === "opacity");
|
|
2368
2371
|
}
|
|
2369
2372
|
//#endregion
|
|
2370
2373
|
//#region node_modules/motion-dom/dist/es/render/html/utils/scrape-motion-values.mjs
|
|
2371
|
-
function
|
|
2374
|
+
function Ai(e, t, n) {
|
|
2372
2375
|
let r = e.style, i = t?.style, a = {};
|
|
2373
2376
|
if (!r) return a;
|
|
2374
|
-
for (let t in r) (j(r[t]) || i && j(i[t]) ||
|
|
2377
|
+
for (let t in r) (j(r[t]) || i && j(i[t]) || ki(t, e) || n?.getValue(t)?.liveStyle !== void 0) && (a[t] = r[t]);
|
|
2375
2378
|
return a;
|
|
2376
2379
|
}
|
|
2377
2380
|
//#endregion
|
|
2378
2381
|
//#region node_modules/motion-dom/dist/es/render/html/HTMLVisualElement.mjs
|
|
2379
|
-
function
|
|
2382
|
+
function ji(e) {
|
|
2380
2383
|
return window.getComputedStyle(e);
|
|
2381
2384
|
}
|
|
2382
|
-
var
|
|
2385
|
+
var Mi = class extends vi {
|
|
2383
2386
|
constructor() {
|
|
2384
2387
|
super(...arguments), this.type = "html", this.renderInstance = wi;
|
|
2385
2388
|
}
|
|
2386
2389
|
readValueFromInstance(e, t) {
|
|
2387
2390
|
if (o.has(t)) return this.projection?.isProjecting ? Tn(t) : Dn(e, t);
|
|
2388
2391
|
{
|
|
2389
|
-
let n =
|
|
2392
|
+
let n = ji(e), r = (Ge(t) ? n.getPropertyValue(t) : n[t]) || 0;
|
|
2390
2393
|
return typeof r == "string" ? r.trim() : r;
|
|
2391
2394
|
}
|
|
2392
2395
|
}
|
|
@@ -2397,20 +2400,20 @@ var ji = class extends vi {
|
|
|
2397
2400
|
Ci(e, t, n.transformTemplate);
|
|
2398
2401
|
}
|
|
2399
2402
|
scrapeMotionValuesFromProps(e, t, n) {
|
|
2400
|
-
return
|
|
2403
|
+
return Ai(e, t, n);
|
|
2401
2404
|
}
|
|
2402
2405
|
};
|
|
2403
2406
|
//#endregion
|
|
2404
2407
|
//#region node_modules/motion-dom/dist/es/render/object/ObjectVisualElement.mjs
|
|
2405
|
-
function
|
|
2408
|
+
function Ni(e, t) {
|
|
2406
2409
|
return e in t;
|
|
2407
2410
|
}
|
|
2408
|
-
var
|
|
2411
|
+
var Pi = class extends _i {
|
|
2409
2412
|
constructor() {
|
|
2410
2413
|
super(...arguments), this.type = "object";
|
|
2411
2414
|
}
|
|
2412
2415
|
readValueFromInstance(e, t) {
|
|
2413
|
-
if (
|
|
2416
|
+
if (Ni(t, e)) {
|
|
2414
2417
|
let n = e[t];
|
|
2415
2418
|
if (typeof n == "string" || typeof n == "number") return n;
|
|
2416
2419
|
}
|
|
@@ -2431,27 +2434,27 @@ var Ni = class extends _i {
|
|
|
2431
2434
|
sortInstanceNodePosition() {
|
|
2432
2435
|
return 0;
|
|
2433
2436
|
}
|
|
2434
|
-
},
|
|
2437
|
+
}, Fi = {
|
|
2435
2438
|
offset: "stroke-dashoffset",
|
|
2436
2439
|
array: "stroke-dasharray"
|
|
2437
|
-
},
|
|
2440
|
+
}, Ii = {
|
|
2438
2441
|
offset: "strokeDashoffset",
|
|
2439
2442
|
array: "strokeDasharray"
|
|
2440
2443
|
};
|
|
2441
|
-
function
|
|
2444
|
+
function Li(e, t, n = 1, r = 0, i = !0) {
|
|
2442
2445
|
e.pathLength = 1;
|
|
2443
|
-
let a = i ?
|
|
2446
|
+
let a = i ? Fi : Ii;
|
|
2444
2447
|
e[a.offset] = `${-r}`, e[a.array] = `${t} ${n}`;
|
|
2445
2448
|
}
|
|
2446
2449
|
//#endregion
|
|
2447
2450
|
//#region node_modules/motion-dom/dist/es/render/svg/utils/build-attrs.mjs
|
|
2448
|
-
var
|
|
2451
|
+
var Ri = [
|
|
2449
2452
|
"offsetDistance",
|
|
2450
2453
|
"offsetPath",
|
|
2451
2454
|
"offsetRotate",
|
|
2452
2455
|
"offsetAnchor"
|
|
2453
2456
|
];
|
|
2454
|
-
function
|
|
2457
|
+
function zi(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a = 1, pathOffset: o = 0, ...s }, c, l, u) {
|
|
2455
2458
|
if (Ci(e, s, l), c) {
|
|
2456
2459
|
e.style.viewBox && (e.attrs.viewBox = e.style.viewBox);
|
|
2457
2460
|
return;
|
|
@@ -2459,12 +2462,12 @@ function Ri(e, { attrX: t, attrY: n, attrScale: r, pathLength: i, pathSpacing: a
|
|
|
2459
2462
|
e.attrs = e.style, e.style = {};
|
|
2460
2463
|
let { attrs: d, style: f } = e;
|
|
2461
2464
|
d.transform && (f.transform = d.transform, delete d.transform), (f.transform || d.transformOrigin) && (f.transformOrigin = d.transformOrigin ?? "50% 50%", delete d.transformOrigin), f.transform && (f.transformBox = u?.transformBox ?? "fill-box", delete d.transformBox);
|
|
2462
|
-
for (let e of
|
|
2463
|
-
t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 &&
|
|
2465
|
+
for (let e of Ri) d[e] !== void 0 && (f[e] = d[e], delete d[e]);
|
|
2466
|
+
t !== void 0 && (d.x = t), n !== void 0 && (d.y = n), r !== void 0 && (d.scale = r), i !== void 0 && Li(d, i, a, o, !1);
|
|
2464
2467
|
}
|
|
2465
2468
|
//#endregion
|
|
2466
2469
|
//#region node_modules/motion-dom/dist/es/render/svg/utils/camel-case-attrs.mjs
|
|
2467
|
-
var
|
|
2470
|
+
var Bi = /* @__PURE__ */ new Set([
|
|
2468
2471
|
"baseFrequency",
|
|
2469
2472
|
"diffuseConstant",
|
|
2470
2473
|
"kernelMatrix",
|
|
@@ -2488,17 +2491,17 @@ var zi = /* @__PURE__ */ new Set([
|
|
|
2488
2491
|
"startOffset",
|
|
2489
2492
|
"textLength",
|
|
2490
2493
|
"lengthAdjust"
|
|
2491
|
-
]),
|
|
2494
|
+
]), Vi = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
2492
2495
|
//#endregion
|
|
2493
2496
|
//#region node_modules/motion-dom/dist/es/render/svg/utils/render.mjs
|
|
2494
|
-
function
|
|
2497
|
+
function Hi(e, t, n, r) {
|
|
2495
2498
|
wi(e, t, void 0, r);
|
|
2496
|
-
for (let n in t.attrs) e.setAttribute(
|
|
2499
|
+
for (let n in t.attrs) e.setAttribute(Bi.has(n) ? n : Ve(n), t.attrs[n]);
|
|
2497
2500
|
}
|
|
2498
2501
|
//#endregion
|
|
2499
2502
|
//#region node_modules/motion-dom/dist/es/render/svg/utils/scrape-motion-values.mjs
|
|
2500
|
-
function
|
|
2501
|
-
let r =
|
|
2503
|
+
function Ui(e, t, n) {
|
|
2504
|
+
let r = Ai(e, t, n);
|
|
2502
2505
|
for (let n in e) if (j(e[n]) || j(t[n])) {
|
|
2503
2506
|
let t = a.indexOf(n) === -1 ? n : "attr" + n.charAt(0).toUpperCase() + n.substring(1);
|
|
2504
2507
|
r[t] = e[n];
|
|
@@ -2507,7 +2510,7 @@ function Hi(e, t, n) {
|
|
|
2507
2510
|
}
|
|
2508
2511
|
//#endregion
|
|
2509
2512
|
//#region node_modules/motion-dom/dist/es/render/svg/SVGVisualElement.mjs
|
|
2510
|
-
var
|
|
2513
|
+
var Wi = class extends vi {
|
|
2511
2514
|
constructor() {
|
|
2512
2515
|
super(...arguments), this.type = "svg", this.isSVGTag = !1, this.measureInstanceViewportBox = ni;
|
|
2513
2516
|
}
|
|
@@ -2519,57 +2522,57 @@ var Ui = class extends vi {
|
|
|
2519
2522
|
let e = qr(t);
|
|
2520
2523
|
return e && e.default || 0;
|
|
2521
2524
|
}
|
|
2522
|
-
return t =
|
|
2525
|
+
return t = Bi.has(t) ? t : Ve(t), e.getAttribute(t);
|
|
2523
2526
|
}
|
|
2524
2527
|
scrapeMotionValuesFromProps(e, t, n) {
|
|
2525
|
-
return
|
|
2528
|
+
return Ui(e, t, n);
|
|
2526
2529
|
}
|
|
2527
2530
|
build(e, t, n) {
|
|
2528
|
-
|
|
2531
|
+
zi(e, t, this.isSVGTag, n.transformTemplate, n.style);
|
|
2529
2532
|
}
|
|
2530
2533
|
renderInstance(e, t, n, r) {
|
|
2531
|
-
|
|
2534
|
+
Hi(e, t, n, r);
|
|
2532
2535
|
}
|
|
2533
2536
|
mount(e) {
|
|
2534
|
-
this.isSVGTag =
|
|
2537
|
+
this.isSVGTag = Vi(e.tagName), super.mount(e);
|
|
2535
2538
|
}
|
|
2536
2539
|
};
|
|
2537
2540
|
//#endregion
|
|
2538
2541
|
//#region node_modules/motion-dom/dist/es/animation/animate/single-value.mjs
|
|
2539
|
-
function
|
|
2542
|
+
function Gi(e, t, n) {
|
|
2540
2543
|
let r = j(e) ? e : A(e);
|
|
2541
2544
|
return r.start(Sr("", r, t, n)), r.animation;
|
|
2542
2545
|
}
|
|
2543
2546
|
//#endregion
|
|
2544
2547
|
//#region node_modules/framer-motion/dist/es/animation/utils/is-dom-keyframes.mjs
|
|
2545
|
-
function
|
|
2548
|
+
function Ki(e) {
|
|
2546
2549
|
return typeof e == "object" && !Array.isArray(e);
|
|
2547
2550
|
}
|
|
2548
2551
|
//#endregion
|
|
2549
2552
|
//#region node_modules/framer-motion/dist/es/animation/animate/resolve-subjects.mjs
|
|
2550
|
-
function
|
|
2551
|
-
return e == null ? [] : typeof e == "string" &&
|
|
2553
|
+
function qi(e, t, n, r) {
|
|
2554
|
+
return e == null ? [] : typeof e == "string" && Ki(t) ? Dr(e, n, r) : e instanceof NodeList ? Array.from(e) : Array.isArray(e) ? e.filter((e) => e != null) : [e];
|
|
2552
2555
|
}
|
|
2553
2556
|
//#endregion
|
|
2554
2557
|
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-repeat-duration.mjs
|
|
2555
|
-
function
|
|
2558
|
+
function Ji(e, t, n) {
|
|
2556
2559
|
return e * (t + 1) + n * t;
|
|
2557
2560
|
}
|
|
2558
2561
|
//#endregion
|
|
2559
2562
|
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/calc-time.mjs
|
|
2560
|
-
function
|
|
2563
|
+
function Yi(e, t, n, r) {
|
|
2561
2564
|
return typeof t == "number" ? t : t.startsWith("-") || t.startsWith("+") ? Math.max(0, e + parseFloat(t)) : t === "<" ? n : t.startsWith("<") ? Math.max(0, n + parseFloat(t.slice(1))) : r.get(t) ?? e;
|
|
2562
2565
|
}
|
|
2563
2566
|
//#endregion
|
|
2564
2567
|
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/edit.mjs
|
|
2565
|
-
function
|
|
2568
|
+
function Xi(e, t, n) {
|
|
2566
2569
|
for (let r = 0; r < e.length; r++) {
|
|
2567
2570
|
let i = e[r];
|
|
2568
2571
|
i.at > t && i.at < n && (l(e, i), r--);
|
|
2569
2572
|
}
|
|
2570
2573
|
}
|
|
2571
|
-
function
|
|
2572
|
-
|
|
2574
|
+
function Zi(e, t, n, r, i, a) {
|
|
2575
|
+
Xi(e, i, a);
|
|
2573
2576
|
for (let o = 0; o < t.length; o++) e.push({
|
|
2574
2577
|
value: t[o],
|
|
2575
2578
|
at: W(i, a, r[o]),
|
|
@@ -2578,19 +2581,19 @@ function Xi(e, t, n, r, i, a) {
|
|
|
2578
2581
|
}
|
|
2579
2582
|
//#endregion
|
|
2580
2583
|
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/normalize-times.mjs
|
|
2581
|
-
function
|
|
2584
|
+
function Qi(e, t, n = 0) {
|
|
2582
2585
|
let r = t + 1 + t * n;
|
|
2583
2586
|
for (let t = 0; t < e.length; t++) e[t] = e[t] / r;
|
|
2584
2587
|
}
|
|
2585
2588
|
//#endregion
|
|
2586
2589
|
//#region node_modules/framer-motion/dist/es/animation/sequence/utils/sort.mjs
|
|
2587
|
-
function
|
|
2590
|
+
function $i(e, t) {
|
|
2588
2591
|
return e.at === t.at ? e.value === null ? 1 : t.value === null ? -1 : 0 : e.at - t.at;
|
|
2589
2592
|
}
|
|
2590
2593
|
//#endregion
|
|
2591
2594
|
//#region node_modules/framer-motion/dist/es/animation/sequence/create.mjs
|
|
2592
|
-
var
|
|
2593
|
-
function
|
|
2595
|
+
var ea = "easeInOut", ta = 20;
|
|
2596
|
+
function na(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
2594
2597
|
let a = t.duration || .3, o = /* @__PURE__ */ new Map(), s = /* @__PURE__ */ new Map(), c = {}, l = /* @__PURE__ */ new Map(), u = 0, d = 0, f = 0;
|
|
2595
2598
|
for (let n = 0; n < e.length; n++) {
|
|
2596
2599
|
let o = e[n];
|
|
@@ -2598,16 +2601,16 @@ function ta(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
2598
2601
|
l.set(o, d);
|
|
2599
2602
|
continue;
|
|
2600
2603
|
} else if (!Array.isArray(o)) {
|
|
2601
|
-
l.set(o.name,
|
|
2604
|
+
l.set(o.name, Yi(d, o.at, u, l));
|
|
2602
2605
|
continue;
|
|
2603
2606
|
}
|
|
2604
2607
|
let [p, m, h = {}] = o;
|
|
2605
|
-
h.at !== void 0 && (d =
|
|
2608
|
+
h.at !== void 0 && (d = Yi(d, h.at, u, l));
|
|
2606
2609
|
let g = 0, _ = (e, n, r, o = 0, s = 0) => {
|
|
2607
|
-
let c =
|
|
2610
|
+
let c = aa(e), { delay: l = 0, times: u = sn(c), type: p = t.type || "keyframes", repeat: m, repeatType: h, repeatDelay: _ = 0, ...v } = n, { ease: y = t.ease || "easeOut", duration: x } = n, S = typeof l == "function" ? l(o, s) : l, C = c.length, w = Yn(p) ? p : i?.[p || "keyframes"];
|
|
2608
2611
|
if (C <= 2 && w) {
|
|
2609
2612
|
let e = 100;
|
|
2610
|
-
if (C === 2 &&
|
|
2613
|
+
if (C === 2 && ca(c)) {
|
|
2611
2614
|
let t = c[1] - c[0];
|
|
2612
2615
|
e = Math.abs(t);
|
|
2613
2616
|
}
|
|
@@ -2623,9 +2626,9 @@ function ta(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
2623
2626
|
let T = d + S;
|
|
2624
2627
|
u.length === 1 && u[0] === 0 && (u[1] = 1);
|
|
2625
2628
|
let E = u.length - c.length;
|
|
2626
|
-
if (E > 0 && on(u, E), c.length === 1 && c.unshift(null), m && `${m}${
|
|
2629
|
+
if (E > 0 && on(u, E), c.length === 1 && c.unshift(null), m && `${m}${ta}`, m && m < ta) {
|
|
2627
2630
|
let e = x > 0 ? _ / x : 0;
|
|
2628
|
-
x =
|
|
2631
|
+
x = Ji(x, m, _);
|
|
2629
2632
|
let t = [...c], n = [...u];
|
|
2630
2633
|
y = Array.isArray(y) ? [...y] : [y];
|
|
2631
2634
|
let r = [...y], i = h === "reverse" || h === "mirror", a = t, o = r;
|
|
@@ -2635,20 +2638,20 @@ function ta(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
2635
2638
|
e > 0 && (c.push(c[c.length - 1]), u.push(p), y.push("linear")), c.push(...d);
|
|
2636
2639
|
for (let e = 0; e < d.length; e++) u.push(n[e] + p), y.push(e === 0 ? "linear" : /* @__PURE__ */ me(f, e - 1));
|
|
2637
2640
|
}
|
|
2638
|
-
|
|
2641
|
+
Qi(u, m, e);
|
|
2639
2642
|
}
|
|
2640
2643
|
let D = T + x;
|
|
2641
|
-
|
|
2644
|
+
Zi(r, c, y, u, T, D), g = Math.max(S + x, g), f = Math.max(D, f);
|
|
2642
2645
|
};
|
|
2643
2646
|
if (j(p)) {
|
|
2644
|
-
let e =
|
|
2645
|
-
_(m, h,
|
|
2647
|
+
let e = ra(p, s);
|
|
2648
|
+
_(m, h, ia("default", e));
|
|
2646
2649
|
} else {
|
|
2647
|
-
let e =
|
|
2650
|
+
let e = qi(p, m, r, c), t = e.length;
|
|
2648
2651
|
for (let n = 0; n < t; n++) {
|
|
2649
2652
|
m = m, h = h;
|
|
2650
|
-
let r = e[n], i =
|
|
2651
|
-
for (let e in m) _(m[e],
|
|
2653
|
+
let r = e[n], i = ra(r, s);
|
|
2654
|
+
for (let e in m) _(m[e], oa(h, e), ia(e, i), n, t);
|
|
2652
2655
|
}
|
|
2653
2656
|
}
|
|
2654
2657
|
u = d, d += g;
|
|
@@ -2656,13 +2659,13 @@ function ta(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
2656
2659
|
return s.forEach((e, r) => {
|
|
2657
2660
|
for (let i in e) {
|
|
2658
2661
|
let a = e[i];
|
|
2659
|
-
a.sort(
|
|
2662
|
+
a.sort($i);
|
|
2660
2663
|
let s = [], c = [], l = [];
|
|
2661
2664
|
for (let e = 0; e < a.length; e++) {
|
|
2662
2665
|
let { at: t, value: n, easing: r } = a[e];
|
|
2663
2666
|
s.push(n), c.push(/* @__PURE__ */ v(0, f, t)), l.push(r || "easeOut");
|
|
2664
2667
|
}
|
|
2665
|
-
c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(
|
|
2668
|
+
c[0] !== 0 && (c.unshift(0), s.unshift(s[0]), l.unshift(ea)), c[c.length - 1] !== 1 && (c.push(1), s.push(null)), o.has(r) || o.set(r, {
|
|
2666
2669
|
keyframes: {},
|
|
2667
2670
|
transition: {}
|
|
2668
2671
|
});
|
|
@@ -2679,25 +2682,25 @@ function ta(e, { defaultTransition: t = {}, ...n } = {}, r, i) {
|
|
|
2679
2682
|
}
|
|
2680
2683
|
}), o;
|
|
2681
2684
|
}
|
|
2682
|
-
function
|
|
2685
|
+
function ra(e, t) {
|
|
2683
2686
|
return !t.has(e) && t.set(e, {}), t.get(e);
|
|
2684
2687
|
}
|
|
2685
|
-
function
|
|
2688
|
+
function ia(e, t) {
|
|
2686
2689
|
return t[e] || (t[e] = []), t[e];
|
|
2687
2690
|
}
|
|
2688
|
-
function
|
|
2691
|
+
function aa(e) {
|
|
2689
2692
|
return Array.isArray(e) ? e : [e];
|
|
2690
2693
|
}
|
|
2691
|
-
function
|
|
2694
|
+
function oa(e, t) {
|
|
2692
2695
|
return e && e[t] ? {
|
|
2693
2696
|
...e,
|
|
2694
2697
|
...e[t]
|
|
2695
2698
|
} : { ...e };
|
|
2696
2699
|
}
|
|
2697
|
-
var
|
|
2700
|
+
var sa = (e) => typeof e == "number", ca = (e) => e.every(sa);
|
|
2698
2701
|
//#endregion
|
|
2699
2702
|
//#region node_modules/framer-motion/dist/es/animation/utils/create-visual-element.mjs
|
|
2700
|
-
function
|
|
2703
|
+
function la(e) {
|
|
2701
2704
|
let t = {
|
|
2702
2705
|
presenceContext: null,
|
|
2703
2706
|
props: {},
|
|
@@ -2711,11 +2714,11 @@ function ca(e) {
|
|
|
2711
2714
|
},
|
|
2712
2715
|
latestValues: {}
|
|
2713
2716
|
}
|
|
2714
|
-
}, n = Tr(e) && !Er(e) ? new
|
|
2717
|
+
}, n = Tr(e) && !Er(e) ? new Wi(t) : new Mi(t);
|
|
2715
2718
|
n.mount(e), Q.set(e, n);
|
|
2716
2719
|
}
|
|
2717
|
-
function
|
|
2718
|
-
let t = new
|
|
2720
|
+
function ua(e) {
|
|
2721
|
+
let t = new Pi({
|
|
2719
2722
|
presenceContext: null,
|
|
2720
2723
|
props: {},
|
|
2721
2724
|
visualState: {
|
|
@@ -2727,17 +2730,17 @@ function la(e) {
|
|
|
2727
2730
|
}
|
|
2728
2731
|
//#endregion
|
|
2729
2732
|
//#region node_modules/framer-motion/dist/es/animation/animate/subject.mjs
|
|
2730
|
-
function
|
|
2731
|
-
return j(e) || typeof e == "number" || typeof e == "string" && !
|
|
2733
|
+
function da(e, t) {
|
|
2734
|
+
return j(e) || typeof e == "number" || typeof e == "string" && !Ki(t);
|
|
2732
2735
|
}
|
|
2733
|
-
function
|
|
2736
|
+
function fa(e, t, n, r) {
|
|
2734
2737
|
let i = [];
|
|
2735
|
-
if (
|
|
2738
|
+
if (da(e, t)) i.push(Gi(e, Ki(t) && t.default || t, n && (n.default || n)));
|
|
2736
2739
|
else {
|
|
2737
2740
|
if (e == null) return i;
|
|
2738
|
-
let a =
|
|
2741
|
+
let a = qi(e, t, r), o = a.length;
|
|
2739
2742
|
for (let e = 0; e < o; e++) {
|
|
2740
|
-
let r = a[e], s = r instanceof Element ?
|
|
2743
|
+
let r = a[e], s = r instanceof Element ? la : ua;
|
|
2741
2744
|
Q.has(r) || s(r);
|
|
2742
2745
|
let c = Q.get(r), l = { ...n };
|
|
2743
2746
|
"delay" in l && typeof l.delay == "function" && (l.delay = l.delay(e, o)), i.push(...wr(c, {
|
|
@@ -2750,9 +2753,9 @@ function da(e, t, n, r) {
|
|
|
2750
2753
|
}
|
|
2751
2754
|
//#endregion
|
|
2752
2755
|
//#region node_modules/framer-motion/dist/es/animation/animate/sequence.mjs
|
|
2753
|
-
function
|
|
2756
|
+
function pa(e, t, n) {
|
|
2754
2757
|
let r = [];
|
|
2755
|
-
return
|
|
2758
|
+
return na(e.map((e) => {
|
|
2756
2759
|
if (Array.isArray(e) && typeof e[0] == "function") {
|
|
2757
2760
|
let t = e[0], n = A(0);
|
|
2758
2761
|
return n.on("change", t), e.length === 1 ? [n, [0, 1]] : e.length === 2 ? [
|
|
@@ -2767,27 +2770,27 @@ function fa(e, t, n) {
|
|
|
2767
2770
|
}
|
|
2768
2771
|
return e;
|
|
2769
2772
|
}), t, n, { spring: K }).forEach(({ keyframes: e, transition: t }, n) => {
|
|
2770
|
-
r.push(...
|
|
2773
|
+
r.push(...fa(n, e, t));
|
|
2771
2774
|
}), r;
|
|
2772
2775
|
}
|
|
2773
2776
|
//#endregion
|
|
2774
2777
|
//#region node_modules/framer-motion/dist/es/animation/animate/index.mjs
|
|
2775
|
-
function
|
|
2778
|
+
function ma(e) {
|
|
2776
2779
|
return Array.isArray(e) && e.some(Array.isArray);
|
|
2777
2780
|
}
|
|
2778
|
-
function
|
|
2781
|
+
function ha(e = {}) {
|
|
2779
2782
|
let { scope: t, reduceMotion: r, skipAnimations: i } = e;
|
|
2780
2783
|
function a(e, a, o) {
|
|
2781
2784
|
let s = [], c, u = {};
|
|
2782
|
-
if (r !== void 0 && (u.reduceMotion = r), i !== void 0 && (u.skipAnimations = i),
|
|
2785
|
+
if (r !== void 0 && (u.reduceMotion = r), i !== void 0 && (u.skipAnimations = i), ma(e)) {
|
|
2783
2786
|
let { onComplete: n, ...r } = a || {};
|
|
2784
|
-
typeof n == "function" && (c = n), s =
|
|
2787
|
+
typeof n == "function" && (c = n), s = pa(e, {
|
|
2785
2788
|
...u,
|
|
2786
2789
|
...r
|
|
2787
2790
|
}, t);
|
|
2788
2791
|
} else {
|
|
2789
2792
|
let { onComplete: n, ...r } = o || {};
|
|
2790
|
-
typeof n == "function" && (c = n), s =
|
|
2793
|
+
typeof n == "function" && (c = n), s = fa(e, a, {
|
|
2791
2794
|
...u,
|
|
2792
2795
|
...r
|
|
2793
2796
|
}, t);
|
|
@@ -2799,6 +2802,6 @@ function ma(e = {}) {
|
|
|
2799
2802
|
}
|
|
2800
2803
|
return a;
|
|
2801
2804
|
}
|
|
2802
|
-
var
|
|
2805
|
+
var ga = ha();
|
|
2803
2806
|
//#endregion
|
|
2804
|
-
export { K as n,
|
|
2807
|
+
export { K as n, ga as t };
|