@saasquatch/mint-components 1.3.3-1 → 1.3.3-5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2030) hide show
  1. package/dist/cjs/ShadowViewAddon-640b3912.js +127 -0
  2. package/dist/cjs/cjs-1066ec21.js +135 -0
  3. package/dist/cjs/extends-0302d27d.js +1151 -0
  4. package/dist/cjs/global-5694a95e.js +26560 -0
  5. package/dist/cjs/index-b0129cd6.js +1730 -0
  6. package/dist/cjs/index.cjs.js +2 -0
  7. package/dist/cjs/index.module-c9d4779a.js +7683 -0
  8. package/dist/cjs/jsonpointer-11327262.js +106 -0
  9. package/dist/cjs/jss-preset-default.esm-6304d24f.js +4273 -0
  10. package/dist/cjs/loader.cjs.js +25 -0
  11. package/dist/cjs/mint-components.cjs.js +46 -0
  12. package/dist/cjs/mixins-ebc0fed1.js +95 -0
  13. package/dist/cjs/re-render-ea55977b.js +45 -0
  14. package/dist/cjs/sqm-asset-card-view-bcea538f.js +52 -0
  15. package/dist/cjs/sqm-asset-card.cjs.entry.js +46 -0
  16. package/dist/cjs/sqm-big-stat.cjs.entry.js +30 -0
  17. package/dist/cjs/sqm-divided-layout_26.cjs.entry.js +26243 -0
  18. package/dist/cjs/sqm-graphql-client-provider.cjs.entry.js +35 -0
  19. package/dist/cjs/sqm-hero-view-dce6baf4.js +149 -0
  20. package/dist/cjs/sqm-hero.cjs.entry.js +36 -0
  21. package/dist/cjs/sqm-leaderboard-rank-view-b75c5f58.js +131 -0
  22. package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +83 -0
  23. package/dist/cjs/sqm-leaderboard.cjs.entry.js +69 -0
  24. package/dist/cjs/sqm-name-fields-view-fbb96a06.js +54 -0
  25. package/dist/cjs/sqm-name-fields.cjs.entry.js +60 -0
  26. package/dist/cjs/sqm-navigation-sidebar-item-view-bcf449fc.js +44 -0
  27. package/dist/cjs/sqm-navigation-sidebar-item.cjs.entry.js +54 -0
  28. package/dist/cjs/sqm-navigation-sidebar-view-78640345.js +37 -0
  29. package/dist/cjs/sqm-navigation-sidebar.cjs.entry.js +23 -0
  30. package/dist/cjs/sqm-popup-container.cjs.entry.js +69 -0
  31. package/dist/cjs/sqm-portal-container-view-35c09ff2.js +31 -0
  32. package/dist/cjs/sqm-portal-container.cjs.entry.js +35 -0
  33. package/dist/cjs/sqm-portal-email-verification-view-c327bb36.js +45 -0
  34. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +108 -0
  35. package/dist/cjs/sqm-portal-footer-view-438f480f.js +83 -0
  36. package/dist/cjs/sqm-portal-footer.cjs.entry.js +59 -0
  37. package/dist/cjs/sqm-portal-forgot-password-view-c6534a2d.js +46 -0
  38. package/dist/cjs/sqm-portal-forgot-password.cjs.entry.js +103 -0
  39. package/dist/cjs/sqm-portal-logout.cjs.entry.js +32 -0
  40. package/dist/cjs/sqm-portal-profile-view-e5e212e8.js +73 -0
  41. package/dist/cjs/sqm-portal-profile.cjs.entry.js +249 -0
  42. package/dist/cjs/sqm-portal-protected-route.cjs.entry.js +65 -0
  43. package/dist/cjs/sqm-portal-reset-password-view-db478b01.js +82 -0
  44. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +173 -0
  45. package/dist/cjs/sqm-portal-section-view-a1587fab.js +28 -0
  46. package/dist/cjs/sqm-portal-verify-email-view-06b43fb1.js +48 -0
  47. package/dist/cjs/sqm-portal-verify-email.cjs.entry.js +131 -0
  48. package/dist/cjs/sqm-referral-table-column.cjs.entry.js +30 -0
  49. package/dist/cjs/sqm-referral-table-date-column.cjs.entry.js +47 -0
  50. package/dist/cjs/sqm-referral-table-rewards-column.cjs.entry.js +38 -0
  51. package/dist/cjs/sqm-referral-table-status-column.cjs.entry.js +45 -0
  52. package/dist/cjs/sqm-referral-table-user-column.cjs.entry.js +57 -0
  53. package/dist/cjs/sqm-route.cjs.entry.js +18 -0
  54. package/dist/cjs/sqm-share-code.cjs.entry.js +87 -0
  55. package/dist/cjs/sqm-share-link-view-9490be2a.js +24 -0
  56. package/dist/cjs/sqm-stat-container-view-fcde63ed.js +53 -0
  57. package/dist/cjs/sqm-stat-container.cjs.entry.js +29 -0
  58. package/dist/cjs/sqm-text-span-view-b7e0f9b8.js +60 -0
  59. package/dist/cjs/sqm-text-span.cjs.entry.js +23 -0
  60. package/dist/cjs/sqm-titled-section.cjs.entry.js +36 -0
  61. package/dist/cjs/use-callback-fadb2643.js +7 -0
  62. package/dist/cjs/useDemoBigStat-8670b2e2.js +872 -0
  63. package/dist/cjs/utils-a58bfe0d.js +28 -0
  64. package/dist/collection/ShadowViewAddon.js +35 -0
  65. package/dist/collection/assets/PoweredBySaaSquatch.png +0 -0
  66. package/dist/collection/assets/saasquatch-logo-wide.jpeg +0 -0
  67. package/dist/collection/assets/saasquatch-logo.png +0 -0
  68. package/dist/collection/collection-manifest.json +67 -0
  69. package/dist/collection/components/sqm-asset-card/sqm-asset-card-view.js +48 -0
  70. package/dist/collection/components/sqm-asset-card/sqm-asset-card.js +107 -0
  71. package/dist/collection/components/sqm-asset-card/useAssetCard.js +9 -0
  72. package/dist/collection/components/sqm-big-stat/sqm-big-stat-view.js +37 -0
  73. package/dist/collection/components/sqm-big-stat/sqm-big-stat.js +137 -0
  74. package/dist/collection/components/sqm-big-stat/useBigStat.js +509 -0
  75. package/dist/collection/components/sqm-big-stat/useDemoBigStat.js +28 -0
  76. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout-view.js +54 -0
  77. package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +76 -0
  78. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile-view.js +55 -0
  79. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.css +70 -0
  80. package/dist/collection/components/sqm-edit-profile/sqm-edit-profile.js +279 -0
  81. package/dist/collection/components/sqm-edit-profile/useEditProfile.js +156 -0
  82. package/dist/collection/components/sqm-form-message/sqm-form-message.css +20 -0
  83. package/dist/collection/components/sqm-form-message/sqm-form-message.js +82 -0
  84. package/dist/collection/components/sqm-graphql-client-provider/sqm-graphql-client-provider.js +50 -0
  85. package/dist/collection/components/sqm-graphql-client-provider/useGraphQLProvider.js +14 -0
  86. package/dist/collection/components/sqm-hero/sqm-hero-view.js +130 -0
  87. package/dist/collection/components/sqm-hero/sqm-hero.js +138 -0
  88. package/dist/collection/components/sqm-hook-story-container/sqm-hook-story-container.js +39 -0
  89. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +22 -0
  90. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.css +37 -0
  91. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +263 -0
  92. package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +63 -0
  93. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +5 -0
  94. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.css +11 -0
  95. package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank.js +198 -0
  96. package/dist/collection/components/sqm-leaderboard-rank/useLeaderboardRank.js +38 -0
  97. package/dist/collection/components/sqm-name-fields/sqm-name-fields-view.js +50 -0
  98. package/dist/collection/components/sqm-name-fields/sqm-name-fields.js +114 -0
  99. package/dist/collection/components/sqm-name-fields/useNameFields.js +14 -0
  100. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu-view.js +14 -0
  101. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.css +25 -0
  102. package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +122 -0
  103. package/dist/collection/components/sqm-navigation-menu/useNavigationMenu.js +27 -0
  104. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.js +33 -0
  105. package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +24 -0
  106. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.js +40 -0
  107. package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +127 -0
  108. package/dist/collection/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.js +14 -0
  109. package/dist/collection/components/sqm-password-field/passwordValidation.js +78 -0
  110. package/dist/collection/components/sqm-password-field/sqm-password-field-view.js +43 -0
  111. package/dist/collection/components/sqm-password-field/sqm-password-field.js +132 -0
  112. package/dist/collection/components/sqm-password-field/usePasswordField.js +25 -0
  113. package/dist/collection/components/sqm-popup-container/sqm-popup-container-view.js +11 -0
  114. package/dist/collection/components/sqm-popup-container/sqm-popup-container.css +11 -0
  115. package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +139 -0
  116. package/dist/collection/components/sqm-popup-container/usePopupContainer.js +33 -0
  117. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password-view.js +76 -0
  118. package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +281 -0
  119. package/dist/collection/components/sqm-portal-change-password/usePortalChangePassword.js +61 -0
  120. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +27 -0
  121. package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +147 -0
  122. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification-view.js +41 -0
  123. package/dist/collection/components/sqm-portal-email-verification/sqm-portal-email-verification.js +173 -0
  124. package/dist/collection/components/sqm-portal-email-verification/usePortalEmailVerification.js +48 -0
  125. package/dist/collection/components/sqm-portal-footer/PoweredByImg.js +11 -0
  126. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +68 -0
  127. package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +305 -0
  128. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.js +42 -0
  129. package/dist/collection/components/sqm-portal-forgot-password/sqm-portal-forgot-password.js +174 -0
  130. package/dist/collection/components/sqm-portal-forgot-password/usePortalForgotPassword.js +44 -0
  131. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame-view.js +55 -0
  132. package/dist/collection/components/sqm-portal-frame/sqm-portal-frame.js +78 -0
  133. package/dist/collection/components/sqm-portal-frame/usePortalFrame.js +13 -0
  134. package/dist/collection/components/sqm-portal-login/sqm-portal-login-view.js +47 -0
  135. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +309 -0
  136. package/dist/collection/components/sqm-portal-login/usePortalLogin.js +47 -0
  137. package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +50 -0
  138. package/dist/collection/components/sqm-portal-logout/usePortalLogout.js +5 -0
  139. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile-view.js +69 -0
  140. package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +298 -0
  141. package/dist/collection/components/sqm-portal-profile/usePortalProfile.js +149 -0
  142. package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +106 -0
  143. package/dist/collection/components/sqm-portal-protected-route/usePortalProtectedRoute.js +26 -0
  144. package/dist/collection/components/sqm-portal-register/sqm-portal-register-view.js +75 -0
  145. package/dist/collection/components/sqm-portal-register/sqm-portal-register.js +390 -0
  146. package/dist/collection/components/sqm-portal-register/usePortalRegister.js +115 -0
  147. package/dist/collection/components/sqm-portal-register/useValidationState.js +8 -0
  148. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password-view.js +78 -0
  149. package/dist/collection/components/sqm-portal-reset-password/sqm-portal-reset-password.js +315 -0
  150. package/dist/collection/components/sqm-portal-reset-password/usePortalResetPassword.js +77 -0
  151. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email-view.js +44 -0
  152. package/dist/collection/components/sqm-portal-verify-email/sqm-portal-verify-email.js +123 -0
  153. package/dist/collection/components/sqm-portal-verify-email/usePortalVerifyEmail.js +80 -0
  154. package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +24 -0
  155. package/dist/collection/components/sqm-program-menu/useProgramMenu.js +33 -0
  156. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe-view.js +30 -0
  157. package/dist/collection/components/sqm-referral-iframe/sqm-referral-iframe.js +156 -0
  158. package/dist/collection/components/sqm-referral-iframe/useReferralIframe.js +25 -0
  159. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-cell.js +36 -0
  160. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-date-cell.js +43 -0
  161. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.js +169 -0
  162. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-status-cell.js +44 -0
  163. package/dist/collection/components/sqm-referral-table/cells/sqm-referral-table-user-cell.js +28 -0
  164. package/dist/collection/components/sqm-referral-table/columns/ReferralTableColumn.js +1 -0
  165. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-column.js +88 -0
  166. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-date-column.js +137 -0
  167. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.js +117 -0
  168. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-status-column.js +145 -0
  169. package/dist/collection/components/sqm-referral-table/columns/sqm-referral-table-user-column.js +157 -0
  170. package/dist/collection/components/sqm-referral-table/re-render.js +39 -0
  171. package/dist/collection/components/sqm-referral-table/sqm-referral-table-view.js +54 -0
  172. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +238 -0
  173. package/dist/collection/components/sqm-referral-table/sqm-table-cell.js +52 -0
  174. package/dist/collection/components/sqm-referral-table/sqm-table-row.js +33 -0
  175. package/dist/collection/components/sqm-referral-table/useChildElements.js +16 -0
  176. package/dist/collection/components/sqm-referral-table/useReferralTable.js +321 -0
  177. package/dist/collection/components/sqm-route/sqm-route.js +40 -0
  178. package/dist/collection/components/sqm-router/sqm-router.css +7 -0
  179. package/dist/collection/components/sqm-router/sqm-router.js +30 -0
  180. package/dist/collection/components/sqm-router/useRouter.js +79 -0
  181. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +20 -0
  182. package/dist/collection/components/sqm-share-button/sqm-share-button.css +11 -0
  183. package/dist/collection/components/sqm-share-button/sqm-share-button.js +381 -0
  184. package/dist/collection/components/sqm-share-button/useShareButton.js +89 -0
  185. package/dist/collection/components/sqm-share-code/sqm-share-code.js +148 -0
  186. package/dist/collection/components/sqm-share-code/useShareCode.js +30 -0
  187. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +20 -0
  188. package/dist/collection/components/sqm-share-link/sqm-share-link.js +148 -0
  189. package/dist/collection/components/sqm-share-link/useShareLink.js +30 -0
  190. package/dist/collection/components/sqm-stat-container/sqm-stat-container-view.js +49 -0
  191. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +63 -0
  192. package/dist/collection/components/sqm-stencilbook/CucumberAddon.js +18 -0
  193. package/dist/collection/components/sqm-stencilbook/HookStoryAddon.js +19 -0
  194. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +110 -0
  195. package/dist/collection/components/sqm-text/sqm-text.js +77 -0
  196. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +56 -0
  197. package/dist/collection/components/sqm-text-span/sqm-text-span.js +69 -0
  198. package/dist/collection/components/sqm-titled-section/sqm-portal-section-view.js +24 -0
  199. package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +115 -0
  200. package/dist/collection/components/sqm-user-name/sqm-user-name-view.js +4 -0
  201. package/dist/collection/components/sqm-user-name/sqm-user-name.js +114 -0
  202. package/dist/collection/components/sqm-user-name/useUserName.js +26 -0
  203. package/dist/collection/global/global.js +80 -0
  204. package/dist/collection/global/mixins.js +100 -0
  205. package/dist/collection/global/styles.js +582 -0
  206. package/dist/collection/global/styles.ts +584 -0
  207. package/dist/collection/index.js +1 -0
  208. package/dist/collection/insertcss.js +44 -0
  209. package/dist/collection/stories/AssetCard.stories.js +29 -0
  210. package/dist/collection/stories/BigStat.stories.js +58 -0
  211. package/dist/collection/stories/ChangePassword.stories.js +147 -0
  212. package/dist/collection/stories/DividedLayout.stories.js +85 -0
  213. package/dist/collection/stories/EditProfileForm.stories.js +61 -0
  214. package/dist/collection/stories/FormMessage.stories.js +28 -0
  215. package/dist/collection/stories/Hero.stories.js +168 -0
  216. package/dist/collection/stories/Leaderboard.stories.js +100 -0
  217. package/dist/collection/stories/LeaderboardRank.stories.js +12 -0
  218. package/dist/collection/stories/NameFields.stories.js +36 -0
  219. package/dist/collection/stories/NavigationSidebar.stories.js +45 -0
  220. package/dist/collection/stories/NewPortal.stories.js +305 -0
  221. package/dist/collection/stories/PasswordField.stories.js +40 -0
  222. package/dist/collection/stories/PortalEmailVerification.stories.js +77 -0
  223. package/dist/collection/stories/PortalFooter.stories.js +24 -0
  224. package/dist/collection/stories/PortalForgotPassword.stories.js +73 -0
  225. package/dist/collection/stories/PortalFrame.stories.js +118 -0
  226. package/dist/collection/stories/PortalLogin.stories.js +44 -0
  227. package/dist/collection/stories/PortalProfile.stories.js +233 -0
  228. package/dist/collection/stories/PortalRegister.stories.js +97 -0
  229. package/dist/collection/stories/PortalResetPassword.stories.js +153 -0
  230. package/dist/collection/stories/PortalTemplates.stories.js +156 -0
  231. package/dist/collection/stories/PortalVerifyEmail.stories.js +39 -0
  232. package/dist/collection/stories/PoweredByImg.stories.js +14 -0
  233. package/dist/collection/stories/ProgramMenu.stories.js +39 -0
  234. package/dist/collection/stories/ReferralIframe.stories.js +29 -0
  235. package/dist/collection/stories/ReferralTable.stories.js +475 -0
  236. package/dist/collection/stories/ReferralTableCell.stories.js +62 -0
  237. package/dist/collection/stories/ReferralTableRewardsCell.stories.js +213 -0
  238. package/dist/collection/stories/Router.stories.js +144 -0
  239. package/dist/collection/stories/ShareButton.stories.js +45 -0
  240. package/dist/collection/stories/ShareLink.stories.js +33 -0
  241. package/dist/collection/stories/SidebarItem.stories.js +31 -0
  242. package/dist/collection/stories/UseBigStat.stories.js +105 -0
  243. package/dist/collection/stories/UseEditProfile.stories.js +41 -0
  244. package/dist/collection/stories/UseLeaderboard.stories.js +79 -0
  245. package/dist/collection/stories/UseShareButton.stories.js +59 -0
  246. package/dist/collection/stories/UseShareLink.stories.js +59 -0
  247. package/dist/collection/stories/UserName.stories.js +14 -0
  248. package/dist/collection/utilities.js +21 -0
  249. package/dist/collection/utils/RequiredPropsError.js +50 -0
  250. package/dist/collection/utils/isDemo.js +10 -0
  251. package/dist/collection/utils/utils.js +33 -0
  252. package/dist/esm/ShadowViewAddon-f84fe5c8.js +122 -0
  253. package/dist/esm/cjs-bdfb4486.js +133 -0
  254. package/dist/esm/extends-3a3f9fe2.js +1132 -0
  255. package/dist/esm/global-bc17ddd7.js +26556 -0
  256. package/dist/esm/index-17b4da69.js +1699 -0
  257. package/dist/esm/index.js +1 -0
  258. package/dist/esm/index.module-c4098674.js +7651 -0
  259. package/dist/esm/jsonpointer-388a7082.js +104 -0
  260. package/dist/esm/jss-preset-default.esm-71fae192.js +4270 -0
  261. package/dist/esm/loader.js +21 -0
  262. package/dist/esm/mint-components.js +44 -0
  263. package/dist/esm/mixins-eba86511.js +88 -0
  264. package/dist/esm/polyfills/core-js.js +11 -0
  265. package/dist/esm/polyfills/css-shim.js +1 -0
  266. package/dist/esm/polyfills/dom.js +79 -0
  267. package/dist/esm/polyfills/es5-html-element.js +1 -0
  268. package/dist/esm/polyfills/index.js +34 -0
  269. package/dist/esm/polyfills/system.js +6 -0
  270. package/dist/esm/re-render-bc542198.js +42 -0
  271. package/dist/esm/sqm-asset-card-view-686789bb.js +50 -0
  272. package/dist/esm/sqm-asset-card.entry.js +42 -0
  273. package/dist/esm/sqm-big-stat.entry.js +26 -0
  274. package/dist/esm/sqm-divided-layout_26.entry.js +26214 -0
  275. package/dist/esm/sqm-graphql-client-provider.entry.js +31 -0
  276. package/dist/esm/sqm-hero-view-8a6c5d99.js +147 -0
  277. package/dist/esm/sqm-hero.entry.js +32 -0
  278. package/dist/esm/sqm-leaderboard-rank-view-eb1f817c.js +128 -0
  279. package/dist/esm/sqm-leaderboard-rank.entry.js +79 -0
  280. package/dist/esm/sqm-leaderboard.entry.js +65 -0
  281. package/dist/esm/sqm-name-fields-view-443f3baa.js +52 -0
  282. package/dist/esm/sqm-name-fields.entry.js +56 -0
  283. package/dist/esm/sqm-navigation-sidebar-item-view-41c952fe.js +42 -0
  284. package/dist/esm/sqm-navigation-sidebar-item.entry.js +50 -0
  285. package/dist/esm/sqm-navigation-sidebar-view-9a7b5a9e.js +35 -0
  286. package/dist/esm/sqm-navigation-sidebar.entry.js +19 -0
  287. package/dist/esm/sqm-popup-container.entry.js +65 -0
  288. package/dist/esm/sqm-portal-container-view-015fbb1c.js +29 -0
  289. package/dist/esm/sqm-portal-container.entry.js +31 -0
  290. package/dist/esm/sqm-portal-email-verification-view-070f04d1.js +43 -0
  291. package/dist/esm/sqm-portal-email-verification.entry.js +104 -0
  292. package/dist/esm/sqm-portal-footer-view-096aeee9.js +80 -0
  293. package/dist/esm/sqm-portal-footer.entry.js +55 -0
  294. package/dist/esm/sqm-portal-forgot-password-view-0a3acc0e.js +44 -0
  295. package/dist/esm/sqm-portal-forgot-password.entry.js +99 -0
  296. package/dist/esm/sqm-portal-logout.entry.js +28 -0
  297. package/dist/esm/sqm-portal-profile-view-e4c5d047.js +71 -0
  298. package/dist/esm/sqm-portal-profile.entry.js +245 -0
  299. package/dist/esm/sqm-portal-protected-route.entry.js +61 -0
  300. package/dist/esm/sqm-portal-reset-password-view-e36b91dd.js +80 -0
  301. package/dist/esm/sqm-portal-reset-password.entry.js +169 -0
  302. package/dist/esm/sqm-portal-section-view-17ebaaf1.js +26 -0
  303. package/dist/esm/sqm-portal-verify-email-view-b818602a.js +46 -0
  304. package/dist/esm/sqm-portal-verify-email.entry.js +127 -0
  305. package/dist/esm/sqm-referral-table-column.entry.js +26 -0
  306. package/dist/esm/sqm-referral-table-date-column.entry.js +43 -0
  307. package/dist/esm/sqm-referral-table-rewards-column.entry.js +34 -0
  308. package/dist/esm/sqm-referral-table-status-column.entry.js +41 -0
  309. package/dist/esm/sqm-referral-table-user-column.entry.js +53 -0
  310. package/dist/esm/sqm-route.entry.js +14 -0
  311. package/dist/esm/sqm-share-code.entry.js +83 -0
  312. package/dist/esm/sqm-share-link-view-f5b091fa.js +22 -0
  313. package/dist/esm/sqm-stat-container-view-f3285eeb.js +51 -0
  314. package/dist/esm/sqm-stat-container.entry.js +25 -0
  315. package/dist/esm/sqm-text-span-view-db65d1ea.js +58 -0
  316. package/dist/esm/sqm-text-span.entry.js +19 -0
  317. package/dist/esm/sqm-titled-section.entry.js +32 -0
  318. package/dist/esm/use-callback-b38a1523.js +5 -0
  319. package/dist/esm/useDemoBigStat-305d145f.js +867 -0
  320. package/dist/esm/utils-271197e1.js +25 -0
  321. package/dist/esm-es5/ShadowViewAddon-f84fe5c8.js +1 -0
  322. package/dist/esm-es5/cjs-bdfb4486.js +1 -0
  323. package/dist/esm-es5/extends-3a3f9fe2.js +53 -0
  324. package/dist/esm-es5/global-bc17ddd7.js +285 -0
  325. package/dist/esm-es5/index-17b4da69.js +1 -0
  326. package/dist/esm-es5/index.js +0 -0
  327. package/dist/esm-es5/index.module-c4098674.js +1 -0
  328. package/dist/esm-es5/jsonpointer-388a7082.js +1 -0
  329. package/dist/esm-es5/jss-preset-default.esm-71fae192.js +8 -0
  330. package/dist/esm-es5/loader.js +1 -0
  331. package/dist/esm-es5/mint-components.js +1 -0
  332. package/dist/esm-es5/mixins-eba86511.js +1 -0
  333. package/dist/esm-es5/re-render-bc542198.js +1 -0
  334. package/dist/esm-es5/sqm-asset-card-view-686789bb.js +1 -0
  335. package/dist/esm-es5/sqm-asset-card.entry.js +1 -0
  336. package/dist/esm-es5/sqm-big-stat.entry.js +1 -0
  337. package/dist/esm-es5/sqm-divided-layout_26.entry.js +1 -0
  338. package/dist/esm-es5/sqm-graphql-client-provider.entry.js +1 -0
  339. package/dist/esm-es5/sqm-hero-view-8a6c5d99.js +1 -0
  340. package/dist/esm-es5/sqm-hero.entry.js +1 -0
  341. package/dist/esm-es5/sqm-leaderboard-rank-view-eb1f817c.js +1 -0
  342. package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -0
  343. package/dist/esm-es5/sqm-leaderboard.entry.js +1 -0
  344. package/dist/esm-es5/sqm-name-fields-view-443f3baa.js +1 -0
  345. package/dist/esm-es5/sqm-name-fields.entry.js +1 -0
  346. package/dist/esm-es5/sqm-navigation-sidebar-item-view-41c952fe.js +1 -0
  347. package/dist/esm-es5/sqm-navigation-sidebar-item.entry.js +1 -0
  348. package/dist/esm-es5/sqm-navigation-sidebar-view-9a7b5a9e.js +1 -0
  349. package/dist/esm-es5/sqm-navigation-sidebar.entry.js +1 -0
  350. package/dist/esm-es5/sqm-popup-container.entry.js +1 -0
  351. package/dist/esm-es5/sqm-portal-container-view-015fbb1c.js +1 -0
  352. package/dist/esm-es5/sqm-portal-container.entry.js +1 -0
  353. package/dist/esm-es5/sqm-portal-email-verification-view-070f04d1.js +1 -0
  354. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -0
  355. package/dist/esm-es5/sqm-portal-footer-view-096aeee9.js +1 -0
  356. package/dist/esm-es5/sqm-portal-footer.entry.js +1 -0
  357. package/dist/esm-es5/sqm-portal-forgot-password-view-0a3acc0e.js +1 -0
  358. package/dist/esm-es5/sqm-portal-forgot-password.entry.js +1 -0
  359. package/dist/esm-es5/sqm-portal-logout.entry.js +1 -0
  360. package/dist/esm-es5/sqm-portal-profile-view-e4c5d047.js +1 -0
  361. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -0
  362. package/dist/esm-es5/sqm-portal-protected-route.entry.js +1 -0
  363. package/dist/esm-es5/sqm-portal-reset-password-view-e36b91dd.js +1 -0
  364. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -0
  365. package/dist/esm-es5/sqm-portal-section-view-17ebaaf1.js +1 -0
  366. package/dist/esm-es5/sqm-portal-verify-email-view-b818602a.js +1 -0
  367. package/dist/esm-es5/sqm-portal-verify-email.entry.js +1 -0
  368. package/dist/esm-es5/sqm-referral-table-column.entry.js +1 -0
  369. package/dist/esm-es5/sqm-referral-table-date-column.entry.js +1 -0
  370. package/dist/esm-es5/sqm-referral-table-rewards-column.entry.js +1 -0
  371. package/dist/esm-es5/sqm-referral-table-status-column.entry.js +1 -0
  372. package/dist/esm-es5/sqm-referral-table-user-column.entry.js +1 -0
  373. package/dist/esm-es5/sqm-route.entry.js +1 -0
  374. package/dist/esm-es5/sqm-share-code.entry.js +1 -0
  375. package/dist/esm-es5/sqm-share-link-view-f5b091fa.js +1 -0
  376. package/dist/esm-es5/sqm-stat-container-view-f3285eeb.js +1 -0
  377. package/dist/esm-es5/sqm-stat-container.entry.js +1 -0
  378. package/dist/esm-es5/sqm-text-span-view-db65d1ea.js +1 -0
  379. package/dist/esm-es5/sqm-text-span.entry.js +1 -0
  380. package/dist/esm-es5/sqm-titled-section.entry.js +1 -0
  381. package/dist/esm-es5/use-callback-b38a1523.js +1 -0
  382. package/dist/esm-es5/useDemoBigStat-305d145f.js +1 -0
  383. package/dist/esm-es5/utils-271197e1.js +1 -0
  384. package/dist/index.cjs.js +1 -0
  385. package/dist/index.js +1 -0
  386. package/dist/loader/cdn.js +3 -0
  387. package/dist/loader/index.cjs.js +3 -0
  388. package/dist/loader/index.d.ts +13 -0
  389. package/dist/loader/index.es2017.js +3 -0
  390. package/dist/loader/index.js +4 -0
  391. package/dist/loader/package.json +10 -0
  392. package/dist/mint-components/global/styles.ts +584 -0
  393. package/dist/mint-components/index.esm.js +0 -0
  394. package/dist/mint-components/mint-components.esm.js +1 -0
  395. package/dist/mint-components/mint-components.js +130 -0
  396. package/dist/mint-components/p-015b683f.system.js +53 -0
  397. package/dist/mint-components/p-01ecef43.system.entry.js +1 -0
  398. package/dist/mint-components/p-028e5b2d.entry.js +1 -0
  399. package/dist/mint-components/p-151fa42f.js +1 -0
  400. package/dist/mint-components/p-16dd1560.system.entry.js +1 -0
  401. package/dist/mint-components/p-1b7d89a7.system.js +8 -0
  402. package/dist/mint-components/p-1e182e88.system.js +1 -0
  403. package/dist/mint-components/p-1eb492e9.system.entry.js +1 -0
  404. package/dist/mint-components/p-1f2cf99b.system.js +1 -0
  405. package/dist/mint-components/p-1fb3f364.entry.js +1 -0
  406. package/dist/mint-components/p-210ee5d8.system.js +1 -0
  407. package/dist/mint-components/p-299be7f5.system.entry.js +1 -0
  408. package/dist/mint-components/p-2a495707.system.js +1 -0
  409. package/dist/mint-components/p-314db33c.entry.js +1 -0
  410. package/dist/mint-components/p-35c7cb98.system.js +1 -0
  411. package/dist/mint-components/p-385ecd6a.system.js +1 -0
  412. package/dist/mint-components/p-39c5c05f.js +1 -0
  413. package/dist/mint-components/p-3d691d68.entry.js +1 -0
  414. package/dist/mint-components/p-3e8661ac.entry.js +1 -0
  415. package/dist/mint-components/p-4186211c.entry.js +1 -0
  416. package/dist/mint-components/p-41d60628.entry.js +1 -0
  417. package/dist/mint-components/p-4293cf8b.system.js +1 -0
  418. package/dist/mint-components/p-44578b22.js +42 -0
  419. package/dist/mint-components/p-456ac17b.system.entry.js +1 -0
  420. package/dist/mint-components/p-496b1fb5.system.js +1 -0
  421. package/dist/mint-components/p-4a43d08d.system.entry.js +1 -0
  422. package/dist/mint-components/p-4bc4d3cd.js +1248 -0
  423. package/dist/mint-components/p-4bd679a7.system.js +1 -0
  424. package/dist/mint-components/p-4eaf0ffb.system.js +1 -0
  425. package/dist/mint-components/p-4f443ee8.system.entry.js +1 -0
  426. package/dist/mint-components/p-500af00b.system.entry.js +1 -0
  427. package/dist/mint-components/p-50cab082.js +1 -0
  428. package/dist/mint-components/p-50ea2036.system.js +1 -0
  429. package/dist/mint-components/p-516ed603.js +1 -0
  430. package/dist/mint-components/p-51f49459.system.entry.js +1 -0
  431. package/dist/mint-components/p-52209290.js +1 -0
  432. package/dist/mint-components/p-571e91e7.js +1 -0
  433. package/dist/mint-components/p-57e8da01.system.js +1 -0
  434. package/dist/mint-components/p-588df429.js +1 -0
  435. package/dist/mint-components/p-5983c4b1.entry.js +1 -0
  436. package/dist/mint-components/p-5b02078c.system.entry.js +1 -0
  437. package/dist/mint-components/p-5b3f7ae3.system.js +1 -0
  438. package/dist/mint-components/p-5ca3a6d5.system.entry.js +1 -0
  439. package/dist/mint-components/p-5ee55ce9.js +1 -0
  440. package/dist/mint-components/p-5f58de4d.system.entry.js +1 -0
  441. package/dist/mint-components/p-60967480.system.entry.js +1 -0
  442. package/dist/mint-components/p-611744d8.system.entry.js +1 -0
  443. package/dist/mint-components/p-620504da.entry.js +1 -0
  444. package/dist/mint-components/p-639d3dd3.entry.js +1 -0
  445. package/dist/mint-components/p-63e14d28.system.entry.js +1 -0
  446. package/dist/mint-components/p-64046957.system.js +1 -0
  447. package/dist/mint-components/p-640be111.system.js +1 -0
  448. package/dist/mint-components/p-64c3217a.js +1 -0
  449. package/dist/mint-components/p-64c3ab61.entry.js +1 -0
  450. package/dist/mint-components/p-663f7a43.js +1 -0
  451. package/dist/mint-components/p-67ef28d9.entry.js +1 -0
  452. package/dist/mint-components/p-6ec81e0b.entry.js +1 -0
  453. package/dist/mint-components/p-70dfea1f.entry.js +1 -0
  454. package/dist/mint-components/p-773c4233.entry.js +1 -0
  455. package/dist/mint-components/p-78e6007a.system.entry.js +1 -0
  456. package/dist/mint-components/p-7a5dc420.system.entry.js +1 -0
  457. package/dist/mint-components/p-7bb84d1e.entry.js +9 -0
  458. package/dist/mint-components/p-7ed9efe2.system.entry.js +1 -0
  459. package/dist/mint-components/p-83a280d6.entry.js +230 -0
  460. package/dist/mint-components/p-86387caa.system.entry.js +1 -0
  461. package/dist/mint-components/p-88995874.system.js +285 -0
  462. package/dist/mint-components/p-8cb92dee.js +1 -0
  463. package/dist/mint-components/p-91e7e0c7.entry.js +1 -0
  464. package/dist/mint-components/p-92d332cb.entry.js +33 -0
  465. package/dist/mint-components/p-951b2711.system.entry.js +1 -0
  466. package/dist/mint-components/p-958d85e3.js +1 -0
  467. package/dist/mint-components/p-96b7953f.js +1 -0
  468. package/dist/mint-components/p-97608be8.entry.js +1 -0
  469. package/dist/mint-components/p-97bc7872.system.entry.js +1 -0
  470. package/dist/mint-components/p-9ee9f091.system.entry.js +1 -0
  471. package/dist/mint-components/p-a225c7bd.system.entry.js +1 -0
  472. package/dist/mint-components/p-a28686e7.system.entry.js +1 -0
  473. package/dist/mint-components/p-a2e8c264.system.js +1 -0
  474. package/dist/mint-components/p-a36e0311.entry.js +1 -0
  475. package/dist/mint-components/p-a6f4266b.system.entry.js +1 -0
  476. package/dist/mint-components/p-a75081bd.entry.js +1 -0
  477. package/dist/mint-components/p-a89b55a9.entry.js +1 -0
  478. package/dist/mint-components/p-ad8a199b.system.js +1 -0
  479. package/dist/mint-components/p-b2295bc5.system.js +1 -0
  480. package/dist/mint-components/p-b285d182.system.js +1 -0
  481. package/dist/mint-components/p-b349de5a.entry.js +1 -0
  482. package/dist/mint-components/p-b5cb77e7.entry.js +13 -0
  483. package/dist/mint-components/p-b8089b13.js +227 -0
  484. package/dist/mint-components/p-b9686abe.entry.js +1 -0
  485. package/dist/mint-components/p-ba505a8c.js +1 -0
  486. package/dist/mint-components/p-bc19e178.js +1 -0
  487. package/dist/mint-components/p-bf178ad1.js +1 -0
  488. package/dist/mint-components/p-c072c9a8.entry.js +1 -0
  489. package/dist/mint-components/p-c0d9c611.system.js +1 -0
  490. package/dist/mint-components/p-c1086930.js +1 -0
  491. package/dist/mint-components/p-c1a47137.system.entry.js +1 -0
  492. package/dist/mint-components/p-cb390f74.js +1 -0
  493. package/dist/mint-components/p-cb81c288.js +17 -0
  494. package/dist/mint-components/p-cbc89108.entry.js +1 -0
  495. package/dist/mint-components/p-cd600176.system.entry.js +1 -0
  496. package/dist/mint-components/p-d0e177ef.js +1 -0
  497. package/dist/mint-components/p-d2a78efd.js +1 -0
  498. package/dist/mint-components/p-d5c6b717.js +1 -0
  499. package/dist/mint-components/p-d791a5c9.system.js +1 -0
  500. package/dist/mint-components/p-d7a75527.js +1 -0
  501. package/dist/mint-components/p-d809ef4f.system.js +1 -0
  502. package/dist/mint-components/p-d8a80a72.entry.js +1 -0
  503. package/dist/mint-components/p-db5a1e78.js +1 -0
  504. package/dist/mint-components/p-dddf8d01.system.js +1 -0
  505. package/dist/mint-components/p-ded92f50.system.js +1 -0
  506. package/dist/mint-components/p-e10edeba.entry.js +1 -0
  507. package/dist/mint-components/p-e33e615e.js +1 -0
  508. package/dist/mint-components/p-e45fc80a.system.js +1 -0
  509. package/dist/mint-components/p-e5ec4c82.js +1 -0
  510. package/dist/mint-components/p-e7e129ac.js +1 -0
  511. package/dist/mint-components/p-ec398bef.system.entry.js +1 -0
  512. package/dist/mint-components/p-f3c05b72.system.js +1 -0
  513. package/dist/mint-components/p-f4eb3d30.system.entry.js +1 -0
  514. package/dist/mint-components/p-f56b14fd.system.entry.js +1 -0
  515. package/dist/mint-components/p-fcf92302.system.js +1 -0
  516. package/dist/mint-components/p-fd621386.system.js +1 -0
  517. package/dist/mint-components/p-ff17b3a4.system.js +1 -0
  518. package/dist/types/ShadowViewAddon.d.ts +6 -0
  519. package/dist/types/components/sqm-asset-card/sqm-asset-card-view.d.ts +8 -0
  520. package/dist/types/components/sqm-asset-card/sqm-asset-card.d.ts +24 -0
  521. package/dist/types/components/sqm-asset-card/useAssetCard.d.ts +7 -0
  522. package/dist/types/components/sqm-big-stat/sqm-big-stat-view.d.ts +7 -0
  523. package/dist/types/components/sqm-big-stat/sqm-big-stat.d.ts +36 -0
  524. package/dist/types/components/sqm-big-stat/useBigStat.d.ts +18 -0
  525. package/dist/types/components/sqm-big-stat/useDemoBigStat.d.ts +3 -0
  526. package/dist/types/components/sqm-divided-layout/sqm-divided-layout-view.d.ts +7 -0
  527. package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +22 -0
  528. package/dist/types/components/sqm-edit-profile/sqm-edit-profile-view.d.ts +37 -0
  529. package/dist/types/components/sqm-edit-profile/sqm-edit-profile.d.ts +48 -0
  530. package/dist/types/components/sqm-edit-profile/useEditProfile.d.ts +12 -0
  531. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +13 -0
  532. package/dist/types/components/sqm-graphql-client-provider/sqm-graphql-client-provider.d.ts +13 -0
  533. package/dist/types/components/sqm-graphql-client-provider/useGraphQLProvider.d.ts +3 -0
  534. package/dist/types/components/sqm-hero/sqm-hero-view.d.ts +15 -0
  535. package/dist/types/components/sqm-hero/sqm-hero.d.ts +20 -0
  536. package/dist/types/components/sqm-hook-story-container/sqm-hook-story-container.d.ts +8 -0
  537. package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +27 -0
  538. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +50 -0
  539. package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +26 -0
  540. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.d.ts +6 -0
  541. package/dist/types/components/sqm-leaderboard-rank/sqm-leaderboard-rank.d.ts +41 -0
  542. package/dist/types/components/sqm-leaderboard-rank/useLeaderboardRank.d.ts +9 -0
  543. package/dist/types/components/sqm-name-fields/sqm-name-fields-view.d.ts +10 -0
  544. package/dist/types/components/sqm-name-fields/sqm-name-fields.d.ts +21 -0
  545. package/dist/types/components/sqm-name-fields/useNameFields.d.ts +14 -0
  546. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu-view.d.ts +15 -0
  547. package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +24 -0
  548. package/dist/types/components/sqm-navigation-menu/useNavigationMenu.d.ts +3 -0
  549. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar-view.d.ts +4 -0
  550. package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +11 -0
  551. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view.d.ts +11 -0
  552. package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +27 -0
  553. package/dist/types/components/sqm-navigation-sidebar-item/useNavigationSidebarItem.d.ts +3 -0
  554. package/dist/types/components/sqm-password-field/passwordValidation.d.ts +1 -0
  555. package/dist/types/components/sqm-password-field/sqm-password-field-view.d.ts +15 -0
  556. package/dist/types/components/sqm-password-field/sqm-password-field.d.ts +32 -0
  557. package/dist/types/components/sqm-password-field/usePasswordField.d.ts +3 -0
  558. package/dist/types/components/sqm-popup-container/sqm-popup-container-view.d.ts +4 -0
  559. package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +26 -0
  560. package/dist/types/components/sqm-popup-container/usePopupContainer.d.ts +33 -0
  561. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +23 -0
  562. package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +48 -0
  563. package/dist/types/components/sqm-portal-change-password/usePortalChangePassword.d.ts +24 -0
  564. package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +10 -0
  565. package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +30 -0
  566. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification-view.d.ts +17 -0
  567. package/dist/types/components/sqm-portal-email-verification/sqm-portal-email-verification.d.ts +32 -0
  568. package/dist/types/components/sqm-portal-email-verification/usePortalEmailVerification.d.ts +17 -0
  569. package/dist/types/components/sqm-portal-footer/PoweredByImg.d.ts +7 -0
  570. package/dist/types/components/sqm-portal-footer/sqm-portal-footer-view.d.ts +16 -0
  571. package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +57 -0
  572. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password-view.d.ts +18 -0
  573. package/dist/types/components/sqm-portal-forgot-password/sqm-portal-forgot-password.d.ts +32 -0
  574. package/dist/types/components/sqm-portal-forgot-password/usePortalForgotPassword.d.ts +12 -0
  575. package/dist/types/components/sqm-portal-frame/sqm-portal-frame-view.d.ts +11 -0
  576. package/dist/types/components/sqm-portal-frame/sqm-portal-frame.d.ts +16 -0
  577. package/dist/types/components/sqm-portal-frame/usePortalFrame.d.ts +3 -0
  578. package/dist/types/components/sqm-portal-login/sqm-portal-login-view.d.ts +20 -0
  579. package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +52 -0
  580. package/dist/types/components/sqm-portal-login/usePortalLogin.d.ts +11 -0
  581. package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +13 -0
  582. package/dist/types/components/sqm-portal-logout/usePortalLogout.d.ts +3 -0
  583. package/dist/types/components/sqm-portal-profile/sqm-portal-profile-view.d.ts +37 -0
  584. package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +48 -0
  585. package/dist/types/components/sqm-portal-profile/usePortalProfile.d.ts +12 -0
  586. package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +21 -0
  587. package/dist/types/components/sqm-portal-protected-route/usePortalProtectedRoute.d.ts +7 -0
  588. package/dist/types/components/sqm-portal-register/sqm-portal-register-view.d.ts +30 -0
  589. package/dist/types/components/sqm-portal-register/sqm-portal-register.d.ts +64 -0
  590. package/dist/types/components/sqm-portal-register/usePortalRegister.d.ts +25 -0
  591. package/dist/types/components/sqm-portal-register/useValidationState.d.ts +17 -0
  592. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password-view.d.ts +26 -0
  593. package/dist/types/components/sqm-portal-reset-password/sqm-portal-reset-password.d.ts +56 -0
  594. package/dist/types/components/sqm-portal-reset-password/usePortalResetPassword.d.ts +3 -0
  595. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email-view.d.ts +15 -0
  596. package/dist/types/components/sqm-portal-verify-email/sqm-portal-verify-email.d.ts +24 -0
  597. package/dist/types/components/sqm-portal-verify-email/usePortalVerifyEmail.d.ts +17 -0
  598. package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +9 -0
  599. package/dist/types/components/sqm-program-menu/useProgramMenu.d.ts +13 -0
  600. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe-view.d.ts +13 -0
  601. package/dist/types/components/sqm-referral-iframe/sqm-referral-iframe.d.ts +29 -0
  602. package/dist/types/components/sqm-referral-iframe/useReferralIframe.d.ts +3 -0
  603. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-cell.d.ts +7 -0
  604. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-date-cell.d.ts +7 -0
  605. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-rewards-cell.d.ts +5 -0
  606. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-status-cell.d.ts +5 -0
  607. package/dist/types/components/sqm-referral-table/cells/sqm-referral-table-user-cell.d.ts +4 -0
  608. package/dist/types/components/sqm-referral-table/columns/ReferralTableColumn.d.ts +6 -0
  609. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-column.d.ts +15 -0
  610. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-date-column.d.ts +29 -0
  611. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-rewards-column.d.ts +19 -0
  612. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-status-column.d.ts +23 -0
  613. package/dist/types/components/sqm-referral-table/columns/sqm-referral-table-user-column.d.ts +23 -0
  614. package/dist/types/components/sqm-referral-table/re-render.d.ts +13 -0
  615. package/dist/types/components/sqm-referral-table/sqm-referral-table-view.d.ts +29 -0
  616. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +33 -0
  617. package/dist/types/components/sqm-referral-table/sqm-table-cell.d.ts +5 -0
  618. package/dist/types/components/sqm-referral-table/sqm-table-row.d.ts +4 -0
  619. package/dist/types/components/sqm-referral-table/useChildElements.d.ts +1 -0
  620. package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +5 -0
  621. package/dist/types/components/sqm-route/sqm-route.d.ts +15 -0
  622. package/dist/types/components/sqm-router/sqm-router.d.ts +9 -0
  623. package/dist/types/components/sqm-router/useRouter.d.ts +9 -0
  624. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +16 -0
  625. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +80 -0
  626. package/dist/types/components/sqm-share-button/useShareButton.d.ts +8 -0
  627. package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +33 -0
  628. package/dist/types/components/sqm-share-code/useShareCode.d.ts +8 -0
  629. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +8 -0
  630. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +33 -0
  631. package/dist/types/components/sqm-share-link/useShareLink.d.ts +8 -0
  632. package/dist/types/components/sqm-stat-container/sqm-stat-container-view.d.ts +5 -0
  633. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +16 -0
  634. package/dist/types/components/sqm-stencilbook/CucumberAddon.d.ts +2 -0
  635. package/dist/types/components/sqm-stencilbook/HookStoryAddon.d.ts +8 -0
  636. package/dist/types/components/sqm-stencilbook/sqm-stencilbook.d.ts +11 -0
  637. package/dist/types/components/sqm-text/sqm-text.d.ts +10 -0
  638. package/dist/types/components/sqm-text-span/sqm-text-span-view.d.ts +5 -0
  639. package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +20 -0
  640. package/dist/types/components/sqm-titled-section/sqm-portal-section-view.d.ts +9 -0
  641. package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +22 -0
  642. package/dist/types/components/sqm-user-name/sqm-user-name-view.d.ts +6 -0
  643. package/dist/types/components/sqm-user-name/sqm-user-name.d.ts +24 -0
  644. package/dist/types/components/sqm-user-name/useUserName.d.ts +3 -0
  645. package/dist/types/components.d.ts +2566 -0
  646. package/dist/types/global/global.d.ts +6 -0
  647. package/dist/types/global/mixins.d.ts +166 -0
  648. package/dist/types/global/styles.d.ts +2 -0
  649. package/dist/types/index.d.ts +1 -0
  650. package/dist/types/insertcss.d.ts +6 -0
  651. package/dist/types/saasquatch.d.ts +92 -0
  652. package/dist/types/stencil-public-runtime.d.ts +1555 -0
  653. package/dist/types/stories/AssetCard.stories.d.ts +7 -0
  654. package/dist/types/stories/BigStat.stories.d.ts +12 -0
  655. package/dist/types/stories/ChangePassword.stories.d.ts +13 -0
  656. package/dist/types/stories/DividedLayout.stories.d.ts +7 -0
  657. package/dist/types/stories/EditProfileForm.stories.d.ts +7 -0
  658. package/dist/types/stories/FormMessage.stories.d.ts +8 -0
  659. package/dist/types/stories/Hero.stories.d.ts +16 -0
  660. package/dist/types/stories/Leaderboard.stories.d.ts +11 -0
  661. package/dist/types/stories/LeaderboardRank.stories.d.ts +5 -0
  662. package/dist/types/stories/NameFields.stories.d.ts +9 -0
  663. package/dist/types/stories/NavigationSidebar.stories.d.ts +5 -0
  664. package/dist/types/stories/NewPortal.stories.d.ts +8 -0
  665. package/dist/types/stories/PasswordField.stories.d.ts +7 -0
  666. package/dist/types/stories/PortalEmailVerification.stories.d.ts +11 -0
  667. package/dist/types/stories/PortalFooter.stories.d.ts +12 -0
  668. package/dist/types/stories/PortalForgotPassword.stories.d.ts +11 -0
  669. package/dist/types/stories/PortalFrame.stories.d.ts +8 -0
  670. package/dist/types/stories/PortalLogin.stories.d.ts +7 -0
  671. package/dist/types/stories/PortalProfile.stories.d.ts +10 -0
  672. package/dist/types/stories/PortalRegister.stories.d.ts +9 -0
  673. package/dist/types/stories/PortalResetPassword.stories.d.ts +13 -0
  674. package/dist/types/stories/PortalTemplates.stories.d.ts +100 -0
  675. package/dist/types/stories/PortalVerifyEmail.stories.d.ts +9 -0
  676. package/dist/types/stories/PoweredByImg.stories.d.ts +7 -0
  677. package/dist/types/stories/ProgramMenu.stories.d.ts +28 -0
  678. package/dist/types/stories/ReferralIframe.stories.d.ts +9 -0
  679. package/dist/types/stories/ReferralTable.stories.d.ts +13 -0
  680. package/dist/types/stories/ReferralTableCell.stories.d.ts +10 -0
  681. package/dist/types/stories/ReferralTableRewardsCell.stories.d.ts +19 -0
  682. package/dist/types/stories/Router.stories.d.ts +28 -0
  683. package/dist/types/stories/ShareButton.stories.d.ts +11 -0
  684. package/dist/types/stories/ShareLink.stories.d.ts +8 -0
  685. package/dist/types/stories/SidebarItem.stories.d.ts +6 -0
  686. package/dist/types/stories/UseBigStat.stories.d.ts +166 -0
  687. package/dist/types/stories/UseEditProfile.stories.d.ts +10 -0
  688. package/dist/types/stories/UseLeaderboard.stories.d.ts +16 -0
  689. package/dist/types/stories/UseShareButton.stories.d.ts +16 -0
  690. package/dist/types/stories/UseShareLink.stories.d.ts +22 -0
  691. package/dist/types/stories/UserName.stories.d.ts +6 -0
  692. package/dist/types/utilities.d.ts +3 -0
  693. package/dist/types/utils/RequiredPropsError.d.ts +7 -0
  694. package/dist/types/utils/isDemo.d.ts +4 -0
  695. package/dist/types/utils/utils.d.ts +12 -0
  696. package/grapesjs/grapesjs.js +54 -0
  697. package/package.json +2 -2
  698. package/shoelace/assets/icons/LICENSE.md +21 -0
  699. package/shoelace/assets/icons/alarm-fill.svg +3 -0
  700. package/shoelace/assets/icons/alarm.svg +4 -0
  701. package/shoelace/assets/icons/align-bottom.svg +4 -0
  702. package/shoelace/assets/icons/align-center.svg +3 -0
  703. package/shoelace/assets/icons/align-end.svg +4 -0
  704. package/shoelace/assets/icons/align-middle.svg +3 -0
  705. package/shoelace/assets/icons/align-start.svg +4 -0
  706. package/shoelace/assets/icons/align-top.svg +4 -0
  707. package/shoelace/assets/icons/alt.svg +3 -0
  708. package/shoelace/assets/icons/app-indicator.svg +4 -0
  709. package/shoelace/assets/icons/app.svg +3 -0
  710. package/shoelace/assets/icons/archive-fill.svg +3 -0
  711. package/shoelace/assets/icons/archive.svg +3 -0
  712. package/shoelace/assets/icons/arrow-90deg-down.svg +3 -0
  713. package/shoelace/assets/icons/arrow-90deg-left.svg +3 -0
  714. package/shoelace/assets/icons/arrow-90deg-right.svg +3 -0
  715. package/shoelace/assets/icons/arrow-90deg-up.svg +3 -0
  716. package/shoelace/assets/icons/arrow-bar-down.svg +3 -0
  717. package/shoelace/assets/icons/arrow-bar-left.svg +3 -0
  718. package/shoelace/assets/icons/arrow-bar-right.svg +3 -0
  719. package/shoelace/assets/icons/arrow-bar-up.svg +3 -0
  720. package/shoelace/assets/icons/arrow-clockwise.svg +4 -0
  721. package/shoelace/assets/icons/arrow-counterclockwise.svg +4 -0
  722. package/shoelace/assets/icons/arrow-down-circle-fill.svg +3 -0
  723. package/shoelace/assets/icons/arrow-down-circle.svg +3 -0
  724. package/shoelace/assets/icons/arrow-down-left-circle-fill.svg +3 -0
  725. package/shoelace/assets/icons/arrow-down-left-circle.svg +3 -0
  726. package/shoelace/assets/icons/arrow-down-left-square-fill.svg +3 -0
  727. package/shoelace/assets/icons/arrow-down-left-square.svg +3 -0
  728. package/shoelace/assets/icons/arrow-down-left.svg +3 -0
  729. package/shoelace/assets/icons/arrow-down-right-circle-fill.svg +3 -0
  730. package/shoelace/assets/icons/arrow-down-right-circle.svg +3 -0
  731. package/shoelace/assets/icons/arrow-down-right-square-fill.svg +3 -0
  732. package/shoelace/assets/icons/arrow-down-right-square.svg +3 -0
  733. package/shoelace/assets/icons/arrow-down-right.svg +3 -0
  734. package/shoelace/assets/icons/arrow-down-short.svg +3 -0
  735. package/shoelace/assets/icons/arrow-down-square-fill.svg +3 -0
  736. package/shoelace/assets/icons/arrow-down-square.svg +3 -0
  737. package/shoelace/assets/icons/arrow-down-up.svg +3 -0
  738. package/shoelace/assets/icons/arrow-down.svg +3 -0
  739. package/shoelace/assets/icons/arrow-left-circle-fill.svg +3 -0
  740. package/shoelace/assets/icons/arrow-left-circle.svg +3 -0
  741. package/shoelace/assets/icons/arrow-left-right.svg +3 -0
  742. package/shoelace/assets/icons/arrow-left-short.svg +3 -0
  743. package/shoelace/assets/icons/arrow-left-square-fill.svg +3 -0
  744. package/shoelace/assets/icons/arrow-left-square.svg +3 -0
  745. package/shoelace/assets/icons/arrow-left.svg +3 -0
  746. package/shoelace/assets/icons/arrow-repeat.svg +4 -0
  747. package/shoelace/assets/icons/arrow-return-left.svg +3 -0
  748. package/shoelace/assets/icons/arrow-return-right.svg +3 -0
  749. package/shoelace/assets/icons/arrow-right-circle-fill.svg +3 -0
  750. package/shoelace/assets/icons/arrow-right-circle.svg +3 -0
  751. package/shoelace/assets/icons/arrow-right-short.svg +3 -0
  752. package/shoelace/assets/icons/arrow-right-square-fill.svg +3 -0
  753. package/shoelace/assets/icons/arrow-right-square.svg +3 -0
  754. package/shoelace/assets/icons/arrow-right.svg +3 -0
  755. package/shoelace/assets/icons/arrow-up-circle-fill.svg +3 -0
  756. package/shoelace/assets/icons/arrow-up-circle.svg +3 -0
  757. package/shoelace/assets/icons/arrow-up-left-circle-fill.svg +3 -0
  758. package/shoelace/assets/icons/arrow-up-left-circle.svg +3 -0
  759. package/shoelace/assets/icons/arrow-up-left-square-fill.svg +3 -0
  760. package/shoelace/assets/icons/arrow-up-left-square.svg +3 -0
  761. package/shoelace/assets/icons/arrow-up-left.svg +3 -0
  762. package/shoelace/assets/icons/arrow-up-right-circle-fill.svg +3 -0
  763. package/shoelace/assets/icons/arrow-up-right-circle.svg +3 -0
  764. package/shoelace/assets/icons/arrow-up-right-square-fill.svg +3 -0
  765. package/shoelace/assets/icons/arrow-up-right-square.svg +3 -0
  766. package/shoelace/assets/icons/arrow-up-right.svg +3 -0
  767. package/shoelace/assets/icons/arrow-up-short.svg +3 -0
  768. package/shoelace/assets/icons/arrow-up-square-fill.svg +3 -0
  769. package/shoelace/assets/icons/arrow-up-square.svg +3 -0
  770. package/shoelace/assets/icons/arrow-up.svg +3 -0
  771. package/shoelace/assets/icons/arrows-angle-contract.svg +3 -0
  772. package/shoelace/assets/icons/arrows-angle-expand.svg +3 -0
  773. package/shoelace/assets/icons/arrows-collapse.svg +3 -0
  774. package/shoelace/assets/icons/arrows-expand.svg +3 -0
  775. package/shoelace/assets/icons/arrows-fullscreen.svg +3 -0
  776. package/shoelace/assets/icons/arrows-move.svg +3 -0
  777. package/shoelace/assets/icons/aspect-ratio-fill.svg +3 -0
  778. package/shoelace/assets/icons/aspect-ratio.svg +4 -0
  779. package/shoelace/assets/icons/asterisk.svg +3 -0
  780. package/shoelace/assets/icons/at.svg +3 -0
  781. package/shoelace/assets/icons/award-fill.svg +4 -0
  782. package/shoelace/assets/icons/award.svg +4 -0
  783. package/shoelace/assets/icons/back.svg +3 -0
  784. package/shoelace/assets/icons/backspace-fill.svg +3 -0
  785. package/shoelace/assets/icons/backspace-reverse-fill.svg +3 -0
  786. package/shoelace/assets/icons/backspace-reverse.svg +4 -0
  787. package/shoelace/assets/icons/backspace.svg +4 -0
  788. package/shoelace/assets/icons/badge-3d-fill.svg +4 -0
  789. package/shoelace/assets/icons/badge-3d.svg +4 -0
  790. package/shoelace/assets/icons/badge-4k-fill.svg +4 -0
  791. package/shoelace/assets/icons/badge-4k.svg +4 -0
  792. package/shoelace/assets/icons/badge-8k-fill.svg +4 -0
  793. package/shoelace/assets/icons/badge-8k.svg +4 -0
  794. package/shoelace/assets/icons/badge-ad-fill.svg +4 -0
  795. package/shoelace/assets/icons/badge-ad.svg +4 -0
  796. package/shoelace/assets/icons/badge-ar-fill.svg +4 -0
  797. package/shoelace/assets/icons/badge-ar.svg +4 -0
  798. package/shoelace/assets/icons/badge-cc-fill.svg +3 -0
  799. package/shoelace/assets/icons/badge-cc.svg +4 -0
  800. package/shoelace/assets/icons/badge-hd-fill.svg +4 -0
  801. package/shoelace/assets/icons/badge-hd.svg +4 -0
  802. package/shoelace/assets/icons/badge-tm-fill.svg +3 -0
  803. package/shoelace/assets/icons/badge-tm.svg +4 -0
  804. package/shoelace/assets/icons/badge-vo-fill.svg +4 -0
  805. package/shoelace/assets/icons/badge-vo.svg +4 -0
  806. package/shoelace/assets/icons/badge-vr-fill.svg +4 -0
  807. package/shoelace/assets/icons/badge-vr.svg +4 -0
  808. package/shoelace/assets/icons/badge-wc-fill.svg +3 -0
  809. package/shoelace/assets/icons/badge-wc.svg +4 -0
  810. package/shoelace/assets/icons/bag-check-fill.svg +3 -0
  811. package/shoelace/assets/icons/bag-check.svg +4 -0
  812. package/shoelace/assets/icons/bag-dash-fill.svg +3 -0
  813. package/shoelace/assets/icons/bag-dash.svg +4 -0
  814. package/shoelace/assets/icons/bag-fill.svg +3 -0
  815. package/shoelace/assets/icons/bag-plus-fill.svg +3 -0
  816. package/shoelace/assets/icons/bag-plus.svg +4 -0
  817. package/shoelace/assets/icons/bag-x-fill.svg +3 -0
  818. package/shoelace/assets/icons/bag-x.svg +4 -0
  819. package/shoelace/assets/icons/bag.svg +3 -0
  820. package/shoelace/assets/icons/bar-chart-fill.svg +3 -0
  821. package/shoelace/assets/icons/bar-chart-line-fill.svg +3 -0
  822. package/shoelace/assets/icons/bar-chart-line.svg +3 -0
  823. package/shoelace/assets/icons/bar-chart-steps.svg +3 -0
  824. package/shoelace/assets/icons/bar-chart.svg +3 -0
  825. package/shoelace/assets/icons/basket-fill.svg +3 -0
  826. package/shoelace/assets/icons/basket.svg +3 -0
  827. package/shoelace/assets/icons/basket2-fill.svg +3 -0
  828. package/shoelace/assets/icons/basket2.svg +4 -0
  829. package/shoelace/assets/icons/basket3-fill.svg +3 -0
  830. package/shoelace/assets/icons/basket3.svg +3 -0
  831. package/shoelace/assets/icons/battery-charging.svg +6 -0
  832. package/shoelace/assets/icons/battery-full.svg +4 -0
  833. package/shoelace/assets/icons/battery-half.svg +4 -0
  834. package/shoelace/assets/icons/battery.svg +3 -0
  835. package/shoelace/assets/icons/bell-fill.svg +3 -0
  836. package/shoelace/assets/icons/bell.svg +3 -0
  837. package/shoelace/assets/icons/bezier.svg +4 -0
  838. package/shoelace/assets/icons/bezier2.svg +3 -0
  839. package/shoelace/assets/icons/bicycle.svg +3 -0
  840. package/shoelace/assets/icons/binoculars-fill.svg +3 -0
  841. package/shoelace/assets/icons/binoculars.svg +3 -0
  842. package/shoelace/assets/icons/blockquote-left.svg +3 -0
  843. package/shoelace/assets/icons/blockquote-right.svg +3 -0
  844. package/shoelace/assets/icons/book-fill.svg +3 -0
  845. package/shoelace/assets/icons/book-half.svg +3 -0
  846. package/shoelace/assets/icons/book.svg +3 -0
  847. package/shoelace/assets/icons/bookmark-check-fill.svg +3 -0
  848. package/shoelace/assets/icons/bookmark-check.svg +4 -0
  849. package/shoelace/assets/icons/bookmark-dash-fill.svg +3 -0
  850. package/shoelace/assets/icons/bookmark-dash.svg +4 -0
  851. package/shoelace/assets/icons/bookmark-fill.svg +3 -0
  852. package/shoelace/assets/icons/bookmark-heart-fill.svg +3 -0
  853. package/shoelace/assets/icons/bookmark-heart.svg +4 -0
  854. package/shoelace/assets/icons/bookmark-plus-fill.svg +3 -0
  855. package/shoelace/assets/icons/bookmark-plus.svg +4 -0
  856. package/shoelace/assets/icons/bookmark-star-fill.svg +3 -0
  857. package/shoelace/assets/icons/bookmark-star.svg +4 -0
  858. package/shoelace/assets/icons/bookmark-x-fill.svg +3 -0
  859. package/shoelace/assets/icons/bookmark-x.svg +4 -0
  860. package/shoelace/assets/icons/bookmark.svg +3 -0
  861. package/shoelace/assets/icons/bookmarks-fill.svg +4 -0
  862. package/shoelace/assets/icons/bookmarks.svg +4 -0
  863. package/shoelace/assets/icons/bookshelf.svg +3 -0
  864. package/shoelace/assets/icons/bootstrap-fill.svg +4 -0
  865. package/shoelace/assets/icons/bootstrap-reboot.svg +4 -0
  866. package/shoelace/assets/icons/bootstrap.svg +4 -0
  867. package/shoelace/assets/icons/border-all.svg +3 -0
  868. package/shoelace/assets/icons/border-bottom.svg +3 -0
  869. package/shoelace/assets/icons/border-center.svg +3 -0
  870. package/shoelace/assets/icons/border-inner.svg +5 -0
  871. package/shoelace/assets/icons/border-left.svg +3 -0
  872. package/shoelace/assets/icons/border-middle.svg +3 -0
  873. package/shoelace/assets/icons/border-outer.svg +4 -0
  874. package/shoelace/assets/icons/border-right.svg +3 -0
  875. package/shoelace/assets/icons/border-style.svg +3 -0
  876. package/shoelace/assets/icons/border-top.svg +3 -0
  877. package/shoelace/assets/icons/border-width.svg +3 -0
  878. package/shoelace/assets/icons/border.svg +3 -0
  879. package/shoelace/assets/icons/bounding-box-circles.svg +3 -0
  880. package/shoelace/assets/icons/bounding-box.svg +3 -0
  881. package/shoelace/assets/icons/box-arrow-down-left.svg +4 -0
  882. package/shoelace/assets/icons/box-arrow-down-right.svg +4 -0
  883. package/shoelace/assets/icons/box-arrow-down.svg +4 -0
  884. package/shoelace/assets/icons/box-arrow-in-down-left.svg +4 -0
  885. package/shoelace/assets/icons/box-arrow-in-down-right.svg +4 -0
  886. package/shoelace/assets/icons/box-arrow-in-down.svg +4 -0
  887. package/shoelace/assets/icons/box-arrow-in-left.svg +4 -0
  888. package/shoelace/assets/icons/box-arrow-in-right.svg +4 -0
  889. package/shoelace/assets/icons/box-arrow-in-up-left.svg +4 -0
  890. package/shoelace/assets/icons/box-arrow-in-up-right.svg +4 -0
  891. package/shoelace/assets/icons/box-arrow-in-up.svg +4 -0
  892. package/shoelace/assets/icons/box-arrow-left.svg +4 -0
  893. package/shoelace/assets/icons/box-arrow-right.svg +4 -0
  894. package/shoelace/assets/icons/box-arrow-up-left.svg +4 -0
  895. package/shoelace/assets/icons/box-arrow-up-right.svg +4 -0
  896. package/shoelace/assets/icons/box-arrow-up.svg +4 -0
  897. package/shoelace/assets/icons/box-seam.svg +3 -0
  898. package/shoelace/assets/icons/box.svg +3 -0
  899. package/shoelace/assets/icons/braces.svg +3 -0
  900. package/shoelace/assets/icons/bricks.svg +3 -0
  901. package/shoelace/assets/icons/briefcase-fill.svg +4 -0
  902. package/shoelace/assets/icons/briefcase.svg +3 -0
  903. package/shoelace/assets/icons/brightness-alt-high-fill.svg +3 -0
  904. package/shoelace/assets/icons/brightness-alt-high.svg +3 -0
  905. package/shoelace/assets/icons/brightness-alt-low-fill.svg +3 -0
  906. package/shoelace/assets/icons/brightness-alt-low.svg +3 -0
  907. package/shoelace/assets/icons/brightness-high-fill.svg +3 -0
  908. package/shoelace/assets/icons/brightness-high.svg +3 -0
  909. package/shoelace/assets/icons/brightness-low-fill.svg +3 -0
  910. package/shoelace/assets/icons/brightness-low.svg +3 -0
  911. package/shoelace/assets/icons/broadcast-pin.svg +3 -0
  912. package/shoelace/assets/icons/broadcast.svg +3 -0
  913. package/shoelace/assets/icons/brush-fill.svg +3 -0
  914. package/shoelace/assets/icons/brush.svg +3 -0
  915. package/shoelace/assets/icons/bucket-fill.svg +3 -0
  916. package/shoelace/assets/icons/bucket.svg +3 -0
  917. package/shoelace/assets/icons/bug-fill.svg +4 -0
  918. package/shoelace/assets/icons/bug.svg +3 -0
  919. package/shoelace/assets/icons/building.svg +4 -0
  920. package/shoelace/assets/icons/bullseye.svg +6 -0
  921. package/shoelace/assets/icons/calculator-fill.svg +3 -0
  922. package/shoelace/assets/icons/calculator.svg +4 -0
  923. package/shoelace/assets/icons/calendar-check-fill.svg +3 -0
  924. package/shoelace/assets/icons/calendar-check.svg +4 -0
  925. package/shoelace/assets/icons/calendar-date-fill.svg +4 -0
  926. package/shoelace/assets/icons/calendar-date.svg +4 -0
  927. package/shoelace/assets/icons/calendar-day-fill.svg +3 -0
  928. package/shoelace/assets/icons/calendar-day.svg +4 -0
  929. package/shoelace/assets/icons/calendar-event-fill.svg +3 -0
  930. package/shoelace/assets/icons/calendar-event.svg +4 -0
  931. package/shoelace/assets/icons/calendar-fill.svg +3 -0
  932. package/shoelace/assets/icons/calendar-minus-fill.svg +3 -0
  933. package/shoelace/assets/icons/calendar-minus.svg +4 -0
  934. package/shoelace/assets/icons/calendar-month-fill.svg +4 -0
  935. package/shoelace/assets/icons/calendar-month.svg +4 -0
  936. package/shoelace/assets/icons/calendar-plus-fill.svg +3 -0
  937. package/shoelace/assets/icons/calendar-plus.svg +4 -0
  938. package/shoelace/assets/icons/calendar-range-fill.svg +3 -0
  939. package/shoelace/assets/icons/calendar-range.svg +4 -0
  940. package/shoelace/assets/icons/calendar-week-fill.svg +3 -0
  941. package/shoelace/assets/icons/calendar-week.svg +4 -0
  942. package/shoelace/assets/icons/calendar-x-fill.svg +3 -0
  943. package/shoelace/assets/icons/calendar-x.svg +4 -0
  944. package/shoelace/assets/icons/calendar.svg +3 -0
  945. package/shoelace/assets/icons/calendar2-check-fill.svg +3 -0
  946. package/shoelace/assets/icons/calendar2-check.svg +5 -0
  947. package/shoelace/assets/icons/calendar2-date-fill.svg +4 -0
  948. package/shoelace/assets/icons/calendar2-date.svg +5 -0
  949. package/shoelace/assets/icons/calendar2-day-fill.svg +3 -0
  950. package/shoelace/assets/icons/calendar2-day.svg +5 -0
  951. package/shoelace/assets/icons/calendar2-event-fill.svg +3 -0
  952. package/shoelace/assets/icons/calendar2-event.svg +5 -0
  953. package/shoelace/assets/icons/calendar2-fill.svg +3 -0
  954. package/shoelace/assets/icons/calendar2-minus-fill.svg +3 -0
  955. package/shoelace/assets/icons/calendar2-minus.svg +5 -0
  956. package/shoelace/assets/icons/calendar2-month-fill.svg +4 -0
  957. package/shoelace/assets/icons/calendar2-month.svg +5 -0
  958. package/shoelace/assets/icons/calendar2-plus-fill.svg +3 -0
  959. package/shoelace/assets/icons/calendar2-plus.svg +4 -0
  960. package/shoelace/assets/icons/calendar2-range-fill.svg +3 -0
  961. package/shoelace/assets/icons/calendar2-range.svg +4 -0
  962. package/shoelace/assets/icons/calendar2-week-fill.svg +3 -0
  963. package/shoelace/assets/icons/calendar2-week.svg +4 -0
  964. package/shoelace/assets/icons/calendar2-x-fill.svg +3 -0
  965. package/shoelace/assets/icons/calendar2-x.svg +5 -0
  966. package/shoelace/assets/icons/calendar2.svg +4 -0
  967. package/shoelace/assets/icons/calendar3-event-fill.svg +3 -0
  968. package/shoelace/assets/icons/calendar3-event.svg +4 -0
  969. package/shoelace/assets/icons/calendar3-fill.svg +3 -0
  970. package/shoelace/assets/icons/calendar3-range-fill.svg +3 -0
  971. package/shoelace/assets/icons/calendar3-range.svg +4 -0
  972. package/shoelace/assets/icons/calendar3-week-fill.svg +3 -0
  973. package/shoelace/assets/icons/calendar3-week.svg +4 -0
  974. package/shoelace/assets/icons/calendar3.svg +4 -0
  975. package/shoelace/assets/icons/calendar4-event.svg +4 -0
  976. package/shoelace/assets/icons/calendar4-range.svg +4 -0
  977. package/shoelace/assets/icons/calendar4-week.svg +4 -0
  978. package/shoelace/assets/icons/calendar4.svg +3 -0
  979. package/shoelace/assets/icons/camera-fill.svg +4 -0
  980. package/shoelace/assets/icons/camera-reels-fill.svg +5 -0
  981. package/shoelace/assets/icons/camera-reels.svg +5 -0
  982. package/shoelace/assets/icons/camera-video-fill.svg +3 -0
  983. package/shoelace/assets/icons/camera-video-off-fill.svg +3 -0
  984. package/shoelace/assets/icons/camera-video-off.svg +3 -0
  985. package/shoelace/assets/icons/camera-video.svg +3 -0
  986. package/shoelace/assets/icons/camera.svg +4 -0
  987. package/shoelace/assets/icons/camera2.svg +4 -0
  988. package/shoelace/assets/icons/capslock-fill.svg +3 -0
  989. package/shoelace/assets/icons/capslock.svg +3 -0
  990. package/shoelace/assets/icons/card-checklist.svg +4 -0
  991. package/shoelace/assets/icons/card-heading.svg +4 -0
  992. package/shoelace/assets/icons/card-image.svg +4 -0
  993. package/shoelace/assets/icons/card-list.svg +4 -0
  994. package/shoelace/assets/icons/card-text.svg +4 -0
  995. package/shoelace/assets/icons/caret-down-fill.svg +3 -0
  996. package/shoelace/assets/icons/caret-down-square-fill.svg +3 -0
  997. package/shoelace/assets/icons/caret-down-square.svg +4 -0
  998. package/shoelace/assets/icons/caret-down.svg +3 -0
  999. package/shoelace/assets/icons/caret-left-fill.svg +3 -0
  1000. package/shoelace/assets/icons/caret-left-square-fill.svg +3 -0
  1001. package/shoelace/assets/icons/caret-left-square.svg +4 -0
  1002. package/shoelace/assets/icons/caret-left.svg +3 -0
  1003. package/shoelace/assets/icons/caret-right-fill.svg +3 -0
  1004. package/shoelace/assets/icons/caret-right-square-fill.svg +3 -0
  1005. package/shoelace/assets/icons/caret-right-square.svg +4 -0
  1006. package/shoelace/assets/icons/caret-right.svg +3 -0
  1007. package/shoelace/assets/icons/caret-up-fill.svg +3 -0
  1008. package/shoelace/assets/icons/caret-up-square-fill.svg +3 -0
  1009. package/shoelace/assets/icons/caret-up-square.svg +4 -0
  1010. package/shoelace/assets/icons/caret-up.svg +3 -0
  1011. package/shoelace/assets/icons/cart-check-fill.svg +3 -0
  1012. package/shoelace/assets/icons/cart-check.svg +4 -0
  1013. package/shoelace/assets/icons/cart-dash-fill.svg +3 -0
  1014. package/shoelace/assets/icons/cart-dash.svg +4 -0
  1015. package/shoelace/assets/icons/cart-fill.svg +3 -0
  1016. package/shoelace/assets/icons/cart-plus-fill.svg +3 -0
  1017. package/shoelace/assets/icons/cart-plus.svg +4 -0
  1018. package/shoelace/assets/icons/cart-x-fill.svg +3 -0
  1019. package/shoelace/assets/icons/cart-x.svg +4 -0
  1020. package/shoelace/assets/icons/cart.svg +3 -0
  1021. package/shoelace/assets/icons/cart2.svg +3 -0
  1022. package/shoelace/assets/icons/cart3.svg +3 -0
  1023. package/shoelace/assets/icons/cart4.svg +3 -0
  1024. package/shoelace/assets/icons/cash-stack.svg +4 -0
  1025. package/shoelace/assets/icons/cash.svg +4 -0
  1026. package/shoelace/assets/icons/cast.svg +4 -0
  1027. package/shoelace/assets/icons/chat-dots-fill.svg +3 -0
  1028. package/shoelace/assets/icons/chat-dots.svg +4 -0
  1029. package/shoelace/assets/icons/chat-fill.svg +3 -0
  1030. package/shoelace/assets/icons/chat-left-dots-fill.svg +3 -0
  1031. package/shoelace/assets/icons/chat-left-dots.svg +4 -0
  1032. package/shoelace/assets/icons/chat-left-fill.svg +3 -0
  1033. package/shoelace/assets/icons/chat-left-quote-fill.svg +3 -0
  1034. package/shoelace/assets/icons/chat-left-quote.svg +4 -0
  1035. package/shoelace/assets/icons/chat-left-text-fill.svg +3 -0
  1036. package/shoelace/assets/icons/chat-left-text.svg +4 -0
  1037. package/shoelace/assets/icons/chat-left.svg +3 -0
  1038. package/shoelace/assets/icons/chat-quote-fill.svg +3 -0
  1039. package/shoelace/assets/icons/chat-quote.svg +4 -0
  1040. package/shoelace/assets/icons/chat-right-dots-fill.svg +3 -0
  1041. package/shoelace/assets/icons/chat-right-dots.svg +4 -0
  1042. package/shoelace/assets/icons/chat-right-fill.svg +3 -0
  1043. package/shoelace/assets/icons/chat-right-quote-fill.svg +3 -0
  1044. package/shoelace/assets/icons/chat-right-quote.svg +4 -0
  1045. package/shoelace/assets/icons/chat-right-text-fill.svg +3 -0
  1046. package/shoelace/assets/icons/chat-right-text.svg +4 -0
  1047. package/shoelace/assets/icons/chat-right.svg +3 -0
  1048. package/shoelace/assets/icons/chat-square-dots-fill.svg +3 -0
  1049. package/shoelace/assets/icons/chat-square-dots.svg +4 -0
  1050. package/shoelace/assets/icons/chat-square-fill.svg +3 -0
  1051. package/shoelace/assets/icons/chat-square-quote-fill.svg +3 -0
  1052. package/shoelace/assets/icons/chat-square-quote.svg +4 -0
  1053. package/shoelace/assets/icons/chat-square-text-fill.svg +3 -0
  1054. package/shoelace/assets/icons/chat-square-text.svg +4 -0
  1055. package/shoelace/assets/icons/chat-square.svg +3 -0
  1056. package/shoelace/assets/icons/chat-text-fill.svg +3 -0
  1057. package/shoelace/assets/icons/chat-text.svg +4 -0
  1058. package/shoelace/assets/icons/chat.svg +3 -0
  1059. package/shoelace/assets/icons/check-all.svg +3 -0
  1060. package/shoelace/assets/icons/check-circle-fill.svg +3 -0
  1061. package/shoelace/assets/icons/check-circle.svg +4 -0
  1062. package/shoelace/assets/icons/check-square-fill.svg +3 -0
  1063. package/shoelace/assets/icons/check-square.svg +4 -0
  1064. package/shoelace/assets/icons/check.svg +3 -0
  1065. package/shoelace/assets/icons/check2-all.svg +4 -0
  1066. package/shoelace/assets/icons/check2-circle.svg +4 -0
  1067. package/shoelace/assets/icons/check2-square.svg +4 -0
  1068. package/shoelace/assets/icons/check2.svg +3 -0
  1069. package/shoelace/assets/icons/chevron-bar-contract.svg +3 -0
  1070. package/shoelace/assets/icons/chevron-bar-down.svg +3 -0
  1071. package/shoelace/assets/icons/chevron-bar-expand.svg +3 -0
  1072. package/shoelace/assets/icons/chevron-bar-left.svg +3 -0
  1073. package/shoelace/assets/icons/chevron-bar-right.svg +3 -0
  1074. package/shoelace/assets/icons/chevron-bar-up.svg +3 -0
  1075. package/shoelace/assets/icons/chevron-compact-down.svg +3 -0
  1076. package/shoelace/assets/icons/chevron-compact-left.svg +3 -0
  1077. package/shoelace/assets/icons/chevron-compact-right.svg +3 -0
  1078. package/shoelace/assets/icons/chevron-compact-up.svg +3 -0
  1079. package/shoelace/assets/icons/chevron-contract.svg +3 -0
  1080. package/shoelace/assets/icons/chevron-double-down.svg +4 -0
  1081. package/shoelace/assets/icons/chevron-double-left.svg +4 -0
  1082. package/shoelace/assets/icons/chevron-double-right.svg +4 -0
  1083. package/shoelace/assets/icons/chevron-double-up.svg +4 -0
  1084. package/shoelace/assets/icons/chevron-down.svg +3 -0
  1085. package/shoelace/assets/icons/chevron-expand.svg +3 -0
  1086. package/shoelace/assets/icons/chevron-left.svg +3 -0
  1087. package/shoelace/assets/icons/chevron-right.svg +3 -0
  1088. package/shoelace/assets/icons/chevron-up.svg +3 -0
  1089. package/shoelace/assets/icons/circle-fill.svg +3 -0
  1090. package/shoelace/assets/icons/circle-half.svg +3 -0
  1091. package/shoelace/assets/icons/circle-square.svg +4 -0
  1092. package/shoelace/assets/icons/circle.svg +3 -0
  1093. package/shoelace/assets/icons/clipboard-check.svg +5 -0
  1094. package/shoelace/assets/icons/clipboard-data.svg +5 -0
  1095. package/shoelace/assets/icons/clipboard-minus.svg +5 -0
  1096. package/shoelace/assets/icons/clipboard-plus.svg +5 -0
  1097. package/shoelace/assets/icons/clipboard-x.svg +5 -0
  1098. package/shoelace/assets/icons/clipboard.svg +4 -0
  1099. package/shoelace/assets/icons/clock-fill.svg +3 -0
  1100. package/shoelace/assets/icons/clock-history.svg +5 -0
  1101. package/shoelace/assets/icons/clock.svg +4 -0
  1102. package/shoelace/assets/icons/cloud-arrow-down-fill.svg +3 -0
  1103. package/shoelace/assets/icons/cloud-arrow-down.svg +4 -0
  1104. package/shoelace/assets/icons/cloud-arrow-up-fill.svg +3 -0
  1105. package/shoelace/assets/icons/cloud-arrow-up.svg +4 -0
  1106. package/shoelace/assets/icons/cloud-check-fill.svg +3 -0
  1107. package/shoelace/assets/icons/cloud-check.svg +4 -0
  1108. package/shoelace/assets/icons/cloud-download-fill.svg +3 -0
  1109. package/shoelace/assets/icons/cloud-download.svg +4 -0
  1110. package/shoelace/assets/icons/cloud-drizzle-fill.svg +3 -0
  1111. package/shoelace/assets/icons/cloud-drizzle.svg +3 -0
  1112. package/shoelace/assets/icons/cloud-fill.svg +3 -0
  1113. package/shoelace/assets/icons/cloud-fog-fill.svg +3 -0
  1114. package/shoelace/assets/icons/cloud-fog.svg +3 -0
  1115. package/shoelace/assets/icons/cloud-fog2-fill.svg +3 -0
  1116. package/shoelace/assets/icons/cloud-fog2.svg +3 -0
  1117. package/shoelace/assets/icons/cloud-hail-fill.svg +3 -0
  1118. package/shoelace/assets/icons/cloud-hail.svg +3 -0
  1119. package/shoelace/assets/icons/cloud-haze-1.svg +3 -0
  1120. package/shoelace/assets/icons/cloud-haze-fill.svg +3 -0
  1121. package/shoelace/assets/icons/cloud-haze.svg +3 -0
  1122. package/shoelace/assets/icons/cloud-haze2-fill.svg +3 -0
  1123. package/shoelace/assets/icons/cloud-lightning-fill.svg +3 -0
  1124. package/shoelace/assets/icons/cloud-lightning-rain-fill.svg +3 -0
  1125. package/shoelace/assets/icons/cloud-lightning-rain.svg +3 -0
  1126. package/shoelace/assets/icons/cloud-lightning.svg +3 -0
  1127. package/shoelace/assets/icons/cloud-minus-fill.svg +3 -0
  1128. package/shoelace/assets/icons/cloud-minus.svg +3 -0
  1129. package/shoelace/assets/icons/cloud-moon-fill.svg +4 -0
  1130. package/shoelace/assets/icons/cloud-moon.svg +4 -0
  1131. package/shoelace/assets/icons/cloud-plus-fill.svg +3 -0
  1132. package/shoelace/assets/icons/cloud-plus.svg +4 -0
  1133. package/shoelace/assets/icons/cloud-rain-fill.svg +3 -0
  1134. package/shoelace/assets/icons/cloud-rain-heavy-fill.svg +3 -0
  1135. package/shoelace/assets/icons/cloud-rain-heavy.svg +3 -0
  1136. package/shoelace/assets/icons/cloud-rain.svg +3 -0
  1137. package/shoelace/assets/icons/cloud-slash-fill.svg +3 -0
  1138. package/shoelace/assets/icons/cloud-slash.svg +4 -0
  1139. package/shoelace/assets/icons/cloud-sleet-fill.svg +3 -0
  1140. package/shoelace/assets/icons/cloud-sleet.svg +3 -0
  1141. package/shoelace/assets/icons/cloud-snow-fill.svg +3 -0
  1142. package/shoelace/assets/icons/cloud-snow.svg +3 -0
  1143. package/shoelace/assets/icons/cloud-sun-fill.svg +4 -0
  1144. package/shoelace/assets/icons/cloud-sun.svg +4 -0
  1145. package/shoelace/assets/icons/cloud-upload-fill.svg +3 -0
  1146. package/shoelace/assets/icons/cloud-upload.svg +4 -0
  1147. package/shoelace/assets/icons/cloud.svg +3 -0
  1148. package/shoelace/assets/icons/clouds-fill.svg +4 -0
  1149. package/shoelace/assets/icons/clouds.svg +4 -0
  1150. package/shoelace/assets/icons/cloudy-fill.svg +3 -0
  1151. package/shoelace/assets/icons/cloudy.svg +3 -0
  1152. package/shoelace/assets/icons/code-slash.svg +3 -0
  1153. package/shoelace/assets/icons/code-square.svg +4 -0
  1154. package/shoelace/assets/icons/code.svg +3 -0
  1155. package/shoelace/assets/icons/collection-fill.svg +3 -0
  1156. package/shoelace/assets/icons/collection-play-fill.svg +3 -0
  1157. package/shoelace/assets/icons/collection-play.svg +4 -0
  1158. package/shoelace/assets/icons/collection.svg +3 -0
  1159. package/shoelace/assets/icons/columns-gap.svg +3 -0
  1160. package/shoelace/assets/icons/columns.svg +3 -0
  1161. package/shoelace/assets/icons/command.svg +3 -0
  1162. package/shoelace/assets/icons/compass-fill.svg +3 -0
  1163. package/shoelace/assets/icons/compass.svg +4 -0
  1164. package/shoelace/assets/icons/cone-striped.svg +3 -0
  1165. package/shoelace/assets/icons/cone.svg +3 -0
  1166. package/shoelace/assets/icons/controller.svg +4 -0
  1167. package/shoelace/assets/icons/cpu-fill.svg +4 -0
  1168. package/shoelace/assets/icons/cpu.svg +3 -0
  1169. package/shoelace/assets/icons/credit-card-2-back-fill.svg +3 -0
  1170. package/shoelace/assets/icons/credit-card-2-back.svg +4 -0
  1171. package/shoelace/assets/icons/credit-card-2-front-fill.svg +3 -0
  1172. package/shoelace/assets/icons/credit-card-2-front.svg +4 -0
  1173. package/shoelace/assets/icons/credit-card-fill.svg +3 -0
  1174. package/shoelace/assets/icons/credit-card.svg +4 -0
  1175. package/shoelace/assets/icons/crop.svg +3 -0
  1176. package/shoelace/assets/icons/cup-fill.svg +3 -0
  1177. package/shoelace/assets/icons/cup-straw.svg +3 -0
  1178. package/shoelace/assets/icons/cup.svg +3 -0
  1179. package/shoelace/assets/icons/cursor-fill.svg +3 -0
  1180. package/shoelace/assets/icons/cursor-text.svg +3 -0
  1181. package/shoelace/assets/icons/cursor.svg +3 -0
  1182. package/shoelace/assets/icons/dash-circle-dotted.svg +3 -0
  1183. package/shoelace/assets/icons/dash-circle-fill.svg +3 -0
  1184. package/shoelace/assets/icons/dash-circle.svg +4 -0
  1185. package/shoelace/assets/icons/dash-square-dotted.svg +3 -0
  1186. package/shoelace/assets/icons/dash-square-fill.svg +3 -0
  1187. package/shoelace/assets/icons/dash-square.svg +4 -0
  1188. package/shoelace/assets/icons/dash.svg +3 -0
  1189. package/shoelace/assets/icons/diagram-2-fill.svg +3 -0
  1190. package/shoelace/assets/icons/diagram-2.svg +3 -0
  1191. package/shoelace/assets/icons/diagram-3-fill.svg +3 -0
  1192. package/shoelace/assets/icons/diagram-3.svg +3 -0
  1193. package/shoelace/assets/icons/diamond-fill.svg +3 -0
  1194. package/shoelace/assets/icons/diamond-half.svg +3 -0
  1195. package/shoelace/assets/icons/diamond.svg +3 -0
  1196. package/shoelace/assets/icons/dice-1-fill.svg +3 -0
  1197. package/shoelace/assets/icons/dice-1.svg +4 -0
  1198. package/shoelace/assets/icons/dice-2-fill.svg +3 -0
  1199. package/shoelace/assets/icons/dice-2.svg +4 -0
  1200. package/shoelace/assets/icons/dice-3-fill.svg +3 -0
  1201. package/shoelace/assets/icons/dice-3.svg +4 -0
  1202. package/shoelace/assets/icons/dice-4-fill.svg +3 -0
  1203. package/shoelace/assets/icons/dice-4.svg +4 -0
  1204. package/shoelace/assets/icons/dice-5-fill.svg +3 -0
  1205. package/shoelace/assets/icons/dice-5.svg +4 -0
  1206. package/shoelace/assets/icons/dice-6-fill.svg +3 -0
  1207. package/shoelace/assets/icons/dice-6.svg +4 -0
  1208. package/shoelace/assets/icons/disc-fill.svg +3 -0
  1209. package/shoelace/assets/icons/disc.svg +4 -0
  1210. package/shoelace/assets/icons/discord.svg +4 -0
  1211. package/shoelace/assets/icons/display-fill.svg +3 -0
  1212. package/shoelace/assets/icons/display.svg +3 -0
  1213. package/shoelace/assets/icons/distribute-horizontal.svg +4 -0
  1214. package/shoelace/assets/icons/distribute-vertical.svg +4 -0
  1215. package/shoelace/assets/icons/door-closed-fill.svg +3 -0
  1216. package/shoelace/assets/icons/door-closed.svg +4 -0
  1217. package/shoelace/assets/icons/door-open-fill.svg +3 -0
  1218. package/shoelace/assets/icons/door-open.svg +4 -0
  1219. package/shoelace/assets/icons/dot.svg +3 -0
  1220. package/shoelace/assets/icons/download.svg +4 -0
  1221. package/shoelace/assets/icons/droplet-fill.svg +3 -0
  1222. package/shoelace/assets/icons/droplet-half.svg +4 -0
  1223. package/shoelace/assets/icons/droplet.svg +4 -0
  1224. package/shoelace/assets/icons/earbuds.svg +3 -0
  1225. package/shoelace/assets/icons/easel-fill.svg +3 -0
  1226. package/shoelace/assets/icons/easel.svg +3 -0
  1227. package/shoelace/assets/icons/egg-fill.svg +3 -0
  1228. package/shoelace/assets/icons/egg-fried.svg +4 -0
  1229. package/shoelace/assets/icons/egg.svg +3 -0
  1230. package/shoelace/assets/icons/eject-fill.svg +3 -0
  1231. package/shoelace/assets/icons/eject.svg +3 -0
  1232. package/shoelace/assets/icons/emoji-angry-fill.svg +3 -0
  1233. package/shoelace/assets/icons/emoji-angry.svg +4 -0
  1234. package/shoelace/assets/icons/emoji-dizzy-fill.svg +3 -0
  1235. package/shoelace/assets/icons/emoji-dizzy.svg +4 -0
  1236. package/shoelace/assets/icons/emoji-expressionless-fill.svg +3 -0
  1237. package/shoelace/assets/icons/emoji-expressionless.svg +4 -0
  1238. package/shoelace/assets/icons/emoji-frown-fill.svg +3 -0
  1239. package/shoelace/assets/icons/emoji-frown.svg +4 -0
  1240. package/shoelace/assets/icons/emoji-heart-eyes-fill.svg +3 -0
  1241. package/shoelace/assets/icons/emoji-heart-eyes.svg +4 -0
  1242. package/shoelace/assets/icons/emoji-laughing-fill.svg +3 -0
  1243. package/shoelace/assets/icons/emoji-laughing.svg +4 -0
  1244. package/shoelace/assets/icons/emoji-neutral-fill.svg +3 -0
  1245. package/shoelace/assets/icons/emoji-neutral.svg +4 -0
  1246. package/shoelace/assets/icons/emoji-smile-fill.svg +3 -0
  1247. package/shoelace/assets/icons/emoji-smile-upside-down-fill.svg +3 -0
  1248. package/shoelace/assets/icons/emoji-smile-upside-down.svg +4 -0
  1249. package/shoelace/assets/icons/emoji-smile.svg +4 -0
  1250. package/shoelace/assets/icons/emoji-sunglasses-fill.svg +3 -0
  1251. package/shoelace/assets/icons/emoji-sunglasses.svg +4 -0
  1252. package/shoelace/assets/icons/emoji-wink-fill.svg +3 -0
  1253. package/shoelace/assets/icons/emoji-wink.svg +4 -0
  1254. package/shoelace/assets/icons/envelope-fill.svg +3 -0
  1255. package/shoelace/assets/icons/envelope-open-fill.svg +3 -0
  1256. package/shoelace/assets/icons/envelope-open.svg +3 -0
  1257. package/shoelace/assets/icons/envelope.svg +3 -0
  1258. package/shoelace/assets/icons/eraser-fill.svg +3 -0
  1259. package/shoelace/assets/icons/eraser.svg +3 -0
  1260. package/shoelace/assets/icons/exclamation-circle-fill.svg +3 -0
  1261. package/shoelace/assets/icons/exclamation-circle.svg +4 -0
  1262. package/shoelace/assets/icons/exclamation-diamond-fill.svg +3 -0
  1263. package/shoelace/assets/icons/exclamation-diamond.svg +4 -0
  1264. package/shoelace/assets/icons/exclamation-octagon-fill.svg +3 -0
  1265. package/shoelace/assets/icons/exclamation-octagon.svg +4 -0
  1266. package/shoelace/assets/icons/exclamation-square-fill.svg +3 -0
  1267. package/shoelace/assets/icons/exclamation-square.svg +4 -0
  1268. package/shoelace/assets/icons/exclamation-triangle-fill.svg +3 -0
  1269. package/shoelace/assets/icons/exclamation-triangle.svg +4 -0
  1270. package/shoelace/assets/icons/exclamation.svg +3 -0
  1271. package/shoelace/assets/icons/exclude.svg +3 -0
  1272. package/shoelace/assets/icons/eye-fill.svg +4 -0
  1273. package/shoelace/assets/icons/eye-slash-fill.svg +4 -0
  1274. package/shoelace/assets/icons/eye-slash.svg +5 -0
  1275. package/shoelace/assets/icons/eye.svg +4 -0
  1276. package/shoelace/assets/icons/eyedropper.svg +3 -0
  1277. package/shoelace/assets/icons/eyeglasses.svg +3 -0
  1278. package/shoelace/assets/icons/facebook.svg +3 -0
  1279. package/shoelace/assets/icons/file-arrow-down-fill.svg +3 -0
  1280. package/shoelace/assets/icons/file-arrow-down.svg +4 -0
  1281. package/shoelace/assets/icons/file-arrow-up-fill.svg +3 -0
  1282. package/shoelace/assets/icons/file-arrow-up.svg +4 -0
  1283. package/shoelace/assets/icons/file-bar-graph-fill.svg +3 -0
  1284. package/shoelace/assets/icons/file-bar-graph.svg +4 -0
  1285. package/shoelace/assets/icons/file-binary-fill.svg +4 -0
  1286. package/shoelace/assets/icons/file-binary.svg +4 -0
  1287. package/shoelace/assets/icons/file-break-fill.svg +3 -0
  1288. package/shoelace/assets/icons/file-break.svg +3 -0
  1289. package/shoelace/assets/icons/file-check-fill.svg +3 -0
  1290. package/shoelace/assets/icons/file-check.svg +4 -0
  1291. package/shoelace/assets/icons/file-code-fill.svg +3 -0
  1292. package/shoelace/assets/icons/file-code.svg +4 -0
  1293. package/shoelace/assets/icons/file-diff-fill.svg +3 -0
  1294. package/shoelace/assets/icons/file-diff.svg +4 -0
  1295. package/shoelace/assets/icons/file-earmark-arrow-down-fill.svg +3 -0
  1296. package/shoelace/assets/icons/file-earmark-arrow-down.svg +4 -0
  1297. package/shoelace/assets/icons/file-earmark-arrow-up-fill.svg +3 -0
  1298. package/shoelace/assets/icons/file-earmark-arrow-up.svg +4 -0
  1299. package/shoelace/assets/icons/file-earmark-bar-graph-fill.svg +3 -0
  1300. package/shoelace/assets/icons/file-earmark-bar-graph.svg +4 -0
  1301. package/shoelace/assets/icons/file-earmark-binary-fill.svg +4 -0
  1302. package/shoelace/assets/icons/file-earmark-binary.svg +4 -0
  1303. package/shoelace/assets/icons/file-earmark-break-fill.svg +3 -0
  1304. package/shoelace/assets/icons/file-earmark-break.svg +3 -0
  1305. package/shoelace/assets/icons/file-earmark-check-fill.svg +3 -0
  1306. package/shoelace/assets/icons/file-earmark-check.svg +4 -0
  1307. package/shoelace/assets/icons/file-earmark-code-fill.svg +3 -0
  1308. package/shoelace/assets/icons/file-earmark-code.svg +4 -0
  1309. package/shoelace/assets/icons/file-earmark-diff-fill.svg +3 -0
  1310. package/shoelace/assets/icons/file-earmark-diff.svg +4 -0
  1311. package/shoelace/assets/icons/file-earmark-easel-fill.svg +4 -0
  1312. package/shoelace/assets/icons/file-earmark-easel.svg +4 -0
  1313. package/shoelace/assets/icons/file-earmark-excel-fill.svg +3 -0
  1314. package/shoelace/assets/icons/file-earmark-excel.svg +4 -0
  1315. package/shoelace/assets/icons/file-earmark-fill.svg +3 -0
  1316. package/shoelace/assets/icons/file-earmark-font-fill.svg +3 -0
  1317. package/shoelace/assets/icons/file-earmark-font.svg +4 -0
  1318. package/shoelace/assets/icons/file-earmark-image-fill.svg +4 -0
  1319. package/shoelace/assets/icons/file-earmark-image.svg +4 -0
  1320. package/shoelace/assets/icons/file-earmark-lock-fill.svg +4 -0
  1321. package/shoelace/assets/icons/file-earmark-lock.svg +4 -0
  1322. package/shoelace/assets/icons/file-earmark-lock2-fill.svg +4 -0
  1323. package/shoelace/assets/icons/file-earmark-lock2.svg +4 -0
  1324. package/shoelace/assets/icons/file-earmark-medical-fill.svg +3 -0
  1325. package/shoelace/assets/icons/file-earmark-medical.svg +4 -0
  1326. package/shoelace/assets/icons/file-earmark-minus-fill.svg +3 -0
  1327. package/shoelace/assets/icons/file-earmark-minus.svg +4 -0
  1328. package/shoelace/assets/icons/file-earmark-music-fill.svg +3 -0
  1329. package/shoelace/assets/icons/file-earmark-music.svg +4 -0
  1330. package/shoelace/assets/icons/file-earmark-person-fill.svg +3 -0
  1331. package/shoelace/assets/icons/file-earmark-person.svg +4 -0
  1332. package/shoelace/assets/icons/file-earmark-play-fill.svg +3 -0
  1333. package/shoelace/assets/icons/file-earmark-play.svg +4 -0
  1334. package/shoelace/assets/icons/file-earmark-plus-fill.svg +3 -0
  1335. package/shoelace/assets/icons/file-earmark-plus.svg +4 -0
  1336. package/shoelace/assets/icons/file-earmark-post-fill.svg +3 -0
  1337. package/shoelace/assets/icons/file-earmark-post.svg +4 -0
  1338. package/shoelace/assets/icons/file-earmark-ppt-fill.svg +4 -0
  1339. package/shoelace/assets/icons/file-earmark-ppt.svg +4 -0
  1340. package/shoelace/assets/icons/file-earmark-richtext-fill.svg +3 -0
  1341. package/shoelace/assets/icons/file-earmark-richtext.svg +4 -0
  1342. package/shoelace/assets/icons/file-earmark-ruled-fill.svg +3 -0
  1343. package/shoelace/assets/icons/file-earmark-ruled.svg +3 -0
  1344. package/shoelace/assets/icons/file-earmark-slides-fill.svg +4 -0
  1345. package/shoelace/assets/icons/file-earmark-slides.svg +5 -0
  1346. package/shoelace/assets/icons/file-earmark-spreadsheet-fill.svg +4 -0
  1347. package/shoelace/assets/icons/file-earmark-spreadsheet.svg +3 -0
  1348. package/shoelace/assets/icons/file-earmark-text-fill.svg +3 -0
  1349. package/shoelace/assets/icons/file-earmark-text.svg +4 -0
  1350. package/shoelace/assets/icons/file-earmark-word-fill.svg +3 -0
  1351. package/shoelace/assets/icons/file-earmark-word.svg +4 -0
  1352. package/shoelace/assets/icons/file-earmark-x-fill.svg +3 -0
  1353. package/shoelace/assets/icons/file-earmark-x.svg +4 -0
  1354. package/shoelace/assets/icons/file-earmark-zip-fill.svg +4 -0
  1355. package/shoelace/assets/icons/file-earmark-zip.svg +4 -0
  1356. package/shoelace/assets/icons/file-earmark.svg +3 -0
  1357. package/shoelace/assets/icons/file-easel-fill.svg +4 -0
  1358. package/shoelace/assets/icons/file-easel.svg +4 -0
  1359. package/shoelace/assets/icons/file-excel-fill.svg +3 -0
  1360. package/shoelace/assets/icons/file-excel.svg +4 -0
  1361. package/shoelace/assets/icons/file-fill.svg +3 -0
  1362. package/shoelace/assets/icons/file-font-fill.svg +3 -0
  1363. package/shoelace/assets/icons/file-font.svg +4 -0
  1364. package/shoelace/assets/icons/file-image-fill.svg +4 -0
  1365. package/shoelace/assets/icons/file-image.svg +4 -0
  1366. package/shoelace/assets/icons/file-lock-fill.svg +4 -0
  1367. package/shoelace/assets/icons/file-lock.svg +4 -0
  1368. package/shoelace/assets/icons/file-lock2-fill.svg +4 -0
  1369. package/shoelace/assets/icons/file-lock2.svg +4 -0
  1370. package/shoelace/assets/icons/file-medical-fill.svg +3 -0
  1371. package/shoelace/assets/icons/file-medical.svg +4 -0
  1372. package/shoelace/assets/icons/file-minus-fill.svg +3 -0
  1373. package/shoelace/assets/icons/file-minus.svg +4 -0
  1374. package/shoelace/assets/icons/file-music-fill.svg +3 -0
  1375. package/shoelace/assets/icons/file-music.svg +4 -0
  1376. package/shoelace/assets/icons/file-person-fill.svg +3 -0
  1377. package/shoelace/assets/icons/file-person.svg +4 -0
  1378. package/shoelace/assets/icons/file-play-fill.svg +3 -0
  1379. package/shoelace/assets/icons/file-play.svg +4 -0
  1380. package/shoelace/assets/icons/file-plus-fill.svg +3 -0
  1381. package/shoelace/assets/icons/file-plus.svg +4 -0
  1382. package/shoelace/assets/icons/file-post-fill.svg +3 -0
  1383. package/shoelace/assets/icons/file-post.svg +4 -0
  1384. package/shoelace/assets/icons/file-ppt-fill.svg +4 -0
  1385. package/shoelace/assets/icons/file-ppt.svg +4 -0
  1386. package/shoelace/assets/icons/file-richtext-fill.svg +3 -0
  1387. package/shoelace/assets/icons/file-richtext.svg +4 -0
  1388. package/shoelace/assets/icons/file-ruled-fill.svg +3 -0
  1389. package/shoelace/assets/icons/file-ruled.svg +3 -0
  1390. package/shoelace/assets/icons/file-slides-fill.svg +4 -0
  1391. package/shoelace/assets/icons/file-slides.svg +4 -0
  1392. package/shoelace/assets/icons/file-spreadsheet-fill.svg +3 -0
  1393. package/shoelace/assets/icons/file-spreadsheet.svg +3 -0
  1394. package/shoelace/assets/icons/file-text-fill.svg +3 -0
  1395. package/shoelace/assets/icons/file-text.svg +4 -0
  1396. package/shoelace/assets/icons/file-word-fill.svg +3 -0
  1397. package/shoelace/assets/icons/file-word.svg +4 -0
  1398. package/shoelace/assets/icons/file-x-fill.svg +3 -0
  1399. package/shoelace/assets/icons/file-x.svg +4 -0
  1400. package/shoelace/assets/icons/file-zip-fill.svg +4 -0
  1401. package/shoelace/assets/icons/file-zip.svg +4 -0
  1402. package/shoelace/assets/icons/file.svg +3 -0
  1403. package/shoelace/assets/icons/files-alt.svg +3 -0
  1404. package/shoelace/assets/icons/files.svg +3 -0
  1405. package/shoelace/assets/icons/film.svg +3 -0
  1406. package/shoelace/assets/icons/filter-circle-fill.svg +3 -0
  1407. package/shoelace/assets/icons/filter-circle.svg +4 -0
  1408. package/shoelace/assets/icons/filter-left.svg +3 -0
  1409. package/shoelace/assets/icons/filter-right.svg +3 -0
  1410. package/shoelace/assets/icons/filter-square-fill.svg +3 -0
  1411. package/shoelace/assets/icons/filter-square.svg +4 -0
  1412. package/shoelace/assets/icons/filter.svg +3 -0
  1413. package/shoelace/assets/icons/flag-fill.svg +3 -0
  1414. package/shoelace/assets/icons/flag.svg +3 -0
  1415. package/shoelace/assets/icons/flower1.svg +3 -0
  1416. package/shoelace/assets/icons/flower2.svg +3 -0
  1417. package/shoelace/assets/icons/flower3.svg +3 -0
  1418. package/shoelace/assets/icons/folder-check.svg +4 -0
  1419. package/shoelace/assets/icons/folder-fill.svg +3 -0
  1420. package/shoelace/assets/icons/folder-minus.svg +4 -0
  1421. package/shoelace/assets/icons/folder-plus.svg +4 -0
  1422. package/shoelace/assets/icons/folder-symlink-fill.svg +3 -0
  1423. package/shoelace/assets/icons/folder-symlink.svg +4 -0
  1424. package/shoelace/assets/icons/folder-x.svg +4 -0
  1425. package/shoelace/assets/icons/folder.svg +3 -0
  1426. package/shoelace/assets/icons/folder2-open.svg +3 -0
  1427. package/shoelace/assets/icons/folder2.svg +3 -0
  1428. package/shoelace/assets/icons/fonts.svg +3 -0
  1429. package/shoelace/assets/icons/forward-fill.svg +3 -0
  1430. package/shoelace/assets/icons/forward.svg +3 -0
  1431. package/shoelace/assets/icons/front.svg +3 -0
  1432. package/shoelace/assets/icons/fullscreen-exit.svg +3 -0
  1433. package/shoelace/assets/icons/fullscreen.svg +3 -0
  1434. package/shoelace/assets/icons/funnel-fill.svg +3 -0
  1435. package/shoelace/assets/icons/funnel.svg +3 -0
  1436. package/shoelace/assets/icons/gear-fill.svg +3 -0
  1437. package/shoelace/assets/icons/gear-wide-connected.svg +3 -0
  1438. package/shoelace/assets/icons/gear-wide.svg +3 -0
  1439. package/shoelace/assets/icons/gear.svg +4 -0
  1440. package/shoelace/assets/icons/gem.svg +3 -0
  1441. package/shoelace/assets/icons/geo-alt-fill.svg +3 -0
  1442. package/shoelace/assets/icons/geo-alt.svg +4 -0
  1443. package/shoelace/assets/icons/geo-fill.svg +3 -0
  1444. package/shoelace/assets/icons/geo.svg +3 -0
  1445. package/shoelace/assets/icons/gift-fill.svg +3 -0
  1446. package/shoelace/assets/icons/gift.svg +3 -0
  1447. package/shoelace/assets/icons/github.svg +3 -0
  1448. package/shoelace/assets/icons/globe.svg +3 -0
  1449. package/shoelace/assets/icons/globe2.svg +3 -0
  1450. package/shoelace/assets/icons/google.svg +3 -0
  1451. package/shoelace/assets/icons/graph-down.svg +3 -0
  1452. package/shoelace/assets/icons/graph-up.svg +3 -0
  1453. package/shoelace/assets/icons/grid-1x2-fill.svg +3 -0
  1454. package/shoelace/assets/icons/grid-1x2.svg +3 -0
  1455. package/shoelace/assets/icons/grid-3x2-gap-fill.svg +3 -0
  1456. package/shoelace/assets/icons/grid-3x2-gap.svg +3 -0
  1457. package/shoelace/assets/icons/grid-3x2.svg +3 -0
  1458. package/shoelace/assets/icons/grid-3x3-gap-fill.svg +3 -0
  1459. package/shoelace/assets/icons/grid-3x3-gap.svg +3 -0
  1460. package/shoelace/assets/icons/grid-3x3.svg +3 -0
  1461. package/shoelace/assets/icons/grid-fill.svg +3 -0
  1462. package/shoelace/assets/icons/grid.svg +3 -0
  1463. package/shoelace/assets/icons/grip-horizontal.svg +3 -0
  1464. package/shoelace/assets/icons/grip-vertical.svg +3 -0
  1465. package/shoelace/assets/icons/hammer.svg +3 -0
  1466. package/shoelace/assets/icons/hand-index-fill.svg +3 -0
  1467. package/shoelace/assets/icons/hand-index-thumb-fill.svg +3 -0
  1468. package/shoelace/assets/icons/hand-index-thumb.svg +3 -0
  1469. package/shoelace/assets/icons/hand-index.svg +3 -0
  1470. package/shoelace/assets/icons/hand-thumbs-down-fill.svg +3 -0
  1471. package/shoelace/assets/icons/hand-thumbs-down.svg +3 -0
  1472. package/shoelace/assets/icons/hand-thumbs-up-fill.svg +3 -0
  1473. package/shoelace/assets/icons/hand-thumbs-up.svg +3 -0
  1474. package/shoelace/assets/icons/handbag-fill.svg +3 -0
  1475. package/shoelace/assets/icons/handbag.svg +3 -0
  1476. package/shoelace/assets/icons/hash.svg +3 -0
  1477. package/shoelace/assets/icons/hdd-fill.svg +3 -0
  1478. package/shoelace/assets/icons/hdd-network-fill.svg +3 -0
  1479. package/shoelace/assets/icons/hdd-network.svg +4 -0
  1480. package/shoelace/assets/icons/hdd-rack-fill.svg +3 -0
  1481. package/shoelace/assets/icons/hdd-rack.svg +4 -0
  1482. package/shoelace/assets/icons/hdd-stack-fill.svg +3 -0
  1483. package/shoelace/assets/icons/hdd-stack.svg +5 -0
  1484. package/shoelace/assets/icons/hdd.svg +4 -0
  1485. package/shoelace/assets/icons/headphones.svg +3 -0
  1486. package/shoelace/assets/icons/headset.svg +3 -0
  1487. package/shoelace/assets/icons/heart-fill.svg +3 -0
  1488. package/shoelace/assets/icons/heart-half.svg +3 -0
  1489. package/shoelace/assets/icons/heart.svg +3 -0
  1490. package/shoelace/assets/icons/heptagon-fill.svg +3 -0
  1491. package/shoelace/assets/icons/heptagon-half.svg +3 -0
  1492. package/shoelace/assets/icons/heptagon.svg +3 -0
  1493. package/shoelace/assets/icons/hexagon-fill.svg +3 -0
  1494. package/shoelace/assets/icons/hexagon-half.svg +3 -0
  1495. package/shoelace/assets/icons/hexagon.svg +3 -0
  1496. package/shoelace/assets/icons/hourglass-bottom.svg +3 -0
  1497. package/shoelace/assets/icons/hourglass-split.svg +3 -0
  1498. package/shoelace/assets/icons/hourglass-top.svg +3 -0
  1499. package/shoelace/assets/icons/hourglass.svg +3 -0
  1500. package/shoelace/assets/icons/house-door-fill.svg +3 -0
  1501. package/shoelace/assets/icons/house-door.svg +3 -0
  1502. package/shoelace/assets/icons/house-fill.svg +4 -0
  1503. package/shoelace/assets/icons/house.svg +4 -0
  1504. package/shoelace/assets/icons/hr.svg +3 -0
  1505. package/shoelace/assets/icons/hurricane.svg +3 -0
  1506. package/shoelace/assets/icons/icons.json +15666 -0
  1507. package/shoelace/assets/icons/image-alt.svg +3 -0
  1508. package/shoelace/assets/icons/image-fill.svg +3 -0
  1509. package/shoelace/assets/icons/image.svg +4 -0
  1510. package/shoelace/assets/icons/images.svg +4 -0
  1511. package/shoelace/assets/icons/inbox-fill.svg +3 -0
  1512. package/shoelace/assets/icons/inbox.svg +3 -0
  1513. package/shoelace/assets/icons/inboxes-fill.svg +3 -0
  1514. package/shoelace/assets/icons/inboxes.svg +3 -0
  1515. package/shoelace/assets/icons/info-circle-fill.svg +3 -0
  1516. package/shoelace/assets/icons/info-circle.svg +4 -0
  1517. package/shoelace/assets/icons/info-square-fill.svg +3 -0
  1518. package/shoelace/assets/icons/info-square.svg +4 -0
  1519. package/shoelace/assets/icons/info.svg +3 -0
  1520. package/shoelace/assets/icons/input-cursor-text.svg +4 -0
  1521. package/shoelace/assets/icons/input-cursor.svg +4 -0
  1522. package/shoelace/assets/icons/instagram.svg +3 -0
  1523. package/shoelace/assets/icons/intersect.svg +3 -0
  1524. package/shoelace/assets/icons/journal-album.svg +5 -0
  1525. package/shoelace/assets/icons/journal-arrow-down.svg +5 -0
  1526. package/shoelace/assets/icons/journal-arrow-up.svg +5 -0
  1527. package/shoelace/assets/icons/journal-bookmark-fill.svg +5 -0
  1528. package/shoelace/assets/icons/journal-bookmark.svg +5 -0
  1529. package/shoelace/assets/icons/journal-check.svg +5 -0
  1530. package/shoelace/assets/icons/journal-code.svg +5 -0
  1531. package/shoelace/assets/icons/journal-medical.svg +5 -0
  1532. package/shoelace/assets/icons/journal-minus.svg +5 -0
  1533. package/shoelace/assets/icons/journal-plus.svg +5 -0
  1534. package/shoelace/assets/icons/journal-richtext.svg +5 -0
  1535. package/shoelace/assets/icons/journal-text.svg +5 -0
  1536. package/shoelace/assets/icons/journal-x.svg +5 -0
  1537. package/shoelace/assets/icons/journal.svg +4 -0
  1538. package/shoelace/assets/icons/journals.svg +4 -0
  1539. package/shoelace/assets/icons/joystick.svg +4 -0
  1540. package/shoelace/assets/icons/justify-left.svg +3 -0
  1541. package/shoelace/assets/icons/justify-right.svg +3 -0
  1542. package/shoelace/assets/icons/justify.svg +3 -0
  1543. package/shoelace/assets/icons/kanban-fill.svg +3 -0
  1544. package/shoelace/assets/icons/kanban.svg +4 -0
  1545. package/shoelace/assets/icons/key-fill.svg +3 -0
  1546. package/shoelace/assets/icons/key.svg +4 -0
  1547. package/shoelace/assets/icons/keyboard-fill.svg +3 -0
  1548. package/shoelace/assets/icons/keyboard.svg +4 -0
  1549. package/shoelace/assets/icons/ladder.svg +3 -0
  1550. package/shoelace/assets/icons/lamp-fill.svg +3 -0
  1551. package/shoelace/assets/icons/lamp.svg +3 -0
  1552. package/shoelace/assets/icons/laptop-fill.svg +3 -0
  1553. package/shoelace/assets/icons/laptop.svg +3 -0
  1554. package/shoelace/assets/icons/layer-backward.svg +4 -0
  1555. package/shoelace/assets/icons/layer-forward.svg +4 -0
  1556. package/shoelace/assets/icons/layers-fill.svg +4 -0
  1557. package/shoelace/assets/icons/layers-half.svg +3 -0
  1558. package/shoelace/assets/icons/layers.svg +3 -0
  1559. package/shoelace/assets/icons/layout-sidebar-inset-reverse.svg +4 -0
  1560. package/shoelace/assets/icons/layout-sidebar-inset.svg +4 -0
  1561. package/shoelace/assets/icons/layout-sidebar-reverse.svg +3 -0
  1562. package/shoelace/assets/icons/layout-sidebar.svg +3 -0
  1563. package/shoelace/assets/icons/layout-split.svg +3 -0
  1564. package/shoelace/assets/icons/layout-text-sidebar-reverse.svg +4 -0
  1565. package/shoelace/assets/icons/layout-text-sidebar.svg +4 -0
  1566. package/shoelace/assets/icons/layout-text-window-reverse.svg +4 -0
  1567. package/shoelace/assets/icons/layout-text-window.svg +4 -0
  1568. package/shoelace/assets/icons/layout-three-columns.svg +3 -0
  1569. package/shoelace/assets/icons/layout-wtf.svg +3 -0
  1570. package/shoelace/assets/icons/life-preserver.svg +3 -0
  1571. package/shoelace/assets/icons/lightbulb-fill.svg +3 -0
  1572. package/shoelace/assets/icons/lightbulb-off-fill.svg +3 -0
  1573. package/shoelace/assets/icons/lightbulb-off.svg +3 -0
  1574. package/shoelace/assets/icons/lightbulb.svg +3 -0
  1575. package/shoelace/assets/icons/lightning-charge-fill.svg +3 -0
  1576. package/shoelace/assets/icons/lightning-charge.svg +3 -0
  1577. package/shoelace/assets/icons/lightning-fill.svg +3 -0
  1578. package/shoelace/assets/icons/lightning.svg +3 -0
  1579. package/shoelace/assets/icons/link-45deg.svg +4 -0
  1580. package/shoelace/assets/icons/link.svg +4 -0
  1581. package/shoelace/assets/icons/linkedin.svg +3 -0
  1582. package/shoelace/assets/icons/list-check.svg +3 -0
  1583. package/shoelace/assets/icons/list-nested.svg +3 -0
  1584. package/shoelace/assets/icons/list-ol.svg +4 -0
  1585. package/shoelace/assets/icons/list-stars.svg +4 -0
  1586. package/shoelace/assets/icons/list-task.svg +5 -0
  1587. package/shoelace/assets/icons/list-ul.svg +3 -0
  1588. package/shoelace/assets/icons/list.svg +3 -0
  1589. package/shoelace/assets/icons/lock-fill.svg +3 -0
  1590. package/shoelace/assets/icons/lock.svg +3 -0
  1591. package/shoelace/assets/icons/mailbox.svg +4 -0
  1592. package/shoelace/assets/icons/mailbox2.svg +4 -0
  1593. package/shoelace/assets/icons/map-fill.svg +3 -0
  1594. package/shoelace/assets/icons/map.svg +3 -0
  1595. package/shoelace/assets/icons/markdown-fill.svg +3 -0
  1596. package/shoelace/assets/icons/markdown.svg +6 -0
  1597. package/shoelace/assets/icons/mask.svg +3 -0
  1598. package/shoelace/assets/icons/megaphone-fill.svg +3 -0
  1599. package/shoelace/assets/icons/megaphone.svg +3 -0
  1600. package/shoelace/assets/icons/menu-app-fill.svg +3 -0
  1601. package/shoelace/assets/icons/menu-app.svg +3 -0
  1602. package/shoelace/assets/icons/menu-button-fill.svg +3 -0
  1603. package/shoelace/assets/icons/menu-button-wide-fill.svg +3 -0
  1604. package/shoelace/assets/icons/menu-button-wide.svg +4 -0
  1605. package/shoelace/assets/icons/menu-button.svg +4 -0
  1606. package/shoelace/assets/icons/menu-down.svg +3 -0
  1607. package/shoelace/assets/icons/menu-up.svg +3 -0
  1608. package/shoelace/assets/icons/mic-fill.svg +4 -0
  1609. package/shoelace/assets/icons/mic-mute-fill.svg +3 -0
  1610. package/shoelace/assets/icons/mic-mute.svg +3 -0
  1611. package/shoelace/assets/icons/mic.svg +4 -0
  1612. package/shoelace/assets/icons/minecart-loaded.svg +4 -0
  1613. package/shoelace/assets/icons/minecart.svg +3 -0
  1614. package/shoelace/assets/icons/moisture.svg +3 -0
  1615. package/shoelace/assets/icons/moon-fill.svg +3 -0
  1616. package/shoelace/assets/icons/moon-stars-fill.svg +4 -0
  1617. package/shoelace/assets/icons/moon-stars.svg +4 -0
  1618. package/shoelace/assets/icons/moon.svg +3 -0
  1619. package/shoelace/assets/icons/mouse-fill.svg +3 -0
  1620. package/shoelace/assets/icons/mouse.svg +3 -0
  1621. package/shoelace/assets/icons/mouse2-fill.svg +3 -0
  1622. package/shoelace/assets/icons/mouse2.svg +3 -0
  1623. package/shoelace/assets/icons/mouse3-fill.svg +3 -0
  1624. package/shoelace/assets/icons/mouse3.svg +3 -0
  1625. package/shoelace/assets/icons/music-note-beamed.svg +5 -0
  1626. package/shoelace/assets/icons/music-note-list.svg +6 -0
  1627. package/shoelace/assets/icons/music-note.svg +5 -0
  1628. package/shoelace/assets/icons/music-player-fill.svg +4 -0
  1629. package/shoelace/assets/icons/music-player.svg +5 -0
  1630. package/shoelace/assets/icons/newspaper.svg +4 -0
  1631. package/shoelace/assets/icons/node-minus-fill.svg +3 -0
  1632. package/shoelace/assets/icons/node-minus.svg +3 -0
  1633. package/shoelace/assets/icons/node-plus-fill.svg +3 -0
  1634. package/shoelace/assets/icons/node-plus.svg +3 -0
  1635. package/shoelace/assets/icons/nut-fill.svg +3 -0
  1636. package/shoelace/assets/icons/nut.svg +4 -0
  1637. package/shoelace/assets/icons/octagon-fill.svg +3 -0
  1638. package/shoelace/assets/icons/octagon-half.svg +3 -0
  1639. package/shoelace/assets/icons/octagon.svg +3 -0
  1640. package/shoelace/assets/icons/option.svg +3 -0
  1641. package/shoelace/assets/icons/outlet.svg +4 -0
  1642. package/shoelace/assets/icons/paint-bucket.svg +3 -0
  1643. package/shoelace/assets/icons/palette-fill.svg +3 -0
  1644. package/shoelace/assets/icons/palette.svg +4 -0
  1645. package/shoelace/assets/icons/palette2.svg +4 -0
  1646. package/shoelace/assets/icons/paperclip.svg +3 -0
  1647. package/shoelace/assets/icons/paragraph.svg +3 -0
  1648. package/shoelace/assets/icons/patch-check-fill.svg +3 -0
  1649. package/shoelace/assets/icons/patch-check.svg +4 -0
  1650. package/shoelace/assets/icons/patch-exclamation-fill.svg +3 -0
  1651. package/shoelace/assets/icons/patch-exclamation.svg +4 -0
  1652. package/shoelace/assets/icons/patch-minus-fill.svg +3 -0
  1653. package/shoelace/assets/icons/patch-minus.svg +4 -0
  1654. package/shoelace/assets/icons/patch-plus-fill.svg +3 -0
  1655. package/shoelace/assets/icons/patch-plus.svg +4 -0
  1656. package/shoelace/assets/icons/patch-question-fill.svg +3 -0
  1657. package/shoelace/assets/icons/patch-question.svg +5 -0
  1658. package/shoelace/assets/icons/pause-btn-fill.svg +3 -0
  1659. package/shoelace/assets/icons/pause-btn.svg +4 -0
  1660. package/shoelace/assets/icons/pause-circle-fill.svg +3 -0
  1661. package/shoelace/assets/icons/pause-circle.svg +4 -0
  1662. package/shoelace/assets/icons/pause-fill.svg +3 -0
  1663. package/shoelace/assets/icons/pause.svg +3 -0
  1664. package/shoelace/assets/icons/peace-fill.svg +3 -0
  1665. package/shoelace/assets/icons/peace.svg +3 -0
  1666. package/shoelace/assets/icons/pen-fill.svg +3 -0
  1667. package/shoelace/assets/icons/pen.svg +3 -0
  1668. package/shoelace/assets/icons/pencil-fill.svg +3 -0
  1669. package/shoelace/assets/icons/pencil-square.svg +4 -0
  1670. package/shoelace/assets/icons/pencil.svg +3 -0
  1671. package/shoelace/assets/icons/pentagon-fill.svg +3 -0
  1672. package/shoelace/assets/icons/pentagon-half.svg +3 -0
  1673. package/shoelace/assets/icons/pentagon.svg +3 -0
  1674. package/shoelace/assets/icons/people-fill.svg +5 -0
  1675. package/shoelace/assets/icons/people.svg +3 -0
  1676. package/shoelace/assets/icons/percent.svg +3 -0
  1677. package/shoelace/assets/icons/person-badge-fill.svg +3 -0
  1678. package/shoelace/assets/icons/person-badge.svg +4 -0
  1679. package/shoelace/assets/icons/person-bounding-box.svg +4 -0
  1680. package/shoelace/assets/icons/person-check-fill.svg +4 -0
  1681. package/shoelace/assets/icons/person-check.svg +4 -0
  1682. package/shoelace/assets/icons/person-circle.svg +4 -0
  1683. package/shoelace/assets/icons/person-dash-fill.svg +4 -0
  1684. package/shoelace/assets/icons/person-dash.svg +4 -0
  1685. package/shoelace/assets/icons/person-fill.svg +3 -0
  1686. package/shoelace/assets/icons/person-lines-fill.svg +3 -0
  1687. package/shoelace/assets/icons/person-plus-fill.svg +4 -0
  1688. package/shoelace/assets/icons/person-plus.svg +4 -0
  1689. package/shoelace/assets/icons/person-square.svg +4 -0
  1690. package/shoelace/assets/icons/person-x-fill.svg +3 -0
  1691. package/shoelace/assets/icons/person-x.svg +4 -0
  1692. package/shoelace/assets/icons/person.svg +3 -0
  1693. package/shoelace/assets/icons/phone-fill.svg +3 -0
  1694. package/shoelace/assets/icons/phone-landscape-fill.svg +3 -0
  1695. package/shoelace/assets/icons/phone-landscape.svg +4 -0
  1696. package/shoelace/assets/icons/phone-vibrate-fill.svg +3 -0
  1697. package/shoelace/assets/icons/phone-vibrate.svg +4 -0
  1698. package/shoelace/assets/icons/phone.svg +4 -0
  1699. package/shoelace/assets/icons/pie-chart-fill.svg +3 -0
  1700. package/shoelace/assets/icons/pie-chart.svg +3 -0
  1701. package/shoelace/assets/icons/pin-angle-fill.svg +3 -0
  1702. package/shoelace/assets/icons/pin-angle.svg +3 -0
  1703. package/shoelace/assets/icons/pin-fill.svg +3 -0
  1704. package/shoelace/assets/icons/pin.svg +3 -0
  1705. package/shoelace/assets/icons/pip-fill.svg +3 -0
  1706. package/shoelace/assets/icons/pip.svg +4 -0
  1707. package/shoelace/assets/icons/play-btn-fill.svg +3 -0
  1708. package/shoelace/assets/icons/play-btn.svg +4 -0
  1709. package/shoelace/assets/icons/play-circle-fill.svg +3 -0
  1710. package/shoelace/assets/icons/play-circle.svg +4 -0
  1711. package/shoelace/assets/icons/play-fill.svg +3 -0
  1712. package/shoelace/assets/icons/play.svg +3 -0
  1713. package/shoelace/assets/icons/plug-fill.svg +3 -0
  1714. package/shoelace/assets/icons/plug.svg +3 -0
  1715. package/shoelace/assets/icons/plus-circle-dotted.svg +3 -0
  1716. package/shoelace/assets/icons/plus-circle-fill.svg +3 -0
  1717. package/shoelace/assets/icons/plus-circle.svg +4 -0
  1718. package/shoelace/assets/icons/plus-square-dotted.svg +3 -0
  1719. package/shoelace/assets/icons/plus-square-fill.svg +3 -0
  1720. package/shoelace/assets/icons/plus-square.svg +4 -0
  1721. package/shoelace/assets/icons/plus.svg +3 -0
  1722. package/shoelace/assets/icons/power.svg +4 -0
  1723. package/shoelace/assets/icons/printer-fill.svg +4 -0
  1724. package/shoelace/assets/icons/printer.svg +4 -0
  1725. package/shoelace/assets/icons/puzzle-fill.svg +3 -0
  1726. package/shoelace/assets/icons/puzzle.svg +3 -0
  1727. package/shoelace/assets/icons/question-circle-fill.svg +3 -0
  1728. package/shoelace/assets/icons/question-circle.svg +4 -0
  1729. package/shoelace/assets/icons/question-diamond-fill.svg +3 -0
  1730. package/shoelace/assets/icons/question-diamond.svg +4 -0
  1731. package/shoelace/assets/icons/question-octagon-fill.svg +3 -0
  1732. package/shoelace/assets/icons/question-octagon.svg +4 -0
  1733. package/shoelace/assets/icons/question-square-fill.svg +3 -0
  1734. package/shoelace/assets/icons/question-square.svg +4 -0
  1735. package/shoelace/assets/icons/question.svg +3 -0
  1736. package/shoelace/assets/icons/rainbow.svg +3 -0
  1737. package/shoelace/assets/icons/receipt-cutoff.svg +4 -0
  1738. package/shoelace/assets/icons/receipt.svg +4 -0
  1739. package/shoelace/assets/icons/reception-0.svg +3 -0
  1740. package/shoelace/assets/icons/reception-1.svg +3 -0
  1741. package/shoelace/assets/icons/reception-2.svg +3 -0
  1742. package/shoelace/assets/icons/reception-3.svg +3 -0
  1743. package/shoelace/assets/icons/reception-4.svg +3 -0
  1744. package/shoelace/assets/icons/record-btn-fill.svg +3 -0
  1745. package/shoelace/assets/icons/record-btn.svg +4 -0
  1746. package/shoelace/assets/icons/record-circle-fill.svg +3 -0
  1747. package/shoelace/assets/icons/record-circle.svg +4 -0
  1748. package/shoelace/assets/icons/record-fill.svg +3 -0
  1749. package/shoelace/assets/icons/record.svg +3 -0
  1750. package/shoelace/assets/icons/record2-fill.svg +4 -0
  1751. package/shoelace/assets/icons/record2.svg +4 -0
  1752. package/shoelace/assets/icons/reply-all-fill.svg +4 -0
  1753. package/shoelace/assets/icons/reply-all.svg +4 -0
  1754. package/shoelace/assets/icons/reply-fill.svg +3 -0
  1755. package/shoelace/assets/icons/reply.svg +3 -0
  1756. package/shoelace/assets/icons/rss-fill.svg +3 -0
  1757. package/shoelace/assets/icons/rss.svg +4 -0
  1758. package/shoelace/assets/icons/rulers.svg +3 -0
  1759. package/shoelace/assets/icons/save-fill.svg +3 -0
  1760. package/shoelace/assets/icons/save.svg +3 -0
  1761. package/shoelace/assets/icons/save2-fill.svg +3 -0
  1762. package/shoelace/assets/icons/save2.svg +3 -0
  1763. package/shoelace/assets/icons/scissors.svg +3 -0
  1764. package/shoelace/assets/icons/screwdriver.svg +3 -0
  1765. package/shoelace/assets/icons/search.svg +3 -0
  1766. package/shoelace/assets/icons/segmented-nav.svg +3 -0
  1767. package/shoelace/assets/icons/server.svg +5 -0
  1768. package/shoelace/assets/icons/share-fill.svg +3 -0
  1769. package/shoelace/assets/icons/share.svg +3 -0
  1770. package/shoelace/assets/icons/shield-check.svg +4 -0
  1771. package/shoelace/assets/icons/shield-exclamation.svg +4 -0
  1772. package/shoelace/assets/icons/shield-fill-check.svg +3 -0
  1773. package/shoelace/assets/icons/shield-fill-exclamation.svg +3 -0
  1774. package/shoelace/assets/icons/shield-fill-minus.svg +3 -0
  1775. package/shoelace/assets/icons/shield-fill-plus.svg +3 -0
  1776. package/shoelace/assets/icons/shield-fill-x.svg +3 -0
  1777. package/shoelace/assets/icons/shield-fill.svg +3 -0
  1778. package/shoelace/assets/icons/shield-lock-fill.svg +3 -0
  1779. package/shoelace/assets/icons/shield-lock.svg +4 -0
  1780. package/shoelace/assets/icons/shield-minus.svg +4 -0
  1781. package/shoelace/assets/icons/shield-plus.svg +4 -0
  1782. package/shoelace/assets/icons/shield-shaded.svg +3 -0
  1783. package/shoelace/assets/icons/shield-slash-fill.svg +3 -0
  1784. package/shoelace/assets/icons/shield-slash.svg +3 -0
  1785. package/shoelace/assets/icons/shield-x.svg +4 -0
  1786. package/shoelace/assets/icons/shield.svg +3 -0
  1787. package/shoelace/assets/icons/shift-fill.svg +3 -0
  1788. package/shoelace/assets/icons/shift.svg +3 -0
  1789. package/shoelace/assets/icons/shop-window.svg +3 -0
  1790. package/shoelace/assets/icons/shop.svg +3 -0
  1791. package/shoelace/assets/icons/shuffle.svg +4 -0
  1792. package/shoelace/assets/icons/signpost-2-fill.svg +3 -0
  1793. package/shoelace/assets/icons/signpost-2.svg +3 -0
  1794. package/shoelace/assets/icons/signpost-fill.svg +3 -0
  1795. package/shoelace/assets/icons/signpost-split-fill.svg +3 -0
  1796. package/shoelace/assets/icons/signpost-split.svg +3 -0
  1797. package/shoelace/assets/icons/signpost.svg +3 -0
  1798. package/shoelace/assets/icons/sim-fill.svg +4 -0
  1799. package/shoelace/assets/icons/sim.svg +4 -0
  1800. package/shoelace/assets/icons/skip-backward-btn-fill.svg +3 -0
  1801. package/shoelace/assets/icons/skip-backward-btn.svg +4 -0
  1802. package/shoelace/assets/icons/skip-backward-circle-fill.svg +3 -0
  1803. package/shoelace/assets/icons/skip-backward-circle.svg +4 -0
  1804. package/shoelace/assets/icons/skip-backward-fill.svg +3 -0
  1805. package/shoelace/assets/icons/skip-backward.svg +3 -0
  1806. package/shoelace/assets/icons/skip-end-btn-fill.svg +3 -0
  1807. package/shoelace/assets/icons/skip-end-btn.svg +4 -0
  1808. package/shoelace/assets/icons/skip-end-circle-fill.svg +3 -0
  1809. package/shoelace/assets/icons/skip-end-circle.svg +4 -0
  1810. package/shoelace/assets/icons/skip-end-fill.svg +3 -0
  1811. package/shoelace/assets/icons/skip-end.svg +3 -0
  1812. package/shoelace/assets/icons/skip-forward-btn-fill.svg +3 -0
  1813. package/shoelace/assets/icons/skip-forward-btn.svg +4 -0
  1814. package/shoelace/assets/icons/skip-forward-circle-fill.svg +3 -0
  1815. package/shoelace/assets/icons/skip-forward-circle.svg +4 -0
  1816. package/shoelace/assets/icons/skip-forward-fill.svg +3 -0
  1817. package/shoelace/assets/icons/skip-forward.svg +3 -0
  1818. package/shoelace/assets/icons/skip-start-btn-fill.svg +3 -0
  1819. package/shoelace/assets/icons/skip-start-btn.svg +4 -0
  1820. package/shoelace/assets/icons/skip-start-circle-fill.svg +3 -0
  1821. package/shoelace/assets/icons/skip-start-circle.svg +4 -0
  1822. package/shoelace/assets/icons/skip-start-fill.svg +3 -0
  1823. package/shoelace/assets/icons/skip-start.svg +3 -0
  1824. package/shoelace/assets/icons/slack.svg +3 -0
  1825. package/shoelace/assets/icons/slash-circle-fill.svg +3 -0
  1826. package/shoelace/assets/icons/slash-circle.svg +4 -0
  1827. package/shoelace/assets/icons/slash-square-fill.svg +3 -0
  1828. package/shoelace/assets/icons/slash-square.svg +4 -0
  1829. package/shoelace/assets/icons/slash.svg +3 -0
  1830. package/shoelace/assets/icons/sliders.svg +3 -0
  1831. package/shoelace/assets/icons/smartwatch.svg +4 -0
  1832. package/shoelace/assets/icons/snow.svg +3 -0
  1833. package/shoelace/assets/icons/snow2.svg +3 -0
  1834. package/shoelace/assets/icons/snow3.svg +4 -0
  1835. package/shoelace/assets/icons/sort-alpha-down-alt.svg +5 -0
  1836. package/shoelace/assets/icons/sort-alpha-down.svg +4 -0
  1837. package/shoelace/assets/icons/sort-alpha-up-alt.svg +5 -0
  1838. package/shoelace/assets/icons/sort-alpha-up.svg +4 -0
  1839. package/shoelace/assets/icons/sort-down-alt.svg +3 -0
  1840. package/shoelace/assets/icons/sort-down.svg +3 -0
  1841. package/shoelace/assets/icons/sort-numeric-down-alt.svg +4 -0
  1842. package/shoelace/assets/icons/sort-numeric-down.svg +5 -0
  1843. package/shoelace/assets/icons/sort-numeric-up-alt.svg +4 -0
  1844. package/shoelace/assets/icons/sort-numeric-up.svg +5 -0
  1845. package/shoelace/assets/icons/sort-up-alt.svg +3 -0
  1846. package/shoelace/assets/icons/sort-up.svg +3 -0
  1847. package/shoelace/assets/icons/soundwave.svg +3 -0
  1848. package/shoelace/assets/icons/speaker-fill.svg +4 -0
  1849. package/shoelace/assets/icons/speaker.svg +4 -0
  1850. package/shoelace/assets/icons/speedometer.svg +4 -0
  1851. package/shoelace/assets/icons/speedometer2.svg +4 -0
  1852. package/shoelace/assets/icons/spellcheck.svg +4 -0
  1853. package/shoelace/assets/icons/square-fill.svg +3 -0
  1854. package/shoelace/assets/icons/square-half.svg +3 -0
  1855. package/shoelace/assets/icons/square.svg +3 -0
  1856. package/shoelace/assets/icons/stack.svg +4 -0
  1857. package/shoelace/assets/icons/star-fill.svg +3 -0
  1858. package/shoelace/assets/icons/star-half.svg +3 -0
  1859. package/shoelace/assets/icons/star.svg +3 -0
  1860. package/shoelace/assets/icons/stars.svg +3 -0
  1861. package/shoelace/assets/icons/stickies-fill.svg +4 -0
  1862. package/shoelace/assets/icons/stickies.svg +4 -0
  1863. package/shoelace/assets/icons/sticky-fill.svg +3 -0
  1864. package/shoelace/assets/icons/sticky.svg +3 -0
  1865. package/shoelace/assets/icons/stop-btn-fill.svg +3 -0
  1866. package/shoelace/assets/icons/stop-btn.svg +4 -0
  1867. package/shoelace/assets/icons/stop-circle-fill.svg +3 -0
  1868. package/shoelace/assets/icons/stop-circle.svg +4 -0
  1869. package/shoelace/assets/icons/stop-fill.svg +3 -0
  1870. package/shoelace/assets/icons/stop.svg +3 -0
  1871. package/shoelace/assets/icons/stoplights-fill.svg +3 -0
  1872. package/shoelace/assets/icons/stoplights.svg +4 -0
  1873. package/shoelace/assets/icons/stopwatch-fill.svg +3 -0
  1874. package/shoelace/assets/icons/stopwatch.svg +4 -0
  1875. package/shoelace/assets/icons/subtract.svg +3 -0
  1876. package/shoelace/assets/icons/suit-club-fill.svg +3 -0
  1877. package/shoelace/assets/icons/suit-club.svg +3 -0
  1878. package/shoelace/assets/icons/suit-diamond-fill.svg +3 -0
  1879. package/shoelace/assets/icons/suit-diamond.svg +3 -0
  1880. package/shoelace/assets/icons/suit-heart-fill.svg +3 -0
  1881. package/shoelace/assets/icons/suit-heart.svg +3 -0
  1882. package/shoelace/assets/icons/suit-spade-fill.svg +3 -0
  1883. package/shoelace/assets/icons/suit-spade.svg +3 -0
  1884. package/shoelace/assets/icons/sun-fill.svg +3 -0
  1885. package/shoelace/assets/icons/sun.svg +3 -0
  1886. package/shoelace/assets/icons/sunglasses.svg +3 -0
  1887. package/shoelace/assets/icons/sunrise-fill.svg +3 -0
  1888. package/shoelace/assets/icons/sunrise.svg +3 -0
  1889. package/shoelace/assets/icons/sunset-fill.svg +3 -0
  1890. package/shoelace/assets/icons/sunset.svg +3 -0
  1891. package/shoelace/assets/icons/symmetry-horizontal.svg +3 -0
  1892. package/shoelace/assets/icons/symmetry-vertical.svg +3 -0
  1893. package/shoelace/assets/icons/table.svg +3 -0
  1894. package/shoelace/assets/icons/tablet-fill.svg +3 -0
  1895. package/shoelace/assets/icons/tablet-landscape-fill.svg +3 -0
  1896. package/shoelace/assets/icons/tablet-landscape.svg +4 -0
  1897. package/shoelace/assets/icons/tablet.svg +4 -0
  1898. package/shoelace/assets/icons/tag-fill.svg +3 -0
  1899. package/shoelace/assets/icons/tag.svg +4 -0
  1900. package/shoelace/assets/icons/tags-fill.svg +4 -0
  1901. package/shoelace/assets/icons/tags.svg +4 -0
  1902. package/shoelace/assets/icons/telegram.svg +3 -0
  1903. package/shoelace/assets/icons/telephone-fill.svg +3 -0
  1904. package/shoelace/assets/icons/telephone-forward-fill.svg +3 -0
  1905. package/shoelace/assets/icons/telephone-forward.svg +3 -0
  1906. package/shoelace/assets/icons/telephone-inbound-fill.svg +3 -0
  1907. package/shoelace/assets/icons/telephone-inbound.svg +3 -0
  1908. package/shoelace/assets/icons/telephone-minus-fill.svg +3 -0
  1909. package/shoelace/assets/icons/telephone-minus.svg +4 -0
  1910. package/shoelace/assets/icons/telephone-outbound-fill.svg +3 -0
  1911. package/shoelace/assets/icons/telephone-outbound.svg +3 -0
  1912. package/shoelace/assets/icons/telephone-plus-fill.svg +3 -0
  1913. package/shoelace/assets/icons/telephone-plus.svg +4 -0
  1914. package/shoelace/assets/icons/telephone-x-fill.svg +3 -0
  1915. package/shoelace/assets/icons/telephone-x.svg +4 -0
  1916. package/shoelace/assets/icons/telephone.svg +3 -0
  1917. package/shoelace/assets/icons/terminal-fill.svg +3 -0
  1918. package/shoelace/assets/icons/terminal.svg +4 -0
  1919. package/shoelace/assets/icons/text-center.svg +3 -0
  1920. package/shoelace/assets/icons/text-indent-left.svg +3 -0
  1921. package/shoelace/assets/icons/text-indent-right.svg +3 -0
  1922. package/shoelace/assets/icons/text-left.svg +3 -0
  1923. package/shoelace/assets/icons/text-paragraph.svg +3 -0
  1924. package/shoelace/assets/icons/text-right.svg +3 -0
  1925. package/shoelace/assets/icons/textarea-resize.svg +3 -0
  1926. package/shoelace/assets/icons/textarea-t.svg +4 -0
  1927. package/shoelace/assets/icons/textarea.svg +3 -0
  1928. package/shoelace/assets/icons/thermometer-half.svg +4 -0
  1929. package/shoelace/assets/icons/thermometer-high.svg +4 -0
  1930. package/shoelace/assets/icons/thermometer-low.svg +4 -0
  1931. package/shoelace/assets/icons/thermometer-snow.svg +4 -0
  1932. package/shoelace/assets/icons/thermometer-sun.svg +4 -0
  1933. package/shoelace/assets/icons/thermometer.svg +4 -0
  1934. package/shoelace/assets/icons/three-dots-vertical.svg +3 -0
  1935. package/shoelace/assets/icons/three-dots.svg +3 -0
  1936. package/shoelace/assets/icons/toggle-off.svg +3 -0
  1937. package/shoelace/assets/icons/toggle-on.svg +3 -0
  1938. package/shoelace/assets/icons/toggle2-off.svg +4 -0
  1939. package/shoelace/assets/icons/toggle2-on.svg +4 -0
  1940. package/shoelace/assets/icons/toggles.svg +3 -0
  1941. package/shoelace/assets/icons/toggles2.svg +5 -0
  1942. package/shoelace/assets/icons/tools.svg +3 -0
  1943. package/shoelace/assets/icons/tornado.svg +3 -0
  1944. package/shoelace/assets/icons/trash-fill.svg +3 -0
  1945. package/shoelace/assets/icons/trash.svg +4 -0
  1946. package/shoelace/assets/icons/trash2-fill.svg +3 -0
  1947. package/shoelace/assets/icons/trash2.svg +3 -0
  1948. package/shoelace/assets/icons/tree-fill.svg +3 -0
  1949. package/shoelace/assets/icons/tree.svg +3 -0
  1950. package/shoelace/assets/icons/triangle-fill.svg +3 -0
  1951. package/shoelace/assets/icons/triangle-half.svg +3 -0
  1952. package/shoelace/assets/icons/triangle.svg +3 -0
  1953. package/shoelace/assets/icons/trophy-fill.svg +3 -0
  1954. package/shoelace/assets/icons/trophy.svg +3 -0
  1955. package/shoelace/assets/icons/tropical-storm.svg +4 -0
  1956. package/shoelace/assets/icons/truck-flatbed.svg +3 -0
  1957. package/shoelace/assets/icons/truck.svg +3 -0
  1958. package/shoelace/assets/icons/tsunami.svg +3 -0
  1959. package/shoelace/assets/icons/tv-fill.svg +3 -0
  1960. package/shoelace/assets/icons/tv.svg +3 -0
  1961. package/shoelace/assets/icons/twitch.svg +4 -0
  1962. package/shoelace/assets/icons/twitter.svg +3 -0
  1963. package/shoelace/assets/icons/type-bold.svg +3 -0
  1964. package/shoelace/assets/icons/type-h1.svg +3 -0
  1965. package/shoelace/assets/icons/type-h2.svg +3 -0
  1966. package/shoelace/assets/icons/type-h3.svg +3 -0
  1967. package/shoelace/assets/icons/type-italic.svg +3 -0
  1968. package/shoelace/assets/icons/type-strikethrough.svg +3 -0
  1969. package/shoelace/assets/icons/type-underline.svg +3 -0
  1970. package/shoelace/assets/icons/type.svg +3 -0
  1971. package/shoelace/assets/icons/ui-checks-grid.svg +3 -0
  1972. package/shoelace/assets/icons/ui-checks.svg +3 -0
  1973. package/shoelace/assets/icons/ui-radios-grid.svg +3 -0
  1974. package/shoelace/assets/icons/ui-radios.svg +3 -0
  1975. package/shoelace/assets/icons/umbrella-fill.svg +3 -0
  1976. package/shoelace/assets/icons/umbrella.svg +3 -0
  1977. package/shoelace/assets/icons/union.svg +4 -0
  1978. package/shoelace/assets/icons/unlock-fill.svg +3 -0
  1979. package/shoelace/assets/icons/unlock.svg +3 -0
  1980. package/shoelace/assets/icons/upc-scan.svg +3 -0
  1981. package/shoelace/assets/icons/upc.svg +3 -0
  1982. package/shoelace/assets/icons/upload.svg +4 -0
  1983. package/shoelace/assets/icons/vector-pen.svg +4 -0
  1984. package/shoelace/assets/icons/view-list.svg +3 -0
  1985. package/shoelace/assets/icons/view-stacked.svg +3 -0
  1986. package/shoelace/assets/icons/vinyl-fill.svg +4 -0
  1987. package/shoelace/assets/icons/vinyl.svg +5 -0
  1988. package/shoelace/assets/icons/voicemail.svg +3 -0
  1989. package/shoelace/assets/icons/volume-down-fill.svg +3 -0
  1990. package/shoelace/assets/icons/volume-down.svg +3 -0
  1991. package/shoelace/assets/icons/volume-mute-fill.svg +3 -0
  1992. package/shoelace/assets/icons/volume-mute.svg +3 -0
  1993. package/shoelace/assets/icons/volume-off-fill.svg +3 -0
  1994. package/shoelace/assets/icons/volume-off.svg +3 -0
  1995. package/shoelace/assets/icons/volume-up-fill.svg +5 -0
  1996. package/shoelace/assets/icons/volume-up.svg +5 -0
  1997. package/shoelace/assets/icons/vr.svg +3 -0
  1998. package/shoelace/assets/icons/wallet-fill.svg +4 -0
  1999. package/shoelace/assets/icons/wallet.svg +3 -0
  2000. package/shoelace/assets/icons/wallet2.svg +3 -0
  2001. package/shoelace/assets/icons/watch.svg +4 -0
  2002. package/shoelace/assets/icons/water.svg +3 -0
  2003. package/shoelace/assets/icons/whatsapp.svg +3 -0
  2004. package/shoelace/assets/icons/wifi-1.svg +3 -0
  2005. package/shoelace/assets/icons/wifi-2.svg +3 -0
  2006. package/shoelace/assets/icons/wifi-off.svg +3 -0
  2007. package/shoelace/assets/icons/wifi.svg +4 -0
  2008. package/shoelace/assets/icons/wind.svg +3 -0
  2009. package/shoelace/assets/icons/window-dock.svg +4 -0
  2010. package/shoelace/assets/icons/window-sidebar.svg +4 -0
  2011. package/shoelace/assets/icons/window.svg +4 -0
  2012. package/shoelace/assets/icons/wrench.svg +3 -0
  2013. package/shoelace/assets/icons/x-circle-fill.svg +3 -0
  2014. package/shoelace/assets/icons/x-circle.svg +4 -0
  2015. package/shoelace/assets/icons/x-diamond-fill.svg +3 -0
  2016. package/shoelace/assets/icons/x-diamond.svg +3 -0
  2017. package/shoelace/assets/icons/x-octagon-fill.svg +3 -0
  2018. package/shoelace/assets/icons/x-octagon.svg +4 -0
  2019. package/shoelace/assets/icons/x-square-fill.svg +3 -0
  2020. package/shoelace/assets/icons/x-square.svg +4 -0
  2021. package/shoelace/assets/icons/x.svg +3 -0
  2022. package/shoelace/assets/icons/youtube.svg +3 -0
  2023. package/shoelace/assets/icons/zoom-in.svg +5 -0
  2024. package/shoelace/assets/icons/zoom-out.svg +5 -0
  2025. package/shoelace/themes/themes/base.css +273 -0
  2026. package/shoelace/themes/themes/base.d.ts +1 -0
  2027. package/shoelace/themes/themes/base.js +0 -0
  2028. package/shoelace/themes/themes/dark.css +237 -0
  2029. package/shoelace/themes/themes/dark.d.ts +1 -0
  2030. package/shoelace/themes/themes/dark.js +0 -0
@@ -0,0 +1,4270 @@
1
+ import { _ as _extends } from './extends-3a3f9fe2.js';
2
+
3
+ var _typeof = typeof Symbol === "function" && typeof Symbol.iterator === "symbol" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; };
4
+
5
+ var isBrowser = (typeof window === "undefined" ? "undefined" : _typeof(window)) === "object" && (typeof document === "undefined" ? "undefined" : _typeof(document)) === 'object' && document.nodeType === 9;
6
+
7
+ function _defineProperties(target, props) {
8
+ for (var i = 0; i < props.length; i++) {
9
+ var descriptor = props[i];
10
+ descriptor.enumerable = descriptor.enumerable || false;
11
+ descriptor.configurable = true;
12
+ if ("value" in descriptor) descriptor.writable = true;
13
+ Object.defineProperty(target, descriptor.key, descriptor);
14
+ }
15
+ }
16
+
17
+ function _createClass(Constructor, protoProps, staticProps) {
18
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
19
+ if (staticProps) _defineProperties(Constructor, staticProps);
20
+ return Constructor;
21
+ }
22
+
23
+ function _setPrototypeOf(o, p) {
24
+ _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {
25
+ o.__proto__ = p;
26
+ return o;
27
+ };
28
+
29
+ return _setPrototypeOf(o, p);
30
+ }
31
+
32
+ function _inheritsLoose(subClass, superClass) {
33
+ subClass.prototype = Object.create(superClass.prototype);
34
+ subClass.prototype.constructor = subClass;
35
+ _setPrototypeOf(subClass, superClass);
36
+ }
37
+
38
+ function _assertThisInitialized(self) {
39
+ if (self === void 0) {
40
+ throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
41
+ }
42
+
43
+ return self;
44
+ }
45
+
46
+ function _objectWithoutPropertiesLoose(source, excluded) {
47
+ if (source == null) return {};
48
+ var target = {};
49
+ var sourceKeys = Object.keys(source);
50
+ var key, i;
51
+
52
+ for (i = 0; i < sourceKeys.length; i++) {
53
+ key = sourceKeys[i];
54
+ if (excluded.indexOf(key) >= 0) continue;
55
+ target[key] = source[key];
56
+ }
57
+
58
+ return target;
59
+ }
60
+
61
+ var plainObjectConstrurctor = {}.constructor;
62
+ function cloneStyle(style) {
63
+ if (style == null || typeof style !== 'object') return style;
64
+ if (Array.isArray(style)) return style.map(cloneStyle);
65
+ if (style.constructor !== plainObjectConstrurctor) return style;
66
+ var newStyle = {};
67
+
68
+ for (var name in style) {
69
+ newStyle[name] = cloneStyle(style[name]);
70
+ }
71
+
72
+ return newStyle;
73
+ }
74
+
75
+ /**
76
+ * Create a rule instance.
77
+ */
78
+
79
+ function createRule(name, decl, options) {
80
+ if (name === void 0) {
81
+ name = 'unnamed';
82
+ }
83
+
84
+ var jss = options.jss;
85
+ var declCopy = cloneStyle(decl);
86
+ var rule = jss.plugins.onCreateRule(name, declCopy, options);
87
+ if (rule) return rule; // It is an at-rule and it has no instance.
88
+
89
+ return null;
90
+ }
91
+
92
+ var join = function join(value, by) {
93
+ var result = '';
94
+
95
+ for (var i = 0; i < value.length; i++) {
96
+ // Remove !important from the value, it will be readded later.
97
+ if (value[i] === '!important') break;
98
+ if (result) result += by;
99
+ result += value[i];
100
+ }
101
+
102
+ return result;
103
+ };
104
+
105
+ /**
106
+ * Converts array values to string.
107
+ *
108
+ * `margin: [['5px', '10px']]` > `margin: 5px 10px;`
109
+ * `border: ['1px', '2px']` > `border: 1px, 2px;`
110
+ * `margin: [['5px', '10px'], '!important']` > `margin: 5px 10px !important;`
111
+ * `color: ['red', !important]` > `color: red !important;`
112
+ */
113
+ var toCssValue = function toCssValue(value, ignoreImportant) {
114
+ if (ignoreImportant === void 0) {
115
+ ignoreImportant = false;
116
+ }
117
+
118
+ if (!Array.isArray(value)) return value;
119
+ var cssValue = ''; // Support space separated values via `[['5px', '10px']]`.
120
+
121
+ if (Array.isArray(value[0])) {
122
+ for (var i = 0; i < value.length; i++) {
123
+ if (value[i] === '!important') break;
124
+ if (cssValue) cssValue += ', ';
125
+ cssValue += join(value[i], ' ');
126
+ }
127
+ } else cssValue = join(value, ', '); // Add !important, because it was ignored.
128
+
129
+
130
+ if (!ignoreImportant && value[value.length - 1] === '!important') {
131
+ cssValue += ' !important';
132
+ }
133
+
134
+ return cssValue;
135
+ };
136
+
137
+ /**
138
+ * Indent a string.
139
+ * http://jsperf.com/array-join-vs-for
140
+ */
141
+ function indentStr(str, indent) {
142
+ var result = '';
143
+
144
+ for (var index = 0; index < indent; index++) {
145
+ result += ' ';
146
+ }
147
+
148
+ return result + str;
149
+ }
150
+ /**
151
+ * Converts a Rule to CSS string.
152
+ */
153
+
154
+
155
+ function toCss(selector, style, options) {
156
+ if (options === void 0) {
157
+ options = {};
158
+ }
159
+
160
+ var result = '';
161
+ if (!style) return result;
162
+ var _options = options,
163
+ _options$indent = _options.indent,
164
+ indent = _options$indent === void 0 ? 0 : _options$indent;
165
+ var fallbacks = style.fallbacks;
166
+ if (selector) indent++; // Apply fallbacks first.
167
+
168
+ if (fallbacks) {
169
+ // Array syntax {fallbacks: [{prop: value}]}
170
+ if (Array.isArray(fallbacks)) {
171
+ for (var index = 0; index < fallbacks.length; index++) {
172
+ var fallback = fallbacks[index];
173
+
174
+ for (var prop in fallback) {
175
+ var value = fallback[prop];
176
+
177
+ if (value != null) {
178
+ if (result) result += '\n';
179
+ result += indentStr(prop + ": " + toCssValue(value) + ";", indent);
180
+ }
181
+ }
182
+ }
183
+ } else {
184
+ // Object syntax {fallbacks: {prop: value}}
185
+ for (var _prop in fallbacks) {
186
+ var _value = fallbacks[_prop];
187
+
188
+ if (_value != null) {
189
+ if (result) result += '\n';
190
+ result += indentStr(_prop + ": " + toCssValue(_value) + ";", indent);
191
+ }
192
+ }
193
+ }
194
+ }
195
+
196
+ for (var _prop2 in style) {
197
+ var _value2 = style[_prop2];
198
+
199
+ if (_value2 != null && _prop2 !== 'fallbacks') {
200
+ if (result) result += '\n';
201
+ result += indentStr(_prop2 + ": " + toCssValue(_value2) + ";", indent);
202
+ }
203
+ } // Allow empty style in this case, because properties will be added dynamically.
204
+
205
+
206
+ if (!result && !options.allowEmpty) return result; // When rule is being stringified before selector was defined.
207
+
208
+ if (!selector) return result;
209
+ indent--;
210
+ if (result) result = "\n" + result + "\n";
211
+ return indentStr(selector + " {" + result, indent) + indentStr('}', indent);
212
+ }
213
+
214
+ var escapeRegex = /([[\].#*$><+~=|^:(),"'`\s])/g;
215
+ var nativeEscape = typeof CSS !== 'undefined' && CSS.escape;
216
+ var escape = (function (str) {
217
+ return nativeEscape ? nativeEscape(str) : str.replace(escapeRegex, '\\$1');
218
+ });
219
+
220
+ var BaseStyleRule =
221
+ /*#__PURE__*/
222
+ function () {
223
+ function BaseStyleRule(key, style, options) {
224
+ this.type = 'style';
225
+ this.key = void 0;
226
+ this.isProcessed = false;
227
+ this.style = void 0;
228
+ this.renderer = void 0;
229
+ this.renderable = void 0;
230
+ this.options = void 0;
231
+ var sheet = options.sheet,
232
+ Renderer = options.Renderer;
233
+ this.key = key;
234
+ this.options = options;
235
+ this.style = style;
236
+ if (sheet) this.renderer = sheet.renderer;else if (Renderer) this.renderer = new Renderer();
237
+ }
238
+ /**
239
+ * Get or set a style property.
240
+ */
241
+
242
+
243
+ var _proto = BaseStyleRule.prototype;
244
+
245
+ _proto.prop = function prop(name, value, options) {
246
+ // It's a getter.
247
+ if (value === undefined) return this.style[name]; // Don't do anything if the value has not changed.
248
+
249
+ var force = options ? options.force : false;
250
+ if (!force && this.style[name] === value) return this;
251
+ var newValue = value;
252
+
253
+ if (!options || options.process !== false) {
254
+ newValue = this.options.jss.plugins.onChangeValue(value, name, this);
255
+ }
256
+
257
+ var isEmpty = newValue == null || newValue === false;
258
+ var isDefined = name in this.style; // Value is empty and wasn't defined before.
259
+
260
+ if (isEmpty && !isDefined && !force) return this; // We are going to remove this value.
261
+
262
+ var remove = isEmpty && isDefined;
263
+ if (remove) delete this.style[name];else this.style[name] = newValue; // Renderable is defined if StyleSheet option `link` is true.
264
+
265
+ if (this.renderable && this.renderer) {
266
+ if (remove) this.renderer.removeProperty(this.renderable, name);else this.renderer.setProperty(this.renderable, name, newValue);
267
+ return this;
268
+ }
269
+
270
+ return this;
271
+ };
272
+
273
+ return BaseStyleRule;
274
+ }();
275
+ var StyleRule =
276
+ /*#__PURE__*/
277
+ function (_BaseStyleRule) {
278
+ _inheritsLoose(StyleRule, _BaseStyleRule);
279
+
280
+ function StyleRule(key, style, options) {
281
+ var _this;
282
+
283
+ _this = _BaseStyleRule.call(this, key, style, options) || this;
284
+ _this.selectorText = void 0;
285
+ _this.id = void 0;
286
+ _this.renderable = void 0;
287
+ var selector = options.selector,
288
+ scoped = options.scoped,
289
+ sheet = options.sheet,
290
+ generateId = options.generateId;
291
+
292
+ if (selector) {
293
+ _this.selectorText = selector;
294
+ } else if (scoped !== false) {
295
+ _this.id = generateId(_assertThisInitialized(_assertThisInitialized(_this)), sheet);
296
+ _this.selectorText = "." + escape(_this.id);
297
+ }
298
+
299
+ return _this;
300
+ }
301
+ /**
302
+ * Set selector string.
303
+ * Attention: use this with caution. Most browsers didn't implement
304
+ * selectorText setter, so this may result in rerendering of entire Style Sheet.
305
+ */
306
+
307
+
308
+ var _proto2 = StyleRule.prototype;
309
+
310
+ /**
311
+ * Apply rule to an element inline.
312
+ */
313
+ _proto2.applyTo = function applyTo(renderable) {
314
+ var renderer = this.renderer;
315
+
316
+ if (renderer) {
317
+ var json = this.toJSON();
318
+
319
+ for (var prop in json) {
320
+ renderer.setProperty(renderable, prop, json[prop]);
321
+ }
322
+ }
323
+
324
+ return this;
325
+ }
326
+ /**
327
+ * Returns JSON representation of the rule.
328
+ * Fallbacks are not supported.
329
+ * Useful for inline styles.
330
+ */
331
+ ;
332
+
333
+ _proto2.toJSON = function toJSON() {
334
+ var json = {};
335
+
336
+ for (var prop in this.style) {
337
+ var value = this.style[prop];
338
+ if (typeof value !== 'object') json[prop] = value;else if (Array.isArray(value)) json[prop] = toCssValue(value);
339
+ }
340
+
341
+ return json;
342
+ }
343
+ /**
344
+ * Generates a CSS string.
345
+ */
346
+ ;
347
+
348
+ _proto2.toString = function toString(options) {
349
+ var sheet = this.options.sheet;
350
+ var link = sheet ? sheet.options.link : false;
351
+ var opts = link ? _extends({}, options, {
352
+ allowEmpty: true
353
+ }) : options;
354
+ return toCss(this.selectorText, this.style, opts);
355
+ };
356
+
357
+ _createClass(StyleRule, [{
358
+ key: "selector",
359
+ set: function set(selector) {
360
+ if (selector === this.selectorText) return;
361
+ this.selectorText = selector;
362
+ var renderer = this.renderer,
363
+ renderable = this.renderable;
364
+ if (!renderable || !renderer) return;
365
+ var hasChanged = renderer.setSelector(renderable, selector); // If selector setter is not implemented, rerender the rule.
366
+
367
+ if (!hasChanged) {
368
+ renderer.replaceRule(renderable, this);
369
+ }
370
+ }
371
+ /**
372
+ * Get selector string.
373
+ */
374
+ ,
375
+ get: function get() {
376
+ return this.selectorText;
377
+ }
378
+ }]);
379
+
380
+ return StyleRule;
381
+ }(BaseStyleRule);
382
+ var pluginStyleRule = {
383
+ onCreateRule: function onCreateRule(name, style, options) {
384
+ if (name[0] === '@' || options.parent && options.parent.type === 'keyframes') {
385
+ return null;
386
+ }
387
+
388
+ return new StyleRule(name, style, options);
389
+ }
390
+ };
391
+
392
+ var defaultToStringOptions = {
393
+ indent: 1,
394
+ children: true
395
+ };
396
+ var atRegExp = /@([\w-]+)/;
397
+ /**
398
+ * Conditional rule for @media, @supports
399
+ */
400
+
401
+ var ConditionalRule =
402
+ /*#__PURE__*/
403
+ function () {
404
+ function ConditionalRule(key, styles, options) {
405
+ this.type = 'conditional';
406
+ this.at = void 0;
407
+ this.key = void 0;
408
+ this.query = void 0;
409
+ this.rules = void 0;
410
+ this.options = void 0;
411
+ this.isProcessed = false;
412
+ this.renderable = void 0;
413
+ this.key = key;
414
+ var atMatch = key.match(atRegExp);
415
+ this.at = atMatch ? atMatch[1] : 'unknown'; // Key might contain a unique suffix in case the `name` passed by user was duplicate.
416
+
417
+ this.query = options.name || "@" + this.at;
418
+ this.options = options;
419
+ this.rules = new RuleList(_extends({}, options, {
420
+ parent: this
421
+ }));
422
+
423
+ for (var name in styles) {
424
+ this.rules.add(name, styles[name]);
425
+ }
426
+
427
+ this.rules.process();
428
+ }
429
+ /**
430
+ * Get a rule.
431
+ */
432
+
433
+
434
+ var _proto = ConditionalRule.prototype;
435
+
436
+ _proto.getRule = function getRule(name) {
437
+ return this.rules.get(name);
438
+ }
439
+ /**
440
+ * Get index of a rule.
441
+ */
442
+ ;
443
+
444
+ _proto.indexOf = function indexOf(rule) {
445
+ return this.rules.indexOf(rule);
446
+ }
447
+ /**
448
+ * Create and register rule, run plugins.
449
+ */
450
+ ;
451
+
452
+ _proto.addRule = function addRule(name, style, options) {
453
+ var rule = this.rules.add(name, style, options);
454
+ if (!rule) return null;
455
+ this.options.jss.plugins.onProcessRule(rule);
456
+ return rule;
457
+ }
458
+ /**
459
+ * Generates a CSS string.
460
+ */
461
+ ;
462
+
463
+ _proto.toString = function toString(options) {
464
+ if (options === void 0) {
465
+ options = defaultToStringOptions;
466
+ }
467
+
468
+ if (options.indent == null) options.indent = defaultToStringOptions.indent;
469
+ if (options.children == null) options.children = defaultToStringOptions.children;
470
+
471
+ if (options.children === false) {
472
+ return this.query + " {}";
473
+ }
474
+
475
+ var children = this.rules.toString(options);
476
+ return children ? this.query + " {\n" + children + "\n}" : '';
477
+ };
478
+
479
+ return ConditionalRule;
480
+ }();
481
+ var keyRegExp = /@media|@supports\s+/;
482
+ var pluginConditionalRule = {
483
+ onCreateRule: function onCreateRule(key, styles, options) {
484
+ return keyRegExp.test(key) ? new ConditionalRule(key, styles, options) : null;
485
+ }
486
+ };
487
+
488
+ var defaultToStringOptions$1 = {
489
+ indent: 1,
490
+ children: true
491
+ };
492
+ var nameRegExp = /@keyframes\s+([\w-]+)/;
493
+ /**
494
+ * Rule for @keyframes
495
+ */
496
+
497
+ var KeyframesRule =
498
+ /*#__PURE__*/
499
+ function () {
500
+ function KeyframesRule(key, frames, options) {
501
+ this.type = 'keyframes';
502
+ this.at = '@keyframes';
503
+ this.key = void 0;
504
+ this.name = void 0;
505
+ this.id = void 0;
506
+ this.rules = void 0;
507
+ this.options = void 0;
508
+ this.isProcessed = false;
509
+ this.renderable = void 0;
510
+ var nameMatch = key.match(nameRegExp);
511
+
512
+ if (nameMatch && nameMatch[1]) {
513
+ this.name = nameMatch[1];
514
+ } else {
515
+ this.name = 'noname';
516
+ }
517
+
518
+ this.key = this.type + "-" + this.name;
519
+ this.options = options;
520
+ var scoped = options.scoped,
521
+ sheet = options.sheet,
522
+ generateId = options.generateId;
523
+ this.id = scoped === false ? this.name : escape(generateId(this, sheet));
524
+ this.rules = new RuleList(_extends({}, options, {
525
+ parent: this
526
+ }));
527
+
528
+ for (var name in frames) {
529
+ this.rules.add(name, frames[name], _extends({}, options, {
530
+ parent: this
531
+ }));
532
+ }
533
+
534
+ this.rules.process();
535
+ }
536
+ /**
537
+ * Generates a CSS string.
538
+ */
539
+
540
+
541
+ var _proto = KeyframesRule.prototype;
542
+
543
+ _proto.toString = function toString(options) {
544
+ if (options === void 0) {
545
+ options = defaultToStringOptions$1;
546
+ }
547
+
548
+ if (options.indent == null) options.indent = defaultToStringOptions$1.indent;
549
+ if (options.children == null) options.children = defaultToStringOptions$1.children;
550
+
551
+ if (options.children === false) {
552
+ return this.at + " " + this.id + " {}";
553
+ }
554
+
555
+ var children = this.rules.toString(options);
556
+ if (children) children = "\n" + children + "\n";
557
+ return this.at + " " + this.id + " {" + children + "}";
558
+ };
559
+
560
+ return KeyframesRule;
561
+ }();
562
+ var keyRegExp$1 = /@keyframes\s+/;
563
+ var refRegExp = /\$([\w-]+)/g;
564
+
565
+ var findReferencedKeyframe = function findReferencedKeyframe(val, keyframes) {
566
+ if (typeof val === 'string') {
567
+ return val.replace(refRegExp, function (match, name) {
568
+ if (name in keyframes) {
569
+ return keyframes[name];
570
+ }
571
+ return match;
572
+ });
573
+ }
574
+
575
+ return val;
576
+ };
577
+ /**
578
+ * Replace the reference for a animation name.
579
+ */
580
+
581
+
582
+ var replaceRef = function replaceRef(style, prop, keyframes) {
583
+ var value = style[prop];
584
+ var refKeyframe = findReferencedKeyframe(value, keyframes);
585
+
586
+ if (refKeyframe !== value) {
587
+ style[prop] = refKeyframe;
588
+ }
589
+ };
590
+
591
+ var plugin = {
592
+ onCreateRule: function onCreateRule(key, frames, options) {
593
+ return typeof key === 'string' && keyRegExp$1.test(key) ? new KeyframesRule(key, frames, options) : null;
594
+ },
595
+ // Animation name ref replacer.
596
+ onProcessStyle: function onProcessStyle(style, rule, sheet) {
597
+ if (rule.type !== 'style' || !sheet) return style;
598
+ if ('animation-name' in style) replaceRef(style, 'animation-name', sheet.keyframes);
599
+ if ('animation' in style) replaceRef(style, 'animation', sheet.keyframes);
600
+ return style;
601
+ },
602
+ onChangeValue: function onChangeValue(val, prop, rule) {
603
+ var sheet = rule.options.sheet;
604
+
605
+ if (!sheet) {
606
+ return val;
607
+ }
608
+
609
+ switch (prop) {
610
+ case 'animation':
611
+ return findReferencedKeyframe(val, sheet.keyframes);
612
+
613
+ case 'animation-name':
614
+ return findReferencedKeyframe(val, sheet.keyframes);
615
+
616
+ default:
617
+ return val;
618
+ }
619
+ }
620
+ };
621
+
622
+ var KeyframeRule =
623
+ /*#__PURE__*/
624
+ function (_BaseStyleRule) {
625
+ _inheritsLoose(KeyframeRule, _BaseStyleRule);
626
+
627
+ function KeyframeRule() {
628
+ var _this;
629
+
630
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
631
+ args[_key] = arguments[_key];
632
+ }
633
+
634
+ _this = _BaseStyleRule.call.apply(_BaseStyleRule, [this].concat(args)) || this;
635
+ _this.renderable = void 0;
636
+ return _this;
637
+ }
638
+
639
+ var _proto = KeyframeRule.prototype;
640
+
641
+ /**
642
+ * Generates a CSS string.
643
+ */
644
+ _proto.toString = function toString(options) {
645
+ var sheet = this.options.sheet;
646
+ var link = sheet ? sheet.options.link : false;
647
+ var opts = link ? _extends({}, options, {
648
+ allowEmpty: true
649
+ }) : options;
650
+ return toCss(this.key, this.style, opts);
651
+ };
652
+
653
+ return KeyframeRule;
654
+ }(BaseStyleRule);
655
+ var pluginKeyframeRule = {
656
+ onCreateRule: function onCreateRule(key, style, options) {
657
+ if (options.parent && options.parent.type === 'keyframes') {
658
+ return new KeyframeRule(key, style, options);
659
+ }
660
+
661
+ return null;
662
+ }
663
+ };
664
+
665
+ var FontFaceRule =
666
+ /*#__PURE__*/
667
+ function () {
668
+ function FontFaceRule(key, style, options) {
669
+ this.type = 'font-face';
670
+ this.at = '@font-face';
671
+ this.key = void 0;
672
+ this.style = void 0;
673
+ this.options = void 0;
674
+ this.isProcessed = false;
675
+ this.renderable = void 0;
676
+ this.key = key;
677
+ this.style = style;
678
+ this.options = options;
679
+ }
680
+ /**
681
+ * Generates a CSS string.
682
+ */
683
+
684
+
685
+ var _proto = FontFaceRule.prototype;
686
+
687
+ _proto.toString = function toString(options) {
688
+ if (Array.isArray(this.style)) {
689
+ var str = '';
690
+
691
+ for (var index = 0; index < this.style.length; index++) {
692
+ str += toCss(this.at, this.style[index]);
693
+ if (this.style[index + 1]) str += '\n';
694
+ }
695
+
696
+ return str;
697
+ }
698
+
699
+ return toCss(this.at, this.style, options);
700
+ };
701
+
702
+ return FontFaceRule;
703
+ }();
704
+ var keyRegExp$2 = /@font-face/;
705
+ var pluginFontFaceRule = {
706
+ onCreateRule: function onCreateRule(key, style, options) {
707
+ return keyRegExp$2.test(key) ? new FontFaceRule(key, style, options) : null;
708
+ }
709
+ };
710
+
711
+ var ViewportRule =
712
+ /*#__PURE__*/
713
+ function () {
714
+ function ViewportRule(key, style, options) {
715
+ this.type = 'viewport';
716
+ this.at = '@viewport';
717
+ this.key = void 0;
718
+ this.style = void 0;
719
+ this.options = void 0;
720
+ this.isProcessed = false;
721
+ this.renderable = void 0;
722
+ this.key = key;
723
+ this.style = style;
724
+ this.options = options;
725
+ }
726
+ /**
727
+ * Generates a CSS string.
728
+ */
729
+
730
+
731
+ var _proto = ViewportRule.prototype;
732
+
733
+ _proto.toString = function toString(options) {
734
+ return toCss(this.key, this.style, options);
735
+ };
736
+
737
+ return ViewportRule;
738
+ }();
739
+ var pluginViewportRule = {
740
+ onCreateRule: function onCreateRule(key, style, options) {
741
+ return key === '@viewport' || key === '@-ms-viewport' ? new ViewportRule(key, style, options) : null;
742
+ }
743
+ };
744
+
745
+ var SimpleRule =
746
+ /*#__PURE__*/
747
+ function () {
748
+ function SimpleRule(key, value, options) {
749
+ this.type = 'simple';
750
+ this.key = void 0;
751
+ this.value = void 0;
752
+ this.options = void 0;
753
+ this.isProcessed = false;
754
+ this.renderable = void 0;
755
+ this.key = key;
756
+ this.value = value;
757
+ this.options = options;
758
+ }
759
+ /**
760
+ * Generates a CSS string.
761
+ */
762
+ // eslint-disable-next-line no-unused-vars
763
+
764
+
765
+ var _proto = SimpleRule.prototype;
766
+
767
+ _proto.toString = function toString(options) {
768
+ if (Array.isArray(this.value)) {
769
+ var str = '';
770
+
771
+ for (var index = 0; index < this.value.length; index++) {
772
+ str += this.key + " " + this.value[index] + ";";
773
+ if (this.value[index + 1]) str += '\n';
774
+ }
775
+
776
+ return str;
777
+ }
778
+
779
+ return this.key + " " + this.value + ";";
780
+ };
781
+
782
+ return SimpleRule;
783
+ }();
784
+ var keysMap = {
785
+ '@charset': true,
786
+ '@import': true,
787
+ '@namespace': true
788
+ };
789
+ var pluginSimpleRule = {
790
+ onCreateRule: function onCreateRule(key, value, options) {
791
+ return key in keysMap ? new SimpleRule(key, value, options) : null;
792
+ }
793
+ };
794
+
795
+ var plugins = [pluginStyleRule, pluginConditionalRule, plugin, pluginKeyframeRule, pluginFontFaceRule, pluginViewportRule, pluginSimpleRule];
796
+
797
+ var defaultUpdateOptions = {
798
+ process: true
799
+ };
800
+ var forceUpdateOptions = {
801
+ force: true,
802
+ process: true
803
+ /**
804
+ * Contains rules objects and allows adding/removing etc.
805
+ * Is used for e.g. by `StyleSheet` or `ConditionalRule`.
806
+ */
807
+
808
+ };
809
+
810
+ var RuleList =
811
+ /*#__PURE__*/
812
+ function () {
813
+ // Rules registry for access by .get() method.
814
+ // It contains the same rule registered by name and by selector.
815
+ // Original styles object.
816
+ // Used to ensure correct rules order.
817
+ function RuleList(options) {
818
+ this.map = {};
819
+ this.raw = {};
820
+ this.index = [];
821
+ this.counter = 0;
822
+ this.options = void 0;
823
+ this.classes = void 0;
824
+ this.keyframes = void 0;
825
+ this.options = options;
826
+ this.classes = options.classes;
827
+ this.keyframes = options.keyframes;
828
+ }
829
+ /**
830
+ * Create and register rule.
831
+ *
832
+ * Will not render after Style Sheet was rendered the first time.
833
+ */
834
+
835
+
836
+ var _proto = RuleList.prototype;
837
+
838
+ _proto.add = function add(name, decl, ruleOptions) {
839
+ var _this$options = this.options,
840
+ parent = _this$options.parent,
841
+ sheet = _this$options.sheet,
842
+ jss = _this$options.jss,
843
+ Renderer = _this$options.Renderer,
844
+ generateId = _this$options.generateId,
845
+ scoped = _this$options.scoped;
846
+
847
+ var options = _extends({
848
+ classes: this.classes,
849
+ parent: parent,
850
+ sheet: sheet,
851
+ jss: jss,
852
+ Renderer: Renderer,
853
+ generateId: generateId,
854
+ scoped: scoped,
855
+ name: name,
856
+ keyframes: this.keyframes,
857
+ selector: undefined
858
+ }, ruleOptions); // When user uses .createStyleSheet(), duplicate names are not possible, but
859
+ // `sheet.addRule()` opens the door for any duplicate rule name. When this happens
860
+ // we need to make the key unique within this RuleList instance scope.
861
+
862
+
863
+ var key = name;
864
+
865
+ if (name in this.raw) {
866
+ key = name + "-d" + this.counter++;
867
+ } // We need to save the original decl before creating the rule
868
+ // because cache plugin needs to use it as a key to return a cached rule.
869
+
870
+
871
+ this.raw[key] = decl;
872
+
873
+ if (key in this.classes) {
874
+ // E.g. rules inside of @media container
875
+ options.selector = "." + escape(this.classes[key]);
876
+ }
877
+
878
+ var rule = createRule(key, decl, options);
879
+ if (!rule) return null;
880
+ this.register(rule);
881
+ var index = options.index === undefined ? this.index.length : options.index;
882
+ this.index.splice(index, 0, rule);
883
+ return rule;
884
+ }
885
+ /**
886
+ * Get a rule.
887
+ */
888
+ ;
889
+
890
+ _proto.get = function get(name) {
891
+ return this.map[name];
892
+ }
893
+ /**
894
+ * Delete a rule.
895
+ */
896
+ ;
897
+
898
+ _proto.remove = function remove(rule) {
899
+ this.unregister(rule);
900
+ delete this.raw[rule.key];
901
+ this.index.splice(this.index.indexOf(rule), 1);
902
+ }
903
+ /**
904
+ * Get index of a rule.
905
+ */
906
+ ;
907
+
908
+ _proto.indexOf = function indexOf(rule) {
909
+ return this.index.indexOf(rule);
910
+ }
911
+ /**
912
+ * Run `onProcessRule()` plugins on every rule.
913
+ */
914
+ ;
915
+
916
+ _proto.process = function process() {
917
+ var plugins = this.options.jss.plugins; // We need to clone array because if we modify the index somewhere else during a loop
918
+ // we end up with very hard-to-track-down side effects.
919
+
920
+ this.index.slice(0).forEach(plugins.onProcessRule, plugins);
921
+ }
922
+ /**
923
+ * Register a rule in `.map`, `.classes` and `.keyframes` maps.
924
+ */
925
+ ;
926
+
927
+ _proto.register = function register(rule) {
928
+ this.map[rule.key] = rule;
929
+
930
+ if (rule instanceof StyleRule) {
931
+ this.map[rule.selector] = rule;
932
+ if (rule.id) this.classes[rule.key] = rule.id;
933
+ } else if (rule instanceof KeyframesRule && this.keyframes) {
934
+ this.keyframes[rule.name] = rule.id;
935
+ }
936
+ }
937
+ /**
938
+ * Unregister a rule.
939
+ */
940
+ ;
941
+
942
+ _proto.unregister = function unregister(rule) {
943
+ delete this.map[rule.key];
944
+
945
+ if (rule instanceof StyleRule) {
946
+ delete this.map[rule.selector];
947
+ delete this.classes[rule.key];
948
+ } else if (rule instanceof KeyframesRule) {
949
+ delete this.keyframes[rule.name];
950
+ }
951
+ }
952
+ /**
953
+ * Update the function values with a new data.
954
+ */
955
+ ;
956
+
957
+ _proto.update = function update() {
958
+ var name;
959
+ var data;
960
+ var options;
961
+
962
+ if (typeof (arguments.length <= 0 ? undefined : arguments[0]) === 'string') {
963
+ name = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]
964
+
965
+ data = arguments.length <= 1 ? undefined : arguments[1]; // $FlowFixMe[invalid-tuple-index]
966
+
967
+ options = arguments.length <= 2 ? undefined : arguments[2];
968
+ } else {
969
+ data = arguments.length <= 0 ? undefined : arguments[0]; // $FlowFixMe[invalid-tuple-index]
970
+
971
+ options = arguments.length <= 1 ? undefined : arguments[1];
972
+ name = null;
973
+ }
974
+
975
+ if (name) {
976
+ this.updateOne(this.map[name], data, options);
977
+ } else {
978
+ for (var index = 0; index < this.index.length; index++) {
979
+ this.updateOne(this.index[index], data, options);
980
+ }
981
+ }
982
+ }
983
+ /**
984
+ * Execute plugins, update rule props.
985
+ */
986
+ ;
987
+
988
+ _proto.updateOne = function updateOne(rule, data, options) {
989
+ if (options === void 0) {
990
+ options = defaultUpdateOptions;
991
+ }
992
+
993
+ var _this$options2 = this.options,
994
+ plugins = _this$options2.jss.plugins,
995
+ sheet = _this$options2.sheet; // It is a rules container like for e.g. ConditionalRule.
996
+
997
+ if (rule.rules instanceof RuleList) {
998
+ rule.rules.update(data, options);
999
+ return;
1000
+ }
1001
+
1002
+ var styleRule = rule;
1003
+ var style = styleRule.style;
1004
+ plugins.onUpdate(data, rule, sheet, options); // We rely on a new `style` ref in case it was mutated during onUpdate hook.
1005
+
1006
+ if (options.process && style && style !== styleRule.style) {
1007
+ // We need to run the plugins in case new `style` relies on syntax plugins.
1008
+ plugins.onProcessStyle(styleRule.style, styleRule, sheet); // Update and add props.
1009
+
1010
+ for (var prop in styleRule.style) {
1011
+ var nextValue = styleRule.style[prop];
1012
+ var prevValue = style[prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
1013
+ // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
1014
+
1015
+ if (nextValue !== prevValue) {
1016
+ styleRule.prop(prop, nextValue, forceUpdateOptions);
1017
+ }
1018
+ } // Remove props.
1019
+
1020
+
1021
+ for (var _prop in style) {
1022
+ var _nextValue = styleRule.style[_prop];
1023
+ var _prevValue = style[_prop]; // We need to use `force: true` because `rule.style` has been updated during onUpdate hook, so `rule.prop()` will not update the CSSOM rule.
1024
+ // We do this comparison to avoid unneeded `rule.prop()` calls, since we have the old `style` object here.
1025
+
1026
+ if (_nextValue == null && _nextValue !== _prevValue) {
1027
+ styleRule.prop(_prop, null, forceUpdateOptions);
1028
+ }
1029
+ }
1030
+ }
1031
+ }
1032
+ /**
1033
+ * Convert rules to a CSS string.
1034
+ */
1035
+ ;
1036
+
1037
+ _proto.toString = function toString(options) {
1038
+ var str = '';
1039
+ var sheet = this.options.sheet;
1040
+ var link = sheet ? sheet.options.link : false;
1041
+
1042
+ for (var index = 0; index < this.index.length; index++) {
1043
+ var rule = this.index[index];
1044
+ var css = rule.toString(options); // No need to render an empty rule.
1045
+
1046
+ if (!css && !link) continue;
1047
+ if (str) str += '\n';
1048
+ str += css;
1049
+ }
1050
+
1051
+ return str;
1052
+ };
1053
+
1054
+ return RuleList;
1055
+ }();
1056
+
1057
+ var StyleSheet =
1058
+ /*#__PURE__*/
1059
+ function () {
1060
+ function StyleSheet(styles, options) {
1061
+ this.options = void 0;
1062
+ this.deployed = void 0;
1063
+ this.attached = void 0;
1064
+ this.rules = void 0;
1065
+ this.renderer = void 0;
1066
+ this.classes = void 0;
1067
+ this.keyframes = void 0;
1068
+ this.queue = void 0;
1069
+ this.attached = false;
1070
+ this.deployed = false;
1071
+ this.classes = {};
1072
+ this.keyframes = {};
1073
+ this.options = _extends({}, options, {
1074
+ sheet: this,
1075
+ parent: this,
1076
+ classes: this.classes,
1077
+ keyframes: this.keyframes
1078
+ });
1079
+
1080
+ if (options.Renderer) {
1081
+ this.renderer = new options.Renderer(this);
1082
+ }
1083
+
1084
+ this.rules = new RuleList(this.options);
1085
+
1086
+ for (var name in styles) {
1087
+ this.rules.add(name, styles[name]);
1088
+ }
1089
+
1090
+ this.rules.process();
1091
+ }
1092
+ /**
1093
+ * Attach renderable to the render tree.
1094
+ */
1095
+
1096
+
1097
+ var _proto = StyleSheet.prototype;
1098
+
1099
+ _proto.attach = function attach() {
1100
+ if (this.attached) return this;
1101
+ if (this.renderer) this.renderer.attach();
1102
+ this.attached = true; // Order is important, because we can't use insertRule API if style element is not attached.
1103
+
1104
+ if (!this.deployed) this.deploy();
1105
+ return this;
1106
+ }
1107
+ /**
1108
+ * Remove renderable from render tree.
1109
+ */
1110
+ ;
1111
+
1112
+ _proto.detach = function detach() {
1113
+ if (!this.attached) return this;
1114
+ if (this.renderer) this.renderer.detach();
1115
+ this.attached = false;
1116
+ return this;
1117
+ }
1118
+ /**
1119
+ * Add a rule to the current stylesheet.
1120
+ * Will insert a rule also after the stylesheet has been rendered first time.
1121
+ */
1122
+ ;
1123
+
1124
+ _proto.addRule = function addRule(name, decl, options) {
1125
+ var queue = this.queue; // Plugins can create rules.
1126
+ // In order to preserve the right order, we need to queue all `.addRule` calls,
1127
+ // which happen after the first `rules.add()` call.
1128
+
1129
+ if (this.attached && !queue) this.queue = [];
1130
+ var rule = this.rules.add(name, decl, options);
1131
+ if (!rule) return null;
1132
+ this.options.jss.plugins.onProcessRule(rule);
1133
+
1134
+ if (this.attached) {
1135
+ if (!this.deployed) return rule; // Don't insert rule directly if there is no stringified version yet.
1136
+ // It will be inserted all together when .attach is called.
1137
+
1138
+ if (queue) queue.push(rule);else {
1139
+ this.insertRule(rule);
1140
+
1141
+ if (this.queue) {
1142
+ this.queue.forEach(this.insertRule, this);
1143
+ this.queue = undefined;
1144
+ }
1145
+ }
1146
+ return rule;
1147
+ } // We can't add rules to a detached style node.
1148
+ // We will redeploy the sheet once user will attach it.
1149
+
1150
+
1151
+ this.deployed = false;
1152
+ return rule;
1153
+ }
1154
+ /**
1155
+ * Insert rule into the StyleSheet
1156
+ */
1157
+ ;
1158
+
1159
+ _proto.insertRule = function insertRule(rule) {
1160
+ if (this.renderer) {
1161
+ this.renderer.insertRule(rule);
1162
+ }
1163
+ }
1164
+ /**
1165
+ * Create and add rules.
1166
+ * Will render also after Style Sheet was rendered the first time.
1167
+ */
1168
+ ;
1169
+
1170
+ _proto.addRules = function addRules(styles, options) {
1171
+ var added = [];
1172
+
1173
+ for (var name in styles) {
1174
+ var rule = this.addRule(name, styles[name], options);
1175
+ if (rule) added.push(rule);
1176
+ }
1177
+
1178
+ return added;
1179
+ }
1180
+ /**
1181
+ * Get a rule by name.
1182
+ */
1183
+ ;
1184
+
1185
+ _proto.getRule = function getRule(name) {
1186
+ return this.rules.get(name);
1187
+ }
1188
+ /**
1189
+ * Delete a rule by name.
1190
+ * Returns `true`: if rule has been deleted from the DOM.
1191
+ */
1192
+ ;
1193
+
1194
+ _proto.deleteRule = function deleteRule(name) {
1195
+ var rule = typeof name === 'object' ? name : this.rules.get(name);
1196
+
1197
+ if (!rule || // Style sheet was created without link: true and attached, in this case we
1198
+ // won't be able to remove the CSS rule from the DOM.
1199
+ this.attached && !rule.renderable) {
1200
+ return false;
1201
+ }
1202
+
1203
+ this.rules.remove(rule);
1204
+
1205
+ if (this.attached && rule.renderable && this.renderer) {
1206
+ return this.renderer.deleteRule(rule.renderable);
1207
+ }
1208
+
1209
+ return true;
1210
+ }
1211
+ /**
1212
+ * Get index of a rule.
1213
+ */
1214
+ ;
1215
+
1216
+ _proto.indexOf = function indexOf(rule) {
1217
+ return this.rules.indexOf(rule);
1218
+ }
1219
+ /**
1220
+ * Deploy pure CSS string to a renderable.
1221
+ */
1222
+ ;
1223
+
1224
+ _proto.deploy = function deploy() {
1225
+ if (this.renderer) this.renderer.deploy();
1226
+ this.deployed = true;
1227
+ return this;
1228
+ }
1229
+ /**
1230
+ * Update the function values with a new data.
1231
+ */
1232
+ ;
1233
+
1234
+ _proto.update = function update() {
1235
+ var _this$rules;
1236
+
1237
+ (_this$rules = this.rules).update.apply(_this$rules, arguments);
1238
+
1239
+ return this;
1240
+ }
1241
+ /**
1242
+ * Updates a single rule.
1243
+ */
1244
+ ;
1245
+
1246
+ _proto.updateOne = function updateOne(rule, data, options) {
1247
+ this.rules.updateOne(rule, data, options);
1248
+ return this;
1249
+ }
1250
+ /**
1251
+ * Convert rules to a CSS string.
1252
+ */
1253
+ ;
1254
+
1255
+ _proto.toString = function toString(options) {
1256
+ return this.rules.toString(options);
1257
+ };
1258
+
1259
+ return StyleSheet;
1260
+ }();
1261
+
1262
+ var PluginsRegistry =
1263
+ /*#__PURE__*/
1264
+ function () {
1265
+ function PluginsRegistry() {
1266
+ this.plugins = {
1267
+ internal: [],
1268
+ external: []
1269
+ };
1270
+ this.registry = void 0;
1271
+ }
1272
+
1273
+ var _proto = PluginsRegistry.prototype;
1274
+
1275
+ /**
1276
+ * Call `onCreateRule` hooks and return an object if returned by a hook.
1277
+ */
1278
+ _proto.onCreateRule = function onCreateRule(name, decl, options) {
1279
+ for (var i = 0; i < this.registry.onCreateRule.length; i++) {
1280
+ var rule = this.registry.onCreateRule[i](name, decl, options);
1281
+ if (rule) return rule;
1282
+ }
1283
+
1284
+ return null;
1285
+ }
1286
+ /**
1287
+ * Call `onProcessRule` hooks.
1288
+ */
1289
+ ;
1290
+
1291
+ _proto.onProcessRule = function onProcessRule(rule) {
1292
+ if (rule.isProcessed) return;
1293
+ var sheet = rule.options.sheet;
1294
+
1295
+ for (var i = 0; i < this.registry.onProcessRule.length; i++) {
1296
+ this.registry.onProcessRule[i](rule, sheet);
1297
+ }
1298
+
1299
+ if (rule.style) this.onProcessStyle(rule.style, rule, sheet);
1300
+ rule.isProcessed = true;
1301
+ }
1302
+ /**
1303
+ * Call `onProcessStyle` hooks.
1304
+ */
1305
+ ;
1306
+
1307
+ _proto.onProcessStyle = function onProcessStyle(style, rule, sheet) {
1308
+ for (var i = 0; i < this.registry.onProcessStyle.length; i++) {
1309
+ // $FlowFixMe[prop-missing]
1310
+ rule.style = this.registry.onProcessStyle[i](rule.style, rule, sheet);
1311
+ }
1312
+ }
1313
+ /**
1314
+ * Call `onProcessSheet` hooks.
1315
+ */
1316
+ ;
1317
+
1318
+ _proto.onProcessSheet = function onProcessSheet(sheet) {
1319
+ for (var i = 0; i < this.registry.onProcessSheet.length; i++) {
1320
+ this.registry.onProcessSheet[i](sheet);
1321
+ }
1322
+ }
1323
+ /**
1324
+ * Call `onUpdate` hooks.
1325
+ */
1326
+ ;
1327
+
1328
+ _proto.onUpdate = function onUpdate(data, rule, sheet, options) {
1329
+ for (var i = 0; i < this.registry.onUpdate.length; i++) {
1330
+ this.registry.onUpdate[i](data, rule, sheet, options);
1331
+ }
1332
+ }
1333
+ /**
1334
+ * Call `onChangeValue` hooks.
1335
+ */
1336
+ ;
1337
+
1338
+ _proto.onChangeValue = function onChangeValue(value, prop, rule) {
1339
+ var processedValue = value;
1340
+
1341
+ for (var i = 0; i < this.registry.onChangeValue.length; i++) {
1342
+ processedValue = this.registry.onChangeValue[i](processedValue, prop, rule);
1343
+ }
1344
+
1345
+ return processedValue;
1346
+ }
1347
+ /**
1348
+ * Register a plugin.
1349
+ */
1350
+ ;
1351
+
1352
+ _proto.use = function use(newPlugin, options) {
1353
+ if (options === void 0) {
1354
+ options = {
1355
+ queue: 'external'
1356
+ };
1357
+ }
1358
+
1359
+ var plugins = this.plugins[options.queue]; // Avoids applying same plugin twice, at least based on ref.
1360
+
1361
+ if (plugins.indexOf(newPlugin) !== -1) {
1362
+ return;
1363
+ }
1364
+
1365
+ plugins.push(newPlugin);
1366
+ this.registry = [].concat(this.plugins.external, this.plugins.internal).reduce(function (registry, plugin) {
1367
+ for (var name in plugin) {
1368
+ if (name in registry) {
1369
+ registry[name].push(plugin[name]);
1370
+ }
1371
+ }
1372
+
1373
+ return registry;
1374
+ }, {
1375
+ onCreateRule: [],
1376
+ onProcessRule: [],
1377
+ onProcessStyle: [],
1378
+ onProcessSheet: [],
1379
+ onChangeValue: [],
1380
+ onUpdate: []
1381
+ });
1382
+ };
1383
+
1384
+ return PluginsRegistry;
1385
+ }();
1386
+
1387
+ /**
1388
+ * Sheets registry to access them all at one place.
1389
+ */
1390
+ var SheetsRegistry =
1391
+ /*#__PURE__*/
1392
+ function () {
1393
+ function SheetsRegistry() {
1394
+ this.registry = [];
1395
+ }
1396
+
1397
+ var _proto = SheetsRegistry.prototype;
1398
+
1399
+ /**
1400
+ * Register a Style Sheet.
1401
+ */
1402
+ _proto.add = function add(sheet) {
1403
+ var registry = this.registry;
1404
+ var index = sheet.options.index;
1405
+ if (registry.indexOf(sheet) !== -1) return;
1406
+
1407
+ if (registry.length === 0 || index >= this.index) {
1408
+ registry.push(sheet);
1409
+ return;
1410
+ } // Find a position.
1411
+
1412
+
1413
+ for (var i = 0; i < registry.length; i++) {
1414
+ if (registry[i].options.index > index) {
1415
+ registry.splice(i, 0, sheet);
1416
+ return;
1417
+ }
1418
+ }
1419
+ }
1420
+ /**
1421
+ * Reset the registry.
1422
+ */
1423
+ ;
1424
+
1425
+ _proto.reset = function reset() {
1426
+ this.registry = [];
1427
+ }
1428
+ /**
1429
+ * Remove a Style Sheet.
1430
+ */
1431
+ ;
1432
+
1433
+ _proto.remove = function remove(sheet) {
1434
+ var index = this.registry.indexOf(sheet);
1435
+ this.registry.splice(index, 1);
1436
+ }
1437
+ /**
1438
+ * Convert all attached sheets to a CSS string.
1439
+ */
1440
+ ;
1441
+
1442
+ _proto.toString = function toString(_temp) {
1443
+ var _ref = _temp === void 0 ? {} : _temp,
1444
+ attached = _ref.attached,
1445
+ options = _objectWithoutPropertiesLoose(_ref, ["attached"]);
1446
+
1447
+ var css = '';
1448
+
1449
+ for (var i = 0; i < this.registry.length; i++) {
1450
+ var sheet = this.registry[i];
1451
+
1452
+ if (attached != null && sheet.attached !== attached) {
1453
+ continue;
1454
+ }
1455
+
1456
+ if (css) css += '\n';
1457
+ css += sheet.toString(options);
1458
+ }
1459
+
1460
+ return css;
1461
+ };
1462
+
1463
+ _createClass(SheetsRegistry, [{
1464
+ key: "index",
1465
+
1466
+ /**
1467
+ * Current highest index number.
1468
+ */
1469
+ get: function get() {
1470
+ return this.registry.length === 0 ? 0 : this.registry[this.registry.length - 1].options.index;
1471
+ }
1472
+ }]);
1473
+
1474
+ return SheetsRegistry;
1475
+ }();
1476
+
1477
+ /**
1478
+ * This is a global sheets registry. Only DomRenderer will add sheets to it.
1479
+ * On the server one should use an own SheetsRegistry instance and add the
1480
+ * sheets to it, because you need to make sure to create a new registry for
1481
+ * each request in order to not leak sheets across requests.
1482
+ */
1483
+
1484
+ var registry = new SheetsRegistry();
1485
+
1486
+ /* eslint-disable */
1487
+
1488
+ /**
1489
+ * Now that `globalThis` is available on most platforms
1490
+ * (https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/globalThis#browser_compatibility)
1491
+ * we check for `globalThis` first. `globalThis` is necessary for jss
1492
+ * to run in Agoric's secure version of JavaScript (SES). Under SES,
1493
+ * `globalThis` exists, but `window`, `self`, and `Function('return
1494
+ * this')()` are all undefined for security reasons.
1495
+ *
1496
+ * https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
1497
+ */
1498
+ var globalThis$1 = typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' && window.Math === Math ? window : typeof self !== 'undefined' && self.Math === Math ? self : Function('return this')();
1499
+
1500
+ var ns = '2f1acc6c3a606b082e5eef5e54414ffb';
1501
+ if (globalThis$1[ns] == null) globalThis$1[ns] = 0; // Bundle may contain multiple JSS versions at the same time. In order to identify
1502
+ // the current version with just one short number and use it for classes generation
1503
+ // we use a counter. Also it is more accurate, because user can manually reevaluate
1504
+ // the module.
1505
+
1506
+ var moduleId = globalThis$1[ns]++;
1507
+
1508
+ /**
1509
+ * Returns a function which generates unique class names based on counters.
1510
+ * When new generator function is created, rule counter is reseted.
1511
+ * We need to reset the rule counter for SSR for each request.
1512
+ */
1513
+ var createGenerateId = function createGenerateId(options) {
1514
+ if (options === void 0) {
1515
+ options = {};
1516
+ }
1517
+
1518
+ var ruleCounter = 0;
1519
+
1520
+ var generateId = function generateId(rule, sheet) {
1521
+ ruleCounter += 1;
1522
+
1523
+ var jssId = '';
1524
+ var prefix = '';
1525
+
1526
+ if (sheet) {
1527
+ if (sheet.options.classNamePrefix) {
1528
+ prefix = sheet.options.classNamePrefix;
1529
+ }
1530
+
1531
+ if (sheet.options.jss.id != null) {
1532
+ jssId = String(sheet.options.jss.id);
1533
+ }
1534
+ }
1535
+
1536
+ if (options.minify) {
1537
+ // Using "c" because a number can't be the first char in a class name.
1538
+ return "" + (prefix || 'c') + moduleId + jssId + ruleCounter;
1539
+ }
1540
+
1541
+ return prefix + rule.key + "-" + moduleId + (jssId ? "-" + jssId : '') + "-" + ruleCounter;
1542
+ };
1543
+
1544
+ return generateId;
1545
+ };
1546
+
1547
+ /**
1548
+ * Cache the value from the first time a function is called.
1549
+ */
1550
+ var memoize = function memoize(fn) {
1551
+ var value;
1552
+ return function () {
1553
+ if (!value) value = fn();
1554
+ return value;
1555
+ };
1556
+ };
1557
+
1558
+ /**
1559
+ * Get a style property value.
1560
+ */
1561
+ var getPropertyValue = function getPropertyValue(cssRule, prop) {
1562
+ try {
1563
+ // Support CSSTOM.
1564
+ if (cssRule.attributeStyleMap) {
1565
+ return cssRule.attributeStyleMap.get(prop);
1566
+ }
1567
+
1568
+ return cssRule.style.getPropertyValue(prop);
1569
+ } catch (err) {
1570
+ // IE may throw if property is unknown.
1571
+ return '';
1572
+ }
1573
+ };
1574
+
1575
+ /**
1576
+ * Set a style property.
1577
+ */
1578
+ var setProperty = function setProperty(cssRule, prop, value) {
1579
+ try {
1580
+ var cssValue = value;
1581
+
1582
+ if (Array.isArray(value)) {
1583
+ cssValue = toCssValue(value, true);
1584
+
1585
+ if (value[value.length - 1] === '!important') {
1586
+ cssRule.style.setProperty(prop, cssValue, 'important');
1587
+ return true;
1588
+ }
1589
+ } // Support CSSTOM.
1590
+
1591
+
1592
+ if (cssRule.attributeStyleMap) {
1593
+ cssRule.attributeStyleMap.set(prop, cssValue);
1594
+ } else {
1595
+ cssRule.style.setProperty(prop, cssValue);
1596
+ }
1597
+ } catch (err) {
1598
+ // IE may throw if property is unknown.
1599
+ return false;
1600
+ }
1601
+
1602
+ return true;
1603
+ };
1604
+
1605
+ /**
1606
+ * Remove a style property.
1607
+ */
1608
+ var removeProperty = function removeProperty(cssRule, prop) {
1609
+ try {
1610
+ // Support CSSTOM.
1611
+ if (cssRule.attributeStyleMap) {
1612
+ cssRule.attributeStyleMap.delete(prop);
1613
+ } else {
1614
+ cssRule.style.removeProperty(prop);
1615
+ }
1616
+ } catch (err) {
1617
+ }
1618
+ };
1619
+
1620
+ /**
1621
+ * Set the selector.
1622
+ */
1623
+ var setSelector = function setSelector(cssRule, selectorText) {
1624
+ cssRule.selectorText = selectorText; // Return false if setter was not successful.
1625
+ // Currently works in chrome only.
1626
+
1627
+ return cssRule.selectorText === selectorText;
1628
+ };
1629
+ /**
1630
+ * Gets the `head` element upon the first call and caches it.
1631
+ * We assume it can't be null.
1632
+ */
1633
+
1634
+
1635
+ var getHead = memoize(function () {
1636
+ return document.querySelector('head');
1637
+ });
1638
+ /**
1639
+ * Find attached sheet with an index higher than the passed one.
1640
+ */
1641
+
1642
+ function findHigherSheet(registry, options) {
1643
+ for (var i = 0; i < registry.length; i++) {
1644
+ var sheet = registry[i];
1645
+
1646
+ if (sheet.attached && sheet.options.index > options.index && sheet.options.insertionPoint === options.insertionPoint) {
1647
+ return sheet;
1648
+ }
1649
+ }
1650
+
1651
+ return null;
1652
+ }
1653
+ /**
1654
+ * Find attached sheet with the highest index.
1655
+ */
1656
+
1657
+
1658
+ function findHighestSheet(registry, options) {
1659
+ for (var i = registry.length - 1; i >= 0; i--) {
1660
+ var sheet = registry[i];
1661
+
1662
+ if (sheet.attached && sheet.options.insertionPoint === options.insertionPoint) {
1663
+ return sheet;
1664
+ }
1665
+ }
1666
+
1667
+ return null;
1668
+ }
1669
+ /**
1670
+ * Find a comment with "jss" inside.
1671
+ */
1672
+
1673
+
1674
+ function findCommentNode(text) {
1675
+ var head = getHead();
1676
+
1677
+ for (var i = 0; i < head.childNodes.length; i++) {
1678
+ var node = head.childNodes[i];
1679
+
1680
+ if (node.nodeType === 8 && node.nodeValue.trim() === text) {
1681
+ return node;
1682
+ }
1683
+ }
1684
+
1685
+ return null;
1686
+ }
1687
+
1688
+ /**
1689
+ * Find a node before which we can insert the sheet.
1690
+ */
1691
+ function findPrevNode(options) {
1692
+ var registry$1 = registry.registry;
1693
+
1694
+ if (registry$1.length > 0) {
1695
+ // Try to insert before the next higher sheet.
1696
+ var sheet = findHigherSheet(registry$1, options);
1697
+
1698
+ if (sheet && sheet.renderer) {
1699
+ return {
1700
+ parent: sheet.renderer.element.parentNode,
1701
+ node: sheet.renderer.element
1702
+ };
1703
+ } // Otherwise insert after the last attached.
1704
+
1705
+
1706
+ sheet = findHighestSheet(registry$1, options);
1707
+
1708
+ if (sheet && sheet.renderer) {
1709
+ return {
1710
+ parent: sheet.renderer.element.parentNode,
1711
+ node: sheet.renderer.element.nextSibling
1712
+ };
1713
+ }
1714
+ } // Try to find a comment placeholder if registry is empty.
1715
+
1716
+
1717
+ var insertionPoint = options.insertionPoint;
1718
+
1719
+ if (insertionPoint && typeof insertionPoint === 'string') {
1720
+ var comment = findCommentNode(insertionPoint);
1721
+
1722
+ if (comment) {
1723
+ return {
1724
+ parent: comment.parentNode,
1725
+ node: comment.nextSibling
1726
+ };
1727
+ } // If user specifies an insertion point and it can't be found in the document -
1728
+ }
1729
+
1730
+ return false;
1731
+ }
1732
+ /**
1733
+ * Insert style element into the DOM.
1734
+ */
1735
+
1736
+
1737
+ function insertStyle(style, options) {
1738
+ var insertionPoint = options.insertionPoint;
1739
+ var nextNode = findPrevNode(options);
1740
+
1741
+ if (nextNode !== false && nextNode.parent) {
1742
+ nextNode.parent.insertBefore(style, nextNode.node);
1743
+ return;
1744
+ } // Works with iframes and any node types.
1745
+
1746
+
1747
+ if (insertionPoint && typeof insertionPoint.nodeType === 'number') {
1748
+ // https://stackoverflow.com/questions/41328728/force-casting-in-flow
1749
+ var insertionPointElement = insertionPoint;
1750
+ var parentNode = insertionPointElement.parentNode;
1751
+ if (parentNode) parentNode.insertBefore(style, insertionPointElement.nextSibling);
1752
+ return;
1753
+ }
1754
+
1755
+ getHead().appendChild(style);
1756
+ }
1757
+ /**
1758
+ * Read jss nonce setting from the page if the user has set it.
1759
+ */
1760
+
1761
+
1762
+ var getNonce = memoize(function () {
1763
+ var node = document.querySelector('meta[property="csp-nonce"]');
1764
+ return node ? node.getAttribute('content') : null;
1765
+ });
1766
+
1767
+ var _insertRule = function insertRule(container, rule, index) {
1768
+ try {
1769
+ if ('insertRule' in container) {
1770
+ var c = container;
1771
+ c.insertRule(rule, index);
1772
+ } // Keyframes rule.
1773
+ else if ('appendRule' in container) {
1774
+ var _c = container;
1775
+
1776
+ _c.appendRule(rule);
1777
+ }
1778
+ } catch (err) {
1779
+ return false;
1780
+ }
1781
+
1782
+ return container.cssRules[index];
1783
+ };
1784
+
1785
+ var getValidRuleInsertionIndex = function getValidRuleInsertionIndex(container, index) {
1786
+ var maxIndex = container.cssRules.length; // In case previous insertion fails, passed index might be wrong
1787
+
1788
+ if (index === undefined || index > maxIndex) {
1789
+ // eslint-disable-next-line no-param-reassign
1790
+ return maxIndex;
1791
+ }
1792
+
1793
+ return index;
1794
+ };
1795
+
1796
+ var createStyle = function createStyle() {
1797
+ var el = document.createElement('style'); // Without it, IE will have a broken source order specificity if we
1798
+ // insert rules after we insert the style tag.
1799
+ // It seems to kick-off the source order specificity algorithm.
1800
+
1801
+ el.textContent = '\n';
1802
+ return el;
1803
+ };
1804
+
1805
+ var DomRenderer =
1806
+ /*#__PURE__*/
1807
+ function () {
1808
+ // HTMLStyleElement needs fixing https://github.com/facebook/flow/issues/2696
1809
+ // Will be empty if link: true option is not set, because
1810
+ // it is only for use together with insertRule API.
1811
+ function DomRenderer(sheet) {
1812
+ this.getPropertyValue = getPropertyValue;
1813
+ this.setProperty = setProperty;
1814
+ this.removeProperty = removeProperty;
1815
+ this.setSelector = setSelector;
1816
+ this.element = void 0;
1817
+ this.sheet = void 0;
1818
+ this.hasInsertedRules = false;
1819
+ this.cssRules = [];
1820
+ // There is no sheet when the renderer is used from a standalone StyleRule.
1821
+ if (sheet) registry.add(sheet);
1822
+ this.sheet = sheet;
1823
+
1824
+ var _ref = this.sheet ? this.sheet.options : {},
1825
+ media = _ref.media,
1826
+ meta = _ref.meta,
1827
+ element = _ref.element;
1828
+
1829
+ this.element = element || createStyle();
1830
+ this.element.setAttribute('data-jss', '');
1831
+ if (media) this.element.setAttribute('media', media);
1832
+ if (meta) this.element.setAttribute('data-meta', meta);
1833
+ var nonce = getNonce();
1834
+ if (nonce) this.element.setAttribute('nonce', nonce);
1835
+ }
1836
+ /**
1837
+ * Insert style element into render tree.
1838
+ */
1839
+
1840
+
1841
+ var _proto = DomRenderer.prototype;
1842
+
1843
+ _proto.attach = function attach() {
1844
+ // In the case the element node is external and it is already in the DOM.
1845
+ if (this.element.parentNode || !this.sheet) return;
1846
+ insertStyle(this.element, this.sheet.options); // When rules are inserted using `insertRule` API, after `sheet.detach().attach()`
1847
+ // most browsers create a new CSSStyleSheet, except of all IEs.
1848
+
1849
+ var deployed = Boolean(this.sheet && this.sheet.deployed);
1850
+
1851
+ if (this.hasInsertedRules && deployed) {
1852
+ this.hasInsertedRules = false;
1853
+ this.deploy();
1854
+ }
1855
+ }
1856
+ /**
1857
+ * Remove style element from render tree.
1858
+ */
1859
+ ;
1860
+
1861
+ _proto.detach = function detach() {
1862
+ if (!this.sheet) return;
1863
+ var parentNode = this.element.parentNode;
1864
+ if (parentNode) parentNode.removeChild(this.element); // In the most browsers, rules inserted using insertRule() API will be lost when style element is removed.
1865
+ // Though IE will keep them and we need a consistent behavior.
1866
+
1867
+ if (this.sheet.options.link) {
1868
+ this.cssRules = [];
1869
+ this.element.textContent = '\n';
1870
+ }
1871
+ }
1872
+ /**
1873
+ * Inject CSS string into element.
1874
+ */
1875
+ ;
1876
+
1877
+ _proto.deploy = function deploy() {
1878
+ var sheet = this.sheet;
1879
+ if (!sheet) return;
1880
+
1881
+ if (sheet.options.link) {
1882
+ this.insertRules(sheet.rules);
1883
+ return;
1884
+ }
1885
+
1886
+ this.element.textContent = "\n" + sheet.toString() + "\n";
1887
+ }
1888
+ /**
1889
+ * Insert RuleList into an element.
1890
+ */
1891
+ ;
1892
+
1893
+ _proto.insertRules = function insertRules(rules, nativeParent) {
1894
+ for (var i = 0; i < rules.index.length; i++) {
1895
+ this.insertRule(rules.index[i], i, nativeParent);
1896
+ }
1897
+ }
1898
+ /**
1899
+ * Insert a rule into element.
1900
+ */
1901
+ ;
1902
+
1903
+ _proto.insertRule = function insertRule(rule, index, nativeParent) {
1904
+ if (nativeParent === void 0) {
1905
+ nativeParent = this.element.sheet;
1906
+ }
1907
+
1908
+ if (rule.rules) {
1909
+ var parent = rule;
1910
+ var latestNativeParent = nativeParent;
1911
+
1912
+ if (rule.type === 'conditional' || rule.type === 'keyframes') {
1913
+ var _insertionIndex = getValidRuleInsertionIndex(nativeParent, index); // We need to render the container without children first.
1914
+
1915
+
1916
+ latestNativeParent = _insertRule(nativeParent, parent.toString({
1917
+ children: false
1918
+ }), _insertionIndex);
1919
+
1920
+ if (latestNativeParent === false) {
1921
+ return false;
1922
+ }
1923
+
1924
+ this.refCssRule(rule, _insertionIndex, latestNativeParent);
1925
+ }
1926
+
1927
+ this.insertRules(parent.rules, latestNativeParent);
1928
+ return latestNativeParent;
1929
+ }
1930
+
1931
+ var ruleStr = rule.toString();
1932
+ if (!ruleStr) return false;
1933
+ var insertionIndex = getValidRuleInsertionIndex(nativeParent, index);
1934
+
1935
+ var nativeRule = _insertRule(nativeParent, ruleStr, insertionIndex);
1936
+
1937
+ if (nativeRule === false) {
1938
+ return false;
1939
+ }
1940
+
1941
+ this.hasInsertedRules = true;
1942
+ this.refCssRule(rule, insertionIndex, nativeRule);
1943
+ return nativeRule;
1944
+ };
1945
+
1946
+ _proto.refCssRule = function refCssRule(rule, index, cssRule) {
1947
+ rule.renderable = cssRule; // We only want to reference the top level rules, deleteRule API doesn't support removing nested rules
1948
+ // like rules inside media queries or keyframes
1949
+
1950
+ if (rule.options.parent instanceof StyleSheet) {
1951
+ this.cssRules[index] = cssRule;
1952
+ }
1953
+ }
1954
+ /**
1955
+ * Delete a rule.
1956
+ */
1957
+ ;
1958
+
1959
+ _proto.deleteRule = function deleteRule(cssRule) {
1960
+ var sheet = this.element.sheet;
1961
+ var index = this.indexOf(cssRule);
1962
+ if (index === -1) return false;
1963
+ sheet.deleteRule(index);
1964
+ this.cssRules.splice(index, 1);
1965
+ return true;
1966
+ }
1967
+ /**
1968
+ * Get index of a CSS Rule.
1969
+ */
1970
+ ;
1971
+
1972
+ _proto.indexOf = function indexOf(cssRule) {
1973
+ return this.cssRules.indexOf(cssRule);
1974
+ }
1975
+ /**
1976
+ * Generate a new CSS rule and replace the existing one.
1977
+ *
1978
+ * Only used for some old browsers because they can't set a selector.
1979
+ */
1980
+ ;
1981
+
1982
+ _proto.replaceRule = function replaceRule(cssRule, rule) {
1983
+ var index = this.indexOf(cssRule);
1984
+ if (index === -1) return false;
1985
+ this.element.sheet.deleteRule(index);
1986
+ this.cssRules.splice(index, 1);
1987
+ return this.insertRule(rule, index);
1988
+ }
1989
+ /**
1990
+ * Get all rules elements.
1991
+ */
1992
+ ;
1993
+
1994
+ _proto.getRules = function getRules() {
1995
+ return this.element.sheet.cssRules;
1996
+ };
1997
+
1998
+ return DomRenderer;
1999
+ }();
2000
+
2001
+ var instanceCounter = 0;
2002
+
2003
+ var Jss =
2004
+ /*#__PURE__*/
2005
+ function () {
2006
+ function Jss(options) {
2007
+ this.id = instanceCounter++;
2008
+ this.version = "10.7.1";
2009
+ this.plugins = new PluginsRegistry();
2010
+ this.options = {
2011
+ id: {
2012
+ minify: false
2013
+ },
2014
+ createGenerateId: createGenerateId,
2015
+ Renderer: isBrowser ? DomRenderer : null,
2016
+ plugins: []
2017
+ };
2018
+ this.generateId = createGenerateId({
2019
+ minify: false
2020
+ });
2021
+
2022
+ for (var i = 0; i < plugins.length; i++) {
2023
+ this.plugins.use(plugins[i], {
2024
+ queue: 'internal'
2025
+ });
2026
+ }
2027
+
2028
+ this.setup(options);
2029
+ }
2030
+ /**
2031
+ * Prepares various options, applies plugins.
2032
+ * Should not be used twice on the same instance, because there is no plugins
2033
+ * deduplication logic.
2034
+ */
2035
+
2036
+
2037
+ var _proto = Jss.prototype;
2038
+
2039
+ _proto.setup = function setup(options) {
2040
+ if (options === void 0) {
2041
+ options = {};
2042
+ }
2043
+
2044
+ if (options.createGenerateId) {
2045
+ this.options.createGenerateId = options.createGenerateId;
2046
+ }
2047
+
2048
+ if (options.id) {
2049
+ this.options.id = _extends({}, this.options.id, options.id);
2050
+ }
2051
+
2052
+ if (options.createGenerateId || options.id) {
2053
+ this.generateId = this.options.createGenerateId(this.options.id);
2054
+ }
2055
+
2056
+ if (options.insertionPoint != null) this.options.insertionPoint = options.insertionPoint;
2057
+
2058
+ if ('Renderer' in options) {
2059
+ this.options.Renderer = options.Renderer;
2060
+ } // eslint-disable-next-line prefer-spread
2061
+
2062
+
2063
+ if (options.plugins) this.use.apply(this, options.plugins);
2064
+ return this;
2065
+ }
2066
+ /**
2067
+ * Create a Style Sheet.
2068
+ */
2069
+ ;
2070
+
2071
+ _proto.createStyleSheet = function createStyleSheet(styles, options) {
2072
+ if (options === void 0) {
2073
+ options = {};
2074
+ }
2075
+
2076
+ var _options = options,
2077
+ index = _options.index;
2078
+
2079
+ if (typeof index !== 'number') {
2080
+ index = registry.index === 0 ? 0 : registry.index + 1;
2081
+ }
2082
+
2083
+ var sheet = new StyleSheet(styles, _extends({}, options, {
2084
+ jss: this,
2085
+ generateId: options.generateId || this.generateId,
2086
+ insertionPoint: this.options.insertionPoint,
2087
+ Renderer: this.options.Renderer,
2088
+ index: index
2089
+ }));
2090
+ this.plugins.onProcessSheet(sheet);
2091
+ return sheet;
2092
+ }
2093
+ /**
2094
+ * Detach the Style Sheet and remove it from the registry.
2095
+ */
2096
+ ;
2097
+
2098
+ _proto.removeStyleSheet = function removeStyleSheet(sheet) {
2099
+ sheet.detach();
2100
+ registry.remove(sheet);
2101
+ return this;
2102
+ }
2103
+ /**
2104
+ * Create a rule without a Style Sheet.
2105
+ * [Deprecated] will be removed in the next major version.
2106
+ */
2107
+ ;
2108
+
2109
+ _proto.createRule = function createRule$1(name, style, options) {
2110
+ if (style === void 0) {
2111
+ style = {};
2112
+ }
2113
+
2114
+ if (options === void 0) {
2115
+ options = {};
2116
+ }
2117
+
2118
+ // Enable rule without name for inline styles.
2119
+ if (typeof name === 'object') {
2120
+ // $FlowFixMe[incompatible-call]
2121
+ return this.createRule(undefined, name, style);
2122
+ } // $FlowFixMe[incompatible-type]
2123
+
2124
+
2125
+ var ruleOptions = _extends({}, options, {
2126
+ name: name,
2127
+ jss: this,
2128
+ Renderer: this.options.Renderer
2129
+ });
2130
+
2131
+ if (!ruleOptions.generateId) ruleOptions.generateId = this.generateId;
2132
+ if (!ruleOptions.classes) ruleOptions.classes = {};
2133
+ if (!ruleOptions.keyframes) ruleOptions.keyframes = {};
2134
+
2135
+ var rule = createRule(name, style, ruleOptions);
2136
+
2137
+ if (rule) this.plugins.onProcessRule(rule);
2138
+ return rule;
2139
+ }
2140
+ /**
2141
+ * Register plugin. Passed function will be invoked with a rule instance.
2142
+ */
2143
+ ;
2144
+
2145
+ _proto.use = function use() {
2146
+ var _this = this;
2147
+
2148
+ for (var _len = arguments.length, plugins = new Array(_len), _key = 0; _key < _len; _key++) {
2149
+ plugins[_key] = arguments[_key];
2150
+ }
2151
+
2152
+ plugins.forEach(function (plugin) {
2153
+ _this.plugins.use(plugin);
2154
+ });
2155
+ return this;
2156
+ };
2157
+
2158
+ return Jss;
2159
+ }();
2160
+
2161
+ /**
2162
+ * A better abstraction over CSS.
2163
+ *
2164
+ * @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
2165
+ * @website https://github.com/cssinjs/jss
2166
+ * @license MIT
2167
+ */
2168
+
2169
+ /**
2170
+ * Export a constant indicating if this browser has CSSTOM support.
2171
+ * https://developers.google.com/web/updates/2018/03/cssom
2172
+ */
2173
+ var hasCSSTOMSupport = typeof CSS === 'object' && CSS != null && 'number' in CSS;
2174
+ /**
2175
+ * Creates a new instance of Jss.
2176
+ */
2177
+
2178
+ var create = function create(options) {
2179
+ return new Jss(options);
2180
+ };
2181
+ /**
2182
+ * A global Jss instance.
2183
+ */
2184
+
2185
+ var jss = create();
2186
+
2187
+ var now = Date.now();
2188
+ var fnValuesNs = "fnValues" + now;
2189
+ var fnRuleNs = "fnStyle" + ++now;
2190
+
2191
+ var functionPlugin = function functionPlugin() {
2192
+ return {
2193
+ onCreateRule: function onCreateRule(name, decl, options) {
2194
+ if (typeof decl !== 'function') return null;
2195
+ var rule = createRule(name, {}, options);
2196
+ rule[fnRuleNs] = decl;
2197
+ return rule;
2198
+ },
2199
+ onProcessStyle: function onProcessStyle(style, rule) {
2200
+ // We need to extract function values from the declaration, so that we can keep core unaware of them.
2201
+ // We need to do that only once.
2202
+ // We don't need to extract functions on each style update, since this can happen only once.
2203
+ // We don't support function values inside of function rules.
2204
+ if (fnValuesNs in rule || fnRuleNs in rule) return style;
2205
+ var fnValues = {};
2206
+
2207
+ for (var prop in style) {
2208
+ var value = style[prop];
2209
+ if (typeof value !== 'function') continue;
2210
+ delete style[prop];
2211
+ fnValues[prop] = value;
2212
+ } // $FlowFixMe[prop-missing]
2213
+
2214
+
2215
+ rule[fnValuesNs] = fnValues;
2216
+ return style;
2217
+ },
2218
+ onUpdate: function onUpdate(data, rule, sheet, options) {
2219
+ var styleRule = rule; // $FlowFixMe[prop-missing]
2220
+
2221
+ var fnRule = styleRule[fnRuleNs]; // If we have a style function, the entire rule is dynamic and style object
2222
+ // will be returned from that function.
2223
+
2224
+ if (fnRule) {
2225
+ // Empty object will remove all currently defined props
2226
+ // in case function rule returns a falsy value.
2227
+ styleRule.style = fnRule(data) || {};
2228
+ } // $FlowFixMe[prop-missing]
2229
+
2230
+
2231
+ var fnValues = styleRule[fnValuesNs]; // If we have a fn values map, it is a rule with function values.
2232
+
2233
+ if (fnValues) {
2234
+ for (var _prop in fnValues) {
2235
+ styleRule.prop(_prop, fnValues[_prop](data), options);
2236
+ }
2237
+ }
2238
+ }
2239
+ };
2240
+ };
2241
+
2242
+ function symbolObservablePonyfill(root) {
2243
+ var result;
2244
+ var Symbol = root.Symbol;
2245
+
2246
+ if (typeof Symbol === 'function') {
2247
+ if (Symbol.observable) {
2248
+ result = Symbol.observable;
2249
+ } else {
2250
+ result = Symbol('observable');
2251
+ Symbol.observable = result;
2252
+ }
2253
+ } else {
2254
+ result = '@@observable';
2255
+ }
2256
+
2257
+ return result;
2258
+ }
2259
+
2260
+ /* global window */
2261
+
2262
+ var root;
2263
+
2264
+ if (typeof self !== 'undefined') {
2265
+ root = self;
2266
+ } else if (typeof window !== 'undefined') {
2267
+ root = window;
2268
+ } else if (typeof global !== 'undefined') {
2269
+ root = global;
2270
+ } else if (typeof module !== 'undefined') {
2271
+ root = module;
2272
+ } else {
2273
+ root = Function('return this')();
2274
+ }
2275
+
2276
+ var result = symbolObservablePonyfill(root);
2277
+
2278
+ var isObservable = function isObservable(value) {
2279
+ return value && value[result] && value === value[result]();
2280
+ };
2281
+
2282
+ var observablePlugin = function observablePlugin(updateOptions) {
2283
+ return {
2284
+ onCreateRule: function onCreateRule(name, decl, options) {
2285
+ if (!isObservable(decl)) return null; // Cast `decl` to `Observable`, since it passed the type guard.
2286
+
2287
+ var style$ = decl;
2288
+ var rule = createRule(name, {}, options); // TODO
2289
+ // Call `stream.subscribe()` returns a subscription, which should be explicitly
2290
+ // unsubscribed from when we know this sheet is no longer needed.
2291
+
2292
+ style$.subscribe(function (style) {
2293
+ for (var prop in style) {
2294
+ rule.prop(prop, style[prop], updateOptions);
2295
+ }
2296
+ });
2297
+ return rule;
2298
+ },
2299
+ onProcessRule: function onProcessRule(rule) {
2300
+ if (rule && rule.type !== 'style') return;
2301
+ var styleRule = rule;
2302
+ var style = styleRule.style;
2303
+
2304
+ var _loop = function _loop(prop) {
2305
+ var value = style[prop];
2306
+ if (!isObservable(value)) return "continue";
2307
+ delete style[prop];
2308
+ value.subscribe({
2309
+ next: function next(nextValue) {
2310
+ styleRule.prop(prop, nextValue, updateOptions);
2311
+ }
2312
+ });
2313
+ };
2314
+
2315
+ for (var prop in style) {
2316
+ var _ret = _loop(prop);
2317
+
2318
+ if (_ret === "continue") continue;
2319
+ }
2320
+ }
2321
+ };
2322
+ };
2323
+
2324
+ var semiWithNl = /;\n/;
2325
+
2326
+ /**
2327
+ * Naive CSS parser.
2328
+ * - Supports only rule body (no selectors)
2329
+ * - Requires semicolon and new line after the value (except of last line)
2330
+ * - No nested rules support
2331
+ */
2332
+ var parse = function parse(cssText) {
2333
+ var style = {};
2334
+ var split = cssText.split(semiWithNl);
2335
+
2336
+ for (var i = 0; i < split.length; i++) {
2337
+ var decl = (split[i] || '').trim();
2338
+ if (!decl) continue;
2339
+ var colonIndex = decl.indexOf(':');
2340
+
2341
+ if (colonIndex === -1) {
2342
+ continue;
2343
+ }
2344
+
2345
+ var prop = decl.substr(0, colonIndex).trim();
2346
+ var value = decl.substr(colonIndex + 1).trim();
2347
+ style[prop] = value;
2348
+ }
2349
+
2350
+ return style;
2351
+ };
2352
+
2353
+ var onProcessRule = function onProcessRule(rule) {
2354
+ if (typeof rule.style === 'string') {
2355
+ // $FlowFixMe[prop-missing] We can safely assume that rule has the style property
2356
+ rule.style = parse(rule.style);
2357
+ }
2358
+ };
2359
+
2360
+ function templatePlugin() {
2361
+ return {
2362
+ onProcessRule: onProcessRule
2363
+ };
2364
+ }
2365
+
2366
+ var at = '@global';
2367
+ var atPrefix = '@global ';
2368
+
2369
+ var GlobalContainerRule =
2370
+ /*#__PURE__*/
2371
+ function () {
2372
+ function GlobalContainerRule(key, styles, options) {
2373
+ this.type = 'global';
2374
+ this.at = at;
2375
+ this.rules = void 0;
2376
+ this.options = void 0;
2377
+ this.key = void 0;
2378
+ this.isProcessed = false;
2379
+ this.key = key;
2380
+ this.options = options;
2381
+ this.rules = new RuleList(_extends({}, options, {
2382
+ parent: this
2383
+ }));
2384
+
2385
+ for (var selector in styles) {
2386
+ this.rules.add(selector, styles[selector]);
2387
+ }
2388
+
2389
+ this.rules.process();
2390
+ }
2391
+ /**
2392
+ * Get a rule.
2393
+ */
2394
+
2395
+
2396
+ var _proto = GlobalContainerRule.prototype;
2397
+
2398
+ _proto.getRule = function getRule(name) {
2399
+ return this.rules.get(name);
2400
+ }
2401
+ /**
2402
+ * Create and register rule, run plugins.
2403
+ */
2404
+ ;
2405
+
2406
+ _proto.addRule = function addRule(name, style, options) {
2407
+ var rule = this.rules.add(name, style, options);
2408
+ if (rule) this.options.jss.plugins.onProcessRule(rule);
2409
+ return rule;
2410
+ }
2411
+ /**
2412
+ * Get index of a rule.
2413
+ */
2414
+ ;
2415
+
2416
+ _proto.indexOf = function indexOf(rule) {
2417
+ return this.rules.indexOf(rule);
2418
+ }
2419
+ /**
2420
+ * Generates a CSS string.
2421
+ */
2422
+ ;
2423
+
2424
+ _proto.toString = function toString() {
2425
+ return this.rules.toString();
2426
+ };
2427
+
2428
+ return GlobalContainerRule;
2429
+ }();
2430
+
2431
+ var GlobalPrefixedRule =
2432
+ /*#__PURE__*/
2433
+ function () {
2434
+ function GlobalPrefixedRule(key, style, options) {
2435
+ this.type = 'global';
2436
+ this.at = at;
2437
+ this.options = void 0;
2438
+ this.rule = void 0;
2439
+ this.isProcessed = false;
2440
+ this.key = void 0;
2441
+ this.key = key;
2442
+ this.options = options;
2443
+ var selector = key.substr(atPrefix.length);
2444
+ this.rule = options.jss.createRule(selector, style, _extends({}, options, {
2445
+ parent: this
2446
+ }));
2447
+ }
2448
+
2449
+ var _proto2 = GlobalPrefixedRule.prototype;
2450
+
2451
+ _proto2.toString = function toString(options) {
2452
+ return this.rule ? this.rule.toString(options) : '';
2453
+ };
2454
+
2455
+ return GlobalPrefixedRule;
2456
+ }();
2457
+
2458
+ var separatorRegExp = /\s*,\s*/g;
2459
+
2460
+ function addScope(selector, scope) {
2461
+ var parts = selector.split(separatorRegExp);
2462
+ var scoped = '';
2463
+
2464
+ for (var i = 0; i < parts.length; i++) {
2465
+ scoped += scope + " " + parts[i].trim();
2466
+ if (parts[i + 1]) scoped += ', ';
2467
+ }
2468
+
2469
+ return scoped;
2470
+ }
2471
+
2472
+ function handleNestedGlobalContainerRule(rule, sheet) {
2473
+ var options = rule.options,
2474
+ style = rule.style;
2475
+ var rules = style ? style[at] : null;
2476
+ if (!rules) return;
2477
+
2478
+ for (var name in rules) {
2479
+ sheet.addRule(name, rules[name], _extends({}, options, {
2480
+ selector: addScope(name, rule.selector)
2481
+ }));
2482
+ }
2483
+
2484
+ delete style[at];
2485
+ }
2486
+
2487
+ function handlePrefixedGlobalRule(rule, sheet) {
2488
+ var options = rule.options,
2489
+ style = rule.style;
2490
+
2491
+ for (var prop in style) {
2492
+ if (prop[0] !== '@' || prop.substr(0, at.length) !== at) continue;
2493
+ var selector = addScope(prop.substr(at.length), rule.selector);
2494
+ sheet.addRule(selector, style[prop], _extends({}, options, {
2495
+ selector: selector
2496
+ }));
2497
+ delete style[prop];
2498
+ }
2499
+ }
2500
+ /**
2501
+ * Convert nested rules to separate, remove them from original styles.
2502
+ *
2503
+ * @param {Rule} rule
2504
+ * @api public
2505
+ */
2506
+
2507
+
2508
+ function jssGlobal() {
2509
+ function onCreateRule(name, styles, options) {
2510
+ if (!name) return null;
2511
+
2512
+ if (name === at) {
2513
+ return new GlobalContainerRule(name, styles, options);
2514
+ }
2515
+
2516
+ if (name[0] === '@' && name.substr(0, atPrefix.length) === atPrefix) {
2517
+ return new GlobalPrefixedRule(name, styles, options);
2518
+ }
2519
+
2520
+ var parent = options.parent;
2521
+
2522
+ if (parent) {
2523
+ if (parent.type === 'global' || parent.options.parent && parent.options.parent.type === 'global') {
2524
+ options.scoped = false;
2525
+ }
2526
+ }
2527
+
2528
+ if (options.scoped === false) {
2529
+ options.selector = name;
2530
+ }
2531
+
2532
+ return null;
2533
+ }
2534
+
2535
+ function onProcessRule(rule, sheet) {
2536
+ if (rule.type !== 'style' || !sheet) return;
2537
+ handleNestedGlobalContainerRule(rule, sheet);
2538
+ handlePrefixedGlobalRule(rule, sheet);
2539
+ }
2540
+
2541
+ return {
2542
+ onCreateRule: onCreateRule,
2543
+ onProcessRule: onProcessRule
2544
+ };
2545
+ }
2546
+
2547
+ var isObject = function isObject(obj) {
2548
+ return obj && typeof obj === 'object' && !Array.isArray(obj);
2549
+ };
2550
+
2551
+ var valueNs = "extendCurrValue" + Date.now();
2552
+
2553
+ function mergeExtend(style, rule, sheet, newStyle) {
2554
+ var extendType = typeof style.extend; // Extend using a rule name.
2555
+
2556
+ if (extendType === 'string') {
2557
+ if (!sheet) return;
2558
+ var refRule = sheet.getRule(style.extend);
2559
+ if (!refRule) return;
2560
+
2561
+ if (refRule === rule) {
2562
+ return;
2563
+ }
2564
+
2565
+ var parent = refRule.options.parent;
2566
+
2567
+ if (parent) {
2568
+ var originalStyle = parent.rules.raw[style.extend];
2569
+ extend(originalStyle, rule, sheet, newStyle);
2570
+ }
2571
+
2572
+ return;
2573
+ } // Extend using an array.
2574
+
2575
+
2576
+ if (Array.isArray(style.extend)) {
2577
+ for (var index = 0; index < style.extend.length; index++) {
2578
+ var singleExtend = style.extend[index];
2579
+ var singleStyle = typeof singleExtend === 'string' ? _extends({}, style, {
2580
+ extend: singleExtend
2581
+ }) : style.extend[index];
2582
+ extend(singleStyle, rule, sheet, newStyle);
2583
+ }
2584
+
2585
+ return;
2586
+ } // Extend is a style object.
2587
+
2588
+
2589
+ for (var prop in style.extend) {
2590
+ if (prop === 'extend') {
2591
+ extend(style.extend.extend, rule, sheet, newStyle);
2592
+ continue;
2593
+ }
2594
+
2595
+ if (isObject(style.extend[prop])) {
2596
+ if (!(prop in newStyle)) newStyle[prop] = {};
2597
+ extend(style.extend[prop], rule, sheet, newStyle[prop]);
2598
+ continue;
2599
+ }
2600
+
2601
+ newStyle[prop] = style.extend[prop];
2602
+ }
2603
+ }
2604
+
2605
+ function mergeRest(style, rule, sheet, newStyle) {
2606
+ // Copy base style.
2607
+ for (var prop in style) {
2608
+ if (prop === 'extend') continue;
2609
+
2610
+ if (isObject(newStyle[prop]) && isObject(style[prop])) {
2611
+ extend(style[prop], rule, sheet, newStyle[prop]);
2612
+ continue;
2613
+ }
2614
+
2615
+ if (isObject(style[prop])) {
2616
+ newStyle[prop] = extend(style[prop], rule, sheet);
2617
+ continue;
2618
+ }
2619
+
2620
+ newStyle[prop] = style[prop];
2621
+ }
2622
+ }
2623
+ /**
2624
+ * Recursively extend styles.
2625
+ */
2626
+
2627
+
2628
+ function extend(style, rule, sheet, newStyle) {
2629
+ if (newStyle === void 0) {
2630
+ newStyle = {};
2631
+ }
2632
+
2633
+ mergeExtend(style, rule, sheet, newStyle);
2634
+ mergeRest(style, rule, sheet, newStyle);
2635
+ return newStyle;
2636
+ }
2637
+ /**
2638
+ * Handle `extend` property.
2639
+ *
2640
+ * @param {Rule} rule
2641
+ * @api public
2642
+ */
2643
+
2644
+
2645
+ function jssExtend() {
2646
+ function onProcessStyle(style, rule, sheet) {
2647
+ if ('extend' in style) return extend(style, rule, sheet);
2648
+ return style;
2649
+ }
2650
+
2651
+ function onChangeValue(value, prop, rule) {
2652
+ if (prop !== 'extend') return value; // Value is empty, remove properties set previously.
2653
+
2654
+ if (value == null || value === false) {
2655
+ // $FlowFixMe[prop-missing]
2656
+ for (var key in rule[valueNs]) {
2657
+ rule.prop(key, null);
2658
+ } // $FlowFixMe[prop-missing] Flow complains because there is no indexer property in StyleRule
2659
+
2660
+
2661
+ rule[valueNs] = null;
2662
+ return null;
2663
+ }
2664
+
2665
+ if (typeof value === 'object') {
2666
+ // $FlowFixMe[invalid-in-rhs] This will be an object
2667
+ for (var _key in value) {
2668
+ // $FlowFixMe[incompatible-use] This will be an object
2669
+ rule.prop(_key, value[_key]);
2670
+ } // $FlowFixMe[prop-missing] Flow complains because there is no indexer property in StyleRule
2671
+
2672
+
2673
+ rule[valueNs] = value;
2674
+ } // Make sure we don't set the value in the core.
2675
+
2676
+
2677
+ return null;
2678
+ }
2679
+
2680
+ return {
2681
+ onProcessStyle: onProcessStyle,
2682
+ onChangeValue: onChangeValue
2683
+ };
2684
+ }
2685
+
2686
+ var separatorRegExp$1 = /\s*,\s*/g;
2687
+ var parentRegExp = /&/g;
2688
+ var refRegExp$1 = /\$([\w-]+)/g;
2689
+ /**
2690
+ * Convert nested rules to separate, remove them from original styles.
2691
+ *
2692
+ * @param {Rule} rule
2693
+ * @api public
2694
+ */
2695
+
2696
+ function jssNested() {
2697
+ // Get a function to be used for $ref replacement.
2698
+ function getReplaceRef(container, sheet) {
2699
+ return function (match, key) {
2700
+ var rule = container.getRule(key) || sheet && sheet.getRule(key);
2701
+
2702
+ if (rule) {
2703
+ rule = rule;
2704
+ return rule.selector;
2705
+ }
2706
+ return key;
2707
+ };
2708
+ }
2709
+
2710
+ function replaceParentRefs(nestedProp, parentProp) {
2711
+ var parentSelectors = parentProp.split(separatorRegExp$1);
2712
+ var nestedSelectors = nestedProp.split(separatorRegExp$1);
2713
+ var result = '';
2714
+
2715
+ for (var i = 0; i < parentSelectors.length; i++) {
2716
+ var parent = parentSelectors[i];
2717
+
2718
+ for (var j = 0; j < nestedSelectors.length; j++) {
2719
+ var nested = nestedSelectors[j];
2720
+ if (result) result += ', '; // Replace all & by the parent or prefix & with the parent.
2721
+
2722
+ result += nested.indexOf('&') !== -1 ? nested.replace(parentRegExp, parent) : parent + " " + nested;
2723
+ }
2724
+ }
2725
+
2726
+ return result;
2727
+ }
2728
+
2729
+ function getOptions(rule, container, prevOptions) {
2730
+ // Options has been already created, now we only increase index.
2731
+ if (prevOptions) return _extends({}, prevOptions, {
2732
+ index: prevOptions.index + 1 // $FlowFixMe[prop-missing]
2733
+
2734
+ });
2735
+ var nestingLevel = rule.options.nestingLevel;
2736
+ nestingLevel = nestingLevel === undefined ? 1 : nestingLevel + 1;
2737
+
2738
+ var options = _extends({}, rule.options, {
2739
+ nestingLevel: nestingLevel,
2740
+ index: container.indexOf(rule) + 1 // We don't need the parent name to be set options for chlid.
2741
+
2742
+ });
2743
+
2744
+ delete options.name;
2745
+ return options;
2746
+ }
2747
+
2748
+ function onProcessStyle(style, rule, sheet) {
2749
+ if (rule.type !== 'style') return style;
2750
+ var styleRule = rule;
2751
+ var container = styleRule.options.parent;
2752
+ var options;
2753
+ var replaceRef;
2754
+
2755
+ for (var prop in style) {
2756
+ var isNested = prop.indexOf('&') !== -1;
2757
+ var isNestedConditional = prop[0] === '@';
2758
+ if (!isNested && !isNestedConditional) continue;
2759
+ options = getOptions(styleRule, container, options);
2760
+
2761
+ if (isNested) {
2762
+ var selector = replaceParentRefs(prop, styleRule.selector); // Lazily create the ref replacer function just once for
2763
+ // all nested rules within the sheet.
2764
+
2765
+ if (!replaceRef) replaceRef = getReplaceRef(container, sheet); // Replace all $refs.
2766
+
2767
+ selector = selector.replace(refRegExp$1, replaceRef);
2768
+ container.addRule(selector, style[prop], _extends({}, options, {
2769
+ selector: selector
2770
+ }));
2771
+ } else if (isNestedConditional) {
2772
+ // Place conditional right after the parent rule to ensure right ordering.
2773
+ container.addRule(prop, {}, options) // Flow expects more options but they aren't required
2774
+ // And flow doesn't know this will always be a StyleRule which has the addRule method
2775
+ // $FlowFixMe[incompatible-use]
2776
+ // $FlowFixMe[prop-missing]
2777
+ .addRule(styleRule.key, style[prop], {
2778
+ selector: styleRule.selector
2779
+ });
2780
+ }
2781
+
2782
+ delete style[prop];
2783
+ }
2784
+
2785
+ return style;
2786
+ }
2787
+
2788
+ return {
2789
+ onProcessStyle: onProcessStyle
2790
+ };
2791
+ }
2792
+
2793
+ /**
2794
+ * Set selector.
2795
+ *
2796
+ * @param {Object} original rule
2797
+ * @param {String} className class string
2798
+ * @return {Boolean} flag, indicating function was successfull or not
2799
+ */
2800
+ function registerClass(rule, className) {
2801
+ // Skip falsy values
2802
+ if (!className) return true; // Support array of class names `{composes: ['foo', 'bar']}`
2803
+
2804
+ if (Array.isArray(className)) {
2805
+ for (var index = 0; index < className.length; index++) {
2806
+ var isSetted = registerClass(rule, className[index]);
2807
+ if (!isSetted) return false;
2808
+ }
2809
+
2810
+ return true;
2811
+ } // Support space separated class names `{composes: 'foo bar'}`
2812
+
2813
+
2814
+ if (className.indexOf(' ') > -1) {
2815
+ return registerClass(rule, className.split(' '));
2816
+ }
2817
+
2818
+ var _ref = rule.options,
2819
+ parent = _ref.parent; // It is a ref to a local rule.
2820
+
2821
+ if (className[0] === '$') {
2822
+ var refRule = parent.getRule(className.substr(1));
2823
+
2824
+ if (!refRule) {
2825
+ return false;
2826
+ }
2827
+
2828
+ if (refRule === rule) {
2829
+ return false;
2830
+ }
2831
+
2832
+ parent.classes[rule.key] += " " + parent.classes[refRule.key];
2833
+ return true;
2834
+ }
2835
+
2836
+ parent.classes[rule.key] += " " + className;
2837
+ return true;
2838
+ }
2839
+ /**
2840
+ * Convert compose property to additional class, remove property from original styles.
2841
+ *
2842
+ * @param {Rule} rule
2843
+ * @api public
2844
+ */
2845
+
2846
+
2847
+ function jssCompose() {
2848
+ function onProcessStyle(style, rule) {
2849
+ if (!('composes' in style)) return style;
2850
+ registerClass(rule, style.composes); // Remove composes property to prevent infinite loop.
2851
+
2852
+ delete style.composes;
2853
+ return style;
2854
+ }
2855
+
2856
+ return {
2857
+ onProcessStyle: onProcessStyle
2858
+ };
2859
+ }
2860
+
2861
+ /* eslint-disable no-var, prefer-template */
2862
+ var uppercasePattern = /[A-Z]/g;
2863
+ var msPattern = /^ms-/;
2864
+ var cache = {};
2865
+
2866
+ function toHyphenLower(match) {
2867
+ return '-' + match.toLowerCase()
2868
+ }
2869
+
2870
+ function hyphenateStyleName(name) {
2871
+ if (cache.hasOwnProperty(name)) {
2872
+ return cache[name]
2873
+ }
2874
+
2875
+ var hName = name.replace(uppercasePattern, toHyphenLower);
2876
+ return (cache[name] = msPattern.test(hName) ? '-' + hName : hName)
2877
+ }
2878
+
2879
+ /**
2880
+ * Convert camel cased property names to dash separated.
2881
+ *
2882
+ * @param {Object} style
2883
+ * @return {Object}
2884
+ */
2885
+
2886
+ function convertCase(style) {
2887
+ var converted = {};
2888
+
2889
+ for (var prop in style) {
2890
+ var key = prop.indexOf('--') === 0 ? prop : hyphenateStyleName(prop);
2891
+ converted[key] = style[prop];
2892
+ }
2893
+
2894
+ if (style.fallbacks) {
2895
+ if (Array.isArray(style.fallbacks)) converted.fallbacks = style.fallbacks.map(convertCase);else converted.fallbacks = convertCase(style.fallbacks);
2896
+ }
2897
+
2898
+ return converted;
2899
+ }
2900
+ /**
2901
+ * Allow camel cased property names by converting them back to dasherized.
2902
+ *
2903
+ * @param {Rule} rule
2904
+ */
2905
+
2906
+
2907
+ function camelCase() {
2908
+ function onProcessStyle(style) {
2909
+ if (Array.isArray(style)) {
2910
+ // Handle rules like @font-face, which can have multiple styles in an array
2911
+ for (var index = 0; index < style.length; index++) {
2912
+ style[index] = convertCase(style[index]);
2913
+ }
2914
+
2915
+ return style;
2916
+ }
2917
+
2918
+ return convertCase(style);
2919
+ }
2920
+
2921
+ function onChangeValue(value, prop, rule) {
2922
+ if (prop.indexOf('--') === 0) {
2923
+ return value;
2924
+ }
2925
+
2926
+ var hyphenatedProp = hyphenateStyleName(prop); // There was no camel case in place
2927
+
2928
+ if (prop === hyphenatedProp) return value;
2929
+ rule.prop(hyphenatedProp, value); // Core will ignore that property value we set the proper one above.
2930
+
2931
+ return null;
2932
+ }
2933
+
2934
+ return {
2935
+ onProcessStyle: onProcessStyle,
2936
+ onChangeValue: onChangeValue
2937
+ };
2938
+ }
2939
+
2940
+ var px = hasCSSTOMSupport && CSS ? CSS.px : 'px';
2941
+ var ms = hasCSSTOMSupport && CSS ? CSS.ms : 'ms';
2942
+ var percent = hasCSSTOMSupport && CSS ? CSS.percent : '%';
2943
+ /**
2944
+ * Generated jss-plugin-default-unit CSS property units
2945
+ *
2946
+ * @type object
2947
+ */
2948
+
2949
+ var defaultUnits = {
2950
+ // Animation properties
2951
+ 'animation-delay': ms,
2952
+ 'animation-duration': ms,
2953
+ // Background properties
2954
+ 'background-position': px,
2955
+ 'background-position-x': px,
2956
+ 'background-position-y': px,
2957
+ 'background-size': px,
2958
+ // Border Properties
2959
+ border: px,
2960
+ 'border-bottom': px,
2961
+ 'border-bottom-left-radius': px,
2962
+ 'border-bottom-right-radius': px,
2963
+ 'border-bottom-width': px,
2964
+ 'border-left': px,
2965
+ 'border-left-width': px,
2966
+ 'border-radius': px,
2967
+ 'border-right': px,
2968
+ 'border-right-width': px,
2969
+ 'border-top': px,
2970
+ 'border-top-left-radius': px,
2971
+ 'border-top-right-radius': px,
2972
+ 'border-top-width': px,
2973
+ 'border-width': px,
2974
+ 'border-block': px,
2975
+ 'border-block-end': px,
2976
+ 'border-block-end-width': px,
2977
+ 'border-block-start': px,
2978
+ 'border-block-start-width': px,
2979
+ 'border-block-width': px,
2980
+ 'border-inline': px,
2981
+ 'border-inline-end': px,
2982
+ 'border-inline-end-width': px,
2983
+ 'border-inline-start': px,
2984
+ 'border-inline-start-width': px,
2985
+ 'border-inline-width': px,
2986
+ 'border-start-start-radius': px,
2987
+ 'border-start-end-radius': px,
2988
+ 'border-end-start-radius': px,
2989
+ 'border-end-end-radius': px,
2990
+ // Margin properties
2991
+ margin: px,
2992
+ 'margin-bottom': px,
2993
+ 'margin-left': px,
2994
+ 'margin-right': px,
2995
+ 'margin-top': px,
2996
+ 'margin-block': px,
2997
+ 'margin-block-end': px,
2998
+ 'margin-block-start': px,
2999
+ 'margin-inline': px,
3000
+ 'margin-inline-end': px,
3001
+ 'margin-inline-start': px,
3002
+ // Padding properties
3003
+ padding: px,
3004
+ 'padding-bottom': px,
3005
+ 'padding-left': px,
3006
+ 'padding-right': px,
3007
+ 'padding-top': px,
3008
+ 'padding-block': px,
3009
+ 'padding-block-end': px,
3010
+ 'padding-block-start': px,
3011
+ 'padding-inline': px,
3012
+ 'padding-inline-end': px,
3013
+ 'padding-inline-start': px,
3014
+ // Mask properties
3015
+ 'mask-position-x': px,
3016
+ 'mask-position-y': px,
3017
+ 'mask-size': px,
3018
+ // Width and height properties
3019
+ height: px,
3020
+ width: px,
3021
+ 'min-height': px,
3022
+ 'max-height': px,
3023
+ 'min-width': px,
3024
+ 'max-width': px,
3025
+ // Position properties
3026
+ bottom: px,
3027
+ left: px,
3028
+ top: px,
3029
+ right: px,
3030
+ inset: px,
3031
+ 'inset-block': px,
3032
+ 'inset-block-end': px,
3033
+ 'inset-block-start': px,
3034
+ 'inset-inline': px,
3035
+ 'inset-inline-end': px,
3036
+ 'inset-inline-start': px,
3037
+ // Shadow properties
3038
+ 'box-shadow': px,
3039
+ 'text-shadow': px,
3040
+ // Column properties
3041
+ 'column-gap': px,
3042
+ 'column-rule': px,
3043
+ 'column-rule-width': px,
3044
+ 'column-width': px,
3045
+ // Font and text properties
3046
+ 'font-size': px,
3047
+ 'font-size-delta': px,
3048
+ 'letter-spacing': px,
3049
+ 'text-decoration-thickness': px,
3050
+ 'text-indent': px,
3051
+ 'text-stroke': px,
3052
+ 'text-stroke-width': px,
3053
+ 'word-spacing': px,
3054
+ // Motion properties
3055
+ motion: px,
3056
+ 'motion-offset': px,
3057
+ // Outline properties
3058
+ outline: px,
3059
+ 'outline-offset': px,
3060
+ 'outline-width': px,
3061
+ // Perspective properties
3062
+ perspective: px,
3063
+ 'perspective-origin-x': percent,
3064
+ 'perspective-origin-y': percent,
3065
+ // Transform properties
3066
+ 'transform-origin': percent,
3067
+ 'transform-origin-x': percent,
3068
+ 'transform-origin-y': percent,
3069
+ 'transform-origin-z': percent,
3070
+ // Transition properties
3071
+ 'transition-delay': ms,
3072
+ 'transition-duration': ms,
3073
+ // Alignment properties
3074
+ 'vertical-align': px,
3075
+ 'flex-basis': px,
3076
+ // Some random properties
3077
+ 'shape-margin': px,
3078
+ size: px,
3079
+ gap: px,
3080
+ // Grid properties
3081
+ grid: px,
3082
+ 'grid-gap': px,
3083
+ 'row-gap': px,
3084
+ 'grid-row-gap': px,
3085
+ 'grid-column-gap': px,
3086
+ 'grid-template-rows': px,
3087
+ 'grid-template-columns': px,
3088
+ 'grid-auto-rows': px,
3089
+ 'grid-auto-columns': px,
3090
+ // Not existing properties.
3091
+ // Used to avoid issues with jss-plugin-expand integration.
3092
+ 'box-shadow-x': px,
3093
+ 'box-shadow-y': px,
3094
+ 'box-shadow-blur': px,
3095
+ 'box-shadow-spread': px,
3096
+ 'font-line-height': px,
3097
+ 'text-shadow-x': px,
3098
+ 'text-shadow-y': px,
3099
+ 'text-shadow-blur': px
3100
+ };
3101
+
3102
+ /**
3103
+ * Clones the object and adds a camel cased property version.
3104
+ */
3105
+ function addCamelCasedVersion(obj) {
3106
+ var regExp = /(-[a-z])/g;
3107
+
3108
+ var replace = function replace(str) {
3109
+ return str[1].toUpperCase();
3110
+ };
3111
+
3112
+ var newObj = {};
3113
+
3114
+ for (var _key in obj) {
3115
+ newObj[_key] = obj[_key];
3116
+ newObj[_key.replace(regExp, replace)] = obj[_key];
3117
+ }
3118
+
3119
+ return newObj;
3120
+ }
3121
+
3122
+ var units = addCamelCasedVersion(defaultUnits);
3123
+ /**
3124
+ * Recursive deep style passing function
3125
+ */
3126
+
3127
+ function iterate(prop, value, options) {
3128
+ if (value == null) return value;
3129
+
3130
+ if (Array.isArray(value)) {
3131
+ for (var i = 0; i < value.length; i++) {
3132
+ value[i] = iterate(prop, value[i], options);
3133
+ }
3134
+ } else if (typeof value === 'object') {
3135
+ if (prop === 'fallbacks') {
3136
+ for (var innerProp in value) {
3137
+ value[innerProp] = iterate(innerProp, value[innerProp], options);
3138
+ }
3139
+ } else {
3140
+ for (var _innerProp in value) {
3141
+ value[_innerProp] = iterate(prop + "-" + _innerProp, value[_innerProp], options);
3142
+ }
3143
+ } // eslint-disable-next-line no-restricted-globals
3144
+
3145
+ } else if (typeof value === 'number' && isNaN(value) === false) {
3146
+ var unit = options[prop] || units[prop]; // Add the unit if available, except for the special case of 0px.
3147
+
3148
+ if (unit && !(value === 0 && unit === px)) {
3149
+ return typeof unit === 'function' ? unit(value).toString() : "" + value + unit;
3150
+ }
3151
+
3152
+ return value.toString();
3153
+ }
3154
+
3155
+ return value;
3156
+ }
3157
+ /**
3158
+ * Add unit to numeric values.
3159
+ */
3160
+
3161
+
3162
+ function defaultUnit(options) {
3163
+ if (options === void 0) {
3164
+ options = {};
3165
+ }
3166
+
3167
+ var camelCasedOptions = addCamelCasedVersion(options);
3168
+
3169
+ function onProcessStyle(style, rule) {
3170
+ if (rule.type !== 'style') return style;
3171
+
3172
+ for (var prop in style) {
3173
+ style[prop] = iterate(prop, style[prop], camelCasedOptions);
3174
+ }
3175
+
3176
+ return style;
3177
+ }
3178
+
3179
+ function onChangeValue(value, prop) {
3180
+ return iterate(prop, value, camelCasedOptions);
3181
+ }
3182
+
3183
+ return {
3184
+ onProcessStyle: onProcessStyle,
3185
+ onChangeValue: onChangeValue
3186
+ };
3187
+ }
3188
+
3189
+ /**
3190
+ * A scheme for converting properties from array to regular style.
3191
+ * All properties listed below will be transformed to a string separated by space.
3192
+ */
3193
+ var propArray = {
3194
+ 'background-size': true,
3195
+ 'background-position': true,
3196
+ border: true,
3197
+ 'border-bottom': true,
3198
+ 'border-left': true,
3199
+ 'border-top': true,
3200
+ 'border-right': true,
3201
+ 'border-radius': true,
3202
+ 'border-image': true,
3203
+ 'border-width': true,
3204
+ 'border-style': true,
3205
+ 'border-color': true,
3206
+ 'box-shadow': true,
3207
+ flex: true,
3208
+ margin: true,
3209
+ padding: true,
3210
+ outline: true,
3211
+ 'transform-origin': true,
3212
+ transform: true,
3213
+ transition: true
3214
+ /**
3215
+ * A scheme for converting arrays to regular styles inside of objects.
3216
+ * For e.g.: "{position: [0, 0]}" => "background-position: 0 0;".
3217
+ */
3218
+
3219
+ };
3220
+ var propArrayInObj = {
3221
+ position: true,
3222
+ // background-position
3223
+ size: true // background-size
3224
+
3225
+ /**
3226
+ * A scheme for parsing and building correct styles from passed objects.
3227
+ */
3228
+
3229
+ };
3230
+ var propObj = {
3231
+ padding: {
3232
+ top: 0,
3233
+ right: 0,
3234
+ bottom: 0,
3235
+ left: 0
3236
+ },
3237
+ margin: {
3238
+ top: 0,
3239
+ right: 0,
3240
+ bottom: 0,
3241
+ left: 0
3242
+ },
3243
+ background: {
3244
+ attachment: null,
3245
+ color: null,
3246
+ image: null,
3247
+ position: null,
3248
+ repeat: null
3249
+ },
3250
+ border: {
3251
+ width: null,
3252
+ style: null,
3253
+ color: null
3254
+ },
3255
+ 'border-top': {
3256
+ width: null,
3257
+ style: null,
3258
+ color: null
3259
+ },
3260
+ 'border-right': {
3261
+ width: null,
3262
+ style: null,
3263
+ color: null
3264
+ },
3265
+ 'border-bottom': {
3266
+ width: null,
3267
+ style: null,
3268
+ color: null
3269
+ },
3270
+ 'border-left': {
3271
+ width: null,
3272
+ style: null,
3273
+ color: null
3274
+ },
3275
+ outline: {
3276
+ width: null,
3277
+ style: null,
3278
+ color: null
3279
+ },
3280
+ 'list-style': {
3281
+ type: null,
3282
+ position: null,
3283
+ image: null
3284
+ },
3285
+ transition: {
3286
+ property: null,
3287
+ duration: null,
3288
+ 'timing-function': null,
3289
+ timingFunction: null,
3290
+ // Needed for avoiding comilation issues with jss-plugin-camel-case
3291
+ delay: null
3292
+ },
3293
+ animation: {
3294
+ name: null,
3295
+ duration: null,
3296
+ 'timing-function': null,
3297
+ timingFunction: null,
3298
+ // Needed to avoid compilation issues with jss-plugin-camel-case
3299
+ delay: null,
3300
+ 'iteration-count': null,
3301
+ iterationCount: null,
3302
+ // Needed to avoid compilation issues with jss-plugin-camel-case
3303
+ direction: null,
3304
+ 'fill-mode': null,
3305
+ fillMode: null,
3306
+ // Needed to avoid compilation issues with jss-plugin-camel-case
3307
+ 'play-state': null,
3308
+ playState: null // Needed to avoid compilation issues with jss-plugin-camel-case
3309
+
3310
+ },
3311
+ 'box-shadow': {
3312
+ x: 0,
3313
+ y: 0,
3314
+ blur: 0,
3315
+ spread: 0,
3316
+ color: null,
3317
+ inset: null
3318
+ },
3319
+ 'text-shadow': {
3320
+ x: 0,
3321
+ y: 0,
3322
+ blur: null,
3323
+ color: null
3324
+ }
3325
+ /**
3326
+ * A scheme for converting non-standart properties inside object.
3327
+ * For e.g.: include 'border-radius' property inside 'border' object.
3328
+ */
3329
+
3330
+ };
3331
+ var customPropObj = {
3332
+ border: {
3333
+ radius: 'border-radius',
3334
+ image: 'border-image',
3335
+ width: 'border-width',
3336
+ style: 'border-style',
3337
+ color: 'border-color'
3338
+ },
3339
+ 'border-bottom': {
3340
+ width: 'border-bottom-width',
3341
+ style: 'border-bottom-style',
3342
+ color: 'border-bottom-color'
3343
+ },
3344
+ 'border-top': {
3345
+ width: 'border-top-width',
3346
+ style: 'border-top-style',
3347
+ color: 'border-top-color'
3348
+ },
3349
+ 'border-left': {
3350
+ width: 'border-left-width',
3351
+ style: 'border-left-style',
3352
+ color: 'border-left-color'
3353
+ },
3354
+ 'border-right': {
3355
+ width: 'border-right-width',
3356
+ style: 'border-right-style',
3357
+ color: 'border-right-color'
3358
+ },
3359
+ background: {
3360
+ size: 'background-size',
3361
+ image: 'background-image'
3362
+ },
3363
+ font: {
3364
+ style: 'font-style',
3365
+ variant: 'font-variant',
3366
+ weight: 'font-weight',
3367
+ stretch: 'font-stretch',
3368
+ size: 'font-size',
3369
+ family: 'font-family',
3370
+ lineHeight: 'line-height',
3371
+ // Needed to avoid compilation issues with jss-plugin-camel-case
3372
+ 'line-height': 'line-height'
3373
+ },
3374
+ flex: {
3375
+ grow: 'flex-grow',
3376
+ basis: 'flex-basis',
3377
+ direction: 'flex-direction',
3378
+ wrap: 'flex-wrap',
3379
+ flow: 'flex-flow',
3380
+ shrink: 'flex-shrink'
3381
+ },
3382
+ align: {
3383
+ self: 'align-self',
3384
+ items: 'align-items',
3385
+ content: 'align-content'
3386
+ },
3387
+ grid: {
3388
+ 'template-columns': 'grid-template-columns',
3389
+ templateColumns: 'grid-template-columns',
3390
+ 'template-rows': 'grid-template-rows',
3391
+ templateRows: 'grid-template-rows',
3392
+ 'template-areas': 'grid-template-areas',
3393
+ templateAreas: 'grid-template-areas',
3394
+ template: 'grid-template',
3395
+ 'auto-columns': 'grid-auto-columns',
3396
+ autoColumns: 'grid-auto-columns',
3397
+ 'auto-rows': 'grid-auto-rows',
3398
+ autoRows: 'grid-auto-rows',
3399
+ 'auto-flow': 'grid-auto-flow',
3400
+ autoFlow: 'grid-auto-flow',
3401
+ row: 'grid-row',
3402
+ column: 'grid-column',
3403
+ 'row-start': 'grid-row-start',
3404
+ rowStart: 'grid-row-start',
3405
+ 'row-end': 'grid-row-end',
3406
+ rowEnd: 'grid-row-end',
3407
+ 'column-start': 'grid-column-start',
3408
+ columnStart: 'grid-column-start',
3409
+ 'column-end': 'grid-column-end',
3410
+ columnEnd: 'grid-column-end',
3411
+ area: 'grid-area',
3412
+ gap: 'grid-gap',
3413
+ 'row-gap': 'grid-row-gap',
3414
+ rowGap: 'grid-row-gap',
3415
+ 'column-gap': 'grid-column-gap',
3416
+ columnGap: 'grid-column-gap'
3417
+ }
3418
+ };
3419
+
3420
+ /* eslint-disable no-use-before-define */
3421
+
3422
+ /**
3423
+ * Map values by given prop.
3424
+ *
3425
+ * @param {Array} array of values
3426
+ * @param {String} original property
3427
+ * @param {String} original rule
3428
+ * @return {String} mapped values
3429
+ */
3430
+ function mapValuesByProp(value, prop, rule) {
3431
+ return value.map(function (item) {
3432
+ return objectToArray(item, prop, rule, false, true);
3433
+ });
3434
+ }
3435
+ /**
3436
+ * Convert array to nested array, if needed
3437
+ */
3438
+
3439
+
3440
+ function processArray(value, prop, scheme, rule) {
3441
+ if (scheme[prop] == null) return value;
3442
+ if (value.length === 0) return [];
3443
+ if (Array.isArray(value[0])) return processArray(value[0], prop, scheme, rule);
3444
+
3445
+ if (typeof value[0] === 'object') {
3446
+ return mapValuesByProp(value, prop, rule);
3447
+ }
3448
+
3449
+ return [value];
3450
+ }
3451
+ /**
3452
+ * Convert object to array.
3453
+ */
3454
+
3455
+
3456
+ function objectToArray(value, prop, rule, isFallback, isInArray) {
3457
+ if (!(propObj[prop] || customPropObj[prop])) return [];
3458
+ var result = []; // Check if exists any non-standard property
3459
+
3460
+ if (customPropObj[prop]) {
3461
+ // eslint-disable-next-line no-param-reassign
3462
+ value = customPropsToStyle(value, rule, customPropObj[prop], isFallback);
3463
+ } // Pass throught all standart props
3464
+
3465
+
3466
+ if (Object.keys(value).length) {
3467
+ for (var baseProp in propObj[prop]) {
3468
+ if (value[baseProp]) {
3469
+ if (Array.isArray(value[baseProp])) {
3470
+ result.push(propArrayInObj[baseProp] === null ? value[baseProp] : value[baseProp].join(' '));
3471
+ } else result.push(value[baseProp]);
3472
+
3473
+ continue;
3474
+ } // Add default value from props config.
3475
+
3476
+
3477
+ if (propObj[prop][baseProp] != null) {
3478
+ result.push(propObj[prop][baseProp]);
3479
+ }
3480
+ }
3481
+ }
3482
+
3483
+ if (!result.length || isInArray) return result;
3484
+ return [result];
3485
+ }
3486
+ /**
3487
+ * Convert custom properties values to styles adding them to rule directly
3488
+ */
3489
+
3490
+
3491
+ function customPropsToStyle(value, rule, customProps, isFallback) {
3492
+ for (var prop in customProps) {
3493
+ var propName = customProps[prop]; // If current property doesn't exist already in rule - add new one
3494
+
3495
+ if (typeof value[prop] !== 'undefined' && (isFallback || !rule.prop(propName))) {
3496
+ var _styleDetector;
3497
+
3498
+ var appendedValue = styleDetector((_styleDetector = {}, _styleDetector[propName] = value[prop], _styleDetector), rule)[propName]; // Add style directly in rule
3499
+
3500
+ if (isFallback) rule.style.fallbacks[propName] = appendedValue;else rule.style[propName] = appendedValue;
3501
+ } // Delete converted property to avoid double converting
3502
+
3503
+
3504
+ delete value[prop];
3505
+ }
3506
+
3507
+ return value;
3508
+ }
3509
+ /**
3510
+ * Detect if a style needs to be converted.
3511
+ */
3512
+
3513
+
3514
+ function styleDetector(style, rule, isFallback) {
3515
+ for (var prop in style) {
3516
+ var value = style[prop];
3517
+
3518
+ if (Array.isArray(value)) {
3519
+ // Check double arrays to avoid recursion.
3520
+ if (!Array.isArray(value[0])) {
3521
+ if (prop === 'fallbacks') {
3522
+ for (var index = 0; index < style.fallbacks.length; index++) {
3523
+ style.fallbacks[index] = styleDetector(style.fallbacks[index], rule, true);
3524
+ }
3525
+
3526
+ continue;
3527
+ }
3528
+
3529
+ style[prop] = processArray(value, prop, propArray, rule); // Avoid creating properties with empty values
3530
+
3531
+ if (!style[prop].length) delete style[prop];
3532
+ }
3533
+ } else if (typeof value === 'object') {
3534
+ if (prop === 'fallbacks') {
3535
+ style.fallbacks = styleDetector(style.fallbacks, rule, true);
3536
+ continue;
3537
+ }
3538
+
3539
+ style[prop] = objectToArray(value, prop, rule, isFallback); // Avoid creating properties with empty values
3540
+
3541
+ if (!style[prop].length) delete style[prop];
3542
+ } // Maybe a computed value resulting in an empty string
3543
+ else if (style[prop] === '') delete style[prop];
3544
+ }
3545
+
3546
+ return style;
3547
+ }
3548
+ /**
3549
+ * Adds possibility to write expanded styles.
3550
+ */
3551
+
3552
+
3553
+ function jssExpand() {
3554
+ function onProcessStyle(style, rule) {
3555
+ if (!style || rule.type !== 'style') return style;
3556
+
3557
+ if (Array.isArray(style)) {
3558
+ // Pass rules one by one and reformat them
3559
+ for (var index = 0; index < style.length; index++) {
3560
+ style[index] = styleDetector(style[index], rule);
3561
+ }
3562
+
3563
+ return style;
3564
+ }
3565
+
3566
+ return styleDetector(style, rule);
3567
+ }
3568
+
3569
+ return {
3570
+ onProcessStyle: onProcessStyle
3571
+ };
3572
+ }
3573
+
3574
+ function _arrayLikeToArray(arr, len) {
3575
+ if (len == null || len > arr.length) len = arr.length;
3576
+
3577
+ for (var i = 0, arr2 = new Array(len); i < len; i++) {
3578
+ arr2[i] = arr[i];
3579
+ }
3580
+
3581
+ return arr2;
3582
+ }
3583
+
3584
+ function _arrayWithoutHoles(arr) {
3585
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
3586
+ }
3587
+
3588
+ function _iterableToArray(iter) {
3589
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
3590
+ }
3591
+
3592
+ function _unsupportedIterableToArray(o, minLen) {
3593
+ if (!o) return;
3594
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
3595
+ var n = Object.prototype.toString.call(o).slice(8, -1);
3596
+ if (n === "Object" && o.constructor) n = o.constructor.name;
3597
+ if (n === "Map" || n === "Set") return Array.from(o);
3598
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
3599
+ }
3600
+
3601
+ function _nonIterableSpread() {
3602
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
3603
+ }
3604
+
3605
+ function _toConsumableArray(arr) {
3606
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
3607
+ }
3608
+
3609
+ // Export javascript style and css style vendor prefixes.
3610
+ var js = '';
3611
+ var css = '';
3612
+ var vendor = '';
3613
+ var browser = '';
3614
+ var isTouch = isBrowser && 'ontouchstart' in document.documentElement; // We should not do anything if required serverside.
3615
+
3616
+ if (isBrowser) {
3617
+ // Order matters. We need to check Webkit the last one because
3618
+ // other vendors use to add Webkit prefixes to some properties
3619
+ var jsCssMap = {
3620
+ Moz: '-moz-',
3621
+ ms: '-ms-',
3622
+ O: '-o-',
3623
+ Webkit: '-webkit-'
3624
+ };
3625
+
3626
+ var _document$createEleme = document.createElement('p'),
3627
+ style = _document$createEleme.style;
3628
+
3629
+ var testProp = 'Transform';
3630
+
3631
+ for (var key in jsCssMap) {
3632
+ if (key + testProp in style) {
3633
+ js = key;
3634
+ css = jsCssMap[key];
3635
+ break;
3636
+ }
3637
+ } // Correctly detect the Edge browser.
3638
+
3639
+
3640
+ if (js === 'Webkit' && 'msHyphens' in style) {
3641
+ js = 'ms';
3642
+ css = jsCssMap.ms;
3643
+ browser = 'edge';
3644
+ } // Correctly detect the Safari browser.
3645
+
3646
+
3647
+ if (js === 'Webkit' && '-apple-trailing-word' in style) {
3648
+ vendor = 'apple';
3649
+ }
3650
+ }
3651
+ /**
3652
+ * Vendor prefix string for the current browser.
3653
+ *
3654
+ * @type {{js: String, css: String, vendor: String, browser: String}}
3655
+ * @api public
3656
+ */
3657
+
3658
+
3659
+ var prefix = {
3660
+ js: js,
3661
+ css: css,
3662
+ vendor: vendor,
3663
+ browser: browser,
3664
+ isTouch: isTouch
3665
+ };
3666
+
3667
+ /**
3668
+ * Test if a keyframe at-rule should be prefixed or not
3669
+ *
3670
+ * @param {String} vendor prefix string for the current browser.
3671
+ * @return {String}
3672
+ * @api public
3673
+ */
3674
+
3675
+ function supportedKeyframes(key) {
3676
+ // Keyframes is already prefixed. e.g. key = '@-webkit-keyframes a'
3677
+ if (key[1] === '-') return key; // No need to prefix IE/Edge. Older browsers will ignore unsupported rules.
3678
+ // https://caniuse.com/#search=keyframes
3679
+
3680
+ if (prefix.js === 'ms') return key;
3681
+ return "@" + prefix.css + "keyframes" + key.substr(10);
3682
+ }
3683
+
3684
+ // https://caniuse.com/#search=appearance
3685
+
3686
+ var appearence = {
3687
+ noPrefill: ['appearance'],
3688
+ supportedProperty: function supportedProperty(prop) {
3689
+ if (prop !== 'appearance') return false;
3690
+ if (prefix.js === 'ms') return "-webkit-" + prop;
3691
+ return prefix.css + prop;
3692
+ }
3693
+ };
3694
+
3695
+ // https://caniuse.com/#search=color-adjust
3696
+
3697
+ var colorAdjust = {
3698
+ noPrefill: ['color-adjust'],
3699
+ supportedProperty: function supportedProperty(prop) {
3700
+ if (prop !== 'color-adjust') return false;
3701
+ if (prefix.js === 'Webkit') return prefix.css + "print-" + prop;
3702
+ return prop;
3703
+ }
3704
+ };
3705
+
3706
+ var regExp = /[-\s]+(.)?/g;
3707
+ /**
3708
+ * Replaces the letter with the capital letter
3709
+ *
3710
+ * @param {String} match
3711
+ * @param {String} c
3712
+ * @return {String}
3713
+ * @api private
3714
+ */
3715
+
3716
+ function toUpper(match, c) {
3717
+ return c ? c.toUpperCase() : '';
3718
+ }
3719
+ /**
3720
+ * Convert dash separated strings to camel-cased.
3721
+ *
3722
+ * @param {String} str
3723
+ * @return {String}
3724
+ * @api private
3725
+ */
3726
+
3727
+
3728
+ function camelize(str) {
3729
+ return str.replace(regExp, toUpper);
3730
+ }
3731
+
3732
+ /**
3733
+ * Convert dash separated strings to pascal cased.
3734
+ *
3735
+ * @param {String} str
3736
+ * @return {String}
3737
+ * @api private
3738
+ */
3739
+
3740
+ function pascalize(str) {
3741
+ return camelize("-" + str);
3742
+ }
3743
+
3744
+ // but we can use a longhand property instead.
3745
+ // https://caniuse.com/#search=mask
3746
+
3747
+ var mask = {
3748
+ noPrefill: ['mask'],
3749
+ supportedProperty: function supportedProperty(prop, style) {
3750
+ if (!/^mask/.test(prop)) return false;
3751
+
3752
+ if (prefix.js === 'Webkit') {
3753
+ var longhand = 'mask-image';
3754
+
3755
+ if (camelize(longhand) in style) {
3756
+ return prop;
3757
+ }
3758
+
3759
+ if (prefix.js + pascalize(longhand) in style) {
3760
+ return prefix.css + prop;
3761
+ }
3762
+ }
3763
+
3764
+ return prop;
3765
+ }
3766
+ };
3767
+
3768
+ // https://caniuse.com/#search=text-orientation
3769
+
3770
+ var textOrientation = {
3771
+ noPrefill: ['text-orientation'],
3772
+ supportedProperty: function supportedProperty(prop) {
3773
+ if (prop !== 'text-orientation') return false;
3774
+
3775
+ if (prefix.vendor === 'apple' && !prefix.isTouch) {
3776
+ return prefix.css + prop;
3777
+ }
3778
+
3779
+ return prop;
3780
+ }
3781
+ };
3782
+
3783
+ // https://caniuse.com/#search=transform
3784
+
3785
+ var transform = {
3786
+ noPrefill: ['transform'],
3787
+ supportedProperty: function supportedProperty(prop, style, options) {
3788
+ if (prop !== 'transform') return false;
3789
+
3790
+ if (options.transform) {
3791
+ return prop;
3792
+ }
3793
+
3794
+ return prefix.css + prop;
3795
+ }
3796
+ };
3797
+
3798
+ // https://caniuse.com/#search=transition
3799
+
3800
+ var transition = {
3801
+ noPrefill: ['transition'],
3802
+ supportedProperty: function supportedProperty(prop, style, options) {
3803
+ if (prop !== 'transition') return false;
3804
+
3805
+ if (options.transition) {
3806
+ return prop;
3807
+ }
3808
+
3809
+ return prefix.css + prop;
3810
+ }
3811
+ };
3812
+
3813
+ // https://caniuse.com/#search=writing-mode
3814
+
3815
+ var writingMode = {
3816
+ noPrefill: ['writing-mode'],
3817
+ supportedProperty: function supportedProperty(prop) {
3818
+ if (prop !== 'writing-mode') return false;
3819
+
3820
+ if (prefix.js === 'Webkit' || prefix.js === 'ms' && prefix.browser !== 'edge') {
3821
+ return prefix.css + prop;
3822
+ }
3823
+
3824
+ return prop;
3825
+ }
3826
+ };
3827
+
3828
+ // https://caniuse.com/#search=user-select
3829
+
3830
+ var userSelect = {
3831
+ noPrefill: ['user-select'],
3832
+ supportedProperty: function supportedProperty(prop) {
3833
+ if (prop !== 'user-select') return false;
3834
+
3835
+ if (prefix.js === 'Moz' || prefix.js === 'ms' || prefix.vendor === 'apple') {
3836
+ return prefix.css + prop;
3837
+ }
3838
+
3839
+ return prop;
3840
+ }
3841
+ };
3842
+
3843
+ // https://caniuse.com/#search=multicolumn
3844
+ // https://github.com/postcss/autoprefixer/issues/491
3845
+ // https://github.com/postcss/autoprefixer/issues/177
3846
+
3847
+ var breakPropsOld = {
3848
+ supportedProperty: function supportedProperty(prop, style) {
3849
+ if (!/^break-/.test(prop)) return false;
3850
+
3851
+ if (prefix.js === 'Webkit') {
3852
+ var jsProp = "WebkitColumn" + pascalize(prop);
3853
+ return jsProp in style ? prefix.css + "column-" + prop : false;
3854
+ }
3855
+
3856
+ if (prefix.js === 'Moz') {
3857
+ var _jsProp = "page" + pascalize(prop);
3858
+
3859
+ return _jsProp in style ? "page-" + prop : false;
3860
+ }
3861
+
3862
+ return false;
3863
+ }
3864
+ };
3865
+
3866
+ // See https://github.com/postcss/autoprefixer/issues/324.
3867
+
3868
+ var inlineLogicalOld = {
3869
+ supportedProperty: function supportedProperty(prop, style) {
3870
+ if (!/^(border|margin|padding)-inline/.test(prop)) return false;
3871
+ if (prefix.js === 'Moz') return prop;
3872
+ var newProp = prop.replace('-inline', '');
3873
+ return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
3874
+ }
3875
+ };
3876
+
3877
+ // Camelization is required because we can't test using.
3878
+ // CSS syntax for e.g. in FF.
3879
+
3880
+ var unprefixed = {
3881
+ supportedProperty: function supportedProperty(prop, style) {
3882
+ return camelize(prop) in style ? prop : false;
3883
+ }
3884
+ };
3885
+
3886
+ var prefixed = {
3887
+ supportedProperty: function supportedProperty(prop, style) {
3888
+ var pascalized = pascalize(prop); // Return custom CSS variable without prefixing.
3889
+
3890
+ if (prop[0] === '-') return prop; // Return already prefixed value without prefixing.
3891
+
3892
+ if (prop[0] === '-' && prop[1] === '-') return prop;
3893
+ if (prefix.js + pascalized in style) return prefix.css + prop; // Try webkit fallback.
3894
+
3895
+ if (prefix.js !== 'Webkit' && "Webkit" + pascalized in style) return "-webkit-" + prop;
3896
+ return false;
3897
+ }
3898
+ };
3899
+
3900
+ // https://caniuse.com/#search=scroll-snap
3901
+
3902
+ var scrollSnap = {
3903
+ supportedProperty: function supportedProperty(prop) {
3904
+ if (prop.substring(0, 11) !== 'scroll-snap') return false;
3905
+
3906
+ if (prefix.js === 'ms') {
3907
+ return "" + prefix.css + prop;
3908
+ }
3909
+
3910
+ return prop;
3911
+ }
3912
+ };
3913
+
3914
+ // https://caniuse.com/#search=overscroll-behavior
3915
+
3916
+ var overscrollBehavior = {
3917
+ supportedProperty: function supportedProperty(prop) {
3918
+ if (prop !== 'overscroll-behavior') return false;
3919
+
3920
+ if (prefix.js === 'ms') {
3921
+ return prefix.css + "scroll-chaining";
3922
+ }
3923
+
3924
+ return prop;
3925
+ }
3926
+ };
3927
+
3928
+ var propMap = {
3929
+ 'flex-grow': 'flex-positive',
3930
+ 'flex-shrink': 'flex-negative',
3931
+ 'flex-basis': 'flex-preferred-size',
3932
+ 'justify-content': 'flex-pack',
3933
+ order: 'flex-order',
3934
+ 'align-items': 'flex-align',
3935
+ 'align-content': 'flex-line-pack' // 'align-self' is handled by 'align-self' plugin.
3936
+
3937
+ }; // Support old flex spec from 2012.
3938
+
3939
+ var flex2012 = {
3940
+ supportedProperty: function supportedProperty(prop, style) {
3941
+ var newProp = propMap[prop];
3942
+ if (!newProp) return false;
3943
+ return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
3944
+ }
3945
+ };
3946
+
3947
+ var propMap$1 = {
3948
+ flex: 'box-flex',
3949
+ 'flex-grow': 'box-flex',
3950
+ 'flex-direction': ['box-orient', 'box-direction'],
3951
+ order: 'box-ordinal-group',
3952
+ 'align-items': 'box-align',
3953
+ 'flex-flow': ['box-orient', 'box-direction'],
3954
+ 'justify-content': 'box-pack'
3955
+ };
3956
+ var propKeys = Object.keys(propMap$1);
3957
+
3958
+ var prefixCss = function prefixCss(p) {
3959
+ return prefix.css + p;
3960
+ }; // Support old flex spec from 2009.
3961
+
3962
+
3963
+ var flex2009 = {
3964
+ supportedProperty: function supportedProperty(prop, style, _ref) {
3965
+ var multiple = _ref.multiple;
3966
+
3967
+ if (propKeys.indexOf(prop) > -1) {
3968
+ var newProp = propMap$1[prop];
3969
+
3970
+ if (!Array.isArray(newProp)) {
3971
+ return prefix.js + pascalize(newProp) in style ? prefix.css + newProp : false;
3972
+ }
3973
+
3974
+ if (!multiple) return false;
3975
+
3976
+ for (var i = 0; i < newProp.length; i++) {
3977
+ if (!(prefix.js + pascalize(newProp[0]) in style)) {
3978
+ return false;
3979
+ }
3980
+ }
3981
+
3982
+ return newProp.map(prefixCss);
3983
+ }
3984
+
3985
+ return false;
3986
+ }
3987
+ };
3988
+
3989
+ // plugins = [
3990
+ // ...plugins,
3991
+ // breakPropsOld,
3992
+ // inlineLogicalOld,
3993
+ // unprefixed,
3994
+ // prefixed,
3995
+ // scrollSnap,
3996
+ // flex2012,
3997
+ // flex2009
3998
+ // ]
3999
+ // Plugins without 'noPrefill' value, going last.
4000
+ // 'flex-*' plugins should be at the bottom.
4001
+ // 'flex2009' going after 'flex2012'.
4002
+ // 'prefixed' going after 'unprefixed'
4003
+
4004
+ var plugins$1 = [appearence, colorAdjust, mask, textOrientation, transform, transition, writingMode, userSelect, breakPropsOld, inlineLogicalOld, unprefixed, prefixed, scrollSnap, overscrollBehavior, flex2012, flex2009];
4005
+ var propertyDetectors = plugins$1.filter(function (p) {
4006
+ return p.supportedProperty;
4007
+ }).map(function (p) {
4008
+ return p.supportedProperty;
4009
+ });
4010
+ var noPrefill = plugins$1.filter(function (p) {
4011
+ return p.noPrefill;
4012
+ }).reduce(function (a, p) {
4013
+ a.push.apply(a, _toConsumableArray(p.noPrefill));
4014
+ return a;
4015
+ }, []);
4016
+
4017
+ var el;
4018
+ var cache$1 = {};
4019
+
4020
+ if (isBrowser) {
4021
+ el = document.createElement('p'); // We test every property on vendor prefix requirement.
4022
+ // Once tested, result is cached. It gives us up to 70% perf boost.
4023
+ // http://jsperf.com/element-style-object-access-vs-plain-object
4024
+ //
4025
+ // Prefill cache with known css properties to reduce amount of
4026
+ // properties we need to feature test at runtime.
4027
+ // http://davidwalsh.name/vendor-prefix
4028
+
4029
+ var computed = window.getComputedStyle(document.documentElement, '');
4030
+
4031
+ for (var key$1 in computed) {
4032
+ // eslint-disable-next-line no-restricted-globals
4033
+ if (!isNaN(key$1)) cache$1[computed[key$1]] = computed[key$1];
4034
+ } // Properties that cannot be correctly detected using the
4035
+ // cache prefill method.
4036
+
4037
+
4038
+ noPrefill.forEach(function (x) {
4039
+ return delete cache$1[x];
4040
+ });
4041
+ }
4042
+ /**
4043
+ * Test if a property is supported, returns supported property with vendor
4044
+ * prefix if required. Returns `false` if not supported.
4045
+ *
4046
+ * @param {String} prop dash separated
4047
+ * @param {Object} [options]
4048
+ * @return {String|Boolean}
4049
+ * @api public
4050
+ */
4051
+
4052
+
4053
+ function supportedProperty(prop, options) {
4054
+ if (options === void 0) {
4055
+ options = {};
4056
+ }
4057
+
4058
+ // For server-side rendering.
4059
+ if (!el) return prop; // Remove cache for benchmark tests or return property from the cache.
4060
+
4061
+ if ( cache$1[prop] != null) {
4062
+ return cache$1[prop];
4063
+ } // Check if 'transition' or 'transform' natively supported in browser.
4064
+
4065
+
4066
+ if (prop === 'transition' || prop === 'transform') {
4067
+ options[prop] = prop in el.style;
4068
+ } // Find a plugin for current prefix property.
4069
+
4070
+
4071
+ for (var i = 0; i < propertyDetectors.length; i++) {
4072
+ cache$1[prop] = propertyDetectors[i](prop, el.style, options); // Break loop, if value found.
4073
+
4074
+ if (cache$1[prop]) break;
4075
+ } // Reset styles for current property.
4076
+ // Firefox can even throw an error for invalid properties, e.g., "0".
4077
+
4078
+
4079
+ try {
4080
+ el.style[prop] = '';
4081
+ } catch (err) {
4082
+ return false;
4083
+ }
4084
+
4085
+ return cache$1[prop];
4086
+ }
4087
+
4088
+ var cache$1$1 = {};
4089
+ var transitionProperties = {
4090
+ transition: 1,
4091
+ 'transition-property': 1,
4092
+ '-webkit-transition': 1,
4093
+ '-webkit-transition-property': 1
4094
+ };
4095
+ var transPropsRegExp = /(^\s*[\w-]+)|, (\s*[\w-]+)(?![^()]*\))/g;
4096
+ var el$1;
4097
+ /**
4098
+ * Returns prefixed value transition/transform if needed.
4099
+ *
4100
+ * @param {String} match
4101
+ * @param {String} p1
4102
+ * @param {String} p2
4103
+ * @return {String}
4104
+ * @api private
4105
+ */
4106
+
4107
+ function prefixTransitionCallback(match, p1, p2) {
4108
+ if (p1 === 'var') return 'var';
4109
+ if (p1 === 'all') return 'all';
4110
+ if (p2 === 'all') return ', all';
4111
+ var prefixedValue = p1 ? supportedProperty(p1) : ", " + supportedProperty(p2);
4112
+ if (!prefixedValue) return p1 || p2;
4113
+ return prefixedValue;
4114
+ }
4115
+
4116
+ if (isBrowser) el$1 = document.createElement('p');
4117
+ /**
4118
+ * Returns prefixed value if needed. Returns `false` if value is not supported.
4119
+ *
4120
+ * @param {String} property
4121
+ * @param {String} value
4122
+ * @return {String|Boolean}
4123
+ * @api public
4124
+ */
4125
+
4126
+ function supportedValue(property, value) {
4127
+ // For server-side rendering.
4128
+ var prefixedValue = value;
4129
+ if (!el$1 || property === 'content') return value; // It is a string or a number as a string like '1'.
4130
+ // We want only prefixable values here.
4131
+ // eslint-disable-next-line no-restricted-globals
4132
+
4133
+ if (typeof prefixedValue !== 'string' || !isNaN(parseInt(prefixedValue, 10))) {
4134
+ return prefixedValue;
4135
+ } // Create cache key for current value.
4136
+
4137
+
4138
+ var cacheKey = property + prefixedValue; // Remove cache for benchmark tests or return value from cache.
4139
+
4140
+ if ( cache$1$1[cacheKey] != null) {
4141
+ return cache$1$1[cacheKey];
4142
+ } // IE can even throw an error in some cases, for e.g. style.content = 'bar'.
4143
+
4144
+
4145
+ try {
4146
+ // Test value as it is.
4147
+ el$1.style[property] = prefixedValue;
4148
+ } catch (err) {
4149
+ // Return false if value not supported.
4150
+ cache$1$1[cacheKey] = false;
4151
+ return false;
4152
+ } // If 'transition' or 'transition-property' property.
4153
+
4154
+
4155
+ if (transitionProperties[property]) {
4156
+ prefixedValue = prefixedValue.replace(transPropsRegExp, prefixTransitionCallback);
4157
+ } else if (el$1.style[property] === '') {
4158
+ // Value with a vendor prefix.
4159
+ prefixedValue = prefix.css + prefixedValue; // Hardcode test to convert "flex" to "-ms-flexbox" for IE10.
4160
+
4161
+ if (prefixedValue === '-ms-flex') el$1.style[property] = '-ms-flexbox'; // Test prefixed value.
4162
+
4163
+ el$1.style[property] = prefixedValue; // Return false if value not supported.
4164
+
4165
+ if (el$1.style[property] === '') {
4166
+ cache$1$1[cacheKey] = false;
4167
+ return false;
4168
+ }
4169
+ } // Reset styles for current property.
4170
+
4171
+
4172
+ el$1.style[property] = ''; // Write current value to cache.
4173
+
4174
+ cache$1$1[cacheKey] = prefixedValue;
4175
+ return cache$1$1[cacheKey];
4176
+ }
4177
+
4178
+ /**
4179
+ * Add vendor prefix to a property name when needed.
4180
+ *
4181
+ * @api public
4182
+ */
4183
+
4184
+ function jssVendorPrefixer() {
4185
+ function onProcessRule(rule) {
4186
+ if (rule.type === 'keyframes') {
4187
+ var atRule = rule;
4188
+ atRule.at = supportedKeyframes(atRule.at);
4189
+ }
4190
+ }
4191
+
4192
+ function prefixStyle(style) {
4193
+ for (var prop in style) {
4194
+ var value = style[prop];
4195
+
4196
+ if (prop === 'fallbacks' && Array.isArray(value)) {
4197
+ style[prop] = value.map(prefixStyle);
4198
+ continue;
4199
+ }
4200
+
4201
+ var changeProp = false;
4202
+ var supportedProp = supportedProperty(prop);
4203
+ if (supportedProp && supportedProp !== prop) changeProp = true;
4204
+ var changeValue = false;
4205
+ var supportedValue$1 = supportedValue(supportedProp, toCssValue(value));
4206
+ if (supportedValue$1 && supportedValue$1 !== value) changeValue = true;
4207
+
4208
+ if (changeProp || changeValue) {
4209
+ if (changeProp) delete style[prop];
4210
+ style[supportedProp || prop] = supportedValue$1 || value;
4211
+ }
4212
+ }
4213
+
4214
+ return style;
4215
+ }
4216
+
4217
+ function onProcessStyle(style, rule) {
4218
+ if (rule.type !== 'style') return style;
4219
+ return prefixStyle(style);
4220
+ }
4221
+
4222
+ function onChangeValue(value, prop) {
4223
+ return supportedValue(prop, toCssValue(value)) || value;
4224
+ }
4225
+
4226
+ return {
4227
+ onProcessRule: onProcessRule,
4228
+ onProcessStyle: onProcessStyle,
4229
+ onChangeValue: onChangeValue
4230
+ };
4231
+ }
4232
+
4233
+ /**
4234
+ * Sort props by length.
4235
+ */
4236
+ function jssPropsSort() {
4237
+ var sort = function sort(prop0, prop1) {
4238
+ if (prop0.length === prop1.length) {
4239
+ return prop0 > prop1 ? 1 : -1;
4240
+ }
4241
+
4242
+ return prop0.length - prop1.length;
4243
+ };
4244
+
4245
+ return {
4246
+ onProcessStyle: function onProcessStyle(style, rule) {
4247
+ if (rule.type !== 'style') return style;
4248
+ var newStyle = {};
4249
+ var props = Object.keys(style).sort(sort);
4250
+
4251
+ for (var i = 0; i < props.length; i++) {
4252
+ newStyle[props[i]] = style[props[i]];
4253
+ }
4254
+
4255
+ return newStyle;
4256
+ }
4257
+ };
4258
+ }
4259
+
4260
+ var create$1 = function create(options) {
4261
+ if (options === void 0) {
4262
+ options = {};
4263
+ }
4264
+
4265
+ return {
4266
+ plugins: [functionPlugin(), observablePlugin(options.observable), templatePlugin(), jssGlobal(), jssExtend(), jssNested(), jssCompose(), camelCase(), defaultUnit(options.defaultUnit), jssExpand(), jssVendorPrefixer(), jssPropsSort()]
4267
+ };
4268
+ };
4269
+
4270
+ export { create$1 as c, jss as j };