@zenpatient-org/healthspan-marketing-ui 0.1.22 → 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 (208) hide show
  1. package/README.md +11 -1
  2. package/dist/components/Accordion/Accordion.cjs.js +1 -0
  3. package/dist/components/Accordion/Accordion.d.ts +8 -0
  4. package/dist/components/Accordion/Accordion.es.js +27 -0
  5. package/dist/components/Accordion/accordion.module.css.cjs.js +1 -0
  6. package/dist/components/Accordion/accordion.module.css.es.js +7 -0
  7. package/dist/components/Accordion/components/AccordionItem/AccordionItem.cjs.js +1 -0
  8. package/dist/components/Accordion/components/AccordionItem/AccordionItem.d.ts +3 -0
  9. package/dist/components/Accordion/components/AccordionItem/AccordionItem.es.js +31 -0
  10. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.cjs.js +1 -0
  11. package/dist/components/Accordion/components/AccordionItem/accordionItem.module.css.es.js +25 -0
  12. package/dist/components/Accordion/components/AccordionItem/index.d.ts +2 -0
  13. package/dist/components/Accordion/components/AccordionItem/types.d.ts +9 -0
  14. package/dist/components/Accordion/components/index.d.ts +1 -0
  15. package/dist/components/Accordion/index.d.ts +1 -0
  16. package/dist/components/Accordion/types.d.ts +6 -0
  17. package/dist/components/Button/Button.es.js +24 -6
  18. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.cjs.js +1 -0
  19. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.d.ts +3 -0
  20. package/dist/components/ComplexImageCarousel/ComplexImageCarousel.es.js +135 -0
  21. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.cjs.js +1 -0
  22. package/dist/components/ComplexImageCarousel/complexImageCarousel.module.css.es.js +19 -0
  23. package/dist/components/ComplexImageCarousel/index.d.ts +2 -0
  24. package/dist/components/ComplexImageCarousel/types.d.ts +10 -0
  25. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.cjs.js +1 -1
  26. package/dist/components/ComplexTooltip/components/ComplexTooltipContent/ComplexTooltipContent.es.js +17 -15
  27. package/dist/components/FilterMenu/FilterMenu.d.ts +1 -1
  28. package/dist/components/FilterMenu/FilterMenu.es.js +17 -2
  29. package/dist/components/Icon/constants.cjs.js +1 -1
  30. package/dist/components/Icon/constants.d.ts +3 -0
  31. package/dist/components/Icon/constants.es.js +4 -1
  32. package/dist/components/Icon/iconsMap.cjs.js +1 -1
  33. package/dist/components/Icon/iconsMap.es.js +104 -98
  34. package/dist/components/IconBracket/IconBracket.cjs.js +1 -0
  35. package/dist/components/IconBracket/IconBracket.d.ts +3 -0
  36. package/dist/components/IconBracket/IconBracket.es.js +16 -0
  37. package/dist/components/IconBracket/iconBracket.module.css.cjs.js +1 -0
  38. package/dist/components/IconBracket/iconBracket.module.css.es.js +9 -0
  39. package/dist/components/IconBracket/index.d.ts +1 -0
  40. package/dist/components/IconBracket/types.d.ts +8 -0
  41. package/dist/components/InfiniteScroll/InfiniteScroll.es.js +9 -1
  42. package/dist/components/Label/Label.es.js +9 -1
  43. package/dist/components/PlayButton/PlayButton.cjs.js +1 -0
  44. package/dist/components/PlayButton/PlayButton.d.ts +8 -0
  45. package/dist/components/PlayButton/PlayButton.es.js +9 -0
  46. package/dist/components/PlayButton/index.d.ts +1 -0
  47. package/dist/components/PlayButton/playButton.module.css.cjs.js +1 -0
  48. package/dist/components/PlayButton/playButton.module.css.es.js +11 -0
  49. package/dist/components/Pricing/Pricing.cjs.js +1 -0
  50. package/dist/components/Pricing/Pricing.d.ts +3 -0
  51. package/dist/components/Pricing/Pricing.es.js +41 -0
  52. package/dist/components/Pricing/components/BenefitItem/BenefitItem.cjs.js +1 -0
  53. package/dist/components/Pricing/components/BenefitItem/BenefitItem.d.ts +8 -0
  54. package/dist/components/Pricing/components/BenefitItem/BenefitItem.es.js +10 -0
  55. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.cjs.js +1 -0
  56. package/dist/components/Pricing/components/BenefitItem/benefitItem.module.css.es.js +7 -0
  57. package/dist/components/Pricing/components/BenefitItem/index.d.ts +1 -0
  58. package/dist/components/Pricing/components/index.d.ts +1 -0
  59. package/dist/components/Pricing/index.d.ts +2 -0
  60. package/dist/components/Pricing/pricing.module.css.cjs.js +1 -0
  61. package/dist/components/Pricing/pricing.module.css.es.js +25 -0
  62. package/dist/components/Pricing/types.d.ts +17 -0
  63. package/dist/components/ProductGalleryCard/ProductGalleryCard.d.ts +1 -1
  64. package/dist/components/ProductGalleryCard/ProductGalleryCard.es.js +24 -3
  65. package/dist/components/ProgressButton/ProgressButton.cjs.js +1 -1
  66. package/dist/components/ProgressButton/ProgressButton.d.ts +2 -1
  67. package/dist/components/ProgressButton/ProgressButton.es.js +24 -12
  68. package/dist/components/RatingStars/RatingStars.cjs.js +1 -0
  69. package/dist/components/RatingStars/RatingStars.d.ts +6 -0
  70. package/dist/components/RatingStars/RatingStars.es.js +18 -0
  71. package/dist/components/RatingStars/index.d.ts +1 -0
  72. package/dist/components/RatingStars/ratingStars.module.css.cjs.js +1 -0
  73. package/dist/components/RatingStars/ratingStars.module.css.es.js +13 -0
  74. package/dist/components/StepsCarousel/StepsCarousel.es.js +47 -13
  75. package/dist/components/StudyGridCard/StudyGridCard.es.js +36 -6
  76. package/dist/components/Tabs/TabsWithFade.es.js +10 -1
  77. package/dist/components/Typography/Typography.es.js +8 -1
  78. package/dist/healthspan-marketing-ui.css +1 -1
  79. package/dist/icons/action/bracket-left.svg.cjs.js +1 -0
  80. package/dist/icons/action/bracket-left.svg.es.js +5 -0
  81. package/dist/icons/action/bracket-right.svg.cjs.js +1 -0
  82. package/dist/icons/action/bracket-right.svg.es.js +5 -0
  83. package/dist/icons/action/play.svg.cjs.js +1 -0
  84. package/dist/icons/action/play.svg.es.js +5 -0
  85. package/dist/modules/Benefits/Benefits.es.js +3 -26
  86. package/dist/modules/Benefits/components/BenefitItem/BenefitItem.es.js +3 -27
  87. package/dist/modules/Benefits/components/BenefitTag/BenefitTag.es.js +1 -10
  88. package/dist/modules/Compare/Compare.cjs.js +1 -0
  89. package/dist/modules/Compare/Compare.d.ts +3 -0
  90. package/dist/modules/Compare/Compare.es.js +26 -0
  91. package/dist/modules/Compare/compare.module.css.cjs.js +1 -0
  92. package/dist/modules/Compare/compare.module.css.es.js +13 -0
  93. package/dist/modules/Compare/index.d.ts +1 -0
  94. package/dist/modules/Compare/types.d.ts +9 -0
  95. package/dist/modules/Comparison/Comparison.es.js +20 -5
  96. package/dist/modules/FAQ/FAQ.cjs.js +1 -0
  97. package/dist/modules/FAQ/FAQ.d.ts +3 -0
  98. package/dist/modules/FAQ/FAQ.es.js +17 -0
  99. package/dist/modules/FAQ/faq.module.css.cjs.js +1 -0
  100. package/dist/modules/FAQ/faq.module.css.es.js +17 -0
  101. package/dist/modules/FAQ/index.d.ts +1 -0
  102. package/dist/modules/FAQ/types.d.ts +10 -0
  103. package/dist/modules/FeaturedIn/FeaturedIn.es.js +14 -5
  104. package/dist/modules/FeaturesGallery/FeaturesGallery.es.js +9 -1
  105. package/dist/modules/FeaturesGallery/components/FeatureGrid/FeatureGrid.es.js +32 -17
  106. package/dist/modules/FollowTheScience/FollowTheScience.es.js +21 -2
  107. package/dist/modules/ImageWithText/ImageWithText.cjs.js +1 -0
  108. package/dist/modules/ImageWithText/ImageWithText.d.ts +3 -0
  109. package/dist/modules/ImageWithText/ImageWithText.es.js +35 -0
  110. package/dist/modules/ImageWithText/imageWithText.module.css.cjs.js +1 -0
  111. package/dist/modules/ImageWithText/imageWithText.module.css.es.js +21 -0
  112. package/dist/modules/ImageWithText/index.d.ts +1 -0
  113. package/dist/modules/ImageWithText/types.d.ts +9 -0
  114. package/dist/modules/LongevityPathways/LongevityPathways.cjs.js +1 -0
  115. package/dist/modules/LongevityPathways/LongevityPathways.d.ts +3 -0
  116. package/dist/modules/LongevityPathways/LongevityPathways.es.js +19 -0
  117. package/dist/modules/LongevityPathways/index.d.ts +2 -0
  118. package/dist/modules/LongevityPathways/longevityPathways.module.css.cjs.js +1 -0
  119. package/dist/modules/LongevityPathways/longevityPathways.module.css.es.js +9 -0
  120. package/dist/modules/LongevityPathways/types.d.ts +9 -0
  121. package/dist/modules/OptimalHealth/OptimalHealth.cjs.js +1 -1
  122. package/dist/modules/OptimalHealth/OptimalHealth.es.js +24 -7
  123. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.cjs.js +1 -1
  124. package/dist/modules/OptimalHealth/components/ClockImages/ClockImages.es.js +53 -31
  125. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.cjs.js +1 -1
  126. package/dist/modules/OptimalHealth/components/ClockImages/clockImages.module.css.es.js +25 -5
  127. package/dist/modules/OptimalHealth/optimalHealth.module.css.cjs.js +1 -1
  128. package/dist/modules/OptimalHealth/optimalHealth.module.css.es.js +17 -15
  129. package/dist/modules/OurProcess/OurProcess.cjs.js +1 -1
  130. package/dist/modules/OurProcess/OurProcess.d.ts +3 -2
  131. package/dist/modules/OurProcess/OurProcess.es.js +17 -8
  132. package/dist/modules/PairedProducts/PairedProducts.cjs.js +1 -1
  133. package/dist/modules/PairedProducts/PairedProducts.d.ts +2 -2
  134. package/dist/modules/PairedProducts/PairedProducts.es.js +1 -1
  135. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.cjs.js +1 -0
  136. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.d.ts +9 -0
  137. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.es.js +102 -0
  138. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.cjs.js +1 -0
  139. package/dist/modules/SlidingTabsGallery/SlidingTabsGallery.module.css.es.js +29 -0
  140. package/dist/modules/SlidingTabsGallery/index.d.ts +1 -0
  141. package/dist/modules/Testimonial/Testimonial.cjs.js +1 -0
  142. package/dist/modules/Testimonial/Testimonial.d.ts +13 -0
  143. package/dist/modules/Testimonial/Testimonial.es.js +88 -0
  144. package/dist/modules/Testimonial/components/Product/Product.cjs.js +1 -0
  145. package/dist/modules/Testimonial/components/Product/Product.d.ts +7 -0
  146. package/dist/modules/Testimonial/components/Product/Product.es.js +23 -0
  147. package/dist/modules/Testimonial/components/Product/index.d.ts +1 -0
  148. package/dist/modules/Testimonial/components/Product/product.module.css.cjs.js +1 -0
  149. package/dist/modules/Testimonial/components/Product/product.module.css.es.js +17 -0
  150. package/dist/modules/Testimonial/components/TextCard/TextCard.cjs.js +1 -0
  151. package/dist/modules/Testimonial/components/TextCard/TextCard.d.ts +3 -0
  152. package/dist/modules/Testimonial/components/TextCard/TextCard.es.js +31 -0
  153. package/dist/modules/Testimonial/components/TextCard/index.d.ts +1 -0
  154. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.cjs.js +1 -0
  155. package/dist/modules/Testimonial/components/TextCard/textCard.module.css.es.js +13 -0
  156. package/dist/modules/Testimonial/components/VideoCard/VideoCard.cjs.js +1 -0
  157. package/dist/modules/Testimonial/components/VideoCard/VideoCard.d.ts +11 -0
  158. package/dist/modules/Testimonial/components/VideoCard/VideoCard.es.js +62 -0
  159. package/dist/modules/Testimonial/components/VideoCard/index.d.ts +1 -0
  160. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.cjs.js +1 -0
  161. package/dist/modules/Testimonial/components/VideoCard/videoCard.module.css.es.js +17 -0
  162. package/dist/modules/Testimonial/index.d.ts +1 -0
  163. package/dist/modules/Testimonial/testimonial.module.css.cjs.js +1 -0
  164. package/dist/modules/Testimonial/testimonial.module.css.es.js +25 -0
  165. package/dist/modules/Testimonial/types.d.ts +26 -0
  166. package/dist/modules/TrackProgress/TrackProgress.cjs.js +1 -0
  167. package/dist/modules/TrackProgress/TrackProgress.d.ts +10 -0
  168. package/dist/modules/TrackProgress/TrackProgress.es.js +24 -0
  169. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.cjs.js +1 -0
  170. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.d.ts +7 -0
  171. package/dist/modules/TrackProgress/components/TimelineContent/TimelineContent.es.js +90 -0
  172. package/dist/modules/TrackProgress/components/TimelineContent/index.d.ts +1 -0
  173. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.cjs.js +1 -0
  174. package/dist/modules/TrackProgress/components/TimelineContent/timelineContent.module.css.es.js +25 -0
  175. package/dist/modules/TrackProgress/index.d.ts +1 -0
  176. package/dist/modules/TrackProgress/trackProgress.module.css.cjs.js +1 -0
  177. package/dist/modules/TrackProgress/trackProgress.module.css.es.js +13 -0
  178. package/dist/modules/TrackProgress/types.d.ts +6 -0
  179. package/dist/modules/TypesOfTests/TypesOfTests.cjs.js +1 -1
  180. package/dist/modules/TypesOfTests/TypesOfTests.es.js +86 -47
  181. package/dist/modules/TypesOfTests/types.d.ts +4 -0
  182. package/dist/modules/TypesOfTests/typesOfTests.module.css.cjs.js +1 -1
  183. package/dist/modules/TypesOfTests/typesOfTests.module.css.es.js +14 -12
  184. package/dist/modules/YourProtocol/YourProtocol.es.js +19 -2
  185. package/dist/modules/YourProtocol/components/ProtocolTags/ProtocolTags.es.js +18 -5
  186. package/dist/node_modules/@gsap/react/src/index.cjs.js +9 -0
  187. package/dist/node_modules/@gsap/react/src/index.es.js +29 -0
  188. package/dist/node_modules/gsap/CSSPlugin.cjs.js +8 -0
  189. package/dist/node_modules/gsap/CSSPlugin.es.js +423 -0
  190. package/dist/node_modules/gsap/Flip.cjs.js +8 -0
  191. package/dist/node_modules/gsap/Flip.es.js +525 -0
  192. package/dist/node_modules/gsap/Observer.cjs.js +8 -0
  193. package/dist/node_modules/gsap/Observer.es.js +242 -0
  194. package/dist/node_modules/gsap/ScrollTrigger.cjs.js +8 -0
  195. package/dist/node_modules/gsap/ScrollTrigger.es.js +859 -0
  196. package/dist/node_modules/gsap/gsap-core.cjs.js +8 -0
  197. package/dist/node_modules/gsap/gsap-core.es.js +1651 -0
  198. package/dist/node_modules/gsap/index.cjs.js +1 -0
  199. package/dist/node_modules/gsap/index.es.js +13 -0
  200. package/dist/node_modules/gsap/utils/matrix.cjs.js +8 -0
  201. package/dist/node_modules/gsap/utils/matrix.es.js +104 -0
  202. package/dist/pageComponents/Gradient/Gradient.d.ts +5 -0
  203. package/dist/pageComponents/Gradient/index.d.ts +1 -0
  204. package/dist/pageComponents/StillHaveQuestions/StillHaveQuestions.d.ts +1 -0
  205. package/dist/pageComponents/StillHaveQuestions/index.d.ts +1 -0
  206. package/package.json +95 -4
  207. package/dist/modules/OptimalHealth/components/ClockImages/hooks.cjs.js +0 -1
  208. package/dist/modules/OptimalHealth/components/ClockImages/hooks.es.js +0 -13
@@ -0,0 +1,525 @@
1
+ import { getGlobalMatrix as O, _setDoc as rt, Matrix2D as Ge, _getDocScrollLeft as qe, _getDocScrollTop as Ne, _getCTM as st } from "./utils/matrix.es.js";
2
+ /*!
3
+ * Flip 3.13.0
4
+ * https://gsap.com
5
+ *
6
+ * @license Copyright 2008-2025, GreenSock. All rights reserved.
7
+ * Subject to the terms at https://gsap.com/standard-license
8
+ * @author: Jack Doyle, jack@greensock.com
9
+ */
10
+ var at = 1, ie, A, b, ne, J, q, Ie, Se = function(e, i) {
11
+ return e.actions.forEach(function(t) {
12
+ return t.vars[i] && t.vars[i](t);
13
+ });
14
+ }, Pe = {}, ze = 180 / Math.PI, ot = Math.PI / 180, ue = {}, Re = {}, ce = {}, Be = function(e) {
15
+ return typeof e == "string" ? e.split(" ").join("").split(",") : e;
16
+ }, lt = Be("onStart,onUpdate,onComplete,onReverseComplete,onInterrupt"), fe = Be("transform,transformOrigin,width,height,position,top,left,opacity,zIndex,maxWidth,maxHeight,minWidth,minHeight"), re = function(e) {
17
+ return ie(e)[0] || console.warn("Element not found:", e);
18
+ }, Q = function(e) {
19
+ return Math.round(e * 1e4) / 1e4 || 0;
20
+ }, be = function(e, i, t) {
21
+ return e.forEach(function(r) {
22
+ return r.classList[t](i);
23
+ });
24
+ }, Ye = {
25
+ zIndex: 1,
26
+ kill: 1,
27
+ simple: 1,
28
+ spin: 1,
29
+ clearProps: 1,
30
+ targets: 1,
31
+ toggleClass: 1,
32
+ onComplete: 1,
33
+ onUpdate: 1,
34
+ onInterrupt: 1,
35
+ onStart: 1,
36
+ delay: 1,
37
+ repeat: 1,
38
+ repeatDelay: 1,
39
+ yoyo: 1,
40
+ scale: 1,
41
+ fade: 1,
42
+ absolute: 1,
43
+ props: 1,
44
+ onEnter: 1,
45
+ onLeave: 1,
46
+ custom: 1,
47
+ paused: 1,
48
+ nested: 1,
49
+ prune: 1,
50
+ absoluteOnLeave: 1
51
+ }, Je = {
52
+ zIndex: 1,
53
+ simple: 1,
54
+ clearProps: 1,
55
+ scale: 1,
56
+ absolute: 1,
57
+ fitChild: 1,
58
+ getVars: 1,
59
+ props: 1
60
+ }, Ue = function(e) {
61
+ return e.replace(/([A-Z])/g, "-$1").toLowerCase();
62
+ }, ee = function(e, i) {
63
+ var t = {}, r;
64
+ for (r in e)
65
+ i[r] || (t[r] = e[r]);
66
+ return t;
67
+ }, Ce = {}, Ze = function(e) {
68
+ var i = Ce[e] = Be(e);
69
+ return ce[e] = i.concat(fe), i;
70
+ }, ut = function(e) {
71
+ var i = e._gsap || A.core.getCache(e);
72
+ return i.gmCache === A.ticker.frame ? i.gMatrix : (i.gmCache = A.ticker.frame, i.gMatrix = O(e, !0, !1, !0));
73
+ }, ht = function o(e, i, t) {
74
+ t === void 0 && (t = 0);
75
+ for (var r = e.parentNode, n = 1e3 * Math.pow(10, t) * (i ? -1 : 1), s = i ? -n * 900 : 0; e; )
76
+ s += n, e = e.previousSibling;
77
+ return r ? s + o(r, i, t + 1) : s;
78
+ }, he = function(e, i, t) {
79
+ return e.forEach(function(r) {
80
+ return r.d = ht(t ? r.element : r.t, i);
81
+ }), e.sort(function(r, n) {
82
+ return r.d - n.d;
83
+ }), e;
84
+ }, se = function(e, i) {
85
+ for (var t = e.element.style, r = e.css = e.css || [], n = i.length, s, l; n--; )
86
+ s = i[n], l = t[s] || t.getPropertyValue(s), r.push(l ? s : Re[s] || (Re[s] = Ue(s)), l);
87
+ return t;
88
+ }, pe = function(e) {
89
+ var i = e.css, t = e.element.style, r = 0;
90
+ for (e.cache.uncache = 1; r < i.length; r += 2)
91
+ i[r + 1] ? t[i[r]] = i[r + 1] : t.removeProperty(i[r]);
92
+ !i[i.indexOf("transform") + 1] && t.translate && (t.removeProperty("translate"), t.removeProperty("scale"), t.removeProperty("rotate"));
93
+ }, Oe = function(e, i) {
94
+ e.forEach(function(t) {
95
+ return t.a.cache.uncache = 1;
96
+ }), i || e.finalStates.forEach(pe);
97
+ }, xe = "paddingTop,paddingRight,paddingBottom,paddingLeft,gridArea,transition".split(","), Le = function(e, i, t) {
98
+ var r = e.element, n = e.width, s = e.height, l = e.uncache, u = e.getProp, a = r.style, c = 4, h, x, w;
99
+ if (typeof i != "object" && (i = e), b && t !== 1)
100
+ return b._abs.push({
101
+ t: r,
102
+ b: e,
103
+ a: e,
104
+ sd: 0
105
+ }), b._final.push(function() {
106
+ return (e.cache.uncache = 1) && pe(e);
107
+ }), r;
108
+ 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, xe), w = window.getComputedStyle(r); c--; )
109
+ a[xe[c]] = w[xe[c]];
110
+ 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)
111
+ h = new Z(r);
112
+ else if (h = ee(e, ue), h.position = "absolute", e.simple) {
113
+ var _ = r.getBoundingClientRect();
114
+ h.matrix = new Ge(1, 0, 0, 1, _.left + qe(), _.top + Ne());
115
+ } else
116
+ h.matrix = O(r, !1, !1, !0);
117
+ return h = te(h, e, !0), e.x = q(h.x, 0.01), e.y = q(h.y, 0.01), r;
118
+ }, He = function(e, i) {
119
+ return i !== !0 && (i = ie(i), e = e.filter(function(t) {
120
+ if (i.indexOf((t.sd < 0 ? t.b : t.a).element) !== -1)
121
+ return !0;
122
+ t.t._gsap.renderTransform(1), t.b.isVisible && (t.t.style.width = t.b.width + "px", t.t.style.height = t.b.height + "px");
123
+ })), e;
124
+ }, $e = function(e) {
125
+ return he(e, !0).forEach(function(i) {
126
+ return (i.a.isVisible || i.b.isVisible) && Le(i.sd < 0 ? i.b : i.a, i.b, 1);
127
+ });
128
+ }, pt = function(e, i) {
129
+ return i && e.idLookup[Ve(i).id] || e.elementStates[0];
130
+ }, Ve = function(e, i, t, r) {
131
+ return e instanceof Z ? e : e instanceof S ? pt(e, r) : new Z(typeof e == "string" ? re(e) || console.warn(e + " not found") : e, i, t);
132
+ }, ct = function(e, i) {
133
+ for (var t = A.getProperty(e.element, null, "native"), r = e.props = {}, n = i.length; n--; )
134
+ r[i[n]] = (t(i[n]) + "").trim();
135
+ return r.zIndex && (r.zIndex = parseFloat(r.zIndex) || 0), e;
136
+ }, Ke = function(e, i) {
137
+ var t = e.style || e, r;
138
+ for (r in i)
139
+ t[r] = i[r];
140
+ }, ft = function(e) {
141
+ var i = e.getAttribute("data-flip-id");
142
+ return i || e.setAttribute("data-flip-id", i = "auto-" + at++), i;
143
+ }, Qe = function(e) {
144
+ return e.map(function(i) {
145
+ return i.element;
146
+ });
147
+ }, We = function(e, i, t) {
148
+ return e && i.length && t.add(e(Qe(i), t, new S(i, 0, !0)), 0);
149
+ }, te = function(e, i, t, r, n, s) {
150
+ 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, g = i.rotation, y = i.bounds, M = s && Ie && Ie(l, "transform,width,height"), f = e, B = i.matrix, I = B.e, L = B.f, z = e.bounds.width !== y.width || e.bounds.height !== y.height || e.scaleX !== _ || e.scaleY !== v || e.rotation !== g, R = !z && e.simple && i.simple && !n, C, m, k, H, X, D, d;
151
+ return R || !a ? (_ = v = 1, g = C = 0) : (X = ut(a), D = X.clone().multiply(i.ctm ? i.matrix.clone().multiply(i.ctm) : i.matrix), g = Q(Math.atan2(D.b, D.a) * ze), C = Q(Math.atan2(D.c, D.d) * ze + g) % 360, _ = Math.sqrt(Math.pow(D.a, 2) + Math.pow(D.b, 2)), v = Math.sqrt(Math.pow(D.c, 2) + Math.pow(D.d, 2)) * Math.cos(C * ot), n && (n = ie(n)[0], H = A.getProperty(n), d = n.getBBox && typeof n.getBBox == "function" && n.getBBox(), f = {
152
+ scaleX: H("scaleX"),
153
+ scaleY: H("scaleY"),
154
+ width: d ? d.width : Math.ceil(parseFloat(H("width", "px"))),
155
+ height: d ? d.height : parseFloat(H("height", "px"))
156
+ }), u.rotation = g + "deg", u.skewX = C + "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 && Ke(l, i.props), R || !a ? (c += I - e.matrix.e, h += L - e.matrix.f) : z || a !== i.parent ? (u.renderTransform(1, u), D = O(n || l, !1, !1, !0), m = X.apply({
157
+ x: D.e,
158
+ y: D.f
159
+ }), k = X.apply({
160
+ x: I,
161
+ y: L
162
+ }), c += k.x - m.x, h += k.y - m.y) : (X.e = X.f = 0, k = X.apply({
163
+ x: I - e.matrix.e,
164
+ y: L - e.matrix.f
165
+ }), c += k.x, h += k.y), c = q(c, 0.02), h = q(h, 0.02), s && !(s instanceof Z) ? M && M.revert() : (u.x = c + "px", u.y = h + "px", u.renderTransform(1, u)), s && (s.x = c, s.y = h, s.rotation = g, s.skewX = C, t ? (s.scaleX = _, s.scaleY = v) : (s.width = x, s.height = w)), s || u;
166
+ }, we = function(e, i) {
167
+ return e instanceof S ? e : new S(e, i);
168
+ }, et = function(e, i, t) {
169
+ var r = e.idLookup[t], n = e.alt[t];
170
+ return n.isVisible && (!(i.getElementState(n.element) || n).isVisible || !r.isVisible) ? n : r;
171
+ }, ve = [], ke = "width,height,overflowX,overflowY".split(","), oe, je = function(e) {
172
+ if (e !== oe) {
173
+ var i = J.style, t = J.clientWidth === window.outerWidth, r = J.clientHeight === window.outerHeight, n = 4;
174
+ if (e && (t || r)) {
175
+ for (; n--; )
176
+ ve[n] = i[ke[n]];
177
+ t && (i.width = J.clientWidth + "px", i.overflowY = "hidden"), r && (i.height = J.clientHeight + "px", i.overflowX = "hidden"), oe = e;
178
+ } else if (oe) {
179
+ for (; n--; )
180
+ ve[n] ? i[ke[n]] = ve[n] : i.removeProperty(Ue(ke[n]));
181
+ oe = e;
182
+ }
183
+ }
184
+ }, Ee = function(e, i, t, r) {
185
+ e instanceof S && i instanceof S || console.warn("Not a valid state object."), t = t || {};
186
+ 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, g = n.yoyo, y = n.toggleClass, M = n.nested, f = n.zIndex, B = n.scale, I = n.fade, L = n.stagger, z = n.spin, R = n.prune, C = ("props" in t ? t : e).props, m = ee(t, Ye), k = A.timeline({
187
+ delay: x,
188
+ paused: w,
189
+ repeat: _,
190
+ repeatDelay: v,
191
+ yoyo: g,
192
+ data: "isFlip"
193
+ }), H = m, X = [], D = [], d = [], ae = [], tt = z === !0 ? 1 : z || 0, it = typeof z == "function" ? z : function() {
194
+ return tt;
195
+ }, de = e.interrupted || i.interrupted, Ae = k[r !== 1 ? "to" : "from"], $, F, Te, N, V, E, K, Y, me, W, j, ge, P, T;
196
+ for (F in i.idLookup)
197
+ j = i.alt[F] ? et(i, e, F) : i.idLookup[F], V = j.element, W = e.idLookup[F], e.alt[F] && V === W.element && (e.alt[F].isVisible || !j.isVisible) && (W = e.alt[F]), W ? (E = {
198
+ t: V,
199
+ b: W,
200
+ a: j,
201
+ sd: W.element === V ? 0 : j.isVisible ? 1 : -1
202
+ }, d.push(E), E.sd && (E.sd < 0 && (E.b = j, E.a = W), de && se(E.b, C ? ce[C] : fe), I && d.push(E.swap = {
203
+ t: W.element,
204
+ b: E.b,
205
+ a: E.a,
206
+ sd: -E.sd,
207
+ swap: E
208
+ })), V._flip = W.element._flip = b ? b.timeline : k) : j.isVisible && (d.push({
209
+ t: V,
210
+ b: ee(j, {
211
+ isVisible: 1
212
+ }),
213
+ a: j,
214
+ sd: 0,
215
+ entering: 1
216
+ }), V._flip = b ? b.timeline : k);
217
+ if (C && (Ce[C] || Ze(C)).forEach(function(G) {
218
+ return m[G] = function(U) {
219
+ return d[U].a.props[G];
220
+ };
221
+ }), d.finalStates = me = [], ge = function() {
222
+ for (he(d), je(!0), N = 0; N < d.length; N++)
223
+ E = d[N], P = E.a, T = E.b, R && !P.isDifferent(T) && !E.entering ? d.splice(N--, 1) : (V = E.t, M && !(E.sd < 0) && N && (P.matrix = O(V, !1, !1, !0)), T.isVisible && P.isVisible ? (E.sd < 0 ? (K = new Z(V, C, e.simple), te(K, P, B, 0, 0, K), K.matrix = O(V, !1, !1, !0), K.css = E.b.css, E.a = P = K, I && (V.style.opacity = de ? T.opacity : P.opacity), L && ae.push(V)) : E.sd > 0 && I && (V.style.opacity = de ? P.opacity - T.opacity : "0"), te(P, T, B, C)) : T.isVisible !== P.isVisible && (T.isVisible ? P.isVisible || (T.css = P.css, D.push(T), d.splice(N--, 1), a && M && te(P, T, B, C)) : (P.isVisible && X.push(P), d.splice(N--, 1))), B || (V.style.maxWidth = Math.max(P.width, T.width) + "px", V.style.maxHeight = Math.max(P.height, T.height) + "px", V.style.minWidth = Math.min(P.width, T.width) + "px", V.style.minHeight = Math.min(P.height, T.height) + "px"), M && y && V.classList.add(y)), me.push(P);
224
+ var U;
225
+ if (y && (U = me.map(function(p) {
226
+ return p.element;
227
+ }), M && U.forEach(function(p) {
228
+ return p.classList.remove(y);
229
+ })), je(!1), B ? (m.scaleX = function(p) {
230
+ return d[p].a.scaleX;
231
+ }, m.scaleY = function(p) {
232
+ return d[p].a.scaleY;
233
+ }) : (m.width = function(p) {
234
+ return d[p].a.width + "px";
235
+ }, m.height = function(p) {
236
+ return d[p].a.height + "px";
237
+ }, m.autoRound = t.autoRound || !1), m.x = function(p) {
238
+ return d[p].a.x + "px";
239
+ }, m.y = function(p) {
240
+ return d[p].a.y + "px";
241
+ }, m.rotation = function(p) {
242
+ return d[p].a.rotation + (z ? it(p, Y[p], Y) * 360 : 0);
243
+ }, m.skewX = function(p) {
244
+ return d[p].a.skewX;
245
+ }, Y = d.map(function(p) {
246
+ return p.t;
247
+ }), (f || f === 0) && (m.modifiers = {
248
+ zIndex: function() {
249
+ return f;
250
+ }
251
+ }, m.zIndex = f, m.immediateRender = t.immediateRender !== !1), I && (m.opacity = function(p) {
252
+ return d[p].sd < 0 ? 0 : d[p].sd > 0 ? d[p].a.opacity : "+=0";
253
+ }), ae.length) {
254
+ L = A.utils.distribute(L);
255
+ var nt = Y.slice(ae.length);
256
+ m.stagger = function(p, Xe) {
257
+ return L(~ae.indexOf(Xe) ? Y.indexOf(d[p].swap.t) : p, Xe, nt);
258
+ };
259
+ }
260
+ if (lt.forEach(function(p) {
261
+ return t[p] && k.eventCallback(p, t[p], t[p + "Params"]);
262
+ }), h && Y.length) {
263
+ H = ee(m, Ye), "scale" in h && (h.scaleX = h.scaleY = h.scale, delete h.scale);
264
+ for (F in h)
265
+ $ = ee(h[F], Je), $[F] = m[F], !("duration" in $) && "duration" in m && ($.duration = m.duration), $.stagger = m.stagger, Ae.call(k, Y, $, 0), delete H[F];
266
+ }
267
+ (Y.length || D.length || X.length) && (y && k.add(function() {
268
+ return be(U, y, k._zTime < 0 ? "remove" : "add");
269
+ }, 0) && !w && be(U, y, "add"), Y.length && Ae.call(k, Y, H, 0)), We(l, X, k), We(u, D, k);
270
+ var _e = b && b.timeline;
271
+ _e && (_e.add(k, 0), b._final.push(function() {
272
+ return Oe(d, !s);
273
+ })), Te = k.duration(), k.call(function() {
274
+ var p = k.time() >= Te;
275
+ p && !_e && Oe(d, !s), y && be(U, y, p ? "remove" : "add");
276
+ });
277
+ }, c && (a = d.filter(function(G) {
278
+ return !G.sd && !G.a.isVisible && G.b.isVisible;
279
+ }).map(function(G) {
280
+ return G.a.element;
281
+ })), b) {
282
+ var Fe;
283
+ a && (Fe = b._abs).push.apply(Fe, He(d, a)), b._run.push(ge);
284
+ } else
285
+ a && $e(He(d, a)), ge();
286
+ var ye = b ? b.timeline : k;
287
+ return ye.revert = function() {
288
+ return Me(ye, 1, 1);
289
+ }, ye;
290
+ }, dt = function o(e) {
291
+ e.vars.onInterrupt && e.vars.onInterrupt.apply(e, e.vars.onInterruptParams || []), e.getChildren(!0, !1, !0).forEach(o);
292
+ }, Me = function(e, i, t) {
293
+ if (e && e.progress() < 1 && (!e.paused() || t))
294
+ return i && (dt(e), i < 2 && e.progress(1), e.kill()), !0;
295
+ }, le = function(e) {
296
+ for (var i = e.idLookup = {}, t = e.alt = {}, r = e.elementStates, n = r.length, s; n--; )
297
+ s = r[n], i[s.id] ? t[s.id] = s : i[s.id] = s;
298
+ }, S = /* @__PURE__ */ function() {
299
+ function o(i, t, r) {
300
+ if (this.props = t && t.props, this.simple = !!(t && t.simple), r)
301
+ this.targets = Qe(i), this.elementStates = i, le(this);
302
+ else {
303
+ this.targets = ie(i);
304
+ var n = t && (t.kill === !1 || t.batch && !t.kill);
305
+ b && !n && b._kill.push(this), this.update(n || !!b);
306
+ }
307
+ }
308
+ var e = o.prototype;
309
+ return e.update = function(t) {
310
+ var r = this;
311
+ return this.elementStates = this.targets.map(function(n) {
312
+ return new Z(n, r.props, r.simple);
313
+ }), le(this), this.interrupt(t), this.recordInlineStyles(), this;
314
+ }, e.clear = function() {
315
+ return this.targets.length = this.elementStates.length = 0, le(this), this;
316
+ }, e.fit = function(t, r, n) {
317
+ for (var s = he(this.elementStates.slice(0), !1, !0), l = (t || this).idLookup, u = 0, a, c; u < s.length; u++)
318
+ a = s[u], n && (a.matrix = O(a.element, !1, !1, !0)), c = l[a.id], c && te(a, c, r, !0, 0, a), a.matrix = O(a.element, !1, !1, !0);
319
+ return this;
320
+ }, e.getProperty = function(t, r) {
321
+ var n = this.getElementState(t) || ue;
322
+ return (r in n ? n : n.props || ue)[r];
323
+ }, e.add = function(t) {
324
+ for (var r = t.targets.length, n = this.idLookup, s = this.alt, l, u, a; r--; )
325
+ 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));
326
+ return t.interrupted && (this.interrupted = !0), t.simple || (this.simple = !1), le(this), this;
327
+ }, e.compare = function(t) {
328
+ var r = t.idLookup, n = this.idLookup, s = [], l = [], u = [], a = [], c = [], h = t.alt, x = this.alt, w = function(R, C, m) {
329
+ return (R.isVisible !== C.isVisible ? R.isVisible ? u : a : R.isVisible ? l : s).push(m) && c.push(m);
330
+ }, _ = function(R, C, m) {
331
+ return c.indexOf(m) < 0 && w(R, C, m);
332
+ }, v, g, y, M, f, B, I, L;
333
+ for (y in r)
334
+ f = h[y], B = x[y], v = f ? et(t, this, y) : r[y], M = v.element, g = n[y], B ? (L = g.isVisible || !B.isVisible && M === g.element ? g : B, I = f && !v.isVisible && !f.isVisible && L.element === f.element ? f : v, I.isVisible && L.isVisible && I.element !== L.element ? ((I.isDifferent(L) ? l : s).push(I.element, L.element), c.push(I.element, L.element)) : w(I, L, I.element), f && I.element === f.element && (f = r[y]), _(I.element !== g.element && f ? f : I, g, g.element), _(f && f.element === B.element ? f : I, B, B.element), f && _(f, B.element === f.element ? B : g, f.element)) : (g ? g.isDifferent(v) ? w(v, g, M) : s.push(M) : u.push(M), f && _(f, g, f.element));
335
+ for (y in n)
336
+ r[y] || (a.push(n[y].element), x[y] && a.push(x[y].element));
337
+ return {
338
+ changed: l,
339
+ unchanged: s,
340
+ enter: u,
341
+ leave: a
342
+ };
343
+ }, e.recordInlineStyles = function() {
344
+ for (var t = ce[this.props] || fe, r = this.elementStates.length; r--; )
345
+ se(this.elementStates[r], t);
346
+ }, e.interrupt = function(t) {
347
+ var r = this, n = [];
348
+ this.targets.forEach(function(s) {
349
+ var l = s._flip, u = Me(l, t ? 0 : 1);
350
+ t && u && n.indexOf(l) < 0 && l.add(function() {
351
+ return r.updateVisibility();
352
+ }), u && n.push(l);
353
+ }), !t && n.length && this.updateVisibility(), this.interrupted || (this.interrupted = !!n.length);
354
+ }, e.updateVisibility = function() {
355
+ this.elementStates.forEach(function(t) {
356
+ var r = t.element.getBoundingClientRect();
357
+ t.isVisible = !!(r.width || r.height || r.top || r.left), t.uncache = 1;
358
+ });
359
+ }, e.getElementState = function(t) {
360
+ return this.elementStates[this.targets.indexOf(re(t))];
361
+ }, e.makeAbsolute = function() {
362
+ return he(this.elementStates.slice(0), !0, !0).map(Le);
363
+ }, o;
364
+ }(), Z = /* @__PURE__ */ function() {
365
+ function o(i, t, r) {
366
+ this.element = i, this.update(t, r);
367
+ }
368
+ var e = o.prototype;
369
+ return e.isDifferent = function(t) {
370
+ var r = this.bounds, n = t.bounds;
371
+ 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);
372
+ }, e.update = function(t, r) {
373
+ 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 Ge(1, 0, 0, 1, a.left + qe(), a.top + Ne()) : O(s, !1, !1, !0);
374
+ u.uncache = 1, n.getProp = l, n.element = s, n.id = ft(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"), 0.04), n.height = c ? c.height : q(l("height", "px"), 0.04), t && ct(n, Ce[t] || Ze(t)), n.ctm = s.getCTM && s.nodeName.toLowerCase() === "svg" && st(s).inverse(), n.simple = r || Q(h.a) === 1 && !Q(h.b) && !Q(h.c) && Q(h.d) === 1, n.uncache = 0;
375
+ }, o;
376
+ }(), mt = /* @__PURE__ */ function() {
377
+ function o(i, t) {
378
+ this.vars = i, this.batch = t, this.states = [], this.timeline = t.timeline;
379
+ }
380
+ var e = o.prototype;
381
+ return e.getStateById = function(t) {
382
+ for (var r = this.states.length; r--; )
383
+ if (this.states[r].idLookup[t])
384
+ return this.states[r];
385
+ }, e.kill = function() {
386
+ this.batch.remove(this);
387
+ }, o;
388
+ }(), gt = /* @__PURE__ */ function() {
389
+ function o(i) {
390
+ this.id = i, this.actions = [], this._kill = [], this._final = [], this._abs = [], this._run = [], this.data = {}, this.state = new S(), this.timeline = A.timeline();
391
+ }
392
+ var e = o.prototype;
393
+ return e.add = function(t) {
394
+ var r = this.actions.filter(function(n) {
395
+ return n.vars === t;
396
+ });
397
+ return r.length ? r[0] : (r = new mt(typeof t == "function" ? {
398
+ animate: t
399
+ } : t, this), this.actions.push(r), r);
400
+ }, e.remove = function(t) {
401
+ var r = this.actions.indexOf(t);
402
+ return r >= 0 && this.actions.splice(r, 1), this;
403
+ }, e.getState = function(t) {
404
+ var r = this, n = b, s = ne;
405
+ return b = this, this.state.clear(), this._kill.length = 0, this.actions.forEach(function(l) {
406
+ l.vars.getState && (l.states.length = 0, ne = l, l.state = l.vars.getState(l)), t && l.states.forEach(function(u) {
407
+ return r.state.add(u);
408
+ });
409
+ }), ne = s, b = n, this.killConflicts(), this;
410
+ }, e.animate = function() {
411
+ var t = this, r = b, n = this.timeline, s = this.actions.length, l, u;
412
+ for (b = this, n.clear(), this._abs.length = this._final.length = this._run.length = 0, this.actions.forEach(function(a) {
413
+ a.vars.animate && a.vars.animate(a);
414
+ var c = a.vars.onEnter, h = a.vars.onLeave, x = a.targets, w, _;
415
+ x && x.length && (c || h) && (w = new S(), a.states.forEach(function(v) {
416
+ return w.add(v);
417
+ }), _ = w.compare(De.getState(x)), _.enter.length && c && c(_.enter), _.leave.length && h && h(_.leave));
418
+ }), $e(this._abs), this._run.forEach(function(a) {
419
+ return a();
420
+ }), u = n.duration(), l = this._final.slice(0), n.add(function() {
421
+ u <= n.time() && (l.forEach(function(a) {
422
+ return a();
423
+ }), Se(t, "onComplete"));
424
+ }), b = r; s--; )
425
+ this.actions[s].vars.once && this.actions[s].kill();
426
+ return Se(this, "onStart"), n.restart(), this;
427
+ }, e.loadState = function(t) {
428
+ t || (t = function() {
429
+ return 0;
430
+ });
431
+ var r = [];
432
+ return this.actions.forEach(function(n) {
433
+ if (n.vars.loadState) {
434
+ var s, l = function u(a) {
435
+ a && (n.targets = a), s = r.indexOf(u), ~s && (r.splice(s, 1), r.length || t());
436
+ };
437
+ r.push(l), n.vars.loadState(l);
438
+ }
439
+ }), r.length || t(), this;
440
+ }, e.setState = function() {
441
+ return this.actions.forEach(function(t) {
442
+ return t.targets = t.vars.setState && t.vars.setState(t);
443
+ }), this;
444
+ }, e.killConflicts = function(t) {
445
+ return this.state.interrupt(t), this._kill.forEach(function(r) {
446
+ return r.interrupt(t);
447
+ }), this;
448
+ }, e.run = function(t, r) {
449
+ var n = this;
450
+ return this !== b && (t || this.getState(r), this.loadState(function() {
451
+ n._killed || (n.setState(), n.animate());
452
+ })), this;
453
+ }, e.clear = function(t) {
454
+ this.state.clear(), t || (this.actions.length = 0);
455
+ }, e.getStateById = function(t) {
456
+ for (var r = this.actions.length, n; r--; )
457
+ if (n = this.actions[r].getStateById(t), n)
458
+ return n;
459
+ return this.state.idLookup[t] && this.state;
460
+ }, e.kill = function() {
461
+ this._killed = 1, this.clear(), delete Pe[this.id];
462
+ }, o;
463
+ }(), De = /* @__PURE__ */ function() {
464
+ function o() {
465
+ }
466
+ return o.getState = function(i, t) {
467
+ var r = we(i, t);
468
+ return ne && ne.states.push(r), t && t.batch && o.batch(t.batch).state.add(r), r;
469
+ }, o.from = function(i, t) {
470
+ return t = t || {}, "clearProps" in t || (t.clearProps = !0), Ee(i, we(t.targets || i.targets, {
471
+ props: t.props || i.props,
472
+ simple: t.simple,
473
+ kill: !!t.kill
474
+ }), t, -1);
475
+ }, o.to = function(i, t) {
476
+ return Ee(i, we(t.targets || i.targets, {
477
+ props: t.props || i.props,
478
+ simple: t.simple,
479
+ kill: !!t.kill
480
+ }), t, 1);
481
+ }, o.fromTo = function(i, t, r) {
482
+ return Ee(i, t, r);
483
+ }, o.fit = function(i, t, r) {
484
+ 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), g = Ve(i, 0, w, v), y = c ? ce[c] : fe, M = A.context();
485
+ return c && Ke(n, v.props), se(g, y), h && ("immediateRender" in n || (n.immediateRender = !0), n.onComplete = function() {
486
+ pe(g), x && x.apply(this, arguments);
487
+ }), l && Le(g, v), n = te(g, v, u || _, !n.duration && c, _, n.duration || a ? n : 0), typeof r == "object" && "zIndex" in r && (n.zIndex = r.zIndex), M && !a && M.add(function() {
488
+ return function() {
489
+ return pe(g);
490
+ };
491
+ }), a ? n : n.duration ? A.to(g.element, n) : null;
492
+ }, o.makeAbsolute = function(i, t) {
493
+ return (i instanceof S ? i : new S(i, t)).makeAbsolute();
494
+ }, o.batch = function(i) {
495
+ return i || (i = "default"), Pe[i] || (Pe[i] = new gt(i));
496
+ }, o.killFlipsOf = function(i, t) {
497
+ (i instanceof S ? i.targets : ie(i)).forEach(function(r) {
498
+ return r && Me(r._flip, t !== !1 ? 1 : 2);
499
+ });
500
+ }, o.isFlipping = function(i) {
501
+ var t = o.getByTarget(i);
502
+ return !!t && t.isActive();
503
+ }, o.getByTarget = function(i) {
504
+ return (re(i) || ue)._flip;
505
+ }, o.getElementState = function(i, t) {
506
+ return new Z(re(i), t);
507
+ }, o.convertCoordinates = function(i, t, r) {
508
+ var n = O(t, !0, !0).multiply(O(i));
509
+ return r ? n.apply(r) : n;
510
+ }, o.register = function(i) {
511
+ if (J = typeof document < "u" && document.body, J) {
512
+ A = i, rt(J), ie = A.utils.toArray, Ie = A.core.getStyleSaver;
513
+ var t = A.utils.snap(0.1);
514
+ q = function(n, s) {
515
+ return t(parseFloat(n) + s);
516
+ };
517
+ }
518
+ }, o;
519
+ }();
520
+ De.version = "3.13.0";
521
+ typeof window < "u" && window.gsap && window.gsap.registerPlugin(De);
522
+ export {
523
+ De as Flip,
524
+ De as default
525
+ };
@@ -0,0 +1,8 @@
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});function xt(s,n){for(var i=0;i<n.length;i++){var t=n[i];t.enumerable=t.enumerable||!1,t.configurable=!0,"value"in t&&(t.writable=!0),Object.defineProperty(s,t.key,t)}}function mt(s,n,i){return n&&xt(s.prototype,n),s}/*!
2
+ * Observer 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 _,ce,y,C,E,W,st,H,Z,ct,T,m,at,ut=function(){return _||typeof window<"u"&&(_=window.gsap)&&_.registerPlugin&&_},gt=1,R=[];exports._scrollers=[];exports._proxies=[];var J=Date.now,be=function(n,i){return i},bt=function(){var n=Z.core,i=n.bridge||{},t=n._scrollers,c=n._proxies;t.push.apply(t,exports._scrollers),c.push.apply(c,exports._proxies),exports._scrollers=t,exports._proxies=c,be=function(g,o){return i[g](o)}},ft=function(n,i){return~exports._proxies.indexOf(n)&&exports._proxies[exports._proxies.indexOf(n)+1][i]},z=function(n){return!!~ct.indexOf(n)},h=function(n,i,t,c,u){return n.addEventListener(i,t,{passive:c!==!1,capture:!!u})},p=function(n,i,t,c){return n.removeEventListener(i,t,!!c)},le="scrollLeft",se="scrollTop",De=function(){return T&&T.isPressed||exports._scrollers.cache++},ae=function(n,i){var t=function c(u){if(u||u===0){gt&&(y.history.scrollRestoration="manual");var g=T&&T.isPressed;u=c.v=Math.round(u)||(T&&T.iOS?1:0),n(u),c.cacheID=exports._scrollers.cache,g&&be("ss",u)}else(i||exports._scrollers.cache!==c.cacheID||be("ref"))&&(c.cacheID=exports._scrollers.cache,c.v=n());return c.v+c.offset};return t.offset=0,n&&t},K={s:le,p:"left",p2:"Left",os:"right",os2:"Right",d:"width",d2:"Width",a:"x",sc:ae(function(s){return arguments.length?y.scrollTo(s,Q.sc()):y.pageXOffset||C[le]||E[le]||W[le]||0})},Q={s:se,p:"top",p2:"Top",os:"bottom",os2:"Bottom",d:"height",d2:"Height",a:"y",op:K,sc:ae(function(s){return arguments.length?y.scrollTo(K.sc(),s):y.pageYOffset||C[se]||E[se]||W[se]||0})},dt=function(n,i){return(i&&i._ctx&&i._ctx.selector||_.utils.toArray)(n)[0]||(typeof n=="string"&&_.config().nullTargetWarn!==!1?console.warn("Element not found:",n):null)},Dt=function(n,i){for(var t=i.length;t--;)if(i[t]===n||i[t].contains(n))return!0;return!1},we=function(n,i){var t=i.s,c=i.sc;z(n)&&(n=C.scrollingElement||E);var u=exports._scrollers.indexOf(n),g=c===Q.sc?1:2;!~u&&(u=exports._scrollers.push(n)-1),exports._scrollers[u+g]||h(n,"scroll",De);var o=exports._scrollers[u+g],D=o||(exports._scrollers[u+g]=ae(ft(n,t),!0)||(z(n)?c:ae(function(P){return arguments.length?n[t]=P:n[t]})));return D.target=n,o||(D.smooth=_.getProperty(n,"scrollBehavior")==="smooth"),D},Te=function(n,i,t){var c=n,u=n,g=J(),o=g,D=i||50,P=Math.max(500,D*3),S=function(x,I){var w=J();I||w-g>D?(u=c,c=x,o=g,g=w):t?c+=x:c=u+(x-u)/(w-o)*(g-o)},M=function(){u=c=t?0:c,o=g=0},ue=function(x){var I=o,w=u,N=J();return(x||x===0)&&x!==c&&S(x),g===o||N-o>P?0:(c+(t?w:-w))/((t?N:g)-I)*1e3};return{update:S,reset:M,getVelocity:ue}},U=function(n,i){return i&&!n._gsapAllow&&n.preventDefault(),n.changedTouches?n.changedTouches[0]:n},lt=function(n){var i=Math.max.apply(Math,n),t=Math.min.apply(Math,n);return Math.abs(i)>=Math.abs(t)?i:t},_t=function(){Z=_.core.globals().ScrollTrigger,Z&&Z.core&&bt()},pt=function(n){return _=n||ut(),!ce&&_&&typeof document<"u"&&document.body&&(y=window,C=document,E=C.documentElement,W=C.body,ct=[y,C,E,W],_.utils.clamp,at=_.core.context||function(){},H="onpointerenter"in W?"pointer":"mouse",st=b.isTouch=y.matchMedia&&y.matchMedia("(hover: none), (pointer: coarse)").matches?1:"ontouchstart"in y||navigator.maxTouchPoints>0||navigator.msMaxTouchPoints>0?2:0,m=b.eventTypes=("ontouchstart"in E?"touchstart,touchmove,touchcancel,touchend":"onpointerdown"in E?"pointerdown,pointermove,pointercancel,pointerup":"mousedown,mousemove,mouseup,mouseup").split(","),setTimeout(function(){return gt=0},500),_t(),ce=1),ce};K.op=Q;exports._scrollers.cache=0;var b=function(){function s(i){this.init(i)}var n=s.prototype;return n.init=function(t){ce||pt(_)||console.warn("Please gsap.registerPlugin(Observer)"),Z||_t();var c=t.tolerance,u=t.dragMinimum,g=t.type,o=t.target,D=t.lineHeight,P=t.debounce,S=t.preventDefault,M=t.onStop,ue=t.onStopDelay,k=t.ignore,x=t.wheelSpeed,I=t.event,w=t.onDragStart,N=t.onDragEnd,Pe=t.onDrag,Se=t.onPress,Me=t.onRelease,ke=t.onRight,Ye=t.onLeft,Ce=t.onUp,Ee=t.onDown,Xe=t.onChangeX,Oe=t.onChangeY,Ge=t.onChange,Ae=t.onToggleX,Fe=t.onToggleY,He=t.onHover,Le=t.onHoverEnd,ge=t.onMove,Ve=t.ignoreCheck,L=t.isNormalizer,Re=t.onGestureStart,We=t.onGestureEnd,ze=t.onWheel,Ie=t.onEnable,Ne=t.onDisable,Be=t.onClick,$=t.scrollSpeed,V=t.capture,je=t.allowClicks,ht=t.lockAxis,qe=t.onLockAxis;this.target=o=dt(o)||E,this.vars=t,k&&(k=_.utils.toArray(k)),c=c||1e-9,u=u||0,x=x||1,$=$||1,g=g||"wheel,touch,pointer",P=P!==!1,D||(D=parseFloat(y.getComputedStyle(W).lineHeight)||22);var B,X,O,ee,fe,de,j,e=this,_e=0,pe=0,te=t.passive||!S&&t.passive!==!1,ne=we(o,K),re=we(o,Q),he=ne(),ve=re(),vt=~g.indexOf("touch")&&!~g.indexOf("pointer")&&m[0]==="pointerdown",oe=z(o),d=o.ownerDocument||C,G=[0,0,0],A=[0,0,0],Ue=0,Ze=function(){return Ue=J()},F=function(r,a){return(e.event=r)&&k&&Dt(r.target,k)||a&&vt&&r.pointerType!=="touch"||Ve&&Ve(r,a)},yt=function(){e._vx.reset(),e._vy.reset(),X.pause(),M&&M(e)},q=function(){var r=e.deltaX=lt(G),a=e.deltaY=lt(A),f=Math.abs(r)>=c,v=Math.abs(a)>=c;Ge&&(f||v)&&Ge(e,r,a,G,A),f&&(ke&&e.deltaX>0&&ke(e),Ye&&e.deltaX<0&&Ye(e),Xe&&Xe(e),Ae&&e.deltaX<0!=_e<0&&Ae(e),_e=e.deltaX,G[0]=G[1]=G[2]=0),v&&(Ee&&e.deltaY>0&&Ee(e),Ce&&e.deltaY<0&&Ce(e),Oe&&Oe(e),Fe&&e.deltaY<0!=pe<0&&Fe(e),pe=e.deltaY,A[0]=A[1]=A[2]=0),(ee||O)&&(ge&&ge(e),O&&(w&&O===1&&w(e),Pe&&Pe(e),O=0),ee=!1),de&&!(de=!1)&&qe&&qe(e),fe&&(ze(e),fe=!1),B=0},Je=function(r,a,f){G[f]+=r,A[f]+=a,e._vx.update(r),e._vy.update(a),P?B||(B=requestAnimationFrame(q)):q()},Ke=function(r,a){ht&&!j&&(e.axis=j=Math.abs(r)>Math.abs(a)?"x":"y",de=!0),j!=="y"&&(G[2]+=r,e._vx.update(r,!0)),j!=="x"&&(A[2]+=a,e._vy.update(a,!0)),P?B||(B=requestAnimationFrame(q)):q()},ye=function(r){if(!F(r,1)){r=U(r,S);var a=r.clientX,f=r.clientY,v=a-e.x,Y=f-e.y,me=e.isDragging;e.x=a,e.y=f,(me||(v||Y)&&(Math.abs(e.startX-a)>=u||Math.abs(e.startY-f)>=u))&&(O=me?2:1,me||(e.isDragging=!0),Ke(v,Y))}},xe=e.onPress=function(l){F(l,1)||l&&l.button||(e.axis=j=null,X.pause(),e.isPressed=!0,l=U(l),_e=pe=0,e.startX=e.x=l.clientX,e.startY=e.y=l.clientY,e._vx.reset(),e._vy.reset(),h(L?o:d,m[1],ye,te,!0),e.deltaX=e.deltaY=0,Se&&Se(e))},ie=e.onRelease=function(l){if(!F(l,1)){p(L?o:d,m[1],ye,!0);var r=!isNaN(e.y-e.startY),a=e.isDragging,f=a&&(Math.abs(e.x-e.startX)>3||Math.abs(e.y-e.startY)>3),v=U(l);!f&&r&&(e._vx.reset(),e._vy.reset(),S&&je&&_.delayedCall(.08,function(){if(J()-Ue>300&&!l.defaultPrevented){if(l.target.click)l.target.click();else if(d.createEvent){var Y=d.createEvent("MouseEvents");Y.initMouseEvent("click",!0,!0,y,1,v.screenX,v.screenY,v.clientX,v.clientY,!1,!1,!1,!1,0,null),l.target.dispatchEvent(Y)}}})),e.isDragging=e.isGesturing=e.isPressed=!1,M&&a&&!L&&X.restart(!0),O&&q(),N&&a&&N(e),Me&&Me(e,f)}},Qe=function(r){return r.touches&&r.touches.length>1&&(e.isGesturing=!0)&&Re(r,e.isDragging)},$e=function(){return(e.isGesturing=!1)||We(e)},et=function(r){if(!F(r)){var a=ne(),f=re();Je((a-he)*$,(f-ve)*$,1),he=a,ve=f,M&&X.restart(!0)}},tt=function(r){if(!F(r)){r=U(r,S),ze&&(fe=!0);var a=(r.deltaMode===1?D:r.deltaMode===2?y.innerHeight:1)*x;Je(r.deltaX*a,r.deltaY*a,0),M&&!L&&X.restart(!0)}},nt=function(r){if(!F(r)){var a=r.clientX,f=r.clientY,v=a-e.x,Y=f-e.y;e.x=a,e.y=f,ee=!0,M&&X.restart(!0),(v||Y)&&Ke(v,Y)}},rt=function(r){e.event=r,He(e)},ot=function(r){e.event=r,Le(e)},it=function(r){return F(r)||U(r,S)&&Be(e)};X=e._dc=_.delayedCall(ue||.25,yt).pause(),e.deltaX=e.deltaY=0,e._vx=Te(0,50,!0),e._vy=Te(0,50,!0),e.scrollX=ne,e.scrollY=re,e.isDragging=e.isGesturing=e.isPressed=!1,at(this),e.enable=function(l){return e.isEnabled||(h(oe?d:o,"scroll",De),g.indexOf("scroll")>=0&&h(oe?d:o,"scroll",et,te,V),g.indexOf("wheel")>=0&&h(o,"wheel",tt,te,V),(g.indexOf("touch")>=0&&st||g.indexOf("pointer")>=0)&&(h(o,m[0],xe,te,V),h(d,m[2],ie),h(d,m[3],ie),je&&h(o,"click",Ze,!0,!0),Be&&h(o,"click",it),Re&&h(d,"gesturestart",Qe),We&&h(d,"gestureend",$e),He&&h(o,H+"enter",rt),Le&&h(o,H+"leave",ot),ge&&h(o,H+"move",nt)),e.isEnabled=!0,e.isDragging=e.isGesturing=e.isPressed=ee=O=!1,e._vx.reset(),e._vy.reset(),he=ne(),ve=re(),l&&l.type&&xe(l),Ie&&Ie(e)),e},e.disable=function(){e.isEnabled&&(R.filter(function(l){return l!==e&&z(l.target)}).length||p(oe?d:o,"scroll",De),e.isPressed&&(e._vx.reset(),e._vy.reset(),p(L?o:d,m[1],ye,!0)),p(oe?d:o,"scroll",et,V),p(o,"wheel",tt,V),p(o,m[0],xe,V),p(d,m[2],ie),p(d,m[3],ie),p(o,"click",Ze,!0),p(o,"click",it),p(d,"gesturestart",Qe),p(d,"gestureend",$e),p(o,H+"enter",rt),p(o,H+"leave",ot),p(o,H+"move",nt),e.isEnabled=e.isPressed=e.isDragging=!1,Ne&&Ne(e))},e.kill=e.revert=function(){e.disable();var l=R.indexOf(e);l>=0&&R.splice(l,1),T===e&&(T=0)},R.push(e),L&&z(o)&&(T=e),e.enable(I)},mt(s,[{key:"velocityX",get:function(){return this._vx.getVelocity()}},{key:"velocityY",get:function(){return this._vy.getVelocity()}}]),s}();b.version="3.13.0";b.create=function(s){return new b(s)};b.register=pt;b.getAll=function(){return R.slice()};b.getById=function(s){return R.filter(function(n){return n.vars.id===s})[0]};ut()&&_.registerPlugin(b);exports.Observer=b;exports._getProxyProp=ft;exports._getScrollFunc=we;exports._getTarget=dt;exports._getVelocityProp=Te;exports._horizontal=K;exports._isViewport=z;exports._vertical=Q;exports.default=b;