-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path8975.31df9ae2.iframe.bundle.js
1 lines (1 loc) · 31.7 KB
/
8975.31df9ae2.iframe.bundle.js
1
"use strict";(self.webpackChunk_leather_io_ui=self.webpackChunk_leather_io_ui||[]).push([[8975],{"./leather-styles/jsx/index.js":(__unused_webpack_module,__webpack_exports__,__webpack_require__)=>{__webpack_require__.d(__webpack_exports__,{az:()=>Box,jl:()=>Circle,so:()=>Flex,zt:()=>HStack,BJ:()=>Stack,Rq:()=>isCssProperty,I4:()=>styled});var react=__webpack_require__("../../node_modules/.pnpm/react@18.2.0/node_modules/react/index.js"),css=__webpack_require__("./leather-styles/css/index.js"),helpers=__webpack_require__("./leather-styles/helpers.js"),userGenerated="css,pos,insetX,insetY,insetEnd,end,insetStart,start,flexDir,p,pl,pr,pt,pb,py,paddingY,paddingX,px,pe,paddingEnd,ps,paddingStart,ml,mr,mt,mb,m,my,marginY,mx,marginX,me,marginEnd,ms,marginStart,ringWidth,ringColor,ring,ringOffset,w,minW,maxW,h,minH,maxH,textShadowColor,bgPosition,bgPositionX,bgPositionY,bgAttachment,bgClip,bg,bgColor,bgOrigin,bgImage,bgRepeat,bgBlendMode,bgSize,bgGradient,rounded,roundedTopLeft,roundedTopRight,roundedBottomRight,roundedBottomLeft,roundedTop,roundedRight,roundedBottom,roundedLeft,roundedStartStart,roundedStartEnd,roundedStart,roundedEndStart,roundedEndEnd,roundedEnd,borderX,borderXWidth,borderXColor,borderY,borderYWidth,borderYColor,borderStart,borderStartWidth,borderStartColor,borderEnd,borderEndWidth,borderEndColor,shadow,shadowColor,x,y,z,scrollMarginY,scrollMarginX,scrollPaddingY,scrollPaddingX,aspectRatio,boxDecorationBreak,zIndex,boxSizing,objectPosition,objectFit,overscrollBehavior,overscrollBehaviorX,overscrollBehaviorY,position,top,left,inset,insetInline,insetBlock,insetBlockEnd,insetBlockStart,insetInlineEnd,insetInlineStart,right,bottom,float,visibility,display,hideFrom,hideBelow,flexBasis,flex,flexDirection,flexGrow,flexShrink,gridTemplateColumns,gridTemplateRows,gridColumn,gridRow,gridColumnStart,gridColumnEnd,gridAutoFlow,gridAutoColumns,gridAutoRows,gap,gridGap,gridRowGap,gridColumnGap,rowGap,columnGap,justifyContent,alignContent,alignItems,alignSelf,padding,paddingLeft,paddingRight,paddingTop,paddingBottom,paddingBlock,paddingBlockEnd,paddingBlockStart,paddingInline,paddingInlineEnd,paddingInlineStart,marginLeft,marginRight,marginTop,marginBottom,margin,marginBlock,marginBlockEnd,marginBlockStart,marginInline,marginInlineEnd,marginInlineStart,spaceX,spaceY,outlineWidth,outlineColor,outline,outlineOffset,divideX,divideY,divideColor,divideStyle,width,inlineSize,minWidth,minInlineSize,maxWidth,maxInlineSize,height,blockSize,minHeight,minBlockSize,maxHeight,maxBlockSize,color,fontFamily,fontSize,fontSizeAdjust,fontPalette,fontKerning,fontFeatureSettings,fontWeight,fontSmoothing,fontVariant,fontVariantAlternates,fontVariantCaps,fontVariationSettings,fontVariantNumeric,letterSpacing,lineHeight,textAlign,textDecoration,textDecorationColor,textEmphasisColor,textDecorationStyle,textDecorationThickness,textUnderlineOffset,textTransform,textIndent,textShadow,textOverflow,verticalAlign,wordBreak,textWrap,truncate,lineClamp,listStyleType,listStylePosition,listStyleImage,listStyle,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundAttachment,backgroundClip,background,backgroundColor,backgroundOrigin,backgroundImage,backgroundRepeat,backgroundBlendMode,backgroundSize,backgroundGradient,textGradient,gradientFromPosition,gradientToPosition,gradientFrom,gradientTo,gradientVia,gradientViaPosition,borderRadius,borderTopLeftRadius,borderTopRightRadius,borderBottomRightRadius,borderBottomLeftRadius,borderTopRadius,borderRightRadius,borderBottomRadius,borderLeftRadius,borderStartStartRadius,borderStartEndRadius,borderStartRadius,borderEndStartRadius,borderEndEndRadius,borderEndRadius,border,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,borderColor,borderInline,borderInlineWidth,borderInlineColor,borderBlock,borderBlockWidth,borderBlockColor,borderLeft,borderLeftColor,borderInlineStart,borderInlineStartWidth,borderInlineStartColor,borderRight,borderRightColor,borderInlineEnd,borderInlineEndWidth,borderInlineEndColor,borderTop,borderTopColor,borderBottom,borderBottomColor,borderBlockEnd,borderBlockEndColor,borderBlockStart,borderBlockStartColor,opacity,boxShadow,boxShadowColor,mixBlendMode,filter,brightness,contrast,grayscale,hueRotate,invert,saturate,sepia,dropShadow,blur,backdropFilter,backdropBlur,backdropBrightness,backdropContrast,backdropGrayscale,backdropHueRotate,backdropInvert,backdropOpacity,backdropSaturate,backdropSepia,borderCollapse,borderSpacing,borderSpacingX,borderSpacingY,tableLayout,transitionTimingFunction,transitionDelay,transitionDuration,transitionProperty,transition,animation,animationName,animationTimingFunction,animationDuration,animationDelay,animationPlayState,animationComposition,animationFillMode,animationDirection,animationIterationCount,animationRange,animationState,animationRangeStart,animationRangeEnd,animationTimeline,transformOrigin,transformBox,transformStyle,transform,rotate,rotateX,rotateY,rotateZ,scale,scaleX,scaleY,translate,translateX,translateY,translateZ,accentColor,caretColor,scrollBehavior,scrollbar,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollMargin,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollMarginBottom,scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollPadding,scrollPaddingBlock,scrollPaddingBlockStart,scrollPaddingBlockEnd,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollPaddingBottom,scrollSnapAlign,scrollSnapStop,scrollSnapType,scrollSnapStrictness,scrollSnapMargin,scrollSnapMarginTop,scrollSnapMarginBottom,scrollSnapMarginLeft,scrollSnapMarginRight,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,touchAction,userSelect,overflow,overflowWrap,overflowX,overflowY,overflowAnchor,overflowBlock,overflowInline,overflowClipBox,overflowClipMargin,overscrollBehaviorBlock,overscrollBehaviorInline,fill,stroke,strokeWidth,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,srOnly,debug,appearance,backfaceVisibility,clipPath,hyphens,mask,maskImage,maskSize,textSizeAdjust,container,containerName,containerType,colorPalette,_hover,_focus,_focusWithin,_focusVisible,_disabled,_active,_visited,_target,_readOnly,_readWrite,_empty,_checked,_enabled,_expanded,_highlighted,_complete,_incomplete,_dragging,_before,_after,_firstLetter,_firstLine,_marker,_selection,_file,_backdrop,_first,_last,_only,_even,_odd,_firstOfType,_lastOfType,_onlyOfType,_peerFocus,_peerHover,_peerActive,_peerFocusWithin,_peerFocusVisible,_peerDisabled,_peerChecked,_peerInvalid,_peerExpanded,_peerPlaceholderShown,_groupFocus,_groupHover,_groupActive,_groupFocusWithin,_groupFocusVisible,_groupDisabled,_groupChecked,_groupExpanded,_groupInvalid,_indeterminate,_required,_valid,_invalid,_autofill,_inRange,_outOfRange,_placeholder,_placeholderShown,_pressed,_selected,_grabbed,_underValue,_overValue,_atValue,_default,_optional,_open,_closed,_fullscreen,_loading,_hidden,_current,_currentPage,_currentStep,_today,_unavailable,_rangeStart,_rangeEnd,_now,_topmost,_motionReduce,_motionSafe,_print,_landscape,_portrait,_dark,_light,_osDark,_osLight,_highContrast,_lessContrast,_moreContrast,_ltr,_rtl,_scrollbar,_scrollbarThumb,_scrollbarTrack,_horizontal,_vertical,_icon,_starting,sm,smOnly,smDown,md,mdOnly,mdDown,lg,lgOnly,lgDown,xl,xlOnly,xlDown,2xl,2xlOnly,2xlDown,smToMd,smToLg,smToXl,smTo2xl,mdToLg,mdToXl,mdTo2xl,lgToXl,lgTo2xl,xlTo2xl,textStyle".split(","),allCssProperties="WebkitAppearance,WebkitBorderBefore,WebkitBorderBeforeColor,WebkitBorderBeforeStyle,WebkitBorderBeforeWidth,WebkitBoxReflect,WebkitLineClamp,WebkitMask,WebkitMaskAttachment,WebkitMaskClip,WebkitMaskComposite,WebkitMaskImage,WebkitMaskOrigin,WebkitMaskPosition,WebkitMaskPositionX,WebkitMaskPositionY,WebkitMaskRepeat,WebkitMaskRepeatX,WebkitMaskRepeatY,WebkitMaskSize,WebkitOverflowScrolling,WebkitTapHighlightColor,WebkitTextFillColor,WebkitTextStroke,WebkitTextStrokeColor,WebkitTextStrokeWidth,WebkitTouchCallout,WebkitUserModify,WebkitUserSelect,accentColor,alignContent,alignItems,alignSelf,alignTracks,all,anchorName,anchorScope,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,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,boxAlign,boxDecorationBreak,boxDirection,boxFlex,boxFlexGroup,boxLines,boxOrdinalGroup,boxOrient,boxPack,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,caret,caretColor,caretShape,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,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,cx,cy,d,direction,display,dominantBaseline,emptyCells,fieldSizing,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,floodColor,floodOpacity,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,gridColumnGap,gridColumnStart,gridGap,gridRow,gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,gridTemplateRows,hangingPunctuation,height,hyphenateCharacter,hyphenateLimitChars,hyphens,imageOrientation,imageRendering,imageResolution,imeMode,initialLetter,initialLetterAlign,inlineSize,inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,interpolateSize,isolation,justifyContent,justifyItems,justifySelf,justifyTracks,left,letterSpacing,lightingColor,lineBreak,lineClamp,lineHeight,lineHeightStep,listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marginTrim,marker,markerEnd,markerMid,markerStart,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,objectFit,objectPosition,offset,offsetAnchor,offsetDistance,offsetPath,offsetPosition,offsetRotate,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,positionAnchor,positionArea,positionTry,positionTryFallbacks,positionTryOrder,positionVisibility,printColorAdjust,quotes,r,resize,right,rotate,rowGap,rubyAlign,rubyMerge,rubyPosition,rx,ry,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,scrollSnapCoordinate,scrollSnapDestination,scrollSnapPointsX,scrollSnapPointsY,scrollSnapStop,scrollSnapType,scrollSnapTypeX,scrollSnapTypeY,scrollTimeline,scrollTimelineAxis,scrollTimelineName,scrollbarColor,scrollbarGutter,scrollbarWidth,shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tabSize,tableLayout,textAlign,textAlignLast,textAnchor,textBox,textBoxEdge,textBoxTrim,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkip,textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textSpacingTrim,textTransform,textUnderlineOffset,textUnderlinePosition,textWrap,textWrapMode,textWrapStyle,timelineScope,top,touchAction,transform,transformBox,transformOrigin,transformStyle,transition,transitionBehavior,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,unicodeBidi,userSelect,vectorEffect,verticalAlign,viewTimeline,viewTimelineAxis,viewTimelineInset,viewTimelineName,viewTransitionName,visibility,whiteSpace,whiteSpaceCollapse,widows,width,willChange,wordBreak,wordSpacing,wordWrap,writingMode,x,y,zIndex,zoom,alignmentBaseline,baselineShift,colorInterpolation,colorRendering,glyphOrientationVertical".split(",").concat(userGenerated),properties=new Map(allCssProperties.map((prop=>[prop,!0]))),cssPropertySelectorRegex=/&|@/,isCssProperty=(0,helpers.ph)((prop=>properties.has(prop)||prop.startsWith("--")||cssPropertySelectorRegex.test(prop)));const defaultShouldForwardProp=(prop,variantKeys)=>!variantKeys.includes(prop)&&!isCssProperty(prop);function styledFn(Dynamic,configOrCva={},options={}){const cvaFn=configOrCva.__cva__||configOrCva.__recipe__?configOrCva:(0,css.Fj)(configOrCva),forwardFn=options.shouldForwardProp||defaultShouldForwardProp,shouldForwardProp=prop=>forwardFn(prop,cvaFn.variantKeys),defaultProps=Object.assign(options.dataAttr&&configOrCva.__name__?{"data-recipe":configOrCva.__name__}:{},options.defaultProps),__cvaFn__=((cvaA,cvaB)=>{if(cvaA&&!cvaB)return cvaA;if(!cvaA&&cvaB)return cvaB;if(cvaA.__cva__&&cvaB.__cva__||cvaA.__recipe__&&cvaB.__recipe__)return cvaA.merge(cvaB);const error=new TypeError("Cannot merge cva with recipe. Please use either cva or recipe.");throw TypeError.captureStackTrace?.(error),error})(Dynamic.__cva__,cvaFn),__shouldForwardProps__=((tag,shouldForwardProp)=>tag.__shouldForwardProps__&&shouldForwardProp?propName=>tag.__shouldForwardProps__(propName)&&shouldForwardProp(propName):shouldForwardProp)(Dynamic,shouldForwardProp),__base__=Dynamic.__base__||Dynamic,StyledComponent=(0,react.forwardRef)((function StyledComponent(props,ref){const{as:Element=__base__,children,...restProps}=props,combinedProps=(0,react.useMemo)((()=>Object.assign({},defaultProps,restProps)),[restProps]),[htmlProps,forwardedProps,variantProps,styleProps,elementProps]=(0,react.useMemo)((()=>(0,helpers.rg)(combinedProps,helpers.xu.keys,__shouldForwardProps__,__cvaFn__.variantKeys,isCssProperty)),[combinedProps]);const classes=configOrCva.__recipe__?function recipeClass(){const{css:cssStyles,...propStyles}=styleProps,compoundVariantStyles=__cvaFn__.__getCompoundVariantCss__?.(variantProps);return(0,css.cx)(__cvaFn__(variantProps,!1),(0,css.AH)(compoundVariantStyles,propStyles,cssStyles),combinedProps.className)}:function cvaClass(){const{css:cssStyles,...propStyles}=styleProps,cvaStyles=__cvaFn__.raw(variantProps);return(0,css.cx)((0,css.AH)(cvaStyles,propStyles,cssStyles),combinedProps.className)};return(0,react.createElement)(Element,{ref,...forwardedProps,...elementProps,...(0,helpers.xu)(htmlProps),className:classes()},combinedProps.children??children)})),name="string"==typeof(Component=__base__)?Component:Component?.displayName||Component?.name||"Component";var Component;return StyledComponent.displayName=`styled.${name}`,StyledComponent.__cva__=__cvaFn__,StyledComponent.__base__=__base__,StyledComponent.__shouldForwardProps__=shouldForwardProp,StyledComponent}function createJsxFactory(){const cache=new Map;return new Proxy(styledFn,{apply:(_,__,args)=>styledFn(...args),get:(_,el)=>(cache.has(el)||cache.set(el,styledFn(el)),cache.get(el))})}const styled=createJsxFactory(),boxConfig={transform:props=>props},getBoxStyle=(styles={})=>{const _styles=(0,helpers.HZ)(boxConfig,styles);return boxConfig.transform(_styles,helpers.Ek)},Box=(0,react.forwardRef)((function Box(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,[]),mergedProps={ref,...getBoxStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)}));Box.__docgenInfo={description:"",methods:[],displayName:"Box"};const flexConfig={transform(props){const{direction,align,justify,wrap:wrap2,basis,grow,shrink,...rest}=props;return{display:"flex",flexDirection:direction,alignItems:align,justifyContent:justify,flexWrap:wrap2,flexBasis:basis,flexGrow:grow,flexShrink:shrink,...rest}}},getFlexStyle=(styles={})=>{const _styles=(0,helpers.HZ)(flexConfig,styles);return flexConfig.transform(_styles,helpers.Ek)},Flex=(0,react.forwardRef)((function Flex(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["align","justify","direction","wrap","basis","grow","shrink"]),mergedProps={ref,...getFlexStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)}));Flex.__docgenInfo={description:"",methods:[],displayName:"Flex"};const stackConfig={transform(props){const{align,justify,direction,gap,...rest}=props;return{display:"flex",flexDirection:direction,alignItems:align,justifyContent:justify,gap,...rest}},defaultValues:{direction:"column",gap:"10px"}},getStackStyle=(styles={})=>{const _styles=(0,helpers.HZ)(stackConfig,styles);return stackConfig.transform(_styles,helpers.Ek)},Stack=(0,react.forwardRef)((function Stack(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["align","justify","direction","gap"]),mergedProps={ref,...getStackStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)}));Stack.__docgenInfo={description:"",methods:[],displayName:"Stack"};const vstackConfig={transform(props){const{justify,gap,...rest}=props;return{display:"flex",alignItems:"center",justifyContent:justify,gap,flexDirection:"column",...rest}},defaultValues:{gap:"10px"}},getVstackStyle=(styles={})=>{const _styles=(0,helpers.HZ)(vstackConfig,styles);return vstackConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function VStack(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["justify","gap"]),mergedProps={ref,...getVstackStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"VStack"};const hstackConfig={transform(props){const{justify,gap,...rest}=props;return{display:"flex",alignItems:"center",justifyContent:justify,gap,flexDirection:"row",...rest}},defaultValues:{gap:"10px"}},getHstackStyle=(styles={})=>{const _styles=(0,helpers.HZ)(hstackConfig,styles);return hstackConfig.transform(_styles,helpers.Ek)},HStack=(0,react.forwardRef)((function HStack(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["justify","gap"]),mergedProps={ref,...getHstackStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)}));HStack.__docgenInfo={description:"",methods:[],displayName:"HStack"};const spacerConfig={transform(props,{map}){const{size,...rest}=props;return{alignSelf:"stretch",justifySelf:"stretch",flex:map(size,(v=>null==v?"1":`0 0 ${v}`)),...rest}}},getSpacerStyle=(styles={})=>{const _styles=(0,helpers.HZ)(spacerConfig,styles);return spacerConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Spacer(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["size"]),mergedProps={ref,...getSpacerStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Spacer"};const squareConfig={transform(props){const{size,...rest}=props;return{display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto",width:size,height:size,...rest}}},getSquareStyle=(styles={})=>{const _styles=(0,helpers.HZ)(squareConfig,styles);return squareConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Square(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["size"]),mergedProps={ref,...getSquareStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Square"};const circleConfig={transform(props){const{size,...rest}=props;return{display:"flex",alignItems:"center",justifyContent:"center",flex:"0 0 auto",width:size,height:size,borderRadius:"9999px",...rest}}},getCircleStyle=(styles={})=>{const _styles=(0,helpers.HZ)(circleConfig,styles);return circleConfig.transform(_styles,helpers.Ek)},Circle=(0,react.forwardRef)((function Circle(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["size"]),mergedProps={ref,...getCircleStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)}));Circle.__docgenInfo={description:"",methods:[],displayName:"Circle"};const centerConfig={transform(props){const{inline,...rest}=props;return{display:inline?"inline-flex":"flex",alignItems:"center",justifyContent:"center",...rest}}},getCenterStyle=(styles={})=>{const _styles=(0,helpers.HZ)(centerConfig,styles);return centerConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Center(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["inline"]),mergedProps={ref,...getCenterStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Center"};const linkOverlayConfig={transform:props=>({_before:{content:'""',position:"absolute",inset:"0",zIndex:"0",...props._before},...props})},getLinkOverlayStyle=(styles={})=>{const _styles=(0,helpers.HZ)(linkOverlayConfig,styles);return linkOverlayConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function LinkOverlay(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,[]),mergedProps={ref,...getLinkOverlayStyle(patternProps),...restProps};return(0,react.createElement)(styled.a,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"LinkOverlay"};const aspectRatioConfig={transform(props,{map}){const{ratio=4/3,...rest}=props;return{position:"relative",_before:{content:'""',display:"block",height:"0",paddingBottom:map(ratio,(r=>1/r*100+"%"))},"&>*":{display:"flex",justifyContent:"center",alignItems:"center",overflow:"hidden",position:"absolute",inset:"0",width:"100%",height:"100%"},"&>img, &>video":{objectFit:"cover"},...rest}}},getAspectRatioStyle=(styles={})=>{const _styles=(0,helpers.HZ)(aspectRatioConfig,styles);return aspectRatioConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function AspectRatio(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["ratio"]),mergedProps={ref,...getAspectRatioStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"AspectRatio"};const gridConfig={transform(props,{map,isCssUnit}){const{columnGap,rowGap,gap,columns,minChildWidth,...rest}=props;return{display:"grid",gridTemplateColumns:null!=columns?map(columns,(v=>`repeat(${v}, minmax(0, 1fr))`)):null!=minChildWidth?map(minChildWidth,(v=>`repeat(auto-fit, minmax(${(v=>isCssUnit(v)?v:`token(sizes.${v}, ${v})`)(v)}, 1fr))`)):void 0,gap,columnGap,rowGap,...rest}},defaultValues:props=>({gap:props.columnGap||props.rowGap?void 0:"10px"})},getGridStyle=(styles={})=>{const _styles=(0,helpers.HZ)(gridConfig,styles);return gridConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Grid(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["gap","columnGap","rowGap","columns","minChildWidth"]),mergedProps={ref,...getGridStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Grid"};const gridItemConfig={transform(props,{map}){const{colSpan,rowSpan,colStart,rowStart,colEnd,rowEnd,...rest}=props,spanFn=v=>"auto"===v?v:`span ${v}`;return{gridColumn:null!=colSpan?map(colSpan,spanFn):void 0,gridRow:null!=rowSpan?map(rowSpan,spanFn):void 0,gridColumnStart:colStart,gridColumnEnd:colEnd,gridRowStart:rowStart,gridRowEnd:rowEnd,...rest}}},getGridItemStyle=(styles={})=>{const _styles=(0,helpers.HZ)(gridItemConfig,styles);return gridItemConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function GridItem(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["colSpan","rowSpan","colStart","rowStart","colEnd","rowEnd"]),mergedProps={ref,...getGridItemStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"GridItem"};const wrapConfig={transform(props){const{columnGap,rowGap,gap=columnGap||rowGap?void 0:"10px",align,justify,...rest}=props;return{display:"flex",flexWrap:"wrap",alignItems:align,justifyContent:justify,gap,columnGap,rowGap,...rest}}},getWrapStyle=(styles={})=>{const _styles=(0,helpers.HZ)(wrapConfig,styles);return wrapConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Wrap(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["gap","rowGap","columnGap","align","justify"]),mergedProps={ref,...getWrapStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Wrap"};const containerConfig={transform:props=>({position:"relative",maxWidth:"8xl",mx:"auto",px:{base:"4",md:"6",lg:"8"},...props})},getContainerStyle=(styles={})=>{const _styles=(0,helpers.HZ)(containerConfig,styles);return containerConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Container(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,[]),mergedProps={ref,...getContainerStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Container"};const dividerConfig={transform(props,{map}){const{orientation,thickness,color,...rest}=props;return{"--thickness":thickness,width:map(orientation,(v=>"vertical"===v?void 0:"100%")),height:map(orientation,(v=>"horizontal"===v?void 0:"100%")),borderBlockEndWidth:map(orientation,(v=>"horizontal"===v?"var(--thickness)":void 0)),borderInlineEndWidth:map(orientation,(v=>"vertical"===v?"var(--thickness)":void 0)),borderColor:color,...rest}},defaultValues:{orientation:"horizontal",thickness:"1px"}},getDividerStyle=(styles={})=>{const _styles=(0,helpers.HZ)(dividerConfig,styles);return dividerConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Divider(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["orientation","thickness","color"]),mergedProps={ref,...getDividerStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Divider"};const floatConfig={transform(props,{map}){const{offset,offsetX,offsetY,placement,...rest}=props;return{display:"inline-flex",justifyContent:"center",alignItems:"center",position:"absolute",insetBlockStart:map(placement,(v=>{const[side]=v.split("-");return{top:offsetY,middle:"50%",bottom:"auto"}[side]})),insetBlockEnd:map(placement,(v=>{const[side]=v.split("-");return{top:"auto",middle:"50%",bottom:offsetY}[side]})),insetInlineStart:map(placement,(v=>{const[,align]=v.split("-");return{start:offsetX,center:"50%",end:"auto"}[align]})),insetInlineEnd:map(placement,(v=>{const[,align]=v.split("-");return{start:"auto",center:"50%",end:offsetX}[align]})),translate:map(placement,(v=>{const[side,align]=v.split("-");return`${{start:"-50%",center:"-50%",end:"50%"}[align]} ${{top:"-50%",middle:"-50%",bottom:"50%"}[side]}`})),...rest}},defaultValues(props){const offset=props.offset||"0";return{offset,offsetX:offset,offsetY:offset,placement:"top-end"}}},getFloatStyle=(styles={})=>{const _styles=(0,helpers.HZ)(floatConfig,styles);return floatConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Float(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["offsetX","offsetY","offset","placement"]),mergedProps={ref,...getFloatStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Float"};const bleedConfig={transform(props,{map,isCssUnit,isCssVar}){const{inline,block,...rest}=props,valueFn=v=>isCssUnit(v)||isCssVar(v)?v:`token(spacing.${v}, ${v})`;return{"--bleed-x":map(inline,valueFn),"--bleed-y":map(block,valueFn),marginInline:"calc(var(--bleed-x, 0) * -1)",marginBlock:"calc(var(--bleed-y, 0) * -1)",...rest}},defaultValues:{inline:"0",block:"0"}},getBleedStyle=(styles={})=>{const _styles=(0,helpers.HZ)(bleedConfig,styles);return bleedConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Bleed(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["inline","block"]),mergedProps={ref,...getBleedStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Bleed"};const visuallyHiddenConfig={transform:props=>({srOnly:!0,...props})},getVisuallyHiddenStyle=(styles={})=>{const _styles=(0,helpers.HZ)(visuallyHiddenConfig,styles);return visuallyHiddenConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function VisuallyHidden(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,[]),mergedProps={ref,...getVisuallyHiddenStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"VisuallyHidden"};const cqConfig={transform(props){const{name,type,...rest}=props;return{containerType:type,containerName:name,...rest}},defaultValues:{type:"inline-size"}},getCqStyle=(styles={})=>{const _styles=(0,helpers.HZ)(cqConfig,styles);return cqConfig.transform(_styles,helpers.Ek)};(0,react.forwardRef)((function Cq(props,ref){const[patternProps,restProps]=(0,helpers.rg)(props,["name","type"]),mergedProps={ref,...getCqStyle(patternProps),...restProps};return(0,react.createElement)(styled.div,mergedProps)})).__docgenInfo={description:"",methods:[],displayName:"Cq"}}}]);