@anker-in/headless-ui 1.3.28 → 1.3.29

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 (240) hide show
  1. package/CONTRIBUTING.md +2 -2
  2. package/dist/cjs/biz-components/AccordionCards/index.d.ts +1 -1
  3. package/dist/cjs/biz-components/ActiveShelf/index.d.ts +1 -1
  4. package/dist/cjs/biz-components/ActivityMechanism/index.js +1 -1
  5. package/dist/cjs/biz-components/ActivityMechanism/index.js.map +2 -2
  6. package/dist/cjs/biz-components/ActivitySchedule/index.d.ts +1 -1
  7. package/dist/cjs/biz-components/AnchorNavigation/index.d.ts +1 -1
  8. package/dist/cjs/biz-components/AplusDesc/index.d.ts +1 -1
  9. package/dist/cjs/biz-components/BrandCardLink/BrandCardLink.d.ts +1 -1
  10. package/dist/cjs/biz-components/BrandEquity/BrandEquity.d.ts +1 -1
  11. package/dist/cjs/biz-components/Category/index.d.ts +1 -1
  12. package/dist/cjs/biz-components/CreativeModule/index.d.ts +1 -1
  13. package/dist/cjs/biz-components/DownLoad/index.d.ts +1 -1
  14. package/dist/cjs/biz-components/Evaluate/index.d.ts +1 -1
  15. package/dist/cjs/biz-components/EventSchedule/index.d.ts +1 -1
  16. package/dist/cjs/biz-components/Faq/Faq.d.ts +1 -1
  17. package/dist/cjs/biz-components/FeatureCards/FeatureCards.d.ts +1 -1
  18. package/dist/cjs/biz-components/FeatureShowcase/FeatureShowcase.d.ts +1 -1
  19. package/dist/cjs/biz-components/FeaturedBlogPosts/index.d.ts +1 -1
  20. package/dist/cjs/biz-components/Features/index.d.ts +1 -1
  21. package/dist/cjs/biz-components/FootCharger/index.d.ts +1 -1
  22. package/dist/cjs/biz-components/FooterNavigation/index.d.ts +1 -1
  23. package/dist/cjs/biz-components/GiftBox/index.d.ts +1 -1
  24. package/dist/cjs/biz-components/GiftShelf/index.d.ts +1 -1
  25. package/dist/cjs/biz-components/GiftTierShelf/index.d.ts +1 -1
  26. package/dist/cjs/biz-components/Graphic/index.d.ts +1 -1
  27. package/dist/cjs/biz-components/GraphicAttractionBlock/index.d.ts +1 -1
  28. package/dist/cjs/biz-components/GraphicOverlay/GraphicOverlay.d.ts +2 -2
  29. package/dist/cjs/biz-components/HeaderNavigation/index.d.ts +1 -1
  30. package/dist/cjs/biz-components/HeroBanner/HeroBanner.d.ts +1 -1
  31. package/dist/cjs/biz-components/ImageOverlayShelf/index.d.ts +1 -1
  32. package/dist/cjs/biz-components/ImageTextFeature/ImageTextFeature.d.ts +1 -1
  33. package/dist/cjs/biz-components/ImageTextOverlay/index.d.ts +1 -1
  34. package/dist/cjs/biz-components/ImageWithText/ImageWithText.d.ts +1 -1
  35. package/dist/cjs/biz-components/Ksp/index.d.ts +1 -1
  36. package/dist/cjs/biz-components/Listing/components/PaidShipping/index.d.ts +1 -1
  37. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.d.ts +1 -1
  38. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.d.ts +1 -1
  39. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.d.ts +1 -1
  40. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.d.ts +1 -1
  41. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.d.ts +1 -1
  42. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.d.ts +1 -1
  43. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductGallery/index.d.ts +1 -1
  44. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductPaidShipping/index.d.ts +1 -1
  45. package/dist/cjs/biz-components/Listing/components/ProductCard/ProductSummary/index.d.ts +1 -1
  46. package/dist/cjs/biz-components/Listing/components/PurchaseBar/index.d.ts +1 -1
  47. package/dist/cjs/biz-components/Marquee/Marquee.d.ts +1 -1
  48. package/dist/cjs/biz-components/MarqueeReview/index.d.ts +1 -1
  49. package/dist/cjs/biz-components/MediaEndorsement/index.d.ts +1 -1
  50. package/dist/cjs/biz-components/MediaPlayerBase/index.d.ts +1 -1
  51. package/dist/cjs/biz-components/MediaPlayerMulti/index.d.ts +1 -1
  52. package/dist/cjs/biz-components/MediaPlayerSticky/index.d.ts +1 -1
  53. package/dist/cjs/biz-components/MediaPlayerSticky/index.js +1 -1
  54. package/dist/cjs/biz-components/MediaPlayerSticky/index.js.map +3 -3
  55. package/dist/cjs/biz-components/MediaSceneSwitcher/MediaSceneSwitcher.d.ts +1 -1
  56. package/dist/cjs/biz-components/MediaSceneSwitcherV2/index.d.ts +1 -1
  57. package/dist/cjs/biz-components/MediaShelf/index.d.ts +1 -1
  58. package/dist/cjs/biz-components/MediaTextOverlay/MediaTextOverlay.d.ts +1 -1
  59. package/dist/cjs/biz-components/MemberEquity/index.d.ts +1 -1
  60. package/dist/cjs/biz-components/ModalCoupon/index.d.ts +45 -0
  61. package/dist/cjs/biz-components/ModalCoupon/index.js +2 -0
  62. package/dist/cjs/biz-components/ModalCoupon/index.js.map +7 -0
  63. package/dist/cjs/biz-components/ModalRegisterSubscribe/index.d.ts +33 -0
  64. package/dist/cjs/biz-components/ModalRegisterSubscribe/index.js +2 -0
  65. package/dist/cjs/biz-components/ModalRegisterSubscribe/index.js.map +7 -0
  66. package/dist/cjs/biz-components/ModalSmsSubscribe/index.d.ts +35 -0
  67. package/dist/cjs/biz-components/ModalSmsSubscribe/index.js +2 -0
  68. package/dist/cjs/biz-components/ModalSmsSubscribe/index.js.map +7 -0
  69. package/dist/cjs/biz-components/ModalSubscribeConfirm/index.d.ts +20 -0
  70. package/dist/cjs/biz-components/ModalSubscribeConfirm/index.js +2 -0
  71. package/dist/cjs/biz-components/ModalSubscribeConfirm/index.js.map +7 -0
  72. package/dist/cjs/biz-components/ModalVerify/index.d.ts +33 -0
  73. package/dist/cjs/biz-components/ModalVerify/index.js +2 -0
  74. package/dist/cjs/biz-components/ModalVerify/index.js.map +7 -0
  75. package/dist/cjs/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.d.ts +2 -2
  76. package/dist/cjs/biz-components/NavigationSearch/index.d.ts +1 -1
  77. package/dist/cjs/biz-components/ProductCompare/index.d.ts +1 -1
  78. package/dist/cjs/biz-components/ProductHero/ProductHero.d.ts +1 -1
  79. package/dist/cjs/biz-components/ProductNav/ProductNav.d.ts +1 -1
  80. package/dist/cjs/biz-components/PromotionalBar/index.d.ts +1 -1
  81. package/dist/cjs/biz-components/SceneShelf/ProductsPanel.d.ts +6 -1
  82. package/dist/cjs/biz-components/SceneShelf/ProductsPanel.js +1 -1
  83. package/dist/cjs/biz-components/SceneShelf/ProductsPanel.js.map +3 -3
  84. package/dist/cjs/biz-components/SceneShelf/Scene.d.ts +2 -0
  85. package/dist/cjs/biz-components/SceneShelf/Scene.js +1 -1
  86. package/dist/cjs/biz-components/SceneShelf/Scene.js.map +3 -3
  87. package/dist/cjs/biz-components/SceneShelf/context.d.ts +3 -0
  88. package/dist/cjs/biz-components/SceneShelf/context.js +1 -1
  89. package/dist/cjs/biz-components/SceneShelf/context.js.map +2 -2
  90. package/dist/cjs/biz-components/SceneShelf/types.d.ts +1 -1
  91. package/dist/cjs/biz-components/SceneShelf/types.js +1 -1
  92. package/dist/cjs/biz-components/SceneShelf/types.js.map +1 -1
  93. package/dist/cjs/biz-components/SceneShelfV2/index.d.ts +1 -1
  94. package/dist/cjs/biz-components/SceneShelfV3/index.d.ts +1 -1
  95. package/dist/cjs/biz-components/SecondaryBanner/index.d.ts +1 -1
  96. package/dist/cjs/biz-components/SelectStore/index.d.ts +1 -1
  97. package/dist/cjs/biz-components/ShelfDisplay/index.d.ts +1 -1
  98. package/dist/cjs/biz-components/Slogan/index.d.ts +1 -1
  99. package/dist/cjs/biz-components/Spacer/index.d.ts +1 -1
  100. package/dist/cjs/biz-components/Specs/index.d.ts +1 -1
  101. package/dist/cjs/biz-components/SpecsComparison/SpecsComparison.d.ts +1 -1
  102. package/dist/cjs/biz-components/TabWithImage/TabWithImage.d.ts +1 -1
  103. package/dist/cjs/biz-components/Tabs/Tabs.d.ts +1 -1
  104. package/dist/cjs/biz-components/TabsGroup/index.d.ts +1 -1
  105. package/dist/cjs/biz-components/TabsWithMedia/TabsWithMedia.d.ts +1 -1
  106. package/dist/cjs/biz-components/ThreeDCarousel/ThreeDCarousel.d.ts +1 -1
  107. package/dist/cjs/biz-components/Title/index.d.ts +1 -1
  108. package/dist/cjs/biz-components/VideoFeature/VideoFeature.d.ts +1 -1
  109. package/dist/cjs/biz-components/WhyChoose/WhyChoose.d.ts +1 -1
  110. package/dist/cjs/biz-components/index.d.ts +9 -0
  111. package/dist/cjs/biz-components/index.js +1 -1
  112. package/dist/cjs/biz-components/index.js.map +3 -3
  113. package/dist/cjs/components/index.d.ts +2 -0
  114. package/dist/cjs/components/index.js +1 -1
  115. package/dist/cjs/components/index.js.map +2 -2
  116. package/dist/cjs/index.d.ts +11 -0
  117. package/dist/cjs/index.js +1 -1
  118. package/dist/cjs/index.js.map +3 -3
  119. package/dist/esm/biz-components/AccordionCards/index.d.ts +1 -1
  120. package/dist/esm/biz-components/ActiveShelf/index.d.ts +1 -1
  121. package/dist/esm/biz-components/ActivityMechanism/index.js +1 -1
  122. package/dist/esm/biz-components/ActivityMechanism/index.js.map +3 -3
  123. package/dist/esm/biz-components/ActivitySchedule/index.d.ts +1 -1
  124. package/dist/esm/biz-components/AnchorNavigation/index.d.ts +1 -1
  125. package/dist/esm/biz-components/AplusDesc/index.d.ts +1 -1
  126. package/dist/esm/biz-components/BrandCardLink/BrandCardLink.d.ts +1 -1
  127. package/dist/esm/biz-components/BrandEquity/BrandEquity.d.ts +1 -1
  128. package/dist/esm/biz-components/Category/index.d.ts +1 -1
  129. package/dist/esm/biz-components/CreativeModule/index.d.ts +1 -1
  130. package/dist/esm/biz-components/DownLoad/index.d.ts +1 -1
  131. package/dist/esm/biz-components/Evaluate/index.d.ts +1 -1
  132. package/dist/esm/biz-components/EventSchedule/index.d.ts +1 -1
  133. package/dist/esm/biz-components/Faq/Faq.d.ts +1 -1
  134. package/dist/esm/biz-components/FeatureCards/FeatureCards.d.ts +1 -1
  135. package/dist/esm/biz-components/FeatureShowcase/FeatureShowcase.d.ts +1 -1
  136. package/dist/esm/biz-components/FeaturedBlogPosts/index.d.ts +1 -1
  137. package/dist/esm/biz-components/Features/index.d.ts +1 -1
  138. package/dist/esm/biz-components/FootCharger/index.d.ts +1 -1
  139. package/dist/esm/biz-components/FooterNavigation/index.d.ts +1 -1
  140. package/dist/esm/biz-components/GiftBox/index.d.ts +1 -1
  141. package/dist/esm/biz-components/GiftShelf/index.d.ts +1 -1
  142. package/dist/esm/biz-components/GiftTierShelf/index.d.ts +1 -1
  143. package/dist/esm/biz-components/Graphic/index.d.ts +1 -1
  144. package/dist/esm/biz-components/GraphicAttractionBlock/index.d.ts +1 -1
  145. package/dist/esm/biz-components/GraphicOverlay/GraphicOverlay.d.ts +2 -2
  146. package/dist/esm/biz-components/HeaderNavigation/index.d.ts +1 -1
  147. package/dist/esm/biz-components/HeroBanner/HeroBanner.d.ts +1 -1
  148. package/dist/esm/biz-components/ImageOverlayShelf/index.d.ts +1 -1
  149. package/dist/esm/biz-components/ImageTextFeature/ImageTextFeature.d.ts +1 -1
  150. package/dist/esm/biz-components/ImageTextOverlay/index.d.ts +1 -1
  151. package/dist/esm/biz-components/ImageWithText/ImageWithText.d.ts +1 -1
  152. package/dist/esm/biz-components/Ksp/index.d.ts +1 -1
  153. package/dist/esm/biz-components/Listing/components/PaidShipping/index.d.ts +1 -1
  154. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/BenefitsTab.d.ts +1 -1
  155. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductBundle/index.d.ts +1 -1
  156. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductExchangePurchase/index.d.ts +1 -1
  157. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.d.ts +1 -1
  158. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductHighlight/index.d.ts +1 -1
  159. package/dist/esm/biz-components/Listing/components/ProductCard/ProductDetail/ProductOptions/index.d.ts +1 -1
  160. package/dist/esm/biz-components/Listing/components/ProductCard/ProductGallery/index.d.ts +1 -1
  161. package/dist/esm/biz-components/Listing/components/ProductCard/ProductPaidShipping/index.d.ts +1 -1
  162. package/dist/esm/biz-components/Listing/components/ProductCard/ProductSummary/index.d.ts +1 -1
  163. package/dist/esm/biz-components/Listing/components/PurchaseBar/index.d.ts +1 -1
  164. package/dist/esm/biz-components/Marquee/Marquee.d.ts +1 -1
  165. package/dist/esm/biz-components/MarqueeReview/index.d.ts +1 -1
  166. package/dist/esm/biz-components/MediaEndorsement/index.d.ts +1 -1
  167. package/dist/esm/biz-components/MediaPlayerBase/index.d.ts +1 -1
  168. package/dist/esm/biz-components/MediaPlayerMulti/index.d.ts +1 -1
  169. package/dist/esm/biz-components/MediaPlayerSticky/index.d.ts +1 -1
  170. package/dist/esm/biz-components/MediaPlayerSticky/index.js +1 -1
  171. package/dist/esm/biz-components/MediaPlayerSticky/index.js.map +3 -3
  172. package/dist/esm/biz-components/MediaSceneSwitcher/MediaSceneSwitcher.d.ts +1 -1
  173. package/dist/esm/biz-components/MediaSceneSwitcherV2/index.d.ts +1 -1
  174. package/dist/esm/biz-components/MediaShelf/index.d.ts +1 -1
  175. package/dist/esm/biz-components/MediaTextOverlay/MediaTextOverlay.d.ts +1 -1
  176. package/dist/esm/biz-components/MemberEquity/index.d.ts +1 -1
  177. package/dist/esm/biz-components/ModalCoupon/index.d.ts +45 -0
  178. package/dist/esm/biz-components/ModalCoupon/index.js +2 -0
  179. package/dist/esm/biz-components/ModalCoupon/index.js.map +7 -0
  180. package/dist/esm/biz-components/ModalRegisterSubscribe/index.d.ts +33 -0
  181. package/dist/esm/biz-components/ModalRegisterSubscribe/index.js +2 -0
  182. package/dist/esm/biz-components/ModalRegisterSubscribe/index.js.map +7 -0
  183. package/dist/esm/biz-components/ModalSmsSubscribe/index.d.ts +35 -0
  184. package/dist/esm/biz-components/ModalSmsSubscribe/index.js +2 -0
  185. package/dist/esm/biz-components/ModalSmsSubscribe/index.js.map +7 -0
  186. package/dist/esm/biz-components/ModalSubscribeConfirm/index.d.ts +20 -0
  187. package/dist/esm/biz-components/ModalSubscribeConfirm/index.js +2 -0
  188. package/dist/esm/biz-components/ModalSubscribeConfirm/index.js.map +7 -0
  189. package/dist/esm/biz-components/ModalVerify/index.d.ts +33 -0
  190. package/dist/esm/biz-components/ModalVerify/index.js +2 -0
  191. package/dist/esm/biz-components/ModalVerify/index.js.map +7 -0
  192. package/dist/esm/biz-components/MultiLayoutGraphicBlock/MultiLayoutGraphicBlock.d.ts +2 -2
  193. package/dist/esm/biz-components/NavigationSearch/index.d.ts +1 -1
  194. package/dist/esm/biz-components/ProductCompare/index.d.ts +1 -1
  195. package/dist/esm/biz-components/ProductHero/ProductHero.d.ts +1 -1
  196. package/dist/esm/biz-components/ProductNav/ProductNav.d.ts +1 -1
  197. package/dist/esm/biz-components/PromotionalBar/index.d.ts +1 -1
  198. package/dist/esm/biz-components/SceneShelf/ProductsPanel.d.ts +6 -1
  199. package/dist/esm/biz-components/SceneShelf/ProductsPanel.js +1 -1
  200. package/dist/esm/biz-components/SceneShelf/ProductsPanel.js.map +3 -3
  201. package/dist/esm/biz-components/SceneShelf/Scene.d.ts +2 -0
  202. package/dist/esm/biz-components/SceneShelf/Scene.js +1 -1
  203. package/dist/esm/biz-components/SceneShelf/Scene.js.map +3 -3
  204. package/dist/esm/biz-components/SceneShelf/context.d.ts +3 -0
  205. package/dist/esm/biz-components/SceneShelf/context.js.map +2 -2
  206. package/dist/esm/biz-components/SceneShelf/types.d.ts +1 -1
  207. package/dist/esm/biz-components/SceneShelfV2/index.d.ts +1 -1
  208. package/dist/esm/biz-components/SceneShelfV3/index.d.ts +1 -1
  209. package/dist/esm/biz-components/SecondaryBanner/index.d.ts +1 -1
  210. package/dist/esm/biz-components/SelectStore/index.d.ts +1 -1
  211. package/dist/esm/biz-components/ShelfDisplay/index.d.ts +1 -1
  212. package/dist/esm/biz-components/Slogan/index.d.ts +1 -1
  213. package/dist/esm/biz-components/Spacer/index.d.ts +1 -1
  214. package/dist/esm/biz-components/Specs/index.d.ts +1 -1
  215. package/dist/esm/biz-components/SpecsComparison/SpecsComparison.d.ts +1 -1
  216. package/dist/esm/biz-components/TabWithImage/TabWithImage.d.ts +1 -1
  217. package/dist/esm/biz-components/Tabs/Tabs.d.ts +1 -1
  218. package/dist/esm/biz-components/TabsGroup/index.d.ts +1 -1
  219. package/dist/esm/biz-components/TabsWithMedia/TabsWithMedia.d.ts +1 -1
  220. package/dist/esm/biz-components/ThreeDCarousel/ThreeDCarousel.d.ts +1 -1
  221. package/dist/esm/biz-components/Title/index.d.ts +1 -1
  222. package/dist/esm/biz-components/VideoFeature/VideoFeature.d.ts +1 -1
  223. package/dist/esm/biz-components/WhyChoose/WhyChoose.d.ts +1 -1
  224. package/dist/esm/biz-components/index.d.ts +9 -0
  225. package/dist/esm/biz-components/index.js +1 -1
  226. package/dist/esm/biz-components/index.js.map +3 -3
  227. package/dist/esm/components/index.d.ts +2 -0
  228. package/dist/esm/components/index.js +1 -1
  229. package/dist/esm/components/index.js.map +3 -3
  230. package/dist/esm/index.d.ts +11 -0
  231. package/dist/esm/index.js +1 -1
  232. package/dist/esm/index.js.map +3 -3
  233. package/package.json +1 -1
  234. package/style.css +169 -0
  235. package/dist/cjs/types/index.d.ts +0 -0
  236. package/dist/cjs/types/index.js +0 -2
  237. package/dist/cjs/types/index.js.map +0 -7
  238. package/dist/esm/types/index.d.ts +0 -0
  239. package/dist/esm/types/index.js +0 -2
  240. package/dist/esm/types/index.js.map +0 -7
