@anker-in/headless-ui 1.3.80 → 1.3.82

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 (102) hide show
  1. package/dist/cjs/biz-components/ActiveShelf/ProductCard.d.ts +2 -0
  2. package/dist/cjs/biz-components/ActiveShelf/ProductCard.js +1 -1
  3. package/dist/cjs/biz-components/ActiveShelf/index.d.ts +2 -0
  4. package/dist/cjs/biz-components/ActiveShelf/index.js +1 -1
  5. package/dist/cjs/biz-components/ActiveShelf/styles.js +1 -1
  6. package/dist/cjs/biz-components/BuyOneGetOneShelf/DiscountBadge.d.ts +25 -0
  7. package/dist/cjs/biz-components/BuyOneGetOneShelf/DiscountBadge.js +1 -0
  8. package/dist/cjs/biz-components/BuyOneGetOneShelf/FreeGiftItem.d.ts +4 -0
  9. package/dist/cjs/biz-components/BuyOneGetOneShelf/FreeGiftItem.js +1 -1
  10. package/dist/cjs/biz-components/BuyOneGetOneShelf/GiftSelection.d.ts +4 -0
  11. package/dist/cjs/biz-components/BuyOneGetOneShelf/GiftSelection.js +1 -1
  12. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductCard.d.ts +2 -2
  13. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductCard.js +1 -1
  14. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductImage.d.ts +0 -3
  15. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductImage.js +1 -1
  16. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductTags.d.ts +14 -0
  17. package/dist/cjs/biz-components/BuyOneGetOneShelf/ProductTags.js +1 -0
  18. package/dist/cjs/biz-components/BuyOneGetOneShelf/context.d.ts +2 -1
  19. package/dist/cjs/biz-components/BuyOneGetOneShelf/context.js +1 -1
  20. package/dist/cjs/biz-components/BuyOneGetOneShelf/index.d.ts +1 -1
  21. package/dist/cjs/biz-components/BuyOneGetOneShelf/index.js +1 -1
  22. package/dist/cjs/biz-components/BuyOneGetOneShelf/types.d.ts +70 -3
  23. package/dist/cjs/biz-components/BuyOneGetOneShelf/types.js +1 -1
  24. package/dist/cjs/biz-components/Category/index.js +1 -1
  25. package/dist/cjs/biz-components/EventSchedule/index.js +1 -1
  26. package/dist/cjs/biz-components/HeroBanner/HeroBanner.js +1 -1
  27. package/dist/cjs/biz-components/HeroBanner/HeroBannerCarousel.js +1 -1
  28. package/dist/cjs/biz-components/MediaShelf/ProductCard.d.ts +2 -0
  29. package/dist/cjs/biz-components/MediaShelf/ProductCard.js +1 -1
  30. package/dist/cjs/biz-components/MediaShelf/index.js +1 -1
  31. package/dist/cjs/biz-components/MiniCart/CircleProgress.d.ts +22 -1
  32. package/dist/cjs/biz-components/MiniCart/CircleProgress.js +2 -1
  33. package/dist/cjs/biz-components/MiniCart/MiniCartDialog.d.ts +4 -2
  34. package/dist/cjs/biz-components/MiniCart/MiniCartDialog.js +1 -1
  35. package/dist/cjs/biz-components/MiniCart/index.d.ts +45 -0
  36. package/dist/cjs/biz-components/MiniCart/index.js +1 -1
  37. package/dist/cjs/biz-components/PromotionalBar/index.js +1 -1
  38. package/dist/cjs/biz-components/SceneShelf/ProductCard.js +1 -1
  39. package/dist/cjs/biz-components/Title/index.js +1 -1
  40. package/dist/cjs/biz-components/index.d.ts +2 -2
  41. package/dist/cjs/biz-components/index.js +1 -1
  42. package/dist/cjs/helpers/ScrollLoadVideo.d.ts +9 -1
  43. package/dist/cjs/helpers/ScrollLoadVideo.js +1 -1
  44. package/dist/cjs/material/breakpoints.d.ts +97 -0
  45. package/dist/cjs/material/breakpoints.js +1 -0
  46. package/dist/cjs/material/contract.d.ts +72 -0
  47. package/dist/cjs/material/contract.js +1 -0
  48. package/dist/cjs/material/index.d.ts +17 -0
  49. package/dist/cjs/material/index.js +1 -0
  50. package/dist/cjs/material/material-meta.d.ts +76 -0
  51. package/dist/cjs/material/material-meta.js +1 -0
  52. package/dist/esm/biz-components/ActiveShelf/ProductCard.d.ts +2 -0
  53. package/dist/esm/biz-components/ActiveShelf/ProductCard.js +1 -1
  54. package/dist/esm/biz-components/ActiveShelf/index.d.ts +2 -0
  55. package/dist/esm/biz-components/ActiveShelf/index.js +1 -1
  56. package/dist/esm/biz-components/ActiveShelf/styles.js +1 -1
  57. package/dist/esm/biz-components/BuyOneGetOneShelf/DiscountBadge.d.ts +25 -0
  58. package/dist/esm/biz-components/BuyOneGetOneShelf/DiscountBadge.js +1 -0
  59. package/dist/esm/biz-components/BuyOneGetOneShelf/FreeGiftItem.d.ts +4 -0
  60. package/dist/esm/biz-components/BuyOneGetOneShelf/FreeGiftItem.js +1 -1
  61. package/dist/esm/biz-components/BuyOneGetOneShelf/GiftSelection.d.ts +4 -0
  62. package/dist/esm/biz-components/BuyOneGetOneShelf/GiftSelection.js +1 -1
  63. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductCard.d.ts +2 -2
  64. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductCard.js +1 -1
  65. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductImage.d.ts +0 -3
  66. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductImage.js +1 -1
  67. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductTags.d.ts +14 -0
  68. package/dist/esm/biz-components/BuyOneGetOneShelf/ProductTags.js +1 -0
  69. package/dist/esm/biz-components/BuyOneGetOneShelf/context.d.ts +2 -1
  70. package/dist/esm/biz-components/BuyOneGetOneShelf/index.d.ts +1 -1
  71. package/dist/esm/biz-components/BuyOneGetOneShelf/index.js +1 -1
  72. package/dist/esm/biz-components/BuyOneGetOneShelf/types.d.ts +70 -3
  73. package/dist/esm/biz-components/Category/index.js +1 -1
  74. package/dist/esm/biz-components/EventSchedule/index.js +1 -1
  75. package/dist/esm/biz-components/HeroBanner/HeroBanner.js +1 -1
  76. package/dist/esm/biz-components/HeroBanner/HeroBannerCarousel.js +1 -1
  77. package/dist/esm/biz-components/MediaShelf/ProductCard.d.ts +2 -0
  78. package/dist/esm/biz-components/MediaShelf/ProductCard.js +1 -1
  79. package/dist/esm/biz-components/MediaShelf/index.js +1 -1
  80. package/dist/esm/biz-components/MiniCart/CircleProgress.d.ts +22 -1
  81. package/dist/esm/biz-components/MiniCart/CircleProgress.js +2 -1
  82. package/dist/esm/biz-components/MiniCart/MiniCartDialog.d.ts +4 -2
  83. package/dist/esm/biz-components/MiniCart/MiniCartDialog.js +1 -1
  84. package/dist/esm/biz-components/MiniCart/index.d.ts +45 -0
  85. package/dist/esm/biz-components/MiniCart/index.js +1 -1
  86. package/dist/esm/biz-components/PromotionalBar/index.js +1 -1
  87. package/dist/esm/biz-components/SceneShelf/ProductCard.js +1 -1
  88. package/dist/esm/biz-components/Title/index.js +1 -1
  89. package/dist/esm/biz-components/index.d.ts +2 -2
  90. package/dist/esm/biz-components/index.js +1 -1
  91. package/dist/esm/helpers/ScrollLoadVideo.d.ts +9 -1
  92. package/dist/esm/helpers/ScrollLoadVideo.js +1 -1
  93. package/dist/esm/material/breakpoints.d.ts +97 -0
  94. package/dist/esm/material/breakpoints.js +1 -0
  95. package/dist/esm/material/contract.d.ts +72 -0
  96. package/dist/esm/material/contract.js +1 -0
  97. package/dist/esm/material/index.d.ts +17 -0
  98. package/dist/esm/material/index.js +1 -0
  99. package/dist/esm/material/material-meta.d.ts +76 -0
  100. package/dist/esm/material/material-meta.js +1 -0
  101. package/package.json +13 -2
  102. package/style.css +26 -2
