@zenpatient-org/healthspan-marketing-ui 0.1.23 → 0.1.24

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. package/dist/components/Accordion/Accordion.cjs.js +1 -0
  2. package/dist/components/Accordion/Accordion.d.ts +8 -0
  3. package/dist/components/Accordion/Accordion.es.js +27 -0
  4. package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
  5. package/dist/components/Accordion/accordion.module.css.es.js +7 -0
  6. package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
  7. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
  8. package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
  9. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
  10. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
  11. package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
  12. package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
  13. package/dist/components/Accordion/components/index.d.ts +1 -0
  14. package/dist/components/Accordion/index.d.ts +1 -0
  15. package/dist/components/Accordion/types.d.ts +6 -0
  16. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
  17. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
  18. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
  19. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
  20. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
  21. package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
  22. package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
  23. package/dist/components/Icon/constants.cjs.js +1 -1
  24. package/dist/components/Icon/constants.d.ts +3 -0
  25. package/dist/components/Icon/constants.es.js +4 -1
  26. package/dist/components/Icon/iconsMap.cjs.js +1 -1
  27. package/dist/components/Icon/iconsMap.es.js +104 -98
  28. package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
  29. package/dist/components/IconBracket/IconBracket.d.ts +3 -0
  30. package/dist/components/IconBracket/IconBracket.es.js +16 -0
  31. package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
  32. package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
  33. package/dist/components/IconBracket/index.d.ts +1 -0
  34. package/dist/components/IconBracket/types.d.ts +8 -0
  35. package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
  36. package/dist/components/PlayButton/PlayButton.d.ts +8 -0
  37. package/dist/components/PlayButton/PlayButton.es.js +9 -0
  38. package/dist/components/PlayButton/index.d.ts +1 -0
  39. package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
  40. package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
  41. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  42. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
  43. package/dist/components/ProgressButton/ProgressButton.es.js +17 -13
  44. package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
  45. package/dist/components/RatingStars/RatingStars.d.ts +6 -0
  46. package/dist/components/RatingStars/RatingStars.es.js +18 -0
  47. package/dist/components/RatingStars/index.d.ts +1 -0
  48. package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
  49. package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
  50. package/dist/healthspan-marketing-ui.css +1 -1
  51. package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
  52. package/dist/icons/action/bracket-left.svg.es.js +5 -0
  53. package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
  54. package/dist/icons/action/bracket-right.svg.es.js +5 -0
  55. package/dist/icons/action/play.svg.cjs.js +1 -0
  56. package/dist/icons/action/play.svg.es.js +5 -0
  57. package/dist/modules/Compare/Compare.cjs.js +1 -0
  58. package/dist/modules/Compare/Compare.es.js +26 -0
  59. package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
  60. package/dist/modules/Compare/compare.module.css.es.js +13 -0
  61. package/dist/modules/FAQ/FAQ.cjs.js +1 -0
  62. package/dist/modules/FAQ/FAQ.d.ts +3 -0
  63. package/dist/modules/FAQ/FAQ.es.js +17 -0
  64. package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
  65. package/dist/modules/FAQ/faq.module.css.es.js +17 -0
  66. package/dist/modules/FAQ/index.d.ts +1 -0
  67. package/dist/modules/FAQ/types.d.ts +10 -0
  68. package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
  69. package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
  70. package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
  71. package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
  72. package/dist/modules/ImageWithText/imageWithText.module.css.es.js +21 -0
  73. package/dist/modules/ImageWithText/index.d.ts +1 -0
  74. package/dist/modules/ImageWithText/types.d.ts +9 -0
  75. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
  76. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
  77. package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
  78. package/dist/modules/LongevityPathways/index.d.ts +2 -0
  79. package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
  80. package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
  81. package/dist/modules/LongevityPathways/types.d.ts +9 -0
  82. package/dist/modules/OptimalHealth/OptimalHealth.es.js +19 -2
  83. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
  84. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
  85. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
  86. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
  87. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
  88. package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
  89. package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
  90. package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
  91. package/dist/modules/Testimonial/Testimonial.es.js +88 -0
  92. package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
  93. package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
  94. package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
  95. package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
  96. package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
  97. package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
  98. package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
  99. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
  100. package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
  101. package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
  102. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
  103. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
  104. package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
  105. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
  106. package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
  107. package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
  108. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
  109. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
  110. package/dist/modules/Testimonial/index.d.ts +1 -0
  111. package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
  112. package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
  113. package/dist/modules/Testimonial/types.d.ts +26 -0
  114. package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
  115. package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
  116. package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
  117. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
  118. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
  119. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
  120. package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
  121. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
  122. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
  123. package/dist/modules/TrackProgress/index.d.ts +1 -0
  124. package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
  125. package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
  126. package/dist/modules/TrackProgress/types.d.ts +6 -0
  127. package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
  128. package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
  129. package/dist/node_modules/gsap/Flip.cjs.js +8 -0
  130. package/dist/node_modules/gsap/Flip.es.js +525 -0
  131. package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
  132. package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
  133. package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
  134. package/dist/pageComponents/Gradient/index.d.ts +1 -0
  135. package/package.json +65 -9
@@ -0,0 +1,23 @@
1
+ import { jsxs as i, jsx as a } from "react/jsx-runtime";
2
+ import { Typography as t } from "../../../../components/Typography/Typography.es.js";
3
+ import { Icon as m } from "../../../../components/Icon/Icon.es.js";
4
+ import { EIconName as c } from "../../../../components/Icon/constants.es.js";
5
+ import o from "./product.module.css.es.js";
6
+ const g = ({ image: n, link: r, name: e }) => {
7
+ const l = (s) => {
8
+ s.stopPropagation(), window.location.pathname === new URL(r, window.location.origin).pathname ? window.scrollTo({ top: 0, behavior: "smooth" }) : window.location.href = r;
9
+ };
10
+ return /* @__PURE__ */ i("button", { className: o.root, onClick: l, children: [
11
+ /* @__PURE__ */ a("div", { className: o.imageContainer, children: /* @__PURE__ */ a("img", { src: n, alt: e, className: o.image }) }),
12
+ /* @__PURE__ */ i("div", { className: o.infoContainer, children: [
13
+ /* @__PURE__ */ i("div", { className: o.textContainer, children: [
14
+ /* @__PURE__ */ a(t, { as: "p", defaultVariant: "labelXs", mobileVariant: "labelSm", emphasis: !0, weight: "regular", children: "REVIEWED" }),
15
+ /* @__PURE__ */ a(t, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", weight: "regular", children: e })
16
+ ] }),
17
+ /* @__PURE__ */ a(m, { name: c.ARROW_OUTWARD, className: o.arrowIcon })
18
+ ] })
19
+ ] });
20
+ };
21
+ export {
22
+ g as Product
23
+ };
@@ -0,0 +1 @@
1
+ export { Product } from './Product';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o="product-module__root___0lD1V",t="product-module__imageContainer___2XtUY",e="product-module__image___VRpMy",n="product-module__infoContainer___Sg5MV",r="product-module__textContainer___TJwbU",_="product-module__arrowIcon___-Od3J",a={root:o,imageContainer:t,image:e,infoContainer:n,textContainer:r,arrowIcon:_};exports.arrowIcon=_;exports.default=a;exports.image=e;exports.imageContainer=t;exports.infoContainer=n;exports.root=o;exports.textContainer=r;
@@ -0,0 +1,17 @@
1
+ const o = "product-module__root___0lD1V", t = "product-module__imageContainer___2XtUY", n = "product-module__image___VRpMy", _ = "product-module__infoContainer___Sg5MV", e = "product-module__textContainer___TJwbU", r = "product-module__arrowIcon___-Od3J", a = {
2
+ root: o,
3
+ imageContainer: t,
4
+ image: n,
5
+ infoContainer: _,
6
+ textContainer: e,
7
+ arrowIcon: r
8
+ };
9
+ export {
10
+ r as arrowIcon,
11
+ a as default,
12
+ n as image,
13
+ t as imageContainer,
14
+ _ as infoContainer,
15
+ o as root,
16
+ e as textContainer
17
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const a=require("react/jsx-runtime"),r=require("../../../../components/Typography/Typography.cjs.js"),n=require("../../../../components/RatingStars/RatingStars.cjs.js"),l=require("../Product/Product.cjs.js"),t=require("./textCard.module.css.cjs.js"),o=({background:i,review:e,product:s})=>a.jsxs("div",{className:t.default.root,style:{backgroundImage:`url(${i.url})`},children:[a.jsx(n.RatingStars,{rating:e.stars??0}),a.jsxs("div",{className:t.default.reviewContainer,children:[a.jsx(r.Typography,{as:"h3",defaultVariant:"headingSm",mobileVariant:"headingXs",weight:"regular",children:e.title}),a.jsx(r.Typography,{as:"p",defaultVariant:"bodyMd",mobileVariant:"bodySm",weight:"regular",children:e.description}),e.author.name&&a.jsx(r.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",weight:"regular",emphasis:!0,className:t.default.reviewAuthor,children:e.author.name})]}),a.jsxs("div",{className:t.default.infoContainer,children:[e.author.username&&a.jsx(r.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:e.author.username}),a.jsx(l.Product,{image:s.image,name:s.name,link:s.link})]})]});exports.TextCard=o;
@@ -0,0 +1,3 @@
1
+ import { RichReviewCard } from '../../types';
2
+
3
+ export declare const TextCard: ({ background, review, product }: RichReviewCard) => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1,31 @@
1
+ import { jsxs as l, jsx as r } from "react/jsx-runtime";
2
+ import { Typography as e } from "../../../../components/Typography/Typography.es.js";
3
+ import { RatingStars as m } from "../../../../components/RatingStars/RatingStars.es.js";
4
+ import { Product as s } from "../Product/Product.es.js";
5
+ import i from "./textCard.module.css.es.js";
6
+ const c = ({ background: n, review: a, product: t }) => /* @__PURE__ */ l("div", { className: i.root, style: { backgroundImage: `url(${n.url})` }, children: [
7
+ /* @__PURE__ */ r(m, { rating: a.stars ?? 0 }),
8
+ /* @__PURE__ */ l("div", { className: i.reviewContainer, children: [
9
+ /* @__PURE__ */ r(e, { as: "h3", defaultVariant: "headingSm", mobileVariant: "headingXs", weight: "regular", children: a.title }),
10
+ /* @__PURE__ */ r(e, { as: "p", defaultVariant: "bodyMd", mobileVariant: "bodySm", weight: "regular", children: a.description }),
11
+ a.author.name && /* @__PURE__ */ r(
12
+ e,
13
+ {
14
+ as: "p",
15
+ defaultVariant: "labelSm",
16
+ mobileVariant: "labelXs",
17
+ weight: "regular",
18
+ emphasis: !0,
19
+ className: i.reviewAuthor,
20
+ children: a.author.name
21
+ }
22
+ )
23
+ ] }),
24
+ /* @__PURE__ */ l("div", { className: i.infoContainer, children: [
25
+ a.author.username && /* @__PURE__ */ r(e, { as: "p", defaultVariant: "labelSm", mobileVariant: "labelXs", emphasis: !0, weight: "regular", children: a.author.username }),
26
+ /* @__PURE__ */ r(s, { image: t.image, name: t.name, link: t.link })
27
+ ] })
28
+ ] });
29
+ export {
30
+ c as TextCard
31
+ };
@@ -0,0 +1 @@
1
+ export { TextCard } from './TextCard';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="textCard-module__root___BsIAR",o="textCard-module__reviewContainer___1uxnk",t="textCard-module__reviewAuthor___nsHUO",r="textCard-module__infoContainer___DqDoR",n={root:e,reviewContainer:o,reviewAuthor:t,infoContainer:r};exports.default=n;exports.infoContainer=r;exports.reviewAuthor=t;exports.reviewContainer=o;exports.root=e;
@@ -0,0 +1,13 @@
1
+ const e = "textCard-module__root___BsIAR", o = "textCard-module__reviewContainer___1uxnk", t = "textCard-module__reviewAuthor___nsHUO", r = "textCard-module__infoContainer___DqDoR", n = {
2
+ root: e,
3
+ reviewContainer: o,
4
+ reviewAuthor: t,
5
+ infoContainer: r
6
+ };
7
+ export {
8
+ n as default,
9
+ r as infoContainer,
10
+ t as reviewAuthor,
11
+ o as reviewContainer,
12
+ e as root
13
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),s=require("react"),f=require("../../../../components/Typography/Typography.cjs.js"),m=require("../../../../components/PlayButton/PlayButton.cjs.js"),p=require("../../../../utils/cn/cn.cjs.js"),y=require("../Product/Product.cjs.js"),t=require("./videoCard.module.css.cjs.js"),g=({product:l,review:c,background:d})=>{const[r,o]=s.useState(!1),n=s.useRef(null),u=s.useRef(null);return s.useEffect(()=>{const a=new IntersectionObserver(([i])=>{!i.isIntersecting&&r&&o(!1)},{threshold:.2});return u.current&&a.observe(u.current),()=>a.disconnect()},[r]),s.useEffect(()=>{!r&&n.current&&(n.current.pause(),n.current.currentTime=0)},[r]),e.jsxs("div",{className:t.default.root,ref:u,onClick:()=>r?o(!1):void 0,style:{backgroundImage:`url(${d.preview})`},children:[e.jsxs("div",{className:t.default.mediaContainer,children:[e.jsx("video",{ref:n,src:d.url,playsInline:!0,controls:!1,muted:!0,loop:!0,className:p.cn(t.default.media,!r&&t.default.mediaHidden)}),!r&&e.jsx("div",{className:t.default.playButton,children:e.jsx(m.PlayButton,{onClick:a=>{var i;a.stopPropagation(),(i=n.current)==null||i.play(),o(!0)}})})]}),e.jsxs("div",{className:t.default.infoContainer,children:[c.author.username&&e.jsx(f.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:c.author.username}),e.jsx(y.Product,{image:l.image,name:l.name,link:l.link})]})]})};exports.VideoCard=g;
@@ -0,0 +1,11 @@
1
+ import { RichReviewCard } from '../../types';
2
+
3
+ type VideoCardProps = {
4
+ background: {
5
+ type: 'video';
6
+ url: string;
7
+ preview: string;
8
+ };
9
+ } & Omit<RichReviewCard, 'background'>;
10
+ export declare const VideoCard: ({ product, review, background }: VideoCardProps) => import("react/jsx-runtime").JSX.Element;
11
+ export {};
@@ -0,0 +1,62 @@
1
+ "use client";
2
+ import { jsxs as m, jsx as n } from "react/jsx-runtime";
3
+ import { useState as p, useRef as d, useEffect as f } from "react";
4
+ import { Typography as h } from "../../../../components/Typography/Typography.es.js";
5
+ import { PlayButton as g } from "../../../../components/PlayButton/PlayButton.es.js";
6
+ import { cn as v } from "../../../../utils/cn/cn.es.js";
7
+ import { Product as y } from "../Product/Product.es.js";
8
+ import r from "./videoCard.module.css.es.js";
9
+ const R = ({ product: s, review: c, background: u }) => {
10
+ const [e, o] = p(!1), t = d(null), l = d(null);
11
+ return f(() => {
12
+ const i = new IntersectionObserver(
13
+ ([a]) => {
14
+ !a.isIntersecting && e && o(!1);
15
+ },
16
+ { threshold: 0.2 }
17
+ );
18
+ return l.current && i.observe(l.current), () => i.disconnect();
19
+ }, [e]), f(() => {
20
+ !e && t.current && (t.current.pause(), t.current.currentTime = 0);
21
+ }, [e]), /* @__PURE__ */ m(
22
+ "div",
23
+ {
24
+ className: r.root,
25
+ ref: l,
26
+ onClick: () => e ? o(!1) : void 0,
27
+ style: { backgroundImage: `url(${u.preview})` },
28
+ children: [
29
+ /* @__PURE__ */ m("div", { className: r.mediaContainer, children: [
30
+ /* @__PURE__ */ n(
31
+ "video",
32
+ {
33
+ ref: t,
34
+ src: u.url,
35
+ playsInline: !0,
36
+ controls: !1,
37
+ muted: !0,
38
+ loop: !0,
39
+ className: v(r.media, !e && r.mediaHidden)
40
+ }
41
+ ),
42
+ !e && /* @__PURE__ */ n("div", { className: r.playButton, children: /* @__PURE__ */ n(
43
+ g,
44
+ {
45
+ onClick: (i) => {
46
+ var a;
47
+ i.stopPropagation(), (a = t.current) == null || a.play(), o(!0);
48
+ }
49
+ }
50
+ ) })
51
+ ] }),
52
+ /* @__PURE__ */ m("div", { className: r.infoContainer, children: [
53
+ c.author.username && /* @__PURE__ */ n(h, { as: "p", defaultVariant: "labelSm", mobileVariant: "labelXs", emphasis: !0, weight: "regular", children: c.author.username }),
54
+ /* @__PURE__ */ n(y, { image: s.image, name: s.name, link: s.link })
55
+ ] })
56
+ ]
57
+ }
58
+ );
59
+ };
60
+ export {
61
+ R as VideoCard
62
+ };
@@ -0,0 +1 @@
1
+ export { VideoCard } from './VideoCard';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="videoCard-module__root___Z-ksD",o="videoCard-module__mediaContainer___ncPuJ",d="videoCard-module__media___KB71R",n="videoCard-module__mediaHidden___6nUdx",i="videoCard-module__playButton___w-Nql",t="videoCard-module__infoContainer___Ddw05",a={root:e,mediaContainer:o,media:d,mediaHidden:n,playButton:i,infoContainer:t};exports.default=a;exports.infoContainer=t;exports.media=d;exports.mediaContainer=o;exports.mediaHidden=n;exports.playButton=i;exports.root=e;
@@ -0,0 +1,17 @@
1
+ const o = "videoCard-module__root___Z-ksD", d = "videoCard-module__mediaContainer___ncPuJ", e = "videoCard-module__media___KB71R", n = "videoCard-module__mediaHidden___6nUdx", _ = "videoCard-module__playButton___w-Nql", i = "videoCard-module__infoContainer___Ddw05", a = {
2
+ root: o,
3
+ mediaContainer: d,
4
+ media: e,
5
+ mediaHidden: n,
6
+ playButton: _,
7
+ infoContainer: i
8
+ };
9
+ export {
10
+ a as default,
11
+ i as infoContainer,
12
+ e as media,
13
+ d as mediaContainer,
14
+ n as mediaHidden,
15
+ _ as playButton,
16
+ o as root
17
+ };
@@ -0,0 +1 @@
1
+ export { Testimonial } from './Testimonial';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="testimonial-module__root___Y3TlQ",o="testimonial-module__headerContainer___-FGrO",t="testimonial-module__headerRow___0JTHr",i="testimonial-module__ratingContainer___U9FDs",n="testimonial-module__content___BCbh-",a="testimonial-module__swiper___Necxi",r="testimonial-module__swiperWrapper___O-8SI",_="testimonial-module__swiperSlide___NvGru",s="testimonial-module__mobileNavigation___C1PT2",l="testimonial-module__desktopNavigation___nwHQV",d={root:e,headerContainer:o,headerRow:t,ratingContainer:i,content:n,swiper:a,swiperWrapper:r,swiperSlide:_,mobileNavigation:s,desktopNavigation:l};exports.content=n;exports.default=d;exports.desktopNavigation=l;exports.headerContainer=o;exports.headerRow=t;exports.mobileNavigation=s;exports.ratingContainer=i;exports.root=e;exports.swiper=a;exports.swiperSlide=_;exports.swiperWrapper=r;
@@ -0,0 +1,25 @@
1
+ const e = "testimonial-module__root___Y3TlQ", o = "testimonial-module__headerContainer___-FGrO", t = "testimonial-module__headerRow___0JTHr", i = "testimonial-module__ratingContainer___U9FDs", _ = "testimonial-module__content___BCbh-", n = "testimonial-module__swiper___Necxi", a = "testimonial-module__swiperWrapper___O-8SI", r = "testimonial-module__swiperSlide___NvGru", s = "testimonial-module__mobileNavigation___C1PT2", l = "testimonial-module__desktopNavigation___nwHQV", d = {
2
+ root: e,
3
+ headerContainer: o,
4
+ headerRow: t,
5
+ ratingContainer: i,
6
+ content: _,
7
+ swiper: n,
8
+ swiperWrapper: a,
9
+ swiperSlide: r,
10
+ mobileNavigation: s,
11
+ desktopNavigation: l
12
+ };
13
+ export {
14
+ _ as content,
15
+ d as default,
16
+ l as desktopNavigation,
17
+ o as headerContainer,
18
+ t as headerRow,
19
+ s as mobileNavigation,
20
+ i as ratingContainer,
21
+ e as root,
22
+ n as swiper,
23
+ r as swiperSlide,
24
+ a as swiperWrapper
25
+ };
@@ -0,0 +1,26 @@
1
+ type TBackground = {
2
+ type: 'image';
3
+ url: string;
4
+ } | {
5
+ type: 'video';
6
+ url: string;
7
+ preview: string;
8
+ };
9
+ export type RichReviewCard = {
10
+ background: TBackground;
11
+ review: {
12
+ title: string;
13
+ description: string;
14
+ author: {
15
+ name?: string;
16
+ username?: string;
17
+ };
18
+ stars?: number;
19
+ };
20
+ product: {
21
+ image: string;
22
+ name: string;
23
+ link: string;
24
+ };
25
+ };
26
+ export {};
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),o=require("../../components/HighlightedTitle/HighlightedTitle.cjs.js"),a=require("../../components/Typography/Typography.cjs.js"),n=require("./components/TimelineContent/TimelineContent.cjs.js"),r=require("./trackProgress.module.css.cjs.js"),l=({title:t,description:i,tabs:s})=>e.jsx("section",{className:r.default.root,children:e.jsxs("div",{className:r.default.container,children:[e.jsxs("div",{className:r.default.headerContainer,children:[e.jsx(o.HighlightedTitle,{title:t,colorScheme:"dark"}),e.jsx(a.Typography,{as:"p",defaultVariant:"bodyXl",mobileVariant:"bodySm",className:r.default.headerDescription,children:i})]}),e.jsx(n.TimelineContent,{tabs:s})]})});exports.TrackProgress=l;
@@ -0,0 +1,10 @@
1
+ import { ReactNode } from 'react';
2
+ import { TTrackProgressTab } from './types';
3
+
4
+ type TrackProgressProps = {
5
+ title: ReactNode;
6
+ description: string;
7
+ tabs: Array<TTrackProgressTab>;
8
+ };
9
+ export declare const TrackProgress: ({ title, description, tabs }: TrackProgressProps) => import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -0,0 +1,24 @@
1
+ import { jsx as r, jsxs as o } from "react/jsx-runtime";
2
+ import { HighlightedTitle as s } from "../../components/HighlightedTitle/HighlightedTitle.es.js";
3
+ import { Typography as m } from "../../components/Typography/Typography.es.js";
4
+ import { TimelineContent as n } from "./components/TimelineContent/TimelineContent.es.js";
5
+ import e from "./trackProgress.module.css.es.js";
6
+ const f = ({ title: i, description: a, tabs: t }) => /* @__PURE__ */ r("section", { className: e.root, children: /* @__PURE__ */ o("div", { className: e.container, children: [
7
+ /* @__PURE__ */ o("div", { className: e.headerContainer, children: [
8
+ /* @__PURE__ */ r(s, { title: i, colorScheme: "dark" }),
9
+ /* @__PURE__ */ r(
10
+ m,
11
+ {
12
+ as: "p",
13
+ defaultVariant: "bodyXl",
14
+ mobileVariant: "bodySm",
15
+ className: e.headerDescription,
16
+ children: a
17
+ }
18
+ )
19
+ ] }),
20
+ /* @__PURE__ */ r(n, { tabs: t })
21
+ ] }) });
22
+ export {
23
+ f as TrackProgress
24
+ };
@@ -0,0 +1 @@
1
+ "use client";"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("react/jsx-runtime"),d=require("react"),c=require("../../../../components/Typography/Typography.cjs.js"),h=require("../../../../utils/cn/cn.cjs.js"),a=require("./timelineContent.module.css.cjs.js");function p(r){const l=r.slice();for(let i=l.length-1;i>0;i--){const n=Math.floor(Math.random()*(i+1));[l[i],l[n]]=[l[n],l[i]]}return l}const f=[{key:"optimal",label:"Optimal"},{key:"inRange",label:"In Range"},{key:"outOfRange",label:"Out of Range"}],g=({tabs:r})=>{const[l,i]=d.useState(0),{optimal:n,inRange:o,outOfRange:u}=r[l],m=d.useMemo(()=>p([...Array(n).fill("optimal"),...Array(o).fill("inRange"),...Array(u).fill("outOfRange")]),[n,o,u]);return e.jsxs("div",{className:a.default.root,children:[e.jsxs("div",{className:a.default.content,children:[e.jsx("div",{className:a.default.metricsContainer,children:f.map((t,s)=>e.jsxs("div",{className:a.default.metric,children:[e.jsx(c.Typography,{defaultVariant:"displayLg",mobileVariant:"displaySm",weight:"regular",children:r[l][t.key]}),e.jsxs("div",{className:a.default.metricTitle,children:[e.jsx(c.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:"("}),e.jsx(c.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:t.label}),e.jsx("div",{className:a.default.circle,"data-key":t.key}),e.jsx(c.Typography,{as:"p",defaultVariant:"labelSm",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:")"})]})]},t.key))}),e.jsx("div",{className:a.default.canvas,children:m.map((t,s)=>e.jsx("div",{className:a.default.circle,"data-key":t},s))})]}),e.jsx("div",{className:a.default.tabsContainer,children:r.map((t,s)=>e.jsx("button",{className:h.cn(a.default.tab,l===s&&a.default.tabActive),onClick:()=>i(s),children:e.jsx(c.Typography,{defaultVariant:"labelMd",mobileVariant:"labelXs",emphasis:!0,weight:"regular",children:t.label})},t.label))})]})};exports.TimelineContent=g;
@@ -0,0 +1,7 @@
1
+ import { TTrackProgressTab } from '../../types';
2
+
3
+ type TimelineContentProps = {
4
+ tabs: Array<TTrackProgressTab>;
5
+ };
6
+ export declare const TimelineContent: ({ tabs }: TimelineContentProps) => import("react/jsx-runtime").JSX.Element;
7
+ export {};
@@ -0,0 +1,90 @@
1
+ "use client";
2
+ import { jsxs as c, jsx as e } from "react/jsx-runtime";
3
+ import { useState as u, useMemo as p } from "react";
4
+ import { Typography as o } from "../../../../components/Typography/Typography.es.js";
5
+ import { cn as b } from "../../../../utils/cn/cn.es.js";
6
+ import a from "./timelineContent.module.css.es.js";
7
+ function f(r) {
8
+ const l = r.slice();
9
+ for (let t = l.length - 1; t > 0; t--) {
10
+ const n = Math.floor(Math.random() * (t + 1));
11
+ [l[t], l[n]] = [l[n], l[t]];
12
+ }
13
+ return l;
14
+ }
15
+ const g = [
16
+ {
17
+ key: "optimal",
18
+ label: "Optimal"
19
+ },
20
+ {
21
+ key: "inRange",
22
+ label: "In Range"
23
+ },
24
+ {
25
+ key: "outOfRange",
26
+ label: "Out of Range"
27
+ }
28
+ ], R = ({ tabs: r }) => {
29
+ const [l, t] = u(0), { optimal: n, inRange: m, outOfRange: d } = r[l], h = p(() => f([
30
+ ...Array(n).fill("optimal"),
31
+ ...Array(m).fill("inRange"),
32
+ ...Array(d).fill("outOfRange")
33
+ ]), [n, m, d]);
34
+ return /* @__PURE__ */ c("div", { className: a.root, children: [
35
+ /* @__PURE__ */ c("div", { className: a.content, children: [
36
+ /* @__PURE__ */ e("div", { className: a.metricsContainer, children: g.map((i, s) => /* @__PURE__ */ c("div", { className: a.metric, children: [
37
+ /* @__PURE__ */ e(o, { defaultVariant: "displayLg", mobileVariant: "displaySm", weight: "regular", children: r[l][i.key] }),
38
+ /* @__PURE__ */ c("div", { className: a.metricTitle, children: [
39
+ /* @__PURE__ */ e(
40
+ o,
41
+ {
42
+ as: "p",
43
+ defaultVariant: "labelSm",
44
+ mobileVariant: "labelXs",
45
+ emphasis: !0,
46
+ weight: "regular",
47
+ children: "("
48
+ }
49
+ ),
50
+ /* @__PURE__ */ e(
51
+ o,
52
+ {
53
+ as: "p",
54
+ defaultVariant: "labelSm",
55
+ mobileVariant: "labelXs",
56
+ emphasis: !0,
57
+ weight: "regular",
58
+ children: i.label
59
+ }
60
+ ),
61
+ /* @__PURE__ */ e("div", { className: a.circle, "data-key": i.key }),
62
+ /* @__PURE__ */ e(
63
+ o,
64
+ {
65
+ as: "p",
66
+ defaultVariant: "labelSm",
67
+ mobileVariant: "labelXs",
68
+ emphasis: !0,
69
+ weight: "regular",
70
+ children: ")"
71
+ }
72
+ )
73
+ ] })
74
+ ] }, i.key)) }),
75
+ /* @__PURE__ */ e("div", { className: a.canvas, children: h.map((i, s) => /* @__PURE__ */ e("div", { className: a.circle, "data-key": i }, s)) })
76
+ ] }),
77
+ /* @__PURE__ */ e("div", { className: a.tabsContainer, children: r.map((i, s) => /* @__PURE__ */ e(
78
+ "button",
79
+ {
80
+ className: b(a.tab, l === s && a.tabActive),
81
+ onClick: () => t(s),
82
+ children: /* @__PURE__ */ e(o, { defaultVariant: "labelMd", mobileVariant: "labelXs", emphasis: !0, weight: "regular", children: i.label })
83
+ },
84
+ i.label
85
+ )) })
86
+ ] });
87
+ };
88
+ export {
89
+ R as TimelineContent
90
+ };
@@ -0,0 +1 @@
1
+ export { TimelineContent } from './TimelineContent';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t="timelineContent-module__root___5V2gz",e="timelineContent-module__content___HS3bJ",n="timelineContent-module__metricsContainer___Bl9Mq",i="timelineContent-module__metric___QgjTy",o="timelineContent-module__metricTitle___NgmIf",_="timelineContent-module__canvas___nyUmZ",c="timelineContent-module__circle___FOAjD",l="timelineContent-module__tabsContainer___drNVG",m="timelineContent-module__tab___sCTOs",r="timelineContent-module__tabActive___Oa023",a={root:t,content:e,metricsContainer:n,metric:i,metricTitle:o,canvas:_,circle:c,tabsContainer:l,tab:m,tabActive:r};exports.canvas=_;exports.circle=c;exports.content=e;exports.default=a;exports.metric=i;exports.metricTitle=o;exports.metricsContainer=n;exports.root=t;exports.tab=m;exports.tabActive=r;exports.tabsContainer=l;
@@ -0,0 +1,25 @@
1
+ const t = "timelineContent-module__root___5V2gz", e = "timelineContent-module__content___HS3bJ", n = "timelineContent-module__metricsContainer___Bl9Mq", _ = "timelineContent-module__metric___QgjTy", o = "timelineContent-module__metricTitle___NgmIf", i = "timelineContent-module__canvas___nyUmZ", c = "timelineContent-module__circle___FOAjD", m = "timelineContent-module__tabsContainer___drNVG", l = "timelineContent-module__tab___sCTOs", s = "timelineContent-module__tabActive___Oa023", a = {
2
+ root: t,
3
+ content: e,
4
+ metricsContainer: n,
5
+ metric: _,
6
+ metricTitle: o,
7
+ canvas: i,
8
+ circle: c,
9
+ tabsContainer: m,
10
+ tab: l,
11
+ tabActive: s
12
+ };
13
+ export {
14
+ i as canvas,
15
+ c as circle,
16
+ e as content,
17
+ a as default,
18
+ _ as metric,
19
+ o as metricTitle,
20
+ n as metricsContainer,
21
+ t as root,
22
+ l as tab,
23
+ s as tabActive,
24
+ m as tabsContainer
25
+ };
@@ -0,0 +1 @@
1
+ export { TrackProgress } from './TrackProgress';
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e="trackProgress-module__root___8LSkR",r="trackProgress-module__container___qlbKw",o="trackProgress-module__headerContainer___2e9cV",t="trackProgress-module__headerDescription___Yi5pb",n={root:e,container:r,headerContainer:o,headerDescription:t};exports.container=r;exports.default=n;exports.headerContainer=o;exports.headerDescription=t;exports.root=e;
@@ -0,0 +1,13 @@
1
+ const e = "trackProgress-module__root___8LSkR", r = "trackProgress-module__container___qlbKw", o = "trackProgress-module__headerContainer___2e9cV", t = "trackProgress-module__headerDescription___Yi5pb", n = {
2
+ root: e,
3
+ container: r,
4
+ headerContainer: o,
5
+ headerDescription: t
6
+ };
7
+ export {
8
+ r as container,
9
+ n as default,
10
+ o as headerContainer,
11
+ t as headerDescription,
12
+ e as root
13
+ };
@@ -0,0 +1,6 @@
1
+ export type TTrackProgressTab = {
2
+ label: string;
3
+ optimal: number;
4
+ inRange: number;
5
+ outOfRange: number;
6
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const u=require("react"),x=require("../../../gsap/index.cjs.js");/*!
2
+ * @gsap/react 2.1.2
3
+ * https://gsap.com
4
+ *
5
+ * Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license or for
7
+ * Club GSAP members, the agreement issued with that membership.
8
+ * @author: Jack Doyle, jack@greensock.com
9
+ */let d=typeof document<"u"?u.useLayoutEffect:u.useEffect,y=e=>e&&!Array.isArray(e)&&typeof e=="object",o=[],S={},g=x.gsap;const f=(e,t=o)=>{let r=S;y(e)?(r=e,e=null,t="dependencies"in r?r.dependencies:o):y(t)&&(r=t,t="dependencies"in r?r.dependencies:o),e&&typeof e!="function"&&console.warn("First parameter must be a function or config object");const{scope:s,revertOnUpdate:p}=r,i=u.useRef(!1),n=u.useRef(g.context(()=>{},s)),a=u.useRef(m=>n.current.add(null,m)),c=t&&t.length&&!p;return c&&d(()=>(i.current=!0,()=>n.current.revert()),o),d(()=>{if(e&&n.current.add(e,s),!c||!i.current)return()=>n.current.revert()},t),{context:n.current,contextSafe:a.current}};f.register=e=>{g=e};f.headless=!0;exports.useGSAP=f;
@@ -0,0 +1,29 @@
1
+ import { useRef as u, useLayoutEffect as x, useEffect as S } from "react";
2
+ import { gsap as h } from "../../../gsap/index.es.js";
3
+ /*!
4
+ * @gsap/react 2.1.2
5
+ * https://gsap.com
6
+ *
7
+ * Copyright 2008-2025, GreenSock. All rights reserved.
8
+ * Subject to the terms at https://gsap.com/standard-license or for
9
+ * Club GSAP members, the agreement issued with that membership.
10
+ * @author: Jack Doyle, jack@greensock.com
11
+ */
12
+ let c = typeof document < "u" ? x : S, p = (e) => e && !Array.isArray(e) && typeof e == "object", o = [], A = {}, m = h;
13
+ const g = (e, t = o) => {
14
+ let r = A;
15
+ p(e) ? (r = e, e = null, t = "dependencies" in r ? r.dependencies : o) : p(t) && (r = t, t = "dependencies" in r ? r.dependencies : o), e && typeof e != "function" && console.warn("First parameter must be a function or config object");
16
+ const { scope: f, revertOnUpdate: y } = r, s = u(!1), n = u(m.context(() => {
17
+ }, f)), a = u((d) => n.current.add(null, d)), i = t && t.length && !y;
18
+ return i && c(() => (s.current = !0, () => n.current.revert()), o), c(() => {
19
+ if (e && n.current.add(e, f), !i || !s.current)
20
+ return () => n.current.revert();
21
+ }, t), { context: n.current, contextSafe: a.current };
22
+ };
23
+ g.register = (e) => {
24
+ m = e;
25
+ };
26
+ g.headless = !0;
27
+ export {
28
+ g as useGSAP
29
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const C=require("./utils/matrix.cjs.js");/*!
2
+ * Flip 3.13.0
3
+ * https://gsap.com
4
+ *
5
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
6
+ * Subject to the terms at https://gsap.com/standard-license
7
+ * @author: Jack Doyle, jack@greensock.com
8
+ */var tt=1,ie,A,b,ne,J,q,Ie,Xe=function(e,i){return e.actions.forEach(function(t){return t.vars[i]&&t.vars[i](t)})},Me={},ze=180/Math.PI,it=Math.PI/180,he={},Oe={},fe={},Be=function(e){return typeof e=="string"?e.split(" ").join("").split(","):e},nt=Be("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"),de=Be("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"),re=function(e){return ie(e)[0]||console.warn("Element not found:",e)},Q=function(e){return Math.round(e*1e4)/1e4||0},xe=function(e,i,t){return e.forEach(function(r){return r.classList[t](i)})},Re={zIndex:1,kill:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1,prune:1,absoluteOnLeave:1},je={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},qe=function(e){return e.replace(/([A-Z])/g,"-$1").toLowerCase()},ee=function(e,i){var t={},r;for(r in e)i[r]||(t[r]=e[r]);return t},Ce={},Ne=function(e){var i=Ce[e]=Be(e);return fe[e]=i.concat(de),i},rt=function(e){var i=e._gsap||A.core.getCache(e);return i.gmCache===A.ticker.frame?i.gMatrix:(i.gmCache=A.ticker.frame,i.gMatrix=C.getGlobalMatrix(e,!0,!1,!0))},st=function o(e,i,t){t===void 0&&(t=0);for(var r=e.parentNode,n=1e3*Math.pow(10,t)*(i?-1:1),s=i?-n*900:0;e;)s+=n,e=e.previousSibling;return r?s+o(r,i,t+1):s},pe=function(e,i,t){return e.forEach(function(r){return r.d=st(t?r.element:r.t,i)}),e.sort(function(r,n){return r.d-n.d}),e},se=function(e,i){for(var t=e.element.style,r=e.css=e.css||[],n=i.length,s,l;n--;)s=i[n],l=t[s]||t.getPropertyValue(s),r.push(l?s:Oe[s]||(Oe[s]=qe(s)),l);return t},ce=function(e){var i=e.css,t=e.element.style,r=0;for(e.cache.uncache=1;r<i.length;r+=2)i[r+1]?t[i[r]]=i[r+1]:t.removeProperty(i[r]);!i[i.indexOf("transform")+1]&&t.translate&&(t.removeProperty("translate"),t.removeProperty("scale"),t.removeProperty("rotate"))},Ye=function(e,i){e.forEach(function(t){return t.a.cache.uncache=1}),i||e.finalStates.forEach(ce)},we="paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","),De=function(e,i,t){var r=e.element,n=e.width,s=e.height,l=e.uncache,u=e.getProp,a=r.style,c=4,h,x,w;if(typeof i!="object"&&(i=e),b&&t!==1)return b._abs.push({t:r,b:e,a:e,sd:0}),b._final.push(function(){return(e.cache.uncache=1)&&ce(e)}),r;for(x=u("display")==="none",(!e.isVisible||x)&&(x&&(se(e,["display"]).display=i.display),e.matrix=i.matrix,e.width=n=e.width||i.width,e.height=s=e.height||i.height),se(e,we),w=window.getComputedStyle(r);c--;)a[we[c]]=w[we[c]];if(a.gridArea="1 / 1 / 1 / 1",a.transition="none",a.position="absolute",a.width=n+"px",a.height=s+"px",a.top||(a.top="0px"),a.left||(a.left="0px"),l)h=new $(r);else if(h=ee(e,he),h.position="absolute",e.simple){var _=r.getBoundingClientRect();h.matrix=new C.Matrix2D(1,0,0,1,_.left+C._getDocScrollLeft(),_.top+C._getDocScrollTop())}else h.matrix=C.getGlobalMatrix(r,!1,!1,!0);return h=te(h,e,!0),e.x=q(h.x,.01),e.y=q(h.y,.01),r},Ge=function(e,i){return i!==!0&&(i=ie(i),e=e.filter(function(t){if(i.indexOf((t.sd<0?t.b:t.a).element)!==-1)return!0;t.t._gsap.renderTransform(1),t.b.isVisible&&(t.t.style.width=t.b.width+"px",t.t.style.height=t.b.height+"px")})),e},Je=function(e){return pe(e,!0).forEach(function(i){return(i.a.isVisible||i.b.isVisible)&&De(i.sd<0?i.b:i.a,i.b,1)})},at=function(e,i){return i&&e.idLookup[Ve(i).id]||e.elementStates[0]},Ve=function(e,i,t,r){return e instanceof $?e:e instanceof z?at(e,r):new $(typeof e=="string"?re(e)||console.warn(e+" not found"):e,i,t)},ot=function(e,i){for(var t=A.getProperty(e.element,null,"native"),r=e.props={},n=i.length;n--;)r[i[n]]=(t(i[n])+"").trim();return r.zIndex&&(r.zIndex=parseFloat(r.zIndex)||0),e},Ue=function(e,i){var t=e.style||e,r;for(r in i)t[r]=i[r]},lt=function(e){var i=e.getAttribute("data-flip-id");return i||e.setAttribute("data-flip-id",i="auto-"+tt++),i},$e=function(e){return e.map(function(i){return i.element})},He=function(e,i,t){return e&&i.length&&t.add(e($e(i),t,new z(i,0,!0)),0)},te=function(e,i,t,r,n,s){var l=e.element,u=e.cache,a=e.parent,c=e.x,h=e.y,x=i.width,w=i.height,_=i.scaleX,v=i.scaleY,m=i.rotation,y=i.bounds,L=s&&Ie&&Ie(l,"transform,width,height"),f=e,V=i.matrix,P=V.e,D=V.f,O=e.bounds.width!==y.width||e.bounds.height!==y.height||e.scaleX!==_||e.scaleY!==v||e.rotation!==m,R=!O&&e.simple&&i.simple&&!n,B,g,k,G,X,T,d;return R||!a?(_=v=1,m=B=0):(X=rt(a),T=X.clone().multiply(i.ctm?i.matrix.clone().multiply(i.ctm):i.matrix),m=Q(Math.atan2(T.b,T.a)*ze),B=Q(Math.atan2(T.c,T.d)*ze+m)%360,_=Math.sqrt(Math.pow(T.a,2)+Math.pow(T.b,2)),v=Math.sqrt(Math.pow(T.c,2)+Math.pow(T.d,2))*Math.cos(B*it),n&&(n=ie(n)[0],G=A.getProperty(n),d=n.getBBox&&typeof n.getBBox=="function"&&n.getBBox(),f={scaleX:G("scaleX"),scaleY:G("scaleY"),width:d?d.width:Math.ceil(parseFloat(G("width","px"))),height:d?d.height:parseFloat(G("height","px"))}),u.rotation=m+"deg",u.skewX=B+"deg"),t?(_*=x===f.width||!f.width?1:x/f.width,v*=w===f.height||!f.height?1:w/f.height,u.scaleX=_,u.scaleY=v):(x=q(x*_/f.scaleX,0),w=q(w*v/f.scaleY,0),l.style.width=x+"px",l.style.height=w+"px"),r&&Ue(l,i.props),R||!a?(c+=P-e.matrix.e,h+=D-e.matrix.f):O||a!==i.parent?(u.renderTransform(1,u),T=C.getGlobalMatrix(n||l,!1,!1,!0),g=X.apply({x:T.e,y:T.f}),k=X.apply({x:P,y:D}),c+=k.x-g.x,h+=k.y-g.y):(X.e=X.f=0,k=X.apply({x:P-e.matrix.e,y:D-e.matrix.f}),c+=k.x,h+=k.y),c=q(c,.02),h=q(h,.02),s&&!(s instanceof $)?L&&L.revert():(u.x=c+"px",u.y=h+"px",u.renderTransform(1,u)),s&&(s.x=c,s.y=h,s.rotation=m,s.skewX=B,t?(s.scaleX=_,s.scaleY=v):(s.width=x,s.height=w)),s||u},ve=function(e,i){return e instanceof z?e:new z(e,i)},Ze=function(e,i,t){var r=e.idLookup[t],n=e.alt[t];return n.isVisible&&(!(i.getElementState(n.element)||n).isVisible||!r.isVisible)?n:r},ke=[],Ee="width,height,overflowX,overflowY".split(","),le,We=function(e){if(e!==le){var i=J.style,t=J.clientWidth===window.outerWidth,r=J.clientHeight===window.outerHeight,n=4;if(e&&(t||r)){for(;n--;)ke[n]=i[Ee[n]];t&&(i.width=J.clientWidth+"px",i.overflowY="hidden"),r&&(i.height=J.clientHeight+"px",i.overflowX="hidden"),le=e}else if(le){for(;n--;)ke[n]?i[Ee[n]]=ke[n]:i.removeProperty(qe(Ee[n]));le=e}}},Pe=function(e,i,t,r){e instanceof z&&i instanceof z||console.warn("Not a valid state object."),t=t||{};var n=t,s=n.clearProps,l=n.onEnter,u=n.onLeave,a=n.absolute,c=n.absoluteOnLeave,h=n.custom,x=n.delay,w=n.paused,_=n.repeat,v=n.repeatDelay,m=n.yoyo,y=n.toggleClass,L=n.nested,f=n.zIndex,V=n.scale,P=n.fade,D=n.stagger,O=n.spin,R=n.prune,B=("props"in t?t:e).props,g=ee(t,Re),k=A.timeline({delay:x,paused:w,repeat:_,repeatDelay:v,yoyo:m,data:"isFlip"}),G=g,X=[],T=[],d=[],oe=[],Ke=O===!0?1:O||0,Qe=typeof O=="function"?O:function(){return Ke},ge=e.interrupted||i.interrupted,Te=k[r!==1?"to":"from"],Z,S,Ae,N,M,E,K,Y,me,H,W,ye,I,F;for(S in i.idLookup)W=i.alt[S]?Ze(i,e,S):i.idLookup[S],M=W.element,H=e.idLookup[S],e.alt[S]&&M===H.element&&(e.alt[S].isVisible||!W.isVisible)&&(H=e.alt[S]),H?(E={t:M,b:H,a:W,sd:H.element===M?0:W.isVisible?1:-1},d.push(E),E.sd&&(E.sd<0&&(E.b=W,E.a=H),ge&&se(E.b,B?fe[B]:de),P&&d.push(E.swap={t:H.element,b:E.b,a:E.a,sd:-E.sd,swap:E})),M._flip=H.element._flip=b?b.timeline:k):W.isVisible&&(d.push({t:M,b:ee(W,{isVisible:1}),a:W,sd:0,entering:1}),M._flip=b?b.timeline:k);if(B&&(Ce[B]||Ne(B)).forEach(function(j){return g[j]=function(U){return d[U].a.props[j]}}),d.finalStates=me=[],ye=function(){for(pe(d),We(!0),N=0;N<d.length;N++)E=d[N],I=E.a,F=E.b,R&&!I.isDifferent(F)&&!E.entering?d.splice(N--,1):(M=E.t,L&&!(E.sd<0)&&N&&(I.matrix=C.getGlobalMatrix(M,!1,!1,!0)),F.isVisible&&I.isVisible?(E.sd<0?(K=new $(M,B,e.simple),te(K,I,V,0,0,K),K.matrix=C.getGlobalMatrix(M,!1,!1,!0),K.css=E.b.css,E.a=I=K,P&&(M.style.opacity=ge?F.opacity:I.opacity),D&&oe.push(M)):E.sd>0&&P&&(M.style.opacity=ge?I.opacity-F.opacity:"0"),te(I,F,V,B)):F.isVisible!==I.isVisible&&(F.isVisible?I.isVisible||(F.css=I.css,T.push(F),d.splice(N--,1),a&&L&&te(I,F,V,B)):(I.isVisible&&X.push(I),d.splice(N--,1))),V||(M.style.maxWidth=Math.max(I.width,F.width)+"px",M.style.maxHeight=Math.max(I.height,F.height)+"px",M.style.minWidth=Math.min(I.width,F.width)+"px",M.style.minHeight=Math.min(I.height,F.height)+"px"),L&&y&&M.classList.add(y)),me.push(I);var U;if(y&&(U=me.map(function(p){return p.element}),L&&U.forEach(function(p){return p.classList.remove(y)})),We(!1),V?(g.scaleX=function(p){return d[p].a.scaleX},g.scaleY=function(p){return d[p].a.scaleY}):(g.width=function(p){return d[p].a.width+"px"},g.height=function(p){return d[p].a.height+"px"},g.autoRound=t.autoRound||!1),g.x=function(p){return d[p].a.x+"px"},g.y=function(p){return d[p].a.y+"px"},g.rotation=function(p){return d[p].a.rotation+(O?Qe(p,Y[p],Y)*360:0)},g.skewX=function(p){return d[p].a.skewX},Y=d.map(function(p){return p.t}),(f||f===0)&&(g.modifiers={zIndex:function(){return f}},g.zIndex=f,g.immediateRender=t.immediateRender!==!1),P&&(g.opacity=function(p){return d[p].sd<0?0:d[p].sd>0?d[p].a.opacity:"+=0"}),oe.length){D=A.utils.distribute(D);var et=Y.slice(oe.length);g.stagger=function(p,Se){return D(~oe.indexOf(Se)?Y.indexOf(d[p].swap.t):p,Se,et)}}if(nt.forEach(function(p){return t[p]&&k.eventCallback(p,t[p],t[p+"Params"])}),h&&Y.length){G=ee(g,Re),"scale"in h&&(h.scaleX=h.scaleY=h.scale,delete h.scale);for(S in h)Z=ee(h[S],je),Z[S]=g[S],!("duration"in Z)&&"duration"in g&&(Z.duration=g.duration),Z.stagger=g.stagger,Te.call(k,Y,Z,0),delete G[S]}(Y.length||T.length||X.length)&&(y&&k.add(function(){return xe(U,y,k._zTime<0?"remove":"add")},0)&&!w&&xe(U,y,"add"),Y.length&&Te.call(k,Y,G,0)),He(l,X,k),He(u,T,k);var be=b&&b.timeline;be&&(be.add(k,0),b._final.push(function(){return Ye(d,!s)})),Ae=k.duration(),k.call(function(){var p=k.time()>=Ae;p&&!be&&Ye(d,!s),y&&xe(U,y,p?"remove":"add")})},c&&(a=d.filter(function(j){return!j.sd&&!j.a.isVisible&&j.b.isVisible}).map(function(j){return j.a.element})),b){var Fe;a&&(Fe=b._abs).push.apply(Fe,Ge(d,a)),b._run.push(ye)}else a&&Je(Ge(d,a)),ye();var _e=b?b.timeline:k;return _e.revert=function(){return Le(_e,1,1)},_e},ut=function o(e){e.vars.onInterrupt&&e.vars.onInterrupt.apply(e,e.vars.onInterruptParams||[]),e.getChildren(!0,!1,!0).forEach(o)},Le=function(e,i,t){if(e&&e.progress()<1&&(!e.paused()||t))return i&&(ut(e),i<2&&e.progress(1),e.kill()),!0},ue=function(e){for(var i=e.idLookup={},t=e.alt={},r=e.elementStates,n=r.length,s;n--;)s=r[n],i[s.id]?t[s.id]=s:i[s.id]=s},z=function(){function o(i,t,r){if(this.props=t&&t.props,this.simple=!!(t&&t.simple),r)this.targets=$e(i),this.elementStates=i,ue(this);else{this.targets=ie(i);var n=t&&(t.kill===!1||t.batch&&!t.kill);b&&!n&&b._kill.push(this),this.update(n||!!b)}}var e=o.prototype;return e.update=function(t){var r=this;return this.elementStates=this.targets.map(function(n){return new $(n,r.props,r.simple)}),ue(this),this.interrupt(t),this.recordInlineStyles(),this},e.clear=function(){return this.targets.length=this.elementStates.length=0,ue(this),this},e.fit=function(t,r,n){for(var s=pe(this.elementStates.slice(0),!1,!0),l=(t||this).idLookup,u=0,a,c;u<s.length;u++)a=s[u],n&&(a.matrix=C.getGlobalMatrix(a.element,!1,!1,!0)),c=l[a.id],c&&te(a,c,r,!0,0,a),a.matrix=C.getGlobalMatrix(a.element,!1,!1,!0);return this},e.getProperty=function(t,r){var n=this.getElementState(t)||he;return(r in n?n:n.props||he)[r]},e.add=function(t){for(var r=t.targets.length,n=this.idLookup,s=this.alt,l,u,a;r--;)u=t.elementStates[r],a=n[u.id],a&&(u.element===a.element||s[u.id]&&s[u.id].element===u.element)?(l=this.elementStates.indexOf(u.element===a.element?a:s[u.id]),this.targets.splice(l,1,t.targets[r]),this.elementStates.splice(l,1,u)):(this.targets.push(t.targets[r]),this.elementStates.push(u));return t.interrupted&&(this.interrupted=!0),t.simple||(this.simple=!1),ue(this),this},e.compare=function(t){var r=t.idLookup,n=this.idLookup,s=[],l=[],u=[],a=[],c=[],h=t.alt,x=this.alt,w=function(R,B,g){return(R.isVisible!==B.isVisible?R.isVisible?u:a:R.isVisible?l:s).push(g)&&c.push(g)},_=function(R,B,g){return c.indexOf(g)<0&&w(R,B,g)},v,m,y,L,f,V,P,D;for(y in r)f=h[y],V=x[y],v=f?Ze(t,this,y):r[y],L=v.element,m=n[y],V?(D=m.isVisible||!V.isVisible&&L===m.element?m:V,P=f&&!v.isVisible&&!f.isVisible&&D.element===f.element?f:v,P.isVisible&&D.isVisible&&P.element!==D.element?((P.isDifferent(D)?l:s).push(P.element,D.element),c.push(P.element,D.element)):w(P,D,P.element),f&&P.element===f.element&&(f=r[y]),_(P.element!==m.element&&f?f:P,m,m.element),_(f&&f.element===V.element?f:P,V,V.element),f&&_(f,V.element===f.element?V:m,f.element)):(m?m.isDifferent(v)?w(v,m,L):s.push(L):u.push(L),f&&_(f,m,f.element));for(y in n)r[y]||(a.push(n[y].element),x[y]&&a.push(x[y].element));return{changed:l,unchanged:s,enter:u,leave:a}},e.recordInlineStyles=function(){for(var t=fe[this.props]||de,r=this.elementStates.length;r--;)se(this.elementStates[r],t)},e.interrupt=function(t){var r=this,n=[];this.targets.forEach(function(s){var l=s._flip,u=Le(l,t?0:1);t&&u&&n.indexOf(l)<0&&l.add(function(){return r.updateVisibility()}),u&&n.push(l)}),!t&&n.length&&this.updateVisibility(),this.interrupted||(this.interrupted=!!n.length)},e.updateVisibility=function(){this.elementStates.forEach(function(t){var r=t.element.getBoundingClientRect();t.isVisible=!!(r.width||r.height||r.top||r.left),t.uncache=1})},e.getElementState=function(t){return this.elementStates[this.targets.indexOf(re(t))]},e.makeAbsolute=function(){return pe(this.elementStates.slice(0),!0,!0).map(De)},o}(),$=function(){function o(i,t,r){this.element=i,this.update(t,r)}var e=o.prototype;return e.isDifferent=function(t){var r=this.bounds,n=t.bounds;return r.top!==n.top||r.left!==n.left||r.width!==n.width||r.height!==n.height||!this.matrix.equals(t.matrix)||this.opacity!==t.opacity||this.props&&t.props&&JSON.stringify(this.props)!==JSON.stringify(t.props)},e.update=function(t,r){var n=this,s=n.element,l=A.getProperty(s),u=A.core.getCache(s),a=s.getBoundingClientRect(),c=s.getBBox&&typeof s.getBBox=="function"&&s.nodeName.toLowerCase()!=="svg"&&s.getBBox(),h=r?new C.Matrix2D(1,0,0,1,a.left+C._getDocScrollLeft(),a.top+C._getDocScrollTop()):C.getGlobalMatrix(s,!1,!1,!0);u.uncache=1,n.getProp=l,n.element=s,n.id=lt(s),n.matrix=h,n.cache=u,n.bounds=a,n.isVisible=!!(a.width||a.height||a.left||a.top),n.display=l("display"),n.position=l("position"),n.parent=s.parentNode,n.x=l("x"),n.y=l("y"),n.scaleX=u.scaleX,n.scaleY=u.scaleY,n.rotation=l("rotation"),n.skewX=l("skewX"),n.opacity=l("opacity"),n.width=c?c.width:q(l("width","px"),.04),n.height=c?c.height:q(l("height","px"),.04),t&&ot(n,Ce[t]||Ne(t)),n.ctm=s.getCTM&&s.nodeName.toLowerCase()==="svg"&&C._getCTM(s).inverse(),n.simple=r||Q(h.a)===1&&!Q(h.b)&&!Q(h.c)&&Q(h.d)===1,n.uncache=0},o}(),ht=function(){function o(i,t){this.vars=i,this.batch=t,this.states=[],this.timeline=t.timeline}var e=o.prototype;return e.getStateById=function(t){for(var r=this.states.length;r--;)if(this.states[r].idLookup[t])return this.states[r]},e.kill=function(){this.batch.remove(this)},o}(),pt=function(){function o(i){this.id=i,this.actions=[],this._kill=[],this._final=[],this._abs=[],this._run=[],this.data={},this.state=new z,this.timeline=A.timeline()}var e=o.prototype;return e.add=function(t){var r=this.actions.filter(function(n){return n.vars===t});return r.length?r[0]:(r=new ht(typeof t=="function"?{animate:t}:t,this),this.actions.push(r),r)},e.remove=function(t){var r=this.actions.indexOf(t);return r>=0&&this.actions.splice(r,1),this},e.getState=function(t){var r=this,n=b,s=ne;return b=this,this.state.clear(),this._kill.length=0,this.actions.forEach(function(l){l.vars.getState&&(l.states.length=0,ne=l,l.state=l.vars.getState(l)),t&&l.states.forEach(function(u){return r.state.add(u)})}),ne=s,b=n,this.killConflicts(),this},e.animate=function(){var t=this,r=b,n=this.timeline,s=this.actions.length,l,u;for(b=this,n.clear(),this._abs.length=this._final.length=this._run.length=0,this.actions.forEach(function(a){a.vars.animate&&a.vars.animate(a);var c=a.vars.onEnter,h=a.vars.onLeave,x=a.targets,w,_;x&&x.length&&(c||h)&&(w=new z,a.states.forEach(function(v){return w.add(v)}),_=w.compare(ae.getState(x)),_.enter.length&&c&&c(_.enter),_.leave.length&&h&&h(_.leave))}),Je(this._abs),this._run.forEach(function(a){return a()}),u=n.duration(),l=this._final.slice(0),n.add(function(){u<=n.time()&&(l.forEach(function(a){return a()}),Xe(t,"onComplete"))}),b=r;s--;)this.actions[s].vars.once&&this.actions[s].kill();return Xe(this,"onStart"),n.restart(),this},e.loadState=function(t){t||(t=function(){return 0});var r=[];return this.actions.forEach(function(n){if(n.vars.loadState){var s,l=function u(a){a&&(n.targets=a),s=r.indexOf(u),~s&&(r.splice(s,1),r.length||t())};r.push(l),n.vars.loadState(l)}}),r.length||t(),this},e.setState=function(){return this.actions.forEach(function(t){return t.targets=t.vars.setState&&t.vars.setState(t)}),this},e.killConflicts=function(t){return this.state.interrupt(t),this._kill.forEach(function(r){return r.interrupt(t)}),this},e.run=function(t,r){var n=this;return this!==b&&(t||this.getState(r),this.loadState(function(){n._killed||(n.setState(),n.animate())})),this},e.clear=function(t){this.state.clear(),t||(this.actions.length=0)},e.getStateById=function(t){for(var r=this.actions.length,n;r--;)if(n=this.actions[r].getStateById(t),n)return n;return this.state.idLookup[t]&&this.state},e.kill=function(){this._killed=1,this.clear(),delete Me[this.id]},o}(),ae=function(){function o(){}return o.getState=function(i,t){var r=ve(i,t);return ne&&ne.states.push(r),t&&t.batch&&o.batch(t.batch).state.add(r),r},o.from=function(i,t){return t=t||{},"clearProps"in t||(t.clearProps=!0),Pe(i,ve(t.targets||i.targets,{props:t.props||i.props,simple:t.simple,kill:!!t.kill}),t,-1)},o.to=function(i,t){return Pe(i,ve(t.targets||i.targets,{props:t.props||i.props,simple:t.simple,kill:!!t.kill}),t,1)},o.fromTo=function(i,t,r){return Pe(i,t,r)},o.fit=function(i,t,r){var n=r?ee(r,je):{},s=r||n,l=s.absolute,u=s.scale,a=s.getVars,c=s.props,h=s.runBackwards,x=s.onComplete,w=s.simple,_=r&&r.fitChild&&re(r.fitChild),v=Ve(t,c,w,i),m=Ve(i,0,w,v),y=c?fe[c]:de,L=A.context();return c&&Ue(n,v.props),se(m,y),h&&("immediateRender"in n||(n.immediateRender=!0),n.onComplete=function(){ce(m),x&&x.apply(this,arguments)}),l&&De(m,v),n=te(m,v,u||_,!n.duration&&c,_,n.duration||a?n:0),typeof r=="object"&&"zIndex"in r&&(n.zIndex=r.zIndex),L&&!a&&L.add(function(){return function(){return ce(m)}}),a?n:n.duration?A.to(m.element,n):null},o.makeAbsolute=function(i,t){return(i instanceof z?i:new z(i,t)).makeAbsolute()},o.batch=function(i){return i||(i="default"),Me[i]||(Me[i]=new pt(i))},o.killFlipsOf=function(i,t){(i instanceof z?i.targets:ie(i)).forEach(function(r){return r&&Le(r._flip,t!==!1?1:2)})},o.isFlipping=function(i){var t=o.getByTarget(i);return!!t&&t.isActive()},o.getByTarget=function(i){return(re(i)||he)._flip},o.getElementState=function(i,t){return new $(re(i),t)},o.convertCoordinates=function(i,t,r){var n=C.getGlobalMatrix(t,!0,!0).multiply(C.getGlobalMatrix(i));return r?n.apply(r):n},o.register=function(i){if(J=typeof document<"u"&&document.body,J){A=i,C._setDoc(J),ie=A.utils.toArray,Ie=A.core.getStyleSaver;var t=A.utils.snap(.1);q=function(n,s){return t(parseFloat(n)+s)}}},o}();ae.version="3.13.0";typeof window<"u"&&window.gsap&&window.gsap.registerPlugin(ae);exports.Flip=ae;exports.default=ae;