@@ -1,5 +1,5 @@
1
1
  import type { BrandEquityProps } from './types.js';
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<BrandEquityProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<BrandEquityProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
3
3
  readonly $$typeof: symbol;
4
4
  };
5
5
  export default _default;
@@ -27,7 +27,7 @@ export interface CategoryProps extends React.HTMLAttributes<HTMLDivElement> {
27
27
  };
28
28
  key?: string;
29
29
  }
30
- declare const _default: React.ForwardRefExoticComponent<Omit<CategoryProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
30
+ declare const _default: React.ForwardRefExoticComponent<Omit<CategoryProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
31
31
  readonly $$typeof: symbol;
32
32
  };
33
33
  export default _default;
@@ -13,5 +13,5 @@ interface CreativeModuleType extends React.HTMLAttributes<HTMLDivElement> {
13
13
  productsTab: CreativeModuleDataType[];
14
14
  };
15
15
  }
16
- declare const _default: import("react").ForwardRefExoticComponent<Omit<CreativeModuleType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
16
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<CreativeModuleType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
17
17
  export default _default;
@@ -12,5 +12,5 @@ interface DownLoadType extends React.HTMLAttributes<HTMLDivElement> {
12
12
  list: DownLoadDataType[];
13
13
  };
14
14
  }
