diff --git a/exporters/variables-scss/generated/exporter.cjs b/exporters/variables-scss/generated/exporter.cjs index e2d0db8615..c2bfa727bd 100644 --- a/exporters/variables-scss/generated/exporter.cjs +++ b/exporters/variables-scss/generated/exporter.cjs @@ -1,17 +1,20 @@ -"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function Le(p){if(p.__esModule)return p;var s=p.default;if(typeof s=="function"){var y=function n(){return this instanceof n?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};y.prototype=s.prototype}else y={};return Object.defineProperty(y,"__esModule",{value:!0}),Object.keys(p).forEach(function(n){var T=Object.getOwnPropertyDescriptor(p,n);Object.defineProperty(y,n,T.get?T:{enumerable:!0,get:function(){return p[n]}})}),y}var D={},ge={},Pe;function je(){return Pe||(Pe=1,function(p){(()=>{var s={9932:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.docsImageRefToUrl=t.DocsImageRefType=void 0,function(e){e.resource="Resource",e.figmaNode="FigmaNode"}(o||(t.DocsImageRefType=o={})),t.docsImageRefToUrl=function(e,a,d){var c;if(e)switch(e.type){case o.resource:return(c=e.resource)===null||c===void 0?void 0:c.url;case o.figmaNode:return!e.figmaNode||!e.figmaNode.sourceId||!e.figmaNode.frameReferenceId?void 0:a.resources.getFigmaFrameHostedUrl({designSystemId:d.dsId,versionId:d.versionId},e.figmaNode.frameReferenceId);default:return}}},5673:(r,t)=>{var o;function e(a){switch(a.type){case o.documentationItem:return`@page:${a.documentationItemId}`;case o.pageHeading:return`@page:${a.documentationItemId}#${a.pageHeadingId}`;case o.url:return a.url;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.linkAttributeToDocsLink=t.docsLinkToLinkAttributes=t.docsLinkToUrl=t.DocsLinkRefType=void 0,function(a){a.documentationItem="DocumentationItem",a.pageHeading="PageHeading",a.url="Url"}(o||(t.DocsLinkRefType=o={})),t.docsLinkToUrl=e,t.docsLinkToLinkAttributes=function(a){const d=e(a);if(d)return{href:d,target:a.openInNewTab?"_blank":"_self"}},t.linkAttributeToDocsLink=function(a,d){if(!a)return;const c=d==="_blank";if(a.startsWith("@page:")){if(a.includes("#")){const[l,i]=a.replace("@page:","").split("#");return{type:o.pageHeading,documentationItemId:l,pageHeadingId:i,openInNewTab:c}}return{type:o.documentationItem,documentationItemId:a.replace("@page:",""),openInNewTab:c}}return{type:o.url,url:a,openInNewTab:c}}},2657:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockShortcutType=void 0,function(e){e.external="External",e.internal="Internal"}(o||(t.DocumentationLegacyPageBlockShortcutType=o={})),t.DocumentationLegacyPageBlockShortcut=class{constructor(e){var a;e.url?this.type=o.external:this.type=o.internal,this.title=this.shortcutTitleFromModel(e,this.type),this.description=this.shortcutDescriptionFromModel(e,this.type),this.previewUrl=this.shortcutPreviewUrlFromModel(e),this.type===o.internal&&(!((a=e.documentationItemPreview)===null||a===void 0)&&a.valid)&&e.documentationItemId?this.internalId=e.documentationItemId:(this.internalId=null,this.type===o.external&&e.url?this.externalUrl=e.url:this.externalUrl=null)}shortcutTitleFromModel(e,a){var d,c,l,i,u;let m=null;return e.title&&e.title.trim().length>0?m=e.title:a===o.internal?m=(c=(d=e.documentationItemPreview)===null||d===void 0?void 0:d.title)!==null&&c!==void 0?c:null:a===o.external&&(m=(u=(i=(l=e.urlPreview)===null||l===void 0?void 0:l.title)!==null&&i!==void 0?i:e.url)!==null&&u!==void 0?u:null),m&&m.trim().length!==0?m:null}shortcutDescriptionFromModel(e,a){var d;let c=null;return e.description&&e.description.trim().length>0?c=e.description:a===o.external&&(c=(d=e.urlPreview)===null||d===void 0?void 0:d.description),c&&c.trim().length!==0?c:null}shortcutPreviewUrlFromModel(e){var a,d,c,l,i;return(i=(c=(a=e.assetUrl)!==null&&a!==void 0?a:(d=e.asset)===null||d===void 0?void 0:d.url)!==null&&c!==void 0?c:(l=e.urlPreview)===null||l===void 0?void 0:l.thumbnailUrl)!==null&&i!==void 0?i:null}}},7476:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAlignment=t.Alignment=void 0,function(a){a.left="Left",a.center="Center",a.stretch="Stretch"}(o||(t.Alignment=o={})),function(a){a.left="Left",a.center="Center",a.right="Right"}(e||(t.TextAlignment=e={}))},8738:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetFormat=void 0,function(e){e.png="png",e.pdf="pdf",e.svg="svg"}(o||(t.AssetFormat=o={}))},915:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScale=void 0,function(e){e.x1="x1",e.x2="x2",e.x3="x3",e.x4="x4"}(o||(t.AssetScale=o={}))},899:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScaleType=void 0,function(e){e.aspectFill="AspectFill",e.aspectFit="AspectFit"}(o||(t.AssetScaleType=o={}))},6192:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.BlurType=void 0,function(e){e.layer="Layer",e.background="Background"}(o||(t.BlurType=o={}))},1160:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_POSITIONS=t.BorderPosition=void 0,function(e){e.inside="Inside",e.center="Center",e.outside="Outside"}(o||(t.BorderPosition=o={})),t.ALL_BORDER_POSITIONS=[o.inside,o.center,o.outside]},4546:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_STYLES=t.BorderStyle=void 0,function(e){e.dashed="Dashed",e.dotted="Dotted",e.solid="Solid",e.groove="Groove"}(o||(t.BorderStyle=o={})),t.ALL_BORDER_STYLES=[o.dashed,o.dotted,o.solid,o.groove]},8042:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportWarningType=void 0,function(e){e.UnsupportedFill="UnsupportedFill",e.UnsupportedStroke="UnsupportedStroke",e.UnsupportedEffect="UnsupportedEffect",e.StyleNotApplied="StyleNotApplied",e.NoPublishedStyles="NoPublishedStyles",e.NoPublishedComponents="NoPublishedComponents",e.NoPublishedAssets="NoPublishedAssets",e.NoVersionFound="NoVersionFound",e.ComponentHasNoThumbnail="ComponentHasNoThumbnail",e.DuplicateImportedStyleId="DuplicateImportedStyleId",e.DuplicateImportedStylePath="DuplicateImportedStylePath",e.NoPublishedElements="NoPublishedElements",e.NoUnpublishedStyles="NoUnpublishedStyles"}(o||(t.ImportWarningType=o={}))},5695:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainErrorCode=void 0,function(e){e.generalError="GeneralError",e.dnsNotConfigured="DNSNotConfigured",e.maintenance="Maintenance"}(o||(t.CustomDomainErrorCode=o={}))},7737:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainState=void 0,function(e){e.initial="Initial",e.domainSetupInProgress="DomainSetupInProgress",e.domainSetupFailed="DomainSetupFailed",e.domainSetupsSucces="DomainSetupSuccess",e.sslSetupInProgress="SSLSetupInProgress",e.sslSetupFailed="SSLSetupFailed",e.sslSetupSuccess="SSLSetupSuccess"}(o||(t.CustomDomainState=o={}))},5651:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorDataType=void 0,function(e){e.item="Item",e.token="Token",e.asset="Asset",e.component="Component",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockBehaviorDataType=o={}))},3733:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorSelectionType=void 0,function(e){e.entity="Entity",e.group="Group",e.entityAndGroup="EntityAndGroup"}(o||(t.DocsBlockBehaviorSelectionType=o={}))},8890:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyAspectRatio=void 0,function(e){e.auto="Auto",e.square="Square",e.landscape="Landscape",e.portrait="Portrait",e.wide="Wide"}(o||(t.DocsBlockImagePropertyAspectRatio=o={}))},9377:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemEntityType=void 0,function(e){e.token="Token",e.tokenGroup="TokenGroup",e.asset="Asset",e.assetGroup="AssetGroup",e.component="Component",e.componentGroup="ComponentGroup"}(o||(t.DocsBlockItemEntityType=o={}))},5883:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockItemPropertyOptionRenderingStyle=o={}))},8061:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyRichTextStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.ol="OL",e.ul="UL"}(o||(t.DocsBlockItemPropertyRichTextStyle=o={}))},7479:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyTextStyle=void 0,function(e){e.small="Small",e.regular="Regular",e.bold="Bold"}(o||(t.DocsBlockItemPropertyTextStyle=o={}))},6839:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyType=void 0,function(e){e.richText="RichText",e.multiRichText="MultiRichText",e.text="Text",e.boolean="Boolean",e.number="Number",e.singleSelect="SingleSelect",e.multiSelect="MultiSelect",e.image="Image",e.token="Token",e.tokenType="TokenType",e.tokenProperty="TokenProperty",e.component="Component",e.componentProperty="ComponentProperty",e.asset="Asset",e.assetProperty="AssetProperty",e.embedURL="EmbedURL",e.url="URL",e.markdown="Markdown",e.code="Code",e.codeSandbox="CodeSandbox",e.table="Table",e.divider="Divider",e.storybook="Storybook",e.color="Color",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockItemPropertyType=o={}))},8095:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutType=void 0,function(e){e.column="Column",e.row="Row"}(o||(t.DocsBlockItemVariantLayoutType=o={}))},7291:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutWidth=void 0,function(e){e.c1="1",e.c2="2",e.c3="3",e.c4="4",e.c5="5",e.c6="6",e.c7="7",e.c8="8",e.c9="9",e.c10="10",e.c11="11",e.c12="12"}(o||(t.DocsBlockItemVariantLayoutWidth=o={}))},5963:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockOptionRenderingStyle=o={}))},6644:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.default="Default"}(o||(t.DocsBlockRichTextPropertyStyle=o={}))},306:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.default="Default",e.defaultBold="DefaultBold",e.defaultSemibold="DefaultSemibold",e.small="Small",e.smallBold="SmallBold",e.smallSemibold="SmallSemibold",e.custom="Custom"}(o||(t.DocsBlockTextPropertyStyle=o={}))},4068:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocsEntityGroupBehavior=o={}))},1233:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocsEntityType=o={}))},7971:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsSectionType=void 0,function(e){e.plain="Plain",e.tabs="Tabs"}(o||(t.DocsSectionType=o={}))},5102:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyCalloutType=void 0,function(e){e.info="Info",e.success="Success",e.warning="Warning",e.error="Error"}(o||(t.DocumentationLegacyCalloutType=o={}))},2123:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocumentationLegacyGroupBehavior=o={}))},9896:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyHeadingType=void 0,function(e){e[e.h1=1]="h1",e[e.h2=2]="h2",e[e.h3=3]="h3"}(o||(t.DocumentationLegacyHeadingType=o={}))},7379:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocumentationLegacyItemType=o={}))},1423:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAssetType=void 0,function(e){e.image="image",e.figmaFrame="figmaFrame"}(o||(t.DocumentationLegacyPageAssetType=o={}))},1601:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockThemeType=void 0,function(e){e.override="Override",e.comparison="Comparison"}(o||(t.DocumentationLegacyPageBlockThemeType=o={}))},1846:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockType=void 0,function(e){e.text="Text",e.heading="Heading",e.code="Code",e.unorderedList="UnorderedList",e.orderedList="OrderedList",e.quote="Quote",e.callout="Callout",e.divider="Divider",e.image="Image",e.token="Token",e.tokenList="TokenList",e.tokenGroup="TokenGroup",e.shortcuts="Shortcuts",e.link="Link",e.figmaEmbed="FigmaEmbed",e.youtubeEmbed="YoutubeEmbed",e.storybookEmbed="StorybookEmbed",e.genericEmbed="Embed",e.figmaFrames="FigmaFrames",e.custom="Custom",e.renderCode="RenderCode",e.componentAssets="ComponentAssets",e.column="Column",e.columnItem="ColumnItem",e.tabs="Tabs",e.tabItem="TabItem",e.table="Table",e.tableCell="TableCell",e.tableRow="TableRow"}(o||(t.DocumentationLegacyPageBlockType=o={}))},1255:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameAlignment=void 0,function(e){e.frameHeight="FrameHeight",e.center="Center"}(o||(t.FrameAlignment=o={}))},3718:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameLayout=void 0,function(e){e.c8="C8",e.c7="C7",e.c6="C6",e.c5="C5",e.c4="C4",e.c3="C3",e.c2="C2",e.c1="C1",e.c175="C1_75"}(o||(t.FrameLayout=o={}))},1:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.GradientType=void 0,function(e){e.linear="Linear",e.radial="Radial",e.angular="Angular"}(o||(t.GradientType=o={}))},2674:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttributeType=void 0,function(e){e.bold="Bold",e.italic="Italic",e.link="Link",e.strikethrough="Strikethrough",e.code="Code"}(o||(t.RichTextSpanAttributeType=o={}))},9125:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowType=void 0,function(e){e.drop="Drop",e.inner="Inner"}(o||(t.ShadowType=o={}))},4652:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.SourceType=void 0,function(e){e.figma="Figma",e.tokenStudio="TokenStudio",e.figmaVariablesPlugin="FigmaVariablesPlugin"}(o||(t.SourceType=o={}))},922:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextCase=void 0,function(e){e.original="Original",e.upper="Upper",e.lower="Lower",e.camel="Camel",e.smallCaps="SmallCaps"}(o||(t.TextCase=o={}))},7040:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecoration=void 0,function(e){e.original="None",e.underline="Underline",e.strikethrough="Strikethrough"}(o||(t.TextDecoration=o={}))},3788:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DT_TOKEN_TYPES=t.tokenTypeIsReferencable=t.REFERENCABLE_TOKEN_TYPES=t.REPLACABLE_TOKEN_TYPES=t.tokenTypeIsNonPure=t.tokenTypeIsPure=t.PURE_TOKEN_TYPES=t.ALL_TOKEN_TYPES=t.MS_DIMENSION_TOKEN_TYPES=t.RAW_DIMENSION_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.TokenType=void 0,function(e){e.color="Color",e.typography="Typography",e.shadow="Shadow",e.border="Border",e.gradient="Gradient",e.blur="Blur",e.radius="BorderRadius",e.borderWidth="BorderWidth",e.duration="Duration",e.fontSize="FontSize",e.dimension="Dimension",e.letterSpacing="LetterSpacing",e.lineHeight="LineHeight",e.opacity="Opacity",e.paragraphSpacing="ParagraphSpacing",e.size="Size",e.space="Space",e.zIndex="ZIndex",e.textDecoration="TextDecoration",e.textCase="TextCase",e.visibility="Visibility",e.fontFamily="FontFamily",e.fontWeight="FontWeight",e.string="String",e.productCopy="ProductCopy"}(o||(t.TokenType=o={})),t.STRING_TOKEN_TYPES=[o.string,o.productCopy,o.fontFamily,o.fontWeight],t.OPTION_TOKEN_TYPES=[o.textCase,o.textDecoration,o.visibility],t.DIMENSION_TOKEN_TYPES=[o.dimension,o.size,o.space,o.opacity,o.fontSize,o.lineHeight,o.letterSpacing,o.paragraphSpacing,o.borderWidth,o.radius,o.duration,o.zIndex],t.RAW_DIMENSION_TOKEN_TYPES=[o.opacity,o.zIndex],t.MS_DIMENSION_TOKEN_TYPES=[o.duration],t.ALL_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES,o.color,o.gradient,o.border,o.radius,o.shadow,o.typography,o.blur],t.PURE_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.tokenTypeIsPure=e=>t.PURE_TOKEN_TYPES.includes(e),t.tokenTypeIsNonPure=e=>!(0,t.tokenTypeIsPure)(e),t.REPLACABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.REFERENCABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,o.textCase,o.textDecoration],t.tokenTypeIsReferencable=e=>t.REFERENCABLE_TOKEN_TYPES.includes(e),t.DT_TOKEN_TYPES=[o.color,o.shadow,o.gradient,o.typography,o.border,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,...t.OPTION_TOKEN_TYPES]},8607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.MS_UNITS=t.PX_UNITS=t.RAW_UNITS=t.LINE_HEIGHT_UNITS=t.SIZE_UNITS=t.Unit=void 0,function(e){e.pixels="Pixels",e.percent="Percent",e.rem="Rem",e.ms="Ms",e.raw="Raw"}(o||(t.Unit=o={})),t.SIZE_UNITS=[o.pixels,o.percent,o.rem],t.LINE_HEIGHT_UNITS=[o.pixels,o.percent,o.rem,o.raw],t.RAW_UNITS=[o.raw],t.PX_UNITS=[o.pixels],t.MS_UNITS=[o.ms]},9478:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.owner="Owner",e.admin="Admin",e.creator="Creator",e.billing="Billing",e.viewer="Viewer"}(o||(t.UserRole=o={}))},6141:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityType=void 0,function(e){e.visible="Visible",e.hidden="Hidden"}(o||(t.VisibilityType=o={}))},6298:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryAuthType=void 0,function(e){e.basic="Basic",e.bearer="Bearer"}(o||(t.WorkspaceNPMRegistryAuthType=o={}))},7968:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryType=void 0,function(e){e.npmJS="NPMJS",e.gitHub="GitHub",e.azureDevOps="AzureDevOps",e.artifactory="Artifactory",e.custom="Custom"}(o||(t.WorkspaceNPMRegistryType=o={}))},5503:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionPlanInterval=void 0,function(e){e.yearly="yearly",e.monthly="monthly"}(o||(t.WorkspaceSubscriptionPlanInterval=o={}))},4290:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionProductCode=void 0,function(e){e.free="free",e.team="team",e.teamTest="team_test",e.company="company",e.enterprise="enterprise"}(o||(t.WorkspaceSubscriptionProductCode=o={}))},3607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionStatus=void 0,function(e){e.active="active",e.gracePeriod="gracePeriod",e.cancelled="cancelled",e.suspended="suspended"}(o||(t.WorkspaceSubscriptionStatus=o={}))},2802:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.PulsarExecutor=t.OutputFileType=void 0,function(a){a.copyRemoteUrl="copyRemoteUrl",a.text="text",a.binary="binary"}(o||(t.OutputFileType=o={})),function(a){a.supernova="supernova",a.local="local"}(e||(t.PulsarExecutor=e={}))}},y={};function n(r){var t=y[r];if(t!==void 0)return t.exports;var o=y[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.UserRole=r.Unit=r.TokenType=r.TextDecoration=r.TextCase=r.ShadowType=r.RichTextSpanAttributeType=r.GradientType=r.FrameLayout=r.FrameAlignment=r.SourceType=r.DocsImageRefType=r.DocsLinkRefType=r.DocsSectionType=r.DocsEntityType=r.DocsEntityGroupBehavior=r.DocsBlockTextPropertyStyle=r.DocsBlockRichTextPropertyStyle=r.DocsBlockOptionRenderingStyle=r.DocsBlockItemVariantLayoutWidth=r.DocsBlockItemVariantLayoutType=r.DocsBlockItemPropertyType=r.DocsBlockItemPropertyTextStyle=r.DocsBlockItemPropertyRichTextStyle=r.DocsBlockItemPropertyOptionRenderingStyle=r.DocsBlockItemEntityType=r.DocsBlockImagePropertyAspectRatio=r.DocsBlockBehaviorSelectionType=r.DocsBlockBehaviorDataType=r.DocumentationLegacyPageBlockShortcutType=r.DocumentationLegacyPageBlockThemeType=r.DocumentationLegacyPageBlockType=r.DocumentationLegacyPageAssetType=r.DocumentationLegacyItemType=r.DocumentationLegacyHeadingType=r.DocumentationLegacyGroupBehavior=r.DocumentationLegacyCalloutType=r.BorderStyle=r.BorderPosition=r.BlurType=r.AssetScaleType=r.AssetScale=r.AssetFormat=r.Alignment=r.ALL_TOKEN_TYPES=r.ALL_BORDER_STYLES=r.ALL_BORDER_POSITIONS=r.OPTION_TOKEN_TYPES=r.STRING_TOKEN_TYPES=r.DIMENSION_TOKEN_TYPES=void 0,r.PulsarExecutor=r.OutputFileType=r.CustomDomainState=r.CustomDomainErrorCode=r.ImportWarningType=r.WorkspaceNPMRegistryType=r.WorkspaceNPMRegistryAuthType=r.WorkspaceSubscriptionStatus=r.WorkspaceSubscriptionProductCode=r.WorkspaceSubscriptionPlanInterval=r.VisibilityType=void 0;var t=n(3788);Object.defineProperty(r,"DIMENSION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.DIMENSION_TOKEN_TYPES}}),Object.defineProperty(r,"STRING_TOKEN_TYPES",{enumerable:!0,get:function(){return t.STRING_TOKEN_TYPES}}),Object.defineProperty(r,"OPTION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.OPTION_TOKEN_TYPES}});var o=n(1160);Object.defineProperty(r,"ALL_BORDER_POSITIONS",{enumerable:!0,get:function(){return o.ALL_BORDER_POSITIONS}});var e=n(4546);Object.defineProperty(r,"ALL_BORDER_STYLES",{enumerable:!0,get:function(){return e.ALL_BORDER_STYLES}});var a=n(3788);Object.defineProperty(r,"ALL_TOKEN_TYPES",{enumerable:!0,get:function(){return a.ALL_TOKEN_TYPES}});var d=n(7476);Object.defineProperty(r,"Alignment",{enumerable:!0,get:function(){return d.Alignment}});var c=n(8738);Object.defineProperty(r,"AssetFormat",{enumerable:!0,get:function(){return c.AssetFormat}});var l=n(915);Object.defineProperty(r,"AssetScale",{enumerable:!0,get:function(){return l.AssetScale}});var i=n(899);Object.defineProperty(r,"AssetScaleType",{enumerable:!0,get:function(){return i.AssetScaleType}});var u=n(6192);Object.defineProperty(r,"BlurType",{enumerable:!0,get:function(){return u.BlurType}});var m=n(1160);Object.defineProperty(r,"BorderPosition",{enumerable:!0,get:function(){return m.BorderPosition}});var S=n(4546);Object.defineProperty(r,"BorderStyle",{enumerable:!0,get:function(){return S.BorderStyle}});var b=n(5102);Object.defineProperty(r,"DocumentationLegacyCalloutType",{enumerable:!0,get:function(){return b.DocumentationLegacyCalloutType}});var v=n(2123);Object.defineProperty(r,"DocumentationLegacyGroupBehavior",{enumerable:!0,get:function(){return v.DocumentationLegacyGroupBehavior}});var P=n(9896);Object.defineProperty(r,"DocumentationLegacyHeadingType",{enumerable:!0,get:function(){return P.DocumentationLegacyHeadingType}});var h=n(7379);Object.defineProperty(r,"DocumentationLegacyItemType",{enumerable:!0,get:function(){return h.DocumentationLegacyItemType}});var C=n(1423);Object.defineProperty(r,"DocumentationLegacyPageAssetType",{enumerable:!0,get:function(){return C.DocumentationLegacyPageAssetType}});var O=n(1846);Object.defineProperty(r,"DocumentationLegacyPageBlockType",{enumerable:!0,get:function(){return O.DocumentationLegacyPageBlockType}});var B=n(1601);Object.defineProperty(r,"DocumentationLegacyPageBlockThemeType",{enumerable:!0,get:function(){return B.DocumentationLegacyPageBlockThemeType}});var R=n(2657);Object.defineProperty(r,"DocumentationLegacyPageBlockShortcutType",{enumerable:!0,get:function(){return R.DocumentationLegacyPageBlockShortcutType}});var x=n(5651);Object.defineProperty(r,"DocsBlockBehaviorDataType",{enumerable:!0,get:function(){return x.DocsBlockBehaviorDataType}});var L=n(3733);Object.defineProperty(r,"DocsBlockBehaviorSelectionType",{enumerable:!0,get:function(){return L.DocsBlockBehaviorSelectionType}});var j=n(8890);Object.defineProperty(r,"DocsBlockImagePropertyAspectRatio",{enumerable:!0,get:function(){return j.DocsBlockImagePropertyAspectRatio}});var M=n(9377);Object.defineProperty(r,"DocsBlockItemEntityType",{enumerable:!0,get:function(){return M.DocsBlockItemEntityType}});var A=n(5883);Object.defineProperty(r,"DocsBlockItemPropertyOptionRenderingStyle",{enumerable:!0,get:function(){return A.DocsBlockItemPropertyOptionRenderingStyle}});var F=n(8061);Object.defineProperty(r,"DocsBlockItemPropertyRichTextStyle",{enumerable:!0,get:function(){return F.DocsBlockItemPropertyRichTextStyle}});var w=n(7479);Object.defineProperty(r,"DocsBlockItemPropertyTextStyle",{enumerable:!0,get:function(){return w.DocsBlockItemPropertyTextStyle}});var H=n(6839);Object.defineProperty(r,"DocsBlockItemPropertyType",{enumerable:!0,get:function(){return H.DocsBlockItemPropertyType}});var U=n(8095);Object.defineProperty(r,"DocsBlockItemVariantLayoutType",{enumerable:!0,get:function(){return U.DocsBlockItemVariantLayoutType}});var W=n(7291);Object.defineProperty(r,"DocsBlockItemVariantLayoutWidth",{enumerable:!0,get:function(){return W.DocsBlockItemVariantLayoutWidth}});var Y=n(5963);Object.defineProperty(r,"DocsBlockOptionRenderingStyle",{enumerable:!0,get:function(){return Y.DocsBlockOptionRenderingStyle}});var G=n(6644);Object.defineProperty(r,"DocsBlockRichTextPropertyStyle",{enumerable:!0,get:function(){return G.DocsBlockRichTextPropertyStyle}});var V=n(306);Object.defineProperty(r,"DocsBlockTextPropertyStyle",{enumerable:!0,get:function(){return V.DocsBlockTextPropertyStyle}});var $=n(4068);Object.defineProperty(r,"DocsEntityGroupBehavior",{enumerable:!0,get:function(){return $.DocsEntityGroupBehavior}});var K=n(1233);Object.defineProperty(r,"DocsEntityType",{enumerable:!0,get:function(){return K.DocsEntityType}});var z=n(7971);Object.defineProperty(r,"DocsSectionType",{enumerable:!0,get:function(){return z.DocsSectionType}});var q=n(5673);Object.defineProperty(r,"DocsLinkRefType",{enumerable:!0,get:function(){return q.DocsLinkRefType}});var Z=n(9932);Object.defineProperty(r,"DocsImageRefType",{enumerable:!0,get:function(){return Z.DocsImageRefType}});var J=n(4652);Object.defineProperty(r,"SourceType",{enumerable:!0,get:function(){return J.SourceType}});var Q=n(1255);Object.defineProperty(r,"FrameAlignment",{enumerable:!0,get:function(){return Q.FrameAlignment}});var X=n(3718);Object.defineProperty(r,"FrameLayout",{enumerable:!0,get:function(){return X.FrameLayout}});var ee=n(1);Object.defineProperty(r,"GradientType",{enumerable:!0,get:function(){return ee.GradientType}});var te=n(2674);Object.defineProperty(r,"RichTextSpanAttributeType",{enumerable:!0,get:function(){return te.RichTextSpanAttributeType}});var oe=n(9125);Object.defineProperty(r,"ShadowType",{enumerable:!0,get:function(){return oe.ShadowType}});var re=n(922);Object.defineProperty(r,"TextCase",{enumerable:!0,get:function(){return re.TextCase}});var ne=n(7040);Object.defineProperty(r,"TextDecoration",{enumerable:!0,get:function(){return ne.TextDecoration}});var ae=n(3788);Object.defineProperty(r,"TokenType",{enumerable:!0,get:function(){return ae.TokenType}});var ie=n(8607);Object.defineProperty(r,"Unit",{enumerable:!0,get:function(){return ie.Unit}});var ce=n(9478);Object.defineProperty(r,"UserRole",{enumerable:!0,get:function(){return ce.UserRole}});var le=n(6141);Object.defineProperty(r,"VisibilityType",{enumerable:!0,get:function(){return le.VisibilityType}});var ue=n(5503);Object.defineProperty(r,"WorkspaceSubscriptionPlanInterval",{enumerable:!0,get:function(){return ue.WorkspaceSubscriptionPlanInterval}});var se=n(4290);Object.defineProperty(r,"WorkspaceSubscriptionProductCode",{enumerable:!0,get:function(){return se.WorkspaceSubscriptionProductCode}});var pe=n(3607);Object.defineProperty(r,"WorkspaceSubscriptionStatus",{enumerable:!0,get:function(){return pe.WorkspaceSubscriptionStatus}});var de=n(6298);Object.defineProperty(r,"WorkspaceNPMRegistryAuthType",{enumerable:!0,get:function(){return de.WorkspaceNPMRegistryAuthType}});var ye=n(7968);Object.defineProperty(r,"WorkspaceNPMRegistryType",{enumerable:!0,get:function(){return ye.WorkspaceNPMRegistryType}});var Te=n(8042);Object.defineProperty(r,"ImportWarningType",{enumerable:!0,get:function(){return Te.ImportWarningType}});var me=n(5695);Object.defineProperty(r,"CustomDomainErrorCode",{enumerable:!0,get:function(){return me.CustomDomainErrorCode}});var fe=n(7737);Object.defineProperty(r,"CustomDomainState",{enumerable:!0,get:function(){return fe.CustomDomainState}});var E=n(2802);Object.defineProperty(r,"OutputFileType",{enumerable:!0,get:function(){return E.OutputFileType}}),Object.defineProperty(r,"PulsarExecutor",{enumerable:!0,get:function(){return E.PulsarExecutor}})})();var f=p;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()}(ge)),ge}var k=function(){return k=Object.assign||function(s){for(var y,n=1,T=arguments.length;n0&&y>="0"&&y<="9"?"_"+y+n:""+y.toUpperCase()+n}function Ce(p){return p.charAt(0).toUpperCase()+p.slice(1).toLowerCase()}function Ie(p,s){return s===void 0&&(s={}),I(p,k({delimiter:"",transform:be},s))}function De(p,s){return s===0?p.toLowerCase():be(p,s)}function we(p,s){return s===0?p.toLowerCase():Ce(p)}function He(p,s){return s===void 0&&(s={}),Ie(p,k({transform:De},s))}function Ee(p){return p.charAt(0).toUpperCase()+p.substr(1)}function Ne(p){return Ee(p.toLowerCase())}function Be(p,s){return s===void 0&&(s={}),I(p,k({delimiter:" ",transform:Ne},s))}function Ue(p){return p.toUpperCase()}function We(p,s){return s===void 0&&(s={}),I(p,k({delimiter:"_",transform:Ue},s))}function N(p,s){return s===void 0&&(s={}),I(p,k({delimiter:"."},s))}function Ye(p,s){return s===void 0&&(s={}),Be(p,k({delimiter:"-"},s))}function Ge(p,s){return s===void 0&&(s={}),N(p,k({delimiter:"-"},s))}function Ve(p,s){return s===void 0&&(s={}),N(p,k({delimiter:"/"},s))}function Re(p,s){var y=p.toLowerCase();return s===0?Ee(y):y}function $e(p,s){return s===void 0&&(s={}),I(p,k({delimiter:" ",transform:Re},s))}function Ke(p,s){return s===void 0&&(s={}),N(p,k({delimiter:"_"},s))}const ze=Object.freeze(Object.defineProperty({__proto__:null,camelCase:He,camelCaseTransform:De,camelCaseTransformMerge:we,capitalCase:Be,capitalCaseTransform:Ne,constantCase:We,dotCase:N,headerCase:Ye,noCase:I,paramCase:Ge,pascalCase:Ie,pascalCaseTransform:be,pascalCaseTransformMerge:Ce,pathCase:Ve,sentenceCase:$e,sentenceCaseTransform:Re,snakeCase:Ke},Symbol.toStringTag,{value:"Module"})),qe=Le(ze);(function(p){(()=>{var s={639:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Iterators=void 0;const e=o(58);t.Iterators=class{static allTokenTypes(){return[e.TokenType.color,e.TokenType.typography,e.TokenType.dimension,e.TokenType.size,e.TokenType.space,e.TokenType.opacity,e.TokenType.fontSize,e.TokenType.lineHeight,e.TokenType.letterSpacing,e.TokenType.paragraphSpacing,e.TokenType.borderWidth,e.TokenType.radius,e.TokenType.duration,e.TokenType.zIndex,e.TokenType.shadow,e.TokenType.border,e.TokenType.gradient,e.TokenType.string,e.TokenType.productCopy,e.TokenType.fontFamily,e.TokenType.fontWeight,e.TokenType.textCase,e.TokenType.textDecoration,e.TokenType.visibility,e.TokenType.blur]}static allDimensionTokenTypes(){return[e.TokenType.dimension,e.TokenType.size,e.TokenType.space,e.TokenType.opacity,e.TokenType.fontSize,e.TokenType.lineHeight,e.TokenType.letterSpacing,e.TokenType.paragraphSpacing,e.TokenType.borderWidth,e.TokenType.radius,e.TokenType.duration,e.TokenType.zIndex]}static allStringTokenTypes(){return[e.TokenType.string,e.TokenType.productCopy,e.TokenType.fontFamily,e.TokenType.fontWeight]}static allOptionTokenTypes(){return[e.TokenType.textCase,e.TokenType.textDecoration,e.TokenType.visibility]}}},989:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ColorFormat=void 0,(o=t.ColorFormat||(t.ColorFormat={})).rgb="rgb",o.rgba="rgba",o.smartRgba="smartRgba",o.hex6="hex6",o.hex8="hex8",o.hashHex6="hashHex6",o.hashHex8="hashHex8",o.smartHashHex="smartHashHex",o.smartHex="smartHex",o.hsl="hsl",o.hsla="hsla",o.smartHsla="smartHsla",o.smartUIColor="smartUIColor"},545:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.StringCase=void 0,(o=t.StringCase||(t.StringCase={})).camelCase="camelCase",o.capitalCase="capitalCase",o.constantCase="constantCase",o.dotCase="dotCase",o.headerCase="headerCase",o.noCase="noCase",o.paramCase="paramCase",o.pascalCase="pascalCase",o.pathCase="pathCase",o.sentenceCase="sentenceCase",o.snakeCase="snakeCase"},617:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FileHelper=void 0;const e=o(58);t.FileHelper=class{static createCopyRemoteFile({relativePath:a,fileName:d,url:c}){return{path:a,name:d,type:e.OutputFileType.copyRemoteUrl,url:c}}static createTextFile({relativePath:a,fileName:d,content:c}){return{path:a,name:d,type:e.OutputFileType.text,content:c}}static createBinaryFile({relativePath:a,fileName:d,data:c}){return{path:a,name:d,type:e.OutputFileType.binary,data:c}}}},761:(r,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sureOptionalReference=void 0,t.sureOptionalReference=function(o,e,a=!0){if(!o||!a)return null;const d=e.get(o);if(!d)throw new Error(`Trying to retrieve unknown referenced token ${o}`);return d}},118:(r,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkHelper=void 0,t.NetworkHelper=class{static async fetchAsText(o,e,a){return(await this.performFetch(o,e,a)).text()}static async fetchAsJSON(o,e,a){return(await this.performFetch(o,e,a)).json()}static async fetchAsData(o,e,a){return(await this.performFetch(o,e,a)).arrayBuffer()}static async performFetch(o,e,a){try{const d=await o.network.fetch(e,a);if(!d.ok)throw new Error(`Request failed with status ${d.status}, error: ${await d.text()}`);return d}catch(d){throw d}}}},771:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CSSHelper=void 0;const e=o(58),a=o(761),d=o(952);t.CSSHelper=class{static tokenToCSS(c,l,i){switch(c.tokenType){case e.TokenType.color:return this.colorTokenValueToCSS(c.value,l,i);case e.TokenType.border:return this.borderTokenValueToCSS(c.value,l,i);case e.TokenType.gradient:return this.gradientTokenValueToCSS(c.value,l,i);case e.TokenType.dimension:case e.TokenType.size:case e.TokenType.space:case e.TokenType.opacity:case e.TokenType.fontSize:case e.TokenType.lineHeight:case e.TokenType.letterSpacing:case e.TokenType.paragraphSpacing:case e.TokenType.borderWidth:case e.TokenType.radius:case e.TokenType.duration:case e.TokenType.zIndex:return this.dimensionTokenValueToCSS(c.value,l,i);case e.TokenType.shadow:return this.shadowTokenValueToCSS(c.value,l,i);case e.TokenType.fontWeight:return this.fontWeightTokenValueToCSS(c.value,l,i);case e.TokenType.fontFamily:case e.TokenType.productCopy:case e.TokenType.string:return this.stringTokenValueToCSS(c.value,l,i);case e.TokenType.textCase:case e.TokenType.textDecoration:case e.TokenType.visibility:return this.optionTokenValueToCSS(c.value,l,i);case e.TokenType.blur:return this.blurTokenValueToCSS(c.value,l,i);case e.TokenType.typography:return this.typographyTokenValueToCSS(c.value,l,i);default:throw new e.UnreachableCaseError(c.tokenType,"Unsupported token type for transformation to CSS:")}}static colorTokenValueToCSS(c,l,i){return d.ColorHelper.formattedColorOrVariableName(c,l,i)}static borderTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);if(u)return i.tokenToVariableRef(u);const m=this.dimensionTokenValueToCSS(c.width,l,i),S=this.borderStyleToCSS(c.style),b=this.colorTokenValueToCSS(c.color,l,i);return this.borderPositionToCSS(c.position),`${m} ${S} ${b}`}static gradientTokenValueToCSS(c,l,i){return c.map(u=>this.gradientLayerToCSS(u,l,i)).join(", ")}static gradientLayerToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);if(u)return i.tokenToVariableRef(u);let m="";switch(c.type){case e.GradientType.linear:m="linear-gradient(0deg, ";break;case e.GradientType.radial:m="radial-gradient(circle, ";break;case e.GradientType.angular:m="conic-gradient(";break;default:m="linear-gradient(0deg, "}return`${m}${c.stops.map(S=>`${this.colorTokenValueToCSS(S.color,l,i)} ${d.ColorHelper.roundToDecimals(100*S.position,i.decimals)}%`).join(", ")})`}static dimensionTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`${d.ColorHelper.roundToDecimals(c.measure,i.decimals)}${this.unitToCSS(c.unit)}`}static shadowTokenValueToCSS(c,l,i){return c.map(u=>this.shadowLayerToCSS(u,l,i)).join(", ")}static shadowLayerToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`${c.type===e.ShadowType.inner?"inset ":""}${c.x}px ${c.y}px ${c.radius}px ${c.spread}px ${this.colorTokenValueToCSS({...c.color,...c.opacity&&{opacity:c.opacity}},l,i)}`}static fontWeightTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`${c.text}`}static stringTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`"${c.text}"`}static optionTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`"${c.value}"`}static blurTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);return u?i.tokenToVariableRef(u):`blur(${this.dimensionTokenValueToCSS(c.radius,l,i)})`}static typographyTokenValueToCSS(c,l,i){const u=(0,a.sureOptionalReference)(c.referencedTokenId,l,i.allowReferences);if(u)return i.tokenToVariableRef(u);const m=(0,a.sureOptionalReference)(c.fontFamily.referencedTokenId,l,i.allowReferences),S=(0,a.sureOptionalReference)(c.fontWeight.referencedTokenId,l,i.allowReferences),b=(0,a.sureOptionalReference)(c.textDecoration.referencedTokenId,l,i.allowReferences),v=(0,a.sureOptionalReference)(c.textCase.referencedTokenId,l,i.allowReferences),P={fontFamily:m?i.tokenToVariableRef(m):c.fontFamily.text,fontWeight:S?i.tokenToVariableRef(S):c.fontWeight.text,textDecoration:b?i.tokenToVariableRef(b):c.textDecoration.value===e.TextDecoration.original?this.textDecorationToCSS(c.textDecoration.value):void 0,textCase:v?i.tokenToVariableRef(v):c.textCase.value===e.TextCase.original?this.textCaseToCSS(c.textCase.value):void 0,caps:c.textCase.value===e.TextCase.smallCaps,fontSize:this.dimensionTokenValueToCSS(c.fontSize,l,i),lineHeight:c.lineHeight?this.dimensionTokenValueToCSS(c.lineHeight,l,i):void 0},h=P.fontSize;return`${P.caps?"small-caps ":""}${P.fontWeight} ${P.lineHeight?`${h}/${P.lineHeight}`:h} ${m?P.fontFamily:`"${P.fontFamily}"`}`}static borderStyleToCSS(c){switch(c){case e.BorderStyle.dashed:return"dashed";case e.BorderStyle.dotted:return"dotted";case e.BorderStyle.solid:return"solid";case e.BorderStyle.groove:return"groove";default:return"solid"}}static borderPositionToCSS(c){switch(c){case e.BorderPosition.center:return"center";case e.BorderPosition.inside:return"inside";case e.BorderPosition.outside:default:return"outside"}}static unitToCSS(c){switch(c){case e.Unit.percent:return"%";case e.Unit.pixels:return"px";case e.Unit.rem:return"rem";case e.Unit.raw:return"";case e.Unit.ms:return"ms";default:return"px"}}static textCaseToCSS(c){switch(c){case e.TextCase.original:return"none";case e.TextCase.upper:return"uppercase";case e.TextCase.lower:return"lowercase";case e.TextCase.camel:case e.TextCase.smallCaps:return"capitalize"}}static textDecorationToCSS(c){switch(c){case e.TextDecoration.original:return"none";case e.TextDecoration.underline:return"underline";case e.TextDecoration.strikethrough:return"line-through"}}}},952:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorHelper=void 0;const e=o(989),a=o(761);class d{static formattedColorOrVariableName(l,i,u){let m,S,b;const v=(0,a.sureOptionalReference)(l.referencedTokenId,i,u.allowReferences);if(v)m=u.tokenToVariableRef(v);else{const P=(0,a.sureOptionalReference)(l.color.referencedTokenId,i,u.allowReferences);P&&(S=u.tokenToVariableRef(P));const h=(0,a.sureOptionalReference)(l.opacity.referencedTokenId,i,u.allowReferences);h&&(b=u.tokenToVariableRef(h))}if(m)return m;if(!m&&!S&&!b)return this.formattedColor(l,u.colorFormat,u.decimals);switch(u.colorFormat){case e.ColorFormat.rgb:case e.ColorFormat.rgba:case e.ColorFormat.smartRgba:return this.colorToRgb(u.colorFormat,this.normalizedIntColor(l),l.opacity.measure,u.decimals,S,b);default:return this.formattedColor(l,u.colorFormat,u.decimals)}}static formattedColor(l,i,u=3){switch(i){case e.ColorFormat.hex6:case e.ColorFormat.hex8:case e.ColorFormat.hashHex6:case e.ColorFormat.hashHex8:case e.ColorFormat.smartHex:case e.ColorFormat.smartHashHex:return this.colorToHex(i,this.normalizedIntColor(l),l.opacity.measure);case e.ColorFormat.rgb:case e.ColorFormat.rgba:case e.ColorFormat.smartRgba:return this.colorToRgb(i,this.normalizedIntColor(l),l.opacity.measure,u,null,null);case e.ColorFormat.hsl:case e.ColorFormat.hsla:case e.ColorFormat.smartHsla:return this.colorToHsl(i,this.normalizedFractionalColor(l),l.opacity.measure,u);case e.ColorFormat.smartUIColor:return this.colorToUIColor(this.normalizedIntColor(l),l.opacity.measure,u)}}static colorToRgb(l,i,u,m,S,b){let v;return v=l===e.ColorFormat.rgba||l===e.ColorFormat.smartRgba&&u<1?`rgba(${S||`${i.r}, ${i.g}, ${i.b}`}, ${b||this.roundToDecimals(u,m)})`:`rgb(${S||`${i.r}, ${i.g}, ${i.b}`})`,v}static colorToHex(l,i,u){let m=`${this.pHex(i.r)}${this.pHex(i.g)}${this.pHex(i.b)}`;return(l===e.ColorFormat.hex8||l===e.ColorFormat.hashHex8||l===e.ColorFormat.smartHex&&u<1||l===e.ColorFormat.smartHashHex&&u<1)&&(m+=`${this.pHex(Math.round(255*u))}`),l!==e.ColorFormat.hashHex6&&l!==e.ColorFormat.hashHex8&&l!==e.ColorFormat.smartHashHex||(m=`#${m}`),m}static colorToHsl(l,i,u,m){const S=Math.max(i.r,i.g,i.b),b=Math.min(i.r,i.g,i.b);let v,P,h,C=(S+b)/2;if(S===b)v=P=0;else{const O=S-b;P=C>.5?O/(2-S-b):O/(S+b),S===i.r?v=(i.g-i.b)/O+(i.g{Object.defineProperty(t,"__esModule",{value:!0}),t.NamingHelper=void 0;const e=o(110),a=o(545);class d{static codeSafeVariableNameForToken(l,i,u,m){let S=[];return u&&(S=[...u.path],u.isRoot||S.push(u.name)),S.push(l.name),m&&m.length>0&&S.unshift(m),d.codeSafeVariableName(S,i)}static codeSafeVariableName(l,i){let u=typeof l=="string"?l:l.join(" ");switch(u=u.replaceAll(/[^a-zA-Z0-9_-]/g,"_"),i){case a.StringCase.camelCase:u=(0,e.camelCase)(u);break;case a.StringCase.capitalCase:u=(0,e.capitalCase)(u);break;case a.StringCase.constantCase:u=(0,e.constantCase)(u);break;case a.StringCase.dotCase:u=(0,e.dotCase)(u);break;case a.StringCase.headerCase:u=(0,e.headerCase)(u);break;case a.StringCase.noCase:u=(0,e.noCase)(u);break;case a.StringCase.paramCase:u=(0,e.paramCase)(u);break;case a.StringCase.pascalCase:u=(0,e.pascalCase)(u);break;case a.StringCase.pathCase:u=(0,e.pathCase)(u);break;case a.StringCase.sentenceCase:u=(0,e.sentenceCase)(u);break;case a.StringCase.snakeCase:u=(0,e.snakeCase)(u)}return i!==a.StringCase.snakeCase&&i!==a.StringCase.constantCase&&(u=u.replaceAll("_","")),u.match(/^[^a-zA-Z]/)&&(u="_"+u),u}static nameAsCSSVarReference(l){return`var(--${l})`}static nameAsCSSVarDeclaration(l){return`--${l}`}}t.NamingHelper=d},58:r=>{r.exports=je()},110:r=>{r.exports=qe}},y={};function n(r){var t=y[r];if(t!==void 0)return t.exports;var o=y[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.ColorFormat=r.StringCase=r.Iterators=r.CSSHelper=r.FileHelper=r.ColorHelper=r.NamingHelper=r.NetworkHelper=void 0;var t=n(118);Object.defineProperty(r,"NetworkHelper",{enumerable:!0,get:function(){return t.NetworkHelper}});var o=n(453);Object.defineProperty(r,"NamingHelper",{enumerable:!0,get:function(){return o.NamingHelper}});var e=n(952);Object.defineProperty(r,"ColorHelper",{enumerable:!0,get:function(){return e.ColorHelper}});var a=n(617);Object.defineProperty(r,"FileHelper",{enumerable:!0,get:function(){return a.FileHelper}});var d=n(771);Object.defineProperty(r,"CSSHelper",{enumerable:!0,get:function(){return d.CSSHelper}});var c=n(639);Object.defineProperty(r,"Iterators",{enumerable:!0,get:function(){return c.Iterators}});var l=n(545);Object.defineProperty(r,"StringCase",{enumerable:!0,get:function(){return l.StringCase}});var i=n(989);Object.defineProperty(r,"ColorFormat",{enumerable:!0,get:function(){return i.ColorFormat}})})();var f=p;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()})(D);var _={};(function(p){(()=>{var s={9932:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.docsImageRefToUrl=t.DocsImageRefType=void 0,function(e){e.resource="Resource",e.figmaNode="FigmaNode"}(o||(t.DocsImageRefType=o={})),t.docsImageRefToUrl=function(e,a,d){var c;if(e)switch(e.type){case o.resource:return(c=e.resource)===null||c===void 0?void 0:c.url;case o.figmaNode:return!e.figmaNode||!e.figmaNode.sourceId||!e.figmaNode.frameReferenceId?void 0:a.resources.getFigmaFrameHostedUrl({designSystemId:d.dsId,versionId:d.versionId},e.figmaNode.frameReferenceId);default:return}}},5673:(r,t)=>{var o;function e(a){switch(a.type){case o.documentationItem:return`@page:${a.documentationItemId}`;case o.pageHeading:return`@page:${a.documentationItemId}#${a.pageHeadingId}`;case o.url:return a.url;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.linkAttributeToDocsLink=t.docsLinkToLinkAttributes=t.docsLinkToUrl=t.DocsLinkRefType=void 0,function(a){a.documentationItem="DocumentationItem",a.pageHeading="PageHeading",a.url="Url"}(o||(t.DocsLinkRefType=o={})),t.docsLinkToUrl=e,t.docsLinkToLinkAttributes=function(a){const d=e(a);if(d)return{href:d,target:a.openInNewTab?"_blank":"_self"}},t.linkAttributeToDocsLink=function(a,d){if(!a)return;const c=d==="_blank";if(a.startsWith("@page:")){if(a.includes("#")){const[l,i]=a.replace("@page:","").split("#");return{type:o.pageHeading,documentationItemId:l,pageHeadingId:i,openInNewTab:c}}return{type:o.documentationItem,documentationItemId:a.replace("@page:",""),openInNewTab:c}}return{type:o.url,url:a,openInNewTab:c}}},2657:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockShortcutType=void 0,function(e){e.external="External",e.internal="Internal"}(o||(t.DocumentationLegacyPageBlockShortcutType=o={})),t.DocumentationLegacyPageBlockShortcut=class{constructor(e){var a;e.url?this.type=o.external:this.type=o.internal,this.title=this.shortcutTitleFromModel(e,this.type),this.description=this.shortcutDescriptionFromModel(e,this.type),this.previewUrl=this.shortcutPreviewUrlFromModel(e),this.type===o.internal&&(!((a=e.documentationItemPreview)===null||a===void 0)&&a.valid)&&e.documentationItemId?this.internalId=e.documentationItemId:(this.internalId=null,this.type===o.external&&e.url?this.externalUrl=e.url:this.externalUrl=null)}shortcutTitleFromModel(e,a){var d,c,l,i,u;let m=null;return e.title&&e.title.trim().length>0?m=e.title:a===o.internal?m=(c=(d=e.documentationItemPreview)===null||d===void 0?void 0:d.title)!==null&&c!==void 0?c:null:a===o.external&&(m=(u=(i=(l=e.urlPreview)===null||l===void 0?void 0:l.title)!==null&&i!==void 0?i:e.url)!==null&&u!==void 0?u:null),m&&m.trim().length!==0?m:null}shortcutDescriptionFromModel(e,a){var d;let c=null;return e.description&&e.description.trim().length>0?c=e.description:a===o.external&&(c=(d=e.urlPreview)===null||d===void 0?void 0:d.description),c&&c.trim().length!==0?c:null}shortcutPreviewUrlFromModel(e){var a,d,c,l,i;return(i=(c=(a=e.assetUrl)!==null&&a!==void 0?a:(d=e.asset)===null||d===void 0?void 0:d.url)!==null&&c!==void 0?c:(l=e.urlPreview)===null||l===void 0?void 0:l.thumbnailUrl)!==null&&i!==void 0?i:null}}},7476:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAlignment=t.Alignment=void 0,function(a){a.left="Left",a.center="Center",a.stretch="Stretch"}(o||(t.Alignment=o={})),function(a){a.left="Left",a.center="Center",a.right="Right"}(e||(t.TextAlignment=e={}))},8738:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetFormat=void 0,function(e){e.png="png",e.pdf="pdf",e.svg="svg"}(o||(t.AssetFormat=o={}))},915:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScale=void 0,function(e){e.x1="x1",e.x2="x2",e.x3="x3",e.x4="x4"}(o||(t.AssetScale=o={}))},899:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScaleType=void 0,function(e){e.aspectFill="AspectFill",e.aspectFit="AspectFit"}(o||(t.AssetScaleType=o={}))},6192:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.BlurType=void 0,function(e){e.layer="Layer",e.background="Background"}(o||(t.BlurType=o={}))},1160:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_POSITIONS=t.BorderPosition=void 0,function(e){e.inside="Inside",e.center="Center",e.outside="Outside"}(o||(t.BorderPosition=o={})),t.ALL_BORDER_POSITIONS=[o.inside,o.center,o.outside]},4546:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_STYLES=t.BorderStyle=void 0,function(e){e.dashed="Dashed",e.dotted="Dotted",e.solid="Solid",e.groove="Groove"}(o||(t.BorderStyle=o={})),t.ALL_BORDER_STYLES=[o.dashed,o.dotted,o.solid,o.groove]},8042:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportWarningType=void 0,function(e){e.UnsupportedFill="UnsupportedFill",e.UnsupportedStroke="UnsupportedStroke",e.UnsupportedEffect="UnsupportedEffect",e.StyleNotApplied="StyleNotApplied",e.NoPublishedStyles="NoPublishedStyles",e.NoPublishedComponents="NoPublishedComponents",e.NoPublishedAssets="NoPublishedAssets",e.NoVersionFound="NoVersionFound",e.ComponentHasNoThumbnail="ComponentHasNoThumbnail",e.DuplicateImportedStyleId="DuplicateImportedStyleId",e.DuplicateImportedStylePath="DuplicateImportedStylePath",e.NoPublishedElements="NoPublishedElements",e.NoUnpublishedStyles="NoUnpublishedStyles"}(o||(t.ImportWarningType=o={}))},5695:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainErrorCode=void 0,function(e){e.generalError="GeneralError",e.dnsNotConfigured="DNSNotConfigured",e.maintenance="Maintenance"}(o||(t.CustomDomainErrorCode=o={}))},7737:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainState=void 0,function(e){e.initial="Initial",e.domainSetupInProgress="DomainSetupInProgress",e.domainSetupFailed="DomainSetupFailed",e.domainSetupsSucces="DomainSetupSuccess",e.sslSetupInProgress="SSLSetupInProgress",e.sslSetupFailed="SSLSetupFailed",e.sslSetupSuccess="SSLSetupSuccess"}(o||(t.CustomDomainState=o={}))},5651:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorDataType=void 0,function(e){e.item="Item",e.token="Token",e.asset="Asset",e.component="Component",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockBehaviorDataType=o={}))},3733:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorSelectionType=void 0,function(e){e.entity="Entity",e.group="Group",e.entityAndGroup="EntityAndGroup"}(o||(t.DocsBlockBehaviorSelectionType=o={}))},8890:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyAspectRatio=void 0,function(e){e.auto="Auto",e.square="Square",e.landscape="Landscape",e.portrait="Portrait",e.wide="Wide"}(o||(t.DocsBlockImagePropertyAspectRatio=o={}))},9377:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemEntityType=void 0,function(e){e.token="Token",e.tokenGroup="TokenGroup",e.asset="Asset",e.assetGroup="AssetGroup",e.component="Component",e.componentGroup="ComponentGroup"}(o||(t.DocsBlockItemEntityType=o={}))},5883:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockItemPropertyOptionRenderingStyle=o={}))},8061:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyRichTextStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.ol="OL",e.ul="UL"}(o||(t.DocsBlockItemPropertyRichTextStyle=o={}))},7479:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyTextStyle=void 0,function(e){e.small="Small",e.regular="Regular",e.bold="Bold"}(o||(t.DocsBlockItemPropertyTextStyle=o={}))},6839:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyType=void 0,function(e){e.richText="RichText",e.multiRichText="MultiRichText",e.text="Text",e.richTextEditor="RichTextEditor",e.boolean="Boolean",e.number="Number",e.singleSelect="SingleSelect",e.multiSelect="MultiSelect",e.image="Image",e.token="Token",e.tokenType="TokenType",e.tokenProperty="TokenProperty",e.component="Component",e.componentProperty="ComponentProperty",e.asset="Asset",e.assetProperty="AssetProperty",e.embedURL="EmbedURL",e.url="URL",e.markdown="Markdown",e.code="Code",e.codeSandbox="CodeSandbox",e.table="Table",e.divider="Divider",e.storybook="Storybook",e.color="Color",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockItemPropertyType=o={}))},8095:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutType=void 0,function(e){e.column="Column",e.row="Row"}(o||(t.DocsBlockItemVariantLayoutType=o={}))},7291:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutWidth=void 0,function(e){e.c1="1",e.c2="2",e.c3="3",e.c4="4",e.c5="5",e.c6="6",e.c7="7",e.c8="8",e.c9="9",e.c10="10",e.c11="11",e.c12="12"}(o||(t.DocsBlockItemVariantLayoutWidth=o={}))},9133:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionColor=void 0,function(e){e.green="Green",e.red="Red",e.yellow="Yellow",e.blue="Blue",e.purple="Purple",e.orange="Orange",e.pink="Pink",e.teal="Teal",e.grey="Grey",e.lightGrey="LightGrey",e.cyan="Cyan",e.fuchsia="Fuchsia"}(o||(t.DocsBlockOptionColor=o={}))},5963:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockOptionRenderingStyle=o={}))},6644:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.default="Default"}(o||(t.DocsBlockRichTextPropertyStyle=o={}))},306:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.default="Default",e.defaultBold="DefaultBold",e.defaultSemibold="DefaultSemibold",e.small="Small",e.smallBold="SmallBold",e.smallSemibold="SmallSemibold",e.custom="Custom"}(o||(t.DocsBlockTextPropertyStyle=o={}))},4068:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocsEntityGroupBehavior=o={}))},1233:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocsEntityType=o={}))},7971:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsSectionType=void 0,function(e){e.plain="Plain",e.tabs="Tabs"}(o||(t.DocsSectionType=o={}))},5102:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyCalloutType=void 0,function(e){e.info="Info",e.success="Success",e.warning="Warning",e.error="Error"}(o||(t.DocumentationLegacyCalloutType=o={}))},2123:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocumentationLegacyGroupBehavior=o={}))},9896:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyHeadingType=void 0,function(e){e[e.h1=1]="h1",e[e.h2=2]="h2",e[e.h3=3]="h3"}(o||(t.DocumentationLegacyHeadingType=o={}))},7379:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocumentationLegacyItemType=o={}))},1423:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAssetType=void 0,function(e){e.image="image",e.figmaFrame="figmaFrame"}(o||(t.DocumentationLegacyPageAssetType=o={}))},1601:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockThemeType=void 0,function(e){e.override="Override",e.comparison="Comparison"}(o||(t.DocumentationLegacyPageBlockThemeType=o={}))},1846:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockType=void 0,function(e){e.text="Text",e.heading="Heading",e.code="Code",e.unorderedList="UnorderedList",e.orderedList="OrderedList",e.quote="Quote",e.callout="Callout",e.divider="Divider",e.image="Image",e.token="Token",e.tokenList="TokenList",e.tokenGroup="TokenGroup",e.shortcuts="Shortcuts",e.link="Link",e.figmaEmbed="FigmaEmbed",e.youtubeEmbed="YoutubeEmbed",e.storybookEmbed="StorybookEmbed",e.genericEmbed="Embed",e.figmaFrames="FigmaFrames",e.custom="Custom",e.renderCode="RenderCode",e.componentAssets="ComponentAssets",e.column="Column",e.columnItem="ColumnItem",e.tabs="Tabs",e.tabItem="TabItem",e.table="Table",e.tableCell="TableCell",e.tableRow="TableRow"}(o||(t.DocumentationLegacyPageBlockType=o={}))},1255:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameAlignment=void 0,function(e){e.frameHeight="FrameHeight",e.center="Center"}(o||(t.FrameAlignment=o={}))},3718:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameLayout=void 0,function(e){e.c8="C8",e.c7="C7",e.c6="C6",e.c5="C5",e.c4="C4",e.c3="C3",e.c2="C2",e.c1="C1",e.c175="C1_75"}(o||(t.FrameLayout=o={}))},1:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.GradientType=void 0,function(e){e.linear="Linear",e.radial="Radial",e.angular="Angular"}(o||(t.GradientType=o={}))},934:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.IconSet=void 0,function(e){e.checkCircle="CheckCircle",e.crossCircle="CrossCircle",e.alert="Alert"}(o||(t.IconSet=o={}))},2674:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttributeType=void 0,function(e){e.bold="Bold",e.italic="Italic",e.link="Link",e.strikethrough="Strikethrough",e.code="Code"}(o||(t.RichTextSpanAttributeType=o={}))},9125:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowType=void 0,function(e){e.drop="Drop",e.inner="Inner"}(o||(t.ShadowType=o={}))},4652:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.SourceType=void 0,function(e){e.figma="Figma",e.tokenStudio="TokenStudio",e.figmaVariablesPlugin="FigmaVariablesPlugin"}(o||(t.SourceType=o={}))},922:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextCase=void 0,function(e){e.original="Original",e.upper="Upper",e.lower="Lower",e.camel="Camel",e.smallCaps="SmallCaps"}(o||(t.TextCase=o={}))},7040:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecoration=void 0,function(e){e.original="None",e.underline="Underline",e.strikethrough="Strikethrough"}(o||(t.TextDecoration=o={}))},3788:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DT_TOKEN_TYPES=t.tokenTypeIsReferencable=t.REFERENCABLE_TOKEN_TYPES=t.REPLACABLE_TOKEN_TYPES=t.tokenTypeIsNonPure=t.tokenTypeIsPure=t.PURE_TOKEN_TYPES=t.ALL_TOKEN_TYPES=t.MS_DIMENSION_TOKEN_TYPES=t.RAW_DIMENSION_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.TokenType=void 0,function(e){e.color="Color",e.typography="Typography",e.shadow="Shadow",e.border="Border",e.gradient="Gradient",e.blur="Blur",e.radius="BorderRadius",e.borderWidth="BorderWidth",e.duration="Duration",e.fontSize="FontSize",e.dimension="Dimension",e.letterSpacing="LetterSpacing",e.lineHeight="LineHeight",e.opacity="Opacity",e.paragraphSpacing="ParagraphSpacing",e.size="Size",e.space="Space",e.zIndex="ZIndex",e.textDecoration="TextDecoration",e.textCase="TextCase",e.visibility="Visibility",e.fontFamily="FontFamily",e.fontWeight="FontWeight",e.string="String",e.productCopy="ProductCopy"}(o||(t.TokenType=o={})),t.STRING_TOKEN_TYPES=[o.string,o.productCopy,o.fontFamily,o.fontWeight],t.OPTION_TOKEN_TYPES=[o.textCase,o.textDecoration,o.visibility],t.DIMENSION_TOKEN_TYPES=[o.dimension,o.size,o.space,o.opacity,o.fontSize,o.lineHeight,o.letterSpacing,o.paragraphSpacing,o.borderWidth,o.radius,o.duration,o.zIndex],t.RAW_DIMENSION_TOKEN_TYPES=[o.opacity,o.zIndex],t.MS_DIMENSION_TOKEN_TYPES=[o.duration],t.ALL_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES,o.color,o.gradient,o.border,o.radius,o.shadow,o.typography,o.blur],t.PURE_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.tokenTypeIsPure=e=>t.PURE_TOKEN_TYPES.includes(e),t.tokenTypeIsNonPure=e=>!(0,t.tokenTypeIsPure)(e),t.REPLACABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.REFERENCABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,o.textCase,o.textDecoration],t.tokenTypeIsReferencable=e=>t.REFERENCABLE_TOKEN_TYPES.includes(e),t.DT_TOKEN_TYPES=[o.color,o.shadow,o.gradient,o.typography,o.border,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,...t.OPTION_TOKEN_TYPES]},8607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.MS_UNITS=t.PX_UNITS=t.RAW_UNITS=t.LINE_HEIGHT_UNITS=t.SIZE_UNITS=t.Unit=void 0,function(e){e.pixels="Pixels",e.percent="Percent",e.rem="Rem",e.ms="Ms",e.raw="Raw"}(o||(t.Unit=o={})),t.SIZE_UNITS=[o.pixels,o.percent,o.rem],t.LINE_HEIGHT_UNITS=[o.pixels,o.percent,o.rem,o.raw],t.RAW_UNITS=[o.raw],t.PX_UNITS=[o.pixels],t.MS_UNITS=[o.ms]},9478:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.owner="Owner",e.admin="Admin",e.creator="Creator",e.billing="Billing",e.viewer="Viewer"}(o||(t.UserRole=o={}))},6141:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityType=void 0,function(e){e.visible="Visible",e.hidden="Hidden"}(o||(t.VisibilityType=o={}))},6298:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryAuthType=void 0,function(e){e.basic="Basic",e.bearer="Bearer"}(o||(t.WorkspaceNPMRegistryAuthType=o={}))},7968:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryType=void 0,function(e){e.npmJS="NPMJS",e.gitHub="GitHub",e.azureDevOps="AzureDevOps",e.artifactory="Artifactory",e.custom="Custom"}(o||(t.WorkspaceNPMRegistryType=o={}))},5503:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionPlanInterval=void 0,function(e){e.yearly="yearly",e.monthly="monthly"}(o||(t.WorkspaceSubscriptionPlanInterval=o={}))},4290:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionProductCode=void 0,function(e){e.free="free",e.team="team",e.teamTest="team_test",e.company="company",e.enterprise="enterprise"}(o||(t.WorkspaceSubscriptionProductCode=o={}))},3607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionStatus=void 0,function(e){e.active="active",e.gracePeriod="gracePeriod",e.cancelled="cancelled",e.suspended="suspended"}(o||(t.WorkspaceSubscriptionStatus=o={}))},2802:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.PulsarExecutor=t.OutputFileType=void 0,function(a){a.copyRemoteUrl="copyRemoteUrl",a.text="text",a.binary="binary"}(o||(t.OutputFileType=o={})),function(a){a.supernova="supernova",a.local="local"}(e||(t.PulsarExecutor=e={}))}},y={};function n(r){var t=y[r];if(t!==void 0)return t.exports;var o=y[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.TokenType=r.TextDecoration=r.TextCase=r.ShadowType=r.RichTextSpanAttributeType=r.GradientType=r.FrameLayout=r.FrameAlignment=r.IconSet=r.SourceType=r.DocsImageRefType=r.DocsLinkRefType=r.DocsSectionType=r.DocsEntityType=r.DocsEntityGroupBehavior=r.DocsBlockTextPropertyStyle=r.DocsBlockRichTextPropertyStyle=r.DocsBlockOptionColor=r.DocsBlockOptionRenderingStyle=r.DocsBlockItemVariantLayoutWidth=r.DocsBlockItemVariantLayoutType=r.DocsBlockItemPropertyType=r.DocsBlockItemPropertyTextStyle=r.DocsBlockItemPropertyRichTextStyle=r.DocsBlockItemPropertyOptionRenderingStyle=r.DocsBlockItemEntityType=r.DocsBlockImagePropertyAspectRatio=r.DocsBlockBehaviorSelectionType=r.DocsBlockBehaviorDataType=r.DocumentationLegacyPageBlockShortcutType=r.DocumentationLegacyPageBlockThemeType=r.DocumentationLegacyPageBlockType=r.DocumentationLegacyPageAssetType=r.DocumentationLegacyItemType=r.DocumentationLegacyHeadingType=r.DocumentationLegacyGroupBehavior=r.DocumentationLegacyCalloutType=r.BorderStyle=r.BorderPosition=r.BlurType=r.AssetScaleType=r.AssetScale=r.AssetFormat=r.Alignment=r.ALL_TOKEN_TYPES=r.ALL_BORDER_STYLES=r.ALL_BORDER_POSITIONS=r.OPTION_TOKEN_TYPES=r.STRING_TOKEN_TYPES=r.DIMENSION_TOKEN_TYPES=void 0,r.PulsarExecutor=r.OutputFileType=r.CustomDomainState=r.CustomDomainErrorCode=r.ImportWarningType=r.WorkspaceNPMRegistryType=r.WorkspaceNPMRegistryAuthType=r.WorkspaceSubscriptionStatus=r.WorkspaceSubscriptionProductCode=r.WorkspaceSubscriptionPlanInterval=r.VisibilityType=r.UserRole=r.Unit=void 0;var t=n(3788);Object.defineProperty(r,"DIMENSION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.DIMENSION_TOKEN_TYPES}}),Object.defineProperty(r,"STRING_TOKEN_TYPES",{enumerable:!0,get:function(){return t.STRING_TOKEN_TYPES}}),Object.defineProperty(r,"OPTION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.OPTION_TOKEN_TYPES}});var o=n(1160);Object.defineProperty(r,"ALL_BORDER_POSITIONS",{enumerable:!0,get:function(){return o.ALL_BORDER_POSITIONS}});var e=n(4546);Object.defineProperty(r,"ALL_BORDER_STYLES",{enumerable:!0,get:function(){return e.ALL_BORDER_STYLES}});var a=n(3788);Object.defineProperty(r,"ALL_TOKEN_TYPES",{enumerable:!0,get:function(){return a.ALL_TOKEN_TYPES}});var d=n(7476);Object.defineProperty(r,"Alignment",{enumerable:!0,get:function(){return d.Alignment}});var c=n(8738);Object.defineProperty(r,"AssetFormat",{enumerable:!0,get:function(){return c.AssetFormat}});var l=n(915);Object.defineProperty(r,"AssetScale",{enumerable:!0,get:function(){return l.AssetScale}});var i=n(899);Object.defineProperty(r,"AssetScaleType",{enumerable:!0,get:function(){return i.AssetScaleType}});var u=n(6192);Object.defineProperty(r,"BlurType",{enumerable:!0,get:function(){return u.BlurType}});var m=n(1160);Object.defineProperty(r,"BorderPosition",{enumerable:!0,get:function(){return m.BorderPosition}});var S=n(4546);Object.defineProperty(r,"BorderStyle",{enumerable:!0,get:function(){return S.BorderStyle}});var b=n(5102);Object.defineProperty(r,"DocumentationLegacyCalloutType",{enumerable:!0,get:function(){return b.DocumentationLegacyCalloutType}});var v=n(2123);Object.defineProperty(r,"DocumentationLegacyGroupBehavior",{enumerable:!0,get:function(){return v.DocumentationLegacyGroupBehavior}});var P=n(9896);Object.defineProperty(r,"DocumentationLegacyHeadingType",{enumerable:!0,get:function(){return P.DocumentationLegacyHeadingType}});var h=n(7379);Object.defineProperty(r,"DocumentationLegacyItemType",{enumerable:!0,get:function(){return h.DocumentationLegacyItemType}});var C=n(1423);Object.defineProperty(r,"DocumentationLegacyPageAssetType",{enumerable:!0,get:function(){return C.DocumentationLegacyPageAssetType}});var O=n(1846);Object.defineProperty(r,"DocumentationLegacyPageBlockType",{enumerable:!0,get:function(){return O.DocumentationLegacyPageBlockType}});var B=n(1601);Object.defineProperty(r,"DocumentationLegacyPageBlockThemeType",{enumerable:!0,get:function(){return B.DocumentationLegacyPageBlockThemeType}});var R=n(2657);Object.defineProperty(r,"DocumentationLegacyPageBlockShortcutType",{enumerable:!0,get:function(){return R.DocumentationLegacyPageBlockShortcutType}});var x=n(5651);Object.defineProperty(r,"DocsBlockBehaviorDataType",{enumerable:!0,get:function(){return x.DocsBlockBehaviorDataType}});var L=n(3733);Object.defineProperty(r,"DocsBlockBehaviorSelectionType",{enumerable:!0,get:function(){return L.DocsBlockBehaviorSelectionType}});var j=n(8890);Object.defineProperty(r,"DocsBlockImagePropertyAspectRatio",{enumerable:!0,get:function(){return j.DocsBlockImagePropertyAspectRatio}});var M=n(9377);Object.defineProperty(r,"DocsBlockItemEntityType",{enumerable:!0,get:function(){return M.DocsBlockItemEntityType}});var A=n(5883);Object.defineProperty(r,"DocsBlockItemPropertyOptionRenderingStyle",{enumerable:!0,get:function(){return A.DocsBlockItemPropertyOptionRenderingStyle}});var F=n(8061);Object.defineProperty(r,"DocsBlockItemPropertyRichTextStyle",{enumerable:!0,get:function(){return F.DocsBlockItemPropertyRichTextStyle}});var w=n(7479);Object.defineProperty(r,"DocsBlockItemPropertyTextStyle",{enumerable:!0,get:function(){return w.DocsBlockItemPropertyTextStyle}});var H=n(6839);Object.defineProperty(r,"DocsBlockItemPropertyType",{enumerable:!0,get:function(){return H.DocsBlockItemPropertyType}});var U=n(8095);Object.defineProperty(r,"DocsBlockItemVariantLayoutType",{enumerable:!0,get:function(){return U.DocsBlockItemVariantLayoutType}});var W=n(7291);Object.defineProperty(r,"DocsBlockItemVariantLayoutWidth",{enumerable:!0,get:function(){return W.DocsBlockItemVariantLayoutWidth}});var Y=n(5963);Object.defineProperty(r,"DocsBlockOptionRenderingStyle",{enumerable:!0,get:function(){return Y.DocsBlockOptionRenderingStyle}});var G=n(9133);Object.defineProperty(r,"DocsBlockOptionColor",{enumerable:!0,get:function(){return G.DocsBlockOptionColor}});var V=n(6644);Object.defineProperty(r,"DocsBlockRichTextPropertyStyle",{enumerable:!0,get:function(){return V.DocsBlockRichTextPropertyStyle}});var $=n(306);Object.defineProperty(r,"DocsBlockTextPropertyStyle",{enumerable:!0,get:function(){return $.DocsBlockTextPropertyStyle}});var K=n(4068);Object.defineProperty(r,"DocsEntityGroupBehavior",{enumerable:!0,get:function(){return K.DocsEntityGroupBehavior}});var z=n(1233);Object.defineProperty(r,"DocsEntityType",{enumerable:!0,get:function(){return z.DocsEntityType}});var q=n(7971);Object.defineProperty(r,"DocsSectionType",{enumerable:!0,get:function(){return q.DocsSectionType}});var Z=n(5673);Object.defineProperty(r,"DocsLinkRefType",{enumerable:!0,get:function(){return Z.DocsLinkRefType}});var J=n(9932);Object.defineProperty(r,"DocsImageRefType",{enumerable:!0,get:function(){return J.DocsImageRefType}});var Q=n(4652);Object.defineProperty(r,"SourceType",{enumerable:!0,get:function(){return Q.SourceType}});var X=n(934);Object.defineProperty(r,"IconSet",{enumerable:!0,get:function(){return X.IconSet}});var ee=n(1255);Object.defineProperty(r,"FrameAlignment",{enumerable:!0,get:function(){return ee.FrameAlignment}});var te=n(3718);Object.defineProperty(r,"FrameLayout",{enumerable:!0,get:function(){return te.FrameLayout}});var oe=n(1);Object.defineProperty(r,"GradientType",{enumerable:!0,get:function(){return oe.GradientType}});var re=n(2674);Object.defineProperty(r,"RichTextSpanAttributeType",{enumerable:!0,get:function(){return re.RichTextSpanAttributeType}});var ne=n(9125);Object.defineProperty(r,"ShadowType",{enumerable:!0,get:function(){return ne.ShadowType}});var ae=n(922);Object.defineProperty(r,"TextCase",{enumerable:!0,get:function(){return ae.TextCase}});var ie=n(7040);Object.defineProperty(r,"TextDecoration",{enumerable:!0,get:function(){return ie.TextDecoration}});var ce=n(3788);Object.defineProperty(r,"TokenType",{enumerable:!0,get:function(){return ce.TokenType}});var le=n(8607);Object.defineProperty(r,"Unit",{enumerable:!0,get:function(){return le.Unit}});var ue=n(9478);Object.defineProperty(r,"UserRole",{enumerable:!0,get:function(){return ue.UserRole}});var se=n(6141);Object.defineProperty(r,"VisibilityType",{enumerable:!0,get:function(){return se.VisibilityType}});var pe=n(5503);Object.defineProperty(r,"WorkspaceSubscriptionPlanInterval",{enumerable:!0,get:function(){return pe.WorkspaceSubscriptionPlanInterval}});var de=n(4290);Object.defineProperty(r,"WorkspaceSubscriptionProductCode",{enumerable:!0,get:function(){return de.WorkspaceSubscriptionProductCode}});var ye=n(3607);Object.defineProperty(r,"WorkspaceSubscriptionStatus",{enumerable:!0,get:function(){return ye.WorkspaceSubscriptionStatus}});var Te=n(6298);Object.defineProperty(r,"WorkspaceNPMRegistryAuthType",{enumerable:!0,get:function(){return Te.WorkspaceNPMRegistryAuthType}});var me=n(7968);Object.defineProperty(r,"WorkspaceNPMRegistryType",{enumerable:!0,get:function(){return me.WorkspaceNPMRegistryType}});var fe=n(8042);Object.defineProperty(r,"ImportWarningType",{enumerable:!0,get:function(){return fe.ImportWarningType}});var E=n(5695);Object.defineProperty(r,"CustomDomainErrorCode",{enumerable:!0,get:function(){return E.CustomDomainErrorCode}});var xe=n(7737);Object.defineProperty(r,"CustomDomainState",{enumerable:!0,get:function(){return xe.CustomDomainState}});var ve=n(2802);Object.defineProperty(r,"OutputFileType",{enumerable:!0,get:function(){return ve.OutputFileType}}),Object.defineProperty(r,"PulsarExecutor",{enumerable:!0,get:function(){return ve.PulsarExecutor}})})();var f=p;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()})(_);const Se=(p,s,y)=>{let n;return y?n=s.find(T=>T.id===p.parentGroupId):n=null,D.NamingHelper.codeSafeVariableNameForToken(p,D.StringCase.paramCase,n,"")},ke=(p,s,y)=>y?`$${p}: ${s}${y} !default;`:`$${p}: ${s} !default;`,Ze=new Map([["breakpoint-mobile",0]]),Oe=(p,s)=>{const y=Ze.get(p);return typeof y==typeof s?y:s},Je=(p,s,y,n)=>{var T,f;if(p.tokenType===_.TokenType.dimension){const g=p,r=Se(g,y,n);let t=(T=g.value)==null?void 0:T.measure;t=Oe(r,t);const o=D.CSSHelper.unitToCSS((f=g.value)==null?void 0:f.unit);return ke(r,t,o)}if(p.tokenType===_.TokenType.string){const g=p,r=Se(g,y,n);let t=g.value.text;return t=Oe(r,t),ke(r,t)}return null},Qe=(p,s,y,n)=>p.map(T=>Je(T,s,y,n)).filter(Boolean).join(` -`),Xe=p=>({radius:"radii",spacing:"spaces"})[p]||(p.endsWith("s")?p:`${p}s`),et=(p,s,y)=>p.reduce((n,T)=>{var o,e,a;const f=Se(T,s,y),g=(o=f.match(/\d+/))==null?void 0:o[0],r=`${(a=(e=T.origin)==null?void 0:e.name)==null?void 0:a.split("/")[0].toLowerCase()}-`,t=f.replace(r,"");return g?n+=`${g}: $${f}, -`:t&&(n+=`${t}: $${f}, -`),n},""),tt=(p,s,y,n)=>{const T=new Map;return p.forEach(f=>{var r;const g=(r=f.origin)==null?void 0:r.name;if(g){const t=g.split("/");t.pop();const o=Xe(t.join("-").toLowerCase());T.set(o,[...T.get(o)||[],f])}}),Array.from(T.entries()).map(([f,g])=>{const r=et(g,y,n);return r.trim()&&`$${f}: ( -${r}) !default; +"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});function He(i){if(i.__esModule)return i;var s=i.default;if(typeof s=="function"){var d=function n(){return this instanceof n?Reflect.construct(s,arguments,this.constructor):s.apply(this,arguments)};d.prototype=s.prototype}else d={};return Object.defineProperty(d,"__esModule",{value:!0}),Object.keys(i).forEach(function(n){var T=Object.getOwnPropertyDescriptor(i,n);Object.defineProperty(d,n,T.get?T:{enumerable:!0,get:function(){return i[n]}})}),d}var I={},Se={},Oe;function Ue(){return Oe||(Oe=1,function(i){(()=>{var s={9932:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.docsImageRefToUrl=t.DocsImageRefType=void 0,function(e){e.resource="Resource",e.figmaNode="FigmaNode"}(o||(t.DocsImageRefType=o={})),t.docsImageRefToUrl=function(e,a,y){var c;if(e)switch(e.type){case o.resource:return(c=e.resource)===null||c===void 0?void 0:c.url;case o.figmaNode:return!e.figmaNode||!e.figmaNode.sourceId||!e.figmaNode.frameReferenceId?void 0:a.resources.getFigmaFrameHostedUrl({designSystemId:y.dsId,versionId:y.versionId},e.figmaNode.frameReferenceId);default:return}}},5673:(r,t)=>{var o;function e(a){switch(a.type){case o.documentationItem:return`@page:${a.documentationItemId}`;case o.pageHeading:return`@page:${a.documentationItemId}#${a.pageHeadingId}`;case o.url:return a.url;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.linkAttributeToDocsLink=t.docsLinkToLinkAttributes=t.docsLinkToUrl=t.DocsLinkRefType=void 0,function(a){a.documentationItem="DocumentationItem",a.pageHeading="PageHeading",a.url="Url"}(o||(t.DocsLinkRefType=o={})),t.docsLinkToUrl=e,t.docsLinkToLinkAttributes=function(a){const y=e(a);if(y)return{href:y,target:a.openInNewTab?"_blank":"_self"}},t.linkAttributeToDocsLink=function(a,y){if(!a)return;const c=y==="_blank";if(a.startsWith("@page:")){if(a.includes("#")){const[u,l]=a.replace("@page:","").split("#");return{type:o.pageHeading,documentationItemId:u,pageHeadingId:l,openInNewTab:c}}return{type:o.documentationItem,documentationItemId:a.replace("@page:",""),openInNewTab:c}}return{type:o.url,url:a,openInNewTab:c}}},2657:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockShortcutType=void 0,function(e){e.external="External",e.internal="Internal"}(o||(t.DocumentationLegacyPageBlockShortcutType=o={})),t.DocumentationLegacyPageBlockShortcut=class{constructor(e){var a;e.url?this.type=o.external:this.type=o.internal,this.title=this.shortcutTitleFromModel(e,this.type),this.description=this.shortcutDescriptionFromModel(e,this.type),this.previewUrl=this.shortcutPreviewUrlFromModel(e),this.type===o.internal&&(!((a=e.documentationItemPreview)===null||a===void 0)&&a.valid)&&e.documentationItemId?this.internalId=e.documentationItemId:(this.internalId=null,this.type===o.external&&e.url?this.externalUrl=e.url:this.externalUrl=null)}shortcutTitleFromModel(e,a){var y,c,u,l,p;let m=null;return e.title&&e.title.trim().length>0?m=e.title:a===o.internal?m=(c=(y=e.documentationItemPreview)===null||y===void 0?void 0:y.title)!==null&&c!==void 0?c:null:a===o.external&&(m=(p=(l=(u=e.urlPreview)===null||u===void 0?void 0:u.title)!==null&&l!==void 0?l:e.url)!==null&&p!==void 0?p:null),m&&m.trim().length!==0?m:null}shortcutDescriptionFromModel(e,a){var y;let c=null;return e.description&&e.description.trim().length>0?c=e.description:a===o.external&&(c=(y=e.urlPreview)===null||y===void 0?void 0:y.description),c&&c.trim().length!==0?c:null}shortcutPreviewUrlFromModel(e){var a,y,c,u,l;return(l=(c=(a=e.assetUrl)!==null&&a!==void 0?a:(y=e.asset)===null||y===void 0?void 0:y.url)!==null&&c!==void 0?c:(u=e.urlPreview)===null||u===void 0?void 0:u.thumbnailUrl)!==null&&l!==void 0?l:null}}},7476:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAlignment=t.Alignment=void 0,function(a){a.left="Left",a.center="Center",a.stretch="Stretch"}(o||(t.Alignment=o={})),function(a){a.left="Left",a.center="Center",a.right="Right"}(e||(t.TextAlignment=e={}))},8738:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetFormat=void 0,function(e){e.png="png",e.pdf="pdf",e.svg="svg"}(o||(t.AssetFormat=o={}))},915:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScale=void 0,function(e){e.x1="x1",e.x2="x2",e.x3="x3",e.x4="x4"}(o||(t.AssetScale=o={}))},899:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScaleType=void 0,function(e){e.aspectFill="AspectFill",e.aspectFit="AspectFit"}(o||(t.AssetScaleType=o={}))},6192:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.BlurType=void 0,function(e){e.layer="Layer",e.background="Background"}(o||(t.BlurType=o={}))},1160:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_POSITIONS=t.BorderPosition=void 0,function(e){e.inside="Inside",e.center="Center",e.outside="Outside"}(o||(t.BorderPosition=o={})),t.ALL_BORDER_POSITIONS=[o.inside,o.center,o.outside]},4546:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_STYLES=t.BorderStyle=void 0,function(e){e.dashed="Dashed",e.dotted="Dotted",e.solid="Solid",e.groove="Groove"}(o||(t.BorderStyle=o={})),t.ALL_BORDER_STYLES=[o.dashed,o.dotted,o.solid,o.groove]},8042:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportWarningType=void 0,function(e){e.UnsupportedFill="UnsupportedFill",e.UnsupportedStroke="UnsupportedStroke",e.UnsupportedEffect="UnsupportedEffect",e.StyleNotApplied="StyleNotApplied",e.NoPublishedStyles="NoPublishedStyles",e.NoPublishedComponents="NoPublishedComponents",e.NoPublishedAssets="NoPublishedAssets",e.NoVersionFound="NoVersionFound",e.ComponentHasNoThumbnail="ComponentHasNoThumbnail",e.DuplicateImportedStyleId="DuplicateImportedStyleId",e.DuplicateImportedStylePath="DuplicateImportedStylePath",e.NoPublishedElements="NoPublishedElements",e.NoUnpublishedStyles="NoUnpublishedStyles"}(o||(t.ImportWarningType=o={}))},5695:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainErrorCode=void 0,function(e){e.generalError="GeneralError",e.dnsNotConfigured="DNSNotConfigured",e.maintenance="Maintenance"}(o||(t.CustomDomainErrorCode=o={}))},7737:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainState=void 0,function(e){e.initial="Initial",e.domainSetupInProgress="DomainSetupInProgress",e.domainSetupFailed="DomainSetupFailed",e.domainSetupsSucces="DomainSetupSuccess",e.sslSetupInProgress="SSLSetupInProgress",e.sslSetupFailed="SSLSetupFailed",e.sslSetupSuccess="SSLSetupSuccess"}(o||(t.CustomDomainState=o={}))},5651:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorDataType=void 0,function(e){e.item="Item",e.token="Token",e.asset="Asset",e.component="Component",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockBehaviorDataType=o={}))},3733:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorSelectionType=void 0,function(e){e.entity="Entity",e.group="Group",e.entityAndGroup="EntityAndGroup"}(o||(t.DocsBlockBehaviorSelectionType=o={}))},8890:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyAspectRatio=void 0,function(e){e.auto="Auto",e.square="Square",e.landscape="Landscape",e.portrait="Portrait",e.wide="Wide"}(o||(t.DocsBlockImagePropertyAspectRatio=o={}))},9377:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemEntityType=void 0,function(e){e.token="Token",e.tokenGroup="TokenGroup",e.asset="Asset",e.assetGroup="AssetGroup",e.component="Component",e.componentGroup="ComponentGroup"}(o||(t.DocsBlockItemEntityType=o={}))},5883:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockItemPropertyOptionRenderingStyle=o={}))},8061:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyRichTextStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.ol="OL",e.ul="UL"}(o||(t.DocsBlockItemPropertyRichTextStyle=o={}))},7479:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyTextStyle=void 0,function(e){e.small="Small",e.regular="Regular",e.bold="Bold"}(o||(t.DocsBlockItemPropertyTextStyle=o={}))},6839:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyType=void 0,function(e){e.richText="RichText",e.multiRichText="MultiRichText",e.text="Text",e.boolean="Boolean",e.number="Number",e.singleSelect="SingleSelect",e.multiSelect="MultiSelect",e.image="Image",e.token="Token",e.tokenType="TokenType",e.tokenProperty="TokenProperty",e.component="Component",e.componentProperty="ComponentProperty",e.asset="Asset",e.assetProperty="AssetProperty",e.embedURL="EmbedURL",e.url="URL",e.markdown="Markdown",e.code="Code",e.codeSandbox="CodeSandbox",e.table="Table",e.divider="Divider",e.storybook="Storybook",e.color="Color",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockItemPropertyType=o={}))},8095:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutType=void 0,function(e){e.column="Column",e.row="Row"}(o||(t.DocsBlockItemVariantLayoutType=o={}))},7291:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutWidth=void 0,function(e){e.c1="1",e.c2="2",e.c3="3",e.c4="4",e.c5="5",e.c6="6",e.c7="7",e.c8="8",e.c9="9",e.c10="10",e.c11="11",e.c12="12"}(o||(t.DocsBlockItemVariantLayoutWidth=o={}))},5963:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockOptionRenderingStyle=o={}))},6644:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.default="Default"}(o||(t.DocsBlockRichTextPropertyStyle=o={}))},306:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.default="Default",e.defaultBold="DefaultBold",e.defaultSemibold="DefaultSemibold",e.small="Small",e.smallBold="SmallBold",e.smallSemibold="SmallSemibold",e.custom="Custom"}(o||(t.DocsBlockTextPropertyStyle=o={}))},4068:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocsEntityGroupBehavior=o={}))},1233:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocsEntityType=o={}))},7971:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsSectionType=void 0,function(e){e.plain="Plain",e.tabs="Tabs"}(o||(t.DocsSectionType=o={}))},5102:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyCalloutType=void 0,function(e){e.info="Info",e.success="Success",e.warning="Warning",e.error="Error"}(o||(t.DocumentationLegacyCalloutType=o={}))},2123:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocumentationLegacyGroupBehavior=o={}))},9896:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyHeadingType=void 0,function(e){e[e.h1=1]="h1",e[e.h2=2]="h2",e[e.h3=3]="h3"}(o||(t.DocumentationLegacyHeadingType=o={}))},7379:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocumentationLegacyItemType=o={}))},1423:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAssetType=void 0,function(e){e.image="image",e.figmaFrame="figmaFrame"}(o||(t.DocumentationLegacyPageAssetType=o={}))},1601:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockThemeType=void 0,function(e){e.override="Override",e.comparison="Comparison"}(o||(t.DocumentationLegacyPageBlockThemeType=o={}))},1846:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockType=void 0,function(e){e.text="Text",e.heading="Heading",e.code="Code",e.unorderedList="UnorderedList",e.orderedList="OrderedList",e.quote="Quote",e.callout="Callout",e.divider="Divider",e.image="Image",e.token="Token",e.tokenList="TokenList",e.tokenGroup="TokenGroup",e.shortcuts="Shortcuts",e.link="Link",e.figmaEmbed="FigmaEmbed",e.youtubeEmbed="YoutubeEmbed",e.storybookEmbed="StorybookEmbed",e.genericEmbed="Embed",e.figmaFrames="FigmaFrames",e.custom="Custom",e.renderCode="RenderCode",e.componentAssets="ComponentAssets",e.column="Column",e.columnItem="ColumnItem",e.tabs="Tabs",e.tabItem="TabItem",e.table="Table",e.tableCell="TableCell",e.tableRow="TableRow"}(o||(t.DocumentationLegacyPageBlockType=o={}))},1255:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameAlignment=void 0,function(e){e.frameHeight="FrameHeight",e.center="Center"}(o||(t.FrameAlignment=o={}))},3718:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameLayout=void 0,function(e){e.c8="C8",e.c7="C7",e.c6="C6",e.c5="C5",e.c4="C4",e.c3="C3",e.c2="C2",e.c1="C1",e.c175="C1_75"}(o||(t.FrameLayout=o={}))},1:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.GradientType=void 0,function(e){e.linear="Linear",e.radial="Radial",e.angular="Angular"}(o||(t.GradientType=o={}))},2674:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttributeType=void 0,function(e){e.bold="Bold",e.italic="Italic",e.link="Link",e.strikethrough="Strikethrough",e.code="Code"}(o||(t.RichTextSpanAttributeType=o={}))},9125:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowType=void 0,function(e){e.drop="Drop",e.inner="Inner"}(o||(t.ShadowType=o={}))},4652:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.SourceType=void 0,function(e){e.figma="Figma",e.tokenStudio="TokenStudio",e.figmaVariablesPlugin="FigmaVariablesPlugin"}(o||(t.SourceType=o={}))},922:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextCase=void 0,function(e){e.original="Original",e.upper="Upper",e.lower="Lower",e.camel="Camel",e.smallCaps="SmallCaps"}(o||(t.TextCase=o={}))},7040:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecoration=void 0,function(e){e.original="None",e.underline="Underline",e.strikethrough="Strikethrough"}(o||(t.TextDecoration=o={}))},3788:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DT_TOKEN_TYPES=t.tokenTypeIsReferencable=t.REFERENCABLE_TOKEN_TYPES=t.REPLACABLE_TOKEN_TYPES=t.tokenTypeIsNonPure=t.tokenTypeIsPure=t.PURE_TOKEN_TYPES=t.ALL_TOKEN_TYPES=t.MS_DIMENSION_TOKEN_TYPES=t.RAW_DIMENSION_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.TokenType=void 0,function(e){e.color="Color",e.typography="Typography",e.shadow="Shadow",e.border="Border",e.gradient="Gradient",e.blur="Blur",e.radius="BorderRadius",e.borderWidth="BorderWidth",e.duration="Duration",e.fontSize="FontSize",e.dimension="Dimension",e.letterSpacing="LetterSpacing",e.lineHeight="LineHeight",e.opacity="Opacity",e.paragraphSpacing="ParagraphSpacing",e.size="Size",e.space="Space",e.zIndex="ZIndex",e.textDecoration="TextDecoration",e.textCase="TextCase",e.visibility="Visibility",e.fontFamily="FontFamily",e.fontWeight="FontWeight",e.string="String",e.productCopy="ProductCopy"}(o||(t.TokenType=o={})),t.STRING_TOKEN_TYPES=[o.string,o.productCopy,o.fontFamily,o.fontWeight],t.OPTION_TOKEN_TYPES=[o.textCase,o.textDecoration,o.visibility],t.DIMENSION_TOKEN_TYPES=[o.dimension,o.size,o.space,o.opacity,o.fontSize,o.lineHeight,o.letterSpacing,o.paragraphSpacing,o.borderWidth,o.radius,o.duration,o.zIndex],t.RAW_DIMENSION_TOKEN_TYPES=[o.opacity,o.zIndex],t.MS_DIMENSION_TOKEN_TYPES=[o.duration],t.ALL_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES,o.color,o.gradient,o.border,o.radius,o.shadow,o.typography,o.blur],t.PURE_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.tokenTypeIsPure=e=>t.PURE_TOKEN_TYPES.includes(e),t.tokenTypeIsNonPure=e=>!(0,t.tokenTypeIsPure)(e),t.REPLACABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.REFERENCABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,o.textCase,o.textDecoration],t.tokenTypeIsReferencable=e=>t.REFERENCABLE_TOKEN_TYPES.includes(e),t.DT_TOKEN_TYPES=[o.color,o.shadow,o.gradient,o.typography,o.border,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,...t.OPTION_TOKEN_TYPES]},8607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.MS_UNITS=t.PX_UNITS=t.RAW_UNITS=t.LINE_HEIGHT_UNITS=t.SIZE_UNITS=t.Unit=void 0,function(e){e.pixels="Pixels",e.percent="Percent",e.rem="Rem",e.ms="Ms",e.raw="Raw"}(o||(t.Unit=o={})),t.SIZE_UNITS=[o.pixels,o.percent,o.rem],t.LINE_HEIGHT_UNITS=[o.pixels,o.percent,o.rem,o.raw],t.RAW_UNITS=[o.raw],t.PX_UNITS=[o.pixels],t.MS_UNITS=[o.ms]},9478:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.owner="Owner",e.admin="Admin",e.creator="Creator",e.billing="Billing",e.viewer="Viewer"}(o||(t.UserRole=o={}))},6141:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityType=void 0,function(e){e.visible="Visible",e.hidden="Hidden"}(o||(t.VisibilityType=o={}))},6298:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryAuthType=void 0,function(e){e.basic="Basic",e.bearer="Bearer"}(o||(t.WorkspaceNPMRegistryAuthType=o={}))},7968:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryType=void 0,function(e){e.npmJS="NPMJS",e.gitHub="GitHub",e.azureDevOps="AzureDevOps",e.artifactory="Artifactory",e.custom="Custom"}(o||(t.WorkspaceNPMRegistryType=o={}))},5503:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionPlanInterval=void 0,function(e){e.yearly="yearly",e.monthly="monthly"}(o||(t.WorkspaceSubscriptionPlanInterval=o={}))},4290:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionProductCode=void 0,function(e){e.free="free",e.team="team",e.teamTest="team_test",e.company="company",e.enterprise="enterprise"}(o||(t.WorkspaceSubscriptionProductCode=o={}))},3607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionStatus=void 0,function(e){e.active="active",e.gracePeriod="gracePeriod",e.cancelled="cancelled",e.suspended="suspended"}(o||(t.WorkspaceSubscriptionStatus=o={}))},2802:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.PulsarExecutor=t.OutputFileType=void 0,function(a){a.copyRemoteUrl="copyRemoteUrl",a.text="text",a.binary="binary"}(o||(t.OutputFileType=o={})),function(a){a.supernova="supernova",a.local="local"}(e||(t.PulsarExecutor=e={}))}},d={};function n(r){var t=d[r];if(t!==void 0)return t.exports;var o=d[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.UserRole=r.Unit=r.TokenType=r.TextDecoration=r.TextCase=r.ShadowType=r.RichTextSpanAttributeType=r.GradientType=r.FrameLayout=r.FrameAlignment=r.SourceType=r.DocsImageRefType=r.DocsLinkRefType=r.DocsSectionType=r.DocsEntityType=r.DocsEntityGroupBehavior=r.DocsBlockTextPropertyStyle=r.DocsBlockRichTextPropertyStyle=r.DocsBlockOptionRenderingStyle=r.DocsBlockItemVariantLayoutWidth=r.DocsBlockItemVariantLayoutType=r.DocsBlockItemPropertyType=r.DocsBlockItemPropertyTextStyle=r.DocsBlockItemPropertyRichTextStyle=r.DocsBlockItemPropertyOptionRenderingStyle=r.DocsBlockItemEntityType=r.DocsBlockImagePropertyAspectRatio=r.DocsBlockBehaviorSelectionType=r.DocsBlockBehaviorDataType=r.DocumentationLegacyPageBlockShortcutType=r.DocumentationLegacyPageBlockThemeType=r.DocumentationLegacyPageBlockType=r.DocumentationLegacyPageAssetType=r.DocumentationLegacyItemType=r.DocumentationLegacyHeadingType=r.DocumentationLegacyGroupBehavior=r.DocumentationLegacyCalloutType=r.BorderStyle=r.BorderPosition=r.BlurType=r.AssetScaleType=r.AssetScale=r.AssetFormat=r.Alignment=r.ALL_TOKEN_TYPES=r.ALL_BORDER_STYLES=r.ALL_BORDER_POSITIONS=r.OPTION_TOKEN_TYPES=r.STRING_TOKEN_TYPES=r.DIMENSION_TOKEN_TYPES=void 0,r.PulsarExecutor=r.OutputFileType=r.CustomDomainState=r.CustomDomainErrorCode=r.ImportWarningType=r.WorkspaceNPMRegistryType=r.WorkspaceNPMRegistryAuthType=r.WorkspaceSubscriptionStatus=r.WorkspaceSubscriptionProductCode=r.WorkspaceSubscriptionPlanInterval=r.VisibilityType=void 0;var t=n(3788);Object.defineProperty(r,"DIMENSION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.DIMENSION_TOKEN_TYPES}}),Object.defineProperty(r,"STRING_TOKEN_TYPES",{enumerable:!0,get:function(){return t.STRING_TOKEN_TYPES}}),Object.defineProperty(r,"OPTION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.OPTION_TOKEN_TYPES}});var o=n(1160);Object.defineProperty(r,"ALL_BORDER_POSITIONS",{enumerable:!0,get:function(){return o.ALL_BORDER_POSITIONS}});var e=n(4546);Object.defineProperty(r,"ALL_BORDER_STYLES",{enumerable:!0,get:function(){return e.ALL_BORDER_STYLES}});var a=n(3788);Object.defineProperty(r,"ALL_TOKEN_TYPES",{enumerable:!0,get:function(){return a.ALL_TOKEN_TYPES}});var y=n(7476);Object.defineProperty(r,"Alignment",{enumerable:!0,get:function(){return y.Alignment}});var c=n(8738);Object.defineProperty(r,"AssetFormat",{enumerable:!0,get:function(){return c.AssetFormat}});var u=n(915);Object.defineProperty(r,"AssetScale",{enumerable:!0,get:function(){return u.AssetScale}});var l=n(899);Object.defineProperty(r,"AssetScaleType",{enumerable:!0,get:function(){return l.AssetScaleType}});var p=n(6192);Object.defineProperty(r,"BlurType",{enumerable:!0,get:function(){return p.BlurType}});var m=n(1160);Object.defineProperty(r,"BorderPosition",{enumerable:!0,get:function(){return m.BorderPosition}});var S=n(4546);Object.defineProperty(r,"BorderStyle",{enumerable:!0,get:function(){return S.BorderStyle}});var b=n(5102);Object.defineProperty(r,"DocumentationLegacyCalloutType",{enumerable:!0,get:function(){return b.DocumentationLegacyCalloutType}});var v=n(2123);Object.defineProperty(r,"DocumentationLegacyGroupBehavior",{enumerable:!0,get:function(){return v.DocumentationLegacyGroupBehavior}});var P=n(9896);Object.defineProperty(r,"DocumentationLegacyHeadingType",{enumerable:!0,get:function(){return P.DocumentationLegacyHeadingType}});var h=n(7379);Object.defineProperty(r,"DocumentationLegacyItemType",{enumerable:!0,get:function(){return h.DocumentationLegacyItemType}});var C=n(1423);Object.defineProperty(r,"DocumentationLegacyPageAssetType",{enumerable:!0,get:function(){return C.DocumentationLegacyPageAssetType}});var O=n(1846);Object.defineProperty(r,"DocumentationLegacyPageBlockType",{enumerable:!0,get:function(){return O.DocumentationLegacyPageBlockType}});var B=n(1601);Object.defineProperty(r,"DocumentationLegacyPageBlockThemeType",{enumerable:!0,get:function(){return B.DocumentationLegacyPageBlockThemeType}});var L=n(2657);Object.defineProperty(r,"DocumentationLegacyPageBlockShortcutType",{enumerable:!0,get:function(){return L.DocumentationLegacyPageBlockShortcutType}});var j=n(5651);Object.defineProperty(r,"DocsBlockBehaviorDataType",{enumerable:!0,get:function(){return j.DocsBlockBehaviorDataType}});var x=n(3733);Object.defineProperty(r,"DocsBlockBehaviorSelectionType",{enumerable:!0,get:function(){return x.DocsBlockBehaviorSelectionType}});var M=n(8890);Object.defineProperty(r,"DocsBlockImagePropertyAspectRatio",{enumerable:!0,get:function(){return M.DocsBlockImagePropertyAspectRatio}});var A=n(9377);Object.defineProperty(r,"DocsBlockItemEntityType",{enumerable:!0,get:function(){return A.DocsBlockItemEntityType}});var F=n(5883);Object.defineProperty(r,"DocsBlockItemPropertyOptionRenderingStyle",{enumerable:!0,get:function(){return F.DocsBlockItemPropertyOptionRenderingStyle}});var w=n(8061);Object.defineProperty(r,"DocsBlockItemPropertyRichTextStyle",{enumerable:!0,get:function(){return w.DocsBlockItemPropertyRichTextStyle}});var H=n(7479);Object.defineProperty(r,"DocsBlockItemPropertyTextStyle",{enumerable:!0,get:function(){return H.DocsBlockItemPropertyTextStyle}});var U=n(6839);Object.defineProperty(r,"DocsBlockItemPropertyType",{enumerable:!0,get:function(){return U.DocsBlockItemPropertyType}});var W=n(8095);Object.defineProperty(r,"DocsBlockItemVariantLayoutType",{enumerable:!0,get:function(){return W.DocsBlockItemVariantLayoutType}});var G=n(7291);Object.defineProperty(r,"DocsBlockItemVariantLayoutWidth",{enumerable:!0,get:function(){return G.DocsBlockItemVariantLayoutWidth}});var V=n(5963);Object.defineProperty(r,"DocsBlockOptionRenderingStyle",{enumerable:!0,get:function(){return V.DocsBlockOptionRenderingStyle}});var Y=n(6644);Object.defineProperty(r,"DocsBlockRichTextPropertyStyle",{enumerable:!0,get:function(){return Y.DocsBlockRichTextPropertyStyle}});var $=n(306);Object.defineProperty(r,"DocsBlockTextPropertyStyle",{enumerable:!0,get:function(){return $.DocsBlockTextPropertyStyle}});var K=n(4068);Object.defineProperty(r,"DocsEntityGroupBehavior",{enumerable:!0,get:function(){return K.DocsEntityGroupBehavior}});var z=n(1233);Object.defineProperty(r,"DocsEntityType",{enumerable:!0,get:function(){return z.DocsEntityType}});var q=n(7971);Object.defineProperty(r,"DocsSectionType",{enumerable:!0,get:function(){return q.DocsSectionType}});var Z=n(5673);Object.defineProperty(r,"DocsLinkRefType",{enumerable:!0,get:function(){return Z.DocsLinkRefType}});var X=n(9932);Object.defineProperty(r,"DocsImageRefType",{enumerable:!0,get:function(){return X.DocsImageRefType}});var J=n(4652);Object.defineProperty(r,"SourceType",{enumerable:!0,get:function(){return J.SourceType}});var Q=n(1255);Object.defineProperty(r,"FrameAlignment",{enumerable:!0,get:function(){return Q.FrameAlignment}});var ee=n(3718);Object.defineProperty(r,"FrameLayout",{enumerable:!0,get:function(){return ee.FrameLayout}});var te=n(1);Object.defineProperty(r,"GradientType",{enumerable:!0,get:function(){return te.GradientType}});var oe=n(2674);Object.defineProperty(r,"RichTextSpanAttributeType",{enumerable:!0,get:function(){return oe.RichTextSpanAttributeType}});var re=n(9125);Object.defineProperty(r,"ShadowType",{enumerable:!0,get:function(){return re.ShadowType}});var ne=n(922);Object.defineProperty(r,"TextCase",{enumerable:!0,get:function(){return ne.TextCase}});var ae=n(7040);Object.defineProperty(r,"TextDecoration",{enumerable:!0,get:function(){return ae.TextDecoration}});var ie=n(3788);Object.defineProperty(r,"TokenType",{enumerable:!0,get:function(){return ie.TokenType}});var ce=n(8607);Object.defineProperty(r,"Unit",{enumerable:!0,get:function(){return ce.Unit}});var le=n(9478);Object.defineProperty(r,"UserRole",{enumerable:!0,get:function(){return le.UserRole}});var se=n(6141);Object.defineProperty(r,"VisibilityType",{enumerable:!0,get:function(){return se.VisibilityType}});var ue=n(5503);Object.defineProperty(r,"WorkspaceSubscriptionPlanInterval",{enumerable:!0,get:function(){return ue.WorkspaceSubscriptionPlanInterval}});var pe=n(4290);Object.defineProperty(r,"WorkspaceSubscriptionProductCode",{enumerable:!0,get:function(){return pe.WorkspaceSubscriptionProductCode}});var de=n(3607);Object.defineProperty(r,"WorkspaceSubscriptionStatus",{enumerable:!0,get:function(){return de.WorkspaceSubscriptionStatus}});var ye=n(6298);Object.defineProperty(r,"WorkspaceNPMRegistryAuthType",{enumerable:!0,get:function(){return ye.WorkspaceNPMRegistryAuthType}});var Te=n(7968);Object.defineProperty(r,"WorkspaceNPMRegistryType",{enumerable:!0,get:function(){return Te.WorkspaceNPMRegistryType}});var me=n(8042);Object.defineProperty(r,"ImportWarningType",{enumerable:!0,get:function(){return me.ImportWarningType}});var fe=n(5695);Object.defineProperty(r,"CustomDomainErrorCode",{enumerable:!0,get:function(){return fe.CustomDomainErrorCode}});var ge=n(7737);Object.defineProperty(r,"CustomDomainState",{enumerable:!0,get:function(){return ge.CustomDomainState}});var N=n(2802);Object.defineProperty(r,"OutputFileType",{enumerable:!0,get:function(){return N.OutputFileType}}),Object.defineProperty(r,"PulsarExecutor",{enumerable:!0,get:function(){return N.PulsarExecutor}})})();var f=i;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()}(Se)),Se}var _=function(){return _=Object.assign||function(s){for(var d,n=1,T=arguments.length;n0&&d>="0"&&d<="9"?"_"+d+n:""+d.toUpperCase()+n}function Ee(i){return i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()}function Ne(i,s){return s===void 0&&(s={}),E(i,_({delimiter:"",transform:he},s))}function Re(i,s){return s===0?i.toLowerCase():he(i,s)}function Ye(i,s){return s===0?i.toLowerCase():Ee(i)}function $e(i,s){return s===void 0&&(s={}),Ne(i,_({transform:Re},s))}function Be(i){return i.charAt(0).toUpperCase()+i.substr(1)}function Le(i){return Be(i.toLowerCase())}function je(i,s){return s===void 0&&(s={}),E(i,_({delimiter:" ",transform:Le},s))}function Ke(i){return i.toUpperCase()}function ze(i,s){return s===void 0&&(s={}),E(i,_({delimiter:"_",transform:Ke},s))}function R(i,s){return s===void 0&&(s={}),E(i,_({delimiter:"."},s))}function qe(i,s){return s===void 0&&(s={}),je(i,_({delimiter:"-"},s))}function Ze(i,s){return s===void 0&&(s={}),R(i,_({delimiter:"-"},s))}function Xe(i,s){return s===void 0&&(s={}),R(i,_({delimiter:"/"},s))}function xe(i,s){var d=i.toLowerCase();return s===0?Be(d):d}function Je(i,s){return s===void 0&&(s={}),E(i,_({delimiter:" ",transform:xe},s))}function Qe(i,s){return s===void 0&&(s={}),R(i,_({delimiter:"_"},s))}const et=Object.freeze(Object.defineProperty({__proto__:null,camelCase:$e,camelCaseTransform:Re,camelCaseTransformMerge:Ye,capitalCase:je,capitalCaseTransform:Le,constantCase:ze,dotCase:R,headerCase:qe,noCase:E,paramCase:Ze,pascalCase:Ne,pascalCaseTransform:he,pascalCaseTransformMerge:Ee,pathCase:Xe,sentenceCase:Je,sentenceCaseTransform:xe,snakeCase:Qe},Symbol.toStringTag,{value:"Module"})),tt=He(et);(function(i){(()=>{var s={639:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.Iterators=void 0;const e=o(58);t.Iterators=class{static allTokenTypes(){return[e.TokenType.color,e.TokenType.typography,e.TokenType.dimension,e.TokenType.size,e.TokenType.space,e.TokenType.opacity,e.TokenType.fontSize,e.TokenType.lineHeight,e.TokenType.letterSpacing,e.TokenType.paragraphSpacing,e.TokenType.borderWidth,e.TokenType.radius,e.TokenType.duration,e.TokenType.zIndex,e.TokenType.shadow,e.TokenType.border,e.TokenType.gradient,e.TokenType.string,e.TokenType.productCopy,e.TokenType.fontFamily,e.TokenType.fontWeight,e.TokenType.textCase,e.TokenType.textDecoration,e.TokenType.visibility,e.TokenType.blur]}static allDimensionTokenTypes(){return[e.TokenType.dimension,e.TokenType.size,e.TokenType.space,e.TokenType.opacity,e.TokenType.fontSize,e.TokenType.lineHeight,e.TokenType.letterSpacing,e.TokenType.paragraphSpacing,e.TokenType.borderWidth,e.TokenType.radius,e.TokenType.duration,e.TokenType.zIndex]}static allStringTokenTypes(){return[e.TokenType.string,e.TokenType.productCopy,e.TokenType.fontFamily,e.TokenType.fontWeight]}static allOptionTokenTypes(){return[e.TokenType.textCase,e.TokenType.textDecoration,e.TokenType.visibility]}}},989:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ColorFormat=void 0,(o=t.ColorFormat||(t.ColorFormat={})).rgb="rgb",o.rgba="rgba",o.smartRgba="smartRgba",o.hex6="hex6",o.hex8="hex8",o.hashHex6="hashHex6",o.hashHex8="hashHex8",o.smartHashHex="smartHashHex",o.smartHex="smartHex",o.hsl="hsl",o.hsla="hsla",o.smartHsla="smartHsla",o.smartUIColor="smartUIColor"},545:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.StringCase=void 0,(o=t.StringCase||(t.StringCase={})).camelCase="camelCase",o.capitalCase="capitalCase",o.constantCase="constantCase",o.dotCase="dotCase",o.headerCase="headerCase",o.noCase="noCase",o.paramCase="paramCase",o.pascalCase="pascalCase",o.pathCase="pathCase",o.sentenceCase="sentenceCase",o.snakeCase="snakeCase"},617:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.FileHelper=void 0;const e=o(58);t.FileHelper=class{static createCopyRemoteFile({relativePath:a,fileName:y,url:c}){return{path:a,name:y,type:e.OutputFileType.copyRemoteUrl,url:c}}static createTextFile({relativePath:a,fileName:y,content:c}){return{path:a,name:y,type:e.OutputFileType.text,content:c}}static createBinaryFile({relativePath:a,fileName:y,data:c}){return{path:a,name:y,type:e.OutputFileType.binary,data:c}}}},761:(r,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.sureOptionalReference=void 0,t.sureOptionalReference=function(o,e,a=!0){if(!o||!a)return null;const y=e.get(o);if(!y)throw new Error(`Trying to retrieve unknown referenced token ${o}`);return y}},118:(r,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.NetworkHelper=void 0,t.NetworkHelper=class{static async fetchAsText(o,e,a){return(await this.performFetch(o,e,a)).text()}static async fetchAsJSON(o,e,a){return(await this.performFetch(o,e,a)).json()}static async fetchAsData(o,e,a){return(await this.performFetch(o,e,a)).arrayBuffer()}static async performFetch(o,e,a){try{const y=await o.network.fetch(e,a);if(!y.ok)throw new Error(`Request failed with status ${y.status}, error: ${await y.text()}`);return y}catch(y){throw y}}}},771:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.CSSHelper=void 0;const e=o(58),a=o(761),y=o(952);t.CSSHelper=class{static tokenToCSS(c,u,l){switch(c.tokenType){case e.TokenType.color:return this.colorTokenValueToCSS(c.value,u,l);case e.TokenType.border:return this.borderTokenValueToCSS(c.value,u,l);case e.TokenType.gradient:return this.gradientTokenValueToCSS(c.value,u,l);case e.TokenType.dimension:case e.TokenType.size:case e.TokenType.space:case e.TokenType.opacity:case e.TokenType.fontSize:case e.TokenType.lineHeight:case e.TokenType.letterSpacing:case e.TokenType.paragraphSpacing:case e.TokenType.borderWidth:case e.TokenType.radius:case e.TokenType.duration:case e.TokenType.zIndex:return this.dimensionTokenValueToCSS(c.value,u,l);case e.TokenType.shadow:return this.shadowTokenValueToCSS(c.value,u,l);case e.TokenType.fontWeight:return this.fontWeightTokenValueToCSS(c.value,u,l);case e.TokenType.fontFamily:case e.TokenType.productCopy:case e.TokenType.string:return this.stringTokenValueToCSS(c.value,u,l);case e.TokenType.textCase:case e.TokenType.textDecoration:case e.TokenType.visibility:return this.optionTokenValueToCSS(c.value,u,l,c.tokenType);case e.TokenType.blur:return this.blurTokenValueToCSS(c.value,u,l);case e.TokenType.typography:return this.typographyTokenValueToCSS(c.value,u,l);default:throw new e.UnreachableCaseError(c.tokenType,"Unsupported token type for transformation to CSS:")}}static colorTokenValueToCSS(c,u,l){return y.ColorHelper.formattedColorOrVariableName(c,u,l)}static borderTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);if(p)return l.tokenToVariableRef(p);const m=this.dimensionTokenValueToCSS(c.width,u,l),S=this.borderStyleToCSS(c.style),b=this.colorTokenValueToCSS(c.color,u,l);return this.borderPositionToCSS(c.position),`${m} ${S} ${b}`}static gradientTokenValueToCSS(c,u,l){return c.map(p=>this.gradientLayerToCSS(p,u,l)).join(", ")}static gradientLayerToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);if(p)return l.tokenToVariableRef(p);let m="";switch(c.type){case e.GradientType.linear:m="linear-gradient(0deg, ";break;case e.GradientType.radial:m="radial-gradient(circle, ";break;case e.GradientType.angular:m="conic-gradient(";break;default:m="linear-gradient(0deg, "}return`${m}${c.stops.map(S=>`${this.colorTokenValueToCSS(S.color,u,l)} ${y.ColorHelper.roundToDecimals(100*S.position,l.decimals)}%`).join(", ")})`}static dimensionTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return p?l.tokenToVariableRef(p):`${y.ColorHelper.roundToDecimals(c.measure,l.decimals)}${this.unitToCSS(c.unit)}`}static shadowTokenValueToCSS(c,u,l){return c.map(p=>this.shadowLayerToCSS(p,u,l)).join(", ")}static shadowLayerToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return p?l.tokenToVariableRef(p):`${c.type===e.ShadowType.inner?"inset ":""}${c.x}px ${c.y}px ${c.radius}px ${c.spread}px ${this.colorTokenValueToCSS({...c.color,...c.opacity&&{opacity:c.opacity}},u,l)}`}static fontWeightTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return p?l.tokenToVariableRef(p):`${c.text}`}static stringTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return p?l.tokenToVariableRef(p):`"${c.text}"`}static optionTokenValueToCSS(c,u,l,p){const m=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return m?l.tokenToVariableRef(m):p===e.TokenType.textCase?this.textCaseToCSS(c.value):p===e.TokenType.textDecoration?this.textDecorationToCSS(c.value):c.value}static blurTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);return p?l.tokenToVariableRef(p):`blur(${this.dimensionTokenValueToCSS(c.radius,u,l)})`}static typographyTokenValueToCSS(c,u,l){const p=(0,a.sureOptionalReference)(c.referencedTokenId,u,l.allowReferences);if(p)return l.tokenToVariableRef(p);const m=(0,a.sureOptionalReference)(c.fontFamily.referencedTokenId,u,l.allowReferences),S=(0,a.sureOptionalReference)(c.fontWeight.referencedTokenId,u,l.allowReferences),b=(0,a.sureOptionalReference)(c.textDecoration.referencedTokenId,u,l.allowReferences),v=(0,a.sureOptionalReference)(c.textCase.referencedTokenId,u,l.allowReferences),P={fontFamily:m?l.tokenToVariableRef(m):c.fontFamily.text,fontWeight:S?l.tokenToVariableRef(S):c.fontWeight.text,textDecoration:b?l.tokenToVariableRef(b):c.textDecoration.value===e.TextDecoration.original?this.textDecorationToCSS(c.textDecoration.value):void 0,textCase:v?l.tokenToVariableRef(v):c.textCase.value===e.TextCase.original?this.textCaseToCSS(c.textCase.value):void 0,caps:c.textCase.value===e.TextCase.smallCaps,fontSize:this.dimensionTokenValueToCSS(c.fontSize,u,l),lineHeight:c.lineHeight?this.dimensionTokenValueToCSS(c.lineHeight,u,l):void 0},h=P.fontSize;return`${P.caps?"small-caps ":""}${P.fontWeight} ${P.lineHeight?`${h}/${P.lineHeight}`:h} ${m?P.fontFamily:`"${P.fontFamily}"`}`}static borderStyleToCSS(c){switch(c){case e.BorderStyle.dashed:return"dashed";case e.BorderStyle.dotted:return"dotted";case e.BorderStyle.solid:return"solid";case e.BorderStyle.groove:return"groove";default:return"solid"}}static borderPositionToCSS(c){switch(c){case e.BorderPosition.center:return"center";case e.BorderPosition.inside:return"inside";case e.BorderPosition.outside:default:return"outside"}}static unitToCSS(c){switch(c){case e.Unit.percent:return"%";case e.Unit.pixels:return"px";case e.Unit.rem:return"rem";case e.Unit.raw:return"";case e.Unit.ms:return"ms";default:return"px"}}static textCaseToCSS(c){switch(c){case e.TextCase.original:return"none";case e.TextCase.upper:return"uppercase";case e.TextCase.lower:return"lowercase";case e.TextCase.camel:case e.TextCase.smallCaps:return"capitalize"}}static textDecorationToCSS(c){switch(c){case e.TextDecoration.original:return"none";case e.TextDecoration.underline:return"underline";case e.TextDecoration.strikethrough:return"line-through"}}}},952:(r,t,o)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.ColorHelper=void 0;const e=o(989),a=o(761);class y{static formattedColorOrVariableName(u,l,p){let m,S,b;const v=(0,a.sureOptionalReference)(u.referencedTokenId,l,p.allowReferences);if(v)m=p.tokenToVariableRef(v);else{const P=(0,a.sureOptionalReference)(u.color.referencedTokenId,l,p.allowReferences);P&&(S=p.tokenToVariableRef(P));const h=(0,a.sureOptionalReference)(u.opacity.referencedTokenId,l,p.allowReferences);h&&(b=p.tokenToVariableRef(h))}if(m)return m;if(!m&&!S&&!b)return this.formattedColor(u,p.colorFormat,p.decimals);switch(p.colorFormat){case e.ColorFormat.rgb:case e.ColorFormat.rgba:case e.ColorFormat.smartRgba:return this.colorToRgb(p.colorFormat,this.normalizedIntColor(u),u.opacity.measure,p.decimals,S,b);default:return this.formattedColor(u,p.colorFormat,p.decimals)}}static formattedColor(u,l,p=3){switch(l){case e.ColorFormat.hex6:case e.ColorFormat.hex8:case e.ColorFormat.hashHex6:case e.ColorFormat.hashHex8:case e.ColorFormat.smartHex:case e.ColorFormat.smartHashHex:return this.colorToHex(l,this.normalizedIntColor(u),u.opacity.measure);case e.ColorFormat.rgb:case e.ColorFormat.rgba:case e.ColorFormat.smartRgba:return this.colorToRgb(l,this.normalizedIntColor(u),u.opacity.measure,p,null,null);case e.ColorFormat.hsl:case e.ColorFormat.hsla:case e.ColorFormat.smartHsla:return this.colorToHsl(l,this.normalizedFractionalColor(u),u.opacity.measure,p);case e.ColorFormat.smartUIColor:return this.colorToUIColor(this.normalizedIntColor(u),u.opacity.measure,p)}}static colorToRgb(u,l,p,m,S,b){let v;return v=u===e.ColorFormat.rgba||u===e.ColorFormat.smartRgba&&p<1?`rgba(${S||`${l.r}, ${l.g}, ${l.b}`}, ${b||this.roundToDecimals(p,m)})`:`rgb(${S||`${l.r}, ${l.g}, ${l.b}`})`,v}static colorToHex(u,l,p){let m=`${this.pHex(l.r)}${this.pHex(l.g)}${this.pHex(l.b)}`;return(u===e.ColorFormat.hex8||u===e.ColorFormat.hashHex8||u===e.ColorFormat.smartHex&&p<1||u===e.ColorFormat.smartHashHex&&p<1)&&(m+=`${this.pHex(Math.round(255*p))}`),u!==e.ColorFormat.hashHex6&&u!==e.ColorFormat.hashHex8&&u!==e.ColorFormat.smartHashHex||(m=`#${m}`),m}static colorToHsl(u,l,p,m){const S=Math.max(l.r,l.g,l.b),b=Math.min(l.r,l.g,l.b);let v,P,h,C=(S+b)/2;if(S===b)v=P=0;else{const O=S-b;P=C>.5?O/(2-S-b):O/(S+b),S===l.r?v=(l.g-l.b)/O+(l.g{Object.defineProperty(t,"__esModule",{value:!0}),t.NamingHelper=void 0;const e=o(110),a=o(545);class y{static codeSafeVariableNameForToken(u,l,p,m){let S=[];return p&&(S=[...p.path],p.isRoot||S.push(p.name)),S.push(u.name),m&&m.length>0&&S.unshift(m),y.codeSafeVariableName(S,l)}static codeSafeVariableName(u,l){let p=typeof u=="string"?u:u.join(" ");switch(p=p.replaceAll(/[^a-zA-Z0-9_-]/g,"_"),l){case a.StringCase.camelCase:p=(0,e.camelCase)(p);break;case a.StringCase.capitalCase:p=(0,e.capitalCase)(p);break;case a.StringCase.constantCase:p=(0,e.constantCase)(p);break;case a.StringCase.dotCase:p=(0,e.dotCase)(p);break;case a.StringCase.headerCase:p=(0,e.headerCase)(p);break;case a.StringCase.noCase:p=(0,e.noCase)(p);break;case a.StringCase.paramCase:p=(0,e.paramCase)(p);break;case a.StringCase.pascalCase:p=(0,e.pascalCase)(p);break;case a.StringCase.pathCase:p=(0,e.pathCase)(p);break;case a.StringCase.sentenceCase:p=(0,e.sentenceCase)(p);break;case a.StringCase.snakeCase:p=(0,e.snakeCase)(p)}return l!==a.StringCase.snakeCase&&l!==a.StringCase.constantCase&&(p=p.replaceAll("_","")),p.match(/^[^a-zA-Z]/)&&(p="_"+p),p}static nameAsCSSVarReference(u){return`var(--${u})`}static nameAsCSSVarDeclaration(u){return`--${u}`}}t.NamingHelper=y},58:r=>{r.exports=Ue()},110:r=>{r.exports=tt}},d={};function n(r){var t=d[r];if(t!==void 0)return t.exports;var o=d[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.ColorFormat=r.StringCase=r.Iterators=r.CSSHelper=r.FileHelper=r.ColorHelper=r.NamingHelper=r.NetworkHelper=void 0;var t=n(118);Object.defineProperty(r,"NetworkHelper",{enumerable:!0,get:function(){return t.NetworkHelper}});var o=n(453);Object.defineProperty(r,"NamingHelper",{enumerable:!0,get:function(){return o.NamingHelper}});var e=n(952);Object.defineProperty(r,"ColorHelper",{enumerable:!0,get:function(){return e.ColorHelper}});var a=n(617);Object.defineProperty(r,"FileHelper",{enumerable:!0,get:function(){return a.FileHelper}});var y=n(771);Object.defineProperty(r,"CSSHelper",{enumerable:!0,get:function(){return y.CSSHelper}});var c=n(639);Object.defineProperty(r,"Iterators",{enumerable:!0,get:function(){return c.Iterators}});var u=n(545);Object.defineProperty(r,"StringCase",{enumerable:!0,get:function(){return u.StringCase}});var l=n(989);Object.defineProperty(r,"ColorFormat",{enumerable:!0,get:function(){return l.ColorFormat}})})();var f=i;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()})(I);var k={};(function(i){(()=>{var s={9932:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.docsImageRefToUrl=t.DocsImageRefType=void 0,function(e){e.resource="Resource",e.figmaNode="FigmaNode"}(o||(t.DocsImageRefType=o={})),t.docsImageRefToUrl=function(e,a,y){var c;if(e)switch(e.type){case o.resource:return(c=e.resource)===null||c===void 0?void 0:c.url;case o.figmaNode:return!e.figmaNode||!e.figmaNode.sourceId||!e.figmaNode.frameReferenceId?void 0:a.resources.getFigmaFrameHostedUrl({designSystemId:y.dsId,versionId:y.versionId},e.figmaNode.frameReferenceId);default:return}}},5673:(r,t)=>{var o;function e(a){switch(a.type){case o.documentationItem:return`@page:${a.documentationItemId}`;case o.pageHeading:return`@page:${a.documentationItemId}#${a.pageHeadingId}`;case o.url:return a.url;default:return}}Object.defineProperty(t,"__esModule",{value:!0}),t.linkAttributeToDocsLink=t.docsLinkToLinkAttributes=t.docsLinkToUrl=t.DocsLinkRefType=void 0,function(a){a.documentationItem="DocumentationItem",a.pageHeading="PageHeading",a.url="Url"}(o||(t.DocsLinkRefType=o={})),t.docsLinkToUrl=e,t.docsLinkToLinkAttributes=function(a){const y=e(a);if(y)return{href:y,target:a.openInNewTab?"_blank":"_self"}},t.linkAttributeToDocsLink=function(a,y){if(!a)return;const c=y==="_blank";if(a.startsWith("@page:")){if(a.includes("#")){const[u,l]=a.replace("@page:","").split("#");return{type:o.pageHeading,documentationItemId:u,pageHeadingId:l,openInNewTab:c}}return{type:o.documentationItem,documentationItemId:a.replace("@page:",""),openInNewTab:c}}return{type:o.url,url:a,openInNewTab:c}}},2657:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockShortcut=t.DocumentationLegacyPageBlockShortcutType=void 0,function(e){e.external="External",e.internal="Internal"}(o||(t.DocumentationLegacyPageBlockShortcutType=o={})),t.DocumentationLegacyPageBlockShortcut=class{constructor(e){var a;e.url?this.type=o.external:this.type=o.internal,this.title=this.shortcutTitleFromModel(e,this.type),this.description=this.shortcutDescriptionFromModel(e,this.type),this.previewUrl=this.shortcutPreviewUrlFromModel(e),this.type===o.internal&&(!((a=e.documentationItemPreview)===null||a===void 0)&&a.valid)&&e.documentationItemId?this.internalId=e.documentationItemId:(this.internalId=null,this.type===o.external&&e.url?this.externalUrl=e.url:this.externalUrl=null)}shortcutTitleFromModel(e,a){var y,c,u,l,p;let m=null;return e.title&&e.title.trim().length>0?m=e.title:a===o.internal?m=(c=(y=e.documentationItemPreview)===null||y===void 0?void 0:y.title)!==null&&c!==void 0?c:null:a===o.external&&(m=(p=(l=(u=e.urlPreview)===null||u===void 0?void 0:u.title)!==null&&l!==void 0?l:e.url)!==null&&p!==void 0?p:null),m&&m.trim().length!==0?m:null}shortcutDescriptionFromModel(e,a){var y;let c=null;return e.description&&e.description.trim().length>0?c=e.description:a===o.external&&(c=(y=e.urlPreview)===null||y===void 0?void 0:y.description),c&&c.trim().length!==0?c:null}shortcutPreviewUrlFromModel(e){var a,y,c,u,l;return(l=(c=(a=e.assetUrl)!==null&&a!==void 0?a:(y=e.asset)===null||y===void 0?void 0:y.url)!==null&&c!==void 0?c:(u=e.urlPreview)===null||u===void 0?void 0:u.thumbnailUrl)!==null&&l!==void 0?l:null}}},7476:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.TextAlignment=t.Alignment=void 0,function(a){a.left="Left",a.center="Center",a.stretch="Stretch"}(o||(t.Alignment=o={})),function(a){a.left="Left",a.center="Center",a.right="Right"}(e||(t.TextAlignment=e={}))},8738:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetFormat=void 0,function(e){e.png="png",e.pdf="pdf",e.svg="svg"}(o||(t.AssetFormat=o={}))},915:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScale=void 0,function(e){e.x1="x1",e.x2="x2",e.x3="x3",e.x4="x4"}(o||(t.AssetScale=o={}))},899:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.AssetScaleType=void 0,function(e){e.aspectFill="AspectFill",e.aspectFit="AspectFit"}(o||(t.AssetScaleType=o={}))},6192:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.BlurType=void 0,function(e){e.layer="Layer",e.background="Background"}(o||(t.BlurType=o={}))},1160:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_POSITIONS=t.BorderPosition=void 0,function(e){e.inside="Inside",e.center="Center",e.outside="Outside"}(o||(t.BorderPosition=o={})),t.ALL_BORDER_POSITIONS=[o.inside,o.center,o.outside]},4546:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ALL_BORDER_STYLES=t.BorderStyle=void 0,function(e){e.dashed="Dashed",e.dotted="Dotted",e.solid="Solid",e.groove="Groove"}(o||(t.BorderStyle=o={})),t.ALL_BORDER_STYLES=[o.dashed,o.dotted,o.solid,o.groove]},8042:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ImportWarningType=void 0,function(e){e.UnsupportedFill="UnsupportedFill",e.UnsupportedStroke="UnsupportedStroke",e.UnsupportedEffect="UnsupportedEffect",e.StyleNotApplied="StyleNotApplied",e.NoPublishedStyles="NoPublishedStyles",e.NoPublishedComponents="NoPublishedComponents",e.NoPublishedAssets="NoPublishedAssets",e.NoVersionFound="NoVersionFound",e.ComponentHasNoThumbnail="ComponentHasNoThumbnail",e.DuplicateImportedStyleId="DuplicateImportedStyleId",e.DuplicateImportedStylePath="DuplicateImportedStylePath",e.NoPublishedElements="NoPublishedElements",e.NoUnpublishedStyles="NoUnpublishedStyles"}(o||(t.ImportWarningType=o={}))},5695:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainErrorCode=void 0,function(e){e.generalError="GeneralError",e.dnsNotConfigured="DNSNotConfigured",e.maintenance="Maintenance"}(o||(t.CustomDomainErrorCode=o={}))},7737:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.CustomDomainState=void 0,function(e){e.initial="Initial",e.domainSetupInProgress="DomainSetupInProgress",e.domainSetupFailed="DomainSetupFailed",e.domainSetupsSucces="DomainSetupSuccess",e.sslSetupInProgress="SSLSetupInProgress",e.sslSetupFailed="SSLSetupFailed",e.sslSetupSuccess="SSLSetupSuccess"}(o||(t.CustomDomainState=o={}))},5651:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorDataType=void 0,function(e){e.item="Item",e.token="Token",e.asset="Asset",e.component="Component",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockBehaviorDataType=o={}))},3733:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockBehaviorSelectionType=void 0,function(e){e.entity="Entity",e.group="Group",e.entityAndGroup="EntityAndGroup"}(o||(t.DocsBlockBehaviorSelectionType=o={}))},8890:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockImagePropertyAspectRatio=void 0,function(e){e.auto="Auto",e.square="Square",e.landscape="Landscape",e.portrait="Portrait",e.wide="Wide"}(o||(t.DocsBlockImagePropertyAspectRatio=o={}))},9377:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemEntityType=void 0,function(e){e.token="Token",e.tokenGroup="TokenGroup",e.asset="Asset",e.assetGroup="AssetGroup",e.component="Component",e.componentGroup="ComponentGroup"}(o||(t.DocsBlockItemEntityType=o={}))},5883:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockItemPropertyOptionRenderingStyle=o={}))},8061:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyRichTextStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.ol="OL",e.ul="UL"}(o||(t.DocsBlockItemPropertyRichTextStyle=o={}))},7479:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyTextStyle=void 0,function(e){e.small="Small",e.regular="Regular",e.bold="Bold"}(o||(t.DocsBlockItemPropertyTextStyle=o={}))},6839:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemPropertyType=void 0,function(e){e.richText="RichText",e.multiRichText="MultiRichText",e.text="Text",e.richTextEditor="RichTextEditor",e.boolean="Boolean",e.number="Number",e.singleSelect="SingleSelect",e.multiSelect="MultiSelect",e.image="Image",e.token="Token",e.tokenType="TokenType",e.tokenProperty="TokenProperty",e.component="Component",e.componentProperty="ComponentProperty",e.asset="Asset",e.assetProperty="AssetProperty",e.embedURL="EmbedURL",e.url="URL",e.markdown="Markdown",e.code="Code",e.codeSandbox="CodeSandbox",e.table="Table",e.divider="Divider",e.storybook="Storybook",e.color="Color",e.figmaNode="FigmaNode",e.figmaComponent="FigmaComponent"}(o||(t.DocsBlockItemPropertyType=o={}))},8095:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutType=void 0,function(e){e.column="Column",e.row="Row"}(o||(t.DocsBlockItemVariantLayoutType=o={}))},7291:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockItemVariantLayoutWidth=void 0,function(e){e.c1="1",e.c2="2",e.c3="3",e.c4="4",e.c5="5",e.c6="6",e.c7="7",e.c8="8",e.c9="9",e.c10="10",e.c11="11",e.c12="12"}(o||(t.DocsBlockItemVariantLayoutWidth=o={}))},9133:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionColor=void 0,function(e){e.green="Green",e.red="Red",e.yellow="Yellow",e.blue="Blue",e.purple="Purple",e.orange="Orange",e.pink="Pink",e.teal="Teal",e.grey="Grey",e.lightGrey="LightGrey",e.cyan="Cyan",e.fuchsia="Fuchsia"}(o||(t.DocsBlockOptionColor=o={}))},5963:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockOptionRenderingStyle=void 0,function(e){e.segmentedControl="SegmentedControl",e.toggleButton="ToggleButton",e.select="Select",e.checkbox="Checkbox"}(o||(t.DocsBlockOptionRenderingStyle=o={}))},6644:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockRichTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.quote="Quote",e.callout="Callout",e.default="Default"}(o||(t.DocsBlockRichTextPropertyStyle=o={}))},306:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsBlockTextPropertyStyle=void 0,function(e){e.title1="Title1",e.title2="Title2",e.title3="Title3",e.title4="Title4",e.title5="Title5",e.default="Default",e.defaultBold="DefaultBold",e.defaultSemibold="DefaultSemibold",e.small="Small",e.smallBold="SmallBold",e.smallSemibold="SmallSemibold",e.custom="Custom"}(o||(t.DocsBlockTextPropertyStyle=o={}))},4068:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocsEntityGroupBehavior=o={}))},1233:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsEntityType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocsEntityType=o={}))},7971:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocsSectionType=void 0,function(e){e.plain="Plain",e.tabs="Tabs"}(o||(t.DocsSectionType=o={}))},5102:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyCalloutType=void 0,function(e){e.info="Info",e.success="Success",e.warning="Warning",e.error="Error"}(o||(t.DocumentationLegacyCalloutType=o={}))},2123:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyGroupBehavior=void 0,function(e){e.group="Group",e.tabs="Tabs"}(o||(t.DocumentationLegacyGroupBehavior=o={}))},9896:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyHeadingType=void 0,function(e){e[e.h1=1]="h1",e[e.h2=2]="h2",e[e.h3=3]="h3"}(o||(t.DocumentationLegacyHeadingType=o={}))},7379:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyItemType=void 0,function(e){e.group="Group",e.page="Page"}(o||(t.DocumentationLegacyItemType=o={}))},1423:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageAssetType=void 0,function(e){e.image="image",e.figmaFrame="figmaFrame"}(o||(t.DocumentationLegacyPageAssetType=o={}))},1601:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockThemeType=void 0,function(e){e.override="Override",e.comparison="Comparison"}(o||(t.DocumentationLegacyPageBlockThemeType=o={}))},1846:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DocumentationLegacyPageBlockType=void 0,function(e){e.text="Text",e.heading="Heading",e.code="Code",e.unorderedList="UnorderedList",e.orderedList="OrderedList",e.quote="Quote",e.callout="Callout",e.divider="Divider",e.image="Image",e.token="Token",e.tokenList="TokenList",e.tokenGroup="TokenGroup",e.shortcuts="Shortcuts",e.link="Link",e.figmaEmbed="FigmaEmbed",e.youtubeEmbed="YoutubeEmbed",e.storybookEmbed="StorybookEmbed",e.genericEmbed="Embed",e.figmaFrames="FigmaFrames",e.custom="Custom",e.renderCode="RenderCode",e.componentAssets="ComponentAssets",e.column="Column",e.columnItem="ColumnItem",e.tabs="Tabs",e.tabItem="TabItem",e.table="Table",e.tableCell="TableCell",e.tableRow="TableRow"}(o||(t.DocumentationLegacyPageBlockType=o={}))},1255:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameAlignment=void 0,function(e){e.frameHeight="FrameHeight",e.center="Center"}(o||(t.FrameAlignment=o={}))},3718:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.FrameLayout=void 0,function(e){e.c8="C8",e.c7="C7",e.c6="C6",e.c5="C5",e.c4="C4",e.c3="C3",e.c2="C2",e.c1="C1",e.c175="C1_75"}(o||(t.FrameLayout=o={}))},1:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.GradientType=void 0,function(e){e.linear="Linear",e.radial="Radial",e.angular="Angular"}(o||(t.GradientType=o={}))},934:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.IconSet=void 0,function(e){e.checkCircle="CheckCircle",e.crossCircle="CrossCircle",e.alert="Alert"}(o||(t.IconSet=o={}))},2674:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.RichTextSpanAttributeType=void 0,function(e){e.bold="Bold",e.italic="Italic",e.link="Link",e.strikethrough="Strikethrough",e.code="Code"}(o||(t.RichTextSpanAttributeType=o={}))},9125:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.ShadowType=void 0,function(e){e.drop="Drop",e.inner="Inner"}(o||(t.ShadowType=o={}))},4652:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.SourceType=void 0,function(e){e.figma="Figma",e.tokenStudio="TokenStudio",e.figmaVariablesPlugin="FigmaVariablesPlugin"}(o||(t.SourceType=o={}))},922:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextCase=void 0,function(e){e.original="Original",e.upper="Upper",e.lower="Lower",e.camel="Camel",e.smallCaps="SmallCaps"}(o||(t.TextCase=o={}))},7040:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.TextDecoration=void 0,function(e){e.original="None",e.underline="Underline",e.strikethrough="Strikethrough"}(o||(t.TextDecoration=o={}))},3788:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.DT_TOKEN_TYPES=t.tokenTypeIsReferencable=t.REFERENCABLE_TOKEN_TYPES=t.REPLACABLE_TOKEN_TYPES=t.tokenTypeIsNonPure=t.tokenTypeIsPure=t.PURE_TOKEN_TYPES=t.ALL_TOKEN_TYPES=t.MS_DIMENSION_TOKEN_TYPES=t.RAW_DIMENSION_TOKEN_TYPES=t.DIMENSION_TOKEN_TYPES=t.OPTION_TOKEN_TYPES=t.STRING_TOKEN_TYPES=t.TokenType=void 0,function(e){e.color="Color",e.typography="Typography",e.shadow="Shadow",e.border="Border",e.gradient="Gradient",e.blur="Blur",e.radius="BorderRadius",e.borderWidth="BorderWidth",e.duration="Duration",e.fontSize="FontSize",e.dimension="Dimension",e.letterSpacing="LetterSpacing",e.lineHeight="LineHeight",e.opacity="Opacity",e.paragraphSpacing="ParagraphSpacing",e.size="Size",e.space="Space",e.zIndex="ZIndex",e.textDecoration="TextDecoration",e.textCase="TextCase",e.visibility="Visibility",e.fontFamily="FontFamily",e.fontWeight="FontWeight",e.string="String",e.productCopy="ProductCopy"}(o||(t.TokenType=o={})),t.STRING_TOKEN_TYPES=[o.string,o.productCopy,o.fontFamily,o.fontWeight],t.OPTION_TOKEN_TYPES=[o.textCase,o.textDecoration,o.visibility],t.DIMENSION_TOKEN_TYPES=[o.dimension,o.size,o.space,o.opacity,o.fontSize,o.lineHeight,o.letterSpacing,o.paragraphSpacing,o.borderWidth,o.radius,o.duration,o.zIndex],t.RAW_DIMENSION_TOKEN_TYPES=[o.opacity,o.zIndex],t.MS_DIMENSION_TOKEN_TYPES=[o.duration],t.ALL_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES,o.color,o.gradient,o.border,o.radius,o.shadow,o.typography,o.blur],t.PURE_TOKEN_TYPES=[...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.tokenTypeIsPure=e=>t.PURE_TOKEN_TYPES.includes(e),t.tokenTypeIsNonPure=e=>!(0,t.tokenTypeIsPure)(e),t.REPLACABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,...t.STRING_TOKEN_TYPES,...t.OPTION_TOKEN_TYPES],t.REFERENCABLE_TOKEN_TYPES=[o.color,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,o.textCase,o.textDecoration],t.tokenTypeIsReferencable=e=>t.REFERENCABLE_TOKEN_TYPES.includes(e),t.DT_TOKEN_TYPES=[o.color,o.shadow,o.gradient,o.typography,o.border,...t.DIMENSION_TOKEN_TYPES,o.fontFamily,o.fontWeight,...t.OPTION_TOKEN_TYPES]},8607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.MS_UNITS=t.PX_UNITS=t.RAW_UNITS=t.LINE_HEIGHT_UNITS=t.SIZE_UNITS=t.Unit=void 0,function(e){e.pixels="Pixels",e.percent="Percent",e.rem="Rem",e.ms="Ms",e.raw="Raw"}(o||(t.Unit=o={})),t.SIZE_UNITS=[o.pixels,o.percent,o.rem],t.LINE_HEIGHT_UNITS=[o.pixels,o.percent,o.rem,o.raw],t.RAW_UNITS=[o.raw],t.PX_UNITS=[o.pixels],t.MS_UNITS=[o.ms]},9478:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.UserRole=void 0,function(e){e.owner="Owner",e.admin="Admin",e.creator="Creator",e.contributor="Contributor",e.billing="Billing",e.viewer="Viewer"}(o||(t.UserRole=o={}))},6141:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.VisibilityType=void 0,function(e){e.visible="Visible",e.hidden="Hidden"}(o||(t.VisibilityType=o={}))},6298:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryAuthType=void 0,function(e){e.basic="Basic",e.bearer="Bearer"}(o||(t.WorkspaceNPMRegistryAuthType=o={}))},7968:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceNPMRegistryType=void 0,function(e){e.npmJS="NPMJS",e.gitHub="GitHub",e.azureDevOps="AzureDevOps",e.artifactory="Artifactory",e.custom="Custom"}(o||(t.WorkspaceNPMRegistryType=o={}))},5503:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionPlanInterval=void 0,function(e){e.yearly="yearly",e.monthly="monthly"}(o||(t.WorkspaceSubscriptionPlanInterval=o={}))},4290:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionProductCode=void 0,function(e){e.free="free",e.team="team",e.teamTest="team_test",e.company="company",e.enterprise="enterprise"}(o||(t.WorkspaceSubscriptionProductCode=o={}))},3607:(r,t)=>{var o;Object.defineProperty(t,"__esModule",{value:!0}),t.WorkspaceSubscriptionStatus=void 0,function(e){e.active="active",e.gracePeriod="gracePeriod",e.cancelled="cancelled",e.suspended="suspended"}(o||(t.WorkspaceSubscriptionStatus=o={}))},2802:(r,t)=>{var o,e;Object.defineProperty(t,"__esModule",{value:!0}),t.PulsarExecutor=t.OutputFileType=void 0,function(a){a.copyRemoteUrl="copyRemoteUrl",a.text="text",a.binary="binary"}(o||(t.OutputFileType=o={})),function(a){a.supernova="supernova",a.local="local"}(e||(t.PulsarExecutor=e={}))}},d={};function n(r){var t=d[r];if(t!==void 0)return t.exports;var o=d[r]={exports:{}};return s[r](o,o.exports,n),o.exports}var T={};(()=>{var r=T;Object.defineProperty(r,"__esModule",{value:!0}),r.TokenType=r.TextDecoration=r.TextCase=r.ShadowType=r.RichTextSpanAttributeType=r.GradientType=r.FrameLayout=r.FrameAlignment=r.IconSet=r.SourceType=r.DocsImageRefType=r.DocsLinkRefType=r.DocsSectionType=r.DocsEntityType=r.DocsEntityGroupBehavior=r.DocsBlockTextPropertyStyle=r.DocsBlockRichTextPropertyStyle=r.DocsBlockOptionColor=r.DocsBlockOptionRenderingStyle=r.DocsBlockItemVariantLayoutWidth=r.DocsBlockItemVariantLayoutType=r.DocsBlockItemPropertyType=r.DocsBlockItemPropertyTextStyle=r.DocsBlockItemPropertyRichTextStyle=r.DocsBlockItemPropertyOptionRenderingStyle=r.DocsBlockItemEntityType=r.DocsBlockImagePropertyAspectRatio=r.DocsBlockBehaviorSelectionType=r.DocsBlockBehaviorDataType=r.DocumentationLegacyPageBlockShortcutType=r.DocumentationLegacyPageBlockThemeType=r.DocumentationLegacyPageBlockType=r.DocumentationLegacyPageAssetType=r.DocumentationLegacyItemType=r.DocumentationLegacyHeadingType=r.DocumentationLegacyGroupBehavior=r.DocumentationLegacyCalloutType=r.BorderStyle=r.BorderPosition=r.BlurType=r.AssetScaleType=r.AssetScale=r.AssetFormat=r.Alignment=r.ALL_TOKEN_TYPES=r.ALL_BORDER_STYLES=r.ALL_BORDER_POSITIONS=r.OPTION_TOKEN_TYPES=r.STRING_TOKEN_TYPES=r.DIMENSION_TOKEN_TYPES=void 0,r.PulsarExecutor=r.OutputFileType=r.CustomDomainState=r.CustomDomainErrorCode=r.ImportWarningType=r.WorkspaceNPMRegistryType=r.WorkspaceNPMRegistryAuthType=r.WorkspaceSubscriptionStatus=r.WorkspaceSubscriptionProductCode=r.WorkspaceSubscriptionPlanInterval=r.VisibilityType=r.UserRole=r.Unit=void 0;var t=n(3788);Object.defineProperty(r,"DIMENSION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.DIMENSION_TOKEN_TYPES}}),Object.defineProperty(r,"STRING_TOKEN_TYPES",{enumerable:!0,get:function(){return t.STRING_TOKEN_TYPES}}),Object.defineProperty(r,"OPTION_TOKEN_TYPES",{enumerable:!0,get:function(){return t.OPTION_TOKEN_TYPES}});var o=n(1160);Object.defineProperty(r,"ALL_BORDER_POSITIONS",{enumerable:!0,get:function(){return o.ALL_BORDER_POSITIONS}});var e=n(4546);Object.defineProperty(r,"ALL_BORDER_STYLES",{enumerable:!0,get:function(){return e.ALL_BORDER_STYLES}});var a=n(3788);Object.defineProperty(r,"ALL_TOKEN_TYPES",{enumerable:!0,get:function(){return a.ALL_TOKEN_TYPES}});var y=n(7476);Object.defineProperty(r,"Alignment",{enumerable:!0,get:function(){return y.Alignment}});var c=n(8738);Object.defineProperty(r,"AssetFormat",{enumerable:!0,get:function(){return c.AssetFormat}});var u=n(915);Object.defineProperty(r,"AssetScale",{enumerable:!0,get:function(){return u.AssetScale}});var l=n(899);Object.defineProperty(r,"AssetScaleType",{enumerable:!0,get:function(){return l.AssetScaleType}});var p=n(6192);Object.defineProperty(r,"BlurType",{enumerable:!0,get:function(){return p.BlurType}});var m=n(1160);Object.defineProperty(r,"BorderPosition",{enumerable:!0,get:function(){return m.BorderPosition}});var S=n(4546);Object.defineProperty(r,"BorderStyle",{enumerable:!0,get:function(){return S.BorderStyle}});var b=n(5102);Object.defineProperty(r,"DocumentationLegacyCalloutType",{enumerable:!0,get:function(){return b.DocumentationLegacyCalloutType}});var v=n(2123);Object.defineProperty(r,"DocumentationLegacyGroupBehavior",{enumerable:!0,get:function(){return v.DocumentationLegacyGroupBehavior}});var P=n(9896);Object.defineProperty(r,"DocumentationLegacyHeadingType",{enumerable:!0,get:function(){return P.DocumentationLegacyHeadingType}});var h=n(7379);Object.defineProperty(r,"DocumentationLegacyItemType",{enumerable:!0,get:function(){return h.DocumentationLegacyItemType}});var C=n(1423);Object.defineProperty(r,"DocumentationLegacyPageAssetType",{enumerable:!0,get:function(){return C.DocumentationLegacyPageAssetType}});var O=n(1846);Object.defineProperty(r,"DocumentationLegacyPageBlockType",{enumerable:!0,get:function(){return O.DocumentationLegacyPageBlockType}});var B=n(1601);Object.defineProperty(r,"DocumentationLegacyPageBlockThemeType",{enumerable:!0,get:function(){return B.DocumentationLegacyPageBlockThemeType}});var L=n(2657);Object.defineProperty(r,"DocumentationLegacyPageBlockShortcutType",{enumerable:!0,get:function(){return L.DocumentationLegacyPageBlockShortcutType}});var j=n(5651);Object.defineProperty(r,"DocsBlockBehaviorDataType",{enumerable:!0,get:function(){return j.DocsBlockBehaviorDataType}});var x=n(3733);Object.defineProperty(r,"DocsBlockBehaviorSelectionType",{enumerable:!0,get:function(){return x.DocsBlockBehaviorSelectionType}});var M=n(8890);Object.defineProperty(r,"DocsBlockImagePropertyAspectRatio",{enumerable:!0,get:function(){return M.DocsBlockImagePropertyAspectRatio}});var A=n(9377);Object.defineProperty(r,"DocsBlockItemEntityType",{enumerable:!0,get:function(){return A.DocsBlockItemEntityType}});var F=n(5883);Object.defineProperty(r,"DocsBlockItemPropertyOptionRenderingStyle",{enumerable:!0,get:function(){return F.DocsBlockItemPropertyOptionRenderingStyle}});var w=n(8061);Object.defineProperty(r,"DocsBlockItemPropertyRichTextStyle",{enumerable:!0,get:function(){return w.DocsBlockItemPropertyRichTextStyle}});var H=n(7479);Object.defineProperty(r,"DocsBlockItemPropertyTextStyle",{enumerable:!0,get:function(){return H.DocsBlockItemPropertyTextStyle}});var U=n(6839);Object.defineProperty(r,"DocsBlockItemPropertyType",{enumerable:!0,get:function(){return U.DocsBlockItemPropertyType}});var W=n(8095);Object.defineProperty(r,"DocsBlockItemVariantLayoutType",{enumerable:!0,get:function(){return W.DocsBlockItemVariantLayoutType}});var G=n(7291);Object.defineProperty(r,"DocsBlockItemVariantLayoutWidth",{enumerable:!0,get:function(){return G.DocsBlockItemVariantLayoutWidth}});var V=n(5963);Object.defineProperty(r,"DocsBlockOptionRenderingStyle",{enumerable:!0,get:function(){return V.DocsBlockOptionRenderingStyle}});var Y=n(9133);Object.defineProperty(r,"DocsBlockOptionColor",{enumerable:!0,get:function(){return Y.DocsBlockOptionColor}});var $=n(6644);Object.defineProperty(r,"DocsBlockRichTextPropertyStyle",{enumerable:!0,get:function(){return $.DocsBlockRichTextPropertyStyle}});var K=n(306);Object.defineProperty(r,"DocsBlockTextPropertyStyle",{enumerable:!0,get:function(){return K.DocsBlockTextPropertyStyle}});var z=n(4068);Object.defineProperty(r,"DocsEntityGroupBehavior",{enumerable:!0,get:function(){return z.DocsEntityGroupBehavior}});var q=n(1233);Object.defineProperty(r,"DocsEntityType",{enumerable:!0,get:function(){return q.DocsEntityType}});var Z=n(7971);Object.defineProperty(r,"DocsSectionType",{enumerable:!0,get:function(){return Z.DocsSectionType}});var X=n(5673);Object.defineProperty(r,"DocsLinkRefType",{enumerable:!0,get:function(){return X.DocsLinkRefType}});var J=n(9932);Object.defineProperty(r,"DocsImageRefType",{enumerable:!0,get:function(){return J.DocsImageRefType}});var Q=n(4652);Object.defineProperty(r,"SourceType",{enumerable:!0,get:function(){return Q.SourceType}});var ee=n(934);Object.defineProperty(r,"IconSet",{enumerable:!0,get:function(){return ee.IconSet}});var te=n(1255);Object.defineProperty(r,"FrameAlignment",{enumerable:!0,get:function(){return te.FrameAlignment}});var oe=n(3718);Object.defineProperty(r,"FrameLayout",{enumerable:!0,get:function(){return oe.FrameLayout}});var re=n(1);Object.defineProperty(r,"GradientType",{enumerable:!0,get:function(){return re.GradientType}});var ne=n(2674);Object.defineProperty(r,"RichTextSpanAttributeType",{enumerable:!0,get:function(){return ne.RichTextSpanAttributeType}});var ae=n(9125);Object.defineProperty(r,"ShadowType",{enumerable:!0,get:function(){return ae.ShadowType}});var ie=n(922);Object.defineProperty(r,"TextCase",{enumerable:!0,get:function(){return ie.TextCase}});var ce=n(7040);Object.defineProperty(r,"TextDecoration",{enumerable:!0,get:function(){return ce.TextDecoration}});var le=n(3788);Object.defineProperty(r,"TokenType",{enumerable:!0,get:function(){return le.TokenType}});var se=n(8607);Object.defineProperty(r,"Unit",{enumerable:!0,get:function(){return se.Unit}});var ue=n(9478);Object.defineProperty(r,"UserRole",{enumerable:!0,get:function(){return ue.UserRole}});var pe=n(6141);Object.defineProperty(r,"VisibilityType",{enumerable:!0,get:function(){return pe.VisibilityType}});var de=n(5503);Object.defineProperty(r,"WorkspaceSubscriptionPlanInterval",{enumerable:!0,get:function(){return de.WorkspaceSubscriptionPlanInterval}});var ye=n(4290);Object.defineProperty(r,"WorkspaceSubscriptionProductCode",{enumerable:!0,get:function(){return ye.WorkspaceSubscriptionProductCode}});var Te=n(3607);Object.defineProperty(r,"WorkspaceSubscriptionStatus",{enumerable:!0,get:function(){return Te.WorkspaceSubscriptionStatus}});var me=n(6298);Object.defineProperty(r,"WorkspaceNPMRegistryAuthType",{enumerable:!0,get:function(){return me.WorkspaceNPMRegistryAuthType}});var fe=n(7968);Object.defineProperty(r,"WorkspaceNPMRegistryType",{enumerable:!0,get:function(){return fe.WorkspaceNPMRegistryType}});var ge=n(8042);Object.defineProperty(r,"ImportWarningType",{enumerable:!0,get:function(){return ge.ImportWarningType}});var N=n(5695);Object.defineProperty(r,"CustomDomainErrorCode",{enumerable:!0,get:function(){return N.CustomDomainErrorCode}});var we=n(7737);Object.defineProperty(r,"CustomDomainState",{enumerable:!0,get:function(){return we.CustomDomainState}});var _e=n(2802);Object.defineProperty(r,"OutputFileType",{enumerable:!0,get:function(){return _e.OutputFileType}}),Object.defineProperty(r,"PulsarExecutor",{enumerable:!0,get:function(){return _e.PulsarExecutor}})})();var f=i;for(var g in T)f[g]=T[g];T.__esModule&&Object.defineProperty(f,"__esModule",{value:!0})})()})(k);const D=(i,s,d)=>{let n;return d?n=s.find(T=>T.id===i.parentGroupId):n=null,I.NamingHelper.codeSafeVariableNameForToken(i,I.StringCase.paramCase,n,"")},be=(i,s,d)=>d?`$${i}: ${s}${d} !default;`:`$${i}: ${s} !default;`,ot=(i,s,d,n,T)=>i.sort((g,r)=>{if(T){const e=g.name.match(/\d+$/),a=r.name.match(/\d+$/);if(e&&a)return parseInt(e[0],10)-parseInt(a[0],10)}const t=D(g,s,d),o=D(r,s,d);return t.localeCompare(o)}),rt=i=>{let s=null;const d=[];return i.forEach(({css:n,parentGroupId:T})=>{s&&T!==s&&n&&d.push(""),n&&d.push(n),s=T}),d.join(` +`)},nt=new Map([["breakpoint-mobile",0]]),ve=(i,s)=>{const d=nt.get(i);return typeof d==typeof s?d:s},at=3,Me=4,it=8,ct=i=>i.length%2===0&&[...Array(i.length/2)].every((s,d)=>i[2*d]===i[2*d+1]),lt=i=>i.split("").map((s,d)=>d%2===0?s:"").join(""),st=i=>i.length===it&&i.endsWith("ff")?i.slice(0,-2):i.length===Me&&i.endsWith("f")?i.slice(0,-1):i,ut=i=>{const s=[at,Me].includes(i.length);let d;return s?d=i:ct(i)?d=lt(i):d=i,d=st(d),`#${d}`},pt=(i,s,d,n)=>{var T,f;if(i.tokenType===k.TokenType.dimension){const g=i,r=D(g,d,n);let t=(T=g.value)==null?void 0:T.measure;t=ve(r,t);const o=I.CSSHelper.unitToCSS((f=g.value)==null?void 0:f.unit);return be(r,t,o)}if(i.tokenType===k.TokenType.string){const g=i,r=D(g,d,n);let t=g.value.text;return t=ve(r,t),be(r,t)}if(i.tokenType===k.TokenType.color){const g=i,r=D(g,d,n);let t=I.CSSHelper.colorTokenValueToCSS(g.value,s,{allowReferences:!0,decimals:3,colorFormat:I.ColorFormat.hex8,tokenToVariableRef:()=>""});return t=ut(t),t=ve(r,t),be(r,t)}return null},dt=(i,s,d,n,T,f)=>{const r=ot(i,d,T,n,f).map(t=>({css:pt(t,s,d,T),parentGroupId:t.parentGroupId}));return rt(r)},yt=i=>({radius:"radii",spacing:"spaces"})[i]||(i.endsWith("s")?i:`${i}s`),ke="-colors",Ie={"radius-full":"full"},Tt=(i,s)=>s===k.TokenType.color?`$${i}${ke}`:`$${yt(i.toLowerCase())}`,mt=i=>Ie[i]?Ie[i]:i,ft=i=>{var T;let s;const d=(T=i.name.match(/\d+/))==null?void 0:T[0],n=mt(i.name.toLowerCase());return i.tokenType!==k.TokenType.color&&d?s=d:s=n,s},gt=(i,s,d,n)=>{var g,r;let T=n;const f=(r=(g=i.origin)==null?void 0:g.name)==null?void 0:r.split("/");return f&&f.forEach((t,o)=>{let e=t;if(o===0&&(e=Tt(t,i.tokenType)),o===f.length-1){const a=`$${D(i,s,d)}`,y=ft(i);T[y]=a}else T[e]=T[e]||{},T=T[e]}),n},St=i=>i.replace(ke,"").replace("$",""),bt=(i,s)=>({...i,[St(s)]:s}),vt=i=>i.reduce(bt,{}),Pt=(i,s,d,n)=>{const T=i.reduce((g,r)=>{const t=gt(r,d,n,g);return{...g,...t}},{}),f=Object.keys(T).filter(g=>g.endsWith(ke));if(f.length>0){const g=vt(f);return{...T,$colors:g}}return T},Pe=" ",ht=i=>i.replace(/\n{3,}/g,` -`}).join("")},_e=" ",ot=p=>p.replace(/\n{3,}/g,` +`),kt=i=>i.replace(/\n{2,}$/,` +`),_t=i=>{let s=0,d="";const n=i.split(` +`);for(const T of n)T.includes("(")?(d+=`${Pe.repeat(s)}${T} +`,s+=1):T.includes(")")?(s-=1,d+=`${Pe.repeat(s)}${T} +`):d+=`${Pe.repeat(s)}${T} +`;return d=ht(d),d=kt(d),d},Ae=(i,s)=>Object.entries(s).reduce((d,[n,T])=>(typeof T=="object"&&T!==null&&typeof d[n]=="object"?d[n]=Ae(d[n],T):d[n]=T,d),{...i});function Fe(i){return Object.entries(i).map(([s,d])=>{if(typeof d=="object"&&d!==null){const n=Fe(d);return`${s}: ( +${n} +), +`}return`${s}: ${d}, +`}).join("").slice(0,-1)}const Ot=i=>`/* This file was generated by Supernova, don't change manually */ +${i}`,Ct=(i,s,d)=>i.filter(n=>{var T,f;return n.tokenType===s&&((f=(T=n.origin)==null?void 0:T.name)==null?void 0:f.includes(d))}),It=(i,s,d,n)=>{let T="",f={};const{groupNames:g,hasParentPrefix:r=!0,sortByNumValue:t=!1,withCssObject:o=!0,tokenTypes:e}=n;e.forEach(y=>{g.forEach(c=>{const u=Ct(i,y,c);T+=dt(u,s,d,c,r,t),T+=` -`),rt=p=>p.replace(/\n{2,}$/,` -`),nt=p=>{let s=0,y="";const n=p.split(` -`);for(const T of n)T.includes("(")?(s+=1,y+=`${T} -`):T.includes(")")?(s-=1,y+=`${_e.repeat(s)}${T} -`):y+=`${_e.repeat(s)}${T} -`;return y=ot(y),y=rt(y),y},at=p=>`/* This file was generated by Supernova, don't change manually */ -${p}`,it=(p,s,y)=>p.filter(n=>{var T,f;return n.tokenType===s&&((f=(T=n.origin)==null?void 0:T.name)==null?void 0:f.includes(y))}),ct=(p,s,y,n,T,f,g)=>{let r="",t="";n.forEach(e=>{T.forEach(a=>{const d=it(p,e,a);r+=Qe(d,s,y,g),r+=` +`;const l=Pt(u,s,d,r);f=Ae(f,l)})});let a=T;return o&&(a+=Object.entries(f).map(([y,c])=>`${y}: ( +${Fe(c)} +) !default; -`,t+=tt(d,s,y,g)})});const o=f?`${r}${t}`:r;return{content:at(nt(o))}},lt=[{fileName:"_borders.scss",tokenTypes:[_.TokenType.dimension],groupNames:["Border"],withCssObject:!1,hasParentPrefix:!0},{fileName:"_other.scss",tokenTypes:[_.TokenType.dimension,_.TokenType.string],groupNames:["Grid","Container","Breakpoint"],withCssObject:!0,hasParentPrefix:!0},{fileName:"_radii.scss",tokenTypes:[_.TokenType.dimension],groupNames:["Radius"],withCssObject:!0,hasParentPrefix:!1},{fileName:"_spacing.scss",tokenTypes:[_.TokenType.dimension],groupNames:["Spacing"],withCssObject:!0,hasParentPrefix:!1}],ut=(p,s,y)=>lt.map(({fileName:n,tokenTypes:T,groupNames:f,withCssObject:g,hasParentPrefix:r})=>{const t=ct(p,s,y,T,f,g,r);return{fileName:n,...t}});Pulsar.export(async(p,s)=>{const y={designSystemId:s.dsId,versionId:s.versionId};let n=await p.tokens.getTokens(y),T=await p.tokens.getTokenGroups(y);if(s.brandId&&(n=n.filter(t=>t.brandId===s.brandId),T=T.filter(t=>t.brandId===s.brandId)),s.themeId){const o=(await p.tokens.getTokenThemes(y)).find(e=>e.id===s.themeId);if(o)n=await p.tokens.computeTokensByApplyingThemes(n,[o]);else throw new Error("Unable to apply theme which does not exist in the system.")}const f=new Map(n.map(t=>[t.id,t])),g=(t,o,e)=>D.FileHelper.createTextFile({relativePath:t,fileName:o,content:e});return[...ut(n,f,T).map(t=>g("./global/",t.fileName,t.content)),g("./original-data/","_original-tokens.json",JSON.stringify(n.map(t=>({tokenType:t.tokenType,origin:t.origin.name,name:t.name,value:t.value})),null,2)),g("./original-data/","_original-groups.json",JSON.stringify(T,null,2))]});const st=Pulsar.exportConfig();exports.exportConfiguration=st; +`).join("")),{content:Ot(_t(a))}},Dt=[{fileName:"_borders.scss",tokenTypes:[k.TokenType.dimension],groupNames:["Border"],withCssObject:!1,sortByNumValue:!0},{fileName:"_other.scss",tokenTypes:[k.TokenType.dimension,k.TokenType.string],groupNames:["Grid","Container","Breakpoint"]},{fileName:"_radii.scss",tokenTypes:[k.TokenType.dimension],groupNames:["Radius"],hasParentPrefix:!1,sortByNumValue:!0},{fileName:"_spacing.scss",tokenTypes:[k.TokenType.dimension],groupNames:["Spacing"],hasParentPrefix:!1,sortByNumValue:!0}],Et=[{fileName:"_colors.scss",tokenTypes:[k.TokenType.color],groupNames:[""]}],De=(i,s,d,n)=>n.map(T=>{const f=It(i,s,d,T);return{fileName:T.fileName,...f}}),Nt=async(i,s,d,n,T)=>{const f=[],g=De(i,s,d,Dt);f.push(...g.map(t=>({path:"./globals/",fileName:t.fileName,content:t.content})));const r=await Promise.all(n.map(async t=>({themedTokens:await T.tokens.computeTokensByApplyingThemes(i,[t]),theme:t})));for(const{themedTokens:t,theme:o}of r){const e=De(t,s,d,Et);f.push(...e.map(a=>({path:`./themes/${o.name}/`,fileName:a.fileName,content:a.content})))}return f};Pulsar.export(async(i,s)=>{const d={designSystemId:s.dsId,versionId:s.versionId};let n=await i.tokens.getTokens(d),T=await i.tokens.getTokenGroups(d);s.brandId&&(n=n.filter(a=>a.brandId===s.brandId),T=T.filter(a=>a.brandId===s.brandId));const f=new Map(n.map(a=>[a.id,a])),g=await i.tokens.getTokenThemes(d),r=(a,y,c)=>I.FileHelper.createTextFile({relativePath:a,fileName:y,content:c});let t=[];t=(await Nt(n,f,T,g,i)).map(a=>r(a.path,a.fileName,a.content));const e=a=>{let y=[];const c=JSON.stringify(a,(u,l)=>{if(typeof l=="object"&&l!==null){if(y!=null&&y.includes(l))return"CIRCULAR_REFERENCE";y==null||y.push(l)}return l},2);return y=null,c};return t.push(r("./original-data/","_original-tokens.json",e(n)),r("./original-data/","_original-groups.json",JSON.stringify(T,null,2))),t});const Rt=Pulsar.exportConfig();exports.exportConfiguration=Rt; diff --git a/exporters/variables-scss/src/config/fileConfig.ts b/exporters/variables-scss/src/config/fileConfig.ts new file mode 100644 index 0000000000..0c0634da02 --- /dev/null +++ b/exporters/variables-scss/src/config/fileConfig.ts @@ -0,0 +1,47 @@ +import { TokenType } from '@supernovaio/sdk-exporters'; + +export type FileData = { + fileName: string; + tokenTypes: TokenType[]; + groupNames: string[]; + withCssObject?: boolean; + hasParentPrefix?: boolean; + sortByNumValue?: boolean; +}; + +export const nonThemedFilesData: FileData[] = [ + { + fileName: '_borders.scss', + tokenTypes: [TokenType.dimension], + groupNames: ['Border'], + withCssObject: false, + sortByNumValue: true, + }, + { + fileName: '_other.scss', + tokenTypes: [TokenType.dimension, TokenType.string], + groupNames: ['Grid', 'Container', 'Breakpoint'], + }, + { + fileName: '_radii.scss', + tokenTypes: [TokenType.dimension], + groupNames: ['Radius'], + hasParentPrefix: false, + sortByNumValue: true, + }, + { + fileName: '_spacing.scss', + tokenTypes: [TokenType.dimension], + groupNames: ['Spacing'], + hasParentPrefix: false, + sortByNumValue: true, + }, +]; + +export const themedFilesData: FileData[] = [ + { + fileName: '_colors.scss', + tokenTypes: [TokenType.color], + groupNames: [''], + }, +]; diff --git a/exporters/variables-scss/src/formatters/__fixtures__/unformattedExample.scss b/exporters/variables-scss/src/formatters/__fixtures__/unformattedExample.scss deleted file mode 100644 index 1fd84d1203..0000000000 --- a/exporters/variables-scss/src/formatters/__fixtures__/unformattedExample.scss +++ /dev/null @@ -1,5 +0,0 @@ -$my-var: ( -color: #000, -background: #fff, -border: 1px solid #000, -) !default; diff --git a/exporters/variables-scss/src/formatters/__tests__/cssFormatter.test.ts b/exporters/variables-scss/src/formatters/__tests__/cssFormatter.test.ts index dfa74e1014..6bdd3933af 100644 --- a/exporters/variables-scss/src/formatters/__tests__/cssFormatter.test.ts +++ b/exporters/variables-scss/src/formatters/__tests__/cssFormatter.test.ts @@ -2,9 +2,15 @@ import fs from 'fs'; import path from 'path'; import { formatCSS } from '../cssFormatter'; -const mockedUnformattedCSS = fs.readFileSync(path.join(__dirname, '../__fixtures__/unformattedExample.scss'), 'utf-8'); +const mockedUnformattedCSS = fs.readFileSync( + path.join(__dirname, '../../../tests/fixtures/unformattedExample.scss'), + 'utf-8', +); -const mockedFormattedCSS = fs.readFileSync(path.join(__dirname, '../__fixtures__/formattedExample.scss'), 'utf-8'); +const mockedFormattedCSS = fs.readFileSync( + path.join(__dirname, '../../../tests/fixtures/formattedExample.scss'), + 'utf-8', +); describe('formatCSS', () => { it('should correctly format CSS string', () => { diff --git a/exporters/variables-scss/src/formatters/cssFormatter.ts b/exporters/variables-scss/src/formatters/cssFormatter.ts index b68a5b1988..e9fcc57059 100644 --- a/exporters/variables-scss/src/formatters/cssFormatter.ts +++ b/exporters/variables-scss/src/formatters/cssFormatter.ts @@ -14,10 +14,11 @@ export const formatCSS = (css: string): string => { const lines = css.split('\n'); + // TODO: Try to replace this functionality with prettier for (const line of lines) { if (line.includes('(')) { + formattedCSS += `${IDENTATION.repeat(indentationLevel)}${line}\n`; indentationLevel += 1; - formattedCSS += `${line}\n`; } else if (line.includes(')')) { indentationLevel -= 1; formattedCSS += `${IDENTATION.repeat(indentationLevel)}${line}\n`; diff --git a/exporters/variables-scss/src/generators/__tests__/contentGenerator.test.ts b/exporters/variables-scss/src/generators/__tests__/contentGenerator.test.ts index 6eef693383..90730a2472 100644 --- a/exporters/variables-scss/src/generators/__tests__/contentGenerator.test.ts +++ b/exporters/variables-scss/src/generators/__tests__/contentGenerator.test.ts @@ -2,10 +2,11 @@ import fs from 'fs'; import path from 'path'; import { Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; import { generateFileContent, addDisclaimer, filterTokensByTypeAndGroup } from '../contentGenerator'; -import { exampleMockedGroups, exampleMockedTokens } from '../../formatters/__fixtures__/mockedExampleTokens'; +import { exampleMockedGroups, exampleMockedTokens } from '../../../tests/fixtures/mockedExampleTokens'; +import { FileData } from '../../config/fileConfig'; const mockedExpectedResult = fs.readFileSync( - path.join(__dirname, '../../formatters/__fixtures__/exampleFileContent.scss'), + path.join(__dirname, '../../../tests/fixtures/exampleFileContent.scss'), 'utf-8', ); const mappedTokens: Map = new Map([]); @@ -15,20 +16,16 @@ describe('contentGenerator', () => { describe('generateFileContent', () => { it('should generate file content', () => { const tokens = Array.from(exampleMockedTokens.values()); - const tokenTypes = [TokenType.dimension, TokenType.string]; - const groupNames = ['Grid', 'String']; - const withCssObject = true; - const hasParentPrefix = true; + const fileData: FileData = { + fileName: 'testFile', + tokenTypes: [TokenType.dimension, TokenType.string], + groupNames: ['Grid', 'String'], + withCssObject: true, + hasParentPrefix: true, + sortByNumValue: false, + }; - const fileContent = generateFileContent( - tokens, - mappedTokens, - tokenGroups, - tokenTypes, - groupNames, - withCssObject, - hasParentPrefix, - ); + const fileContent = generateFileContent(tokens, mappedTokens, tokenGroups, fileData); expect(fileContent).toStrictEqual({ content: mockedExpectedResult }); }); diff --git a/exporters/variables-scss/src/generators/__tests__/cssGenerator.test.ts b/exporters/variables-scss/src/generators/__tests__/cssGenerator.test.ts index 2be51ddc55..36a688217b 100644 --- a/exporters/variables-scss/src/generators/__tests__/cssGenerator.test.ts +++ b/exporters/variables-scss/src/generators/__tests__/cssGenerator.test.ts @@ -1,6 +1,6 @@ import { DimensionToken, StringToken, Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; import { generateCssFromTokens, tokenToCSSByType } from '../cssGenerator'; -import { exampleMockedGroups, exampleMockedTokens } from '../../formatters/__fixtures__/mockedExampleTokens'; +import { exampleMockedGroups, exampleMockedTokens } from '../../../tests/fixtures/mockedExampleTokens'; const mappedTokens: Map = new Map([]); const tokenGroups: Array = exampleMockedGroups; @@ -34,7 +34,7 @@ const dataProvider = [ token: { id: '3', name: 'unsupportedToken', - tokenType: TokenType.color, + tokenType: TokenType.duration, } as Token, expectedCss: null, hasParentPrefix: true, @@ -53,9 +53,16 @@ describe('cssGenerator', () => { describe('generateCssFromTokens', () => { it('should generate CSS from tokens', () => { - const css = generateCssFromTokens(Array.from(exampleMockedTokens.values()), mappedTokens, tokenGroups, true); + const css = generateCssFromTokens( + Array.from(exampleMockedTokens.values()), + mappedTokens, + tokenGroups, + 'Grid', + true, + false, + ); - expect(css).toBe('$grid-spacing-desktop: 32px !default;\n$grid-columns: 12 !default;'); + expect(css).toBe('$grid-columns: 12 !default;\n\n$grid-spacing-desktop: 32px !default;'); }); }); }); diff --git a/exporters/variables-scss/src/generators/__tests__/cssObjectGenerator.test.ts b/exporters/variables-scss/src/generators/__tests__/cssObjectGenerator.test.ts index 52b398f914..047f6d8026 100644 --- a/exporters/variables-scss/src/generators/__tests__/cssObjectGenerator.test.ts +++ b/exporters/variables-scss/src/generators/__tests__/cssObjectGenerator.test.ts @@ -1,6 +1,20 @@ -import { Token, TokenGroup } from '@supernovaio/sdk-exporters'; -import { generateCssObjectFromTokens, generateObjectContent } from '../cssObjectGenerator'; -import { exampleMockedGroups, exampleMockedTokens } from '../../formatters/__fixtures__/mockedExampleTokens'; +import { Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; +import { + colorGroupsReducer, + createGlobalColorsObject, + createObjectStructureFromTokenNameParts, + generateCssObjectFromTokens, + getTokenAlias, + normalizeFirstNamePart, + parseGroupName, +} from '../cssObjectGenerator'; +import { + exampleMockedColorGroups, + exampleMockedColorsTokens, + exampleMockedGroups, + exampleMockedInvariantTokens, + exampleMockedTokens, +} from '../../../tests/fixtures/mockedExampleTokens'; const mappedTokens: Map = new Map([]); const tokenGroups: Array = exampleMockedGroups; @@ -15,21 +29,104 @@ describe('cssObjectGenerator', () => { true, ); - expect(css).toBe( - '$grid-spacings: (\nspacing-desktop: $grid-spacing-desktop,\n) !default;\n\n$grids: (\ncolumns: $grid-columns,\n) !default;\n\n', + expect(css).toStrictEqual({ + $grids: { columns: '$grid-columns', spacing: { desktop: '$grid-spacing-desktop' } }, + }); + }); + + it('should generate CSS object from tokens with colors', () => { + const css = generateCssObjectFromTokens( + Array.from(exampleMockedColorsTokens.values()), + mappedTokens, + exampleMockedColorGroups, + true, ); + + expect(css).toStrictEqual({ + '$action-colors': { + button: { + primary: { + active: '$action-button-primary-active', + }, + }, + }, + '$background-colors': { + primary: '$background-primary', + }, + $colors: { + action: '$action-colors', + background: '$background-colors', + }, + }); }); }); - describe('generateObjectContent', () => { - it('should generate object content', () => { - const objectContent = generateObjectContent( - [exampleMockedTokens.get('dimensionRef') as Token], + describe('createObjectStructureFromTokenNameParts', () => { + it('should create object structure from token name parts', () => { + const cssObject = createObjectStructureFromTokenNameParts( + exampleMockedTokens.get('dimensionRef') as Token, tokenGroups, true, + { $grids: { columns: '$grid-columns' } }, ); - expect(objectContent).toBe('spacing-desktop: $grid-spacing-desktop,\n'); + expect(cssObject).toStrictEqual({ + $grids: { columns: '$grid-columns', spacing: { desktop: '$grid-spacing-desktop' } }, + }); + }); + }); + + describe('handleInvariantTokens', () => { + it('should return token alias for invariant case', () => { + const token = exampleMockedInvariantTokens.get('radiiRef') as Token; + expect(getTokenAlias(token)).toBe('full'); + }); + + it('should return token alias for non-invariant case', () => { + const token = exampleMockedTokens.get('dimensionRef') as Token; + expect(getTokenAlias(token)).toBe('desktop'); + }); + }); + + describe('getTokenAlias', () => { + it('should return token alias for non-numeric', () => { + const token = exampleMockedTokens.get('dimensionRef') as Token; + expect(getTokenAlias(token)).toBe('desktop'); + }); + }); + + describe('normalizeFirstNamePart', () => { + it('should return correct first part name for token type dimension', () => { + expect(normalizeFirstNamePart('grid', TokenType.dimension)).toBe('$grids'); + }); + + it('should return correct first part name for token type color', () => { + expect(normalizeFirstNamePart('action', TokenType.color)).toBe('$action-colors'); + }); + }); + + describe('createGlobalColorsObject', () => { + it('should create global colors object', () => { + const colorKeys = ['$action-colors', '$background-colors']; + const colorsObject = createGlobalColorsObject(colorKeys); + + expect(colorsObject).toStrictEqual({ action: '$action-colors', background: '$background-colors' }); + }); + }); + + describe('parseGroupName', () => { + it('should parse group name', () => { + expect(parseGroupName('$background-colors')).toBe('background'); + }); + }); + + describe('colorGroupsReducer', () => { + it('should reduce color groups', () => { + const accumulatedColorKeys = { action: '$action-colors' }; + const currentColorKey = '$background-colors'; + const result = colorGroupsReducer(accumulatedColorKeys, currentColorKey); + + expect(result).toStrictEqual({ action: '$action-colors', background: '$background-colors' }); }); }); }); diff --git a/exporters/variables-scss/src/generators/__tests__/fileGenerator.test.ts b/exporters/variables-scss/src/generators/__tests__/fileGenerator.test.ts index 62cb276428..77c8d476d7 100644 --- a/exporters/variables-scss/src/generators/__tests__/fileGenerator.test.ts +++ b/exporters/variables-scss/src/generators/__tests__/fileGenerator.test.ts @@ -1,11 +1,12 @@ import fs from 'fs'; import path from 'path'; -import { Token, TokenGroup } from '@supernovaio/sdk-exporters'; -import { generateFiles } from '../fileGenerator'; -import { exampleMockedGroups, exampleMockedTokens } from '../../formatters/__fixtures__/mockedExampleTokens'; +import { Supernova, Token, TokenGroup, TokenTheme } from '@supernovaio/sdk-exporters'; +import { generateFiles, generateOutputFilesByThemes } from '../fileGenerator'; +import { exampleMockedGroups, exampleMockedTokens } from '../../../tests/fixtures/mockedExampleTokens'; +import { nonThemedFilesData } from '../../config/fileConfig'; const mockedExpectedResult = fs.readFileSync( - path.join(__dirname, '../../formatters/__fixtures__/exampleFileContent.scss'), + path.join(__dirname, '../../../tests/fixtures/exampleFileContent.scss'), 'utf-8', ); const mappedTokens: Map = new Map([]); @@ -13,18 +14,52 @@ const tokenGroups: Array = exampleMockedGroups; const emptyFile = `/* This file was generated by Supernova, don't change manually */\n\n`; describe('fileGenerator', () => { - it('should generate files', () => { - const tokens = Array.from(exampleMockedTokens.values()); - const files = generateFiles(tokens, mappedTokens, tokenGroups); + describe('generateOutputFilesByThemes', () => { + it('should generate output files by themes', async () => { + const tokens = Array.from(exampleMockedTokens.values()); + const sdk = { + tokens: { + computeTokensByApplyingThemes: jest.fn().mockResolvedValue(tokens), + }, + }; + const themes = [{ name: 'theme-light' }, { name: 'theme-light-inverted' }]; + const outputFiles = await generateOutputFilesByThemes( + tokens, + mappedTokens, + tokenGroups, + themes as TokenTheme[], + sdk as unknown as Supernova, + ); - expect(files).toStrictEqual([ - { - fileName: '_borders.scss', - content: emptyFile, - }, - { fileName: '_other.scss', content: mockedExpectedResult }, - { fileName: '_radii.scss', content: emptyFile }, - { fileName: '_spacing.scss', content: emptyFile }, - ]); + expect(outputFiles).toStrictEqual([ + { + path: './globals/', + fileName: '_borders.scss', + content: emptyFile, + }, + { path: './globals/', fileName: '_other.scss', content: mockedExpectedResult }, + { path: './globals/', fileName: '_radii.scss', content: emptyFile }, + { path: './globals/', fileName: '_spacing.scss', content: emptyFile }, + { path: './themes/theme-light/', fileName: '_colors.scss', content: emptyFile }, + { path: './themes/theme-light-inverted/', fileName: '_colors.scss', content: emptyFile }, + ]); + }); + }); + + describe('generateFiles', () => { + it('should generate files', () => { + const tokens = Array.from(exampleMockedTokens.values()); + const files = generateFiles(tokens, mappedTokens, tokenGroups, nonThemedFilesData); + + expect(files).toStrictEqual([ + { + fileName: '_borders.scss', + content: emptyFile, + }, + { fileName: '_other.scss', content: mockedExpectedResult }, + { fileName: '_radii.scss', content: emptyFile }, + { fileName: '_spacing.scss', content: emptyFile }, + ]); + }); }); }); diff --git a/exporters/variables-scss/src/generators/contentGenerator.ts b/exporters/variables-scss/src/generators/contentGenerator.ts index cf97f4094b..0db1bca2e6 100644 --- a/exporters/variables-scss/src/generators/contentGenerator.ts +++ b/exporters/variables-scss/src/generators/contentGenerator.ts @@ -1,7 +1,9 @@ import { Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; import { generateCssFromTokens } from './cssGenerator'; -import { generateCssObjectFromTokens } from './cssObjectGenerator'; +import { CssObjectType, generateCssObjectFromTokens } from './cssObjectGenerator'; import { formatCSS } from '../formatters/cssFormatter'; +import { convertToScss, deepMergeObjects } from '../helpers/cssObjectHelper'; +import { FileData } from '../config/fileConfig'; // Add disclaimer to the top of the content export const addDisclaimer = (content: string): string => { @@ -16,13 +18,11 @@ export const generateFileContent = ( tokens: Token[], mappedTokens: Map, tokenGroups: Array, - tokenTypes: TokenType[], - groupNames: string[], - withCssObject: boolean, - hasParentPrefix: boolean, + fileData: FileData, ) => { let cssTokens = ''; - let cssObject = ''; + let cssObject: CssObjectType = {}; + const { groupNames, hasParentPrefix = true, sortByNumValue = false, withCssObject = true, tokenTypes } = fileData; // Iterate over token types and group names to filter tokens tokenTypes.forEach((tokenType) => { @@ -30,15 +30,30 @@ export const generateFileContent = ( const filteredTokens = filterTokensByTypeAndGroup(tokens, tokenType, group); // Generate css tokens - cssTokens += generateCssFromTokens(filteredTokens, mappedTokens, tokenGroups, hasParentPrefix); + cssTokens += generateCssFromTokens( + filteredTokens, + mappedTokens, + tokenGroups, + group, + hasParentPrefix, + sortByNumValue, + ); cssTokens += '\n\n'; - // Generate css object - cssObject += generateCssObjectFromTokens(filteredTokens, mappedTokens, tokenGroups, hasParentPrefix); + // Generate css object and merge it with the existing one + const groupCssObject = generateCssObjectFromTokens(filteredTokens, mappedTokens, tokenGroups, hasParentPrefix); + cssObject = deepMergeObjects(cssObject, groupCssObject); }); }); - const content = withCssObject ? `${cssTokens}${cssObject}` : cssTokens; + let content = cssTokens; + + // convert css object to scss structure + if (withCssObject) { + content += Object.entries(cssObject) + .map(([key, obj]) => `${key}: (\n${convertToScss(obj as CssObjectType)}\n) !default;\n\n`) + .join(''); + } return { content: addDisclaimer(formatCSS(content)), diff --git a/exporters/variables-scss/src/generators/cssGenerator.ts b/exporters/variables-scss/src/generators/cssGenerator.ts index 87ef40a599..463e824f07 100644 --- a/exporters/variables-scss/src/generators/cssGenerator.ts +++ b/exporters/variables-scss/src/generators/cssGenerator.ts @@ -1,7 +1,8 @@ -import { DimensionToken, StringToken, Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; -import { CSSHelper } from '@supernovaio/export-helpers'; -import { formatTokenName, tokenVariableName } from '../helpers/tokenHelper'; +import { ColorToken, DimensionToken, StringToken, Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; +import { ColorFormat, CSSHelper } from '@supernovaio/export-helpers'; +import { addEmptyLineBetweenTokenGroups, formatTokenName, sortTokens, tokenVariableName } from '../helpers/tokenHelper'; import { handleSpecialCase } from '../helpers/specialCaseHelper'; +import { normalizeColor } from '../helpers/colorHelper'; export const tokenToCSSByType = ( token: Token, @@ -28,6 +29,21 @@ export const tokenToCSSByType = ( return formatTokenName(name, value); } + if (token.tokenType === TokenType.color) { + const colorToken = token as ColorToken; + const name = tokenVariableName(colorToken, tokenGroups, withParent); + let value = CSSHelper.colorTokenValueToCSS(colorToken.value, mappedTokens, { + allowReferences: true, + decimals: 3, + colorFormat: ColorFormat.hex8, + tokenToVariableRef: () => '', + }); + value = normalizeColor(value); + value = handleSpecialCase(name, value); + + return formatTokenName(name, value); + } + return null; }; @@ -35,10 +51,16 @@ export const generateCssFromTokens = ( tokens: Token[], mappedTokens: Map, tokenGroups: Array, + group: string, hasParentPrefix: boolean, + sortByNumValue: boolean, ): string => { - return tokens - .map((token) => tokenToCSSByType(token, mappedTokens, tokenGroups, hasParentPrefix)) - .filter(Boolean) - .join('\n'); + const sortedTokens = sortTokens(tokens, tokenGroups, hasParentPrefix, group, sortByNumValue); + + const cssTokens = sortedTokens.map((token) => ({ + css: tokenToCSSByType(token, mappedTokens, tokenGroups, hasParentPrefix), + parentGroupId: token.parentGroupId, + })); + + return addEmptyLineBetweenTokenGroups(cssTokens); }; diff --git a/exporters/variables-scss/src/generators/cssObjectGenerator.ts b/exporters/variables-scss/src/generators/cssObjectGenerator.ts index a29dcb0a5e..7d1f0bce53 100644 --- a/exporters/variables-scss/src/generators/cssObjectGenerator.ts +++ b/exporters/variables-scss/src/generators/cssObjectGenerator.ts @@ -1,51 +1,121 @@ -import { Token, TokenGroup } from '@supernovaio/sdk-exporters'; -import { toPlural } from '../helpers/stringHelper'; +import { Token, TokenGroup, TokenType } from '@supernovaio/sdk-exporters'; import { tokenVariableName } from '../helpers/tokenHelper'; +import { toPlural } from '../helpers/stringHelper'; -export const generateObjectContent = ( - tokens: Array, +export const COLOR_SUFFIX = '-colors'; + +export type CssObjectType = { [key: string]: string | object }; + +/* This function handles cases that are outside the logic of aliases for the remaining tokens. +A common condition is that for tokens with a numeric part, the non-numeric part is dropped. +Non-numeric tokens are left in their original form. Deviations from this logic are addressed here. +e.g. radius-full -> full */ +const invariantTokenAlias: { [key: string]: string } = { + 'radius-full': 'full', +}; + +export const normalizeFirstNamePart = (part: string, tokenType: TokenType): string => { + if (tokenType === TokenType.color) { + return `$${part}${COLOR_SUFFIX}`; + } + + return `$${toPlural(part.toLowerCase())}`; +}; + +export const handleInvariantTokenAlias = (tokenName: string): string => { + if (invariantTokenAlias[tokenName]) { + return invariantTokenAlias[tokenName]; + } + + return tokenName; +}; + +export const getTokenAlias = (token: Token): string => { + let alias; + const numericPart = token.name.match(/\d+/)?.[0]; + const nonNumericPart = handleInvariantTokenAlias(token.name.toLowerCase()); + + if (token.tokenType !== TokenType.color && numericPart) { + alias = numericPart; + } else { + alias = nonNumericPart; + } + + return alias; +}; + +export const createObjectStructureFromTokenNameParts = ( + token: Token, tokenGroups: Array, - withParent: boolean, -): string => { - return tokens.reduce((result, token) => { - const name = tokenVariableName(token, tokenGroups, withParent); - const numericPart = name.match(/\d+/)?.[0]; - const prefix = `${token.origin?.name?.split('/')[0].toLowerCase()}-`; - const nonNumericPart = name.replace(prefix, ''); - - if (numericPart) { - result += `${numericPart}: $${name},\n`; - } else if (nonNumericPart) { - result += `${nonNumericPart}: $${name},\n`; - } - - return result; - }, ''); + hasParentPrefix: boolean, + cssObjectRef: CssObjectType, +): CssObjectType => { + let currentObject: CssObjectType = cssObjectRef; + + const tokenNameParts = token.origin?.name?.split('/'); + + if (tokenNameParts) { + tokenNameParts.forEach((part, index) => { + let modifiedPart = part; + + // format first part of the name part as object key + if (index === 0) { + modifiedPart = normalizeFirstNamePart(part, token.tokenType); + } + // format the last part of the name part as token alias and assign token value + if (index === tokenNameParts.length - 1) { + const tokenValue = `$${tokenVariableName(token, tokenGroups, hasParentPrefix)}`; + const tokenAlias = getTokenAlias(token); + + currentObject[tokenAlias] = tokenValue; + } else { + // format the rest of the name parts as object keys + currentObject[modifiedPart] = currentObject[modifiedPart] || {}; + currentObject = currentObject[modifiedPart] as CssObjectType; + } + }); + } + + return cssObjectRef; }; +export const parseGroupName = (colorVariable: string) => colorVariable.replace(COLOR_SUFFIX, '').replace('$', ''); + +export const colorGroupsReducer = (accumulatedColorKeys: { [key: string]: string }, currentColorKey: string) => ({ + ...accumulatedColorKeys, + [parseGroupName(currentColorKey)]: currentColorKey, +}); + +export const createGlobalColorsObject = (colorKeys: Array) => colorKeys.reduce(colorGroupsReducer, {}); + +// TODO: refactor this function to not use cssObject reference export const generateCssObjectFromTokens = ( tokens: Array, mappedTokens: Map, tokenGroups: Array, hasParentPrefix: boolean, -): string => { - const originNameMap = new Map>(); - tokens.forEach((token) => { - const originName = token.origin?.name; - - if (originName) { - const nameParts = originName.split('/'); - nameParts.pop(); - const objectName = toPlural(nameParts.join('-').toLowerCase()); - originNameMap.set(objectName, [...(originNameMap.get(objectName) || []), token]); - } - }); - - return Array.from(originNameMap.entries()) - .map(([objectName, token]) => { - const objectContent = generateObjectContent(token, tokenGroups, hasParentPrefix); - - return objectContent.trim() && `$${objectName}: (\n${objectContent}) !default;\n\n`; - }) - .join(''); +): CssObjectType => { + const cssObject = tokens.reduce((cssObjectAccumulator, token) => { + const currentObject = createObjectStructureFromTokenNameParts( + token, + tokenGroups, + hasParentPrefix, + cssObjectAccumulator, + ); + + return { ...cssObjectAccumulator, ...currentObject }; + }, {}); + + // check if there are any color keys in the object + const colorKeys = Object.keys(cssObject).filter((key) => key.endsWith(COLOR_SUFFIX)); + + /* if there are color keys, create a separate global object for + all colors keys and place it at the end of the file */ + if (colorKeys.length > 0) { + const colorsObject = createGlobalColorsObject(colorKeys); + + return { ...cssObject, $colors: colorsObject }; + } + + return cssObject; }; diff --git a/exporters/variables-scss/src/generators/fileGenerator.ts b/exporters/variables-scss/src/generators/fileGenerator.ts index 7ae08d9d25..3e1d578609 100644 --- a/exporters/variables-scss/src/generators/fileGenerator.ts +++ b/exporters/variables-scss/src/generators/fileGenerator.ts @@ -1,56 +1,58 @@ -import { TokenGroup, Token, TokenType } from '@supernovaio/sdk-exporters'; +import { TokenGroup, Token, Supernova, TokenTheme } from '@supernovaio/sdk-exporters'; import { generateFileContent } from './contentGenerator'; - -const filesData = [ - { - fileName: '_borders.scss', - tokenTypes: [TokenType.dimension], - groupNames: ['Border'], - withCssObject: false, - hasParentPrefix: true, - }, - { - fileName: '_other.scss', - tokenTypes: [TokenType.dimension, TokenType.string], - groupNames: ['Grid', 'Container', 'Breakpoint'], - withCssObject: true, - hasParentPrefix: true, - }, - { - fileName: '_radii.scss', - tokenTypes: [TokenType.dimension], - groupNames: ['Radius'], - withCssObject: true, - hasParentPrefix: false, - }, - { - fileName: '_spacing.scss', - tokenTypes: [TokenType.dimension], - groupNames: ['Spacing'], - withCssObject: true, - hasParentPrefix: false, - }, -]; +import { FileData, nonThemedFilesData, themedFilesData } from '../config/fileConfig'; export const generateFiles = ( tokens: Array, mappedTokens: Map, tokenGroups: Array, + filesData: FileData[], ) => { - return filesData.map(({ fileName, tokenTypes, groupNames, withCssObject, hasParentPrefix }) => { - const fileContent = generateFileContent( - tokens, - mappedTokens, - tokenGroups, - tokenTypes, - groupNames, - withCssObject, - hasParentPrefix, - ); + return filesData.map((fileData) => { + const fileContent = generateFileContent(tokens, mappedTokens, tokenGroups, fileData); return { - fileName, + fileName: fileData.fileName, ...fileContent, }; }); }; + +export const generateOutputFilesByThemes = async ( + tokens: Token[], + mappedTokens: Map, + tokenGroups: TokenGroup[], + themes: TokenTheme[], + sdk: Supernova, +): Promise<{ path: string; fileName: string; content: string }[]> => { + const outputFiles: { path: string; fileName: string; content: string }[] = []; + + // Generate global files for non-themed tokens + const globalFiles = generateFiles(tokens, mappedTokens, tokenGroups, nonThemedFilesData); + outputFiles.push( + ...globalFiles.map((file) => ({ path: './globals/', fileName: file.fileName, content: file.content })), + ); + + // Compute themed tokens for all themes in parallel + const allThemes = await Promise.all( + themes.map(async (theme) => { + const themedTokens = await sdk.tokens.computeTokensByApplyingThemes(tokens, [theme]); + + return { themedTokens, theme }; + }), + ); + + // Generate files for each theme + for (const { themedTokens, theme } of allThemes) { + const themeFiles = generateFiles(themedTokens, mappedTokens, tokenGroups, themedFilesData); + outputFiles.push( + ...themeFiles.map((file) => ({ + path: `./themes/${theme.name}/`, + fileName: file.fileName, + content: file.content, + })), + ); + } + + return outputFiles; +}; diff --git a/exporters/variables-scss/src/helpers/__tests__/colorHelper.test.ts b/exporters/variables-scss/src/helpers/__tests__/colorHelper.test.ts new file mode 100644 index 0000000000..83324926be --- /dev/null +++ b/exporters/variables-scss/src/helpers/__tests__/colorHelper.test.ts @@ -0,0 +1,48 @@ +import { canHexBeShortened, normalizeColor, removeAlphaChannel, shortenHex } from '../colorHelper'; + +const dataProviderItems = [ + ['ffffffff', '#fff'], + ['123456', '#123456'], + ['123', '#123'], + ['fff', '#fff'], + ['ffffff', '#fff'], + ['ffffff00', '#fff0'], + ['fffffff0', '#fffffff0'], + ['96969', '#96969'], + ['835ea1', '#835ea1'], + ['00000040', '#00000040'], +]; + +describe('colorHelper', () => { + describe.each(dataProviderItems)('normalizeColor', (originalColor, expectedColor) => { + it('should normalize color', () => { + expect(normalizeColor(originalColor)).toBe(expectedColor); + }); + }); + + describe('canHexBeShortened', () => { + it('should return true if hex can be shortened', () => { + expect(canHexBeShortened('ffffff')).toBe(true); + }); + + it('should return false if hex cannot be shortened', () => { + expect(canHexBeShortened('00000040')).toBe(false); + }); + }); + + describe('shortHex', () => { + it('should shorten hex', () => { + expect(shortenHex('ffffff')).toBe('fff'); + }); + }); + + describe('removeAlphaChannel', () => { + it('should not remove alpha channel', () => { + expect(removeAlphaChannel('ffffff40')).toBe('ffffff40'); + }); + + it('should remove alpha channel in short form', () => { + expect(removeAlphaChannel('fff')).toBe('fff'); + }); + }); +}); diff --git a/exporters/variables-scss/src/helpers/__tests__/cssObjectHelper.test.ts b/exporters/variables-scss/src/helpers/__tests__/cssObjectHelper.test.ts new file mode 100644 index 0000000000..78e8f1520b --- /dev/null +++ b/exporters/variables-scss/src/helpers/__tests__/cssObjectHelper.test.ts @@ -0,0 +1,53 @@ +import { convertToScss, deepMergeObjects } from '../cssObjectHelper'; + +const object1 = { + $grids: { + spacing: { + desktop: '$grid-spacing-desktop', + mobile: '$grid-spacing-mobile', + tablet: '$grid-spacing-tablet', + }, + }, +}; + +const object2 = { + $grids: { columns: '$grid-columns' }, +}; + +const mergedObject = { + $grids: { + spacing: { + desktop: '$grid-spacing-desktop', + mobile: '$grid-spacing-mobile', + tablet: '$grid-spacing-tablet', + }, + columns: '$grid-columns', + }, +}; + +const scssObject = `$grids: ( +spacing: ( +desktop: $grid-spacing-desktop, +mobile: $grid-spacing-mobile, +tablet: $grid-spacing-tablet, +), +columns: $grid-columns, +),`; + +describe('cssObjectHelper', () => { + describe('mergeObjects', () => { + it('should merge objects', () => { + const result = deepMergeObjects(object1, object2); + + expect(result).toStrictEqual(mergedObject); + }); + }); + + describe('convertToScss', () => { + it('should convert object to SCSS', () => { + const result = convertToScss(mergedObject); + + expect(result).toBe(scssObject); + }); + }); +}); diff --git a/exporters/variables-scss/src/helpers/__tests__/tokenHelper.test.ts b/exporters/variables-scss/src/helpers/__tests__/tokenHelper.test.ts index 9b7c0af375..783c1bfa6e 100644 --- a/exporters/variables-scss/src/helpers/__tests__/tokenHelper.test.ts +++ b/exporters/variables-scss/src/helpers/__tests__/tokenHelper.test.ts @@ -1,6 +1,6 @@ import { Token, TokenGroup } from '@supernovaio/sdk-exporters'; -import { formatTokenName, tokenVariableName } from '../tokenHelper'; -import { exampleMockedGroups, exampleMockedTokens } from '../../formatters/__fixtures__/mockedExampleTokens'; +import { addEmptyLineBetweenTokenGroups, formatTokenName, sortTokens, tokenVariableName } from '../tokenHelper'; +import { exampleMockedGroups, exampleMockedTokens } from '../../../tests/fixtures/mockedExampleTokens'; const dataProvider = [ { @@ -47,4 +47,32 @@ describe('tokenHelper', () => { expect(result).toBe('$grid-columns: 12 !default;'); }); }); + + describe('sortTokens', () => { + it('should sort tokens by variable name', () => { + const tokens = Array.from(exampleMockedTokens.values()); + const tokenGroups = exampleMockedGroups; + const hasParentPrefix = true; + const group = 'Grid'; + const sortByNumValue = false; + + const result = sortTokens(tokens, tokenGroups, hasParentPrefix, group, sortByNumValue); + + expect(result[0]?.origin?.name).toBe('Grid/Columns'); + expect(result[1]?.origin?.name).toBe('Grid/spacing/desktop'); + }); + }); + + describe('addEmptyLineBetweenTokenGroups', () => { + it('should add empty line between token groups', () => { + const cssTokens = [ + { css: '$grid-columns: 12 !default;', parentGroupId: '1' }, + { css: '$grid-spacing-desktop: 32px !default;', parentGroupId: '2' }, + ]; + + const result = addEmptyLineBetweenTokenGroups(cssTokens); + + expect(result).toBe('$grid-columns: 12 !default;\n\n$grid-spacing-desktop: 32px !default;'); + }); + }); }); diff --git a/exporters/variables-scss/src/helpers/colorHelper.ts b/exporters/variables-scss/src/helpers/colorHelper.ts new file mode 100644 index 0000000000..3e07264e2b --- /dev/null +++ b/exporters/variables-scss/src/helpers/colorHelper.ts @@ -0,0 +1,44 @@ +const SHORT_HEX_WITHOUT_ALPHA_LENGTH = 3; +const SHORT_HEX_WITH_ALPHA_LENGTH = 4; +const LONG_HEX_WITH_ALPHA_LENGTH = 8; + +export const canHexBeShortened = (hex: string) => { + return hex.length % 2 === 0 && [...Array(hex.length / 2)].every((_, index) => hex[2 * index] === hex[2 * index + 1]); +}; + +export const shortenHex = (hex: string): string => { + return hex + .split('') + .map((char, index) => (index % 2 === 0 ? char : '')) + .join(''); +}; + +export const removeAlphaChannel = (hex: string): string => { + if (hex.length === LONG_HEX_WITH_ALPHA_LENGTH && hex.endsWith('ff')) { + return hex.slice(0, -2); + } + + if (hex.length === SHORT_HEX_WITH_ALPHA_LENGTH && hex.endsWith('f')) { + return hex.slice(0, -1); + } + + return hex; +}; + +export const normalizeColor = (hexCode: string): string => { + const isShortHex = [SHORT_HEX_WITHOUT_ALPHA_LENGTH, SHORT_HEX_WITH_ALPHA_LENGTH].includes(hexCode.length); + + let processedHex; + + if (isShortHex) { + processedHex = hexCode; + } else if (canHexBeShortened(hexCode)) { + processedHex = shortenHex(hexCode); + } else { + processedHex = hexCode; + } + + processedHex = removeAlphaChannel(processedHex); + + return `#${processedHex}`; +}; diff --git a/exporters/variables-scss/src/helpers/cssObjectHelper.ts b/exporters/variables-scss/src/helpers/cssObjectHelper.ts new file mode 100644 index 0000000000..b7255dec43 --- /dev/null +++ b/exporters/variables-scss/src/helpers/cssObjectHelper.ts @@ -0,0 +1,31 @@ +import { CssObjectType } from '../generators/cssObjectGenerator'; + +export const deepMergeObjects = (obj1: CssObjectType, obj2: CssObjectType): CssObjectType => { + return Object.entries(obj2).reduce( + (result, [key, value]) => { + if (typeof value === 'object' && value !== null && typeof result[key] === 'object') { + result[key] = deepMergeObjects(result[key] as CssObjectType, value as CssObjectType); + } else { + result[key] = value; + } + + return result; + }, + { ...obj1 }, + ); +}; + +export function convertToScss(obj: CssObjectType): string { + return Object.entries(obj) + .map(([key, value]) => { + if (typeof value === 'object' && value !== null) { + const nestedScss = convertToScss(value as CssObjectType); + + return `${key}: (\n${nestedScss}\n),\n`; + } + + return `${key}: ${value},\n`; + }) + .join('') + .slice(0, -1); +} diff --git a/exporters/variables-scss/src/helpers/tokenHelper.ts b/exporters/variables-scss/src/helpers/tokenHelper.ts index 77b737aab9..9351a73b86 100644 --- a/exporters/variables-scss/src/helpers/tokenHelper.ts +++ b/exporters/variables-scss/src/helpers/tokenHelper.ts @@ -19,3 +19,48 @@ export const formatTokenName = (name: string, value: string | number, unit?: str return `$${name}: ${value} !default;`; }; + +export const sortTokens = ( + tokens: Token[], + tokenGroups: Array, + hasParentPrefix: boolean, + group: string, + sortByNumValue: boolean, +) => { + const sortedTokens = tokens.sort((a, b) => { + if (sortByNumValue) { + const aNumMatch = a.name.match(/\d+$/); + const bNumMatch = b.name.match(/\d+$/); + + if (aNumMatch && bNumMatch) { + return parseInt(aNumMatch[0], 10) - parseInt(bNumMatch[0], 10); + } + } + + const aCompare = tokenVariableName(a, tokenGroups, hasParentPrefix); + const bCompare = tokenVariableName(b, tokenGroups, hasParentPrefix); + + return aCompare.localeCompare(bCompare); + }); + + return sortedTokens; +}; + +export const addEmptyLineBetweenTokenGroups = (cssTokens: { css: string | null; parentGroupId: string }[]): string => { + let lastGroupId: string | null = null; + const cssWithGroupSpacing: string[] = []; + + cssTokens.forEach(({ css, parentGroupId }) => { + if (lastGroupId && parentGroupId !== lastGroupId && css) { + cssWithGroupSpacing.push(''); + } + + if (css) { + cssWithGroupSpacing.push(css); + } + + lastGroupId = parentGroupId; + }); + + return cssWithGroupSpacing.join('\n'); +}; diff --git a/exporters/variables-scss/src/index.ts b/exporters/variables-scss/src/index.ts index 5ddac1887c..b175bb42ad 100644 --- a/exporters/variables-scss/src/index.ts +++ b/exporters/variables-scss/src/index.ts @@ -7,7 +7,7 @@ import { OutputTextFile, } from '@supernovaio/sdk-exporters'; import { ExporterConfiguration } from '../config'; -import { generateFiles } from './generators/fileGenerator'; +import { generateOutputFilesByThemes } from './generators/fileGenerator'; // https://github.com/Supernova-Studio/exporters/issues/4 // @ts-ignore-next-line @@ -28,20 +28,9 @@ Pulsar.export(async (sdk: Supernova, context: PulsarContext): Promise tokenGroup.brandId === context.brandId); } - // Apply theme, if specified by the VSCode extension or pipeline configuration - if (context.themeId) { - const themes = await sdk.tokens.getTokenThemes(remoteVersionIdentifier); - const currentTheme = themes.find((theme) => theme.id === context.themeId); - if (currentTheme) { - tokens = await sdk.tokens.computeTokensByApplyingThemes(tokens, [currentTheme]); - } else { - // Don't allow applying theme which doesn't exist in the system - throw new Error('Unable to apply theme which does not exist in the system.'); - } - } - // Convert all color tokens to CSS variables const mappedTokens = new Map(tokens.map((token) => [token.id, token])); + const themes = await sdk.tokens.getTokenThemes(remoteVersionIdentifier); const createTextFile = (relativePath: string, fileName: string, content: string): OutputTextFile => { return FileHelper.createTextFile({ @@ -51,31 +40,41 @@ Pulsar.export(async (sdk: Supernova, context: PulsarContext): Promise = []; + const outputFilesData = await generateOutputFilesByThemes(tokens, mappedTokens, tokenGroups, themes, sdk); + textFiles = outputFilesData.map((file) => { + return createTextFile(file.path, file.fileName, file.content); + }); + + // TODO: Only for debugging purposes, remove for production! + const safeStringify = (obj: object) => { + let cache: string[] | null = []; + const str = JSON.stringify( + obj, + (key, value) => { + if (typeof value === 'object' && value !== null) { + if (cache?.includes(value)) { + return 'CIRCULAR_REFERENCE'; + } + cache?.push(value); + } + + return value; + }, + 2, + ); + cache = null; - return [ - ...files.map((file) => { - return createTextFile('./global/', file.fileName, file.content); - }), - // only for debugging purposes - createTextFile( - './original-data/', - '_original-tokens.json', - JSON.stringify( - tokens.map((token) => ({ - tokenType: token.tokenType, - // @ts-ignore-next-line - origin: token.origin.name, - name: token.name, - // @ts-ignore-next-line - value: token.value, - })), - null, - 2, - ), - ), + return str; + }; + + // TODO: Only for debugging purposes - remove for production! + textFiles.push( + createTextFile('./original-data/', '_original-tokens.json', safeStringify(tokens)), createTextFile('./original-data/', '_original-groups.json', JSON.stringify(tokenGroups, null, 2)), - ]; + ); + + return textFiles; }); export const exportConfiguration = Pulsar.exportConfig(); diff --git a/exporters/variables-scss/src/formatters/__fixtures__/exampleFileContent.scss b/exporters/variables-scss/tests/fixtures/exampleFileContent.scss similarity index 71% rename from exporters/variables-scss/src/formatters/__fixtures__/exampleFileContent.scss rename to exporters/variables-scss/tests/fixtures/exampleFileContent.scss index 1e218e3320..cca1823da7 100644 --- a/exporters/variables-scss/src/formatters/__fixtures__/exampleFileContent.scss +++ b/exporters/variables-scss/tests/fixtures/exampleFileContent.scss @@ -3,10 +3,9 @@ $grid-spacing-desktop: 32px !default; $grid-columns: 12 !default; -$grid-spacings: ( - spacing-desktop: $grid-spacing-desktop, -) !default; - $grids: ( + spacing: ( + desktop: $grid-spacing-desktop, + ), columns: $grid-columns, ) !default; diff --git a/exporters/variables-scss/src/formatters/__fixtures__/formattedExample.scss b/exporters/variables-scss/tests/fixtures/formattedExample.scss similarity index 100% rename from exporters/variables-scss/src/formatters/__fixtures__/formattedExample.scss rename to exporters/variables-scss/tests/fixtures/formattedExample.scss diff --git a/exporters/variables-scss/src/formatters/__fixtures__/mockedExampleTokens.ts b/exporters/variables-scss/tests/fixtures/mockedExampleTokens.ts similarity index 55% rename from exporters/variables-scss/src/formatters/__fixtures__/mockedExampleTokens.ts rename to exporters/variables-scss/tests/fixtures/mockedExampleTokens.ts index 95cffab0cf..9b7c1d4f80 100644 --- a/exporters/variables-scss/src/formatters/__fixtures__/mockedExampleTokens.ts +++ b/exporters/variables-scss/tests/fixtures/mockedExampleTokens.ts @@ -1,4 +1,5 @@ import { + ColorToken, DimensionToken, DimensionTokenValue, StringToken, @@ -122,3 +123,108 @@ export const exampleMockedGroups: TokenGroup[] = [ updatedAt: null, }, ]; + +export const exampleMockedColorsTokens = new Map(); +exampleMockedColorsTokens.set('actionColorRef', { + id: 'actionColorRef', + name: 'active', + tokenType: TokenType.color, + parentGroupId: '1', + origin: { + name: 'action/button/primary/default', + }, + value: { + color: { + r: 202, + g: 32, + b: 38, + referencedTokenId: null, + }, + opacity: { + unit: 'Raw', + measure: 1, + referencedTokenId: null, + }, + referencedTokenId: null, + }, +} as ColorToken); +exampleMockedColorsTokens.set('backgroundColorRef', { + id: 'backgroundColorRef', + name: 'primary', + tokenType: TokenType.color, + parentGroupId: '2', + origin: { + name: 'background/primary', + }, + value: { + color: { + r: 255, + g: 255, + b: 255, + referencedTokenId: null, + }, + opacity: { + unit: 'Raw', + measure: 1, + referencedTokenId: null, + }, + referencedTokenId: null, + }, +} as ColorToken); + +export const exampleMockedColorGroups: TokenGroup[] = [ + { + ...groupFunctions, + id: '1', + idInVersion: 'idInVersionValue', + brandId: 'brandIdValue', + designSystemVersionId: 'designSystemVersionIdValue', + name: 'primary', + description: '', + isRoot: false, + tokenType: TokenType.color, + childrenIds: ['actionColorRef'], + path: ['action', 'button'], + tokenIds: ['actionColorRef'], + subgroupIds: [], + parentGroupId: 'parent1', + sortOrder: -1, + createdAt: null, + updatedAt: null, + }, + { + ...groupFunctions, + id: '2', + idInVersion: 'idInVersionValue', + brandId: 'brandIdValue', + designSystemVersionId: 'designSystemVersionIdValue', + name: 'background', + description: '', + isRoot: false, + tokenType: TokenType.color, + childrenIds: ['backgroundColorRef'], + path: [], + tokenIds: ['backgroundColorRef'], + subgroupIds: [], + parentGroupId: 'parent2', + sortOrder: -1, + createdAt: null, + updatedAt: null, + }, +]; + +export const exampleMockedInvariantTokens = new Map(); +exampleMockedInvariantTokens.set('radiiRef', { + id: 'radiiRef', + name: 'radius-full', + tokenType: TokenType.dimension, + parentGroupId: '1', + origin: { + name: 'Radius/radius-full', + }, + value: { + unit: 'Pixels', + measure: 9999, + referencedTokenId: null, + }, +} as DimensionToken); diff --git a/exporters/variables-scss/tests/fixtures/unformattedExample.scss b/exporters/variables-scss/tests/fixtures/unformattedExample.scss new file mode 100644 index 0000000000..907f1969be --- /dev/null +++ b/exporters/variables-scss/tests/fixtures/unformattedExample.scss @@ -0,0 +1,5 @@ +$my-var: ( + color: #000, + background: #fff, + border: 1px solid #000, +) !default; diff --git a/yarn.lock b/yarn.lock index 1cde09055a..70f18e58ac 100644 --- a/yarn.lock +++ b/yarn.lock @@ -164,19 +164,7 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.25.0, @babel/generator@npm:^7.25.4": - version: 7.25.5 - resolution: "@babel/generator@npm:7.25.5" - dependencies: - "@babel/types": "npm:^7.25.4" - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - jsesc: "npm:^2.5.1" - checksum: 10/e6d046afe739cfa706c40c127b7436731acb2a3146d408a7d89dbf16448491b35bc09b7d285cc19c2c1f8980d74b5a99df200d67c859bb5260986614685b0770 - languageName: node - linkType: hard - -"@babel/generator@npm:^7.25.6": +"@babel/generator@npm:^7.25.0, @babel/generator@npm:^7.25.6, @babel/generator@npm:^7.7.2": version: 7.25.6 resolution: "@babel/generator@npm:7.25.6" dependencies: @@ -188,18 +176,6 @@ __metadata: languageName: node linkType: hard -"@babel/generator@npm:^7.7.2": - version: 7.24.7 - resolution: "@babel/generator@npm:7.24.7" - dependencies: - "@babel/types": "npm:^7.24.7" - "@jridgewell/gen-mapping": "npm:^0.3.5" - "@jridgewell/trace-mapping": "npm:^0.3.25" - jsesc: "npm:^2.5.1" - checksum: 10/c71d24a4b41b19c10d2f2eb819f27d4cf94220e2322f7c8fed8bfbbb115b2bebbdd6dc1f27dac78a175e90604def58d763af87e0fa81ce4ab1582858162cf768 - languageName: node - linkType: hard - "@babel/helper-annotate-as-pure@npm:^7.24.7": version: 7.24.7 resolution: "@babel/helper-annotate-as-pure@npm:7.24.7" @@ -320,14 +296,7 @@ __metadata: languageName: node linkType: hard -"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.24.7, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": - version: 7.24.7 - resolution: "@babel/helper-plugin-utils@npm:7.24.7" - checksum: 10/dad51622f0123fdba4e2d40a81a6b7d6ef4b1491b2f92fd9749447a36bde809106cf117358705057a2adc8fd73d5dc090222e0561b1213dae8601c8367f5aac8 - languageName: node - linkType: hard - -"@babel/helper-plugin-utils@npm:^7.24.8": +"@babel/helper-plugin-utils@npm:^7.0.0, @babel/helper-plugin-utils@npm:^7.10.4, @babel/helper-plugin-utils@npm:^7.12.13, @babel/helper-plugin-utils@npm:^7.14.5, @babel/helper-plugin-utils@npm:^7.18.6, @babel/helper-plugin-utils@npm:^7.22.5, @babel/helper-plugin-utils@npm:^7.24.7, @babel/helper-plugin-utils@npm:^7.24.8, @babel/helper-plugin-utils@npm:^7.8.0, @babel/helper-plugin-utils@npm:^7.8.3": version: 7.24.8 resolution: "@babel/helper-plugin-utils@npm:7.24.8" checksum: 10/adbc9fc1142800a35a5eb0793296924ee8057fe35c61657774208670468a9fbfbb216f2d0bc46c680c5fefa785e5ff917cc1674b10bd75cdf9a6aa3444780630 @@ -380,13 +349,6 @@ __metadata: languageName: node linkType: hard -"@babel/helper-string-parser@npm:^7.24.7": - version: 7.24.7 - resolution: "@babel/helper-string-parser@npm:7.24.7" - checksum: 10/603d8d962bbe89907aa99a8f19a006759ab7b2464615f20a6a22e3e2e8375af37ddd0e5175c9e622e1c4b2d83607ffb41055a59d0ce34404502af30fde573a5c - languageName: node - linkType: hard - "@babel/helper-string-parser@npm:^7.24.8": version: 7.24.8 resolution: "@babel/helper-string-parser@npm:7.24.8" @@ -420,12 +382,12 @@ __metadata: linkType: hard "@babel/helpers@npm:^7.25.0": - version: 7.25.0 - resolution: "@babel/helpers@npm:7.25.0" + version: 7.25.6 + resolution: "@babel/helpers@npm:7.25.6" dependencies: "@babel/template": "npm:^7.25.0" - "@babel/types": "npm:^7.25.0" - checksum: 10/4fcb8167eba9853e30b8b235b81b923ef7b707396b0e23d7a4fa3e811729506755576cb9ec736e8b92cf19e5a1ec61e83d182904d8e6a0953803c6bebc2e1592 + "@babel/types": "npm:^7.25.6" + checksum: 10/43abc8d017b754619aa189d05e2bdb54aaf44f03ec0439e89b3e7c180d538adb01ce9014a1689f632a7e8b17655c72bfac0a92268476eec708b41d3ba0a65296 languageName: node linkType: hard @@ -441,7 +403,7 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.8, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.6": +"@babel/parser@npm:^7.1.0, @babel/parser@npm:^7.14.7, @babel/parser@npm:^7.20.7, @babel/parser@npm:^7.21.8, @babel/parser@npm:^7.22.5, @babel/parser@npm:^7.23.0, @babel/parser@npm:^7.23.9, @babel/parser@npm:^7.24.7, @babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.3, @babel/parser@npm:^7.25.6": version: 7.25.6 resolution: "@babel/parser@npm:7.25.6" dependencies: @@ -452,17 +414,6 @@ __metadata: languageName: node linkType: hard -"@babel/parser@npm:^7.25.0, @babel/parser@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/parser@npm:7.25.4" - dependencies: - "@babel/types": "npm:^7.25.4" - bin: - parser: ./bin/babel-parser.js - checksum: 10/343b8a76c43549e370fe96f4f6d564382a6cdff60e9c3b8a594c51e4cefd58ec9945e82e8c4dfbf15ac865a04e4b29806531440760748e28568e6aec21bc9cb5 - languageName: node - linkType: hard - "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:^7.25.3": version: 7.25.3 resolution: "@babel/plugin-bugfix-firefox-class-in-computed-class-key@npm:7.25.3" @@ -1653,18 +1604,7 @@ __metadata: languageName: node linkType: hard -"@babel/template@npm:^7.24.7, @babel/template@npm:^7.3.3": - version: 7.24.7 - resolution: "@babel/template@npm:7.24.7" - dependencies: - "@babel/code-frame": "npm:^7.24.7" - "@babel/parser": "npm:^7.24.7" - "@babel/types": "npm:^7.24.7" - checksum: 10/5975d404ef51cf379515eb0f80b115981d0b9dff5539e53a47516644abb8c83d7559f5b083eb1d4977b20d8359ebb2f911ccd4f729143f8958fdc465f976d843 - languageName: node - linkType: hard - -"@babel/template@npm:^7.25.0": +"@babel/template@npm:^7.24.7, @babel/template@npm:^7.25.0, @babel/template@npm:^7.3.3": version: 7.25.0 resolution: "@babel/template@npm:7.25.0" dependencies: @@ -1675,7 +1615,7 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.24.8": +"@babel/traverse@npm:^7.18.9, @babel/traverse@npm:^7.24.7, @babel/traverse@npm:^7.24.8, @babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.1, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.4": version: 7.25.6 resolution: "@babel/traverse@npm:7.25.6" dependencies: @@ -1690,21 +1630,6 @@ __metadata: languageName: node linkType: hard -"@babel/traverse@npm:^7.25.0, @babel/traverse@npm:^7.25.1, @babel/traverse@npm:^7.25.2, @babel/traverse@npm:^7.25.3, @babel/traverse@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/traverse@npm:7.25.4" - dependencies: - "@babel/code-frame": "npm:^7.24.7" - "@babel/generator": "npm:^7.25.4" - "@babel/parser": "npm:^7.25.4" - "@babel/template": "npm:^7.25.0" - "@babel/types": "npm:^7.25.4" - debug: "npm:^4.3.1" - globals: "npm:^11.1.0" - checksum: 10/a85c16047ab8e454e2e758c75c31994cec328bd6d8b4b22e915fa7393a03b3ab96d1218f43dc7ef77c957cc488dc38100bdf504d08a80a131e89b2e49cfa2be5 - languageName: node - linkType: hard - "@babel/types@npm:7.25.2": version: 7.25.2 resolution: "@babel/types@npm:7.25.2" @@ -1716,7 +1641,7 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:7.25.6, @babel/types@npm:^7.25.6": +"@babel/types@npm:7.25.6, @babel/types@npm:^7.0.0, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.24.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.24.8, @babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.6, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": version: 7.25.6 resolution: "@babel/types@npm:7.25.6" dependencies: @@ -1727,39 +1652,6 @@ __metadata: languageName: node linkType: hard -"@babel/types@npm:^7.0.0, @babel/types@npm:^7.18.9, @babel/types@npm:^7.20.7, @babel/types@npm:^7.21.3, @babel/types@npm:^7.24.0, @babel/types@npm:^7.24.7, @babel/types@npm:^7.3.3, @babel/types@npm:^7.4.4": - version: 7.24.7 - resolution: "@babel/types@npm:7.24.7" - dependencies: - "@babel/helper-string-parser": "npm:^7.24.7" - "@babel/helper-validator-identifier": "npm:^7.24.7" - to-fast-properties: "npm:^2.0.0" - checksum: 10/ad3c8c0d6fb4acb0bb74bb5b4bb849b181bf6185677ef9c59c18856c81e43628d0858253cf232f0eca806f02e08eff85a1d3e636a3e94daea737597796b0b430 - languageName: node - linkType: hard - -"@babel/types@npm:^7.24.8": - version: 7.24.9 - resolution: "@babel/types@npm:7.24.9" - dependencies: - "@babel/helper-string-parser": "npm:^7.24.8" - "@babel/helper-validator-identifier": "npm:^7.24.7" - to-fast-properties: "npm:^2.0.0" - checksum: 10/21873a08a124646824aa230de06af52149ab88206dca59849dcb3003990a6306ec2cdaa4147ec1127c0cfc5f133853cfc18f80d7f6337b6662a3c378ed565f15 - languageName: node - linkType: hard - -"@babel/types@npm:^7.25.0, @babel/types@npm:^7.25.2, @babel/types@npm:^7.25.4": - version: 7.25.4 - resolution: "@babel/types@npm:7.25.4" - dependencies: - "@babel/helper-string-parser": "npm:^7.24.8" - "@babel/helper-validator-identifier": "npm:^7.24.7" - to-fast-properties: "npm:^2.0.0" - checksum: 10/d4a1194612d0a2a6ce9a0be325578b43d74e5f5278c67409468ba0a924341f0ad349ef0245ee8a36da3766efe5cc59cd6bb52547674150f97d8dc4c8cfa5d6b8 - languageName: node - linkType: hard - "@base2/pretty-print-object@npm:1.0.1": version: 1.0.1 resolution: "@base2/pretty-print-object@npm:1.0.1" @@ -4250,13 +4142,13 @@ __metadata: linkType: hard "@netlify/functions-utils@npm:^5.2.79": - version: 5.2.80 - resolution: "@netlify/functions-utils@npm:5.2.80" + version: 5.2.81 + resolution: "@netlify/functions-utils@npm:5.2.81" dependencies: - "@netlify/zip-it-and-ship-it": "npm:9.38.1" + "@netlify/zip-it-and-ship-it": "npm:9.39.0" cpy: "npm:^9.0.0" path-exists: "npm:^5.0.0" - checksum: 10/be8bebf7e60d9e98ddba36798a638eb0a58738a26513c426dafb07004ad94f2ff38e057617b098f295a0f61d04ac4a1f7cdbe2054d52ab4e5aceeb7f6d873637 + checksum: 10/a6fa0ec065d5bb69439e9f3fb13275b61c3f349c05d302fd39dc3ca012535b733277cb6e28a4e02dde3d0e4c6523b4bded4c30e40ca9dbdf8ca968747eba9995 languageName: node linkType: hard @@ -4465,17 +4357,7 @@ __metadata: languageName: node linkType: hard -"@netlify/serverless-functions-api@npm:^1.22.0": - version: 1.22.0 - resolution: "@netlify/serverless-functions-api@npm:1.22.0" - dependencies: - "@netlify/node-cookies": "npm:^0.1.0" - urlpattern-polyfill: "npm:8.0.2" - checksum: 10/d0ca675f2f18e909c97e1608ab3d254fd65082b07eb2cb997b4eb795b96b29191ea2c0203368ff07f8296840ffdeff0a7755d99162745761a756586527663283 - languageName: node - linkType: hard - -"@netlify/serverless-functions-api@npm:^1.23.0": +"@netlify/serverless-functions-api@npm:^1.22.0, @netlify/serverless-functions-api@npm:^1.23.0": version: 1.23.0 resolution: "@netlify/serverless-functions-api@npm:1.23.0" dependencies: @@ -4529,9 +4411,9 @@ __metadata: languageName: node linkType: hard -"@netlify/zip-it-and-ship-it@npm:9.38.1": - version: 9.38.1 - resolution: "@netlify/zip-it-and-ship-it@npm:9.38.1" +"@netlify/zip-it-and-ship-it@npm:9.39.0": + version: 9.39.0 + resolution: "@netlify/zip-it-and-ship-it@npm:9.39.0" dependencies: "@babel/parser": "npm:^7.22.5" "@babel/types": "npm:7.25.6" @@ -4569,7 +4451,7 @@ __metadata: zod: "npm:^3.23.8" bin: zip-it-and-ship-it: bin.js - checksum: 10/5d0d1a5c252f4b4aae19d821ab53d34da62f685710881cf9853aa6562c329d63830967da4f894f6da1cd44ed5c424238bb2ebe8fe6399d2e0aabb12a3be0fe8a + checksum: 10/272b7f329b92a3820c26893cb8511714c765976fc5fbde841f30062ed00d0a1579c0cc9f14a031607b7040a965599039e6945e45bc52ca8a8b2f6e054d1aecfa languageName: node linkType: hard @@ -4900,24 +4782,12 @@ __metadata: languageName: node linkType: hard -"@nrwl/devkit@npm:19.6.5": - version: 19.6.5 - resolution: "@nrwl/devkit@npm:19.6.5" - dependencies: - "@nx/devkit": "npm:19.6.5" - checksum: 10/ad641e112c9c4617d3029e9efa81b7e19f3b7ad0c72d1fc211dfd3df34351276698e5d9f72c44b8ca09403898d1eb11302f329ca80d2ed3813e93329f16e4ec9 - languageName: node - linkType: hard - -"@nrwl/tao@npm:19.6.5": - version: 19.6.5 - resolution: "@nrwl/tao@npm:19.6.5" +"@nrwl/devkit@npm:19.7.2": + version: 19.7.2 + resolution: "@nrwl/devkit@npm:19.7.2" dependencies: - nx: "npm:19.6.5" - tslib: "npm:^2.3.0" - bin: - tao: index.js - checksum: 10/d9ed169c4077398ca3e9bd7c91ec42959cd9e766e62a4e47dd353107a56a71c709ad7f826f7125a57cdaf859350aa5a898fb1c2cd42137100ea7945a68fa1a75 + "@nx/devkit": "npm:19.7.2" + checksum: 10/51685ca35d1c3130b75fa20d12a9865f037ce30db2e5fd5e933958ce30f75665dc4c0da197b01d480e1be7eda7ef3bfdce4c367f5fdc5daeb87654230da5f0ac languageName: node linkType: hard @@ -4933,11 +4803,11 @@ __metadata: languageName: node linkType: hard -"@nx/devkit@npm:19.6.5, @nx/devkit@npm:>=17.1.2 < 20": - version: 19.6.5 - resolution: "@nx/devkit@npm:19.6.5" +"@nx/devkit@npm:19.7.2, @nx/devkit@npm:>=17.1.2 < 20": + version: 19.7.2 + resolution: "@nx/devkit@npm:19.7.2" dependencies: - "@nrwl/devkit": "npm:19.6.5" + "@nrwl/devkit": "npm:19.7.2" ejs: "npm:^3.1.7" enquirer: "npm:~2.3.6" ignore: "npm:^5.0.4" @@ -4948,14 +4818,7 @@ __metadata: yargs-parser: "npm:21.1.1" peerDependencies: nx: ">= 17 <= 20" - checksum: 10/fbd486074d7687599009c3731df2339698320d5ed9ff9b98f8806f485d23822da0158959564407bbae8138ffbff3954f9f65496d1aee3c062dc67907ee0c3dde - languageName: node - linkType: hard - -"@nx/nx-darwin-arm64@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-darwin-arm64@npm:19.6.5" - conditions: os=darwin & cpu=arm64 + checksum: 10/0ff1b4373de70ac1ff59d8efbea53f1fcfd17c30df7eec1ad6879d8b682c76fd4f8fb08da43fb944d4cdf646aba121bb2508c0e29f1a1a20e9338f8dc0ad97ec languageName: node linkType: hard @@ -4966,13 +4829,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-darwin-x64@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-darwin-x64@npm:19.6.5" - conditions: os=darwin & cpu=x64 - languageName: node - linkType: hard - "@nx/nx-darwin-x64@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-darwin-x64@npm:19.7.2" @@ -4980,13 +4836,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-freebsd-x64@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-freebsd-x64@npm:19.6.5" - conditions: os=freebsd & cpu=x64 - languageName: node - linkType: hard - "@nx/nx-freebsd-x64@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-freebsd-x64@npm:19.7.2" @@ -4994,13 +4843,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-linux-arm-gnueabihf@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.6.5" - conditions: os=linux & cpu=arm - languageName: node - linkType: hard - "@nx/nx-linux-arm-gnueabihf@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-linux-arm-gnueabihf@npm:19.7.2" @@ -5008,13 +4850,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-linux-arm64-gnu@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-linux-arm64-gnu@npm:19.6.5" - conditions: os=linux & cpu=arm64 & libc=glibc - languageName: node - linkType: hard - "@nx/nx-linux-arm64-gnu@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-linux-arm64-gnu@npm:19.7.2" @@ -5022,13 +4857,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-linux-arm64-musl@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-linux-arm64-musl@npm:19.6.5" - conditions: os=linux & cpu=arm64 & libc=musl - languageName: node - linkType: hard - "@nx/nx-linux-arm64-musl@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-linux-arm64-musl@npm:19.7.2" @@ -5036,13 +4864,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-linux-x64-gnu@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-linux-x64-gnu@npm:19.6.5" - conditions: os=linux & cpu=x64 & libc=glibc - languageName: node - linkType: hard - "@nx/nx-linux-x64-gnu@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-linux-x64-gnu@npm:19.7.2" @@ -5050,13 +4871,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-linux-x64-musl@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-linux-x64-musl@npm:19.6.5" - conditions: os=linux & cpu=x64 & libc=musl - languageName: node - linkType: hard - "@nx/nx-linux-x64-musl@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-linux-x64-musl@npm:19.7.2" @@ -5064,13 +4878,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-win32-arm64-msvc@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-win32-arm64-msvc@npm:19.6.5" - conditions: os=win32 & cpu=arm64 - languageName: node - linkType: hard - "@nx/nx-win32-arm64-msvc@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-win32-arm64-msvc@npm:19.7.2" @@ -5078,13 +4885,6 @@ __metadata: languageName: node linkType: hard -"@nx/nx-win32-x64-msvc@npm:19.6.5": - version: 19.6.5 - resolution: "@nx/nx-win32-x64-msvc@npm:19.6.5" - conditions: os=win32 & cpu=x64 - languageName: node - linkType: hard - "@nx/nx-win32-x64-msvc@npm:19.7.2": version: 19.7.2 resolution: "@nx/nx-win32-x64-msvc@npm:19.7.2" @@ -5833,13 +5633,6 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm-eabi@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-android-arm-eabi@npm:4.21.0" - conditions: os=android & cpu=arm - languageName: node - linkType: hard - "@rollup/rollup-android-arm-eabi@npm:4.21.2": version: 4.21.2 resolution: "@rollup/rollup-android-arm-eabi@npm:4.21.2" @@ -5847,10 +5640,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-android-arm64@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-android-arm64@npm:4.21.0" - conditions: os=android & cpu=arm64 +"@rollup/rollup-android-arm-eabi@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-android-arm-eabi@npm:4.21.3" + conditions: os=android & cpu=arm languageName: node linkType: hard @@ -5861,10 +5654,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-arm64@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-darwin-arm64@npm:4.21.0" - conditions: os=darwin & cpu=arm64 +"@rollup/rollup-android-arm64@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-android-arm64@npm:4.21.3" + conditions: os=android & cpu=arm64 languageName: node linkType: hard @@ -5875,10 +5668,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-darwin-x64@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-darwin-x64@npm:4.21.0" - conditions: os=darwin & cpu=x64 +"@rollup/rollup-darwin-arm64@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-darwin-arm64@npm:4.21.3" + conditions: os=darwin & cpu=arm64 languageName: node linkType: hard @@ -5889,10 +5682,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-gnueabihf@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.21.0" - conditions: os=linux & cpu=arm & libc=glibc +"@rollup/rollup-darwin-x64@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-darwin-x64@npm:4.21.3" + conditions: os=darwin & cpu=x64 languageName: node linkType: hard @@ -5903,10 +5696,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm-musleabihf@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.21.0" - conditions: os=linux & cpu=arm & libc=musl +"@rollup/rollup-linux-arm-gnueabihf@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-arm-gnueabihf@npm:4.21.3" + conditions: os=linux & cpu=arm & libc=glibc languageName: node linkType: hard @@ -5917,10 +5710,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-gnu@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.21.0" - conditions: os=linux & cpu=arm64 & libc=glibc +"@rollup/rollup-linux-arm-musleabihf@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-arm-musleabihf@npm:4.21.3" + conditions: os=linux & cpu=arm & libc=musl languageName: node linkType: hard @@ -5931,10 +5724,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-arm64-musl@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-arm64-musl@npm:4.21.0" - conditions: os=linux & cpu=arm64 & libc=musl +"@rollup/rollup-linux-arm64-gnu@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-arm64-gnu@npm:4.21.3" + conditions: os=linux & cpu=arm64 & libc=glibc languageName: node linkType: hard @@ -5945,10 +5738,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.0" - conditions: os=linux & cpu=ppc64 & libc=glibc +"@rollup/rollup-linux-arm64-musl@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-arm64-musl@npm:4.21.3" + conditions: os=linux & cpu=arm64 & libc=musl languageName: node linkType: hard @@ -5959,10 +5752,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-riscv64-gnu@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.21.0" - conditions: os=linux & cpu=riscv64 & libc=glibc +"@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-powerpc64le-gnu@npm:4.21.3" + conditions: os=linux & cpu=ppc64 & libc=glibc languageName: node linkType: hard @@ -5973,10 +5766,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-s390x-gnu@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.21.0" - conditions: os=linux & cpu=s390x & libc=glibc +"@rollup/rollup-linux-riscv64-gnu@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-riscv64-gnu@npm:4.21.3" + conditions: os=linux & cpu=riscv64 & libc=glibc languageName: node linkType: hard @@ -5987,10 +5780,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-gnu@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-x64-gnu@npm:4.21.0" - conditions: os=linux & cpu=x64 & libc=glibc +"@rollup/rollup-linux-s390x-gnu@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-s390x-gnu@npm:4.21.3" + conditions: os=linux & cpu=s390x & libc=glibc languageName: node linkType: hard @@ -6001,10 +5794,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-linux-x64-musl@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-linux-x64-musl@npm:4.21.0" - conditions: os=linux & cpu=x64 & libc=musl +"@rollup/rollup-linux-x64-gnu@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-x64-gnu@npm:4.21.3" + conditions: os=linux & cpu=x64 & libc=glibc languageName: node linkType: hard @@ -6015,10 +5808,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-arm64-msvc@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.21.0" - conditions: os=win32 & cpu=arm64 +"@rollup/rollup-linux-x64-musl@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-linux-x64-musl@npm:4.21.3" + conditions: os=linux & cpu=x64 & libc=musl languageName: node linkType: hard @@ -6029,10 +5822,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-ia32-msvc@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.21.0" - conditions: os=win32 & cpu=ia32 +"@rollup/rollup-win32-arm64-msvc@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-win32-arm64-msvc@npm:4.21.3" + conditions: os=win32 & cpu=arm64 languageName: node linkType: hard @@ -6043,10 +5836,10 @@ __metadata: languageName: node linkType: hard -"@rollup/rollup-win32-x64-msvc@npm:4.21.0": - version: 4.21.0 - resolution: "@rollup/rollup-win32-x64-msvc@npm:4.21.0" - conditions: os=win32 & cpu=x64 +"@rollup/rollup-win32-ia32-msvc@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-win32-ia32-msvc@npm:4.21.3" + conditions: os=win32 & cpu=ia32 languageName: node linkType: hard @@ -6057,6 +5850,13 @@ __metadata: languageName: node linkType: hard +"@rollup/rollup-win32-x64-msvc@npm:4.21.3": + version: 4.21.3 + resolution: "@rollup/rollup-win32-x64-msvc@npm:4.21.3" + conditions: os=win32 & cpu=x64 + languageName: node + linkType: hard + "@rtsao/scc@npm:^1.1.0": version: 1.1.0 resolution: "@rtsao/scc@npm:1.1.0" @@ -6585,11 +6385,11 @@ __metadata: linkType: hard "@storybook/components@npm:^8.2.9": - version: 8.2.9 - resolution: "@storybook/components@npm:8.2.9" + version: 8.3.0 + resolution: "@storybook/components@npm:8.3.0" peerDependencies: - storybook: ^8.2.9 - checksum: 10/32153df19777ea751d1adb33da6e92b5647d19fd924753b2ca1c80bcc102ee0489eac7b02914a2e56406233940f6eca7f1aa3ba0c441a164cabc954679a67869 + storybook: ^8.3.0 + checksum: 10/c53337007bbadb031685dcc8b4045f73b658fc4f4937812b1e25cc793209bfe8da4f10d88dd0aa28464fbbfea2e8007abca9d86f6a5b6ea03d06b653813889d2 languageName: node linkType: hard @@ -6688,20 +6488,20 @@ __metadata: linkType: hard "@storybook/manager-api@npm:^8.2.9": - version: 8.2.9 - resolution: "@storybook/manager-api@npm:8.2.9" + version: 8.3.0 + resolution: "@storybook/manager-api@npm:8.3.0" peerDependencies: - storybook: ^8.2.9 - checksum: 10/5ee66ebdc88f886c05425acff2c362681a6f778e2f27023a43c6c36767ef265175c58b8f23f74684dba64477b26b310fad7cf1761e6643325325a8724f53d93c + storybook: ^8.3.0 + checksum: 10/f44e8d428bf94a4d0e306fcc0d887cdd2564ee1b1dfd5a48392cee71be6ae3e065628d5ca44d9307b8b071f9929c4a9ac7a44d7035e52fb17cb94dd9b810a399 languageName: node linkType: hard "@storybook/preview-api@npm:^8.2.9": - version: 8.2.9 - resolution: "@storybook/preview-api@npm:8.2.9" + version: 8.3.0 + resolution: "@storybook/preview-api@npm:8.3.0" peerDependencies: - storybook: ^8.2.9 - checksum: 10/4973ca3ede45e363a54071a200ee1aeeea9c735ee1e6ba93d46c756bae905057a0e6c30882964aee14fb1631029c5f86b2a4cb8deaee4a80aa5770bf63a00eb3 + storybook: ^8.3.0 + checksum: 10/bce11261a585c4dd60ef4d0562b91d11bd1fa3b709dcd4b722df0bac0426964097eacbcaf0e5f6602886a9130b5d0732d743ba2edfd62b597b6f2020b0a427d2 languageName: node linkType: hard @@ -6793,7 +6593,7 @@ __metadata: languageName: node linkType: hard -"@storybook/theming@npm:8.2.9, @storybook/theming@npm:^8.2.9": +"@storybook/theming@npm:8.2.9": version: 8.2.9 resolution: "@storybook/theming@npm:8.2.9" peerDependencies: @@ -6802,16 +6602,25 @@ __metadata: languageName: node linkType: hard -"@supernova-studio/client@npm:0.53.3": - version: 0.53.3 - resolution: "@supernova-studio/client@npm:0.53.3" +"@storybook/theming@npm:^8.2.9": + version: 8.3.0 + resolution: "@storybook/theming@npm:8.3.0" + peerDependencies: + storybook: ^8.3.0 + checksum: 10/a382b5cfe9c232f5bb3943cb034b7ec597f9966e908c868c6ee40f0f3f3797a09231f96a31810760c3a2efdb78c1464239650a88f068fa74ca367f666dd94420 + languageName: node + linkType: hard + +"@supernova-studio/client@npm:0.54.11": + version: 0.54.11 + resolution: "@supernova-studio/client@npm:0.54.11" dependencies: prosemirror-model: "npm:1.19.4" typescript: "npm:5.0.4" y-prosemirror: "npm:1.2.2" yjs: "npm:13.6.10" zod: "npm:3.23.6" - checksum: 10/926eed6565917dd31e9fe56a6bd6f504313b5fac365beec53910e29708ae6d3cd5c080a3e4b2e5c331b303cbe037541af488fbce4bf4c57c9e829a5117f75900 + checksum: 10/c99ba462cf0b4ced414958f05bbac227d5c1a8d82b865a666e46c4706c26cb7b0e360fe5ef4dbe2ecd4e28e45377a3873b5f7d35d4c7e0dcbf9a0bde82cbb7d4 languageName: node linkType: hard @@ -6828,15 +6637,14 @@ __metadata: languageName: node linkType: hard -"@supernova-studio/model@npm:0.53.3": - version: 0.53.3 - resolution: "@supernova-studio/model@npm:0.53.3" +"@supernova-studio/model@npm:0.54.11": + version: 0.54.11 + resolution: "@supernova-studio/model@npm:0.54.11" dependencies: "@sindresorhus/slugify": "npm:1.1.2" - deep-equal: "npm:2.2.3" ip-cidr: "npm:3.1.0" zod: "npm:3.23.6" - checksum: 10/e2790af7852526163f7d6253ca2c5165e0c19d30bcd0a086d39ae0a25a33836d211e9e00194a849db57583c3c5024b25b69e6369e64257bb54ea4e329372b7fe + checksum: 10/7bd0e0b5d8c2e788f097213136173c7bc72fb37ab43f5b16ef5174550683f9dbd44ce28b72456770e6cc8ed3a5d916a6dfa93c954eaaacf9d44f1b6763a598ba languageName: node linkType: hard @@ -6852,12 +6660,12 @@ __metadata: linkType: hard "@supernovaio/export-helpers@npm:^1.0.9": - version: 1.0.11 - resolution: "@supernovaio/export-helpers@npm:1.0.11" + version: 1.0.12 + resolution: "@supernovaio/export-helpers@npm:1.0.12" dependencies: "@supernovaio/sdk-exporters": "npm:2.0.18" change-case: "npm:4.1.2" - checksum: 10/16c90547deeb7f9af7b2416a2ff2dc7dc45f1c447f87940b35f021ad09df3f413c9c5f22c4b66732c89d7dba1dcdca6bfeb3f7c56614fcf47d1e08c2bd35e517 + checksum: 10/00b10f0dac1ccc1dd3b31cadd987eac4f85f4794959d8a5ef0982c6bbea261e8b8921ff34ac50726a6101a29eb4200670be37a3581882f16fab4520ae0fee584 languageName: node linkType: hard @@ -6872,12 +6680,12 @@ __metadata: linkType: hard "@supernovaio/sdk-exporters@npm:^2.0.17": - version: 2.0.19 - resolution: "@supernovaio/sdk-exporters@npm:2.0.19" + version: 2.0.20 + resolution: "@supernovaio/sdk-exporters@npm:2.0.20" dependencies: - "@supernova-studio/client": "npm:0.53.3" - "@supernova-studio/model": "npm:0.53.3" - checksum: 10/423ea726b585e3ffcf832a444666f0d93d42a259a9688ef2596e22bd05fedf74bbefa508f526501af409769dd21740d88fd4bd67cbfb36c8367bb43ed8e4ec8b + "@supernova-studio/client": "npm:0.54.11" + "@supernova-studio/model": "npm:0.54.11" + checksum: 10/26e41a4091392efe6100f017dc9c15f3f6a5b5fc09d6200c1729b96892875e5ef6d3e5fba3f5c75c9b49e4fc60f4f6394efc03f417930774d05d13210c261854 languageName: node linkType: hard @@ -7821,11 +7629,11 @@ __metadata: linkType: hard "@types/node@npm:*": - version: 22.5.2 - resolution: "@types/node@npm:22.5.2" + version: 22.5.4 + resolution: "@types/node@npm:22.5.4" dependencies: undici-types: "npm:~6.19.2" - checksum: 10/c4634118abc36d1436d62e192f7088c211139165a395f1cdacca28df421d8dc8dd332b3104d72fc37764d73a205a4bbbe6e6abdc817c2c81883e147d1a96d497 + checksum: 10/d46e0abf437b36bdf89011287aa43873d68ea6f2521a11b5c9a033056fd0d07af36daf51439010e8d41c62c55d0b00e9b5e09ed00bb2617723f73f28a873903a languageName: node linkType: hard @@ -7838,7 +7646,7 @@ __metadata: languageName: node linkType: hard -"@types/node@npm:20.16.5": +"@types/node@npm:20.16.5, @types/node@npm:^20.0.0": version: 20.16.5 resolution: "@types/node@npm:20.16.5" dependencies: @@ -7855,20 +7663,11 @@ __metadata: linkType: hard "@types/node@npm:^18.0.0, @types/node@npm:^18.16.3": - version: 18.19.48 - resolution: "@types/node@npm:18.19.48" + version: 18.19.50 + resolution: "@types/node@npm:18.19.50" dependencies: undici-types: "npm:~5.26.4" - checksum: 10/4c4361f38c0b4d49230d89c3a7c883df966a38f1563a5c2e46e49ac7b9a44c1051464855d9e7cf5731cbf3489649fa385cf3183e2c6a5bcbab79449c90f2f5b4 - languageName: node - linkType: hard - -"@types/node@npm:^20.0.0": - version: 20.16.1 - resolution: "@types/node@npm:20.16.1" - dependencies: - undici-types: "npm:~6.19.2" - checksum: 10/9bae1dffd2094694147a91ebec51dc89a60a607d16d47a0d770320f1a75d3ba58663708fd93c37954a63acb701a4e0fd64245139c57ae810d3ad524e75481d4e + checksum: 10/d238bb877953fcecda830df140f8722b9ba9644ae63e810fe6fa40cab8285c42f9b34c9529f2144a6f8cfeee5b0ff7fefd9425261e41830157d6710d501b829d languageName: node linkType: hard @@ -8459,8 +8258,8 @@ __metadata: linkType: hard "@vercel/nft@npm:^0.27.0, @vercel/nft@npm:^0.27.1": - version: 0.27.3 - resolution: "@vercel/nft@npm:0.27.3" + version: 0.27.4 + resolution: "@vercel/nft@npm:0.27.4" dependencies: "@mapbox/node-pre-gyp": "npm:^1.0.5" "@rollup/pluginutils": "npm:^4.0.0" @@ -8476,7 +8275,7 @@ __metadata: resolve-from: "npm:^5.0.0" bin: nft: out/cli.js - checksum: 10/ba0600ac07fdab0cb93c1ec638be118c9ab2c1aa836907c0c43b644296b99c5436cf24c47db391f3a218455f8058505ac971d173ff722a6e9428dfb3a7e897bd + checksum: 10/6b55295b5fecc9e584b3a41d759aa0f0aed203b04078495ccf99f32225f4d7d47564c67043e95f7ae015d3a0e705ea479437131169e04793ab19f040895a94f1 languageName: node linkType: hard @@ -8555,26 +8354,26 @@ __metadata: languageName: node linkType: hard -"@vue/compiler-core@npm:3.4.38": - version: 3.4.38 - resolution: "@vue/compiler-core@npm:3.4.38" +"@vue/compiler-core@npm:3.5.4": + version: 3.5.4 + resolution: "@vue/compiler-core@npm:3.5.4" dependencies: - "@babel/parser": "npm:^7.24.7" - "@vue/shared": "npm:3.4.38" + "@babel/parser": "npm:^7.25.3" + "@vue/shared": "npm:3.5.4" entities: "npm:^4.5.0" estree-walker: "npm:^2.0.2" source-map-js: "npm:^1.2.0" - checksum: 10/16449e9083c290e6c13e1cc0cb0a0a457817a52533d10902388c872fb1337ba0fa29fb7b8394df5a10f5ed3bad264d6c386f9eaf47c07982a543f277dbee9b8a + checksum: 10/1466e72f5c7ebc2bb8267b3737ee2f0e8f4f8337ee3add5fe29f9544dbefb6cc35aa162f2c45578a339f2e8b9f034368d4468b46f1cff9ddf015abff9e0727bf languageName: node linkType: hard "@vue/compiler-dom@npm:^3.3.0": - version: 3.4.38 - resolution: "@vue/compiler-dom@npm:3.4.38" + version: 3.5.4 + resolution: "@vue/compiler-dom@npm:3.5.4" dependencies: - "@vue/compiler-core": "npm:3.4.38" - "@vue/shared": "npm:3.4.38" - checksum: 10/4012fab212dc0628ef72f5ae13aa2dd551efb8be7f2aa8abe2a1db15058ddda29912a1e3aa1fc6712e2d8efe84724f16a907ad2cda987631bfc79330afc8d451 + "@vue/compiler-core": "npm:3.5.4" + "@vue/shared": "npm:3.5.4" + checksum: 10/73ef5e6808c27611b83ce9f54d0bbd2e5f96e3f9d2eccafafa8e56b1be1c747a53e245f2031cdf1cb14876e6c6aaa51fe083f9327ee415db0137da91d5e767f6 languageName: node linkType: hard @@ -8600,17 +8399,10 @@ __metadata: languageName: node linkType: hard -"@vue/shared@npm:3.4.38": - version: 3.4.38 - resolution: "@vue/shared@npm:3.4.38" - checksum: 10/46bfc1f3932fd154ff84dcd267cae4db730c98db433c848d40c9c0dc23dcabdb5efe96a3a378c9ed3b7e8281ca17e2753f0ce98ae43b54b315550dfaccb56868 - languageName: node - linkType: hard - -"@vue/shared@npm:^3.3.0": - version: 3.5.3 - resolution: "@vue/shared@npm:3.5.3" - checksum: 10/c2951e0efddb3acb2f5ff937977e27684a69bd4d3e30ccd3898216a9fa3323849adfd17c6b22af3094fd704827a467e6ede22ddcd2598d07ffcb80e97b763f8e +"@vue/shared@npm:3.5.4, @vue/shared@npm:^3.3.0": + version: 3.5.4 + resolution: "@vue/shared@npm:3.5.4" + checksum: 10/518c086bd6a87649a5cce8e4548fb013de0261169794ef7d18fbf97d88ba29cd83fe53d170ad3f2108adbcd710a66306de72dd13cf1733e1e1e3f8597120a5be languageName: node linkType: hard @@ -9050,11 +8842,11 @@ __metadata: linkType: hard "acorn-walk@npm:^8.0.2, acorn-walk@npm:^8.1.1": - version: 8.3.3 - resolution: "acorn-walk@npm:8.3.3" + version: 8.3.4 + resolution: "acorn-walk@npm:8.3.4" dependencies: acorn: "npm:^8.11.0" - checksum: 10/59701dcb7070679622ba8e9c7f37577b4935565747ca0fd7c1c3ad30b3f1b1b008276282664e323b5495eb49f77fa12d3816fd06dc68e18f90fbebe759f71450 + checksum: 10/871386764e1451c637bb8ab9f76f4995d408057e9909be6fb5ad68537ae3375d85e6a6f170b98989f44ab3ff6c74ad120bc2779a3d577606e7a0cd2b4efcaf77 languageName: node linkType: hard @@ -9304,9 +9096,9 @@ __metadata: linkType: hard "ansi-regex@npm:^6.0.1": - version: 6.0.1 - resolution: "ansi-regex@npm:6.0.1" - checksum: 10/1ff8b7667cded1de4fa2c9ae283e979fc87036864317da86a2e546725f96406746411d0d85e87a2d12fa5abd715d90006de7fa4fa0477c92321ad3b4c7d4e169 + version: 6.1.0 + resolution: "ansi-regex@npm:6.1.0" + checksum: 10/495834a53b0856c02acd40446f7130cb0f8284f4a39afdab20d5dc42b2e198b1196119fe887beed8f9055c4ff2055e3b2f6d4641d0be018cdfb64fedf6fc1aac languageName: node linkType: hard @@ -9793,13 +9585,13 @@ __metadata: linkType: hard "axios@npm:^1.7.4": - version: 1.7.5 - resolution: "axios@npm:1.7.5" + version: 1.7.7 + resolution: "axios@npm:1.7.7" dependencies: follow-redirects: "npm:^1.15.6" form-data: "npm:^4.0.0" proxy-from-env: "npm:^1.1.0" - checksum: 10/6cbcfe943a84089f420a900a3a3aeb54ee94dcc9c2b81b150434896357be5d1079eff0b1bbb628597371e79f896b1bc5776df04184756ba99656ff31df9a75bf + checksum: 10/7f875ea13b9298cd7b40fd09985209f7a38d38321f1118c701520939de2f113c4ba137832fe8e3f811f99a38e12c8225481011023209a77b0c0641270e20cde1 languageName: node linkType: hard @@ -9810,7 +9602,7 @@ __metadata: languageName: node linkType: hard -"b4a@npm:^1.6.4": +"b4a@npm:^1.6.4, b4a@npm:^1.6.6": version: 1.6.6 resolution: "b4a@npm:1.6.6" checksum: 10/6154a36bd78b53ecd2843a829352532a1bf9fc8081dab339ba06ca3c9ffcf25d340c3b18fe4ba0fc17a546a54c1ed814cea92cd6b895f6bd2837ca4ee0fc9f52 @@ -10076,20 +9868,20 @@ __metadata: linkType: hard "bare-fs@npm:^2.1.1": - version: 2.3.3 - resolution: "bare-fs@npm:2.3.3" + version: 2.3.4 + resolution: "bare-fs@npm:2.3.4" dependencies: bare-events: "npm:^2.0.0" bare-path: "npm:^2.0.0" bare-stream: "npm:^2.0.0" - checksum: 10/d924f412476fc6beb6a23ba1986a9a7e230b5c39c8070c0246a971b65558f31ec0923d01295400a44eaaed6be2812ca802db62c476dfaed997bd61c039e6166d + checksum: 10/76b9f4822c4789d48e407e4f29900ac1ae270f4928b27be7608f0ad55469a9fa5d2225813b6da81ec31b303a8b59897f7095d2e6e1d7414f7acac4e05c9cde75 languageName: node linkType: hard "bare-os@npm:^2.1.0": - version: 2.4.2 - resolution: "bare-os@npm:2.4.2" - checksum: 10/b6abd3a965b783c77d89f648b8229336a3d882b5e5b9780b671a6f2c361ae68c546163d134facc0da53c985e0cc64e5d3e3817cc1a88d8064b83b53032c38a79 + version: 2.4.3 + resolution: "bare-os@npm:2.4.3" + checksum: 10/d5d31aca115f1d22a482786ba031fd9822c0af298b98766eed42a1783c15eba3ef7e23bb74be913ea09848c40fbc16343de3db73a6e381fcc365625776060f1f languageName: node linkType: hard @@ -10103,11 +9895,12 @@ __metadata: linkType: hard "bare-stream@npm:^2.0.0": - version: 2.2.0 - resolution: "bare-stream@npm:2.2.0" + version: 2.3.0 + resolution: "bare-stream@npm:2.3.0" dependencies: - streamx: "npm:^2.18.0" - checksum: 10/35128f19560df2efa28e39cbd53813829b286821e52b31db6438d05d13b392e565151043df8c1db8656a6234a8c3fbfa213231fcdb9bbacd9d59535bcb27f4d5 + b4a: "npm:^1.6.6" + streamx: "npm:^2.20.0" + checksum: 10/b32cd79f2ed4d9980f7ae1a3a125466c5ace572a78649d51d5897c605bddd259f781e4d1408f6d248f5b99c30e88b475c4912b00df75394eb6fb53529ee835ad languageName: node linkType: hard @@ -10316,7 +10109,7 @@ __metadata: languageName: node linkType: hard -"browserslist@npm:^4.21.10, browserslist@npm:^4.23.0, browserslist@npm:^4.23.1, browserslist@npm:^4.23.3": +"browserslist@npm:^4.21.10, browserslist@npm:^4.23.1, browserslist@npm:^4.23.3": version: 4.23.3 resolution: "browserslist@npm:4.23.3" dependencies: @@ -10584,17 +10377,10 @@ __metadata: languageName: node linkType: hard -"caniuse-lite@npm:^1.0.30001579": - version: 1.0.30001659 - resolution: "caniuse-lite@npm:1.0.30001659" - checksum: 10/bd8964faa9fe2d511673986621aca43b52e43fdbfc620372919c5895672f0d3537b589af8f66239e1e715f912d8eeea02e753ac95781314598882d137754198c - languageName: node - linkType: hard - -"caniuse-lite@npm:^1.0.30001646": - version: 1.0.30001653 - resolution: "caniuse-lite@npm:1.0.30001653" - checksum: 10/cd9b1c0fe03249e593789a11a9ef14f987b385e60441748945916b19e74e7bc5c82c40d4836496a647586651898741aed1598ae0792114a9f0d7d7fdb2b7deb0 +"caniuse-lite@npm:^1.0.30001579, caniuse-lite@npm:^1.0.30001646": + version: 1.0.30001660 + resolution: "caniuse-lite@npm:1.0.30001660" + checksum: 10/5d83f0b7e2075b7e31f114f739155dc6c21b0afe8cb61180f625a4903b0ccd3d7591a5f81c930f14efddfa57040203ba0890850b8a3738f6c7f17c7dd83b9de8 languageName: node linkType: hard @@ -10879,9 +10665,9 @@ __metadata: linkType: hard "cjs-module-lexer@npm:^1.0.0": - version: 1.4.0 - resolution: "cjs-module-lexer@npm:1.4.0" - checksum: 10/b041096749792526120d8b8756929f8ef5dd4596502a0e1013f857e3027acd6091915fea77037921d70ee1a99988a100d994d3d3c2e323b04dd4c5ffd516cf13 + version: 1.4.1 + resolution: "cjs-module-lexer@npm:1.4.1" + checksum: 10/6e830a1e00a34d416949bbc1924f3e8da65cef4a6a09e2b7fa35722e2d1c34bf378d3baca987b698d1cbc3eb83e44b044039b4e82755c96f30e0f03d1d227637 languageName: node linkType: hard @@ -11688,16 +11474,7 @@ __metadata: languageName: node linkType: hard -"core-js-compat@npm:^3.37.1": - version: 3.37.1 - resolution: "core-js-compat@npm:3.37.1" - dependencies: - browserslist: "npm:^4.23.0" - checksum: 10/30c6fdbd9ff179cc53951814689b8aabec106e5de6cddfa7a7feacc96b66d415b8eebcf5ec8f7c68ef35c552fe7d39edb8b15b1ce0f27379a272295b6e937061 - languageName: node - linkType: hard - -"core-js-compat@npm:^3.38.0": +"core-js-compat@npm:^3.37.1, core-js-compat@npm:^3.38.0": version: 3.38.1 resolution: "core-js-compat@npm:3.38.1" dependencies: @@ -12128,11 +11905,11 @@ __metadata: linkType: hard "cssstyle@npm:^4.0.1": - version: 4.0.1 - resolution: "cssstyle@npm:4.0.1" + version: 4.1.0 + resolution: "cssstyle@npm:4.1.0" dependencies: - rrweb-cssom: "npm:^0.6.0" - checksum: 10/180d4e6b406c30811e55a64add32a2111c9c5da4ed2dc67638ddb55c29b877ec1ed71e2e70a34f59c3523dbee35b0d35aa13b963db1ca8cb929d69c7ce81e3b0 + rrweb-cssom: "npm:^0.7.1" + checksum: 10/8ca9e2d1f1b24f93bb5f3f20a7a1e271e58060957880e985ee55614e196a798ffab309ec6bac105af8a439a6764546761813835ebb7f929d60823637ee838a8f languageName: node linkType: hard @@ -12268,7 +12045,19 @@ __metadata: languageName: node linkType: hard -"debug@npm:4, debug@npm:4.3.6, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5": +"debug@npm:4, debug@npm:^4.0.0, debug@npm:^4.0.1, debug@npm:^4.1.0, debug@npm:^4.1.1, debug@npm:^4.3.1, debug@npm:^4.3.2, debug@npm:^4.3.4, debug@npm:^4.3.5, debug@npm:^4.3.6, debug@npm:~4.3.6": + version: 4.3.7 + resolution: "debug@npm:4.3.7" + dependencies: + ms: "npm:^2.1.3" + peerDependenciesMeta: + supports-color: + optional: true + checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a + languageName: node + linkType: hard + +"debug@npm:4.3.6": version: 4.3.6 resolution: "debug@npm:4.3.6" dependencies: @@ -12296,18 +12085,6 @@ __metadata: languageName: node linkType: hard -"debug@npm:^4.3.6, debug@npm:~4.3.6": - version: 4.3.7 - resolution: "debug@npm:4.3.7" - dependencies: - ms: "npm:^2.1.3" - peerDependenciesMeta: - supports-color: - optional: true - checksum: 10/71168908b9a78227ab29d5d25fe03c5867750e31ce24bf2c44a86efc5af041758bb56569b0a3d48a9b5344c00a24a777e6f4100ed6dfd9534a42c1dde285125a - languageName: node - linkType: hard - "decache@npm:4.6.2": version: 4.6.2 resolution: "decache@npm:4.6.2" @@ -12389,7 +12166,7 @@ __metadata: languageName: node linkType: hard -"deep-equal@npm:2.2.3, deep-equal@npm:^2.0.5": +"deep-equal@npm:^2.0.5": version: 2.2.3 resolution: "deep-equal@npm:2.2.3" dependencies: @@ -13023,9 +12800,9 @@ __metadata: linkType: hard "electron-to-chromium@npm:^1.5.4": - version: 1.5.13 - resolution: "electron-to-chromium@npm:1.5.13" - checksum: 10/b3de6dbca66e399eacd4f7e2b7603394c8949c9e724d838a45e092725005ff435aabfbf00f738e45451eb23147684f7f9251a5ed75619a539642b2bccea20b45 + version: 1.5.20 + resolution: "electron-to-chromium@npm:1.5.20" + checksum: 10/179f8af9b5e426489fdf9f43272bea64c5e66231656e5510abe058fc601ff5981260f37576c03e4288dd25446d645cb35995b1ed3aab67e2e080fadb9134041f languageName: node linkType: hard @@ -14131,8 +13908,8 @@ __metadata: linkType: hard "eslint-plugin-react@npm:^7.33.2": - version: 7.35.0 - resolution: "eslint-plugin-react@npm:7.35.0" + version: 7.36.0 + resolution: "eslint-plugin-react@npm:7.36.0" dependencies: array-includes: "npm:^3.1.8" array.prototype.findlast: "npm:^1.2.5" @@ -14154,7 +13931,7 @@ __metadata: string.prototype.repeat: "npm:^1.0.0" peerDependencies: eslint: ^3 || ^4 || ^5 || ^6 || ^7 || ^8 || ^9.7 - checksum: 10/fa0a54f9ea249cf89d92bb5983bf7df741da3709a0ebd6a885a67d05413ed302fd8b64c9dc819b33df8efa6d8b06f5e56b1f6965a9be7cc3e79054da4dbae5ed + checksum: 10/f28098e02f611fbdde36c9ef3b256a5c51c7ec0cc21ddcf9ac45f3b8f53728fc2dcb91dbd3de1ae234c6941d336e5045d4b32c09d50be29e4e2663b13f8bd2f1 languageName: node linkType: hard @@ -14585,8 +14362,8 @@ __metadata: linkType: hard "express@npm:^4.19.2": - version: 4.20.0 - resolution: "express@npm:4.20.0" + version: 4.21.0 + resolution: "express@npm:4.21.0" dependencies: accepts: "npm:~1.3.8" array-flatten: "npm:1.1.1" @@ -14600,7 +14377,7 @@ __metadata: encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" etag: "npm:~1.8.1" - finalhandler: "npm:1.2.0" + finalhandler: "npm:1.3.1" fresh: "npm:0.5.2" http-errors: "npm:2.0.0" merge-descriptors: "npm:1.0.3" @@ -14609,17 +14386,17 @@ __metadata: parseurl: "npm:~1.3.3" path-to-regexp: "npm:0.1.10" proxy-addr: "npm:~2.0.7" - qs: "npm:6.11.0" + qs: "npm:6.13.0" range-parser: "npm:~1.2.1" safe-buffer: "npm:5.2.1" send: "npm:0.19.0" - serve-static: "npm:1.16.0" + serve-static: "npm:1.16.2" setprototypeof: "npm:1.2.0" statuses: "npm:2.0.1" type-is: "npm:~1.6.18" utils-merge: "npm:1.0.1" vary: "npm:~1.1.2" - checksum: 10/4131f566cf8f6d1611475d5ff5d0dbc5c628ad8b525aa2aa2b3da9a23a041efcce09ede10b8a31315b0258ac4e53208a009fd7669ee1eb385936a0d54adb3cde + checksum: 10/3b1ee5bc5b1bd996f688702519cebc9b63a24e506965f6e1773268238cfa2c24ffdb38cc3fcb4fde66f77de1c0bebd9ee058dad06bb9c6f084b525f3c09164d3 languageName: node linkType: hard @@ -15096,6 +14873,21 @@ __metadata: languageName: node linkType: hard +"finalhandler@npm:1.3.1": + version: 1.3.1 + resolution: "finalhandler@npm:1.3.1" + dependencies: + debug: "npm:2.6.9" + encodeurl: "npm:~2.0.0" + escape-html: "npm:~1.0.3" + on-finished: "npm:2.4.1" + parseurl: "npm:~1.3.3" + statuses: "npm:2.0.1" + unpipe: "npm:~1.0.0" + checksum: 10/4babe72969b7373b5842bc9f75c3a641a4d0f8eb53af6b89fa714d4460ce03fb92b28de751d12ba415e96e7e02870c436d67412120555e2b382640535697305b + languageName: node + linkType: hard + "find-cache-dir@npm:^2.0.0": version: 2.1.0 resolution: "find-cache-dir@npm:2.1.0" @@ -15257,9 +15049,9 @@ __metadata: linkType: hard "flow-parser@npm:0.*": - version: 0.245.0 - resolution: "flow-parser@npm:0.245.0" - checksum: 10/dec22fd67bcc52a946eb906bbd59b58b58de22bbe0afe23e033f40ecc802acc2edb00dbb234f6f244af5b3dd15353503c69d027ae39aba6a4f0598f3b871babd + version: 0.245.2 + resolution: "flow-parser@npm:0.245.2" + checksum: 10/d1efd474593a35cc83415d0e893ed8cd8f779f9d068df56b391cfd9d0e7c24ce86a5d15c23fc8973687abda36296831860d44ae845218f25987d19dee17ed29b languageName: node linkType: hard @@ -15290,12 +15082,12 @@ __metadata: linkType: hard "follow-redirects@npm:^1.0.0, follow-redirects@npm:^1.15.6": - version: 1.15.6 - resolution: "follow-redirects@npm:1.15.6" + version: 1.15.9 + resolution: "follow-redirects@npm:1.15.9" peerDependenciesMeta: debug: optional: true - checksum: 10/70c7612c4cab18e546e36b991bbf8009a1a41cf85354afe04b113d1117569abf760269409cb3eb842d9f7b03d62826687086b081c566ea7b1e6613cf29030bf7 + checksum: 10/e3ab42d1097e90d28b913903841e6779eb969b62a64706a3eb983e894a5db000fbd89296f45f08885a0e54cd558ef62e81be1165da9be25a6c44920da10f424c languageName: node linkType: hard @@ -15762,11 +15554,11 @@ __metadata: linkType: hard "get-tsconfig@npm:^4.7.5": - version: 4.8.0 - resolution: "get-tsconfig@npm:4.8.0" + version: 4.8.1 + resolution: "get-tsconfig@npm:4.8.1" dependencies: resolve-pkg-maps: "npm:^1.0.0" - checksum: 10/aac6d98894bdb8b9f320f5c4953f9a89d11b1cbb15cc95447abe00366dc5fcda6dbce214f2e4572b1b835ab55c4f35f004b219c3d17e07c5ddca44ef9e3858d2 + checksum: 10/3fb5a8ad57b9633eaea085d81661e9e5c9f78b35d8f8689eaf8b8b45a2a3ebf3b3422266d4d7df765e308cc1e6231648d114803ab3d018332e29916f2c1de036 languageName: node linkType: hard @@ -16228,7 +16020,7 @@ __metadata: languageName: node linkType: hard -"h3@npm:^1.10.0, h3@npm:^1.10.2, h3@npm:^1.11.1": +"h3@npm:^1.10.0, h3@npm:^1.10.2, h3@npm:^1.12.0": version: 1.12.0 resolution: "h3@npm:1.12.0" dependencies: @@ -17273,11 +17065,11 @@ __metadata: linkType: hard "is-bun-module@npm:^1.0.2": - version: 1.1.0 - resolution: "is-bun-module@npm:1.1.0" + version: 1.2.1 + resolution: "is-bun-module@npm:1.2.1" dependencies: semver: "npm:^7.6.3" - checksum: 10/f6d2b16291ee7e31fdc9fb8fd267ac40b7caeef60c607bff0efb1f686fc7851d7c8266e33ff8d2fb9ce3e5d7a0ff6177c1d9ff3f5bfd9efd3db876ef4bb8fdea + checksum: 10/1c2cbcf1a76991add1b640d2d7fe09848e8697a76f96e1289dff44133a48c97f5dc601d4a66d3f3a86217a77178d72d33d10d0c9e14194e58e70ec8df3eae41a languageName: node linkType: hard @@ -17773,9 +17565,9 @@ __metadata: linkType: hard "is-unicode-supported@npm:^2.0.0": - version: 2.0.0 - resolution: "is-unicode-supported@npm:2.0.0" - checksum: 10/000b80639dedaf59a385f1c0a57f97a4d1435e0723716f24cc19ad94253a7a0a9f838bdc9ac49b10a29ac93b01f52ae9b2ed358a8876caf1eb74d73b4ede92b2 + version: 2.1.0 + resolution: "is-unicode-supported@npm:2.1.0" + checksum: 10/f254e3da6b0ab1a57a94f7273a7798dd35d1d45b227759f600d0fa9d5649f9c07fa8d3c8a6360b0e376adf916d151ec24fc9a50c5295c58bae7ca54a76a063f9 languageName: node linkType: hard @@ -19350,7 +19142,7 @@ __metadata: languageName: node linkType: hard -"lines-and-columns@npm:^2.0.3, lines-and-columns@npm:~2.0.3": +"lines-and-columns@npm:^2.0.3": version: 2.0.4 resolution: "lines-and-columns@npm:2.0.4" checksum: 10/81ac2f943f5428a46bd4ea2561c74ba674a107d8e6cc70cd317d16892a36ff3ba0dc6e599aca8b6f8668d26c85288394c6edf7a40e985ca843acab3701b80d4c @@ -19932,7 +19724,7 @@ __metadata: languageName: node linkType: hard -"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0, lru-cache@npm:^10.2.2": +"lru-cache@npm:^10.0.1, lru-cache@npm:^10.2.0, lru-cache@npm:^10.2.2, lru-cache@npm:^10.4.3": version: 10.4.3 resolution: "lru-cache@npm:10.4.3" checksum: 10/e6e90267360476720fa8e83cc168aa2bf0311f3f2eea20a6ba78b90a885ae72071d9db132f40fda4129c803e7dcec3a6b6a6fbb44ca90b081630b810b5d6a41a @@ -20244,8 +20036,8 @@ __metadata: linkType: hard "mdast-util-mdx-jsx@npm:^3.0.0": - version: 3.1.2 - resolution: "mdast-util-mdx-jsx@npm:3.1.2" + version: 3.1.3 + resolution: "mdast-util-mdx-jsx@npm:3.1.3" dependencies: "@types/estree-jsx": "npm:^1.0.0" "@types/hast": "npm:^3.0.0" @@ -20257,10 +20049,9 @@ __metadata: mdast-util-to-markdown: "npm:^2.0.0" parse-entities: "npm:^4.0.0" stringify-entities: "npm:^4.0.0" - unist-util-remove-position: "npm:^5.0.0" unist-util-stringify-position: "npm:^4.0.0" vfile-message: "npm:^4.0.0" - checksum: 10/b0b457b0fd8b2c71ff4136eac04428e1cfb5ed65918948c899c5907ba41373fdf790f0c29f5aa0125e03bfde02444589a6c59006929a76a176648a053d79931b + checksum: 10/6c14f271f1380fd512038247f45887b7aa71bbf4acd8881651a317b61706b114f2582f62f7777d0eacd42c4a7b979802825c2a2fd8bb7c46a1ab931ccb1ddf3e languageName: node linkType: hard @@ -21535,7 +21326,7 @@ __metadata: languageName: node linkType: hard -"node-fetch-native@npm:^1.6.2, node-fetch-native@npm:^1.6.3, node-fetch-native@npm:^1.6.4": +"node-fetch-native@npm:^1.6.3, node-fetch-native@npm:^1.6.4": version: 1.6.4 resolution: "node-fetch-native@npm:1.6.4" checksum: 10/39c4c6d0c2a4bed1444943e1647ad0d79eb6638cf159bc37dffeafd22cffcf6a998e006aa1f3dd1d9d2258db7d78dee96b44bee4ba0bbaf0440ed348794f2543 @@ -22027,92 +21818,7 @@ __metadata: languageName: node linkType: hard -"nx@npm:19.6.5, nx@npm:>=17.1.2 < 20": - version: 19.6.5 - resolution: "nx@npm:19.6.5" - dependencies: - "@napi-rs/wasm-runtime": "npm:0.2.4" - "@nrwl/tao": "npm:19.6.5" - "@nx/nx-darwin-arm64": "npm:19.6.5" - "@nx/nx-darwin-x64": "npm:19.6.5" - "@nx/nx-freebsd-x64": "npm:19.6.5" - "@nx/nx-linux-arm-gnueabihf": "npm:19.6.5" - "@nx/nx-linux-arm64-gnu": "npm:19.6.5" - "@nx/nx-linux-arm64-musl": "npm:19.6.5" - "@nx/nx-linux-x64-gnu": "npm:19.6.5" - "@nx/nx-linux-x64-musl": "npm:19.6.5" - "@nx/nx-win32-arm64-msvc": "npm:19.6.5" - "@nx/nx-win32-x64-msvc": "npm:19.6.5" - "@yarnpkg/lockfile": "npm:^1.1.0" - "@yarnpkg/parsers": "npm:3.0.0-rc.46" - "@zkochan/js-yaml": "npm:0.0.7" - axios: "npm:^1.7.4" - chalk: "npm:^4.1.0" - cli-cursor: "npm:3.1.0" - cli-spinners: "npm:2.6.1" - cliui: "npm:^8.0.1" - dotenv: "npm:~16.4.5" - dotenv-expand: "npm:~11.0.6" - enquirer: "npm:~2.3.6" - figures: "npm:3.2.0" - flat: "npm:^5.0.2" - front-matter: "npm:^4.0.2" - fs-extra: "npm:^11.1.0" - ignore: "npm:^5.0.4" - jest-diff: "npm:^29.4.1" - jsonc-parser: "npm:3.2.0" - lines-and-columns: "npm:~2.0.3" - minimatch: "npm:9.0.3" - node-machine-id: "npm:1.1.12" - npm-run-path: "npm:^4.0.1" - open: "npm:^8.4.0" - ora: "npm:5.3.0" - semver: "npm:^7.5.3" - string-width: "npm:^4.2.3" - strong-log-transformer: "npm:^2.1.0" - tar-stream: "npm:~2.2.0" - tmp: "npm:~0.2.1" - tsconfig-paths: "npm:^4.1.2" - tslib: "npm:^2.3.0" - yargs: "npm:^17.6.2" - yargs-parser: "npm:21.1.1" - peerDependencies: - "@swc-node/register": ^1.8.0 - "@swc/core": ^1.3.85 - dependenciesMeta: - "@nx/nx-darwin-arm64": - optional: true - "@nx/nx-darwin-x64": - optional: true - "@nx/nx-freebsd-x64": - optional: true - "@nx/nx-linux-arm-gnueabihf": - optional: true - "@nx/nx-linux-arm64-gnu": - optional: true - "@nx/nx-linux-arm64-musl": - optional: true - "@nx/nx-linux-x64-gnu": - optional: true - "@nx/nx-linux-x64-musl": - optional: true - "@nx/nx-win32-arm64-msvc": - optional: true - "@nx/nx-win32-x64-msvc": - optional: true - peerDependenciesMeta: - "@swc-node/register": - optional: true - "@swc/core": - optional: true - bin: - nx: bin/nx.js - nx-cloud: bin/nx-cloud.js - checksum: 10/156ea4a83b5affd4120c2bab8ea98eeb52ca2dbbb425bc622282d141f161ef518fbbc57d832f2812cf225458314dd017007f6ab710b7e4a4f2fac3dfffedd1fa - languageName: node - linkType: hard - -"nx@npm:19.7.2": +"nx@npm:19.7.2, nx@npm:>=17.1.2 < 20": version: 19.7.2 resolution: "nx@npm:19.7.2" dependencies: @@ -22316,7 +22022,7 @@ __metadata: languageName: node linkType: hard -"ofetch@npm:^1.3.3": +"ofetch@npm:^1.3.3, ofetch@npm:^1.3.4": version: 1.3.4 resolution: "ofetch@npm:1.3.4" dependencies: @@ -23239,9 +22945,9 @@ __metadata: linkType: hard "picocolors@npm:^1.0.0, picocolors@npm:^1.0.1": - version: 1.0.1 - resolution: "picocolors@npm:1.0.1" - checksum: 10/fa68166d1f56009fc02a34cdfd112b0dd3cf1ef57667ac57281f714065558c01828cdf4f18600ad6851cbe0093952ed0660b1e0156bddf2184b6aaf5817553a5 + version: 1.1.0 + resolution: "picocolors@npm:1.1.0" + checksum: 10/a2ad60d94d185c30f2a140b19c512547713fb89b920d32cc6cf658fa786d63a37ba7b8451872c3d9fc34883971fb6e5878e07a20b60506e0bb2554dce9169ccb languageName: node linkType: hard @@ -23316,8 +23022,8 @@ __metadata: linkType: hard "pino@npm:^9.0.0": - version: 9.3.2 - resolution: "pino@npm:9.3.2" + version: 9.4.0 + resolution: "pino@npm:9.4.0" dependencies: atomic-sleep: "npm:^1.0.0" fast-redact: "npm:^3.1.1" @@ -23332,7 +23038,7 @@ __metadata: thread-stream: "npm:^3.0.0" bin: pino: bin.js - checksum: 10/9333895e65c11809240dac7a365985e7789b344c902c811fa4df200cf96293a67787f1e1a55cf4a720feb757a48c2eb55b042d85b200c7b9c62c4b42e71a1018 + checksum: 10/1c730c216052bab277cab619da8fb9ef916fd29c7aee66e0a6e0c089cb41713df6a9071517755e3bef0ca3160629fd85d22c8f9d277e41ce332c91999e073146 languageName: node linkType: hard @@ -23634,7 +23340,7 @@ __metadata: languageName: node linkType: hard -"postcss@npm:8.4.45, postcss@npm:^8.4.43": +"postcss@npm:8.4.45, postcss@npm:^8.4.23, postcss@npm:^8.4.32, postcss@npm:^8.4.33, postcss@npm:^8.4.41, postcss@npm:^8.4.43": version: 8.4.45 resolution: "postcss@npm:8.4.45" dependencies: @@ -23645,17 +23351,6 @@ __metadata: languageName: node linkType: hard -"postcss@npm:^8.4.23, postcss@npm:^8.4.32, postcss@npm:^8.4.33, postcss@npm:^8.4.41": - version: 8.4.44 - resolution: "postcss@npm:8.4.44" - dependencies: - nanoid: "npm:^3.3.7" - picocolors: "npm:^1.0.1" - source-map-js: "npm:^1.2.0" - checksum: 10/aac7ed383fdcde9def6ed814ee03bc3de68b345e3f9bea414df2daca08185b6cfb4044fe9f67e1d9e886f29642373b34fd4fde5976204ca66a5481859afdcb7d - languageName: node - linkType: hard - "prebuild-install@npm:^7.1.1": version: 7.1.2 resolution: "prebuild-install@npm:7.1.2" @@ -23871,9 +23566,9 @@ __metadata: linkType: hard "promise-call-limit@npm:^3.0.1": - version: 3.0.1 - resolution: "promise-call-limit@npm:3.0.1" - checksum: 10/f1b3c4d3a9c5482ce27ec5f40311e1389adb9bb10c16166e61c96d29ab22c701691d5225bf6745a162858f45dfb46cc82275fd09e7aa57846fc446c7855c2f06 + version: 3.0.2 + resolution: "promise-call-limit@npm:3.0.2" + checksum: 10/e1e2d57658bd57574959bd89733958f4e6940a6a5788d2f380a81f62f5660f88f93a7dd9f9eb3d09dc7c4927387e25c00ca941a3bdfce8fb050987d2d0ffe59a languageName: node linkType: hard @@ -24012,7 +23707,7 @@ __metadata: languageName: node linkType: hard -"pump@npm:3.0.0, pump@npm:^3.0.0": +"pump@npm:3.0.0": version: 3.0.0 resolution: "pump@npm:3.0.0" dependencies: @@ -24032,6 +23727,16 @@ __metadata: languageName: node linkType: hard +"pump@npm:^3.0.0": + version: 3.0.2 + resolution: "pump@npm:3.0.2" + dependencies: + end-of-stream: "npm:^1.1.0" + once: "npm:^1.3.1" + checksum: 10/e0c4216874b96bd25ddf31a0b61a5613e26cc7afa32379217cf39d3915b0509def3565f5f6968fafdad2894c8bbdbd67d340e84f3634b2a29b950cffb6442d9f + languageName: node + linkType: hard + "punycode@npm:^2.1.0, punycode@npm:^2.1.1, punycode@npm:^2.3.1": version: 2.3.1 resolution: "punycode@npm:2.3.1" @@ -24656,11 +24361,11 @@ __metadata: linkType: hard "regenerate-unicode-properties@npm:^10.1.0": - version: 10.1.1 - resolution: "regenerate-unicode-properties@npm:10.1.1" + version: 10.2.0 + resolution: "regenerate-unicode-properties@npm:10.2.0" dependencies: regenerate: "npm:^1.4.2" - checksum: 10/b855152efdcca0ecc37ceb0cb6647a544344555fc293af3b57191b918e1bc9c95ee404a9a64a1d692bf66d45850942c29d93f2740c0d1980d3a8ea2ca63b184e + checksum: 10/9150eae6fe04a8c4f2ff06077396a86a98e224c8afad8344b1b656448e89e84edcd527e4b03aa5476774129eb6ad328ed684f9c1459794a935ec0cc17ce14329 languageName: node linkType: hard @@ -26011,7 +25716,7 @@ __metadata: languageName: node linkType: hard -"rollup@npm:4.21.2, rollup@npm:^4.19.0": +"rollup@npm:4.21.2": version: 4.21.2 resolution: "rollup@npm:4.21.2" dependencies: @@ -26074,26 +25779,26 @@ __metadata: languageName: node linkType: hard -"rollup@npm:^4.20.0": - version: 4.21.0 - resolution: "rollup@npm:4.21.0" - dependencies: - "@rollup/rollup-android-arm-eabi": "npm:4.21.0" - "@rollup/rollup-android-arm64": "npm:4.21.0" - "@rollup/rollup-darwin-arm64": "npm:4.21.0" - "@rollup/rollup-darwin-x64": "npm:4.21.0" - "@rollup/rollup-linux-arm-gnueabihf": "npm:4.21.0" - "@rollup/rollup-linux-arm-musleabihf": "npm:4.21.0" - "@rollup/rollup-linux-arm64-gnu": "npm:4.21.0" - "@rollup/rollup-linux-arm64-musl": "npm:4.21.0" - "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.21.0" - "@rollup/rollup-linux-riscv64-gnu": "npm:4.21.0" - "@rollup/rollup-linux-s390x-gnu": "npm:4.21.0" - "@rollup/rollup-linux-x64-gnu": "npm:4.21.0" - "@rollup/rollup-linux-x64-musl": "npm:4.21.0" - "@rollup/rollup-win32-arm64-msvc": "npm:4.21.0" - "@rollup/rollup-win32-ia32-msvc": "npm:4.21.0" - "@rollup/rollup-win32-x64-msvc": "npm:4.21.0" +"rollup@npm:^4.19.0, rollup@npm:^4.20.0": + version: 4.21.3 + resolution: "rollup@npm:4.21.3" + dependencies: + "@rollup/rollup-android-arm-eabi": "npm:4.21.3" + "@rollup/rollup-android-arm64": "npm:4.21.3" + "@rollup/rollup-darwin-arm64": "npm:4.21.3" + "@rollup/rollup-darwin-x64": "npm:4.21.3" + "@rollup/rollup-linux-arm-gnueabihf": "npm:4.21.3" + "@rollup/rollup-linux-arm-musleabihf": "npm:4.21.3" + "@rollup/rollup-linux-arm64-gnu": "npm:4.21.3" + "@rollup/rollup-linux-arm64-musl": "npm:4.21.3" + "@rollup/rollup-linux-powerpc64le-gnu": "npm:4.21.3" + "@rollup/rollup-linux-riscv64-gnu": "npm:4.21.3" + "@rollup/rollup-linux-s390x-gnu": "npm:4.21.3" + "@rollup/rollup-linux-x64-gnu": "npm:4.21.3" + "@rollup/rollup-linux-x64-musl": "npm:4.21.3" + "@rollup/rollup-win32-arm64-msvc": "npm:4.21.3" + "@rollup/rollup-win32-ia32-msvc": "npm:4.21.3" + "@rollup/rollup-win32-x64-msvc": "npm:4.21.3" "@types/estree": "npm:1.0.5" fsevents: "npm:~2.3.2" dependenciesMeta: @@ -26133,14 +25838,7 @@ __metadata: optional: true bin: rollup: dist/bin/rollup - checksum: 10/27ac47d5049719249d2a44982e31f01423158a3625cabff2f2362219aee64bdc14c32572b669169c22c324c3a965044ce8f06e27eee00fd8802861cd13697f87 - languageName: node - linkType: hard - -"rrweb-cssom@npm:^0.6.0": - version: 0.6.0 - resolution: "rrweb-cssom@npm:0.6.0" - checksum: 10/5411836a4a78d6b68480767b8312de291f32d5710a278343954a778e5b420eaf13c90d9d2a942acf4718ddf497baa75ce653a314b332a380b6eaae1dee72257e + checksum: 10/60a1d6548fa1e612209f9f98f83c73a213f27569abddcbfb246af08455d730f367d95f6bd541b58c9e1e643c181463db27326c712aa81efd4071372a4d3481b9 languageName: node linkType: hard @@ -26526,15 +26224,15 @@ __metadata: languageName: node linkType: hard -"serve-static@npm:1.16.0": - version: 1.16.0 - resolution: "serve-static@npm:1.16.0" +"serve-static@npm:1.16.2": + version: 1.16.2 + resolution: "serve-static@npm:1.16.2" dependencies: - encodeurl: "npm:~1.0.2" + encodeurl: "npm:~2.0.0" escape-html: "npm:~1.0.3" parseurl: "npm:~1.3.3" - send: "npm:0.18.0" - checksum: 10/29a01f67e8c64a359d49dd0c46bc95bb4aa99781f97845dccbf0c8cd0284c5fd79ad7fb9433a36fac4b6c58b577d3eab314a379142412413b8b5cd73be3cd551 + send: "npm:0.19.0" + checksum: 10/7fa9d9c68090f6289976b34fc13c50ac8cd7f16ae6bce08d16459300f7fc61fbc2d7ebfa02884c073ec9d6ab9e7e704c89561882bbe338e99fcacb2912fde737 languageName: node linkType: hard @@ -26897,9 +26595,9 @@ __metadata: linkType: hard "source-map-js@npm:>=0.6.2 <2.0.0, source-map-js@npm:^1.0.1, source-map-js@npm:^1.0.2, source-map-js@npm:^1.2.0": - version: 1.2.0 - resolution: "source-map-js@npm:1.2.0" - checksum: 10/74f331cfd2d121c50790c8dd6d3c9de6be21926de80583b23b37029b0f37aefc3e019fa91f9a10a5e120c08135297e1ecf312d561459c45908cb1e0e365f49e5 + version: 1.2.1 + resolution: "source-map-js@npm:1.2.1" + checksum: 10/ff9d8c8bf096d534a5b7707e0382ef827b4dd360a577d3f34d2b9f48e12c9d230b5747974ee7c607f0df65113732711bb701fe9ece3c7edbd43cb2294d707df3 languageName: node linkType: hard @@ -27268,9 +26966,9 @@ __metadata: languageName: node linkType: hard -"streamx@npm:^2.15.0, streamx@npm:^2.18.0": - version: 2.20.0 - resolution: "streamx@npm:2.20.0" +"streamx@npm:^2.15.0, streamx@npm:^2.20.0": + version: 2.20.1 + resolution: "streamx@npm:2.20.1" dependencies: bare-events: "npm:^2.2.0" fast-fifo: "npm:^1.3.2" @@ -27279,7 +26977,7 @@ __metadata: dependenciesMeta: bare-events: optional: true - checksum: 10/635fe73c6cacc95a9932e338905781ce1aaa200b3a4935afaa873ff69be867f820e7e0dfe98d1b553b5ed1f5311a36e8158a6b748e41f3bd15a6a29ecc33b97d + checksum: 10/3c69a48c4f397fb8a9460d1a780ece352849a4719a8938a866879dd1773098121882c3c2b99b9c7f605a123461d8ab2e652fd22c13ccda18f79e234e78ec7ed7 languageName: node linkType: hard @@ -28241,8 +27939,8 @@ __metadata: linkType: hard "terser@npm:^5.17.4, terser@npm:^5.26.0": - version: 5.31.6 - resolution: "terser@npm:5.31.6" + version: 5.32.0 + resolution: "terser@npm:5.32.0" dependencies: "@jridgewell/source-map": "npm:^0.3.3" acorn: "npm:^8.8.2" @@ -28250,7 +27948,7 @@ __metadata: source-map-support: "npm:~0.5.20" bin: terser: bin/terser - checksum: 10/78057c58025151c9bdad82a050f0b51175f9fe3117d8ee369ca7effe038cdd540da2fd5985a4f8ee08dba5616e7911e1392d40670698ff42a49fec338d369e80 + checksum: 10/b398e37509e64665da233502911f3b32046656a569b1814e0c9944141f0484b3e4d13985faf5c8610dff2d27c2636dd30bab55cab3d8e14080ae273131fb5754 languageName: node linkType: hard @@ -28266,11 +27964,11 @@ __metadata: linkType: hard "text-decoder@npm:^1.1.0": - version: 1.1.1 - resolution: "text-decoder@npm:1.1.1" + version: 1.2.0 + resolution: "text-decoder@npm:1.2.0" dependencies: b4a: "npm:^1.6.4" - checksum: 10/c6981b93850daeafc8bd1dbd8f984d4fb2d14632f450de0892692b5bbee2d2f4cbef8a807142527370649fd357f58491ede4915d43669eca624cb52b8dd247b6 + checksum: 10/56e5b2f5278ef7dba29e5195f715c307819c523accab5d1470128566c5e5a0918b8d22cf7efc72ad34a537929f0b18d7588e287e94c0bb2affe171ec631f821f languageName: node linkType: hard @@ -28877,9 +28575,9 @@ __metadata: linkType: hard "type-fest@npm:^4.18.2, type-fest@npm:^4.6.0, type-fest@npm:^4.7.1": - version: 4.26.0 - resolution: "type-fest@npm:4.26.0" - checksum: 10/f5fe86d2c3db693f7154c8ab0d228a89394e4c446f2ed30ea3b61afaea9757c87c4e79475ef8d6f5fafbd7a4efd302e3b0237d9657dd425228f20a27feee3aef + version: 4.26.1 + resolution: "type-fest@npm:4.26.1" + checksum: 10/b82676194f80af228cb852e320d2ea8381c89d667d2e4d9f2bdfc8f254bccc039c7741a90c53617a4de0c9fdca8265ed18eb0888cd628f391c5c381c33a9f94b languageName: node linkType: hard @@ -29072,9 +28770,9 @@ __metadata: linkType: hard "unicode-canonical-property-names-ecmascript@npm:^2.0.0": - version: 2.0.0 - resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.0" - checksum: 10/39be078afd014c14dcd957a7a46a60061bc37c4508ba146517f85f60361acf4c7539552645ece25de840e17e293baa5556268d091ca6762747fdd0c705001a45 + version: 2.0.1 + resolution: "unicode-canonical-property-names-ecmascript@npm:2.0.1" + checksum: 10/3c3dabdb1d22aef4904399f9e810d0b71c0b12b3815169d96fac97e56d5642840c6071cf709adcace2252bc6bb80242396c2ec74b37224eb015c5f7aca40bad7 languageName: node linkType: hard @@ -29089,9 +28787,9 @@ __metadata: linkType: hard "unicode-match-property-value-ecmascript@npm:^2.1.0": - version: 2.1.0 - resolution: "unicode-match-property-value-ecmascript@npm:2.1.0" - checksum: 10/06661bc8aba2a60c7733a7044f3e13085808939ad17924ffd4f5222a650f88009eb7c09481dc9c15cfc593d4ad99bd1cde8d54042733b335672591a81c52601c + version: 2.2.0 + resolution: "unicode-match-property-value-ecmascript@npm:2.2.0" + checksum: 10/9fd53c657aefe5d3cb8208931b4c34fbdb30bb5aa9a6c6bf744e2f3036f00b8889eeaf30cb55a873b76b6ee8b5801ea770e1c49b3352141309f58f0ebb3011d8 languageName: node linkType: hard @@ -29288,16 +28986,6 @@ __metadata: languageName: node linkType: hard -"unist-util-remove-position@npm:^5.0.0": - version: 5.0.0 - resolution: "unist-util-remove-position@npm:5.0.0" - dependencies: - "@types/unist": "npm:^3.0.0" - unist-util-visit: "npm:^5.0.0" - checksum: 10/4d89dc25e2091f9d47d92552145a26bf0e4a32d6b453e9cacac7742d730ada186ee1b820579fee3eeaa31e119850c2cb82f8b5898f977a636d7220e998626967 - languageName: node - linkType: hard - "unist-util-stringify-position@npm:^3.0.0": version: 3.0.3 resolution: "unist-util-stringify-position@npm:3.0.3" @@ -29393,13 +29081,17 @@ __metadata: linkType: hard "unplugin@npm:^1.3.1": - version: 1.12.3 - resolution: "unplugin@npm:1.12.3" + version: 1.14.1 + resolution: "unplugin@npm:1.14.1" dependencies: acorn: "npm:^8.12.1" - webpack-sources: "npm:^3.2.3" webpack-virtual-modules: "npm:^0.6.2" - checksum: 10/adfd881073327ee0c12db9e13d4e9a5ab4c8117e1ffd474454e897cb068e94d71931b1c9ef265ef94dcadb7d759616b6e46578caf1e8c7ed4b882c081ef1efba + peerDependencies: + webpack-sources: ^3 + peerDependenciesMeta: + webpack-sources: + optional: true + checksum: 10/ad82ec5b8de5ae4fb7d24f8ed7d71071e15855d335365d7ab6f2e074d5d666589dd52e9f2a16017da19d7c43f60e50e09bc529420bf9f29ac7c90cc3cf13ef28 languageName: node linkType: hard @@ -29411,33 +29103,33 @@ __metadata: linkType: hard "unstorage@npm:^1.10.1": - version: 1.10.2 - resolution: "unstorage@npm:1.10.2" + version: 1.12.0 + resolution: "unstorage@npm:1.12.0" dependencies: anymatch: "npm:^3.1.3" chokidar: "npm:^3.6.0" destr: "npm:^2.0.3" - h3: "npm:^1.11.1" + h3: "npm:^1.12.0" listhen: "npm:^1.7.2" - lru-cache: "npm:^10.2.0" + lru-cache: "npm:^10.4.3" mri: "npm:^1.2.0" - node-fetch-native: "npm:^1.6.2" - ofetch: "npm:^1.3.3" - ufo: "npm:^1.4.0" + node-fetch-native: "npm:^1.6.4" + ofetch: "npm:^1.3.4" + ufo: "npm:^1.5.4" peerDependencies: - "@azure/app-configuration": ^1.5.0 - "@azure/cosmos": ^4.0.0 + "@azure/app-configuration": ^1.7.0 + "@azure/cosmos": ^4.1.1 "@azure/data-tables": ^13.2.2 - "@azure/identity": ^4.0.1 + "@azure/identity": ^4.4.1 "@azure/keyvault-secrets": ^4.8.0 - "@azure/storage-blob": ^12.17.0 - "@capacitor/preferences": ^5.0.7 + "@azure/storage-blob": ^12.24.0 + "@capacitor/preferences": ^6.0.2 "@netlify/blobs": ^6.5.0 || ^7.0.0 - "@planetscale/database": ^1.16.0 - "@upstash/redis": ^1.28.4 + "@planetscale/database": ^1.19.0 + "@upstash/redis": ^1.34.0 "@vercel/kv": ^1.0.1 idb-keyval: ^6.2.1 - ioredis: ^5.3.2 + ioredis: ^5.4.1 peerDependenciesMeta: "@azure/app-configuration": optional: true @@ -29465,7 +29157,7 @@ __metadata: optional: true ioredis: optional: true - checksum: 10/2ed14d4755447fbb383e98294ca383ec19fdcfbff1c6a46a6d5cf3c322e2f77eb9b71e8a135338daa32229adb6d087076c5321d44674bf1fd6df0b3e00b10f78 + checksum: 10/b648d79e9913a87152228a080355d9ccf780900eb78bd32f8dab9cc55eb66ab45876e9fc1ed49f1c7a4171600e78c33430e2527740d991df9d071872409b9c37 languageName: node linkType: hard @@ -29857,13 +29549,12 @@ __metadata: linkType: hard "vfile@npm:^6.0.0": - version: 6.0.2 - resolution: "vfile@npm:6.0.2" + version: 6.0.3 + resolution: "vfile@npm:6.0.3" dependencies: "@types/unist": "npm:^3.0.0" - unist-util-stringify-position: "npm:^4.0.0" vfile-message: "npm:^4.0.0" - checksum: 10/8c36b4887b071aa9215a16c96916e96e75f3f3516cb87fa7ba1ec79fda3a1d87b66068e56b73f01c249b8fefa897dc52e3a6c736fd1053133ad3920f33482756 + checksum: 10/a5a85293c9eb8787aa42e180edaef00c13199a493d6ed82fecf13ab29a68526850788e22434d77808ea6b17a74e03ff899b9b4711df5b9eee75afcddd7c2e1fb languageName: node linkType: hard @@ -29905,7 +29596,7 @@ __metadata: languageName: node linkType: hard -"vite@npm:5.4.4": +"vite@npm:5.4.4, vite@npm:^5.0.0": version: 5.4.4 resolution: "vite@npm:5.4.4" dependencies: @@ -29948,49 +29639,6 @@ __metadata: languageName: node linkType: hard -"vite@npm:^5.0.0": - version: 5.4.2 - resolution: "vite@npm:5.4.2" - dependencies: - esbuild: "npm:^0.21.3" - fsevents: "npm:~2.3.3" - postcss: "npm:^8.4.41" - rollup: "npm:^4.20.0" - peerDependencies: - "@types/node": ^18.0.0 || >=20.0.0 - less: "*" - lightningcss: ^1.21.0 - sass: "*" - sass-embedded: "*" - stylus: "*" - sugarss: "*" - terser: ^5.4.0 - dependenciesMeta: - fsevents: - optional: true - peerDependenciesMeta: - "@types/node": - optional: true - less: - optional: true - lightningcss: - optional: true - sass: - optional: true - sass-embedded: - optional: true - stylus: - optional: true - sugarss: - optional: true - terser: - optional: true - bin: - vite: bin/vite.js - checksum: 10/c449f9295060fa88c9b5cc1bd17c2de198deae596b7da1250db9662fb15e7b21e0dbe9a40a9106fb7438b1231494b169457e809ecbb65e732648d87dd284ab23 - languageName: node - linkType: hard - "vue-template-compiler@npm:^2.7.14": version: 2.7.16 resolution: "vue-template-compiler@npm:2.7.16" @@ -30727,25 +30375,7 @@ __metadata: languageName: node linkType: hard -"yaml@npm:^2.0.0": - version: 2.5.0 - resolution: "yaml@npm:2.5.0" - bin: - yaml: bin.mjs - checksum: 10/72e903fdbe3742058885205db4a6c9ff38e5f497f4e05e631264f7756083c05e7d10dfb5e4ce9d7a95de95338f9b20d19dd0b91c60c65f7d7608b6b3929820ad - languageName: node - linkType: hard - -"yaml@npm:^2.1.3, yaml@npm:^2.2.2, yaml@npm:^2.4.2": - version: 2.4.5 - resolution: "yaml@npm:2.4.5" - bin: - yaml: bin.mjs - checksum: 10/b09bf5a615a65276d433d76b8e34ad6b4c0320b85eb3f1a39da132c61ae6e2ff34eff4624e6458d96d49566c93cf43408ba5e568218293a8c6541a2006883f64 - languageName: node - linkType: hard - -"yaml@npm:~2.5.0": +"yaml@npm:^2.0.0, yaml@npm:^2.1.3, yaml@npm:^2.2.2, yaml@npm:^2.4.2, yaml@npm:~2.5.0": version: 2.5.1 resolution: "yaml@npm:2.5.1" bin: