@mhmo91/schmancy 0.2.23 → 0.2.27

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 (231) hide show
  1. package/dist/{animated-text-Dj6eM2tE.cjs → animated-text-C5zM-91H.cjs} +2 -2
  2. package/dist/{animated-text-Dj6eM2tE.cjs.map → animated-text-C5zM-91H.cjs.map} +1 -1
  3. package/dist/{animated-text-CUx9CM5O.js → animated-text-IHZ7LNnc.js} +3 -3
  4. package/dist/{animated-text-CUx9CM5O.js.map → animated-text-IHZ7LNnc.js.map} +1 -1
  5. package/dist/animated-text.cjs +1 -1
  6. package/dist/animated-text.js +1 -1
  7. package/dist/area.cjs +1 -1
  8. package/dist/{area.component-B3adb0Y6.js → area.component-BrPf_qdG.js} +3 -3
  9. package/dist/{area.component-B3adb0Y6.js.map → area.component-BrPf_qdG.js.map} +1 -1
  10. package/dist/{area.component-Do3Jb3jC.cjs → area.component-DCLLi1YA.cjs} +2 -2
  11. package/dist/{area.component-Do3Jb3jC.cjs.map → area.component-DCLLi1YA.cjs.map} +1 -1
  12. package/dist/area.js +1 -1
  13. package/dist/{autocomplete-BUOnKDbI.js → autocomplete-CcDfKbfJ.js} +3 -3
  14. package/dist/{autocomplete-BUOnKDbI.js.map → autocomplete-CcDfKbfJ.js.map} +1 -1
  15. package/dist/{autocomplete-U3vu-siT.cjs → autocomplete-Dfq-Rhjy.cjs} +2 -2
  16. package/dist/{autocomplete-U3vu-siT.cjs.map → autocomplete-Dfq-Rhjy.cjs.map} +1 -1
  17. package/dist/autocomplete.cjs +1 -1
  18. package/dist/autocomplete.js +1 -1
  19. package/dist/busy.cjs +1 -1
  20. package/dist/busy.js +1 -1
  21. package/dist/button.cjs +1 -1
  22. package/dist/button.js +1 -1
  23. package/dist/card.cjs +1 -1
  24. package/dist/card.js +1 -1
  25. package/dist/{checkbox-FZpN0Mgj.cjs → checkbox-BdsGj_z6.cjs} +2 -2
  26. package/dist/{checkbox-FZpN0Mgj.cjs.map → checkbox-BdsGj_z6.cjs.map} +1 -1
  27. package/dist/{checkbox-BWaWg2Gm.js → checkbox-DV8tPYX0.js} +2 -2
  28. package/dist/{checkbox-BWaWg2Gm.js.map → checkbox-DV8tPYX0.js.map} +1 -1
  29. package/dist/checkbox.cjs +1 -1
  30. package/dist/checkbox.js +1 -1
  31. package/dist/{chips-CRfhI-G7.js → chips-Ca-SY6mg.js} +3 -3
  32. package/dist/{chips-CRfhI-G7.js.map → chips-Ca-SY6mg.js.map} +1 -1
  33. package/dist/{chips-BoxKYOMa.cjs → chips-Z8e_rQtM.cjs} +2 -2
  34. package/dist/{chips-BoxKYOMa.cjs.map → chips-Z8e_rQtM.cjs.map} +1 -1
  35. package/dist/chips.cjs +1 -1
  36. package/dist/chips.js +1 -1
  37. package/dist/components.cjs +1 -1
  38. package/dist/components.js +1 -1
  39. package/dist/content-drawer.cjs +1 -1
  40. package/dist/content-drawer.js +1 -1
  41. package/dist/{date-range-X97ioY-h.cjs → date-range-CDX0VlcK.cjs} +2 -2
  42. package/dist/{date-range-X97ioY-h.cjs.map → date-range-CDX0VlcK.cjs.map} +1 -1
  43. package/dist/{date-range-2Zd4XvrS.js → date-range-DdGaWGVn.js} +3 -3
  44. package/dist/{date-range-2Zd4XvrS.js.map → date-range-DdGaWGVn.js.map} +1 -1
  45. package/dist/date-range.cjs +1 -1
  46. package/dist/date-range.js +1 -1
  47. package/dist/{delay-CwXLGveT.js → delay-BWLlCMKV.js} +2 -2
  48. package/dist/{delay-CwXLGveT.js.map → delay-BWLlCMKV.js.map} +1 -1
  49. package/dist/{delay-BqTo3aLA.cjs → delay-DsFVHHw2.cjs} +2 -2
  50. package/dist/{delay-BqTo3aLA.cjs.map → delay-DsFVHHw2.cjs.map} +1 -1
  51. package/dist/delay.cjs +1 -1
  52. package/dist/delay.js +1 -1
  53. package/dist/{divider-CdV7coS1.js → divider-B7kWs-q5.js} +3 -3
  54. package/dist/{divider-CdV7coS1.js.map → divider-B7kWs-q5.js.map} +1 -1
  55. package/dist/{divider-BfxgNMsI.cjs → divider-CjgOM462.cjs} +2 -2
  56. package/dist/{divider-BfxgNMsI.cjs.map → divider-CjgOM462.cjs.map} +1 -1
  57. package/dist/divider.cjs +1 -1
  58. package/dist/divider.js +1 -1
  59. package/dist/{form-DfGEOLag.js → form-BUV1hUzI.js} +2 -2
  60. package/dist/{form-DfGEOLag.js.map → form-BUV1hUzI.js.map} +1 -1
  61. package/dist/{form-BTnhPK7O.cjs → form-DyYGOlOR.cjs} +2 -2
  62. package/dist/{form-BTnhPK7O.cjs.map → form-DyYGOlOR.cjs.map} +1 -1
  63. package/dist/form.cjs +1 -1
  64. package/dist/form.js +1 -1
  65. package/dist/{icon-B34qm8t_.js → icon-CWvUTBIP.js} +3 -3
  66. package/dist/{icon-B34qm8t_.js.map → icon-CWvUTBIP.js.map} +1 -1
  67. package/dist/{icon-DL24gxLi.cjs → icon-DPN7kWO0.cjs} +2 -2
  68. package/dist/{icon-DL24gxLi.cjs.map → icon-DPN7kWO0.cjs.map} +1 -1
  69. package/dist/{icon-button-yOFOGX0Y.js → icon-button-CbEs8eyS.js} +3 -3
  70. package/dist/{icon-button-yOFOGX0Y.js.map → icon-button-CbEs8eyS.js.map} +1 -1
  71. package/dist/{icon-button-BXlgRBET.cjs → icon-button-DHiO0w8J.cjs} +2 -2
  72. package/dist/{icon-button-BXlgRBET.cjs.map → icon-button-DHiO0w8J.cjs.map} +1 -1
  73. package/dist/icons.cjs +1 -1
  74. package/dist/icons.js +1 -1
  75. package/dist/index.cjs +1 -1
  76. package/dist/index.js +49 -50
  77. package/dist/{input-C5Qe0WzY.cjs → input-2kqgsr0S.cjs} +2 -2
  78. package/dist/{input-C5Qe0WzY.cjs.map → input-2kqgsr0S.cjs.map} +1 -1
  79. package/dist/{input-B63-M9qj.js → input-D3hti5wB.js} +2 -2
  80. package/dist/{input-B63-M9qj.js.map → input-D3hti5wB.js.map} +1 -1
  81. package/dist/input.cjs +1 -1
  82. package/dist/input.js +1 -1
  83. package/dist/layout.cjs +1 -1
  84. package/dist/layout.js +1 -1
  85. package/dist/{list-BDw1aNOH.cjs → list-Cq9RDYF_.cjs} +2 -2
  86. package/dist/{list-BDw1aNOH.cjs.map → list-Cq9RDYF_.cjs.map} +1 -1
  87. package/dist/{list-C9kPT0mr.js → list-D3m-rd6d.js} +2 -2
  88. package/dist/{list-C9kPT0mr.js.map → list-D3m-rd6d.js.map} +1 -1
  89. package/dist/list.cjs +1 -1
  90. package/dist/list.js +1 -1
  91. package/dist/{litElement.mixin-CJYb3izk.js → litElement.mixin-CjxO_zfv.js} +2 -2
  92. package/dist/{litElement.mixin-CJYb3izk.js.map → litElement.mixin-CjxO_zfv.js.map} +1 -1
  93. package/dist/{litElement.mixin-Cw40wOLl.cjs → litElement.mixin-DWxwPXWQ.cjs} +2 -2
  94. package/dist/{litElement.mixin-Cw40wOLl.cjs.map → litElement.mixin-DWxwPXWQ.cjs.map} +1 -1
  95. package/dist/{menu-B-9Sd5xU.js → menu-CCQYHiy2.js} +3 -3
  96. package/dist/{menu-B-9Sd5xU.js.map → menu-CCQYHiy2.js.map} +1 -1
  97. package/dist/{menu-BezCg_ZV.cjs → menu-ifiBMg-F.cjs} +2 -2
  98. package/dist/{menu-BezCg_ZV.cjs.map → menu-ifiBMg-F.cjs.map} +1 -1
  99. package/dist/menu.cjs +1 -1
  100. package/dist/menu.js +1 -1
  101. package/dist/nav-drawer.cjs +1 -1
  102. package/dist/nav-drawer.js +1 -1
  103. package/dist/notification.cjs +1 -1
  104. package/dist/notification.js +1 -1
  105. package/dist/{option-ETcMXlUc.js → option-CM24cDF6.js} +2 -2
  106. package/dist/{option-ETcMXlUc.js.map → option-CM24cDF6.js.map} +1 -1
  107. package/dist/{option-Ds6sb35B.cjs → option-DOBWmGE5.cjs} +2 -2
  108. package/dist/{option-Ds6sb35B.cjs.map → option-DOBWmGE5.cjs.map} +1 -1
  109. package/dist/option.cjs +1 -1
  110. package/dist/option.js +1 -1
  111. package/dist/{outlet-Bc4MC45j.js → outlet-BsrhXTEg.js} +44 -40
  112. package/dist/outlet-BsrhXTEg.js.map +1 -0
  113. package/dist/{outlet-BDkD7_9L.cjs → outlet-u1_Qa8Li.cjs} +4 -4
  114. package/dist/outlet-u1_Qa8Li.cjs.map +1 -0
  115. package/dist/{payment-card-form-BXq6Mxck.cjs → payment-card-form-B7tV2ttW.cjs} +2 -2
  116. package/dist/{payment-card-form-BXq6Mxck.cjs.map → payment-card-form-B7tV2ttW.cjs.map} +1 -1
  117. package/dist/{payment-card-form-yjKqadtl.js → payment-card-form-CTZsSGOB.js} +3 -3
  118. package/dist/{payment-card-form-yjKqadtl.js.map → payment-card-form-CTZsSGOB.js.map} +1 -1
  119. package/dist/{radio-group-SZ7LT0BI.js → radio-group-dN2lWcFu.js} +2 -2
  120. package/dist/{radio-group-SZ7LT0BI.js.map → radio-group-dN2lWcFu.js.map} +1 -1
  121. package/dist/{radio-group-B3jrTLIL.cjs → radio-group-m5Swl5cq.cjs} +2 -2
  122. package/dist/{radio-group-B3jrTLIL.cjs.map → radio-group-m5Swl5cq.cjs.map} +1 -1
  123. package/dist/radio-group.cjs +1 -1
  124. package/dist/radio-group.js +1 -1
  125. package/dist/{scroll-BZXWpgyx.js → scroll-Bl-fR7Vv.js} +2 -2
  126. package/dist/{scroll-BZXWpgyx.js.map → scroll-Bl-fR7Vv.js.map} +1 -1
  127. package/dist/{scroll-DIBR9WHR.cjs → scroll-DnAxN1uS.cjs} +2 -2
  128. package/dist/{scroll-DIBR9WHR.cjs.map → scroll-DnAxN1uS.cjs.map} +1 -1
  129. package/dist/{select-Bfkeb6KP.cjs → select-Bzf5TEob.cjs} +2 -2
  130. package/dist/{select-Bfkeb6KP.cjs.map → select-Bzf5TEob.cjs.map} +1 -1
  131. package/dist/{select-0kZshsvW.js → select-CR2mQf_Q.js} +3 -3
  132. package/dist/{select-0kZshsvW.js.map → select-CR2mQf_Q.js.map} +1 -1
  133. package/dist/select.cjs +1 -1
  134. package/dist/select.js +1 -1
  135. package/dist/sheet-B7UZL0S4.cjs +45 -0
  136. package/dist/sheet-B7UZL0S4.cjs.map +1 -0
  137. package/dist/sheet-Qm3DILOR.js +179 -0
  138. package/dist/sheet-Qm3DILOR.js.map +1 -0
  139. package/dist/sheet.cjs +1 -1
  140. package/dist/sheet.js +5 -6
  141. package/dist/{slider-D4GAHeMx.js → slider-FTwWTvKi.js} +3 -3
  142. package/dist/{slider-D4GAHeMx.js.map → slider-FTwWTvKi.js.map} +1 -1
  143. package/dist/{slider-DEaQC5Qe.cjs → slider-ds6hnN7n.cjs} +2 -2
  144. package/dist/{slider-DEaQC5Qe.cjs.map → slider-ds6hnN7n.cjs.map} +1 -1
  145. package/dist/slider.cjs +1 -1
  146. package/dist/slider.js +1 -1
  147. package/dist/{spinner-BJ5VG2fV.cjs → spinner-8GhT-bLm.cjs} +2 -2
  148. package/dist/{spinner-BJ5VG2fV.cjs.map → spinner-8GhT-bLm.cjs.map} +1 -1
  149. package/dist/{spinner-_aBya_Qc.js → spinner-zxOxMm7j.js} +3 -3
  150. package/dist/{spinner-_aBya_Qc.js.map → spinner-zxOxMm7j.js.map} +1 -1
  151. package/dist/surface-BzSJT7y7.cjs +10 -0
  152. package/dist/surface-BzSJT7y7.cjs.map +1 -0
  153. package/dist/surface-DdbqvBbW.js +43 -0
  154. package/dist/surface-DdbqvBbW.js.map +1 -0
  155. package/dist/surface.cjs +1 -1
  156. package/dist/surface.js +1 -1
  157. package/dist/{table-Ds0ivk4n.js → table-6bRKgCJ9.js} +2 -2
  158. package/dist/{table-Ds0ivk4n.js.map → table-6bRKgCJ9.js.map} +1 -1
  159. package/dist/{table-BmyyQrx8.cjs → table-BDIhXdSA.cjs} +2 -2
  160. package/dist/{table-BmyyQrx8.cjs.map → table-BDIhXdSA.cjs.map} +1 -1
  161. package/dist/table.cjs +1 -1
  162. package/dist/table.js +1 -1
  163. package/dist/{tabs-group-2sFsKJxb.cjs → tabs-group-CHAAr7Wl.cjs} +2 -2
  164. package/dist/{tabs-group-2sFsKJxb.cjs.map → tabs-group-CHAAr7Wl.cjs.map} +1 -1
  165. package/dist/{tabs-group-OdIAitHN.js → tabs-group-DBybIi8n.js} +2 -2
  166. package/dist/{tabs-group-OdIAitHN.js.map → tabs-group-DBybIi8n.js.map} +1 -1
  167. package/dist/tabs.cjs +1 -1
  168. package/dist/tabs.js +1 -1
  169. package/dist/{tailwind.mixin-wwBoa4Jw.js → tailwind.mixin-DtR4DQvn.js} +11 -11
  170. package/dist/{tailwind.mixin-wwBoa4Jw.js.map → tailwind.mixin-DtR4DQvn.js.map} +1 -1
  171. package/dist/{tailwind.mixin-mhYVlkxs.cjs → tailwind.mixin-_mD_GeAp.cjs} +2 -2
  172. package/dist/{tailwind.mixin-mhYVlkxs.cjs.map → tailwind.mixin-_mD_GeAp.cjs.map} +1 -1
  173. package/dist/teleport.cjs +1 -1
  174. package/dist/{teleport.component-J9cOCWCT.cjs → teleport.component-BXIGP3Vs.cjs} +2 -2
  175. package/dist/{teleport.component-J9cOCWCT.cjs.map → teleport.component-BXIGP3Vs.cjs.map} +1 -1
  176. package/dist/{teleport.component-CBMVwlTg.js → teleport.component-Cn1e_GQp.js} +35 -35
  177. package/dist/{teleport.component-CBMVwlTg.js.map → teleport.component-Cn1e_GQp.js.map} +1 -1
  178. package/dist/teleport.js +1 -1
  179. package/dist/{textarea-p0XofIBJ.js → textarea-BchwVUAo.js} +2 -2
  180. package/dist/{textarea-p0XofIBJ.js.map → textarea-BchwVUAo.js.map} +1 -1
  181. package/dist/{textarea-DE-5ySnu.cjs → textarea-CJhi4hDu.cjs} +2 -2
  182. package/dist/{textarea-DE-5ySnu.cjs.map → textarea-CJhi4hDu.cjs.map} +1 -1
  183. package/dist/textarea.cjs +1 -1
  184. package/dist/textarea.js +1 -1
  185. package/dist/{theme-button-HfAO7YLi.cjs → theme-button-DoIFEVSv.cjs} +2 -2
  186. package/dist/{theme-button-HfAO7YLi.cjs.map → theme-button-DoIFEVSv.cjs.map} +1 -1
  187. package/dist/{theme-button-BczCoNKk.js → theme-button-dxTV0k03.js} +2 -2
  188. package/dist/{theme-button-BczCoNKk.js.map → theme-button-dxTV0k03.js.map} +1 -1
  189. package/dist/theme-button.cjs +1 -1
  190. package/dist/theme-button.js +1 -1
  191. package/dist/theme.cjs +1 -1
  192. package/dist/theme.component-Dhm3MpVW.cjs +3 -0
  193. package/dist/{theme.component-78M08LUD.cjs.map → theme.component-Dhm3MpVW.cjs.map} +1 -1
  194. package/dist/{theme.component-CKmrq6vY.js → theme.component-DwZx0sdk.js} +314 -307
  195. package/dist/{theme.component-CKmrq6vY.js.map → theme.component-DwZx0sdk.js.map} +1 -1
  196. package/dist/theme.js +1 -1
  197. package/dist/{tree-C0L22or-.cjs → tree-BkhYPaz6.cjs} +2 -2
  198. package/dist/{tree-C0L22or-.cjs.map → tree-BkhYPaz6.cjs.map} +1 -1
  199. package/dist/{tree-CJueZNtq.js → tree-C7GnGCWU.js} +2 -2
  200. package/dist/{tree-CJueZNtq.js.map → tree-C7GnGCWU.js.map} +1 -1
  201. package/dist/tree.cjs +1 -1
  202. package/dist/tree.js +1 -1
  203. package/dist/{typewriter-n3ITVaff.cjs → typewriter-DGIW1V_b.cjs} +2 -2
  204. package/dist/{typewriter-n3ITVaff.cjs.map → typewriter-DGIW1V_b.cjs.map} +1 -1
  205. package/dist/{typewriter-DOVBdtxY.js → typewriter-DfOKVMWh.js} +4 -4
  206. package/dist/{typewriter-DOVBdtxY.js.map → typewriter-DfOKVMWh.js.map} +1 -1
  207. package/dist/typewriter.cjs +1 -1
  208. package/dist/typewriter.js +1 -1
  209. package/dist/{typography-bMZIS2rJ.cjs → typography-DQHpwRFR.cjs} +2 -2
  210. package/dist/{typography-bMZIS2rJ.cjs.map → typography-DQHpwRFR.cjs.map} +1 -1
  211. package/dist/{typography-BRiJcJhp.js → typography-En0tk2d5.js} +2 -2
  212. package/dist/{typography-BRiJcJhp.js.map → typography-En0tk2d5.js.map} +1 -1
  213. package/dist/typography.cjs +1 -1
  214. package/dist/typography.js +1 -1
  215. package/package.json +8 -8
  216. package/types/src/notification/$notification.d.ts +1 -0
  217. package/types/src/sheet/hook.d.ts +1 -1
  218. package/types/src/sheet/index.d.ts +0 -2
  219. package/types/src/surface/surface.d.ts +1 -0
  220. package/types/src/theme/theme.format.d.ts +7 -1
  221. package/dist/outlet-BDkD7_9L.cjs.map +0 -1
  222. package/dist/outlet-Bc4MC45j.js.map +0 -1
  223. package/dist/sheet-CJ6kO7WG.cjs +0 -48
  224. package/dist/sheet-CJ6kO7WG.cjs.map +0 -1
  225. package/dist/sheet-CoO8bSHc.js +0 -195
  226. package/dist/sheet-CoO8bSHc.js.map +0 -1
  227. package/dist/surface-DKrkxarv.cjs +0 -14
  228. package/dist/surface-DKrkxarv.cjs.map +0 -1
  229. package/dist/surface-DlwQilPV.js +0 -40
  230. package/dist/surface-DlwQilPV.js.map +0 -1
  231. package/dist/theme.component-78M08LUD.cjs +0 -3
@@ -1,16 +1,16 @@
1
- import { n as Pr, e as Dr } from "./provide-kj6-udep.js";
2
- import { T as Tr } from "./tailwind.mixin-wwBoa4Jw.js";
3
- import { unsafeCSS as Ir, html as Sr } from "lit";
4
- import { property as cr, customElement as Fr } from "lit/decorators.js";
5
- import { Observable as Lr, of as kr, switchMap as Br } from "rxjs";
1
+ import { n as Dr, e as Ir } from "./provide-kj6-udep.js";
2
+ import { T as Tr } from "./tailwind.mixin-DtR4DQvn.js";
3
+ import { unsafeCSS as Sr, html as Lr } from "lit";
4
+ import { property as cr, customElement as Br } from "lit/decorators.js";
5
+ import { Observable as Fr, of as kr, switchMap as Or } from "rxjs";
6
6
  function z(r) {
7
7
  return r < 0 ? -1 : r === 0 ? 0 : 1;
8
8
  }
9
- function rr(r, e, t) {
10
- return (1 - t) * r + t * e;
9
+ function rr(r, e, o) {
10
+ return (1 - o) * r + o * e;
11
11
  }
12
- function sr(r, e, t) {
13
- return t < r ? r : t > e ? e : t;
12
+ function sr(r, e, o) {
13
+ return o < r ? r : o > e ? e : o;
14
14
  }
15
15
  function lr(r) {
16
16
  return (r %= 360) < 0 && (r += 360), r;
@@ -18,34 +18,34 @@ function lr(r) {
18
18
  function hr(r, e) {
19
19
  return [r[0] * e[0][0] + r[1] * e[0][1] + r[2] * e[0][2], r[0] * e[1][0] + r[1] * e[1][1] + r[2] * e[1][2], r[0] * e[2][0] + r[1] * e[2][1] + r[2] * e[2][2]];
20
20
  }
21
- const Or = [[0.41233895, 0.35762064, 0.18051042], [0.2126, 0.7152, 0.0722], [0.01932141, 0.11916382, 0.95034478]], Vr = [[3.2413774792388685, -1.5376652402851851, -0.49885366846268053], [-0.9691452513005321, 1.8758853451067872, 0.04156585616912061], [0.05562093689691305, -0.20395524564742123, 1.0571799111220335]], Ar = [95.047, 100, 108.883];
22
- function dr(r, e, t) {
23
- return (255 << 24 | (255 & r) << 16 | (255 & e) << 8 | 255 & t) >>> 0;
21
+ const Vr = [[0.41233895, 0.35762064, 0.18051042], [0.2126, 0.7152, 0.0722], [0.01932141, 0.11916382, 0.95034478]], Ar = [[3.2413774792388685, -1.5376652402851851, -0.49885366846268053], [-0.9691452513005321, 1.8758853451067872, 0.04156585616912061], [0.05562093689691305, -0.20395524564742123, 1.0571799111220335]], Rr = [95.047, 100, 108.883];
22
+ function dr(r, e, o) {
23
+ return (255 << 24 | (255 & r) << 16 | (255 & e) << 8 | 255 & o) >>> 0;
24
24
  }
25
25
  function xr(r) {
26
26
  return dr(J(r[0]), J(r[1]), J(r[2]));
27
27
  }
28
28
  function ur(r) {
29
- const e = function(t) {
30
- const o = X(function(s) {
29
+ const e = function(o) {
30
+ const t = X(function(s) {
31
31
  return s >> 16 & 255;
32
- }(t)), a = X(function(s) {
32
+ }(o)), a = X(function(s) {
33
33
  return s >> 8 & 255;
34
- }(t)), c = X(function(s) {
34
+ }(o)), n = X(function(s) {
35
35
  return 255 & s;
36
- }(t));
37
- return hr([o, a, c], Or);
36
+ }(o));
37
+ return hr([t, a, n], Vr);
38
38
  }(r)[1];
39
- return 116 * Cr(e / 100) - 16;
39
+ return 116 * br(e / 100) - 16;
40
40
  }
41
41
  function G(r) {
42
42
  return 100 * function(e) {
43
- const t = 0.008856451679035631, o = 24389 / 27, a = e * e * e;
44
- return a > t ? a : (116 * e - 16) / o;
43
+ const o = 0.008856451679035631, t = 24389 / 27, a = e * e * e;
44
+ return a > o ? a : (116 * e - 16) / t;
45
45
  }((r + 16) / 116);
46
46
  }
47
47
  function mr(r) {
48
- return 116 * Cr(r / 100) - 16;
48
+ return 116 * br(r / 100) - 16;
49
49
  }
50
50
  function X(r) {
51
51
  const e = r / 255;
@@ -53,77 +53,77 @@ function X(r) {
53
53
  }
54
54
  function J(r) {
55
55
  const e = r / 100;
56
- let t = 0;
57
- return t = e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - 0.055, o = 0, a = 255, (c = Math.round(255 * t)) < o ? o : c > a ? a : c;
58
- var o, a, c;
56
+ let o = 0;
57
+ return o = e <= 31308e-7 ? 12.92 * e : 1.055 * Math.pow(e, 1 / 2.4) - 0.055, t = 0, a = 255, (n = Math.round(255 * o)) < t ? t : n > a ? a : n;
58
+ var t, a, n;
59
59
  }
60
- function Cr(r) {
60
+ function br(r) {
61
61
  return r > 216 / 24389 ? Math.pow(r, 1 / 3) : (903.2962962962963 * r + 16) / 116;
62
62
  }
63
63
  class j {
64
64
  static make(e = /* @__PURE__ */ function() {
65
- return Ar;
66
- }(), t = 200 / Math.PI * G(50) / 100, o = 50, a = 2, c = !1) {
67
- const s = e, i = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], l = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], h = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 + a / 10, f = m >= 0.9 ? rr(0.59, 0.69, 10 * (m - 0.9)) : rr(0.525, 0.59, 10 * (m - 0.8));
68
- let g = c ? 1 : m * (1 - 1 / 3.6 * Math.exp((-t - 42) / 92));
65
+ return Rr;
66
+ }(), o = 200 / Math.PI * G(50) / 100, t = 50, a = 2, n = !1) {
67
+ const s = e, l = 0.401288 * s[0] + 0.650173 * s[1] + -0.051461 * s[2], h = -0.250268 * s[0] + 1.204414 * s[1] + 0.045854 * s[2], i = -2079e-6 * s[0] + 0.048952 * s[1] + 0.953127 * s[2], m = 0.8 + a / 10, f = m >= 0.9 ? rr(0.59, 0.69, 10 * (m - 0.9)) : rr(0.525, 0.59, 10 * (m - 0.8));
68
+ let g = n ? 1 : m * (1 - 1 / 3.6 * Math.exp((-o - 42) / 92));
69
69
  g = g > 1 ? 1 : g < 0 ? 0 : g;
70
- const C = m, p = [g * (100 / i) + 1 - g, g * (100 / l) + 1 - g, g * (100 / h) + 1 - g], w = 1 / (5 * t + 1), v = w * w * w * w, D = 1 - v, k = v * t + 0.1 * D * D * Math.cbrt(5 * t), O = G(o) / e[1], x = 1.48 + Math.sqrt(O), b = 0.725 / Math.pow(O, 0.2), S = b, M = [Math.pow(k * p[0] * i / 100, 0.42), Math.pow(k * p[1] * l / 100, 0.42), Math.pow(k * p[2] * h / 100, 0.42)], I = [400 * M[0] / (M[0] + 27.13), 400 * M[1] / (M[1] + 27.13), 400 * M[2] / (M[2] + 27.13)];
71
- return new j(O, (2 * I[0] + I[1] + 0.05 * I[2]) * b, b, S, f, C, p, k, Math.pow(k, 0.25), x);
70
+ const C = m, p = [g * (100 / l) + 1 - g, g * (100 / h) + 1 - g, g * (100 / i) + 1 - g], w = 1 / (5 * o + 1), v = w * w * w * w, D = 1 - v, k = v * o + 0.1 * D * D * Math.cbrt(5 * o), V = G(t) / e[1], x = 1.48 + Math.sqrt(V), b = 0.725 / Math.pow(V, 0.2), B = b, M = [Math.pow(k * p[0] * l / 100, 0.42), Math.pow(k * p[1] * h / 100, 0.42), Math.pow(k * p[2] * i / 100, 0.42)], S = [400 * M[0] / (M[0] + 27.13), 400 * M[1] / (M[1] + 27.13), 400 * M[2] / (M[2] + 27.13)];
71
+ return new j(V, (2 * S[0] + S[1] + 0.05 * S[2]) * b, b, B, f, C, p, k, Math.pow(k, 0.25), x);
72
72
  }
73
- constructor(e, t, o, a, c, s, i, l, h, m) {
74
- this.n = e, this.aw = t, this.nbb = o, this.ncb = a, this.c = c, this.nc = s, this.rgbD = i, this.fl = l, this.fLRoot = h, this.z = m;
73
+ constructor(e, o, t, a, n, s, l, h, i, m) {
74
+ this.n = e, this.aw = o, this.nbb = t, this.ncb = a, this.c = n, this.nc = s, this.rgbD = l, this.fl = h, this.fLRoot = i, this.z = m;
75
75
  }
76
76
  }
77
77
  j.DEFAULT = j.make();
78
- class L {
79
- constructor(e, t, o, a, c, s, i, l, h) {
80
- this.hue = e, this.chroma = t, this.j = o, this.q = a, this.m = c, this.s = s, this.jstar = i, this.astar = l, this.bstar = h;
78
+ class O {
79
+ constructor(e, o, t, a, n, s, l, h, i) {
80
+ this.hue = e, this.chroma = o, this.j = t, this.q = a, this.m = n, this.s = s, this.jstar = l, this.astar = h, this.bstar = i;
81
81
  }
82
82
  distance(e) {
83
- const t = this.jstar - e.jstar, o = this.astar - e.astar, a = this.bstar - e.bstar, c = Math.sqrt(t * t + o * o + a * a);
84
- return 1.41 * Math.pow(c, 0.63);
83
+ const o = this.jstar - e.jstar, t = this.astar - e.astar, a = this.bstar - e.bstar, n = Math.sqrt(o * o + t * t + a * a);
84
+ return 1.41 * Math.pow(n, 0.63);
85
85
  }
86
86
  static fromInt(e) {
87
- return L.fromIntInViewingConditions(e, j.DEFAULT);
87
+ return O.fromIntInViewingConditions(e, j.DEFAULT);
88
88
  }
89
- static fromIntInViewingConditions(e, t) {
90
- const o = (65280 & e) >> 8, a = 255 & e, c = X((16711680 & e) >> 16), s = X(o), i = X(a), l = 0.41233895 * c + 0.35762064 * s + 0.18051042 * i, h = 0.2126 * c + 0.7152 * s + 0.0722 * i, m = 0.01932141 * c + 0.11916382 * s + 0.95034478 * i, f = 0.401288 * l + 0.650173 * h - 0.051461 * m, g = -0.250268 * l + 1.204414 * h + 0.045854 * m, C = -2079e-6 * l + 0.048952 * h + 0.953127 * m, p = t.rgbD[0] * f, w = t.rgbD[1] * g, v = t.rgbD[2] * C, D = Math.pow(t.fl * Math.abs(p) / 100, 0.42), k = Math.pow(t.fl * Math.abs(w) / 100, 0.42), O = Math.pow(t.fl * Math.abs(v) / 100, 0.42), x = 400 * z(p) * D / (D + 27.13), b = 400 * z(w) * k / (k + 27.13), S = 400 * z(v) * O / (O + 27.13), M = (11 * x + -12 * b + S) / 11, I = (x + b - 2 * S) / 9, T = (20 * x + 20 * b + 21 * S) / 20, tr = (40 * x + 20 * b + S) / 20, N = 180 * Math.atan2(I, M) / Math.PI, H = N < 0 ? N + 360 : N >= 360 ? N - 360 : N, _ = H * Math.PI / 180, R = tr * t.nbb, q = 100 * Math.pow(R / t.aw, t.c * t.z), W = 4 / t.c * Math.sqrt(q / 100) * (t.aw + 4) * t.fLRoot, Q = H < 20.14 ? H + 360 : H, or = 5e4 / 13 * (0.25 * (Math.cos(Q * Math.PI / 180 + 2) + 3.8)) * t.nc * t.ncb * Math.sqrt(M * M + I * I) / (T + 0.305), ar = Math.pow(or, 0.9) * Math.pow(1.64 - Math.pow(0.29, t.n), 0.73), nr = ar * Math.sqrt(q / 100), fr = nr * t.fLRoot, br = 50 * Math.sqrt(ar * t.c / (t.aw + 4)), wr = (1 + 100 * 7e-3) * q / (1 + 7e-3 * q), gr = 1 / 0.0228 * Math.log(1 + 0.0228 * fr), vr = gr * Math.cos(_), Mr = gr * Math.sin(_);
91
- return new L(H, nr, q, W, fr, br, wr, vr, Mr);
89
+ static fromIntInViewingConditions(e, o) {
90
+ const t = (65280 & e) >> 8, a = 255 & e, n = X((16711680 & e) >> 16), s = X(t), l = X(a), h = 0.41233895 * n + 0.35762064 * s + 0.18051042 * l, i = 0.2126 * n + 0.7152 * s + 0.0722 * l, m = 0.01932141 * n + 0.11916382 * s + 0.95034478 * l, f = 0.401288 * h + 0.650173 * i - 0.051461 * m, g = -0.250268 * h + 1.204414 * i + 0.045854 * m, C = -2079e-6 * h + 0.048952 * i + 0.953127 * m, p = o.rgbD[0] * f, w = o.rgbD[1] * g, v = o.rgbD[2] * C, D = Math.pow(o.fl * Math.abs(p) / 100, 0.42), k = Math.pow(o.fl * Math.abs(w) / 100, 0.42), V = Math.pow(o.fl * Math.abs(v) / 100, 0.42), x = 400 * z(p) * D / (D + 27.13), b = 400 * z(w) * k / (k + 27.13), B = 400 * z(v) * V / (V + 27.13), M = (11 * x + -12 * b + B) / 11, S = (x + b - 2 * B) / 9, I = (20 * x + 20 * b + 21 * B) / 20, tr = (40 * x + 20 * b + B) / 20, N = 180 * Math.atan2(S, M) / Math.PI, H = N < 0 ? N + 360 : N >= 360 ? N - 360 : N, _ = H * Math.PI / 180, R = tr * o.nbb, q = 100 * Math.pow(R / o.aw, o.c * o.z), W = 4 / o.c * Math.sqrt(q / 100) * (o.aw + 4) * o.fLRoot, Q = H < 20.14 ? H + 360 : H, or = 5e4 / 13 * (0.25 * (Math.cos(Q * Math.PI / 180 + 2) + 3.8)) * o.nc * o.ncb * Math.sqrt(M * M + S * S) / (I + 0.305), ar = Math.pow(or, 0.9) * Math.pow(1.64 - Math.pow(0.29, o.n), 0.73), nr = ar * Math.sqrt(q / 100), fr = nr * o.fLRoot, wr = 50 * Math.sqrt(ar * o.c / (o.aw + 4)), vr = (1 + 100 * 7e-3) * q / (1 + 7e-3 * q), gr = 1 / 0.0228 * Math.log(1 + 0.0228 * fr), Mr = gr * Math.cos(_), Pr = gr * Math.sin(_);
91
+ return new O(H, nr, q, W, fr, wr, vr, Mr, Pr);
92
92
  }
93
- static fromJch(e, t, o) {
94
- return L.fromJchInViewingConditions(e, t, o, j.DEFAULT);
93
+ static fromJch(e, o, t) {
94
+ return O.fromJchInViewingConditions(e, o, t, j.DEFAULT);
95
95
  }
96
- static fromJchInViewingConditions(e, t, o, a) {
97
- const c = 4 / a.c * Math.sqrt(e / 100) * (a.aw + 4) * a.fLRoot, s = t * a.fLRoot, i = t / Math.sqrt(e / 100), l = 50 * Math.sqrt(i * a.c / (a.aw + 4)), h = o * Math.PI / 180, m = (1 + 100 * 7e-3) * e / (1 + 7e-3 * e), f = 1 / 0.0228 * Math.log(1 + 0.0228 * s), g = f * Math.cos(h), C = f * Math.sin(h);
98
- return new L(o, t, e, c, s, l, m, g, C);
96
+ static fromJchInViewingConditions(e, o, t, a) {
97
+ const n = 4 / a.c * Math.sqrt(e / 100) * (a.aw + 4) * a.fLRoot, s = o * a.fLRoot, l = o / Math.sqrt(e / 100), h = 50 * Math.sqrt(l * a.c / (a.aw + 4)), i = t * Math.PI / 180, m = (1 + 100 * 7e-3) * e / (1 + 7e-3 * e), f = 1 / 0.0228 * Math.log(1 + 0.0228 * s), g = f * Math.cos(i), C = f * Math.sin(i);
98
+ return new O(t, o, e, n, s, h, m, g, C);
99
99
  }
100
- static fromUcs(e, t, o) {
101
- return L.fromUcsInViewingConditions(e, t, o, j.DEFAULT);
100
+ static fromUcs(e, o, t) {
101
+ return O.fromUcsInViewingConditions(e, o, t, j.DEFAULT);
102
102
  }
103
- static fromUcsInViewingConditions(e, t, o, a) {
104
- const c = t, s = o, i = Math.sqrt(c * c + s * s), l = (Math.exp(0.0228 * i) - 1) / 0.0228 / a.fLRoot;
105
- let h = Math.atan2(s, c) * (180 / Math.PI);
106
- h < 0 && (h += 360);
103
+ static fromUcsInViewingConditions(e, o, t, a) {
104
+ const n = o, s = t, l = Math.sqrt(n * n + s * s), h = (Math.exp(0.0228 * l) - 1) / 0.0228 / a.fLRoot;
105
+ let i = Math.atan2(s, n) * (180 / Math.PI);
106
+ i < 0 && (i += 360);
107
107
  const m = e / (1 - 7e-3 * (e - 100));
108
- return L.fromJchInViewingConditions(m, l, h, a);
108
+ return O.fromJchInViewingConditions(m, h, i, a);
109
109
  }
110
110
  toInt() {
111
111
  return this.viewed(j.DEFAULT);
112
112
  }
113
113
  viewed(e) {
114
- const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), O = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(O, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), S = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), M = k / e.rgbD[0], I = x / e.rgbD[1], T = S / e.rgbD[2];
114
+ const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), l = n * (5e4 / 13) * e.nc * e.ncb, h = s / e.nbb, i = Math.sin(a), m = Math.cos(a), f = 23 * (h + 0.305) * t / (23 * l + 11 * t * m + 108 * t * i), g = f * m, C = f * i, p = (460 * h + 451 * g + 288 * C) / 1403, w = (460 * h - 891 * g - 261 * C) / 1403, v = (460 * h - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), V = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(V, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), B = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), M = k / e.rgbD[0], S = x / e.rgbD[1], I = B / e.rgbD[2];
115
115
  return function(N, H, _) {
116
- const R = Vr, q = R[0][0] * N + R[0][1] * H + R[0][2] * _, W = R[1][0] * N + R[1][1] * H + R[1][2] * _, Q = R[2][0] * N + R[2][1] * H + R[2][2] * _;
116
+ const R = Ar, q = R[0][0] * N + R[0][1] * H + R[0][2] * _, W = R[1][0] * N + R[1][1] * H + R[1][2] * _, Q = R[2][0] * N + R[2][1] * H + R[2][2] * _;
117
117
  return dr(J(q), J(W), J(Q));
118
- }(1.86206786 * M - 1.01125463 * I + 0.14918677 * T, 0.38752654 * M + 0.62144744 * I - 897398e-8 * T, -0.0158415 * M - 0.03412294 * I + 1.04996444 * T);
118
+ }(1.86206786 * M - 1.01125463 * S + 0.14918677 * I, 0.38752654 * M + 0.62144744 * S - 897398e-8 * I, -0.0158415 * M - 0.03412294 * S + 1.04996444 * I);
119
119
  }
120
- static fromXyzInViewingConditions(e, t, o, a) {
121
- const c = 0.401288 * e + 0.650173 * t - 0.051461 * o, s = -0.250268 * e + 1.204414 * t + 0.045854 * o, i = -2079e-6 * e + 0.048952 * t + 0.953127 * o, l = a.rgbD[0] * c, h = a.rgbD[1] * s, m = a.rgbD[2] * i, f = Math.pow(a.fl * Math.abs(l) / 100, 0.42), g = Math.pow(a.fl * Math.abs(h) / 100, 0.42), C = Math.pow(a.fl * Math.abs(m) / 100, 0.42), p = 400 * z(l) * f / (f + 27.13), w = 400 * z(h) * g / (g + 27.13), v = 400 * z(m) * C / (C + 27.13), D = (11 * p + -12 * w + v) / 11, k = (p + w - 2 * v) / 9, O = (20 * p + 20 * w + 21 * v) / 20, x = (40 * p + 20 * w + v) / 20, b = 180 * Math.atan2(k, D) / Math.PI, S = b < 0 ? b + 360 : b >= 360 ? b - 360 : b, M = S * Math.PI / 180, I = x * a.nbb, T = 100 * Math.pow(I / a.aw, a.c * a.z), tr = 4 / a.c * Math.sqrt(T / 100) * (a.aw + 4) * a.fLRoot, N = S < 20.14 ? S + 360 : S, H = 5e4 / 13 * (1 / 4 * (Math.cos(N * Math.PI / 180 + 2) + 3.8)) * a.nc * a.ncb * Math.sqrt(D * D + k * k) / (O + 0.305), _ = Math.pow(H, 0.9) * Math.pow(1.64 - Math.pow(0.29, a.n), 0.73), R = _ * Math.sqrt(T / 100), q = R * a.fLRoot, W = 50 * Math.sqrt(_ * a.c / (a.aw + 4)), Q = (1 + 100 * 7e-3) * T / (1 + 7e-3 * T), or = Math.log(1 + 0.0228 * q) / 0.0228, ar = or * Math.cos(M), nr = or * Math.sin(M);
122
- return new L(S, R, T, tr, q, W, Q, ar, nr);
120
+ static fromXyzInViewingConditions(e, o, t, a) {
121
+ const n = 0.401288 * e + 0.650173 * o - 0.051461 * t, s = -0.250268 * e + 1.204414 * o + 0.045854 * t, l = -2079e-6 * e + 0.048952 * o + 0.953127 * t, h = a.rgbD[0] * n, i = a.rgbD[1] * s, m = a.rgbD[2] * l, f = Math.pow(a.fl * Math.abs(h) / 100, 0.42), g = Math.pow(a.fl * Math.abs(i) / 100, 0.42), C = Math.pow(a.fl * Math.abs(m) / 100, 0.42), p = 400 * z(h) * f / (f + 27.13), w = 400 * z(i) * g / (g + 27.13), v = 400 * z(m) * C / (C + 27.13), D = (11 * p + -12 * w + v) / 11, k = (p + w - 2 * v) / 9, V = (20 * p + 20 * w + 21 * v) / 20, x = (40 * p + 20 * w + v) / 20, b = 180 * Math.atan2(k, D) / Math.PI, B = b < 0 ? b + 360 : b >= 360 ? b - 360 : b, M = B * Math.PI / 180, S = x * a.nbb, I = 100 * Math.pow(S / a.aw, a.c * a.z), tr = 4 / a.c * Math.sqrt(I / 100) * (a.aw + 4) * a.fLRoot, N = B < 20.14 ? B + 360 : B, H = 5e4 / 13 * (1 / 4 * (Math.cos(N * Math.PI / 180 + 2) + 3.8)) * a.nc * a.ncb * Math.sqrt(D * D + k * k) / (V + 0.305), _ = Math.pow(H, 0.9) * Math.pow(1.64 - Math.pow(0.29, a.n), 0.73), R = _ * Math.sqrt(I / 100), q = R * a.fLRoot, W = 50 * Math.sqrt(_ * a.c / (a.aw + 4)), Q = (1 + 100 * 7e-3) * I / (1 + 7e-3 * I), or = Math.log(1 + 0.0228 * q) / 0.0228, ar = or * Math.cos(M), nr = or * Math.sin(M);
122
+ return new O(B, R, I, tr, q, W, Q, ar, nr);
123
123
  }
124
124
  xyzInViewingConditions(e) {
125
- const t = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), o = Math.pow(t / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, c = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), i = c * (5e4 / 13) * e.nc * e.ncb, l = s / e.nbb, h = Math.sin(a), m = Math.cos(a), f = 23 * (l + 0.305) * o / (23 * i + 11 * o * m + 108 * o * h), g = f * m, C = f * h, p = (460 * l + 451 * g + 288 * C) / 1403, w = (460 * l - 891 * g - 261 * C) / 1403, v = (460 * l - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), O = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(O, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), S = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), M = k / e.rgbD[0], I = x / e.rgbD[1], T = S / e.rgbD[2];
126
- return [1.86206786 * M - 1.01125463 * I + 0.14918677 * T, 0.38752654 * M + 0.62144744 * I - 897398e-8 * T, -0.0158415 * M - 0.03412294 * I + 1.04996444 * T];
125
+ const o = this.chroma === 0 || this.j === 0 ? 0 : this.chroma / Math.sqrt(this.j / 100), t = Math.pow(o / Math.pow(1.64 - Math.pow(0.29, e.n), 0.73), 1 / 0.9), a = this.hue * Math.PI / 180, n = 0.25 * (Math.cos(a + 2) + 3.8), s = e.aw * Math.pow(this.j / 100, 1 / e.c / e.z), l = n * (5e4 / 13) * e.nc * e.ncb, h = s / e.nbb, i = Math.sin(a), m = Math.cos(a), f = 23 * (h + 0.305) * t / (23 * l + 11 * t * m + 108 * t * i), g = f * m, C = f * i, p = (460 * h + 451 * g + 288 * C) / 1403, w = (460 * h - 891 * g - 261 * C) / 1403, v = (460 * h - 220 * g - 6300 * C) / 1403, D = Math.max(0, 27.13 * Math.abs(p) / (400 - Math.abs(p))), k = z(p) * (100 / e.fl) * Math.pow(D, 1 / 0.42), V = Math.max(0, 27.13 * Math.abs(w) / (400 - Math.abs(w))), x = z(w) * (100 / e.fl) * Math.pow(V, 1 / 0.42), b = Math.max(0, 27.13 * Math.abs(v) / (400 - Math.abs(v))), B = z(v) * (100 / e.fl) * Math.pow(b, 1 / 0.42), M = k / e.rgbD[0], S = x / e.rgbD[1], I = B / e.rgbD[2];
126
+ return [1.86206786 * M - 1.01125463 * S + 0.14918677 * I, 0.38752654 * M + 0.62144744 * S - 897398e-8 * I, -0.0158415 * M - 0.03412294 * S + 1.04996444 * I];
127
127
  }
128
128
  }
129
129
  class d {
@@ -131,61 +131,61 @@ class d {
131
131
  return (e + 8 * Math.PI) % (2 * Math.PI);
132
132
  }
133
133
  static trueDelinearized(e) {
134
- const t = e / 100;
135
- let o = 0;
136
- return o = t <= 31308e-7 ? 12.92 * t : 1.055 * Math.pow(t, 1 / 2.4) - 0.055, 255 * o;
134
+ const o = e / 100;
135
+ let t = 0;
136
+ return t = o <= 31308e-7 ? 12.92 * o : 1.055 * Math.pow(o, 1 / 2.4) - 0.055, 255 * t;
137
137
  }
138
138
  static chromaticAdaptation(e) {
139
- const t = Math.pow(Math.abs(e), 0.42);
140
- return 400 * z(e) * t / (t + 27.13);
139
+ const o = Math.pow(Math.abs(e), 0.42);
140
+ return 400 * z(e) * o / (o + 27.13);
141
141
  }
142
142
  static hueOf(e) {
143
- const t = hr(e, d.SCALED_DISCOUNT_FROM_LINRGB), o = d.chromaticAdaptation(t[0]), a = d.chromaticAdaptation(t[1]), c = d.chromaticAdaptation(t[2]), s = (11 * o + -12 * a + c) / 11, i = (o + a - 2 * c) / 9;
144
- return Math.atan2(i, s);
143
+ const o = hr(e, d.SCALED_DISCOUNT_FROM_LINRGB), t = d.chromaticAdaptation(o[0]), a = d.chromaticAdaptation(o[1]), n = d.chromaticAdaptation(o[2]), s = (11 * t + -12 * a + n) / 11, l = (t + a - 2 * n) / 9;
144
+ return Math.atan2(l, s);
145
145
  }
146
- static areInCyclicOrder(e, t, o) {
147
- return d.sanitizeRadians(t - e) < d.sanitizeRadians(o - e);
146
+ static areInCyclicOrder(e, o, t) {
147
+ return d.sanitizeRadians(o - e) < d.sanitizeRadians(t - e);
148
148
  }
149
- static intercept(e, t, o) {
150
- return (t - e) / (o - e);
149
+ static intercept(e, o, t) {
150
+ return (o - e) / (t - e);
151
151
  }
152
- static lerpPoint(e, t, o) {
153
- return [e[0] + (o[0] - e[0]) * t, e[1] + (o[1] - e[1]) * t, e[2] + (o[2] - e[2]) * t];
152
+ static lerpPoint(e, o, t) {
153
+ return [e[0] + (t[0] - e[0]) * o, e[1] + (t[1] - e[1]) * o, e[2] + (t[2] - e[2]) * o];
154
154
  }
155
- static setCoordinate(e, t, o, a) {
156
- const c = d.intercept(e[a], t, o[a]);
157
- return d.lerpPoint(e, c, o);
155
+ static setCoordinate(e, o, t, a) {
156
+ const n = d.intercept(e[a], o, t[a]);
157
+ return d.lerpPoint(e, n, t);
158
158
  }
159
159
  static isBounded(e) {
160
160
  return 0 <= e && e <= 100;
161
161
  }
162
- static nthVertex(e, t) {
163
- const o = d.Y_FROM_LINRGB[0], a = d.Y_FROM_LINRGB[1], c = d.Y_FROM_LINRGB[2], s = t % 4 <= 1 ? 0 : 100, i = t % 2 == 0 ? 0 : 100;
164
- if (t < 4) {
165
- const l = s, h = i, m = (e - l * a - h * c) / o;
166
- return d.isBounded(m) ? [m, l, h] : [-1, -1, -1];
162
+ static nthVertex(e, o) {
163
+ const t = d.Y_FROM_LINRGB[0], a = d.Y_FROM_LINRGB[1], n = d.Y_FROM_LINRGB[2], s = o % 4 <= 1 ? 0 : 100, l = o % 2 == 0 ? 0 : 100;
164
+ if (o < 4) {
165
+ const h = s, i = l, m = (e - h * a - i * n) / t;
166
+ return d.isBounded(m) ? [m, h, i] : [-1, -1, -1];
167
167
  }
168
- if (t < 8) {
169
- const l = s, h = i, m = (e - h * o - l * c) / a;
170
- return d.isBounded(m) ? [h, m, l] : [-1, -1, -1];
168
+ if (o < 8) {
169
+ const h = s, i = l, m = (e - i * t - h * n) / a;
170
+ return d.isBounded(m) ? [i, m, h] : [-1, -1, -1];
171
171
  }
172
172
  {
173
- const l = s, h = i, m = (e - l * o - h * a) / c;
174
- return d.isBounded(m) ? [l, h, m] : [-1, -1, -1];
173
+ const h = s, i = l, m = (e - h * t - i * a) / n;
174
+ return d.isBounded(m) ? [h, i, m] : [-1, -1, -1];
175
175
  }
176
176
  }
177
- static bisectToSegment(e, t) {
178
- let o = [-1, -1, -1], a = o, c = 0, s = 0, i = !1, l = !0;
179
- for (let h = 0; h < 12; h++) {
180
- const m = d.nthVertex(e, h);
177
+ static bisectToSegment(e, o) {
178
+ let t = [-1, -1, -1], a = t, n = 0, s = 0, l = !1, h = !0;
179
+ for (let i = 0; i < 12; i++) {
180
+ const m = d.nthVertex(e, i);
181
181
  if (m[0] < 0) continue;
182
182
  const f = d.hueOf(m);
183
- i ? (l || d.areInCyclicOrder(c, f, s)) && (l = !1, d.areInCyclicOrder(c, t, f) ? (a = m, s = f) : (o = m, c = f)) : (o = m, a = m, c = f, s = f, i = !0);
183
+ l ? (h || d.areInCyclicOrder(n, f, s)) && (h = !1, d.areInCyclicOrder(n, o, f) ? (a = m, s = f) : (t = m, n = f)) : (t = m, a = m, n = f, s = f, l = !0);
184
184
  }
185
- return [o, a];
185
+ return [t, a];
186
186
  }
187
- static midpoint(e, t) {
188
- return [(e[0] + t[0]) / 2, (e[1] + t[1]) / 2, (e[2] + t[2]) / 2];
187
+ static midpoint(e, o) {
188
+ return [(e[0] + o[0]) / 2, (e[1] + o[1]) / 2, (e[2] + o[2]) / 2];
189
189
  }
190
190
  static criticalPlaneBelow(e) {
191
191
  return Math.floor(e - 0.5);
@@ -193,55 +193,55 @@ class d {
193
193
  static criticalPlaneAbove(e) {
194
194
  return Math.ceil(e - 0.5);
195
195
  }
196
- static bisectToLimit(e, t) {
197
- const o = d.bisectToSegment(e, t);
198
- let a = o[0], c = d.hueOf(a), s = o[1];
199
- for (let i = 0; i < 3; i++) if (a[i] !== s[i]) {
200
- let l = -1, h = 255;
201
- a[i] < s[i] ? (l = d.criticalPlaneBelow(d.trueDelinearized(a[i])), h = d.criticalPlaneAbove(d.trueDelinearized(s[i]))) : (l = d.criticalPlaneAbove(d.trueDelinearized(a[i])), h = d.criticalPlaneBelow(d.trueDelinearized(s[i])));
202
- for (let m = 0; m < 8 && !(Math.abs(h - l) <= 1); m++) {
203
- const f = Math.floor((l + h) / 2), g = d.CRITICAL_PLANES[f], C = d.setCoordinate(a, g, s, i), p = d.hueOf(C);
204
- d.areInCyclicOrder(c, t, p) ? (s = C, h = f) : (a = C, c = p, l = f);
196
+ static bisectToLimit(e, o) {
197
+ const t = d.bisectToSegment(e, o);
198
+ let a = t[0], n = d.hueOf(a), s = t[1];
199
+ for (let l = 0; l < 3; l++) if (a[l] !== s[l]) {
200
+ let h = -1, i = 255;
201
+ a[l] < s[l] ? (h = d.criticalPlaneBelow(d.trueDelinearized(a[l])), i = d.criticalPlaneAbove(d.trueDelinearized(s[l]))) : (h = d.criticalPlaneAbove(d.trueDelinearized(a[l])), i = d.criticalPlaneBelow(d.trueDelinearized(s[l])));
202
+ for (let m = 0; m < 8 && !(Math.abs(i - h) <= 1); m++) {
203
+ const f = Math.floor((h + i) / 2), g = d.CRITICAL_PLANES[f], C = d.setCoordinate(a, g, s, l), p = d.hueOf(C);
204
+ d.areInCyclicOrder(n, o, p) ? (s = C, i = f) : (a = C, n = p, h = f);
205
205
  }
206
206
  }
207
207
  return d.midpoint(a, s);
208
208
  }
209
209
  static inverseChromaticAdaptation(e) {
210
- const t = Math.abs(e), o = Math.max(0, 27.13 * t / (400 - t));
211
- return z(e) * Math.pow(o, 1 / 0.42);
210
+ const o = Math.abs(e), t = Math.max(0, 27.13 * o / (400 - o));
211
+ return z(e) * Math.pow(t, 1 / 0.42);
212
212
  }
213
- static findResultByJ(e, t, o) {
214
- let a = 11 * Math.sqrt(o);
215
- const c = j.DEFAULT, s = 1 / Math.pow(1.64 - Math.pow(0.29, c.n), 0.73), i = 0.25 * (Math.cos(e + 2) + 3.8) * (5e4 / 13) * c.nc * c.ncb, l = Math.sin(e), h = Math.cos(e);
213
+ static findResultByJ(e, o, t) {
214
+ let a = 11 * Math.sqrt(t);
215
+ const n = j.DEFAULT, s = 1 / Math.pow(1.64 - Math.pow(0.29, n.n), 0.73), l = 0.25 * (Math.cos(e + 2) + 3.8) * (5e4 / 13) * n.nc * n.ncb, h = Math.sin(e), i = Math.cos(e);
216
216
  for (let m = 0; m < 5; m++) {
217
- const f = a / 100, g = t === 0 || a === 0 ? 0 : t / Math.sqrt(f), C = Math.pow(g * s, 1 / 0.9), p = c.aw * Math.pow(f, 1 / c.c / c.z) / c.nbb, w = 23 * (p + 0.305) * C / (23 * i + 11 * C * h + 108 * C * l), v = w * h, D = w * l, k = (460 * p + 451 * v + 288 * D) / 1403, O = (460 * p - 891 * v - 261 * D) / 1403, x = (460 * p - 220 * v - 6300 * D) / 1403, b = hr([d.inverseChromaticAdaptation(k), d.inverseChromaticAdaptation(O), d.inverseChromaticAdaptation(x)], d.LINRGB_FROM_SCALED_DISCOUNT);
217
+ const f = a / 100, g = o === 0 || a === 0 ? 0 : o / Math.sqrt(f), C = Math.pow(g * s, 1 / 0.9), p = n.aw * Math.pow(f, 1 / n.c / n.z) / n.nbb, w = 23 * (p + 0.305) * C / (23 * l + 11 * C * i + 108 * C * h), v = w * i, D = w * h, k = (460 * p + 451 * v + 288 * D) / 1403, V = (460 * p - 891 * v - 261 * D) / 1403, x = (460 * p - 220 * v - 6300 * D) / 1403, b = hr([d.inverseChromaticAdaptation(k), d.inverseChromaticAdaptation(V), d.inverseChromaticAdaptation(x)], d.LINRGB_FROM_SCALED_DISCOUNT);
218
218
  if (b[0] < 0 || b[1] < 0 || b[2] < 0) return 0;
219
- const S = d.Y_FROM_LINRGB[0], M = d.Y_FROM_LINRGB[1], I = d.Y_FROM_LINRGB[2], T = S * b[0] + M * b[1] + I * b[2];
220
- if (T <= 0) return 0;
221
- if (m === 4 || Math.abs(T - o) < 2e-3) return b[0] > 100.01 || b[1] > 100.01 || b[2] > 100.01 ? 0 : xr(b);
222
- a -= (T - o) * a / (2 * T);
219
+ const B = d.Y_FROM_LINRGB[0], M = d.Y_FROM_LINRGB[1], S = d.Y_FROM_LINRGB[2], I = B * b[0] + M * b[1] + S * b[2];
220
+ if (I <= 0) return 0;
221
+ if (m === 4 || Math.abs(I - t) < 2e-3) return b[0] > 100.01 || b[1] > 100.01 || b[2] > 100.01 ? 0 : xr(b);
222
+ a -= (I - t) * a / (2 * I);
223
223
  }
224
224
  return 0;
225
225
  }
226
- static solveToInt(e, t, o) {
227
- if (t < 1e-4 || o < 1e-4 || o > 99.9999) return function(i) {
228
- const l = J(G(i));
229
- return dr(l, l, l);
230
- }(o);
231
- const a = (e = lr(e)) / 180 * Math.PI, c = G(o), s = d.findResultByJ(a, t, c);
232
- return s !== 0 ? s : xr(d.bisectToLimit(c, a));
226
+ static solveToInt(e, o, t) {
227
+ if (o < 1e-4 || t < 1e-4 || t > 99.9999) return function(l) {
228
+ const h = J(G(l));
229
+ return dr(h, h, h);
230
+ }(t);
231
+ const a = (e = lr(e)) / 180 * Math.PI, n = G(t), s = d.findResultByJ(a, o, n);
232
+ return s !== 0 ? s : xr(d.bisectToLimit(n, a));
233
233
  }
234
- static solveToCam(e, t, o) {
235
- return L.fromInt(d.solveToInt(e, t, o));
234
+ static solveToCam(e, o, t) {
235
+ return O.fromInt(d.solveToInt(e, o, t));
236
236
  }
237
237
  }
238
238
  d.SCALED_DISCOUNT_FROM_LINRGB = [[0.001200833568784504, 0.002389694492170889, 2795742885861124e-19], [5891086651375999e-19, 0.0029785502573438758, 3270666104008398e-19], [10146692491640572e-20, 5364214359186694e-19, 0.0032979401770712076]], d.LINRGB_FROM_SCALED_DISCOUNT = [[1373.2198709594231, -1100.4251190754821, -7.278681089101213], [-271.815969077903, 559.6580465940733, -32.46047482791194], [1.9622899599665666, -57.173814538844006, 308.7233197812385]], d.Y_FROM_LINRGB = [0.2126, 0.7152, 0.0722], d.CRITICAL_PLANES = [0.015176349177441876, 0.045529047532325624, 0.07588174588720938, 0.10623444424209313, 0.13658714259697685, 0.16693984095186062, 0.19729253930674434, 0.2276452376616281, 0.2579979360165119, 0.28835063437139563, 0.3188300904430532, 0.350925934958123, 0.3848314933096426, 0.42057480301049466, 0.458183274052838, 0.4976837250274023, 0.5391024159806381, 0.5824650784040898, 0.6277969426914107, 0.6751227633498623, 0.7244668422128921, 0.775853049866786, 0.829304845476233, 0.8848452951698498, 0.942497089126609, 1.0022825574869039, 1.0642236851973577, 1.1283421258858297, 1.1946592148522128, 1.2631959812511864, 1.3339731595349034, 1.407011200216447, 1.4823302800086415, 1.5599503113873272, 1.6398909516233677, 1.7221716113234105, 1.8068114625156377, 1.8938294463134073, 1.9832442801866852, 2.075074464868551, 2.1693382909216234, 2.2660538449872063, 2.36523901573795, 2.4669114995532007, 2.5710888059345764, 2.6777882626779785, 2.7870270208169257, 2.898822059350997, 3.0131901897720907, 3.1301480604002863, 3.2497121605402226, 3.3718988244681087, 3.4967242352587946, 3.624204428461639, 3.754355295633311, 3.887192587735158, 4.022731918402185, 4.160988767090289, 4.301978482107941, 4.445716283538092, 4.592217266055746, 4.741496401646282, 4.893568542229298, 5.048448422192488, 5.20615066083972, 5.3666897647573375, 5.5300801301023865, 5.696336044816294, 5.865471690767354, 6.037501145825082, 6.212438385869475, 6.390297286737924, 6.571091626112461, 6.7548350853498045, 6.941541251256611, 7.131223617812143, 7.323895587840543, 7.5195704746346665, 7.7182615035334345, 7.919981813454504, 8.124744458384042, 8.332562408825165, 8.543448553206703, 8.757415699253682, 8.974476575321063, 9.194643831691977, 9.417930041841839, 9.644347703669503, 9.873909240696694, 10.106627003236781, 10.342513269534024, 10.58158024687427, 10.8238400726681, 11.069304815507364, 11.317986476196008, 11.569896988756009, 11.825048221409341, 12.083451977536606, 12.345119996613247, 12.610063955123938, 12.878295467455942, 13.149826086772048, 13.42466730586372, 13.702830557985108, 13.984327217668513, 14.269168601521828, 14.55736596900856, 14.848930523210871, 15.143873411576273, 15.44220572664832, 15.743938506781891, 16.04908273684337, 16.35764934889634, 16.66964922287304, 16.985093187232053, 17.30399201960269, 17.62635644741625, 17.95219714852476, 18.281524751807332, 18.614349837764564, 18.95068293910138, 19.290534541298456, 19.633915083172692, 19.98083495742689, 20.331304511189067, 20.685334046541502, 21.042933821039977, 21.404114048223256, 21.76888489811322, 22.137256497705877, 22.50923893145328, 22.884842241736916, 23.264076429332462, 23.6469514538663, 24.033477234264016, 24.42366364919083, 24.817520537484558, 25.21505769858089, 25.61628489293138, 26.021211842414342, 26.429848230738664, 26.842203703840827, 27.258287870275353, 27.678110301598522, 28.10168053274597, 28.529008062403893, 28.96010235337422, 29.39497283293396, 29.83362889318845, 30.276079891419332, 30.722335150426627, 31.172403958865512, 31.62629557157785, 32.08401920991837, 32.54558406207592, 33.010999283389665, 33.4802739966603, 33.953417292456834, 34.430438229418264, 34.911345834551085, 35.39614910352207, 35.88485700094671, 36.37747846067349, 36.87402238606382, 37.37449765026789, 37.87891309649659, 38.38727753828926, 38.89959975977785, 39.41588851594697, 39.93615253289054, 40.460400508064545, 40.98864111053629, 41.520882981230194, 42.05713473317016, 42.597404951718396, 43.141702194811224, 43.6900349931913, 44.24241185063697, 44.798841244188324, 45.35933162437017, 45.92389141541209, 46.49252901546552, 47.065252796817916, 47.64207110610409, 48.22299226451468, 48.808024568002054, 49.3971762874833, 49.9904556690408, 50.587870934119984, 51.189430279724725, 51.79514187861014, 52.40501387947288, 53.0190544071392, 53.637271562750364, 54.259673423945976, 54.88626804504493, 55.517063457223934, 56.15206766869424, 56.79128866487574, 57.43473440856916, 58.08241284012621, 58.734331877617365, 59.39049941699807, 60.05092333227251, 60.715611475655585, 61.38457167773311, 62.057811747619894, 62.7353394731159, 63.417162620860914, 64.10328893648692, 64.79372614476921, 65.48848194977529, 66.18756403501224, 66.89098006357258, 67.59873767827808, 68.31084450182222, 69.02730813691093, 69.74813616640164, 70.47333615344107, 71.20291564160104, 71.93688215501312, 72.67524319850172, 73.41800625771542, 74.16517879925733, 74.9167682708136, 75.67278210128072, 76.43322770089146, 77.1981124613393, 77.96744375590167, 78.74122893956174, 79.51947534912904, 80.30219030335869, 81.08938110306934, 81.88105503125999, 82.67721935322541, 83.4778813166706, 84.28304815182372, 85.09272707154808, 85.90692527145302, 86.72564993000343, 87.54890820862819, 88.3767072518277, 89.2090541872801, 90.04595612594655, 90.88742016217518, 91.73345337380438, 92.58406282226491, 93.43925555268066, 94.29903859396902, 95.16341895893969, 96.03240364439274, 96.9059996312159, 97.78421388448044, 98.6670533535366, 99.55452497210776];
239
- class B {
240
- static from(e, t, o) {
241
- return new B(d.solveToInt(e, t, o));
239
+ class T {
240
+ static from(e, o, t) {
241
+ return new T(d.solveToInt(e, o, t));
242
242
  }
243
243
  static fromInt(e) {
244
- return new B(e);
244
+ return new T(e);
245
245
  }
246
246
  toInt() {
247
247
  return this.argb;
@@ -266,122 +266,122 @@ class B {
266
266
  }
267
267
  constructor(e) {
268
268
  this.argb = e;
269
- const t = L.fromInt(e);
270
- this.internalHue = t.hue, this.internalChroma = t.chroma, this.internalTone = ur(e), this.argb = e;
269
+ const o = O.fromInt(e);
270
+ this.internalHue = o.hue, this.internalChroma = o.chroma, this.internalTone = ur(e), this.argb = e;
271
271
  }
272
272
  setInternalState(e) {
273
- const t = L.fromInt(e);
274
- this.internalHue = t.hue, this.internalChroma = t.chroma, this.internalTone = ur(e), this.argb = e;
273
+ const o = O.fromInt(e);
274
+ this.internalHue = o.hue, this.internalChroma = o.chroma, this.internalTone = ur(e), this.argb = e;
275
275
  }
276
276
  inViewingConditions(e) {
277
- const t = L.fromInt(this.toInt()).xyzInViewingConditions(e), o = L.fromXyzInViewingConditions(t[0], t[1], t[2], j.make());
278
- return B.from(o.hue, o.chroma, mr(t[1]));
277
+ const o = O.fromInt(this.toInt()).xyzInViewingConditions(e), t = O.fromXyzInViewingConditions(o[0], o[1], o[2], j.make());
278
+ return T.from(t.hue, t.chroma, mr(o[1]));
279
279
  }
280
280
  }
281
281
  class yr {
282
- static harmonize(e, t) {
283
- const o = B.fromInt(e), a = B.fromInt(t), c = (s = o.hue, i = a.hue, 180 - Math.abs(Math.abs(s - i) - 180));
284
- var s, i;
285
- const l = Math.min(0.5 * c, 15), h = lr(o.hue + l * (m = o.hue, lr(a.hue - m) <= 180 ? 1 : -1));
282
+ static harmonize(e, o) {
283
+ const t = T.fromInt(e), a = T.fromInt(o), n = (s = t.hue, l = a.hue, 180 - Math.abs(Math.abs(s - l) - 180));
284
+ var s, l;
285
+ const h = Math.min(0.5 * n, 15), i = lr(t.hue + h * (m = t.hue, lr(a.hue - m) <= 180 ? 1 : -1));
286
286
  var m;
287
- return B.from(h, o.chroma, o.tone).toInt();
287
+ return T.from(i, t.chroma, t.tone).toInt();
288
288
  }
289
- static hctHue(e, t, o) {
290
- const a = yr.cam16Ucs(e, t, o), c = L.fromInt(a), s = L.fromInt(e);
291
- return B.from(c.hue, s.chroma, ur(e)).toInt();
289
+ static hctHue(e, o, t) {
290
+ const a = yr.cam16Ucs(e, o, t), n = O.fromInt(a), s = O.fromInt(e);
291
+ return T.from(n.hue, s.chroma, ur(e)).toInt();
292
292
  }
293
- static cam16Ucs(e, t, o) {
294
- const a = L.fromInt(e), c = L.fromInt(t), s = a.jstar, i = a.astar, l = a.bstar, h = s + (c.jstar - s) * o, m = i + (c.astar - i) * o, f = l + (c.bstar - l) * o;
295
- return L.fromUcs(h, m, f).toInt();
293
+ static cam16Ucs(e, o, t) {
294
+ const a = O.fromInt(e), n = O.fromInt(o), s = a.jstar, l = a.astar, h = a.bstar, i = s + (n.jstar - s) * t, m = l + (n.astar - l) * t, f = h + (n.bstar - h) * t;
295
+ return O.fromUcs(i, m, f).toInt();
296
296
  }
297
297
  }
298
298
  class F {
299
- static ratioOfTones(e, t) {
300
- return e = sr(0, 100, e), t = sr(0, 100, t), F.ratioOfYs(G(e), G(t));
299
+ static ratioOfTones(e, o) {
300
+ return e = sr(0, 100, e), o = sr(0, 100, o), F.ratioOfYs(G(e), G(o));
301
301
  }
302
- static ratioOfYs(e, t) {
303
- const o = e > t ? e : t;
304
- return (o + 5) / ((o === t ? e : t) + 5);
302
+ static ratioOfYs(e, o) {
303
+ const t = e > o ? e : o;
304
+ return (t + 5) / ((t === o ? e : o) + 5);
305
305
  }
306
- static lighter(e, t) {
306
+ static lighter(e, o) {
307
307
  if (e < 0 || e > 100) return -1;
308
- const o = G(e), a = t * (o + 5) - 5, c = F.ratioOfYs(a, o), s = Math.abs(c - t);
309
- if (c < t && s > 0.04) return -1;
310
- const i = mr(a) + 0.4;
311
- return i < 0 || i > 100 ? -1 : i;
308
+ const t = G(e), a = o * (t + 5) - 5, n = F.ratioOfYs(a, t), s = Math.abs(n - o);
309
+ if (n < o && s > 0.04) return -1;
310
+ const l = mr(a) + 0.4;
311
+ return l < 0 || l > 100 ? -1 : l;
312
312
  }
313
- static darker(e, t) {
313
+ static darker(e, o) {
314
314
  if (e < 0 || e > 100) return -1;
315
- const o = G(e), a = (o + 5) / t - 5, c = F.ratioOfYs(o, a), s = Math.abs(c - t);
316
- if (c < t && s > 0.04) return -1;
317
- const i = mr(a) - 0.4;
318
- return i < 0 || i > 100 ? -1 : i;
315
+ const t = G(e), a = (t + 5) / o - 5, n = F.ratioOfYs(t, a), s = Math.abs(n - o);
316
+ if (n < o && s > 0.04) return -1;
317
+ const l = mr(a) - 0.4;
318
+ return l < 0 || l > 100 ? -1 : l;
319
319
  }
320
- static lighterUnsafe(e, t) {
321
- const o = F.lighter(e, t);
322
- return o < 0 ? 100 : o;
320
+ static lighterUnsafe(e, o) {
321
+ const t = F.lighter(e, o);
322
+ return t < 0 ? 100 : t;
323
323
  }
324
- static darkerUnsafe(e, t) {
325
- const o = F.darker(e, t);
326
- return o < 0 ? 0 : o;
324
+ static darkerUnsafe(e, o) {
325
+ const t = F.darker(e, o);
326
+ return t < 0 ? 0 : t;
327
327
  }
328
328
  }
329
329
  class pr {
330
330
  static isDisliked(e) {
331
- const t = Math.round(e.hue) >= 90 && Math.round(e.hue) <= 111, o = Math.round(e.chroma) > 16, a = Math.round(e.tone) < 65;
332
- return t && o && a;
331
+ const o = Math.round(e.hue) >= 90 && Math.round(e.hue) <= 111, t = Math.round(e.chroma) > 16, a = Math.round(e.tone) < 65;
332
+ return o && t && a;
333
333
  }
334
334
  static fixIfDisliked(e) {
335
- return pr.isDisliked(e) ? B.from(e.hue, e.chroma, 70) : e;
335
+ return pr.isDisliked(e) ? T.from(e.hue, e.chroma, 70) : e;
336
336
  }
337
337
  }
338
338
  class u {
339
339
  static fromPalette(e) {
340
340
  return new u(e.name ?? "", e.palette, e.tone, e.isBackground ?? !1, e.background, e.secondBackground, e.contrastCurve, e.toneDeltaPair);
341
341
  }
342
- constructor(e, t, o, a, c, s, i, l) {
343
- if (this.name = e, this.palette = t, this.tone = o, this.isBackground = a, this.background = c, this.secondBackground = s, this.contrastCurve = i, this.toneDeltaPair = l, this.hctCache = /* @__PURE__ */ new Map(), !c && s) throw new Error(`Color ${e} has secondBackgrounddefined, but background is not defined.`);
344
- if (!c && i) throw new Error(`Color ${e} has contrastCurvedefined, but background is not defined.`);
345
- if (c && !i) throw new Error(`Color ${e} has backgrounddefined, but contrastCurve is not defined.`);
342
+ constructor(e, o, t, a, n, s, l, h) {
343
+ if (this.name = e, this.palette = o, this.tone = t, this.isBackground = a, this.background = n, this.secondBackground = s, this.contrastCurve = l, this.toneDeltaPair = h, this.hctCache = /* @__PURE__ */ new Map(), !n && s) throw new Error(`Color ${e} has secondBackgrounddefined, but background is not defined.`);
344
+ if (!n && l) throw new Error(`Color ${e} has contrastCurvedefined, but background is not defined.`);
345
+ if (n && !l) throw new Error(`Color ${e} has backgrounddefined, but contrastCurve is not defined.`);
346
346
  }
347
347
  getArgb(e) {
348
348
  return this.getHct(e).toInt();
349
349
  }
350
350
  getHct(e) {
351
- const t = this.hctCache.get(e);
352
- if (t != null) return t;
353
- const o = this.getTone(e), a = this.palette(e).getHct(o);
351
+ const o = this.hctCache.get(e);
352
+ if (o != null) return o;
353
+ const t = this.getTone(e), a = this.palette(e).getHct(t);
354
354
  return this.hctCache.size > 4 && this.hctCache.clear(), this.hctCache.set(e, a), a;
355
355
  }
356
356
  getTone(e) {
357
- const t = e.contrastLevel < 0;
357
+ const o = e.contrastLevel < 0;
358
358
  if (this.toneDeltaPair) {
359
- const o = this.toneDeltaPair(e), a = o.roleA, c = o.roleB, s = o.delta, i = o.polarity, l = o.stayTogether, h = this.background(e).getTone(e), m = i === "nearer" || i === "lighter" && !e.isDark || i === "darker" && e.isDark, f = m ? a : c, g = m ? c : a, C = this.name === f.name, p = e.isDark ? 1 : -1, w = f.contrastCurve.get(e.contrastLevel), v = g.contrastCurve.get(e.contrastLevel), D = f.tone(e);
360
- let k = F.ratioOfTones(h, D) >= w ? D : u.foregroundTone(h, w);
361
- const O = g.tone(e);
362
- let x = F.ratioOfTones(h, O) >= v ? O : u.foregroundTone(h, v);
363
- return t && (k = u.foregroundTone(h, w), x = u.foregroundTone(h, v)), (x - k) * p >= s || (x = sr(0, 100, k + s * p), (x - k) * p >= s || (k = sr(0, 100, x - s * p))), 50 <= k && k < 60 ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : 50 <= x && x < 60 && (l ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : x = p > 0 ? 60 : 49), C ? k : x;
359
+ const t = this.toneDeltaPair(e), a = t.roleA, n = t.roleB, s = t.delta, l = t.polarity, h = t.stayTogether, i = this.background(e).getTone(e), m = l === "nearer" || l === "lighter" && !e.isDark || l === "darker" && e.isDark, f = m ? a : n, g = m ? n : a, C = this.name === f.name, p = e.isDark ? 1 : -1, w = f.contrastCurve.get(e.contrastLevel), v = g.contrastCurve.get(e.contrastLevel), D = f.tone(e);
360
+ let k = F.ratioOfTones(i, D) >= w ? D : u.foregroundTone(i, w);
361
+ const V = g.tone(e);
362
+ let x = F.ratioOfTones(i, V) >= v ? V : u.foregroundTone(i, v);
363
+ return o && (k = u.foregroundTone(i, w), x = u.foregroundTone(i, v)), (x - k) * p >= s || (x = sr(0, 100, k + s * p), (x - k) * p >= s || (k = sr(0, 100, x - s * p))), 50 <= k && k < 60 ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : 50 <= x && x < 60 && (h ? p > 0 ? (k = 60, x = Math.max(x, k + s * p)) : (k = 49, x = Math.min(x, k + s * p)) : x = p > 0 ? 60 : 49), C ? k : x;
364
364
  }
365
365
  {
366
- let o = this.tone(e);
367
- if (this.background == null) return o;
368
- const a = this.background(e).getTone(e), c = this.contrastCurve.get(e.contrastLevel);
369
- if (F.ratioOfTones(a, o) >= c || (o = u.foregroundTone(a, c)), t && (o = u.foregroundTone(a, c)), this.isBackground && 50 <= o && o < 60 && (o = F.ratioOfTones(49, a) >= c ? 49 : 60), this.secondBackground) {
370
- const [s, i] = [this.background, this.secondBackground], [l, h] = [s(e).getTone(e), i(e).getTone(e)], [m, f] = [Math.max(l, h), Math.min(l, h)];
371
- if (F.ratioOfTones(m, o) >= c && F.ratioOfTones(f, o) >= c) return o;
372
- const g = F.lighter(m, c), C = F.darker(f, c), p = [];
373
- return g !== -1 && p.push(g), C !== -1 && p.push(C), u.tonePrefersLightForeground(l) || u.tonePrefersLightForeground(h) ? g < 0 ? 100 : g : p.length === 1 ? p[0] : C < 0 ? 0 : C;
366
+ let t = this.tone(e);
367
+ if (this.background == null) return t;
368
+ const a = this.background(e).getTone(e), n = this.contrastCurve.get(e.contrastLevel);
369
+ if (F.ratioOfTones(a, t) >= n || (t = u.foregroundTone(a, n)), o && (t = u.foregroundTone(a, n)), this.isBackground && 50 <= t && t < 60 && (t = F.ratioOfTones(49, a) >= n ? 49 : 60), this.secondBackground) {
370
+ const [s, l] = [this.background, this.secondBackground], [h, i] = [s(e).getTone(e), l(e).getTone(e)], [m, f] = [Math.max(h, i), Math.min(h, i)];
371
+ if (F.ratioOfTones(m, t) >= n && F.ratioOfTones(f, t) >= n) return t;
372
+ const g = F.lighter(m, n), C = F.darker(f, n), p = [];
373
+ return g !== -1 && p.push(g), C !== -1 && p.push(C), u.tonePrefersLightForeground(h) || u.tonePrefersLightForeground(i) ? g < 0 ? 100 : g : p.length === 1 ? p[0] : C < 0 ? 0 : C;
374
374
  }
375
- return o;
375
+ return t;
376
376
  }
377
377
  }
378
- static foregroundTone(e, t) {
379
- const o = F.lighterUnsafe(e, t), a = F.darkerUnsafe(e, t), c = F.ratioOfTones(o, e), s = F.ratioOfTones(a, e);
378
+ static foregroundTone(e, o) {
379
+ const t = F.lighterUnsafe(e, o), a = F.darkerUnsafe(e, o), n = F.ratioOfTones(t, e), s = F.ratioOfTones(a, e);
380
380
  if (u.tonePrefersLightForeground(e)) {
381
- const i = Math.abs(c - s) < 0.1 && c < t && s < t;
382
- return c >= t || c >= s || i ? o : a;
381
+ const l = Math.abs(n - s) < 0.1 && n < o && s < o;
382
+ return n >= o || n >= s || l ? t : a;
383
383
  }
384
- return s >= t || s >= c ? a : o;
384
+ return s >= o || s >= n ? a : t;
385
385
  }
386
386
  static tonePrefersLightForeground(e) {
387
387
  return Math.round(e) < 60;
@@ -393,63 +393,63 @@ class u {
393
393
  return u.tonePrefersLightForeground(e) && !u.toneAllowsLightForeground(e) ? 49 : e;
394
394
  }
395
395
  }
396
- class V {
396
+ class L {
397
397
  static fromInt(e) {
398
- const t = B.fromInt(e);
399
- return V.fromHct(t);
398
+ const o = T.fromInt(e);
399
+ return L.fromHct(o);
400
400
  }
401
401
  static fromHct(e) {
402
- return new V(e.hue, e.chroma, e);
402
+ return new L(e.hue, e.chroma, e);
403
403
  }
404
- static fromHueAndChroma(e, t) {
405
- const o = new Rr(e, t).create();
406
- return new V(e, t, o);
404
+ static fromHueAndChroma(e, o) {
405
+ const t = new Er(e, o).create();
406
+ return new L(e, o, t);
407
407
  }
408
- constructor(e, t, o) {
409
- this.hue = e, this.chroma = t, this.keyColor = o, this.cache = /* @__PURE__ */ new Map();
408
+ constructor(e, o, t) {
409
+ this.hue = e, this.chroma = o, this.keyColor = t, this.cache = /* @__PURE__ */ new Map();
410
410
  }
411
411
  tone(e) {
412
- let t = this.cache.get(e);
413
- return t === void 0 && (t = B.from(this.hue, this.chroma, e).toInt(), this.cache.set(e, t)), t;
412
+ let o = this.cache.get(e);
413
+ return o === void 0 && (o = T.from(this.hue, this.chroma, e).toInt(), this.cache.set(e, o)), o;
414
414
  }
415
415
  getHct(e) {
416
- return B.fromInt(this.tone(e));
416
+ return T.fromInt(this.tone(e));
417
417
  }
418
418
  }
419
- class Rr {
420
- constructor(e, t) {
421
- this.hue = e, this.requestedChroma = t, this.chromaCache = /* @__PURE__ */ new Map(), this.maxChromaValue = 200;
419
+ class Er {
420
+ constructor(e, o) {
421
+ this.hue = e, this.requestedChroma = o, this.chromaCache = /* @__PURE__ */ new Map(), this.maxChromaValue = 200;
422
422
  }
423
423
  create() {
424
- let e = 0, t = 100;
425
- for (; e < t; ) {
426
- const o = Math.floor((e + t) / 2), a = this.maxChroma(o) < this.maxChroma(o + 1);
427
- if (this.maxChroma(o) >= this.requestedChroma - 0.01) if (Math.abs(e - 50) < Math.abs(t - 50)) t = o;
424
+ let e = 0, o = 100;
425
+ for (; e < o; ) {
426
+ const t = Math.floor((e + o) / 2), a = this.maxChroma(t) < this.maxChroma(t + 1);
427
+ if (this.maxChroma(t) >= this.requestedChroma - 0.01) if (Math.abs(e - 50) < Math.abs(o - 50)) o = t;
428
428
  else {
429
- if (e === o) return B.from(this.hue, this.requestedChroma, e);
430
- e = o;
429
+ if (e === t) return T.from(this.hue, this.requestedChroma, e);
430
+ e = t;
431
431
  }
432
- else a ? e = o + 1 : t = o;
432
+ else a ? e = t + 1 : o = t;
433
433
  }
434
- return B.from(this.hue, this.requestedChroma, e);
434
+ return T.from(this.hue, this.requestedChroma, e);
435
435
  }
436
436
  maxChroma(e) {
437
437
  if (this.chromaCache.has(e)) return this.chromaCache.get(e);
438
- const t = B.from(this.hue, this.maxChromaValue, e).chroma;
439
- return this.chromaCache.set(e, t), t;
438
+ const o = T.from(this.hue, this.maxChromaValue, e).chroma;
439
+ return this.chromaCache.set(e, o), o;
440
440
  }
441
441
  }
442
442
  class y {
443
- constructor(e, t, o, a) {
444
- this.low = e, this.normal = t, this.medium = o, this.high = a;
443
+ constructor(e, o, t, a) {
444
+ this.low = e, this.normal = o, this.medium = t, this.high = a;
445
445
  }
446
446
  get(e) {
447
447
  return e <= -1 ? this.low : e < 0 ? rr(this.low, this.normal, (e - -1) / 1) : e < 0.5 ? rr(this.normal, this.medium, (e - 0) / 0.5) : e < 1 ? rr(this.medium, this.high, (e - 0.5) / 0.5) : this.high;
448
448
  }
449
449
  }
450
450
  class E {
451
- constructor(e, t, o, a, c) {
452
- this.roleA = e, this.roleB = t, this.delta = o, this.polarity = a, this.stayTogether = c;
451
+ constructor(e, o, t, a, n) {
452
+ this.roleA = e, this.roleB = o, this.delta = t, this.polarity = a, this.stayTogether = n;
453
453
  }
454
454
  }
455
455
  var er;
@@ -462,32 +462,32 @@ function P(r) {
462
462
  (function(r) {
463
463
  r[r.MONOCHROME = 0] = "MONOCHROME", r[r.NEUTRAL = 1] = "NEUTRAL", r[r.TONAL_SPOT = 2] = "TONAL_SPOT", r[r.VIBRANT = 3] = "VIBRANT", r[r.EXPRESSIVE = 4] = "EXPRESSIVE", r[r.FIDELITY = 5] = "FIDELITY", r[r.CONTENT = 6] = "CONTENT", r[r.RAINBOW = 7] = "RAINBOW", r[r.FRUIT_SALAD = 8] = "FRUIT_SALAD";
464
464
  })(er || (er = {}));
465
- class n {
465
+ class c {
466
466
  static highestSurface(e) {
467
- return e.isDark ? n.surfaceBright : n.surfaceDim;
467
+ return e.isDark ? c.surfaceBright : c.surfaceDim;
468
468
  }
469
469
  }
470
- n.contentAccentToneDelta = 15, n.primaryPaletteKeyColor = u.fromPalette({ name: "primary_palette_key_color", palette: (r) => r.primaryPalette, tone: (r) => r.primaryPalette.keyColor.tone }), n.secondaryPaletteKeyColor = u.fromPalette({ name: "secondary_palette_key_color", palette: (r) => r.secondaryPalette, tone: (r) => r.secondaryPalette.keyColor.tone }), n.tertiaryPaletteKeyColor = u.fromPalette({ name: "tertiary_palette_key_color", palette: (r) => r.tertiaryPalette, tone: (r) => r.tertiaryPalette.keyColor.tone }), n.neutralPaletteKeyColor = u.fromPalette({ name: "neutral_palette_key_color", palette: (r) => r.neutralPalette, tone: (r) => r.neutralPalette.keyColor.tone }), n.neutralVariantPaletteKeyColor = u.fromPalette({ name: "neutral_variant_palette_key_color", palette: (r) => r.neutralVariantPalette, tone: (r) => r.neutralVariantPalette.keyColor.tone }), n.background = u.fromPalette({ name: "background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), n.onBackground = u.fromPalette({ name: "on_background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => n.background, contrastCurve: new y(3, 3, 4.5, 7) }), n.surface = u.fromPalette({ name: "surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), n.surfaceDim = u.fromPalette({ name: "surface_dim", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : new y(87, 87, 80, 75).get(r.contrastLevel), isBackground: !0 }), n.surfaceBright = u.fromPalette({ name: "surface_bright", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(24, 24, 29, 34).get(r.contrastLevel) : 98, isBackground: !0 }), n.surfaceContainerLowest = u.fromPalette({ name: "surface_container_lowest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(4, 4, 2, 0).get(r.contrastLevel) : 100, isBackground: !0 }), n.surfaceContainerLow = u.fromPalette({ name: "surface_container_low", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(10, 10, 11, 12).get(r.contrastLevel) : new y(96, 96, 96, 95).get(r.contrastLevel), isBackground: !0 }), n.surfaceContainer = u.fromPalette({ name: "surface_container", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(12, 12, 16, 20).get(r.contrastLevel) : new y(94, 94, 92, 90).get(r.contrastLevel), isBackground: !0 }), n.surfaceContainerHigh = u.fromPalette({ name: "surface_container_high", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(17, 17, 21, 25).get(r.contrastLevel) : new y(92, 92, 88, 85).get(r.contrastLevel), isBackground: !0 }), n.surfaceContainerHighest = u.fromPalette({ name: "surface_container_highest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(22, 22, 26, 30).get(r.contrastLevel) : new y(90, 90, 84, 80).get(r.contrastLevel), isBackground: !0 }), n.onSurface = u.fromPalette({ name: "on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => n.highestSurface(r), contrastCurve: new y(4.5, 7, 11, 21) }), n.surfaceVariant = u.fromPalette({ name: "surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 90, isBackground: !0 }), n.onSurfaceVariant = u.fromPalette({ name: "on_surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 80 : 30, background: (r) => n.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 11) }), n.inverseSurface = u.fromPalette({ name: "inverse_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 20 }), n.inverseOnSurface = u.fromPalette({ name: "inverse_on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 20 : 95, background: (r) => n.inverseSurface, contrastCurve: new y(4.5, 7, 11, 21) }), n.outline = u.fromPalette({ name: "outline", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 60 : 50, background: (r) => n.highestSurface(r), contrastCurve: new y(1.5, 3, 4.5, 7) }), n.outlineVariant = u.fromPalette({ name: "outline_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 80, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5) }), n.shadow = u.fromPalette({ name: "shadow", palette: (r) => r.neutralPalette, tone: (r) => 0 }), n.scrim = u.fromPalette({ name: "scrim", palette: (r) => r.neutralPalette, tone: (r) => 0 }), n.surfaceTint = u.fromPalette({ name: "surface_tint", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0 }), n.primary = u.fromPalette({ name: "primary", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? r.isDark ? 100 : 0 : r.isDark ? 80 : 40, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(n.primaryContainer, n.primary, 10, "nearer", !1) }), n.onPrimary = u.fromPalette({ name: "on_primary", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 90 : r.isDark ? 20 : 100, background: (r) => n.primary, contrastCurve: new y(4.5, 7, 11, 21) }), n.primaryContainer = u.fromPalette({ name: "primary_container", palette: (r) => r.primaryPalette, tone: (r) => K(r) ? r.sourceColorHct.tone : P(r) ? r.isDark ? 85 : 25 : r.isDark ? 30 : 90, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.primaryContainer, n.primary, 10, "nearer", !1) }), n.onPrimaryContainer = u.fromPalette({ name: "on_primary_container", palette: (r) => r.primaryPalette, tone: (r) => K(r) ? u.foregroundTone(n.primaryContainer.tone(r), 4.5) : P(r) ? r.isDark ? 0 : 100 : r.isDark ? 90 : 30, background: (r) => n.primaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), n.inversePrimary = u.fromPalette({ name: "inverse_primary", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 40 : 80, background: (r) => n.inverseSurface, contrastCurve: new y(3, 4.5, 7, 7) }), n.secondary = u.fromPalette({ name: "secondary", palette: (r) => r.secondaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(n.secondaryContainer, n.secondary, 10, "nearer", !1) }), n.onSecondary = u.fromPalette({ name: "on_secondary", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 100 : r.isDark ? 20 : 100, background: (r) => n.secondary, contrastCurve: new y(4.5, 7, 11, 21) }), n.secondaryContainer = u.fromPalette({ name: "secondary_container", palette: (r) => r.secondaryPalette, tone: (r) => {
470
+ c.contentAccentToneDelta = 15, c.primaryPaletteKeyColor = u.fromPalette({ name: "primary_palette_key_color", palette: (r) => r.primaryPalette, tone: (r) => r.primaryPalette.keyColor.tone }), c.secondaryPaletteKeyColor = u.fromPalette({ name: "secondary_palette_key_color", palette: (r) => r.secondaryPalette, tone: (r) => r.secondaryPalette.keyColor.tone }), c.tertiaryPaletteKeyColor = u.fromPalette({ name: "tertiary_palette_key_color", palette: (r) => r.tertiaryPalette, tone: (r) => r.tertiaryPalette.keyColor.tone }), c.neutralPaletteKeyColor = u.fromPalette({ name: "neutral_palette_key_color", palette: (r) => r.neutralPalette, tone: (r) => r.neutralPalette.keyColor.tone }), c.neutralVariantPaletteKeyColor = u.fromPalette({ name: "neutral_variant_palette_key_color", palette: (r) => r.neutralVariantPalette, tone: (r) => r.neutralVariantPalette.keyColor.tone }), c.background = u.fromPalette({ name: "background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), c.onBackground = u.fromPalette({ name: "on_background", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => c.background, contrastCurve: new y(3, 3, 4.5, 7) }), c.surface = u.fromPalette({ name: "surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : 98, isBackground: !0 }), c.surfaceDim = u.fromPalette({ name: "surface_dim", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 6 : new y(87, 87, 80, 75).get(r.contrastLevel), isBackground: !0 }), c.surfaceBright = u.fromPalette({ name: "surface_bright", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(24, 24, 29, 34).get(r.contrastLevel) : 98, isBackground: !0 }), c.surfaceContainerLowest = u.fromPalette({ name: "surface_container_lowest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(4, 4, 2, 0).get(r.contrastLevel) : 100, isBackground: !0 }), c.surfaceContainerLow = u.fromPalette({ name: "surface_container_low", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(10, 10, 11, 12).get(r.contrastLevel) : new y(96, 96, 96, 95).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainer = u.fromPalette({ name: "surface_container", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(12, 12, 16, 20).get(r.contrastLevel) : new y(94, 94, 92, 90).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainerHigh = u.fromPalette({ name: "surface_container_high", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(17, 17, 21, 25).get(r.contrastLevel) : new y(92, 92, 88, 85).get(r.contrastLevel), isBackground: !0 }), c.surfaceContainerHighest = u.fromPalette({ name: "surface_container_highest", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? new y(22, 22, 26, 30).get(r.contrastLevel) : new y(90, 90, 84, 80).get(r.contrastLevel), isBackground: !0 }), c.onSurface = u.fromPalette({ name: "on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 10, background: (r) => c.highestSurface(r), contrastCurve: new y(4.5, 7, 11, 21) }), c.surfaceVariant = u.fromPalette({ name: "surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 90, isBackground: !0 }), c.onSurfaceVariant = u.fromPalette({ name: "on_surface_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 80 : 30, background: (r) => c.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 11) }), c.inverseSurface = u.fromPalette({ name: "inverse_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 90 : 20 }), c.inverseOnSurface = u.fromPalette({ name: "inverse_on_surface", palette: (r) => r.neutralPalette, tone: (r) => r.isDark ? 20 : 95, background: (r) => c.inverseSurface, contrastCurve: new y(4.5, 7, 11, 21) }), c.outline = u.fromPalette({ name: "outline", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 60 : 50, background: (r) => c.highestSurface(r), contrastCurve: new y(1.5, 3, 4.5, 7) }), c.outlineVariant = u.fromPalette({ name: "outline_variant", palette: (r) => r.neutralVariantPalette, tone: (r) => r.isDark ? 30 : 80, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5) }), c.shadow = u.fromPalette({ name: "shadow", palette: (r) => r.neutralPalette, tone: (r) => 0 }), c.scrim = u.fromPalette({ name: "scrim", palette: (r) => r.neutralPalette, tone: (r) => 0 }), c.surfaceTint = u.fromPalette({ name: "surface_tint", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0 }), c.primary = u.fromPalette({ name: "primary", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? r.isDark ? 100 : 0 : r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(c.primaryContainer, c.primary, 10, "nearer", !1) }), c.onPrimary = u.fromPalette({ name: "on_primary", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 90 : r.isDark ? 20 : 100, background: (r) => c.primary, contrastCurve: new y(4.5, 7, 11, 21) }), c.primaryContainer = u.fromPalette({ name: "primary_container", palette: (r) => r.primaryPalette, tone: (r) => K(r) ? r.sourceColorHct.tone : P(r) ? r.isDark ? 85 : 25 : r.isDark ? 30 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.primaryContainer, c.primary, 10, "nearer", !1) }), c.onPrimaryContainer = u.fromPalette({ name: "on_primary_container", palette: (r) => r.primaryPalette, tone: (r) => K(r) ? u.foregroundTone(c.primaryContainer.tone(r), 4.5) : P(r) ? r.isDark ? 0 : 100 : r.isDark ? 90 : 30, background: (r) => c.primaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), c.inversePrimary = u.fromPalette({ name: "inverse_primary", palette: (r) => r.primaryPalette, tone: (r) => r.isDark ? 40 : 80, background: (r) => c.inverseSurface, contrastCurve: new y(3, 4.5, 7, 7) }), c.secondary = u.fromPalette({ name: "secondary", palette: (r) => r.secondaryPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(c.secondaryContainer, c.secondary, 10, "nearer", !1) }), c.onSecondary = u.fromPalette({ name: "on_secondary", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 100 : r.isDark ? 20 : 100, background: (r) => c.secondary, contrastCurve: new y(4.5, 7, 11, 21) }), c.secondaryContainer = u.fromPalette({ name: "secondary_container", palette: (r) => r.secondaryPalette, tone: (r) => {
471
471
  const e = r.isDark ? 30 : 90;
472
- return P(r) ? r.isDark ? 30 : 85 : K(r) ? function(t, o, a, c) {
473
- let s = a, i = B.from(t, o, a);
474
- if (i.chroma < o) {
475
- let l = i.chroma;
476
- for (; i.chroma < o; ) {
477
- s += c ? -1 : 1;
478
- const h = B.from(t, o, s);
479
- if (l > h.chroma || Math.abs(h.chroma - o) < 0.4) break;
480
- Math.abs(h.chroma - o) < Math.abs(i.chroma - o) && (i = h), l = Math.max(l, h.chroma);
472
+ return P(r) ? r.isDark ? 30 : 85 : K(r) ? function(o, t, a, n) {
473
+ let s = a, l = T.from(o, t, a);
474
+ if (l.chroma < t) {
475
+ let h = l.chroma;
476
+ for (; l.chroma < t; ) {
477
+ s += n ? -1 : 1;
478
+ const i = T.from(o, t, s);
479
+ if (h > i.chroma || Math.abs(i.chroma - t) < 0.4) break;
480
+ Math.abs(i.chroma - t) < Math.abs(l.chroma - t) && (l = i), h = Math.max(h, i.chroma);
481
481
  }
482
482
  }
483
483
  return s;
484
484
  }(r.secondaryPalette.hue, r.secondaryPalette.chroma, e, !r.isDark) : e;
485
- }, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.secondaryContainer, n.secondary, 10, "nearer", !1) }), n.onSecondaryContainer = u.fromPalette({ name: "on_secondary_container", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? r.isDark ? 90 : 10 : K(r) ? u.foregroundTone(n.secondaryContainer.tone(r), 4.5) : r.isDark ? 90 : 30, background: (r) => n.secondaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), n.tertiary = u.fromPalette({ name: "tertiary", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 90 : 25 : r.isDark ? 80 : 40, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(n.tertiaryContainer, n.tertiary, 10, "nearer", !1) }), n.onTertiary = u.fromPalette({ name: "on_tertiary", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 90 : r.isDark ? 20 : 100, background: (r) => n.tertiary, contrastCurve: new y(4.5, 7, 11, 21) }), n.tertiaryContainer = u.fromPalette({ name: "tertiary_container", palette: (r) => r.tertiaryPalette, tone: (r) => {
485
+ }, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.secondaryContainer, c.secondary, 10, "nearer", !1) }), c.onSecondaryContainer = u.fromPalette({ name: "on_secondary_container", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? r.isDark ? 90 : 10 : K(r) ? u.foregroundTone(c.secondaryContainer.tone(r), 4.5) : r.isDark ? 90 : 30, background: (r) => c.secondaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), c.tertiary = u.fromPalette({ name: "tertiary", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 90 : 25 : r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(c.tertiaryContainer, c.tertiary, 10, "nearer", !1) }), c.onTertiary = u.fromPalette({ name: "on_tertiary", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 10 : 90 : r.isDark ? 20 : 100, background: (r) => c.tertiary, contrastCurve: new y(4.5, 7, 11, 21) }), c.tertiaryContainer = u.fromPalette({ name: "tertiary_container", palette: (r) => r.tertiaryPalette, tone: (r) => {
486
486
  if (P(r)) return r.isDark ? 60 : 49;
487
487
  if (!K(r)) return r.isDark ? 30 : 90;
488
488
  const e = r.tertiaryPalette.getHct(r.sourceColorHct.tone);
489
489
  return pr.fixIfDisliked(e).tone;
490
- }, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.tertiaryContainer, n.tertiary, 10, "nearer", !1) }), n.onTertiaryContainer = u.fromPalette({ name: "on_tertiary_container", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 0 : 100 : K(r) ? u.foregroundTone(n.tertiaryContainer.tone(r), 4.5) : r.isDark ? 90 : 30, background: (r) => n.tertiaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), n.error = u.fromPalette({ name: "error", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(n.errorContainer, n.error, 10, "nearer", !1) }), n.onError = u.fromPalette({ name: "on_error", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 20 : 100, background: (r) => n.error, contrastCurve: new y(4.5, 7, 11, 21) }), n.errorContainer = u.fromPalette({ name: "error_container", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 30 : 90, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.errorContainer, n.error, 10, "nearer", !1) }), n.onErrorContainer = u.fromPalette({ name: "on_error_container", palette: (r) => r.errorPalette, tone: (r) => P(r) ? r.isDark ? 90 : 10 : r.isDark ? 90 : 30, background: (r) => n.errorContainer, contrastCurve: new y(3, 4.5, 7, 11) }), n.primaryFixed = u.fromPalette({ name: "primary_fixed", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 40 : 90, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.primaryFixed, n.primaryFixedDim, 10, "lighter", !0) }), n.primaryFixedDim = u.fromPalette({ name: "primary_fixed_dim", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 30 : 80, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.primaryFixed, n.primaryFixedDim, 10, "lighter", !0) }), n.onPrimaryFixed = u.fromPalette({ name: "on_primary_fixed", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 100 : 10, background: (r) => n.primaryFixedDim, secondBackground: (r) => n.primaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), n.onPrimaryFixedVariant = u.fromPalette({ name: "on_primary_fixed_variant", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 90 : 30, background: (r) => n.primaryFixedDim, secondBackground: (r) => n.primaryFixed, contrastCurve: new y(3, 4.5, 7, 11) }), n.secondaryFixed = u.fromPalette({ name: "secondary_fixed", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 80 : 90, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.secondaryFixed, n.secondaryFixedDim, 10, "lighter", !0) }), n.secondaryFixedDim = u.fromPalette({ name: "secondary_fixed_dim", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 70 : 80, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.secondaryFixed, n.secondaryFixedDim, 10, "lighter", !0) }), n.onSecondaryFixed = u.fromPalette({ name: "on_secondary_fixed", palette: (r) => r.secondaryPalette, tone: (r) => 10, background: (r) => n.secondaryFixedDim, secondBackground: (r) => n.secondaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), n.onSecondaryFixedVariant = u.fromPalette({ name: "on_secondary_fixed_variant", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 25 : 30, background: (r) => n.secondaryFixedDim, secondBackground: (r) => n.secondaryFixed, contrastCurve: new y(3, 4.5, 7, 11) }), n.tertiaryFixed = u.fromPalette({ name: "tertiary_fixed", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 40 : 90, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.tertiaryFixed, n.tertiaryFixedDim, 10, "lighter", !0) }), n.tertiaryFixedDim = u.fromPalette({ name: "tertiary_fixed_dim", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 30 : 80, isBackground: !0, background: (r) => n.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(n.tertiaryFixed, n.tertiaryFixedDim, 10, "lighter", !0) }), n.onTertiaryFixed = u.fromPalette({ name: "on_tertiary_fixed", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 100 : 10, background: (r) => n.tertiaryFixedDim, secondBackground: (r) => n.tertiaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), n.onTertiaryFixedVariant = u.fromPalette({ name: "on_tertiary_fixed_variant", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 90 : 30, background: (r) => n.tertiaryFixedDim, secondBackground: (r) => n.tertiaryFixed, contrastCurve: new y(3, 4.5, 7, 11) });
490
+ }, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.tertiaryContainer, c.tertiary, 10, "nearer", !1) }), c.onTertiaryContainer = u.fromPalette({ name: "on_tertiary_container", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? r.isDark ? 0 : 100 : K(r) ? u.foregroundTone(c.tertiaryContainer.tone(r), 4.5) : r.isDark ? 90 : 30, background: (r) => c.tertiaryContainer, contrastCurve: new y(3, 4.5, 7, 11) }), c.error = u.fromPalette({ name: "error", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 80 : 40, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(3, 4.5, 7, 7), toneDeltaPair: (r) => new E(c.errorContainer, c.error, 10, "nearer", !1) }), c.onError = u.fromPalette({ name: "on_error", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 20 : 100, background: (r) => c.error, contrastCurve: new y(4.5, 7, 11, 21) }), c.errorContainer = u.fromPalette({ name: "error_container", palette: (r) => r.errorPalette, tone: (r) => r.isDark ? 30 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.errorContainer, c.error, 10, "nearer", !1) }), c.onErrorContainer = u.fromPalette({ name: "on_error_container", palette: (r) => r.errorPalette, tone: (r) => P(r) ? r.isDark ? 90 : 10 : r.isDark ? 90 : 30, background: (r) => c.errorContainer, contrastCurve: new y(3, 4.5, 7, 11) }), c.primaryFixed = u.fromPalette({ name: "primary_fixed", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 40 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.primaryFixed, c.primaryFixedDim, 10, "lighter", !0) }), c.primaryFixedDim = u.fromPalette({ name: "primary_fixed_dim", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 30 : 80, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.primaryFixed, c.primaryFixedDim, 10, "lighter", !0) }), c.onPrimaryFixed = u.fromPalette({ name: "on_primary_fixed", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 100 : 10, background: (r) => c.primaryFixedDim, secondBackground: (r) => c.primaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), c.onPrimaryFixedVariant = u.fromPalette({ name: "on_primary_fixed_variant", palette: (r) => r.primaryPalette, tone: (r) => P(r) ? 90 : 30, background: (r) => c.primaryFixedDim, secondBackground: (r) => c.primaryFixed, contrastCurve: new y(3, 4.5, 7, 11) }), c.secondaryFixed = u.fromPalette({ name: "secondary_fixed", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 80 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.secondaryFixed, c.secondaryFixedDim, 10, "lighter", !0) }), c.secondaryFixedDim = u.fromPalette({ name: "secondary_fixed_dim", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 70 : 80, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.secondaryFixed, c.secondaryFixedDim, 10, "lighter", !0) }), c.onSecondaryFixed = u.fromPalette({ name: "on_secondary_fixed", palette: (r) => r.secondaryPalette, tone: (r) => 10, background: (r) => c.secondaryFixedDim, secondBackground: (r) => c.secondaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), c.onSecondaryFixedVariant = u.fromPalette({ name: "on_secondary_fixed_variant", palette: (r) => r.secondaryPalette, tone: (r) => P(r) ? 25 : 30, background: (r) => c.secondaryFixedDim, secondBackground: (r) => c.secondaryFixed, contrastCurve: new y(3, 4.5, 7, 11) }), c.tertiaryFixed = u.fromPalette({ name: "tertiary_fixed", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 40 : 90, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.tertiaryFixed, c.tertiaryFixedDim, 10, "lighter", !0) }), c.tertiaryFixedDim = u.fromPalette({ name: "tertiary_fixed_dim", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 30 : 80, isBackground: !0, background: (r) => c.highestSurface(r), contrastCurve: new y(1, 1, 3, 4.5), toneDeltaPair: (r) => new E(c.tertiaryFixed, c.tertiaryFixedDim, 10, "lighter", !0) }), c.onTertiaryFixed = u.fromPalette({ name: "on_tertiary_fixed", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 100 : 10, background: (r) => c.tertiaryFixedDim, secondBackground: (r) => c.tertiaryFixed, contrastCurve: new y(4.5, 7, 11, 21) }), c.onTertiaryFixedVariant = u.fromPalette({ name: "on_tertiary_fixed_variant", palette: (r) => r.tertiaryPalette, tone: (r) => P(r) ? 90 : 30, background: (r) => c.tertiaryFixedDim, secondBackground: (r) => c.tertiaryFixed, contrastCurve: new y(3, 4.5, 7, 11) });
491
491
  class A {
492
492
  static of(e) {
493
493
  return new A(e, !1);
@@ -501,33 +501,33 @@ class A {
501
501
  static contentFromColors(e) {
502
502
  return A.createPaletteFromColors(!0, e);
503
503
  }
504
- static createPaletteFromColors(e, t) {
505
- const o = new A(t.primary, e);
506
- if (t.secondary) {
507
- const a = new A(t.secondary, e);
508
- o.a2 = a.a1;
504
+ static createPaletteFromColors(e, o) {
505
+ const t = new A(o.primary, e);
506
+ if (o.secondary) {
507
+ const a = new A(o.secondary, e);
508
+ t.a2 = a.a1;
509
509
  }
510
- if (t.tertiary) {
511
- const a = new A(t.tertiary, e);
512
- o.a3 = a.a1;
510
+ if (o.tertiary) {
511
+ const a = new A(o.tertiary, e);
512
+ t.a3 = a.a1;
513
513
  }
514
- if (t.error) {
515
- const a = new A(t.error, e);
516
- o.error = a.a1;
514
+ if (o.error) {
515
+ const a = new A(o.error, e);
516
+ t.error = a.a1;
517
517
  }
518
- if (t.neutral) {
519
- const a = new A(t.neutral, e);
520
- o.n1 = a.n1;
518
+ if (o.neutral) {
519
+ const a = new A(o.neutral, e);
520
+ t.n1 = a.n1;
521
521
  }
522
- if (t.neutralVariant) {
523
- const a = new A(t.neutralVariant, e);
524
- o.n2 = a.n2;
522
+ if (o.neutralVariant) {
523
+ const a = new A(o.neutralVariant, e);
524
+ t.n2 = a.n2;
525
525
  }
526
- return o;
526
+ return t;
527
527
  }
528
- constructor(e, t) {
529
- const o = B.fromInt(e), a = o.hue, c = o.chroma;
530
- t ? (this.a1 = V.fromHueAndChroma(a, c), this.a2 = V.fromHueAndChroma(a, c / 3), this.a3 = V.fromHueAndChroma(a + 60, c / 2), this.n1 = V.fromHueAndChroma(a, Math.min(c / 12, 4)), this.n2 = V.fromHueAndChroma(a, Math.min(c / 6, 8))) : (this.a1 = V.fromHueAndChroma(a, Math.max(48, c)), this.a2 = V.fromHueAndChroma(a, 16), this.a3 = V.fromHueAndChroma(a + 60, 24), this.n1 = V.fromHueAndChroma(a, 4), this.n2 = V.fromHueAndChroma(a, 8)), this.error = V.fromHueAndChroma(25, 84);
528
+ constructor(e, o) {
529
+ const t = T.fromInt(e), a = t.hue, n = t.chroma;
530
+ o ? (this.a1 = L.fromHueAndChroma(a, n), this.a2 = L.fromHueAndChroma(a, n / 3), this.a3 = L.fromHueAndChroma(a + 60, n / 2), this.n1 = L.fromHueAndChroma(a, Math.min(n / 12, 4)), this.n2 = L.fromHueAndChroma(a, Math.min(n / 6, 8))) : (this.a1 = L.fromHueAndChroma(a, Math.max(48, n)), this.a2 = L.fromHueAndChroma(a, 16), this.a3 = L.fromHueAndChroma(a + 60, 24), this.n1 = L.fromHueAndChroma(a, 4), this.n2 = L.fromHueAndChroma(a, 8)), this.error = L.fromHueAndChroma(25, 84);
531
531
  }
532
532
  }
533
533
  class Y {
@@ -643,85 +643,92 @@ class Y {
643
643
  return { ...this.props };
644
644
  }
645
645
  }
646
+ function Cr(r) {
647
+ const e = (r = r.replace("#", "")).length === 3, o = r.length === 6, t = r.length === 8;
648
+ if (!e && !o && !t) throw new Error("unexpected hex " + r);
649
+ let a = 0, n = 0, s = 0;
650
+ return e ? (a = U(r.slice(0, 1).repeat(2)), n = U(r.slice(1, 2).repeat(2)), s = U(r.slice(2, 3).repeat(2))) : o ? (a = U(r.slice(0, 2)), n = U(r.slice(2, 4)), s = U(r.slice(4, 6))) : t && (a = U(r.slice(2, 4)), n = U(r.slice(4, 6)), s = U(r.slice(6, 8))), (255 << 24 | (255 & a) << 16 | (255 & n) << 8 | 255 & s) >>> 0;
651
+ }
646
652
  function U(r) {
647
653
  return parseInt(r, 16);
648
654
  }
649
- function Er(r, e = []) {
650
- const t = A.of(r);
651
- return { source: r, schemes: { light: Y.light(r), dark: Y.dark(r) }, palettes: { primary: t.a1, secondary: t.a2, tertiary: t.a3, neutral: t.n1, neutralVariant: t.n2, error: t.error }, customColors: e.map((o) => function(a, c) {
652
- let s = c.value;
653
- const i = s, l = a;
654
- c.blend && (s = yr.harmonize(i, l));
655
- const h = A.of(s), m = h.a1;
656
- return { color: c, value: s, light: { color: m.tone(40), onColor: m.tone(100), colorContainer: m.tone(90), onColorContainer: m.tone(10) }, dark: { color: m.tone(80), onColor: m.tone(20), colorContainer: m.tone(30), onColorContainer: m.tone(90) } };
657
- }(r, o)) };
658
- }
659
- const zr = Pr("theme-context");
660
- function Nr(r, e = !1) {
661
- function t(o) {
662
- return "#" + o.toString(16).padStart(8, "0").slice(2);
655
+ function zr(r, e = []) {
656
+ const o = A.of(r);
657
+ return { source: r, schemes: { light: Y.light(r), dark: Y.dark(r) }, palettes: { primary: o.a1, secondary: o.a2, tertiary: o.a3, neutral: o.n1, neutralVariant: o.n2, error: o.error }, customColors: e.map((t) => function(a, n) {
658
+ let s = n.value;
659
+ const l = s, h = a;
660
+ n.blend && (s = yr.harmonize(l, h));
661
+ const i = A.of(s), m = i.a1;
662
+ return { color: n, value: s, light: { color: m.tone(40), onColor: m.tone(100), colorContainer: m.tone(90), onColorContainer: m.tone(10) }, dark: { color: m.tone(80), onColor: m.tone(20), colorContainer: m.tone(30), onColorContainer: m.tone(90) } };
663
+ }(r, t)) };
664
+ }
665
+ const Nr = Dr("theme-context");
666
+ function Hr(r, e = !1, o) {
667
+ function t(a) {
668
+ return "#" + a.toString(16).padStart(8, "0").slice(2);
663
669
  }
664
670
  if (e) {
665
- const o = r.schemes.dark, a = function(c, s) {
666
- const i = V.fromHueAndChroma(c, s);
671
+ const a = r.schemes.dark, n = function(l, h) {
672
+ const i = L.fromHueAndChroma(l, h);
667
673
  return { cLowest: i.tone(0), cLow: i.tone(10), c: i.tone(12), cHigh: i.tone(17), cHighest: i.tone(22), sDim: i.tone(0), s: i.tone(6), sBright: i.tone(24) };
668
- }(r.palettes.neutral.hue, r.palettes.neutral.chroma);
669
- return { sys: { color: { scrim: t(o.scrim), outlineVariant: t(o.outlineVariant), outline: t(o.outline), surface: { default: t(o.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(o.onSurface), onVariant: t(o.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(o.primary), on: t(o.onPrimary), container: t(o.primaryContainer), onContainer: t(o.onPrimaryContainer) }, secondary: { default: t(o.secondary), on: t(o.onSecondary), container: t(o.secondaryContainer), onContainer: t(o.onSecondaryContainer) }, tertiary: { default: t(o.tertiary), on: t(o.onTertiary), container: t(o.tertiaryContainer), onContainer: t(o.onTertiaryContainer) }, error: { default: t(o.error), on: t(o.onError), container: t(o.errorContainer), onContainer: t(o.onErrorContainer) }, success: { default: "#00FF00", on: "#000000", container: "#00FF00", onContainer: "#000000" } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
674
+ }(r.palettes.neutral.hue, r.palettes.neutral.chroma), s = function(l) {
675
+ const h = T.fromInt(l), i = L.fromHueAndChroma(h.hue, h.chroma);
676
+ return { default: i.tone(80), on: i.tone(20), container: i.tone(30), onContainer: i.tone(90) };
677
+ }(o);
678
+ return { sys: { color: { scrim: t(a.scrim), outlineVariant: t(a.outlineVariant), outline: t(a.outline), surface: { default: t(a.surface), dim: t(n.sDim), bright: t(n.sBright), on: t(a.onSurface), onVariant: t(a.onSurfaceVariant), highest: t(n.cHighest), high: t(n.cHigh), container: t(n.c), low: t(n.cLow), lowest: t(n.cLowest) }, primary: { default: t(a.primary), on: t(a.onPrimary), container: t(a.primaryContainer), onContainer: t(a.onPrimaryContainer) }, secondary: { default: t(a.secondary), on: t(a.onSecondary), container: t(a.secondaryContainer), onContainer: t(a.onSecondaryContainer) }, tertiary: { default: t(a.tertiary), on: t(a.onTertiary), container: t(a.tertiaryContainer), onContainer: t(a.onTertiaryContainer) }, error: { default: t(a.error), on: t(a.onError), container: t(a.errorContainer), onContainer: t(a.onErrorContainer) }, success: { default: t(s.default), on: t(s.on), container: t(s.container), onContainer: t(s.onContainer) } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
670
679
  }
671
680
  {
672
- const o = r.schemes.light, a = function(c, s) {
673
- const i = V.fromHueAndChroma(c, s);
681
+ const a = r.schemes.light, n = function(l, h) {
682
+ const i = L.fromHueAndChroma(l, h);
674
683
  return { cLowest: i.tone(100), cLow: i.tone(96), c: i.tone(94), cHigh: i.tone(92), cHighest: i.tone(90), sDim: i.tone(87), s: i.tone(98), sBright: i.tone(100) };
675
- }(r.palettes.neutral.hue, r.palettes.neutral.chroma);
676
- return { sys: { color: { scrim: t(o.scrim), outlineVariant: t(o.outlineVariant), outline: t(o.outline), surface: { default: t(o.surface), dim: t(a.sDim), bright: t(a.sBright), on: t(o.onSurface), onVariant: t(o.onSurfaceVariant), highest: t(a.cHighest), high: t(a.cHigh), container: t(a.c), low: t(a.cLow), lowest: t(a.cLowest) }, primary: { default: t(o.primary), on: t(o.onPrimary), container: t(o.primaryContainer), onContainer: t(o.onPrimaryContainer) }, secondary: { default: t(o.secondary), on: t(o.onSecondary), container: t(o.secondaryContainer), onContainer: t(o.onSecondaryContainer) }, tertiary: { default: t(o.tertiary), on: t(o.onTertiary), container: t(o.tertiaryContainer), onContainer: t(o.onTertiaryContainer) }, error: { default: t(o.error), on: t(o.onError), container: t(o.errorContainer), onContainer: t(o.onErrorContainer) }, success: { default: "#00FF00", on: "#000000", container: "#00FF00", onContainer: "#000000" } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
684
+ }(r.palettes.neutral.hue, r.palettes.neutral.chroma), s = function(l) {
685
+ const h = T.fromInt(l), i = L.fromHueAndChroma(h.hue, h.chroma);
686
+ return { default: i.tone(40), on: i.tone(100), container: i.tone(90), onContainer: i.tone(10) };
687
+ }(o);
688
+ return { sys: { color: { scrim: t(a.scrim), outlineVariant: t(a.outlineVariant), outline: t(a.outline), surface: { default: t(a.surface), dim: t(n.sDim), bright: t(n.sBright), on: t(a.onSurface), onVariant: t(a.onSurfaceVariant), highest: t(n.cHighest), high: t(n.cHigh), container: t(n.c), low: t(n.cLow), lowest: t(n.cLowest) }, primary: { default: t(a.primary), on: t(a.onPrimary), container: t(a.primaryContainer), onContainer: t(a.onPrimaryContainer) }, secondary: { default: t(a.secondary), on: t(a.onSecondary), container: t(a.secondaryContainer), onContainer: t(a.onSecondaryContainer) }, tertiary: { default: t(a.tertiary), on: t(a.onTertiary), container: t(a.tertiaryContainer), onContainer: t(a.onTertiaryContainer) }, error: { default: t(a.error), on: t(a.onError), container: t(a.errorContainer), onContainer: t(a.onErrorContainer) }, success: { default: t(s.default), on: t(s.on), container: t(s.container), onContainer: t(s.onContainer) } }, elevation: { 0: "0 0 0 0 rgba(0, 0, 0, 0)", 1: "rgba(0, 0, 0, 0.2) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.12) 0px 1px 3px 0px", 2: "rgba(0, 0, 0, 0.2) 0px 3px 3px -2px, rgba(0, 0, 0, 0.14) 0px 3px 4px 0px, rgba(0, 0, 0, 0.12) 0px 1px 8px 0px", 3: "rgba(0, 0, 0, 0.2) 0px 3px 5px -1px, rgba(0, 0, 0, 0.14) 0px 6px 10px 0px, rgba(0, 0, 0, 0.12) 0px 1px 18px 0px", 4: "rgba(0, 0, 0, 0.2) 0px 5px 5px -3px, rgba(0, 0, 0, 0.14) 0px 8px 10px 1px, rgba(0, 0, 0, 0.12) 0px 3px 14px 2px", 5: "rgba(0, 0, 0, 0.2) 0px 7px 8px -4px, rgba(0, 0, 0, 0.14) 0px 12px 17px 2px, rgba(0, 0, 0, 0.12) 0px 5px 22px 4px" }, outline: { 1: "1px" } } };
677
689
  }
678
690
  }
679
- var Hr = Object.defineProperty, qr = Object.getOwnPropertyDescriptor, Z = (r, e, t, o) => {
680
- for (var a, c = o > 1 ? void 0 : o ? qr(e, t) : e, s = r.length - 1; s >= 0; s--) (a = r[s]) && (c = (o ? a(e, t, c) : a(c)) || c);
681
- return o && c && Hr(e, t, c), c;
691
+ var qr = Object.defineProperty, jr = Object.getOwnPropertyDescriptor, Z = (r, e, o, t) => {
692
+ for (var a, n = t > 1 ? void 0 : t ? jr(e, o) : e, s = r.length - 1; s >= 0; s--) (a = r[s]) && (n = (t ? a(e, o, n) : a(n)) || n);
693
+ return t && n && qr(e, o, n), n;
682
694
  };
683
- const jr = Ir(':host,:root{--md-ref-typeface-brand: "Josefin Sans", sans-serif;--md-ref-typeface-plain: "Josefin Sans", sans-serif;--md-sys-color-primary: var(--schmancy-sys-color-primary-default);--md-sys-color-secondary: var(--schmancy-sys-color-secondary-default);--default-font-family: var(--schmancy-font-family);--border-style: solid;--spacing: 4px;--color-scrim: var(--schmancy-sys-color-scrim);--color-outline: var(--schmancy-sys-color-outline);--color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--color-surface-default: var(--schmancy-sys-color-surface-default);--color-surface-dim: var(--schmancy-sys-color-surface-dim);--color-surface-bright: var(--schmancy-sys-color-surface-bright);--color-surface-container: var(--schmancy-sys-color-surface-container);--color-surface-low: var(--schmancy-sys-color-surface-low);--color-surface-high: var(--schmancy-sys-color-surface-high);--color-surface-highest: var(--schmancy-sys-color-surface-highest);--color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--color-surface-on: var(--schmancy-sys-color-surface-on);--color-surface-onVariant: var(--schmancy-sys-color-surface-onVariant);--color-primary-default: var(--schmancy-sys-color-primary-default);--color-primary-on: var(--schmancy-sys-color-primary-on);--color-primary-container: var(--schmancy-sys-color-primary-container);--color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--color-secondary-default: var(--schmancy-sys-color-secondary-default);--color-secondary-on: var(--schmancy-sys-color-secondary-on);--color-secondary-container: var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--color-error-default: var(--schmancy-sys-color-error-default);--color-error-on: var(--schmancy-sys-color-error-on);--color-error-container: var(--schmancy-sys-color-error-container);--color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--color-success-default: var(--schmancy-sys-color-success-default);--color-success-on: var(--schmancy-sys-color-success-on);--color-success-container: var(--schmancy-sys-color-success-container);--color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--shadow-xs: var(--schmancy-sys-elevation-0);--shadow-sm: var(--schmancy-sys-elevation-1);--shadow-md: var(--schmancy-sys-elevation-2);--shadow-lg: var(--schmancy-sys-elevation-3);--shadow-xl: var(--schmancy-sys-elevation-4);--shadow-2xl: var(--schmancy-sys-elevation-5);--outline-1: var(--schmancy-sys-outline-1);--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(.971 .013 17.38);--color-red-100: oklch(.936 .032 17.717);--color-red-200: oklch(.885 .062 18.334);--color-red-300: oklch(.808 .114 19.571);--color-red-400: oklch(.704 .191 22.216);--color-red-500: oklch(.637 .237 25.331);--color-red-600: oklch(.577 .245 27.325);--color-red-700: oklch(.505 .213 27.518);--color-red-800: oklch(.444 .177 26.899);--color-red-900: oklch(.396 .141 25.723);--color-red-950: oklch(.258 .092 26.042);--color-orange-50: oklch(.98 .016 73.684);--color-orange-100: oklch(.954 .038 75.164);--color-orange-200: oklch(.901 .076 70.697);--color-orange-300: oklch(.837 .128 66.29);--color-orange-400: oklch(.75 .183 55.934);--color-orange-500: oklch(.705 .213 47.604);--color-orange-600: oklch(.646 .222 41.116);--color-orange-700: oklch(.553 .195 38.402);--color-orange-800: oklch(.47 .157 37.304);--color-orange-900: oklch(.408 .123 38.172);--color-orange-950: oklch(.266 .079 36.259);--color-amber-50: oklch(.987 .022 95.277);--color-amber-100: oklch(.962 .059 95.617);--color-amber-200: oklch(.924 .12 95.746);--color-amber-300: oklch(.879 .169 91.605);--color-amber-400: oklch(.828 .189 84.429);--color-amber-500: oklch(.769 .188 70.08);--color-amber-600: oklch(.666 .179 58.318);--color-amber-700: oklch(.555 .163 48.998);--color-amber-800: oklch(.473 .137 46.201);--color-amber-900: oklch(.414 .112 45.904);--color-amber-950: oklch(.279 .077 45.635);--color-yellow-50: oklch(.987 .026 102.212);--color-yellow-100: oklch(.973 .071 103.193);--color-yellow-200: oklch(.945 .129 101.54);--color-yellow-300: oklch(.905 .182 98.111);--color-yellow-400: oklch(.852 .199 91.936);--color-yellow-500: oklch(.795 .184 86.047);--color-yellow-600: oklch(.681 .162 75.834);--color-yellow-700: oklch(.554 .135 66.442);--color-yellow-800: oklch(.476 .114 61.907);--color-yellow-900: oklch(.421 .095 57.708);--color-yellow-950: oklch(.286 .066 53.813);--color-lime-50: oklch(.986 .031 120.757);--color-lime-100: oklch(.967 .067 122.328);--color-lime-200: oklch(.938 .127 124.321);--color-lime-300: oklch(.897 .196 126.665);--color-lime-400: oklch(.841 .238 128.85);--color-lime-500: oklch(.768 .233 130.85);--color-lime-600: oklch(.648 .2 131.684);--color-lime-700: oklch(.532 .157 131.589);--color-lime-800: oklch(.453 .124 130.933);--color-lime-900: oklch(.405 .101 131.063);--color-lime-950: oklch(.274 .072 132.109);--color-green-50: oklch(.982 .018 155.826);--color-green-100: oklch(.962 .044 156.743);--color-green-200: oklch(.925 .084 155.995);--color-green-300: oklch(.871 .15 154.449);--color-green-400: oklch(.792 .209 151.711);--color-green-500: oklch(.723 .219 149.579);--color-green-600: oklch(.627 .194 149.214);--color-green-700: oklch(.527 .154 150.069);--color-green-800: oklch(.448 .119 151.328);--color-green-900: oklch(.393 .095 152.535);--color-green-950: oklch(.266 .065 152.934);--color-emerald-50: oklch(.979 .021 166.113);--color-emerald-100: oklch(.95 .052 163.051);--color-emerald-200: oklch(.905 .093 164.15);--color-emerald-300: oklch(.845 .143 164.978);--color-emerald-400: oklch(.765 .177 163.223);--color-emerald-500: oklch(.696 .17 162.48);--color-emerald-600: oklch(.596 .145 163.225);--color-emerald-700: oklch(.508 .118 165.612);--color-emerald-800: oklch(.432 .095 166.913);--color-emerald-900: oklch(.378 .077 168.94);--color-emerald-950: oklch(.262 .051 172.552);--color-teal-50: oklch(.984 .014 180.72);--color-teal-100: oklch(.953 .051 180.801);--color-teal-200: oklch(.91 .096 180.426);--color-teal-300: oklch(.855 .138 181.071);--color-teal-400: oklch(.777 .152 181.912);--color-teal-500: oklch(.704 .14 182.503);--color-teal-600: oklch(.6 .118 184.704);--color-teal-700: oklch(.511 .096 186.391);--color-teal-800: oklch(.437 .078 188.216);--color-teal-900: oklch(.386 .063 188.416);--color-teal-950: oklch(.277 .046 192.524);--color-cyan-50: oklch(.984 .019 200.873);--color-cyan-100: oklch(.956 .045 203.388);--color-cyan-200: oklch(.917 .08 205.041);--color-cyan-300: oklch(.865 .127 207.078);--color-cyan-400: oklch(.789 .154 211.53);--color-cyan-500: oklch(.715 .143 215.221);--color-cyan-600: oklch(.609 .126 221.723);--color-cyan-700: oklch(.52 .105 223.128);--color-cyan-800: oklch(.45 .085 224.283);--color-cyan-900: oklch(.398 .07 227.392);--color-cyan-950: oklch(.302 .056 229.695);--color-sky-50: oklch(.977 .013 236.62);--color-sky-100: oklch(.951 .026 236.824);--color-sky-200: oklch(.901 .058 230.902);--color-sky-300: oklch(.828 .111 230.318);--color-sky-400: oklch(.746 .16 232.661);--color-sky-500: oklch(.685 .169 237.323);--color-sky-600: oklch(.588 .158 241.966);--color-sky-700: oklch(.5 .134 242.749);--color-sky-800: oklch(.443 .11 240.79);--color-sky-900: oklch(.391 .09 240.876);--color-sky-950: oklch(.293 .066 243.157);--color-blue-50: oklch(.97 .014 254.604);--color-blue-100: oklch(.932 .032 255.585);--color-blue-200: oklch(.882 .059 254.128);--color-blue-300: oklch(.809 .105 251.813);--color-blue-400: oklch(.707 .165 254.624);--color-blue-500: oklch(.623 .214 259.815);--color-blue-600: oklch(.546 .245 262.881);--color-blue-700: oklch(.488 .243 264.376);--color-blue-800: oklch(.424 .199 265.638);--color-blue-900: oklch(.379 .146 265.522);--color-blue-950: oklch(.282 .091 267.935);--color-indigo-50: oklch(.962 .018 272.314);--color-indigo-100: oklch(.93 .034 272.788);--color-indigo-200: oklch(.87 .065 274.039);--color-indigo-300: oklch(.785 .115 274.713);--color-indigo-400: oklch(.673 .182 276.935);--color-indigo-500: oklch(.585 .233 277.117);--color-indigo-600: oklch(.511 .262 276.966);--color-indigo-700: oklch(.457 .24 277.023);--color-indigo-800: oklch(.398 .195 277.366);--color-indigo-900: oklch(.359 .144 278.697);--color-indigo-950: oklch(.257 .09 281.288);--color-violet-50: oklch(.969 .016 293.756);--color-violet-100: oklch(.943 .029 294.588);--color-violet-200: oklch(.894 .057 293.283);--color-violet-300: oklch(.811 .111 293.571);--color-violet-400: oklch(.702 .183 293.541);--color-violet-500: oklch(.606 .25 292.717);--color-violet-600: oklch(.541 .281 293.009);--color-violet-700: oklch(.491 .27 292.581);--color-violet-800: oklch(.432 .232 292.759);--color-violet-900: oklch(.38 .189 293.745);--color-violet-950: oklch(.283 .141 291.089);--color-purple-50: oklch(.977 .014 308.299);--color-purple-100: oklch(.946 .033 307.174);--color-purple-200: oklch(.902 .063 306.703);--color-purple-300: oklch(.827 .119 306.383);--color-purple-400: oklch(.714 .203 305.504);--color-purple-500: oklch(.627 .265 303.9);--color-purple-600: oklch(.558 .288 302.321);--color-purple-700: oklch(.496 .265 301.924);--color-purple-800: oklch(.438 .218 303.724);--color-purple-900: oklch(.381 .176 304.987);--color-purple-950: oklch(.291 .149 302.717);--color-fuchsia-50: oklch(.977 .017 320.058);--color-fuchsia-100: oklch(.952 .037 318.852);--color-fuchsia-200: oklch(.903 .076 319.62);--color-fuchsia-300: oklch(.833 .145 321.434);--color-fuchsia-400: oklch(.74 .238 322.16);--color-fuchsia-500: oklch(.667 .295 322.15);--color-fuchsia-600: oklch(.591 .293 322.896);--color-fuchsia-700: oklch(.518 .253 323.949);--color-fuchsia-800: oklch(.452 .211 324.591);--color-fuchsia-900: oklch(.401 .17 325.612);--color-fuchsia-950: oklch(.293 .136 325.661);--color-pink-50: oklch(.971 .014 343.198);--color-pink-100: oklch(.948 .028 342.258);--color-pink-200: oklch(.899 .061 343.231);--color-pink-300: oklch(.823 .12 346.018);--color-pink-400: oklch(.718 .202 349.761);--color-pink-500: oklch(.656 .241 354.308);--color-pink-600: oklch(.592 .249 .584);--color-pink-700: oklch(.525 .223 3.958);--color-pink-800: oklch(.459 .187 3.815);--color-pink-900: oklch(.408 .153 2.432);--color-pink-950: oklch(.284 .109 3.907);--color-rose-50: oklch(.969 .015 12.422);--color-rose-100: oklch(.941 .03 12.58);--color-rose-200: oklch(.892 .058 10.001);--color-rose-300: oklch(.81 .117 11.638);--color-rose-400: oklch(.712 .194 13.428);--color-rose-500: oklch(.645 .246 16.439);--color-rose-600: oklch(.586 .253 17.585);--color-rose-700: oklch(.514 .222 16.935);--color-rose-800: oklch(.455 .188 13.697);--color-rose-900: oklch(.41 .159 10.272);--color-rose-950: oklch(.271 .105 12.094);--color-slate-50: oklch(.984 .003 247.858);--color-slate-100: oklch(.968 .007 247.896);--color-slate-200: oklch(.929 .013 255.508);--color-slate-300: oklch(.869 .022 252.894);--color-slate-400: oklch(.704 .04 256.788);--color-slate-500: oklch(.554 .046 257.417);--color-slate-600: oklch(.446 .043 257.281);--color-slate-700: oklch(.372 .044 257.287);--color-slate-800: oklch(.279 .041 260.031);--color-slate-900: oklch(.208 .042 265.755);--color-slate-950: oklch(.129 .042 264.695);--color-gray-50: oklch(.985 .002 247.839);--color-gray-100: oklch(.967 .003 264.542);--color-gray-200: oklch(.928 .006 264.531);--color-gray-300: oklch(.872 .01 258.338);--color-gray-400: oklch(.707 .022 261.325);--color-gray-500: oklch(.551 .027 264.364);--color-gray-600: oklch(.446 .03 256.802);--color-gray-700: oklch(.373 .034 259.733);--color-gray-800: oklch(.278 .033 256.848);--color-gray-900: oklch(.21 .034 264.665);--color-gray-950: oklch(.13 .028 261.692);--color-zinc-50: oklch(.985 0 0);--color-zinc-100: oklch(.967 .001 286.375);--color-zinc-200: oklch(.92 .004 286.32);--color-zinc-300: oklch(.871 .006 286.286);--color-zinc-400: oklch(.705 .015 286.067);--color-zinc-500: oklch(.552 .016 285.938);--color-zinc-600: oklch(.442 .017 285.786);--color-zinc-700: oklch(.37 .013 285.805);--color-zinc-800: oklch(.274 .006 286.033);--color-zinc-900: oklch(.21 .006 285.885);--color-zinc-950: oklch(.141 .005 285.823);--color-neutral-50: oklch(.985 0 0);--color-neutral-100: oklch(.97 0 0);--color-neutral-200: oklch(.922 0 0);--color-neutral-300: oklch(.87 0 0);--color-neutral-400: oklch(.708 0 0);--color-neutral-500: oklch(.556 0 0);--color-neutral-600: oklch(.439 0 0);--color-neutral-700: oklch(.371 0 0);--color-neutral-800: oklch(.269 0 0);--color-neutral-900: oklch(.205 0 0);--color-neutral-950: oklch(.145 0 0);--color-stone-50: oklch(.985 .001 106.423);--color-stone-100: oklch(.97 .001 106.424);--color-stone-200: oklch(.923 .003 48.717);--color-stone-300: oklch(.869 .005 56.366);--color-stone-400: oklch(.709 .01 56.259);--color-stone-500: oklch(.553 .013 58.071);--color-stone-600: oklch(.444 .011 73.639);--color-stone-700: oklch(.374 .01 67.558);--color-stone-800: oklch(.268 .007 34.298);--color-stone-900: oklch(.216 .006 56.043);--color-stone-950: oklch(.147 .004 49.25);--color-black: #000;--color-white: #fff;--spacing: .25rem;--breakpoint-sm: 40rem;--breakpoint-md: 48rem;--breakpoint-lg: 64rem;--breakpoint-xl: 80rem;--breakpoint-2xl: 96rem;--container-3xs: 16rem;--container-2xs: 18rem;--container-xs: 20rem;--container-sm: 24rem;--container-md: 28rem;--container-lg: 32rem;--container-xl: 36rem;--container-2xl: 42rem;--container-3xl: 48rem;--container-4xl: 56rem;--container-5xl: 64rem;--container-6xl: 72rem;--container-7xl: 80rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--text-2xl: 1.5rem;--text-2xl--line-height: calc(2 / 1.5);--text-3xl: 1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl: 2.25rem;--text-4xl--line-height: calc(2.5 / 2.25);--text-5xl: 3rem;--text-5xl--line-height: 1;--text-6xl: 3.75rem;--text-6xl--line-height: 1;--text-7xl: 4.5rem;--text-7xl--line-height: 1;--text-8xl: 6rem;--text-8xl--line-height: 1;--text-9xl: 8rem;--text-9xl--line-height: 1;--font-weight-thin: 100;--font-weight-extralight: 200;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-weight-extrabold: 800;--font-weight-black: 900;--tracking-tighter: -.05em;--tracking-tight: -.025em;--tracking-normal: 0em;--tracking-wide: .025em;--tracking-wider: .05em;--tracking-widest: .1em;--leading-tight: 1.25;--leading-snug: 1.375;--leading-normal: 1.5;--leading-relaxed: 1.625;--leading-loose: 2;--radius-xs: .125rem;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--radius-3xl: 1.5rem;--radius-4xl: 2rem;--shadow-smxs: 0 1px rgb(0 0 0 / .05);--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--shadow-smxl: 0 25px 50px -12px rgb(0 0 0 / .25);--inset-shadow-smxs: inset 0 1px rgb(0 0 0 / .05);--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05);--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05);--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05);--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15);--drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12);--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15);--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1);--drop-shadow-smxl: 0 25px 25px rgb(0 0 0 / .15);--blur-xs: 4px;--blur-sm: 8px;--blur-md: 12px;--blur-lg: 16px;--blur-xl: 24px;--blur-2xl: 40px;--blur-3xl: 64px;--perspective-dramatic: 100px;--perspective-near: 300px;--perspective-normal: 500px;--perspective-midrange: 800px;--perspective-distant: 1200px;--aspect-video: 16 / 9;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--animate-spin: spin 1s linear infinite;--animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce: bounce 1s infinite;@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}--md-sys-color-scrim: var(--schmancy-sys-color-scrim);--md-sys-color-outline: var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default: var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim: var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright: var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container: var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low: var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high: var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest: var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on: var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant: var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default: var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on: var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container: var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default: var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on: var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container: var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default: var(--schmancy-sys-color-error-default);--md-sys-color-error-on: var(--schmancy-sys-color-error-on);--md-sys-color-error-container: var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default: var(--schmancy-sys-color-success-default);--md-sys-color-success-on: var(--schmancy-sys-color-success-on);--md-sys-color-success-container: var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--md-sys-elevation-0: var(--schmancy-sys-elevation-0);--md-sys-elevation-1: var(--schmancy-sys-elevation-1);--md-sys-elevation-2: var(--schmancy-sys-elevation-2);--md-sys-elevation-3: var(--schmancy-sys-elevation-3);--md-sys-elevation-4: var(--schmancy-sys-elevation-4);--md-sys-elevation-5: var(--schmancy-sys-elevation-5);--md-sys-outline-1: var(--schmancy-sys-outline-1)}'), ir = window.matchMedia("(prefers-color-scheme: dark)"), _r = new Lr((r) => {
684
- const e = (o) => {
685
- const a = o.matches ? "dark" : "light";
695
+ const _r = Sr(':host,:root{--md-ref-typeface-brand: "Josefin Sans", sans-serif;--md-ref-typeface-plain: "Josefin Sans", sans-serif;--md-sys-color-primary: var(--schmancy-sys-color-primary-default);--md-sys-color-secondary: var(--schmancy-sys-color-secondary-default);--default-font-family: var(--schmancy-font-family);--border-style: solid;--spacing: 4px;--color-scrim: var(--schmancy-sys-color-scrim);--color-outline: var(--schmancy-sys-color-outline);--color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--color-surface-default: var(--schmancy-sys-color-surface-default);--color-surface-dim: var(--schmancy-sys-color-surface-dim);--color-surface-bright: var(--schmancy-sys-color-surface-bright);--color-surface-container: var(--schmancy-sys-color-surface-container);--color-surface-low: var(--schmancy-sys-color-surface-low);--color-surface-high: var(--schmancy-sys-color-surface-high);--color-surface-highest: var(--schmancy-sys-color-surface-highest);--color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--color-surface-on: var(--schmancy-sys-color-surface-on);--color-surface-onVariant: var(--schmancy-sys-color-surface-onVariant);--color-primary-default: var(--schmancy-sys-color-primary-default);--color-primary-on: var(--schmancy-sys-color-primary-on);--color-primary-container: var(--schmancy-sys-color-primary-container);--color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--color-secondary-default: var(--schmancy-sys-color-secondary-default);--color-secondary-on: var(--schmancy-sys-color-secondary-on);--color-secondary-container: var(--schmancy-sys-color-secondary-container);--color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--color-error-default: var(--schmancy-sys-color-error-default);--color-error-on: var(--schmancy-sys-color-error-on);--color-error-container: var(--schmancy-sys-color-error-container);--color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--color-success-default: var(--schmancy-sys-color-success-default);--color-success-on: var(--schmancy-sys-color-success-on);--color-success-container: var(--schmancy-sys-color-success-container);--color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--shadow-xs: var(--schmancy-sys-elevation-0);--shadow-sm: var(--schmancy-sys-elevation-1);--shadow-md: var(--schmancy-sys-elevation-2);--shadow-lg: var(--schmancy-sys-elevation-3);--shadow-xl: var(--schmancy-sys-elevation-4);--shadow-2xl: var(--schmancy-sys-elevation-5);--outline-1: var(--schmancy-sys-outline-1);--font-sans: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";--font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;--color-red-50: oklch(.971 .013 17.38);--color-red-100: oklch(.936 .032 17.717);--color-red-200: oklch(.885 .062 18.334);--color-red-300: oklch(.808 .114 19.571);--color-red-400: oklch(.704 .191 22.216);--color-red-500: oklch(.637 .237 25.331);--color-red-600: oklch(.577 .245 27.325);--color-red-700: oklch(.505 .213 27.518);--color-red-800: oklch(.444 .177 26.899);--color-red-900: oklch(.396 .141 25.723);--color-red-950: oklch(.258 .092 26.042);--color-orange-50: oklch(.98 .016 73.684);--color-orange-100: oklch(.954 .038 75.164);--color-orange-200: oklch(.901 .076 70.697);--color-orange-300: oklch(.837 .128 66.29);--color-orange-400: oklch(.75 .183 55.934);--color-orange-500: oklch(.705 .213 47.604);--color-orange-600: oklch(.646 .222 41.116);--color-orange-700: oklch(.553 .195 38.402);--color-orange-800: oklch(.47 .157 37.304);--color-orange-900: oklch(.408 .123 38.172);--color-orange-950: oklch(.266 .079 36.259);--color-amber-50: oklch(.987 .022 95.277);--color-amber-100: oklch(.962 .059 95.617);--color-amber-200: oklch(.924 .12 95.746);--color-amber-300: oklch(.879 .169 91.605);--color-amber-400: oklch(.828 .189 84.429);--color-amber-500: oklch(.769 .188 70.08);--color-amber-600: oklch(.666 .179 58.318);--color-amber-700: oklch(.555 .163 48.998);--color-amber-800: oklch(.473 .137 46.201);--color-amber-900: oklch(.414 .112 45.904);--color-amber-950: oklch(.279 .077 45.635);--color-yellow-50: oklch(.987 .026 102.212);--color-yellow-100: oklch(.973 .071 103.193);--color-yellow-200: oklch(.945 .129 101.54);--color-yellow-300: oklch(.905 .182 98.111);--color-yellow-400: oklch(.852 .199 91.936);--color-yellow-500: oklch(.795 .184 86.047);--color-yellow-600: oklch(.681 .162 75.834);--color-yellow-700: oklch(.554 .135 66.442);--color-yellow-800: oklch(.476 .114 61.907);--color-yellow-900: oklch(.421 .095 57.708);--color-yellow-950: oklch(.286 .066 53.813);--color-lime-50: oklch(.986 .031 120.757);--color-lime-100: oklch(.967 .067 122.328);--color-lime-200: oklch(.938 .127 124.321);--color-lime-300: oklch(.897 .196 126.665);--color-lime-400: oklch(.841 .238 128.85);--color-lime-500: oklch(.768 .233 130.85);--color-lime-600: oklch(.648 .2 131.684);--color-lime-700: oklch(.532 .157 131.589);--color-lime-800: oklch(.453 .124 130.933);--color-lime-900: oklch(.405 .101 131.063);--color-lime-950: oklch(.274 .072 132.109);--color-green-50: oklch(.982 .018 155.826);--color-green-100: oklch(.962 .044 156.743);--color-green-200: oklch(.925 .084 155.995);--color-green-300: oklch(.871 .15 154.449);--color-green-400: oklch(.792 .209 151.711);--color-green-500: oklch(.723 .219 149.579);--color-green-600: oklch(.627 .194 149.214);--color-green-700: oklch(.527 .154 150.069);--color-green-800: oklch(.448 .119 151.328);--color-green-900: oklch(.393 .095 152.535);--color-green-950: oklch(.266 .065 152.934);--color-emerald-50: oklch(.979 .021 166.113);--color-emerald-100: oklch(.95 .052 163.051);--color-emerald-200: oklch(.905 .093 164.15);--color-emerald-300: oklch(.845 .143 164.978);--color-emerald-400: oklch(.765 .177 163.223);--color-emerald-500: oklch(.696 .17 162.48);--color-emerald-600: oklch(.596 .145 163.225);--color-emerald-700: oklch(.508 .118 165.612);--color-emerald-800: oklch(.432 .095 166.913);--color-emerald-900: oklch(.378 .077 168.94);--color-emerald-950: oklch(.262 .051 172.552);--color-teal-50: oklch(.984 .014 180.72);--color-teal-100: oklch(.953 .051 180.801);--color-teal-200: oklch(.91 .096 180.426);--color-teal-300: oklch(.855 .138 181.071);--color-teal-400: oklch(.777 .152 181.912);--color-teal-500: oklch(.704 .14 182.503);--color-teal-600: oklch(.6 .118 184.704);--color-teal-700: oklch(.511 .096 186.391);--color-teal-800: oklch(.437 .078 188.216);--color-teal-900: oklch(.386 .063 188.416);--color-teal-950: oklch(.277 .046 192.524);--color-cyan-50: oklch(.984 .019 200.873);--color-cyan-100: oklch(.956 .045 203.388);--color-cyan-200: oklch(.917 .08 205.041);--color-cyan-300: oklch(.865 .127 207.078);--color-cyan-400: oklch(.789 .154 211.53);--color-cyan-500: oklch(.715 .143 215.221);--color-cyan-600: oklch(.609 .126 221.723);--color-cyan-700: oklch(.52 .105 223.128);--color-cyan-800: oklch(.45 .085 224.283);--color-cyan-900: oklch(.398 .07 227.392);--color-cyan-950: oklch(.302 .056 229.695);--color-sky-50: oklch(.977 .013 236.62);--color-sky-100: oklch(.951 .026 236.824);--color-sky-200: oklch(.901 .058 230.902);--color-sky-300: oklch(.828 .111 230.318);--color-sky-400: oklch(.746 .16 232.661);--color-sky-500: oklch(.685 .169 237.323);--color-sky-600: oklch(.588 .158 241.966);--color-sky-700: oklch(.5 .134 242.749);--color-sky-800: oklch(.443 .11 240.79);--color-sky-900: oklch(.391 .09 240.876);--color-sky-950: oklch(.293 .066 243.157);--color-blue-50: oklch(.97 .014 254.604);--color-blue-100: oklch(.932 .032 255.585);--color-blue-200: oklch(.882 .059 254.128);--color-blue-300: oklch(.809 .105 251.813);--color-blue-400: oklch(.707 .165 254.624);--color-blue-500: oklch(.623 .214 259.815);--color-blue-600: oklch(.546 .245 262.881);--color-blue-700: oklch(.488 .243 264.376);--color-blue-800: oklch(.424 .199 265.638);--color-blue-900: oklch(.379 .146 265.522);--color-blue-950: oklch(.282 .091 267.935);--color-indigo-50: oklch(.962 .018 272.314);--color-indigo-100: oklch(.93 .034 272.788);--color-indigo-200: oklch(.87 .065 274.039);--color-indigo-300: oklch(.785 .115 274.713);--color-indigo-400: oklch(.673 .182 276.935);--color-indigo-500: oklch(.585 .233 277.117);--color-indigo-600: oklch(.511 .262 276.966);--color-indigo-700: oklch(.457 .24 277.023);--color-indigo-800: oklch(.398 .195 277.366);--color-indigo-900: oklch(.359 .144 278.697);--color-indigo-950: oklch(.257 .09 281.288);--color-violet-50: oklch(.969 .016 293.756);--color-violet-100: oklch(.943 .029 294.588);--color-violet-200: oklch(.894 .057 293.283);--color-violet-300: oklch(.811 .111 293.571);--color-violet-400: oklch(.702 .183 293.541);--color-violet-500: oklch(.606 .25 292.717);--color-violet-600: oklch(.541 .281 293.009);--color-violet-700: oklch(.491 .27 292.581);--color-violet-800: oklch(.432 .232 292.759);--color-violet-900: oklch(.38 .189 293.745);--color-violet-950: oklch(.283 .141 291.089);--color-purple-50: oklch(.977 .014 308.299);--color-purple-100: oklch(.946 .033 307.174);--color-purple-200: oklch(.902 .063 306.703);--color-purple-300: oklch(.827 .119 306.383);--color-purple-400: oklch(.714 .203 305.504);--color-purple-500: oklch(.627 .265 303.9);--color-purple-600: oklch(.558 .288 302.321);--color-purple-700: oklch(.496 .265 301.924);--color-purple-800: oklch(.438 .218 303.724);--color-purple-900: oklch(.381 .176 304.987);--color-purple-950: oklch(.291 .149 302.717);--color-fuchsia-50: oklch(.977 .017 320.058);--color-fuchsia-100: oklch(.952 .037 318.852);--color-fuchsia-200: oklch(.903 .076 319.62);--color-fuchsia-300: oklch(.833 .145 321.434);--color-fuchsia-400: oklch(.74 .238 322.16);--color-fuchsia-500: oklch(.667 .295 322.15);--color-fuchsia-600: oklch(.591 .293 322.896);--color-fuchsia-700: oklch(.518 .253 323.949);--color-fuchsia-800: oklch(.452 .211 324.591);--color-fuchsia-900: oklch(.401 .17 325.612);--color-fuchsia-950: oklch(.293 .136 325.661);--color-pink-50: oklch(.971 .014 343.198);--color-pink-100: oklch(.948 .028 342.258);--color-pink-200: oklch(.899 .061 343.231);--color-pink-300: oklch(.823 .12 346.018);--color-pink-400: oklch(.718 .202 349.761);--color-pink-500: oklch(.656 .241 354.308);--color-pink-600: oklch(.592 .249 .584);--color-pink-700: oklch(.525 .223 3.958);--color-pink-800: oklch(.459 .187 3.815);--color-pink-900: oklch(.408 .153 2.432);--color-pink-950: oklch(.284 .109 3.907);--color-rose-50: oklch(.969 .015 12.422);--color-rose-100: oklch(.941 .03 12.58);--color-rose-200: oklch(.892 .058 10.001);--color-rose-300: oklch(.81 .117 11.638);--color-rose-400: oklch(.712 .194 13.428);--color-rose-500: oklch(.645 .246 16.439);--color-rose-600: oklch(.586 .253 17.585);--color-rose-700: oklch(.514 .222 16.935);--color-rose-800: oklch(.455 .188 13.697);--color-rose-900: oklch(.41 .159 10.272);--color-rose-950: oklch(.271 .105 12.094);--color-slate-50: oklch(.984 .003 247.858);--color-slate-100: oklch(.968 .007 247.896);--color-slate-200: oklch(.929 .013 255.508);--color-slate-300: oklch(.869 .022 252.894);--color-slate-400: oklch(.704 .04 256.788);--color-slate-500: oklch(.554 .046 257.417);--color-slate-600: oklch(.446 .043 257.281);--color-slate-700: oklch(.372 .044 257.287);--color-slate-800: oklch(.279 .041 260.031);--color-slate-900: oklch(.208 .042 265.755);--color-slate-950: oklch(.129 .042 264.695);--color-gray-50: oklch(.985 .002 247.839);--color-gray-100: oklch(.967 .003 264.542);--color-gray-200: oklch(.928 .006 264.531);--color-gray-300: oklch(.872 .01 258.338);--color-gray-400: oklch(.707 .022 261.325);--color-gray-500: oklch(.551 .027 264.364);--color-gray-600: oklch(.446 .03 256.802);--color-gray-700: oklch(.373 .034 259.733);--color-gray-800: oklch(.278 .033 256.848);--color-gray-900: oklch(.21 .034 264.665);--color-gray-950: oklch(.13 .028 261.692);--color-zinc-50: oklch(.985 0 0);--color-zinc-100: oklch(.967 .001 286.375);--color-zinc-200: oklch(.92 .004 286.32);--color-zinc-300: oklch(.871 .006 286.286);--color-zinc-400: oklch(.705 .015 286.067);--color-zinc-500: oklch(.552 .016 285.938);--color-zinc-600: oklch(.442 .017 285.786);--color-zinc-700: oklch(.37 .013 285.805);--color-zinc-800: oklch(.274 .006 286.033);--color-zinc-900: oklch(.21 .006 285.885);--color-zinc-950: oklch(.141 .005 285.823);--color-neutral-50: oklch(.985 0 0);--color-neutral-100: oklch(.97 0 0);--color-neutral-200: oklch(.922 0 0);--color-neutral-300: oklch(.87 0 0);--color-neutral-400: oklch(.708 0 0);--color-neutral-500: oklch(.556 0 0);--color-neutral-600: oklch(.439 0 0);--color-neutral-700: oklch(.371 0 0);--color-neutral-800: oklch(.269 0 0);--color-neutral-900: oklch(.205 0 0);--color-neutral-950: oklch(.145 0 0);--color-stone-50: oklch(.985 .001 106.423);--color-stone-100: oklch(.97 .001 106.424);--color-stone-200: oklch(.923 .003 48.717);--color-stone-300: oklch(.869 .005 56.366);--color-stone-400: oklch(.709 .01 56.259);--color-stone-500: oklch(.553 .013 58.071);--color-stone-600: oklch(.444 .011 73.639);--color-stone-700: oklch(.374 .01 67.558);--color-stone-800: oklch(.268 .007 34.298);--color-stone-900: oklch(.216 .006 56.043);--color-stone-950: oklch(.147 .004 49.25);--color-black: #000;--color-white: #fff;--spacing: .25rem;--breakpoint-sm: 40rem;--breakpoint-md: 48rem;--breakpoint-lg: 64rem;--breakpoint-xl: 80rem;--breakpoint-2xl: 96rem;--container-3xs: 16rem;--container-2xs: 18rem;--container-xs: 20rem;--container-sm: 24rem;--container-md: 28rem;--container-lg: 32rem;--container-xl: 36rem;--container-2xl: 42rem;--container-3xl: 48rem;--container-4xl: 56rem;--container-5xl: 64rem;--container-6xl: 72rem;--container-7xl: 80rem;--text-xs: .75rem;--text-xs--line-height: calc(1 / .75);--text-sm: .875rem;--text-sm--line-height: calc(1.25 / .875);--text-base: 1rem;--text-base--line-height: 1.5 ;--text-lg: 1.125rem;--text-lg--line-height: calc(1.75 / 1.125);--text-xl: 1.25rem;--text-xl--line-height: calc(1.75 / 1.25);--text-2xl: 1.5rem;--text-2xl--line-height: calc(2 / 1.5);--text-3xl: 1.875rem;--text-3xl--line-height: 1.2 ;--text-4xl: 2.25rem;--text-4xl--line-height: calc(2.5 / 2.25);--text-5xl: 3rem;--text-5xl--line-height: 1;--text-6xl: 3.75rem;--text-6xl--line-height: 1;--text-7xl: 4.5rem;--text-7xl--line-height: 1;--text-8xl: 6rem;--text-8xl--line-height: 1;--text-9xl: 8rem;--text-9xl--line-height: 1;--font-weight-thin: 100;--font-weight-extralight: 200;--font-weight-light: 300;--font-weight-normal: 400;--font-weight-medium: 500;--font-weight-semibold: 600;--font-weight-bold: 700;--font-weight-extrabold: 800;--font-weight-black: 900;--tracking-tighter: -.05em;--tracking-tight: -.025em;--tracking-normal: 0em;--tracking-wide: .025em;--tracking-wider: .05em;--tracking-widest: .1em;--leading-tight: 1.25;--leading-snug: 1.375;--leading-normal: 1.5;--leading-relaxed: 1.625;--leading-loose: 2;--radius-xs: .125rem;--radius-sm: .25rem;--radius-md: .375rem;--radius-lg: .5rem;--radius-xl: .75rem;--radius-2xl: 1rem;--radius-3xl: 1.5rem;--radius-4xl: 2rem;--shadow-smxs: 0 1px rgb(0 0 0 / .05);--shadow-xs: 0 1px 2px 0 rgb(0 0 0 / .05);--shadow-sm: 0 1px 3px 0 rgb(0 0 0 / .1), 0 1px 2px -1px rgb(0 0 0 / .1);--shadow-md: 0 4px 6px -1px rgb(0 0 0 / .1), 0 2px 4px -2px rgb(0 0 0 / .1);--shadow-lg: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--shadow-xl: 0 20px 25px -5px rgb(0 0 0 / .1), 0 8px 10px -6px rgb(0 0 0 / .1);--shadow-smxl: 0 25px 50px -12px rgb(0 0 0 / .25);--inset-shadow-smxs: inset 0 1px rgb(0 0 0 / .05);--inset-shadow-xs: inset 0 1px 1px rgb(0 0 0 / .05);--inset-shadow-sm: inset 0 2px 4px rgb(0 0 0 / .05);--drop-shadow-xs: 0 1px 1px rgb(0 0 0 / .05);--drop-shadow-sm: 0 1px 2px rgb(0 0 0 / .15);--drop-shadow-md: 0 3px 3px rgb(0 0 0 / .12);--drop-shadow-lg: 0 4px 4px rgb(0 0 0 / .15);--drop-shadow-xl: 0 9px 7px rgb(0 0 0 / .1);--drop-shadow-smxl: 0 25px 25px rgb(0 0 0 / .15);--blur-xs: 4px;--blur-sm: 8px;--blur-md: 12px;--blur-lg: 16px;--blur-xl: 24px;--blur-2xl: 40px;--blur-3xl: 64px;--perspective-dramatic: 100px;--perspective-near: 300px;--perspective-normal: 500px;--perspective-midrange: 800px;--perspective-distant: 1200px;--aspect-video: 16 / 9;--ease-in: cubic-bezier(.4, 0, 1, 1);--ease-out: cubic-bezier(0, 0, .2, 1);--ease-in-out: cubic-bezier(.4, 0, .2, 1);--animate-spin: spin 1s linear infinite;--animate-ping: ping 1s cubic-bezier(0, 0, .2, 1) infinite;--animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;--animate-bounce: bounce 1s infinite;@keyframes spin{to{transform:rotate(360deg)}}@keyframes ping{75%,to{transform:scale(2);opacity:0}}@keyframes pulse{50%{opacity:.5}}@keyframes bounce{0%,to{transform:translateY(-25%);animation-timing-function:cubic-bezier(.8,0,1,1)}50%{transform:none;animation-timing-function:cubic-bezier(0,0,.2,1)}}--md-sys-color-scrim: var(--schmancy-sys-color-scrim);--md-sys-color-outline: var(--schmancy-sys-color-outline);--md-sys-color-outlineVariant: var(--schmancy-sys-color-outlineVariant);--md-sys-color-surface-default: var(--schmancy-sys-color-surface-default);--md-sys-color-surface-dim: var(--schmancy-sys-color-surface-dim);--md-sys-color-surface-bright: var(--schmancy-sys-color-surface-bright);--md-sys-color-surface-container: var(--schmancy-sys-color-surface-container);--md-sys-color-surface-low: var(--schmancy-sys-color-surface-low);--md-sys-color-surface-high: var(--schmancy-sys-color-surface-high);--md-sys-color-surface-highest: var(--schmancy-sys-color-surface-highest);--md-sys-color-surface-lowest: var(--schmancy-sys-color-surface-lowest);--md-sys-color-surface-on: var(--schmancy-sys-color-surface-on);--md-sys-color-on-surface-variant: var(--schmancy-sys-color-surface-onVariant);--md-sys-color-on-secondary-container: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-primary-default: var(--schmancy-sys-color-primary-default);--md-sys-color-primary-on: var(--schmancy-sys-color-primary-on);--md-sys-color-primary-container: var(--schmancy-sys-color-primary-container);--md-sys-color-primary-onContainer: var(--schmancy-sys-color-primary-onContainer);--md-sys-color-secondary-default: var(--schmancy-sys-color-secondary-default);--md-sys-color-secondary-on: var(--schmancy-sys-color-secondary-on);--md-sys-color-secondary-container: var(--schmancy-sys-color-secondary-container);--md-sys-color-secondary-onContainer: var(--schmancy-sys-color-secondary-onContainer);--md-sys-color-tertiary-default: var(--schmancy-sys-color-tertiary-default);--md-sys-color-tertiary-on: var(--schmancy-sys-color-tertiary-on);--md-sys-color-tertiary-container: var(--schmancy-sys-color-tertiary-container);--md-sys-color-tertiary-onContainer: var(--schmancy-sys-color-tertiary-onContainer);--md-sys-color-error-default: var(--schmancy-sys-color-error-default);--md-sys-color-error-on: var(--schmancy-sys-color-error-on);--md-sys-color-error-container: var(--schmancy-sys-color-error-container);--md-sys-color-error-onContainer: var(--schmancy-sys-color-error-onContainer);--md-sys-color-success-default: var(--schmancy-sys-color-success-default);--md-sys-color-success-on: var(--schmancy-sys-color-success-on);--md-sys-color-success-container: var(--schmancy-sys-color-success-container);--md-sys-color-success-onContainer: var(--schmancy-sys-color-success-onContainer);--md-sys-elevation-0: var(--schmancy-sys-elevation-0);--md-sys-elevation-1: var(--schmancy-sys-elevation-1);--md-sys-elevation-2: var(--schmancy-sys-elevation-2);--md-sys-elevation-3: var(--schmancy-sys-elevation-3);--md-sys-elevation-4: var(--schmancy-sys-elevation-4);--md-sys-elevation-5: var(--schmancy-sys-elevation-5);--md-sys-outline-1: var(--schmancy-sys-outline-1)}'), ir = window.matchMedia("(prefers-color-scheme: dark)"), Ur = new Fr((r) => {
696
+ const e = (t) => {
697
+ const a = t.matches ? "dark" : "light";
686
698
  r.next(a);
687
699
  };
688
700
  ir.addEventListener("change", e);
689
- const t = ir.matches ? "dark" : "light";
690
- return r.next(t), () => ir.removeEventListener("change", e);
701
+ const o = ir.matches ? "dark" : "light";
702
+ return r.next(o), () => ir.removeEventListener("change", e);
691
703
  });
692
- let $ = class extends Tr(jr) {
704
+ let $ = class extends Tr(_r) {
693
705
  constructor() {
694
706
  super(...arguments), this.scheme = "auto", this.root = !1, this.theme = {};
695
707
  }
696
708
  connectedCallback() {
697
- super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), kr(this.scheme).pipe(Br((r) => r === "auto" ? _r : kr(r))).subscribe((r) => {
709
+ super.connectedCallback(), this.color || (this.color = this.generateRandomColor()), kr(this.scheme).pipe(Or((r) => r === "auto" ? Ur : kr(r))).subscribe((r) => {
698
710
  this.scheme = r, this.registerTheme();
699
711
  });
700
712
  }
701
713
  registerTheme() {
702
- let r = Nr(Er(function(e) {
703
- const t = (e = e.replace("#", "")).length === 3, o = e.length === 6, a = e.length === 8;
704
- if (!t && !o && !a) throw new Error("unexpected hex " + e);
705
- let c = 0, s = 0, i = 0;
706
- return t ? (c = U(e.slice(0, 1).repeat(2)), s = U(e.slice(1, 2).repeat(2)), i = U(e.slice(2, 3).repeat(2))) : o ? (c = U(e.slice(0, 2)), s = U(e.slice(2, 4)), i = U(e.slice(4, 6))) : a && (c = U(e.slice(2, 4)), s = U(e.slice(4, 6)), i = U(e.slice(6, 8))), (-16777216 | (255 & c) << 16 | (255 & s) << 8 | 255 & i) >>> 0;
707
- }(this.color)), this.scheme === "dark");
714
+ let r = Hr(zr(Cr(this.color)), this.scheme === "dark", Cr("#34B334"));
708
715
  r = { ...r, ...this.theme }, this.registerThemeValues("schmancy", "", r);
709
716
  }
710
- registerThemeValues(r = "schmancy", e, t) {
711
- return typeof t == "object" ? Object.keys(t).map((o) => this.registerThemeValues(r, e + (e ? "-" : "") + o, t[o])).join(`
712
- `) : void (this.root ? document.body : this.shadowRoot.host).style.setProperty(`--${r}-${e}`, t);
717
+ registerThemeValues(r = "schmancy", e, o) {
718
+ return typeof o == "object" ? Object.keys(o).map((t) => this.registerThemeValues(r, e + (e ? "-" : "") + t, o[t])).join(`
719
+ `) : void (this.root ? document.body : this.shadowRoot.host).style.setProperty(`--${r}-${e}`, o);
713
720
  }
714
721
  generateRandomColor() {
715
722
  return "#" + Math.floor(16777215 * Math.random()).toString(16).padStart(6, "0");
716
723
  }
717
724
  render() {
718
- return Sr`<slot></slot>`;
725
+ return Lr`<slot></slot>`;
719
726
  }
720
727
  };
721
- Z([cr({ type: String, reflect: !0 })], $.prototype, "color", 2), Z([cr({ type: String })], $.prototype, "scheme", 2), Z([cr({ type: Boolean })], $.prototype, "root", 2), Z([Dr({ context: zr }), cr({ type: Object })], $.prototype, "theme", 2), $ = Z([Fr("schmancy-theme")], $);
728
+ Z([cr({ type: String, reflect: !0 })], $.prototype, "color", 2), Z([cr({ type: String })], $.prototype, "scheme", 2), Z([cr({ type: Boolean })], $.prototype, "root", 2), Z([Ir({ context: Nr }), cr({ type: Object })], $.prototype, "theme", 2), $ = Z([Br("schmancy-theme")], $);
722
729
  export {
723
730
  $ as S,
724
- Nr as f,
725
- jr as t
731
+ Hr as f,
732
+ _r as t
726
733
  };
727
- //# sourceMappingURL=theme.component-CKmrq6vY.js.map
734
+ //# sourceMappingURL=theme.component-DwZx0sdk.js.map