@@ -1 +1 @@
1
- import{AccessoriesProductGrid as o,SectionHeader as a,PromoBanner as i,MainProductArea as s,AddToCartSuccessPopover as p}from"./AccessoriesShelf/index.js";import{default as f}from"./ActivitySchedule/index.js";import{default as n}from"./GiftShelf/index.js";import{default as u}from"./GiftTierShelf/index.js";import{default as x}from"./ActivityMechanism/index.js";import{default as S}from"./BrandEquity/index.js";import{default as P}from"./MemberEquity/index.js";import{default as g}from"./Slogan/index.js";import{default as B}from"./Title/index.js";import{default as v}from"./Spacer/index.js";import{default as b}from"./ShelfDisplay/index.js";import{default as D}from"./ShelfDisplayHorizontal/index.js";import{default as j}from"./Evaluate/index.js";import{default as O}from"./Category/index.js";import{default as L}from"./HeroBanner/index.js";import{default as k}from"./AccordionCards/index.js";import{default as N}from"./Graphic/index.js";import{default as H}from"./MediaPlayerBase/index.js";import{default as q}from"./MediaPlayerSticky/index.js";import{default as K}from"./MediaPlayerMulti/index.js";import{default as _}from"./Marquee/index.js";import{default as J}from"./MarqueeReview/index.js";import{default as X}from"./WhyChoose/index.js";import{default as $}from"./Faq/index.js";import{MarqueeItem as te,MarqueeImageContent as re,MarqueeTextContent as oe}from"./Marquee/index.js";import{default as ie}from"./MultiLayoutGraphicBlock/index.js";import{default as pe}from"./GraphicAttractionBlock/index.js";import{default as fe}from"./HeaderNavigation/index.js";import{default as ne}from"./FooterNavigation/index.js";import{default as ue}from"./SearchPage/index.js";import{IPC_SEARCH_PAGE as xe,SearchPageTabType as ye}from"./SearchPage/types.js";import{withLayout as he}from"../shared/Styles.js";import{default as Ce}from"./AiuiProvider/index.js";import{default as Me}from"./Tabs/index.js";import{default as Te}from"./SwiperBox/index.js";import{VideoModal as Ie}from"./VideoModal/index.js";import{default as Ae}from"./CreativeModule/index.js";import{default as Fe}from"./GraphicOverlay/index.js";import{default as Ge}from"./Specs/index.js";import{default as we}from"./TabsGroup/index.js";import{default as Ve,useBizProductContext as ke}from"./Listing/BizProductProvider.js";import{default as Ne}from"./Listing/components/PurchaseBar/index.js";import{default as He}from"./Listing/components/PurchaseBar/ProductActions/index.js";import{default as qe}from"./Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js";import{default as Ke}from"./Listing/components/ProductCard/ProductDetail/ProductBenefits/index.js";import{default as _e}from"./Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js";import{default as Je}from"./Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js";import{default as Xe}from"./Listing/components/ProductCard/ProductDetail/ProductFunctionFreeGift/index.js";import{default as $e}from"./Listing/components/ProductCard/ProductDetail/ProductOptions/index.js";import{default as tt}from"./Listing/components/ProductCard/ProductDetail/ProductBundle/index.js";import{default as ot}from"./Listing/components/ProductCard/ProductDetail/ProductCoupon/index.js";import{default as it}from"./Listing/components/ProductCard/ProductDetail/ProductBanner/index.js";import{default as pt}from"./Listing/components/ProductCard/ProductGridBox.js";import{default as ft}from"./Listing/components/ProductCard/ProductGallery/index.js";import{default as nt}from"./Listing/components/ProductCard/ProductSummary/index.js";import{default as ut}from"./Listing/components/ProductCard/ProductDetail/BenefitsTab.js";import{default as xt}from"./Listing/components/ProductCard/ProductDetail/CreditCouponRedeem/index.js";import{default as St}from"./Listing/components/PaidShipping/index.js";import{default as Pt}from"./Listing/components/CartActionButtons/index.js";import{NotifyMeDialog as gt}from"./NotifyMeDialog/index.js";import{default as Bt}from"./Listing/components/ProductCard/ProductDetail/ProductServiceBenefits/index.js";import{default as vt}from"./Listing/components/ProductCard/ProductPaidShipping/index.js";import{default as bt}from"./GraphicMore/index.js";import{default as Dt}from"./Features/index.js";import{default as jt}from"./AplusDesc/index.js";import{default as Ot}from"./GiftBox/index.js";import{default as Lt}from"./SelectStore/index.js";import{default as kt}from"./DownLoad/index.js";import{default as Nt}from"./FootCharger/index.js";import{default as Ht}from"./BrandCardLink/index.js";import*as Rt from"./IPRedirect/index.js";import{default as zt}from"./WheelLottery/index.js";import{default as Ut}from"./ProductLottery/index.js";import{default as Yt}from"./ProductCompare/index.js";import{default as Qt}from"./Ksp/index.js";import{default as Zt}from"./ImageTextFeature/index.js";import{default as er}from"./FeatureCards/index.js";import{default as rr}from"./FeaturedBlogPosts/index.js";import{default as ar}from"./ImageWithText/index.js";import{default as sr}from"./VideoFeature/index.js";import{default as dr}from"./TabsWithMedia/index.js";import{default as cr}from"./TabWithImage/index.js";import{default as lr}from"./FeatureShowcase/index.js";import{default as mr}from"./ProductHero/index.js";import{default as yr}from"./SpecsComparison/index.js";import{default as hr}from"./MediaSceneSwitcher/index.js";import{default as Cr}from"./MediaSceneSwitcherV2/index.js";import{default as Mr}from"./ThreeDCarousel/index.js";import{default as Tr}from"./ProductNav/index.js";import{default as Ir}from"./AnchorNavigation/index.js";import{default as Ar}from"./PromotionalBar/index.js";import{default as Fr}from"./EventSchedule/index.js";import{default as Gr}from"./SecondaryBanner/index.js";import{default as wr}from"./BuyOneGetOneShelf/index.js";import{default as Vr}from"./ActiveShelf/index.js";import{default as Wr}from"./MediaShelf/index.js";import{default as Er,CreditsProductCard as Hr}from"./CreditsShelf/index.js";import{default as qr,SceneProductCard as zr}from"./SceneShelf/index.js";import{default as Ur,SceneShelfV2ProductCard as _r}from"./SceneShelfV2/index.js";import{default as Jr}from"./SceneShelfV3/index.js";import{default as Xr}from"./MediaEndorsement/index.js";import{default as $r}from"./MediaTextOverlay/index.js";import{default as to}from"./ImageOverlayShelf/index.js";import{default as oo,AccessoryProductCard as ao}from"./AccessoriesShelf/components/AccessoryShelf/index.js";import{default as so}from"./ImageTextOverlay/index.js";import{default as fo}from"./MiniCart/index.js";import{default as no}from"./MiniCart/CircleProgress.js";import{default as uo,MiniCartDialog as mo}from"./MiniCart/MiniCartDialog.js";import{default as yo}from"./WebPushPopup/index.js";import{useEmarsysWebPush as ho}from"../hooks/useEmarsysWebPush.js";const e={ActivityMechanism:"ActivityMechanism",ActivitySchedule:"ActivitySchedule",AnchorNavigation:"AnchorNavigation",EventSchedule:"EventSchedule",FeatureCards:"FeatureCards",GiftShelf:"GiftShelf",GiftTierShelf:"GiftTierShelf",ImageTextFeature:"ImageTextFeature",ImageTextOverlay:"ImageTextOverlay",ImageWithText:"ImageWithText",MarqueeReview:"MarqueeReview",MediaSceneSwitcher:"MediaSceneSwitcher",ProductCompare:"ProductCompare",ProductHero:"ProductHero",ProductNav:"ProductNav",PromotionalBar:"PromotionalBar",TabsWithMedia:"TabsWithMedia",ThreeDCarousel:"ThreeDCarousel",VideoFeature:"VideoFeature","ipc-accordioncards":"AccordionCards","ipc-active-shelf":"ActiveShelf","ipc-add-to-cart-success-popover":"AddToCartSuccessPopover","ipc-aplusdesc":"AplusDesc","ipc-banner":"HeroBanner","ipc-bogo-shelf":"BuyOneGetOneShelf","ipc-brand-card-link":"BrandCardLink","ipc-brand-equity":"BrandEquity","ipc-category":"Category","ipc-creativemodule":"CreativeModule","ipc-credits-shelf":"CreditsShelf","ipc-download":"DownLoad","ipc-evaluate":"Evaluate","ipc-faq":"Faq","ipc-features":"Features","ipc-featured-blog-posts":"FeaturedBlogPosts","ipc-footcharger":"FootCharger","ipc-ga-block":"GraphicAttractionBlock","ipc-giftbox":"GiftBox","ipc-graphic":"Graphic","ipc-graphicmore":"GraphicMore","ipc-graphicoverlay":"GraphicOverlay","ipc-image-overlay-shelf":"ImageOverlayShelf","ipc-marquee":"Marquee","ipc-media-endorsement":"MediaEndorsement","ipc-media-shelf":"MediaShelf","ipc-media-scene-switcher-v2":"MediaSceneSwitcherV2","ipc-media-text-overlay":"MediaTextOverlay","ipc-mediaplayerbase":"MediaPlayerBase","ipc-mediaplayermulti":"MediaPlayerMulti","ipc-mediaplayersticky":"MediaPlayerSticky","ipc-member-equity":"MemberEquity","ipc-mini-cart":"MiniCart","ipc-mlg-block":"MultiLayoutGraphicBlock","ipc-notify-me-dialog":"NotifyMeDialog","ipc-product-lottery":"ProductLottery","ipc-scene-shelf":"SceneShelf","ipc-scene-shelf-v2":"SceneShelfV2","ipc-scene-shelf-v3":"SceneShelfV3","ipc-search-page":"SearchPage","ipc-search-page-tabs":"SearchPage","ipc-secondary-banner":"SecondaryBanner","ipc-selectstore":"SelectStore","ipc-shelfdisplay":"ShelfDisplay","ipc-shelfdisplay-horizontal":"ShelfDisplayHorizontal","ipc-slogan":"Slogan","ipc-spacer":"Spacer","ipc-specs":"Specs","ipc-tabs":"Tabs","ipc-title":"Title","ipc-wheel-lottery":"WheelLottery","ipc-whychoose":"WhyChoose",ksp:"Ksp",modalCoupon:"ModalCoupon",modalRegisterSubscribe:"ModalRegisterSubscribe",modalSmsSubscribe:"ModalSmsSubscribe",modalSubscribeConfirm:"ModalSubscribeConfirm",modalVerify:"ModalVerify"};import{CartSummaryHeader as Co,CartItemRow as go,CartGiftSection as Mo,CartPerksSection as Bo,CartThirdPartyBanner as To,CartPriceSummary as vo}from"./CartDetail/index.js";import{useAiuiContext as bo}from"./AiuiProvider/index.js";import{default as Do}from"./ModalRegisterSubscribe/index.js";import{default as jo}from"./ModalSubscribeConfirm/index.js";import{default as Oo}from"./ModalCoupon/index.js";import{default as Lo}from"./ModalSmsSubscribe/index.js";import{default as ko}from"./ModalVerify/index.js";export{o as AccessoriesProductGrid,ao as AccessoryProductCard,oo as AccessoryShelf,k as AccordionCards,Vr as ActiveShelf,x as ActivityMechanism,f as ActivitySchedule,p as AddToCartSuccessPopover,Ce as AiuiProvider,Ir as AnchorNavigation,jt as AplusDesc,ut as BenefitsTab,Ve as BizProductProvider,Ht as BrandCardLink,S as BrandEquity,wr as BuyOneGetOneShelf,Pt as CartActionButtons,Mo as CartGiftSection,go as CartItemRow,Bo as CartPerksSection,vo as CartPriceSummary,Co as CartSummaryHeader,To as CartThirdPartyBanner,O as Category,Ae as CreativeModule,xt as CreditCouponRedeem,Hr as CreditsProductCard,Er as CreditsShelf,kt as DownLoad,j as Evaluate,Fr as EventSchedule,$ as Faq,er as FeatureCards,lr as FeatureShowcase,rr as FeaturedBlogPosts,Dt as Features,Nt as FootCharger,ne as FooterNavigation,Ot as GiftBox,n as GiftShelf,u as GiftTierShelf,N as Graphic,pe as GraphicAttractionBlock,bt as GraphicMore,Fe as GraphicOverlay,fe as HeaderNavigation,L as HeroBanner,xe as IPC_SEARCH_PAGE,Rt as IPRedirect,to as ImageOverlayShelf,Zt as ImageTextFeature,so as ImageTextOverlay,ar as ImageWithText,Qt as Ksp,s as MainProductArea,_ as Marquee,re as MarqueeImageContent,te as MarqueeItem,J as MarqueeReview,oe as MarqueeTextContent,Xr as MediaEndorsement,H as MediaPlayerBase,K as MediaPlayerMulti,q as MediaPlayerSticky,hr as MediaSceneSwitcher,Cr as MediaSceneSwitcherV2,Wr as MediaShelf,$r as MediaTextOverlay,P as MemberEquity,fo as MiniCart,no as MiniCartCircleProgress,uo as MiniCartDialog,mo as MiniCartDialogComponent,Oo as ModalCoupon,Do as ModalRegisterSubscribe,Lo as ModalSmsSubscribe,jo as ModalSubscribeConfirm,ko as ModalVerify,ie as MultiLayoutGraphicBlock,gt as NotifyMeDialog,e as PAYLOAD_COMPONENT_MAP,St as PaidShipping,He as ProductActions,it as ProductBanner,Ke as ProductBenefits,qe as ProductBenefitsTabs,tt as ProductBundle,Yt as ProductCompare,ot as ProductCoupon,Je as ProductFreeGift,Xe as ProductFunctionFreeGift,ft as ProductGallery,pt as ProductGridBox,mr as ProductHero,_e as ProductHighlight,Ut as ProductLottery,Tr as ProductNav,$e as ProductOptions,vt as ProductPaidShipping,Bt as ProductServiceBenefits,nt as ProductSummary,i as PromoBanner,Ar as PromotionalBar,Ne as PurchaseBar,zr as SceneProductCard,qr as SceneShelf,Ur as SceneShelfV2,_r as SceneShelfV2ProductCard,Jr as SceneShelfV3,ue as SearchPage,ye as SearchPageTabType,Gr as SecondaryBanner,a as SectionHeader,Lt as SelectStore,b as ShelfDisplay,D as ShelfDisplayHorizontal,g as Slogan,v as Spacer,Ge as Specs,yr as SpecsComparison,Te as SwiperBox,we as TabGroup,cr as TabWithImage,Me as Tabs,dr as TabsWithMedia,Mr as ThreeDCarousel,B as Title,sr as VideoFeature,Ie as VideoModal,yo as WebPushPopup,zt as WheelLottery,X as WhyChoose,bo as useAiuiContext,ke as useBizProductContext,ho as useEmarsysWebPush,he as withLayout};
1
+ import{AccessoriesProductGrid as o,SectionHeader as a,PromoBanner as i,MainProductArea as s,AddToCartSuccessPopover as p}from"./AccessoriesShelf/index.js";import{default as f}from"./ActivitySchedule/index.js";import{default as n}from"./GiftShelf/index.js";import{default as u}from"./GiftTierShelf/index.js";import{default as x}from"./ActivityMechanism/index.js";import{default as S}from"./BrandEquity/index.js";import{default as P}from"./MemberEquity/index.js";import{default as g}from"./Slogan/index.js";import{default as B}from"./Title/index.js";import{default as v}from"./Spacer/index.js";import{default as b}from"./ShelfDisplay/index.js";import{default as D}from"./ShelfDisplayHorizontal/index.js";import{default as j}from"./Evaluate/index.js";import{default as L}from"./Category/index.js";import{default as V}from"./HeroBanner/index.js";import{default as k}from"./AccordionCards/index.js";import{default as W}from"./Graphic/index.js";import{default as H}from"./MediaPlayerBase/index.js";import{default as q}from"./MediaPlayerSticky/index.js";import{default as K}from"./MediaPlayerMulti/index.js";import{default as _}from"./Marquee/index.js";import{default as J}from"./MarqueeReview/index.js";import{default as X}from"./WhyChoose/index.js";import{default as $}from"./Faq/index.js";import{MarqueeItem as re,MarqueeImageContent as te,MarqueeTextContent as oe}from"./Marquee/index.js";import{default as ie}from"./MultiLayoutGraphicBlock/index.js";import{default as pe}from"./GraphicAttractionBlock/index.js";import{default as fe}from"./HeaderNavigation/index.js";import{default as ne}from"./FooterNavigation/index.js";import{default as ue}from"./SearchPage/index.js";import{IPC_SEARCH_PAGE as xe,SearchPageTabType as ye}from"./SearchPage/types.js";import{withLayout as he}from"../shared/Styles.js";import{default as Ce}from"./AiuiProvider/index.js";import{default as Me}from"./Tabs/index.js";import{default as Te}from"./SwiperBox/index.js";import{VideoModal as Ie}from"./VideoModal/index.js";import{default as Ae}from"./CreativeModule/index.js";import{default as Fe}from"./GraphicOverlay/index.js";import{default as Ge}from"./Specs/index.js";import{default as Oe}from"./TabsGroup/index.js";import{default as we,useBizProductContext as ke}from"./Listing/BizProductProvider.js";import{default as We}from"./Listing/components/PurchaseBar/index.js";import{default as He}from"./Listing/components/PurchaseBar/ProductActions/index.js";import{default as qe}from"./Listing/components/ProductCard/ProductDetail/ProductBenefitsTabs/index.js";import{default as Ke}from"./Listing/components/ProductCard/ProductDetail/ProductBenefits/index.js";import{default as _e}from"./Listing/components/ProductCard/ProductDetail/ProductHighlight/index.js";import{default as Je}from"./Listing/components/ProductCard/ProductDetail/ProductFreeGift/index.js";import{default as Xe}from"./Listing/components/ProductCard/ProductDetail/ProductFunctionFreeGift/index.js";import{default as $e}from"./Listing/components/ProductCard/ProductDetail/ProductOptions/index.js";import{default as rr}from"./Listing/components/ProductCard/ProductDetail/ProductBundle/index.js";import{default as or}from"./Listing/components/ProductCard/ProductDetail/ProductCoupon/index.js";import{default as ir}from"./Listing/components/ProductCard/ProductDetail/ProductBanner/index.js";import{default as pr}from"./Listing/components/ProductCard/ProductGridBox.js";import{default as fr}from"./Listing/components/ProductCard/ProductGallery/index.js";import{default as nr}from"./Listing/components/ProductCard/ProductSummary/index.js";import{default as ur}from"./Listing/components/ProductCard/ProductDetail/BenefitsTab.js";import{default as xr}from"./Listing/components/ProductCard/ProductDetail/CreditCouponRedeem/index.js";import{default as Sr}from"./Listing/components/PaidShipping/index.js";import{default as Pr}from"./Listing/components/CartActionButtons/index.js";import{NotifyMeDialog as gr}from"./NotifyMeDialog/index.js";import{default as Br}from"./Listing/components/ProductCard/ProductDetail/ProductServiceBenefits/index.js";import{default as vr}from"./Listing/components/ProductCard/ProductPaidShipping/index.js";import{default as br}from"./GraphicMore/index.js";import{default as Dr}from"./Features/index.js";import{default as jr}from"./AplusDesc/index.js";import{default as Lr}from"./GiftBox/index.js";import{default as Vr}from"./SelectStore/index.js";import{default as kr}from"./DownLoad/index.js";import{default as Wr}from"./FootCharger/index.js";import{default as Hr}from"./BrandCardLink/index.js";import*as Rr from"./IPRedirect/index.js";import{default as zr}from"./WheelLottery/index.js";import{default as Ur}from"./ProductLottery/index.js";import{default as Yr}from"./ProductCompare/index.js";import{default as Qr}from"./Ksp/index.js";import{default as Zr}from"./ImageTextFeature/index.js";import{default as et}from"./FeatureCards/index.js";import{default as tt}from"./FeaturedBlogPosts/index.js";import{default as at}from"./ImageWithText/index.js";import{default as st}from"./VideoFeature/index.js";import{default as dt}from"./TabsWithMedia/index.js";import{default as ct}from"./TabWithImage/index.js";import{default as lt}from"./FeatureShowcase/index.js";import{default as mt}from"./ProductHero/index.js";import{default as yt}from"./SpecsComparison/index.js";import{default as ht}from"./MediaSceneSwitcher/index.js";import{default as Ct}from"./MediaSceneSwitcherV2/index.js";import{default as Mt}from"./ThreeDCarousel/index.js";import{default as Tt}from"./ProductNav/index.js";import{default as It}from"./AnchorNavigation/index.js";import{default as At}from"./PromotionalBar/index.js";import{default as Ft}from"./EventSchedule/index.js";import{default as Gt}from"./SecondaryBanner/index.js";import{default as Ot}from"./BuyOneGetOneShelf/index.js";import{default as wt}from"./ActiveShelf/index.js";import{default as Nt}from"./MediaShelf/index.js";import{default as Et,CreditsProductCard as Ht}from"./CreditsShelf/index.js";import{default as qt,SceneProductCard as zt}from"./SceneShelf/index.js";import{default as Ut,SceneShelfV2ProductCard as _t}from"./SceneShelfV2/index.js";import{default as Jt}from"./SceneShelfV3/index.js";import{default as Xt}from"./MediaEndorsement/index.js";import{default as $t}from"./MediaTextOverlay/index.js";import{default as ro}from"./ImageOverlayShelf/index.js";import{default as oo,AccessoryProductCard as ao}from"./AccessoriesShelf/components/AccessoryShelf/index.js";import{default as so}from"./ImageTextOverlay/index.js";import{default as fo}from"./MiniCart/index.js";import{default as no}from"./MiniCart/CircleProgress.js";import{default as uo,MiniCartDialog as mo}from"./MiniCart/MiniCartDialog.js";import{default as yo}from"./WebPushPopup/index.js";import{useEmarsysWebPush as ho}from"../hooks/useEmarsysWebPush.js";const e={ActivityMechanism:"ActivityMechanism",ActivitySchedule:"ActivitySchedule",AnchorNavigation:"AnchorNavigation",EventSchedule:"EventSchedule",FeatureCards:"FeatureCards",GiftShelf:"GiftShelf",GiftTierShelf:"GiftTierShelf",ImageTextFeature:"ImageTextFeature",ImageTextOverlay:"ImageTextOverlay",ImageWithText:"ImageWithText",MarqueeReview:"MarqueeReview",MediaSceneSwitcher:"MediaSceneSwitcher",ProductCompare:"ProductCompare",ProductHero:"ProductHero",ProductNav:"ProductNav",PromotionalBar:"PromotionalBar",TabsWithMedia:"TabsWithMedia",ThreeDCarousel:"ThreeDCarousel",VideoFeature:"VideoFeature","ipc-accordioncards":"AccordionCards","ipc-active-shelf":"ActiveShelf","ipc-add-to-cart-success-popover":"AddToCartSuccessPopover","ipc-aplusdesc":"AplusDesc","ipc-banner":"HeroBanner","ipc-bogo-shelf":"BuyOneGetOneShelf","ipc-brand-card-link":"BrandCardLink","ipc-brand-equity":"BrandEquity","ipc-category":"Category","ipc-creativemodule":"CreativeModule","ipc-credits-shelf":"CreditsShelf","ipc-download":"DownLoad","ipc-evaluate":"Evaluate","ipc-faq":"Faq","ipc-features":"Features","ipc-featured-blog-posts":"FeaturedBlogPosts","ipc-footcharger":"FootCharger","ipc-ga-block":"GraphicAttractionBlock","ipc-giftbox":"GiftBox","ipc-graphic":"Graphic","ipc-graphicmore":"GraphicMore","ipc-graphicoverlay":"GraphicOverlay","ipc-image-overlay-shelf":"ImageOverlayShelf","ipc-marquee":"Marquee","ipc-media-endorsement":"MediaEndorsement","ipc-media-shelf":"MediaShelf","ipc-media-scene-switcher-v2":"MediaSceneSwitcherV2","ipc-media-text-overlay":"MediaTextOverlay","ipc-mediaplayerbase":"MediaPlayerBase","ipc-mediaplayermulti":"MediaPlayerMulti","ipc-mediaplayersticky":"MediaPlayerSticky","ipc-member-equity":"MemberEquity","ipc-mini-cart":"MiniCart","ipc-mlg-block":"MultiLayoutGraphicBlock","ipc-notify-me-dialog":"NotifyMeDialog","ipc-product-lottery":"ProductLottery","ipc-scene-shelf":"SceneShelf","ipc-scene-shelf-v2":"SceneShelfV2","ipc-scene-shelf-v3":"SceneShelfV3","ipc-search-page":"SearchPage","ipc-search-page-tabs":"SearchPage","ipc-secondary-banner":"SecondaryBanner","ipc-selectstore":"SelectStore","ipc-shelfdisplay":"ShelfDisplay","ipc-shelfdisplay-horizontal":"ShelfDisplayHorizontal","ipc-slogan":"Slogan","ipc-spacer":"Spacer","ipc-specs":"Specs","ipc-tabs":"Tabs","ipc-title":"Title","ipc-wheel-lottery":"WheelLottery","ipc-whychoose":"WhyChoose",ksp:"Ksp",modalCoupon:"ModalCoupon",modalRegisterSubscribe:"ModalRegisterSubscribe",modalSmsSubscribe:"ModalSmsSubscribe",modalSubscribeConfirm:"ModalSubscribeConfirm",modalVerify:"ModalVerify"};import{CartSummaryHeader as Co,CartItemRow as go,CartGiftSection as Mo,CartPerksSection as Bo,CartThirdPartyBanner as To,CartPriceSummary as vo}from"./CartDetail/index.js";import{useAiuiContext as bo}from"./AiuiProvider/index.js";import{default as Do}from"./ModalRegisterSubscribe/index.js";import{default as jo}from"./ModalSubscribeConfirm/index.js";import{default as Lo}from"./ModalCoupon/index.js";import{default as Vo}from"./ModalSmsSubscribe/index.js";import{default as ko}from"./ModalVerify/index.js";export{o as AccessoriesProductGrid,ao as AccessoryProductCard,oo as AccessoryShelf,k as AccordionCards,wt as ActiveShelf,x as ActivityMechanism,f as ActivitySchedule,p as AddToCartSuccessPopover,Ce as AiuiProvider,It as AnchorNavigation,jr as AplusDesc,ur as BenefitsTab,we as BizProductProvider,Hr as BrandCardLink,S as BrandEquity,Ot as BuyOneGetOneShelf,Pr as CartActionButtons,Mo as CartGiftSection,go as CartItemRow,Bo as CartPerksSection,vo as CartPriceSummary,Co as CartSummaryHeader,To as CartThirdPartyBanner,L as Category,Ae as CreativeModule,xr as CreditCouponRedeem,Ht as CreditsProductCard,Et as CreditsShelf,kr as DownLoad,j as Evaluate,Ft as EventSchedule,$ as Faq,et as FeatureCards,lt as FeatureShowcase,tt as FeaturedBlogPosts,Dr as Features,Wr as FootCharger,ne as FooterNavigation,Lr as GiftBox,n as GiftShelf,u as GiftTierShelf,W as Graphic,pe as GraphicAttractionBlock,br as GraphicMore,Fe as GraphicOverlay,fe as HeaderNavigation,V as HeroBanner,xe as IPC_SEARCH_PAGE,Rr as IPRedirect,ro as ImageOverlayShelf,Zr as ImageTextFeature,so as ImageTextOverlay,at as ImageWithText,Qr as Ksp,s as MainProductArea,_ as Marquee,te as MarqueeImageContent,re as MarqueeItem,J as MarqueeReview,oe as MarqueeTextContent,Xt as MediaEndorsement,H as MediaPlayerBase,K as MediaPlayerMulti,q as MediaPlayerSticky,ht as MediaSceneSwitcher,Ct as MediaSceneSwitcherV2,Nt as MediaShelf,$t as MediaTextOverlay,P as MemberEquity,fo as MiniCart,no as MiniCartCircleProgress,uo as MiniCartDialog,mo as MiniCartDialogComponent,Lo as ModalCoupon,Do as ModalRegisterSubscribe,Vo as ModalSmsSubscribe,jo as ModalSubscribeConfirm,ko as ModalVerify,ie as MultiLayoutGraphicBlock,gr as NotifyMeDialog,e as PAYLOAD_COMPONENT_MAP,Sr as PaidShipping,He as ProductActions,ir as ProductBanner,Ke as ProductBenefits,qe as ProductBenefitsTabs,rr as ProductBundle,Yr as ProductCompare,or as ProductCoupon,Je as ProductFreeGift,Xe as ProductFunctionFreeGift,fr as ProductGallery,pr as ProductGridBox,mt as ProductHero,_e as ProductHighlight,Ur as ProductLottery,Tt as ProductNav,$e as ProductOptions,vr as ProductPaidShipping,Br as ProductServiceBenefits,nr as ProductSummary,i as PromoBanner,At as PromotionalBar,We as PurchaseBar,zt as SceneProductCard,qt as SceneShelf,Ut as SceneShelfV2,_t as SceneShelfV2ProductCard,Jt as SceneShelfV3,ue as SearchPage,ye as SearchPageTabType,Gt as SecondaryBanner,a as SectionHeader,Vr as SelectStore,b as ShelfDisplay,D as ShelfDisplayHorizontal,g as Slogan,v as Spacer,Ge as Specs,yt as SpecsComparison,Te as SwiperBox,Oe as TabGroup,ct as TabWithImage,Me as Tabs,dt as TabsWithMedia,Mt as ThreeDCarousel,B as Title,st as VideoFeature,Ie as VideoModal,yo as WebPushPopup,zr as WheelLottery,X as WhyChoose,bo as useAiuiContext,ke as useBizProductContext,ho as useEmarsysWebPush,he as withLayout};
@@ -5,6 +5,14 @@ interface ScrollLoadVideoProps {
5
5
  eagerPoster?: boolean;
6
6
  className?: string;
7
7
  videoClassName?: string;
8
+ /**
9
+ * 1490: 视频层(包裹 video 的容器 div)的初始附加类名。
10
+ * 传入 'opacity-0' 可让视频在真实 playing 前保持不可见——
11
+ * WebKit 会在 readyState≥2 时绘制视频当前帧(Chromium 不会),
12
+ * 未加载的 lazy 封面图是透明的,视频首帧会先闪现。
13
+ * 由调用方在 onPlaying/onWaiting 中增删 'opacity-0' 控制。
14
+ */
15
+ videoLayerClassName?: string;
8
16
  autoplay?: boolean;
9
17
  muted?: boolean;
10
18
  loop?: boolean;
@@ -17,5 +25,5 @@ interface ScrollLoadVideoProps {
17
25
  };
18
26
  [key: string]: any;
19
27
  }
20
- declare const ScrollLoadVideo: ({ src, poster, eagerPoster, className, videoClassName, autoplay, muted, loop, controls, playsInline, videoRef, intersectionObserverConfig, ...attr }: ScrollLoadVideoProps) => import("react/jsx-runtime").JSX.Element;
28
+ declare const ScrollLoadVideo: ({ src, poster, eagerPoster, className, videoClassName, videoLayerClassName, autoplay, muted, loop, controls, playsInline, videoRef, intersectionObserverConfig, ...attr }: ScrollLoadVideoProps) => import("react/jsx-runtime").JSX.Element;
21
29
  export default ScrollLoadVideo;
@@ -1 +1 @@
1
- import{jsx as m}from"react/jsx-runtime";import{useRef as i,useEffect as l,useState as T}from"react";import{cn as v}from"../helpers/utils.js";const H=({src:b,poster:c,eagerPoster:p=!1,className:h="",videoClassName:y="",autoplay:g=!0,muted:L=!0,loop:t=!0,controls:E=!1,playsInline:R=!0,videoRef:P,intersectionObserverConfig:M={threshold:0,rootMargin:"200px"},...V})=>{const[o,w]=T(!1),I=i(null),u=i(null),s=i(!1),r=P||I,{threshold:d,rootMargin:f}=M;return l(()=>{const e=r.current;if(!e||t)return;const n=()=>{s.current=!0};return e.addEventListener("ended",n),()=>{e.removeEventListener("ended",n)}},[r,t,o]),l(()=>{const e=r.current;if(!e||!o)return;const n=()=>{!e.paused||e.ended||!t&&s.current||(e.muted=!0,e.play().catch(()=>{}))};return e.addEventListener("canplay",n),()=>e.removeEventListener("canplay",n)},[r,o,t]),l(()=>{const e=new IntersectionObserver(S=>{S.forEach(k=>{if(k.isIntersecting){if(o||w(!0),r.current){const a=r.current;if(!t&&s.current)return;a.muted=!0,a.currentTime=0,a.play().catch(N=>{console.warn("\u89C6\u9891\u81EA\u52A8\u64AD\u653E\u5931\u8D25:",N)})}}else r.current&&r.current.pause()})},{threshold:d,rootMargin:f}),n=u.current;return n&&e.observe(n),()=>{n&&e.unobserve(n)}},[r,t,f,o,d]),m("div",{ref:u,className:v("relative size-full",h),children:m("video",{ref:r,src:o?b:void 0,poster:p||o?c:void 0,className:v("size-full object-cover",y),loop:t,muted:L,controls:E,playsInline:R,preload:"metadata",disablePictureInPicture:!0,"webkit-playsinline":!0,autoPlay:g,...V})})};var C=H;export{C as default};
1
+ import{jsx as m}from"react/jsx-runtime";import{useRef as i,useEffect as l,useState as C}from"react";import{cn as v}from"../helpers/utils.js";const H=({src:b,poster:c,eagerPoster:p=!1,className:y="",videoClassName:h="",videoLayerClassName:g="",autoplay:L=!0,muted:E=!0,loop:t=!0,controls:R=!1,playsInline:P=!0,videoRef:M,intersectionObserverConfig:V={threshold:0,rootMargin:"200px"},...w})=>{const[o,I]=C(!1),N=i(null),u=i(null),s=i(!1),r=M||N,{threshold:d,rootMargin:f}=V;return l(()=>{const e=r.current;if(!e||t)return;const n=()=>{s.current=!0};return e.addEventListener("ended",n),()=>{e.removeEventListener("ended",n)}},[r,t,o]),l(()=>{const e=r.current;if(!e||!o)return;const n=()=>{!e.paused||e.ended||!t&&s.current||(e.muted=!0,e.play().catch(()=>{}))};return e.addEventListener("canplay",n),()=>e.removeEventListener("canplay",n)},[r,o,t]),l(()=>{const e=new IntersectionObserver(S=>{S.forEach(k=>{if(k.isIntersecting){if(o||I(!0),r.current){const a=r.current;if(!t&&s.current)return;a.muted=!0,a.currentTime=0,a.play().catch(T=>{console.warn("\u89C6\u9891\u81EA\u52A8\u64AD\u653E\u5931\u8D25:",T)})}}else r.current&&r.current.pause()})},{threshold:d,rootMargin:f}),n=u.current;return n&&e.observe(n),()=>{n&&e.unobserve(n)}},[r,t,f,o,d]),m("div",{ref:u,className:v("relative size-full",y,g),children:m("video",{ref:r,src:o?b:void 0,poster:p||o?c:void 0,className:v("size-full object-cover",h),loop:t,muted:E,controls:R,playsInline:P,preload:"metadata",disablePictureInPicture:!0,"webkit-playsinline":!0,autoPlay:L,...w})})};var j=H;export{j as default};
@@ -0,0 +1,97 @@
1
+ /**
2
+ * 物料推导模块 — 断点判定单点(ADR 0008 / 0010)
3
+ *
4
+ * 全仓唯一实现「哪个字段是哪端媒体」的判定知识:
5
+ * - 5 端断点词表(与 Tailwind screens 对齐)
6
+ * - 媒体字段宽判定(isMediaField,预览回填视角,含语义媒体)
7
+ * - 生成范围窄判定(classifyMediaField,discriminated result)
8
+ * - 字段 → 断点判定(canonical 5 端 + legacy alias 表 + 裸 image 语义翻转)
9
+ * - Tailwind aspect 类级联解析(移动优先:无前缀 = 基线并向上继承)
10
+ *
11
+ * 纯 TypeScript,无 React / DOM 依赖——供 playground 与外部 Bun agent
12
+ * repo(type-only)共同消费。禁止在本模块引入任何运行时环境假设。
13
+ */
14
+ export type Breakpoint = 'mobile' | 'tablet' | 'laptop' | 'desktop' | 'lg-desktop';
15
+ /** canonical 5 端断点阶梯(与 tailwind.config.js screens 对齐)。 */
16
+ export declare const BREAKPOINTS: readonly Breakpoint[];
17
+ export type MediaFamily = 'image' | 'video' | 'poster';
18
+ export interface MaterialSize {
19
+ width: number;
20
+ height: number;
21
+ }
22
+ export type AspectCascade = Partial<Record<Breakpoint, MaterialSize>>;
23
+ /**
24
+ * 宽判定:字段名是否承载媒体引用(预览回填视角)。
25
+ *
26
+ * 语义媒体、嵌套对象族主名(backgroundImage)、嵌套裸断点键(mobile)
27
+ * 均返回 true——预览解析宁可多识别也不丢图(2026-09-09 缺图事故教训)。
28
+ * 断点归属判定请用 classifyMediaField / breakpointOfField。
29
+ */
30
+ export declare function isMediaField(name: string): boolean;
31
+ /**
32
+ * canonical 媒体字段名形态:{断点前缀}{族名},如 image / tabletImage /
33
+ * laptopVideo / lgDesktopPoster。裸族名 = mobile 基线(ADR 0010 决策 1)。
34
+ */
35
+ export declare function isCanonicalMediaFieldName(name: string): boolean;
36
+ /** 裸 image 的两种语义(ADR 0010 决策 2 语义翻转警告)。 */
37
+ export type BareImageSemantics = 'mobile' | 'desktop';
38
+ export interface BreakpointOfFieldOptions {
39
+ /**
40
+ * 裸 image/video/poster 的断点归属:
41
+ * - 'mobile'(默认,canonical 语义):无前缀 = 移动优先基线
42
+ * - 'desktop'(legacy 语义):旧约定裸 image = 桌面母图
43
+ * 显式断点前缀字段(tabletImage 等)不受此选项影响。
44
+ */
45
+ legacyBareImage?: BareImageSemantics;
46
+ }
47
+ /** 断点判定的结构化未命中结果(显式降级数据,禁止裸 null)。 */
48
+ export interface UnrecognizedField {
49
+ breakpoint: null;
50
+ field: string;
51
+ reason: string;
52
+ }
53
+ export type BreakpointResult = Breakpoint | UnrecognizedField;
54
+ /**
55
+ * 字段 → 断点判定(全仓单点)。
56
+ *
57
+ * 判定次序:canonical 5 端 → legacy alias → 结构化未命中。
58
+ * 字段路径(items[].image)取末段 bare name 判定。
59
+ * 语义媒体(icon 等)无断点概念,返回结构化未命中。
60
+ */
61
+ export declare function breakpointOfField(field: string, options?: BreakpointOfFieldOptions): BreakpointResult;
62
+ export type MediaFieldClassification = {
63
+ kind: 'responsive-hero-media';
64
+ breakpoint: Breakpoint;
65
+ family: MediaFamily;
66
+ } | {
67
+ kind: 'semantic-media';
68
+ reason: string;
69
+ } | {
70
+ kind: 'not-a-media-field';
71
+ } | {
72
+ kind: 'unrecognized-media-field';
73
+ reason: string;
74
+ };
75
+ /**
76
+ * 窄判定:字段是否属于物料生成范围(生成视角)。
77
+ *
78
+ * 与宽判定(isMediaField)的二分(CONTEXT.md「主视觉媒体 vs 语义媒体」):
79
+ * - responsive-hero-media:参与断点族的主视觉大图,可生成
80
+ * - semantic-media:icon/avatar/video 等,默认排除并给出 opt-in 提示
81
+ * - not-a-media-field:非媒体
82
+ * - unrecognized-media-field:媒体但判不出断点(fieldMap 领地)
83
+ */
84
+ export declare function classifyMediaField(field: string): MediaFieldClassification;
85
+ /**
86
+ * 解析 Tailwind aspect 类 → 各断点显示尺寸(移动优先级联)。
87
+ *
88
+ * 语义(修正现存「无前缀误判为 mobile-only」缺陷):
89
+ * - 无前缀 = 基线,被所有断点继承
90
+ * - 前缀类从其断点起向上覆盖,直到更具体的前缀出现
91
+ * - 某断点存在多个值时取面积最大者(大屏档保真)
92
+ *
93
+ * 支持两种语法:arbitrary `aspect-[W/H]` 与插件
94
+ * `aspect-w-[W] aspect-h-[H]`(@tailwindcss/aspect-ratio)。
95
+ * aspect-auto / aspect-square / aspect-1 等普通比例类不解析。
96
+ */
97
+ export declare function parseAspectCascade(classNames: string[]): AspectCascade;
@@ -0,0 +1 @@
1
+ const y=["mobile","tablet","laptop","desktop","lg-desktop"],d=new Set(["icon","activeIcon","inactiveIcon","titleIcon","iconImage","pictureImage","avatar","logo","thumbnail","cover"]),A=new Set(Array.from(d).concat(["image","mobileImage","padImage","mobImage","pcImage","imageUrl","mobImageUrl","img","imgUrl","video","padVideo","mobVideo","pcVideo","mobileVideo","videoUrl","mobVideoUrl","poster","mobPoster","padPoster","media","mobMedia","subtitleImage","backgroundImage","mobile","tablet","laptop","desktop","lgDesktop"])),x=/(image|img|video|poster|media|icon|avatar|logo|cover|thumbnail|picture)/i;function E(e){return A.has(e)?!0:x.test(e)}const M={"":"mobile",tablet:"tablet",laptop:"laptop",desktop:"desktop",lgDesktop:"lg-desktop"},p=["lgDesktop","tablet","laptop","desktop"],s=["image","video","poster"];function B(e){for(const t of p)if(e.startsWith(t)){const i=e.slice(t.length);if(i.length>0&&i[0]===i[0].toUpperCase()){const a=i[0].toLowerCase()+i.slice(1);return s.includes(a)}}return s.includes(e)}function m(e){for(const t of p)if(e.startsWith(t)){const i=e.slice(t.length);if(i.length>0&&i[0]===i[0].toUpperCase()){const a=i[0].toLowerCase()+i.slice(1);if(s.includes(a))return{breakpoint:M[t],family:a}}}return s.includes(e)?{breakpoint:"mobile",family:e}:null}const g={padImage:"tablet",padImageUrl:"tablet",padVideo:"tablet",padPoster:"tablet",mobImage:"mobile",mobImageUrl:"mobile",mobVideo:"mobile",mobVideoUrl:"mobile",mobPoster:"mobile",pcImage:"desktop",pcImageUrl:"desktop",pcVideo:"desktop",mobileImage:"mobile",mobileVideo:"mobile",imageUrl:"desktop",videoUrl:"desktop"},b="\u672A\u547D\u4E2D\u7EA6\u5B9A\uFF1A\u5B57\u6BB5\u540D\u4E0D\u542B\u53EF\u8BC6\u522B\u7684\u65AD\u70B9\u8BCD\u6839\uFF08canonical 5 \u7AEF\u6216 legacy alias\uFF09\uFF0C\u9700 MaterialMeta fieldMap \u663E\u5F0F\u58F0\u660E\u6620\u5C04";function R(e){return{breakpoint:null,field:e,reason:b}}function F(e,t={}){const i=e.includes(".")?e.slice(e.lastIndexOf(".")+1):e,a=t.legacyBareImage??"mobile",n=m(i);if(n)return n.breakpoint==="mobile"&&a==="desktop"?"desktop":n.breakpoint;const o=g[i];return o||R(e)}const k="video \u5B57\u6BB5\u4E0D\u53C2\u4E0E\u7269\u6599\u751F\u6210\uFF08ADR 0008 \u8303\u56F4\u95F8\u95E8\uFF09\uFF0C\u5982\u9700\u751F\u6210\u8BF7\u7ECF meta mediaRole \u663E\u5F0F opt-in",S="\u8BED\u4E49\u5A92\u4F53\uFF08icon/avatar \u7C7B\u5355\u5C3A\u5BF8\u5C0F\u56FE\uFF09\u9ED8\u8BA4\u6392\u9664\u751F\u6210\uFF0C\u9700 meta mediaRole opt-in";function N(e){const t=e.includes(".")?e.slice(e.lastIndexOf(".")+1):e;if(!E(t))return{kind:"not-a-media-field"};if(d.has(t))return{kind:"semantic-media",reason:S};const i=m(t);if(i)return i.family==="video"?{kind:"semantic-media",reason:k}:{kind:"responsive-hero-media",breakpoint:i.breakpoint,family:i.family};const a=g[t];if(a){if(/(video)/i.test(t))return{kind:"semantic-media",reason:k};const n=/poster/i.test(t)?"poster":"image";return{kind:"responsive-hero-media",breakpoint:a,family:n}}return{kind:"unrecognized-media-field",reason:b}}const C={"":"mobile","md:":"tablet","tablet:":"tablet","laptop:":"laptop","desktop:":"desktop","lg-desktop:":"lg-desktop","min-xxl:":"lg-desktop","xxl:":"lg-desktop"},f=/(?:^|\s)((?:[a-z-]+:)?aspect-\[(\d+)\/(\d+)\])(?=\s|$)/g,u=/(?:^|\s)((?:[a-z-]+:)?aspect-w-\[(\d+)\])(?=\s|$)/g,I=/(?:^|\s)((?:[a-z-]+:)?aspect-h-\[(\d+)\])(?=\s|$)/g;function l(e){const t=e.indexOf(":");return t===-1?"":e.slice(0,t+1)}function h(e){const t=l(e);return C[t]??"mobile"}function _(e,t){const i=new Map;let a;for(I.lastIndex=0;(a=I.exec(e))!==null;)i.set(l(a[1]),Number(a[2]));u.lastIndex=0;let n;for(;(n=u.exec(e))!==null;){const r=l(n[1]),c=i.get(r);c!==void 0&&t.push({breakpoint:h(n[1]),width:Number(n[2]),height:c})}f.lastIndex=0;let o;for(;(o=f.exec(e))!==null;)t.push({breakpoint:h(o[1]),width:Number(o[2]),height:Number(o[3])})}function O(e){const t=[];for(const o of e)_(o,t);const i={};for(const o of t){const r=i[o.breakpoint];(!r||o.width*o.height>r.width*r.height)&&(i[o.breakpoint]={width:o.width,height:o.height})}const a={};let n;for(const o of y){const r=i[o];r&&(n=r),n&&(a[o]={...n})}return a}export{y as BREAKPOINTS,F as breakpointOfField,N as classifyMediaField,B as isCanonicalMediaFieldName,E as isMediaField,O as parseAspectCascade};
@@ -0,0 +1,72 @@
1
+ /**
2
+ * material-generate 请求 contract — BFF ↔ agent 双端 SSOT(ADR 0008 / ticket 06)
3
+ *
4
+ * playground BFF(apps/playground/app/api/ai-gen/material-generate/route.ts)
5
+ * 出站 agentBody 与 ai-gen agent(/internal/ai-gen/material-generate,
6
+ * src/ai-gen/plugin.ts handleMaterialGenerate → material.ts GenerateMaterialArgs)
7
+ * 入站之间的传输契约。此前这 13 个键只活在 BFF route 代码里(漂移风险),
8
+ * 现以 zod schema 单点定义于组件库,双端各挂 contract test 守门:任一端
9
+ * 漂移 → 各自 CI 红,而非运行时事故。
10
+ *
11
+ * 校验范围刻意只到「传输形状」:类型 / 必填 / count 限额(双端硬编码 1-4)。
12
+ * 16 整除、短边 ≥672 等生图业务硬约束仍由 agent 侧 validateGenerateSize
13
+ * 负责(那是生成 API 的领域规则,不属于传输契约)。
14
+ *
15
+ * 版本兼容策略(MATERIAL_CONTRACT_VERSION):
16
+ * - 新增可选字段 = 兼容——schema 默认忽略未知键(非 strict),旧消费方
17
+ * safeParse 新载荷仍通过(未知键被剥离),新消费方解析旧载荷亦通过;
18
+ * - 改名 / 删除 / 收紧既有字段约束 / 必填化 = 破坏性——须升版本号并
19
+ * 协调发版:组件库先发版(schema 变红守门),playground BFF 与
20
+ * ai-gen 各自升级 devDep 后再部署,禁止单端先行;
21
+ * - 详见 docs/adr/0008 Consequences。
22
+ *
23
+ * promptHints 刻意收窄为 string:agent 侧 typeof 守卫会静默丢弃非 string
24
+ * 值(MaterialMeta 允许 string[]),若未来 meta 演进为数组形态,BFF 必须
25
+ * 先 join() 再出站——本 schema 会强制这个决策显式发生而不是静默丢数据。
26
+ *
27
+ * 纯 TypeScript,无 React / DOM 依赖(与 breakpoints.ts / material-meta.ts
28
+ * 同一模块纪律),供 playground(jest/CJS)与外部 Bun agent repo 共同消费。
29
+ */
30
+ import { z } from 'zod';
31
+ /** contract 语义版本:破坏性变更时 +1,用于双端漂移协商(见文件头)。 */
32
+ export declare const MATERIAL_CONTRACT_VERSION = 1;
33
+ /**
34
+ * agentBody 的 13 个键(与 BFF route 的 agentBody 组装、agent 侧
35
+ * handleMaterialGenerate 的入参读取一一对应)。satisfies 保证该字面量
36
+ * 与 schema 推断类型不可漂移。
37
+ */
38
+ export declare const MATERIAL_GENERATE_REQUEST_KEYS: readonly ["intent", "component", "field", "generateWidth", "generateHeight", "count", "safeZone", "imageryStyle", "promptHints", "aspect", "brand", "theme", "promptOverride"];
39
+ /**
40
+ * material-generate 出站请求 schema(非 strict:未知键忽略,保证
41
+ * 「新增可选字段 = 兼容」的演进策略,见文件头)。
42
+ */
43
+ export declare const materialGenerateRequestSchema: z.ZodObject<{
44
+ intent: z.ZodString;
45
+ component: z.ZodString;
46
+ field: z.ZodString;
47
+ generateWidth: z.ZodNumber;
48
+ generateHeight: z.ZodNumber;
49
+ count: z.ZodNumber;
50
+ safeZone: z.ZodOptional<z.ZodString>;
51
+ imageryStyle: z.ZodOptional<z.ZodString>;
52
+ promptHints: z.ZodOptional<z.ZodString>;
53
+ aspect: z.ZodString;
54
+ brand: z.ZodOptional<z.ZodString>;
55
+ theme: z.ZodOptional<z.ZodString>;
56
+ promptOverride: z.ZodOptional<z.ZodString>;
57
+ }, z.core.$strip>;
58
+ export type MaterialGenerateRequest = z.infer<typeof materialGenerateRequestSchema>;
59
+ export type MaterialGenerateRequestResult = {
60
+ ok: true;
61
+ data: MaterialGenerateRequest;
62
+ } | {
63
+ ok: false;
64
+ errors: string[];
65
+ };
66
+ /**
67
+ * agentBody 运行时校验(BFF 出站前调用;agent 侧 contract test 同源消费)。
68
+ *
69
+ * 失败返回结构化 errors(可读的 `path: message` 列表),供 4xx 响应体
70
+ * 与显式降级链路透传;成功返回归一后的数据(未知键被剥离)。
71
+ */
72
+ export declare function validateMaterialGenerateRequest(raw: unknown): MaterialGenerateRequestResult;
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";const o=1,s=["intent","component","field","generateWidth","generateHeight","count","safeZone","imageryStyle","promptHints","aspect","brand","theme","promptOverride"],n=e.object({intent:e.string().min(1),component:e.string().min(1),field:e.string().min(1),generateWidth:e.number().int().positive().finite(),generateHeight:e.number().int().positive().finite(),count:e.number().int().min(1).max(4),safeZone:e.string().optional(),imageryStyle:e.string().optional(),promptHints:e.string().optional(),aspect:e.string().min(1),brand:e.string().optional(),theme:e.string().optional(),promptOverride:e.string().optional()});function p(t){const r=n.safeParse(t);return r.success?{ok:!0,data:r.data}:{ok:!1,errors:r.error.issues.map(a)}}function a(t){return`${t.path.length>0?t.path.map(String).join("."):"(root)"}: ${t.message}`}export{o as MATERIAL_CONTRACT_VERSION,s as MATERIAL_GENERATE_REQUEST_KEYS,n as materialGenerateRequestSchema,p as validateMaterialGenerateRequest};
@@ -0,0 +1,17 @@
1
+ /**
2
+ * 物料推导模块公共入口(@anker-in/headless-ui/material)
3
+ *
4
+ * 消费方:
5
+ * - playground derive 管线:classifyMediaField / breakpointOfField /
6
+ * parseAspectCascade / materialMetaSchema
7
+ * - 预览回填:isMediaField(宽判定)
8
+ * - lint 规则:isCanonicalMediaFieldName
9
+ * - contract 导出:zod schemas(双端守门)——material-meta schema(声明层)
10
+ * 与 material-generate 请求 schema(BFF ↔ agent 传输层,ticket 06)
11
+ */
12
+ export { BREAKPOINTS, isMediaField, isCanonicalMediaFieldName, classifyMediaField, breakpointOfField, parseAspectCascade, } from './breakpoints.js';
13
+ export type { Breakpoint, MediaFamily, MaterialSize, AspectCascade, MediaFieldClassification, BareImageSemantics, BreakpointOfFieldOptions, BreakpointResult, UnrecognizedField, } from './breakpoints.js';
14
+ export { materialMetaSchema, validateMaterialMeta } from './material-meta.js';
15
+ export type { MaterialMeta, MaterialMetaFieldMap, MaterialMetaFallbackSizes, MaterialMetaPromptHints, MaterialMetaMediaRole, MaterialMetaResult, } from './material-meta.js';
16
+ export { MATERIAL_CONTRACT_VERSION, MATERIAL_GENERATE_REQUEST_KEYS, materialGenerateRequestSchema, validateMaterialGenerateRequest, } from './contract.js';
17
+ export type { MaterialGenerateRequest, MaterialGenerateRequestResult } from './contract.js';
@@ -0,0 +1 @@
1
+ import{BREAKPOINTS as t,isMediaField as i,isCanonicalMediaFieldName as r,classifyMediaField as l,breakpointOfField as M,parseAspectCascade as s}from"./breakpoints.js";import{materialMetaSchema as p,validateMaterialMeta as d}from"./material-meta.js";import{MATERIAL_CONTRACT_VERSION as m,MATERIAL_GENERATE_REQUEST_KEYS as R,materialGenerateRequestSchema as c,validateMaterialGenerateRequest as f}from"./contract.js";export{t as BREAKPOINTS,m as MATERIAL_CONTRACT_VERSION,R as MATERIAL_GENERATE_REQUEST_KEYS,M as breakpointOfField,l as classifyMediaField,r as isCanonicalMediaFieldName,i as isMediaField,c as materialGenerateRequestSchema,p as materialMetaSchema,s as parseAspectCascade,f as validateMaterialGenerateRequest,d as validateMaterialMeta};
@@ -0,0 +1,76 @@
1
+ /**
2
+ * MaterialMeta zod schema — 声明层 contract SSOT(ADR 0008 / 0009)
3
+ *
4
+ * 3 个存量 material-meta.json(Ksp / ImageWithText / ThreeDCarousel)的
5
+ * 超集:兼容存量 generatable/promptHints(string)/sizeSource 字段,新增
6
+ * generativeFields / fieldMap / 5 端 fallbackSizes / promptHints(string[])
7
+ * / mediaRole opt-in。playground BFF 与 ai-gen agent 双端消费同一 schema
8
+ * 守门(contract test),schema 漂移在 CI 变红而非运行时事故。
9
+ */
10
+ import { z } from 'zod';
11
+ import { BREAKPOINTS } from './breakpoints.js';
12
+ import type { Breakpoint, MaterialSize } from './breakpoints.js';
13
+ export declare const materialMetaSchema: z.ZodObject<{
14
+ component: z.ZodString;
15
+ generativeFields: z.ZodArray<z.ZodString>;
16
+ fieldMap: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
17
+ mobile: "mobile";
18
+ tablet: "tablet";
19
+ laptop: "laptop";
20
+ desktop: "desktop";
21
+ "lg-desktop": "lg-desktop";
22
+ }>>>;
23
+ fallbackSizes: z.ZodOptional<z.ZodObject<{
24
+ mobile: z.ZodOptional<z.ZodObject<{
25
+ width: z.ZodNumber;
26
+ height: z.ZodNumber;
27
+ }, z.core.$strip>>;
28
+ tablet: z.ZodOptional<z.ZodObject<{
29
+ width: z.ZodNumber;
30
+ height: z.ZodNumber;
31
+ }, z.core.$strip>>;
32
+ laptop: z.ZodOptional<z.ZodObject<{
33
+ width: z.ZodNumber;
34
+ height: z.ZodNumber;
35
+ }, z.core.$strip>>;
36
+ desktop: z.ZodOptional<z.ZodObject<{
37
+ width: z.ZodNumber;
38
+ height: z.ZodNumber;
39
+ }, z.core.$strip>>;
40
+ 'lg-desktop': z.ZodOptional<z.ZodObject<{
41
+ width: z.ZodNumber;
42
+ height: z.ZodNumber;
43
+ }, z.core.$strip>>;
44
+ }, z.core.$strip>>;
45
+ safeZone: z.ZodString;
46
+ imageryStyle: z.ZodEnum<{
47
+ "use-case-scene": "use-case-scene";
48
+ "pure-product": "pure-product";
49
+ }>;
50
+ promptHints: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
51
+ mediaRole: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
52
+ generatable: z.ZodOptional<z.ZodArray<z.ZodString>>;
53
+ sizeSource: z.ZodOptional<z.ZodLiteral<"code-aspect">>;
54
+ }, z.core.$strip>;
55
+ export type MaterialMeta = z.infer<typeof materialMetaSchema>;
56
+ export type MaterialMetaFieldMap = Record<string, Breakpoint>;
57
+ export type MaterialMetaFallbackSizes = Partial<Record<Breakpoint, MaterialSize>>;
58
+ export type MaterialMetaPromptHints = string | string[];
59
+ export type MaterialMetaMediaRole = Record<string, string>;
60
+ export type MaterialMetaResult = {
61
+ ok: true;
62
+ data: MaterialMeta;
63
+ } | {
64
+ ok: false;
65
+ errors: string[];
66
+ };
67
+ /**
68
+ * material-meta.json 运行时校验。
69
+ *
70
+ * 与存量 validateMaterialMeta(返回裸 null)不同,失败返回结构化
71
+ * errors 数组(可读错误信息),供显式降级链路透传到 UI。
72
+ * 存量字段(generatable/sizeSource)校验通过后归一到新形态
73
+ * (generativeFields)。
74
+ */
75
+ export declare function validateMaterialMeta(raw: unknown): MaterialMetaResult;
76
+ export { BREAKPOINTS };
@@ -0,0 +1 @@
1
+ import{z as e}from"zod";import{BREAKPOINTS as n}from"./breakpoints.js";const s=e.enum(["mobile","tablet","laptop","desktop","lg-desktop"]),o=e.object({width:e.number().positive().finite(),height:e.number().positive().finite()}),i=e.string().min(1),l=e.union([e.string().min(1),e.array(e.string().min(1)).min(1)]),p=e.object({mobile:o.optional(),tablet:o.optional(),laptop:o.optional(),desktop:o.optional(),"lg-desktop":o.optional()}).refine(t=>Object.values(t).some(a=>a!==void 0),{message:"fallbackSizes \u81F3\u5C11\u5305\u542B\u4E00\u4E2A\u65AD\u70B9\u7684\u5C3A\u5BF8"}),c=e.record(i,s),m=e.record(i,e.string().min(1)),d=e.enum(["use-case-scene","pure-product"]),g=e.object({component:e.string().min(1),generativeFields:e.array(i).min(1),fieldMap:c.optional(),fallbackSizes:p.optional(),safeZone:e.string().min(1),imageryStyle:d,promptHints:l.optional(),mediaRole:m.optional(),generatable:e.array(i).min(1).optional(),sizeSource:e.literal("code-aspect").optional()});function S(t){const a=u(t),r=g.safeParse(a);return r.success?{ok:!0,data:r.data}:{ok:!1,errors:r.error.issues.map(f)}}function u(t){if(typeof t!="object"||t===null)return{};const a=t,r={...a};return!r.generativeFields&&Array.isArray(a.generatable)&&(r.generativeFields=a.generatable),r}function f(t){return`${t.path.length>0?t.path.map(String).join("."):"(root)"}: ${t.message}`}export{n as BREAKPOINTS,g as materialMetaSchema,S as validateMaterialMeta};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anker-in/headless-ui",
3
- "version": "1.3.80",
3
+ "version": "1.3.82",
4
4
  "type": "commonjs",
