@nanoporetech-digital/components 6.1.0 → 6.2.0
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/CHANGELOG.md +13 -0
- package/dist/cjs/index-14451c95.js +6 -2
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/nano-animation.cjs.entry.js +1209 -0
- package/dist/cjs/nano-animation.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-components.cjs.js +1 -1
- package/dist/cjs/nano-global-nav-user-profile_3.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-hero.cjs.entry.js +1 -1
- package/dist/cjs/nano-hero.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-intersection-observe.cjs.entry.js +131 -0
- package/dist/cjs/nano-intersection-observe.cjs.entry.js.map +1 -0
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js +1 -1
- package/dist/cjs/nano-resize-observe_2.cjs.entry.js.map +1 -1
- package/dist/cjs/nano-sticker.cjs.entry.js +2 -27
- package/dist/cjs/nano-sticker.cjs.entry.js.map +1 -1
- package/dist/cjs/{nano-table-6f48a747.js → nano-table-06530d49.js} +5 -25
- package/dist/cjs/nano-table-06530d49.js.map +1 -0
- package/dist/cjs/nano-table.cjs.entry.js +2 -1
- package/dist/cjs/nano-table.cjs.entry.js.map +1 -1
- package/dist/cjs/scroll-parent-87393de2.js +31 -0
- package/dist/cjs/scroll-parent-87393de2.js.map +1 -0
- package/dist/cjs/{table.worker-f3e54773.js → table.worker-b4922b9b.js} +3 -2
- package/dist/cjs/table.worker-b4922b9b.js.map +1 -0
- package/dist/collection/collection-manifest.json +2 -1
- package/dist/collection/components/animation/animation.js +547 -0
- package/dist/collection/components/animation/animation.js.map +1 -0
- package/dist/collection/components/animation/animations/attention_seekers/bounce.js +43 -0
- package/dist/collection/components/animation/animations/attention_seekers/flash.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/headShake.js +8 -0
- package/dist/collection/components/animation/animations/attention_seekers/heartBeat.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/jello.js +15 -0
- package/dist/collection/components/animation/animations/attention_seekers/pulse.js +5 -0
- package/dist/collection/components/animation/animations/attention_seekers/rubberBand.js +9 -0
- package/dist/collection/components/animation/animations/attention_seekers/shake.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/shakeX.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/shakeY.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/swing.js +7 -0
- package/dist/collection/components/animation/animations/attention_seekers/tada.js +13 -0
- package/dist/collection/components/animation/animations/attention_seekers/wobble.js +18 -0
- package/dist/collection/components/animation/animations/back_entrances/backInDown.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInLeft.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInRight.js +5 -0
- package/dist/collection/components/animation/animations/back_entrances/backInUp.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutDown.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutLeft.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutRight.js +5 -0
- package/dist/collection/components/animation/animations/back_exits/backOutUp.js +5 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceIn.js +14 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInDown.js +20 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInLeft.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInRight.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_entrances/bounceInUp.js +16 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOut.js +6 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutDown.js +14 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutLeft.js +12 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutRight.js +8 -0
- package/dist/collection/components/animation/animations/bouncing_exits/bounceOutUp.js +18 -0
- package/dist/collection/components/animation/animations/easings/easings.js +35 -0
- package/dist/collection/components/animation/animations/easings/easings.js.map +1 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeIn.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInBottomRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDown.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInDownBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInLeftBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInRightBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInTopRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUp.js +4 -0
- package/dist/collection/components/animation/animations/fading_entrances/fadeInUpBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOut.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutBottomRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDown.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutDownBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutLeftBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutRightBig.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopLeft.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutTopRight.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUp.js +4 -0
- package/dist/collection/components/animation/animations/fading_exits/fadeOutUpBig.js +4 -0
- package/dist/collection/components/animation/animations/flippers/flip.js +32 -0
- package/dist/collection/components/animation/animations/flippers/flipInX.js +20 -0
- package/dist/collection/components/animation/animations/flippers/flipInY.js +20 -0
- package/dist/collection/components/animation/animations/flippers/flipOutX.js +13 -0
- package/dist/collection/components/animation/animations/flippers/flipOutY.js +13 -0
- package/dist/collection/components/animation/animations/index.js +203 -0
- package/dist/collection/components/animation/animations/index.js.map +1 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInLeft.js +10 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedInRight.js +10 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutLeft.js +8 -0
- package/dist/collection/components/animation/animations/lightspeed/lightSpeedOutRight.js +8 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateIn.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInDownRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_entrances/rotateInUpRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOut.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutDownRight.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpLeft.js +4 -0
- package/dist/collection/components/animation/animations/rotating_exits/rotateOutUpRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInDown.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInLeft.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_entrances/slideInUp.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutDown.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutLeft.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutRight.js +4 -0
- package/dist/collection/components/animation/animations/sliding_exits/slideOutUp.js +4 -0
- package/dist/collection/components/animation/animations/specials/hinge.js +18 -0
- package/dist/collection/components/animation/animations/specials/jackInTheBox.js +11 -0
- package/dist/collection/components/animation/animations/specials/rollIn.js +8 -0
- package/dist/collection/components/animation/animations/specials/rollOut.js +8 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomIn.js +4 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInDown.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInLeft.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInRight.js +14 -0
- package/dist/collection/components/animation/animations/zooming_entrances/zoomInUp.js +14 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOut.js +5 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutDown.js +14 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutLeft.js +12 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutRight.js +12 -0
- package/dist/collection/components/animation/animations/zooming_exits/zoomOutUp.js +14 -0
- package/dist/collection/components/hero/hero.css +0 -1
- package/dist/collection/components/intersection-observe/intersection-observe.js +256 -0
- package/dist/collection/components/intersection-observe/intersection-observe.js.map +1 -0
- package/dist/collection/components/resize-observe/resize-observe.js +1 -1
- package/dist/collection/components/resize-observe/resize-observe.js.map +1 -1
- package/dist/collection/components/select/select.js +5 -5
- package/dist/collection/components/select/select.js.map +1 -1
- package/dist/collection/components/sticker/sticker.js +2 -27
- package/dist/collection/components/sticker/sticker.js.map +1 -1
- package/dist/collection/components/table/table.js +2 -1
- package/dist/collection/components/table/table.js.map +1 -1
- package/dist/collection/components/table/table.utils.js +0 -21
- package/dist/collection/components/table/table.utils.js.map +1 -1
- package/dist/collection/utils/scroll-parent.js +26 -0
- package/dist/collection/utils/scroll-parent.js.map +1 -0
- package/dist/components/index.d.ts +2 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/{nano-aspect-ratio.d.ts → nano-animation.d.ts} +4 -4
- package/dist/components/nano-animation.js +1239 -0
- package/dist/components/nano-animation.js.map +1 -0
- package/dist/components/nano-hero.js +1 -1
- package/dist/components/nano-hero.js.map +1 -1
- package/dist/components/nano-intersection-observe.d.ts +11 -0
- package/dist/components/nano-intersection-observe.js +149 -0
- package/dist/components/nano-intersection-observe.js.map +1 -0
- package/dist/components/resize-observe.js +1 -1
- package/dist/components/resize-observe.js.map +1 -1
- package/dist/components/scroll-parent.js +29 -0
- package/dist/components/scroll-parent.js.map +1 -0
- package/dist/components/select.js.map +1 -1
- package/dist/components/sticker.js +2 -27
- package/dist/components/sticker.js.map +1 -1
- package/dist/components/table.js +1 -21
- package/dist/components/table.js.map +1 -1
- package/dist/esm/index-9695db0a.js +6 -2
- package/dist/esm/loader.js +1 -1
- package/dist/esm/nano-animation.entry.js +1205 -0
- package/dist/esm/nano-animation.entry.js.map +1 -0
- package/dist/esm/nano-components.js +1 -1
- package/dist/esm/nano-global-nav-user-profile_3.entry.js.map +1 -1
- package/dist/esm/nano-hero.entry.js +1 -1
- package/dist/esm/nano-hero.entry.js.map +1 -1
- package/dist/esm/nano-intersection-observe.entry.js +127 -0
- package/dist/esm/nano-intersection-observe.entry.js.map +1 -0
- package/dist/esm/nano-resize-observe_2.entry.js +1 -1
- package/dist/esm/nano-resize-observe_2.entry.js.map +1 -1
- package/dist/esm/nano-sticker.entry.js +2 -27
- package/dist/esm/nano-sticker.entry.js.map +1 -1
- package/dist/esm/{nano-table-fc01a927.js → nano-table-c85a2fd3.js} +3 -23
- package/dist/esm/nano-table-c85a2fd3.js.map +1 -0
- package/dist/esm/nano-table.entry.js +2 -1
- package/dist/esm/nano-table.entry.js.map +1 -1
- package/dist/esm/scroll-parent-bab1cbf7.js +29 -0
- package/dist/esm/scroll-parent-bab1cbf7.js.map +1 -0
- package/dist/esm/{table.worker-c70f6379.js → table.worker-761fba3e.js} +3 -2
- package/dist/esm/table.worker-761fba3e.js.map +1 -0
- package/dist/nano-components/nano-animation.entry.js +5 -0
- package/dist/nano-components/nano-animation.entry.js.map +1 -0
- package/dist/nano-components/nano-components.css +1 -1
- package/dist/nano-components/nano-components.esm.js +1 -1
- package/dist/nano-components/nano-components.esm.js.map +1 -1
- package/dist/nano-components/nano-global-nav-user-profile_3.entry.js.map +1 -1
- package/dist/nano-components/nano-hero.entry.js +1 -1
- package/dist/nano-components/nano-hero.entry.js.map +1 -1
- package/dist/nano-components/nano-intersection-observe.entry.js +5 -0
- package/dist/nano-components/nano-intersection-observe.entry.js.map +1 -0
- package/dist/nano-components/nano-resize-observe_2.entry.js +1 -1
- package/dist/nano-components/nano-resize-observe_2.entry.js.map +1 -1
- package/dist/nano-components/nano-sticker.entry.js +1 -1
- package/dist/nano-components/nano-sticker.entry.js.map +1 -1
- package/dist/nano-components/nano-table-c85a2fd3.js +5 -0
- package/dist/nano-components/nano-table-c85a2fd3.js.map +1 -0
- package/dist/nano-components/nano-table.entry.js +1 -1
- package/dist/nano-components/scroll-parent-bab1cbf7.js +5 -0
- package/dist/nano-components/scroll-parent-bab1cbf7.js.map +1 -0
- package/dist/nano-components/table.worker-761fba3e.js +5 -0
- package/dist/types/components/animation/animation.d.ts +74 -0
- package/dist/types/components/animation/animations/easings/easings.d.ts +31 -0
- package/dist/types/components/animation/animations/index.d.ts +101 -0
- package/dist/types/components/intersection-observe/intersection-observe.d.ts +45 -0
- package/dist/types/components/select/select.d.ts +2 -4
- package/dist/types/components/sticker/sticker.d.ts +0 -5
- package/dist/types/components/table/table.utils.d.ts +0 -6
- package/dist/types/components.d.ts +209 -42
- package/dist/types/interface.d.ts +6 -2
- package/dist/types/utils/scroll-parent.d.ts +6 -0
- package/docs-json.json +945 -31
- package/docs-vscode.json +488 -8
- package/hydrate/index.js +1393 -113
- package/package.json +2 -2
- package/dist/cjs/nano-aspect-ratio.cjs.entry.js +0 -53
- package/dist/cjs/nano-aspect-ratio.cjs.entry.js.map +0 -1
- package/dist/cjs/nano-table-6f48a747.js.map +0 -1
- package/dist/cjs/table.worker-f3e54773.js.map +0 -1
- package/dist/collection/components/aspect-ratio/aspect-ratio.css +0 -38
- package/dist/collection/components/aspect-ratio/aspect-ratio.js +0 -106
- package/dist/collection/components/aspect-ratio/aspect-ratio.js.map +0 -1
- package/dist/components/nano-aspect-ratio.js +0 -70
- package/dist/components/nano-aspect-ratio.js.map +0 -1
- package/dist/esm/nano-aspect-ratio.entry.js +0 -49
- package/dist/esm/nano-aspect-ratio.entry.js.map +0 -1
- package/dist/esm/nano-table-fc01a927.js.map +0 -1
- package/dist/esm/table.worker-c70f6379.js.map +0 -1
- package/dist/nano-components/nano-aspect-ratio.entry.js +0 -5
- package/dist/nano-components/nano-aspect-ratio.entry.js.map +0 -1
- package/dist/nano-components/nano-table-fc01a927.js +0 -5
- package/dist/nano-components/nano-table-fc01a927.js.map +0 -1
- package/dist/nano-components/table.worker-c70f6379.js +0 -5
- package/dist/types/components/aspect-ratio/aspect-ratio.d.ts +0 -19
- /package/dist/nano-components/{table.worker-c70f6379.js.map → table.worker-761fba3e.js.map} +0 -0
package/hydrate/index.js
CHANGED
@@ -10514,64 +10514,6 @@ Wormhole(AlgoliaResults, [
|
|
10514
10514
|
'isLoading',
|
10515
10515
|
]);
|
10516
10516
|
|
10517
|
-
const aspectRatioCss = "/*!@:host*/.sc-nano-aspect-ratio-h{box-sizing:border-box}/*!@*,\n*::before,\n*::after*/*.sc-nano-aspect-ratio,*.sc-nano-aspect-ratio::before,*.sc-nano-aspect-ratio::after{box-sizing:border-box}/*!@[hidden]*/[hidden].sc-nano-aspect-ratio{display:none !important}/*!@:host*/.sc-nano-aspect-ratio-h{display:block}/*!@.aspect-ratio*/.aspect-ratio.sc-nano-aspect-ratio{position:relative}/*!@.aspect-ratio ::slotted(*)*/.aspect-ratio .sc-nano-aspect-ratio-s>*{position:absolute !important;inset-block-start:0 !important;inset-inline-start:0 !important;inline-size:100% !important;block-size:100% !important}/*!@.aspect-ratio--cover ::slotted(embed),\n.aspect-ratio--cover ::slotted(iframe),\n.aspect-ratio--cover ::slotted(img),\n.aspect-ratio--cover ::slotted(video)*/.aspect-ratio--cover .sc-nano-aspect-ratio-s>embed,.aspect-ratio--cover .sc-nano-aspect-ratio-s>iframe,.aspect-ratio--cover .sc-nano-aspect-ratio-s>img,.aspect-ratio--cover .sc-nano-aspect-ratio-s>video{object-fit:cover !important}/*!@.aspect-ratio--contain ::slotted(embed),\n.aspect-ratio--contain ::slotted(iframe),\n.aspect-ratio--contain ::slotted(img),\n.aspect-ratio--contain ::slotted(video)*/.aspect-ratio--contain .sc-nano-aspect-ratio-s>embed,.aspect-ratio--contain .sc-nano-aspect-ratio-s>iframe,.aspect-ratio--contain .sc-nano-aspect-ratio-s>img,.aspect-ratio--contain .sc-nano-aspect-ratio-s>video{object-fit:contain !important}";
|
10518
|
-
|
10519
|
-
/**
|
10520
|
-
* Displays media in the desired aspect ratio.
|
10521
|
-
* You can slot in any replaced element, including `<iframe>`, `<img>`, and `<video>`.
|
10522
|
-
* As the element's width changes, its height will resize proportionally. Only one element should be slotted into the container.
|
10523
|
-
* The default aspect ratio is 16:9.
|
10524
|
-
*/
|
10525
|
-
class AspectRatio {
|
10526
|
-
constructor(hostRef) {
|
10527
|
-
registerInstance(this, hostRef);
|
10528
|
-
this.handleSlotChange = () => {
|
10529
|
-
this.setAspectRatio();
|
10530
|
-
};
|
10531
|
-
this.aspectRatio = '16:9';
|
10532
|
-
this.fit = 'cover';
|
10533
|
-
}
|
10534
|
-
handleAspectRatioChange() {
|
10535
|
-
this.setAspectRatio();
|
10536
|
-
}
|
10537
|
-
setAspectRatio() {
|
10538
|
-
if (typeof this.aspectRatio !== 'string') {
|
10539
|
-
console.warn('aspectRatio should be a string.');
|
10540
|
-
return;
|
10541
|
-
}
|
10542
|
-
else if (!this.aspectRatio.match(/^([0-9]+:[0-9]+)$/)) {
|
10543
|
-
console.warn('aspectRatio is an incorrect format. Should be e.g. "16:9"');
|
10544
|
-
return;
|
10545
|
-
}
|
10546
|
-
const split = this.aspectRatio.split(':');
|
10547
|
-
const x = parseInt(split[0]);
|
10548
|
-
const y = parseInt(split[1]);
|
10549
|
-
this.base.style.paddingBottom = x && y ? `${(y / x) * 100}%` : null;
|
10550
|
-
}
|
10551
|
-
render() {
|
10552
|
-
return (hAsync("div", { ref: (el) => (this.base = el), part: "base", class: {
|
10553
|
-
'aspect-ratio': true,
|
10554
|
-
'aspect-ratio--cover': this.fit === 'cover',
|
10555
|
-
'aspect-ratio--contain': this.fit === 'contain',
|
10556
|
-
} }, hAsync("slot", { onSlotchange: this.handleSlotChange })));
|
10557
|
-
}
|
10558
|
-
static get watchers() { return {
|
10559
|
-
"aspectRatio": ["handleAspectRatioChange"]
|
10560
|
-
}; }
|
10561
|
-
static get style() { return aspectRatioCss; }
|
10562
|
-
static get cmpMeta() { return {
|
10563
|
-
"$flags$": 9,
|
10564
|
-
"$tagName$": "nano-aspect-ratio",
|
10565
|
-
"$members$": {
|
10566
|
-
"aspectRatio": [1, "aspect-ratio"],
|
10567
|
-
"fit": [1]
|
10568
|
-
},
|
10569
|
-
"$listeners$": undefined,
|
10570
|
-
"$lazyBundleId$": "-",
|
10571
|
-
"$attrsToReflect$": []
|
10572
|
-
}; }
|
10573
|
-
}
|
10574
|
-
|
10575
10517
|
//
|
10576
10518
|
// Simulates :focus-visible behavior on an element by watching for certain keyboard and mouse heuristics and toggling a
|
10577
10519
|
// `focus-visible` class. Works at the component level so no global polyfill is necessary.
|
@@ -14791,7 +14733,7 @@ function getExpandedFallbackPlacements(placement) {
|
|
14791
14733
|
return [getOppositeVariationPlacement(placement), oppositePlacement, getOppositeVariationPlacement(oppositePlacement)];
|
14792
14734
|
}
|
14793
14735
|
|
14794
|
-
function flip(_ref) {
|
14736
|
+
function flip$1(_ref) {
|
14795
14737
|
var state = _ref.state,
|
14796
14738
|
options = _ref.options,
|
14797
14739
|
name = _ref.name;
|
@@ -14911,11 +14853,11 @@ function flip(_ref) {
|
|
14911
14853
|
} // eslint-disable-next-line import/no-unused-modules
|
14912
14854
|
|
14913
14855
|
|
14914
|
-
var flip$
|
14856
|
+
var flip$2 = {
|
14915
14857
|
name: 'flip',
|
14916
14858
|
enabled: true,
|
14917
14859
|
phase: 'main',
|
14918
|
-
fn: flip,
|
14860
|
+
fn: flip$1,
|
14919
14861
|
requiresIfExists: ['offset'],
|
14920
14862
|
data: {
|
14921
14863
|
_skip: false
|
@@ -15519,7 +15461,7 @@ function popperGenerator(generatorOptions) {
|
|
15519
15461
|
};
|
15520
15462
|
}
|
15521
15463
|
|
15522
|
-
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$
|
15464
|
+
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$2, preventOverflow$1, arrow$1, hide$1];
|
15523
15465
|
var createPopper = /*#__PURE__*/popperGenerator({
|
15524
15466
|
defaultModifiers: defaultModifiers
|
15525
15467
|
}); // eslint-disable-next-line import/no-unused-modules
|
@@ -19438,7 +19380,7 @@ class GridItem {
|
|
19438
19380
|
}; }
|
19439
19381
|
}
|
19440
19382
|
|
19441
|
-
const heroCss = "/*!@:host*/.sc-nano-hero-h {\n box-sizing: border-box;\n}\n\n/*!@*,\n*::before,\n*::after*/*.sc-nano-hero, *.sc-nano-hero::before, *.sc-nano-hero::after {\n box-sizing: border-box;\n}\n/*!@[hidden]*/[hidden].sc-nano-hero {\n display: none !important;\n}\n\n/*!@:host*/.sc-nano-hero-h {\n \n --nano-loader-base: #4a4a4a;\n --nano-loader-tint: #7d7d7d;\n --theme-color: #fff;\n --theme-tint-color: #90c6e7;\n --scrim-color: 0 0 0;\n --scrim-direction: 90deg;\n --scrim-opacity-from: 0.25;\n --scrim-opacity-to: 0.7;\n --padding: 0;\n --quote-size: 1.3rem;\n color: var(--theme-color);\n display: block;\n container-type: inline-size;\n}\n\n/*!@:host([theme=light])*/[theme=light].sc-nano-hero-h {\n --nano-loader-base: #fff;\n --nano-loader-tint: white;\n --theme-color: #4a4a4a;\n --scrim-color: 255 255 255;\n --scrim-opacity-from: 0.25;\n --scrim-opacity-to: 1;\n --scrim-direction: 270deg;\n color: var(--theme-color);\n}\n/*!@:host([theme=light]) .hero__primary-content*/[theme=light].sc-nano-hero-h .hero__primary-content.sc-nano-hero {\n --color: #4a4a4a;\n}\n\n/*!@.hero*/.hero.sc-nano-hero {\n position: relative;\n}\n@container (min-width: 800px) {\n .hero {\n --quote-size: 3rem;\n }\n}\n/*!@.hero--rtl*/.hero--rtl.sc-nano-hero {\n --scrim-direction: 270deg;\n}\n/*!@.hero--secondary:not(.hero--iconbox)*/.hero--secondary.sc-nano-hero:not(.hero--iconbox) {\n --scrim-direction: 0deg;\n}\n/*!@.hero__bg-wrap*/.hero__bg-wrap.sc-nano-hero {\n overflow: hidden;\n}\n/*!@.hero__bg-slot*/.hero__bg-slot.sc-nano-hero {\n position: absolute;\n inset: 0;\n}\n/*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n display: flex;\n justify-content: flex-end;\n padding-block: 32px 0;\n padding-inline: 32px;\n margin-block-end: -64px;\n position: relative;\n z-index: 1;\n}\n@media (max-width: 52em) {\n /*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n display: none;\n }\n}\n@media (max-width: 58em) {\n /*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n margin-block-end: -48px;\n }\n}\n/*!@.hero__ctas ::slotted(a.button[slot=secondary-ctas])*/.hero__ctas .sc-nano-hero-s > a.button[slot=secondary-ctas] {\n padding-block: 0.25rem !important;\n padding-inline: 0.5rem !important;\n font-size: 0.875rem !important;\n margin-block: 0 !important;\n margin-inline: 0.25rem !important;\n}\n/*!@.hero__img*/.hero__img.sc-nano-hero {\n display: block;\n --padding: inherit;\n}\n/*!@.hero__breadcrumbs*/.hero__breadcrumbs.sc-nano-hero {\n display: none;\n margin-block: 20px 0;\n margin-inline: 14px;\n line-height: 14px;\n}\n/*!@.hero--breadcrumb .hero__breadcrumbs*/.hero--breadcrumb.sc-nano-hero .hero__breadcrumbs.sc-nano-hero {\n display: block;\n}\n@container (min-width: 800px) {\n .hero__breadcrumbs {\n margin-block: 0;\n margin-inline: 50px;\n max-inline-size: 50%;\n }\n}\n@container (min-width: 900px) {\n .hero__breadcrumbs {\n margin-block: 0;\n margin-inline: 83px;\n }\n}\n/*!@.hero__breadcrumbs ::slotted(*[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > *[slot=breadcrumb] {\n font-size: 0.85rem;\n text-transform: uppercase;\n letter-spacing: 1.5px;\n font-weight: 600;\n font-stretch: 125%;\n display: inline-block;\n margin-block-end: 16px;\n position: relative;\n z-index: 2;\n}\n/*!@.hero--hasbg .hero__breadcrumbs ::slotted(*[slot=breadcrumb])*/.hero--hasbg .hero__breadcrumbs .sc-nano-hero-s > *[slot=breadcrumb] {\n text-shadow: 1px 1px rgba(0, 0, 0, 0.15);\n}\n/*!@.hero__breadcrumbs ::slotted(a[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > a[slot=breadcrumb] {\n color: var(--theme-tint-color) !important;\n cursor: pointer;\n}\n/*!@.hero__breadcrumbs ::slotted(.slash[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > .slash[slot=breadcrumb] {\n color: var(--theme-color);\n position: relative;\n margin-block: 0;\n margin-inline: 0.5rem;\n display: inline-block;\n}\n/*!@.hero__scrim*/.hero__scrim.sc-nano-hero {\n position: absolute;\n inset: 0;\n z-index: 0;\n background: linear-gradient(var(--scrim-direction), rgb(var(--scrim-color)/var(--scrim-opacity-from)) 0%, rgb(var(--scrim-color)/var(--scrim-opacity-to)) 100%);\n}\n/*!@.hero--scrim .hero__scrim*/.hero--scrim.sc-nano-hero .hero__scrim.sc-nano-hero {\n background: none;\n}\n/*!@.hero__content*/.hero__content.sc-nano-hero {\n max-inline-size: 1440px;\n display: block;\n --grid-row-gap: 0;\n margin-block: 0;\n margin-inline: auto;\n position: relative;\n}\n@container (min-width: 800px) {\n .hero__content {\n margin-block: 50px 0 !important;\n max-inline-size: 1540px !important;\n }\n}\n@container (min-width: 900px) {\n .hero__content {\n margin-block: 83px 0 !important;\n max-inline-size: 1606px !important;\n }\n}\n/*!@.hero__primary*/.hero__primary.sc-nano-hero {\n margin: 16px;\n}\n/*!@.hero--breadcrumb .hero__primary*/.hero--breadcrumb.sc-nano-hero .hero__primary.sc-nano-hero {\n margin-block: 0;\n margin-inline: 16px;\n}\n/*!@.hero--backbtn .hero__primary*/.hero--backbtn.sc-nano-hero .hero__primary.sc-nano-hero {\n margin-inline-start: 0;\n}\n/*!@.hero__primary ::slotted(nano-icon-button[slot=back-btn])*/.hero__primary .sc-nano-hero-s > nano-icon-button[slot=back-btn] {\n font-size: 2rem;\n}\n@container (min-width: 800px) {\n .hero__primary {\n margin-block: 0 50px !important;\n margin-inline: 50px 0 !important;\n }\n .hero__primary.sc-nano-hero-s > nano-icon-button[slot=back-btn], \n .hero__primary .sc-nano-hero-s > nano-icon-button[slot=back-btn] {\n margin-block: 0 !important;\n margin-inline: -3rem 0 !important;\n }\n}\n@container (min-width: 900px) {\n .hero__primary {\n margin-block: 0 83px !important;\n margin-inline: 83px 0 !important;\n }\n}\n/*!@.hero__primary-content*/.hero__primary-content.sc-nano-hero {\n max-inline-size: 45rem;\n --color: #fff;\n display: flex;\n}\n/*!@.hero--backbtn .hero__primary-content > div*/.hero--backbtn.sc-nano-hero .hero__primary-content.sc-nano-hero > div.sc-nano-hero {\n padding-block: 10px 0;\n padding-inline: 0;\n}\n/*!@.hero__primary-content ::slotted(h1[slot=primary-content])*/.hero__primary-content .sc-nano-hero-s > h1[slot=primary-content] {\n line-height: 26px !important;\n margin-block: 0 18px !important;\n font-size: 2rem !important;\n}\n@container (min-width: 800px) {\n .hero__primary-content.sc-nano-hero-s > h1[slot=primary-content], \n@container (min-width: 800px) {\n .hero__primary-content .sc-nano-hero-s > h1[slot=primary-content] {\n line-height: 31px !important;\n margin-block-end: 30px !important;\n }\n .hero__primary-content.sc-nano-hero-s > .button[slot=primary-content], \n .hero__primary-content .sc-nano-hero-s > .button[slot=primary-content] {\n margin-block-start: 20px !important;\n }\n}\n/*!@.hero__secondary*/.hero__secondary.sc-nano-hero {\n display: none;\n block-size: 100%;\n padding-block: 0 20px;\n padding-inline: 14px;\n}\n/*!@.hero--secondary .hero__secondary*/.hero--secondary.sc-nano-hero .hero__secondary.sc-nano-hero {\n display: flex;\n align-items: center;\n}\n@container (min-width: 800px) {\n .hero__secondary {\n padding-block: 0 50px;\n padding-inline: 50px;\n justify-content: flex-end;\n }\n}\n@container (min-width: 900px) {\n .hero__secondary {\n padding-block: 0 83px;\n padding-inline: 83px;\n }\n}\n/*!@.hero__icon-box*/.hero__icon-box.sc-nano-hero {\n background: rgba(0, 0, 0, 0.7);\n padding: 24px;\n inline-size: 100%;\n margin-block-end: auto;\n display: flex;\n flex-direction: column;\n color: white;\n}\n@container (min-width: 800px) {\n .hero__icon-box {\n max-inline-size: 410px;\n flex: 0 1 410px;\n }\n}\n/*!@.hero__icon-box ::slotted([slot=icon-box-item])*/.hero__icon-box .sc-nano-hero-s > [slot=icon-box-item] {\n --nano-color-base: var(--theme-tint-color);\n --nano-icon-size: 32px;\n --nano-icon-margin-end: 20px;\n display: flex;\n align-items: center;\n font-size: 0.8125rem;\n margin-block-end: 20px;\n}\n/*!@.hero__icon-box ::slotted(.last[slot=icon-box-item])*/.hero__icon-box .sc-nano-hero-s > .last[slot=icon-box-item] {\n margin-block-end: 0;\n}\n/*!@.hero__quote-content*/.hero__quote-content.sc-nano-hero {\n margin-block-start: auto;\n text-align: center;\n inline-size: 100%;\n}\n@container (min-width: 800px) {\n .hero__quote-content {\n max-inline-size: 500px;\n flex: 0 1 500px;\n text-align: initial;\n }\n}\n/*!@.hero__quote::before, .hero__quote::after*/.hero__quote.sc-nano-hero::before, .hero__quote.sc-nano-hero::after {\n content: '\"';\n font-size: var(--quote-size);\n font-weight: 700;\n font-style: italic;\n line-height: 0;\n color: #abb6b8;\n display: inline;\n position: relative;\n}\n/*!@.hero__quote ::slotted([slot=quote])*/.hero__quote .sc-nano-hero-s > [slot=quote] {\n font-size: var(--quote-size);\n font-weight: 300;\n font-style: italic;\n display: inline;\n}\n/*!@.hero__quote-author*/.hero__quote-author.sc-nano-hero {\n text-align: end;\n font-size: 1rem;\n opacity: 0.8;\n}\n@container (min-width: 800px) {\n .hero--sub .hero__content {\n margin-block-start: 40px;\n }\n .hero--sub .hero__content .hero__primary {\n margin-block: 0 40px;\n margin-inline: 50px 0;\n }\n .hero--sub .hero__content .hero__secondary {\n padding-block: 0 50px;\n padding-inline: 40px 50px;\n }\n .hero--sub .hero__content.sc-nano-hero-s > .button[slot=primary-content], \n .hero--sub .hero__content .sc-nano-hero-s > .button[slot=primary-content] {\n margin-block-start: 8px !important;\n }\n .hero--sub .hero__content.sc-nano-hero-s > h1[slot=primary-content], \n .hero--sub .hero__content .sc-nano-hero-s > h1[slot=primary-content] {\n margin-block-end: 18px !important;\n }\n}\n@container (min-width: 900px) {\n .hero--sub .hero__content .hero__primary {\n margin-block: 0 40px;\n margin-inline: 83px 0;\n }\n .hero--sub .hero__content .hero__secondary {\n padding-block: 0 83px;\n padding-inline: 40px 83px;\n }\n}";
|
19383
|
+
const heroCss = "/*!@:host*/.sc-nano-hero-h {\n box-sizing: border-box;\n}\n\n/*!@*,\n*::before,\n*::after*/*.sc-nano-hero, *.sc-nano-hero::before, *.sc-nano-hero::after {\n box-sizing: border-box;\n}\n/*!@[hidden]*/[hidden].sc-nano-hero {\n display: none !important;\n}\n\n/*!@:host*/.sc-nano-hero-h {\n \n --nano-loader-base: #4a4a4a;\n --nano-loader-tint: #7d7d7d;\n --theme-color: #fff;\n --theme-tint-color: #90c6e7;\n --scrim-color: 0 0 0;\n --scrim-direction: 90deg;\n --scrim-opacity-from: 0.25;\n --scrim-opacity-to: 0.7;\n --padding: 0;\n --quote-size: 1.3rem;\n color: var(--theme-color);\n display: block;\n container-type: inline-size;\n}\n\n/*!@:host([theme=light])*/[theme=light].sc-nano-hero-h {\n --nano-loader-base: #fff;\n --nano-loader-tint: white;\n --theme-color: #4a4a4a;\n --scrim-color: 255 255 255;\n --scrim-opacity-from: 0.25;\n --scrim-opacity-to: 1;\n --scrim-direction: 270deg;\n color: var(--theme-color);\n}\n/*!@:host([theme=light]) .hero__primary-content*/[theme=light].sc-nano-hero-h .hero__primary-content.sc-nano-hero {\n --color: #4a4a4a;\n}\n\n/*!@.hero*/.hero.sc-nano-hero {\n position: relative;\n}\n@container (min-width: 800px) {\n .hero {\n --quote-size: 3rem;\n }\n}\n/*!@.hero--rtl*/.hero--rtl.sc-nano-hero {\n --scrim-direction: 270deg;\n}\n/*!@.hero--secondary:not(.hero--iconbox)*/.hero--secondary.sc-nano-hero:not(.hero--iconbox) {\n --scrim-direction: 0deg;\n}\n/*!@.hero__bg-wrap*/.hero__bg-wrap.sc-nano-hero {\n overflow: hidden;\n}\n/*!@.hero__bg-slot*/.hero__bg-slot.sc-nano-hero {\n position: absolute;\n inset: 0;\n}\n/*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n display: flex;\n justify-content: flex-end;\n padding-block: 32px 0;\n padding-inline: 32px;\n margin-block-end: -64px;\n position: relative;\n z-index: 1;\n}\n@media (max-width: 52em) {\n /*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n display: none;\n }\n}\n@media (max-width: 58em) {\n /*!@.hero__ctas*/.hero__ctas.sc-nano-hero {\n margin-block-end: -48px;\n }\n}\n/*!@.hero__ctas ::slotted(a.button[slot=secondary-ctas])*/.hero__ctas .sc-nano-hero-s > a.button[slot=secondary-ctas] {\n padding-inline: 0.5rem !important;\n font-size: 0.875rem !important;\n margin-block: 0 !important;\n margin-inline: 0.25rem !important;\n}\n/*!@.hero__img*/.hero__img.sc-nano-hero {\n display: block;\n --padding: inherit;\n}\n/*!@.hero__breadcrumbs*/.hero__breadcrumbs.sc-nano-hero {\n display: none;\n margin-block: 20px 0;\n margin-inline: 14px;\n line-height: 14px;\n}\n/*!@.hero--breadcrumb .hero__breadcrumbs*/.hero--breadcrumb.sc-nano-hero .hero__breadcrumbs.sc-nano-hero {\n display: block;\n}\n@container (min-width: 800px) {\n .hero__breadcrumbs {\n margin-block: 0;\n margin-inline: 50px;\n max-inline-size: 50%;\n }\n}\n@container (min-width: 900px) {\n .hero__breadcrumbs {\n margin-block: 0;\n margin-inline: 83px;\n }\n}\n/*!@.hero__breadcrumbs ::slotted(*[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > *[slot=breadcrumb] {\n font-size: 0.85rem;\n text-transform: uppercase;\n letter-spacing: 1.5px;\n font-weight: 600;\n font-stretch: 125%;\n display: inline-block;\n margin-block-end: 16px;\n position: relative;\n z-index: 2;\n}\n/*!@.hero--hasbg .hero__breadcrumbs ::slotted(*[slot=breadcrumb])*/.hero--hasbg .hero__breadcrumbs .sc-nano-hero-s > *[slot=breadcrumb] {\n text-shadow: 1px 1px rgba(0, 0, 0, 0.15);\n}\n/*!@.hero__breadcrumbs ::slotted(a[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > a[slot=breadcrumb] {\n color: var(--theme-tint-color) !important;\n cursor: pointer;\n}\n/*!@.hero__breadcrumbs ::slotted(.slash[slot=breadcrumb])*/.hero__breadcrumbs .sc-nano-hero-s > .slash[slot=breadcrumb] {\n color: var(--theme-color);\n position: relative;\n margin-block: 0;\n margin-inline: 0.5rem;\n display: inline-block;\n}\n/*!@.hero__scrim*/.hero__scrim.sc-nano-hero {\n position: absolute;\n inset: 0;\n z-index: 0;\n background: linear-gradient(var(--scrim-direction), rgb(var(--scrim-color)/var(--scrim-opacity-from)) 0%, rgb(var(--scrim-color)/var(--scrim-opacity-to)) 100%);\n}\n/*!@.hero--scrim .hero__scrim*/.hero--scrim.sc-nano-hero .hero__scrim.sc-nano-hero {\n background: none;\n}\n/*!@.hero__content*/.hero__content.sc-nano-hero {\n max-inline-size: 1440px;\n display: block;\n --grid-row-gap: 0;\n margin-block: 0;\n margin-inline: auto;\n position: relative;\n}\n@container (min-width: 800px) {\n .hero__content {\n margin-block: 50px 0 !important;\n max-inline-size: 1540px !important;\n }\n}\n@container (min-width: 900px) {\n .hero__content {\n margin-block: 83px 0 !important;\n max-inline-size: 1606px !important;\n }\n}\n/*!@.hero__primary*/.hero__primary.sc-nano-hero {\n margin: 16px;\n}\n/*!@.hero--breadcrumb .hero__primary*/.hero--breadcrumb.sc-nano-hero .hero__primary.sc-nano-hero {\n margin-block: 0;\n margin-inline: 16px;\n}\n/*!@.hero--backbtn .hero__primary*/.hero--backbtn.sc-nano-hero .hero__primary.sc-nano-hero {\n margin-inline-start: 0;\n}\n/*!@.hero__primary ::slotted(nano-icon-button[slot=back-btn])*/.hero__primary .sc-nano-hero-s > nano-icon-button[slot=back-btn] {\n font-size: 2rem;\n}\n@container (min-width: 800px) {\n .hero__primary {\n margin-block: 0 50px !important;\n margin-inline: 50px 0 !important;\n }\n .hero__primary.sc-nano-hero-s > nano-icon-button[slot=back-btn], \n .hero__primary .sc-nano-hero-s > nano-icon-button[slot=back-btn] {\n margin-block: 0 !important;\n margin-inline: -3rem 0 !important;\n }\n}\n@container (min-width: 900px) {\n .hero__primary {\n margin-block: 0 83px !important;\n margin-inline: 83px 0 !important;\n }\n}\n/*!@.hero__primary-content*/.hero__primary-content.sc-nano-hero {\n max-inline-size: 45rem;\n --color: #fff;\n display: flex;\n}\n/*!@.hero--backbtn .hero__primary-content > div*/.hero--backbtn.sc-nano-hero .hero__primary-content.sc-nano-hero > div.sc-nano-hero {\n padding-block: 10px 0;\n padding-inline: 0;\n}\n/*!@.hero__primary-content ::slotted(h1[slot=primary-content])*/.hero__primary-content .sc-nano-hero-s > h1[slot=primary-content] {\n line-height: 26px !important;\n margin-block: 0 18px !important;\n font-size: 2rem !important;\n}\n@container (min-width: 800px) {\n .hero__primary-content.sc-nano-hero-s > h1[slot=primary-content], \n@container (min-width: 800px) {\n .hero__primary-content .sc-nano-hero-s > h1[slot=primary-content] {\n line-height: 31px !important;\n margin-block-end: 30px !important;\n }\n .hero__primary-content.sc-nano-hero-s > .button[slot=primary-content], \n .hero__primary-content .sc-nano-hero-s > .button[slot=primary-content] {\n margin-block-start: 20px !important;\n }\n}\n/*!@.hero__secondary*/.hero__secondary.sc-nano-hero {\n display: none;\n block-size: 100%;\n padding-block: 0 20px;\n padding-inline: 14px;\n}\n/*!@.hero--secondary .hero__secondary*/.hero--secondary.sc-nano-hero .hero__secondary.sc-nano-hero {\n display: flex;\n align-items: center;\n}\n@container (min-width: 800px) {\n .hero__secondary {\n padding-block: 0 50px;\n padding-inline: 50px;\n justify-content: flex-end;\n }\n}\n@container (min-width: 900px) {\n .hero__secondary {\n padding-block: 0 83px;\n padding-inline: 83px;\n }\n}\n/*!@.hero__icon-box*/.hero__icon-box.sc-nano-hero {\n background: rgba(0, 0, 0, 0.7);\n padding: 24px;\n inline-size: 100%;\n margin-block-end: auto;\n display: flex;\n flex-direction: column;\n color: white;\n}\n@container (min-width: 800px) {\n .hero__icon-box {\n max-inline-size: 410px;\n flex: 0 1 410px;\n }\n}\n/*!@.hero__icon-box ::slotted([slot=icon-box-item])*/.hero__icon-box .sc-nano-hero-s > [slot=icon-box-item] {\n --nano-color-base: var(--theme-tint-color);\n --nano-icon-size: 32px;\n --nano-icon-margin-end: 20px;\n display: flex;\n align-items: center;\n font-size: 0.8125rem;\n margin-block-end: 20px;\n}\n/*!@.hero__icon-box ::slotted(.last[slot=icon-box-item])*/.hero__icon-box .sc-nano-hero-s > .last[slot=icon-box-item] {\n margin-block-end: 0;\n}\n/*!@.hero__quote-content*/.hero__quote-content.sc-nano-hero {\n margin-block-start: auto;\n text-align: center;\n inline-size: 100%;\n}\n@container (min-width: 800px) {\n .hero__quote-content {\n max-inline-size: 500px;\n flex: 0 1 500px;\n text-align: initial;\n }\n}\n/*!@.hero__quote::before, .hero__quote::after*/.hero__quote.sc-nano-hero::before, .hero__quote.sc-nano-hero::after {\n content: '\"';\n font-size: var(--quote-size);\n font-weight: 700;\n font-style: italic;\n line-height: 0;\n color: #abb6b8;\n display: inline;\n position: relative;\n}\n/*!@.hero__quote ::slotted([slot=quote])*/.hero__quote .sc-nano-hero-s > [slot=quote] {\n font-size: var(--quote-size);\n font-weight: 300;\n font-style: italic;\n display: inline;\n}\n/*!@.hero__quote-author*/.hero__quote-author.sc-nano-hero {\n text-align: end;\n font-size: 1rem;\n opacity: 0.8;\n}\n@container (min-width: 800px) {\n .hero--sub .hero__content {\n margin-block-start: 40px;\n }\n .hero--sub .hero__content .hero__primary {\n margin-block: 0 40px;\n margin-inline: 50px 0;\n }\n .hero--sub .hero__content .hero__secondary {\n padding-block: 0 50px;\n padding-inline: 40px 50px;\n }\n .hero--sub .hero__content.sc-nano-hero-s > .button[slot=primary-content], \n .hero--sub .hero__content .sc-nano-hero-s > .button[slot=primary-content] {\n margin-block-start: 8px !important;\n }\n .hero--sub .hero__content.sc-nano-hero-s > h1[slot=primary-content], \n .hero--sub .hero__content .sc-nano-hero-s > h1[slot=primary-content] {\n margin-block-end: 18px !important;\n }\n}\n@container (min-width: 900px) {\n .hero--sub .hero__content .hero__primary {\n margin-block: 0 40px;\n margin-inline: 83px 0;\n }\n .hero--sub .hero__content .hero__secondary {\n padding-block: 0 83px;\n padding-inline: 40px 83px;\n }\n}";
|
19442
19384
|
|
19443
19385
|
/**
|
19444
19386
|
* Hero components are designed to be used once per content page to add visual impact to the introductory section of a page.
|
@@ -20516,6 +20458,163 @@ class Input {
|
|
20516
20458
|
}; }
|
20517
20459
|
}
|
20518
20460
|
|
20461
|
+
/**
|
20462
|
+
* Attempts to find the closest scrolling parental element
|
20463
|
+
* @param element - the element from which to traverse up the DOM
|
20464
|
+
* @returns - the closest scrolling parental element
|
20465
|
+
*/
|
20466
|
+
function findScrollParent(element) {
|
20467
|
+
let style = getComputedStyle(element);
|
20468
|
+
const excludeStaticParent = style.position === 'absolute';
|
20469
|
+
const overflowRegex = /(auto|scroll)/;
|
20470
|
+
if (style.position === 'fixed')
|
20471
|
+
return document.documentElement;
|
20472
|
+
for (let parent = element; (parent = parent.parentElement);) {
|
20473
|
+
style = getComputedStyle(parent);
|
20474
|
+
if (excludeStaticParent && style.position === 'static') {
|
20475
|
+
continue;
|
20476
|
+
}
|
20477
|
+
if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX)) {
|
20478
|
+
return parent;
|
20479
|
+
}
|
20480
|
+
}
|
20481
|
+
return document.documentElement;
|
20482
|
+
}
|
20483
|
+
|
20484
|
+
/**
|
20485
|
+
* A thin, declarative interface to the IntersectionObserver API.
|
20486
|
+
* @slot - Main slot for any content.
|
20487
|
+
*/
|
20488
|
+
class IntersectionObserve {
|
20489
|
+
constructor(hostRef) {
|
20490
|
+
registerInstance(this, hostRef);
|
20491
|
+
this.nanoIntersectionChange = createEvent(this, "nanoIntersectionChange", 7);
|
20492
|
+
this.nanoIntersecting = createEvent(this, "nanoIntersecting", 7);
|
20493
|
+
this.nanoNotIntersecting = createEvent(this, "nanoNotIntersecting", 7);
|
20494
|
+
this.ioCallback = (entries) => {
|
20495
|
+
entries.forEach((entry) => {
|
20496
|
+
this.nanoIntersectionChange.emit(entry);
|
20497
|
+
if (entry.isIntersecting)
|
20498
|
+
this.nanoIntersecting.emit(entry);
|
20499
|
+
if (!entry.isIntersecting)
|
20500
|
+
this.nanoNotIntersecting.emit(entry);
|
20501
|
+
});
|
20502
|
+
};
|
20503
|
+
this.handleSlotChange = () => {
|
20504
|
+
this.addIO();
|
20505
|
+
};
|
20506
|
+
this.root = 'auto';
|
20507
|
+
this.rootMargin = undefined;
|
20508
|
+
this.threshold = undefined;
|
20509
|
+
}
|
20510
|
+
get observerOptions() {
|
20511
|
+
const opts = {};
|
20512
|
+
if (!!this._root)
|
20513
|
+
opts.root = this._root;
|
20514
|
+
if (this.rootMargin)
|
20515
|
+
opts.rootMargin = this.rootMargin;
|
20516
|
+
if (this.threshold)
|
20517
|
+
opts.threshold = this._threshold;
|
20518
|
+
return opts;
|
20519
|
+
}
|
20520
|
+
get elements() {
|
20521
|
+
const slotted = this.defaultSlot?.assignedElements() || [];
|
20522
|
+
return slotted.flatMap((el) => {
|
20523
|
+
const style = getComputedStyle(el);
|
20524
|
+
if (style.display.includes('contents'))
|
20525
|
+
return Array.from(el.children);
|
20526
|
+
else
|
20527
|
+
return el;
|
20528
|
+
});
|
20529
|
+
}
|
20530
|
+
handleRootChange() {
|
20531
|
+
if (!this.root) {
|
20532
|
+
this._root = undefined;
|
20533
|
+
this.removeIO();
|
20534
|
+
return;
|
20535
|
+
}
|
20536
|
+
let newRoot;
|
20537
|
+
if (this.root === 'auto') {
|
20538
|
+
// try to find nearest scrolling parent
|
20539
|
+
newRoot = findScrollParent(this.host);
|
20540
|
+
}
|
20541
|
+
else if (this.root === 'root') {
|
20542
|
+
newRoot = undefined;
|
20543
|
+
}
|
20544
|
+
else {
|
20545
|
+
// root is set explicitly
|
20546
|
+
newRoot = this.root;
|
20547
|
+
}
|
20548
|
+
// if it's the document - unset as that's IO's default
|
20549
|
+
if (newRoot === document.documentElement)
|
20550
|
+
newRoot = undefined;
|
20551
|
+
// if new root is what we already have - ignore
|
20552
|
+
if (newRoot === this._root)
|
20553
|
+
return;
|
20554
|
+
// cache and setup io
|
20555
|
+
this._root = newRoot;
|
20556
|
+
this.addIO();
|
20557
|
+
}
|
20558
|
+
handleThresholdChange() {
|
20559
|
+
if (!this.threshold) {
|
20560
|
+
this._threshold = undefined;
|
20561
|
+
return;
|
20562
|
+
}
|
20563
|
+
if (this.threshold.includes(',')) {
|
20564
|
+
this._threshold = this.threshold
|
20565
|
+
.split(',')
|
20566
|
+
.map((numStr) => Number(numStr));
|
20567
|
+
return;
|
20568
|
+
}
|
20569
|
+
this._threshold = Number(this.threshold);
|
20570
|
+
}
|
20571
|
+
addIO() {
|
20572
|
+
if (!window['IntersectionObserver'] || !this.elements?.length)
|
20573
|
+
return;
|
20574
|
+
if (this.io)
|
20575
|
+
this.removeIO();
|
20576
|
+
const io = (this.io = new IntersectionObserver(this.ioCallback, this.observerOptions));
|
20577
|
+
this.elements?.forEach((el) => {
|
20578
|
+
io.observe(el);
|
20579
|
+
});
|
20580
|
+
}
|
20581
|
+
removeIO() {
|
20582
|
+
if (!this.io)
|
20583
|
+
return;
|
20584
|
+
this.io.disconnect();
|
20585
|
+
this.io = undefined;
|
20586
|
+
}
|
20587
|
+
connectedCallback() {
|
20588
|
+
this.handleThresholdChange();
|
20589
|
+
this.handleRootChange();
|
20590
|
+
}
|
20591
|
+
disconnectedCallback() {
|
20592
|
+
this.removeIO();
|
20593
|
+
this.root = this._root = undefined;
|
20594
|
+
}
|
20595
|
+
render() {
|
20596
|
+
return (hAsync("slot", { ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange }));
|
20597
|
+
}
|
20598
|
+
get host() { return getElement(this); }
|
20599
|
+
static get watchers() { return {
|
20600
|
+
"root": ["handleRootChange"],
|
20601
|
+
"threshold": ["handleThresholdChange"]
|
20602
|
+
}; }
|
20603
|
+
static get style() { return "/*!@nano-intersection-observe*/nano-intersection-observe.sc-nano-intersection-observe { display: contents }"; }
|
20604
|
+
static get cmpMeta() { return {
|
20605
|
+
"$flags$": 9,
|
20606
|
+
"$tagName$": "nano-intersection-observe",
|
20607
|
+
"$members$": {
|
20608
|
+
"root": [1],
|
20609
|
+
"rootMargin": [1, "root-margin"],
|
20610
|
+
"threshold": [1]
|
20611
|
+
},
|
20612
|
+
"$listeners$": undefined,
|
20613
|
+
"$lazyBundleId$": "-",
|
20614
|
+
"$attrsToReflect$": []
|
20615
|
+
}; }
|
20616
|
+
}
|
20617
|
+
|
20519
20618
|
const menuCss = "/*!@:host*/.sc-nano-menu-h{box-sizing:border-box}/*!@*,\n*::before,\n*::after*/*.sc-nano-menu,*.sc-nano-menu::before,*.sc-nano-menu::after{box-sizing:border-box}/*!@[hidden]*/[hidden].sc-nano-menu{display:none !important}/*!@:host*/.sc-nano-menu-h{--padding-start:var(--nano-spacing-medium, 16px);--padding-end:var(--nano-spacing-medium, 16px);--padding-top:var(--nano-spacing-small, 8px);--padding-bottom:var(--nano-spacing-small, 8px);--secondary-padding-top:0;--secondary-padding-bottom:0;--bg-color-hover:#f2f7f9;--bg-color-focus:#f2f7f9;--bg-color-selected:#f2f7f9;--color-hover:#007495;--color-selected:#007495;--color-focus:#007495;--focus-outline:none;--font-size:0.9em;display:block}/*!@.menu*/.menu.sc-nano-menu{font-size:var(--font-size, 0.9em);overscroll-behavior:none;min-inline-size:var(--width);position:relative}/*!@.menu:focus*/.menu.sc-nano-menu:focus{outline:none}/*!@::slotted(*:not(nano-nav-item):not(nano-option):not(hr):not(slot))*/.sc-nano-menu-s>*:not(nano-nav-item):not(nano-option):not(hr):not(slot){padding-inline:var(--padding-start) var(--padding-end);padding-block:var(--padding-top) var(--padding-bottom);display:block}";
|
20520
20619
|
|
20521
20620
|
/**
|
@@ -20918,6 +21017,1233 @@ class MenuDrawer {
|
|
20918
21017
|
}; }
|
20919
21018
|
}
|
20920
21019
|
|
21020
|
+
const bounce = [
|
21021
|
+
{
|
21022
|
+
offset: 0,
|
21023
|
+
easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21024
|
+
transform: 'translate3d(0, 0, 0)',
|
21025
|
+
},
|
21026
|
+
{
|
21027
|
+
offset: 0.2,
|
21028
|
+
easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21029
|
+
transform: 'translate3d(0, 0, 0)',
|
21030
|
+
},
|
21031
|
+
{
|
21032
|
+
offset: 0.4,
|
21033
|
+
easing: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
|
21034
|
+
transform: 'translate3d(0, -30px, 0) scaleY(1.1)',
|
21035
|
+
},
|
21036
|
+
{
|
21037
|
+
offset: 0.43,
|
21038
|
+
easing: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
|
21039
|
+
transform: 'translate3d(0, -30px, 0) scaleY(1.1)',
|
21040
|
+
},
|
21041
|
+
{
|
21042
|
+
offset: 0.53,
|
21043
|
+
easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21044
|
+
transform: 'translate3d(0, 0, 0)',
|
21045
|
+
},
|
21046
|
+
{
|
21047
|
+
offset: 0.7,
|
21048
|
+
easing: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
|
21049
|
+
transform: 'translate3d(0, -15px, 0) scaleY(1.05)',
|
21050
|
+
},
|
21051
|
+
{
|
21052
|
+
offset: 0.8,
|
21053
|
+
'transition-timing-function': 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21054
|
+
transform: 'translate3d(0, 0, 0) scaleY(0.95)',
|
21055
|
+
},
|
21056
|
+
{ offset: 0.9, transform: 'translate3d(0, -4px, 0) scaleY(1.02)' },
|
21057
|
+
{
|
21058
|
+
offset: 1,
|
21059
|
+
easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21060
|
+
transform: 'translate3d(0, 0, 0)',
|
21061
|
+
},
|
21062
|
+
];
|
21063
|
+
|
21064
|
+
const flash = [
|
21065
|
+
{ offset: 0, opacity: '1' },
|
21066
|
+
{ offset: 0.25, opacity: '0' },
|
21067
|
+
{ offset: 0.5, opacity: '1' },
|
21068
|
+
{ offset: 0.75, opacity: '0' },
|
21069
|
+
{ offset: 1, opacity: '1' },
|
21070
|
+
];
|
21071
|
+
|
21072
|
+
const headShake = [
|
21073
|
+
{ offset: 0, transform: 'translateX(0)' },
|
21074
|
+
{ offset: 0.065, transform: 'translateX(-6px) rotateY(-9deg)' },
|
21075
|
+
{ offset: 0.185, transform: 'translateX(5px) rotateY(7deg)' },
|
21076
|
+
{ offset: 0.315, transform: 'translateX(-3px) rotateY(-5deg)' },
|
21077
|
+
{ offset: 0.435, transform: 'translateX(2px) rotateY(3deg)' },
|
21078
|
+
{ offset: 0.5, transform: 'translateX(0)' },
|
21079
|
+
];
|
21080
|
+
|
21081
|
+
const heartBeat = [
|
21082
|
+
{ offset: 0, transform: 'scale(1)' },
|
21083
|
+
{ offset: 0.14, transform: 'scale(1.3)' },
|
21084
|
+
{ offset: 0.28, transform: 'scale(1)' },
|
21085
|
+
{ offset: 0.42, transform: 'scale(1.3)' },
|
21086
|
+
{ offset: 0.7, transform: 'scale(1)' },
|
21087
|
+
];
|
21088
|
+
|
21089
|
+
const jello = [
|
21090
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21091
|
+
{ offset: 0.111, transform: 'translate3d(0, 0, 0)' },
|
21092
|
+
{ offset: 0.222, transform: 'skewX(-12.5deg) skewY(-12.5deg)' },
|
21093
|
+
{ offset: 0.33299999999999996, transform: 'skewX(6.25deg) skewY(6.25deg)' },
|
21094
|
+
{ offset: 0.444, transform: 'skewX(-3.125deg) skewY(-3.125deg)' },
|
21095
|
+
{ offset: 0.555, transform: 'skewX(1.5625deg) skewY(1.5625deg)' },
|
21096
|
+
{
|
21097
|
+
offset: 0.6659999999999999,
|
21098
|
+
transform: 'skewX(-0.78125deg) skewY(-0.78125deg)',
|
21099
|
+
},
|
21100
|
+
{ offset: 0.777, transform: 'skewX(0.390625deg) skewY(0.390625deg)' },
|
21101
|
+
{ offset: 0.888, transform: 'skewX(-0.1953125deg) skewY(-0.1953125deg)' },
|
21102
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21103
|
+
];
|
21104
|
+
|
21105
|
+
const pulse = [
|
21106
|
+
{ offset: 0, transform: 'scale3d(1, 1, 1)' },
|
21107
|
+
{ offset: 0.5, transform: 'scale3d(1.05, 1.05, 1.05)' },
|
21108
|
+
{ offset: 1, transform: 'scale3d(1, 1, 1)' },
|
21109
|
+
];
|
21110
|
+
|
21111
|
+
const rubberBand = [
|
21112
|
+
{ offset: 0, transform: 'scale3d(1, 1, 1)' },
|
21113
|
+
{ offset: 0.3, transform: 'scale3d(1.25, 0.75, 1)' },
|
21114
|
+
{ offset: 0.4, transform: 'scale3d(0.75, 1.25, 1)' },
|
21115
|
+
{ offset: 0.5, transform: 'scale3d(1.15, 0.85, 1)' },
|
21116
|
+
{ offset: 0.65, transform: 'scale3d(0.95, 1.05, 1)' },
|
21117
|
+
{ offset: 0.75, transform: 'scale3d(1.05, 0.95, 1)' },
|
21118
|
+
{ offset: 1, transform: 'scale3d(1, 1, 1)' },
|
21119
|
+
];
|
21120
|
+
|
21121
|
+
const shake = [
|
21122
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21123
|
+
{ offset: 0.1, transform: 'translate3d(-10px, 0, 0)' },
|
21124
|
+
{ offset: 0.2, transform: 'translate3d(10px, 0, 0)' },
|
21125
|
+
{ offset: 0.3, transform: 'translate3d(-10px, 0, 0)' },
|
21126
|
+
{ offset: 0.4, transform: 'translate3d(10px, 0, 0)' },
|
21127
|
+
{ offset: 0.5, transform: 'translate3d(-10px, 0, 0)' },
|
21128
|
+
{ offset: 0.6, transform: 'translate3d(10px, 0, 0)' },
|
21129
|
+
{ offset: 0.7, transform: 'translate3d(-10px, 0, 0)' },
|
21130
|
+
{ offset: 0.8, transform: 'translate3d(10px, 0, 0)' },
|
21131
|
+
{ offset: 0.9, transform: 'translate3d(-10px, 0, 0)' },
|
21132
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21133
|
+
];
|
21134
|
+
|
21135
|
+
const shakeX = [
|
21136
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21137
|
+
{ offset: 0.1, transform: 'translate3d(-10px, 0, 0)' },
|
21138
|
+
{ offset: 0.2, transform: 'translate3d(10px, 0, 0)' },
|
21139
|
+
{ offset: 0.3, transform: 'translate3d(-10px, 0, 0)' },
|
21140
|
+
{ offset: 0.4, transform: 'translate3d(10px, 0, 0)' },
|
21141
|
+
{ offset: 0.5, transform: 'translate3d(-10px, 0, 0)' },
|
21142
|
+
{ offset: 0.6, transform: 'translate3d(10px, 0, 0)' },
|
21143
|
+
{ offset: 0.7, transform: 'translate3d(-10px, 0, 0)' },
|
21144
|
+
{ offset: 0.8, transform: 'translate3d(10px, 0, 0)' },
|
21145
|
+
{ offset: 0.9, transform: 'translate3d(-10px, 0, 0)' },
|
21146
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21147
|
+
];
|
21148
|
+
|
21149
|
+
const shakeY = [
|
21150
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21151
|
+
{ offset: 0.1, transform: 'translate3d(0, -10px, 0)' },
|
21152
|
+
{ offset: 0.2, transform: 'translate3d(0, 10px, 0)' },
|
21153
|
+
{ offset: 0.3, transform: 'translate3d(0, -10px, 0)' },
|
21154
|
+
{ offset: 0.4, transform: 'translate3d(0, 10px, 0)' },
|
21155
|
+
{ offset: 0.5, transform: 'translate3d(0, -10px, 0)' },
|
21156
|
+
{ offset: 0.6, transform: 'translate3d(0, 10px, 0)' },
|
21157
|
+
{ offset: 0.7, transform: 'translate3d(0, -10px, 0)' },
|
21158
|
+
{ offset: 0.8, transform: 'translate3d(0, 10px, 0)' },
|
21159
|
+
{ offset: 0.9, transform: 'translate3d(0, -10px, 0)' },
|
21160
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21161
|
+
];
|
21162
|
+
|
21163
|
+
const swing = [
|
21164
|
+
{ offset: 0.2, transform: 'rotate3d(0, 0, 1, 15deg)' },
|
21165
|
+
{ offset: 0.4, transform: 'rotate3d(0, 0, 1, -10deg)' },
|
21166
|
+
{ offset: 0.6, transform: 'rotate3d(0, 0, 1, 5deg)' },
|
21167
|
+
{ offset: 0.8, transform: 'rotate3d(0, 0, 1, -5deg)' },
|
21168
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, 0deg)' },
|
21169
|
+
];
|
21170
|
+
|
21171
|
+
const tada = [
|
21172
|
+
{ offset: 0, transform: 'scale3d(1, 1, 1)' },
|
21173
|
+
{ offset: 0.1, transform: 'scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)' },
|
21174
|
+
{ offset: 0.2, transform: 'scale3d(0.9, 0.9, 0.9) rotate3d(0, 0, 1, -3deg)' },
|
21175
|
+
{ offset: 0.3, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
21176
|
+
{ offset: 0.4, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
21177
|
+
{ offset: 0.5, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
21178
|
+
{ offset: 0.6, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
21179
|
+
{ offset: 0.7, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
21180
|
+
{ offset: 0.8, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, -3deg)' },
|
21181
|
+
{ offset: 0.9, transform: 'scale3d(1.1, 1.1, 1.1) rotate3d(0, 0, 1, 3deg)' },
|
21182
|
+
{ offset: 1, transform: 'scale3d(1, 1, 1)' },
|
21183
|
+
];
|
21184
|
+
|
21185
|
+
const wobble = [
|
21186
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21187
|
+
{
|
21188
|
+
offset: 0.15,
|
21189
|
+
transform: 'translate3d(-25%, 0, 0) rotate3d(0, 0, 1, -5deg)',
|
21190
|
+
},
|
21191
|
+
{ offset: 0.3, transform: 'translate3d(20%, 0, 0) rotate3d(0, 0, 1, 3deg)' },
|
21192
|
+
{
|
21193
|
+
offset: 0.45,
|
21194
|
+
transform: 'translate3d(-15%, 0, 0) rotate3d(0, 0, 1, -3deg)',
|
21195
|
+
},
|
21196
|
+
{ offset: 0.6, transform: 'translate3d(10%, 0, 0) rotate3d(0, 0, 1, 2deg)' },
|
21197
|
+
{
|
21198
|
+
offset: 0.75,
|
21199
|
+
transform: 'translate3d(-5%, 0, 0) rotate3d(0, 0, 1, -1deg)',
|
21200
|
+
},
|
21201
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21202
|
+
];
|
21203
|
+
|
21204
|
+
const backInDown = [
|
21205
|
+
{ offset: 0, transform: 'translateY(-1200px) scale(0.7)', opacity: '0.7' },
|
21206
|
+
{ offset: 0.8, transform: 'translateY(0px) scale(0.7)', opacity: '0.7' },
|
21207
|
+
{ offset: 1, transform: 'scale(1)', opacity: '1' },
|
21208
|
+
];
|
21209
|
+
|
21210
|
+
const backInLeft = [
|
21211
|
+
{ offset: 0, transform: 'translateX(-2000px) scale(0.7)', opacity: '0.7' },
|
21212
|
+
{ offset: 0.8, transform: 'translateX(0px) scale(0.7)', opacity: '0.7' },
|
21213
|
+
{ offset: 1, transform: 'scale(1)', opacity: '1' },
|
21214
|
+
];
|
21215
|
+
|
21216
|
+
const backInRight = [
|
21217
|
+
{ offset: 0, transform: 'translateX(2000px) scale(0.7)', opacity: '0.7' },
|
21218
|
+
{ offset: 0.8, transform: 'translateX(0px) scale(0.7)', opacity: '0.7' },
|
21219
|
+
{ offset: 1, transform: 'scale(1)', opacity: '1' },
|
21220
|
+
];
|
21221
|
+
|
21222
|
+
const backInUp = [
|
21223
|
+
{ offset: 0, transform: 'translateY(1200px) scale(0.7)', opacity: '0.7' },
|
21224
|
+
{ offset: 0.8, transform: 'translateY(0px) scale(0.7)', opacity: '0.7' },
|
21225
|
+
{ offset: 1, transform: 'scale(1)', opacity: '1' },
|
21226
|
+
];
|
21227
|
+
|
21228
|
+
const backOutDown = [
|
21229
|
+
{ offset: 0, transform: 'scale(1)', opacity: '1' },
|
21230
|
+
{ offset: 0.2, transform: 'translateY(0px) scale(0.7)', opacity: '0.7' },
|
21231
|
+
{ offset: 1, transform: 'translateY(700px) scale(0.7)', opacity: '0.7' },
|
21232
|
+
];
|
21233
|
+
|
21234
|
+
const backOutLeft = [
|
21235
|
+
{ offset: 0, transform: 'scale(1)', opacity: '1' },
|
21236
|
+
{ offset: 0.2, transform: 'translateX(0px) scale(0.7)', opacity: '0.7' },
|
21237
|
+
{ offset: 1, transform: 'translateX(-2000px) scale(0.7)', opacity: '0.7' },
|
21238
|
+
];
|
21239
|
+
|
21240
|
+
const backOutRight = [
|
21241
|
+
{ offset: 0, transform: 'scale(1)', opacity: '1' },
|
21242
|
+
{ offset: 0.2, transform: 'translateX(0px) scale(0.7)', opacity: '0.7' },
|
21243
|
+
{ offset: 1, transform: 'translateX(2000px) scale(0.7)', opacity: '0.7' },
|
21244
|
+
];
|
21245
|
+
|
21246
|
+
const backOutUp = [
|
21247
|
+
{ offset: 0, transform: 'scale(1)', opacity: '1' },
|
21248
|
+
{ offset: 0.2, transform: 'translateY(0px) scale(0.7)', opacity: '0.7' },
|
21249
|
+
{ offset: 1, transform: 'translateY(-700px) scale(0.7)', opacity: '0.7' },
|
21250
|
+
];
|
21251
|
+
|
21252
|
+
const bounceIn = [
|
21253
|
+
{ offset: 0, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
21254
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21255
|
+
{ offset: 0.2, transform: 'scale3d(1.1, 1.1, 1.1)' },
|
21256
|
+
{ offset: 0.2, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21257
|
+
{ offset: 0.4, transform: 'scale3d(0.9, 0.9, 0.9)' },
|
21258
|
+
{ offset: 0.4, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21259
|
+
{ offset: 0.6, opacity: '1', transform: 'scale3d(1.03, 1.03, 1.03)' },
|
21260
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21261
|
+
{ offset: 0.8, transform: 'scale3d(0.97, 0.97, 0.97)' },
|
21262
|
+
{ offset: 0.8, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21263
|
+
{ offset: 1, opacity: '1', transform: 'scale3d(1, 1, 1)' },
|
21264
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21265
|
+
];
|
21266
|
+
|
21267
|
+
const bounceInDown = [
|
21268
|
+
{
|
21269
|
+
offset: 0,
|
21270
|
+
opacity: '0',
|
21271
|
+
transform: 'translate3d(0, -3000px, 0) scaleY(3)',
|
21272
|
+
},
|
21273
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21274
|
+
{
|
21275
|
+
offset: 0.6,
|
21276
|
+
opacity: '1',
|
21277
|
+
transform: 'translate3d(0, 25px, 0) scaleY(0.9)',
|
21278
|
+
},
|
21279
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21280
|
+
{ offset: 0.75, transform: 'translate3d(0, -10px, 0) scaleY(0.95)' },
|
21281
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21282
|
+
{ offset: 0.9, transform: 'translate3d(0, 5px, 0) scaleY(0.985)' },
|
21283
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21284
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21285
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21286
|
+
];
|
21287
|
+
|
21288
|
+
const bounceInLeft = [
|
21289
|
+
{
|
21290
|
+
offset: 0,
|
21291
|
+
opacity: '0',
|
21292
|
+
transform: 'translate3d(-3000px, 0, 0) scaleX(3)',
|
21293
|
+
},
|
21294
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21295
|
+
{ offset: 0.6, opacity: '1', transform: 'translate3d(25px, 0, 0) scaleX(1)' },
|
21296
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21297
|
+
{ offset: 0.75, transform: 'translate3d(-10px, 0, 0) scaleX(0.98)' },
|
21298
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21299
|
+
{ offset: 0.9, transform: 'translate3d(5px, 0, 0) scaleX(0.995)' },
|
21300
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21301
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21302
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21303
|
+
];
|
21304
|
+
|
21305
|
+
const bounceInRight = [
|
21306
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(3000px, 0, 0) scaleX(3)' },
|
21307
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21308
|
+
{
|
21309
|
+
offset: 0.6,
|
21310
|
+
opacity: '1',
|
21311
|
+
transform: 'translate3d(-25px, 0, 0) scaleX(1)',
|
21312
|
+
},
|
21313
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21314
|
+
{ offset: 0.75, transform: 'translate3d(10px, 0, 0) scaleX(0.98)' },
|
21315
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21316
|
+
{ offset: 0.9, transform: 'translate3d(-5px, 0, 0) scaleX(0.995)' },
|
21317
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21318
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21319
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21320
|
+
];
|
21321
|
+
|
21322
|
+
const bounceInUp = [
|
21323
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, 3000px, 0) scaleY(5)' },
|
21324
|
+
{ offset: 0, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21325
|
+
{
|
21326
|
+
offset: 0.6,
|
21327
|
+
opacity: '1',
|
21328
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
21329
|
+
},
|
21330
|
+
{ offset: 0.6, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21331
|
+
{ offset: 0.75, transform: 'translate3d(0, 10px, 0) scaleY(0.95)' },
|
21332
|
+
{ offset: 0.75, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21333
|
+
{ offset: 0.9, transform: 'translate3d(0, -5px, 0) scaleY(0.985)' },
|
21334
|
+
{ offset: 0.9, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21335
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21336
|
+
{ offset: 1, easing: 'cubic-bezier(0.215, 0.61, 0.355, 1)' },
|
21337
|
+
];
|
21338
|
+
|
21339
|
+
const bounceOut = [
|
21340
|
+
{ offset: 0.2, transform: 'scale3d(0.9, 0.9, 0.9)' },
|
21341
|
+
{ offset: 0.5, opacity: '1', transform: 'scale3d(1.1, 1.1, 1.1)' },
|
21342
|
+
{ offset: 0.55, opacity: '1', transform: 'scale3d(1.1, 1.1, 1.1)' },
|
21343
|
+
{ offset: 1, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
21344
|
+
];
|
21345
|
+
|
21346
|
+
const bounceOutDown = [
|
21347
|
+
{ offset: 0.2, transform: 'translate3d(0, 10px, 0) scaleY(0.985)' },
|
21348
|
+
{
|
21349
|
+
offset: 0.4,
|
21350
|
+
opacity: '1',
|
21351
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
21352
|
+
},
|
21353
|
+
{
|
21354
|
+
offset: 0.45,
|
21355
|
+
opacity: '1',
|
21356
|
+
transform: 'translate3d(0, -20px, 0) scaleY(0.9)',
|
21357
|
+
},
|
21358
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, 2000px, 0) scaleY(3)' },
|
21359
|
+
];
|
21360
|
+
|
21361
|
+
const bounceOutLeft = [
|
21362
|
+
{
|
21363
|
+
offset: 0.2,
|
21364
|
+
opacity: '1',
|
21365
|
+
transform: 'translate3d(20px, 0, 0) scaleX(0.9)',
|
21366
|
+
},
|
21367
|
+
{
|
21368
|
+
offset: 1,
|
21369
|
+
opacity: '0',
|
21370
|
+
transform: 'translate3d(-2000px, 0, 0) scaleX(2)',
|
21371
|
+
},
|
21372
|
+
];
|
21373
|
+
|
21374
|
+
const bounceOutRight = [
|
21375
|
+
{
|
21376
|
+
offset: 0.2,
|
21377
|
+
opacity: '1',
|
21378
|
+
transform: 'translate3d(-20px, 0, 0) scaleX(0.9)',
|
21379
|
+
},
|
21380
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(2000px, 0, 0) scaleX(2)' },
|
21381
|
+
];
|
21382
|
+
|
21383
|
+
const bounceOutUp = [
|
21384
|
+
{ offset: 0.2, transform: 'translate3d(0, -10px, 0) scaleY(0.985)' },
|
21385
|
+
{
|
21386
|
+
offset: 0.4,
|
21387
|
+
opacity: '1',
|
21388
|
+
transform: 'translate3d(0, 20px, 0) scaleY(0.9)',
|
21389
|
+
},
|
21390
|
+
{
|
21391
|
+
offset: 0.45,
|
21392
|
+
opacity: '1',
|
21393
|
+
transform: 'translate3d(0, 20px, 0) scaleY(0.9)',
|
21394
|
+
},
|
21395
|
+
{
|
21396
|
+
offset: 1,
|
21397
|
+
opacity: '0',
|
21398
|
+
transform: 'translate3d(0, -2000px, 0) scaleY(3)',
|
21399
|
+
},
|
21400
|
+
];
|
21401
|
+
|
21402
|
+
const fadeIn = [
|
21403
|
+
{ offset: 0, opacity: '0' },
|
21404
|
+
{ offset: 1, opacity: '1' },
|
21405
|
+
];
|
21406
|
+
|
21407
|
+
const fadeInBottomLeft = [
|
21408
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(-100%, 100%, 0)' },
|
21409
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21410
|
+
];
|
21411
|
+
|
21412
|
+
const fadeInBottomRight = [
|
21413
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(100%, 100%, 0)' },
|
21414
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21415
|
+
];
|
21416
|
+
|
21417
|
+
const fadeInDown = [
|
21418
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, -100%, 0)' },
|
21419
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21420
|
+
];
|
21421
|
+
|
21422
|
+
const fadeInDownBig = [
|
21423
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, -2000px, 0)' },
|
21424
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21425
|
+
];
|
21426
|
+
|
21427
|
+
const fadeInLeft = [
|
21428
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(-100%, 0, 0)' },
|
21429
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21430
|
+
];
|
21431
|
+
|
21432
|
+
const fadeInLeftBig = [
|
21433
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(-2000px, 0, 0)' },
|
21434
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21435
|
+
];
|
21436
|
+
|
21437
|
+
const fadeInRight = [
|
21438
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(100%, 0, 0)' },
|
21439
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21440
|
+
];
|
21441
|
+
|
21442
|
+
const fadeInRightBig = [
|
21443
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(2000px, 0, 0)' },
|
21444
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21445
|
+
];
|
21446
|
+
|
21447
|
+
const fadeInTopLeft = [
|
21448
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(-100%, -100%, 0)' },
|
21449
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21450
|
+
];
|
21451
|
+
|
21452
|
+
const fadeInTopRight = [
|
21453
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(100%, -100%, 0)' },
|
21454
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21455
|
+
];
|
21456
|
+
|
21457
|
+
const fadeInUp = [
|
21458
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, 100%, 0)' },
|
21459
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21460
|
+
];
|
21461
|
+
|
21462
|
+
const fadeInUpBig = [
|
21463
|
+
{ offset: 0, opacity: '0', transform: 'translate3d(0, 2000px, 0)' },
|
21464
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21465
|
+
];
|
21466
|
+
|
21467
|
+
const fadeOut = [
|
21468
|
+
{ offset: 0, opacity: '1' },
|
21469
|
+
{ offset: 1, opacity: '0' },
|
21470
|
+
];
|
21471
|
+
|
21472
|
+
const fadeOutBottomLeft = [
|
21473
|
+
{ offset: 0, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21474
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(-100%, 100%, 0)' },
|
21475
|
+
];
|
21476
|
+
|
21477
|
+
const fadeOutBottomRight = [
|
21478
|
+
{ offset: 0, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21479
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(100%, 100%, 0)' },
|
21480
|
+
];
|
21481
|
+
|
21482
|
+
const fadeOutDown = [
|
21483
|
+
{ offset: 0, opacity: '1' },
|
21484
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, 100%, 0)' },
|
21485
|
+
];
|
21486
|
+
|
21487
|
+
const fadeOutDownBig = [
|
21488
|
+
{ offset: 0, opacity: '1' },
|
21489
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, 2000px, 0)' },
|
21490
|
+
];
|
21491
|
+
|
21492
|
+
const fadeOutLeft = [
|
21493
|
+
{ offset: 0, opacity: '1' },
|
21494
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(-100%, 0, 0)' },
|
21495
|
+
];
|
21496
|
+
|
21497
|
+
const fadeOutLeftBig = [
|
21498
|
+
{ offset: 0, opacity: '1' },
|
21499
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(-2000px, 0, 0)' },
|
21500
|
+
];
|
21501
|
+
|
21502
|
+
const fadeOutRight = [
|
21503
|
+
{ offset: 0, opacity: '1' },
|
21504
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(100%, 0, 0)' },
|
21505
|
+
];
|
21506
|
+
|
21507
|
+
const fadeOutRightBig = [
|
21508
|
+
{ offset: 0, opacity: '1' },
|
21509
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(2000px, 0, 0)' },
|
21510
|
+
];
|
21511
|
+
|
21512
|
+
const fadeOutTopLeft = [
|
21513
|
+
{ offset: 0, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21514
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(-100%, -100%, 0)' },
|
21515
|
+
];
|
21516
|
+
|
21517
|
+
const fadeOutTopRight = [
|
21518
|
+
{ offset: 0, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21519
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(100%, -100%, 0)' },
|
21520
|
+
];
|
21521
|
+
|
21522
|
+
const fadeOutUp = [
|
21523
|
+
{ offset: 0, opacity: '1' },
|
21524
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, -100%, 0)' },
|
21525
|
+
];
|
21526
|
+
|
21527
|
+
const fadeOutUpBig = [
|
21528
|
+
{ offset: 0, opacity: '1' },
|
21529
|
+
{ offset: 1, opacity: '0', transform: 'translate3d(0, -2000px, 0)' },
|
21530
|
+
];
|
21531
|
+
|
21532
|
+
const flip = [
|
21533
|
+
{
|
21534
|
+
offset: 0,
|
21535
|
+
transform:
|
21536
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, -360deg)',
|
21537
|
+
easing: 'ease-out',
|
21538
|
+
},
|
21539
|
+
{
|
21540
|
+
offset: 0.4,
|
21541
|
+
transform:
|
21542
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -190deg)',
|
21543
|
+
easing: 'ease-out',
|
21544
|
+
},
|
21545
|
+
{
|
21546
|
+
offset: 0.5,
|
21547
|
+
transform:
|
21548
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 150px)\n rotate3d(0, 1, 0, -170deg)',
|
21549
|
+
easing: 'ease-in',
|
21550
|
+
},
|
21551
|
+
{
|
21552
|
+
offset: 0.8,
|
21553
|
+
transform:
|
21554
|
+
'perspective(400px) scale3d(0.95, 0.95, 0.95) translate3d(0, 0, 0)\n rotate3d(0, 1, 0, 0deg)',
|
21555
|
+
easing: 'ease-in',
|
21556
|
+
},
|
21557
|
+
{
|
21558
|
+
offset: 1,
|
21559
|
+
transform:
|
21560
|
+
'perspective(400px) scale3d(1, 1, 1) translate3d(0, 0, 0) rotate3d(0, 1, 0, 0deg)',
|
21561
|
+
easing: 'ease-in',
|
21562
|
+
},
|
21563
|
+
];
|
21564
|
+
|
21565
|
+
const flipInX = [
|
21566
|
+
{
|
21567
|
+
offset: 0,
|
21568
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
|
21569
|
+
easing: 'ease-in',
|
21570
|
+
opacity: '0',
|
21571
|
+
},
|
21572
|
+
{
|
21573
|
+
offset: 0.4,
|
21574
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
|
21575
|
+
easing: 'ease-in',
|
21576
|
+
},
|
21577
|
+
{
|
21578
|
+
offset: 0.6,
|
21579
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 10deg)',
|
21580
|
+
opacity: '1',
|
21581
|
+
},
|
21582
|
+
{ offset: 0.8, transform: 'perspective(400px) rotate3d(1, 0, 0, -5deg)' },
|
21583
|
+
{ offset: 1, transform: 'perspective(400px)' },
|
21584
|
+
];
|
21585
|
+
|
21586
|
+
const flipInY = [
|
21587
|
+
{
|
21588
|
+
offset: 0,
|
21589
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
|
21590
|
+
easing: 'ease-in',
|
21591
|
+
opacity: '0',
|
21592
|
+
},
|
21593
|
+
{
|
21594
|
+
offset: 0.4,
|
21595
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, -20deg)',
|
21596
|
+
easing: 'ease-in',
|
21597
|
+
},
|
21598
|
+
{
|
21599
|
+
offset: 0.6,
|
21600
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 10deg)',
|
21601
|
+
opacity: '1',
|
21602
|
+
},
|
21603
|
+
{ offset: 0.8, transform: 'perspective(400px) rotate3d(0, 1, 0, -5deg)' },
|
21604
|
+
{ offset: 1, transform: 'perspective(400px)' },
|
21605
|
+
];
|
21606
|
+
|
21607
|
+
const flipOutX = [
|
21608
|
+
{ offset: 0, transform: 'perspective(400px)' },
|
21609
|
+
{
|
21610
|
+
offset: 0.3,
|
21611
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, -20deg)',
|
21612
|
+
opacity: '1',
|
21613
|
+
},
|
21614
|
+
{
|
21615
|
+
offset: 1,
|
21616
|
+
transform: 'perspective(400px) rotate3d(1, 0, 0, 90deg)',
|
21617
|
+
opacity: '0',
|
21618
|
+
},
|
21619
|
+
];
|
21620
|
+
|
21621
|
+
const flipOutY = [
|
21622
|
+
{ offset: 0, transform: 'perspective(400px)' },
|
21623
|
+
{
|
21624
|
+
offset: 0.3,
|
21625
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, -15deg)',
|
21626
|
+
opacity: '1',
|
21627
|
+
},
|
21628
|
+
{
|
21629
|
+
offset: 1,
|
21630
|
+
transform: 'perspective(400px) rotate3d(0, 1, 0, 90deg)',
|
21631
|
+
opacity: '0',
|
21632
|
+
},
|
21633
|
+
];
|
21634
|
+
|
21635
|
+
const lightSpeedInLeft = [
|
21636
|
+
{
|
21637
|
+
offset: 0,
|
21638
|
+
transform: 'translate3d(-100%, 0, 0) skewX(30deg)',
|
21639
|
+
opacity: '0',
|
21640
|
+
},
|
21641
|
+
{ offset: 0.6, transform: 'skewX(-20deg)', opacity: '1' },
|
21642
|
+
{ offset: 0.8, transform: 'skewX(5deg)' },
|
21643
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21644
|
+
];
|
21645
|
+
|
21646
|
+
const lightSpeedInRight = [
|
21647
|
+
{
|
21648
|
+
offset: 0,
|
21649
|
+
transform: 'translate3d(100%, 0, 0) skewX(-30deg)',
|
21650
|
+
opacity: '0',
|
21651
|
+
},
|
21652
|
+
{ offset: 0.6, transform: 'skewX(20deg)', opacity: '1' },
|
21653
|
+
{ offset: 0.8, transform: 'skewX(-5deg)' },
|
21654
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21655
|
+
];
|
21656
|
+
|
21657
|
+
const lightSpeedOutLeft = [
|
21658
|
+
{ offset: 0, opacity: '1' },
|
21659
|
+
{
|
21660
|
+
offset: 1,
|
21661
|
+
transform: 'translate3d(-100%, 0, 0) skewX(-30deg)',
|
21662
|
+
opacity: '0',
|
21663
|
+
},
|
21664
|
+
];
|
21665
|
+
|
21666
|
+
const lightSpeedOutRight = [
|
21667
|
+
{ offset: 0, opacity: '1' },
|
21668
|
+
{
|
21669
|
+
offset: 1,
|
21670
|
+
transform: 'translate3d(100%, 0, 0) skewX(30deg)',
|
21671
|
+
opacity: '0',
|
21672
|
+
},
|
21673
|
+
];
|
21674
|
+
|
21675
|
+
const rotateIn = [
|
21676
|
+
{ offset: 0, transform: 'rotate3d(0, 0, 1, -200deg)', opacity: '0' },
|
21677
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)', opacity: '1' },
|
21678
|
+
];
|
21679
|
+
|
21680
|
+
const rotateInDownLeft = [
|
21681
|
+
{ offset: 0, transform: 'rotate3d(0, 0, 1, -45deg)', opacity: '0' },
|
21682
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)', opacity: '1' },
|
21683
|
+
];
|
21684
|
+
|
21685
|
+
const rotateInDownRight = [
|
21686
|
+
{ offset: 0, transform: 'rotate3d(0, 0, 1, 45deg)', opacity: '0' },
|
21687
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)', opacity: '1' },
|
21688
|
+
];
|
21689
|
+
|
21690
|
+
const rotateInUpLeft = [
|
21691
|
+
{ offset: 0, transform: 'rotate3d(0, 0, 1, 45deg)', opacity: '0' },
|
21692
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)', opacity: '1' },
|
21693
|
+
];
|
21694
|
+
|
21695
|
+
const rotateInUpRight = [
|
21696
|
+
{ offset: 0, transform: 'rotate3d(0, 0, 1, -90deg)', opacity: '0' },
|
21697
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)', opacity: '1' },
|
21698
|
+
];
|
21699
|
+
|
21700
|
+
const rotateOut = [
|
21701
|
+
{ offset: 0, opacity: '1' },
|
21702
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, 200deg)', opacity: '0' },
|
21703
|
+
];
|
21704
|
+
|
21705
|
+
const rotateOutDownLeft = [
|
21706
|
+
{ offset: 0, opacity: '1' },
|
21707
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, 45deg)', opacity: '0' },
|
21708
|
+
];
|
21709
|
+
|
21710
|
+
const rotateOutDownRight = [
|
21711
|
+
{ offset: 0, opacity: '1' },
|
21712
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, -45deg)', opacity: '0' },
|
21713
|
+
];
|
21714
|
+
|
21715
|
+
const rotateOutUpLeft = [
|
21716
|
+
{ offset: 0, opacity: '1' },
|
21717
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, -45deg)', opacity: '0' },
|
21718
|
+
];
|
21719
|
+
|
21720
|
+
const rotateOutUpRight = [
|
21721
|
+
{ offset: 0, opacity: '1' },
|
21722
|
+
{ offset: 1, transform: 'rotate3d(0, 0, 1, 90deg)', opacity: '0' },
|
21723
|
+
];
|
21724
|
+
|
21725
|
+
const slideInDown = [
|
21726
|
+
{ offset: 0, transform: 'translate3d(0, -100%, 0)', visibility: 'visible' },
|
21727
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21728
|
+
];
|
21729
|
+
|
21730
|
+
const slideInLeft = [
|
21731
|
+
{ offset: 0, transform: 'translate3d(-100%, 0, 0)', visibility: 'visible' },
|
21732
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21733
|
+
];
|
21734
|
+
|
21735
|
+
const slideInRight = [
|
21736
|
+
{ offset: 0, transform: 'translate3d(100%, 0, 0)', visibility: 'visible' },
|
21737
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21738
|
+
];
|
21739
|
+
|
21740
|
+
const slideInUp = [
|
21741
|
+
{ offset: 0, transform: 'translate3d(0, 100%, 0)', visibility: 'visible' },
|
21742
|
+
{ offset: 1, transform: 'translate3d(0, 0, 0)' },
|
21743
|
+
];
|
21744
|
+
|
21745
|
+
const slideOutDown = [
|
21746
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21747
|
+
{ offset: 1, visibility: 'hidden', transform: 'translate3d(0, 100%, 0)' },
|
21748
|
+
];
|
21749
|
+
|
21750
|
+
const slideOutLeft = [
|
21751
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21752
|
+
{ offset: 1, visibility: 'hidden', transform: 'translate3d(-100%, 0, 0)' },
|
21753
|
+
];
|
21754
|
+
|
21755
|
+
const slideOutRight = [
|
21756
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21757
|
+
{ offset: 1, visibility: 'hidden', transform: 'translate3d(100%, 0, 0)' },
|
21758
|
+
];
|
21759
|
+
|
21760
|
+
const slideOutUp = [
|
21761
|
+
{ offset: 0, transform: 'translate3d(0, 0, 0)' },
|
21762
|
+
{ offset: 1, visibility: 'hidden', transform: 'translate3d(0, -100%, 0)' },
|
21763
|
+
];
|
21764
|
+
|
21765
|
+
const hinge = [
|
21766
|
+
{ offset: 0, easing: 'ease-in-out' },
|
21767
|
+
{ offset: 0.2, transform: 'rotate3d(0, 0, 1, 80deg)', easing: 'ease-in-out' },
|
21768
|
+
{
|
21769
|
+
offset: 0.4,
|
21770
|
+
transform: 'rotate3d(0, 0, 1, 60deg)',
|
21771
|
+
easing: 'ease-in-out',
|
21772
|
+
opacity: '1',
|
21773
|
+
},
|
21774
|
+
{ offset: 0.6, transform: 'rotate3d(0, 0, 1, 80deg)', easing: 'ease-in-out' },
|
21775
|
+
{
|
21776
|
+
offset: 0.8,
|
21777
|
+
transform: 'rotate3d(0, 0, 1, 60deg)',
|
21778
|
+
easing: 'ease-in-out',
|
21779
|
+
opacity: '1',
|
21780
|
+
},
|
21781
|
+
{ offset: 1, transform: 'translate3d(0, 700px, 0)', opacity: '0' },
|
21782
|
+
];
|
21783
|
+
|
21784
|
+
const jackInTheBox = [
|
21785
|
+
{
|
21786
|
+
offset: 0,
|
21787
|
+
opacity: '0',
|
21788
|
+
transform: 'scale(0.1) rotate(30deg)',
|
21789
|
+
'transform-origin': 'center bottom',
|
21790
|
+
},
|
21791
|
+
{ offset: 0.5, transform: 'rotate(-10deg)' },
|
21792
|
+
{ offset: 0.7, transform: 'rotate(3deg)' },
|
21793
|
+
{ offset: 1, opacity: '1', transform: 'scale(1)' },
|
21794
|
+
];
|
21795
|
+
|
21796
|
+
const rollIn = [
|
21797
|
+
{
|
21798
|
+
offset: 0,
|
21799
|
+
opacity: '0',
|
21800
|
+
transform: 'translate3d(-100%, 0, 0) rotate3d(0, 0, 1, -120deg)',
|
21801
|
+
},
|
21802
|
+
{ offset: 1, opacity: '1', transform: 'translate3d(0, 0, 0)' },
|
21803
|
+
];
|
21804
|
+
|
21805
|
+
const rollOut = [
|
21806
|
+
{ offset: 0, opacity: '1' },
|
21807
|
+
{
|
21808
|
+
offset: 1,
|
21809
|
+
opacity: '0',
|
21810
|
+
transform: 'translate3d(100%, 0, 0) rotate3d(0, 0, 1, 120deg)',
|
21811
|
+
},
|
21812
|
+
];
|
21813
|
+
|
21814
|
+
const zoomIn = [
|
21815
|
+
{ offset: 0, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
21816
|
+
{ offset: 0.5, opacity: '1' },
|
21817
|
+
];
|
21818
|
+
|
21819
|
+
const zoomInDown = [
|
21820
|
+
{
|
21821
|
+
offset: 0,
|
21822
|
+
opacity: '0',
|
21823
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, -1000px, 0)',
|
21824
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21825
|
+
},
|
21826
|
+
{
|
21827
|
+
offset: 0.6,
|
21828
|
+
opacity: '1',
|
21829
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)',
|
21830
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21831
|
+
},
|
21832
|
+
];
|
21833
|
+
|
21834
|
+
const zoomInLeft = [
|
21835
|
+
{
|
21836
|
+
offset: 0,
|
21837
|
+
opacity: '0',
|
21838
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(-1000px, 0, 0)',
|
21839
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21840
|
+
},
|
21841
|
+
{
|
21842
|
+
offset: 0.6,
|
21843
|
+
opacity: '1',
|
21844
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(10px, 0, 0)',
|
21845
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21846
|
+
},
|
21847
|
+
];
|
21848
|
+
|
21849
|
+
const zoomInRight = [
|
21850
|
+
{
|
21851
|
+
offset: 0,
|
21852
|
+
opacity: '0',
|
21853
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(1000px, 0, 0)',
|
21854
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21855
|
+
},
|
21856
|
+
{
|
21857
|
+
offset: 0.6,
|
21858
|
+
opacity: '1',
|
21859
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(-10px, 0, 0)',
|
21860
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21861
|
+
},
|
21862
|
+
];
|
21863
|
+
|
21864
|
+
const zoomInUp = [
|
21865
|
+
{
|
21866
|
+
offset: 0,
|
21867
|
+
opacity: '0',
|
21868
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, 1000px, 0)',
|
21869
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21870
|
+
},
|
21871
|
+
{
|
21872
|
+
offset: 0.6,
|
21873
|
+
opacity: '1',
|
21874
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)',
|
21875
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21876
|
+
},
|
21877
|
+
];
|
21878
|
+
|
21879
|
+
const zoomOut = [
|
21880
|
+
{ offset: 0, opacity: '1' },
|
21881
|
+
{ offset: 0.5, opacity: '0', transform: 'scale3d(0.3, 0.3, 0.3)' },
|
21882
|
+
{ offset: 1, opacity: '0' },
|
21883
|
+
];
|
21884
|
+
|
21885
|
+
const zoomOutDown = [
|
21886
|
+
{
|
21887
|
+
offset: 0.4,
|
21888
|
+
opacity: '1',
|
21889
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, -60px, 0)',
|
21890
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21891
|
+
},
|
21892
|
+
{
|
21893
|
+
offset: 1,
|
21894
|
+
opacity: '0',
|
21895
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, 2000px, 0)',
|
21896
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21897
|
+
},
|
21898
|
+
];
|
21899
|
+
|
21900
|
+
const zoomOutLeft = [
|
21901
|
+
{
|
21902
|
+
offset: 0.4,
|
21903
|
+
opacity: '1',
|
21904
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(42px, 0, 0)',
|
21905
|
+
},
|
21906
|
+
{
|
21907
|
+
offset: 1,
|
21908
|
+
opacity: '0',
|
21909
|
+
transform: 'scale(0.1) translate3d(-2000px, 0, 0)',
|
21910
|
+
},
|
21911
|
+
];
|
21912
|
+
|
21913
|
+
const zoomOutRight = [
|
21914
|
+
{
|
21915
|
+
offset: 0.4,
|
21916
|
+
opacity: '1',
|
21917
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(-42px, 0, 0)',
|
21918
|
+
},
|
21919
|
+
{
|
21920
|
+
offset: 1,
|
21921
|
+
opacity: '0',
|
21922
|
+
transform: 'scale(0.1) translate3d(2000px, 0, 0)',
|
21923
|
+
},
|
21924
|
+
];
|
21925
|
+
|
21926
|
+
const zoomOutUp = [
|
21927
|
+
{
|
21928
|
+
offset: 0.4,
|
21929
|
+
opacity: '1',
|
21930
|
+
transform: 'scale3d(0.475, 0.475, 0.475) translate3d(0, 60px, 0)',
|
21931
|
+
easing: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21932
|
+
},
|
21933
|
+
{
|
21934
|
+
offset: 1,
|
21935
|
+
opacity: '0',
|
21936
|
+
transform: 'scale3d(0.1, 0.1, 0.1) translate3d(0, -2000px, 0)',
|
21937
|
+
easing: 'cubic-bezier(0.175, 0.885, 0.32, 1)',
|
21938
|
+
},
|
21939
|
+
];
|
21940
|
+
|
21941
|
+
const easings = {
|
21942
|
+
linear: 'linear',
|
21943
|
+
ease: 'ease',
|
21944
|
+
easeIn: 'ease-in',
|
21945
|
+
easeOut: 'ease-out',
|
21946
|
+
easeInOut: 'ease-in-out',
|
21947
|
+
easeInSine: 'cubic-bezier(0.47, 0, 0.745, 0.715)',
|
21948
|
+
easeOutSine: 'cubic-bezier(0.39, 0.575, 0.565, 1)',
|
21949
|
+
easeInOutSine: 'cubic-bezier(0.445, 0.05, 0.55, 0.95)',
|
21950
|
+
easeInQuad: 'cubic-bezier(0.55, 0.085, 0.68, 0.53)',
|
21951
|
+
easeOutQuad: 'cubic-bezier(0.25, 0.46, 0.45, 0.94)',
|
21952
|
+
easeInOutQuad: 'cubic-bezier(0.455, 0.03, 0.515, 0.955)',
|
21953
|
+
easeInCubic: 'cubic-bezier(0.55, 0.055, 0.675, 0.19)',
|
21954
|
+
easeOutCubic: 'cubic-bezier(0.215, 0.61, 0.355, 1)',
|
21955
|
+
easeInOutCubic: 'cubic-bezier(0.645, 0.045, 0.355, 1)',
|
21956
|
+
easeInQuart: 'cubic-bezier(0.895, 0.03, 0.685, 0.22)',
|
21957
|
+
easeOutQuart: 'cubic-bezier(0.165, 0.84, 0.44, 1)',
|
21958
|
+
easeInOutQuart: 'cubic-bezier(0.77, 0, 0.175, 1)',
|
21959
|
+
easeInQuint: 'cubic-bezier(0.755, 0.05, 0.855, 0.06)',
|
21960
|
+
easeOutQuint: 'cubic-bezier(0.23, 1, 0.32, 1)',
|
21961
|
+
easeInOutQuint: 'cubic-bezier(0.86, 0, 0.07, 1)',
|
21962
|
+
easeInExpo: 'cubic-bezier(0.95, 0.05, 0.795, 0.035)',
|
21963
|
+
easeOutExpo: 'cubic-bezier(0.19, 1, 0.22, 1)',
|
21964
|
+
easeInOutExpo: 'cubic-bezier(1, 0, 0, 1)',
|
21965
|
+
easeInCirc: 'cubic-bezier(0.6, 0.04, 0.98, 0.335)',
|
21966
|
+
easeOutCirc: 'cubic-bezier(0.075, 0.82, 0.165, 1)',
|
21967
|
+
easeInOutCirc: 'cubic-bezier(0.785, 0.135, 0.15, 0.86)',
|
21968
|
+
easeInBack: 'cubic-bezier(0.6, -0.28, 0.735, 0.045)',
|
21969
|
+
easeOutBack: 'cubic-bezier(0.175, 0.885, 0.32, 1.275)',
|
21970
|
+
easeInOutBack: 'cubic-bezier(0.68, -0.55, 0.265, 1.55)',
|
21971
|
+
};
|
21972
|
+
|
21973
|
+
const animations = {
|
21974
|
+
bounce,
|
21975
|
+
flash,
|
21976
|
+
headShake,
|
21977
|
+
heartBeat,
|
21978
|
+
jello,
|
21979
|
+
pulse,
|
21980
|
+
rubberBand,
|
21981
|
+
shake,
|
21982
|
+
shakeX,
|
21983
|
+
shakeY,
|
21984
|
+
swing,
|
21985
|
+
tada,
|
21986
|
+
wobble,
|
21987
|
+
backInDown,
|
21988
|
+
backInLeft,
|
21989
|
+
backInRight,
|
21990
|
+
backInUp,
|
21991
|
+
backOutDown,
|
21992
|
+
backOutLeft,
|
21993
|
+
backOutRight,
|
21994
|
+
backOutUp,
|
21995
|
+
bounceIn,
|
21996
|
+
bounceInDown,
|
21997
|
+
bounceInLeft,
|
21998
|
+
bounceInRight,
|
21999
|
+
bounceInUp,
|
22000
|
+
bounceOut,
|
22001
|
+
bounceOutDown,
|
22002
|
+
bounceOutLeft,
|
22003
|
+
bounceOutRight,
|
22004
|
+
bounceOutUp,
|
22005
|
+
fadeIn,
|
22006
|
+
fadeInBottomLeft,
|
22007
|
+
fadeInBottomRight,
|
22008
|
+
fadeInDown,
|
22009
|
+
fadeInDownBig,
|
22010
|
+
fadeInLeft,
|
22011
|
+
fadeInLeftBig,
|
22012
|
+
fadeInRight,
|
22013
|
+
fadeInRightBig,
|
22014
|
+
fadeInTopLeft,
|
22015
|
+
fadeInTopRight,
|
22016
|
+
fadeInUp,
|
22017
|
+
fadeInUpBig,
|
22018
|
+
fadeOut,
|
22019
|
+
fadeOutBottomLeft,
|
22020
|
+
fadeOutBottomRight,
|
22021
|
+
fadeOutDown,
|
22022
|
+
fadeOutDownBig,
|
22023
|
+
fadeOutLeft,
|
22024
|
+
fadeOutLeftBig,
|
22025
|
+
fadeOutRight,
|
22026
|
+
fadeOutRightBig,
|
22027
|
+
fadeOutTopLeft,
|
22028
|
+
fadeOutTopRight,
|
22029
|
+
fadeOutUp,
|
22030
|
+
fadeOutUpBig,
|
22031
|
+
flip,
|
22032
|
+
flipInX,
|
22033
|
+
flipInY,
|
22034
|
+
flipOutX,
|
22035
|
+
flipOutY,
|
22036
|
+
lightSpeedInLeft,
|
22037
|
+
lightSpeedInRight,
|
22038
|
+
lightSpeedOutLeft,
|
22039
|
+
lightSpeedOutRight,
|
22040
|
+
rotateIn,
|
22041
|
+
rotateInDownLeft,
|
22042
|
+
rotateInDownRight,
|
22043
|
+
rotateInUpLeft,
|
22044
|
+
rotateInUpRight,
|
22045
|
+
rotateOut,
|
22046
|
+
rotateOutDownLeft,
|
22047
|
+
rotateOutDownRight,
|
22048
|
+
rotateOutUpLeft,
|
22049
|
+
rotateOutUpRight,
|
22050
|
+
slideInDown,
|
22051
|
+
slideInLeft,
|
22052
|
+
slideInRight,
|
22053
|
+
slideInUp,
|
22054
|
+
slideOutDown,
|
22055
|
+
slideOutLeft,
|
22056
|
+
slideOutRight,
|
22057
|
+
slideOutUp,
|
22058
|
+
hinge,
|
22059
|
+
jackInTheBox,
|
22060
|
+
rollIn,
|
22061
|
+
rollOut,
|
22062
|
+
zoomIn,
|
22063
|
+
zoomInDown,
|
22064
|
+
zoomInLeft,
|
22065
|
+
zoomInRight,
|
22066
|
+
zoomInUp,
|
22067
|
+
zoomOut,
|
22068
|
+
zoomOutDown,
|
22069
|
+
zoomOutLeft,
|
22070
|
+
zoomOutRight,
|
22071
|
+
zoomOutUp,
|
22072
|
+
};
|
22073
|
+
|
22074
|
+
/**
|
22075
|
+
* Animate elements declaratively with [~100 baked-in presets](https://animate.style/), or make your own with custom keyframes.
|
22076
|
+
* Powered by the [Web Animations API](https://developer.mozilla.org/en-US/docs/Web/API/Web_Animations_API).
|
22077
|
+
*
|
22078
|
+
* @slot - The element to animate. Avoid slotting in more than one element, as subsequent ones will be ignored. To animate multiple elements, either wrap them in a single container or use multiple *nano-animation* elements.
|
22079
|
+
*/
|
22080
|
+
class NanoAnimation {
|
22081
|
+
constructor(hostRef) {
|
22082
|
+
registerInstance(this, hostRef);
|
22083
|
+
this.nanoCancel = createEvent(this, "nanoCancel", 7);
|
22084
|
+
this.nanoFinish = createEvent(this, "nanoFinish", 7);
|
22085
|
+
this.nanoStart = createEvent(this, "nanoStart", 7);
|
22086
|
+
this.hasStarted = false;
|
22087
|
+
this.handleAnimationFinish = () => {
|
22088
|
+
this.play = false;
|
22089
|
+
this.hasStarted = false;
|
22090
|
+
this.nanoFinish.emit();
|
22091
|
+
};
|
22092
|
+
this.handleAnimationCancel = () => {
|
22093
|
+
this.play = false;
|
22094
|
+
this.hasStarted = false;
|
22095
|
+
this.nanoCancel.emit();
|
22096
|
+
};
|
22097
|
+
this.handleSlotChange = () => {
|
22098
|
+
this.destroyAnimation();
|
22099
|
+
this.createAnimation();
|
22100
|
+
};
|
22101
|
+
this.name = 'none';
|
22102
|
+
this.play = false;
|
22103
|
+
this.delay = 0;
|
22104
|
+
this.direction = 'normal';
|
22105
|
+
this.duration = 1000;
|
22106
|
+
this.easing = 'ease';
|
22107
|
+
this.endDelay = 0;
|
22108
|
+
this.fill = 'auto';
|
22109
|
+
this.iterations = Infinity;
|
22110
|
+
this.iterationStart = 0;
|
22111
|
+
this.keyframes = undefined;
|
22112
|
+
this.playbackRate = 1;
|
22113
|
+
}
|
22114
|
+
/** Gets and sets the current animation time. */
|
22115
|
+
get currentTime() {
|
22116
|
+
return this.animation?.currentTime ?? 0;
|
22117
|
+
}
|
22118
|
+
set currentTime(time) {
|
22119
|
+
if (this.animation) {
|
22120
|
+
this.animation.currentTime = time;
|
22121
|
+
}
|
22122
|
+
}
|
22123
|
+
connectedCallback() {
|
22124
|
+
this.createAnimation();
|
22125
|
+
}
|
22126
|
+
disconnectedCallback() {
|
22127
|
+
this.destroyAnimation();
|
22128
|
+
}
|
22129
|
+
async createAnimation() {
|
22130
|
+
if (!this.defaultSlot)
|
22131
|
+
return;
|
22132
|
+
const easing = easings[this.easing] ?? this.easing;
|
22133
|
+
const keyframes = this.keyframes ??
|
22134
|
+
animations[this.name];
|
22135
|
+
const slot = this.defaultSlot;
|
22136
|
+
const element = slot.assignedElements()[0];
|
22137
|
+
if (!element || !keyframes) {
|
22138
|
+
return false;
|
22139
|
+
}
|
22140
|
+
this.destroyAnimation();
|
22141
|
+
this.animation = element.animate(keyframes, {
|
22142
|
+
delay: this.delay,
|
22143
|
+
direction: this.direction,
|
22144
|
+
duration: this.duration,
|
22145
|
+
easing,
|
22146
|
+
endDelay: this.endDelay,
|
22147
|
+
fill: this.fill,
|
22148
|
+
iterationStart: this.iterationStart,
|
22149
|
+
iterations: this.iterations,
|
22150
|
+
});
|
22151
|
+
this.animation.playbackRate = this.playbackRate;
|
22152
|
+
this.animation.addEventListener('cancel', this.handleAnimationCancel);
|
22153
|
+
this.animation.addEventListener('finish', this.handleAnimationFinish);
|
22154
|
+
if (this.play) {
|
22155
|
+
this.hasStarted = true;
|
22156
|
+
this.nanoStart.emit();
|
22157
|
+
}
|
22158
|
+
else {
|
22159
|
+
this.animation.pause();
|
22160
|
+
}
|
22161
|
+
return true;
|
22162
|
+
}
|
22163
|
+
destroyAnimation() {
|
22164
|
+
if (this.animation) {
|
22165
|
+
this.animation.cancel();
|
22166
|
+
this.animation.removeEventListener('cancel', this.handleAnimationCancel);
|
22167
|
+
this.animation.removeEventListener('finish', this.handleAnimationFinish);
|
22168
|
+
this.hasStarted = false;
|
22169
|
+
}
|
22170
|
+
}
|
22171
|
+
handleAnimationChange() {
|
22172
|
+
this.createAnimation();
|
22173
|
+
}
|
22174
|
+
handlePlayChange() {
|
22175
|
+
if (this.animation) {
|
22176
|
+
if (this.play && !this.hasStarted) {
|
22177
|
+
this.hasStarted = true;
|
22178
|
+
this.nanoStart.emit();
|
22179
|
+
}
|
22180
|
+
if (this.play) {
|
22181
|
+
this.animation.play();
|
22182
|
+
}
|
22183
|
+
else {
|
22184
|
+
this.animation.pause();
|
22185
|
+
}
|
22186
|
+
return true;
|
22187
|
+
}
|
22188
|
+
return false;
|
22189
|
+
}
|
22190
|
+
handlePlaybackRateChange() {
|
22191
|
+
if (this.animation) {
|
22192
|
+
this.animation.playbackRate = this.playbackRate;
|
22193
|
+
}
|
22194
|
+
}
|
22195
|
+
/** Clears all keyframe effects caused by this animation and aborts its playback. */
|
22196
|
+
async cancel() {
|
22197
|
+
this.animation?.cancel();
|
22198
|
+
}
|
22199
|
+
/** Sets the playback time to the end of the animation corresponding to the current playback direction. */
|
22200
|
+
async finish() {
|
22201
|
+
this.animation?.finish();
|
22202
|
+
}
|
22203
|
+
render() {
|
22204
|
+
return (hAsync(Host, null, hAsync("slot", { ref: (slot) => (this.defaultSlot = slot), onSlotchange: this.handleSlotChange })));
|
22205
|
+
}
|
22206
|
+
static get watchers() { return {
|
22207
|
+
"name": ["handleAnimationChange"],
|
22208
|
+
"delay": ["handleAnimationChange"],
|
22209
|
+
"direction": ["handleAnimationChange"],
|
22210
|
+
"duration": ["handleAnimationChange"],
|
22211
|
+
"easing": ["handleAnimationChange"],
|
22212
|
+
"endDelay": ["handleAnimationChange"],
|
22213
|
+
"fill": ["handleAnimationChange"],
|
22214
|
+
"iterations": ["handleAnimationChange"],
|
22215
|
+
"iterationStart": ["handleAnimationChange"],
|
22216
|
+
"keyframes": ["handleAnimationChange"],
|
22217
|
+
"play": ["handlePlayChange"],
|
22218
|
+
"playbackRate": ["handlePlaybackRateChange"]
|
22219
|
+
}; }
|
22220
|
+
static get style() { return "/*!@:host*/.sc-nano-animation-h {\n display: contents;\n }"; }
|
22221
|
+
static get cmpMeta() { return {
|
22222
|
+
"$flags$": 9,
|
22223
|
+
"$tagName$": "nano-animation",
|
22224
|
+
"$members$": {
|
22225
|
+
"name": [1],
|
22226
|
+
"play": [1540],
|
22227
|
+
"delay": [2],
|
22228
|
+
"direction": [1],
|
22229
|
+
"duration": [2],
|
22230
|
+
"easing": [1],
|
22231
|
+
"endDelay": [2, "end-delay"],
|
22232
|
+
"fill": [1],
|
22233
|
+
"iterations": [2],
|
22234
|
+
"iterationStart": [2, "iteration-start"],
|
22235
|
+
"keyframes": [16],
|
22236
|
+
"playbackRate": [2, "playback-rate"],
|
22237
|
+
"currentTime": [6146, "current-time"],
|
22238
|
+
"cancel": [64],
|
22239
|
+
"finish": [64]
|
22240
|
+
},
|
22241
|
+
"$listeners$": undefined,
|
22242
|
+
"$lazyBundleId$": "-",
|
22243
|
+
"$attrsToReflect$": [["play", "play"]]
|
22244
|
+
}; }
|
22245
|
+
}
|
22246
|
+
|
20921
22247
|
const navItemCss = "/*!@:host*/.sc-nano-nav-item-h{box-sizing:border-box}/*!@*,\n*::before,\n*::after*/*.sc-nano-nav-item,*.sc-nano-nav-item::before,*.sc-nano-nav-item::after{box-sizing:border-box}/*!@[hidden]*/[hidden].sc-nano-nav-item{display:none !important}/*!@:host*/.sc-nano-nav-item-h{opacity:inherit;display:block;color:var(--color) !important;margin:var(--margin);outline:none !important}/*!@:host .nav-item,\n:host .link*/.sc-nano-nav-item-h .nav-item.sc-nano-nav-item,.sc-nano-nav-item-h .link.sc-nano-nav-item{outline:none !important;border-radius:inherit}/*!@:host ::slotted(*),\n:host **/.sc-nano-nav-item-h .sc-nano-nav-item-s>*,.sc-nano-nav-item-h *.sc-nano-nav-item{box-sizing:border-box}/*!@:host ::slotted(button),\n:host button*/.sc-nano-nav-item-h .sc-nano-nav-item-s>button,.sc-nano-nav-item-h button.sc-nano-nav-item{background:none;border:none;margin:0}/*!@:host ::slotted(button),\n:host ::slotted(a),\n:host ::slotted(a:visited),\n:host button,\n:host a,\n:host a:visited*/.sc-nano-nav-item-h .sc-nano-nav-item-s>button,.sc-nano-nav-item-h .sc-nano-nav-item-s>a,.sc-nano-nav-item-h .sc-nano-nav-item-s>a:visited,.sc-nano-nav-item-h button.sc-nano-nav-item,.sc-nano-nav-item-h a.sc-nano-nav-item,.sc-nano-nav-item-h a.sc-nano-nav-item:visited{font-family:inherit;font-size:inherit;font-stretch:inherit;font-style:inherit;font-weight:inherit;letter-spacing:inherit;text-decoration:inherit;text-overflow:inherit;text-transform:inherit;text-align:inherit;white-space:inherit;color:inherit;padding-inline:var(--padding-start) var(--padding-end);padding-block:var(--padding-top) var(--padding-bottom);display:var(--display, block);white-space:nowrap;color:var(--color) !important;background-color:var(--bg-color);line-height:inherit;outline:none !important}/*!@:host ::slotted(nano-icon[slot=icon-start])*/.sc-nano-nav-item-h .sc-nano-nav-item-s>nano-icon[slot=icon-start]{padding-inline-end:var(--padding-end)}/*!@:host ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h .sc-nano-nav-item-s>nano-icon[slot=icon-end]{padding-inline-start:var(--padding-start)}/*!@:host .link ::slotted(nano-icon[slot=icon-start])*/.sc-nano-nav-item-h .link .sc-nano-nav-item-s>nano-icon[slot=icon-start]{padding-inline:var(--padding-start) 0}/*!@:host .link ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h .link .sc-nano-nav-item-s>nano-icon[slot=icon-end]{padding-inline:0 var(--padding-end)}/*!@:host .link,\n:host button,\n:host a*/.sc-nano-nav-item-h .link.sc-nano-nav-item,.sc-nano-nav-item-h button.sc-nano-nav-item,.sc-nano-nav-item-h a.sc-nano-nav-item{border-block-end:var(--border-bottom);display:flex;align-items:center;border-radius:inherit}/*!@:host .secondary-menu*/.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{display:none}/*!@:host ::slotted(a:hover),\n:host ::slotted(button:hover),\n:host .link:hover,\n:host button:hover,\n:host a:hover*/.sc-nano-nav-item-h .sc-nano-nav-item-s>a:hover,.sc-nano-nav-item-h .sc-nano-nav-item-s>button:hover,.sc-nano-nav-item-h .link.sc-nano-nav-item:hover,.sc-nano-nav-item-h button.sc-nano-nav-item:hover,.sc-nano-nav-item-h a.sc-nano-nav-item:hover{text-decoration:inherit !important}/*!@:host button:focus-visible,\n:host a:focus-visible*/.sc-nano-nav-item-h button.sc-nano-nav-item:focus-visible,.sc-nano-nav-item-h a.sc-nano-nav-item:focus-visible{color:var(--color-focus, var(--color-hover, var(--color))) !important;background-color:var(--bg-color-focus, var(--bg-color-hover, var(--bg-color)));box-shadow:var(--nano-control-focus-shadow, 0 0 0 0.1875rem var(--nano-control-focus-color, rgba(144, 198, 231, 0.8)))}/*!@:host ::slotted(a:focus-visible),\n:host ::slotted(button:focus-visible)*/.sc-nano-nav-item-h .sc-nano-nav-item-s>a:focus-visible,.sc-nano-nav-item-h .sc-nano-nav-item-s>button:focus-visible{color:var(--color-focus, var(--color-hover, var(--color))) !important;background-color:var(--bg-color-focus, var(--bg-color-hover, var(--bg-color)));box-shadow:var(--nano-control-focus-shadow, 0 0 0 0.1875rem var(--nano-control-focus-color, rgba(144, 198, 231, 0.8)))}/*!@.nav-item.selected .link,\n.nav-item.selected button,\n.nav-item.selected a*/.nav-item.selected.sc-nano-nav-item .link.sc-nano-nav-item,.nav-item.selected.sc-nano-nav-item button.sc-nano-nav-item,.nav-item.selected.sc-nano-nav-item a.sc-nano-nav-item{color:var(--color-selected, var(--color-open, var(--color))) !important;background-color:var(--bg-color-selected, var(--bg-color-open, var(--bg-color)))}/*!@.nav-item.secondary-open button,\n.nav-item.secondary-open a*/.nav-item.secondary-open.sc-nano-nav-item button.sc-nano-nav-item,.nav-item.secondary-open.sc-nano-nav-item a.sc-nano-nav-item{color:var(--color-open, var(--color-selected, var(--color))) !important;background-color:var(--bg-color-open, var(--secondary-bg-color, var(--bg-color-selected, var(--bg-color))))}/*!@.nav-item.disabled*/.nav-item.disabled.sc-nano-nav-item{opacity:0.6}/*!@.nav-item.disabled button,\n.nav-item.disabled a*/.nav-item.disabled.sc-nano-nav-item button.sc-nano-nav-item,.nav-item.disabled.sc-nano-nav-item a.sc-nano-nav-item{color:var(--color-disabled, var(--color)) !important}/*!@.nav-item:not(.nano-menu) ::slotted(a:hover),\n.nav-item:not(.nano-menu) ::slotted(button:hover),\n.nav-item:not(.nano-menu) .link:hover,\n.nav-item:not(.nano-menu) button:hover,\n.nav-item:not(.nano-menu) a:hover*/.nav-item:not(.nano-menu) .sc-nano-nav-item-s>a:hover,.nav-item:not(.nano-menu) .sc-nano-nav-item-s>button:hover,.nav-item.sc-nano-nav-item:not(.nano-menu) .link.sc-nano-nav-item:hover,.nav-item.sc-nano-nav-item:not(.nano-menu) button.sc-nano-nav-item:hover,.nav-item.sc-nano-nav-item:not(.nano-menu) a.sc-nano-nav-item:hover{color:var(--color-hover, var(--color-hover, var(--color))) !important;background-color:var(--bg-color-hover, var(--bg-color-focus, var(--bg-color)))}/*!@:host(.has-focus) .link*/.has-focus.sc-nano-nav-item-h .link.sc-nano-nav-item{color:var(--color-focus, var(--color-hover, var(--color))) !important;background-color:var(--bg-color-focus, var(--bg-color-hover, var(--bg-color)));outline:var(--focus-outline, 5px auto -webkit-focus-ring-color)}/*!@:host(.nano-global-nav-menu) a,\n:host(.nano-global-nav-menu) a:visited,\n:host(.nano-global-nav-menu) button,\n:host(.nano-global-nav-menu) .link,\n:host(.nano-menu) a,\n:host(.nano-menu) a:visited,\n:host(.nano-menu) button,\n:host(.nano-menu) .link*/.nano-global-nav-menu.sc-nano-nav-item-h a.sc-nano-nav-item,.nano-global-nav-menu.sc-nano-nav-item-h a.sc-nano-nav-item:visited,.nano-global-nav-menu.sc-nano-nav-item-h button.sc-nano-nav-item,.nano-global-nav-menu.sc-nano-nav-item-h .link.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h a.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h a.sc-nano-nav-item:visited,.nano-menu.sc-nano-nav-item-h button.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h .link.sc-nano-nav-item{display:flex;justify-content:flex-start;flex-direction:row;align-items:center;color:currentcolor;text-decoration:inherit;white-space:normal;cursor:pointer;line-height:1.2;inline-size:100%}/*!@:host(.nano-global-nav-menu) .text,\n:host(.nano-menu) .text*/.nano-global-nav-menu.sc-nano-nav-item-h .text.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h .text.sc-nano-nav-item{padding-inline:0 var(--padding-end);flex:1}/*!@:host(.nano-global-nav-menu) ::slotted(a),\n:host(.nano-global-nav-menu) ::slotted(button),\n:host(.nano-menu) ::slotted(a),\n:host(.nano-menu) ::slotted(button)*/.sc-nano-nav-item-h.nano-global-nav-menu .sc-nano-nav-item-s>a,.sc-nano-nav-item-h.nano-global-nav-menu .sc-nano-nav-item-s>button,.sc-nano-nav-item-h.nano-menu .sc-nano-nav-item-s>a,.sc-nano-nav-item-h.nano-menu .sc-nano-nav-item-s>button{flex:1}/*!@:host(.nano-global-nav-menu) .secondary-menu,\n:host(.nano-menu) .secondary-menu*/.nano-global-nav-menu.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{display:none;position:absolute;color:var(--secondary-color, currentcolor);min-block-size:100%;inset-block-start:0;inset-inline-start:0;inline-size:100%;z-index:1;opacity:0;transition:opacity 0.3s ease, transform 0.3s ease;background-color:var(--secondary-bg-color, white);transform:translate3d(100%, 0, 0)}/*!@:host(.nano-global-nav-menu) .secondary-menu:focus,\n:host(.nano-menu) .secondary-menu:focus*/.nano-global-nav-menu.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item:focus,.nano-menu.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item:focus{outline:none}/*!@:host(.nano-global-nav-menu) .secondary-menu.open,\n:host(.nano-menu) .secondary-menu.open*/.nano-global-nav-menu.sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item,.nano-menu.sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item{opacity:1;transform:translate3d(0, 0, 0);transition:opacity 0.3s ease, transform 0.3s ease}/*!@:host(.nano-global-nav-menu) ::slotted(nano-icon[slot=icon-start])*/.sc-nano-nav-item-h.nano-global-nav-menu .sc-nano-nav-item-s>nano-icon[slot=icon-start]{padding-inline:0 var(--padding-end);padding-block:0}/*!@:host(.nano-global-nav-menu) ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h.nano-global-nav-menu .sc-nano-nav-item-s>nano-icon[slot=icon-end]{padding-inline:0 var(--padding-end);padding-block:0;font-size:10px;flex:0 0 10px;pointer-events:none}/*!@:host(.nano-global-nav-menu) button ::slotted(nano-icon[slot=icon-end]),\n:host(.nano-global-nav-menu) a ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h.nano-global-nav-menu button .sc-nano-nav-item-s>nano-icon[slot=icon-end],.sc-nano-nav-item-h.nano-global-nav-menu a .sc-nano-nav-item-s>nano-icon[slot=icon-end]{padding:0}/*!@:host(.nano-global-nav-menu[dir=rtl]) .secondary-menu,\n:host(.nano-menu[dir=rtl]) .secondary-menu*/.nano-global-nav-menu[dir=rtl].sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item,.nano-menu[dir=rtl].sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{transform:translateX(-100%)}/*!@:host(.nano-global-nav-menu[dir=rtl]) .secondary-menu.open,\n:host(.nano-menu[dir=rtl]) .secondary-menu.open*/.nano-global-nav-menu[dir=rtl].sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item,.nano-menu[dir=rtl].sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item{transform:translateX(0)}/*!@:host(.nano-menu) ::slotted(a:focus),\n:host(.nano-menu) ::slotted(button:focus)*/.sc-nano-nav-item-h.nano-menu .sc-nano-nav-item-s>a:focus,.sc-nano-nav-item-h.nano-menu .sc-nano-nav-item-s>button:focus{box-shadow:none}/*!@:host(.nano-menu) .secondary-menu-content*/.nano-menu.sc-nano-nav-item-h .secondary-menu-content.sc-nano-nav-item{padding-inline:var(--secondary-padding-start) var(--secondary-padding-end);padding-block:var(--secondary-padding-top) var(--secondary-padding-bottom)}/*!@:host(.nano-global-nav-bar) .link,\n:host(.nano-global-nav-bar) a,\n:host(.nano-global-nav-bar) button*/.nano-global-nav-bar.sc-nano-nav-item-h .link.sc-nano-nav-item,.nano-global-nav-bar.sc-nano-nav-item-h a.sc-nano-nav-item,.nano-global-nav-bar.sc-nano-nav-item-h button.sc-nano-nav-item{display:flex;align-items:center;cursor:pointer}/*!@:host(.nano-global-nav-bar) .text*/.nano-global-nav-bar.sc-nano-nav-item-h .text.sc-nano-nav-item{flex:1 0 auto}/*!@:host(.nano-global-nav-bar) ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h.nano-global-nav-bar .sc-nano-nav-item-s>nano-icon[slot=icon-end]{margin-inline:var(--padding-end) 0;margin-block:0}/*!@:host(.nano-global-nav-bar) ::slotted(nano-icon[slot=icon-start])*/.sc-nano-nav-item-h.nano-global-nav-bar .sc-nano-nav-item-s>nano-icon[slot=icon-start]{margin-inline:0 var(--padding-start);margin-block:0}/*!@:host(.nano-global-nav-bar) ::slotted(a),\n:host(.nano-global-nav-bar) button*/.sc-nano-nav-item-h.nano-global-nav-bar .sc-nano-nav-item-s>a,.nano-global-nav-bar.sc-nano-nav-item-h button.sc-nano-nav-item{position:relative}/*!@:host(.nano-global-nav-bar) ::slotted(a)::before,\n:host(.nano-global-nav-bar) button::before*/.sc-nano-nav-item-h.nano-global-nav-bar .sc-nano-nav-item-s>a::before,.nano-global-nav-bar.sc-nano-nav-item-h button.sc-nano-nav-item::before{content:\"\";background-color:#0c5a71;block-size:9px;inset-inline:0 5px;inset-block-end:-22px;position:absolute;transform:translateZ(0) scaleX(0);transform-origin:0;transition:0.2s ease transform}/*!@:host(.nano-global-nav-bar) .selected button::before,\n:host(.nano-global-nav-bar) .secondary-open button::before*/.nano-global-nav-bar.sc-nano-nav-item-h .selected.sc-nano-nav-item button.sc-nano-nav-item::before,.nano-global-nav-bar.sc-nano-nav-item-h .secondary-open.sc-nano-nav-item button.sc-nano-nav-item::before{transform:translateZ(0) scaleX(1)}/*!@:host(.nano-global-nav-bar.selected) ::slotted(a)::before*/.sc-nano-nav-item-h.nano-global-nav-bar.selected .sc-nano-nav-item-s>a::before{transform:translateZ(0) scaleX(1)}/*!@:host(.nano-global-nav-bar.has-secondary) .secondary-open button::before*/.nano-global-nav-bar.has-secondary.sc-nano-nav-item-h .secondary-open.sc-nano-nav-item button.sc-nano-nav-item::before{opacity:0.7}/*!@:host(.nano-global-nav-bar.has-secondary) .secondary-menu*/.nano-global-nav-bar.has-secondary.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{display:none;transition:transform 0.3s ease;transform:translateY(-100%) translateZ(0);background-color:var(--secondary-bg-color, #196c82);color:var(--secondary-color);position:absolute;box-shadow:0 1px 25px 0 rgba(0, 0, 0, 0.15);inset-inline:0;z-index:-2;outline:none}/*!@:host(.nano-global-nav-bar.has-secondary) .secondary-menu.open*/.nano-global-nav-bar.has-secondary.sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item{transform:translateY(12px) translateZ(0)}/*!@:host(.nano-menu-drawer) .link,\n:host(.nano-menu-drawer) a,\n:host(.nano-menu-drawer) button*/.nano-menu-drawer.sc-nano-nav-item-h .link.sc-nano-nav-item,.nano-menu-drawer.sc-nano-nav-item-h a.sc-nano-nav-item,.nano-menu-drawer.sc-nano-nav-item-h button.sc-nano-nav-item{padding-block:calc(var(--padding-top) / 2) calc(var(--padding-bottom) / 2);padding-inline:var(--padding-start) 0;display:flex;justify-content:flex-start;flex-direction:row;align-items:center;color:currentcolor;text-decoration:inherit;white-space:normal;border:none;cursor:pointer;line-height:1.2;inline-size:100%}/*!@:host(.nano-menu-drawer) .text*/.nano-menu-drawer.sc-nano-nav-item-h .text.sc-nano-nav-item{padding-inline:0 var(--padding-end);text-align:start;flex:0 1 auto;min-inline-size:130px;inline-size:130px}/*!@:host(.nano-menu-drawer) ::slotted(nano-icon[slot=icon-start])*/.sc-nano-nav-item-h.nano-menu-drawer .sc-nano-nav-item-s>nano-icon[slot=icon-start]{padding-inline:0 var(--padding-end);padding-block:0;font-size:var(--icon-size);inline-size:var(--icon-size);flex:0 0 var(--icon-size)}/*!@:host(.nano-menu-drawer) ::slotted(nano-icon[slot=icon-end])*/.sc-nano-nav-item-h.nano-menu-drawer .sc-nano-nav-item-s>nano-icon[slot=icon-end]{padding:0 var(--padding-end) 0 0;font-size:10px;flex:0 0 20px;min-inline-size:20px}/*!@:host(.nano-menu-drawer) .secondary-menu*/.nano-menu-drawer.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{display:none;position:absolute;background-color:var(--secondary-bg-color);color:var(--secondary-color);block-size:100vh;inset-inline:auto 0;inset-block:0;transform:translateX(0);z-index:-1;transition:transform 0.3s ease, opacity 0.2s ease;overflow-y:auto;inline-size:var(--secondary-width, 400px);max-inline-size:62vw;opacity:1;padding-inline:var(--secondary-padding-start, var(--padding-start)) var(--secondary-padding-end, var(--padding-end));padding-block:var(--secondary-padding-top, var(--padding-top)) var(--secondary-padding-bottom, var(--padding-bottom))}/*!@:host(.nano-menu-drawer) .secondary-menu:focus*/.nano-menu-drawer.sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item:focus{outline:none}/*!@:host(.nano-menu-drawer) .secondary-menu.open*/.nano-menu-drawer.sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item{transform:translateX(100%)}/*!@:host(.nano-menu-drawer) .notification*/.nano-menu-drawer.sc-nano-nav-item-h .notification.sc-nano-nav-item{position:relative}/*!@:host(.nano-menu-drawer) .notification::after*/.nano-menu-drawer.sc-nano-nav-item-h .notification.sc-nano-nav-item::after{content:\"\";display:block;position:absolute;inline-size:6px;block-size:6px;background-color:#ef4135;inset-inline-start:10px;inset-block-start:7px;border-radius:50%}@media (min-width: 52em){/*!@:host(.nano-menu-drawer) .notification::after*/.nano-menu-drawer.sc-nano-nav-item-h .notification.sc-nano-nav-item::after{inline-size:7px;block-size:7px;inset-inline-start:8px;inset-block-start:5px}}/*!@:host(.nano-menu-drawer[dir=rtl]) .secondary-menu*/.nano-menu-drawer[dir=rtl].sc-nano-nav-item-h .secondary-menu.sc-nano-nav-item{transform:translateX(0%)}/*!@:host(.nano-menu-drawer[dir=rtl]) .secondary-menu.open*/.nano-menu-drawer[dir=rtl].sc-nano-nav-item-h .secondary-menu.open.sc-nano-nav-item{transform:translateX(-100%);opacity:1}";
|
20922
22248
|
|
20923
22249
|
/**
|
@@ -22501,7 +23827,7 @@ class ResizeObserve {
|
|
22501
23827
|
"currentHeight": ["dimensionChanged"],
|
22502
23828
|
"currentWidth": ["dimensionChanged"]
|
22503
23829
|
}; }
|
22504
|
-
static get style() { return "/*!@nano-resize-observe*/nano-resize-observe.sc-nano-resize-observe { display:
|
23830
|
+
static get style() { return "/*!@nano-resize-observe*/nano-resize-observe.sc-nano-resize-observe { display: block }"; }
|
22505
23831
|
static get cmpMeta() { return {
|
22506
23832
|
"$flags$": 9,
|
22507
23833
|
"$tagName$": "nano-resize-observe",
|
@@ -27857,32 +29183,6 @@ class Sticker {
|
|
27857
29183
|
else
|
27858
29184
|
this.host.parentNode.insertBefore(this.trigger, this.host.nextSibling);
|
27859
29185
|
}
|
27860
|
-
/**
|
27861
|
-
* Gets the 'closest' scrolling parent
|
27862
|
-
* @returns either an element with `overflow: scroll | auto` or the parent Document
|
27863
|
-
*/
|
27864
|
-
getScrollParent() {
|
27865
|
-
const regex = /(auto|scroll)/;
|
27866
|
-
const parents = (_node, ps) => {
|
27867
|
-
if (_node.parentNode === null) {
|
27868
|
-
return ps;
|
27869
|
-
}
|
27870
|
-
return parents(_node.parentNode, ps.concat([_node]));
|
27871
|
-
};
|
27872
|
-
const style = (_node, prop) => getComputedStyle(_node, null).getPropertyValue(prop);
|
27873
|
-
const overflow = (_node) => style(_node, 'overflow') +
|
27874
|
-
style(_node, 'overflow-y') +
|
27875
|
-
style(_node, 'overflow-x');
|
27876
|
-
const scroll = (_node) => regex.test(overflow(_node));
|
27877
|
-
const docHeight = document.documentElement.getBoundingClientRect().height;
|
27878
|
-
const scrollParent = (_node) => {
|
27879
|
-
if (!(typeof _node === 'object'))
|
27880
|
-
return;
|
27881
|
-
const ps = parents(_node, []);
|
27882
|
-
return (ps.find((ele) => scroll(ele) && ele.getBoundingClientRect().height !== docHeight) || document);
|
27883
|
-
};
|
27884
|
-
return scrollParent(this.host);
|
27885
|
-
}
|
27886
29186
|
shouldStick(data) {
|
27887
29187
|
let scrollAmt;
|
27888
29188
|
if (this.positions.includes('top')) {
|
@@ -27908,7 +29208,7 @@ class Sticker {
|
|
27908
29208
|
}
|
27909
29209
|
bootstrapGurantor() {
|
27910
29210
|
this.hasBootstrapped = true;
|
27911
|
-
this.scrollParent = this.scrollParent || this.
|
29211
|
+
this.scrollParent = this.scrollParent || findScrollParent(this.host);
|
27912
29212
|
this.isRootSticker = this.scrollParent instanceof Document;
|
27913
29213
|
this.trigger = this.trigger || document.createElement('div');
|
27914
29214
|
this.trigger.innerHTML = ' ';
|
@@ -29747,27 +31047,6 @@ function classListToStr(classes) {
|
|
29747
31047
|
});
|
29748
31048
|
return classString;
|
29749
31049
|
}
|
29750
|
-
/**
|
29751
|
-
* Attempts to find the closes scrolling parental element
|
29752
|
-
* @param element - the element from which to traverse up the DOM
|
29753
|
-
* @returns - the closest scrolling parental element
|
29754
|
-
*/
|
29755
|
-
function findScrollParent(element) {
|
29756
|
-
let style = getComputedStyle(element);
|
29757
|
-
const excludeStaticParent = style.position === 'absolute';
|
29758
|
-
const overflowRegex = /(auto|scroll)/;
|
29759
|
-
if (style.position === 'fixed')
|
29760
|
-
return document.documentElement;
|
29761
|
-
for (let parent = element; (parent = parent.parentElement);) {
|
29762
|
-
style = getComputedStyle(parent);
|
29763
|
-
if (excludeStaticParent && style.position === 'static') {
|
29764
|
-
continue;
|
29765
|
-
}
|
29766
|
-
if (overflowRegex.test(style.overflow + style.overflowY + style.overflowX))
|
29767
|
-
return parent;
|
29768
|
-
}
|
29769
|
-
return document.documentElement;
|
29770
|
-
}
|
29771
31050
|
/**
|
29772
31051
|
* Checks whether an element is currently viewable within the viewport
|
29773
31052
|
* @param el - element to check
|
@@ -31436,7 +32715,6 @@ registerComponents([
|
|
31436
32715
|
AlgoliaFilter,
|
31437
32716
|
AlgoliaPagination,
|
31438
32717
|
AlgoliaResults,
|
31439
|
-
AspectRatio,
|
31440
32718
|
Checkbox,
|
31441
32719
|
CheckboxGroup,
|
31442
32720
|
DataList,
|
@@ -31459,8 +32737,10 @@ registerComponents([
|
|
31459
32737
|
IconButton,
|
31460
32738
|
Img,
|
31461
32739
|
Input,
|
32740
|
+
IntersectionObserve,
|
31462
32741
|
Menu,
|
31463
32742
|
MenuDrawer,
|
32743
|
+
NanoAnimation,
|
31464
32744
|
NavItem,
|
31465
32745
|
Option,
|
31466
32746
|
OverflowNav,
|