@hhgtech/hhg-components 1.28.68 → 1.28.69

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 (519) hide show
  1. package/build/BMI_BOYS.percentile.monthly-48c9471d.js +688 -0
  2. package/build/BMI_BOYS.percentile.weekly-4965852e.js +182 -0
  3. package/build/BMI_BOYS.percentile.yearly-0f7cc8f4.js +83 -0
  4. package/build/BMI_BOYS.zscore.monthly-5bb8a433.js +440 -0
  5. package/build/BMI_BOYS.zscore.weekly-3d56f80f.js +118 -0
  6. package/build/BMI_BOYS.zscore.yearly-57081f24.js +55 -0
  7. package/build/BMI_GIRLS.percentile.monthly-95859cd9.js +688 -0
  8. package/build/BMI_GIRLS.percentile.weekly-009cf4df.js +182 -0
  9. package/build/BMI_GIRLS.percentile.yearly-4436947b.js +83 -0
  10. package/build/BMI_GIRLS.zscore.monthly-689b4eee.js +440 -0
  11. package/build/BMI_GIRLS.zscore.weekly-dff693df.js +118 -0
  12. package/build/BMI_GIRLS.zscore.yearly-05ef5f4f.js +55 -0
  13. package/build/ChevronDown-275f1ab5.js +29 -0
  14. package/build/HEAD CIRCUM_BOYS.percentile.monthly-55c580a7.js +688 -0
  15. package/build/HEAD CIRCUM_BOYS.percentile.weekly-e30f4a42.js +182 -0
  16. package/build/HEAD CIRCUM_BOYS.percentile.yearly-2378a5f0.js +83 -0
  17. package/build/HEAD CIRCUM_BOYS.zscore.monthly-102d5559.js +440 -0
  18. package/build/HEAD CIRCUM_BOYS.zscore.weekly-7b0f1ba8.js +118 -0
  19. package/build/HEAD CIRCUM_BOYS.zscore.yearly-e9237d31.js +55 -0
  20. package/build/HEAD CIRCUM_GIRLS.percentile.monthly-1ddda8b3.js +688 -0
  21. package/build/HEAD CIRCUM_GIRLS.percentile.weekly-843147ea.js +182 -0
  22. package/build/HEAD CIRCUM_GIRLS.percentile.yearly-9b51c237.js +83 -0
  23. package/build/HEAD CIRCUM_GIRLS.zscore.monthly-3f1b233c.js +440 -0
  24. package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9e14d3fe.js +118 -0
  25. package/build/HEAD CIRCUM_GIRLS.zscore.yearly-d924f5ae.js +55 -0
  26. package/build/HEIGHT_BOYS.percentile.monthly-15538920.js +688 -0
  27. package/build/HEIGHT_BOYS.percentile.weekly-10bd0277.js +182 -0
  28. package/build/HEIGHT_BOYS.percentile.yearly-8e678d38.js +237 -0
  29. package/build/HEIGHT_BOYS.zscore.monthly-2c110da9.js +440 -0
  30. package/build/HEIGHT_BOYS.zscore.weekly-288b7733.js +118 -0
  31. package/build/HEIGHT_BOYS.zscore.yearly-42f6f9f7.js +153 -0
  32. package/build/HEIGHT_GIRLS.percentile.monthly-04abe7d2.js +688 -0
  33. package/build/HEIGHT_GIRLS.percentile.weekly-9653b16c.js +182 -0
  34. package/build/HEIGHT_GIRLS.percentile.yearly-9efacd67.js +237 -0
  35. package/build/HEIGHT_GIRLS.zscore.monthly-c64a97b2.js +440 -0
  36. package/build/HEIGHT_GIRLS.zscore.weekly-3302dd83.js +118 -0
  37. package/build/HEIGHT_GIRLS.zscore.yearly-ebe5114f.js +153 -0
  38. package/build/Subot-5fc40fb5.js +217 -0
  39. package/build/Visible-5c5d57cf.js +29 -0
  40. package/build/WEIGHT_BOYS.percentile.monthly-5e11e7a0.js +688 -0
  41. package/build/WEIGHT_BOYS.percentile.weekly-68ae2578.js +182 -0
  42. package/build/WEIGHT_BOYS.percentile.yearly-030c06a4.js +138 -0
  43. package/build/WEIGHT_BOYS.zscore.monthly-d22c7b57.js +440 -0
  44. package/build/WEIGHT_BOYS.zscore.weekly-d8d901e6.js +118 -0
  45. package/build/WEIGHT_BOYS.zscore.yearly-c311a084.js +90 -0
  46. package/build/WEIGHT_GIRLS.percentile.monthly-5c44f8eb.js +688 -0
  47. package/build/WEIGHT_GIRLS.percentile.weekly-faa98671.js +182 -0
  48. package/build/WEIGHT_GIRLS.percentile.yearly-560b862e.js +138 -0
  49. package/build/WEIGHT_GIRLS.zscore.monthly-5365ba1a.js +440 -0
  50. package/build/WEIGHT_GIRLS.zscore.weekly-0d9dc521.js +118 -0
  51. package/build/WEIGHT_GIRLS.zscore.yearly-5a3c4e43.js +90 -0
  52. package/build/adapters.js +36 -1
  53. package/build/{esm/animation-a158bfd1.js → animation-eb4e500b.js} +32 -10
  54. package/build/babyGrowth.js +913 -47
  55. package/build/cache.js +13 -1
  56. package/build/care.js +38 -1
  57. package/build/components.js +186 -1
  58. package/build/constants-8b8bc19f.js +255 -0
  59. package/build/constants-ae18ce18.js +935 -0
  60. package/build/constants.js +43 -1
  61. package/build/cookieHelper-5c9f4bb8.js +43 -0
  62. package/build/core-2aa8d86c.js +51 -0
  63. package/build/dataTransform-089f414c.js +66 -0
  64. package/build/ecom.js +745 -1
  65. package/build/esm/BMI_BOYS.percentile.monthly-de5dce68.js +686 -0
  66. package/build/esm/BMI_BOYS.percentile.weekly-9d3990b6.js +180 -0
  67. package/build/esm/BMI_BOYS.percentile.yearly-98b9114a.js +81 -0
  68. package/build/esm/BMI_BOYS.zscore.monthly-394646f0.js +438 -0
  69. package/build/esm/BMI_BOYS.zscore.weekly-c669ea51.js +116 -0
  70. package/build/esm/BMI_BOYS.zscore.yearly-771ef6b6.js +53 -0
  71. package/build/esm/BMI_GIRLS.percentile.monthly-1ff3d499.js +686 -0
  72. package/build/esm/BMI_GIRLS.percentile.weekly-211d2f27.js +180 -0
  73. package/build/esm/BMI_GIRLS.percentile.yearly-206fdcff.js +81 -0
  74. package/build/esm/BMI_GIRLS.zscore.monthly-b1137e36.js +438 -0
  75. package/build/esm/BMI_GIRLS.zscore.weekly-63ed3cd6.js +116 -0
  76. package/build/esm/BMI_GIRLS.zscore.yearly-221d187c.js +53 -0
  77. package/build/esm/ChevronDown-9a8ece61.js +7 -0
  78. package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-4c37847c.js +686 -0
  79. package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-8f6ea38a.js +180 -0
  80. package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-6c12a99a.js +81 -0
  81. package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-c531b497.js +438 -0
  82. package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-6cafba00.js +116 -0
  83. package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-fe8114a0.js +53 -0
  84. package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-25ce0d36.js +686 -0
  85. package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-5d3f2862.js +180 -0
  86. package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-2b709ca5.js +81 -0
  87. package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-e8617bae.js +438 -0
  88. package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-f3252d67.js +116 -0
  89. package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-5b62d41f.js +53 -0
  90. package/build/esm/HEIGHT_BOYS.percentile.monthly-63d2cf96.js +686 -0
  91. package/build/esm/HEIGHT_BOYS.percentile.weekly-8ea5102d.js +180 -0
  92. package/build/esm/HEIGHT_BOYS.percentile.yearly-8107b77b.js +235 -0
  93. package/build/esm/HEIGHT_BOYS.zscore.monthly-641cdfa3.js +438 -0
  94. package/build/esm/HEIGHT_BOYS.zscore.weekly-86da0362.js +116 -0
  95. package/build/esm/HEIGHT_BOYS.zscore.yearly-060f6e79.js +151 -0
  96. package/build/esm/HEIGHT_GIRLS.percentile.monthly-fb987d37.js +686 -0
  97. package/build/esm/HEIGHT_GIRLS.percentile.weekly-82655dc0.js +180 -0
  98. package/build/esm/HEIGHT_GIRLS.percentile.yearly-a63b8456.js +235 -0
  99. package/build/esm/HEIGHT_GIRLS.zscore.monthly-77d676a3.js +438 -0
  100. package/build/esm/HEIGHT_GIRLS.zscore.weekly-c0387a4e.js +116 -0
  101. package/build/esm/HEIGHT_GIRLS.zscore.yearly-41203c20.js +151 -0
  102. package/build/esm/Subot-3289bd8e.js +212 -0
  103. package/build/esm/Visible-a3d436dd.js +7 -0
  104. package/build/esm/WEIGHT_BOYS.percentile.monthly-50802d8b.js +686 -0
  105. package/build/esm/WEIGHT_BOYS.percentile.weekly-4d72ddd6.js +180 -0
  106. package/build/esm/WEIGHT_BOYS.percentile.yearly-20a29844.js +136 -0
  107. package/build/esm/WEIGHT_BOYS.zscore.monthly-729e6614.js +438 -0
  108. package/build/esm/WEIGHT_BOYS.zscore.weekly-90352f48.js +116 -0
  109. package/build/esm/WEIGHT_BOYS.zscore.yearly-fe1871cc.js +88 -0
  110. package/build/esm/WEIGHT_GIRLS.percentile.monthly-e6afb2e0.js +686 -0
  111. package/build/esm/WEIGHT_GIRLS.percentile.weekly-b66d3016.js +180 -0
  112. package/build/esm/WEIGHT_GIRLS.percentile.yearly-a55622c5.js +136 -0
  113. package/build/esm/WEIGHT_GIRLS.zscore.monthly-2cdcbe75.js +438 -0
  114. package/build/esm/WEIGHT_GIRLS.zscore.weekly-d5be31d5.js +116 -0
  115. package/build/esm/WEIGHT_GIRLS.zscore.yearly-99e8d3a7.js +88 -0
  116. package/build/esm/adapters.js +26 -1
  117. package/build/{animation-ea278d9a.js → esm/animation-3d5edc39.js} +22 -10
  118. package/build/esm/babyGrowth.js +883 -47
  119. package/build/esm/cache.js +3 -1
  120. package/build/esm/care.js +26 -1
  121. package/build/esm/components.js +88 -1
  122. package/build/esm/constants-2a6d2434.js +932 -0
  123. package/build/esm/constants-b77ffe3d.js +238 -0
  124. package/build/esm/constants.js +4 -1
  125. package/build/esm/cookieHelper-d314282c.js +39 -0
  126. package/build/esm/core-8c73d133.js +47 -0
  127. package/build/esm/dataTransform-8ecfc046.js +56 -0
  128. package/build/esm/ecom.js +737 -1
  129. package/build/esm/footer.js +31 -1
  130. package/build/esm/gAssets.js +5 -1
  131. package/build/esm/getDynamicHealthTool-f4497aa5.js +44 -0
  132. package/build/esm/getSocialList-a5b8462e.js +66 -0
  133. package/build/esm/hooks.js +21 -1
  134. package/build/esm/i18n-values/en-PH.js +600 -1
  135. package/build/esm/i18n-values/hi-IN.js +600 -1
  136. package/build/esm/i18n-values/id-ID.js +600 -1
  137. package/build/esm/i18n-values/km-KH.js +600 -1
  138. package/build/esm/i18n-values/ms-MY.js +602 -1
  139. package/build/esm/i18n-values/my-MM.js +600 -1
  140. package/build/esm/i18n-values/th-TH.js +600 -1
  141. package/build/esm/i18n-values/tl-PH.js +600 -1
  142. package/build/esm/i18n-values/vi-VN.js +607 -1
  143. package/build/esm/i18n-values/vi-VN_MB.js +607 -1
  144. package/build/esm/i18n-values/zh-TW.js +600 -1
  145. package/build/esm/i18n.js +55 -1
  146. package/build/esm/i18nV2.js +18 -1
  147. package/build/esm/index-12fa4985.js +8 -0
  148. package/build/esm/index-1e59f99a.js +152 -0
  149. package/build/esm/index-32e53dac.js +1936 -0
  150. package/build/esm/index-3474401a.js +149 -0
  151. package/build/esm/index-34899aa3.js +17 -0
  152. package/build/esm/index-350e8f5b.js +124 -0
  153. package/build/esm/index-41bf860a.js +151 -0
  154. package/build/esm/index-4aa8e518.js +116 -0
  155. package/build/esm/index-4fe2b03f.js +32 -0
  156. package/build/esm/index-6ea6484e.js +29 -0
  157. package/build/esm/index-717401ee.js +184 -0
  158. package/build/esm/index-7af5242a.js +24 -0
  159. package/build/esm/index-7b8c85cd.js +8302 -0
  160. package/build/esm/index-81f295b7.js +23 -0
  161. package/build/esm/index-8858383e.js +52 -0
  162. package/build/esm/index-8f52dcf3.js +33 -0
  163. package/build/esm/index-9ea7e838.js +33 -0
  164. package/build/esm/index-aabac2aa.js +3241 -0
  165. package/build/esm/index-b9b2c417.js +837 -0
  166. package/build/esm/index-c2da5293.js +12 -0
  167. package/build/esm/index-c56d60db.js +370 -0
  168. package/build/esm/index-c5d7f692.js +24 -0
  169. package/build/esm/index-cc93e010.js +53 -0
  170. package/build/esm/index-d7f046db.js +5 -0
  171. package/build/esm/index-d8177667.js +14 -0
  172. package/build/esm/index-da139dda.js +615 -0
  173. package/build/esm/index-e612be9c.js +905 -0
  174. package/build/esm/index-f3d0592b.js +71 -0
  175. package/build/esm/index.js +190 -1
  176. package/build/{index.styled-625bfdc7.js → esm/index.styled-9c9db9cc.js} +17 -5
  177. package/build/esm/index.styles-5add27c5.js +1303 -0
  178. package/build/esm/isProduction-0ea904dd.js +27 -0
  179. package/build/esm/lead.js +2140 -1
  180. package/build/esm/localizeNumberFormat-2ac3773e.js +23 -0
  181. package/build/esm/mantine.js +113 -1
  182. package/build/esm/misc.js +22 -1
  183. package/build/esm/navigation.js +51 -1
  184. package/build/esm/normalizeLink-d1c9617e.js +12 -0
  185. package/build/esm/number-0c126a39.js +38 -0
  186. package/build/esm/onboardingV2.js +860 -34
  187. package/build/esm/paths-a8204db4.js +14 -0
  188. package/build/esm/pwg.js +208 -7
  189. package/build/esm/routing-2474f896.js +40 -0
  190. package/build/esm/subot.js +4553 -134
  191. package/build/esm/theme-e74db08c.js +186 -0
  192. package/build/esm/together.js +52 -1
  193. package/build/esm/translationsContext-ad3e25de.js +5 -0
  194. package/build/esm/tslib.es6-1b1533a9.js +38 -0
  195. package/build/esm/types-06f00b3d.js +8015 -0
  196. package/build/esm/types-15e34418.js +3432 -0
  197. package/build/esm/types-ba190c26.js +21 -0
  198. package/build/esm/types.js +1 -1
  199. package/build/esm/unifyEnv.js +42 -1
  200. package/build/esm/useCategory-2c87152d.js +292 -0
  201. package/build/esm/useHealthToolCache-29d22ddb.js +17 -0
  202. package/build/esm/useIsInit-8a2fc8e5.js +11 -0
  203. package/build/esm/useOutsideClick-c8a7ff20.js +45 -0
  204. package/build/esm/usePlacesAutocomplete-63e04e8e.js +80 -0
  205. package/build/esm/useScrollbarSize-51ce1374.js +57 -0
  206. package/build/esm/useTranslations-4f1db486.js +26 -0
  207. package/build/esm/useUniqueId-3638402f.js +41 -0
  208. package/build/esm/utils-2c484c05.js +132 -0
  209. package/build/esm/utils-3a2a47d9.js +22 -0
  210. package/build/esm/utils-6d7b88da.js +367 -0
  211. package/build/esm/utils-70718e9c.js +1124 -0
  212. package/build/esm/vaccination.js +868 -40
  213. package/build/footer.js +39 -1
  214. package/build/gAssets.js +14 -1
  215. package/build/getDynamicHealthTool-114a1e27.js +48 -0
  216. package/build/getSocialList-4713441d.js +72 -0
  217. package/build/hooks.js +44 -1
  218. package/build/i18n-values/en-PH.js +611 -1
  219. package/build/i18n-values/hi-IN.js +611 -1
  220. package/build/i18n-values/id-ID.js +611 -1
  221. package/build/i18n-values/km-KH.js +611 -1
  222. package/build/i18n-values/ms-MY.js +613 -1
  223. package/build/i18n-values/my-MM.js +611 -1
  224. package/build/i18n-values/th-TH.js +611 -1
  225. package/build/i18n-values/tl-PH.js +611 -1
  226. package/build/i18n-values/vi-VN.js +618 -1
  227. package/build/i18n-values/vi-VN_MB.js +618 -1
  228. package/build/i18n-values/zh-TW.js +611 -1
  229. package/build/i18n.js +64 -1
  230. package/build/i18nV2.js +26 -1
  231. package/build/index-020e6908.js +39 -0
  232. package/build/index-0da9b2e8.js +59 -0
  233. package/build/index-11468c00.js +157 -0
  234. package/build/index-117448a5.js +133 -0
  235. package/build/index-12c07f71.js +18 -0
  236. package/build/index-1a105e87.js +123 -0
  237. package/build/index-1baaedb0.js +55 -0
  238. package/build/index-32d38318.js +7 -0
  239. package/build/index-38582ee0.js +8373 -0
  240. package/build/index-3e5fc2d6.js +1994 -0
  241. package/build/index-3eef6bed.js +853 -0
  242. package/build/index-4035e658.js +159 -0
  243. package/build/index-488d71ae.js +30 -0
  244. package/build/index-5553f9e1.js +930 -0
  245. package/build/index-5fa68e45.js +380 -0
  246. package/build/index-7b467209.js +39 -0
  247. package/build/index-81cb1142.js +77 -0
  248. package/build/index-84ab5b89.js +38 -0
  249. package/build/index-8a95d709.js +30 -0
  250. package/build/index-9da9f0c3.js +35 -0
  251. package/build/index-af91c83e.js +20 -0
  252. package/build/index-b6aea85e.js +191 -0
  253. package/build/index-bc4f4c33.js +156 -0
  254. package/build/index-c604d6bb.js +624 -0
  255. package/build/index-d330735e.js +30 -0
  256. package/build/index-d8a7efaf.js +14 -0
  257. package/build/index-e2e81fa2.js +23 -0
  258. package/build/index-e3d896b3.js +3261 -0
  259. package/build/index.js +436 -1
  260. package/build/{esm/index.styled-ac7ac0fc.js → index.styled-5628b3e7.js} +25 -5
  261. package/build/index.styles-b822bf42.js +1342 -0
  262. package/build/isProduction-5ce3a388.js +29 -0
  263. package/build/lead.js +2168 -1
  264. package/build/localizeNumberFormat-f5f50987.js +31 -0
  265. package/build/mantine.js +154 -1
  266. package/build/misc.js +70 -1
  267. package/build/navigation.js +61 -1
  268. package/build/normalizeLink-6f7b85d8.js +15 -0
  269. package/build/number-79fe92e1.js +40 -0
  270. package/build/onboardingV2.js +892 -34
  271. package/build/paths-a5643d9e.js +16 -0
  272. package/build/pwg.js +217 -7
  273. package/build/routing-191a9a00.js +46 -0
  274. package/build/subot.js +4592 -134
  275. package/build/theme-fa910869.js +189 -0
  276. package/build/together.js +112 -1
  277. package/build/translationsContext-950334bf.js +7 -0
  278. package/build/tslib.es6-65e312a5.js +41 -0
  279. package/build/types-0f117a9f.js +8084 -0
  280. package/build/types-1fedb3d1.js +3446 -0
  281. package/build/types-52a4e888.js +24 -0
  282. package/build/types.js +56 -1
  283. package/build/unifyEnv.js +46 -1
  284. package/build/useCategory-cfc702f5.js +299 -0
  285. package/build/useHealthToolCache-43a7014d.js +19 -0
  286. package/build/useIsInit-89535012.js +13 -0
  287. package/build/useOutsideClick-c6813964.js +49 -0
  288. package/build/usePlacesAutocomplete-297de092.js +84 -0
  289. package/build/useScrollbarSize-0fa31aa7.js +64 -0
  290. package/build/useTranslations-e1853417.js +32 -0
  291. package/build/useUniqueId-11369116.js +44 -0
  292. package/build/utils-52113753.js +384 -0
  293. package/build/utils-64bd0c42.js +143 -0
  294. package/build/utils-661411f6.js +1171 -0
  295. package/build/utils-e1513cbc.js +25 -0
  296. package/build/vaccination.js +891 -40
  297. package/package.json +4 -5
  298. package/build/BMI_BOYS.percentile.monthly-8cc875f7.js +0 -1
  299. package/build/BMI_BOYS.percentile.weekly-b45b05e3.js +0 -1
  300. package/build/BMI_BOYS.percentile.yearly-e4f1d19c.js +0 -1
  301. package/build/BMI_BOYS.zscore.monthly-e51737eb.js +0 -1
  302. package/build/BMI_BOYS.zscore.weekly-4080c0d5.js +0 -1
  303. package/build/BMI_BOYS.zscore.yearly-703e5747.js +0 -1
  304. package/build/BMI_GIRLS.percentile.monthly-ac5a001d.js +0 -1
  305. package/build/BMI_GIRLS.percentile.weekly-6a6f4703.js +0 -1
  306. package/build/BMI_GIRLS.percentile.yearly-8eb7e8e5.js +0 -1
  307. package/build/BMI_GIRLS.zscore.monthly-c2763465.js +0 -1
  308. package/build/BMI_GIRLS.zscore.weekly-7438d8b6.js +0 -1
  309. package/build/BMI_GIRLS.zscore.yearly-a56ffb0c.js +0 -1
  310. package/build/ChevronDown-81b50697.js +0 -1
  311. package/build/HEAD CIRCUM_BOYS.percentile.monthly-cccf9306.js +0 -1
  312. package/build/HEAD CIRCUM_BOYS.percentile.weekly-85fc8a7e.js +0 -1
  313. package/build/HEAD CIRCUM_BOYS.percentile.yearly-d22ad913.js +0 -1
  314. package/build/HEAD CIRCUM_BOYS.zscore.monthly-4db20906.js +0 -1
  315. package/build/HEAD CIRCUM_BOYS.zscore.weekly-1a4dc975.js +0 -1
  316. package/build/HEAD CIRCUM_BOYS.zscore.yearly-a2bcdd3a.js +0 -1
  317. package/build/HEAD CIRCUM_GIRLS.percentile.monthly-13e127f5.js +0 -1
  318. package/build/HEAD CIRCUM_GIRLS.percentile.weekly-95a7695c.js +0 -1
  319. package/build/HEAD CIRCUM_GIRLS.percentile.yearly-852dc893.js +0 -1
  320. package/build/HEAD CIRCUM_GIRLS.zscore.monthly-9865857d.js +0 -1
  321. package/build/HEAD CIRCUM_GIRLS.zscore.weekly-9bdf4dda.js +0 -1
  322. package/build/HEAD CIRCUM_GIRLS.zscore.yearly-ac24fb2f.js +0 -1
  323. package/build/HEIGHT_BOYS.percentile.monthly-691b0568.js +0 -1
  324. package/build/HEIGHT_BOYS.percentile.weekly-520bd6ac.js +0 -1
  325. package/build/HEIGHT_BOYS.percentile.yearly-9093722e.js +0 -1
  326. package/build/HEIGHT_BOYS.zscore.monthly-84db220e.js +0 -1
  327. package/build/HEIGHT_BOYS.zscore.weekly-ce0c52d1.js +0 -1
  328. package/build/HEIGHT_BOYS.zscore.yearly-dab7d4e0.js +0 -1
  329. package/build/HEIGHT_GIRLS.percentile.monthly-7f42e4cd.js +0 -1
  330. package/build/HEIGHT_GIRLS.percentile.weekly-79ca42e5.js +0 -1
  331. package/build/HEIGHT_GIRLS.percentile.yearly-4e11d0f8.js +0 -1
  332. package/build/HEIGHT_GIRLS.zscore.monthly-74be7929.js +0 -1
  333. package/build/HEIGHT_GIRLS.zscore.weekly-a47a1d90.js +0 -1
  334. package/build/HEIGHT_GIRLS.zscore.yearly-f4984496.js +0 -1
  335. package/build/Subot-b0700a95.js +0 -1
  336. package/build/Visible-0267024a.js +0 -1
  337. package/build/WEIGHT_BOYS.percentile.monthly-08b33be0.js +0 -1
  338. package/build/WEIGHT_BOYS.percentile.weekly-65a4fa70.js +0 -1
  339. package/build/WEIGHT_BOYS.percentile.yearly-f3b46cc5.js +0 -1
  340. package/build/WEIGHT_BOYS.zscore.monthly-d1191a6a.js +0 -1
  341. package/build/WEIGHT_BOYS.zscore.weekly-61c60cf9.js +0 -1
  342. package/build/WEIGHT_BOYS.zscore.yearly-0d89c866.js +0 -1
  343. package/build/WEIGHT_GIRLS.percentile.monthly-221c1ba4.js +0 -1
  344. package/build/WEIGHT_GIRLS.percentile.weekly-fbd203a6.js +0 -1
  345. package/build/WEIGHT_GIRLS.percentile.yearly-36a909c2.js +0 -1
  346. package/build/WEIGHT_GIRLS.zscore.monthly-09b6ae5b.js +0 -1
  347. package/build/WEIGHT_GIRLS.zscore.weekly-7ada849a.js +0 -1
  348. package/build/WEIGHT_GIRLS.zscore.yearly-5115a509.js +0 -1
  349. package/build/constants-47b9b5ff.js +0 -108
  350. package/build/constants-8d5fe5b9.js +0 -1
  351. package/build/cookieHelper-effc4373.js +0 -1
  352. package/build/core-fc6dbe08.js +0 -1
  353. package/build/dataTransform-ad721ec5.js +0 -1
  354. package/build/esm/BMI_BOYS.percentile.monthly-2aa26d5a.js +0 -1
  355. package/build/esm/BMI_BOYS.percentile.weekly-838f6b27.js +0 -1
  356. package/build/esm/BMI_BOYS.percentile.yearly-e77609d7.js +0 -1
  357. package/build/esm/BMI_BOYS.zscore.monthly-2657168d.js +0 -1
  358. package/build/esm/BMI_BOYS.zscore.weekly-d3c18887.js +0 -1
  359. package/build/esm/BMI_BOYS.zscore.yearly-3759a54e.js +0 -1
  360. package/build/esm/BMI_GIRLS.percentile.monthly-f3e35273.js +0 -1
  361. package/build/esm/BMI_GIRLS.percentile.weekly-7936ee97.js +0 -1
  362. package/build/esm/BMI_GIRLS.percentile.yearly-757b0bc4.js +0 -1
  363. package/build/esm/BMI_GIRLS.zscore.monthly-d9760b61.js +0 -1
  364. package/build/esm/BMI_GIRLS.zscore.weekly-a58e0db1.js +0 -1
  365. package/build/esm/BMI_GIRLS.zscore.yearly-92413c27.js +0 -1
  366. package/build/esm/ChevronDown-e7d44dc3.js +0 -1
  367. package/build/esm/HEAD CIRCUM_BOYS.percentile.monthly-c50f125e.js +0 -1
  368. package/build/esm/HEAD CIRCUM_BOYS.percentile.weekly-29038598.js +0 -1
  369. package/build/esm/HEAD CIRCUM_BOYS.percentile.yearly-32c4e2be.js +0 -1
  370. package/build/esm/HEAD CIRCUM_BOYS.zscore.monthly-cd04e4b1.js +0 -1
  371. package/build/esm/HEAD CIRCUM_BOYS.zscore.weekly-6b63745c.js +0 -1
  372. package/build/esm/HEAD CIRCUM_BOYS.zscore.yearly-3a5be78c.js +0 -1
  373. package/build/esm/HEAD CIRCUM_GIRLS.percentile.monthly-c7996a02.js +0 -1
  374. package/build/esm/HEAD CIRCUM_GIRLS.percentile.weekly-553c94d5.js +0 -1
  375. package/build/esm/HEAD CIRCUM_GIRLS.percentile.yearly-97f86688.js +0 -1
  376. package/build/esm/HEAD CIRCUM_GIRLS.zscore.monthly-a442f7cc.js +0 -1
  377. package/build/esm/HEAD CIRCUM_GIRLS.zscore.weekly-cdd37afd.js +0 -1
  378. package/build/esm/HEAD CIRCUM_GIRLS.zscore.yearly-50d9daff.js +0 -1
  379. package/build/esm/HEIGHT_BOYS.percentile.monthly-53580c1f.js +0 -1
  380. package/build/esm/HEIGHT_BOYS.percentile.weekly-60514fb8.js +0 -1
  381. package/build/esm/HEIGHT_BOYS.percentile.yearly-d6b456a7.js +0 -1
  382. package/build/esm/HEIGHT_BOYS.zscore.monthly-21bd1444.js +0 -1
  383. package/build/esm/HEIGHT_BOYS.zscore.weekly-2a4e7aa0.js +0 -1
  384. package/build/esm/HEIGHT_BOYS.zscore.yearly-7f68c522.js +0 -1
  385. package/build/esm/HEIGHT_GIRLS.percentile.monthly-d5d7448a.js +0 -1
  386. package/build/esm/HEIGHT_GIRLS.percentile.weekly-c3c18801.js +0 -1
  387. package/build/esm/HEIGHT_GIRLS.percentile.yearly-3491901c.js +0 -1
  388. package/build/esm/HEIGHT_GIRLS.zscore.monthly-9f15dd03.js +0 -1
  389. package/build/esm/HEIGHT_GIRLS.zscore.weekly-81319284.js +0 -1
  390. package/build/esm/HEIGHT_GIRLS.zscore.yearly-8a7db57c.js +0 -1
  391. package/build/esm/Subot-fcd7c77c.js +0 -1
  392. package/build/esm/Visible-66d0e6f3.js +0 -1
  393. package/build/esm/WEIGHT_BOYS.percentile.monthly-0f5ea175.js +0 -1
  394. package/build/esm/WEIGHT_BOYS.percentile.weekly-88f50098.js +0 -1
  395. package/build/esm/WEIGHT_BOYS.percentile.yearly-63383bc3.js +0 -1
  396. package/build/esm/WEIGHT_BOYS.zscore.monthly-bf93eec1.js +0 -1
  397. package/build/esm/WEIGHT_BOYS.zscore.weekly-fe0600be.js +0 -1
  398. package/build/esm/WEIGHT_BOYS.zscore.yearly-4212bebb.js +0 -1
  399. package/build/esm/WEIGHT_GIRLS.percentile.monthly-6cc8cf8c.js +0 -1
  400. package/build/esm/WEIGHT_GIRLS.percentile.weekly-05d66e6d.js +0 -1
  401. package/build/esm/WEIGHT_GIRLS.percentile.yearly-b8c1af06.js +0 -1
  402. package/build/esm/WEIGHT_GIRLS.zscore.monthly-8c9195d5.js +0 -1
  403. package/build/esm/WEIGHT_GIRLS.zscore.weekly-4ef9aeee.js +0 -1
  404. package/build/esm/WEIGHT_GIRLS.zscore.yearly-0ccaeb51.js +0 -1
  405. package/build/esm/constants-046883ea.js +0 -1
  406. package/build/esm/constants-1e65de37.js +0 -108
  407. package/build/esm/cookieHelper-e37e6893.js +0 -1
  408. package/build/esm/core-7a237cdc.js +0 -1
  409. package/build/esm/dataTransform-f4476a6b.js +0 -1
  410. package/build/esm/getDynamicHealthTool-e095ea8b.js +0 -1
  411. package/build/esm/getSocialList-5f74d2b2.js +0 -1
  412. package/build/esm/index-006bca17.js +0 -1
  413. package/build/esm/index-068a9606.js +0 -137
  414. package/build/esm/index-0d0e5f45.js +0 -1
  415. package/build/esm/index-1e29d7b0.js +0 -1
  416. package/build/esm/index-2b572b4f.js +0 -1
  417. package/build/esm/index-318d4230.js +0 -117
  418. package/build/esm/index-39174b30.js +0 -1
  419. package/build/esm/index-3bfcc95c.js +0 -1
  420. package/build/esm/index-3c612859.js +0 -1
  421. package/build/esm/index-4004c359.js +0 -113
  422. package/build/esm/index-41f67971.js +0 -177
  423. package/build/esm/index-42a8c7e8.js +0 -1430
  424. package/build/esm/index-461eded2.js +0 -2748
  425. package/build/esm/index-575f65cb.js +0 -1
  426. package/build/esm/index-7f4008ff.js +0 -1
  427. package/build/esm/index-81dbde00.js +0 -375
  428. package/build/esm/index-99348fe5.js +0 -1
  429. package/build/esm/index-9b8a2194.js +0 -1
  430. package/build/esm/index-9d529405.js +0 -1
  431. package/build/esm/index-a445a873.js +0 -1
  432. package/build/esm/index-ab99f4fa.js +0 -1
  433. package/build/esm/index-b7782e6c.js +0 -1
  434. package/build/esm/index-b7a87c5c.js +0 -50
  435. package/build/esm/index-c737fbcc.js +0 -1
  436. package/build/esm/index-dfe2918d.js +0 -1
  437. package/build/esm/index-e7dea007.js +0 -1
  438. package/build/esm/index-eab0e39a.js +0 -1
  439. package/build/esm/index-fa743e14.js +0 -1
  440. package/build/esm/index.styles-d0b249c6.js +0 -817
  441. package/build/esm/isProduction-819e0c5c.js +0 -1
  442. package/build/esm/localizeNumberFormat-87b8adfd.js +0 -1
  443. package/build/esm/normalizeLink-86ab5a4c.js +0 -1
  444. package/build/esm/number-087a7e5f.js +0 -1
  445. package/build/esm/paths-838a5528.js +0 -1
  446. package/build/esm/routing-c85cbf05.js +0 -1
  447. package/build/esm/theme-691eca44.js +0 -1
  448. package/build/esm/translationsContext-f8842fe7.js +0 -1
  449. package/build/esm/tslib.es6-1ab8a2bb.js +0 -1
  450. package/build/esm/types-2d76a291.js +0 -3004
  451. package/build/esm/types-81267cf7.js +0 -1
  452. package/build/esm/types-e02aa1d1.js +0 -785
  453. package/build/esm/useCategory-16048c77.js +0 -1
  454. package/build/esm/useHealthToolCache-b2ecca8b.js +0 -1
  455. package/build/esm/useIsInit-c9c6a218.js +0 -1
  456. package/build/esm/useOutsideClick-9787ba70.js +0 -1
  457. package/build/esm/usePlacesAutocomplete-1966a8e8.js +0 -1
  458. package/build/esm/useScrollbarSize-2cadb783.js +0 -1
  459. package/build/esm/useTranslations-06f29a74.js +0 -1
  460. package/build/esm/useUniqueId-8d28d0f0.js +0 -1
  461. package/build/esm/utils-21a3e198.js +0 -1
  462. package/build/esm/utils-581f9d39.js +0 -8
  463. package/build/esm/utils-8845cf64.js +0 -141
  464. package/build/esm/utils-9188a853.js +0 -1
  465. package/build/getDynamicHealthTool-110fd918.js +0 -1
  466. package/build/getSocialList-eca125e9.js +0 -1
  467. package/build/index-06e0154a.js +0 -177
  468. package/build/index-07abd94a.js +0 -1
  469. package/build/index-0c773078.js +0 -117
  470. package/build/index-170f5567.js +0 -1
  471. package/build/index-19ccb0c7.js +0 -1
  472. package/build/index-219cacd2.js +0 -1
  473. package/build/index-2c0386df.js +0 -50
  474. package/build/index-2ce34495.js +0 -1
  475. package/build/index-3f31aa06.js +0 -1
  476. package/build/index-686fe563.js +0 -1
  477. package/build/index-6c8c7fa5.js +0 -1
  478. package/build/index-76c307b4.js +0 -375
  479. package/build/index-78e20b2b.js +0 -1
  480. package/build/index-853a455f.js +0 -1
  481. package/build/index-9834ba3a.js +0 -1
  482. package/build/index-9c1259e4.js +0 -1
  483. package/build/index-9eed92e6.js +0 -1
  484. package/build/index-a046b313.js +0 -137
  485. package/build/index-ae78fa34.js +0 -113
  486. package/build/index-c4552011.js +0 -1
  487. package/build/index-d0a7d5e2.js +0 -1
  488. package/build/index-d59720e6.js +0 -1
  489. package/build/index-de63ce4e.js +0 -1
  490. package/build/index-e363ea7e.js +0 -1
  491. package/build/index-e4952f3b.js +0 -2748
  492. package/build/index-e9919dca.js +0 -1430
  493. package/build/index-f124e061.js +0 -1
  494. package/build/index-fc3d21c5.js +0 -1
  495. package/build/index.styles-e56f16e2.js +0 -817
  496. package/build/isProduction-b8d43f53.js +0 -1
  497. package/build/localizeNumberFormat-7b0e4009.js +0 -1
  498. package/build/normalizeLink-eb3980aa.js +0 -1
  499. package/build/number-03c2dc35.js +0 -1
  500. package/build/paths-38b399e5.js +0 -1
  501. package/build/routing-fa35242c.js +0 -1
  502. package/build/theme-58404344.js +0 -1
  503. package/build/translationsContext-6a4e467c.js +0 -1
  504. package/build/tslib.es6-f82cfdbc.js +0 -1
  505. package/build/types-006c0884.js +0 -785
  506. package/build/types-48100068.js +0 -3004
  507. package/build/types-b4886ab8.js +0 -1
  508. package/build/useCategory-5efbe937.js +0 -1
  509. package/build/useHealthToolCache-4085d047.js +0 -1
  510. package/build/useIsInit-cde99e17.js +0 -1
  511. package/build/useOutsideClick-8d455bb1.js +0 -1
  512. package/build/usePlacesAutocomplete-fa0acdc7.js +0 -1
  513. package/build/useScrollbarSize-3593573d.js +0 -1
  514. package/build/useTranslations-d91f297f.js +0 -1
  515. package/build/useUniqueId-76286c45.js +0 -1
  516. package/build/utils-6c4e6bc4.js +0 -8
  517. package/build/utils-dd2fab54.js +0 -141
  518. package/build/utils-e1f42597.js +0 -1
  519. package/build/utils-fade3897.js +0 -1