5
5
  "main": "./dist/cjs/index.js",
6
6
  "types": "./dist/cjs/index.d.ts",
@@ -37,6 +37,16 @@
37
37
  "default": "./dist/esm/cpn-components/index.js"
38
38
  }
39
39
  },
40
+ "./material": {
41
+ "require": {
42
+ "types": "./dist/cjs/material/index.d.ts",
43
+ "default": "./dist/cjs/material/index.js"
44
+ },
45
+ "import": {
46
+ "types": "./dist/esm/material/index.d.ts",
47
+ "default": "./dist/esm/material/index.js"
48
+ }
49
+ },
40
50
  "./tailwind.config": {
41
51
  "require": "./tailwind.config.js",
42
52
  "import": "./tailwind.config.js",
@@ -134,7 +144,8 @@
134
144
  "swiper": "^11.2.10",
135
145
  "tailwind-merge": "^2.3.0",
136
146
  "tailwindcss": "^3.4.3",
137
- "vaul": "^1.1.2"
147
+ "vaul": "^1.1.2",
148
+ "zod": "^4.3.5"
138
149
  },
139
150
  "peerDependencies": {
140
151
  "@gsap/react": "^2.1.2",
package/style.css CHANGED
@@ -3091,6 +3091,9 @@ video {
3091
3091
  .bg-\[rgba\(0\2c 0\2c 0\2c 0\.2\)\] {
3092
3092
  background-color: rgba(0,0,0,0.2);
3093
3093
  }
3094
+ .bg-\[rgba\(118\2c 120\2c 128\2c 0\.9\)\] {
3095
+ background-color: rgba(118,120,128,0.9);
3096
+ }
3094
3097
  .bg-\[rgba\(121\2c 160\2c 223\2c 0\.2\)\] {
3095
3098
  background-color: rgba(121,160,223,0.2);
3096
3099
  }
@@ -3840,6 +3843,9 @@ video {
3840
3843
  font-size: 2.25rem;
3841
3844
  line-height: 2.5rem;
3842
3845
  }
3846
+ .text-\[10px\] {
3847
+ font-size: 10px;
3848
+ }
3843
3849
  .text-\[12px\] {
3844
3850
  font-size: 12px;
3845
3851
  }
@@ -3911,6 +3917,9 @@ video {
3911
3917
  .font-semibold {
3912
3918
  font-weight: 600;
3913
3919
  }
3920
+ .uppercase {
3921
+ text-transform: uppercase;
3922
+ }
3914
3923
  .not-italic {
3915
3924
  font-style: normal;
3916
3925
  }
@@ -4295,6 +4304,9 @@ video {
4295
4304
  .opacity-25 {
4296
4305
  opacity: 0.25;
4297
4306
  }
4307
+ .opacity-40 {
4308
+ opacity: 0.4;
4309
+ }
4298
4310
  .opacity-50 {
4299
4311
  opacity: 0.5;
4300
4312
  }
@@ -4393,6 +4405,11 @@ video {
4393
4405
  .outline-white {
4394
4406
  outline-color: #fff;
4395
4407
  }
4408
+ .ring {
4409
+ --tw-ring-offset-shadow: var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);
4410
+ --tw-ring-shadow: var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);
4411
+ box-shadow: var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow, 0 0 #0000);
4412
+ }
4396
4413
  .ring-offset-background {
4397
4414
  --tw-ring-offset-color: var(--container-primary-color);
4398
4415
  }
@@ -4412,6 +4429,10 @@ video {
4412
4429
  --tw-drop-shadow: drop-shadow(0px 8px 12px rgba(0,0,0,0.2));
4413
4430
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
4414
4431
  }
4432
+ .grayscale {
4433
+ --tw-grayscale: grayscale(100%);
4434
+ filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
4435
+ }
4415
4436
  .filter {
4416
4437
  filter: var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow);
4417
4438
  }
@@ -6300,6 +6321,9 @@ video {
6300
6321
  .laptop\:mt-\[8px\] {
6301
6322
  margin-top: 8px;
6302
6323
  }
6324
+ .laptop\:box-content {
6325
+ box-sizing: content-box;
6326
+ }
6303
6327
  .laptop\:line-clamp-2 {
6304
6328
  overflow: hidden;
6305
6329
  display: -webkit-box;
@@ -8592,8 +8616,8 @@ video {
8592
8616
  .lg-desktop\:max-w-\[547px\] {
8593
8617
  max-width: 547px;
8594
8618
  }
8595
- .lg-desktop\:max-w-\[620px\] {
8596
- max-width: 620px;
8619
+ .lg-desktop\:max-w-\[686px\] {
8620
+ max-width: 686px;
8597
8621
  }
8598
8622
  .lg-desktop\:max-w-\[824px\] {
8599
8623
  max-width: 824px;