@choco-vanille/theme 0.0.0-stage → 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +192 -2
  3. package/dist/index.cjs +1 -0
  4. package/dist/index.d.cts +2669 -0
  5. package/dist/index.d.ts +2669 -0
  6. package/dist/index.js +17 -0
  7. package/dist/styles.css +2 -0
  8. package/dist/theme/constants/index.cjs +2 -0
  9. package/dist/theme/constants/index.cjs.map +1 -0
  10. package/dist/theme/constants/index.js +9 -0
  11. package/dist/theme/constants/index.js.map +1 -0
  12. package/dist/theme/flavors/contrast/constants/index.cjs +2 -0
  13. package/dist/theme/flavors/contrast/constants/index.cjs.map +1 -0
  14. package/dist/theme/flavors/contrast/constants/index.js +58 -0
  15. package/dist/theme/flavors/contrast/constants/index.js.map +1 -0
  16. package/dist/theme/flavors/contrast/contrastFlavor.const.cjs +2 -0
  17. package/dist/theme/flavors/contrast/contrastFlavor.const.cjs.map +1 -0
  18. package/dist/theme/flavors/contrast/contrastFlavor.const.js +139 -0
  19. package/dist/theme/flavors/contrast/contrastFlavor.const.js.map +1 -0
  20. package/dist/theme/flavors/contrast/utils/createContrastIntents.utils.cjs +2 -0
  21. package/dist/theme/flavors/contrast/utils/createContrastIntents.utils.cjs.map +1 -0
  22. package/dist/theme/flavors/contrast/utils/createContrastIntents.utils.js +20 -0
  23. package/dist/theme/flavors/contrast/utils/createContrastIntents.utils.js.map +1 -0
  24. package/dist/theme/flavors/default/constants/index.cjs +2 -0
  25. package/dist/theme/flavors/default/constants/index.cjs.map +1 -0
  26. package/dist/theme/flavors/default/constants/index.js +58 -0
  27. package/dist/theme/flavors/default/constants/index.js.map +1 -0
  28. package/dist/theme/flavors/default/defaultDarkTheme.const.cjs +2 -0
  29. package/dist/theme/flavors/default/defaultDarkTheme.const.cjs.map +1 -0
  30. package/dist/theme/flavors/default/defaultDarkTheme.const.js +104 -0
  31. package/dist/theme/flavors/default/defaultDarkTheme.const.js.map +1 -0
  32. package/dist/theme/flavors/default/defaultFlavor.const.cjs +2 -0
  33. package/dist/theme/flavors/default/defaultFlavor.const.cjs.map +1 -0
  34. package/dist/theme/flavors/default/defaultFlavor.const.js +12 -0
  35. package/dist/theme/flavors/default/defaultFlavor.const.js.map +1 -0
  36. package/dist/theme/flavors/default/defaultLightTheme.const.cjs +2 -0
  37. package/dist/theme/flavors/default/defaultLightTheme.const.cjs.map +1 -0
  38. package/dist/theme/flavors/default/defaultLightTheme.const.js +104 -0
  39. package/dist/theme/flavors/default/defaultLightTheme.const.js.map +1 -0
  40. package/dist/theme/flavors/neutral/neutralFlavor.const.cjs +2 -0
  41. package/dist/theme/flavors/neutral/neutralFlavor.const.cjs.map +1 -0
  42. package/dist/theme/flavors/neutral/neutralFlavor.const.js +32 -0
  43. package/dist/theme/flavors/neutral/neutralFlavor.const.js.map +1 -0
  44. package/dist/theme/styles/themes.css.cjs +1 -0
  45. package/dist/theme/styles/themes.css.js +1 -0
  46. package/dist/theme/styles/vars.css.cjs +2 -0
  47. package/dist/theme/styles/vars.css.cjs.map +1 -0
  48. package/dist/theme/styles/vars.css.js +360 -0
  49. package/dist/theme/styles/vars.css.js.map +1 -0
  50. package/dist/theme/theme-provider/ThemeProvider.cjs +2 -0
  51. package/dist/theme/theme-provider/ThemeProvider.cjs.map +1 -0
  52. package/dist/theme/theme-provider/ThemeProvider.css.cjs +2 -0
  53. package/dist/theme/theme-provider/ThemeProvider.css.cjs.map +1 -0
  54. package/dist/theme/theme-provider/ThemeProvider.css.js +6 -0
  55. package/dist/theme/theme-provider/ThemeProvider.css.js.map +1 -0
  56. package/dist/theme/theme-provider/ThemeProvider.js +45 -0
  57. package/dist/theme/theme-provider/ThemeProvider.js.map +1 -0
  58. package/dist/theme/theme-provider/constants/index.cjs +2 -0
  59. package/dist/theme/theme-provider/constants/index.cjs.map +1 -0
  60. package/dist/theme/theme-provider/constants/index.js +13 -0
  61. package/dist/theme/theme-provider/constants/index.js.map +1 -0
  62. package/dist/theme/theme-provider/contexts/FlavorRegistryContext.cjs +2 -0
  63. package/dist/theme/theme-provider/contexts/FlavorRegistryContext.cjs.map +1 -0
  64. package/dist/theme/theme-provider/contexts/FlavorRegistryContext.js +6 -0
  65. package/dist/theme/theme-provider/contexts/FlavorRegistryContext.js.map +1 -0
  66. package/dist/theme/theme-provider/contexts/ThemeContext.cjs +2 -0
  67. package/dist/theme/theme-provider/contexts/ThemeContext.cjs.map +1 -0
  68. package/dist/theme/theme-provider/contexts/ThemeContext.js +6 -0
  69. package/dist/theme/theme-provider/contexts/ThemeContext.js.map +1 -0
  70. package/dist/theme/theme-provider/contexts/ThemeSetterContext.cjs +2 -0
  71. package/dist/theme/theme-provider/contexts/ThemeSetterContext.cjs.map +1 -0
  72. package/dist/theme/theme-provider/contexts/ThemeSetterContext.js +6 -0
  73. package/dist/theme/theme-provider/contexts/ThemeSetterContext.js.map +1 -0
  74. package/dist/theme/theme-provider/hooks/use-controllable-selection/useControllableSelection.hook.cjs +2 -0
  75. package/dist/theme/theme-provider/hooks/use-controllable-selection/useControllableSelection.hook.cjs.map +1 -0
  76. package/dist/theme/theme-provider/hooks/use-controllable-selection/useControllableSelection.hook.js +41 -0
  77. package/dist/theme/theme-provider/hooks/use-controllable-selection/useControllableSelection.hook.js.map +1 -0
  78. package/dist/theme/theme-provider/hooks/use-document-scope/useDocumentScope.hook.cjs +2 -0
  79. package/dist/theme/theme-provider/hooks/use-document-scope/useDocumentScope.hook.cjs.map +1 -0
  80. package/dist/theme/theme-provider/hooks/use-document-scope/useDocumentScope.hook.js +30 -0
  81. package/dist/theme/theme-provider/hooks/use-document-scope/useDocumentScope.hook.js.map +1 -0
  82. package/dist/theme/theme-provider/hooks/use-flavor-registry/useFlavorRegistry.hook.cjs +2 -0
  83. package/dist/theme/theme-provider/hooks/use-flavor-registry/useFlavorRegistry.hook.cjs.map +1 -0
  84. package/dist/theme/theme-provider/hooks/use-flavor-registry/useFlavorRegistry.hook.js +30 -0
  85. package/dist/theme/theme-provider/hooks/use-flavor-registry/useFlavorRegistry.hook.js.map +1 -0
  86. package/dist/theme/theme-provider/hooks/use-flavor-registry/utils/areFlavorListsEqual.utils.cjs +2 -0
  87. package/dist/theme/theme-provider/hooks/use-flavor-registry/utils/areFlavorListsEqual.utils.cjs.map +1 -0
  88. package/dist/theme/theme-provider/hooks/use-flavor-registry/utils/areFlavorListsEqual.utils.js +5 -0
  89. package/dist/theme/theme-provider/hooks/use-flavor-registry/utils/areFlavorListsEqual.utils.js.map +1 -0
  90. package/dist/theme/theme-provider/hooks/use-theme-provider/useThemeProvider.hook.cjs +2 -0
  91. package/dist/theme/theme-provider/hooks/use-theme-provider/useThemeProvider.hook.cjs.map +1 -0
  92. package/dist/theme/theme-provider/hooks/use-theme-provider/useThemeProvider.hook.js +80 -0
  93. package/dist/theme/theme-provider/hooks/use-theme-provider/useThemeProvider.hook.js.map +1 -0
  94. package/dist/theme/theme-provider/hooks/use-token-styles/useTokenStyles.hook.cjs +2 -0
  95. package/dist/theme/theme-provider/hooks/use-token-styles/useTokenStyles.hook.cjs.map +1 -0
  96. package/dist/theme/theme-provider/hooks/use-token-styles/useTokenStyles.hook.js +11 -0
  97. package/dist/theme/theme-provider/hooks/use-token-styles/useTokenStyles.hook.js.map +1 -0
  98. package/dist/theme/theme-provider/hooks/use-token-styles/utils/areTokenStylesEqual.utils.cjs +2 -0
  99. package/dist/theme/theme-provider/hooks/use-token-styles/utils/areTokenStylesEqual.utils.cjs.map +1 -0
  100. package/dist/theme/theme-provider/hooks/use-token-styles/utils/areTokenStylesEqual.utils.js +8 -0
  101. package/dist/theme/theme-provider/hooks/use-token-styles/utils/areTokenStylesEqual.utils.js.map +1 -0
  102. package/dist/theme/theme-provider/hooks/useResolvedTheme.hook.cjs +2 -0
  103. package/dist/theme/theme-provider/hooks/useResolvedTheme.hook.cjs.map +1 -0
  104. package/dist/theme/theme-provider/hooks/useResolvedTheme.hook.js +13 -0
  105. package/dist/theme/theme-provider/hooks/useResolvedTheme.hook.js.map +1 -0
  106. package/dist/theme/theme-provider/hooks/useSetTheme.hook.cjs +2 -0
  107. package/dist/theme/theme-provider/hooks/useSetTheme.hook.cjs.map +1 -0
  108. package/dist/theme/theme-provider/hooks/useSetTheme.hook.js +11 -0
  109. package/dist/theme/theme-provider/hooks/useSetTheme.hook.js.map +1 -0
  110. package/dist/theme/theme-provider/hooks/useTheme.hook.cjs +2 -0
  111. package/dist/theme/theme-provider/hooks/useTheme.hook.cjs.map +1 -0
  112. package/dist/theme/theme-provider/hooks/useTheme.hook.js +11 -0
  113. package/dist/theme/theme-provider/hooks/useTheme.hook.js.map +1 -0
  114. package/dist/theme/theme-provider/utils/createFlavorValidator.utils.cjs +2 -0
  115. package/dist/theme/theme-provider/utils/createFlavorValidator.utils.cjs.map +1 -0
  116. package/dist/theme/theme-provider/utils/createFlavorValidator.utils.js +11 -0
  117. package/dist/theme/theme-provider/utils/createFlavorValidator.utils.js.map +1 -0
  118. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/getFlavorStylesheet.utils.cjs +2 -0
  119. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/getFlavorStylesheet.utils.cjs.map +1 -0
  120. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/getFlavorStylesheet.utils.js +15 -0
  121. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/getFlavorStylesheet.utils.js.map +1 -0
  122. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/utils/hashString.utils.cjs +2 -0
  123. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/utils/hashString.utils.cjs.map +1 -0
  124. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/utils/hashString.utils.js +9 -0
  125. package/dist/theme/theme-provider/utils/get-flavor-stylesheet/utils/hashString.utils.js.map +1 -0
  126. package/dist/theme/theme-provider/utils/getReferencedFlavors.utils.cjs +2 -0
  127. package/dist/theme/theme-provider/utils/getReferencedFlavors.utils.cjs.map +1 -0
  128. package/dist/theme/theme-provider/utils/getReferencedFlavors.utils.js +6 -0
  129. package/dist/theme/theme-provider/utils/getReferencedFlavors.utils.js.map +1 -0
  130. package/dist/theme/theme-provider/utils/getServerSystemTheme.utils.cjs +2 -0
  131. package/dist/theme/theme-provider/utils/getServerSystemTheme.utils.cjs.map +1 -0
  132. package/dist/theme/theme-provider/utils/getServerSystemTheme.utils.js +5 -0
  133. package/dist/theme/theme-provider/utils/getServerSystemTheme.utils.js.map +1 -0
  134. package/dist/theme/theme-provider/utils/getSystemTheme.utils.cjs +2 -0
  135. package/dist/theme/theme-provider/utils/getSystemTheme.utils.cjs.map +1 -0
  136. package/dist/theme/theme-provider/utils/getSystemTheme.utils.js +6 -0
  137. package/dist/theme/theme-provider/utils/getSystemTheme.utils.js.map +1 -0
  138. package/dist/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.cjs +2 -0
  139. package/dist/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.cjs.map +1 -0
  140. package/dist/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.js +33 -0
  141. package/dist/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.js.map +1 -0
  142. package/dist/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.cjs +2 -0
  143. package/dist/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.cjs.map +1 -0
  144. package/dist/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.js +16 -0
  145. package/dist/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.js.map +1 -0
  146. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.cjs +2 -0
  147. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.cjs.map +1 -0
  148. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.js +7 -0
  149. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.js.map +1 -0
  150. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.cjs +2 -0
  151. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.cjs.map +1 -0
  152. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.js +7 -0
  153. package/dist/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.js.map +1 -0
  154. package/dist/theme/theme-provider/utils/subscribeToNothing.utils.cjs +2 -0
  155. package/dist/theme/theme-provider/utils/subscribeToNothing.utils.cjs.map +1 -0
  156. package/dist/theme/theme-provider/utils/subscribeToNothing.utils.js +5 -0
  157. package/dist/theme/theme-provider/utils/subscribeToNothing.utils.js.map +1 -0
  158. package/dist/theme/theme-provider/utils/subscribeToSystemTheme.utils.cjs +2 -0
  159. package/dist/theme/theme-provider/utils/subscribeToSystemTheme.utils.cjs.map +1 -0
  160. package/dist/theme/theme-provider/utils/subscribeToSystemTheme.utils.js +10 -0
  161. package/dist/theme/theme-provider/utils/subscribeToSystemTheme.utils.js.map +1 -0
  162. package/dist/theme/tokens/primitives/breakpoints.const.cjs +2 -0
  163. package/dist/theme/tokens/primitives/breakpoints.const.cjs.map +1 -0
  164. package/dist/theme/tokens/primitives/breakpoints.const.js +19 -0
  165. package/dist/theme/tokens/primitives/breakpoints.const.js.map +1 -0
  166. package/dist/theme/tokens/primitives/palette.const.cjs +2 -0
  167. package/dist/theme/tokens/primitives/palette.const.cjs.map +1 -0
  168. package/dist/theme/tokens/primitives/palette.const.js +602 -0
  169. package/dist/theme/tokens/primitives/palette.const.js.map +1 -0
  170. package/dist/theme/tokens/primitives/scales.const.cjs +2 -0
  171. package/dist/theme/tokens/primitives/scales.const.cjs.map +1 -0
  172. package/dist/theme/tokens/primitives/scales.const.js +110 -0
  173. package/dist/theme/tokens/primitives/scales.const.js.map +1 -0
  174. package/dist/theme/tokens/shared/sharedThemeTokens.const.cjs +2 -0
  175. package/dist/theme/tokens/shared/sharedThemeTokens.const.cjs.map +1 -0
  176. package/dist/theme/tokens/shared/sharedThemeTokens.const.js +19 -0
  177. package/dist/theme/tokens/shared/sharedThemeTokens.const.js.map +1 -0
  178. package/dist/theme/utils/colors/create-accent/constants/index.cjs +2 -0
  179. package/dist/theme/utils/colors/create-accent/constants/index.cjs.map +1 -0
  180. package/dist/theme/utils/colors/create-accent/constants/index.js +9 -0
  181. package/dist/theme/utils/colors/create-accent/constants/index.js.map +1 -0
  182. package/dist/theme/utils/colors/create-accent/createAccent.utils.cjs +2 -0
  183. package/dist/theme/utils/colors/create-accent/createAccent.utils.cjs.map +1 -0
  184. package/dist/theme/utils/colors/create-accent/createAccent.utils.js +23 -0
  185. package/dist/theme/utils/colors/create-accent/createAccent.utils.js.map +1 -0
  186. package/dist/theme/utils/colors/mixColors.utils.cjs +2 -0
  187. package/dist/theme/utils/colors/mixColors.utils.cjs.map +1 -0
  188. package/dist/theme/utils/colors/mixColors.utils.js +12 -0
  189. package/dist/theme/utils/colors/mixColors.utils.js.map +1 -0
  190. package/dist/theme/utils/flavors/collect-flavor-styles/collectFlavorStyles.utils.cjs +2 -0
  191. package/dist/theme/utils/flavors/collect-flavor-styles/collectFlavorStyles.utils.cjs.map +1 -0
  192. package/dist/theme/utils/flavors/collect-flavor-styles/collectFlavorStyles.utils.js +28 -0
  193. package/dist/theme/utils/flavors/collect-flavor-styles/collectFlavorStyles.utils.js.map +1 -0
  194. package/dist/theme/utils/flavors/constants/index.cjs +2 -0
  195. package/dist/theme/utils/flavors/constants/index.cjs.map +1 -0
  196. package/dist/theme/utils/flavors/constants/index.js +10 -0
  197. package/dist/theme/utils/flavors/constants/index.js.map +1 -0
  198. package/dist/theme/utils/flavors/createFlavor.utils.cjs +2 -0
  199. package/dist/theme/utils/flavors/createFlavor.utils.cjs.map +1 -0
  200. package/dist/theme/utils/flavors/createFlavor.utils.js +20 -0
  201. package/dist/theme/utils/flavors/createFlavor.utils.js.map +1 -0
  202. package/dist/theme/utils/flavors/get-flavor-css/getFlavorCss.utils.cjs +3 -0
  203. package/dist/theme/utils/flavors/get-flavor-css/getFlavorCss.utils.cjs.map +1 -0
  204. package/dist/theme/utils/flavors/get-flavor-css/getFlavorCss.utils.js +19 -0
  205. package/dist/theme/utils/flavors/get-flavor-css/getFlavorCss.utils.js.map +1 -0
  206. package/dist/theme/utils/flavors/get-flavor-css/utils/get-flavor-selectors/getFlavorSelectors.utils.cjs +2 -0
  207. package/dist/theme/utils/flavors/get-flavor-css/utils/get-flavor-selectors/getFlavorSelectors.utils.cjs.map +1 -0
  208. package/dist/theme/utils/flavors/get-flavor-css/utils/get-flavor-selectors/getFlavorSelectors.utils.js +13 -0
  209. package/dist/theme/utils/flavors/get-flavor-css/utils/get-flavor-selectors/getFlavorSelectors.utils.js.map +1 -0
  210. package/dist/theme/utils/flavors/get-flavor-css/utils/serializeDeclarations.utils.cjs +2 -0
  211. package/dist/theme/utils/flavors/get-flavor-css/utils/serializeDeclarations.utils.cjs.map +1 -0
  212. package/dist/theme/utils/flavors/get-flavor-css/utils/serializeDeclarations.utils.js +5 -0
  213. package/dist/theme/utils/flavors/get-flavor-css/utils/serializeDeclarations.utils.js.map +1 -0
  214. package/dist/theme/utils/flavors/getFlavorReferenceName.utils.cjs +2 -0
  215. package/dist/theme/utils/flavors/getFlavorReferenceName.utils.cjs.map +1 -0
  216. package/dist/theme/utils/flavors/getFlavorReferenceName.utils.js +6 -0
  217. package/dist/theme/utils/flavors/getFlavorReferenceName.utils.js.map +1 -0
  218. package/dist/theme/utils/guards/isRecord.utils.cjs +2 -0
  219. package/dist/theme/utils/guards/isRecord.utils.cjs.map +1 -0
  220. package/dist/theme/utils/guards/isRecord.utils.js +5 -0
  221. package/dist/theme/utils/guards/isRecord.utils.js.map +1 -0
  222. package/dist/theme/utils/server-rendering/get-theme-root-props/getThemeRootProps.utils.cjs +2 -0
  223. package/dist/theme/utils/server-rendering/get-theme-root-props/getThemeRootProps.utils.cjs.map +1 -0
  224. package/dist/theme/utils/server-rendering/get-theme-root-props/getThemeRootProps.utils.js +14 -0
  225. package/dist/theme/utils/server-rendering/get-theme-root-props/getThemeRootProps.utils.js.map +1 -0
  226. package/dist/theme/utils/tokens/assertCompleteTheme.utils.cjs +2 -0
  227. package/dist/theme/utils/tokens/assertCompleteTheme.utils.cjs.map +1 -0
  228. package/dist/theme/utils/tokens/assertCompleteTheme.utils.js +9 -0
  229. package/dist/theme/utils/tokens/assertCompleteTheme.utils.js.map +1 -0
  230. package/dist/theme/utils/tokens/collect-token-styles/collectTokenStyles.utils.cjs +2 -0
  231. package/dist/theme/utils/tokens/collect-token-styles/collectTokenStyles.utils.cjs.map +1 -0
  232. package/dist/theme/utils/tokens/collect-token-styles/collectTokenStyles.utils.js +25 -0
  233. package/dist/theme/utils/tokens/collect-token-styles/collectTokenStyles.utils.js.map +1 -0
  234. package/dist/theme/utils/tokens/create-theme-tokens/createThemeTokens.utils.cjs +2 -0
  235. package/dist/theme/utils/tokens/create-theme-tokens/createThemeTokens.utils.cjs.map +1 -0
  236. package/dist/theme/utils/tokens/create-theme-tokens/createThemeTokens.utils.js +12 -0
  237. package/dist/theme/utils/tokens/create-theme-tokens/createThemeTokens.utils.js.map +1 -0
  238. package/dist/theme/utils/tokens/create-theme-tokens/utils/mergeTokens.utils.cjs +2 -0
  239. package/dist/theme/utils/tokens/create-theme-tokens/utils/mergeTokens.utils.cjs.map +1 -0
  240. package/dist/theme/utils/tokens/create-theme-tokens/utils/mergeTokens.utils.js +9 -0
  241. package/dist/theme/utils/tokens/create-theme-tokens/utils/mergeTokens.utils.js.map +1 -0
  242. package/dist/theme/utils/tokens/getSharedTokenStyles.utils.cjs +2 -0
  243. package/dist/theme/utils/tokens/getSharedTokenStyles.utils.cjs.map +1 -0
  244. package/dist/theme/utils/tokens/getSharedTokenStyles.utils.js +12 -0
  245. package/dist/theme/utils/tokens/getSharedTokenStyles.utils.js.map +1 -0
  246. package/dist/theme/utils/tokens/getThemeTokenStyles.utils.cjs +2 -0
  247. package/dist/theme/utils/tokens/getThemeTokenStyles.utils.cjs.map +1 -0
  248. package/dist/theme/utils/tokens/getThemeTokenStyles.utils.js +12 -0
  249. package/dist/theme/utils/tokens/getThemeTokenStyles.utils.js.map +1 -0
  250. package/dist/theme/utils/validation/assertFlavorName.utils.cjs +2 -0
  251. package/dist/theme/utils/validation/assertFlavorName.utils.cjs.map +1 -0
  252. package/dist/theme/utils/validation/assertFlavorName.utils.js +10 -0
  253. package/dist/theme/utils/validation/assertFlavorName.utils.js.map +1 -0
  254. package/dist/theme/utils/validation/assertThemeName.utils.cjs +2 -0
  255. package/dist/theme/utils/validation/assertThemeName.utils.cjs.map +1 -0
  256. package/dist/theme/utils/validation/assertThemeName.utils.js +9 -0
  257. package/dist/theme/utils/validation/assertThemeName.utils.js.map +1 -0
  258. package/package.json +80 -5