@@ -0,0 +1,1342 @@
1
+ 'use strict';
2
+
3
+ var styled = require('styled-components');
4
+ var theme = require('./theme-fa910869.js');
5
+ var utils = require('./utils-64bd0c42.js');
6
+ var tslib_es6 = require('./tslib.es6-65e312a5.js');
7
+ var React = require('react');
8
+ var constants = require('./constants-8b8bc19f.js');
9
+ var animation = require('./animation-eb4e500b.js');
10
+ var core = require('@mantine/core');
11
+ var flattenChildren = require('react-keyed-flatten-children');
12
+
13
+ function _interopDefault (e) { return e && e.__esModule ? e : { 'default': e }; }
14
+
15
+ var styled__default = /*#__PURE__*/_interopDefault(styled);
16
+ var React__default = /*#__PURE__*/_interopDefault(React);
17
+ var flattenChildren__default = /*#__PURE__*/_interopDefault(flattenChildren);
18
+
19
+ const StyledAvatar = styled__default["default"].div `
20
+ background-color: var(--background-color, transparent);
21
+ color: white;
22
+ cursor: pointer;
23
+ img {
24
+ --width: var(--width-prop, 40px);
25
+ --height: var(--height-prop, 40px);
26
+ width: var(--width);
27
+ height: var(--height);
28
+ }
29
+ &[data-has-max='true'] {
30
+ img {
31
+ max-width: var(--width);
32
+ max-height: var(--height);
33
+ }
34
+ }
35
+
36
+ &[data-avatar-type='square'] {
37
+ img {
38
+ --width: var(--width-prop, 72px);
39
+ --height: var(--height-prop, 72px);
40
+ border-radius: ${theme.theme.borderRadius};
41
+ }
42
+ }
43
+
44
+ &[data-avatar-type='rounded'] {
45
+ img {
46
+ border-radius: 50%;
47
+ }
48
+ }
49
+
50
+ &[data-custom-size='true'] {
51
+ display: flex;
52
+ overflow: hidden;
53
+ overflow: hidden;
54
+ width: var(--size);
55
+ height: var(--size);
56
+ align-items: center;
57
+ justify-content: center;
58
+ background-size: cover;
59
+ font-size: calc(var(--size) / 2);
60
+ font-weight: bold;
61
+ &[data-avatar-type='square'] {
62
+ border-radius: ${theme.theme.borderRadius};
63
+ }
64
+ &[data-avatar-type='rounded'] {
65
+ border-radius: 50%;
66
+ img {
67
+ --width: 100%;
68
+ --height: 100%;
69
+ }
70
+ }
71
+ img {
72
+ object-fit: cover;
73
+ }
74
+ }
75
+ `;
76
+
77
+ const renderNotificationStyles = (type, size, hasIcon, color) => {
78
+ let sizeparams = '';
79
+ if (type === 'numeric') {
80
+ switch (size) {
81
+ case 'medium':
82
+ sizeparams = `
83
+ height: 16px;
84
+ font-size: 11px;
85
+ padding: 1px 6px;
86
+ `;
87
+ case 'large':
88
+ sizeparams = `
89
+ height: 24px;
90
+ font-size: 13px;
91
+ padding: 1px 10px;
92
+ `;
93
+ }
94
+ }
95
+ let icon = '';
96
+ if (hasIcon) {
97
+ icon = `
98
+ position: absolute;
99
+ top: 0;
100
+ left: 75%;
101
+ `;
102
+ }
103
+ let numericIcon;
104
+ if (hasIcon) {
105
+ numericIcon = `
106
+ left: 70%;
107
+
108
+ ${size === 'large'
109
+ ? `
110
+ top: -7px;
111
+ `
112
+ : size === 'medium'
113
+ ? `
114
+ top: -2px;
115
+ width: 16px;
116
+ height: 16px;
117
+ `
118
+ : ''}
119
+ `;
120
+ }
121
+ let notificationColor = '';
122
+ switch (color) {
123
+ case 'primary':
124
+ notificationColor = `
125
+ background: ${theme.theme.colors.primary50};
126
+ color: ${theme.theme.colors.primary600};
127
+ `;
128
+ break;
129
+ case 'error':
130
+ notificationColor = `
131
+ background: ${theme.theme.colors.error};
132
+ color: white;
133
+ `;
134
+ break;
135
+ }
136
+ switch (type) {
137
+ case 'dot':
138
+ return `
139
+ ${icon}
140
+ width: 8px;
141
+ height: 8px;
142
+ font-size: 0px;
143
+ border-radius: 50%;
144
+ ${notificationColor}
145
+ `;
146
+ case 'numeric':
147
+ return `
148
+ ${icon}
149
+ width: max-content;
150
+ border-radius: 32px;
151
+ ${sizeparams}
152
+ ${numericIcon}
153
+ ${notificationColor}
154
+ `;
155
+ }
156
+ };
157
+ const StyledBadge = styled__default["default"].div `
158
+ position: relative;
159
+
160
+ > div {
161
+ width: max-content;
162
+ position: relative;
163
+ }
164
+
165
+ span {
166
+ font-weight: ${theme.theme.sizes.fwBold};
167
+ display: flex;
168
+ justify-content: center;
169
+ align-items: center;
170
+
171
+ ${(props) => renderNotificationStyles(props.notificationType, props.notificationSize, props.hasIcon, props.notificationColor)}
172
+ }
173
+
174
+ ${(props) => props.hasIcon &&
175
+ `
176
+ svg {
177
+ width: 40px;
178
+ height: 40px;
179
+ }
180
+ `}
181
+ `;
182
+
183
+ const StyledBorderHeading = styled__default["default"].h4 `
184
+ position: relative;
185
+ line-height: 18px;
186
+
187
+ &:after {
188
+ position: absolute;
189
+ top: 1px;
190
+ left: 0;
191
+ width: 4px;
192
+ height: 18px;
193
+ background-color: ${theme.theme.colors.primaryBase};
194
+ content: '';
195
+ }
196
+
197
+ &[data-size='lg'] {
198
+ font-size: 18px;
199
+ padding-left: 12px;
200
+ }
201
+
202
+ &[data-size='sm'] {
203
+ font-size: 14px;
204
+ padding-left: 8px;
205
+
206
+ &::after {
207
+ width: 2px;
208
+ height: 15px;
209
+ }
210
+ }
211
+
212
+ &[data-type='bold'] {
213
+ font-weight: ${theme.theme.sizes.fwBold};
214
+ }
215
+ &[data-type='semiBold'] {
216
+ font-weight: ${theme.theme.sizes.fwSemiBold};
217
+ }
218
+
219
+ &[data-uppercase] {
220
+ text-transform: uppercase;
221
+ }
222
+
223
+ ${utils.MediaQueries.mbDown} {
224
+ &[data-size='lg'] {
225
+ font-size: 16px;
226
+ }
227
+ }
228
+ `;
229
+
230
+ const StyledDivider = styled__default["default"].hr `
231
+ border-width: 1px;
232
+ border-color: ${theme.theme.colors.neutral200};
233
+ border-style: ${(props) => props.dividerType};
234
+ `;
235
+
236
+ const StyledDropdown = styled__default["default"].div `
237
+ position: relative;
238
+ box-sizing: border-box;
239
+ border: 1px solid ${theme.theme.colors.gray200};
240
+ background: url('../../../public/bgSvg/arrow-down.svg') no-repeat;
241
+ background-position: right 16px center;
242
+ border-radius: ${theme.theme.borderRadius};
243
+
244
+ &[data-has-icons='true'] {
245
+ border: none;
246
+ background: ${theme.theme.colors.gray100};
247
+
248
+ img,
249
+ svg {
250
+ display: inline-block;
251
+ max-width: 16px;
252
+ margin-right: 6px;
253
+ }
254
+
255
+ span {
256
+ vertical-align: middle;
257
+ display: inline-block;
258
+ }
259
+
260
+ &:hover {
261
+ box-shadow: none;
262
+ }
263
+ > div {
264
+ position: relative;
265
+ width: 100%;
266
+ display: flex;
267
+ align-items: center;
268
+ box-sizing: border-box;
269
+ }
270
+ > div::after {
271
+ content: '';
272
+ right: 12px;
273
+ top: 50%;
274
+ background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1L5 5L9 1' stroke='%23595959' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
275
+ width: 10px;
276
+ height: 8px;
277
+ position: absolute;
278
+ background-repeat: no-repeat;
279
+ transform: translateY(-50%);
280
+ }
281
+ }
282
+
283
+ &:hover {
284
+ box-shadow: 0 0 2px 2px ${theme.theme.colors.primary200};
285
+ }
286
+ `;
287
+ const StyledDropdownName = styled__default["default"].div `
288
+ padding: 12px 18px 12px 16px;
289
+ cursor: pointer;
290
+ &[data-dropdown-open] {
291
+ padding: 11px 15px 11px 15px;
292
+ border: 1px solid ${theme.theme.colors.primaryBase};
293
+ border-radius: ${theme.theme.borderRadius};
294
+ box-shadow: 0 0 2px 2px ${theme.theme.colors.primary200};
295
+ }
296
+
297
+ & > svg {
298
+ height: 16px;
299
+ width: 16px;
300
+ }
301
+ `;
302
+ const StyledDropdownList = styled__default["default"].ul `
303
+ position: absolute;
304
+ top: 100%;
305
+ right: 0;
306
+ left: 0;
307
+ display: block;
308
+ margin-top: 4px;
309
+ background: ${theme.theme.colors.white};
310
+ border-radius: ${theme.theme.borderRadius};
311
+ box-shadow: -1px 1px 2px rgba(67, 70, 74, 0.0001),
312
+ -2px 2px 5px rgba(67, 86, 100, 0.123689);
313
+ cursor: pointer;
314
+
315
+ &[data-has-icons='true'] {
316
+ background: white;
317
+ box-shadow: none;
318
+ border: 1px solid ${theme.theme.colors.gray200};
319
+ filter: drop-shadow(0px 10px 16px rgba(0, 0, 0, 0.04));
320
+ }
321
+ `;
322
+ const StyledDropdownOption = styled__default["default"].li `
323
+ margin: 8px;
324
+ padding: 12px 18px 12px 16px;
325
+ border-radius: ${theme.theme.borderRadius};
326
+ display: flex;
327
+ &:hover,
328
+ :active {
329
+ background: ${theme.theme.colors.gray100};
330
+ }
331
+ `;
332
+ const StyledIcon = styled__default["default"].div `
333
+ display: flex;
334
+ align-items: center;
335
+ margin-right: 8px;
336
+
337
+ & > svg {
338
+ height: 16px;
339
+ width: 16px;
340
+ }
341
+ `;
342
+
343
+ const StyledGrid = styled__default["default"].div `
344
+ --columns: var(--grid-template-columns, repeat(var(--columns-count), 1fr));
345
+ --columns-desktop: var(
346
+ --grid-template-columns-desktop,
347
+ repeat(var(--columns-count-desktop), 1fr)
348
+ );
349
+ display: grid;
350
+ grid-template-columns: var(--columns);
351
+ grid-gap: var(--grid-gap);
352
+ align-items: var(--align-items);
353
+
354
+ ${utils.MediaQueries.tdUp} {
355
+ grid-template-columns: var(--columns-desktop);
356
+ }
357
+
358
+ > * {
359
+ justify-self: var(--justify-children);
360
+ }
361
+ `;
362
+
363
+ const StyledPagination = styled__default["default"].div `
364
+ display: flex;
365
+ align-items: center;
366
+ justify-content: space-between;
367
+ user-select: none;
368
+ li {
369
+ transition: all 0.3s ease;
370
+ }
371
+ [data-page-active] {
372
+ background: ${theme.theme.colors.primaryBase};
373
+ color: ${theme.theme.colors.white};
374
+
375
+ > a {
376
+ color: ${theme.theme.colors.white};
377
+ }
378
+ }
379
+ `;
380
+ const StyledPageBlock = styled__default["default"].div `
381
+ display: flex;
382
+ width: 32px;
383
+ height: 32px;
384
+ box-sizing: border-box;
385
+ align-items: center;
386
+ justify-content: center;
387
+ border: 1px solid ${theme.theme.colors.gray200};
388
+ margin: 0 2px;
389
+ border-radius: 4px;
390
+ color: ${theme.theme.colors.gray800};
391
+ cursor: pointer;
392
+ font-size: 14px;
393
+ font-weight: ${theme.theme.sizes.fwBold};
394
+
395
+ &[data-last-page] {
396
+ border: none;
397
+ background-color: ${theme.theme.colors.gray100};
398
+ cursor: not-allowed;
399
+ pointer-events: none;
400
+
401
+ svg {
402
+ path {
403
+ stroke: ${theme.theme.colors.gray300};
404
+ }
405
+ }
406
+ }
407
+ `;
408
+ const StyledPaginationBlock = styled__default["default"].li `
409
+ display: flex;
410
+ width: 32px;
411
+ height: 32px;
412
+ align-items: center;
413
+ justify-content: center;
414
+ margin: 0 2px;
415
+ border-radius: 4px;
416
+ color: ${theme.theme.colors.gray800};
417
+ cursor: pointer;
418
+ font-size: 14px;
419
+ font-weight: ${theme.theme.sizes.fwBold};
420
+
421
+ > a {
422
+ color: ${theme.theme.colors.gray800};
423
+ text-decoration: unset;
424
+ display: block;
425
+ width: 100%;
426
+ height: 100%;
427
+ line-height: 32px;
428
+ text-align: center;
429
+ }
430
+ `;
431
+
432
+ const StyledInput = styled__default["default"].div `
433
+ position: relative;
434
+ width: 100%;
435
+
436
+ &[data-has-error] {
437
+ input {
438
+ border-color: ${theme.theme.colors.red700};
439
+ }
440
+ }
441
+
442
+ input {
443
+ width: 100%;
444
+ padding: 12px 16px;
445
+ border: solid 1px ${theme.theme.colors.gray200};
446
+ border-radius: ${theme.theme.borderRadius};
447
+
448
+ &:active,
449
+ &:focus,
450
+ .focused & {
451
+ border-color: ${theme.theme.colors.primaryBase};
452
+ box-shadow: 0px 0px 2px 2px ${theme.theme.colors.primary200};
453
+ }
454
+
455
+ &:disabled {
456
+ background-color: ${theme.theme.colors.gray100};
457
+ cursor: not-allowed;
458
+ }
459
+ }
460
+
461
+ &[data-has-action-icon] {
462
+ input {
463
+ padding: 12px 48px 12px 16px;
464
+ }
465
+ }
466
+ &[data-has-display-icon] {
467
+ input {
468
+ padding: 12px 16px 12px 48px;
469
+ }
470
+ }
471
+
472
+ &[data-has-action-icon][data-has-display-icon] {
473
+ input {
474
+ padding: 12px 48px;
475
+ }
476
+ }
477
+
478
+ &[data-size='lg'] {
479
+ input {
480
+ font-size: 16px;
481
+ font-weight: ${theme.theme.sizes.fwRegular};
482
+ ${utils.MediaQueries.mbDown} {
483
+ font-size: 22px;
484
+ line-height: 1.2;
485
+ }
486
+
487
+ ${utils.MediaQueries.mbUp} {
488
+ font-size: 26px;
489
+ line-height: 1.2;
490
+ }
491
+ }
492
+ }
493
+ &[data-size='md'] {
494
+ input {
495
+ font-weight: ${theme.theme.sizes.fwRegular};
496
+ ${utils.MediaQueries.mbDown} {
497
+ font-size: 14px;
498
+ line-height: 1.2;
499
+ }
500
+
501
+ ${utils.MediaQueries.mbUp} {
502
+ font-size: 16px;
503
+ line-height: 1.2;
504
+ }
505
+ }
506
+ }
507
+ &[data-size='sm'] {
508
+ input {
509
+ font-weight: ${theme.theme.sizes.fwRegular};
510
+ ${utils.MediaQueries.mbDown} {
511
+ font-size: 13px;
512
+ line-height: 1.5;
513
+ }
514
+
515
+ ${utils.MediaQueries.mbUp} {
516
+ font-size: 13px;
517
+ line-height: 1.5;
518
+ }
519
+ }
520
+ }
521
+ `;
522
+
523
+ /**
524
+ * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
525
+ */
526
+ const PureInput = React__default["default"].forwardRef((_a, ref) => {
527
+ var { name, errorMessage, autoComplete = 'off', defaultValue, actionIcon: ActionIcon, displayIcon: DisplayIcon, isDeleteAction, onActionClick, label, placeholder, className, onChange, onKeyPress, isDisabled, CustomInput, size, style, autoFocus, type = 'text', isNumerousKeyboard = false, onFocus, enterKeyHint, nativeOnChange } = _a, other = tslib_es6.__rest(_a, ["name", "errorMessage", "autoComplete", "defaultValue", "actionIcon", "displayIcon", "isDeleteAction", "onActionClick", "label", "placeholder", "className", "onChange", "onKeyPress", "isDisabled", "CustomInput", "size", "style", "autoFocus", "type", "isNumerousKeyboard", "onFocus", "enterKeyHint", "nativeOnChange"]);
528
+ const [localValue, setLocalValue] = React.useState(defaultValue);
529
+ const handleOnChange = (v) => {
530
+ setLocalValue(v);
531
+ onChange(v);
532
+ };
533
+ const handleOnActionClick = () => {
534
+ var _a;
535
+ if (isDeleteAction) {
536
+ setLocalValue('');
537
+ (_a = ref.current) === null || _a === void 0 ? void 0 : _a.focus();
538
+ }
539
+ onActionClick && onActionClick();
540
+ };
541
+ return (React__default["default"].createElement(StyledInput, { "data-size": size, className: className, "data-has-action-icon": !!ActionIcon || undefined, "data-has-display-icon": !!DisplayIcon || undefined, "data-has-error": (errorMessage && errorMessage.length > 0) || undefined, style: style },
542
+ label && (React__default["default"].createElement(constants.Label, { size: "label2", htmlFor: name, className: "inputLabel" }, label)),
543
+ React__default["default"].createElement("div", { style: { position: 'relative' } },
544
+ CustomInput ? (CustomInput) : (React__default["default"].createElement("input", Object.assign({ id: name, name: name, placeholder: placeholder, onChange: nativeOnChange !== null && nativeOnChange !== void 0 ? nativeOnChange : ((e) => handleOnChange(e.target.value)), onKeyPress: onKeyPress, type: type, "aria-label": type, disabled: isDisabled, value: localValue, autoComplete: autoComplete, ref: ref, autoFocus: autoFocus, inputMode: isNumerousKeyboard || type === 'number' ? 'numeric' : type, pattern: isNumerousKeyboard ? '[0-9]*' : '.*', onFocus: onFocus, enterKeyHint: enterKeyHint }, other))),
545
+ DisplayIcon && (React__default["default"].createElement(constants.StyledDisplayIcon, { className: "displayIcon" }, DisplayIcon)),
546
+ ActionIcon && (React__default["default"].createElement(constants.StyledActionIcon, { className: "actionIcon", onClick: handleOnActionClick }, ActionIcon))),
547
+ errorMessage && errorMessage.length > 0 && (React__default["default"].createElement(constants.StyledErrorLabel, { className: "errorLabel" }, errorMessage))));
548
+ });
549
+ PureInput.displayName = 'PureInput';
550
+
551
+ const getTag = (tag, isLight) => {
552
+ switch (tag) {
553
+ case 'yellow': {
554
+ const color = isLight ? theme.theme.colors.yellow50 : theme.theme.colors.yellow600;
555
+ return `
556
+ background: ${color};
557
+ p {
558
+ color: var(
559
+ --text-props-color,
560
+ ${theme.theme.colors.gray800}
561
+ );
562
+ }
563
+ `;
564
+ }
565
+ case 'standard': {
566
+ return `
567
+ background: ${theme.theme.colors.white};
568
+ border: 1px solid ${theme.theme.colors.gray200};
569
+
570
+ p {
571
+ color: var(
572
+ --text-props-color,
573
+ ${theme.theme.colors.gray800}
574
+ );
575
+ }
576
+
577
+ &:hover {
578
+ background: ${theme.theme.colors.gray100};
579
+ }
580
+ `;
581
+ }
582
+ case 'red': {
583
+ const color = isLight ? theme.theme.colors.red50 : theme.theme.colors.red500;
584
+ return `
585
+ background: ${color};
586
+ `;
587
+ }
588
+ case 'green': {
589
+ const color = isLight ? theme.theme.colors.green50 : theme.theme.colors.green500;
590
+ return `
591
+ background: ${color};
592
+ `;
593
+ }
594
+ case 'blue': {
595
+ const color = isLight ? theme.theme.colors.primary50 : theme.theme.colors.primaryBase;
596
+ return `
597
+ background: ${color};
598
+ `;
599
+ }
600
+ case 'teal': {
601
+ const color = isLight ? theme.theme.colors.teal100 : theme.theme.colors.teal600;
602
+ return `
603
+ background: ${color};
604
+ `;
605
+ }
606
+ case 'pink': {
607
+ const color = isLight ? theme.theme.colors.pink200 : theme.theme.colors.pink800;
608
+ return `
609
+ background: ${color};
610
+ `;
611
+ }
612
+ case 'violet': {
613
+ const color = isLight ? theme.theme.colors.violet100 : theme.theme.colors.violet500;
614
+ return `
615
+ background: ${color};
616
+ `;
617
+ }
618
+ case 'grey': {
619
+ const color = isLight ? theme.theme.colors.gray100 : theme.theme.colors.gray600;
620
+ return `
621
+ background: ${color};
622
+ `;
623
+ }
624
+ }
625
+ };
626
+ const StyledTag = styled__default["default"].div `
627
+ --padding-horizontal: 8px;
628
+ --pading-vertical: 2px;
629
+ display: flex;
630
+ align-items: center;
631
+ justify-content: center;
632
+ padding: var(--pading-vertical) var(--padding-horizontal);
633
+ border-radius: 24px;
634
+
635
+ ${(props) => props.tagType === 'sponsored' &&
636
+ `
637
+ --offset-size: 4px;
638
+ display: flex;
639
+ align-items: center;
640
+ justify-content: center;
641
+ box-sizing: content-box;
642
+ position: relative;
643
+ box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.08);
644
+ border-radius: 0 4px 18px 0;
645
+ height: 24px;
646
+ width: 90px;
647
+ border-left: var(--offset-size) solid ${theme.theme.colors.accentLight};
648
+ padding: 0;
649
+ margin-left: calc(var(--offset-size) * -1);
650
+
651
+ p {
652
+ font-weight: ${theme.theme.sizes.fwBold};
653
+ color: var(
654
+ --text-props-color,
655
+ ${theme.theme.colors.secondaryDark}
656
+ );
657
+ font-size: 11px;
658
+ margin-left: calc(var(--offset-size) * -1);
659
+ }
660
+
661
+ &::after {
662
+ width: calc(var(--offset-size) * 2);
663
+ height: var(--offset-size);
664
+ background: ${theme.theme.colors.accentMain};
665
+ position: absolute;
666
+ left: calc(var(--offset-size) * -1);
667
+ bottom: calc(var(--offset-size) * -1);
668
+ clip-path: polygon(0 1%, 100% 0%, 100% 100%);
669
+ content: '';
670
+ }
671
+ `}
672
+
673
+ ${(props) => props.isInline &&
674
+ `
675
+ display: inline-block;
676
+ `}
677
+
678
+ ${(props) => props.tagHasMorePadding &&
679
+ `
680
+ &[data-has-more-padding] {
681
+ padding: calc(var(--pading-vertical) + 5px) var(--padding-horizontal);
682
+ }
683
+ `}
684
+
685
+ p {
686
+ ${(props) => props.tagIsLight
687
+ ? `
688
+ color: var(--text-props-color, #000);
689
+ `
690
+ : `
691
+ color: var(--text-props-color, ${theme.theme.colors.white});
692
+ `}
693
+ }
694
+
695
+ ${(props) => getTag(props.tagType, props.tagIsLight)}
696
+
697
+ ${(props) => props.tagIsSquared &&
698
+ props.tagType !== 'sponsored' &&
699
+ `
700
+ border-radius: 4px;
701
+ `}
702
+
703
+ ${(props) => props.tagIsALink &&
704
+ `
705
+ cursor: pointer;
706
+ `}
707
+
708
+ &[data-is-selected],
709
+ &:active {
710
+ background: ${theme.theme.colors.primary50};
711
+ }
712
+ `;
713
+
714
+ const getDefaultClassWrapper = (Comp, defaultClassName) => React.forwardRef((_a, _ref) => {
715
+ var { className } = _a, rest = tslib_es6.__rest(_a, ["className"]);
716
+ return (React__default["default"].createElement(Comp, Object.assign({ ref: _ref, className: `${defaultClassName} ${className || ''}` }, rest)));
717
+ });
718
+
719
+ const heightIcon = '24px';
720
+ const _StyledToggleIcon = styled__default["default"].span `
721
+ position: relative;
722
+ display: block;
723
+ width: 40px;
724
+ height: ${heightIcon};
725
+ background: #c3cbd4;
726
+ border-radius: 100px;
727
+ cursor: pointer;
728
+
729
+ &:after {
730
+ position: absolute;
731
+ top: 2px;
732
+ left: 2px;
733
+ width: 20px;
734
+ height: 20px;
735
+ background: #fff;
736
+ border-radius: 90px;
737
+ content: '';
738
+ transition: 0.3s;
739
+ }
740
+ `;
741
+ const StyledToggleIconClass = 'hhgcomp-toggle-icon';
742
+ const StyledToggleIcon = getDefaultClassWrapper(_StyledToggleIcon, StyledToggleIconClass);
743
+ const StyledToggleLabel = styled__default["default"].span `
744
+ padding-left: 15px;
745
+ `;
746
+ const StyledToggle = styled__default["default"].div `
747
+ height: ${heightIcon};
748
+
749
+ input[type='checkbox'] {
750
+ width: 0;
751
+ height: 0;
752
+ visibility: hidden;
753
+ }
754
+
755
+ label {
756
+ cursor: pointer;
757
+ display: inline-flex;
758
+ color: ${theme.theme.colors.gray600};
759
+ }
760
+
761
+ input:checked + label .${StyledToggleIconClass} {
762
+ background: ${theme.theme.colors.primaryBase};
763
+ &:after {
764
+ left: calc(100% - 2px);
765
+ transform: translateX(-100%);
766
+ }
767
+ }
768
+ `;
769
+
770
+ const StyledTextArea = styled__default["default"].div `
771
+ textarea {
772
+ width: 100%;
773
+ height: var(--textarea-height, 116px);
774
+ padding: 1rem;
775
+ border: 1px solid ${theme.theme.colors.gray200};
776
+ border-radius: 6px;
777
+ color: ${theme.theme.colors.gray800};
778
+ font-size: 14px;
779
+ resize: none;
780
+
781
+ &:focus {
782
+ box-shadow: 0px 0px 2px 2px #91caff;
783
+ }
784
+
785
+ &::placeholder {
786
+ color: ${theme.theme.colors.gray500};
787
+ }
788
+
789
+ &:disabled {
790
+ background-color: ${theme.theme.colors.neutral50};
791
+ cursor: not-allowed;
792
+ }
793
+ }
794
+ `;
795
+ /**
796
+ * @deprecated Consider to use at '@hhgtech/hhg-components/mantine'
797
+ */
798
+ const TextArea = React__default["default"].forwardRef(({ height, placeholder, labelText, labelColor, id, name, onChange, value, className, onKeyPress, disabled = false, }, ref) => {
799
+ return (React__default["default"].createElement(StyledTextArea, { className: className, style: { ['--textarea-height']: height || '116px' } },
800
+ labelText && (React__default["default"].createElement(constants.Label, { size: "label2", style: { color: labelColor || '#595959' }, htmlFor: id }, labelText)),
801
+ React__default["default"].createElement("textarea", { name: name, ref: ref, placeholder: placeholder, id: id, onChange: (e) => onChange && onChange(e.target.value),
802
+ // eslint-disable-next-line @typescript-eslint/no-explicit-any
803
+ onKeyPress: (e) => onKeyPress && onKeyPress(e), value: value, disabled: disabled })));
804
+ });
805
+
806
+ const StyledCheckbox = styled__default["default"].div `
807
+ display: flex;
808
+ cursor: pointer;
809
+
810
+ &[data-theme='marryBaby'] {
811
+ input {
812
+ width: 20px;
813
+ height: 20px;
814
+ border: 1.3px solid ${theme.theme.mbColors.midGray};
815
+ border-radius: 9px;
816
+
817
+ cursor: inherit;
818
+ transition: border-color 0.4s, box-shadow 0.4s;
819
+
820
+ &:hover,
821
+ &:active {
822
+ border-color: ${theme.theme.mbColors.cobalt};
823
+ box-shadow: 0 0 2px 2px ${theme.theme.mbColors.cobalt};
824
+ }
825
+
826
+ &:focus-visible {
827
+ border: 2px solid ${theme.theme.mbColors.cobalt};
828
+ }
829
+
830
+ &:checked {
831
+ border: 0;
832
+ background: ${theme.theme.mbColors.cobalt}
833
+ url("data:image/svg+xml,%3Csvg width='9' height='7' viewBox='0 0 9 7' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1.5 4L3.45455 6L8 1' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
834
+ no-repeat center center;
835
+ }
836
+ }
837
+
838
+ label {
839
+ max-width: 15rem;
840
+ margin-left: 8px;
841
+ width: calc(100% - 24px);
842
+ cursor: inherit;
843
+ font-weight: 600;
844
+ font-size: 12px;
845
+ line-height: 20px;
846
+ letter-spacing: -0.2px;
847
+ color: ${theme.theme.mbColors.gray};
848
+ }
849
+ }
850
+ input {
851
+ width: 20px;
852
+ height: 20px;
853
+ border: solid 1px ${theme.theme.colors.gray500};
854
+ border-radius: 2px;
855
+
856
+ cursor: inherit;
857
+ transition: border-color 0.4s, box-shadow 0.4s;
858
+
859
+ &:hover,
860
+ &:active {
861
+ border-color: ${theme.theme.colors.primaryBase};
862
+ box-shadow: 0 0 2px 2px ${theme.theme.colors.primary200};
863
+ }
864
+
865
+ &:focus-visible {
866
+ border: 2px solid ${theme.theme.colors.primaryActive};
867
+ }
868
+
869
+ &:checked {
870
+ border: 0;
871
+ background: ${theme.theme.colors.primaryBase}
872
+ url("data:image/svg+xml,%3Csvg width='12' height='9' viewBox='0 0 12 9' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 1L4.125 8L1 4.81819' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A")
873
+ no-repeat center center;
874
+ }
875
+ }
876
+
877
+ label {
878
+ max-width: 15rem;
879
+ margin-left: 8px;
880
+ font-weight: ${theme.theme.sizes.fwRegular};
881
+ width: calc(100% - 24px);
882
+ cursor: inherit;
883
+
884
+ ${utils.MediaQueries.mbDown} {
885
+ font-size: 14px;
886
+ line-height: 24px;
887
+ }
888
+
889
+ ${utils.MediaQueries.mbUp} {
890
+ font-size: 16px;
891
+ line-height: 22px;
892
+ }
893
+ }
894
+
895
+ &[data-is-rectangle] > input {
896
+ position: relative;
897
+ width: unset;
898
+ height: unset;
899
+ padding: 5px 12px;
900
+ border: 1px solid ${theme.theme.colors.neutral100};
901
+ border-radius: 32px;
902
+
903
+ &::after {
904
+ color: ${theme.theme.colors.gray800};
905
+ content: attr(data-label-text);
906
+ font-size: 13px;
907
+ }
908
+ &:checked {
909
+ border-color: ${theme.theme.colors.primary50};
910
+ &::after {
911
+ color: ${theme.theme.colors.primaryBase};
912
+ }
913
+ }
914
+ &:checked {
915
+ background: ${theme.theme.colors.primary50};
916
+ }
917
+ }
918
+
919
+ &[data-disabled] {
920
+ color: ${theme.theme.colors.gray300};
921
+ cursor: not-allowed;
922
+ input {
923
+ border-color: ${theme.theme.colors.gray300};
924
+ &:hover {
925
+ border-color: ${theme.theme.colors.gray300};
926
+ box-shadow: none;
927
+ }
928
+ }
929
+ }
930
+ `;
931
+
932
+ const StyledRateStars = styled__default["default"].div `
933
+ display: inline-flex;
934
+
935
+ gap: calc(var(--gap) * 1px);
936
+ > svg {
937
+ width: calc(var(--star-size) * 1px);
938
+ height: calc(var(--star-size) * 1px);
939
+ }
940
+
941
+ &[data-selectable='true'] {
942
+ > svg {
943
+ cursor: pointer;
944
+ }
945
+ }
946
+ `;
947
+
948
+ const DURATION = '600ms';
949
+ const generateStyleBasedOnPlacement = (placement, open) => {
950
+ switch (placement) {
951
+ case 'top':
952
+ return styled.css `
953
+ top: 0;
954
+ width: 100%;
955
+ border-radius: 0px 0px 6px 6px;
956
+ ${open
957
+ ? styled.css `
958
+ animation: ${animation.slideInDown} ${DURATION} ease-in-out forwards;
959
+ `
960
+ : null}
961
+
962
+ &.slideOut {
963
+ animation: ${animation.slideOutUp} ${DURATION} ease-in-out forwards;
964
+ }
965
+ `;
966
+ case 'right':
967
+ return styled.css `
968
+ right: 0;
969
+ height: 100%;
970
+ min-width: 300px;
971
+ border-radius: 6px 0px 0px 6px;
972
+
973
+ ${open
974
+ ? styled.css `
975
+ animation: ${animation.slideInRight} ${DURATION} ease-in-out forwards;
976
+ `
977
+ : null}
978
+
979
+ &.slideOut {
980
+ animation: ${animation.slideOutRight} ${DURATION} ease-in-out forwards;
981
+ }
982
+ `;
983
+ case 'bottom':
984
+ return styled.css `
985
+ bottom: 0;
986
+ width: 100%;
987
+ border-radius: 6px 6px 0px 0px;
988
+ ${open
989
+ ? styled.css `
990
+ animation: ${animation.slideInUp} ${DURATION} ease-in-out forwards;
991
+ `
992
+ : null}
993
+
994
+ &.slideOut {
995
+ animation: ${animation.slideOutDown} ${DURATION} ease-in-out forwards;
996
+ }
997
+ `;
998
+ case 'left':
999
+ return styled.css `
1000
+ left: 0;
1001
+ height: 100%;
1002
+ min-width: 300px;
1003
+ border-radius: 0px 6px 6px 0px;
1004
+
1005
+ ${open
1006
+ ? styled.css `
1007
+ animation: ${animation.slideInLeft} ${DURATION} ease-in-out forwards;
1008
+ `
1009
+ : null}
1010
+
1011
+ &.slideOut {
1012
+ animation: ${animation.slideOutLeft} ${DURATION} ease-in-out forwards;
1013
+ }
1014
+ `;
1015
+ default:
1016
+ return styled.css `
1017
+ left: 0;
1018
+ height: 100%;
1019
+ min-width: 300px;
1020
+ border-radius: 0px 6px 6px 0px;
1021
+
1022
+ ${open
1023
+ ? styled.css `
1024
+ animation: ${animation.slideInUp} ${DURATION} ease-in-out forwards;
1025
+ `
1026
+ : null}
1027
+
1028
+ &.slideOut {
1029
+ animation: ${animation.slideOutDown} ${DURATION} ease-in-out forwards;
1030
+ }
1031
+ `;
1032
+ }
1033
+ };
1034
+
1035
+ const StyledDrawer = styled__default["default"].div `
1036
+ position: fixed;
1037
+ inset: 0;
1038
+ z-index: ${theme.theme.zIndexes.drawer};
1039
+ pointer-events: ${(props) => (props.open ? 'auto' : 'none')};
1040
+ `;
1041
+ const StyledDrawerPanel = styled__default["default"].div `
1042
+ position: fixed;
1043
+ z-index: 300;
1044
+ background: #ffffff;
1045
+ visibility: ${(props) => (props.open ? 'visible' : 'hidden')};
1046
+ max-height: calc(100vh - 100px);
1047
+ display: flex;
1048
+ flex-direction: column;
1049
+ .title {
1050
+ display: flex;
1051
+ align-items: center;
1052
+ justify-content: space-between;
1053
+ padding: 16px;
1054
+ ${(props) => props.hasTitle
1055
+ ? styled.css `
1056
+ border-bottom: 1px solid ${theme.theme.colors.neutral100};
1057
+ `
1058
+ : null}
1059
+ }
1060
+
1061
+ .close-button {
1062
+ margin-left: auto;
1063
+ }
1064
+
1065
+ ${(props) => generateStyleBasedOnPlacement(props.placement, props.open)}
1066
+ `;
1067
+ const StyledDrawerContent = styled__default["default"].div `
1068
+ min-height: 200px;
1069
+ padding: 16px;
1070
+ overflow-y: auto;
1071
+ `;
1072
+
1073
+ const StyledBackdrop = styled__default["default"].div `
1074
+ position: fixed;
1075
+ inset: 0;
1076
+ display: flex;
1077
+ align-items: center;
1078
+ justify-content: center;
1079
+ width: 100%;
1080
+ height: 100%;
1081
+ overflow-x: hidden;
1082
+ overflow-y: auto;
1083
+ outline: 0;
1084
+ background-color: rgba(38, 38, 38, 0.3);
1085
+ z-index: 1;
1086
+ &[data-open='false'] {
1087
+ visibility: hidden;
1088
+ pointer-events: none;
1089
+ }
1090
+ &[data-open='true'] {
1091
+ visibility: visible;
1092
+ pointer-events: auto;
1093
+ }
1094
+ `;
1095
+
1096
+ const StyledRadioImageGroup = styled__default["default"].div `
1097
+ display: flex;
1098
+ width: 100%;
1099
+
1100
+ &[data-direction='vertical'] {
1101
+ flex-direction: column;
1102
+ }
1103
+
1104
+ &[data-direction='horizontal'] {
1105
+ flex-wrap: wrap;
1106
+ }
1107
+ `;
1108
+ const StyledRadioImageItem = styled__default["default"].div `
1109
+ display: flex;
1110
+
1111
+ padding: 8px;
1112
+
1113
+ border-radius: ${theme.theme.borderRadius};
1114
+ cursor: pointer;
1115
+
1116
+ & > div {
1117
+ display: flex;
1118
+ width: 100%;
1119
+ height: 100%;
1120
+ flex-direction: column;
1121
+ align-items: center;
1122
+ justify-content: flex-start;
1123
+ }
1124
+
1125
+ &[data-is-mb='false'] {
1126
+ &[data-selected='true'] {
1127
+ border: 1px solid #2d87f3;
1128
+ background: white;
1129
+ }
1130
+ &[data-selected='false'] {
1131
+ border: 1px solid #f2f2f2;
1132
+ box-shadow: 0px 5px 12px rgba(40, 74, 117, 0.08);
1133
+ }
1134
+ }
1135
+
1136
+ &[data-is-mb='true'] {
1137
+ border-radius: 16px;
1138
+ background: white;
1139
+ padding: 16px auto;
1140
+
1141
+ &[data-selected='true'] {
1142
+ border: 1px solid ${theme.theme.mbColors.mint};
1143
+ box-shadow: 0px 2px 6px rgba(0, 0, 0, 0.06);
1144
+ }
1145
+ &[data-selected='false'] {
1146
+ border: none;
1147
+ }
1148
+ }
1149
+
1150
+ &[data-disabled='true'] {
1151
+ cursor: auto;
1152
+ }
1153
+
1154
+ .radio-group-item-heading {
1155
+ margin-top: 8px;
1156
+ //height: 48px;
1157
+ text-align: center;
1158
+ }
1159
+
1160
+ .gender-image {
1161
+ width: 70px;
1162
+ height: 70px;
1163
+ &[data-is-mobile='true'] {
1164
+ width: 40px;
1165
+ height: 40px;
1166
+ }
1167
+ }
1168
+ `;
1169
+
1170
+ var useStyles$1 = core.createStyles((theme) => {
1171
+ return {
1172
+ root: {
1173
+ display: 'inline-block',
1174
+ // height: 1rem,
1175
+ flexShrink: 0,
1176
+ padding: '2px 0.5rem',
1177
+ marginLeft: '4px',
1178
+ borderRadius: theme.radius.xs,
1179
+ // color: white,
1180
+ fontSize: '12px',
1181
+ fontWeight: 400,
1182
+ lineHeight: '18px',
1183
+ '&[data-label-type="admin"]': {
1184
+ background: theme.primaryColor[0],
1185
+ color: theme.primaryColor[9],
1186
+ // &[data-is-marrybaby='true'] {
1187
+ // background: #{map-get($mbColors, 'tonePink')};
1188
+ // color: #{map-get($mbColors, 'cRed')};
1189
+ // }
1190
+ },
1191
+ '&[data-label-type="local admin"]': {
1192
+ background: theme.primaryColor[8],
1193
+ },
1194
+ '&[data-label-type="ambassador"]': {
1195
+ background: theme.colors.green[4],
1196
+ },
1197
+ '&[data-label-type="expert"]': {
1198
+ background: theme.colors.yellow[6],
1199
+ // &[data-is-marrybaby='true'] {
1200
+ // background: #{map-get($mbColors, 'cOrange')};
1201
+ // color: #{map-get($colors, 'cWhite')};
1202
+ // }
1203
+ },
1204
+ '&[data-label-type="moderator"]': {
1205
+ background: theme.colors.red[0],
1206
+ color: theme.colors.red[8],
1207
+ // &[data-is-marrybaby='true'] {
1208
+ // background: #{map-get($mbColors, 'toneBlue')};
1209
+ // color: #{map-get($mbColors, 'cobalt')};
1210
+ // }
1211
+ },
1212
+ '&[data-label-type="sponsor"]': {
1213
+ background: theme.colors.teal[4],
1214
+ },
1215
+ '&[data-label-type="guide"]': {
1216
+ background: theme.colors.teal[4],
1217
+ },
1218
+ '&[data-label-type="influencer"]': {
1219
+ background: theme.colors.teal[4],
1220
+ },
1221
+ },
1222
+ };
1223
+ });
1224
+
1225
+ // define shared context
1226
+ const StepRendererContext = React.createContext({
1227
+ currentStep: 0,
1228
+ setCurrentStep: () => false,
1229
+ setMaxStep: () => false,
1230
+ nextStep: () => false,
1231
+ prevStep: () => false,
1232
+ });
1233
+ const StepRenderer = ({ children, onStepChange }) => {
1234
+ const [currentStep, setCurrentStep] = React.useState(0);
1235
+ const [maxStep, setMaxStep] = React.useState(0);
1236
+ const childrenCount = React__default["default"].Children.count(children);
1237
+ React.useEffect(() => {
1238
+ setMaxStep(childrenCount - 1);
1239
+ }, [childrenCount]);
1240
+ React.useEffect(() => {
1241
+ onStepChange === null || onStepChange === void 0 ? void 0 : onStepChange(currentStep);
1242
+ }, [currentStep]);
1243
+ const nextStep = () => currentStep + 1 <= maxStep && setCurrentStep(currentStep + 1);
1244
+ const prevStep = () => currentStep - 1 >= 0 && setCurrentStep(currentStep - 1);
1245
+ return (React__default["default"].createElement(StepRendererContext.Provider, { value: {
1246
+ currentStep,
1247
+ setCurrentStep,
1248
+ setMaxStep,
1249
+ nextStep,
1250
+ prevStep,
1251
+ } }, flattenChildren__default["default"](children).map((element, idx) => {
1252
+ const active = idx === currentStep;
1253
+ return (React__default["default"].createElement(React.Fragment, { key: idx }, !React__default["default"].isValidElement(element)
1254
+ ? active
1255
+ ? element
1256
+ : null
1257
+ : element.props.alwaysRender || active
1258
+ ? React__default["default"].cloneElement(element, {
1259
+ isActive: idx === currentStep,
1260
+ stepIndex: idx,
1261
+ })
1262
+ : null));
1263
+ })));
1264
+ };
1265
+
1266
+ var useStyles = core.createStyles((theme) => {
1267
+ return {
1268
+ root: {},
1269
+ wrapper: {
1270
+ gap: core.rem(8),
1271
+ },
1272
+ groupErr: {
1273
+ fontSize: core.rem(14),
1274
+ },
1275
+ itemRoot: {
1276
+ flexGrow: 1,
1277
+ width: '50%',
1278
+ '&[data-checked="true"]': {
1279
+ '.mantine-Radio-label': {
1280
+ borderColor: theme.fn.primaryColor(),
1281
+ },
1282
+ },
1283
+ },
1284
+ itemLabelWrapper: {
1285
+ padding: 0,
1286
+ width: '100%',
1287
+ },
1288
+ itemLabel: {
1289
+ position: 'relative',
1290
+ padding: `${core.rem(6)} ${core.rem(16)}`,
1291
+ border: `1px solid ${theme.colors.gray[2]}`,
1292
+ borderRadius: core.rem(4),
1293
+ cursor: 'pointer',
1294
+ '&[data-disabled="true"]': {
1295
+ background: theme.colors.gray[1],
1296
+ color: `${theme.colors.gray[4]} !important`,
1297
+ img: {
1298
+ opacity: 0.5,
1299
+ },
1300
+ },
1301
+ img: {
1302
+ height: core.rem(26),
1303
+ },
1304
+ },
1305
+ itemInner: {
1306
+ display: 'none',
1307
+ },
1308
+ };
1309
+ });
1310
+
1311
+ exports.PureInput = PureInput;
1312
+ exports.StepRenderer = StepRenderer;
1313
+ exports.StepRendererContext = StepRendererContext;
1314
+ exports.StyledAvatar = StyledAvatar;
1315
+ exports.StyledBackdrop = StyledBackdrop;
1316
+ exports.StyledBadge = StyledBadge;
1317
+ exports.StyledBorderHeading = StyledBorderHeading;
1318
+ exports.StyledCheckbox = StyledCheckbox;
1319
+ exports.StyledDivider = StyledDivider;
1320
+ exports.StyledDrawer = StyledDrawer;
1321
+ exports.StyledDrawerContent = StyledDrawerContent;
1322
+ exports.StyledDrawerPanel = StyledDrawerPanel;
1323
+ exports.StyledDropdown = StyledDropdown;
1324
+ exports.StyledDropdownList = StyledDropdownList;
1325
+ exports.StyledDropdownName = StyledDropdownName;
1326
+ exports.StyledDropdownOption = StyledDropdownOption;
1327
+ exports.StyledGrid = StyledGrid;
1328
+ exports.StyledIcon = StyledIcon;
1329
+ exports.StyledPageBlock = StyledPageBlock;
1330
+ exports.StyledPagination = StyledPagination;
1331
+ exports.StyledPaginationBlock = StyledPaginationBlock;
1332
+ exports.StyledRadioImageGroup = StyledRadioImageGroup;
1333
+ exports.StyledRadioImageItem = StyledRadioImageItem;
1334
+ exports.StyledRateStars = StyledRateStars;
1335
+ exports.StyledTag = StyledTag;
1336
+ exports.StyledToggle = StyledToggle;
1337
+ exports.StyledToggleIcon = StyledToggleIcon;
1338
+ exports.StyledToggleLabel = StyledToggleLabel;
1339
+ exports.TextArea = TextArea;
1340
+ exports.getDefaultClassWrapper = getDefaultClassWrapper;
1341
+ exports.useStyles = useStyles;
1342
+ exports.useStyles$1 = useStyles$1;