15
- declare const _default: import("react").ForwardRefExoticComponent<Omit<DownLoadType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
15
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<DownLoadType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
16
16
  export default _default;
@@ -29,7 +29,7 @@ export interface EvaluateProps extends React.HTMLAttributes<HTMLDivElement> {
29
29
  };
30
30
  key?: string;
31
31
  }
32
- declare const _default: React.ForwardRefExoticComponent<Omit<EvaluateProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
32
+ declare const _default: React.ForwardRefExoticComponent<Omit<EvaluateProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
33
33
  readonly $$typeof: symbol;
34
34
  };
35
35
  export default _default;
@@ -60,7 +60,7 @@ export interface EventScheduleProps extends React.HTMLAttributes<HTMLDivElement>
60
60
  data: EventScheduleData;
61
61
  classNames?: Partial<Record<EventScheduleSemanticName, string>>;
62
62
  }
63
- declare const _default: React.ForwardRefExoticComponent<Omit<EventScheduleProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
63
+ declare const _default: React.ForwardRefExoticComponent<Omit<EventScheduleProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
64
64
  readonly $$typeof: symbol;
65
65
  };
66
66
  export default _default;
@@ -9,7 +9,7 @@ declare const FaqItem: {
9
9
  ({ data, index, classNames }: FaqItemProps): import("react/jsx-runtime").JSX.Element;
10
10
  displayName: string;
11
11
  };
12
- declare const _default: React.ForwardRefExoticComponent<Omit<FaqProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
12
+ declare const _default: React.ForwardRefExoticComponent<Omit<FaqProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
13
13
  readonly $$typeof: symbol;
14
14
  };
15
15
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { FeatureCardsProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<FeatureCardsProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<FeatureCardsProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { FeatureShowcaseProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<FeatureShowcaseProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<FeatureShowcaseProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -47,7 +47,7 @@ export interface FeaturedBlogPostsProps extends React.HTMLAttributes<HTMLDivElem
47
47
  /** 卡片点击回调 */
48
48
  onItemClick?: (item: FeaturedBlogPostItem, index: number, event: React.MouseEvent) => void;
49
49
  }
50
- declare const FeaturedBlogPosts: React.ForwardRefExoticComponent<Omit<FeaturedBlogPostsProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
50
+ declare const FeaturedBlogPosts: React.ForwardRefExoticComponent<Omit<FeaturedBlogPostsProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
51
51
  readonly $$typeof: symbol;
52
52
  };
53
53
  export default FeaturedBlogPosts;
@@ -17,5 +17,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<import("r
17
17
  mobileImg: Img;
18
18
  list: FeaturesDataType[];
19
19
  };
20
- }, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
20
+ }, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
21
21
  export default _default;
@@ -4,5 +4,5 @@ interface FootChargerType extends React.HTMLAttributes<HTMLDivElement> {
4
4
  text: string;
5
5
  };
6
6
  }
7
- declare const _default: import("react").ForwardRefExoticComponent<Omit<FootChargerType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
7
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<FootChargerType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
8
8
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import type { FooterNavigationProps } from './types.js';
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<FooterNavigationProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<FooterNavigationProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
3
3
  export default _default;
@@ -3,5 +3,5 @@ import 'swiper/css';
3
3
  import 'swiper/css/navigation';
4
4
  import 'swiper/css/pagination';
5
5
  import type { GiftBoxType } from './types.js';
6
- declare const _default: React.ForwardRefExoticComponent<Omit<GiftBoxType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {};
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<GiftBoxType, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {};
7
7
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { GiftShelfProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<GiftShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<GiftShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import * as React from 'react';
2
2
  import type { GiftTierShelfProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<GiftTierShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<GiftTierShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -41,7 +41,7 @@ export interface GraphicProps extends ComponentCommonProps, React.HTMLAttributes
41
41
  titleAlign?: 'center' | 'left';
42
42
  };
43
43
  }
44
- declare const _default: React.ForwardRefExoticComponent<Omit<GraphicProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
44
+ declare const _default: React.ForwardRefExoticComponent<Omit<GraphicProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
45
45
  readonly $$typeof: symbol;
46
46
  };
47
47
  export default _default;
@@ -17,7 +17,7 @@ interface GraphicAttractionBlockProps extends React.HTMLAttributes<HTMLElement>
17
17
  attractionItems?: AttractionItem[];
18
18
  };
19
19
  }
20
- declare const _default: React.ForwardRefExoticComponent<Omit<GraphicAttractionBlockProps & React.RefAttributes<HTMLElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
20
+ declare const _default: React.ForwardRefExoticComponent<Omit<GraphicAttractionBlockProps & React.RefAttributes<HTMLElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
21
21
  readonly $$typeof: symbol;
22
22
  };
23
23
  export default _default;
@@ -2,12 +2,12 @@ import React from 'react';
2
2
  import type { GraphicOverlayProps, Item } from './types';
3
3
  declare const _default: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
4
4
  data: {
5
- shape?: import("../../types/props").Shape;
5
+ shape?: import("../..").Shape;
6
6
  items: ({
7
7
  width?: "full" | "half" | "one-third";
8
8
  } & Item)[];
9
9
  };
10
- } & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery").ContainerProps & React.RefAttributes<unknown>> & {
10
+ } & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("..").ContainerProps & React.RefAttributes<unknown>> & {
11
11
  readonly $$typeof: symbol;
12
12
  };
13
13
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { HeaderNavigationProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<HeaderNavigationProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<HeaderNavigationProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -23,7 +23,7 @@ declare const _default: React.ForwardRefExoticComponent<Omit<HeroBannerProps & {
23
23
  * @default { duration: 500, offset: 0 }
24
24
  */
25
25
  jumpOptions?: JumpOptions;
26
- } & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
26
+ } & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
27
27
  readonly $$typeof: symbol;
28
28
  };
29
29
  export default _default;
@@ -71,7 +71,7 @@ export interface ImageOverlayShelfComponent extends React.ForwardRefExoticCompon
71
71
  ProductCard: typeof ProductCard;
72
72
  }
73
73
  export { ProductCard };
74
- declare const ImageOverlayShelfWrapped: React.ForwardRefExoticComponent<Omit<ImageOverlayShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
74
+ declare const ImageOverlayShelfWrapped: React.ForwardRefExoticComponent<Omit<ImageOverlayShelfProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
75
75
  readonly $$typeof: symbol;
76
76
  ProductCard: typeof ProductCard;
77
77
  };
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ImageTextFeatureProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<ImageTextFeatureProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<ImageTextFeatureProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -3,7 +3,7 @@ import type { ImageTextOverlayProps, ImageTextOverlayItem, ImageTextOverlaySeman
3
3
  import 'swiper/css';
4
4
  import 'swiper/css/pagination';
5
5
  export type { ImageTextOverlayProps, ImageTextOverlayItem, ImageTextOverlaySemanticName, ImageTextOverlayData, ImageTextOverlayBackgroundImage, };
6
- declare const _default: React.ForwardRefExoticComponent<Omit<ImageTextOverlayProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
6
+ declare const _default: React.ForwardRefExoticComponent<Omit<ImageTextOverlayProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
7
7
  readonly $$typeof: symbol;
8
8
  };
9
9
  export default _default;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
2
  import type { ImageWithTextProps } from './types.js';
3
- declare const _default: React.ForwardRefExoticComponent<Omit<ImageWithTextProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
3
+ declare const _default: React.ForwardRefExoticComponent<Omit<ImageWithTextProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;
@@ -75,5 +75,5 @@ export interface KspProps extends Omit<React.HTMLAttributes<HTMLElement>, 'class
75
75
  /** 语义化类名配置 */
76
76
  classNames?: KspClassNames;
77
77
  }
78
- declare const _default: import("react").ForwardRefExoticComponent<Omit<KspProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
78
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<KspProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
79
79
  export default _default;
@@ -8,5 +8,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<{
8
8
  variant: ProductVariant;
9
9
  onShippingInfoChange: (deliveryCustom: DeliveryCustom) => void;
10
10
  className?: string;
11
- }, "container" | keyof import("../../../../shared/Styles.js").StylesProps> & import("../../../../shared/Styles.js").StylesProps & import("../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
11
+ }, "container" | keyof import("../../../../shared/Styles.js").StylesProps> & import("../../../../shared/Styles.js").StylesProps & import("../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
12
12
  export default _default;
@@ -32,5 +32,5 @@ export type ModalData = {
32
32
  interface BenefitsTabProps {
33
33
  textConfig?: BenefitsTabTextConfig;
34
34
  }
35
- declare const _default: React.ForwardRefExoticComponent<Omit<BenefitsTabProps, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {};
35
+ declare const _default: React.ForwardRefExoticComponent<Omit<BenefitsTabProps, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../index.js").ContainerProps & React.RefAttributes<unknown>> & {};
36
36
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../../shared/Styles.js").StylesProps> & import("../../../../../../shared/Styles.js").StylesProps & import("../../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,5 +1,5 @@
1
1
  export interface ProductGalleryTabRef {
2
2
  scrollToTab: (index: number) => void;
3
3
  }
4
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
4
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
5
5
  export default _default;
@@ -8,5 +8,5 @@ declare const _default: import("react").ForwardRefExoticComponent<Omit<{
8
8
  variant: ProductVariant;
9
9
  onShippingInfoChange: (deliveryCustom: DeliveryCustom) => void;
10
10
  className?: string;
11
- }, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
11
+ }, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
12
12
  export default _default;
@@ -1,2 +1,2 @@
1
- declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
1
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<unknown, "container" | keyof import("../../../../../shared/Styles.js").StylesProps> & import("../../../../../shared/Styles.js").StylesProps & import("../../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
2
  export default _default;
@@ -1,3 +1,3 @@
1
1
  import type { PurchaseBarProps } from './types.js';
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<PurchaseBarProps, "container" | keyof import("../../../../shared/Styles.js").StylesProps> & import("../../../../shared/Styles.js").StylesProps & import("../../../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<PurchaseBarProps, "container" | keyof import("../../../../shared/Styles.js").StylesProps> & import("../../../../shared/Styles.js").StylesProps & import("../../../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {};
3
3
  export default _default;
@@ -18,7 +18,7 @@ declare const MarqueePictureContent: {
18
18
  ({ pictureImage, pictureClassName }: MarqueePictureContentProps): import("react/jsx-runtime").JSX.Element;
19
19
  displayName: string;
20
20
  };
21
- declare const _default: React.ForwardRefExoticComponent<Omit<MarqueeProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
21
+ declare const _default: React.ForwardRefExoticComponent<Omit<MarqueeProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
22
22
  readonly $$typeof: symbol;
23
23
  };
24
24
  export default _default;
@@ -33,5 +33,5 @@ export interface MarqueeReviewProps extends React.HTMLAttributes<HTMLElement> {
33
33
  /** 评论数据 */
34
34
  data: MarqueeReviewData;
35
35
  }
36
- declare const _default: React.ForwardRefExoticComponent<Omit<MarqueeReviewProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {};
36
+ declare const _default: React.ForwardRefExoticComponent<Omit<MarqueeReviewProps, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {};
37
37
  export default _default;
@@ -1,7 +1,7 @@
1
1
  import * as React from 'react';
2
2
  import 'swiper/css/pagination';
3
3
  import type { MediaEndorsementProps, MediaEndorsementData, MediaEndorsementItem, MediaEndorsementSemanticName } from './types.js';
4
- declare const _default: React.ForwardRefExoticComponent<Omit<MediaEndorsementProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
4
+ declare const _default: React.ForwardRefExoticComponent<Omit<MediaEndorsementProps & React.RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
5
5
  readonly $$typeof: symbol;
6
6
  };
7
7
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { MediaPlayerBaseProps } from './types.js';
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaPlayerBaseProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaPlayerBaseProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
3
3
  readonly $$typeof: symbol;
4
4
  };
5
5
  export default _default;
@@ -1,5 +1,5 @@
1
1
  import type { MediaPlayerMultiProps } from './types.js';
2
- declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaPlayerMultiProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
2
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaPlayerMultiProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
3
3
  readonly $$typeof: symbol;
4
4
  };
5
5
  export default _default;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import type { MediaPlayerBaseProps } from './types.js';
3
3
  declare const _default: React.ForwardRefExoticComponent<Omit<MediaPlayerBaseProps & React.RefAttributes<{
4
4
  mediaPlayerStickyRef: HTMLDivElement;
5
- }>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & React.RefAttributes<unknown>> & {
5
+ }>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & React.RefAttributes<unknown>> & {
6
6
  readonly $$typeof: symbol;
7
7
  };
8
8
  export default _default;
@@ -1,2 +1,2 @@
1
- "use client";import{Fragment as N,jsx as e,jsxs as u}from"react/jsx-runtime";import X,{useState as d,useRef as f,useEffect as y,forwardRef as Z}from"react";import{debounce as D}from"es-toolkit";import{useInView as ee}from"react-intersection-observer";import{cn as b}from"../../helpers/utils.js";import{withLayout as te}from"../../shared/Styles.js";import re from"../Slogan/index.js";import{YouTubePlayer as ae}from"../VideoModal/YouTubePlayer.js";import{Grid as se,GridItem as k}from"../../components/grid.js";import{Container as le}from"../../components/container.js";import oe from"../BrandEquity/index.js";import ie from"../MemberEquity/index.js";import ne from"../Spacer/index.js";import ce from"gsap";import{convertLexicalToHTML as z}from"@payloadcms/richtext-lexical/html";import{useMediaQuery as C}from"react-responsive";import pe from"../../helpers/ScrollLoadVideo.js";const E=({defaultConverters:l})=>({...l,text:o=>{const{node:t}=o;return t.$&&t.$.color?`<span class="lexical-${t.$.color}">${t.text}</span>`:t.text}}),x=({children:l,spaceY:o,className:t})=>{const a=C({query:"(max-width: 768px)"});return e(le,{spaceY:o,className:b("!bg-transparent",t),children:u(se,{children:[!a&&e(k,{span:1}),e(k,{span:a?12:10,children:l}),!a&&e(k,{span:1})]})})},P=X.forwardRef(({children:l,id:o,components:t},a)=>{const i=f(null);return u("div",{ref:i,className:"relative z-10",children:[e(N,{children:l}),e(N,{children:t?.map((r,s)=>{switch(r.blockType){case"ipc-brand-equity":return e("div",{className:"relative z-20 bg-transparent",children:e(x,{spaceY:"none",children:e(oe,{data:r,style:r?.style})})},`${r.blockType}-${s}`);case"ipc-member-equity":return e("div",{className:"relative z-20 w-full bg-transparent",children:e(x,{spaceY:"none",children:e(ie,{data:r,className:"w-full",style:r?.style})})},`${r.blockType}-${s}`);case"ipc-spacer":return e(ne,{data:r,style:r?.style,className:"!bg-transparent"},`${r.blockType}-${s}`);default:return null}})})]})});P.displayName="SubBox";const L=Z(({className:l="",wrapperClassName:o="",id:t,data:{title:a,videoTitle:i,mobVideo:r,mobImg:s,img:m,isYouTube:B,youtubePcId:M,youtubeMobileId:Y,video:v,theme:R,shape:de,components:q},...F},ue)=>{const H=f(null),g=f(null),{ref:I,inView:c}=ee(),[me,j]=d(0),[T,G]=d(!1),[V,Q]=d(!1),O=f(null),W=typeof a=="string"?a:a&&z({data:a,converters:E});typeof i=="string"||i&&z({data:i,converters:E});const[_,A]=d(0),[n,J]=d(!1),S=C({query:"(max-width: 768px)"});return y(()=>{J(S)},[S]),y(()=>{c&&!T&&(H.current?.play(),G(!0))},[c,T]),y(()=>{const p=D(()=>{if(g.current){const w=g.current.getBoundingClientRect(),h=n?window.screen.height:window.innerHeight,K=window.scrollY||window.pageYOffset,U=w.bottom+K,$=document.documentElement.scrollHeight-U;A($>h?h:$),j(h)}},2e3);return p(),window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)}},[]),y(()=>{function p(){const w=n?window.screen.height:window.innerHeight;ce.timeline({scrollTrigger:{trigger:`#${t}`,start:"top top",end:`top+=${w*1.8}px bottom`,scrub:.5}}).from(`#${t} .media-content`,{top:"50%",transform:"translate(-50%, -50%)"}).to(`.${t} .sticky-cover`,{backdropFilter:"blur(8px)",duration:.4}).to(`#${t} .media-content`,{top:"100%",transform:"translate(-50%, -100%)",duration:1},"<")}c&&p()},[c]),u(N,{children:[e("div",{id:t,...F,className:b("relative z-20 h-screen w-full",l,{"aiui-dark":R==="dark","rounded-box":!0}),ref:O,children:e("div",{ref:I,className:"media-content translate-z-0 absolute left-1/2 top-1/2 z-10 w-full -translate-x-1/2 -translate-y-1/2 antialiased",style:{willChange:"transform",contain:"paint"},children:e(x,{spaceY:"tablet:my-[32px] my-[24px] space-y-4",children:e(re,{className:"sticky-title antialiased",data:{title:W||"",theme:R,tag:"h2"}})})})}),u("div",{ref:g,style:{marginBottom:`-${_}px`,zIndex:c?2:1},className:b(t,"relative mt-[-200vh]",o),children:[e("div",{className:"sticky top-0 ",children:u("div",{className:b("media-cover","relative h-screen w-full"),children:[B?e(ae,{youTubeId:n&&Y||M}):v?.url&&e(pe,{videoRef:H,poster:n&&s?.url?s?.url:m?.url,src:n&&r?.url?r?.url:v?.url,className:"lg-desktop:aspect-w-[1920] lg-desktop:aspect-h-[930] lg:aspect-w-[1440] lg:aspect-h-[700] desktop:aspect-w-[1024] desktop:aspect-h-[520] tablet:aspect-w-[768] tablet:aspect-h-[660] aspect-w-[390] aspect-h-[660]",videoClassName:" object-cover object-[82%]",muted:!0,loop:!1,playsInline:!0,autoplay:!1,onEnded:()=>{Q(!0)}}),m?.url&&(!v?.url||V)&&e("img",{src:n&&s?.url?s?.url:m?.url,alt:m?.alt,className:"z-1 absolute left-0 top-0 size-full object-cover object-[82%]",loading:"lazy"}),e("div",{className:"sticky-cover absolute left-0 top-0 z-10 size-full",style:{backdropFilter:"blur(0px)",WebkitBackdropFilter:"blur(0px)",willChange:"backdrop-filter"}})]})}),e("div",{className:"relative h-screen w-full"}),e(P,{components:q}),e("div",{className:"relative h-screen w-full"})]})]})});L.displayName="MediaPlayerSticky";var Ce=te(L);export{Ce as default};
1
+ "use client";import{Fragment as M,jsx as e,jsxs as u}from"react/jsx-runtime";import Z,{useState as m,useRef as y,useEffect as b,forwardRef as D}from"react";import{debounce as ee}from"es-toolkit";import{useInView as te}from"react-intersection-observer";import{cn as v}from"../../helpers/utils.js";import{withLayout as re}from"../../shared/Styles.js";import ae from"../Slogan/index.js";import{YouTubePlayer as se}from"../VideoModal/YouTubePlayer.js";import{Grid as ie,GridItem as x}from"../../components/grid.js";import{Container as oe}from"../../components/container.js";import ne from"../BrandEquity/index.js";import le from"../MemberEquity/index.js";import ce from"../Spacer/index.js";import de from"gsap";import{convertLexicalToHTML as E}from"@payloadcms/richtext-lexical/html";import{useMediaQuery as P}from"react-responsive";import pe from"../../helpers/ScrollLoadVideo.js";const L=({defaultConverters:o})=>({...o,text:n=>{const{node:r}=n;return r.$&&r.$.color?`<span class="lexical-${r.$.color}">${r.text}</span>`:r.text}}),N=({children:o,spaceY:n,className:r})=>{const s=P({query:"(max-width: 768px)"});return e(oe,{spaceY:n,className:v("!bg-transparent",r),children:u(ie,{children:[!s&&e(x,{span:1}),e(x,{span:s?12:10,children:o}),!s&&e(x,{span:1})]})})},B=Z.forwardRef(({children:o,id:n,components:r},s)=>{const l=y(null);return u("div",{ref:l,className:"relative z-10",children:[e(M,{children:o}),e(M,{children:r?.map((t,i)=>{switch(t.blockType){case"ipc-brand-equity":return e("div",{className:"relative z-20 bg-transparent",children:e(N,{spaceY:"none",children:e(ne,{data:t,style:t?.style})})},`${t.blockType}-${i}`);case"ipc-member-equity":return e("div",{className:"relative z-20 w-full bg-transparent",children:e(N,{spaceY:"none",children:e(le,{data:t,className:"w-full",style:t?.style})})},`${t.blockType}-${i}`);case"ipc-spacer":return e(ce,{data:t,style:t?.style,className:"!bg-transparent"},`${t.blockType}-${i}`);default:return null}})})]})});B.displayName="SubBox";const Y=D(({className:o="",wrapperClassName:n="",id:r,data:{title:s,videoTitle:l,mobVideo:t,mobImg:i,img:f,isYouTube:q,youtubePcId:R,youtubeMobileId:I,video:g,theme:H,shape:me,components:F},...j},ue)=>{const a=r?`mps-${r}`:void 0,T=y(null),w=y(null),{ref:G,inView:d}=te(),[fe,V]=m(0),[$,Q]=m(!1),[O,W]=m(!1),S=y(null),_=typeof s=="string"?s:s&&E({data:s,converters:L});typeof l=="string"||l&&E({data:l,converters:L});const[A,J]=m(0),[c,K]=m(!1),z=P({query:"(max-width: 768px)"});return b(()=>{K(z)},[z]),b(()=>{d&&!$&&(T.current?.play(),Q(!0))},[d,$]),b(()=>{const p=ee(()=>{if(w.current){const h=w.current.getBoundingClientRect(),k=c?window.screen.height:window.innerHeight,U=window.scrollY||window.pageYOffset,X=h.bottom+U,C=document.documentElement.scrollHeight-X;J(C>k?k:C),V(k)}},2e3);return p(),window.addEventListener("resize",p),()=>{window.removeEventListener("resize",p)}},[]),b(()=>{function p(){const h=c?window.screen.height:window.innerHeight;de.timeline({scrollTrigger:{trigger:a?`#${a}`:S.current,start:"top top",end:`top+=${h*1.8}px bottom`,scrub:.5}}).from(a?`#${a} .media-content`:".media-content",{top:"50%",transform:"translate(-50%, -50%)"}).to(a?`#${a} .sticky-cover`:".sticky-cover",{backdropFilter:"blur(8px)",duration:.4}).to(a?`#${a} .media-content`:".media-content",{top:"100%",transform:"translate(-50%, -100%)",duration:1},"<")}d&&p()},[d]),u(M,{children:[e("div",{id:a,...j,className:v("relative z-20 h-screen w-full",o,{"aiui-dark":H==="dark","rounded-box":!0}),ref:S,children:e("div",{ref:G,className:"media-content translate-z-0 absolute left-1/2 top-1/2 z-10 w-full -translate-x-1/2 -translate-y-1/2 antialiased",style:{willChange:"transform",contain:"paint"},children:e(N,{spaceY:"tablet:my-[32px] my-[24px] space-y-4",children:e(ae,{className:"sticky-title antialiased",data:{title:_||"",theme:H,tag:"h2"}})})})}),u("div",{ref:w,style:{marginBottom:`-${A}px`,zIndex:d?2:1},className:v(a,"relative mt-[-200vh]",n),children:[e("div",{className:"sticky top-0 ",children:u("div",{className:v("media-cover","relative h-screen w-full"),children:[q?e(se,{youTubeId:c&&I||R}):g?.url&&e(pe,{videoRef:T,poster:c&&i?.url?i?.url:f?.url,src:c&&t?.url?t?.url:g?.url,className:"lg-desktop:aspect-w-[1920] lg-desktop:aspect-h-[930] lg:aspect-w-[1440] lg:aspect-h-[700] desktop:aspect-w-[1024] desktop:aspect-h-[520] tablet:aspect-w-[768] tablet:aspect-h-[660] aspect-w-[390] aspect-h-[660]",videoClassName:" object-cover object-[82%]",muted:!0,loop:!1,playsInline:!0,autoplay:!1,onEnded:()=>{W(!0)}}),f?.url&&(!g?.url||O)&&e("img",{src:c&&i?.url?i?.url:f?.url,alt:f?.alt,className:"z-1 absolute left-0 top-0 size-full object-cover object-[82%]",loading:"lazy"}),e("div",{className:"sticky-cover absolute left-0 top-0 z-10 size-full",style:{backdropFilter:"blur(0px)",WebkitBackdropFilter:"blur(0px)",willChange:"backdrop-filter"}})]})}),e("div",{className:"relative h-screen w-full"}),e(B,{components:F}),e("div",{className:"relative h-screen w-full"})]})]})});Y.displayName="MediaPlayerSticky";var Ee=re(Y);export{Ee as default};
2
2
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../../../src/biz-components/MediaPlayerSticky/index.tsx"],
4
- "sourcesContent": ["'use client'\nimport React, { useState, useRef, useEffect, forwardRef } from 'react'\nimport { debounce } from 'es-toolkit'\nimport { useInView } from 'react-intersection-observer'\nimport { cn } from '../../helpers/utils.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport Slogan from '../Slogan/index.js'\nimport { YouTubePlayer } from '../VideoModal/YouTubePlayer.js'\nimport { Grid, GridItem } from '../../components/grid.js'\nimport { Container } from '../../components/container.js'\nimport BrandEquity from '../BrandEquity/index.js'\nimport MemberEquity from '../MemberEquity/index.js'\nimport Spacer from '../Spacer/index.js'\nimport gsap from 'gsap'\nimport { convertLexicalToHTML } from '@payloadcms/richtext-lexical/html'\n\nimport type { HTMLConvertersFunction } from '@payloadcms/richtext-lexical/html'\n\nimport { useMediaQuery } from 'react-responsive'\nimport type { MediaPlayerBaseProps, MediaPlayerComponent } from './types.js'\nimport ScrollLoadVideo from '../../helpers/ScrollLoadVideo.js'\n\nconst htmlConverters: HTMLConvertersFunction = ({ defaultConverters }) =>\n ({\n ...defaultConverters,\n text: (args: any) => {\n const { node } = args\n\n // \u68C0\u67E5\u662F\u5426\u6709\u81EA\u5B9A\u4E49 color\n if (node.$ && node.$.color) {\n return `<span class=\"lexical-${node.$.color}\">${node.text}</span>`\n }\n return node.text\n },\n }) as any\n\nconst SubContainer = ({\n children,\n spaceY,\n className,\n}: {\n children: React.ReactNode\n spaceY?: string\n className?: string\n}) => {\n const isMobile = useMediaQuery({ query: '(max-width: 768px)' })\n return (\n <Container spaceY={spaceY} className={cn('!bg-transparent', className)}>\n <Grid>\n {!isMobile && <GridItem span={1} />}\n <GridItem span={isMobile ? 12 : 10}>{children}</GridItem>\n {!isMobile && <GridItem span={1} />}\n </Grid>\n </Container>\n )\n}\n\nconst SubBox = React.forwardRef<\n {\n mediaPlayerStickyRef: HTMLDivElement\n },\n {\n children?: React.ReactNode\n id?: string\n components?: MediaPlayerComponent[]\n }\n>(({ children, id, components }, ref) => {\n const mediaPlayerStickyRef = useRef<HTMLDivElement>(null)\n\n return (\n <div ref={mediaPlayerStickyRef} className=\"relative z-10\">\n <>{children}</>\n <>\n {components?.map((componentData: any, index: number) => {\n switch (componentData.blockType) {\n case 'ipc-brand-equity': {\n return (\n <div key={`${componentData.blockType}-${index}`} className=\"relative z-20 bg-transparent\">\n <SubContainer spaceY=\"none\">\n <BrandEquity data={componentData} style={componentData?.style} />\n </SubContainer>\n </div>\n )\n }\n case 'ipc-member-equity': {\n return (\n <div key={`${componentData.blockType}-${index}`} className=\"relative z-20 w-full bg-transparent\">\n <SubContainer spaceY=\"none\">\n <MemberEquity data={componentData} className=\"w-full\" style={componentData?.style} />\n </SubContainer>\n </div>\n )\n }\n case 'ipc-spacer': {\n return (\n <Spacer\n key={`${componentData.blockType}-${index}`}\n data={componentData}\n style={componentData?.style}\n className=\"!bg-transparent\"\n />\n )\n }\n default:\n return null\n }\n })}\n </>\n </div>\n )\n})\n\nSubBox.displayName = 'SubBox'\n\nconst MediaPlayerSticky = forwardRef<\n {\n mediaPlayerStickyRef: HTMLDivElement\n },\n MediaPlayerBaseProps\n>(\n (\n {\n className = '',\n wrapperClassName = '',\n id,\n data: {\n title,\n videoTitle,\n mobVideo,\n mobImg,\n img,\n isYouTube,\n youtubePcId,\n youtubeMobileId,\n video,\n theme,\n shape,\n components,\n },\n ...rest\n },\n ref\n ) => {\n const videoRef = useRef<HTMLVideoElement>(null)\n const boxRef = useRef<HTMLDivElement>(null)\n const { ref: inViewRef, inView } = useInView()\n const [screenHeight, setScreenHeight] = useState(0)\n const [isPlaying, setIsPlaying] = useState(false)\n const [isEntered, setIsEntered] = useState(false)\n const wrapperRef = useRef<HTMLDivElement>(null)\n\n const title_html =\n typeof title === 'string' ? title : title && convertLexicalToHTML({ data: title, converters: htmlConverters })\n typeof videoTitle === 'string'\n ? videoTitle\n : videoTitle && convertLexicalToHTML({ data: videoTitle, converters: htmlConverters })\n\n const [btb, setbtb] = useState(0)\n const [isMobile, setIsMobile] = useState(false)\n const mediaQuery = useMediaQuery({ query: '(max-width: 768px)' })\n\n useEffect(() => {\n setIsMobile(mediaQuery)\n }, [mediaQuery])\n\n useEffect(() => {\n if (inView && !isPlaying) {\n videoRef.current?.play()\n setIsPlaying(true)\n }\n }, [inView, isPlaying])\n\n useEffect(() => {\n const debouncedHandleResize = debounce(() => {\n if (boxRef.current) {\n const rect = boxRef.current.getBoundingClientRect()\n const screenHeight = isMobile ? window.screen.height : window.innerHeight\n const scrollTop = window.scrollY || window.pageYOffset\n const elementBottomToPageTop = rect.bottom + scrollTop\n const pageHeight = document.documentElement.scrollHeight\n const distanceToPageBottom = pageHeight - elementBottomToPageTop\n setbtb(distanceToPageBottom > screenHeight ? screenHeight : distanceToPageBottom)\n setScreenHeight(screenHeight)\n }\n }, 2000)\n debouncedHandleResize()\n window.addEventListener('resize', debouncedHandleResize)\n return () => {\n window.removeEventListener('resize', debouncedHandleResize)\n }\n }, [])\n\n useEffect(() => {\n function gsapResize() {\n const height = isMobile ? window.screen.height : window.innerHeight\n gsap\n .timeline({\n scrollTrigger: {\n trigger: `#${id}`,\n start: 'top top',\n end: `top+=${height * 1.8}px bottom`,\n scrub: 0.5,\n },\n })\n .from(`#${id} .media-content`, { top: '50%', transform: 'translate(-50%, -50%)' })\n .to(`.${id} .sticky-cover`, {\n backdropFilter: 'blur(8px)',\n duration: 0.4,\n })\n .to(\n `#${id} .media-content`,\n {\n top: '100%',\n transform: 'translate(-50%, -100%)',\n duration: 1,\n },\n '<'\n )\n }\n if (inView) {\n gsapResize()\n }\n }, [inView])\n\n return (\n <>\n <div\n id={id}\n {...rest}\n className={cn('relative z-20 h-screen w-full', className, {\n 'aiui-dark': theme === 'dark',\n 'rounded-box': true,\n })}\n ref={wrapperRef}\n >\n <div\n ref={inViewRef}\n className=\"media-content translate-z-0 absolute left-1/2 top-1/2 z-10 w-full -translate-x-1/2 -translate-y-1/2 antialiased\"\n style={{ willChange: 'transform', contain: 'paint' }}\n >\n <SubContainer spaceY=\"tablet:my-[32px] my-[24px] space-y-4\">\n <Slogan className=\"sticky-title antialiased\" data={{ title: title_html || '', theme, tag: 'h2' }} />\n </SubContainer>\n </div>\n </div>\n\n <div\n ref={boxRef}\n style={{ marginBottom: `-${btb}px`, zIndex: inView ? 2 : 1 }}\n className={cn(id, 'relative mt-[-200vh]', wrapperClassName)}\n >\n <div className=\"sticky top-0 \">\n <div className={cn('media-cover', 'relative h-screen w-full')}>\n {isYouTube ? (\n <YouTubePlayer youTubeId={isMobile ? youtubeMobileId || youtubePcId : youtubePcId} />\n ) : (\n video?.url && (\n <ScrollLoadVideo\n videoRef={videoRef}\n poster={isMobile && mobImg?.url ? mobImg?.url : img?.url}\n src={isMobile && mobVideo?.url ? mobVideo?.url : video?.url}\n className=\"lg-desktop:aspect-w-[1920] lg-desktop:aspect-h-[930] lg:aspect-w-[1440] lg:aspect-h-[700] desktop:aspect-w-[1024] desktop:aspect-h-[520] tablet:aspect-w-[768] tablet:aspect-h-[660] aspect-w-[390] aspect-h-[660]\"\n videoClassName=\" object-cover object-[82%]\"\n muted\n loop={false}\n playsInline\n autoplay={false}\n onEnded={() => {\n setIsEntered(true)\n }}\n />\n )\n )}\n {img?.url && (!video?.url || isEntered) && (\n <img\n src={isMobile && mobImg?.url ? mobImg?.url : img?.url}\n alt={img?.alt}\n className=\"z-1 absolute left-0 top-0 size-full object-cover object-[82%]\"\n loading=\"lazy\"\n />\n )}\n <div\n className=\"sticky-cover absolute left-0 top-0 z-10 size-full\"\n style={{\n backdropFilter: 'blur(0px)',\n WebkitBackdropFilter: 'blur(0px)',\n willChange: 'backdrop-filter',\n }}\n />\n </div>\n </div>\n\n <div className=\"relative h-screen w-full\" />\n <SubBox components={components}></SubBox>\n <div className=\"relative h-screen w-full\" />\n </div>\n </>\n )\n }\n)\nMediaPlayerSticky.displayName = 'MediaPlayerSticky'\n\nexport default withLayout(MediaPlayerSticky)\n"],
5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UAAWmB,GAAWiB,GAAmBD,EAA2B,EAEnFE,GAAO,KACLjD,EAACsB,GAAA,CACC,SAAU+B,EACV,OAAQtB,GAAYa,GAAQ,IAAMA,GAAQ,IAAMC,GAAK,IACrD,IAAKd,GAAYY,GAAU,IAAMA,GAAU,IAAMM,GAAO,IACxD,UAAU,qNACV,eAAe,6BACf,MAAK,GACL,KAAM,GACN,YAAW,GACX,SAAU,GACV,QAAS,IAAM,CACba,EAAa,EAAI,CACnB,EACF,EAGHjB,GAAK,MAAQ,CAACI,GAAO,KAAOY,IAC3B7D,EAAC,OACC,IAAK+B,GAAYa,GAAQ,IAAMA,GAAQ,IAAMC,GAAK,IAClD,IAAKA,GAAK,IACV,UAAU,iEACV,QAAQ,OACV,EAEF7C,EAAC,OACC,UAAU,oDACV,MAAO,CACL,eAAgB,YAChB,qBAAsB,YACtB,WAAY,iBACd,EACF,GACF,EACF,EAEAA,EAAC,OAAI,UAAU,2BAA2B,EAC1CA,EAACgC,EAAA,CAAO,WAAYE,EAAY,EAChClC,EAAC,OAAI,UAAU,2BAA2B,GAC5C,GACF,CAEJ,CACF,EACAuC,EAAkB,YAAc,oBAEhC,IAAOqC,GAAQlE,GAAW6B,CAAiB",
6
- "names": ["Fragment", "jsx", "jsxs", "React", "useState", "useRef", "useEffect", "forwardRef", "debounce", "useInView", "cn", "withLayout", "Slogan", "YouTubePlayer", "Grid", "GridItem", "Container", "BrandEquity", "MemberEquity", "Spacer", "gsap", "convertLexicalToHTML", "useMediaQuery", "ScrollLoadVideo", "htmlConverters", "defaultConverters", "args", "node", "SubContainer", "children", "spaceY", "className", "isMobile", "SubBox", "id", "components", "ref", "mediaPlayerStickyRef", "componentData", "index", "MediaPlayerSticky", "wrapperClassName", "title", "videoTitle", "mobVideo", "mobImg", "img", "isYouTube", "youtubePcId", "youtubeMobileId", "video", "theme", "shape", "rest", "videoRef", "boxRef", "inViewRef", "inView", "screenHeight", "setScreenHeight", "isPlaying", "setIsPlaying", "isEntered", "setIsEntered", "wrapperRef", "title_html", "btb", "setbtb", "setIsMobile", "mediaQuery", "debouncedHandleResize", "rect", "scrollTop", "elementBottomToPageTop", "distanceToPageBottom", "gsapResize", "height", "MediaPlayerSticky_default"]
4
+ "sourcesContent": ["'use client'\nimport React, { useState, useRef, useEffect, forwardRef } from 'react'\nimport { debounce } from 'es-toolkit'\nimport { useInView } from 'react-intersection-observer'\nimport { cn } from '../../helpers/utils.js'\nimport { withLayout } from '../../shared/Styles.js'\nimport Slogan from '../Slogan/index.js'\nimport { YouTubePlayer } from '../VideoModal/YouTubePlayer.js'\nimport { Grid, GridItem } from '../../components/grid.js'\nimport { Container } from '../../components/container.js'\nimport BrandEquity from '../BrandEquity/index.js'\nimport MemberEquity from '../MemberEquity/index.js'\nimport Spacer from '../Spacer/index.js'\nimport gsap from 'gsap'\nimport { convertLexicalToHTML } from '@payloadcms/richtext-lexical/html'\n\nimport type { HTMLConvertersFunction } from '@payloadcms/richtext-lexical/html'\n\nimport { useMediaQuery } from 'react-responsive'\nimport type { MediaPlayerBaseProps, MediaPlayerComponent } from './types.js'\nimport ScrollLoadVideo from '../../helpers/ScrollLoadVideo.js'\n\nconst htmlConverters: HTMLConvertersFunction = ({ defaultConverters }) =>\n ({\n ...defaultConverters,\n text: (args: any) => {\n const { node } = args\n\n // \u68C0\u67E5\u662F\u5426\u6709\u81EA\u5B9A\u4E49 color\n if (node.$ && node.$.color) {\n return `<span class=\"lexical-${node.$.color}\">${node.text}</span>`\n }\n return node.text\n },\n }) as any\n\nconst SubContainer = ({\n children,\n spaceY,\n className,\n}: {\n children: React.ReactNode\n spaceY?: string\n className?: string\n}) => {\n const isMobile = useMediaQuery({ query: '(max-width: 768px)' })\n return (\n <Container spaceY={spaceY} className={cn('!bg-transparent', className)}>\n <Grid>\n {!isMobile && <GridItem span={1} />}\n <GridItem span={isMobile ? 12 : 10}>{children}</GridItem>\n {!isMobile && <GridItem span={1} />}\n </Grid>\n </Container>\n )\n}\n\nconst SubBox = React.forwardRef<\n {\n mediaPlayerStickyRef: HTMLDivElement\n },\n {\n children?: React.ReactNode\n id?: string\n components?: MediaPlayerComponent[]\n }\n>(({ children, id, components }, ref) => {\n const mediaPlayerStickyRef = useRef<HTMLDivElement>(null)\n\n return (\n <div ref={mediaPlayerStickyRef} className=\"relative z-10\">\n <>{children}</>\n <>\n {components?.map((componentData: any, index: number) => {\n switch (componentData.blockType) {\n case 'ipc-brand-equity': {\n return (\n <div key={`${componentData.blockType}-${index}`} className=\"relative z-20 bg-transparent\">\n <SubContainer spaceY=\"none\">\n <BrandEquity data={componentData} style={componentData?.style} />\n </SubContainer>\n </div>\n )\n }\n case 'ipc-member-equity': {\n return (\n <div key={`${componentData.blockType}-${index}`} className=\"relative z-20 w-full bg-transparent\">\n <SubContainer spaceY=\"none\">\n <MemberEquity data={componentData} className=\"w-full\" style={componentData?.style} />\n </SubContainer>\n </div>\n )\n }\n case 'ipc-spacer': {\n return (\n <Spacer\n key={`${componentData.blockType}-${index}`}\n data={componentData}\n style={componentData?.style}\n className=\"!bg-transparent\"\n />\n )\n }\n default:\n return null\n }\n })}\n </>\n </div>\n )\n})\n\nSubBox.displayName = 'SubBox'\n\nconst MediaPlayerSticky = forwardRef<\n {\n mediaPlayerStickyRef: HTMLDivElement\n },\n MediaPlayerBaseProps\n>(\n (\n {\n className = '',\n wrapperClassName = '',\n id,\n data: {\n title,\n videoTitle,\n mobVideo,\n mobImg,\n img,\n isYouTube,\n youtubePcId,\n youtubeMobileId,\n video,\n theme,\n shape,\n components,\n },\n ...rest\n },\n ref\n ) => {\n const safeId = id ? `mps-${id}` : undefined\n const videoRef = useRef<HTMLVideoElement>(null)\n const boxRef = useRef<HTMLDivElement>(null)\n const { ref: inViewRef, inView } = useInView()\n const [screenHeight, setScreenHeight] = useState(0)\n const [isPlaying, setIsPlaying] = useState(false)\n const [isEntered, setIsEntered] = useState(false)\n const wrapperRef = useRef<HTMLDivElement>(null)\n\n const title_html =\n typeof title === 'string' ? title : title && convertLexicalToHTML({ data: title, converters: htmlConverters })\n typeof videoTitle === 'string'\n ? videoTitle\n : videoTitle && convertLexicalToHTML({ data: videoTitle, converters: htmlConverters })\n\n const [btb, setbtb] = useState(0)\n const [isMobile, setIsMobile] = useState(false)\n const mediaQuery = useMediaQuery({ query: '(max-width: 768px)' })\n\n useEffect(() => {\n setIsMobile(mediaQuery)\n }, [mediaQuery])\n\n useEffect(() => {\n if (inView && !isPlaying) {\n videoRef.current?.play()\n setIsPlaying(true)\n }\n }, [inView, isPlaying])\n\n useEffect(() => {\n const debouncedHandleResize = debounce(() => {\n if (boxRef.current) {\n const rect = boxRef.current.getBoundingClientRect()\n const screenHeight = isMobile ? window.screen.height : window.innerHeight\n const scrollTop = window.scrollY || window.pageYOffset\n const elementBottomToPageTop = rect.bottom + scrollTop\n const pageHeight = document.documentElement.scrollHeight\n const distanceToPageBottom = pageHeight - elementBottomToPageTop\n setbtb(distanceToPageBottom > screenHeight ? screenHeight : distanceToPageBottom)\n setScreenHeight(screenHeight)\n }\n }, 2000)\n debouncedHandleResize()\n window.addEventListener('resize', debouncedHandleResize)\n return () => {\n window.removeEventListener('resize', debouncedHandleResize)\n }\n }, [])\n\n useEffect(() => {\n function gsapResize() {\n const height = isMobile ? window.screen.height : window.innerHeight\n gsap\n .timeline({\n scrollTrigger: {\n trigger: safeId ? `#${safeId}` : wrapperRef.current,\n start: 'top top',\n end: `top+=${height * 1.8}px bottom`,\n scrub: 0.5,\n },\n })\n .from(safeId ? `#${safeId} .media-content` : '.media-content', {\n top: '50%',\n transform: 'translate(-50%, -50%)',\n })\n .to(safeId ? `#${safeId} .sticky-cover` : '.sticky-cover', {\n backdropFilter: 'blur(8px)',\n duration: 0.4,\n })\n .to(\n safeId ? `#${safeId} .media-content` : '.media-content',\n {\n top: '100%',\n transform: 'translate(-50%, -100%)',\n duration: 1,\n },\n '<'\n )\n }\n if (inView) {\n gsapResize()\n }\n }, [inView])\n\n return (\n <>\n <div\n id={safeId}\n {...rest}\n className={cn('relative z-20 h-screen w-full', className, {\n 'aiui-dark': theme === 'dark',\n 'rounded-box': true,\n })}\n ref={wrapperRef}\n >\n <div\n ref={inViewRef}\n className=\"media-content translate-z-0 absolute left-1/2 top-1/2 z-10 w-full -translate-x-1/2 -translate-y-1/2 antialiased\"\n style={{ willChange: 'transform', contain: 'paint' }}\n >\n <SubContainer spaceY=\"tablet:my-[32px] my-[24px] space-y-4\">\n <Slogan className=\"sticky-title antialiased\" data={{ title: title_html || '', theme, tag: 'h2' }} />\n </SubContainer>\n </div>\n </div>\n\n <div\n ref={boxRef}\n style={{ marginBottom: `-${btb}px`, zIndex: inView ? 2 : 1 }}\n className={cn(safeId, 'relative mt-[-200vh]', wrapperClassName)}\n >\n <div className=\"sticky top-0 \">\n <div className={cn('media-cover', 'relative h-screen w-full')}>\n {isYouTube ? (\n <YouTubePlayer youTubeId={isMobile ? youtubeMobileId || youtubePcId : youtubePcId} />\n ) : (\n video?.url && (\n <ScrollLoadVideo\n videoRef={videoRef}\n poster={isMobile && mobImg?.url ? mobImg?.url : img?.url}\n src={isMobile && mobVideo?.url ? mobVideo?.url : video?.url}\n className=\"lg-desktop:aspect-w-[1920] lg-desktop:aspect-h-[930] lg:aspect-w-[1440] lg:aspect-h-[700] desktop:aspect-w-[1024] desktop:aspect-h-[520] tablet:aspect-w-[768] tablet:aspect-h-[660] aspect-w-[390] aspect-h-[660]\"\n videoClassName=\" object-cover object-[82%]\"\n muted\n loop={false}\n playsInline\n autoplay={false}\n onEnded={() => {\n setIsEntered(true)\n }}\n />\n )\n )}\n {img?.url && (!video?.url || isEntered) && (\n <img\n src={isMobile && mobImg?.url ? mobImg?.url : img?.url}\n alt={img?.alt}\n className=\"z-1 absolute left-0 top-0 size-full object-cover object-[82%]\"\n loading=\"lazy\"\n />\n )}\n <div\n className=\"sticky-cover absolute left-0 top-0 z-10 size-full\"\n style={{\n backdropFilter: 'blur(0px)',\n WebkitBackdropFilter: 'blur(0px)',\n willChange: 'backdrop-filter',\n }}\n />\n </div>\n </div>\n\n <div className=\"relative h-screen w-full\" />\n <SubBox components={components}></SubBox>\n <div className=\"relative h-screen w-full\" />\n </div>\n </>\n )\n }\n)\nMediaPlayerSticky.displayName = 'MediaPlayerSticky'\n\nexport default withLayout(MediaPlayerSticky)\n"],
5
+ "mappings": "aAgDM,OAuBA,YAAAA,EAtBgB,OAAAC,EADhB,QAAAC,MAAA,oBA/CN,OAAOC,GAAS,YAAAC,EAAU,UAAAC,EAAQ,aAAAC,EAAW,cAAAC,MAAkB,QAC/D,OAAS,YAAAC,OAAgB,aACzB,OAAS,aAAAC,OAAiB,8BAC1B,OAAS,MAAAC,MAAU,yBACnB,OAAS,cAAAC,OAAkB,yBAC3B,OAAOC,OAAY,qBACnB,OAAS,iBAAAC,OAAqB,iCAC9B,OAAS,QAAAC,GAAM,YAAAC,MAAgB,2BAC/B,OAAS,aAAAC,OAAiB,gCAC1B,OAAOC,OAAiB,0BACxB,OAAOC,OAAkB,2BACzB,OAAOC,OAAY,qBACnB,OAAOC,OAAU,OACjB,OAAS,wBAAAC,MAA4B,oCAIrC,OAAS,iBAAAC,MAAqB,mBAE9B,OAAOC,OAAqB,mCAE5B,MAAMC,EAAyC,CAAC,CAAE,kBAAAC,CAAkB,KACjE,CACC,GAAGA,EACH,KAAOC,GAAc,CACnB,KAAM,CAAE,KAAAC,CAAK,EAAID,EAGjB,OAAIC,EAAK,GAAKA,EAAK,EAAE,MACZ,wBAAwBA,EAAK,EAAE,KAAK,KAAKA,EAAK,IAAI,UAEpDA,EAAK,IACd,CACF,GAEIC,EAAe,CAAC,CACpB,SAAAC,EACA,OAAAC,EACA,UAAAC,CACF,IAIM,CACJ,MAAMC,EAAWV,EAAc,CAAE,MAAO,oBAAqB,CAAC,EAC9D,OACErB,EAACe,GAAA,CAAU,OAAQc,EAAQ,UAAWpB,EAAG,kBAAmBqB,CAAS,EACnE,SAAA7B,EAACY,GAAA,CACE,WAACkB,GAAY/B,EAACc,EAAA,CAAS,KAAM,EAAG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EACF,EACF,EAEAjD,EAAC,OACC,IAAKsD,EACL,MAAO,CAAE,aAAc,IAAIW,CAAG,KAAM,OAAQT,EAAS,EAAI,CAAE,EAC3D,UAAWhD,EAAG4C,EAAQ,uBAAwBb,CAAgB,EAE9D,UAAAxC,EAAC,OAAI,UAAU,gBACb,SAAAC,EAAC,OAAI,UAAWQ,EAAG,cAAe,0BAA0B,EACzD,UAAAqC,EACC9C,EAACY,GAAA,CAAc,UAAWmB,GAAWiB,GAAmBD,EAA2B,EAEnFE,GAAO,KACLjD,EAACsB,GAAA,CACC,SAAUgC,EACV,OAAQvB,GAAYa,GAAQ,IAAMA,GAAQ,IAAMC,GAAK,IACrD,IAAKd,GAAYY,GAAU,IAAMA,GAAU,IAAMM,GAAO,IACxD,UAAU,qNACV,eAAe,6BACf,MAAK,GACL,KAAM,GACN,YAAW,GACX,SAAU,GACV,QAAS,IAAM,CACbc,EAAa,EAAI,CACnB,EACF,EAGHlB,GAAK,MAAQ,CAACI,GAAO,KAAOa,IAC3B9D,EAAC,OACC,IAAK+B,GAAYa,GAAQ,IAAMA,GAAQ,IAAMC,GAAK,IAClD,IAAKA,GAAK,IACV,UAAU,iEACV,QAAQ,OACV,EAEF7C,EAAC,OACC,UAAU,oDACV,MAAO,CACL,eAAgB,YAChB,qBAAsB,YACtB,WAAY,iBACd,EACF,GACF,EACF,EAEAA,EAAC,OAAI,UAAU,2BAA2B,EAC1CA,EAACgC,EAAA,CAAO,WAAYE,EAAY,EAChClC,EAAC,OAAI,UAAU,2BAA2B,GAC5C,GACF,CAEJ,CACF,EACAuC,EAAkB,YAAc,oBAEhC,IAAOsC,GAAQnE,GAAW6B,CAAiB",
6
+ "names": ["Fragment", "jsx", "jsxs", "React", "useState", "useRef", "useEffect", "forwardRef", "debounce", "useInView", "cn", "withLayout", "Slogan", "YouTubePlayer", "Grid", "GridItem", "Container", "BrandEquity", "MemberEquity", "Spacer", "gsap", "convertLexicalToHTML", "useMediaQuery", "ScrollLoadVideo", "htmlConverters", "defaultConverters", "args", "node", "SubContainer", "children", "spaceY", "className", "isMobile", "SubBox", "id", "components", "ref", "mediaPlayerStickyRef", "componentData", "index", "MediaPlayerSticky", "wrapperClassName", "title", "videoTitle", "mobVideo", "mobImg", "img", "isYouTube", "youtubePcId", "youtubeMobileId", "video", "theme", "shape", "rest", "safeId", "videoRef", "boxRef", "inViewRef", "inView", "screenHeight", "setScreenHeight", "isPlaying", "setIsPlaying", "isEntered", "setIsEntered", "wrapperRef", "title_html", "btb", "setbtb", "setIsMobile", "mediaQuery", "debouncedHandleResize", "rect", "scrollTop", "elementBottomToPageTop", "distanceToPageBottom", "gsapResize", "height", "MediaPlayerSticky_default"]
7
7
  }
@@ -1,6 +1,6 @@
1
1
  import type { MediaSceneSwitcherProps } from './types.js';
2
2
  import 'swiper/css';
3
- declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaSceneSwitcherProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../WheelLottery/index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
3
+ declare const _default: import("react").ForwardRefExoticComponent<Omit<MediaSceneSwitcherProps & import("react").RefAttributes<HTMLDivElement>, "container" | keyof import("../../shared/Styles.js").StylesProps> & import("../../shared/Styles.js").StylesProps & import("../index.js").ContainerProps & import("react").RefAttributes<unknown>> & {
4
4
  readonly $$typeof: symbol;
5
5
  };
6
6
  export default _default;