@@ -0,0 +1,6 @@
1
+ import "../../constants/index.js";
2
+ // src/theme/theme-provider/utils/getSystemTheme.utils.ts
3
+ var e = () => typeof window < "u" && typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
4
+ export { e as getSystemTheme };
5
+
6
+ //# sourceMappingURL=getSystemTheme.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getSystemTheme.utils.js","names":["getSystemTheme"],"sources":["../../../../src/theme/theme-provider/utils/getSystemTheme.utils.ts"],"sourcesContent":["import { systemThemeQuery } from '@theme/constants';\nimport type { SystemTheme } from '@theme/types';\n\n/**\n * Reads the OS color preference. Environments without `window` or\n * `matchMedia`, such as servers, resolve to `light`.\n *\n * @returns `dark` when the OS prefers dark colors, `light` otherwise.\n */\nexport const getSystemTheme = (): SystemTheme =>\n typeof window !== 'undefined' &&\n typeof window.matchMedia === 'function' &&\n window.matchMedia(systemThemeQuery).matches\n ? 'dark'\n : 'light';\n"],"mappings":";;AASA,IAAaA,UACT,OAAO,SAAW,OAClB,OAAO,OAAO,cAAe,cAC7B,OAAO,WAAA,8BAA2B,CAAC,CAAC,UAC9B,SACA"}
@@ -0,0 +1,2 @@
1
+ require("../../../constants/index.cjs");const e=require("./utils/applyDocumentScope.utils.cjs");var t=new WeakMap,n=n=>{let r=t.get(n),i=r??{owners:new Map,theme:n.getAttribute(`data-cv-theme`),flavor:n.getAttribute(`data-cv-flavor`),declarations:new Map};r===void 0&&t.set(n,i);let a=Symbol(`theme-provider`);i.owners.set(a,void 0);let o=()=>{if(!i.owners.has(a))throw Error(`This document scope registration was released.`)};return{update:t=>{o();for(let e of Object.keys(t.styles))i.declarations.has(e)||i.declarations.set(e,{value:n.style.getPropertyValue(e),priority:n.style.getPropertyPriority(e)});i.owners.set(a,t),e.applyDocumentScope(n,i)},release:()=>{o(),i.owners.delete(a),e.applyDocumentScope(n,i),i.owners.size===0&&t.delete(n)}}};exports.registerDocumentScope=n;
2
+ //# sourceMappingURL=registerDocumentScope.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerDocumentScope.utils.cjs","names":["require_applyDocumentScope_utils","scopes","registerDocumentScope","existingScope","root","scope","owner","assertRegistered","name","value"],"sources":["../../../../../src/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.ts"],"sourcesContent":["import { flavorAttribute, themeAttribute } from '@theme/constants';\nimport type {\n DocumentScope,\n DocumentScopeRegistration,\n} from '@theme/theme-provider/utils/register-document-scope/types';\nimport { applyDocumentScope } from '@theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils';\n\nconst scopes = new WeakMap<HTMLElement, DocumentScope>();\n\n/**\n * Registers a document provider on a root element shared with other\n * providers. The first registration records the original theme and flavor attributes;\n * each update records the original declarations it overrides, and the last\n * release restores them all.\n *\n * @param root Element themed by the provider, usually `<html>`.\n * @returns The handle updating the provider state and releasing it.\n * @throws {Error} From the handle, when it is used after its release.\n */\nexport const registerDocumentScope = (\n root: HTMLElement,\n): DocumentScopeRegistration => {\n const existingScope = scopes.get(root);\n const scope: DocumentScope = existingScope ?? {\n owners: new Map(),\n theme: root.getAttribute(themeAttribute),\n flavor: root.getAttribute(flavorAttribute),\n declarations: new Map(),\n };\n if (existingScope === undefined) {\n scopes.set(root, scope);\n }\n const owner = Symbol('theme-provider');\n scope.owners.set(owner, undefined);\n\n /**\n * Rejects any use of the handle once released.\n *\n * @throws {Error} When the provider is no longer registered.\n */\n const assertRegistered = (): void => {\n if (!scope.owners.has(owner)) {\n throw new Error('This document scope registration was released.');\n }\n };\n\n return {\n update: (value) => {\n assertRegistered();\n for (const name of Object.keys(value.styles)) {\n if (!scope.declarations.has(name)) {\n scope.declarations.set(name, {\n value: root.style.getPropertyValue(name),\n priority: root.style.getPropertyPriority(name),\n });\n }\n }\n scope.owners.set(owner, value);\n applyDocumentScope(root, scope);\n },\n release: () => {\n assertRegistered();\n scope.owners.delete(owner);\n applyDocumentScope(root, scope);\n if (scope.owners.size === 0) {\n scopes.delete(root);\n }\n },\n };\n};\n"],"mappings":"A,gGAOA,IAAMC,EAAS,IAAI,QAYNC,EACT,GAC4B,CAC5B,IAAMC,EAAgBF,EAAO,IAAIG,CAAI,EAC/BC,EAAuBF,GAAiB,CAC1C,OAAQ,IAAI,IACZ,MAAOC,EAAK,aAAA,eAA2B,EACvC,OAAQA,EAAK,aAAA,gBAA4B,EACzC,aAAc,IAAI,GACtB,EACID,IAAkB,IAAA,IAClBF,EAAO,IAAIG,EAAMC,CAAK,EAE1B,IAAMC,EAAQ,OAAO,gBAAgB,EACrCD,EAAM,OAAO,IAAIC,EAAO,IAAA,EAAS,EAOjC,IAAMC,MAA+B,CACjC,GAAI,CAACF,EAAM,OAAO,IAAIC,CAAK,EACvB,MAAU,MAAM,gDAAgD,CAExE,EAEA,MAAO,CACH,OAAS,GAAU,CACfC,EAAiB,EACjB,IAAK,IAAMC,KAAQ,OAAO,KAAKC,EAAM,MAAM,EAClCJ,EAAM,aAAa,IAAIG,CAAI,GAC5BH,EAAM,aAAa,IAAIG,EAAM,CACzB,MAAOJ,EAAK,MAAM,iBAAiBI,CAAI,EACvC,SAAUJ,EAAK,MAAM,oBAAoBI,CAAI,CACjD,CAAC,EAGTH,EAAM,OAAO,IAAIC,EAAOG,CAAK,EAC7BT,EAAA,mBAAmBI,EAAMC,CAAK,CAClC,EACA,YAAe,CACXE,EAAiB,EACjBF,EAAM,OAAO,OAAOC,CAAK,EACzBN,EAAA,mBAAmBI,EAAMC,CAAK,EAC1BA,EAAM,OAAO,OAAS,GACtBJ,EAAO,OAAOG,CAAI,CAE1B,CACJ,CACJ,E"}
@@ -0,0 +1,33 @@
1
+ import "../../../constants/index.js";
2
+ import { applyDocumentScope as e } from "./utils/applyDocumentScope.utils.js";
3
+ // src/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.ts
4
+ var t = /* @__PURE__ */ new WeakMap(), n = (n) => {
5
+ let r = t.get(n), i = r ?? {
6
+ owners: /* @__PURE__ */ new Map(),
7
+ theme: n.getAttribute("data-cv-theme"),
8
+ flavor: n.getAttribute("data-cv-flavor"),
9
+ declarations: /* @__PURE__ */ new Map()
10
+ };
11
+ r === void 0 && t.set(n, i);
12
+ let a = Symbol("theme-provider");
13
+ i.owners.set(a, void 0);
14
+ let o = () => {
15
+ if (!i.owners.has(a)) throw Error("This document scope registration was released.");
16
+ };
17
+ return {
18
+ update: (t) => {
19
+ o();
20
+ for (let e of Object.keys(t.styles)) i.declarations.has(e) || i.declarations.set(e, {
21
+ value: n.style.getPropertyValue(e),
22
+ priority: n.style.getPropertyPriority(e)
23
+ });
24
+ i.owners.set(a, t), e(n, i);
25
+ },
26
+ release: () => {
27
+ o(), i.owners.delete(a), e(n, i), i.owners.size === 0 && t.delete(n);
28
+ }
29
+ };
30
+ };
31
+ export { n as registerDocumentScope };
32
+
33
+ //# sourceMappingURL=registerDocumentScope.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerDocumentScope.utils.js","names":["scopes","registerDocumentScope","existingScope","root","scope","owner","assertRegistered","name","value","applyDocumentScope"],"sources":["../../../../../src/theme/theme-provider/utils/register-document-scope/registerDocumentScope.utils.ts"],"sourcesContent":["import { flavorAttribute, themeAttribute } from '@theme/constants';\nimport type {\n DocumentScope,\n DocumentScopeRegistration,\n} from '@theme/theme-provider/utils/register-document-scope/types';\nimport { applyDocumentScope } from '@theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils';\n\nconst scopes = new WeakMap<HTMLElement, DocumentScope>();\n\n/**\n * Registers a document provider on a root element shared with other\n * providers. The first registration records the original theme and flavor attributes;\n * each update records the original declarations it overrides, and the last\n * release restores them all.\n *\n * @param root Element themed by the provider, usually `<html>`.\n * @returns The handle updating the provider state and releasing it.\n * @throws {Error} From the handle, when it is used after its release.\n */\nexport const registerDocumentScope = (\n root: HTMLElement,\n): DocumentScopeRegistration => {\n const existingScope = scopes.get(root);\n const scope: DocumentScope = existingScope ?? {\n owners: new Map(),\n theme: root.getAttribute(themeAttribute),\n flavor: root.getAttribute(flavorAttribute),\n declarations: new Map(),\n };\n if (existingScope === undefined) {\n scopes.set(root, scope);\n }\n const owner = Symbol('theme-provider');\n scope.owners.set(owner, undefined);\n\n /**\n * Rejects any use of the handle once released.\n *\n * @throws {Error} When the provider is no longer registered.\n */\n const assertRegistered = (): void => {\n if (!scope.owners.has(owner)) {\n throw new Error('This document scope registration was released.');\n }\n };\n\n return {\n update: (value) => {\n assertRegistered();\n for (const name of Object.keys(value.styles)) {\n if (!scope.declarations.has(name)) {\n scope.declarations.set(name, {\n value: root.style.getPropertyValue(name),\n priority: root.style.getPropertyPriority(name),\n });\n }\n }\n scope.owners.set(owner, value);\n applyDocumentScope(root, scope);\n },\n release: () => {\n assertRegistered();\n scope.owners.delete(owner);\n applyDocumentScope(root, scope);\n if (scope.owners.size === 0) {\n scopes.delete(root);\n }\n },\n };\n};\n"],"mappings":";;;AAOA,IAAMA,oBAAS,IAAI,QAAoC,GAY1CC,KACT,MAC4B;CAC5B,IAAMC,IAAgBF,EAAO,IAAIG,CAAI,GAC/BC,IAAuBF,KAAiB;EAC1C,wBAAQ,IAAI,IAAI;EAChB,OAAOC,EAAK,aAAA,eAA2B;EACvC,QAAQA,EAAK,aAAA,gBAA4B;EACzC,8BAAc,IAAI,IAAI;CAC1B;CACA,AAAID,MAAkB,KAAA,KAClBF,EAAO,IAAIG,GAAMC,CAAK;CAE1B,IAAMC,IAAQ,OAAO,gBAAgB;CACrC,EAAM,OAAO,IAAIA,GAAO,KAAA,CAAS;CAOjC,IAAMC,UAA+B;EACjC,IAAI,CAACF,EAAM,OAAO,IAAIC,CAAK,GACvB,MAAU,MAAM,gDAAgD;CAExE;CAEA,OAAO;EACH,SAAS,MAAU;GACf,EAAiB;GACjB,KAAK,IAAME,KAAQ,OAAO,KAAKC,EAAM,MAAM,GACvC,AAAKJ,EAAM,aAAa,IAAIG,CAAI,KAC5BH,EAAM,aAAa,IAAIG,GAAM;IACzB,OAAOJ,EAAK,MAAM,iBAAiBI,CAAI;IACvC,UAAUJ,EAAK,MAAM,oBAAoBI,CAAI;GACjD,CAAC;GAIT,AADAH,EAAM,OAAO,IAAIC,GAAOG,CAAK,GAC7BC,EAAmBN,GAAMC,CAAK;EAClC;EACA,eAAe;GAIX,AAHAE,EAAiB,GACjBF,EAAM,OAAO,OAAOC,CAAK,GACzBI,EAAmBN,GAAMC,CAAK,GAC1BA,EAAM,OAAO,SAAS,KACtBJ,EAAO,OAAOG,CAAI;EAE1B;CACJ;AACJ"}
@@ -0,0 +1,2 @@
1
+ const e=require("../../../../constants/index.cjs"),t=require("./syncAttribute.utils.cjs"),n=require("./syncProperty.utils.cjs");var r=(r,i)=>{let a=[...i.owners.values()].filter(e=>e!==void 0),o=a.at(-1),s=new Map(i.declarations);for(let e of a)for(let[t,n]of Object.entries(e.styles))s.set(t,{value:n,priority:``});t.syncAttribute(r,e.themeAttribute,o?.theme??i.theme),t.syncAttribute(r,e.flavorAttribute,o?.flavor??i.flavor);for(let[e,t]of s)n.syncProperty(r,e,t)};exports.applyDocumentScope=r;
2
+ //# sourceMappingURL=applyDocumentScope.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applyDocumentScope.utils.cjs","names":["themeAttribute","flavorAttribute","require_index","require_syncAttribute_utils","require_syncProperty_utils","applyDocumentScope","values","scope","value","latest","declarations","name","token","root","declaration"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.ts"],"sourcesContent":["import { flavorAttribute, themeAttribute } from '@theme/constants';\nimport type { DocumentScope } from '@theme/theme-provider/utils/register-document-scope/types';\nimport { syncAttribute } from '@theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils';\nimport { syncProperty } from '@theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils';\n\n/**\n * Computes the root state from the original declarations overlaid by every\n * updated provider in mount order, so the latest mounted provider wins, then\n * only writes what differs from the DOM.\n *\n * @param root Element shared by the providers.\n * @param scope Providers and original state of the root element.\n */\nexport const applyDocumentScope = (\n root: HTMLElement,\n scope: DocumentScope,\n): void => {\n const values = [...scope.owners.values()].filter(\n (value) => value !== undefined,\n );\n const latest = values.at(-1);\n const declarations = new Map(scope.declarations);\n for (const value of values) {\n for (const [name, token] of Object.entries(value.styles)) {\n declarations.set(name, { value: token, priority: '' });\n }\n }\n\n syncAttribute(root, themeAttribute, latest?.theme ?? scope.theme);\n syncAttribute(root, flavorAttribute, latest?.flavor ?? scope.flavor);\n for (const [name, declaration] of declarations) {\n syncProperty(root, name, declaration);\n }\n};\n"],"mappings":"A,gIAaA,IAAaK,GACT,EACA,IACO,CACP,IAAMC,EAAS,CAAC,GAAGC,EAAM,OAAO,OAAO,CAAC,CAAC,CAAC,OACrC,GAAUC,IAAU,IAAA,EACzB,EACMC,EAASH,EAAO,GAAG,EAAE,EACrBI,EAAe,IAAI,IAAIH,EAAM,YAAY,EAC/C,IAAK,IAAMC,KAASF,EAChB,IAAK,GAAM,CAACK,EAAMC,KAAU,OAAO,QAAQJ,EAAM,MAAM,EACnDE,EAAa,IAAIC,EAAM,CAAE,MAAOC,EAAO,SAAU,EAAG,CAAC,EAI7DT,EAAA,cAAcU,EAAMb,EAAAA,eAAgBS,GAAQ,OAASF,EAAM,KAAK,EAChEJ,EAAA,cAAcU,EAAMZ,EAAAA,gBAAiBQ,GAAQ,QAAUF,EAAM,MAAM,EACnE,IAAK,GAAM,CAACI,EAAMG,KAAgBJ,EAC9BN,EAAA,aAAaS,EAAMF,EAAMG,CAAW,CAE5C,E"}
@@ -0,0 +1,16 @@
1
+ import { flavorAttribute as e, themeAttribute as t } from "../../../../constants/index.js";
2
+ import { syncAttribute as n } from "./syncAttribute.utils.js";
3
+ import { syncProperty as r } from "./syncProperty.utils.js";
4
+ // src/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.ts
5
+ var i = (i, a) => {
6
+ let o = [...a.owners.values()].filter((e) => e !== void 0), s = o.at(-1), c = new Map(a.declarations);
7
+ for (let e of o) for (let [t, n] of Object.entries(e.styles)) c.set(t, {
8
+ value: n,
9
+ priority: ""
10
+ });
11
+ n(i, t, s?.theme ?? a.theme), n(i, e, s?.flavor ?? a.flavor);
12
+ for (let [e, t] of c) r(i, e, t);
13
+ };
14
+ export { i as applyDocumentScope };
15
+
16
+ //# sourceMappingURL=applyDocumentScope.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"applyDocumentScope.utils.js","names":["applyDocumentScope","values","scope","value","latest","declarations","name","token","syncAttribute","root","themeAttribute","flavorAttribute","declaration"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/applyDocumentScope.utils.ts"],"sourcesContent":["import { flavorAttribute, themeAttribute } from '@theme/constants';\nimport type { DocumentScope } from '@theme/theme-provider/utils/register-document-scope/types';\nimport { syncAttribute } from '@theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils';\nimport { syncProperty } from '@theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils';\n\n/**\n * Computes the root state from the original declarations overlaid by every\n * updated provider in mount order, so the latest mounted provider wins, then\n * only writes what differs from the DOM.\n *\n * @param root Element shared by the providers.\n * @param scope Providers and original state of the root element.\n */\nexport const applyDocumentScope = (\n root: HTMLElement,\n scope: DocumentScope,\n): void => {\n const values = [...scope.owners.values()].filter(\n (value) => value !== undefined,\n );\n const latest = values.at(-1);\n const declarations = new Map(scope.declarations);\n for (const value of values) {\n for (const [name, token] of Object.entries(value.styles)) {\n declarations.set(name, { value: token, priority: '' });\n }\n }\n\n syncAttribute(root, themeAttribute, latest?.theme ?? scope.theme);\n syncAttribute(root, flavorAttribute, latest?.flavor ?? scope.flavor);\n for (const [name, declaration] of declarations) {\n syncProperty(root, name, declaration);\n }\n};\n"],"mappings":";;;;AAaA,IAAaA,KACT,GACA,MACO;CACP,IAAMC,IAAS,CAAC,GAAGC,EAAM,OAAO,OAAO,CAAC,CAAC,CAAC,QACrC,MAAUC,MAAU,KAAA,CACzB,GACMC,IAASH,EAAO,GAAG,EAAE,GACrBI,IAAe,IAAI,IAAIH,EAAM,YAAY;CAC/C,KAAK,IAAMC,KAASF,GAChB,KAAK,IAAM,CAACK,GAAMC,MAAU,OAAO,QAAQJ,EAAM,MAAM,GACnD,EAAa,IAAIG,GAAM;EAAE,OAAOC;EAAO,UAAU;CAAG,CAAC;CAK7D,AADAC,EAAcC,GAAMC,GAAgBN,GAAQ,SAASF,EAAM,KAAK,GAChEM,EAAcC,GAAME,GAAiBP,GAAQ,UAAUF,EAAM,MAAM;CACnE,KAAK,IAAM,CAACI,GAAMM,MAAgBP,GAC9B,EAAaI,GAAMH,GAAMM,CAAW;AAE5C"}
@@ -0,0 +1,2 @@
1
+ var e=(e,t,n)=>{e.getAttribute(t)!==n&&(n===null?e.removeAttribute(t):e.setAttribute(t,n))};exports.syncAttribute=e;
2
+ //# sourceMappingURL=syncAttribute.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncAttribute.utils.cjs","names":["syncAttribute","root","name","value"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.ts"],"sourcesContent":["/**\n * Writes an attribute only when it differs from the expected value.\n *\n * @param root Element to update.\n * @param name Attribute name.\n * @param value Expected value; `null` removes the attribute.\n */\nexport const syncAttribute = (\n root: HTMLElement,\n name: string,\n value: string | null,\n): void => {\n if (root.getAttribute(name) === value) {\n return;\n }\n if (value === null) {\n root.removeAttribute(name);\n } else {\n root.setAttribute(name, value);\n }\n};\n"],"mappings":"AAOA,IAAaA,GACT,EACA,EACA,IACO,CACHC,EAAK,aAAaC,CAAI,IAAMC,IAG5BA,IAAU,KACVF,EAAK,gBAAgBC,CAAI,EAEzBD,EAAK,aAAaC,EAAMC,CAAK,EAErC,E"}
@@ -0,0 +1,7 @@
1
+ // src/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.ts
2
+ var e = (e, t, n) => {
3
+ e.getAttribute(t) !== n && (n === null ? e.removeAttribute(t) : e.setAttribute(t, n));
4
+ };
5
+ export { e as syncAttribute };
6
+
7
+ //# sourceMappingURL=syncAttribute.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncAttribute.utils.js","names":["syncAttribute","root","name","value"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/syncAttribute.utils.ts"],"sourcesContent":["/**\n * Writes an attribute only when it differs from the expected value.\n *\n * @param root Element to update.\n * @param name Attribute name.\n * @param value Expected value; `null` removes the attribute.\n */\nexport const syncAttribute = (\n root: HTMLElement,\n name: string,\n value: string | null,\n): void => {\n if (root.getAttribute(name) === value) {\n return;\n }\n if (value === null) {\n root.removeAttribute(name);\n } else {\n root.setAttribute(name, value);\n }\n};\n"],"mappings":";AAOA,IAAaA,KACT,GACA,GACA,MACO;CACP,AAAIC,EAAK,aAAaC,CAAI,MAAMC,MAG5BA,MAAU,OACVF,EAAK,gBAAgBC,CAAI,IAEzBD,EAAK,aAAaC,GAAMC,CAAK;AAErC"}
@@ -0,0 +1,2 @@
1
+ var e=(e,t,{value:n,priority:r})=>{(e.style.getPropertyValue(t)!==n||e.style.getPropertyPriority(t)!==r)&&(n?e.style.setProperty(t,n,r):e.style.removeProperty(t))};exports.syncProperty=e;
2
+ //# sourceMappingURL=syncProperty.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncProperty.utils.cjs","names":["syncProperty","root","name","value","priority"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.ts"],"sourcesContent":["import type { DocumentScopeDeclaration } from '@theme/theme-provider/utils/register-document-scope/types';\n\n/**\n * Writes an inline custom property only when its value or priority differs.\n *\n * @param root Element to update.\n * @param name Custom property name.\n * @param declaration Expected declaration; an empty value removes it.\n */\nexport const syncProperty = (\n root: HTMLElement,\n name: string,\n { value, priority }: DocumentScopeDeclaration,\n): void => {\n if (\n root.style.getPropertyValue(name) === value &&\n root.style.getPropertyPriority(name) === priority\n ) {\n return;\n }\n if (value) {\n root.style.setProperty(name, value, priority);\n } else {\n root.style.removeProperty(name);\n }\n};\n"],"mappings":"AASA,IAAaA,GACT,EACA,EACA,CAAE,QAAO,cACF,EAEHC,EAAK,MAAM,iBAAiBC,CAAI,IAAMC,GACtCF,EAAK,MAAM,oBAAoBC,CAAI,IAAME,KAIzCD,EACAF,EAAK,MAAM,YAAYC,EAAMC,EAAOC,CAAQ,EAE5CH,EAAK,MAAM,eAAeC,CAAI,EAEtC,E"}
@@ -0,0 +1,7 @@
1
+ // src/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.ts
2
+ var e = (e, t, { value: n, priority: r }) => {
3
+ (e.style.getPropertyValue(t) !== n || e.style.getPropertyPriority(t) !== r) && (n ? e.style.setProperty(t, n, r) : e.style.removeProperty(t));
4
+ };
5
+ export { e as syncProperty };
6
+
7
+ //# sourceMappingURL=syncProperty.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"syncProperty.utils.js","names":["syncProperty","root","name","value","priority"],"sources":["../../../../../../src/theme/theme-provider/utils/register-document-scope/utils/syncProperty.utils.ts"],"sourcesContent":["import type { DocumentScopeDeclaration } from '@theme/theme-provider/utils/register-document-scope/types';\n\n/**\n * Writes an inline custom property only when its value or priority differs.\n *\n * @param root Element to update.\n * @param name Custom property name.\n * @param declaration Expected declaration; an empty value removes it.\n */\nexport const syncProperty = (\n root: HTMLElement,\n name: string,\n { value, priority }: DocumentScopeDeclaration,\n): void => {\n if (\n root.style.getPropertyValue(name) === value &&\n root.style.getPropertyPriority(name) === priority\n ) {\n return;\n }\n if (value) {\n root.style.setProperty(name, value, priority);\n } else {\n root.style.removeProperty(name);\n }\n};\n"],"mappings":";AASA,IAAaA,KACT,GACA,GACA,EAAE,UAAO,kBACF;CACP,CACIC,EAAK,MAAM,iBAAiBC,CAAI,MAAMC,KACtCF,EAAK,MAAM,oBAAoBC,CAAI,MAAME,OAIzCD,IACAF,EAAK,MAAM,YAAYC,GAAMC,GAAOC,CAAQ,IAE5CH,EAAK,MAAM,eAAeC,CAAI;AAEtC"}
@@ -0,0 +1,2 @@
1
+ var e=()=>()=>void 0;exports.subscribeToNothing=e;
2
+ //# sourceMappingURL=subscribeToNothing.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribeToNothing.utils.cjs","names":["subscribeToNothing"],"sources":["../../../../src/theme/theme-provider/utils/subscribeToNothing.utils.ts"],"sourcesContent":["/**\n * `useSyncExternalStore` subscription for stores that never change.\n *\n * @returns An unsubscribe function doing nothing.\n */\nexport const subscribeToNothing = (): (() => void) => () => undefined;\n"],"mappings":"AAKA,IAAaA,UAA+C,IAAA,G"}
@@ -0,0 +1,5 @@
1
+ // src/theme/theme-provider/utils/subscribeToNothing.utils.ts
2
+ var e = () => () => void 0;
3
+ export { e as subscribeToNothing };
4
+
5
+ //# sourceMappingURL=subscribeToNothing.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribeToNothing.utils.js","names":["subscribeToNothing"],"sources":["../../../../src/theme/theme-provider/utils/subscribeToNothing.utils.ts"],"sourcesContent":["/**\n * `useSyncExternalStore` subscription for stores that never change.\n *\n * @returns An unsubscribe function doing nothing.\n */\nexport const subscribeToNothing = (): (() => void) => () => undefined;\n"],"mappings":";AAKA,IAAaA,gBAA+C,KAAA"}
@@ -0,0 +1,2 @@
1
+ const e=require("../../constants/index.cjs");var t=t=>{if(typeof window.matchMedia!=`function`)return()=>void 0;let n=window.matchMedia(e.systemThemeQuery);return n.addEventListener(`change`,t),()=>n.removeEventListener(`change`,t)};exports.subscribeToSystemTheme=t;
2
+ //# sourceMappingURL=subscribeToSystemTheme.utils.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribeToSystemTheme.utils.cjs","names":["systemThemeQuery","require_index","subscribeToSystemTheme","query","onChange"],"sources":["../../../../src/theme/theme-provider/utils/subscribeToSystemTheme.utils.ts"],"sourcesContent":["import { systemThemeQuery } from '@theme/constants';\n\n/**\n * Listens to changes of the OS color preference. Environments without\n * `matchMedia` have no preference to follow and are not subscribed.\n *\n * @param onChange Called after every preference change.\n * @returns A function removing the listener.\n */\nexport const subscribeToSystemTheme = (onChange: () => void): (() => void) => {\n if (typeof window.matchMedia !== 'function') {\n return () => undefined;\n }\n const query = window.matchMedia(systemThemeQuery);\n query.addEventListener('change', onChange);\n return () => query.removeEventListener('change', onChange);\n};\n"],"mappings":"A,6CASA,IAAaE,EAA0B,GAAuC,CAC1E,GAAI,OAAO,OAAO,YAAe,WAC7B,UAAa,IAAA,GAEjB,IAAMC,EAAQ,OAAO,WAAWH,EAAAA,gBAAgB,EAEhD,OADAG,EAAM,iBAAiB,SAAUC,CAAQ,MAC5BD,EAAM,oBAAoB,SAAUC,CAAQ,CAC7D,E"}
@@ -0,0 +1,10 @@
1
+ import { systemThemeQuery as e } from "../../constants/index.js";
2
+ // src/theme/theme-provider/utils/subscribeToSystemTheme.utils.ts
3
+ var t = (t) => {
4
+ if (typeof window.matchMedia != "function") return () => void 0;
5
+ let n = window.matchMedia(e);
6
+ return n.addEventListener("change", t), () => n.removeEventListener("change", t);
7
+ };
8
+ export { t as subscribeToSystemTheme };
9
+
10
+ //# sourceMappingURL=subscribeToSystemTheme.utils.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"subscribeToSystemTheme.utils.js","names":["subscribeToSystemTheme","query","systemThemeQuery","onChange"],"sources":["../../../../src/theme/theme-provider/utils/subscribeToSystemTheme.utils.ts"],"sourcesContent":["import { systemThemeQuery } from '@theme/constants';\n\n/**\n * Listens to changes of the OS color preference. Environments without\n * `matchMedia` have no preference to follow and are not subscribed.\n *\n * @param onChange Called after every preference change.\n * @returns A function removing the listener.\n */\nexport const subscribeToSystemTheme = (onChange: () => void): (() => void) => {\n if (typeof window.matchMedia !== 'function') {\n return () => undefined;\n }\n const query = window.matchMedia(systemThemeQuery);\n query.addEventListener('change', onChange);\n return () => query.removeEventListener('change', onChange);\n};\n"],"mappings":";;AASA,IAAaA,KAA0B,MAAuC;CAC1E,IAAI,OAAO,OAAO,cAAe,YAC7B,aAAa,KAAA;CAEjB,IAAMC,IAAQ,OAAO,WAAWC,CAAgB;CAEhD,OADAD,EAAM,iBAAiB,UAAUE,CAAQ,SAC5BF,EAAM,oBAAoB,UAAUE,CAAQ;AAC7D"}
@@ -0,0 +1,2 @@
1
+ var e={largePhone:`30rem`,smallTablet:`40rem`,tablet:`48rem`,laptop:`64rem`,desktop:`80rem`,wide:`96rem`},t={largePhone:`screen and (min-width: ${e.largePhone})`,smallTablet:`screen and (min-width: ${e.smallTablet})`,tablet:`screen and (min-width: ${e.tablet})`,laptop:`screen and (min-width: ${e.laptop})`,desktop:`screen and (min-width: ${e.desktop})`,wide:`screen and (min-width: ${e.wide})`};exports.breakpoints=e,exports.mediaQueries=t;
2
+ //# sourceMappingURL=breakpoints.const.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoints.const.cjs","names":["breakpoints","mediaQueries"],"sources":["../../../../src/theme/tokens/primitives/breakpoints.const.ts"],"sourcesContent":["/**\n * Viewport widths where layouts may change, named after the smallest device\n * class they start at. CSS variables cannot be read inside media queries, so\n * these values are static constants rather than theme tokens. Phones in\n * portrait are the default layout and need no breakpoint.\n */\nexport const breakpoints = {\n /** 480px: large phones and phones in landscape. */\n largePhone: '30rem',\n\n /** 640px: small tablets and foldables unfolded. */\n smallTablet: '40rem',\n\n /** 768px: tablets in portrait. */\n tablet: '48rem',\n\n /** 1024px: tablets in landscape and small laptops. */\n laptop: '64rem',\n\n /** 1280px: desktops and large laptops. */\n desktop: '80rem',\n\n /** 1536px: wide desktop monitors. */\n wide: '96rem',\n} as const;\n\n/**\n * Mobile-first media queries matching viewports at least as wide as each\n * breakpoint: style the narrowest layout by default, then widen it.\n */\nexport const mediaQueries = {\n largePhone: `screen and (min-width: ${breakpoints.largePhone})`,\n smallTablet: `screen and (min-width: ${breakpoints.smallTablet})`,\n tablet: `screen and (min-width: ${breakpoints.tablet})`,\n laptop: `screen and (min-width: ${breakpoints.laptop})`,\n desktop: `screen and (min-width: ${breakpoints.desktop})`,\n wide: `screen and (min-width: ${breakpoints.wide})`,\n} as const;\n"],"mappings":"AAMA,IAAaA,EAAc,CAEvB,WAAY,QAGZ,YAAa,QAGb,OAAQ,QAGR,OAAQ,QAGR,QAAS,QAGT,KAAM,OACV,EAMaC,EAAe,CACxB,WAAY,0BAA0BD,EAAY,WAAW,GAC7D,YAAa,0BAA0BA,EAAY,YAAY,GAC/D,OAAQ,0BAA0BA,EAAY,OAAO,GACrD,OAAQ,0BAA0BA,EAAY,OAAO,GACrD,QAAS,0BAA0BA,EAAY,QAAQ,GACvD,KAAM,0BAA0BA,EAAY,KAAK,EACrD,E"}
@@ -0,0 +1,19 @@
1
+ // src/theme/tokens/primitives/breakpoints.const.ts
2
+ var e = {
3
+ largePhone: "30rem",
4
+ smallTablet: "40rem",
5
+ tablet: "48rem",
6
+ laptop: "64rem",
7
+ desktop: "80rem",
8
+ wide: "96rem"
9
+ }, t = {
10
+ largePhone: `screen and (min-width: ${e.largePhone})`,
11
+ smallTablet: `screen and (min-width: ${e.smallTablet})`,
12
+ tablet: `screen and (min-width: ${e.tablet})`,
13
+ laptop: `screen and (min-width: ${e.laptop})`,
14
+ desktop: `screen and (min-width: ${e.desktop})`,
15
+ wide: `screen and (min-width: ${e.wide})`
16
+ };
17
+ export { e as breakpoints, t as mediaQueries };
18
+
19
+ //# sourceMappingURL=breakpoints.const.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breakpoints.const.js","names":["breakpoints","mediaQueries"],"sources":["../../../../src/theme/tokens/primitives/breakpoints.const.ts"],"sourcesContent":["/**\n * Viewport widths where layouts may change, named after the smallest device\n * class they start at. CSS variables cannot be read inside media queries, so\n * these values are static constants rather than theme tokens. Phones in\n * portrait are the default layout and need no breakpoint.\n */\nexport const breakpoints = {\n /** 480px: large phones and phones in landscape. */\n largePhone: '30rem',\n\n /** 640px: small tablets and foldables unfolded. */\n smallTablet: '40rem',\n\n /** 768px: tablets in portrait. */\n tablet: '48rem',\n\n /** 1024px: tablets in landscape and small laptops. */\n laptop: '64rem',\n\n /** 1280px: desktops and large laptops. */\n desktop: '80rem',\n\n /** 1536px: wide desktop monitors. */\n wide: '96rem',\n} as const;\n\n/**\n * Mobile-first media queries matching viewports at least as wide as each\n * breakpoint: style the narrowest layout by default, then widen it.\n */\nexport const mediaQueries = {\n largePhone: `screen and (min-width: ${breakpoints.largePhone})`,\n smallTablet: `screen and (min-width: ${breakpoints.smallTablet})`,\n tablet: `screen and (min-width: ${breakpoints.tablet})`,\n laptop: `screen and (min-width: ${breakpoints.laptop})`,\n desktop: `screen and (min-width: ${breakpoints.desktop})`,\n wide: `screen and (min-width: ${breakpoints.wide})`,\n} as const;\n"],"mappings":";AAMA,IAAaA,IAAc;CAEvB,YAAY;CAGZ,aAAa;CAGb,QAAQ;CAGR,QAAQ;CAGR,SAAS;CAGT,MAAM;AACV,GAMaC,IAAe;CACxB,YAAY,0BAA0BD,EAAY,WAAW;CAC7D,aAAa,0BAA0BA,EAAY,YAAY;CAC/D,QAAQ,0BAA0BA,EAAY,OAAO;CACrD,QAAQ,0BAA0BA,EAAY,OAAO;CACrD,SAAS,0BAA0BA,EAAY,QAAQ;CACvD,MAAM,0BAA0BA,EAAY,KAAK;AACrD"}
@@ -0,0 +1,2 @@
1
+ var e={gray:{0:`#f9f9fa`,50:`#f3f4f5`,100:`#eeeff0`,150:`#e3e4e7`,200:`#d6d8dc`,250:`#c8cacf`,300:`#b8bbc1`,350:`#a5a9af`,400:`#92969d`,450:`#7f838a`,500:`#6f737a`,550:`#61656c`,600:`#53575d`,650:`#474a51`,700:`#3b3e44`,750:`#303339`,800:`#25282e`,850:`#1e2126`,900:`#15181d`,950:`#0b0d12`},neutral:{0:`#f9f9f9`,50:`#f4f4f4`,100:`#efefef`,150:`#e4e4e4`,200:`#d8d8d8`,250:`#cacaca`,300:`#bbbbbb`,350:`#a9a9a9`,400:`#969696`,450:`#838383`,500:`#737373`,550:`#656565`,600:`#575757`,650:`#4a4a4a`,700:`#3e3e3e`,750:`#333333`,800:`#282828`,850:`#202020`,900:`#181818`,950:`#0d0d0d`},slate:{0:`#f8f9fb`,50:`#f2f4f6`,100:`#eceff2`,150:`#dfe5ea`,200:`#d1d9e1`,250:`#c1cbd6`,300:`#afbcc9`,350:`#9cabb9`,400:`#8898a7`,450:`#748595`,500:`#647585`,550:`#576776`,600:`#495867`,650:`#3d4c5a`,700:`#31404d`,750:`#273441`,800:`#1d2a36`,850:`#15222d`,900:`#0d1924`,950:`#040e18`},stone:{0:`#faf9f8`,50:`#f5f3f2`,100:`#f0eeed`,150:`#e7e3e1`,200:`#dcd7d3`,250:`#d0c9c4`,300:`#c2b9b3`,350:`#b1a7a0`,400:`#9e948c`,450:`#8c8179`,500:`#7c7169`,550:`#6d635b`,600:`#5f554e`,650:`#524841`,700:`#463c36`,750:`#3a312b`,800:`#2f2721`,850:`#271f19`,900:`#1e1611`,950:`#130c07`},sage:{0:`#f8f9f8`,50:`#f2f4f2`,100:`#ecf0ed`,150:`#e0e6e2`,200:`#d2dad5`,250:`#c2cdc6`,300:`#b0beb6`,350:`#9dada3`,400:`#899a90`,450:`#75877d`,500:`#65776d`,550:`#58695f`,600:`#4a5a51`,650:`#3e4e45`,700:`#324239`,750:`#28362e`,800:`#1e2b24`,850:`#16231c`,900:`#0e1a14`,950:`#051009`},bronze:{0:`#fdf8f7`,50:`#fbf2f1`,100:`#f8eceb`,150:`#f3e0dd`,200:`#edd2ce`,250:`#e5c2bd`,300:`#dbb1ab`,350:`#cd9d97`,400:`#bd8982`,450:`#ab756e`,500:`#9a655e`,550:`#8b5851`,600:`#7b4a43`,650:`#6c3d37`,700:`#5e322c`,750:`#512621`,800:`#451c18`,850:`#3b1410`,900:`#300b08`,950:`#230202`},brown:{0:`#fdf8f5`,50:`#faf2ed`,100:`#f7ede5`,150:`#f3e1d4`,200:`#edd3c1`,250:`#e5c4ac`,300:`#dbb396`,350:`#cda07e`,400:`#bd8c67`,450:`#aa7851`,500:`#9a6840`,550:`#8b5a33`,600:`#7b4c25`,650:`#6c3f19`,700:`#5e330b`,750:`#512800`,800:`#421f00`,850:`#361900`,900:`#291200`,950:`#1a0900`},sand:{0:`#fbf9f5`,50:`#f6f3ed`,100:`#f2eee6`,150:`#ebe4d5`,200:`#e1d7c2`,250:`#d6c9ac`,300:`#c9b996`,350:`#baa77f`,400:`#a89468`,450:`#958052`,500:`#867041`,550:`#776234`,600:`#685426`,650:`#5b471a`,700:`#4e3b0d`,750:`#423001`,800:`#352600`,850:`#2b1e00`,900:`#211600`,950:`#140c00`},moss:{0:`#f7faf6`,50:`#f0f5ef`,100:`#eaf1e8`,150:`#dce7d9`,200:`#cdddc8`,250:`#bbd0b4`,300:`#a9c2a0`,350:`#94b18b`,400:`#7f9e75`,450:`#6b8b60`,500:`#5b7b50`,550:`#4e6d43`,600:`#405e36`,650:`#34512a`,700:`#29451f`,750:`#1e3914`,800:`#142e0a`,850:`#0d2603`,900:`#061d00`,950:`#031100`},spruce:{0:`#f5fafa`,50:`#edf5f5`,100:`#e6f1f0`,150:`#d5e8e7`,200:`#c2dddc`,250:`#add1cf`,300:`#97c3c1`,350:`#7fb2b0`,400:`#67a09d`,450:`#508d8a`,500:`#3e7d7a`,550:`#306e6c`,600:`#21605e`,650:`#115351`,700:`#014644`,750:`#003a38`,800:`#002e2d`,850:`#002524`,900:`#001c1b`,950:`#00100f`},denim:{0:`#f6f9fd`,50:`#eff4fb`,100:`#e9eff8`,150:`#dae5f4`,200:`#cadaee`,250:`#b7cce7`,300:`#a4bdde`,350:`#8eabd0`,400:`#7998c0`,450:`#6585af`,500:`#55759e`,550:`#47678f`,600:`#3a587f`,650:`#2e4b70`,700:`#233f63`,750:`#183455`,800:`#0e2949`,850:`#07213f`,900:`#011835`,950:`#000d23`},mauve:{0:`#fbf8fc`,50:`#f7f2f8`,100:`#f3edf5`,150:`#ece1ef`,200:`#e3d3e8`,250:`#d8c3df`,300:`#ccb2d4`,350:`#bc9fc5`,400:`#aa8bb4`,450:`#9877a2`,500:`#886792`,550:`#795a83`,600:`#6a4c74`,650:`#5d3f66`,700:`#503458`,750:`#44284c`,800:`#381e40`,850:`#2f1637`,900:`#260e2d`,950:`#1a0420`},red:{0:`#fff3f1`,50:`#ffebe7`,100:`#ffe2de`,150:`#ffd0ca`,200:`#ffbfb6`,250:`#ffaca2`,300:`#ff988d`,350:`#ff8277`,400:`#ff695e`,450:`#ff4a43`,500:`#fc1724`,550:`#e9041b`,600:`#d30317`,650:`#be0314`,700:`#a90210`,750:`#95010d`,800:`#80010a`,850:`#6d0107`,900:`#590004`,950:`#470003`},orange:{0:`#fff3ed`,50:`#ffeee5`,100:`#ffe9dd`,150:`#ffdecd`,200:`#ffd3bc`,250:`#ffc8aa`,300:`#ffbb96`,350:`#ffae80`,400:`#ff9e66`,450:`#ff8d46`,500:`#fc7a15`,550:`#ec7004`,600:`#d86603`,650:`#c35b02`,700:`#ac5002`,750:`#954401`,800:`#7e3801`,850:`#662c01`,900:`#502100`,950:`#391600`},amber:{0:`#fcf4ec`,50:`#fef1e4`,100:`#ffeedb`,150:`#ffe7cd`,200:`#ffe0bf`,250:`#ffd9af`,300:`#ffd19d`,350:`#ffc888`,400:`#ffbe6f`,450:`#ffb24e`,500:`#fda51a`,550:`#f09a05`,600:`#dd8e04`,650:`#c88003`,700:`#b17002`,750:`#986002`,800:`#7e4f01`,850:`#643d01`,900:`#4a2c00`,950:`#321c00`},yellow:{0:`#f8f6eb`,50:`#faf5e0`,100:`#fcf4d5`,150:`#fff2bd`,200:`#fff0b1`,250:`#ffeda3`,300:`#ffe992`,350:`#ffe67e`,400:`#ffe162`,450:`#ffdb37`,500:`#fad620`,550:`#f1cd0d`,600:`#e2c006`,650:`#ceae05`,700:`#b69a04`,750:`#9b8303`,800:`#7e6b02`,850:`#615101`,900:`#443900`,950:`#292100`},lime:{0:`#f2f8ed`,50:`#ecf8e1`,100:`#e6f8d5`,150:`#daf8be`,200:`#cef7a6`,250:`#c3f58f`,300:`#b8f177`,350:`#aded60`,400:`#a3e749`,450:`#99df32`,500:`#90d61c`,550:`#86cb05`,600:`#7bbb05`,650:`#6fa904`,700:`#619503`,750:`#538002`,800:`#446a01`,850:`#345301`,900:`#253d00`,950:`#162700`},green:{0:`#eff9ef`,50:`#e4f9e5`,100:`#d9f8da`,150:`#c3f5c5`,200:`#adf2b1`,250:`#96ee9d`,300:`#7fe989`,350:`#68e277`,400:`#51da65`,450:`#3bd056`,500:`#24c548`,550:`#05b83c`,600:`#04a836`,650:`#039730`,700:`#028629`,750:`#027322`,800:`#01611b`,850:`#014e14`,900:`#003c0e`,950:`#002b07`},emerald:{0:`#eef9f3`,50:`#e4faee`,100:`#dafae8`,150:`#c6fbdd`,200:`#b0fbd2`,250:`#9afac7`,300:`#83f7bd`,350:`#6df4b3`,400:`#56eea9`,450:`#40e7a0`,500:`#2bdf97`,550:`#14d38c`,600:`#06c381`,650:`#05b174`,700:`#049c66`,750:`#038557`,800:`#026e47`,850:`#015737`,900:`#014027`,950:`#002a18`},teal:{0:`#eef8f6`,50:`#e4f9f4`,100:`#daf9f3`,150:`#c6f9f0`,200:`#b0f8ed`,250:`#9af6e8`,300:`#83f3e4`,350:`#6defde`,400:`#56e9d8`,450:`#40e2d0`,500:`#2bd9c7`,550:`#14cebc`,600:`#06bfae`,650:`#05ac9d`,700:`#04988b`,750:`#038277`,800:`#026b62`,850:`#01554d`,900:`#013e38`,950:`#002824`},cyan:{0:`#eef8fa`,50:`#e4f8fc`,100:`#daf7fd`,150:`#c8f6ff`,200:`#b7f3ff`,250:`#a5f0ff`,300:`#8fedff`,350:`#73e9ff`,400:`#55e4fc`,450:`#3fddf6`,500:`#2bd4ee`,550:`#14c8e2`,600:`#06b9d1`,650:`#05a8bd`,700:`#0394a7`,750:`#027f8f`,800:`#026877`,850:`#01525e`,900:`#013c45`,950:`#00272d`},sky:{0:`#eef7fd`,50:`#e6f5fe`,100:`#def2ff`,150:`#cfedff`,200:`#bfe7ff`,250:`#aee1ff`,300:`#9cdaff`,350:`#87d3ff`,400:`#6ecbff`,450:`#4dc2ff`,500:`#24b8fb`,550:`#08aced`,600:`#049dda`,650:`#038ec4`,700:`#027dae`,750:`#026b96`,800:`#01597e`,850:`#014766`,900:`#00364e`,950:`#002537`},blue:{0:`#f1f6ff`,50:`#e6f0ff`,100:`#dce9ff`,150:`#c7dbff`,200:`#b2cdff`,250:`#9dc0ff`,300:`#88b2ff`,350:`#73a3ff`,400:`#5d95ff`,450:`#4786fe`,500:`#3577f9`,550:`#296aea`,600:`#1f5eda`,650:`#1552ca`,700:`#0a46ba`,750:`#013baa`,800:`#003295`,850:`#002a7f`,900:`#00226b`,950:`#001a57`},indigo:{0:`#f4f5ff`,50:`#eceeff`,100:`#e4e6ff`,150:`#d4d6ff`,200:`#c4c7ff`,250:`#b5b8ff`,300:`#a6a8ff`,350:`#9898ff`,400:`#8a87ff`,450:`#7e75fe`,500:`#7265f9`,550:`#6858ea`,600:`#5d4cda`,650:`#5440ca`,700:`#4a35ba`,750:`#4129aa`,800:`#381e9a`,850:`#301189`,900:`#280379`,950:`#1f0064`},purple:{0:`#f8f3ff`,50:`#f3eaff`,100:`#eee1ff`,150:`#e4d0ff`,200:`#dbbdff`,250:`#d2abff`,300:`#c997ff`,350:`#c083ff`,400:`#b86eff`,450:`#b055fe`,500:`#a63cf9`,550:`#992dea`,600:`#8d1cda`,650:`#8003ca`,700:`#7202b4`,750:`#64019f`,800:`#57018b`,850:`#4a0177`,900:`#3d0164`,950:`#310051`},magenta:{0:`#fff1fd`,50:`#ffeafc`,100:`#ffe3fb`,150:`#ffd4fa`,200:`#ffc5f9`,250:`#ffb4f7`,300:`#ffa2f7`,350:`#ff8df6`,400:`#ff74f6`,450:`#ff52f6`,500:`#fa25f3`,550:`#eb05e4`,600:`#d704d0`,650:`#c103bb`,700:`#ab03a6`,750:`#950290`,800:`#7e017a`,850:`#680164`,900:`#52014f`,950:`#3c003a`},pink:{0:`#fff2f6`,50:`#ffeaf0`,100:`#ffe2eb`,150:`#ffd1e1`,200:`#ffc0d6`,250:`#ffaecb`,300:`#ff9bc1`,350:`#ff85b6`,400:`#ff6cab`,450:`#ff4ca0`,500:`#fa2195`,550:`#ea0488`,600:`#d5037c`,650:`#c0036f`,700:`#aa0262`,750:`#950155`,800:`#800148`,850:`#6b013b`,900:`#57002f`,950:`#430023`},white:`#ffffff`,black:`#000000`};exports.palette=e;
2
+ //# sourceMappingURL=palette.const.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"palette.const.cjs","names":["palette"],"sources":["../../../../src/theme/tokens/primitives/palette.const.ts"],"sourcesContent":["/**\n * Raw sRGB color ramps: neutrals, then muted tones, then vivid hues ordered by\n * hue angle. Every hue exposes the same twenty steps, from `0` (lightest tint)\n * to `950` (darkest shade) every 50; `500` is the reference tone of the hue.\n *\n * Ramps are generated in OKLCH: every hue keeps a constant hue angle from tint\n * to shade, with its chroma peak at `500` fading towards tints and shades.\n * Neutrals and muted tones share one luminance curve; each vivid hue places\n * `500` at the lightness where it is most saturated (kept within 0.6–0.8, up to 0.88 for a true yellow and at most 0.72 for a\n * classic green), so\n * yellows and oranges stay bright while blues and purples stay deep; its other\n * steps follow a smooth monotone curve from `0` to `950` through that point,\n * `50` being the OKLab midpoint between `0` and `100`.\n */\nexport const palette = {\n gray: {\n 0: '#f9f9fa',\n 50: '#f3f4f5',\n 100: '#eeeff0',\n 150: '#e3e4e7',\n 200: '#d6d8dc',\n 250: '#c8cacf',\n 300: '#b8bbc1',\n 350: '#a5a9af',\n 400: '#92969d',\n 450: '#7f838a',\n 500: '#6f737a',\n 550: '#61656c',\n 600: '#53575d',\n 650: '#474a51',\n 700: '#3b3e44',\n 750: '#303339',\n 800: '#25282e',\n 850: '#1e2126',\n 900: '#15181d',\n 950: '#0b0d12',\n },\n neutral: {\n 0: '#f9f9f9',\n 50: '#f4f4f4',\n 100: '#efefef',\n 150: '#e4e4e4',\n 200: '#d8d8d8',\n 250: '#cacaca',\n 300: '#bbbbbb',\n 350: '#a9a9a9',\n 400: '#969696',\n 450: '#838383',\n 500: '#737373',\n 550: '#656565',\n 600: '#575757',\n 650: '#4a4a4a',\n 700: '#3e3e3e',\n 750: '#333333',\n 800: '#282828',\n 850: '#202020',\n 900: '#181818',\n 950: '#0d0d0d',\n },\n slate: {\n 0: '#f8f9fb',\n 50: '#f2f4f6',\n 100: '#eceff2',\n 150: '#dfe5ea',\n 200: '#d1d9e1',\n 250: '#c1cbd6',\n 300: '#afbcc9',\n 350: '#9cabb9',\n 400: '#8898a7',\n 450: '#748595',\n 500: '#647585',\n 550: '#576776',\n 600: '#495867',\n 650: '#3d4c5a',\n 700: '#31404d',\n 750: '#273441',\n 800: '#1d2a36',\n 850: '#15222d',\n 900: '#0d1924',\n 950: '#040e18',\n },\n stone: {\n 0: '#faf9f8',\n 50: '#f5f3f2',\n 100: '#f0eeed',\n 150: '#e7e3e1',\n 200: '#dcd7d3',\n 250: '#d0c9c4',\n 300: '#c2b9b3',\n 350: '#b1a7a0',\n 400: '#9e948c',\n 450: '#8c8179',\n 500: '#7c7169',\n 550: '#6d635b',\n 600: '#5f554e',\n 650: '#524841',\n 700: '#463c36',\n 750: '#3a312b',\n 800: '#2f2721',\n 850: '#271f19',\n 900: '#1e1611',\n 950: '#130c07',\n },\n sage: {\n 0: '#f8f9f8',\n 50: '#f2f4f2',\n 100: '#ecf0ed',\n 150: '#e0e6e2',\n 200: '#d2dad5',\n 250: '#c2cdc6',\n 300: '#b0beb6',\n 350: '#9dada3',\n 400: '#899a90',\n 450: '#75877d',\n 500: '#65776d',\n 550: '#58695f',\n 600: '#4a5a51',\n 650: '#3e4e45',\n 700: '#324239',\n 750: '#28362e',\n 800: '#1e2b24',\n 850: '#16231c',\n 900: '#0e1a14',\n 950: '#051009',\n },\n bronze: {\n 0: '#fdf8f7',\n 50: '#fbf2f1',\n 100: '#f8eceb',\n 150: '#f3e0dd',\n 200: '#edd2ce',\n 250: '#e5c2bd',\n 300: '#dbb1ab',\n 350: '#cd9d97',\n 400: '#bd8982',\n 450: '#ab756e',\n 500: '#9a655e',\n 550: '#8b5851',\n 600: '#7b4a43',\n 650: '#6c3d37',\n 700: '#5e322c',\n 750: '#512621',\n 800: '#451c18',\n 850: '#3b1410',\n 900: '#300b08',\n 950: '#230202',\n },\n brown: {\n 0: '#fdf8f5',\n 50: '#faf2ed',\n 100: '#f7ede5',\n 150: '#f3e1d4',\n 200: '#edd3c1',\n 250: '#e5c4ac',\n 300: '#dbb396',\n 350: '#cda07e',\n 400: '#bd8c67',\n 450: '#aa7851',\n 500: '#9a6840',\n 550: '#8b5a33',\n 600: '#7b4c25',\n 650: '#6c3f19',\n 700: '#5e330b',\n 750: '#512800',\n 800: '#421f00',\n 850: '#361900',\n 900: '#291200',\n 950: '#1a0900',\n },\n sand: {\n 0: '#fbf9f5',\n 50: '#f6f3ed',\n 100: '#f2eee6',\n 150: '#ebe4d5',\n 200: '#e1d7c2',\n 250: '#d6c9ac',\n 300: '#c9b996',\n 350: '#baa77f',\n 400: '#a89468',\n 450: '#958052',\n 500: '#867041',\n 550: '#776234',\n 600: '#685426',\n 650: '#5b471a',\n 700: '#4e3b0d',\n 750: '#423001',\n 800: '#352600',\n 850: '#2b1e00',\n 900: '#211600',\n 950: '#140c00',\n },\n moss: {\n 0: '#f7faf6',\n 50: '#f0f5ef',\n 100: '#eaf1e8',\n 150: '#dce7d9',\n 200: '#cdddc8',\n 250: '#bbd0b4',\n 300: '#a9c2a0',\n 350: '#94b18b',\n 400: '#7f9e75',\n 450: '#6b8b60',\n 500: '#5b7b50',\n 550: '#4e6d43',\n 600: '#405e36',\n 650: '#34512a',\n 700: '#29451f',\n 750: '#1e3914',\n 800: '#142e0a',\n 850: '#0d2603',\n 900: '#061d00',\n 950: '#031100',\n },\n spruce: {\n 0: '#f5fafa',\n 50: '#edf5f5',\n 100: '#e6f1f0',\n 150: '#d5e8e7',\n 200: '#c2dddc',\n 250: '#add1cf',\n 300: '#97c3c1',\n 350: '#7fb2b0',\n 400: '#67a09d',\n 450: '#508d8a',\n 500: '#3e7d7a',\n 550: '#306e6c',\n 600: '#21605e',\n 650: '#115351',\n 700: '#014644',\n 750: '#003a38',\n 800: '#002e2d',\n 850: '#002524',\n 900: '#001c1b',\n 950: '#00100f',\n },\n denim: {\n 0: '#f6f9fd',\n 50: '#eff4fb',\n 100: '#e9eff8',\n 150: '#dae5f4',\n 200: '#cadaee',\n 250: '#b7cce7',\n 300: '#a4bdde',\n 350: '#8eabd0',\n 400: '#7998c0',\n 450: '#6585af',\n 500: '#55759e',\n 550: '#47678f',\n 600: '#3a587f',\n 650: '#2e4b70',\n 700: '#233f63',\n 750: '#183455',\n 800: '#0e2949',\n 850: '#07213f',\n 900: '#011835',\n 950: '#000d23',\n },\n mauve: {\n 0: '#fbf8fc',\n 50: '#f7f2f8',\n 100: '#f3edf5',\n 150: '#ece1ef',\n 200: '#e3d3e8',\n 250: '#d8c3df',\n 300: '#ccb2d4',\n 350: '#bc9fc5',\n 400: '#aa8bb4',\n 450: '#9877a2',\n 500: '#886792',\n 550: '#795a83',\n 600: '#6a4c74',\n 650: '#5d3f66',\n 700: '#503458',\n 750: '#44284c',\n 800: '#381e40',\n 850: '#2f1637',\n 900: '#260e2d',\n 950: '#1a0420',\n },\n red: {\n 0: '#fff3f1',\n 50: '#ffebe7',\n 100: '#ffe2de',\n 150: '#ffd0ca',\n 200: '#ffbfb6',\n 250: '#ffaca2',\n 300: '#ff988d',\n 350: '#ff8277',\n 400: '#ff695e',\n 450: '#ff4a43',\n 500: '#fc1724',\n 550: '#e9041b',\n 600: '#d30317',\n 650: '#be0314',\n 700: '#a90210',\n 750: '#95010d',\n 800: '#80010a',\n 850: '#6d0107',\n 900: '#590004',\n 950: '#470003',\n },\n orange: {\n 0: '#fff3ed',\n 50: '#ffeee5',\n 100: '#ffe9dd',\n 150: '#ffdecd',\n 200: '#ffd3bc',\n 250: '#ffc8aa',\n 300: '#ffbb96',\n 350: '#ffae80',\n 400: '#ff9e66',\n 450: '#ff8d46',\n 500: '#fc7a15',\n 550: '#ec7004',\n 600: '#d86603',\n 650: '#c35b02',\n 700: '#ac5002',\n 750: '#954401',\n 800: '#7e3801',\n 850: '#662c01',\n 900: '#502100',\n 950: '#391600',\n },\n amber: {\n 0: '#fcf4ec',\n 50: '#fef1e4',\n 100: '#ffeedb',\n 150: '#ffe7cd',\n 200: '#ffe0bf',\n 250: '#ffd9af',\n 300: '#ffd19d',\n 350: '#ffc888',\n 400: '#ffbe6f',\n 450: '#ffb24e',\n 500: '#fda51a',\n 550: '#f09a05',\n 600: '#dd8e04',\n 650: '#c88003',\n 700: '#b17002',\n 750: '#986002',\n 800: '#7e4f01',\n 850: '#643d01',\n 900: '#4a2c00',\n 950: '#321c00',\n },\n yellow: {\n 0: '#f8f6eb',\n 50: '#faf5e0',\n 100: '#fcf4d5',\n 150: '#fff2bd',\n 200: '#fff0b1',\n 250: '#ffeda3',\n 300: '#ffe992',\n 350: '#ffe67e',\n 400: '#ffe162',\n 450: '#ffdb37',\n 500: '#fad620',\n 550: '#f1cd0d',\n 600: '#e2c006',\n 650: '#ceae05',\n 700: '#b69a04',\n 750: '#9b8303',\n 800: '#7e6b02',\n 850: '#615101',\n 900: '#443900',\n 950: '#292100',\n },\n lime: {\n 0: '#f2f8ed',\n 50: '#ecf8e1',\n 100: '#e6f8d5',\n 150: '#daf8be',\n 200: '#cef7a6',\n 250: '#c3f58f',\n 300: '#b8f177',\n 350: '#aded60',\n 400: '#a3e749',\n 450: '#99df32',\n 500: '#90d61c',\n 550: '#86cb05',\n 600: '#7bbb05',\n 650: '#6fa904',\n 700: '#619503',\n 750: '#538002',\n 800: '#446a01',\n 850: '#345301',\n 900: '#253d00',\n 950: '#162700',\n },\n green: {\n 0: '#eff9ef',\n 50: '#e4f9e5',\n 100: '#d9f8da',\n 150: '#c3f5c5',\n 200: '#adf2b1',\n 250: '#96ee9d',\n 300: '#7fe989',\n 350: '#68e277',\n 400: '#51da65',\n 450: '#3bd056',\n 500: '#24c548',\n 550: '#05b83c',\n 600: '#04a836',\n 650: '#039730',\n 700: '#028629',\n 750: '#027322',\n 800: '#01611b',\n 850: '#014e14',\n 900: '#003c0e',\n 950: '#002b07',\n },\n emerald: {\n 0: '#eef9f3',\n 50: '#e4faee',\n 100: '#dafae8',\n 150: '#c6fbdd',\n 200: '#b0fbd2',\n 250: '#9afac7',\n 300: '#83f7bd',\n 350: '#6df4b3',\n 400: '#56eea9',\n 450: '#40e7a0',\n 500: '#2bdf97',\n 550: '#14d38c',\n 600: '#06c381',\n 650: '#05b174',\n 700: '#049c66',\n 750: '#038557',\n 800: '#026e47',\n 850: '#015737',\n 900: '#014027',\n 950: '#002a18',\n },\n teal: {\n 0: '#eef8f6',\n 50: '#e4f9f4',\n 100: '#daf9f3',\n 150: '#c6f9f0',\n 200: '#b0f8ed',\n 250: '#9af6e8',\n 300: '#83f3e4',\n 350: '#6defde',\n 400: '#56e9d8',\n 450: '#40e2d0',\n 500: '#2bd9c7',\n 550: '#14cebc',\n 600: '#06bfae',\n 650: '#05ac9d',\n 700: '#04988b',\n 750: '#038277',\n 800: '#026b62',\n 850: '#01554d',\n 900: '#013e38',\n 950: '#002824',\n },\n cyan: {\n 0: '#eef8fa',\n 50: '#e4f8fc',\n 100: '#daf7fd',\n 150: '#c8f6ff',\n 200: '#b7f3ff',\n 250: '#a5f0ff',\n 300: '#8fedff',\n 350: '#73e9ff',\n 400: '#55e4fc',\n 450: '#3fddf6',\n 500: '#2bd4ee',\n 550: '#14c8e2',\n 600: '#06b9d1',\n 650: '#05a8bd',\n 700: '#0394a7',\n 750: '#027f8f',\n 800: '#026877',\n 850: '#01525e',\n 900: '#013c45',\n 950: '#00272d',\n },\n sky: {\n 0: '#eef7fd',\n 50: '#e6f5fe',\n 100: '#def2ff',\n 150: '#cfedff',\n 200: '#bfe7ff',\n 250: '#aee1ff',\n 300: '#9cdaff',\n 350: '#87d3ff',\n 400: '#6ecbff',\n 450: '#4dc2ff',\n 500: '#24b8fb',\n 550: '#08aced',\n 600: '#049dda',\n 650: '#038ec4',\n 700: '#027dae',\n 750: '#026b96',\n 800: '#01597e',\n 850: '#014766',\n 900: '#00364e',\n 950: '#002537',\n },\n blue: {\n 0: '#f1f6ff',\n 50: '#e6f0ff',\n 100: '#dce9ff',\n 150: '#c7dbff',\n 200: '#b2cdff',\n 250: '#9dc0ff',\n 300: '#88b2ff',\n 350: '#73a3ff',\n 400: '#5d95ff',\n 450: '#4786fe',\n 500: '#3577f9',\n 550: '#296aea',\n 600: '#1f5eda',\n 650: '#1552ca',\n 700: '#0a46ba',\n 750: '#013baa',\n 800: '#003295',\n 850: '#002a7f',\n 900: '#00226b',\n 950: '#001a57',\n },\n indigo: {\n 0: '#f4f5ff',\n 50: '#eceeff',\n 100: '#e4e6ff',\n 150: '#d4d6ff',\n 200: '#c4c7ff',\n 250: '#b5b8ff',\n 300: '#a6a8ff',\n 350: '#9898ff',\n 400: '#8a87ff',\n 450: '#7e75fe',\n 500: '#7265f9',\n 550: '#6858ea',\n 600: '#5d4cda',\n 650: '#5440ca',\n 700: '#4a35ba',\n 750: '#4129aa',\n 800: '#381e9a',\n 850: '#301189',\n 900: '#280379',\n 950: '#1f0064',\n },\n purple: {\n 0: '#f8f3ff',\n 50: '#f3eaff',\n 100: '#eee1ff',\n 150: '#e4d0ff',\n 200: '#dbbdff',\n 250: '#d2abff',\n 300: '#c997ff',\n 350: '#c083ff',\n 400: '#b86eff',\n 450: '#b055fe',\n 500: '#a63cf9',\n 550: '#992dea',\n 600: '#8d1cda',\n 650: '#8003ca',\n 700: '#7202b4',\n 750: '#64019f',\n 800: '#57018b',\n 850: '#4a0177',\n 900: '#3d0164',\n 950: '#310051',\n },\n magenta: {\n 0: '#fff1fd',\n 50: '#ffeafc',\n 100: '#ffe3fb',\n 150: '#ffd4fa',\n 200: '#ffc5f9',\n 250: '#ffb4f7',\n 300: '#ffa2f7',\n 350: '#ff8df6',\n 400: '#ff74f6',\n 450: '#ff52f6',\n 500: '#fa25f3',\n 550: '#eb05e4',\n 600: '#d704d0',\n 650: '#c103bb',\n 700: '#ab03a6',\n 750: '#950290',\n 800: '#7e017a',\n 850: '#680164',\n 900: '#52014f',\n 950: '#3c003a',\n },\n pink: {\n 0: '#fff2f6',\n 50: '#ffeaf0',\n 100: '#ffe2eb',\n 150: '#ffd1e1',\n 200: '#ffc0d6',\n 250: '#ffaecb',\n 300: '#ff9bc1',\n 350: '#ff85b6',\n 400: '#ff6cab',\n 450: '#ff4ca0',\n 500: '#fa2195',\n 550: '#ea0488',\n 600: '#d5037c',\n 650: '#c0036f',\n 700: '#aa0262',\n 750: '#950155',\n 800: '#800148',\n 850: '#6b013b',\n 900: '#57002f',\n 950: '#430023',\n },\n white: '#ffffff',\n black: '#000000',\n} as const;\n"],"mappings":"AAcA,IAAaA,EAAU,CACnB,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,QAAS,CACL,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,IAAK,CACD,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,CACH,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,QAAS,CACL,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,IAAK,CACD,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,OAAQ,CACJ,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,QAAS,CACL,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,KAAM,CACF,EAAG,UACH,GAAI,UACJ,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,UACL,IAAK,SACT,EACA,MAAO,UACP,MAAO,SACX,E"}