@meonode/ui 1.4.4-beta.4 → 1.4.4-beta.5

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 (96) hide show
  1. package/dist/cjs/constant/css-properties.const.cjs +1 -1
  2. package/dist/cjs/core.node.cjs +1 -1
  3. package/dist/cjs/helper/common.helper.cjs +1 -1
  4. package/dist/cjs/util/mount-tracker.util.cjs +1 -1
  5. package/dist/cjs/util/navigation-cache-manager.util.cjs +1 -1
  6. package/dist/cjs/util/node.util.cjs +1 -1
  7. package/dist/cjs/util/server-emotion.util.cjs +1 -1
  8. package/dist/cjs/util/theme.util.cjs +1 -1
  9. package/dist/esm/constant/css-properties.const.js +1 -1
  10. package/dist/esm/core.node.js +1 -1
  11. package/dist/esm/helper/common.helper.js +1 -1
  12. package/dist/esm/util/mount-tracker.util.js +1 -1
  13. package/dist/esm/util/navigation-cache-manager.util.js +1 -1
  14. package/dist/esm/util/node.util.js +1 -1
  15. package/dist/esm/util/server-emotion.util.js +1 -1
  16. package/dist/esm/util/theme.util.js +1 -1
  17. package/dist/types/constant/css-properties.const.d.ts +7 -0
  18. package/dist/{esm → types}/constant/css-properties.const.d.ts.map +1 -1
  19. package/dist/{esm → types}/helper/common.helper.d.ts +0 -5
  20. package/dist/{esm → types}/helper/common.helper.d.ts.map +1 -1
  21. package/package.json +12 -12
  22. package/dist/cjs/node_modules/@emotion/hash/dist/emotion-hash.esm.cjs +0 -1
  23. package/dist/cjs/node_modules/@emotion/memoize/dist/emotion-memoize.esm.cjs +0 -1
  24. package/dist/cjs/node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs +0 -1
  25. package/dist/cjs/node_modules/@emotion/unitless/dist/emotion-unitless.esm.cjs +0 -1
  26. package/dist/cjs/node_modules/@emotion/utils/dist/emotion-utils.esm.cjs +0 -1
  27. package/dist/esm/constant/css-properties.const.d.ts +0 -3
  28. package/dist/esm/node_modules/@emotion/hash/dist/emotion-hash.esm.js +0 -1
  29. package/dist/esm/node_modules/@emotion/memoize/dist/emotion-memoize.esm.js +0 -1
  30. package/dist/esm/node_modules/@emotion/serialize/dist/emotion-serialize.esm.js +0 -1
  31. package/dist/esm/node_modules/@emotion/unitless/dist/emotion-unitless.esm.js +0 -1
  32. package/dist/esm/node_modules/@emotion/utils/dist/emotion-utils.esm.js +0 -1
  33. /package/dist/{esm → types}/client.d.ts +0 -0
  34. /package/dist/{esm → types}/client.d.ts.map +0 -0
  35. /package/dist/{esm → types}/components/html.node.d.ts +0 -0
  36. /package/dist/{esm → types}/components/html.node.d.ts.map +0 -0
  37. /package/dist/{esm → types}/components/meonode-unmounter.client.d.ts +0 -0
  38. /package/dist/{esm → types}/components/meonode-unmounter.client.d.ts.map +0 -0
  39. /package/dist/{esm → types}/components/portal-host.client.d.ts +0 -0
  40. /package/dist/{esm → types}/components/portal-host.client.d.ts.map +0 -0
  41. /package/dist/{esm → types}/components/portal-host.d.ts +0 -0
  42. /package/dist/{esm → types}/components/portal-host.d.ts.map +0 -0
  43. /package/dist/{esm → types}/components/portal-provider.client.d.ts +0 -0
  44. /package/dist/{esm → types}/components/portal-provider.client.d.ts.map +0 -0
  45. /package/dist/{esm → types}/components/portal-provider.d.ts +0 -0
  46. /package/dist/{esm → types}/components/portal-provider.d.ts.map +0 -0
  47. /package/dist/{esm → types}/components/react.node.d.ts +0 -0
  48. /package/dist/{esm → types}/components/react.node.d.ts.map +0 -0
  49. /package/dist/{esm → types}/components/style-registry.client.d.ts +0 -0
  50. /package/dist/{esm → types}/components/style-registry.client.d.ts.map +0 -0
  51. /package/dist/{esm → types}/components/style-registry.d.ts +0 -0
  52. /package/dist/{esm → types}/components/style-registry.d.ts.map +0 -0
  53. /package/dist/{esm → types}/components/styled-renderer.client.d.ts +0 -0
  54. /package/dist/{esm → types}/components/styled-renderer.client.d.ts.map +0 -0
  55. /package/dist/{esm → types}/components/theme-provider.client.d.ts +0 -0
  56. /package/dist/{esm → types}/components/theme-provider.client.d.ts.map +0 -0
  57. /package/dist/{esm → types}/components/theme-provider.d.ts +0 -0
  58. /package/dist/{esm → types}/components/theme-provider.d.ts.map +0 -0
  59. /package/dist/{esm → types}/constant/common.const.d.ts +0 -0
  60. /package/dist/{esm → types}/constant/common.const.d.ts.map +0 -0
  61. /package/dist/{esm → types}/core.node.d.ts +0 -0
  62. /package/dist/{esm → types}/core.node.d.ts.map +0 -0
  63. /package/dist/{esm → types}/helper/data-channel.helper.d.ts +0 -0
  64. /package/dist/{esm → types}/helper/data-channel.helper.d.ts.map +0 -0
  65. /package/dist/{esm → types}/helper/react-is.helper.d.ts +0 -0
  66. /package/dist/{esm → types}/helper/react-is.helper.d.ts.map +0 -0
  67. /package/dist/{esm → types}/hoc/component.hoc.d.ts +0 -0
  68. /package/dist/{esm → types}/hoc/component.hoc.d.ts.map +0 -0
  69. /package/dist/{esm → types}/hoc/index.d.ts +0 -0
  70. /package/dist/{esm → types}/hoc/index.d.ts.map +0 -0
  71. /package/dist/{esm → types}/hook/index.d.ts +0 -0
  72. /package/dist/{esm → types}/hook/index.d.ts.map +0 -0
  73. /package/dist/{esm → types}/hook/useDataChannel.d.ts +0 -0
  74. /package/dist/{esm → types}/hook/useDataChannel.d.ts.map +0 -0
  75. /package/dist/{esm → types}/hook/usePortal.d.ts +0 -0
  76. /package/dist/{esm → types}/hook/usePortal.d.ts.map +0 -0
  77. /package/dist/{esm → types}/hook/useTheme.d.ts +0 -0
  78. /package/dist/{esm → types}/hook/useTheme.d.ts.map +0 -0
  79. /package/dist/{esm → types}/main.d.ts +0 -0
  80. /package/dist/{esm → types}/main.d.ts.map +0 -0
  81. /package/dist/{esm → types}/nextjs-registry/index.d.ts +0 -0
  82. /package/dist/{esm → types}/nextjs-registry/index.d.ts.map +0 -0
  83. /package/dist/{esm → types}/types/node.type.d.ts +0 -0
  84. /package/dist/{esm → types}/types/node.type.d.ts.map +0 -0
  85. /package/dist/{esm → types}/util/mount-tracker.util.d.ts +0 -0
  86. /package/dist/{esm → types}/util/mount-tracker.util.d.ts.map +0 -0
  87. /package/dist/{esm → types}/util/navigation-cache-manager.util.d.ts +0 -0
  88. /package/dist/{esm → types}/util/navigation-cache-manager.util.d.ts.map +0 -0
  89. /package/dist/{esm → types}/util/node.util.d.ts +0 -0
  90. /package/dist/{esm → types}/util/node.util.d.ts.map +0 -0
  91. /package/dist/{esm → types}/util/server-emotion.util.d.ts +0 -0
  92. /package/dist/{esm → types}/util/server-emotion.util.d.ts.map +0 -0
  93. /package/dist/{esm → types}/util/server-theme.util.d.ts +0 -0
  94. /package/dist/{esm → types}/util/server-theme.util.d.ts.map +0 -0
  95. /package/dist/{esm → types}/util/theme.util.d.ts +0 -0
  96. /package/dist/{esm → types}/util/theme.util.d.ts.map +0 -0
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default=["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"];
1
+ "use strict";Object.defineProperty(exports,"__esModule",{value:!0});const e=new Set(["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"]);exports.default=e;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("./helper/react-is.helper.cjs"),s=require("./helper/common.helper.cjs"),n=require("./components/styled-renderer.client.cjs"),r=require("./constant/common.const.cjs"),o=require("./util/mount-tracker.util.cjs"),i=require("./components/meonode-unmounter.client.cjs"),l=require("./util/navigation-cache-manager.util.cjs"),a=require("./util/node.util.cjs"),c=require("./util/server-emotion.util.cjs"),d=require("./util/server-theme.util.cjs"),h=require("./util/theme.util.cjs");const m=Symbol.for("@meonode/ui/BaseNode/elementCache"),u=Symbol.for("@meonode/ui/BaseNode/navigationStarted"),p=Symbol.for("@meonode/ui/BaseNode/renderContextPool"),g=Symbol.for("@meonode/ui/BaseNode/cacheCleanupRegistry");class f{static _idCounter=0;instanceId="m"+ ++f._idCounter;element;rawProps={};isBaseNode=!0;_props;_deps;stableKey;lastPropsObj;lastSignature;static get elementCache(){return s.getGlobalState(m,()=>new Map)}static get _navigationStarted(){return s.getGlobalState(u,()=>({value:!1})).value}static set _navigationStarted(e){s.getGlobalState(u,()=>({value:!1})).value=e}static get renderContextPool(){return s.getGlobalState(p,()=>[])}static acquireRenderContext(){const e=f.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){f.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),f.renderContextPool.push(e))}constructor(e,n={},r){if(!t.isValidElementType(e)){const t=s.getComponentType(e);if(a.NodeUtil.isNodeInstance(e))throw new Error("Invalid element type: MeoNode UI instance provided!");throw new Error(`Invalid element type: ${t} provided!`)}if(this.element=e,this.rawProps=n,this._deps=r,a.NodeUtil.isServer&&a.NodeUtil.providesServerTheme(e)){const e=n.theme;if(e&&"object"==typeof e&&"system"in e){const t=e;d.setActiveServerTheme(t),d.registerServerThemeVariables(t)}}const{ref:o,children:i,...c}=n;this.stableKey=this._getStableKey(c),a.NodeUtil.isServer||f._navigationStarted||(l.NavigationCacheManagerUtil.getInstance().start(),f._navigationStarted=!0)}get props(){return this._props||(this._props=a.NodeUtil.processProps(this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(a.NodeUtil.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const n=Object.keys(t),o=n.length;if(o>100){const e=a.NodeUtil.extractCriticalProps(t,n);this.lastSignature=a.NodeUtil.createPropSignature(this.element,e),r.__DEBUG__&&o>200&&console.warn(`MeoNode: Large props (${o} keys) on "${s.getElementTypeName(this.element)}". Consider splitting.`)}else this.lastSignature=a.NodeUtil.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static get cacheCleanupRegistry(){return s.getGlobalState(g,()=>new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:s}=e,n=f.elementCache.get(t);n?.instanceId===s&&f.elementCache.delete(t),o.MountTrackerUtil.isMounted(t)&&o.MountTrackerUtil.untrackMount(t)}))}render(r=!1){const o=a.NodeUtil.shouldCacheElement(this)?f.elementCache.get(this.stableKey):void 0,l=a.NodeUtil.shouldNodeUpdate(o?.prevDeps,this._deps,r);if(!l&&o?.renderedElement)return o.accessCount+=1,o.renderedElement;const m=!l,u=f.acquireRenderContext();let{workStack:p}=u;const{renderedElements:g}=u;let y=0;try{const r=e=>{if(e>p.length){const t=Math.max(e,p.length<<1),s=new Array(t);for(let e=0;e<y;e++)s[e]=p[e];p=s}};for(p[y++]={node:this,isProcessed:!1,blocked:m,theme:void 0};y>0;){const o=p[y-1];if(!o){y--;continue}const{node:i,isProcessed:l,blocked:m,theme:u}=o,C=(e,t)=>{const s=e.theme;return s&&"object"==typeof s&&"system"in s?s:t??d.getActiveServerTheme()};if(l){y--;const{children:r,key:o,css:l,nativeProps:m,disableEmotion:p,...v}=i.props,N=C(i.props,u);let S=[];if(r){const e=Array.isArray(r)?r:[r],t=e.length;S=new Array(t);for(let s=0;s<t;s++){const t=e[s];if(a.NodeUtil.isNodeInstance(t)){const e=g.get(t);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${t.stableKey}`);S[s]=e}else S[s]=t}}const b={...v,key:o,...m};let U;if(i.element===e.Fragment||t.isFragment(i.element))U=e.createElement(i.element,{key:o},...S);else{const t=!p&&(l||!s.hasNoStyleTag(i.element)),r=a.NodeUtil.isServer&&"string"!=typeof i.element,o=t&&r&&a.NodeUtil.isClientReference(i.element);if(t&&!r||o){const t=a.NodeUtil.isServer?d.replaceThemeTokensWithCssVars(l):l;U=e.createElement(n.default,{element:i.element,...b,css:t},...S)}else if(t&&r&&!a.NodeUtil.acceptsServerCss(i.element)){const t=h.ThemeUtil.resolveObjWithTheme(b,N,{processFunctions:!1}),s=h.ThemeUtil.resolveObjWithTheme(d.replaceThemeTokensWithCssVars(l),N,{processFunctions:!0,themeStringsMode:"vars"}),n=h.ThemeUtil.resolveDefaultStyle(s),r=c.compileServerEmotionClassName(n),o=[t.className,r].filter(Boolean).join(" ")||void 0,a=o?{...t,className:o}:t;U=e.createElement(i.element,a,...S)}else{const s=t&&(!r||a.NodeUtil.acceptsServerCss(i.element))?{...b,css:l}:b;U=e.createElement(i.element,s,...S)}}if(i!==this&&a.NodeUtil.shouldCacheElement(i)){const e=f.elementCache.get(i.stableKey);if(e)e.prevDeps=i._deps,e.renderedElement=U,e.accessCount+=1;else{const e={prevDeps:i._deps,renderedElement:U,nodeRef:new WeakRef(i),createdAt:Date.now(),accessCount:1,instanceId:i.instanceId};f.elementCache.set(i.stableKey,e),f.cacheCleanupRegistry.register(i,{cacheKey:i.stableKey,instanceId:i.instanceId},i)}}g.set(i,U)}else{o.isProcessed=!0;const e=i.props.children,t=C(i.props,u);if(e){const s=Array.isArray(e)?e:[e];let n=0;for(let e=0;e<s.length;e++)a.NodeUtil.isNodeInstance(s[e])&&n++;r(y+n);for(let e=s.length-1;e>=0;e--){const n=s[e];if(!a.NodeUtil.isNodeInstance(n))continue;const r=a.NodeUtil.shouldCacheElement(n)?f.elementCache.get(n.stableKey):void 0,o=a.NodeUtil.shouldNodeUpdate(r?.prevDeps,n._deps,m);if(!o&&r?.renderedElement){g.set(n,r.renderedElement);continue}const i=m||!o;p[y++]={node:n,isProcessed:!1,blocked:i,theme:t}}}}}let o=g.get(this);if(!a.NodeUtil.isServer&&this.stableKey&&(o=e.createElement(i.default,{node:this},o)),a.NodeUtil.shouldCacheElement(this)){const e=f.elementCache.get(this.stableKey);if(e)e.prevDeps=this._deps,e.renderedElement=o,e.accessCount+=1;else{const e={prevDeps:this._deps,renderedElement:o,nodeRef:new WeakRef(this),createdAt:Date.now(),accessCount:1,instanceId:this.instanceId};f.elementCache.set(this.stableKey,e),f.cacheCleanupRegistry.register(this,{cacheKey:this.stableKey,instanceId:this.instanceId},this)}}return o}finally{for(let e=0;e<y;e++)p[e]=null;f.releaseRenderContext({workStack:p,renderedElements:g})}}static clearCaches(){const e=Array.from(f.elementCache.keys());r.__DEBUG__&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=f.elementCache.get(t);if(e){const s=e.nodeRef?.deref();if(s)try{f.cacheCleanupRegistry.unregister(s),s.lastSignature=void 0,s.lastPropsObj=void 0}catch{r.__DEBUG__&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}f.elementCache.clear(),o.MountTrackerUtil.cleanup(),r.__DEBUG__&&console.log("[MeoNode] All caches cleared")}}function y(e,t={},s){return new f(e,t,s)}y.clearCaches=f.clearCaches,exports.BaseNode=f,exports.Node=y,exports.createChildrenFirstNode=function(e,t){const s=(s,n,r)=>y(e,{...t,...n,children:s},r);return s.element=e,s},exports.createNode=function(e,t){const s=(s,n)=>y(e,{...t,...s},n);return s.element=e,s};
1
+ "use strict";var e=require("react"),t=require("./helper/react-is.helper.cjs"),s=require("./helper/common.helper.cjs"),n=require("./components/styled-renderer.client.cjs"),r=require("./constant/common.const.cjs"),o=require("./util/mount-tracker.util.cjs"),i=require("./components/meonode-unmounter.client.cjs"),l=require("./util/navigation-cache-manager.util.cjs"),a=require("./util/node.util.cjs"),c=require("./util/server-emotion.util.cjs"),d=require("./util/server-theme.util.cjs"),h=require("./util/theme.util.cjs"),m=Object.defineProperty,u=(e,t,s)=>((e,t,s)=>t in e?m(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s)(e,"symbol"!=typeof t?t+"":t,s);const p=Symbol.for("@meonode/ui/BaseNode/elementCache"),g=Symbol.for("@meonode/ui/BaseNode/navigationStarted"),y=Symbol.for("@meonode/ui/BaseNode/renderContextPool"),f=Symbol.for("@meonode/ui/BaseNode/cacheCleanupRegistry"),C=class m{constructor(e,n={},r){if(u(this,"instanceId","m"+ ++m._idCounter),u(this,"element"),u(this,"rawProps",{}),u(this,"isBaseNode",!0),u(this,"_props"),u(this,"_deps"),u(this,"stableKey"),u(this,"lastPropsObj"),u(this,"lastSignature"),!t.isValidElementType(e)){const t=s.getComponentType(e);if(a.NodeUtil.isNodeInstance(e))throw new Error("Invalid element type: MeoNode UI instance provided!");throw new Error(`Invalid element type: ${t} provided!`)}if(this.element=e,this.rawProps=n,this._deps=r,a.NodeUtil.isServer&&a.NodeUtil.providesServerTheme(e)){const e=n.theme;if(e&&"object"==typeof e&&"system"in e){const t=e;d.setActiveServerTheme(t),d.registerServerThemeVariables(t)}}const{ref:o,children:i,...c}=n;this.stableKey=this._getStableKey(c),a.NodeUtil.isServer||m._navigationStarted||(l.NavigationCacheManagerUtil.getInstance().start(),m._navigationStarted=!0)}static get elementCache(){return s.getGlobalState(p,()=>new Map)}static get _navigationStarted(){return s.getGlobalState(g,()=>({value:!1})).value}static set _navigationStarted(e){s.getGlobalState(g,()=>({value:!1})).value=e}static get renderContextPool(){return s.getGlobalState(y,()=>[])}static acquireRenderContext(){const e=m.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){m.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),m.renderContextPool.push(e))}get props(){return this._props||(this._props=a.NodeUtil.processProps(this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(a.NodeUtil.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const n=Object.keys(t),o=n.length;if(o>100){const e=a.NodeUtil.extractCriticalProps(t,n);this.lastSignature=a.NodeUtil.createPropSignature(this.element,e),r.__DEBUG__&&o>200&&console.warn(`MeoNode: Large props (${o} keys) on "${s.getElementTypeName(this.element)}". Consider splitting.`)}else this.lastSignature=a.NodeUtil.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static get cacheCleanupRegistry(){return s.getGlobalState(f,()=>new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:s}=e,n=m.elementCache.get(t);n?.instanceId===s&&m.elementCache.delete(t),o.MountTrackerUtil.isMounted(t)&&o.MountTrackerUtil.untrackMount(t)}))}render(r=!1){const o=a.NodeUtil.shouldCacheElement(this)?m.elementCache.get(this.stableKey):void 0,l=a.NodeUtil.shouldNodeUpdate(o?.prevDeps,this._deps,r);if(!l&&o?.renderedElement)return o.accessCount+=1,o.renderedElement;const u=!l,p=m.acquireRenderContext();let{workStack:g}=p;const{renderedElements:y}=p;let f=0;try{const r=e=>{if(e>g.length){const t=Math.max(e,g.length<<1),s=new Array(t);for(let e=0;e<f;e++)s[e]=g[e];g=s}};for(g[f++]={node:this,isProcessed:!1,blocked:u,theme:void 0};f>0;){const o=g[f-1];if(!o){f--;continue}const{node:i,isProcessed:l,blocked:u,theme:p}=o,C=(e,t)=>{const s=e.theme;return s&&"object"==typeof s&&"system"in s?s:t??d.getActiveServerTheme()};if(l){f--;const{children:r,key:o,css:l,nativeProps:u,disableEmotion:g,...v}=i.props,N=C(i.props,p);let S=[];if(r){const e=Array.isArray(r)?r:[r],t=e.length;S=new Array(t);for(let s=0;s<t;s++){const t=e[s];if(a.NodeUtil.isNodeInstance(t)){const e=y.get(t);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${t.stableKey}`);S[s]=e}else S[s]=t}}const b={...v,key:o,...u};let U;if(i.element===e.Fragment||t.isFragment(i.element))U=e.createElement(i.element,{key:o},...S);else{const t=!g&&(l||!s.hasNoStyleTag(i.element))&&Object.keys(l||{}).length>0,r=a.NodeUtil.isServer&&"string"!=typeof i.element,o=t&&r&&a.NodeUtil.isClientReference(i.element);if(t&&!r||o){const t=a.NodeUtil.isServer?d.replaceThemeTokensWithCssVars(l):l;U=e.createElement(n.default,{element:i.element,...b,css:t},...S)}else if(t&&r&&!a.NodeUtil.acceptsServerCss(i.element)){const t=h.ThemeUtil.resolveObjWithTheme(b,N,{processFunctions:!1}),s=h.ThemeUtil.resolveObjWithTheme(d.replaceThemeTokensWithCssVars(l),N,{processFunctions:!0,themeStringsMode:"vars"}),n=h.ThemeUtil.resolveDefaultStyle(s),r=c.compileServerEmotionClassName(n),o=[t.className,r].filter(Boolean).join(" ")||void 0,a=o?{...t,className:o}:t;U=e.createElement(i.element,a,...S)}else{const s=t&&(!r||a.NodeUtil.acceptsServerCss(i.element))?{...b,css:l}:b;U=e.createElement(i.element,s,...S)}}if(i!==this&&a.NodeUtil.shouldCacheElement(i)){const e=m.elementCache.get(i.stableKey);if(e)e.prevDeps=i._deps,e.renderedElement=U,e.accessCount+=1;else{const e={prevDeps:i._deps,renderedElement:U,nodeRef:new WeakRef(i),createdAt:Date.now(),accessCount:1,instanceId:i.instanceId};m.elementCache.set(i.stableKey,e),m.cacheCleanupRegistry.register(i,{cacheKey:i.stableKey,instanceId:i.instanceId},i)}}y.set(i,U)}else{o.isProcessed=!0;const e=i.props.children,t=C(i.props,p);if(e){const s=Array.isArray(e)?e:[e];let n=0;for(let e=0;e<s.length;e++)a.NodeUtil.isNodeInstance(s[e])&&n++;r(f+n);for(let e=s.length-1;e>=0;e--){const n=s[e];if(!a.NodeUtil.isNodeInstance(n))continue;const r=a.NodeUtil.shouldCacheElement(n)?m.elementCache.get(n.stableKey):void 0,o=a.NodeUtil.shouldNodeUpdate(r?.prevDeps,n._deps,u);if(!o&&r?.renderedElement){y.set(n,r.renderedElement);continue}const i=u||!o;g[f++]={node:n,isProcessed:!1,blocked:i,theme:t}}}}}let o=y.get(this);if(!a.NodeUtil.isServer&&this.stableKey&&(o=e.createElement(i.default,{node:this},o)),a.NodeUtil.shouldCacheElement(this)){const e=m.elementCache.get(this.stableKey);if(e)e.prevDeps=this._deps,e.renderedElement=o,e.accessCount+=1;else{const e={prevDeps:this._deps,renderedElement:o,nodeRef:new WeakRef(this),createdAt:Date.now(),accessCount:1,instanceId:this.instanceId};m.elementCache.set(this.stableKey,e),m.cacheCleanupRegistry.register(this,{cacheKey:this.stableKey,instanceId:this.instanceId},this)}}return o}finally{for(let e=0;e<f;e++)g[e]=null;m.releaseRenderContext({workStack:g,renderedElements:y})}}static clearCaches(){const e=Array.from(m.elementCache.keys());r.__DEBUG__&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=m.elementCache.get(t);if(e){const s=e.nodeRef?.deref();if(s)try{m.cacheCleanupRegistry.unregister(s),s.lastSignature=void 0,s.lastPropsObj=void 0}catch{r.__DEBUG__&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}m.elementCache.clear(),o.MountTrackerUtil.cleanup(),r.__DEBUG__&&console.log("[MeoNode] All caches cleared")}};u(C,"_idCounter",0);let v=C;function N(e,t={},s){return new v(e,t,s)}N.clearCaches=v.clearCaches,exports.BaseNode=v,exports.Node=N,exports.createChildrenFirstNode=function(e,t){const s=(s,n,r)=>N(e,{...t,...n,children:s},r);return s.element=e,s},exports.createNode=function(e,t){const s=(s,n)=>N(e,{...t,...s},n);return s.element=e,s};
@@ -1 +1 @@
1
- "use strict";var e=require("./react-is.helper.cjs"),t=require("../constant/css-properties.const.cjs"),n=require("../constant/common.const.cjs");const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};const o=t=>e.isForwardRef(t)?"forwardRef":e.isMemo(t)?"memo":e.isFragment(t)?"fragment":e.isPortal(t)?"portal":e.isProfiler(t)?"profiler":e.isStrictMode(t)?"strict-mode":e.isSuspense(t)?"suspense":e.isSuspenseList(t)?"suspense-list":e.isContextConsumer(t)?"context-consumer":e.isContextProvider(t)?"context-provider":e.isLazy(t)?"lazy":e.isElement(t)?"element":e.isReactClassComponent(t)?"class":typeof t;const s=new Set(t.default);exports.CSSPropertySet=s,exports.getCSSProps=function(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&s.has(n)&&(t[n]=e[n]);return t},exports.getComponentType=o,exports.getDOMProps=function(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&!s.has(n)&&(t[n]=e[n]);return t},exports.getElementTypeName=function e(t){function n(e,t){const n=e?.displayName||e?.name;return n&&"render"!==n?n:t}if(null==t)return"UnknownElementType";const r=t,s=o(r);switch(s){case"string":return t;case"class":return n(r,"ClassComponent");case"function":return n(r,"AnonymousFunctionComponent");case"forwardRef":return n(r,"")||n(r.render,"")||"ForwardRefComponent";case"memo":return n(r,"")||(r.type?e(r.type):"MemoComponent");case"element":return e(r.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return n(r,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return n(r,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return r._context?.displayName?`${r._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return r._context?.displayName?`${r._context.displayName}.Provider`:"ContextProvider";case"lazy":return n(r,"LazyComponent");case"object":return n(r,"")?n(r,""):"function"==typeof r.render?n(r.render,"ObjectWithRender"):r.type&&r.type!==t?`Wrapped<${e(r.type)}>`:n(r,"ObjectComponent");case"symbol":return"symbol"==typeof t?t.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||t.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${s}>`}},exports.getGlobalState=function(e,t){return e in r||(r[e]=t()),r[e]},exports.getValueByPath=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),exports.hasNoStyleTag=function(e){return!(!e||"string"!=typeof e)&&n.noStyleTagsSet.has(e.toLowerCase())},exports.omitUndefined=function(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]);return t};
1
+ "use strict";var e=require("./react-is.helper.cjs"),t=require("../constant/css-properties.const.cjs"),n=require("../constant/common.const.cjs");const r="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};const o=t=>e.isForwardRef(t)?"forwardRef":e.isMemo(t)?"memo":e.isFragment(t)?"fragment":e.isPortal(t)?"portal":e.isProfiler(t)?"profiler":e.isStrictMode(t)?"strict-mode":e.isSuspense(t)?"suspense":e.isSuspenseList(t)?"suspense-list":e.isContextConsumer(t)?"context-consumer":e.isContextProvider(t)?"context-provider":e.isLazy(t)?"lazy":e.isElement(t)?"element":e.isReactClassComponent(t)?"class":typeof t;exports.getCSSProps=function(e){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&t.default.has(r)&&(n[r]=e[r]);return n},exports.getComponentType=o,exports.getDOMProps=function(e){const n={};for(const r in e)Object.prototype.hasOwnProperty.call(e,r)&&!t.default.has(r)&&(n[r]=e[r]);return n},exports.getElementTypeName=function e(t){function n(e,t){const n=e?.displayName||e?.name;return n&&"render"!==n?n:t}if(null==t)return"UnknownElementType";const r=t,s=o(r);switch(s){case"string":return t;case"class":return n(r,"ClassComponent");case"function":return n(r,"AnonymousFunctionComponent");case"forwardRef":return n(r,"")||n(r.render,"")||"ForwardRefComponent";case"memo":return n(r,"")||(r.type?e(r.type):"MemoComponent");case"element":return e(r.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return n(r,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return n(r,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return r._context?.displayName?`${r._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return r._context?.displayName?`${r._context.displayName}.Provider`:"ContextProvider";case"lazy":return n(r,"LazyComponent");case"object":return n(r,"")?n(r,""):"function"==typeof r.render?n(r.render,"ObjectWithRender"):r.type&&r.type!==t?`Wrapped<${e(r.type)}>`:n(r,"ObjectComponent");case"symbol":return"symbol"==typeof t?t.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||t.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${s}>`}},exports.getGlobalState=function(e,t){return e in r||(r[e]=t()),r[e]},exports.getValueByPath=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),exports.hasNoStyleTag=function(e){return!(!e||"string"!=typeof e)&&n.noStyleTagsSet.has(e.toLowerCase())},exports.omitUndefined=function(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]);return t};
@@ -1 +1 @@
1
- "use strict";var t=require("../constant/common.const.cjs");class n{constructor(){}static _mountedCounts=new Map;static _unmountCallCount=new Map;static isMounted(t){return(this._mountedCounts.get(t)||0)>0}static trackMount(n){const o=this._mountedCounts.get(n)||0;this._mountedCounts.set(n,o+1),t.__DEBUG__&&this._unmountCallCount.delete(n)}static untrackMount(n){const o=this._mountedCounts.get(n)||0;if(o>0){const t=o-1;return 0===t?this._mountedCounts.delete(n):this._mountedCounts.set(n,t),t>0}if(t.__DEBUG__){const t=(this._unmountCallCount.get(n)||0)+1;this._unmountCallCount.set(n,t),t>1&&console.warn(`[MeoNode] untrackMount called ${t} times for an already unmounted node: ${n}. This could indicate a memory leak or a bug in a component's lifecycle.`)}return!1}static cleanup(){this._mountedCounts.clear(),t.__DEBUG__&&this._unmountCallCount.clear()}}exports.MountTrackerUtil=n;
1
+ "use strict";var t=require("../constant/common.const.cjs"),n=Object.defineProperty,e=(t,e,o)=>((t,e,o)=>e in t?n(t,e,{enumerable:!0,configurable:!0,writable:!0,value:o}):t[e]=o)(t,"symbol"!=typeof e?e+"":e,o);class o{constructor(){}static isMounted(t){return(this._mountedCounts.get(t)||0)>0}static trackMount(n){const e=this._mountedCounts.get(n)||0;this._mountedCounts.set(n,e+1),t.__DEBUG__&&this._unmountCallCount.delete(n)}static untrackMount(n){const e=this._mountedCounts.get(n)||0;if(e>0){const t=e-1;return 0===t?this._mountedCounts.delete(n):this._mountedCounts.set(n,t),t>0}if(t.__DEBUG__){const t=(this._unmountCallCount.get(n)||0)+1;this._unmountCallCount.set(n,t),t>1&&console.warn(`[MeoNode] untrackMount called ${t} times for an already unmounted node: ${n}. This could indicate a memory leak or a bug in a component's lifecycle.`)}return!1}static cleanup(){this._mountedCounts.clear(),t.__DEBUG__&&this._unmountCallCount.clear()}}e(o,"_mountedCounts",new Map),e(o,"_unmountCallCount",new Map),exports.MountTrackerUtil=o;
@@ -1 +1 @@
1
- "use strict";var e=require("../constant/common.const.cjs"),t=require("../core.node.cjs"),i=require("./mount-tracker.util.cjs");class a{constructor(){}static _instance=null;static _originalPushState=null;static _originalReplaceState=null;static _isPatched=!1;_isListening=!1;_cleanupTimeout=null;static getInstance(){return this._instance||(this._instance=new a),this._instance}start(){this._isListening||"undefined"==typeof window||(this._isListening=!0,window.addEventListener("popstate",this._handleNavigation),this._patchHistoryMethods(),this._setupAutoCleanup(),e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil started"))}_stop(){this._isListening&&"undefined"!=typeof window&&(window.removeEventListener("popstate",this._handleNavigation),this._cleanupTimeout&&(clearTimeout(this._cleanupTimeout),this._cleanupTimeout=null),this._isListening=!1,e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil stopped"))}_handleNavigation=()=>{this._cleanupTimeout&&clearTimeout(this._cleanupTimeout);const a=t.BaseNode.elementCache.size,n=a<100?50:a<500?100:200;this._cleanupTimeout=setTimeout(()=>{let a=0;t.BaseNode.elementCache.keys().forEach(e=>{i.MountTrackerUtil.isMounted(e)||(t.BaseNode.elementCache.delete(e),a++)}),e.__DEBUG__&&console.log(`[MeoNode] Navigation: cleared ${a} unmounted elements`)},n)};_patchHistoryMethods(){a._isPatched||(a._originalPushState=history.pushState,a._originalReplaceState=history.replaceState,history.pushState=(...e)=>{a._originalPushState.apply(history,e),this._handleNavigation()},history.replaceState=(...e)=>{a._originalReplaceState.apply(history,e),this._handleNavigation()},a._isPatched=!0)}_setupAutoCleanup(){window.__MEONODE_CLEANUP_REGISTERED||(window.addEventListener("beforeunload",()=>{this._stop(),t.BaseNode.clearCaches()}),window.__MEONODE_CLEANUP_REGISTERED=!0)}}exports.NavigationCacheManagerUtil=a;
1
+ "use strict";var e=require("../constant/common.const.cjs"),t=require("../core.node.cjs"),i=require("./mount-tracker.util.cjs"),a=Object.defineProperty,n=(e,t,i)=>((e,t,i)=>t in e?a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i)(e,"symbol"!=typeof t?t+"":t,i);const s=class a{constructor(){n(this,"_isListening",!1),n(this,"_cleanupTimeout",null),n(this,"_handleNavigation",()=>{this._cleanupTimeout&&clearTimeout(this._cleanupTimeout);const a=t.BaseNode.elementCache.size,n=a<100?50:a<500?100:200;this._cleanupTimeout=setTimeout(()=>{let a=0;t.BaseNode.elementCache.keys().forEach(e=>{i.MountTrackerUtil.isMounted(e)||(t.BaseNode.elementCache.delete(e),a++)}),e.__DEBUG__&&console.log(`[MeoNode] Navigation: cleared ${a} unmounted elements`)},n)})}static getInstance(){return this._instance||(this._instance=new a),this._instance}start(){this._isListening||"undefined"==typeof window||(this._isListening=!0,window.addEventListener("popstate",this._handleNavigation),this._patchHistoryMethods(),this._setupAutoCleanup(),e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil started"))}_stop(){this._isListening&&"undefined"!=typeof window&&(window.removeEventListener("popstate",this._handleNavigation),this._cleanupTimeout&&(clearTimeout(this._cleanupTimeout),this._cleanupTimeout=null),this._isListening=!1,e.__DEBUG__&&console.log("[MeoNode] NavigationCacheManagerUtil stopped"))}_patchHistoryMethods(){a._isPatched||(a._originalPushState=history.pushState,a._originalReplaceState=history.replaceState,history.pushState=(...e)=>{a._originalPushState.apply(history,e),this._handleNavigation()},history.replaceState=(...e)=>{a._originalReplaceState.apply(history,e),this._handleNavigation()},a._isPatched=!0)}_setupAutoCleanup(){window.__MEONODE_CLEANUP_REGISTERED||(window.addEventListener("beforeunload",()=>{this._stop(),t.BaseNode.clearCaches()}),window.__MEONODE_CLEANUP_REGISTERED=!0)}};n(s,"_instance",null),n(s,"_originalPushState",null),n(s,"_originalReplaceState",null),n(s,"_isPatched",!1);let o=s;exports.NavigationCacheManagerUtil=o;
@@ -1 +1 @@
1
- "use strict";var e=require("react"),t=require("../helper/react-is.helper.cjs"),r=require("../helper/common.helper.cjs"),o=require("../constant/common.const.cjs"),n=require("../core.node.cjs");const s=Symbol.for("@meonode/ui/NodeUtil/functionSignatureCache");class i{constructor(){}static readBooleanFlag(e,t){if("function"!=typeof e)return!1;try{return!0===e[t]}catch{return!1}}static isServer="undefined"==typeof window;static get _functionSignatureCache(){return r.getGlobalState(s,()=>new WeakMap)}static CRITICAL_PROPS=new Set(["css","className","disableEmotion","props"]);static _propFuncCache=new WeakMap;static isClientReference(e){if(!e||"object"!=typeof e&&"function"!=typeof e)return!1;try{return e.$$typeof===Symbol.for("react.client.reference")}catch{return!1}}static acceptsServerCss(e){return i.readBooleanFlag(e,"__meonodeAcceptsServerCss")}static providesServerTheme(e){return i.readBooleanFlag(e,"__meonodeProvidesServerTheme")}static isNodeInstance=e=>e instanceof n.BaseNode;static isStyleProp=i.isServer||"undefined"==typeof document?()=>!1:e=>e in document.body.style;static hashString(e){let t=2166136261,r=5381;for(let o=0;o<e.length;o++){const n=e.charCodeAt(o);t^=n,t=Math.imul(t,16777619),r=Math.imul(r,33)^n}return`${(t>>>0).toString(36)}_${(r>>>0).toString(36)}`}static hashCSS(e){const t=Object.keys(e);let r=t.length;for(let o=0;o<Math.min(t.length,10);o++){const n=t[o],s=e[n];r=(r<<5)-r+n.charCodeAt(0),r&=r,"string"==typeof s&&(r=(r<<5)-r+s.length)}return r.toString(36)}static createPropSignature(e,t){if(i.isServer)return;const o=r.getElementTypeName(e),n=Object.keys(t);n.length>1&&n.sort();const s=[`${o}:`];if("function"==typeof e){let t=i._functionSignatureCache.get(e);t||(t=i.hashString(e.toString()),i._functionSignatureCache.set(e,t)),s.push(t)}for(const e of n){const r=t[e];let o;const n=typeof r;if("string"===n||"number"===n||"boolean"===n)o=`${e}:${r};`;else if(null===r)o=`${e}:null;`;else if(void 0===r)o=`${e}:undefined;`;else if("css"===e&&"object"==typeof r)o=`css:${this.hashCSS(r)};`;else if(Array.isArray(r)){const t=r.filter(e=>{const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===e});o=t.length===r.length?`${e}:[${t.join(",")}];`:`${e}:[${r.length}];`}else if(r&&r.isBaseNode)o=`${e}:${r.stableKey};`;else if("function"===n){let t=i._propFuncCache.get(r);t||(t=i.hashString(r.toString()),i._propFuncCache.set(r,t)),o=`${e}:${t};`}else{o=`${e}:{${Object.keys(r).sort().join(",")}};`}s.push(o)}return i.hashString(s.join(","))}static extractCriticalProps(e,t){const r={_keyCount:t.length};let o=0;for(const n of t){if(o>=50)break;if(i.CRITICAL_PROPS.has(n)){r[n]=e[n],o++;continue}const s=n.charCodeAt(0);111!==s||110!==n.charCodeAt(1)?!(97===s&&114===n.charCodeAt(1)&&105===n.charCodeAt(2)&&97===n.charCodeAt(3)||100===s&&97===n.charCodeAt(1)&&116===n.charCodeAt(2)&&97===n.charCodeAt(3))?t.length<=100&&i.isStyleProp(n)&&(r[n]=e[n],o++):(r[n]=e[n],o++):(r[n]=e[n],o++)}return r}static processProps(e={},t){const{ref:o,key:n,children:s,css:c,props:a={},disableEmotion:d,...l}=e;if(0===Object.keys(l).length&&!c)return r.omitUndefined({ref:o,key:n,disableEmotion:d,nativeProps:r.omitUndefined(a),children:i._processChildren(s,d)});const f={},p={},u=Object.keys(l);for(let e=0;e<u.length;e++){const t=u[e],r=l[t],o=typeof r;"string"===o||"number"===o||"boolean"===o?f[t]=r:p[t]=r}const y=r.getCSSProps(f),m=r.getCSSProps(p),h=r.getDOMProps(l),b={...y,...m,...c},g=i._processChildren(s,d,t);return r.omitUndefined({ref:o,key:n,css:b,...h,disableEmotion:d,nativeProps:r.omitUndefined(a),children:g})}static _processChildren(e,t,r){if(e)return"function"==typeof e?e:Array.isArray(e)?1===e.length?i.processRawNode(e[0],t,`${r}_0`):e.map((e,o)=>i.processRawNode(e,t,`${r}_${o}`)):i.processRawNode(e,t,r)}static shouldCacheElement(e){return!i.isServer&&!!e.stableKey&&!!e.dependencies}static shouldNodeUpdate(e,t,r){if(i.isServer)return!0;if(r)return!1;if(void 0===t)return!0;if(void 0===e)return!0;if(t.length!==e.length)return!0;for(let r=0;r<t.length;r++)if(!Object.is(t[r],e[r]))return!0;return!1}static processRawNode(r,o,s){if(null==r||"string"==typeof r||"number"==typeof r||"boolean"==typeof r)return r;if(i.isNodeInstance(r)){if(s||o&&!r.rawProps.disableEmotion){const e=new n.BaseNode(r.element,r.rawProps,r.dependencies);return e.stableKey=`${s}:${e.stableKey}`,o&&!e.rawProps.disableEmotion&&(e.rawProps.disableEmotion=!0),e}return r}if(i.isFunctionChild(r))return new n.BaseNode(i.functionRenderer,{props:{render:r,disableEmotion:o}},void 0);if(e.isValidElement(r)){const e=r.type;if(e&&"object"==typeof e){const t=e.$$typeof;if(t===Symbol.for("react.client.reference")||t===Symbol.for("react.lazy")||t===Symbol.for("react.memo")||t===Symbol.for("react.forward_ref"))return r}if("string"==typeof r.type){const{style:e,...t}=r.props,s={...t,...e||{}};return new n.BaseNode(r.type,{...s,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:o},void 0)}return new n.BaseNode(r.type,{...r.props,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:o},void 0)}return t.isReactClassComponent(r)||t.isMemo(r)||t.isForwardRef(r)?new n.BaseNode(r,{disableEmotion:o},void 0):r instanceof e.Component?i.processRawNode(r.render(),o,s):r}static isFunctionChild(e){if("function"!=typeof e||t.isReactClassComponent(e)||t.isMemo(e)||t.isForwardRef(e))return!1;try{return!(e.prototype&&"function"==typeof e.prototype.render)}catch(e){return o.__DEBUG__&&console.error("MeoNode: Error checking if a node is a function child.",e),!0}}static functionRenderer({render:t,disableEmotion:s}){let c;try{c=t()}catch(e){o.__DEBUG__&&console.error("MeoNode: Error executing function-as-a-child.",e),c=null}if(null==c||"string"==typeof c||"number"==typeof c||"boolean"==typeof c)return c;if(i.isNodeInstance(c))return s&&!c.rawProps.disableEmotion?new n.BaseNode(c.element,{...c.rawProps,disableEmotion:!0}).render():c.render();if(Array.isArray(c)){const e=(e,t)=>{try{return`${r.getElementTypeName(e)}-${t}`}catch(e){return o.__DEBUG__&&console.error("MeoNode: Could not determine element type name for key in function-as-a-child.",e),`item-${t}`}};return c.map((t,r)=>i.renderProcessedNode({processedElement:i.processRawNode(t,s),passedKey:e(t,r),disableEmotion:s}))}if(c instanceof e.Component)return i.renderProcessedNode({processedElement:i.processRawNode(c.render(),s),disableEmotion:s});const a=i.processRawNode(c,s);return a?i.renderProcessedNode({processedElement:a,disableEmotion:s}):c}static renderProcessedNode({processedElement:r,passedKey:o,disableEmotion:s}){const c={};if(void 0!==o&&(c.key=o),i.isNodeInstance(r)){const e=r.rawProps?.key;return r.rawProps.disableEmotion=s,e===o?r.render():new n.BaseNode(r.element,{...r.rawProps,...c}).render()}return t.isReactClassComponent(r)?new n.BaseNode(r,{...c,disableEmotion:s}).render():r instanceof e.Component?r.render():"function"==typeof r?e.createElement(r,{key:o}):r}}exports.NodeUtil=i;
1
+ "use strict";var e=require("react"),t=require("../helper/react-is.helper.cjs"),r=require("../helper/common.helper.cjs"),o=require("../constant/common.const.cjs"),n=require("../core.node.cjs"),s=Object.defineProperty,i=(e,t,r)=>((e,t,r)=>t in e?s(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);const c=Symbol.for("@meonode/ui/NodeUtil/functionSignatureCache"),a=class s{constructor(){}static readBooleanFlag(e,t){if("function"!=typeof e)return!1;try{return!0===e[t]}catch{return!1}}static get _functionSignatureCache(){return r.getGlobalState(c,()=>new WeakMap)}static isClientReference(e){if(!e||"object"!=typeof e&&"function"!=typeof e)return!1;try{return e.$$typeof===Symbol.for("react.client.reference")}catch{return!1}}static acceptsServerCss(e){return s.readBooleanFlag(e,"__meonodeAcceptsServerCss")}static providesServerTheme(e){return s.readBooleanFlag(e,"__meonodeProvidesServerTheme")}static hashString(e){let t=2166136261,r=5381;for(let o=0;o<e.length;o++){const n=e.charCodeAt(o);t^=n,t=Math.imul(t,16777619),r=Math.imul(r,33)^n}return`${(t>>>0).toString(36)}_${(r>>>0).toString(36)}`}static hashCSS(e){const t=Object.keys(e);let r=t.length;for(let o=0;o<Math.min(t.length,10);o++){const n=t[o],s=e[n];r=(r<<5)-r+n.charCodeAt(0),r&=r,"string"==typeof s&&(r=(r<<5)-r+s.length)}return r.toString(36)}static createPropSignature(e,t){if(s.isServer)return;const o=r.getElementTypeName(e),n=Object.keys(t);n.length>1&&n.sort();const i=[`${o}:`];if("function"==typeof e){let t=s._functionSignatureCache.get(e);t||(t=s.hashString(e.toString()),s._functionSignatureCache.set(e,t)),i.push(t)}for(const e of n){const r=t[e];let o;const n=typeof r;if("string"===n||"number"===n||"boolean"===n)o=`${e}:${r};`;else if(null===r)o=`${e}:null;`;else if(void 0===r)o=`${e}:undefined;`;else if("css"===e&&"object"==typeof r)o=`css:${this.hashCSS(r)};`;else if(Array.isArray(r)){const t=r.filter(e=>{const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===e});o=t.length===r.length?`${e}:[${t.join(",")}];`:`${e}:[${r.length}];`}else if(r&&r.isBaseNode)o=`${e}:${r.stableKey};`;else if("function"===n){let t=s._propFuncCache.get(r);t||(t=s.hashString(r.toString()),s._propFuncCache.set(r,t)),o=`${e}:${t};`}else{o=`${e}:{${Object.keys(r).sort().join(",")}};`}i.push(o)}return s.hashString(i.join(","))}static extractCriticalProps(e,t){const r={_keyCount:t.length};let o=0;for(const n of t){if(o>=50)break;if(s.CRITICAL_PROPS.has(n)){r[n]=e[n],o++;continue}const i=n.charCodeAt(0);111!==i||110!==n.charCodeAt(1)?!(97===i&&114===n.charCodeAt(1)&&105===n.charCodeAt(2)&&97===n.charCodeAt(3)||100===i&&97===n.charCodeAt(1)&&116===n.charCodeAt(2)&&97===n.charCodeAt(3))?t.length<=100&&s.isStyleProp(n)&&(r[n]=e[n],o++):(r[n]=e[n],o++):(r[n]=e[n],o++)}return r}static processProps(e={},t){const{ref:o,key:n,children:i,css:c,props:a={},disableEmotion:l,...d}=e;if(0===Object.keys(d).length&&!c)return r.omitUndefined({ref:o,key:n,disableEmotion:l,nativeProps:r.omitUndefined(a),children:s._processChildren(i,l)});const f={},p={},u=Object.keys(d);for(let e=0;e<u.length;e++){const t=u[e],r=d[t],o=typeof r;"string"===o||"number"===o||"boolean"===o?f[t]=r:p[t]=r}const y=r.getCSSProps(f),m=r.getCSSProps(p),h=r.getDOMProps(d),b={...y,...m,...c},g=s._processChildren(i,l,t);return r.omitUndefined({ref:o,key:n,css:b,...h,disableEmotion:l,nativeProps:r.omitUndefined(a),children:g})}static _processChildren(e,t,r){if(e)return"function"==typeof e?e:Array.isArray(e)?1===e.length?s.processRawNode(e[0],t,`${r}_0`):e.map((e,o)=>s.processRawNode(e,t,`${r}_${o}`)):s.processRawNode(e,t,r)}static shouldCacheElement(e){return!s.isServer&&!!e.stableKey&&!!e.dependencies}static shouldNodeUpdate(e,t,r){if(s.isServer)return!0;if(r)return!1;if(void 0===t)return!0;if(void 0===e)return!0;if(t.length!==e.length)return!0;for(let r=0;r<t.length;r++)if(!Object.is(t[r],e[r]))return!0;return!1}static processRawNode(r,o,i){if(null==r||"string"==typeof r||"number"==typeof r||"boolean"==typeof r)return r;if(s.isNodeInstance(r)){if(i||o&&!r.rawProps.disableEmotion){const e=new n.BaseNode(r.element,r.rawProps,r.dependencies);return e.stableKey=`${i}:${e.stableKey}`,o&&!e.rawProps.disableEmotion&&(e.rawProps.disableEmotion=!0),e}return r}if(s.isFunctionChild(r))return new n.BaseNode(s.functionRenderer,{props:{render:r,disableEmotion:o}},void 0);if(e.isValidElement(r)){const e=r.type;if(e&&"object"==typeof e){const t=e.$$typeof;if(t===Symbol.for("react.client.reference")||t===Symbol.for("react.lazy")||t===Symbol.for("react.memo")||t===Symbol.for("react.forward_ref"))return r}if("string"==typeof r.type){const{style:e,...t}=r.props,s={...t,...e||{}};return new n.BaseNode(r.type,{...s,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:o},void 0)}return new n.BaseNode(r.type,{...r.props,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:o},void 0)}return t.isReactClassComponent(r)||t.isMemo(r)||t.isForwardRef(r)?new n.BaseNode(r,{disableEmotion:o},void 0):r instanceof e.Component?s.processRawNode(r.render(),o,i):r}static isFunctionChild(e){if("function"!=typeof e||t.isReactClassComponent(e)||t.isMemo(e)||t.isForwardRef(e))return!1;try{return!(e.prototype&&"function"==typeof e.prototype.render)}catch(e){return o.__DEBUG__&&console.error("MeoNode: Error checking if a node is a function child.",e),!0}}static functionRenderer({render:t,disableEmotion:i}){let c;try{c=t()}catch(e){o.__DEBUG__&&console.error("MeoNode: Error executing function-as-a-child.",e),c=null}if(null==c||"string"==typeof c||"number"==typeof c||"boolean"==typeof c)return c;if(s.isNodeInstance(c))return i&&!c.rawProps.disableEmotion?new n.BaseNode(c.element,{...c.rawProps,disableEmotion:!0}).render():c.render();if(Array.isArray(c)){const e=(e,t)=>{try{return`${r.getElementTypeName(e)}-${t}`}catch(e){return o.__DEBUG__&&console.error("MeoNode: Could not determine element type name for key in function-as-a-child.",e),`item-${t}`}};return c.map((t,r)=>s.renderProcessedNode({processedElement:s.processRawNode(t,i),passedKey:e(t,r),disableEmotion:i}))}if(c instanceof e.Component)return s.renderProcessedNode({processedElement:s.processRawNode(c.render(),i),disableEmotion:i});const a=s.processRawNode(c,i);return a?s.renderProcessedNode({processedElement:a,disableEmotion:i}):c}static renderProcessedNode({processedElement:r,passedKey:o,disableEmotion:i}){const c={};if(void 0!==o&&(c.key=o),s.isNodeInstance(r)){const e=r.rawProps?.key;return r.rawProps.disableEmotion=i,e===o?r.render():new n.BaseNode(r.element,{...r.rawProps,...c}).render()}return t.isReactClassComponent(r)?new n.BaseNode(r,{...c,disableEmotion:i}).render():r instanceof e.Component?r.render():"function"==typeof r?e.createElement(r,{key:o}):r}};i(a,"isServer","undefined"==typeof window),i(a,"CRITICAL_PROPS",new Set(["css","className","disableEmotion","props"])),i(a,"_propFuncCache",new WeakMap),i(a,"isNodeInstance",e=>e instanceof n.BaseNode),i(a,"isStyleProp",a.isServer||"undefined"==typeof document?()=>!1:e=>e in document.body.style);let l=a;exports.NodeUtil=l;
@@ -1 +1 @@
1
- "use strict";var e=require("@emotion/cache"),o=require("../node_modules/@emotion/serialize/dist/emotion-serialize.esm.cjs"),t=require("../node_modules/@emotion/utils/dist/emotion-utils.esm.cjs"),r=require("../helper/common.helper.cjs");const n=Symbol.for("@meonode/ui/serverEmotionCache"),s=Symbol.for("@meonode/ui/serverEmotionRules");function i(){return r.getGlobalState(n,()=>e({key:"meonode-css"}))}function m(){return r.getGlobalState(s,()=>({byId:new Map}))}exports.compileServerEmotionClassName=function(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return;const r=i(),n=o.serializeStyles([e],r.registered),s=t.insertStyles(r,n),u=r.inserted[n.name],a="string"==typeof s?s:"string"==typeof u?u:void 0;if(a){const e=m();e.byId.has(n.name)||e.byId.set(n.name,a)}return`${r.key}-${n.name}`},exports.consumeServerEmotionRules=function(){const e=m();if(0===e.byId.size)return[];const o=Array.from(e.byId.entries()).map(([e,o])=>({id:e,cssText:o}));return e.byId.clear(),o},exports.getServerEmotionCache=i;
1
+ "use strict";var e=require("@emotion/cache"),r=require("@emotion/serialize"),o=require("@emotion/utils"),t=require("../helper/common.helper.cjs");const n=Symbol.for("@meonode/ui/serverEmotionCache"),i=Symbol.for("@meonode/ui/serverEmotionRules");function s(){return t.getGlobalState(n,()=>e({key:"meonode-css"}))}function m(){return t.getGlobalState(i,()=>({byId:new Map}))}exports.compileServerEmotionClassName=function(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return;const t=s(),n=r.serializeStyles([e],t.registered),i=o.insertStyles(t,n,!1),a=t.inserted[n.name],u="string"==typeof i?i:"string"==typeof a?a:void 0;if(u){const e=m();e.byId.has(n.name)||e.byId.set(n.name,u)}return`${t.key}-${n.name}`},exports.consumeServerEmotionRules=function(){const e=m();if(0===e.byId.size)return[];const r=Array.from(e.byId.entries()).map(([e,r])=>({id:e,cssText:r}));return e.byId.clear(),r},exports.getServerEmotionCache=s;
@@ -1 +1 @@
1
- "use strict";var e=require("../helper/common.helper.cjs");class t{constructor(){}static parseFlexShorthand(e){if(null==e)return null;if("number"==typeof e)return{grow:e,shrink:1,basis:"0%"};if("string"!=typeof e)return null;const t=e.trim().toLowerCase();if(!t)return null;switch(t){case"none":return{grow:0,shrink:0,basis:"auto"};case"auto":return{grow:1,shrink:1,basis:"auto"};case"initial":return{grow:0,shrink:1,basis:"auto"};default:return null}}static isPlainObject=e=>{if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype};static resolveObjWithTheme=(r,l,s={})=>{const{processFunctions:n=!1,themeStringsMode:i="resolve"}=s;if(!l||!l.system||"object"!=typeof l.system||0===Object.keys(l.system).length||!r||0===Object.keys(r).length)return r;const o=l.system,a=[{value:r,isProcessed:!1}],c=new Map,u=new Set,f=/theme\.([a-zA-Z0-9_.-]+)/g,p=(t,r)=>{f.lastIndex=0;let l=!1;const s=t.replace(f,(t,s)=>{if(r)return l=!0,`var(${n=s,`--meonode-theme-${n.replace(/[^\w.-]/g,"-").replace(/\./g,"-")}`})`;var n;const i=e.getValueByPath(o,s);if(null!=i){if(l=!0,"object"==typeof i){if(!Array.isArray(i)&&"default"in i)return i.default;throw new Error("The provided theme path is invalid!")}return i}return t});return l?s:t};for(;a.length>0;){const e=a[a.length-1],r=e.value;if(t.isPlainObject(r)||Array.isArray(r))if(c.has(r))a.pop();else if(e.isProcessed){a.pop(),u.delete(r);let e=r;if(Array.isArray(r)){let t=null;for(let e=0;e<r.length;e++){const l=r[e],s=c.get(l)??l;s!==l&&(null===t&&(t=[...r]),t[e]=s)}null!==t&&(e=t)}else{let t=null;for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const s=r[e];let o=c.get(s)??s,a=e;"string"==typeof e&&e.includes("theme.")&&(a=p(e,!1));const u="vars"===i;if("function"==typeof o&&n){const e=o(l);o="string"==typeof e&&e.includes("theme.")?p(e,u):e}else"string"==typeof o&&o.includes("theme.")&&(o=p(o,u));o===s&&a===e||(null===t&&(t={...r}),a!==e&&delete t[e],t[a]=o)}null!==t&&(e=t)}c.set(r,e)}else{e.isProcessed=!0,u.add(r);const l=Array.isArray(r)?r:Object.values(r);for(let e=l.length-1;e>=0;e--){const r=l[e];!t.isPlainObject(r)&&!Array.isArray(r)||u.has(r)||a.push({value:r,isProcessed:!1})}}else a.pop()}return c.get(r)??r};static resolveDefaultStyle=e=>{if(null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return{};const{flex:r,...l}=e,s="flex"===l.display||"inline-flex"===l.display,n=!!(l.overflow||l.overflowY||l.overflowX),i=l.flexFlow?.includes("wrap")||"wrap"===l.flexWrap||"wrap-reverse"===l.flexWrap,o="flexShrink"in e&&void 0!==e.flexShrink,a=r?t.parseFlexShorthand(r):null;let c;if(!o)if(a)c=a.shrink;else if(s){if(!n){const e="column"===l.flexDirection||"column-reverse"===l.flexDirection,t="row"===l.flexDirection||"row-reverse"===l.flexDirection||!l.flexDirection;(e&&!i||t&&!i)&&(c=0)}}else c=0;return{flex:r,flexShrink:c,minHeight:0,minWidth:0,...l}}}exports.ThemeUtil=t;
1
+ "use strict";var e=require("../helper/common.helper.cjs"),t=Object.defineProperty,r=(e,r,l)=>((e,r,l)=>r in e?t(e,r,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[r]=l)(e,"symbol"!=typeof r?r+"":r,l);const l=class{constructor(){}static parseFlexShorthand(e){if(null==e)return null;if("number"==typeof e)return{grow:e,shrink:1,basis:"0%"};if("string"!=typeof e)return null;const t=e.trim().toLowerCase();if(!t)return null;switch(t){case"none":return{grow:0,shrink:0,basis:"auto"};case"auto":return{grow:1,shrink:1,basis:"auto"};case"initial":return{grow:0,shrink:1,basis:"auto"};default:return null}}};r(l,"isPlainObject",e=>{if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype}),r(l,"resolveObjWithTheme",(t,r,n={})=>{const{processFunctions:s=!1,themeStringsMode:o="resolve"}=n;if(!r||!r.system||"object"!=typeof r.system||0===Object.keys(r.system).length||!t||0===Object.keys(t).length)return t;const i=r.system,a=[{value:t,isProcessed:!1}],u=new Map,c=new Set,f=/theme\.([a-zA-Z0-9_.-]+)/g,p=(t,r)=>{f.lastIndex=0;let l=!1;const n=t.replace(f,(t,n)=>{if(r)return l=!0,`var(${s=n,`--meonode-theme-${s.replace(/[^\w.-]/g,"-").replace(/\./g,"-")}`})`;var s;const o=e.getValueByPath(i,n);if(null!=o){if(l=!0,"object"==typeof o){if(!Array.isArray(o)&&"default"in o)return o.default;throw new Error("The provided theme path is invalid!")}return o}return t});return l?n:t};for(;a.length>0;){const e=a[a.length-1],t=e.value;if(l.isPlainObject(t)||Array.isArray(t))if(u.has(t))a.pop();else if(e.isProcessed){a.pop(),c.delete(t);let e=t;if(Array.isArray(t)){let r=null;for(let e=0;e<t.length;e++){const l=t[e],n=u.get(l)??l;n!==l&&(null===r&&(r=[...t]),r[e]=n)}null!==r&&(e=r)}else{let l=null;for(const e in t)if(Object.prototype.hasOwnProperty.call(t,e)){const n=t[e];let i=u.get(n)??n,a=e;"string"==typeof e&&e.includes("theme.")&&(a=p(e,!1));const c="vars"===o;if("function"==typeof i&&s){const e=i(r);i="string"==typeof e&&e.includes("theme.")?p(e,c):e}else"string"==typeof i&&i.includes("theme.")&&(i=p(i,c));i===n&&a===e||(null===l&&(l={...t}),a!==e&&delete l[e],l[a]=i)}null!==l&&(e=l)}u.set(t,e)}else{e.isProcessed=!0,c.add(t);const r=Array.isArray(t)?t:Object.values(t);for(let e=r.length-1;e>=0;e--){const t=r[e];!l.isPlainObject(t)&&!Array.isArray(t)||c.has(t)||a.push({value:t,isProcessed:!1})}}else a.pop()}return u.get(t)??t}),r(l,"resolveDefaultStyle",e=>{if(null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return{};const{flex:t,...r}=e,n="flex"===r.display||"inline-flex"===r.display,s=!!(r.overflow||r.overflowY||r.overflowX),o=r.flexFlow?.includes("wrap")||"wrap"===r.flexWrap||"wrap-reverse"===r.flexWrap,i="flexShrink"in e&&void 0!==e.flexShrink,a=t?l.parseFlexShorthand(t):null;let u;if(!i)if(a)u=a.shrink;else if(n){if(!s){const e="column"===r.flexDirection||"column-reverse"===r.flexDirection,t="row"===r.flexDirection||"row-reverse"===r.flexDirection||!r.flexDirection;(e&&!o||t&&!o)&&(u=0)}}else u=0;return{flex:t,flexShrink:u,minHeight:0,minWidth:0,...r}});let n=l;exports.ThemeUtil=n;
@@ -1 +1 @@
1
- const o=["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"];export{o as default};
1
+ const o=new Set(["MozAnimation","MozAnimationDelay","MozAnimationDirection","MozAnimationDuration","MozAnimationFillMode","MozAnimationIterationCount","MozAnimationName","MozAnimationPlayState","MozAnimationTimingFunction","MozAppearance","MozBinding","MozBorderBottomColors","MozBorderEndColor","MozBorderEndStyle","MozBorderEndWidth","MozBorderImage","MozBorderLeftColors","MozBorderRightColors","MozBorderStartColor","MozBorderStartStyle","MozBorderTopColors","MozBoxSizing","MozColumnCount","MozColumnFill","MozColumnRule","MozColumnRuleColor","MozColumnRuleStyle","MozColumnRuleWidth","MozColumnWidth","MozColumns","MozContextProperties","MozFontFeatureSettings","MozFontLanguageOverride","MozHyphens","MozImageRegion","MozMarginEnd","MozMarginStart","MozOrient","MozOsxFontSmoothing","MozOutlineRadius","MozOutlineRadiusBottomleft","MozOutlineRadiusBottomright","MozOutlineRadiusTopleft","MozOutlineRadiusTopright","MozPaddingEnd","MozPaddingStart","MozStackSizing","MozTabSize","MozTextBlink","MozTextSizeAdjust","MozUserFocus","MozUserModify","MozUserSelect","MozWindowDragging","MozWindowShadow","WebkitAlignContent","WebkitAlignItems","WebkitAlignSelf","WebkitAnimation","WebkitAnimationDelay","WebkitAnimationDirection","WebkitAnimationDuration","WebkitAnimationFillMode","WebkitAnimationIterationCount","WebkitAnimationName","WebkitAnimationPlayState","WebkitAnimationTimingFunction","WebkitAppearance","WebkitBackdropFilter","WebkitBackfaceVisibility","WebkitBackgroundClip","WebkitBackgroundOrigin","WebkitBackgroundSize","WebkitBorderBefore","WebkitBorderBeforeColor","WebkitBorderBeforeStyle","WebkitBorderBeforeWidth","WebkitBorderBottomLeftRadius","WebkitBorderBottomRightRadius","WebkitBorderImage","WebkitBorderImageSlice","WebkitBorderRadius","WebkitBorderTopLeftRadius","WebkitBorderTopRightRadius","WebkitBoxDecorationBreak","WebkitBoxReflect","WebkitBoxShadow","WebkitBoxSizing","WebkitClipPath","WebkitColumnCount","WebkitColumnFill","WebkitColumnRule","WebkitColumnRuleColor","WebkitColumnRuleStyle","WebkitColumnRuleWidth","WebkitColumnSpan","WebkitColumnWidth","WebkitColumns","WebkitFilter","WebkitFlex","WebkitFlexBasis","WebkitFlexDirection","WebkitFlexFlow","WebkitFlexGrow","WebkitFlexShrink","WebkitFlexWrap","WebkitFontFeatureSettings","WebkitFontKerning","WebkitFontSmoothing","WebkitFontVariantLigatures","WebkitHyphenateCharacter","WebkitHyphens","WebkitInitialLetter","WebkitJustifyContent","WebkitLineBreak","WebkitLineClamp","WebkitMarginEnd","WebkitMarginStart","WebkitMask","WebkitMaskAttachment","WebkitMaskBoxImage","WebkitMaskBoxImageOutset","WebkitMaskBoxImageRepeat","WebkitMaskBoxImageSlice","WebkitMaskBoxImageSource","WebkitMaskBoxImageWidth","WebkitMaskClip","WebkitMaskComposite","WebkitMaskImage","WebkitMaskOrigin","WebkitMaskPosition","WebkitMaskPositionX","WebkitMaskPositionY","WebkitMaskRepeat","WebkitMaskRepeatX","WebkitMaskRepeatY","WebkitMaskSize","WebkitMaxInlineSize","WebkitOrder","WebkitOverflowScrolling","WebkitPaddingEnd","WebkitPaddingStart","WebkitPerspective","WebkitPerspectiveOrigin","WebkitPrintColorAdjust","WebkitRubyPosition","WebkitScrollSnapType","WebkitShapeMargin","WebkitTapHighlightColor","WebkitTextCombine","WebkitTextDecorationColor","WebkitTextDecorationLine","WebkitTextDecorationSkip","WebkitTextDecorationStyle","WebkitTextEmphasis","WebkitTextEmphasisColor","WebkitTextEmphasisPosition","WebkitTextEmphasisStyle","WebkitTextFillColor","WebkitTextOrientation","WebkitTextSizeAdjust","WebkitTextStroke","WebkitTextStrokeColor","WebkitTextStrokeWidth","WebkitTextUnderlinePosition","WebkitTouchCallout","WebkitTransform","WebkitTransformOrigin","WebkitTransformStyle","WebkitTransition","WebkitTransitionDelay","WebkitTransitionDuration","WebkitTransitionProperty","WebkitTransitionTimingFunction","WebkitUserModify","WebkitUserSelect","WebkitWritingMode","accentColor","alignContent","alignItems","alignSelf","alignTracks","all","animation","animationComposition","animationDelay","animationDirection","animationDuration","animationFillMode","animationIterationCount","animationName","animationPlayState","animationRange","animationRangeEnd","animationRangeStart","animationTimeline","animationTimingFunction","appearance","aspectRatio","backdropFilter","backfaceVisibility","background","backgroundAttachment","backgroundBlendMode","backgroundClip","backgroundColor","backgroundImage","backgroundOrigin","backgroundPosition","backgroundPositionX","backgroundPositionY","backgroundRepeat","backgroundSize","blockOverflow","blockSize","border","borderBlock","borderBlockColor","borderBlockEnd","borderBlockEndColor","borderBlockEndStyle","borderBlockEndWidth","borderBlockStart","borderBlockStartColor","borderBlockStartStyle","borderBlockStartWidth","borderBlockStyle","borderBlockWidth","borderBottom","borderBottomColor","borderBottomLeftRadius","borderBottomRightRadius","borderBottomStyle","borderBottomWidth","borderCollapse","borderColor","borderEndEndRadius","borderEndStartRadius","borderImage","borderImageOutset","borderImageRepeat","borderImageSlice","borderImageSource","borderImageWidth","borderInline","borderInlineColor","borderInlineEnd","borderInlineEndColor","borderInlineEndStyle","borderInlineEndWidth","borderInlineStart","borderInlineStartColor","borderInlineStartStyle","borderInlineStartWidth","borderInlineStyle","borderInlineWidth","borderLeft","borderLeftColor","borderLeftStyle","borderLeftWidth","borderRadius","borderRight","borderRightColor","borderRightStyle","borderRightWidth","borderSpacing","borderStartEndRadius","borderStartStartRadius","borderStyle","borderTop","borderTopColor","borderTopLeftRadius","borderTopRightRadius","borderTopStyle","borderTopWidth","borderWidth","bottom","boxDecorationBreak","boxShadow","boxSizing","breakAfter","breakBefore","breakInside","captionSide","caret","caretColor","caretShape","clear","clipPath","color","colorAdjust","colorScheme","columnCount","columnFill","columnGap","columnRule","columnRuleColor","columnRuleStyle","columnRuleWidth","columnSpan","columnWidth","columns","contain","containIntrinsicBlockSize","containIntrinsicHeight","containIntrinsicInlineSize","containIntrinsicSize","containIntrinsicWidth","container","containerName","containerType","content","contentVisibility","counterIncrement","counterReset","counterSet","cursor","direction","display","emptyCells","filter","flex","flexBasis","flexDirection","flexFlow","flexGrow","flexShrink","flexWrap","float","font","fontFamily","fontFeatureSettings","fontKerning","fontLanguageOverride","fontOpticalSizing","fontPalette","fontSize","fontSizeAdjust","fontSmooth","fontStretch","fontStyle","fontSynthesis","fontSynthesisPosition","fontSynthesisSmallCaps","fontSynthesisStyle","fontSynthesisWeight","fontVariant","fontVariantAlternates","fontVariantCaps","fontVariantEastAsian","fontVariantEmoji","fontVariantLigatures","fontVariantNumeric","fontVariantPosition","fontVariationSettings","fontWeight","forcedColorAdjust","gap","grid","gridArea","gridAutoColumns","gridAutoFlow","gridAutoRows","gridColumn","gridColumnEnd","gridColumnStart","gridRow","gridRowEnd","gridRowStart","gridTemplate","gridTemplateAreas","gridTemplateColumns","gridTemplateRows","hangingPunctuation","height","hyphenateCharacter","hyphenateLimitChars","hyphens","imageOrientation","imageRendering","imageResolution","initialLetter","inlineSize","inputSecurity","inset","insetBlock","insetBlockEnd","insetBlockStart","insetInline","insetInlineEnd","insetInlineStart","isolation","justifyContent","justifyItems","justifySelf","justifyTracks","left","letterSpacing","lineBreak","lineClamp","lineHeight","lineHeightStep","listStyle","listStyleImage","listStylePosition","listStyleType","margin","marginBlock","marginBlockEnd","marginBlockStart","marginBottom","marginInline","marginInlineEnd","marginInlineStart","marginLeft","marginRight","marginTop","marginTrim","mask","maskBorder","maskBorderMode","maskBorderOutset","maskBorderRepeat","maskBorderSlice","maskBorderSource","maskBorderWidth","maskClip","maskComposite","maskImage","maskMode","maskOrigin","maskPosition","maskRepeat","maskSize","maskType","masonryAutoFlow","mathDepth","mathShift","mathStyle","maxBlockSize","maxHeight","maxInlineSize","maxLines","maxWidth","minBlockSize","minHeight","minInlineSize","minWidth","mixBlendMode","motion","motionDistance","motionPath","motionRotation","msAccelerator","msBlockProgression","msContentZoomChaining","msContentZoomLimit","msContentZoomLimitMax","msContentZoomLimitMin","msContentZoomSnap","msContentZoomSnapPoints","msContentZoomSnapType","msContentZooming","msFilter","msFlex","msFlexDirection","msFlexPositive","msFlowFrom","msFlowInto","msGridColumns","msGridRows","msHighContrastAdjust","msHyphenateLimitChars","msHyphenateLimitLines","msHyphenateLimitZone","msHyphens","msImeAlign","msLineBreak","msOrder","msOverflowStyle","msOverflowX","msOverflowY","msScrollChaining","msScrollLimit","msScrollLimitXMax","msScrollLimitXMin","msScrollLimitYMax","msScrollLimitYMin","msScrollRails","msScrollSnapPointsX","msScrollSnapPointsY","msScrollSnapType","msScrollSnapX","msScrollSnapY","msScrollTranslation","msScrollbar3dlightColor","msScrollbarArrowColor","msScrollbarBaseColor","msScrollbarDarkshadowColor","msScrollbarFaceColor","msScrollbarHighlightColor","msScrollbarShadowColor","msScrollbarTrackColor","msTextAutospace","msTextCombineHorizontal","msTextOverflow","msTouchAction","msTouchSelect","msTransform","msTransformOrigin","msTransition","msTransitionDelay","msTransitionDuration","msTransitionProperty","msTransitionTimingFunction","msUserSelect","msWordBreak","msWrapFlow","msWrapMargin","msWrapThrough","msWritingMode","objectFit","objectPosition","offset","offsetAnchor","offsetDistance","offsetPath","offsetPosition","offsetRotate","offsetRotation","opacity","order","orphans","outline","outlineColor","outlineOffset","outlineStyle","outlineWidth","overflow","overflowAnchor","overflowBlock","overflowClipBox","overflowClipMargin","overflowInline","overflowWrap","overflowX","overflowY","overlay","overscrollBehavior","overscrollBehaviorBlock","overscrollBehaviorInline","overscrollBehaviorX","overscrollBehaviorY","padding","paddingBlock","paddingBlockEnd","paddingBlockStart","paddingBottom","paddingInline","paddingInlineEnd","paddingInlineStart","paddingLeft","paddingRight","paddingTop","page","pageBreakAfter","pageBreakBefore","pageBreakInside","paintOrder","perspective","perspectiveOrigin","placeContent","placeItems","placeSelf","pointerEvents","position","printColorAdjust","quotes","resize","right","rotate","rowGap","rubyAlign","rubyMerge","rubyPosition","scale","scrollBehavior","scrollMargin","scrollMarginBlock","scrollMarginBlockEnd","scrollMarginBlockStart","scrollMarginBottom","scrollMarginInline","scrollMarginInlineEnd","scrollMarginInlineStart","scrollMarginLeft","scrollMarginRight","scrollMarginTop","scrollPadding","scrollPaddingBlock","scrollPaddingBlockEnd","scrollPaddingBlockStart","scrollPaddingBottom","scrollPaddingInline","scrollPaddingInlineEnd","scrollPaddingInlineStart","scrollPaddingLeft","scrollPaddingRight","scrollPaddingTop","scrollSnapAlign","scrollSnapMargin","scrollSnapMarginBottom","scrollSnapMarginLeft","scrollSnapMarginRight","scrollSnapMarginTop","scrollSnapStop","scrollSnapType","scrollTimeline","scrollTimelineAxis","scrollTimelineName","scrollbarColor","scrollbarGutter","scrollbarWidth","shapeImageThreshold","shapeMargin","shapeOutside","tabSize","tableLayout","textAlign","textAlignLast","textCombineUpright","textDecoration","textDecorationColor","textDecorationLine","textDecorationSkip","textDecorationSkipInk","textDecorationStyle","textDecorationThickness","textEmphasis","textEmphasisColor","textEmphasisPosition","textEmphasisStyle","textIndent","textJustify","textOrientation","textOverflow","textRendering","textShadow","textSizeAdjust","textTransform","textUnderlineOffset","textUnderlinePosition","textWrap","timelineScope","top","touchAction","transform","transformBox","transformOrigin","transformStyle","transition","transitionBehavior","transitionDelay","transitionDuration","transitionProperty","transitionTimingFunction","translate","unicodeBidi","userSelect","verticalAlign","viewTimeline","viewTimelineAxis","viewTimelineInset","viewTimelineName","viewTransitionName","visibility","whiteSpace","whiteSpaceCollapse","whiteSpaceTrim","widows","width","willChange","wordBreak","wordSpacing","wordWrap","writingMode","zIndex","zoom"]);export{o as default};
@@ -1 +1 @@
1
- import{Fragment as e,createElement as t}from"react";import{isValidElementType as n,isFragment as s}from"./helper/react-is.helper.js";import{getGlobalState as r,getComponentType as o,hasNoStyleTag as i,getElementTypeName as a}from"./helper/common.helper.js";import l from"./components/styled-renderer.client.js";import{__DEBUG__ as c}from"./constant/common.const.js";import{MountTrackerUtil as d}from"./util/mount-tracker.util.js";import h from"./components/meonode-unmounter.client.js";import{NavigationCacheManagerUtil as m}from"./util/navigation-cache-manager.util.js";import{NodeUtil as p}from"./util/node.util.js";import{compileServerEmotionClassName as u}from"./util/server-emotion.util.js";import{setActiveServerTheme as f,registerServerThemeVariables as g,getActiveServerTheme as y,replaceThemeTokensWithCssVars as C}from"./util/server-theme.util.js";import{ThemeUtil as v}from"./util/theme.util.js";const S=Symbol.for("@meonode/ui/BaseNode/elementCache"),b=Symbol.for("@meonode/ui/BaseNode/navigationStarted"),w=Symbol.for("@meonode/ui/BaseNode/renderContextPool"),k=Symbol.for("@meonode/ui/BaseNode/cacheCleanupRegistry");class j{static _idCounter=0;instanceId="m"+ ++j._idCounter;element;rawProps={};isBaseNode=!0;_props;_deps;stableKey;lastPropsObj;lastSignature;static get elementCache(){return r(S,()=>new Map)}static get _navigationStarted(){return r(b,()=>({value:!1})).value}static set _navigationStarted(e){r(b,()=>({value:!1})).value=e}static get renderContextPool(){return r(w,()=>[])}static acquireRenderContext(){const e=j.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){j.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),j.renderContextPool.push(e))}constructor(e,t={},s){if(!n(e)){const t=o(e);if(p.isNodeInstance(e))throw new Error("Invalid element type: MeoNode UI instance provided!");throw new Error(`Invalid element type: ${t} provided!`)}if(this.element=e,this.rawProps=t,this._deps=s,p.isServer&&p.providesServerTheme(e)){const e=t.theme;if(e&&"object"==typeof e&&"system"in e){const t=e;f(t),g(t)}}const{ref:r,children:i,...a}=t;this.stableKey=this._getStableKey(a),p.isServer||j._navigationStarted||(m.getInstance().start(),j._navigationStarted=!0)}get props(){return this._props||(this._props=p.processProps(this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(p.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const n=Object.keys(t),s=n.length;if(s>100){const e=p.extractCriticalProps(t,n);this.lastSignature=p.createPropSignature(this.element,e),c&&s>200&&console.warn(`MeoNode: Large props (${s} keys) on "${a(this.element)}". Consider splitting.`)}else this.lastSignature=p.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static get cacheCleanupRegistry(){return r(k,()=>new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:n}=e,s=j.elementCache.get(t);s?.instanceId===n&&j.elementCache.delete(t),d.isMounted(t)&&d.untrackMount(t)}))}render(n=!1){const r=p.shouldCacheElement(this)?j.elementCache.get(this.stableKey):void 0,o=p.shouldNodeUpdate(r?.prevDeps,this._deps,n);if(!o&&r?.renderedElement)return r.accessCount+=1,r.renderedElement;const a=!o,c=j.acquireRenderContext();let{workStack:d}=c;const{renderedElements:m}=c;let f=0;try{const n=e=>{if(e>d.length){const t=Math.max(e,d.length<<1),n=new Array(t);for(let e=0;e<f;e++)n[e]=d[e];d=n}};for(d[f++]={node:this,isProcessed:!1,blocked:a,theme:void 0};f>0;){const r=d[f-1];if(!r){f--;continue}const{node:o,isProcessed:a,blocked:c,theme:h}=r,g=(e,t)=>{const n=e.theme;return n&&"object"==typeof n&&"system"in n?n:t??y()};if(a){f--;const{children:n,key:r,css:a,nativeProps:c,disableEmotion:d,...y}=o.props,S=g(o.props,h);let b=[];if(n){const e=Array.isArray(n)?n:[n],t=e.length;b=new Array(t);for(let n=0;n<t;n++){const t=e[n];if(p.isNodeInstance(t)){const e=m.get(t);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${t.stableKey}`);b[n]=e}else b[n]=t}}const w={...y,key:r,...c};let k;if(o.element===e||s(o.element))k=t(o.element,{key:r},...b);else{const e=!d&&(a||!i(o.element)),n=p.isServer&&"string"!=typeof o.element,s=e&&n&&p.isClientReference(o.element);if(e&&!n||s){const e=p.isServer?C(a):a;k=t(l,{element:o.element,...w,css:e},...b)}else if(e&&n&&!p.acceptsServerCss(o.element)){const e=v.resolveObjWithTheme(w,S,{processFunctions:!1}),n=v.resolveObjWithTheme(C(a),S,{processFunctions:!0,themeStringsMode:"vars"}),s=v.resolveDefaultStyle(n),r=u(s),i=[e.className,r].filter(Boolean).join(" ")||void 0,l=i?{...e,className:i}:e;k=t(o.element,l,...b)}else{const s=e&&(!n||p.acceptsServerCss(o.element))?{...w,css:a}:w;k=t(o.element,s,...b)}}if(o!==this&&p.shouldCacheElement(o)){const e=j.elementCache.get(o.stableKey);if(e)e.prevDeps=o._deps,e.renderedElement=k,e.accessCount+=1;else{const e={prevDeps:o._deps,renderedElement:k,nodeRef:new WeakRef(o),createdAt:Date.now(),accessCount:1,instanceId:o.instanceId};j.elementCache.set(o.stableKey,e),j.cacheCleanupRegistry.register(o,{cacheKey:o.stableKey,instanceId:o.instanceId},o)}}m.set(o,k)}else{r.isProcessed=!0;const e=o.props.children,t=g(o.props,h);if(e){const s=Array.isArray(e)?e:[e];let r=0;for(let e=0;e<s.length;e++)p.isNodeInstance(s[e])&&r++;n(f+r);for(let e=s.length-1;e>=0;e--){const n=s[e];if(!p.isNodeInstance(n))continue;const r=p.shouldCacheElement(n)?j.elementCache.get(n.stableKey):void 0,o=p.shouldNodeUpdate(r?.prevDeps,n._deps,c);if(!o&&r?.renderedElement){m.set(n,r.renderedElement);continue}const i=c||!o;d[f++]={node:n,isProcessed:!1,blocked:i,theme:t}}}}}let r=m.get(this);if(!p.isServer&&this.stableKey&&(r=t(h,{node:this},r)),p.shouldCacheElement(this)){const e=j.elementCache.get(this.stableKey);if(e)e.prevDeps=this._deps,e.renderedElement=r,e.accessCount+=1;else{const e={prevDeps:this._deps,renderedElement:r,nodeRef:new WeakRef(this),createdAt:Date.now(),accessCount:1,instanceId:this.instanceId};j.elementCache.set(this.stableKey,e),j.cacheCleanupRegistry.register(this,{cacheKey:this.stableKey,instanceId:this.instanceId},this)}}return r}finally{for(let e=0;e<f;e++)d[e]=null;j.releaseRenderContext({workStack:d,renderedElements:m})}}static clearCaches(){const e=Array.from(j.elementCache.keys());c&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=j.elementCache.get(t);if(e){const n=e.nodeRef?.deref();if(n)try{j.cacheCleanupRegistry.unregister(n),n.lastSignature=void 0,n.lastPropsObj=void 0}catch{c&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}j.elementCache.clear(),d.cleanup(),c&&console.log("[MeoNode] All caches cleared")}}function P(e,t={},n){return new j(e,t,n)}function _(e,t){const n=(n,s)=>P(e,{...t,...n},s);return n.element=e,n}function E(e,t){const n=(n,s,r)=>P(e,{...t,...s,children:n},r);return n.element=e,n}P.clearCaches=j.clearCaches;export{j as BaseNode,P as Node,E as createChildrenFirstNode,_ as createNode};
1
+ import{Fragment as e,createElement as t}from"react";import{isValidElementType as s,isFragment as n}from"./helper/react-is.helper.js";import{getComponentType as r,getGlobalState as o,hasNoStyleTag as i,getElementTypeName as l}from"./helper/common.helper.js";import a from"./components/styled-renderer.client.js";import{__DEBUG__ as c}from"./constant/common.const.js";import{MountTrackerUtil as d}from"./util/mount-tracker.util.js";import h from"./components/meonode-unmounter.client.js";import{NavigationCacheManagerUtil as m}from"./util/navigation-cache-manager.util.js";import{NodeUtil as p}from"./util/node.util.js";import{compileServerEmotionClassName as u}from"./util/server-emotion.util.js";import{setActiveServerTheme as f,registerServerThemeVariables as g,getActiveServerTheme as y,replaceThemeTokensWithCssVars as C}from"./util/server-theme.util.js";import{ThemeUtil as v}from"./util/theme.util.js";var b=Object.defineProperty,S=(e,t,s)=>((e,t,s)=>t in e?b(e,t,{enumerable:!0,configurable:!0,writable:!0,value:s}):e[t]=s)(e,"symbol"!=typeof t?t+"":t,s);const w=Symbol.for("@meonode/ui/BaseNode/elementCache"),k=Symbol.for("@meonode/ui/BaseNode/navigationStarted"),j=Symbol.for("@meonode/ui/BaseNode/renderContextPool"),P=Symbol.for("@meonode/ui/BaseNode/cacheCleanupRegistry"),_=class b{constructor(e,t={},n){if(S(this,"instanceId","m"+ ++b._idCounter),S(this,"element"),S(this,"rawProps",{}),S(this,"isBaseNode",!0),S(this,"_props"),S(this,"_deps"),S(this,"stableKey"),S(this,"lastPropsObj"),S(this,"lastSignature"),!s(e)){const t=r(e);if(p.isNodeInstance(e))throw new Error("Invalid element type: MeoNode UI instance provided!");throw new Error(`Invalid element type: ${t} provided!`)}if(this.element=e,this.rawProps=t,this._deps=n,p.isServer&&p.providesServerTheme(e)){const e=t.theme;if(e&&"object"==typeof e&&"system"in e){const t=e;f(t),g(t)}}const{ref:o,children:i,...l}=t;this.stableKey=this._getStableKey(l),p.isServer||b._navigationStarted||(m.getInstance().start(),b._navigationStarted=!0)}static get elementCache(){return o(w,()=>new Map)}static get _navigationStarted(){return o(k,()=>({value:!1})).value}static set _navigationStarted(e){o(k,()=>({value:!1})).value=e}static get renderContextPool(){return o(j,()=>[])}static acquireRenderContext(){const e=b.renderContextPool;return e.length>0?e.pop():{workStack:new Array(512),renderedElements:new Map}}static releaseRenderContext(e){b.renderContextPool.length<50&&e.workStack.length<2048&&(e.workStack.length=0,e.renderedElements.clear(),b.renderContextPool.push(e))}get props(){return this._props||(this._props=p.processProps(this.rawProps,this.stableKey)),this._props}get dependencies(){return this._deps}_getStableKey({key:e,...t}){if(p.isServer)return;if(this.lastPropsObj===t)return this.lastSignature;this.lastPropsObj=t;const s=Object.keys(t),n=s.length;if(n>100){const e=p.extractCriticalProps(t,s);this.lastSignature=p.createPropSignature(this.element,e),c&&n>200&&console.warn(`MeoNode: Large props (${n} keys) on "${l(this.element)}". Consider splitting.`)}else this.lastSignature=p.createPropSignature(this.element,t);return null!=e?`${String(e)}:${this.lastSignature}`:this.lastSignature}static get cacheCleanupRegistry(){return o(P,()=>new FinalizationRegistry(e=>{const{cacheKey:t,instanceId:s}=e,n=b.elementCache.get(t);n?.instanceId===s&&b.elementCache.delete(t),d.isMounted(t)&&d.untrackMount(t)}))}render(s=!1){const r=p.shouldCacheElement(this)?b.elementCache.get(this.stableKey):void 0,o=p.shouldNodeUpdate(r?.prevDeps,this._deps,s);if(!o&&r?.renderedElement)return r.accessCount+=1,r.renderedElement;const l=!o,c=b.acquireRenderContext();let{workStack:d}=c;const{renderedElements:m}=c;let f=0;try{const s=e=>{if(e>d.length){const t=Math.max(e,d.length<<1),s=new Array(t);for(let e=0;e<f;e++)s[e]=d[e];d=s}};for(d[f++]={node:this,isProcessed:!1,blocked:l,theme:void 0};f>0;){const r=d[f-1];if(!r){f--;continue}const{node:o,isProcessed:l,blocked:c,theme:h}=r,g=(e,t)=>{const s=e.theme;return s&&"object"==typeof s&&"system"in s?s:t??y()};if(l){f--;const{children:s,key:r,css:l,nativeProps:c,disableEmotion:d,...y}=o.props,S=g(o.props,h);let w=[];if(s){const e=Array.isArray(s)?s:[s],t=e.length;w=new Array(t);for(let s=0;s<t;s++){const t=e[s];if(p.isNodeInstance(t)){const e=m.get(t);if(!e)throw new Error(`[MeoNode] Missing rendered element for child node: ${t.stableKey}`);w[s]=e}else w[s]=t}}const k={...y,key:r,...c};let j;if(o.element===e||n(o.element))j=t(o.element,{key:r},...w);else{const e=!d&&(l||!i(o.element))&&Object.keys(l||{}).length>0,s=p.isServer&&"string"!=typeof o.element,n=e&&s&&p.isClientReference(o.element);if(e&&!s||n){const e=p.isServer?C(l):l;j=t(a,{element:o.element,...k,css:e},...w)}else if(e&&s&&!p.acceptsServerCss(o.element)){const e=v.resolveObjWithTheme(k,S,{processFunctions:!1}),s=v.resolveObjWithTheme(C(l),S,{processFunctions:!0,themeStringsMode:"vars"}),n=v.resolveDefaultStyle(s),r=u(n),i=[e.className,r].filter(Boolean).join(" ")||void 0,a=i?{...e,className:i}:e;j=t(o.element,a,...w)}else{const n=e&&(!s||p.acceptsServerCss(o.element))?{...k,css:l}:k;j=t(o.element,n,...w)}}if(o!==this&&p.shouldCacheElement(o)){const e=b.elementCache.get(o.stableKey);if(e)e.prevDeps=o._deps,e.renderedElement=j,e.accessCount+=1;else{const e={prevDeps:o._deps,renderedElement:j,nodeRef:new WeakRef(o),createdAt:Date.now(),accessCount:1,instanceId:o.instanceId};b.elementCache.set(o.stableKey,e),b.cacheCleanupRegistry.register(o,{cacheKey:o.stableKey,instanceId:o.instanceId},o)}}m.set(o,j)}else{r.isProcessed=!0;const e=o.props.children,t=g(o.props,h);if(e){const n=Array.isArray(e)?e:[e];let r=0;for(let e=0;e<n.length;e++)p.isNodeInstance(n[e])&&r++;s(f+r);for(let e=n.length-1;e>=0;e--){const s=n[e];if(!p.isNodeInstance(s))continue;const r=p.shouldCacheElement(s)?b.elementCache.get(s.stableKey):void 0,o=p.shouldNodeUpdate(r?.prevDeps,s._deps,c);if(!o&&r?.renderedElement){m.set(s,r.renderedElement);continue}const i=c||!o;d[f++]={node:s,isProcessed:!1,blocked:i,theme:t}}}}}let r=m.get(this);if(!p.isServer&&this.stableKey&&(r=t(h,{node:this},r)),p.shouldCacheElement(this)){const e=b.elementCache.get(this.stableKey);if(e)e.prevDeps=this._deps,e.renderedElement=r,e.accessCount+=1;else{const e={prevDeps:this._deps,renderedElement:r,nodeRef:new WeakRef(this),createdAt:Date.now(),accessCount:1,instanceId:this.instanceId};b.elementCache.set(this.stableKey,e),b.cacheCleanupRegistry.register(this,{cacheKey:this.stableKey,instanceId:this.instanceId},this)}}return r}finally{for(let e=0;e<f;e++)d[e]=null;b.releaseRenderContext({workStack:d,renderedElements:m})}}static clearCaches(){const e=Array.from(b.elementCache.keys());c&&console.log(`[MeoNode] clearCaches: Clearing ${e.length} entries`);for(const t of e){const e=b.elementCache.get(t);if(e){const s=e.nodeRef?.deref();if(s)try{b.cacheCleanupRegistry.unregister(s),s.lastSignature=void 0,s.lastPropsObj=void 0}catch{c&&console.warn(`[MeoNode] Could not unregister ${t} from FinalizationRegistry`)}}}b.elementCache.clear(),d.cleanup(),c&&console.log("[MeoNode] All caches cleared")}};S(_,"_idCounter",0);let E=_;function I(e,t={},s){return new E(e,t,s)}function N(e,t){const s=(s,n)=>I(e,{...t,...s},n);return s.element=e,s}function K(e,t){const s=(s,n,r)=>I(e,{...t,...n,children:s},r);return s.element=e,s}I.clearCaches=E.clearCaches;export{E as BaseNode,I as Node,K as createChildrenFirstNode,N as createNode};
@@ -1 +1 @@
1
- import{isForwardRef as e,isMemo as t,isFragment as n,isPortal as r,isProfiler as o,isStrictMode as s,isSuspense as c,isSuspenseList as a,isContextConsumer as p,isContextProvider as i,isLazy as u,isElement as l,isReactClassComponent as m}from"./react-is.helper.js";import f from"../constant/css-properties.const.js";import{noStyleTagsSet as d}from"../constant/common.const.js";const y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function w(e,t){return e in y||(y[e]=t()),y[e]}const C=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),b=f=>e(f)?"forwardRef":t(f)?"memo":n(f)?"fragment":r(f)?"portal":o(f)?"profiler":s(f)?"strict-mode":c(f)?"suspense":a(f)?"suspense-list":p(f)?"context-consumer":i(f)?"context-provider":u(f)?"lazy":l(f)?"element":m(f)?"class":typeof f;function h(e){function t(e,t){const n=e?.displayName||e?.name;return n&&"render"!==n?n:t}if(null==e)return"UnknownElementType";const n=e,r=b(n);switch(r){case"string":return e;case"class":return t(n,"ClassComponent");case"function":return t(n,"AnonymousFunctionComponent");case"forwardRef":return t(n,"")||t(n.render,"")||"ForwardRefComponent";case"memo":return t(n,"")||(n.type?h(n.type):"MemoComponent");case"element":return h(n.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return t(n,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return t(n,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return n._context?.displayName?`${n._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return n._context?.displayName?`${n._context.displayName}.Provider`:"ContextProvider";case"lazy":return t(n,"LazyComponent");case"object":return t(n,"")?t(n,""):"function"==typeof n.render?t(n.render,"ObjectWithRender"):n.type&&n.type!==e?`Wrapped<${h(n.type)}>`:t(n,"ObjectComponent");case"symbol":return"symbol"==typeof e?e.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||e.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${r}>`}}const x=new Set(f);function g(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&x.has(n)&&(t[n]=e[n]);return t}function j(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&!x.has(n)&&(t[n]=e[n]);return t}function O(e){return!(!e||"string"!=typeof e)&&d.has(e.toLowerCase())}function v(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]);return t}export{x as CSSPropertySet,g as getCSSProps,b as getComponentType,j as getDOMProps,h as getElementTypeName,w as getGlobalState,C as getValueByPath,O as hasNoStyleTag,v as omitUndefined};
1
+ import{isForwardRef as e,isMemo as t,isFragment as n,isPortal as r,isProfiler as o,isStrictMode as s,isSuspense as c,isSuspenseList as a,isContextConsumer as p,isContextProvider as i,isLazy as u,isElement as l,isReactClassComponent as m}from"./react-is.helper.js";import f from"../constant/css-properties.const.js";import{noStyleTagsSet as d}from"../constant/common.const.js";const y="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:{};function w(e,t){return e in y||(y[e]=t()),y[e]}const C=(e,t)=>t.split(".").reduce((e,t)=>e&&void 0!==e[t]?e[t]:void 0,e),b=f=>e(f)?"forwardRef":t(f)?"memo":n(f)?"fragment":r(f)?"portal":o(f)?"profiler":s(f)?"strict-mode":c(f)?"suspense":a(f)?"suspense-list":p(f)?"context-consumer":i(f)?"context-provider":u(f)?"lazy":l(f)?"element":m(f)?"class":typeof f;function h(e){function t(e,t){const n=e?.displayName||e?.name;return n&&"render"!==n?n:t}if(null==e)return"UnknownElementType";const n=e,r=b(n);switch(r){case"string":return e;case"class":return t(n,"ClassComponent");case"function":return t(n,"AnonymousFunctionComponent");case"forwardRef":return t(n,"")||t(n.render,"")||"ForwardRefComponent";case"memo":return t(n,"")||(n.type?h(n.type):"MemoComponent");case"element":return h(n.type);case"fragment":return"Fragment";case"portal":return"Portal";case"profiler":return t(n,"Profiler");case"strict-mode":return"StrictMode";case"suspense":return t(n,"Suspense");case"suspense-list":return"SuspenseList";case"context-consumer":return n._context?.displayName?`${n._context.displayName}.Consumer`:"ContextConsumer";case"context-provider":return n._context?.displayName?`${n._context.displayName}.Provider`:"ContextProvider";case"lazy":return t(n,"LazyComponent");case"object":return t(n,"")?t(n,""):"function"==typeof n.render?t(n.render,"ObjectWithRender"):n.type&&n.type!==e?`Wrapped<${h(n.type)}>`:t(n,"ObjectComponent");case"symbol":return"symbol"==typeof e?e.description?.replace(/^react\./,"").split(".").map(e=>e[0]?.toUpperCase()+e.slice(1)).join("")||e.toString():"SymbolComponent";case"unknown":return"UnknownElementType";default:return`UnsupportedType<${r}>`}}function x(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&f.has(n)&&(t[n]=e[n]);return t}function g(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&!f.has(n)&&(t[n]=e[n]);return t}function j(e){return!(!e||"string"!=typeof e)&&d.has(e.toLowerCase())}function O(e){const t={};for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&void 0!==e[n]&&(t[n]=e[n]);return t}export{x as getCSSProps,b as getComponentType,g as getDOMProps,h as getElementTypeName,w as getGlobalState,C as getValueByPath,j as hasNoStyleTag,O as omitUndefined};
@@ -1 +1 @@
1
- import{__DEBUG__ as t}from"../constant/common.const.js";class n{constructor(){}static _mountedCounts=new Map;static _unmountCallCount=new Map;static isMounted(t){return(this._mountedCounts.get(t)||0)>0}static trackMount(n){const o=this._mountedCounts.get(n)||0;this._mountedCounts.set(n,o+1),t&&this._unmountCallCount.delete(n)}static untrackMount(n){const o=this._mountedCounts.get(n)||0;if(o>0){const t=o-1;return 0===t?this._mountedCounts.delete(n):this._mountedCounts.set(n,t),t>0}if(t){const t=(this._unmountCallCount.get(n)||0)+1;this._unmountCallCount.set(n,t),t>1&&console.warn(`[MeoNode] untrackMount called ${t} times for an already unmounted node: ${n}. This could indicate a memory leak or a bug in a component's lifecycle.`)}return!1}static cleanup(){this._mountedCounts.clear(),t&&this._unmountCallCount.clear()}}export{n as MountTrackerUtil};
1
+ import{__DEBUG__ as t}from"../constant/common.const.js";var n=Object.defineProperty,o=(t,o,e)=>((t,o,e)=>o in t?n(t,o,{enumerable:!0,configurable:!0,writable:!0,value:e}):t[o]=e)(t,"symbol"!=typeof o?o+"":o,e);class e{constructor(){}static isMounted(t){return(this._mountedCounts.get(t)||0)>0}static trackMount(n){const o=this._mountedCounts.get(n)||0;this._mountedCounts.set(n,o+1),t&&this._unmountCallCount.delete(n)}static untrackMount(n){const o=this._mountedCounts.get(n)||0;if(o>0){const t=o-1;return 0===t?this._mountedCounts.delete(n):this._mountedCounts.set(n,t),t>0}if(t){const t=(this._unmountCallCount.get(n)||0)+1;this._unmountCallCount.set(n,t),t>1&&console.warn(`[MeoNode] untrackMount called ${t} times for an already unmounted node: ${n}. This could indicate a memory leak or a bug in a component's lifecycle.`)}return!1}static cleanup(){this._mountedCounts.clear(),t&&this._unmountCallCount.clear()}}o(e,"_mountedCounts",new Map),o(e,"_unmountCallCount",new Map);export{e as MountTrackerUtil};
@@ -1 +1 @@
1
- import{__DEBUG__ as t}from"../constant/common.const.js";import{BaseNode as e}from"../core.node.js";import{MountTrackerUtil as i}from"./mount-tracker.util.js";class a{constructor(){}static _instance=null;static _originalPushState=null;static _originalReplaceState=null;static _isPatched=!1;_isListening=!1;_cleanupTimeout=null;static getInstance(){return this._instance||(this._instance=new a),this._instance}start(){this._isListening||"undefined"==typeof window||(this._isListening=!0,window.addEventListener("popstate",this._handleNavigation),this._patchHistoryMethods(),this._setupAutoCleanup(),t&&console.log("[MeoNode] NavigationCacheManagerUtil started"))}_stop(){this._isListening&&"undefined"!=typeof window&&(window.removeEventListener("popstate",this._handleNavigation),this._cleanupTimeout&&(clearTimeout(this._cleanupTimeout),this._cleanupTimeout=null),this._isListening=!1,t&&console.log("[MeoNode] NavigationCacheManagerUtil stopped"))}_handleNavigation=()=>{this._cleanupTimeout&&clearTimeout(this._cleanupTimeout);const a=e.elementCache.size,n=a<100?50:a<500?100:200;this._cleanupTimeout=setTimeout(()=>{let a=0;e.elementCache.keys().forEach(t=>{i.isMounted(t)||(e.elementCache.delete(t),a++)}),t&&console.log(`[MeoNode] Navigation: cleared ${a} unmounted elements`)},n)};_patchHistoryMethods(){a._isPatched||(a._originalPushState=history.pushState,a._originalReplaceState=history.replaceState,history.pushState=(...t)=>{a._originalPushState.apply(history,t),this._handleNavigation()},history.replaceState=(...t)=>{a._originalReplaceState.apply(history,t),this._handleNavigation()},a._isPatched=!0)}_setupAutoCleanup(){window.__MEONODE_CLEANUP_REGISTERED||(window.addEventListener("beforeunload",()=>{this._stop(),e.clearCaches()}),window.__MEONODE_CLEANUP_REGISTERED=!0)}}export{a as NavigationCacheManagerUtil};
1
+ import{__DEBUG__ as e}from"../constant/common.const.js";import{BaseNode as t}from"../core.node.js";import{MountTrackerUtil as i}from"./mount-tracker.util.js";var n=Object.defineProperty,a=(e,t,i)=>((e,t,i)=>t in e?n(e,t,{enumerable:!0,configurable:!0,writable:!0,value:i}):e[t]=i)(e,"symbol"!=typeof t?t+"":t,i);const o=class n{constructor(){a(this,"_isListening",!1),a(this,"_cleanupTimeout",null),a(this,"_handleNavigation",()=>{this._cleanupTimeout&&clearTimeout(this._cleanupTimeout);const n=t.elementCache.size,a=n<100?50:n<500?100:200;this._cleanupTimeout=setTimeout(()=>{let n=0;t.elementCache.keys().forEach(e=>{i.isMounted(e)||(t.elementCache.delete(e),n++)}),e&&console.log(`[MeoNode] Navigation: cleared ${n} unmounted elements`)},a)})}static getInstance(){return this._instance||(this._instance=new n),this._instance}start(){this._isListening||"undefined"==typeof window||(this._isListening=!0,window.addEventListener("popstate",this._handleNavigation),this._patchHistoryMethods(),this._setupAutoCleanup(),e&&console.log("[MeoNode] NavigationCacheManagerUtil started"))}_stop(){this._isListening&&"undefined"!=typeof window&&(window.removeEventListener("popstate",this._handleNavigation),this._cleanupTimeout&&(clearTimeout(this._cleanupTimeout),this._cleanupTimeout=null),this._isListening=!1,e&&console.log("[MeoNode] NavigationCacheManagerUtil stopped"))}_patchHistoryMethods(){n._isPatched||(n._originalPushState=history.pushState,n._originalReplaceState=history.replaceState,history.pushState=(...e)=>{n._originalPushState.apply(history,e),this._handleNavigation()},history.replaceState=(...e)=>{n._originalReplaceState.apply(history,e),this._handleNavigation()},n._isPatched=!0)}_setupAutoCleanup(){window.__MEONODE_CLEANUP_REGISTERED||(window.addEventListener("beforeunload",()=>{this._stop(),t.clearCaches()}),window.__MEONODE_CLEANUP_REGISTERED=!0)}};a(o,"_instance",null),a(o,"_originalPushState",null),a(o,"_originalReplaceState",null),a(o,"_isPatched",!1);let s=o;export{s as NavigationCacheManagerUtil};
@@ -1 +1 @@
1
- import e,{isValidElement as t,createElement as r}from"react";import{isReactClassComponent as o,isMemo as n,isForwardRef as s}from"../helper/react-is.helper.js";import{getGlobalState as i,getElementTypeName as c,omitUndefined as a,getCSSProps as l,getDOMProps as d}from"../helper/common.helper.js";import{__DEBUG__ as f}from"../constant/common.const.js";import{BaseNode as p}from"../core.node.js";const u=Symbol.for("@meonode/ui/NodeUtil/functionSignatureCache");class y{constructor(){}static readBooleanFlag(e,t){if("function"!=typeof e)return!1;try{return!0===e[t]}catch{return!1}}static isServer="undefined"==typeof window;static get _functionSignatureCache(){return i(u,()=>new WeakMap)}static CRITICAL_PROPS=new Set(["css","className","disableEmotion","props"]);static _propFuncCache=new WeakMap;static isClientReference(e){if(!e||"object"!=typeof e&&"function"!=typeof e)return!1;try{return e.$$typeof===Symbol.for("react.client.reference")}catch{return!1}}static acceptsServerCss(e){return y.readBooleanFlag(e,"__meonodeAcceptsServerCss")}static providesServerTheme(e){return y.readBooleanFlag(e,"__meonodeProvidesServerTheme")}static isNodeInstance=e=>e instanceof p;static isStyleProp=y.isServer||"undefined"==typeof document?()=>!1:e=>e in document.body.style;static hashString(e){let t=2166136261,r=5381;for(let o=0;o<e.length;o++){const n=e.charCodeAt(o);t^=n,t=Math.imul(t,16777619),r=Math.imul(r,33)^n}return`${(t>>>0).toString(36)}_${(r>>>0).toString(36)}`}static hashCSS(e){const t=Object.keys(e);let r=t.length;for(let o=0;o<Math.min(t.length,10);o++){const n=t[o],s=e[n];r=(r<<5)-r+n.charCodeAt(0),r&=r,"string"==typeof s&&(r=(r<<5)-r+s.length)}return r.toString(36)}static createPropSignature(e,t){if(y.isServer)return;const r=c(e),o=Object.keys(t);o.length>1&&o.sort();const n=[`${r}:`];if("function"==typeof e){let t=y._functionSignatureCache.get(e);t||(t=y.hashString(e.toString()),y._functionSignatureCache.set(e,t)),n.push(t)}for(const e of o){const r=t[e];let o;const s=typeof r;if("string"===s||"number"===s||"boolean"===s)o=`${e}:${r};`;else if(null===r)o=`${e}:null;`;else if(void 0===r)o=`${e}:undefined;`;else if("css"===e&&"object"==typeof r)o=`css:${this.hashCSS(r)};`;else if(Array.isArray(r)){const t=r.filter(e=>{const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===e});o=t.length===r.length?`${e}:[${t.join(",")}];`:`${e}:[${r.length}];`}else if(r&&r.isBaseNode)o=`${e}:${r.stableKey};`;else if("function"===s){let t=y._propFuncCache.get(r);t||(t=y.hashString(r.toString()),y._propFuncCache.set(r,t)),o=`${e}:${t};`}else{o=`${e}:{${Object.keys(r).sort().join(",")}};`}n.push(o)}return y.hashString(n.join(","))}static extractCriticalProps(e,t){const r={_keyCount:t.length};let o=0;for(const n of t){if(o>=50)break;if(y.CRITICAL_PROPS.has(n)){r[n]=e[n],o++;continue}const s=n.charCodeAt(0);111!==s||110!==n.charCodeAt(1)?!(97===s&&114===n.charCodeAt(1)&&105===n.charCodeAt(2)&&97===n.charCodeAt(3)||100===s&&97===n.charCodeAt(1)&&116===n.charCodeAt(2)&&97===n.charCodeAt(3))?t.length<=100&&y.isStyleProp(n)&&(r[n]=e[n],o++):(r[n]=e[n],o++):(r[n]=e[n],o++)}return r}static processProps(e={},t){const{ref:r,key:o,children:n,css:s,props:i={},disableEmotion:c,...f}=e;if(0===Object.keys(f).length&&!s)return a({ref:r,key:o,disableEmotion:c,nativeProps:a(i),children:y._processChildren(n,c)});const p={},u={},h=Object.keys(f);for(let e=0;e<h.length;e++){const t=h[e],r=f[t],o=typeof r;"string"===o||"number"===o||"boolean"===o?p[t]=r:u[t]=r}const m=l(p),b=l(u),g=d(f),C={...m,...b,...s},S=y._processChildren(n,c,t);return a({ref:r,key:o,css:C,...g,disableEmotion:c,nativeProps:a(i),children:S})}static _processChildren(e,t,r){if(e)return"function"==typeof e?e:Array.isArray(e)?1===e.length?y.processRawNode(e[0],t,`${r}_0`):e.map((e,o)=>y.processRawNode(e,t,`${r}_${o}`)):y.processRawNode(e,t,r)}static shouldCacheElement(e){return!y.isServer&&!!e.stableKey&&!!e.dependencies}static shouldNodeUpdate(e,t,r){if(y.isServer)return!0;if(r)return!1;if(void 0===t)return!0;if(void 0===e)return!0;if(t.length!==e.length)return!0;for(let r=0;r<t.length;r++)if(!Object.is(t[r],e[r]))return!0;return!1}static processRawNode(r,i,c){if(null==r||"string"==typeof r||"number"==typeof r||"boolean"==typeof r)return r;if(y.isNodeInstance(r)){if(c||i&&!r.rawProps.disableEmotion){const e=new p(r.element,r.rawProps,r.dependencies);return e.stableKey=`${c}:${e.stableKey}`,i&&!e.rawProps.disableEmotion&&(e.rawProps.disableEmotion=!0),e}return r}if(y.isFunctionChild(r))return new p(y.functionRenderer,{props:{render:r,disableEmotion:i}},void 0);if(t(r)){const e=r.type;if(e&&"object"==typeof e){const t=e.$$typeof;if(t===Symbol.for("react.client.reference")||t===Symbol.for("react.lazy")||t===Symbol.for("react.memo")||t===Symbol.for("react.forward_ref"))return r}if("string"==typeof r.type){const{style:e,...t}=r.props,o={...t,...e||{}};return new p(r.type,{...o,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:i},void 0)}return new p(r.type,{...r.props,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:i},void 0)}return o(r)||n(r)||s(r)?new p(r,{disableEmotion:i},void 0):r instanceof e.Component?y.processRawNode(r.render(),i,c):r}static isFunctionChild(e){if("function"!=typeof e||o(e)||n(e)||s(e))return!1;try{return!(e.prototype&&"function"==typeof e.prototype.render)}catch(e){return f&&console.error("MeoNode: Error checking if a node is a function child.",e),!0}}static functionRenderer({render:t,disableEmotion:r}){let o;try{o=t()}catch(e){f&&console.error("MeoNode: Error executing function-as-a-child.",e),o=null}if(null==o||"string"==typeof o||"number"==typeof o||"boolean"==typeof o)return o;if(y.isNodeInstance(o))return r&&!o.rawProps.disableEmotion?new p(o.element,{...o.rawProps,disableEmotion:!0}).render():o.render();if(Array.isArray(o)){const e=(e,t)=>{try{return`${c(e)}-${t}`}catch(e){return f&&console.error("MeoNode: Could not determine element type name for key in function-as-a-child.",e),`item-${t}`}};return o.map((t,o)=>y.renderProcessedNode({processedElement:y.processRawNode(t,r),passedKey:e(t,o),disableEmotion:r}))}if(o instanceof e.Component)return y.renderProcessedNode({processedElement:y.processRawNode(o.render(),r),disableEmotion:r});const n=y.processRawNode(o,r);return n?y.renderProcessedNode({processedElement:n,disableEmotion:r}):o}static renderProcessedNode({processedElement:t,passedKey:n,disableEmotion:s}){const i={};if(void 0!==n&&(i.key=n),y.isNodeInstance(t)){const e=t.rawProps?.key;return t.rawProps.disableEmotion=s,e===n?t.render():new p(t.element,{...t.rawProps,...i}).render()}return o(t)?new p(t,{...i,disableEmotion:s}).render():t instanceof e.Component?t.render():"function"==typeof t?r(t,{key:n}):t}}export{y as NodeUtil};
1
+ import e,{isValidElement as t,createElement as r}from"react";import{isReactClassComponent as o,isMemo as n,isForwardRef as s}from"../helper/react-is.helper.js";import{getGlobalState as i,getElementTypeName as c,omitUndefined as a,getCSSProps as l,getDOMProps as d}from"../helper/common.helper.js";import{__DEBUG__ as f}from"../constant/common.const.js";import{BaseNode as p}from"../core.node.js";var u=Object.defineProperty,y=(e,t,r)=>((e,t,r)=>t in e?u(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);const h=Symbol.for("@meonode/ui/NodeUtil/functionSignatureCache"),m=class u{constructor(){}static readBooleanFlag(e,t){if("function"!=typeof e)return!1;try{return!0===e[t]}catch{return!1}}static get _functionSignatureCache(){return i(h,()=>new WeakMap)}static isClientReference(e){if(!e||"object"!=typeof e&&"function"!=typeof e)return!1;try{return e.$$typeof===Symbol.for("react.client.reference")}catch{return!1}}static acceptsServerCss(e){return u.readBooleanFlag(e,"__meonodeAcceptsServerCss")}static providesServerTheme(e){return u.readBooleanFlag(e,"__meonodeProvidesServerTheme")}static hashString(e){let t=2166136261,r=5381;for(let o=0;o<e.length;o++){const n=e.charCodeAt(o);t^=n,t=Math.imul(t,16777619),r=Math.imul(r,33)^n}return`${(t>>>0).toString(36)}_${(r>>>0).toString(36)}`}static hashCSS(e){const t=Object.keys(e);let r=t.length;for(let o=0;o<Math.min(t.length,10);o++){const n=t[o],s=e[n];r=(r<<5)-r+n.charCodeAt(0),r&=r,"string"==typeof s&&(r=(r<<5)-r+s.length)}return r.toString(36)}static createPropSignature(e,t){if(u.isServer)return;const r=c(e),o=Object.keys(t);o.length>1&&o.sort();const n=[`${r}:`];if("function"==typeof e){let t=u._functionSignatureCache.get(e);t||(t=u.hashString(e.toString()),u._functionSignatureCache.set(e,t)),n.push(t)}for(const e of o){const r=t[e];let o;const s=typeof r;if("string"===s||"number"===s||"boolean"===s)o=`${e}:${r};`;else if(null===r)o=`${e}:null;`;else if(void 0===r)o=`${e}:undefined;`;else if("css"===e&&"object"==typeof r)o=`css:${this.hashCSS(r)};`;else if(Array.isArray(r)){const t=r.filter(e=>{const t=typeof e;return"string"===t||"number"===t||"boolean"===t||null===e});o=t.length===r.length?`${e}:[${t.join(",")}];`:`${e}:[${r.length}];`}else if(r&&r.isBaseNode)o=`${e}:${r.stableKey};`;else if("function"===s){let t=u._propFuncCache.get(r);t||(t=u.hashString(r.toString()),u._propFuncCache.set(r,t)),o=`${e}:${t};`}else{o=`${e}:{${Object.keys(r).sort().join(",")}};`}n.push(o)}return u.hashString(n.join(","))}static extractCriticalProps(e,t){const r={_keyCount:t.length};let o=0;for(const n of t){if(o>=50)break;if(u.CRITICAL_PROPS.has(n)){r[n]=e[n],o++;continue}const s=n.charCodeAt(0);111!==s||110!==n.charCodeAt(1)?!(97===s&&114===n.charCodeAt(1)&&105===n.charCodeAt(2)&&97===n.charCodeAt(3)||100===s&&97===n.charCodeAt(1)&&116===n.charCodeAt(2)&&97===n.charCodeAt(3))?t.length<=100&&u.isStyleProp(n)&&(r[n]=e[n],o++):(r[n]=e[n],o++):(r[n]=e[n],o++)}return r}static processProps(e={},t){const{ref:r,key:o,children:n,css:s,props:i={},disableEmotion:c,...f}=e;if(0===Object.keys(f).length&&!s)return a({ref:r,key:o,disableEmotion:c,nativeProps:a(i),children:u._processChildren(n,c)});const p={},y={},h=Object.keys(f);for(let e=0;e<h.length;e++){const t=h[e],r=f[t],o=typeof r;"string"===o||"number"===o||"boolean"===o?p[t]=r:y[t]=r}const m=l(p),b=l(y),g=d(f),C={...m,...b,...s},S=u._processChildren(n,c,t);return a({ref:r,key:o,css:C,...g,disableEmotion:c,nativeProps:a(i),children:S})}static _processChildren(e,t,r){if(e)return"function"==typeof e?e:Array.isArray(e)?1===e.length?u.processRawNode(e[0],t,`${r}_0`):e.map((e,o)=>u.processRawNode(e,t,`${r}_${o}`)):u.processRawNode(e,t,r)}static shouldCacheElement(e){return!u.isServer&&!!e.stableKey&&!!e.dependencies}static shouldNodeUpdate(e,t,r){if(u.isServer)return!0;if(r)return!1;if(void 0===t)return!0;if(void 0===e)return!0;if(t.length!==e.length)return!0;for(let r=0;r<t.length;r++)if(!Object.is(t[r],e[r]))return!0;return!1}static processRawNode(r,i,c){if(null==r||"string"==typeof r||"number"==typeof r||"boolean"==typeof r)return r;if(u.isNodeInstance(r)){if(c||i&&!r.rawProps.disableEmotion){const e=new p(r.element,r.rawProps,r.dependencies);return e.stableKey=`${c}:${e.stableKey}`,i&&!e.rawProps.disableEmotion&&(e.rawProps.disableEmotion=!0),e}return r}if(u.isFunctionChild(r))return new p(u.functionRenderer,{props:{render:r,disableEmotion:i}},void 0);if(t(r)){const e=r.type;if(e&&"object"==typeof e){const t=e.$$typeof;if(t===Symbol.for("react.client.reference")||t===Symbol.for("react.lazy")||t===Symbol.for("react.memo")||t===Symbol.for("react.forward_ref"))return r}if("string"==typeof r.type){const{style:e,...t}=r.props,o={...t,...e||{}};return new p(r.type,{...o,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:i},void 0)}return new p(r.type,{...r.props,...null!==r.key&&void 0!==r.key?{key:r.key}:{},disableEmotion:i},void 0)}return o(r)||n(r)||s(r)?new p(r,{disableEmotion:i},void 0):r instanceof e.Component?u.processRawNode(r.render(),i,c):r}static isFunctionChild(e){if("function"!=typeof e||o(e)||n(e)||s(e))return!1;try{return!(e.prototype&&"function"==typeof e.prototype.render)}catch(e){return f&&console.error("MeoNode: Error checking if a node is a function child.",e),!0}}static functionRenderer({render:t,disableEmotion:r}){let o;try{o=t()}catch(e){f&&console.error("MeoNode: Error executing function-as-a-child.",e),o=null}if(null==o||"string"==typeof o||"number"==typeof o||"boolean"==typeof o)return o;if(u.isNodeInstance(o))return r&&!o.rawProps.disableEmotion?new p(o.element,{...o.rawProps,disableEmotion:!0}).render():o.render();if(Array.isArray(o)){const e=(e,t)=>{try{return`${c(e)}-${t}`}catch(e){return f&&console.error("MeoNode: Could not determine element type name for key in function-as-a-child.",e),`item-${t}`}};return o.map((t,o)=>u.renderProcessedNode({processedElement:u.processRawNode(t,r),passedKey:e(t,o),disableEmotion:r}))}if(o instanceof e.Component)return u.renderProcessedNode({processedElement:u.processRawNode(o.render(),r),disableEmotion:r});const n=u.processRawNode(o,r);return n?u.renderProcessedNode({processedElement:n,disableEmotion:r}):o}static renderProcessedNode({processedElement:t,passedKey:n,disableEmotion:s}){const i={};if(void 0!==n&&(i.key=n),u.isNodeInstance(t)){const e=t.rawProps?.key;return t.rawProps.disableEmotion=s,e===n?t.render():new p(t.element,{...t.rawProps,...i}).render()}return o(t)?new p(t,{...i,disableEmotion:s}).render():t instanceof e.Component?t.render():"function"==typeof t?r(t,{key:n}):t}};y(m,"isServer","undefined"==typeof window),y(m,"CRITICAL_PROPS",new Set(["css","className","disableEmotion","props"])),y(m,"_propFuncCache",new WeakMap),y(m,"isNodeInstance",e=>e instanceof p),y(m,"isStyleProp",m.isServer||"undefined"==typeof document?()=>!1:e=>e in document.body.style);let b=m;export{b as NodeUtil};
@@ -1 +1 @@
1
- import e from"@emotion/cache";import{serializeStyles as o}from"../node_modules/@emotion/serialize/dist/emotion-serialize.esm.js";import{insertStyles as n}from"../node_modules/@emotion/utils/dist/emotion-utils.esm.js";import{getGlobalState as t}from"../helper/common.helper.js";const r=Symbol.for("@meonode/ui/serverEmotionCache"),i=Symbol.for("@meonode/ui/serverEmotionRules");function s(){return t(r,()=>e({key:"meonode-css"}))}function m(){return t(i,()=>({byId:new Map}))}function d(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return;const t=s(),r=o([e],t.registered),i=n(t,r),d=t.inserted[r.name],f="string"==typeof i?i:"string"==typeof d?d:void 0;if(f){const e=m();e.byId.has(r.name)||e.byId.set(r.name,f)}return`${t.key}-${r.name}`}function f(){const e=m();if(0===e.byId.size)return[];const o=Array.from(e.byId.entries()).map(([e,o])=>({id:e,cssText:o}));return e.byId.clear(),o}export{d as compileServerEmotionClassName,f as consumeServerEmotionRules,s as getServerEmotionCache};
1
+ import e from"@emotion/cache";import{serializeStyles as o}from"@emotion/serialize";import{insertStyles as r}from"@emotion/utils";import{getGlobalState as n}from"../helper/common.helper.js";const t=Symbol.for("@meonode/ui/serverEmotionCache"),i=Symbol.for("@meonode/ui/serverEmotionRules");function m(){return n(t,()=>e({key:"meonode-css"}))}function s(){return n(i,()=>({byId:new Map}))}function f(e){if(!e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return;const n=m(),t=o([e],n.registered),i=r(n,t,!1),f=n.inserted[t.name],c="string"==typeof i?i:"string"==typeof f?f:void 0;if(c){const e=s();e.byId.has(t.name)||e.byId.set(t.name,c)}return`${n.key}-${t.name}`}function c(){const e=s();if(0===e.byId.size)return[];const o=Array.from(e.byId.entries()).map(([e,o])=>({id:e,cssText:o}));return e.byId.clear(),o}export{f as compileServerEmotionClassName,c as consumeServerEmotionRules,m as getServerEmotionCache};
@@ -1 +1 @@
1
- import{getValueByPath as e}from"../helper/common.helper.js";class t{constructor(){}static parseFlexShorthand(e){if(null==e)return null;if("number"==typeof e)return{grow:e,shrink:1,basis:"0%"};if("string"!=typeof e)return null;const t=e.trim().toLowerCase();if(!t)return null;switch(t){case"none":return{grow:0,shrink:0,basis:"auto"};case"auto":return{grow:1,shrink:1,basis:"auto"};case"initial":return{grow:0,shrink:1,basis:"auto"};default:return null}}static isPlainObject=e=>{if("object"!=typeof e||null===e)return!1;const t=Object.getPrototypeOf(e);return null===t||t===Object.prototype};static resolveObjWithTheme=(r,n,l={})=>{const{processFunctions:s=!1,themeStringsMode:o="resolve"}=l;if(!n||!n.system||"object"!=typeof n.system||0===Object.keys(n.system).length||!r||0===Object.keys(r).length)return r;const i=n.system,a=[{value:r,isProcessed:!1}],c=new Map,f=new Set,u=/theme\.([a-zA-Z0-9_.-]+)/g,p=(t,r)=>{u.lastIndex=0;let n=!1;const l=t.replace(u,(t,l)=>{if(r)return n=!0,`var(${s=l,`--meonode-theme-${s.replace(/[^\w.-]/g,"-").replace(/\./g,"-")}`})`;var s;const o=e(i,l);if(null!=o){if(n=!0,"object"==typeof o){if(!Array.isArray(o)&&"default"in o)return o.default;throw new Error("The provided theme path is invalid!")}return o}return t});return n?l:t};for(;a.length>0;){const e=a[a.length-1],r=e.value;if(t.isPlainObject(r)||Array.isArray(r))if(c.has(r))a.pop();else if(e.isProcessed){a.pop(),f.delete(r);let e=r;if(Array.isArray(r)){let t=null;for(let e=0;e<r.length;e++){const n=r[e],l=c.get(n)??n;l!==n&&(null===t&&(t=[...r]),t[e]=l)}null!==t&&(e=t)}else{let t=null;for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const l=r[e];let i=c.get(l)??l,a=e;"string"==typeof e&&e.includes("theme.")&&(a=p(e,!1));const f="vars"===o;if("function"==typeof i&&s){const e=i(n);i="string"==typeof e&&e.includes("theme.")?p(e,f):e}else"string"==typeof i&&i.includes("theme.")&&(i=p(i,f));i===l&&a===e||(null===t&&(t={...r}),a!==e&&delete t[e],t[a]=i)}null!==t&&(e=t)}c.set(r,e)}else{e.isProcessed=!0,f.add(r);const n=Array.isArray(r)?r:Object.values(r);for(let e=n.length-1;e>=0;e--){const r=n[e];!t.isPlainObject(r)&&!Array.isArray(r)||f.has(r)||a.push({value:r,isProcessed:!1})}}else a.pop()}return c.get(r)??r};static resolveDefaultStyle=e=>{if(null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return{};const{flex:r,...n}=e,l="flex"===n.display||"inline-flex"===n.display,s=!!(n.overflow||n.overflowY||n.overflowX),o=n.flexFlow?.includes("wrap")||"wrap"===n.flexWrap||"wrap-reverse"===n.flexWrap,i="flexShrink"in e&&void 0!==e.flexShrink,a=r?t.parseFlexShorthand(r):null;let c;if(!i)if(a)c=a.shrink;else if(l){if(!s){const e="column"===n.flexDirection||"column-reverse"===n.flexDirection,t="row"===n.flexDirection||"row-reverse"===n.flexDirection||!n.flexDirection;(e&&!o||t&&!o)&&(c=0)}}else c=0;return{flex:r,flexShrink:c,minHeight:0,minWidth:0,...n}}}export{t as ThemeUtil};
1
+ import{getValueByPath as e}from"../helper/common.helper.js";var r=Object.defineProperty,t=(e,t,l)=>((e,t,l)=>t in e?r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:l}):e[t]=l)(e,"symbol"!=typeof t?t+"":t,l);const l=class{constructor(){}static parseFlexShorthand(e){if(null==e)return null;if("number"==typeof e)return{grow:e,shrink:1,basis:"0%"};if("string"!=typeof e)return null;const r=e.trim().toLowerCase();if(!r)return null;switch(r){case"none":return{grow:0,shrink:0,basis:"auto"};case"auto":return{grow:1,shrink:1,basis:"auto"};case"initial":return{grow:0,shrink:1,basis:"auto"};default:return null}}};t(l,"isPlainObject",e=>{if("object"!=typeof e||null===e)return!1;const r=Object.getPrototypeOf(e);return null===r||r===Object.prototype}),t(l,"resolveObjWithTheme",(r,t,n={})=>{const{processFunctions:s=!1,themeStringsMode:o="resolve"}=n;if(!t||!t.system||"object"!=typeof t.system||0===Object.keys(t.system).length||!r||0===Object.keys(r).length)return r;const i=t.system,a=[{value:r,isProcessed:!1}],f=new Map,c=new Set,u=/theme\.([a-zA-Z0-9_.-]+)/g,p=(r,t)=>{u.lastIndex=0;let l=!1;const n=r.replace(u,(r,n)=>{if(t)return l=!0,`var(${s=n,`--meonode-theme-${s.replace(/[^\w.-]/g,"-").replace(/\./g,"-")}`})`;var s;const o=e(i,n);if(null!=o){if(l=!0,"object"==typeof o){if(!Array.isArray(o)&&"default"in o)return o.default;throw new Error("The provided theme path is invalid!")}return o}return r});return l?n:r};for(;a.length>0;){const e=a[a.length-1],r=e.value;if(l.isPlainObject(r)||Array.isArray(r))if(f.has(r))a.pop();else if(e.isProcessed){a.pop(),c.delete(r);let e=r;if(Array.isArray(r)){let t=null;for(let e=0;e<r.length;e++){const l=r[e],n=f.get(l)??l;n!==l&&(null===t&&(t=[...r]),t[e]=n)}null!==t&&(e=t)}else{let l=null;for(const e in r)if(Object.prototype.hasOwnProperty.call(r,e)){const n=r[e];let i=f.get(n)??n,a=e;"string"==typeof e&&e.includes("theme.")&&(a=p(e,!1));const c="vars"===o;if("function"==typeof i&&s){const e=i(t);i="string"==typeof e&&e.includes("theme.")?p(e,c):e}else"string"==typeof i&&i.includes("theme.")&&(i=p(i,c));i===n&&a===e||(null===l&&(l={...r}),a!==e&&delete l[e],l[a]=i)}null!==l&&(e=l)}f.set(r,e)}else{e.isProcessed=!0,c.add(r);const t=Array.isArray(r)?r:Object.values(r);for(let e=t.length-1;e>=0;e--){const r=t[e];!l.isPlainObject(r)&&!Array.isArray(r)||c.has(r)||a.push({value:r,isProcessed:!1})}}else a.pop()}return f.get(r)??r}),t(l,"resolveDefaultStyle",e=>{if(null==e||"string"==typeof e||"number"==typeof e||"boolean"==typeof e)return{};const{flex:r,...t}=e,n="flex"===t.display||"inline-flex"===t.display,s=!!(t.overflow||t.overflowY||t.overflowX),o=t.flexFlow?.includes("wrap")||"wrap"===t.flexWrap||"wrap-reverse"===t.flexWrap,i="flexShrink"in e&&void 0!==e.flexShrink,a=r?l.parseFlexShorthand(r):null;let f;if(!i)if(a)f=a.shrink;else if(n){if(!s){const e="column"===t.flexDirection||"column-reverse"===t.flexDirection,r="row"===t.flexDirection||"row-reverse"===t.flexDirection||!t.flexDirection;(e&&!o||r&&!o)&&(f=0)}}else f=0;return{flex:r,flexShrink:f,minHeight:0,minWidth:0,...t}});let n=l;export{n as ThemeUtil};
@@ -0,0 +1,7 @@
1
+ /**
2
+ * A set of valid CSS property names in camelCase, including CSS custom properties, used for validation.
3
+ * This set contains all CSS properties including non-standard vendor prefixed properties.
4
+ */
5
+ declare const CSSPropertySet: Set<string>;
6
+ export default CSSPropertySet;
7
+ //# sourceMappingURL=css-properties.const.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"css-properties.const.d.ts","sourceRoot":"","sources":["../../../src/constant/css-properties.const.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,aAAa,k0ZAirBT,CAAA;AAEV,eAAe,aAAa,CAAA"}
1
+ {"version":3,"file":"css-properties.const.d.ts","sourceRoot":"","sources":["../../../src/constant/css-properties.const.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,QAAA,MAAM,cAAc,EAAE,GAAG,CAAC,MAAM,CAirB9B,CAAA;AAEF,eAAe,cAAc,CAAA"}
@@ -49,11 +49,6 @@ export declare const getComponentType: (component?: NodeElement | NodeInstance)
49
49
  * @returns A string representation of the element type's name.
50
50
  */
51
51
  export declare function getElementTypeName(node: unknown): string;
52
- /**
53
- * A set of valid CSS property names in camelCase, including CSS custom properties, used for validation.
54
- * This set contains all CSS properties including non-standard vendor prefixed properties.
55
- */
56
- export declare const CSSPropertySet: Set<string>;
57
52
  /**
58
53
  * Filters an object to only include valid CSS properties
59
54
  * @param props The object containing potential CSS properties
@@ -1 +1 @@
1
- {"version":3,"file":"common.helper.d.ts","sourceRoot":"","sources":["../../../src/helper/common.helper.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAExF,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAcvE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAMlE;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,GAAI,KAAK,GAAG,EAAE,MAAM,MAAM,QAEpD,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,WAAW,GAAG,YAAY,KAEpC,OAAO,GACP,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,UAAU,GACV,QAAQ,GACR,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAgBH,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAsFxD;AAED;;;GAGG;AACH,eAAO,MAAM,cAAc,EAAE,GAAG,CAAC,MAAM,CAA0B,CAAA;AAEjE;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAU3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAUjH;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,OAAO,CAGxD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAQlE"}
1
+ {"version":3,"file":"common.helper.d.ts","sourceRoot":"","sources":["../../../src/helper/common.helper.ts"],"names":[],"mappings":"AAeA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAExF,OAAO,KAAK,EAAE,cAAc,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,OAAO,CAAA;AAcvE;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,CAAC,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,CAAC,GAAG,CAAC,CAMlE;AAED;;;;;;;;;;GAUG;AACH,eAAO,MAAM,cAAc,GAAI,KAAK,GAAG,EAAE,MAAM,MAAM,QAEpD,CAAA;AAED;;;;;;;;;;;;;GAaG;AACH,eAAO,MAAM,gBAAgB,GAC3B,YAAY,WAAW,GAAG,YAAY,KAEpC,OAAO,GACP,YAAY,GACZ,MAAM,GACN,QAAQ,GACR,UAAU,GACV,UAAU,GACV,QAAQ,GACR,UAAU,GACV,aAAa,GACb,UAAU,GACV,eAAe,GACf,kBAAkB,GAClB,kBAAkB,GAClB,MAAM,GACN,SAAS,GACT,SAAS,GACT,MAgBH,CAAA;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,OAAO,GAAG,MAAM,CAsFxD;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,aAAa,CAAC,CAU3F;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,WAAW,CAAC,CAAC,SAAS,WAAW,EAAE,CAAC,SAAS,cAAc,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,OAAO,CAAC,cAAc,CAAC,CAUjH;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,GAAG,CAAC,EAAE,WAAW,GAAG,OAAO,CAGxD;AAED;;;;GAIG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,EAAE,GAAG,EAAE,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAQlE"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@meonode/ui",
3
3
  "description": "A structured approach to component composition, direct CSS-first prop styling, built-in theming, smart prop handling (including raw property pass-through), and dynamic children.",
4
- "version": "1.4.4-beta.4",
4
+ "version": "1.4.4-beta.5",
5
5
  "type": "module",
6
6
  "main": "./dist/main.js",
7
7
  "types": "./dist/main.d.ts",
@@ -29,14 +29,14 @@
29
29
  "README.md"
30
30
  ],
31
31
  "scripts": {
32
- "watch:build": "npx nodemon --watch src --ext ts,tsx,js,json --exec \"bun run build\"",
32
+ "watch:build": "bunx nodemon --watch src --ext ts,tsx,js,json --exec \"bun run build\"",
33
33
  "lint": "eslint --fix && tsc --noEmit",
34
34
  "test": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(bun pm bin)/jest --ci --verbose --testPathIgnorePatterns=\"tests/performance.test.ts\" --testPathIgnorePatterns=\"tests/react-createelement-comparison.test.ts\" --testPathIgnorePatterns=\"tests/rsc-integration.test.ts\" --testPathIgnorePatterns=\"tests/build-output.test.ts\"",
35
- "test:perf": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(bun pm bin)/jest --ci --verbose tests/performance.test.ts tests/react-createelement-comparison.test.ts",
36
- "test:all": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules $(bun pm bin)/jest --ci --verbose --testPathIgnorePatterns=\"tests/rsc-integration.test.ts\" --testPathIgnorePatterns=\"tests/build-output.test.ts\"",
35
+ "test:perf": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules run $(bun pm bin)/jest --ci --verbose tests/performance.test.ts tests/react-createelement-comparison.test.ts",
36
+ "test:all": "NODE_OPTIONS='--expose-gc' node --stack-size=10000 --max-old-space-size=8192 --experimental-vm-modules run $(bun pm bin)/jest --ci --verbose --testPathIgnorePatterns=\"tests/rsc-integration.test.ts\" --testPathIgnorePatterns=\"tests/build-output.test.ts\"",
37
37
  "test:rsc": "NODE_OPTIONS='--experimental-vm-modules' node $(bun pm bin)/jest --config jest.integration.config.ts --ci --verbose --runInBand",
38
38
  "prepare:rsc-fixture": "cd tests/rsc-fixtures/next-app && bun install",
39
- "verify": "bun run lint && bun run tsc --noEmit && bun run test && bun run prepare:rsc-fixture && bun run test:rsc",
39
+ "verify": "bun run prepare:rsc-fixture && bun run lint && bun run tsc --noEmit && bun run test && bun run test:rsc",
40
40
  "build": "rm -rf ./dist && rollup -c rollup.config.ts --configPlugin typescript && tsc -p tsconfig.build.json --diagnostics && tsc-alias -p tsconfig.build.json",
41
41
  "semantic-release": "semantic-release",
42
42
  "release": "semantic-release",
@@ -44,19 +44,19 @@
44
44
  "prepare": "husky"
45
45
  },
46
46
  "dependencies": {
47
- "@emotion/react": "^11.14.0"
47
+ "@emotion/react": "^11.14.0",
48
+ "@emotion/serialize": "^1.3.3",
49
+ "@emotion/utils": "^1.4.2"
48
50
  },
49
51
  "devDependencies": {
50
- "@babel/generator": "^7.29.1",
51
- "@babel/parser": "^7.29.0",
52
- "@babel/traverse": "^7.29.0",
53
- "@babel/types": "^7.29.0",
54
52
  "@emotion/cache": "^11.14.0",
55
53
  "@emotion/jest": "^11.14.2",
56
54
  "@emotion/styled": "^11.14.1",
57
55
  "@eslint/js": "^10.0.1",
56
+ "@jest/globals": "^30.3.0",
58
57
  "@mui/material": "^9.0.0",
59
58
  "@playwright/test": "^1.59.1",
59
+ "@rollup/plugin-alias": "^6.0.0",
60
60
  "@rollup/plugin-commonjs": "^29.0.0",
61
61
  "@rollup/plugin-node-resolve": "^16.0.3",
62
62
  "@rollup/plugin-terser": "^1.0.0",
@@ -69,9 +69,9 @@
69
69
  "@testing-library/jest-dom": "^6.9.1",
70
70
  "@testing-library/react": "^16.3.2",
71
71
  "@types/jest": "^30.0.0",
72
+ "@types/node": "^25.6.0",
72
73
  "@types/react": "^19.2.14",
73
74
  "@types/react-dom": "^19.2.3",
74
- "@types/react-router-dom": "^5.3.3",
75
75
  "@typescript-eslint/eslint-plugin": "^8.55.0",
76
76
  "@typescript-eslint/parser": "^8.55.0",
77
77
  "cli-table3": "^0.6.5",
@@ -89,8 +89,8 @@
89
89
  "react-dom": "^19.2.4",
90
90
  "react-router-dom": "^7.14.2",
91
91
  "rollup": "^4.57.1",
92
+ "rollup-plugin-esbuild": "^6.2.1",
92
93
  "rollup-plugin-preserve-directives": "^0.4.0",
93
- "rollup-plugin-tsconfig-paths": "^1.5.2",
94
94
  "semantic-release": "^25.0.3",
95
95
  "ts-jest": "^29.4.6",
96
96
  "tsc-alias": "^1.8.16",
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){for(var t,r=0,c=0,o=e.length;o>=4;++c,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(c)|(255&e.charCodeAt(++c))<<8|(255&e.charCodeAt(++c))<<16|(255&e.charCodeAt(++c))<<24))+(59797*(t>>>16)<<16),r=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&r)+(59797*(r>>>16)<<16);switch(o){case 3:r^=(255&e.charCodeAt(c+2))<<16;case 2:r^=(255&e.charCodeAt(c+1))<<8;case 1:r=1540483477*(65535&(r^=255&e.charCodeAt(c)))+(59797*(r>>>16)<<16)}return(((r=1540483477*(65535&(r^=r>>>13))+(59797*(r>>>16)<<16))^r>>>15)>>>0).toString(36)};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function(e){var t=Object.create(null);return function(r){return void 0===t[r]&&(t[r]=e(r)),t[r]}};
@@ -1 +0,0 @@
1
- "use strict";var e=require("../../hash/dist/emotion-hash.esm.cjs"),r=require("../../unitless/dist/emotion-unitless.esm.cjs"),t=require("../../memoize/dist/emotion-memoize.esm.cjs"),n=/[A-Z]|^ms/g,a=/_EMO_([^_]+?)_([^]*?)_EMO_/g,i=function(e){return 45===e.charCodeAt(1)},s=function(e){return null!=e&&"boolean"!=typeof e},o=t.default(function(e){return i(e)?e:e.replace(n,"-$&").toLowerCase()}),l=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(a,function(e,r,t){return f={name:r,styles:t,next:f},r})}return 1===r.default[e]||i(e)||"number"!=typeof t||0===t?t:t+"px"};function u(e,r,t){if(null==t)return"";var n=t;if(void 0!==n.__emotion_styles)return n;switch(typeof t){case"boolean":return"";case"object":var a=t;if(1===a.anim)return f={name:a.name,styles:a.styles,next:f},a.name;var i=t;if(void 0!==i.styles){var v=i.next;if(void 0!==v)for(;void 0!==v;)f={name:v.name,styles:v.styles,next:f},v=v.next;return i.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var a=0;a<t.length;a++)n+=u(e,r,t[a])+";";else for(var i in t){var f=t[i];if("object"!=typeof f){var v=f;null!=r&&void 0!==r[v]?n+=i+"{"+r[v]+"}":s(v)&&(n+=o(i)+":"+l(i,v)+";")}else if(!Array.isArray(f)||"string"!=typeof f[0]||null!=r&&void 0!==r[f[0]]){var c=u(e,r,f);switch(i){case"animation":case"animationName":n+=o(i)+":"+c+";";break;default:n+=i+"{"+c+"}"}}else for(var m=0;m<f.length;m++)s(f[m])&&(n+=o(i)+":"+l(i,f[m])+";")}return n}(e,r,t)}var c=t;if(null==r)return c;var m=r[c];return void 0!==m?m:c}var f,v=/label:\s*([^\s;{]+)\s*(;|$)/g;exports.serializeStyles=function(r,t,n){if(1===r.length&&"object"==typeof r[0]&&null!==r[0]&&void 0!==r[0].styles)return r[0];var a=!0,i="";f=void 0;var s=r[0];null==s||void 0===s.raw?(a=!1,i+=u(n,t,s)):i+=s[0];for(var o=1;o<r.length;o++){if(i+=u(n,t,r[o]),a)i+=s[o]}v.lastIndex=0;for(var l,c="";null!==(l=v.exec(i));)c+="-"+l[1];return{name:e.default(i)+c,styles:i,next:f}};
@@ -1 +0,0 @@
1
- "use strict";Object.defineProperty(exports,"__esModule",{value:!0});exports.default={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};
@@ -1 +0,0 @@
1
- "use strict";var e="undefined"!=typeof document,t=function(e,t,r){var i=e.key+"-"+t.name;void 0===e.registered[i]&&(e.registered[i]=t.styles)};exports.insertStyles=function(r,i,n){t(r,i);var s=r.key+"-"+i.name;if(void 0===r.inserted[i.name]){var d="",o=i;do{var v=r.insert(i===o?"."+s:"",o,r.sheet,!0);e||void 0===v||(d+=v),o=o.next}while(void 0!==o);if(!e&&0!==d.length)return d}},exports.registerStyles=t;
@@ -1,3 +0,0 @@
1
- declare const cssProperties: readonly ["MozAnimation", "MozAnimationDelay", "MozAnimationDirection", "MozAnimationDuration", "MozAnimationFillMode", "MozAnimationIterationCount", "MozAnimationName", "MozAnimationPlayState", "MozAnimationTimingFunction", "MozAppearance", "MozBinding", "MozBorderBottomColors", "MozBorderEndColor", "MozBorderEndStyle", "MozBorderEndWidth", "MozBorderImage", "MozBorderLeftColors", "MozBorderRightColors", "MozBorderStartColor", "MozBorderStartStyle", "MozBorderTopColors", "MozBoxSizing", "MozColumnCount", "MozColumnFill", "MozColumnRule", "MozColumnRuleColor", "MozColumnRuleStyle", "MozColumnRuleWidth", "MozColumnWidth", "MozColumns", "MozContextProperties", "MozFontFeatureSettings", "MozFontLanguageOverride", "MozHyphens", "MozImageRegion", "MozMarginEnd", "MozMarginStart", "MozOrient", "MozOsxFontSmoothing", "MozOutlineRadius", "MozOutlineRadiusBottomleft", "MozOutlineRadiusBottomright", "MozOutlineRadiusTopleft", "MozOutlineRadiusTopright", "MozPaddingEnd", "MozPaddingStart", "MozStackSizing", "MozTabSize", "MozTextBlink", "MozTextSizeAdjust", "MozUserFocus", "MozUserModify", "MozUserSelect", "MozWindowDragging", "MozWindowShadow", "WebkitAlignContent", "WebkitAlignItems", "WebkitAlignSelf", "WebkitAnimation", "WebkitAnimationDelay", "WebkitAnimationDirection", "WebkitAnimationDuration", "WebkitAnimationFillMode", "WebkitAnimationIterationCount", "WebkitAnimationName", "WebkitAnimationPlayState", "WebkitAnimationTimingFunction", "WebkitAppearance", "WebkitBackdropFilter", "WebkitBackfaceVisibility", "WebkitBackgroundClip", "WebkitBackgroundOrigin", "WebkitBackgroundSize", "WebkitBorderBefore", "WebkitBorderBeforeColor", "WebkitBorderBeforeStyle", "WebkitBorderBeforeWidth", "WebkitBorderBottomLeftRadius", "WebkitBorderBottomRightRadius", "WebkitBorderImage", "WebkitBorderImageSlice", "WebkitBorderRadius", "WebkitBorderTopLeftRadius", "WebkitBorderTopRightRadius", "WebkitBoxDecorationBreak", "WebkitBoxReflect", "WebkitBoxShadow", "WebkitBoxSizing", "WebkitClipPath", "WebkitColumnCount", "WebkitColumnFill", "WebkitColumnRule", "WebkitColumnRuleColor", "WebkitColumnRuleStyle", "WebkitColumnRuleWidth", "WebkitColumnSpan", "WebkitColumnWidth", "WebkitColumns", "WebkitFilter", "WebkitFlex", "WebkitFlexBasis", "WebkitFlexDirection", "WebkitFlexFlow", "WebkitFlexGrow", "WebkitFlexShrink", "WebkitFlexWrap", "WebkitFontFeatureSettings", "WebkitFontKerning", "WebkitFontSmoothing", "WebkitFontVariantLigatures", "WebkitHyphenateCharacter", "WebkitHyphens", "WebkitInitialLetter", "WebkitJustifyContent", "WebkitLineBreak", "WebkitLineClamp", "WebkitMarginEnd", "WebkitMarginStart", "WebkitMask", "WebkitMaskAttachment", "WebkitMaskBoxImage", "WebkitMaskBoxImageOutset", "WebkitMaskBoxImageRepeat", "WebkitMaskBoxImageSlice", "WebkitMaskBoxImageSource", "WebkitMaskBoxImageWidth", "WebkitMaskClip", "WebkitMaskComposite", "WebkitMaskImage", "WebkitMaskOrigin", "WebkitMaskPosition", "WebkitMaskPositionX", "WebkitMaskPositionY", "WebkitMaskRepeat", "WebkitMaskRepeatX", "WebkitMaskRepeatY", "WebkitMaskSize", "WebkitMaxInlineSize", "WebkitOrder", "WebkitOverflowScrolling", "WebkitPaddingEnd", "WebkitPaddingStart", "WebkitPerspective", "WebkitPerspectiveOrigin", "WebkitPrintColorAdjust", "WebkitRubyPosition", "WebkitScrollSnapType", "WebkitShapeMargin", "WebkitTapHighlightColor", "WebkitTextCombine", "WebkitTextDecorationColor", "WebkitTextDecorationLine", "WebkitTextDecorationSkip", "WebkitTextDecorationStyle", "WebkitTextEmphasis", "WebkitTextEmphasisColor", "WebkitTextEmphasisPosition", "WebkitTextEmphasisStyle", "WebkitTextFillColor", "WebkitTextOrientation", "WebkitTextSizeAdjust", "WebkitTextStroke", "WebkitTextStrokeColor", "WebkitTextStrokeWidth", "WebkitTextUnderlinePosition", "WebkitTouchCallout", "WebkitTransform", "WebkitTransformOrigin", "WebkitTransformStyle", "WebkitTransition", "WebkitTransitionDelay", "WebkitTransitionDuration", "WebkitTransitionProperty", "WebkitTransitionTimingFunction", "WebkitUserModify", "WebkitUserSelect", "WebkitWritingMode", "accentColor", "alignContent", "alignItems", "alignSelf", "alignTracks", "all", "animation", "animationComposition", "animationDelay", "animationDirection", "animationDuration", "animationFillMode", "animationIterationCount", "animationName", "animationPlayState", "animationRange", "animationRangeEnd", "animationRangeStart", "animationTimeline", "animationTimingFunction", "appearance", "aspectRatio", "backdropFilter", "backfaceVisibility", "background", "backgroundAttachment", "backgroundBlendMode", "backgroundClip", "backgroundColor", "backgroundImage", "backgroundOrigin", "backgroundPosition", "backgroundPositionX", "backgroundPositionY", "backgroundRepeat", "backgroundSize", "blockOverflow", "blockSize", "border", "borderBlock", "borderBlockColor", "borderBlockEnd", "borderBlockEndColor", "borderBlockEndStyle", "borderBlockEndWidth", "borderBlockStart", "borderBlockStartColor", "borderBlockStartStyle", "borderBlockStartWidth", "borderBlockStyle", "borderBlockWidth", "borderBottom", "borderBottomColor", "borderBottomLeftRadius", "borderBottomRightRadius", "borderBottomStyle", "borderBottomWidth", "borderCollapse", "borderColor", "borderEndEndRadius", "borderEndStartRadius", "borderImage", "borderImageOutset", "borderImageRepeat", "borderImageSlice", "borderImageSource", "borderImageWidth", "borderInline", "borderInlineColor", "borderInlineEnd", "borderInlineEndColor", "borderInlineEndStyle", "borderInlineEndWidth", "borderInlineStart", "borderInlineStartColor", "borderInlineStartStyle", "borderInlineStartWidth", "borderInlineStyle", "borderInlineWidth", "borderLeft", "borderLeftColor", "borderLeftStyle", "borderLeftWidth", "borderRadius", "borderRight", "borderRightColor", "borderRightStyle", "borderRightWidth", "borderSpacing", "borderStartEndRadius", "borderStartStartRadius", "borderStyle", "borderTop", "borderTopColor", "borderTopLeftRadius", "borderTopRightRadius", "borderTopStyle", "borderTopWidth", "borderWidth", "bottom", "boxDecorationBreak", "boxShadow", "boxSizing", "breakAfter", "breakBefore", "breakInside", "captionSide", "caret", "caretColor", "caretShape", "clear", "clipPath", "color", "colorAdjust", "colorScheme", "columnCount", "columnFill", "columnGap", "columnRule", "columnRuleColor", "columnRuleStyle", "columnRuleWidth", "columnSpan", "columnWidth", "columns", "contain", "containIntrinsicBlockSize", "containIntrinsicHeight", "containIntrinsicInlineSize", "containIntrinsicSize", "containIntrinsicWidth", "container", "containerName", "containerType", "content", "contentVisibility", "counterIncrement", "counterReset", "counterSet", "cursor", "direction", "display", "emptyCells", "filter", "flex", "flexBasis", "flexDirection", "flexFlow", "flexGrow", "flexShrink", "flexWrap", "float", "font", "fontFamily", "fontFeatureSettings", "fontKerning", "fontLanguageOverride", "fontOpticalSizing", "fontPalette", "fontSize", "fontSizeAdjust", "fontSmooth", "fontStretch", "fontStyle", "fontSynthesis", "fontSynthesisPosition", "fontSynthesisSmallCaps", "fontSynthesisStyle", "fontSynthesisWeight", "fontVariant", "fontVariantAlternates", "fontVariantCaps", "fontVariantEastAsian", "fontVariantEmoji", "fontVariantLigatures", "fontVariantNumeric", "fontVariantPosition", "fontVariationSettings", "fontWeight", "forcedColorAdjust", "gap", "grid", "gridArea", "gridAutoColumns", "gridAutoFlow", "gridAutoRows", "gridColumn", "gridColumnEnd", "gridColumnStart", "gridRow", "gridRowEnd", "gridRowStart", "gridTemplate", "gridTemplateAreas", "gridTemplateColumns", "gridTemplateRows", "hangingPunctuation", "height", "hyphenateCharacter", "hyphenateLimitChars", "hyphens", "imageOrientation", "imageRendering", "imageResolution", "initialLetter", "inlineSize", "inputSecurity", "inset", "insetBlock", "insetBlockEnd", "insetBlockStart", "insetInline", "insetInlineEnd", "insetInlineStart", "isolation", "justifyContent", "justifyItems", "justifySelf", "justifyTracks", "left", "letterSpacing", "lineBreak", "lineClamp", "lineHeight", "lineHeightStep", "listStyle", "listStyleImage", "listStylePosition", "listStyleType", "margin", "marginBlock", "marginBlockEnd", "marginBlockStart", "marginBottom", "marginInline", "marginInlineEnd", "marginInlineStart", "marginLeft", "marginRight", "marginTop", "marginTrim", "mask", "maskBorder", "maskBorderMode", "maskBorderOutset", "maskBorderRepeat", "maskBorderSlice", "maskBorderSource", "maskBorderWidth", "maskClip", "maskComposite", "maskImage", "maskMode", "maskOrigin", "maskPosition", "maskRepeat", "maskSize", "maskType", "masonryAutoFlow", "mathDepth", "mathShift", "mathStyle", "maxBlockSize", "maxHeight", "maxInlineSize", "maxLines", "maxWidth", "minBlockSize", "minHeight", "minInlineSize", "minWidth", "mixBlendMode", "motion", "motionDistance", "motionPath", "motionRotation", "msAccelerator", "msBlockProgression", "msContentZoomChaining", "msContentZoomLimit", "msContentZoomLimitMax", "msContentZoomLimitMin", "msContentZoomSnap", "msContentZoomSnapPoints", "msContentZoomSnapType", "msContentZooming", "msFilter", "msFlex", "msFlexDirection", "msFlexPositive", "msFlowFrom", "msFlowInto", "msGridColumns", "msGridRows", "msHighContrastAdjust", "msHyphenateLimitChars", "msHyphenateLimitLines", "msHyphenateLimitZone", "msHyphens", "msImeAlign", "msLineBreak", "msOrder", "msOverflowStyle", "msOverflowX", "msOverflowY", "msScrollChaining", "msScrollLimit", "msScrollLimitXMax", "msScrollLimitXMin", "msScrollLimitYMax", "msScrollLimitYMin", "msScrollRails", "msScrollSnapPointsX", "msScrollSnapPointsY", "msScrollSnapType", "msScrollSnapX", "msScrollSnapY", "msScrollTranslation", "msScrollbar3dlightColor", "msScrollbarArrowColor", "msScrollbarBaseColor", "msScrollbarDarkshadowColor", "msScrollbarFaceColor", "msScrollbarHighlightColor", "msScrollbarShadowColor", "msScrollbarTrackColor", "msTextAutospace", "msTextCombineHorizontal", "msTextOverflow", "msTouchAction", "msTouchSelect", "msTransform", "msTransformOrigin", "msTransition", "msTransitionDelay", "msTransitionDuration", "msTransitionProperty", "msTransitionTimingFunction", "msUserSelect", "msWordBreak", "msWrapFlow", "msWrapMargin", "msWrapThrough", "msWritingMode", "objectFit", "objectPosition", "offset", "offsetAnchor", "offsetDistance", "offsetPath", "offsetPosition", "offsetRotate", "offsetRotation", "opacity", "order", "orphans", "outline", "outlineColor", "outlineOffset", "outlineStyle", "outlineWidth", "overflow", "overflowAnchor", "overflowBlock", "overflowClipBox", "overflowClipMargin", "overflowInline", "overflowWrap", "overflowX", "overflowY", "overlay", "overscrollBehavior", "overscrollBehaviorBlock", "overscrollBehaviorInline", "overscrollBehaviorX", "overscrollBehaviorY", "padding", "paddingBlock", "paddingBlockEnd", "paddingBlockStart", "paddingBottom", "paddingInline", "paddingInlineEnd", "paddingInlineStart", "paddingLeft", "paddingRight", "paddingTop", "page", "pageBreakAfter", "pageBreakBefore", "pageBreakInside", "paintOrder", "perspective", "perspectiveOrigin", "placeContent", "placeItems", "placeSelf", "pointerEvents", "position", "printColorAdjust", "quotes", "resize", "right", "rotate", "rowGap", "rubyAlign", "rubyMerge", "rubyPosition", "scale", "scrollBehavior", "scrollMargin", "scrollMarginBlock", "scrollMarginBlockEnd", "scrollMarginBlockStart", "scrollMarginBottom", "scrollMarginInline", "scrollMarginInlineEnd", "scrollMarginInlineStart", "scrollMarginLeft", "scrollMarginRight", "scrollMarginTop", "scrollPadding", "scrollPaddingBlock", "scrollPaddingBlockEnd", "scrollPaddingBlockStart", "scrollPaddingBottom", "scrollPaddingInline", "scrollPaddingInlineEnd", "scrollPaddingInlineStart", "scrollPaddingLeft", "scrollPaddingRight", "scrollPaddingTop", "scrollSnapAlign", "scrollSnapMargin", "scrollSnapMarginBottom", "scrollSnapMarginLeft", "scrollSnapMarginRight", "scrollSnapMarginTop", "scrollSnapStop", "scrollSnapType", "scrollTimeline", "scrollTimelineAxis", "scrollTimelineName", "scrollbarColor", "scrollbarGutter", "scrollbarWidth", "shapeImageThreshold", "shapeMargin", "shapeOutside", "tabSize", "tableLayout", "textAlign", "textAlignLast", "textCombineUpright", "textDecoration", "textDecorationColor", "textDecorationLine", "textDecorationSkip", "textDecorationSkipInk", "textDecorationStyle", "textDecorationThickness", "textEmphasis", "textEmphasisColor", "textEmphasisPosition", "textEmphasisStyle", "textIndent", "textJustify", "textOrientation", "textOverflow", "textRendering", "textShadow", "textSizeAdjust", "textTransform", "textUnderlineOffset", "textUnderlinePosition", "textWrap", "timelineScope", "top", "touchAction", "transform", "transformBox", "transformOrigin", "transformStyle", "transition", "transitionBehavior", "transitionDelay", "transitionDuration", "transitionProperty", "transitionTimingFunction", "translate", "unicodeBidi", "userSelect", "verticalAlign", "viewTimeline", "viewTimelineAxis", "viewTimelineInset", "viewTimelineName", "viewTransitionName", "visibility", "whiteSpace", "whiteSpaceCollapse", "whiteSpaceTrim", "widows", "width", "willChange", "wordBreak", "wordSpacing", "wordWrap", "writingMode", "zIndex", "zoom"];
2
- export default cssProperties;
3
- //# sourceMappingURL=css-properties.const.d.ts.map
@@ -1 +0,0 @@
1
- function t(t){for(var e,a=0,r=0,c=t.length;c>=4;++r,c-=4)e=1540483477*(65535&(e=255&t.charCodeAt(r)|(255&t.charCodeAt(++r))<<8|(255&t.charCodeAt(++r))<<16|(255&t.charCodeAt(++r))<<24))+(59797*(e>>>16)<<16),a=1540483477*(65535&(e^=e>>>24))+(59797*(e>>>16)<<16)^1540483477*(65535&a)+(59797*(a>>>16)<<16);switch(c){case 3:a^=(255&t.charCodeAt(r+2))<<16;case 2:a^=(255&t.charCodeAt(r+1))<<8;case 1:a=1540483477*(65535&(a^=255&t.charCodeAt(r)))+(59797*(a>>>16)<<16)}return(((a=1540483477*(65535&(a^=a>>>13))+(59797*(a>>>16)<<16))^a>>>15)>>>0).toString(36)}export{t as default};
@@ -1 +0,0 @@
1
- function t(t){var e=Object.create(null);return function(n){return void 0===e[n]&&(e[n]=t(n)),e[n]}}export{t as default};
@@ -1 +0,0 @@
1
- import e from"../../hash/dist/emotion-hash.esm.js";import r from"../../unitless/dist/emotion-unitless.esm.js";import t from"../../memoize/dist/emotion-memoize.esm.js";var n=/[A-Z]|^ms/g,o=/_EMO_([^_]+?)_([^]*?)_EMO_/g,i=function(e){return 45===e.charCodeAt(1)},a=function(e){return null!=e&&"boolean"!=typeof e},s=t(function(e){return i(e)?e:e.replace(n,"-$&").toLowerCase()}),l=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(o,function(e,r,t){return u={name:r,styles:t,next:u},r})}return 1===r[e]||i(e)||"number"!=typeof t||0===t?t:t+"px"};function f(e,r,t){if(null==t)return"";var n=t;if(void 0!==n.__emotion_styles)return n;switch(typeof t){case"boolean":return"";case"object":var o=t;if(1===o.anim)return u={name:o.name,styles:o.styles,next:u},o.name;var i=t;if(void 0!==i.styles){var m=i.next;if(void 0!==m)for(;void 0!==m;)u={name:m.name,styles:m.styles,next:u},m=m.next;return i.styles+";"}return function(e,r,t){var n="";if(Array.isArray(t))for(var o=0;o<t.length;o++)n+=f(e,r,t[o])+";";else for(var i in t){var u=t[i];if("object"!=typeof u){var m=u;null!=r&&void 0!==r[m]?n+=i+"{"+r[m]+"}":a(m)&&(n+=s(i)+":"+l(i,m)+";")}else if(!Array.isArray(u)||"string"!=typeof u[0]||null!=r&&void 0!==r[u[0]]){var v=f(e,r,u);switch(i){case"animation":case"animationName":n+=s(i)+":"+v+";";break;default:n+=i+"{"+v+"}"}}else for(var c=0;c<u.length;c++)a(u[c])&&(n+=s(i)+":"+l(i,u[c])+";")}return n}(e,r,t)}var v=t;if(null==r)return v;var c=r[v];return void 0!==c?c:v}var u,m=/label:\s*([^\s;{]+)\s*(;|$)/g;function v(r,t,n){if(1===r.length&&"object"==typeof r[0]&&null!==r[0]&&void 0!==r[0].styles)return r[0];var o=!0,i="";u=void 0;var a=r[0];null==a||void 0===a.raw?(o=!1,i+=f(n,t,a)):i+=a[0];for(var s=1;s<r.length;s++){if(i+=f(n,t,r[s]),o)i+=a[s]}m.lastIndex=0;for(var l,v="";null!==(l=m.exec(i));)v+="-"+l[1];return{name:e(i)+v,styles:i,next:u}}export{v as serializeStyles};
@@ -1 +0,0 @@
1
- var o={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};export{o as default};
@@ -1 +0,0 @@
1
- var e="undefined"!=typeof document,n=function(e,n,i){var r=e.key+"-"+n.name;void 0===e.registered[r]&&(e.registered[r]=n.styles)},i=function(i,r,t){n(i,r);var d=i.key+"-"+r.name;if(void 0===i.inserted[r.name]){var o="",v=r;do{var a=i.insert(r===v?"."+d:"",v,i.sheet,!0);e||void 0===a||(o+=a),v=v.next}while(void 0!==v);if(!e&&0!==o.length)return o}};export{i as insertStyles,n as registerStyles};
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes