@functionalui/functionalui 0.2.1 → 0.2.3

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 (240) hide show
  1. package/dist/Avatar-BK9MFMsZ.cjs +1 -0
  2. package/dist/Avatar-CQA0mEVW.js +118 -0
  3. package/dist/Button-CpTXDsI7.js +215 -0
  4. package/dist/Button-rg5gSHcQ.cjs +1 -0
  5. package/dist/Checkbox-BHpT6PHl.cjs +1 -0
  6. package/dist/Checkbox-C29jP71p.js +96 -0
  7. package/dist/GlobalEventContext-D9ug9s1O.cjs +1 -0
  8. package/dist/GlobalEventContext-DUmT3Vay.js +49 -0
  9. package/dist/GlobalEventPortal-BIdCGd-m.cjs +1 -0
  10. package/dist/GlobalEventPortal-GjfUDr2B.js +17 -0
  11. package/dist/LabelText-BUslE9cx.cjs +1 -0
  12. package/dist/LabelText-D7QIWtWj.js +35 -0
  13. package/dist/Modal-BRIYhcOg.cjs +3 -0
  14. package/dist/Modal-DXLyt-j4.js +1290 -0
  15. package/dist/SpringEnterOffsetBy-BVN6rm57.cjs +1 -0
  16. package/dist/SpringEnterOffsetBy-DMSIQgV3.js +56 -0
  17. package/dist/TableHeader-BAdYoCbb.cjs +1 -0
  18. package/dist/TableHeader-Da0XxILB.js +103 -0
  19. package/dist/TableRow-BlJSvake.js +90 -0
  20. package/dist/TableRow-Bq58CTbU.cjs +1 -0
  21. package/dist/TagColor-BYKxfOU6.js +957 -0
  22. package/dist/TagColor-QGINp77p.cjs +1 -0
  23. package/dist/UIcon-B5rpDmHC.cjs +1 -0
  24. package/dist/UIcon-BHzbeYWw.js +245 -0
  25. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  26. package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
  27. package/dist/admonition/index.cjs +1 -0
  28. package/dist/admonition/index.d.ts +27 -0
  29. package/dist/admonition/index.mjs +88 -0
  30. package/dist/avatar/index.cjs +1 -0
  31. package/dist/avatar/index.d.ts +115 -0
  32. package/dist/avatar/index.mjs +4 -0
  33. package/dist/avatar-group/index.cjs +1 -0
  34. package/dist/avatar-group/index.d.ts +120 -0
  35. package/dist/avatar-group/index.mjs +52 -0
  36. package/dist/button/index.cjs +1 -0
  37. package/dist/button/index.d.ts +249 -0
  38. package/dist/button/index.mjs +4 -0
  39. package/dist/checkbox/index.cjs +1 -0
  40. package/dist/checkbox/index.d.ts +32 -0
  41. package/dist/checkbox/index.mjs +4 -0
  42. package/dist/checkboxes/index.cjs +1 -0
  43. package/dist/checkboxes/index.d.ts +38 -0
  44. package/dist/checkboxes/index.mjs +80 -0
  45. package/dist/chip/index.cjs +1 -0
  46. package/dist/chip/index.d.ts +159 -0
  47. package/dist/chip/index.mjs +132 -0
  48. package/dist/classes-CBD1K4L1.js +779 -0
  49. package/dist/classes-CVxy1f4M.js +137 -0
  50. package/dist/classes-CtwIjJdw.cjs +1 -0
  51. package/dist/classes-HsjFV5aN.cjs +1 -0
  52. package/dist/color-picker/index.cjs +1 -0
  53. package/dist/color-picker/index.d.ts +14 -0
  54. package/dist/color-picker/index.mjs +234 -0
  55. package/dist/component-B1mkowwk.cjs +1 -0
  56. package/dist/component-B6F6g6i4.cjs +1 -0
  57. package/dist/component-BbvCmqLI.cjs +1 -0
  58. package/dist/component-Bh3EPTN0.cjs +1 -0
  59. package/dist/component-BvHdlcdE.js +9 -0
  60. package/dist/component-C1Gs4nVu.js +55 -0
  61. package/dist/component-CBIQe7z5.js +29 -0
  62. package/dist/component-CW2JPBAq.js +59 -0
  63. package/dist/component-D-EEi7NI.cjs +1 -0
  64. package/dist/component-D0wwK4KY.js +9 -0
  65. package/dist/component-D5nxKQnT.js +55 -0
  66. package/dist/component-D92LT0Mq.cjs +1 -0
  67. package/dist/component-DCHO9d6d.js +55 -0
  68. package/dist/component-DRXQXr2G.js +36 -0
  69. package/dist/component-D_igOAz3.cjs +1 -0
  70. package/dist/component-DdQu0mLI.js +31 -0
  71. package/dist/component-FS_2VwVz.cjs +1 -0
  72. package/dist/component-JigdcRMd.cjs +1 -0
  73. package/dist/container/index.cjs +1 -0
  74. package/dist/container/index.d.ts +238 -0
  75. package/dist/container/index.mjs +4 -0
  76. package/dist/contexts/notifications/index.cjs +1 -0
  77. package/dist/contexts/notifications/index.d.ts +2 -0
  78. package/dist/contexts/notifications/index.mjs +6 -0
  79. package/dist/contexts/ui/index.cjs +1 -0
  80. package/dist/contexts/ui/index.d.ts +2 -0
  81. package/dist/contexts/ui/index.mjs +35 -0
  82. package/dist/createTextElement-Cgrvdwvh.js +32 -0
  83. package/dist/createTextElement-DITFvK9p.cjs +1 -0
  84. package/dist/css/index.cjs +1 -0
  85. package/dist/css/index.css +1 -0
  86. package/dist/css/index.d.ts +1 -0
  87. package/dist/css/index.mjs +1 -0
  88. package/dist/div-measure/index.cjs +1 -0
  89. package/dist/div-measure/index.d.ts +13 -0
  90. package/dist/div-measure/index.mjs +26 -0
  91. package/dist/feather-sprite.svg +1 -0
  92. package/dist/gallery-modal/index.cjs +1 -0
  93. package/dist/gallery-modal/index.d.ts +11 -0
  94. package/dist/gallery-modal/index.mjs +464 -0
  95. package/dist/generics-9F1CmKPb.cjs +1 -0
  96. package/dist/generics-BrMr2-Gs.js +5 -0
  97. package/dist/generics-C-WSPclF.js +19 -0
  98. package/dist/generics-D33J7ILI.js +5 -0
  99. package/dist/generics-DE1oV0MV.cjs +1 -0
  100. package/dist/generics-nyvJhwQE.cjs +1 -0
  101. package/dist/global-event-portal/index.cjs +1 -0
  102. package/dist/global-event-portal/index.d.ts +8 -0
  103. package/dist/global-event-portal/index.mjs +4 -0
  104. package/dist/icons/index.cjs +1 -0
  105. package/dist/icons/index.d.ts +457 -0
  106. package/dist/icons/index.mjs +5 -0
  107. package/dist/icons-B8R1UT86.js +147 -0
  108. package/dist/icons-DSpaHhtT.cjs +1 -0
  109. package/dist/input-image/index.cjs +1 -0
  110. package/dist/input-image/index.d.ts +18 -0
  111. package/dist/input-image/index.mjs +106 -0
  112. package/dist/input-text/index.cjs +1 -0
  113. package/dist/input-text/index.d.ts +199 -0
  114. package/dist/input-text/index.mjs +246 -0
  115. package/dist/inset-group/index.cjs +1 -0
  116. package/dist/inset-group/index.d.ts +33 -0
  117. package/dist/inset-group/index.mjs +105 -0
  118. package/dist/label-text/index.cjs +1 -0
  119. package/dist/label-text/index.d.ts +11 -0
  120. package/dist/label-text/index.mjs +4 -0
  121. package/dist/layout/index.cjs +1 -0
  122. package/dist/layout/index.d.ts +163 -0
  123. package/dist/layout/index.mjs +4 -0
  124. package/dist/loading-spinner/index.cjs +1 -0
  125. package/dist/loading-spinner/index.d.ts +33 -0
  126. package/dist/loading-spinner/index.mjs +101 -0
  127. package/dist/modal/index.cjs +1 -0
  128. package/dist/modal/index.d.ts +105 -0
  129. package/dist/modal/index.mjs +4 -0
  130. package/dist/notification-system/index.cjs +1 -0
  131. package/dist/notification-system/index.d.ts +5 -0
  132. package/dist/notification-system/index.mjs +158 -0
  133. package/dist/portals/index.cjs +1 -0
  134. package/dist/portals/index.d.ts +10 -0
  135. package/dist/portals/index.mjs +4 -0
  136. package/dist/radio/index.cjs +1 -0
  137. package/dist/radio/index.d.ts +36 -0
  138. package/dist/radio/index.mjs +121 -0
  139. package/dist/react-spring_web.modern-DgQDaJ06.js +2304 -0
  140. package/dist/react-spring_web.modern-W3Nkoq_6.cjs +1 -0
  141. package/dist/select-spring/index.cjs +1 -0
  142. package/dist/select-spring/index.d.ts +70 -0
  143. package/dist/select-spring/index.mjs +471 -0
  144. package/dist/spring-enter/index.cjs +1 -0
  145. package/dist/spring-enter/index.d.ts +16 -0
  146. package/dist/spring-enter/index.mjs +45 -0
  147. package/dist/spring-enter-offset-by/index.cjs +1 -0
  148. package/dist/spring-enter-offset-by/index.d.ts +17 -0
  149. package/dist/spring-enter-offset-by/index.mjs +5 -0
  150. package/dist/spring-menu-transition/index.cjs +1 -0
  151. package/dist/spring-menu-transition/index.d.ts +15 -0
  152. package/dist/spring-menu-transition/index.mjs +43 -0
  153. package/dist/spring-open-close-height/index.cjs +1 -0
  154. package/dist/spring-open-close-height/index.d.ts +9 -0
  155. package/dist/spring-open-close-height/index.mjs +19 -0
  156. package/dist/styled/button/index.cjs +1 -0
  157. package/dist/styled/button/index.d.ts +2 -0
  158. package/dist/styled/button/index.mjs +4 -0
  159. package/dist/styled/inputs/text/index.cjs +1 -0
  160. package/dist/styled/inputs/text/index.d.ts +2 -0
  161. package/dist/styled/inputs/text/index.mjs +4 -0
  162. package/dist/styled/inputs/text-area/index.cjs +1 -0
  163. package/dist/styled/inputs/text-area/index.d.ts +2 -0
  164. package/dist/styled/inputs/text-area/index.mjs +4 -0
  165. package/dist/styled/li/index.cjs +1 -0
  166. package/dist/styled/li/index.d.ts +2 -0
  167. package/dist/styled/li/index.mjs +4 -0
  168. package/dist/styled/ul/index.cjs +1 -0
  169. package/dist/styled/ul/index.d.ts +2 -0
  170. package/dist/styled/ul/index.mjs +4 -0
  171. package/dist/table-grid/index.cjs +1 -0
  172. package/dist/table-grid/index.d.ts +70 -0
  173. package/dist/table-grid/index.mjs +49 -0
  174. package/dist/table-header/index.cjs +1 -0
  175. package/dist/table-header/index.d.ts +53 -0
  176. package/dist/table-header/index.mjs +4 -0
  177. package/dist/table-row/index.cjs +1 -0
  178. package/dist/table-row/index.d.ts +54 -0
  179. package/dist/table-row/index.mjs +4 -0
  180. package/dist/tabs/index.cjs +1 -0
  181. package/dist/tabs/index.d.ts +21 -0
  182. package/dist/tabs/index.mjs +134 -0
  183. package/dist/tag-color/index.cjs +1 -0
  184. package/dist/tag-color/index.d.ts +104 -0
  185. package/dist/tag-color/index.mjs +4 -0
  186. package/dist/text-area/index.cjs +1 -0
  187. package/dist/text-area/index.d.ts +212 -0
  188. package/dist/text-area/index.mjs +160 -0
  189. package/dist/texts/header/index.cjs +1 -0
  190. package/dist/texts/header/index.d.ts +2 -0
  191. package/dist/texts/header/index.mjs +28 -0
  192. package/dist/texts/p/index.cjs +1 -0
  193. package/dist/texts/p/index.d.ts +2 -0
  194. package/dist/texts/p/index.mjs +4 -0
  195. package/dist/texts/span/index.cjs +1 -0
  196. package/dist/texts/span/index.d.ts +2 -0
  197. package/dist/texts/span/index.mjs +4 -0
  198. package/dist/toggle-switch/index.cjs +1 -0
  199. package/dist/toggle-switch/index.d.ts +35 -0
  200. package/dist/toggle-switch/index.mjs +100 -0
  201. package/dist/types-34thzuQ5.js +134 -0
  202. package/dist/types-B3Ew5Ber.cjs +1 -0
  203. package/dist/types-B6XaG3V2.js +65 -0
  204. package/dist/types-BL1gBa8J.cjs +1 -0
  205. package/dist/types-BNUi2DUD.js +234 -0
  206. package/dist/types-BWsKfOhf.js +76 -0
  207. package/dist/types-BXyuQRbv.js +52 -0
  208. package/dist/types-BciByhvn.cjs +1 -0
  209. package/dist/types-BhBb436R.cjs +1 -0
  210. package/dist/types-Bh_j-nXM.js +168 -0
  211. package/dist/types-BnEsY_pc.cjs +1 -0
  212. package/dist/types-BuixDDod.js +12 -0
  213. package/dist/types-BzOxElrp.cjs +1 -0
  214. package/dist/types-CQP0_A_u.cjs +1 -0
  215. package/dist/types-Cev70RJC.cjs +1 -0
  216. package/dist/types-Cj8dOa0j.cjs +1 -0
  217. package/dist/types-CyVpnRmY.cjs +1 -0
  218. package/dist/types-DDcRx4Wz.cjs +1 -0
  219. package/dist/types-DNLw5jE2.js +151 -0
  220. package/dist/types-DZ_qlO_d.cjs +1 -0
  221. package/dist/types-DamZRbFt.js +4 -0
  222. package/dist/types-DevrYOgX.cjs +1 -0
  223. package/dist/types-DgSz2H9f.js +14 -0
  224. package/dist/types-DmnAtXuW.js +17 -0
  225. package/dist/types-Dyu7oUOO.js +4 -0
  226. package/dist/types-OOX58qQg.js +17 -0
  227. package/dist/types.cjs +1 -0
  228. package/dist/types.d.ts +2062 -0
  229. package/dist/types.mjs +177 -0
  230. package/dist/useClickOutsideDOM-CBmttEFU.js +16 -0
  231. package/dist/useClickOutsideDOM-Dd6ewH8B.cjs +1 -0
  232. package/dist/useCombinedRef-COuiqHjO.js +14 -0
  233. package/dist/useCombinedRef-DZxHQ7PL.cjs +1 -0
  234. package/dist/values-B5r2bYNJ.js +75 -0
  235. package/dist/values-C40_Fyfk.cjs +1 -0
  236. package/dist/values-CSE3dLnv.js +200 -0
  237. package/dist/values-D-Y_dNaF.cjs +1 -0
  238. package/dist/web-B_p0FWHf.js +132 -0
  239. package/dist/web-yC_cLoAC.cjs +1 -0
  240. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ "use strict";const x=require("react/jsx-runtime"),D=require("./_commonjsHelpers-DwGv2jUC.cjs"),Z=require("./component-D-EEi7NI.cjs"),K=require("./component-B1mkowwk.cjs"),V=require("./component-Bh3EPTN0.cjs"),E=require("./generics-DE1oV0MV.cjs"),R=require("./values-C40_Fyfk.cjs"),w=require("./types-DDcRx4Wz.cjs");var M={exports:{}},F,I;function G(){return I||(I=1,F={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}),F}var q={exports:{}},A,N;function B(){return N||(N=1,A=function(d){return!d||typeof d=="string"?!1:d instanceof Array||Array.isArray(d)||d.length>=0&&(d.splice instanceof Function||Object.getOwnPropertyDescriptor(d,d.length-1)&&d.constructor.name!=="String")}),A}var P;function H(){if(P)return q.exports;P=1;var b=B(),d=Array.prototype.concat,h=Array.prototype.slice,p=q.exports=function(o){for(var e=[],s=0,t=o.length;s<t;s++){var a=o[s];b(a)?e=d.call(e,h.call(a)):e.push(a)}return e};return p.wrap=function(r){return function(){return r(p(arguments))}},q.exports}var T;function J(){if(T)return M.exports;T=1;var b=G(),d=H(),h=Object.hasOwnProperty,p=Object.create(null);for(var r in b)h.call(b,r)&&(p[b[r]]=r);var o=M.exports={to:{},get:{}};o.get=function(t){var a=t.substring(0,3).toLowerCase(),l,u;switch(a){case"hsl":l=o.get.hsl(t),u="hsl";break;case"hwb":l=o.get.hwb(t),u="hwb";break;default:l=o.get.rgb(t),u="rgb";break}return l?{model:u,value:l}:null},o.get.rgb=function(t){if(!t)return null;var a=/^#([a-f0-9]{3,4})$/i,l=/^#([a-f0-9]{6})([a-f0-9]{2})?$/i,u=/^rgba?\(\s*([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)(?=[\s,])\s*(?:,\s*)?([+-]?\d+)\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,n=/^rgba?\(\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*,?\s*([+-]?[\d\.]+)\%\s*(?:[,|\/]\s*([+-]?[\d\.]+)(%?)\s*)?\)$/,i=/^(\w+)$/,c=[0,0,0,1],f,g,m;if(f=t.match(l)){for(m=f[2],f=f[1],g=0;g<3;g++){var v=g*2;c[g]=parseInt(f.slice(v,v+2),16)}m&&(c[3]=parseInt(m,16)/255)}else if(f=t.match(a)){for(f=f[1],m=f[3],g=0;g<3;g++)c[g]=parseInt(f[g]+f[g],16);m&&(c[3]=parseInt(m+m,16)/255)}else if(f=t.match(u)){for(g=0;g<3;g++)c[g]=parseInt(f[g+1],0);f[4]&&(f[5]?c[3]=parseFloat(f[4])*.01:c[3]=parseFloat(f[4]))}else if(f=t.match(n)){for(g=0;g<3;g++)c[g]=Math.round(parseFloat(f[g+1])*2.55);f[4]&&(f[5]?c[3]=parseFloat(f[4])*.01:c[3]=parseFloat(f[4]))}else return(f=t.match(i))?f[1]==="transparent"?[0,0,0,0]:h.call(b,f[1])?(c=b[f[1]],c[3]=1,c):null:null;for(g=0;g<3;g++)c[g]=e(c[g],0,255);return c[3]=e(c[3],0,1),c},o.get.hsl=function(t){if(!t)return null;var a=/^hsla?\(\s*([+-]?(?:\d{0,3}\.)?\d+)(?:deg)?\s*,?\s*([+-]?[\d\.]+)%\s*,?\s*([+-]?[\d\.]+)%\s*(?:[,|\/]\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,l=t.match(a);if(l){var u=parseFloat(l[4]),n=(parseFloat(l[1])%360+360)%360,i=e(parseFloat(l[2]),0,100),c=e(parseFloat(l[3]),0,100),f=e(isNaN(u)?1:u,0,1);return[n,i,c,f]}return null},o.get.hwb=function(t){if(!t)return null;var a=/^hwb\(\s*([+-]?\d{0,3}(?:\.\d+)?)(?:deg)?\s*,\s*([+-]?[\d\.]+)%\s*,\s*([+-]?[\d\.]+)%\s*(?:,\s*([+-]?(?=\.\d|\d)(?:0|[1-9]\d*)?(?:\.\d*)?(?:[eE][+-]?\d+)?)\s*)?\)$/,l=t.match(a);if(l){var u=parseFloat(l[4]),n=(parseFloat(l[1])%360+360)%360,i=e(parseFloat(l[2]),0,100),c=e(parseFloat(l[3]),0,100),f=e(isNaN(u)?1:u,0,1);return[n,i,c,f]}return null},o.to.hex=function(){var t=d(arguments);return"#"+s(t[0])+s(t[1])+s(t[2])+(t[3]<1?s(Math.round(t[3]*255)):"")},o.to.rgb=function(){var t=d(arguments);return t.length<4||t[3]===1?"rgb("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+")":"rgba("+Math.round(t[0])+", "+Math.round(t[1])+", "+Math.round(t[2])+", "+t[3]+")"},o.to.rgb.percent=function(){var t=d(arguments),a=Math.round(t[0]/255*100),l=Math.round(t[1]/255*100),u=Math.round(t[2]/255*100);return t.length<4||t[3]===1?"rgb("+a+"%, "+l+"%, "+u+"%)":"rgba("+a+"%, "+l+"%, "+u+"%, "+t[3]+")"},o.to.hsl=function(){var t=d(arguments);return t.length<4||t[3]===1?"hsl("+t[0]+", "+t[1]+"%, "+t[2]+"%)":"hsla("+t[0]+", "+t[1]+"%, "+t[2]+"%, "+t[3]+")"},o.to.hwb=function(){var t=d(arguments),a="";return t.length>=4&&t[3]!==1&&(a=", "+t[3]),"hwb("+t[0]+", "+t[1]+"%, "+t[2]+"%"+a+")"},o.to.keyword=function(t){return p[t.slice(0,3)]};function e(t,a,l){return Math.min(Math.max(a,t),l)}function s(t){var a=Math.round(t).toString(16).toUpperCase();return a.length<2?"0"+a:a}return M.exports}var C,_;function j(){if(_)return C;_=1;const b=G(),d={};for(const r of Object.keys(b))d[b[r]]=r;const h={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};C=h;for(const r of Object.keys(h)){if(!("channels"in h[r]))throw new Error("missing channels property: "+r);if(!("labels"in h[r]))throw new Error("missing channel labels property: "+r);if(h[r].labels.length!==h[r].channels)throw new Error("channel and label counts mismatch: "+r);const{channels:o,labels:e}=h[r];delete h[r].channels,delete h[r].labels,Object.defineProperty(h[r],"channels",{value:o}),Object.defineProperty(h[r],"labels",{value:e})}h.rgb.hsl=function(r){const o=r[0]/255,e=r[1]/255,s=r[2]/255,t=Math.min(o,e,s),a=Math.max(o,e,s),l=a-t;let u,n;a===t?u=0:o===a?u=(e-s)/l:e===a?u=2+(s-o)/l:s===a&&(u=4+(o-e)/l),u=Math.min(u*60,360),u<0&&(u+=360);const i=(t+a)/2;return a===t?n=0:i<=.5?n=l/(a+t):n=l/(2-a-t),[u,n*100,i*100]},h.rgb.hsv=function(r){let o,e,s,t,a;const l=r[0]/255,u=r[1]/255,n=r[2]/255,i=Math.max(l,u,n),c=i-Math.min(l,u,n),f=function(g){return(i-g)/6/c+1/2};return c===0?(t=0,a=0):(a=c/i,o=f(l),e=f(u),s=f(n),l===i?t=s-e:u===i?t=1/3+o-s:n===i&&(t=2/3+e-o),t<0?t+=1:t>1&&(t-=1)),[t*360,a*100,i*100]},h.rgb.hwb=function(r){const o=r[0],e=r[1];let s=r[2];const t=h.rgb.hsl(r)[0],a=1/255*Math.min(o,Math.min(e,s));return s=1-1/255*Math.max(o,Math.max(e,s)),[t,a*100,s*100]},h.rgb.cmyk=function(r){const o=r[0]/255,e=r[1]/255,s=r[2]/255,t=Math.min(1-o,1-e,1-s),a=(1-o-t)/(1-t)||0,l=(1-e-t)/(1-t)||0,u=(1-s-t)/(1-t)||0;return[a*100,l*100,u*100,t*100]};function p(r,o){return(r[0]-o[0])**2+(r[1]-o[1])**2+(r[2]-o[2])**2}return h.rgb.keyword=function(r){const o=d[r];if(o)return o;let e=1/0,s;for(const t of Object.keys(b)){const a=b[t],l=p(r,a);l<e&&(e=l,s=t)}return s},h.keyword.rgb=function(r){return b[r]},h.rgb.xyz=function(r){let o=r[0]/255,e=r[1]/255,s=r[2]/255;o=o>.04045?((o+.055)/1.055)**2.4:o/12.92,e=e>.04045?((e+.055)/1.055)**2.4:e/12.92,s=s>.04045?((s+.055)/1.055)**2.4:s/12.92;const t=o*.4124+e*.3576+s*.1805,a=o*.2126+e*.7152+s*.0722,l=o*.0193+e*.1192+s*.9505;return[t*100,a*100,l*100]},h.rgb.lab=function(r){const o=h.rgb.xyz(r);let e=o[0],s=o[1],t=o[2];e/=95.047,s/=100,t/=108.883,e=e>.008856?e**(1/3):7.787*e+16/116,s=s>.008856?s**(1/3):7.787*s+16/116,t=t>.008856?t**(1/3):7.787*t+16/116;const a=116*s-16,l=500*(e-s),u=200*(s-t);return[a,l,u]},h.hsl.rgb=function(r){const o=r[0]/360,e=r[1]/100,s=r[2]/100;let t,a,l;if(e===0)return l=s*255,[l,l,l];s<.5?t=s*(1+e):t=s+e-s*e;const u=2*s-t,n=[0,0,0];for(let i=0;i<3;i++)a=o+1/3*-(i-1),a<0&&a++,a>1&&a--,6*a<1?l=u+(t-u)*6*a:2*a<1?l=t:3*a<2?l=u+(t-u)*(2/3-a)*6:l=u,n[i]=l*255;return n},h.hsl.hsv=function(r){const o=r[0];let e=r[1]/100,s=r[2]/100,t=e;const a=Math.max(s,.01);s*=2,e*=s<=1?s:2-s,t*=a<=1?a:2-a;const l=(s+e)/2,u=s===0?2*t/(a+t):2*e/(s+e);return[o,u*100,l*100]},h.hsv.rgb=function(r){const o=r[0]/60,e=r[1]/100;let s=r[2]/100;const t=Math.floor(o)%6,a=o-Math.floor(o),l=255*s*(1-e),u=255*s*(1-e*a),n=255*s*(1-e*(1-a));switch(s*=255,t){case 0:return[s,n,l];case 1:return[u,s,l];case 2:return[l,s,n];case 3:return[l,u,s];case 4:return[n,l,s];case 5:return[s,l,u]}},h.hsv.hsl=function(r){const o=r[0],e=r[1]/100,s=r[2]/100,t=Math.max(s,.01);let a,l;l=(2-e)*s;const u=(2-e)*t;return a=e*t,a/=u<=1?u:2-u,a=a||0,l/=2,[o,a*100,l*100]},h.hwb.rgb=function(r){const o=r[0]/360;let e=r[1]/100,s=r[2]/100;const t=e+s;let a;t>1&&(e/=t,s/=t);const l=Math.floor(6*o),u=1-s;a=6*o-l,(l&1)!==0&&(a=1-a);const n=e+a*(u-e);let i,c,f;switch(l){default:case 6:case 0:i=u,c=n,f=e;break;case 1:i=n,c=u,f=e;break;case 2:i=e,c=u,f=n;break;case 3:i=e,c=n,f=u;break;case 4:i=n,c=e,f=u;break;case 5:i=u,c=e,f=n;break}return[i*255,c*255,f*255]},h.cmyk.rgb=function(r){const o=r[0]/100,e=r[1]/100,s=r[2]/100,t=r[3]/100,a=1-Math.min(1,o*(1-t)+t),l=1-Math.min(1,e*(1-t)+t),u=1-Math.min(1,s*(1-t)+t);return[a*255,l*255,u*255]},h.xyz.rgb=function(r){const o=r[0]/100,e=r[1]/100,s=r[2]/100;let t,a,l;return t=o*3.2406+e*-1.5372+s*-.4986,a=o*-.9689+e*1.8758+s*.0415,l=o*.0557+e*-.204+s*1.057,t=t>.0031308?1.055*t**(1/2.4)-.055:t*12.92,a=a>.0031308?1.055*a**(1/2.4)-.055:a*12.92,l=l>.0031308?1.055*l**(1/2.4)-.055:l*12.92,t=Math.min(Math.max(0,t),1),a=Math.min(Math.max(0,a),1),l=Math.min(Math.max(0,l),1),[t*255,a*255,l*255]},h.xyz.lab=function(r){let o=r[0],e=r[1],s=r[2];o/=95.047,e/=100,s/=108.883,o=o>.008856?o**(1/3):7.787*o+16/116,e=e>.008856?e**(1/3):7.787*e+16/116,s=s>.008856?s**(1/3):7.787*s+16/116;const t=116*e-16,a=500*(o-e),l=200*(e-s);return[t,a,l]},h.lab.xyz=function(r){const o=r[0],e=r[1],s=r[2];let t,a,l;a=(o+16)/116,t=e/500+a,l=a-s/200;const u=a**3,n=t**3,i=l**3;return a=u>.008856?u:(a-16/116)/7.787,t=n>.008856?n:(t-16/116)/7.787,l=i>.008856?i:(l-16/116)/7.787,t*=95.047,a*=100,l*=108.883,[t,a,l]},h.lab.lch=function(r){const o=r[0],e=r[1],s=r[2];let t;t=Math.atan2(s,e)*360/2/Math.PI,t<0&&(t+=360);const l=Math.sqrt(e*e+s*s);return[o,l,t]},h.lch.lab=function(r){const o=r[0],e=r[1],t=r[2]/360*2*Math.PI,a=e*Math.cos(t),l=e*Math.sin(t);return[o,a,l]},h.rgb.ansi16=function(r,o=null){const[e,s,t]=r;let a=o===null?h.rgb.hsv(r)[2]:o;if(a=Math.round(a/50),a===0)return 30;let l=30+(Math.round(t/255)<<2|Math.round(s/255)<<1|Math.round(e/255));return a===2&&(l+=60),l},h.hsv.ansi16=function(r){return h.rgb.ansi16(h.hsv.rgb(r),r[2])},h.rgb.ansi256=function(r){const o=r[0],e=r[1],s=r[2];return o===e&&e===s?o<8?16:o>248?231:Math.round((o-8)/247*24)+232:16+36*Math.round(o/255*5)+6*Math.round(e/255*5)+Math.round(s/255*5)},h.ansi16.rgb=function(r){let o=r%10;if(o===0||o===7)return r>50&&(o+=3.5),o=o/10.5*255,[o,o,o];const e=(~~(r>50)+1)*.5,s=(o&1)*e*255,t=(o>>1&1)*e*255,a=(o>>2&1)*e*255;return[s,t,a]},h.ansi256.rgb=function(r){if(r>=232){const a=(r-232)*10+8;return[a,a,a]}r-=16;let o;const e=Math.floor(r/36)/5*255,s=Math.floor((o=r%36)/6)/5*255,t=o%6/5*255;return[e,s,t]},h.rgb.hex=function(r){const e=(((Math.round(r[0])&255)<<16)+((Math.round(r[1])&255)<<8)+(Math.round(r[2])&255)).toString(16).toUpperCase();return"000000".substring(e.length)+e},h.hex.rgb=function(r){const o=r.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!o)return[0,0,0];let e=o[0];o[0].length===3&&(e=e.split("").map(u=>u+u).join(""));const s=parseInt(e,16),t=s>>16&255,a=s>>8&255,l=s&255;return[t,a,l]},h.rgb.hcg=function(r){const o=r[0]/255,e=r[1]/255,s=r[2]/255,t=Math.max(Math.max(o,e),s),a=Math.min(Math.min(o,e),s),l=t-a;let u,n;return l<1?u=a/(1-l):u=0,l<=0?n=0:t===o?n=(e-s)/l%6:t===e?n=2+(s-o)/l:n=4+(o-e)/l,n/=6,n%=1,[n*360,l*100,u*100]},h.hsl.hcg=function(r){const o=r[1]/100,e=r[2]/100,s=e<.5?2*o*e:2*o*(1-e);let t=0;return s<1&&(t=(e-.5*s)/(1-s)),[r[0],s*100,t*100]},h.hsv.hcg=function(r){const o=r[1]/100,e=r[2]/100,s=o*e;let t=0;return s<1&&(t=(e-s)/(1-s)),[r[0],s*100,t*100]},h.hcg.rgb=function(r){const o=r[0]/360,e=r[1]/100,s=r[2]/100;if(e===0)return[s*255,s*255,s*255];const t=[0,0,0],a=o%1*6,l=a%1,u=1-l;let n=0;switch(Math.floor(a)){case 0:t[0]=1,t[1]=l,t[2]=0;break;case 1:t[0]=u,t[1]=1,t[2]=0;break;case 2:t[0]=0,t[1]=1,t[2]=l;break;case 3:t[0]=0,t[1]=u,t[2]=1;break;case 4:t[0]=l,t[1]=0,t[2]=1;break;default:t[0]=1,t[1]=0,t[2]=u}return n=(1-e)*s,[(e*t[0]+n)*255,(e*t[1]+n)*255,(e*t[2]+n)*255]},h.hcg.hsv=function(r){const o=r[1]/100,e=r[2]/100,s=o+e*(1-o);let t=0;return s>0&&(t=o/s),[r[0],t*100,s*100]},h.hcg.hsl=function(r){const o=r[1]/100,s=r[2]/100*(1-o)+.5*o;let t=0;return s>0&&s<.5?t=o/(2*s):s>=.5&&s<1&&(t=o/(2*(1-s))),[r[0],t*100,s*100]},h.hcg.hwb=function(r){const o=r[1]/100,e=r[2]/100,s=o+e*(1-o);return[r[0],(s-o)*100,(1-s)*100]},h.hwb.hcg=function(r){const o=r[1]/100,s=1-r[2]/100,t=s-o;let a=0;return t<1&&(a=(s-t)/(1-t)),[r[0],t*100,a*100]},h.apple.rgb=function(r){return[r[0]/65535*255,r[1]/65535*255,r[2]/65535*255]},h.rgb.apple=function(r){return[r[0]/255*65535,r[1]/255*65535,r[2]/255*65535]},h.gray.rgb=function(r){return[r[0]/100*255,r[0]/100*255,r[0]/100*255]},h.gray.hsl=function(r){return[0,0,r[0]]},h.gray.hsv=h.gray.hsl,h.gray.hwb=function(r){return[0,100,r[0]]},h.gray.cmyk=function(r){return[0,0,0,r[0]]},h.gray.lab=function(r){return[r[0],0,0]},h.gray.hex=function(r){const o=Math.round(r[0]/100*255)&255,s=((o<<16)+(o<<8)+o).toString(16).toUpperCase();return"000000".substring(s.length)+s},h.rgb.gray=function(r){return[(r[0]+r[1]+r[2])/3/255*100]},C}var O,L;function Q(){if(L)return O;L=1;const b=j();function d(){const o={},e=Object.keys(b);for(let s=e.length,t=0;t<s;t++)o[e[t]]={distance:-1,parent:null};return o}function h(o){const e=d(),s=[o];for(e[o].distance=0;s.length;){const t=s.pop(),a=Object.keys(b[t]);for(let l=a.length,u=0;u<l;u++){const n=a[u],i=e[n];i.distance===-1&&(i.distance=e[t].distance+1,i.parent=t,s.unshift(n))}}return e}function p(o,e){return function(s){return e(o(s))}}function r(o,e){const s=[e[o].parent,o];let t=b[e[o].parent][o],a=e[o].parent;for(;e[a].parent;)s.unshift(e[a].parent),t=p(b[e[a].parent][a],t),a=e[a].parent;return t.conversion=s,t}return O=function(o){const e=h(o),s={},t=Object.keys(e);for(let a=t.length,l=0;l<a;l++){const u=t[l];e[u].parent!==null&&(s[u]=r(u,e))}return s},O}var S,U;function W(){if(U)return S;U=1;const b=j(),d=Q(),h={},p=Object.keys(b);function r(e){const s=function(...t){const a=t[0];return a==null?a:(a.length>1&&(t=a),e(t))};return"conversion"in e&&(s.conversion=e.conversion),s}function o(e){const s=function(...t){const a=t[0];if(a==null)return a;a.length>1&&(t=a);const l=e(t);if(typeof l=="object")for(let u=l.length,n=0;n<u;n++)l[n]=Math.round(l[n]);return l};return"conversion"in e&&(s.conversion=e.conversion),s}return p.forEach(e=>{h[e]={},Object.defineProperty(h[e],"channels",{value:b[e].channels}),Object.defineProperty(h[e],"labels",{value:b[e].labels});const s=d(e);Object.keys(s).forEach(a=>{const l=s[a];h[e][a]=o(l),h[e][a].raw=r(l)})}),S=h,S}var z,$;function X(){if($)return z;$=1;const b=J(),d=W(),h=["keyword","gray","hex"],p={};for(const n of Object.keys(d))p[[...d[n].labels].sort().join("")]=n;const r={};function o(n,i){if(!(this instanceof o))return new o(n,i);if(i&&i in h&&(i=null),i&&!(i in d))throw new Error("Unknown model: "+i);let c,f;if(n==null)this.model="rgb",this.color=[0,0,0],this.valpha=1;else if(n instanceof o)this.model=n.model,this.color=[...n.color],this.valpha=n.valpha;else if(typeof n=="string"){const g=b.get(n);if(g===null)throw new Error("Unable to parse color from string: "+n);this.model=g.model,f=d[this.model].channels,this.color=g.value.slice(0,f),this.valpha=typeof g.value[f]=="number"?g.value[f]:1}else if(n.length>0){this.model=i||"rgb",f=d[this.model].channels;const g=Array.prototype.slice.call(n,0,f);this.color=u(g,f),this.valpha=typeof n[f]=="number"?n[f]:1}else if(typeof n=="number")this.model="rgb",this.color=[n>>16&255,n>>8&255,n&255],this.valpha=1;else{this.valpha=1;const g=Object.keys(n);"alpha"in n&&(g.splice(g.indexOf("alpha"),1),this.valpha=typeof n.alpha=="number"?n.alpha:0);const m=g.sort().join("");if(!(m in p))throw new Error("Unable to parse color from object: "+JSON.stringify(n));this.model=p[m];const{labels:v}=d[this.model],y=[];for(c=0;c<v.length;c++)y.push(n[v[c]]);this.color=u(y)}if(r[this.model])for(f=d[this.model].channels,c=0;c<f;c++){const g=r[this.model][c];g&&(this.color[c]=g(this.color[c]))}this.valpha=Math.max(0,Math.min(1,this.valpha)),Object.freeze&&Object.freeze(this)}o.prototype={toString(){return this.string()},toJSON(){return this[this.model]()},string(n){let i=this.model in b.to?this:this.rgb();i=i.round(typeof n=="number"?n:1);const c=i.valpha===1?i.color:[...i.color,this.valpha];return b.to[i.model](c)},percentString(n){const i=this.rgb().round(typeof n=="number"?n:1),c=i.valpha===1?i.color:[...i.color,this.valpha];return b.to.rgb.percent(c)},array(){return this.valpha===1?[...this.color]:[...this.color,this.valpha]},object(){const n={},{channels:i}=d[this.model],{labels:c}=d[this.model];for(let f=0;f<i;f++)n[c[f]]=this.color[f];return this.valpha!==1&&(n.alpha=this.valpha),n},unitArray(){const n=this.rgb().color;return n[0]/=255,n[1]/=255,n[2]/=255,this.valpha!==1&&n.push(this.valpha),n},unitObject(){const n=this.rgb().object();return n.r/=255,n.g/=255,n.b/=255,this.valpha!==1&&(n.alpha=this.valpha),n},round(n){return n=Math.max(n||0,0),new o([...this.color.map(s(n)),this.valpha],this.model)},alpha(n){return n!==void 0?new o([...this.color,Math.max(0,Math.min(1,n))],this.model):this.valpha},red:t("rgb",0,a(255)),green:t("rgb",1,a(255)),blue:t("rgb",2,a(255)),hue:t(["hsl","hsv","hsl","hwb","hcg"],0,n=>(n%360+360)%360),saturationl:t("hsl",1,a(100)),lightness:t("hsl",2,a(100)),saturationv:t("hsv",1,a(100)),value:t("hsv",2,a(100)),chroma:t("hcg",1,a(100)),gray:t("hcg",2,a(100)),white:t("hwb",1,a(100)),wblack:t("hwb",2,a(100)),cyan:t("cmyk",0,a(100)),magenta:t("cmyk",1,a(100)),yellow:t("cmyk",2,a(100)),black:t("cmyk",3,a(100)),x:t("xyz",0,a(95.047)),y:t("xyz",1,a(100)),z:t("xyz",2,a(108.833)),l:t("lab",0,a(100)),a:t("lab",1),b:t("lab",2),keyword(n){return n!==void 0?new o(n):d[this.model].keyword(this.color)},hex(n){return n!==void 0?new o(n):b.to.hex(this.rgb().round().color)},hexa(n){if(n!==void 0)return new o(n);const i=this.rgb().round().color;let c=Math.round(this.valpha*255).toString(16).toUpperCase();return c.length===1&&(c="0"+c),b.to.hex(i)+c},rgbNumber(){const n=this.rgb().color;return(n[0]&255)<<16|(n[1]&255)<<8|n[2]&255},luminosity(){const n=this.rgb().color,i=[];for(const[c,f]of n.entries()){const g=f/255;i[c]=g<=.04045?g/12.92:((g+.055)/1.055)**2.4}return .2126*i[0]+.7152*i[1]+.0722*i[2]},contrast(n){const i=this.luminosity(),c=n.luminosity();return i>c?(i+.05)/(c+.05):(c+.05)/(i+.05)},level(n){const i=this.contrast(n);return i>=7?"AAA":i>=4.5?"AA":""},isDark(){const n=this.rgb().color;return(n[0]*2126+n[1]*7152+n[2]*722)/1e4<128},isLight(){return!this.isDark()},negate(){const n=this.rgb();for(let i=0;i<3;i++)n.color[i]=255-n.color[i];return n},lighten(n){const i=this.hsl();return i.color[2]+=i.color[2]*n,i},darken(n){const i=this.hsl();return i.color[2]-=i.color[2]*n,i},saturate(n){const i=this.hsl();return i.color[1]+=i.color[1]*n,i},desaturate(n){const i=this.hsl();return i.color[1]-=i.color[1]*n,i},whiten(n){const i=this.hwb();return i.color[1]+=i.color[1]*n,i},blacken(n){const i=this.hwb();return i.color[2]+=i.color[2]*n,i},grayscale(){const n=this.rgb().color,i=n[0]*.3+n[1]*.59+n[2]*.11;return o.rgb(i,i,i)},fade(n){return this.alpha(this.valpha-this.valpha*n)},opaquer(n){return this.alpha(this.valpha+this.valpha*n)},rotate(n){const i=this.hsl();let c=i.color[0];return c=(c+n)%360,c=c<0?360+c:c,i.color[0]=c,i},mix(n,i){if(!n||!n.rgb)throw new Error('Argument to "mix" was not a Color instance, but rather an instance of '+typeof n);const c=n.rgb(),f=this.rgb(),g=i===void 0?.5:i,m=2*g-1,v=c.alpha()-f.alpha(),y=((m*v===-1?m:(m+v)/(1+m*v))+1)/2,k=1-y;return o.rgb(y*c.red()+k*f.red(),y*c.green()+k*f.green(),y*c.blue()+k*f.blue(),c.alpha()*g+f.alpha()*(1-g))}};for(const n of Object.keys(d)){if(h.includes(n))continue;const{channels:i}=d[n];o.prototype[n]=function(...c){return this.model===n?new o(this):c.length>0?new o(c,n):new o([...l(d[this.model][n].raw(this.color)),this.valpha],n)},o[n]=function(...c){let f=c[0];return typeof f=="number"&&(f=u(c,i)),new o(f,n)}}function e(n,i){return Number(n.toFixed(i))}function s(n){return function(i){return e(i,n)}}function t(n,i,c){n=Array.isArray(n)?n:[n];for(const f of n)(r[f]||(r[f]=[]))[i]=c;return n=n[0],function(f){let g;return f!==void 0?(c&&(f=c(f)),g=this[n](),g.color[i]=f,g):(g=this[n]().color[i],c&&(g=c(g)),g)}}function a(n){return function(i){return Math.max(0,Math.min(n,i))}}function l(n){return Array.isArray(n)?n:[n]}function u(n,i){for(let c=0;c<i;c++)typeof n[c]!="number"&&(n[c]=0);return n}return z=o,z}var Y=X();const tt=D.getDefaultExportFromCjs(Y),nt=({size:b,color:d=E.ColorPalettes.Primary5,text:h})=>{let p=R.COLOR_VALUES[E.ColorPalettes.Grey10];if(h&&h!==""&&typeof d=="string"){const r=tt(d);r.luminosity()>.5?p=r.darken(.8).hex():p=r.lighten(.35).hex()}return x.jsx(K.Layout,{children:h&&x.jsx(Z.Container,{marginTop:w.TAG_SIZE[b].margins.marginTop,marginBottom:w.TAG_SIZE[b].margins.marginBottom,marginLeft:w.TAG_SIZE[b].margins.marginLeft,marginRight:w.TAG_SIZE[b].margins.marginRight,style:{width:w.TAG_SIZE[b].width,height:w.TAG_SIZE[b].height,borderRadius:"50%",backgroundColor:typeof d=="number"?R.COLOR_VALUES[d]:d,color:p},children:x.jsx(V.Text_Span,{children:h})})})};exports.TagColor=nt;
@@ -0,0 +1 @@
1
+ "use client";"use strict";const e=require("react/jsx-runtime"),A=require("./react-spring_web.modern-W3Nkoq_6.cjs"),_=require("./component-D-EEi7NI.cjs"),I=require("./component-B1mkowwk.cjs"),o=require("./generics-DE1oV0MV.cjs"),S=require("./values-C40_Fyfk.cjs"),s=require("./generics-9F1CmKPb.cjs"),u=require("./classes-HsjFV5aN.cjs"),i=require("./generics-nyvJhwQE.cjs"),h=require("./values-D-Y_dNaF.cjs"),r={[i.Sizings.Size1]:{padding:s.Spacings.Size1,size:i.Sizings.Size1},[i.Sizings.Size2]:{padding:s.Spacings.Size1,size:i.Sizings.Size2},[i.Sizings.Size3]:{padding:s.Spacings.Size1,size:i.Sizings.Size3},[i.Sizings.Size4]:{padding:s.Spacings.Size1,size:i.Sizings.Size4},[i.Sizings.Size5]:{padding:s.Spacings.Size1,size:i.Sizings.Size5},[i.Sizings.Size6]:{padding:s.Spacings.Size2,size:i.Sizings.Size6},[i.Sizings.Size7]:{padding:s.Spacings.Size2,size:i.Sizings.Size7},[i.Sizings.Size8]:{padding:s.Spacings.Size3,size:i.Sizings.Size8},[i.Sizings.Size9]:{padding:s.Spacings.Size3,size:i.Sizings.Size9},[i.Sizings.Size10]:{padding:s.Spacings.Size4,size:i.Sizings.Size10},[i.Sizings.Size11]:{padding:s.Spacings.Size4,size:i.Sizings.Size11},[i.Sizings.Size12]:{padding:s.Spacings.Size5,size:i.Sizings.Size12},[i.Sizings.Size13]:{padding:s.Spacings.Size5,size:i.Sizings.Size13},[i.Sizings.Size14]:{padding:s.Spacings.Size6,size:i.Sizings.Size14},[i.Sizings.Size15]:{padding:s.Spacings.Size6,size:i.Sizings.Size15}};function k({size:n=i.Sizings.Size3,className:t,...l}){return e.jsx("div",{className:"icon-container",style:{width:`${n+4}px`,height:`${n+4}px`},children:e.jsx("svg",{className:`${t||""} text-zinc-300`.trim(),viewBox:"0 0 2400 2400",width:n,height:n,...l,children:e.jsxs("g",{strokeWidth:200,strokeLinecap:"round",stroke:"currentColor",fill:"none",children:[e.jsx("path",{d:"M1200 600L1200 100"}),e.jsx("path",{opacity:.5,d:"M1200 2300L1200 1800"}),e.jsx("path",{opacity:.917,d:"M900 680.4L650 247.4"}),e.jsx("path",{opacity:.417,d:"M1750 2152.6L1500 1719.6"}),e.jsx("path",{opacity:.833,d:"M680.4 900L247.4 650"}),e.jsx("path",{opacity:.333,d:"M2152.6 1750L1719.6 1500"}),e.jsx("path",{opacity:.75,d:"M600 1200L100 1200"}),e.jsx("path",{opacity:.25,d:"M2300 1200L1800 1200"}),e.jsx("path",{opacity:.667,d:"M680.4 1500L247.4 1750"}),e.jsx("path",{opacity:.167,d:"M2152.6 650L1719.6 900"}),e.jsx("path",{opacity:.583,d:"M900 1719.6L650 2152.6"}),e.jsx("path",{opacity:.083,d:"M1750 247.4L1500 680.4"}),e.jsx("animateTransform",{attributeName:"transform",attributeType:"XML",type:"rotate",keyTimes:"0;0.08333;0.16667;0.25;0.33333;0.41667;0.5;0.58333;0.66667;0.75;0.83333;0.91667",values:"0 1199 1199;30 1199 1199;60 1199 1199;90 1199 1199;120 1199 1199;150 1199 1199;180 1199 1199;210 1199 1199;240 1199 1199;270 1199 1199;300 1199 1199;330 1199 1199",dur:"0.83333s",begin:"0s",repeatCount:"indefinite",calcMode:"discrete"})]})})})}const E=({name:n,size:t=i.Sizings.Size5,withMargin:l=!0,width:C,height:j,colorLight:c=o.ColorPalettes.Grey5,colorDark:g=o.ColorPalettes.Grey5,iconAction:y,cursor:m=s.Cursors.Default,animated:f=!0,overflow:M="hidden",borderRadius:a,bgColor:p,...O})=>{const[U,d]=A.useSpring(()=>({backgroundColor:S.COLOR_VALUES[o.ColorPalettes.Transparent],scale:1})),L=[];(g||c)&&L.push(S.COLOR_VALUES[g||c]);const z=f&&typeof y<"u";return e.jsx(I.Layout,{onClick:y,display:u.Displays.Flex,flexJustifyContent:u.FlexJustifyContents.Center,flexAlignItem:u.FlexAlignItems.Center,style:{width:"max-content",color:S.COLOR_VALUES[g||c],cursor:z?"pointer":"default",borderRadius:x(a)?h.RADIUS_VALUES[a]:a,overflow:M},tabIndex:0,onMouseEnter:()=>z&&d.start({backgroundColor:S.COLOR_VALUES[p||o.ColorPalettes.Primary3]}),onMouseLeave:()=>z&&d.start({backgroundColor:S.COLOR_VALUES[p||o.ColorPalettes.Transparent]}),onMouseDown:()=>z&&d.start({backgroundColor:S.COLOR_VALUES[p||o.ColorPalettes.Primary2],scale:.85}),onMouseUp:()=>z&&d.start({backgroundColor:S.COLOR_VALUES[p||o.ColorPalettes.Primary3],scale:1}),...O,children:e.jsx(_.Container,{padding:l?r[t].padding:void 0,cursor:m,style:z?{...U,borderRadius:x(a)?h.RADIUS_VALUES[a]:a,display:"flex",alignItems:"center",justifyContent:"center",minWidth:r[t].size+3,minHeight:r[t].size+3,cursor:"inherit"}:{borderRadius:x(a)?h.RADIUS_VALUES[a]:a,display:"flex",alignItems:"center",justifyContent:"center",minWidth:r[t].size+3,minHeight:r[t].size+3},children:n==="spinner"?e.jsx(k,{size:r[t].size,className:L.filter(Boolean).join(" ")}):e.jsx("svg",{width:C||r[t].size,height:j||r[t].size,fill:"none",stroke:S.COLOR_VALUES[g||c],strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",cursor:"inherit",children:e.jsx("use",{href:`/feather-sprite.svg#${n}`})})})})};function x(n){return typeof n=="number"&&Object.values(s.Radiuses).includes(n)}exports.UIcon=E;
@@ -0,0 +1,245 @@
1
+ "use client";
2
+ import { jsx as i, jsxs as j } from "react/jsx-runtime";
3
+ import { u as v } from "./react-spring_web.modern-DgQDaJ06.js";
4
+ import { C as U } from "./component-C1Gs4nVu.js";
5
+ import { L as w } from "./component-DRXQXr2G.js";
6
+ import { C as d } from "./generics-D33J7ILI.js";
7
+ import { a as r } from "./values-CSE3dLnv.js";
8
+ import { S as t, C as N, R as b } from "./generics-C-WSPclF.js";
9
+ import { h as T, j as A, b as O } from "./classes-CVxy1f4M.js";
10
+ import { S as e } from "./generics-BrMr2-Gs.js";
11
+ import { R as m } from "./values-B5r2bYNJ.js";
12
+ const o = {
13
+ // padding 1
14
+ [e.Size1]: {
15
+ padding: t.Size1,
16
+ size: e.Size1
17
+ },
18
+ [e.Size2]: {
19
+ padding: t.Size1,
20
+ size: e.Size2
21
+ },
22
+ [e.Size3]: {
23
+ padding: t.Size1,
24
+ size: e.Size3
25
+ },
26
+ [e.Size4]: {
27
+ padding: t.Size1,
28
+ size: e.Size4
29
+ },
30
+ [e.Size5]: {
31
+ padding: t.Size1,
32
+ size: e.Size5
33
+ },
34
+ // padding 2
35
+ [e.Size6]: {
36
+ padding: t.Size2,
37
+ size: e.Size6
38
+ },
39
+ [e.Size7]: {
40
+ padding: t.Size2,
41
+ size: e.Size7
42
+ },
43
+ // padding 3
44
+ [e.Size8]: {
45
+ padding: t.Size3,
46
+ size: e.Size8
47
+ },
48
+ [e.Size9]: {
49
+ padding: t.Size3,
50
+ size: e.Size9
51
+ },
52
+ // padding 4
53
+ [e.Size10]: {
54
+ padding: t.Size4,
55
+ size: e.Size10
56
+ },
57
+ [e.Size11]: {
58
+ padding: t.Size4,
59
+ size: e.Size11
60
+ },
61
+ // padding 5
62
+ [e.Size12]: {
63
+ padding: t.Size5,
64
+ size: e.Size12
65
+ },
66
+ [e.Size13]: {
67
+ padding: t.Size5,
68
+ size: e.Size13
69
+ },
70
+ // padding 6
71
+ [e.Size14]: {
72
+ padding: t.Size6,
73
+ size: e.Size14
74
+ },
75
+ [e.Size15]: {
76
+ padding: t.Size6,
77
+ size: e.Size15
78
+ }
79
+ };
80
+ function P({
81
+ size: n = e.Size3,
82
+ className: a,
83
+ ...u
84
+ }) {
85
+ return /* @__PURE__ */ i(
86
+ "div",
87
+ {
88
+ className: "icon-container",
89
+ style: { width: `${n + 4}px`, height: `${n + 4}px` },
90
+ children: /* @__PURE__ */ i(
91
+ "svg",
92
+ {
93
+ className: `${a || ""} text-zinc-300`.trim(),
94
+ viewBox: "0 0 2400 2400",
95
+ width: n,
96
+ height: n,
97
+ ...u,
98
+ children: /* @__PURE__ */ j(
99
+ "g",
100
+ {
101
+ strokeWidth: 200,
102
+ strokeLinecap: "round",
103
+ stroke: "currentColor",
104
+ fill: "none",
105
+ children: [
106
+ /* @__PURE__ */ i("path", { d: "M1200 600L1200 100" }),
107
+ /* @__PURE__ */ i("path", { opacity: 0.5, d: "M1200 2300L1200 1800" }),
108
+ /* @__PURE__ */ i("path", { opacity: 0.917, d: "M900 680.4L650 247.4" }),
109
+ /* @__PURE__ */ i("path", { opacity: 0.417, d: "M1750 2152.6L1500 1719.6" }),
110
+ /* @__PURE__ */ i("path", { opacity: 0.833, d: "M680.4 900L247.4 650" }),
111
+ /* @__PURE__ */ i("path", { opacity: 0.333, d: "M2152.6 1750L1719.6 1500" }),
112
+ /* @__PURE__ */ i("path", { opacity: 0.75, d: "M600 1200L100 1200" }),
113
+ /* @__PURE__ */ i("path", { opacity: 0.25, d: "M2300 1200L1800 1200" }),
114
+ /* @__PURE__ */ i("path", { opacity: 0.667, d: "M680.4 1500L247.4 1750" }),
115
+ /* @__PURE__ */ i("path", { opacity: 0.167, d: "M2152.6 650L1719.6 900" }),
116
+ /* @__PURE__ */ i("path", { opacity: 0.583, d: "M900 1719.6L650 2152.6" }),
117
+ /* @__PURE__ */ i("path", { opacity: 0.083, d: "M1750 247.4L1500 680.4" }),
118
+ /* @__PURE__ */ i(
119
+ "animateTransform",
120
+ {
121
+ attributeName: "transform",
122
+ attributeType: "XML",
123
+ type: "rotate",
124
+ keyTimes: "0;0.08333;0.16667;0.25;0.33333;0.41667;0.5;0.58333;0.66667;0.75;0.83333;0.91667",
125
+ values: "0 1199 1199;30 1199 1199;60 1199 1199;90 1199 1199;120 1199 1199;150 1199 1199;180 1199 1199;210 1199 1199;240 1199 1199;270 1199 1199;300 1199 1199;330 1199 1199",
126
+ dur: "0.83333s",
127
+ begin: "0s",
128
+ repeatCount: "indefinite",
129
+ calcMode: "discrete"
130
+ }
131
+ )
132
+ ]
133
+ }
134
+ )
135
+ }
136
+ )
137
+ }
138
+ );
139
+ }
140
+ const D = ({
141
+ name: n,
142
+ size: a = e.Size5,
143
+ withMargin: u = !0,
144
+ width: g,
145
+ height: C,
146
+ colorLight: z = d.Grey5,
147
+ colorDark: S = d.Grey5,
148
+ iconAction: f,
149
+ cursor: L = N.Default,
150
+ animated: M = !0,
151
+ overflow: x = "hidden",
152
+ // borderRadius = "50%",
153
+ borderRadius: s,
154
+ bgColor: c,
155
+ ...k
156
+ }) => {
157
+ const [I, l] = v(() => ({
158
+ backgroundColor: r[d.Transparent],
159
+ scale: 1
160
+ })), y = [];
161
+ (S || z) && y.push(r[S || z]);
162
+ const p = M && typeof f < "u";
163
+ return /* @__PURE__ */ i(
164
+ w,
165
+ {
166
+ onClick: f,
167
+ display: O.Flex,
168
+ flexJustifyContent: A.Center,
169
+ flexAlignItem: T.Center,
170
+ style: {
171
+ width: "max-content",
172
+ color: r[S || z],
173
+ cursor: p ? "pointer" : "default",
174
+ borderRadius: h(s) ? m[s] : s,
175
+ overflow: x
176
+ },
177
+ tabIndex: 0,
178
+ onMouseEnter: () => p && l.start({
179
+ backgroundColor: r[c || d.Primary3]
180
+ }),
181
+ onMouseLeave: () => p && l.start({
182
+ backgroundColor: r[c || d.Transparent]
183
+ }),
184
+ onMouseDown: () => p && l.start({
185
+ backgroundColor: r[c || d.Primary2],
186
+ scale: 0.85
187
+ }),
188
+ onMouseUp: () => p && l.start({
189
+ backgroundColor: r[c || d.Primary3],
190
+ scale: 1
191
+ }),
192
+ ...k,
193
+ children: /* @__PURE__ */ i(
194
+ U,
195
+ {
196
+ padding: u ? o[a].padding : void 0,
197
+ cursor: L,
198
+ style: p ? {
199
+ ...I,
200
+ borderRadius: h(s) ? m[s] : s,
201
+ display: "flex",
202
+ alignItems: "center",
203
+ justifyContent: "center",
204
+ minWidth: o[a].size + 3,
205
+ minHeight: o[a].size + 3,
206
+ cursor: "inherit"
207
+ } : {
208
+ borderRadius: h(s) ? m[s] : s,
209
+ display: "flex",
210
+ alignItems: "center",
211
+ justifyContent: "center",
212
+ minWidth: o[a].size + 3,
213
+ minHeight: o[a].size + 3
214
+ },
215
+ children: n === "spinner" ? /* @__PURE__ */ i(
216
+ P,
217
+ {
218
+ size: o[a].size,
219
+ className: y.filter(Boolean).join(" ")
220
+ }
221
+ ) : /* @__PURE__ */ i(
222
+ "svg",
223
+ {
224
+ width: g || o[a].size,
225
+ height: C || o[a].size,
226
+ fill: "none",
227
+ stroke: r[S || z],
228
+ strokeWidth: "2",
229
+ strokeLinecap: "round",
230
+ strokeLinejoin: "round",
231
+ cursor: "inherit",
232
+ children: /* @__PURE__ */ i("use", { href: `/feather-sprite.svg#${n}` })
233
+ }
234
+ )
235
+ }
236
+ )
237
+ }
238
+ );
239
+ };
240
+ function h(n) {
241
+ return typeof n == "number" && Object.values(b).includes(n);
242
+ }
243
+ export {
244
+ D as U
245
+ };
@@ -0,0 +1,6 @@
1
+ function e(t) {
2
+ return t && t.__esModule && Object.prototype.hasOwnProperty.call(t, "default") ? t.default : t;
3
+ }
4
+ export {
5
+ e as g
6
+ };
@@ -0,0 +1 @@
1
+ "use strict";function e(t){return t&&t.__esModule&&Object.prototype.hasOwnProperty.call(t,"default")?t.default:t}exports.getDefaultExportFromCjs=e;
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),e=require("../component-D-EEi7NI.cjs"),I=require("../component-B1mkowwk.cjs"),g=require("../component-JigdcRMd.cjs"),l=require("../component-Bh3EPTN0.cjs"),p=require("../UIcon-B5rpDmHC.cjs"),a=require("../generics-9F1CmKPb.cjs"),d=require("../classes-HsjFV5aN.cjs"),n=require("../types-DZ_qlO_d.cjs"),s=({level:i,size:t=n.AdmonitionSizes.Medium,descriptionText:c,children:r})=>o.jsx(e.Container,{borderRadius:a.Radiuses.Size4,borderColor:n.AdmonitionColors[i].borderColor,borderWidth:a.BorderWidths.Size2,bgColor:n.AdmonitionColors[i].bgColor,style:{width:"max-content"},children:o.jsxs(I.Layout,{children:[o.jsx(e.Container,{padding:n.ADMONITION_SIZE[t].title.padding,paddingBottom:n.ADMONITION_SIZE[t].title.paddingBottom,paddingLeft:n.ADMONITION_SIZE[t].title.paddingLeft,paddingRight:n.ADMONITION_SIZE[t].title.paddingRight,children:o.jsxs(I.Layout,{display:d.Displays.Flex,flexJustifyContent:d.FlexJustifyContents.FlexStart,flexAlignItem:d.FlexAlignItems.Center,children:[o.jsx(p.UIcon,{name:n.AdmonitionIcons[i].titleIcon,colorLight:n.AdmonitionColors[i].iconColor,colorDark:n.AdmonitionColors[i].iconColor,size:n.ADMONITION_SIZE[t].title.iconSize,withMargin:!1,borderRadius:void 0,overflow:""}),o.jsx(e.Container,{marginLeft:n.ADMONITION_SIZE[t].title.iconMargin,children:o.jsx(l.Text_Span,{fontSize:n.ADMONITION_SIZE[t].title.fontSize,fontWeight:n.ADMONITION_SIZE[t].title.fontWeight,children:n.AdmonitionTitles[i]})})]})}),o.jsx(e.Container,{padding:n.ADMONITION_SIZE[t].content.padding,paddingTop:n.ADMONITION_SIZE[t].content.paddingTop,paddingLeft:n.ADMONITION_SIZE[t].content.paddingLeft,paddingRight:n.ADMONITION_SIZE[t].title.paddingRight,children:o.jsx(g.Text_P,{fontSize:n.ADMONITION_SIZE[t].content.fontSize,children:c})}),r&&o.jsx(e.Container,{padding:n.ADMONITION_SIZE[t].content.padding,paddingTop:n.ADMONITION_SIZE[t].content.paddingTop,paddingLeft:n.ADMONITION_SIZE[t].content.paddingLeft,paddingRight:n.ADMONITION_SIZE[t].title.paddingRight,children:r})]})});exports.Admonition=s;
@@ -0,0 +1,27 @@
1
+ import { JSX } from 'react/jsx-runtime';
2
+
3
+ export declare const Admonition: ({ level, size, descriptionText, children, }: Props) => JSX.Element;
4
+
5
+ declare enum AdmonitionLevels {
6
+ Info = 1,
7
+ Note = 2,
8
+ Success = 3,
9
+ Warning = 4,
10
+ Attention = 5,
11
+ Error = 6
12
+ }
13
+
14
+ declare enum AdmonitionSizes {
15
+ Small = 1,
16
+ Medium = 2,
17
+ Big = 3
18
+ }
19
+
20
+ declare type Props = {
21
+ level: AdmonitionLevels;
22
+ size?: AdmonitionSizes;
23
+ descriptionText: string;
24
+ children?: React.ReactNode;
25
+ };
26
+
27
+ export { }
@@ -0,0 +1,88 @@
1
+ import { jsx as i, jsxs as e } from "react/jsx-runtime";
2
+ import { C as d } from "../component-C1Gs4nVu.js";
3
+ import { L as p } from "../component-DRXQXr2G.js";
4
+ import { T as l } from "../component-D0wwK4KY.js";
5
+ import { T as m } from "../component-BvHdlcdE.js";
6
+ import { U as f } from "../UIcon-BHzbeYWw.js";
7
+ import { a as c, R as s } from "../generics-C-WSPclF.js";
8
+ import { h, j as x, b as C } from "../classes-CVxy1f4M.js";
9
+ import { a, A as o, b as S, d as L, e as R } from "../types-34thzuQ5.js";
10
+ const j = ({
11
+ level: n,
12
+ size: t = L.Medium,
13
+ descriptionText: g,
14
+ children: r
15
+ }) => /* @__PURE__ */ i(
16
+ d,
17
+ {
18
+ borderRadius: s.Size4,
19
+ borderColor: a[n].borderColor,
20
+ borderWidth: c.Size2,
21
+ bgColor: a[n].bgColor,
22
+ style: { width: "max-content" },
23
+ children: /* @__PURE__ */ e(p, { children: [
24
+ /* @__PURE__ */ i(
25
+ d,
26
+ {
27
+ padding: o[t].title.padding,
28
+ paddingBottom: o[t].title.paddingBottom,
29
+ paddingLeft: o[t].title.paddingLeft,
30
+ paddingRight: o[t].title.paddingRight,
31
+ children: /* @__PURE__ */ e(
32
+ p,
33
+ {
34
+ display: C.Flex,
35
+ flexJustifyContent: x.FlexStart,
36
+ flexAlignItem: h.Center,
37
+ children: [
38
+ /* @__PURE__ */ i(
39
+ f,
40
+ {
41
+ name: S[n].titleIcon,
42
+ colorLight: a[n].iconColor,
43
+ colorDark: a[n].iconColor,
44
+ size: o[t].title.iconSize,
45
+ withMargin: !1,
46
+ borderRadius: void 0,
47
+ overflow: ""
48
+ }
49
+ ),
50
+ /* @__PURE__ */ i(d, { marginLeft: o[t].title.iconMargin, children: /* @__PURE__ */ i(
51
+ m,
52
+ {
53
+ fontSize: o[t].title.fontSize,
54
+ fontWeight: o[t].title.fontWeight,
55
+ children: R[n]
56
+ }
57
+ ) })
58
+ ]
59
+ }
60
+ )
61
+ }
62
+ ),
63
+ /* @__PURE__ */ i(
64
+ d,
65
+ {
66
+ padding: o[t].content.padding,
67
+ paddingTop: o[t].content.paddingTop,
68
+ paddingLeft: o[t].content.paddingLeft,
69
+ paddingRight: o[t].title.paddingRight,
70
+ children: /* @__PURE__ */ i(l, { fontSize: o[t].content.fontSize, children: g })
71
+ }
72
+ ),
73
+ r && /* @__PURE__ */ i(
74
+ d,
75
+ {
76
+ padding: o[t].content.padding,
77
+ paddingTop: o[t].content.paddingTop,
78
+ paddingLeft: o[t].content.paddingLeft,
79
+ paddingRight: o[t].title.paddingRight,
80
+ children: r
81
+ }
82
+ )
83
+ ] })
84
+ }
85
+ );
86
+ export {
87
+ j as Admonition
88
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const t=require("../Avatar-BK9MFMsZ.cjs");exports.Avatar=t.Avatar;
@@ -0,0 +1,115 @@
1
+ import { FC } from 'react';
2
+ import { ReactNode } from 'react';
3
+
4
+ export declare const Avatar: FC<P>;
5
+
6
+ declare enum AvatarSizes {
7
+ Size1 = 1,
8
+ Size2 = 2,
9
+ Size3 = 3,
10
+ Size4 = 4,
11
+ Size5 = 5,
12
+ Size6 = 6,
13
+ Size7 = 7,
14
+ Size8 = 8,
15
+ Size9 = 9
16
+ }
17
+
18
+ declare enum ColorPalettes {
19
+ Transparent = 1,// (0, 1)
20
+ Grey1 = 2,
21
+ Grey2 = 3,
22
+ Grey3 = 4,
23
+ Grey4 = 5,
24
+ Grey5 = 6,
25
+ Grey6 = 7,
26
+ Grey7 = 8,
27
+ Grey8 = 9,
28
+ Grey9 = 10,
29
+ Grey10 = 11,// (2, 11)
30
+ Primary1 = 12,
31
+ Primary2 = 13,
32
+ Primary3 = 14,
33
+ Primary4 = 15,
34
+ Primary5 = 16,
35
+ Primary6 = 17,
36
+ Primary7 = 18,
37
+ Primary8 = 19,
38
+ Primary9 = 20,// (12, 20)
39
+ Secondary1 = 21,
40
+ Secondary2 = 22,
41
+ Secondary3 = 23,
42
+ Secondary4 = 24,
43
+ Secondary5 = 25,
44
+ Secondary6 = 26,
45
+ Secondary7 = 27,
46
+ Secondary8 = 28,
47
+ Secondary9 = 29,// (21, 29)
48
+ Red1 = 30,
49
+ Red2 = 31,
50
+ Red3 = 32,
51
+ Red4 = 33,
52
+ Red5 = 34,
53
+ Red6 = 35,
54
+ Red7 = 36,
55
+ Red8 = 37,
56
+ Red9 = 38,// (30, 38)
57
+ Green1 = 39,
58
+ Green2 = 40,
59
+ Green3 = 41,
60
+ Green4 = 42,
61
+ Green5 = 43,
62
+ Green6 = 44,
63
+ Green7 = 45,
64
+ Green8 = 46,
65
+ Green9 = 47,// (39, 47)
66
+ Blue1 = 48,
67
+ Blue2 = 49,
68
+ Blue3 = 50,
69
+ Blue4 = 51,
70
+ Blue5 = 52,
71
+ Blue6 = 53,
72
+ Blue7 = 54,
73
+ Blue8 = 55,
74
+ Blue9 = 56,// (48, 56)
75
+ Yellow1 = 57,
76
+ Yellow2 = 58,
77
+ Yellow3 = 59,
78
+ Yellow4 = 60,
79
+ Yellow5 = 61,
80
+ Yellow6 = 62,
81
+ Yellow7 = 63,
82
+ Yellow8 = 64,
83
+ Yellow9 = 65,// (57, 65)
84
+ Accent1_1 = 66,
85
+ Accent1_2 = 67,
86
+ Accent1_3 = 68,
87
+ Accent1_4 = 69,
88
+ Accent1_5 = 70,
89
+ Accent1_6 = 71,
90
+ Accent1_7 = 72,
91
+ Accent1_8 = 73,
92
+ Accent1_9 = 74,// (57, 65)
93
+ Accent2_1 = 75,
94
+ Accent2_2 = 76,
95
+ Accent2_3 = 77,
96
+ Accent2_4 = 78,
97
+ Accent2_5 = 79,
98
+ Accent2_6 = 80,
99
+ Accent2_7 = 81,
100
+ Accent2_8 = 82,
101
+ Accent2_9 = 83
102
+ }
103
+
104
+ declare interface P {
105
+ isLoading?: boolean;
106
+ size?: AvatarSizes;
107
+ avatarName?: string | null;
108
+ withHover?: boolean;
109
+ onClick?: (v?: any) => void;
110
+ children?: ReactNode;
111
+ border?: boolean;
112
+ borderColor?: ColorPalettes;
113
+ }
114
+
115
+ export { }
@@ -0,0 +1,4 @@
1
+ import { A as o } from "../Avatar-CQA0mEVW.js";
2
+ export {
3
+ o as Avatar
4
+ };
@@ -0,0 +1 @@
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const o=require("react/jsx-runtime"),i=require("../react-spring_web.modern-W3Nkoq_6.cjs"),p=require("../Avatar-BK9MFMsZ.cjs"),y=require("../component-B1mkowwk.cjs"),m=require("../classes-HsjFV5aN.cjs"),g=({avatars:r,border:c,borderColor:u,withHover:a,size:l})=>{const[d,s]=i.useSprings(r.length,n=>({y:0,x:n===0?0:n*-10}),[]);return o.jsx(y.Layout,{display:m.Displays.Flex,children:d.map((n,e)=>o.jsx(i.animated.div,{style:n,onMouseEnter:()=>s.start(t=>{if(t===e)return{y:-5}}),onMouseLeave:()=>s.start(t=>{if(t===e)return{y:0}}),children:o.jsx(p.Avatar,{avatarName:r[e].name,border:c,borderColor:u,onClick:r[e].onClick,isLoading:r[e].isLoading,withHover:a,size:l,children:r[e].children})},e))})};exports.AvatarGroup=g;