se-design 1.0.75 → 1.0.76-dev1

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 (483) hide show
  1. package/dist/assets/style.css +1 -1
  2. package/dist/components/AccessibleDiv/index.d.ts +24 -0
  3. package/dist/components/Checkbox/index.d.ts +12 -0
  4. package/dist/components/CustomAccordion/index.d.ts +1 -0
  5. package/dist/components/CustomModal/index.d.ts +15 -12
  6. package/dist/components/DatePicker/useDatePickerA11y.d.ts +50 -0
  7. package/dist/components/Dropdown/index.d.ts +13 -0
  8. package/dist/components/Icon/index.d.ts +8 -2
  9. package/dist/components/InputWithIcon/index.d.ts +9 -1
  10. package/dist/components/LabelChip/index.d.ts +1 -0
  11. package/dist/components/Modal/index.d.ts +1 -0
  12. package/dist/components/PhoneInput/index.d.ts +13 -5
  13. package/dist/components/Popover/index.d.ts +2 -0
  14. package/dist/components/SidebarOverlay/index.d.ts +8 -0
  15. package/dist/components/index.d.ts +1 -0
  16. package/dist/index.js +144 -133
  17. package/dist/index.js.map +1 -1
  18. package/dist/index10.js +23 -59
  19. package/dist/index10.js.map +1 -1
  20. package/dist/index100.js +1 -1
  21. package/dist/index100.js.map +1 -1
  22. package/dist/index101.js +1 -1
  23. package/dist/index101.js.map +1 -1
  24. package/dist/index102.js +2 -2
  25. package/dist/index102.js.map +1 -1
  26. package/dist/index103.js +2 -2
  27. package/dist/index103.js.map +1 -1
  28. package/dist/index104.js +1 -1
  29. package/dist/index104.js.map +1 -1
  30. package/dist/index105.js +1 -1
  31. package/dist/index105.js.map +1 -1
  32. package/dist/index106.js +1 -1
  33. package/dist/index106.js.map +1 -1
  34. package/dist/index107.js +2 -2
  35. package/dist/index107.js.map +1 -1
  36. package/dist/index108.js +2 -2
  37. package/dist/index108.js.map +1 -1
  38. package/dist/index109.js +2 -2
  39. package/dist/index109.js.map +1 -1
  40. package/dist/index11.js +70 -63
  41. package/dist/index11.js.map +1 -1
  42. package/dist/index110.js +2 -2
  43. package/dist/index110.js.map +1 -1
  44. package/dist/index111.js +1 -1
  45. package/dist/index111.js.map +1 -1
  46. package/dist/index112.js +1 -1
  47. package/dist/index112.js.map +1 -1
  48. package/dist/index113.js +2 -2
  49. package/dist/index113.js.map +1 -1
  50. package/dist/index114.js +2 -2
  51. package/dist/index114.js.map +1 -1
  52. package/dist/index115.js +1 -1
  53. package/dist/index115.js.map +1 -1
  54. package/dist/index116.js +1 -1
  55. package/dist/index116.js.map +1 -1
  56. package/dist/index117.js +1 -1
  57. package/dist/index117.js.map +1 -1
  58. package/dist/index118.js +2 -2
  59. package/dist/index118.js.map +1 -1
  60. package/dist/index119.js +1 -1
  61. package/dist/index119.js.map +1 -1
  62. package/dist/index12.js +71 -34
  63. package/dist/index12.js.map +1 -1
  64. package/dist/index120.js +2 -2
  65. package/dist/index120.js.map +1 -1
  66. package/dist/index121.js +2 -2
  67. package/dist/index121.js.map +1 -1
  68. package/dist/index122.js +2 -2
  69. package/dist/index122.js.map +1 -1
  70. package/dist/index123.js +2 -2
  71. package/dist/index123.js.map +1 -1
  72. package/dist/index124.js +2 -2
  73. package/dist/index124.js.map +1 -1
  74. package/dist/index125.js +2 -2
  75. package/dist/index125.js.map +1 -1
  76. package/dist/index126.js +1 -1
  77. package/dist/index126.js.map +1 -1
  78. package/dist/index127.js +1 -1
  79. package/dist/index127.js.map +1 -1
  80. package/dist/index128.js +1 -1
  81. package/dist/index128.js.map +1 -1
  82. package/dist/index129.js +1 -1
  83. package/dist/index129.js.map +1 -1
  84. package/dist/index13.js +50 -14
  85. package/dist/index13.js.map +1 -1
  86. package/dist/index130.js +2 -2
  87. package/dist/index130.js.map +1 -1
  88. package/dist/index131.js +2 -2
  89. package/dist/index131.js.map +1 -1
  90. package/dist/index132.js +1 -1
  91. package/dist/index132.js.map +1 -1
  92. package/dist/index133.js +1 -1
  93. package/dist/index133.js.map +1 -1
  94. package/dist/index134.js +2 -2
  95. package/dist/index134.js.map +1 -1
  96. package/dist/index135.js +1 -1
  97. package/dist/index135.js.map +1 -1
  98. package/dist/index136.js +1 -1
  99. package/dist/index136.js.map +1 -1
  100. package/dist/index137.js +1 -1
  101. package/dist/index137.js.map +1 -1
  102. package/dist/index138.js +1 -1
  103. package/dist/index138.js.map +1 -1
  104. package/dist/index139.js +1 -1
  105. package/dist/index139.js.map +1 -1
  106. package/dist/index14.js +15 -9
  107. package/dist/index14.js.map +1 -1
  108. package/dist/index140.js +1 -1
  109. package/dist/index140.js.map +1 -1
  110. package/dist/index141.js +2 -2
  111. package/dist/index141.js.map +1 -1
  112. package/dist/index142.js +1 -1
  113. package/dist/index142.js.map +1 -1
  114. package/dist/index143.js +2 -2
  115. package/dist/index143.js.map +1 -1
  116. package/dist/index144.js +2 -2
  117. package/dist/index144.js.map +1 -1
  118. package/dist/index145.js +1 -1
  119. package/dist/index145.js.map +1 -1
  120. package/dist/index146.js +2 -2
  121. package/dist/index146.js.map +1 -1
  122. package/dist/index147.js +2 -2
  123. package/dist/index147.js.map +1 -1
  124. package/dist/index148.js +1 -1
  125. package/dist/index148.js.map +1 -1
  126. package/dist/index149.js +1 -1
  127. package/dist/index149.js.map +1 -1
  128. package/dist/index15.js +10 -218
  129. package/dist/index15.js.map +1 -1
  130. package/dist/index150.js +2 -2
  131. package/dist/index150.js.map +1 -1
  132. package/dist/index151.js +2 -2
  133. package/dist/index151.js.map +1 -1
  134. package/dist/index152.js +1 -1
  135. package/dist/index152.js.map +1 -1
  136. package/dist/index153.js +2 -2
  137. package/dist/index153.js.map +1 -1
  138. package/dist/index154.js +2 -2
  139. package/dist/index154.js.map +1 -1
  140. package/dist/index155.js +1 -1
  141. package/dist/index155.js.map +1 -1
  142. package/dist/index156.js +1 -1
  143. package/dist/index156.js.map +1 -1
  144. package/dist/index157.js +1 -1
  145. package/dist/index157.js.map +1 -1
  146. package/dist/index158.js +1 -1
  147. package/dist/index158.js.map +1 -1
  148. package/dist/index159.js +1 -1
  149. package/dist/index159.js.map +1 -1
  150. package/dist/index16.js +220 -60
  151. package/dist/index16.js.map +1 -1
  152. package/dist/index160.js +1 -1
  153. package/dist/index160.js.map +1 -1
  154. package/dist/index161.js +1 -1
  155. package/dist/index161.js.map +1 -1
  156. package/dist/index162.js +1 -1
  157. package/dist/index162.js.map +1 -1
  158. package/dist/index163.js +1 -1
  159. package/dist/index163.js.map +1 -1
  160. package/dist/index164.js +1 -1
  161. package/dist/index164.js.map +1 -1
  162. package/dist/index165.js +1 -1
  163. package/dist/index165.js.map +1 -1
  164. package/dist/index166.js +1 -1
  165. package/dist/index166.js.map +1 -1
  166. package/dist/index167.js +1 -1
  167. package/dist/index167.js.map +1 -1
  168. package/dist/index168.js +1 -1
  169. package/dist/index168.js.map +1 -1
  170. package/dist/index169.js +1 -1
  171. package/dist/index169.js.map +1 -1
  172. package/dist/index17.js +60 -99
  173. package/dist/index17.js.map +1 -1
  174. package/dist/index170.js +1 -1
  175. package/dist/index170.js.map +1 -1
  176. package/dist/index171.js +1 -1
  177. package/dist/index171.js.map +1 -1
  178. package/dist/index172.js +1 -1
  179. package/dist/index172.js.map +1 -1
  180. package/dist/index173.js +2 -2
  181. package/dist/index173.js.map +1 -1
  182. package/dist/index174.js +1 -1
  183. package/dist/index174.js.map +1 -1
  184. package/dist/index175.js +1 -1
  185. package/dist/index175.js.map +1 -1
  186. package/dist/index176.js +1 -1
  187. package/dist/index176.js.map +1 -1
  188. package/dist/index177.js +2 -2
  189. package/dist/index177.js.map +1 -1
  190. package/dist/index178.js +1 -1
  191. package/dist/index178.js.map +1 -1
  192. package/dist/index179.js +1 -1
  193. package/dist/index179.js.map +1 -1
  194. package/dist/index18.js +95 -282
  195. package/dist/index18.js.map +1 -1
  196. package/dist/index180.js +2 -2
  197. package/dist/index180.js.map +1 -1
  198. package/dist/index181.js +1 -1
  199. package/dist/index181.js.map +1 -1
  200. package/dist/index182.js +1 -1
  201. package/dist/index182.js.map +1 -1
  202. package/dist/index183.js +1 -1
  203. package/dist/index183.js.map +1 -1
  204. package/dist/index184.js +2 -2
  205. package/dist/index184.js.map +1 -1
  206. package/dist/index185.js +1 -1
  207. package/dist/index185.js.map +1 -1
  208. package/dist/index186.js +1 -1
  209. package/dist/index186.js.map +1 -1
  210. package/dist/index187.js +2 -2
  211. package/dist/index187.js.map +1 -1
  212. package/dist/index188.js +1 -1
  213. package/dist/index188.js.map +1 -1
  214. package/dist/index189.js +2 -2
  215. package/dist/index189.js.map +1 -1
  216. package/dist/index19.js +317 -16
  217. package/dist/index19.js.map +1 -1
  218. package/dist/index190.js +2 -149
  219. package/dist/index190.js.map +1 -1
  220. package/dist/index191.js +2 -9
  221. package/dist/index191.js.map +1 -1
  222. package/dist/index192.js +2 -6
  223. package/dist/index192.js.map +1 -1
  224. package/dist/index193.js +2 -5
  225. package/dist/index193.js.map +1 -1
  226. package/dist/index194.js +2 -40
  227. package/dist/index194.js.map +1 -1
  228. package/dist/index195.js +2 -59
  229. package/dist/index195.js.map +1 -1
  230. package/dist/index196.js +2 -23
  231. package/dist/index196.js.map +1 -1
  232. package/dist/index197.js +152 -0
  233. package/dist/index197.js.map +1 -0
  234. package/dist/index198.js +12 -0
  235. package/dist/index198.js.map +1 -0
  236. package/dist/index199.js +5 -23
  237. package/dist/index199.js.map +1 -1
  238. package/dist/index20.js +15 -31
  239. package/dist/index20.js.map +1 -1
  240. package/dist/index200.js +8 -0
  241. package/dist/index200.js.map +1 -0
  242. package/dist/index201.js +36 -80
  243. package/dist/index201.js.map +1 -1
  244. package/dist/index206.js +26 -0
  245. package/dist/index206.js.map +1 -0
  246. package/dist/index207.js +71 -0
  247. package/dist/index207.js.map +1 -0
  248. package/dist/index21.js +33 -61
  249. package/dist/index21.js.map +1 -1
  250. package/dist/{index210.js → index215.js} +1 -1
  251. package/dist/{index210.js.map → index215.js.map} +1 -1
  252. package/dist/index22.js +57 -76
  253. package/dist/index22.js.map +1 -1
  254. package/dist/{index218.js → index223.js} +1 -1
  255. package/dist/{index218.js.map → index223.js.map} +1 -1
  256. package/dist/{index221.js → index226.js} +2 -2
  257. package/dist/{index221.js.map → index226.js.map} +1 -1
  258. package/dist/index23.js +83 -21
  259. package/dist/index23.js.map +1 -1
  260. package/dist/index235.js +171 -8
  261. package/dist/index235.js.map +1 -1
  262. package/dist/index236.js +3 -9
  263. package/dist/index236.js.map +1 -1
  264. package/dist/index238.js +18 -169
  265. package/dist/index238.js.map +1 -1
  266. package/dist/index239.js +10 -11
  267. package/dist/index239.js.map +1 -1
  268. package/dist/index24.js +20 -222
  269. package/dist/index24.js.map +1 -1
  270. package/dist/index240.js +8 -4
  271. package/dist/index240.js.map +1 -1
  272. package/dist/index241.js +4 -5
  273. package/dist/index241.js.map +1 -1
  274. package/dist/index242.js +168 -36
  275. package/dist/index242.js.map +1 -1
  276. package/dist/index243.js +11 -2
  277. package/dist/index243.js.map +1 -1
  278. package/dist/index244.js +5 -7
  279. package/dist/index244.js.map +1 -1
  280. package/dist/index245.js +5 -326
  281. package/dist/index245.js.map +1 -1
  282. package/dist/index246.js +36 -48
  283. package/dist/index246.js.map +1 -1
  284. package/dist/index247.js +2 -2
  285. package/dist/index248.js +7 -75
  286. package/dist/index248.js.map +1 -1
  287. package/dist/index249.js +308 -74
  288. package/dist/index249.js.map +1 -1
  289. package/dist/index25.js +289 -43
  290. package/dist/index25.js.map +1 -1
  291. package/dist/index250.js +45 -47
  292. package/dist/index250.js.map +1 -1
  293. package/dist/index251.js +2 -8
  294. package/dist/index251.js.map +1 -1
  295. package/dist/index252.js +75 -4
  296. package/dist/index252.js.map +1 -1
  297. package/dist/index253.js +89 -48
  298. package/dist/index253.js.map +1 -1
  299. package/dist/index254.js +52 -2
  300. package/dist/index254.js.map +1 -1
  301. package/dist/index255.js +8 -2
  302. package/dist/index255.js.map +1 -1
  303. package/dist/index256.js +8 -0
  304. package/dist/index256.js.map +1 -0
  305. package/dist/index257.js +55 -0
  306. package/dist/index257.js.map +1 -0
  307. package/dist/index258.js +5 -0
  308. package/dist/index258.js.map +1 -0
  309. package/dist/index259.js +5 -0
  310. package/dist/index259.js.map +1 -0
  311. package/dist/index26.js +48 -23
  312. package/dist/index26.js.map +1 -1
  313. package/dist/index27.js +21 -81
  314. package/dist/index27.js.map +1 -1
  315. package/dist/index28.js +101 -138
  316. package/dist/index28.js.map +1 -1
  317. package/dist/index29.js +139 -128
  318. package/dist/index29.js.map +1 -1
  319. package/dist/index3.js +57 -98
  320. package/dist/index3.js.map +1 -1
  321. package/dist/index30.js +133 -69
  322. package/dist/index30.js.map +1 -1
  323. package/dist/index31.js +67 -96
  324. package/dist/index31.js.map +1 -1
  325. package/dist/index32.js +96 -71
  326. package/dist/index32.js.map +1 -1
  327. package/dist/index33.js +70 -38
  328. package/dist/index33.js.map +1 -1
  329. package/dist/index34.js +40 -71
  330. package/dist/index34.js.map +1 -1
  331. package/dist/index35.js +67 -82
  332. package/dist/index35.js.map +1 -1
  333. package/dist/index36.js +99 -54
  334. package/dist/index36.js.map +1 -1
  335. package/dist/index37.js +53 -280
  336. package/dist/index37.js.map +1 -1
  337. package/dist/index38.js +281 -70
  338. package/dist/index38.js.map +1 -1
  339. package/dist/index39.js +69 -80
  340. package/dist/index39.js.map +1 -1
  341. package/dist/index4.js +102 -42
  342. package/dist/index4.js.map +1 -1
  343. package/dist/index40.js +82 -32
  344. package/dist/index40.js.map +1 -1
  345. package/dist/index41.js +26 -44
  346. package/dist/index41.js.map +1 -1
  347. package/dist/index42.js +45 -67
  348. package/dist/index42.js.map +1 -1
  349. package/dist/index43.js +65 -49
  350. package/dist/index43.js.map +1 -1
  351. package/dist/index44.js +53 -139
  352. package/dist/index44.js.map +1 -1
  353. package/dist/index45.js +132 -179
  354. package/dist/index45.js.map +1 -1
  355. package/dist/index46.js +194 -35
  356. package/dist/index46.js.map +1 -1
  357. package/dist/index47.js +34 -29
  358. package/dist/index47.js.map +1 -1
  359. package/dist/index48.js +31 -145
  360. package/dist/index48.js.map +1 -1
  361. package/dist/index49.js +131 -70
  362. package/dist/index49.js.map +1 -1
  363. package/dist/index5.js +40 -315
  364. package/dist/index5.js.map +1 -1
  365. package/dist/index50.js +80 -371
  366. package/dist/index50.js.map +1 -1
  367. package/dist/index51.js +451 -91
  368. package/dist/index51.js.map +1 -1
  369. package/dist/index52.js +98 -38
  370. package/dist/index52.js.map +1 -1
  371. package/dist/index53.js +35 -35
  372. package/dist/index53.js.map +1 -1
  373. package/dist/index54.js +35 -90
  374. package/dist/index54.js.map +1 -1
  375. package/dist/index55.js +89 -159
  376. package/dist/index55.js.map +1 -1
  377. package/dist/index56.js +157 -143
  378. package/dist/index56.js.map +1 -1
  379. package/dist/index57.js +149 -33
  380. package/dist/index57.js.map +1 -1
  381. package/dist/index58.js +33 -86
  382. package/dist/index58.js.map +1 -1
  383. package/dist/index59.js +80 -113
  384. package/dist/index59.js.map +1 -1
  385. package/dist/index6.js +323 -43
  386. package/dist/index6.js.map +1 -1
  387. package/dist/index60.js +114 -62
  388. package/dist/index60.js.map +1 -1
  389. package/dist/index61.js +62 -147
  390. package/dist/index61.js.map +1 -1
  391. package/dist/index62.js +146 -312
  392. package/dist/index62.js.map +1 -1
  393. package/dist/index63.js +317 -44
  394. package/dist/index63.js.map +1 -1
  395. package/dist/index64.js +44 -143
  396. package/dist/index64.js.map +1 -1
  397. package/dist/index65.js +145 -12
  398. package/dist/index65.js.map +1 -1
  399. package/dist/index66.js +10 -44
  400. package/dist/index66.js.map +1 -1
  401. package/dist/index67.js +42 -15
  402. package/dist/index67.js.map +1 -1
  403. package/dist/index68.js +76 -48
  404. package/dist/index68.js.map +1 -1
  405. package/dist/index69.js +18 -58
  406. package/dist/index69.js.map +1 -1
  407. package/dist/index7.js +44 -51
  408. package/dist/index7.js.map +1 -1
  409. package/dist/index70.js +66 -5
  410. package/dist/index70.js.map +1 -1
  411. package/dist/index71.js +25 -7
  412. package/dist/index71.js.map +1 -1
  413. package/dist/index72.js +105 -0
  414. package/dist/index72.js.map +1 -0
  415. package/dist/index73.js +62 -2
  416. package/dist/index73.js.map +1 -1
  417. package/dist/index74.js +21 -2
  418. package/dist/index74.js.map +1 -1
  419. package/dist/index75.js +5 -2
  420. package/dist/index75.js.map +1 -1
  421. package/dist/index76.js +54 -2
  422. package/dist/index76.js.map +1 -1
  423. package/dist/index77.js +24 -2
  424. package/dist/index77.js.map +1 -1
  425. package/dist/index78.js +9 -2
  426. package/dist/index78.js.map +1 -1
  427. package/dist/index8.js +48 -85
  428. package/dist/index8.js.map +1 -1
  429. package/dist/index80.js +2 -2
  430. package/dist/index80.js.map +1 -1
  431. package/dist/index81.js +2 -2
  432. package/dist/index81.js.map +1 -1
  433. package/dist/index82.js +1 -1
  434. package/dist/index82.js.map +1 -1
  435. package/dist/index83.js +2 -2
  436. package/dist/index83.js.map +1 -1
  437. package/dist/index84.js +1 -1
  438. package/dist/index84.js.map +1 -1
  439. package/dist/index85.js +1 -1
  440. package/dist/index85.js.map +1 -1
  441. package/dist/index86.js +1 -1
  442. package/dist/index86.js.map +1 -1
  443. package/dist/index87.js +1 -1
  444. package/dist/index87.js.map +1 -1
  445. package/dist/index88.js +1 -1
  446. package/dist/index88.js.map +1 -1
  447. package/dist/index89.js +1 -1
  448. package/dist/index89.js.map +1 -1
  449. package/dist/index9.js +91 -27
  450. package/dist/index9.js.map +1 -1
  451. package/dist/index90.js +1 -1
  452. package/dist/index90.js.map +1 -1
  453. package/dist/index91.js +1 -1
  454. package/dist/index91.js.map +1 -1
  455. package/dist/index92.js +1 -1
  456. package/dist/index92.js.map +1 -1
  457. package/dist/index93.js +1 -1
  458. package/dist/index93.js.map +1 -1
  459. package/dist/index94.js +1 -1
  460. package/dist/index94.js.map +1 -1
  461. package/dist/index95.js +1 -1
  462. package/dist/index95.js.map +1 -1
  463. package/dist/index96.js +1 -1
  464. package/dist/index96.js.map +1 -1
  465. package/dist/index97.js +1 -1
  466. package/dist/index97.js.map +1 -1
  467. package/dist/index98.js +1 -1
  468. package/dist/index98.js.map +1 -1
  469. package/dist/index99.js +1 -1
  470. package/dist/index99.js.map +1 -1
  471. package/package.json +1 -1
  472. package/dist/index230.js +0 -7
  473. package/dist/index230.js.map +0 -1
  474. package/dist/index232.js +0 -25
  475. package/dist/index232.js.map +0 -1
  476. package/dist/index233.js +0 -57
  477. package/dist/index233.js.map +0 -1
  478. package/dist/index234.js +0 -22
  479. package/dist/index234.js.map +0 -1
  480. package/dist/index237.js +0 -8
  481. package/dist/index237.js.map +0 -1
  482. package/dist/index79.js +0 -5
  483. package/dist/index79.js.map +0 -1
package/dist/index18.js CHANGED
@@ -1,293 +1,106 @@
1
- import B, { forwardRef as ae, useState as F, useRef as J, useEffect as H, useImperativeHandle as le } from "react";
2
- import fe from "react-dom";
3
- import { getA11yNameAttributes as ue } from "./index71.js";
4
- import { useDismissOnFocusOut as pe } from "./index199.js";
5
- function O() {
6
- return O = Object.assign ? Object.assign.bind() : function(y) {
7
- for (var k = 1; k < arguments.length; k++) {
8
- var p = arguments[k];
9
- for (var h in p) ({}).hasOwnProperty.call(p, h) && (y[h] = p[h]);
1
+ import t, { forwardRef as k, useState as C, useMemo as g } from "react";
2
+ import { MenuItem as F } from "./index17.js";
3
+ import { InputWithIcon as P } from "./index52.js";
4
+ import { useRovingFocus as S } from "./index70.js";
5
+ function i() {
6
+ return i = Object.assign ? Object.assign.bind() : function(a) {
7
+ for (var o = 1; o < arguments.length; o++) {
8
+ var n = arguments[o];
9
+ for (var l in n) ({}).hasOwnProperty.call(n, l) && (a[l] = n[l]);
10
10
  }
11
- return y;
12
- }, O.apply(null, arguments);
11
+ return a;
12
+ }, i.apply(null, arguments);
13
13
  }
14
- const R = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", '[tabindex]:not([tabindex="-1"])'].join(", "), we = /* @__PURE__ */ ae(({
15
- className: y = "",
16
- automationId: k = "",
17
- position: p = "bottom-center",
18
- popoverContentAutomationId: h = "",
19
- contentWidth: I = "max",
20
- renderPopoverContents: N,
21
- renderPopoverSrcElement: Q,
22
- onPopoverToggle: q,
23
- isPopoverOpen: K,
24
- disabled: P = !1,
25
- isWithPortal: d = !1,
26
- ariaLabel: W,
27
- ariaLabelledBy: Y,
28
- sourceRole: z = "button",
29
- popoverContentStyleProperty: C = {
30
- zIndex: 1e3,
31
- borderColor: "var(--color-gray-200)",
32
- color: "var(--color-gray-900)",
33
- backgroundColor: "var(--color-white)"
34
- },
35
- disableClickToggle: b = !1,
36
- noBorder: Z = !1,
37
- disableAutoClose: m = !1,
38
- ...ee
39
- }, te) => {
40
- const [i, f] = F(!1), [g, $] = F(p), [oe, j] = F(!1), l = J(null), c = J(null), ne = ue({
41
- ariaLabel: W,
42
- ariaLabelledBy: Y,
43
- ariaDescribedBy: void 0
44
- // Popover doesn't support describedBy yet
45
- }), {
46
- onBlurCapture: re
47
- } = pe({
48
- disabled: !i || m || d,
49
- onFocusOut: () => f(!1),
50
- closeOnEscape: !1
51
- }), [M, E] = F({
52
- top: 0,
53
- left: 0
54
- }), x = (e = "bottom-center") => {
55
- if (!l.current) return {
56
- top: 0,
57
- left: 0
58
- };
59
- let o = e;
60
- const t = l.current.getBoundingClientRect(), n = window.innerWidth, a = window.innerHeight;
61
- let r = 0, s = 0;
62
- switch (o) {
63
- case "bottom-left":
64
- r = t.bottom, s = t.left;
65
- break;
66
- case "bottom-right":
67
- r = t.bottom, s = t.right - t.width * 0.5;
68
- break;
69
- case "bottom-center":
70
- r = t.bottom, s = t.left + t.width / 2;
71
- break;
72
- case "top-left":
73
- r = t.top - t.height * 1.9, s = t.left;
74
- break;
75
- case "top-right":
76
- r = t.top - t.height * 1.9, s = t.right - t.width * 0.5;
77
- break;
78
- case "top-center":
79
- r = t.top - t.height * 1.9, s = t.left + t.width / 2;
80
- break;
81
- default:
82
- r = t.bottom, s = t.left;
83
- break;
84
- }
85
- const u = c.current?.getBoundingClientRect(), w = u?.width || 0, v = u?.height || 0;
86
- if ((o === "bottom-center" || o === "top-center") && (s = s - w / 2), s + w > n && (s = Math.max(0, n - w)), s < 0 && (s = 0), r + v > a) {
87
- const D = t.top, ce = a - t.bottom;
88
- D >= v || D > ce ? (r = t.top - v, r < 0 && (r = 0)) : r = Math.max(0, a - v);
89
- }
90
- return r < 0 && (r = t.bottom, r + v > a && (r = Math.max(0, a - v))), {
91
- top: r,
92
- left: s
93
- };
94
- };
95
- H(() => {
96
- if (q && q(i), i && !d)
97
- return m || document.body.addEventListener("click", V, !0), se(), () => {
98
- m || document.body.removeEventListener("click", V, !0);
99
- };
100
- if (i && d) {
101
- m ? window.addEventListener("scroll", U) : (document.body.addEventListener("click", L, !0), window.addEventListener("scroll", L)), window.addEventListener("resize", T);
102
- const e = setTimeout(() => {
103
- const t = x(g);
104
- S(), t && E(t);
105
- }, 0), o = setTimeout(() => {
106
- const t = x(g);
107
- t && E(t);
108
- }, 10);
109
- return () => {
110
- m ? window.removeEventListener("scroll", U) : (document.body.removeEventListener("click", L, !0), window.removeEventListener("scroll", L)), window.removeEventListener("resize", T), clearTimeout(e), clearTimeout(o);
111
- };
112
- }
113
- }, [i, d, m]);
114
- const S = () => {
115
- if (!l.current) {
116
- j(!1);
117
- return;
118
- }
119
- const e = l.current.getBoundingClientRect(), o = window.innerHeight, t = window.innerWidth, n = e.top < o && e.bottom > 0 && e.left < t && e.right > 0;
120
- j(n);
121
- };
122
- H(() => {
123
- f(K ?? !1);
124
- }, [K]), H(() => {
125
- i && c.current && setTimeout(() => {
126
- const e = c.current?.querySelector(R);
127
- e && document.activeElement === l.current && e.focus();
128
- }, 0);
129
- }, [i]);
130
- const se = () => {
131
- if (!c.current) return;
132
- const e = c.current.getBoundingClientRect(), o = window.innerHeight;
133
- e?.bottom > o ? $(p.includes("left") ? "top-left" : p.includes("right") ? "top-right" : "top-center") : e?.top < 0 && $(p.includes("left") ? "bottom-left" : p.includes("right") ? "bottom-right" : "bottom-center");
134
- }, V = (e) => {
135
- const o = l.current;
136
- if (!o) return;
137
- const t = e.target, n = o.contains(t), a = c.current?.contains(t), s = t.closest?.(".se-design-popover-wrapper"), u = s && s !== o, w = c.current?.contains(s);
138
- m || (!n && !a || u && !w) && f(!1);
139
- }, L = (e) => {
140
- const o = l.current, t = c.current;
141
- if (!o) return;
142
- if (S(), e.type === "scroll" && i) {
143
- const D = x(g);
144
- D && E(D);
145
- }
146
- const n = e.target, a = o.contains(n), r = t?.contains(n), u = n.closest?.(".se-design-popover-wrapper"), w = u && u !== o, v = c.current?.contains(u);
147
- m || (!a && !r || w && !v) && f(!1);
148
- }, T = () => {
149
- if (i && d && l.current) {
150
- S();
151
- const e = x(g);
152
- e && E(e);
153
- }
154
- }, U = () => {
155
- if (i && d && l.current) {
156
- S();
157
- const e = x(g);
158
- e && E(e);
159
- }
160
- }, A = (e = !1) => {
161
- const o = i;
162
- f((t) => !t), !o && e && setTimeout(() => {
163
- if (e === "last") {
164
- const t = c.current?.querySelectorAll(R), n = t ? t[t.length - 1] : null;
165
- n && n.focus();
166
- } else {
167
- const t = c.current?.querySelector(R);
168
- t && t.focus();
14
+ const O = /* @__PURE__ */ k(({
15
+ items: a,
16
+ maxHeight: o,
17
+ shouldShowSearch: n = !1,
18
+ searchPlaceholder: l = "Search...",
19
+ searchBy: v = "label",
20
+ searchResultEmptyMessage: b = "No results found",
21
+ className: p = ""
22
+ }, I) => {
23
+ const [d, h] = C(""), x = () => d.trim() ? a.filter((e) => (e[v]?.toString().toLowerCase() || "").includes(d.toLowerCase())) : a, w = () => /* @__PURE__ */ t.createElement("div", {
24
+ className: "w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1"
25
+ }, /* @__PURE__ */ t.createElement(P, {
26
+ leftIcon: {
27
+ name: "search",
28
+ position: "left",
29
+ style: {
30
+ color: "var(--color-gray-500)"
169
31
  }
170
- }, 50);
171
- }, _ = (e, o) => {
172
- if (!o) return;
173
- const t = ['[role="menuitem"]', '[role="option"]', '[role="menuitemcheckbox"]', '[role="menuitemradio"]', "button:not([disabled])", "a[href]", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])", '[tabindex]:not([tabindex="-1"])'].join(", "), n = Array.from(o.querySelectorAll(t)).filter((s) => {
174
- const u = window.getComputedStyle(s);
175
- return !s.hasAttribute("disabled") && !s.hasAttribute("aria-disabled") && u.display !== "none" && u.visibility !== "hidden" && (s.tabIndex >= 0 || s.hasAttribute("role"));
176
- });
177
- if (n.length === 0) return;
178
- const a = n.findIndex((s) => s === document.activeElement);
179
- let r = -1;
180
- e.key === "ArrowDown" ? (e.preventDefault(), e.stopPropagation(), r = a < n.length - 1 ? a + 1 : 0) : e.key === "ArrowUp" ? (e.preventDefault(), e.stopPropagation(), r = a > 0 ? a - 1 : n.length - 1) : e.key === "Home" ? (e.preventDefault(), e.stopPropagation(), r = 0) : e.key === "End" && (e.preventDefault(), e.stopPropagation(), r = n.length - 1), r >= 0 && n[r] ? n[r].focus() : a === -1 && n.length > 0 && n[0].focus();
181
- }, X = (e) => {
182
- e.key === "Escape" ? (e.preventDefault(), e.stopPropagation(), f(!1), l.current?.focus()) : e.key === "Tab" ? (f(!1), e.shiftKey && (e.preventDefault(), l.current?.focus())) : e.key === "ArrowDown" || e.key === "ArrowUp" || e.key === "Home" || e.key === "End" ? _(e, c.current) : (e.key === "Enter" || e.key === " ") && e.stopPropagation();
183
- };
184
- le(te, () => ({
185
- togglePopover: A
186
- }), []);
187
- const ie = {
188
- "bottom-left": {
189
- left: "0",
190
- top: "100%"
191
- },
192
- "bottom-right": {
193
- right: "0",
194
- top: "100%"
195
32
  },
196
- "bottom-center": {
197
- left: "50%",
198
- transform: "translateX(-50%)",
199
- top: "100%"
200
- },
201
- "top-left": {
202
- left: "0",
203
- bottom: "100%"
204
- },
205
- "top-right": {
206
- right: "0",
207
- bottom: "100%"
208
- },
209
- "top-center": {
210
- left: "50%",
211
- transform: "translateX(-50%)",
212
- bottom: "100%"
213
- }
214
- }, G = Z ? "" : "shadow-md border rounded-md";
215
- return /* @__PURE__ */ B.createElement("div", O({
216
- className: "se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md" + (y.length > 0 ? ` ${y}` : "") + (i ? " open" : "") + (P ? " opacity-50 cursor-not-allowed pointer-events-none" : ""),
217
- ref: l,
218
- onClick: (e) => {
219
- P || b || (e.stopPropagation(), A());
220
- },
221
- onKeyDown: (e) => {
222
- if (!(P || b))
223
- if (e.key === "Enter" || e.key === " ") {
224
- e.preventDefault(), e.stopPropagation();
225
- const o = i;
226
- A(), o || setTimeout(() => {
227
- const t = c.current;
228
- if (t) {
229
- const n = t.querySelector(R);
230
- n && n.focus();
231
- }
232
- }, 0);
233
- } else if (e.key === "Escape" && i)
234
- e.preventDefault(), e.stopPropagation(), f(!1);
235
- else if ((e.key === "ArrowDown" || e.key === "ArrowUp") && i) {
236
- const o = c.current;
237
- o && _(e, o);
238
- } else e.key === "ArrowDown" && !i && (e.preventDefault(), e.stopPropagation(), f(!0), setTimeout(() => {
239
- const o = c.current;
240
- if (o) {
241
- const t = o.querySelector(R);
242
- t && t.focus();
243
- }
244
- }, 0));
245
- },
246
- onBlurCapture: re,
247
- onBlur: (e) => {
248
- if (!i || m || !d) return;
249
- const o = e.relatedTarget, t = !!(o && l.current?.contains(o)), n = !!(o && c.current?.contains(o));
250
- !t && !n && f(!1);
251
- },
252
- role: b ? "none" : z,
253
- "aria-expanded": b ? void 0 : i ? "true" : "false",
254
- "aria-haspopup": b ? void 0 : z === "combobox" ? "listbox" : "true",
255
- tabIndex: P || b ? -1 : 0,
256
- "aria-disabled": b ? void 0 : P ? "true" : "false"
257
- }, ne, {
258
- "data-automation-id": k
259
- }, ee), Q({
260
- displayPopover: i,
261
- togglePopover: A
262
- }), i && !d && /* @__PURE__ */ B.createElement("div", {
263
- className: `popover-content absolute ${G} z-[1000] ${I == "full" ? "w-full" : "w-max"}`,
33
+ value: d,
34
+ onChange: (e) => h(e),
35
+ placeholder: l,
264
36
  style: {
265
- ...C,
266
- ...ie[g]
37
+ margin: 0,
38
+ gap: 0
267
39
  },
268
- onClick: (e) => e.stopPropagation(),
269
- onKeyDown: X,
270
- ref: c,
271
- "data-automation-id": h
272
- }, N({
273
- closePopoverCb: () => f(!1)
274
- })), d && i && oe && /* @__PURE__ */ fe.createPortal(/* @__PURE__ */ B.createElement("div", {
275
- className: `popover-content-with-portal ${G} ${I == "full" ? "w-full" : "w-max"}`,
276
- style: {
277
- position: "fixed",
278
- top: M.top,
279
- left: M.left,
280
- ...C
40
+ inputStyle: {
41
+ width: "100%",
42
+ border: "none",
43
+ outline: "none"
281
44
  },
282
- onClick: (e) => e.stopPropagation(),
283
- onKeyDown: X,
284
- ref: c,
285
- "data-automation-id": h
286
- }, N({
287
- closePopoverCb: () => f(!1)
288
- })), document.body));
45
+ automationId: "se-design-menu-list-search"
46
+ })), c = x(), E = o ? {
47
+ maxHeight: o,
48
+ overflowY: "auto"
49
+ } : {}, m = g(() => {
50
+ const e = /* @__PURE__ */ new WeakMap(), r = /* @__PURE__ */ new Set();
51
+ return a.forEach((s, f) => {
52
+ const y = s.id || s.automationId || `menu-item-${f}`;
53
+ let u = y;
54
+ r.has(u) && (u = `${y}-${f}`), r.add(u), e.set(s, u);
55
+ }), e;
56
+ }, [a]), N = g(() => c.filter((e) => e.type !== "header" && e.type !== "separator").map((e) => m.get(e)), [c, m]), {
57
+ getRovingItemProps: $,
58
+ handleKeyDown: M,
59
+ setFocusedId: L,
60
+ getContainerProps: R
61
+ } = S({
62
+ itemIds: N,
63
+ orientation: "vertical",
64
+ loop: !0,
65
+ role: "menu"
66
+ });
67
+ return /* @__PURE__ */ t.createElement("div", i({
68
+ ref: I,
69
+ className: `se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${n ? "" : "py-2"}${p ? ` ${p}` : ""}`
70
+ }, R({
71
+ ariaLabel: "Menu"
72
+ })), n && w(), /* @__PURE__ */ t.createElement("div", {
73
+ style: E,
74
+ className: `overflow-y-auto ${n ? "py-2" : ""}`
75
+ }, c.length > 0 ? c.map((e) => {
76
+ const r = m.get(e);
77
+ if (e.type === "separator")
78
+ return /* @__PURE__ */ t.createElement("hr", {
79
+ key: r,
80
+ className: "se-design-menu-separator cursor-default border-[var(--color-gray-200)]"
81
+ });
82
+ if (e.type === "header")
83
+ return /* @__PURE__ */ t.createElement("div", {
84
+ key: r,
85
+ className: "se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]",
86
+ role: "presentation"
87
+ }, e.label);
88
+ const s = $(r);
89
+ return /* @__PURE__ */ t.createElement(F, i({}, e, {
90
+ key: r,
91
+ ref: s.ref,
92
+ tabIndex: s.tabIndex,
93
+ onKeyDown: M,
94
+ onFocus: () => L(r)
95
+ }));
96
+ }) : /* @__PURE__ */ t.createElement("div", {
97
+ className: "px-3 py-4 text-center text-[var(--color-gray-700)] text-sm",
98
+ role: "status",
99
+ "aria-live": "polite"
100
+ }, b)));
289
101
  });
102
+ O.displayName = "MenuList";
290
103
  export {
291
- we as Popover
104
+ O as MenuList
292
105
  };
293
106
  //# sourceMappingURL=index18.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index18.js","sources":["../src/components/Popover/index.tsx"],"sourcesContent":["import React, { useState, useRef, ReactNode, useEffect, forwardRef, ForwardedRef, useImperativeHandle } from 'react';\nimport ReactDOM from 'react-dom';\nimport { getA11yNameAttributes, useDismissOnFocusOut } from '../../utils/a11y';\n\nconst focusableSelectors = [\n '[role=\"menuitem\"]', '[role=\"option\"]', '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]', 'button:not([disabled])', 'a[href]',\n '[tabindex]:not([tabindex=\"-1\"])'\n].join(', ');\n\nexport interface PopoverHandle {\n togglePopover: (focusFirst?: boolean | 'last') => void;\n}\n\nexport interface PopoverProps {\n className?: string;\n automationId?: string;\n popoverContentAutomationId?: string;\n renderPopoverContents: (props: { closePopoverCb: () => void }) => ReactNode;\n renderPopoverSrcElement: (props: { displayPopover: boolean; togglePopover: (focusFirst?: boolean | 'last') => void }) => ReactNode;\n position?: 'bottom-center' | 'bottom-left' | 'bottom-right' | 'top-center' | 'top-left' | 'top-right';\n onPopoverToggle?: (displayPopover: boolean) => void;\n contentWidth?: 'full' | 'max';\n isPopoverOpen?: boolean;\n disabled?: boolean;\n isWithPortal?: boolean;\n noBorder?: boolean;\n ariaLabel?: string;\n ariaLabelledBy?: string;\n sourceRole?: 'button' | 'combobox';\n popoverContentStyleProperty?: React.CSSProperties;\n disableClickToggle?: boolean;\n disableAutoClose?: boolean;\n}\n\nexport const Popover = forwardRef<PopoverHandle, PopoverProps>(\n (\n {\n className = '',\n automationId = '',\n position = 'bottom-center',\n popoverContentAutomationId = '',\n contentWidth = 'max',\n renderPopoverContents,\n renderPopoverSrcElement,\n onPopoverToggle,\n isPopoverOpen,\n disabled = false,\n isWithPortal = false,\n ariaLabel,\n ariaLabelledBy,\n sourceRole = 'button',\n popoverContentStyleProperty = {\n zIndex: 1000,\n borderColor: 'var(--color-gray-200)',\n color: 'var(--color-gray-900)',\n backgroundColor: 'var(--color-white)'\n },\n disableClickToggle = false,\n noBorder = false,\n disableAutoClose = false,\n ...props\n },\n ref: ForwardedRef<PopoverHandle>\n ) => {\n const [displayPopover, setDisplayPopover] = useState(false);\n const [popoverPosition, setPopoverPosition] = useState(position);\n const [isSrcElementVisible, setIsSrcElementVisible] = useState(false);\n const srcElementRef = useRef<HTMLDivElement>(null);\n const popoverContentRef = useRef<HTMLDivElement>(null);\n\n // Compute accessible name/description props with correct precedence\n const accessibleNameProps = getA11yNameAttributes({\n ariaLabel,\n ariaLabelledBy,\n ariaDescribedBy: undefined // Popover doesn't support describedBy yet\n });\n\n // Use shared focus-out dismissal for non-portal popovers.\n // Portal content lives outside the wrapper, so portal uses a dedicated onBlur fallback below.\n const { onBlurCapture: onDismissBlurCapture } = useDismissOnFocusOut<HTMLDivElement>({\n disabled: !displayPopover || disableAutoClose || isWithPortal,\n onFocusOut: () => setDisplayPopover(false),\n closeOnEscape: false\n });\n\n const [portalPosition, setPortalPosition] = useState({ top: 0, left: 0 });\n\n const calculatePositionOfPopover = (position: string = 'bottom-center') => {\n if (!srcElementRef.current) return { top: 0, left: 0 };\n\n let localPosition = position;\n\n const srcRect = srcElementRef.current.getBoundingClientRect();\n const viewportWidth = window.innerWidth;\n const viewportHeight = window.innerHeight;\n\n // Calculate position for portal\n let top = 0;\n let left = 0;\n\n switch (localPosition) {\n case 'bottom-left':\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n case 'bottom-right':\n top = srcRect.bottom;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'bottom-center':\n top = srcRect.bottom;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n case 'top-left':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.left;\n break;\n case 'top-right':\n top = srcRect.top - srcRect.height * 1.9;\n left = srcRect.right - srcRect.width * 0.5;\n break;\n case 'top-center':\n top = srcRect.top - srcRect.height * 1.9;\n // Center the popover relative to the source element\n left = srcRect.left + srcRect.width / 2;\n break;\n default:\n top = srcRect.bottom;\n left = srcRect.left;\n break;\n }\n\n // Get popover dimensions if available\n const popoverRect = popoverContentRef.current?.getBoundingClientRect();\n const popoverWidth = popoverRect?.width || 0;\n const popoverHeight = popoverRect?.height || 0;\n\n // Adjust center positions to account for popover width\n if (localPosition === 'bottom-center' || localPosition === 'top-center') {\n // Center the popover by subtracting half its width from the source center\n left = left - popoverWidth / 2;\n }\n\n // Adjust position to keep popover within viewport bounds\n // Horizontal adjustments\n if (left + popoverWidth > viewportWidth) {\n // Popover extends beyond right edge, shift it left\n left = Math.max(0, viewportWidth - popoverWidth);\n }\n if (left < 0) {\n // Popover extends beyond left edge, shift it right\n left = 0;\n }\n\n // Vertical adjustments\n if (top + popoverHeight > viewportHeight) {\n // Popover extends beyond bottom edge\n // Try to position it above the source element\n const spaceAbove = srcRect.top;\n const spaceBelow = viewportHeight - srcRect.bottom;\n\n if (spaceAbove >= popoverHeight || spaceAbove > spaceBelow) {\n // Position above if there's enough space or more space above\n top = srcRect.top - popoverHeight;\n // Ensure it doesn't go above viewport\n if (top < 0) {\n top = 0;\n }\n } else {\n // Keep at bottom but adjust to fit within viewport\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n if (top < 0) {\n // Popover extends beyond top edge, position it below the source element\n top = srcRect.bottom;\n // Ensure it doesn't go below viewport\n if (top + popoverHeight > viewportHeight) {\n top = Math.max(0, viewportHeight - popoverHeight);\n }\n }\n\n return { top, left };\n };\n\n useEffect(() => {\n if (onPopoverToggle) {\n onPopoverToggle(displayPopover);\n }\n\n if (displayPopover && !isWithPortal) {\n // Add click listener for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickListener, true);\n }\n checkPopoverPosition();\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickListener, true);\n }\n };\n } else if (displayPopover && isWithPortal) {\n // Add click/scroll listeners for auto-close behavior only if not disabled\n if (!disableAutoClose) {\n document.body.addEventListener('click', clickAndScrollListenerWithPortal, true);\n window.addEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n // When disableAutoClose is true, still listen to scroll for repositioning\n window.addEventListener('scroll', scrollListenerForRepositioning);\n }\n // Always add resize listener for repositioning\n window.addEventListener('resize', resizeListenerWithPortal);\n\n // Initial position calculation\n const timeout1 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n checkSourceVisibility();\n\n if (position) {\n setPortalPosition(position);\n }\n }, 0);\n\n // Recalculate after popover is rendered to get accurate dimensions\n const timeout2 = setTimeout(() => {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }, 10);\n\n return () => {\n if (!disableAutoClose) {\n document.body.removeEventListener('click', clickAndScrollListenerWithPortal, true);\n window.removeEventListener('scroll', clickAndScrollListenerWithPortal);\n } else {\n window.removeEventListener('scroll', scrollListenerForRepositioning);\n }\n window.removeEventListener('resize', resizeListenerWithPortal);\n clearTimeout(timeout1);\n clearTimeout(timeout2);\n };\n }\n }, [displayPopover, isWithPortal, disableAutoClose]);\n\n const checkSourceVisibility = () => {\n if (!srcElementRef.current) {\n setIsSrcElementVisible(false);\n return;\n }\n\n const rec = srcElementRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n const viewportWidth = window.innerWidth;\n\n const isVisible = rec.top < viewportHeight && rec.bottom > 0 && rec.left < viewportWidth && rec.right > 0;\n\n setIsSrcElementVisible(isVisible);\n };\n\n useEffect(() => {\n setDisplayPopover(isPopoverOpen ?? false);\n }, [isPopoverOpen]);\n\n useEffect(() => {\n // Focus first focusable element when popover opens\n if (displayPopover && popoverContentRef.current) {\n setTimeout(() => {\n const firstFocusable = popoverContentRef.current?.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable && document.activeElement === srcElementRef.current) {\n firstFocusable.focus();\n }\n }, 0);\n }\n }, [displayPopover]);\n\n //Function to check popover position\n const checkPopoverPosition = () => {\n if (!popoverContentRef.current) return;\n\n const popoverRect = popoverContentRef.current.getBoundingClientRect();\n const viewportHeight = window.innerHeight;\n\n if (popoverRect?.bottom > viewportHeight) {\n setPopoverPosition(\n position.includes('left') ? 'top-left' : position.includes('right') ? 'top-right' : 'top-center'\n );\n } else if (popoverRect?.top < 0) {\n // If popover extends beyond top of viewport, switch to bottom position\n setPopoverPosition(\n position.includes('left') ? 'bottom-left' : position.includes('right') ? 'bottom-right' : 'bottom-center'\n );\n }\n };\n\n const clickListener = (event: MouseEvent) => {\n const currentDropRef = srcElementRef.current;\n if (!currentDropRef) return;\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = popoverContentRef.current?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if (disableAutoClose) return;\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const clickAndScrollListenerWithPortal = (event: Event) => {\n const currentDropRef = srcElementRef.current;\n const currentPopoverRef = popoverContentRef.current;\n if (!currentDropRef) return;\n checkSourceVisibility();\n\n // Recalculate position on scroll\n if (event.type === 'scroll' && displayPopover) {\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n\n const target = event.target as Node;\n const isSourcePopover = currentDropRef.contains(target);\n const isPopoverContent = currentPopoverRef?.contains(target);\n\n // Check if click is on another popover's source element\n const clickedElement = target as HTMLElement;\n const closestPopoverWrapper = clickedElement.closest?.('.se-design-popover-wrapper');\n const isAnotherPopoverSource = closestPopoverWrapper && closestPopoverWrapper !== currentDropRef;\n\n // check if the clicked popover is a nesteded child of the current popover content\n const isNestedPopover = popoverContentRef.current?.contains(closestPopoverWrapper as Node);\n\n if (disableAutoClose) return;\n // if clicked source is parent or the popover-content, do not toggle dropdown.\n // Also close if clicking on another popover's source element\n if ((!isSourcePopover && !isPopoverContent) || (isAnotherPopoverSource && !isNestedPopover)) {\n setDisplayPopover(false);\n }\n };\n\n const resizeListenerWithPortal = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const scrollListenerForRepositioning = () => {\n if (displayPopover && isWithPortal && srcElementRef.current) {\n checkSourceVisibility();\n const position = calculatePositionOfPopover(popoverPosition);\n if (position) {\n setPortalPosition(position);\n }\n }\n };\n\n const togglePopover = (focusFirst: boolean | 'last' = false) => {\n const wasOpen = displayPopover;\n setDisplayPopover((prev) => !prev);\n if (!wasOpen && focusFirst) {\n setTimeout(() => {\n if (focusFirst === 'last') {\n const allFocusable = popoverContentRef.current?.querySelectorAll<HTMLElement>(focusableSelectors);\n const lastFocusable = allFocusable ? allFocusable[allFocusable.length - 1] : null;\n if (lastFocusable) lastFocusable.focus();\n } else {\n const firstFocusable = popoverContentRef.current?.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) firstFocusable.focus();\n }\n }, 50);\n }\n };\n\n const handleArrowKeyNavigation = (e: React.KeyboardEvent, container: HTMLDivElement | null) => {\n if (!container) return;\n\n // Find all focusable elements within the popover content\n // This includes elements with role=\"menuitem\", role=\"option\", tabIndex >= 0, etc.\n const focusableSelectors = [\n '[role=\"menuitem\"]',\n '[role=\"option\"]',\n '[role=\"menuitemcheckbox\"]',\n '[role=\"menuitemradio\"]',\n 'button:not([disabled])',\n 'a[href]',\n 'input:not([disabled])',\n 'select:not([disabled])',\n 'textarea:not([disabled])',\n '[tabindex]:not([tabindex=\"-1\"])'\n ].join(', ');\n\n const focusableElements = Array.from(container.querySelectorAll<HTMLElement>(focusableSelectors)).filter((el) => {\n // Filter out disabled and hidden elements\n const style = window.getComputedStyle(el);\n return (\n !el.hasAttribute('disabled') &&\n !el.hasAttribute('aria-disabled') &&\n style.display !== 'none' &&\n style.visibility !== 'hidden' &&\n (el.tabIndex >= 0 || el.hasAttribute('role'))\n );\n });\n\n if (focusableElements.length === 0) return;\n\n const currentIndex = focusableElements.findIndex((el) => el === document.activeElement);\n let nextIndex = -1;\n\n if (e.key === 'ArrowDown') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex < focusableElements.length - 1 ? currentIndex + 1 : 0;\n } else if (e.key === 'ArrowUp') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = currentIndex > 0 ? currentIndex - 1 : focusableElements.length - 1;\n } else if (e.key === 'Home') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = 0;\n } else if (e.key === 'End') {\n e.preventDefault();\n e.stopPropagation();\n nextIndex = focusableElements.length - 1;\n }\n\n if (nextIndex >= 0 && focusableElements[nextIndex]) {\n focusableElements[nextIndex].focus();\n } else if (currentIndex === -1 && focusableElements.length > 0) {\n // If no element is currently focused, focus the first one\n focusableElements[0].focus();\n }\n };\n\n const handlePopoverContentKeyDown = (e: React.KeyboardEvent) => {\n // Allow Escape key to close popover when focus is on content\n if (e.key === 'Escape') {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n srcElementRef.current?.focus();\n } else if (e.key === 'Tab') {\n // Close popover when Tab exits the menu\n setDisplayPopover(false);\n if (e.shiftKey) {\n // Shift+Tab: prevent default (would go to wrapper) and focus trigger instead\n e.preventDefault();\n srcElementRef.current?.focus();\n }\n // Forward Tab: do NOT preventDefault — browser moves focus to next element naturally\n } else if (e.key === 'ArrowDown' || e.key === 'ArrowUp' || e.key === 'Home' || e.key === 'End') {\n // Handle arrow key navigation for focusable elements inside popover\n handleArrowKeyNavigation(e, popoverContentRef.current);\n } else if (e.key === 'Enter' || e.key === ' ') {\n // Prevent Enter/Space from bubbling to wrapper (mirrors click stopPropagation)\n e.stopPropagation();\n }\n };\n\n useImperativeHandle(ref, () => ({ togglePopover }), []);\n\n const popoverContentStyle = {\n 'bottom-left': { left: '0', top: '100%' },\n 'bottom-right': { right: '0', top: '100%' },\n 'bottom-center': { left: '50%', transform: 'translateX(-50%)', top: '100%' },\n 'top-left': { left: '0', bottom: '100%' },\n 'top-right': { right: '0', bottom: '100%' },\n 'top-center': { left: '50%', transform: 'translateX(-50%)', bottom: '100%' }\n };\n const popoverContentClasses = noBorder ? '' : 'shadow-md border rounded-md';\n\n return (\n <div\n className={\n 'se-design-popover-wrapper cursor-pointer relative focus-outline rounded-md' +\n (className.length > 0 ? ` ${className}` : '') +\n (displayPopover ? ' open' : '') +\n (disabled ? ' opacity-50 cursor-not-allowed pointer-events-none' : '')\n }\n ref={srcElementRef}\n onClick={(e) => {\n if (disabled || disableClickToggle) return;\n e.stopPropagation();\n togglePopover();\n }}\n onKeyDown={(e) => {\n if (disabled || disableClickToggle) return;\n if (e.key === 'Enter' || e.key === ' ') {\n e.preventDefault();\n e.stopPropagation();\n const wasOpen = displayPopover;\n togglePopover();\n // Focus first focusable element when opening\n if (!wasOpen) {\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n } else if (e.key === 'Escape' && displayPopover) {\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(false);\n } else if ((e.key === 'ArrowDown' || e.key === 'ArrowUp') && displayPopover) {\n // Handle arrow keys when popover is open\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n handleArrowKeyNavigation(e, currentRef);\n }\n } else if (e.key === 'ArrowDown' && !displayPopover) {\n // Open popover and focus first item when ArrowDown is pressed\n e.preventDefault();\n e.stopPropagation();\n setDisplayPopover(true);\n setTimeout(() => {\n const currentRef = popoverContentRef.current;\n if (currentRef) {\n const firstFocusable = currentRef.querySelector<HTMLElement>(focusableSelectors);\n if (firstFocusable) {\n firstFocusable.focus();\n }\n }\n }, 0);\n }\n }}\n onBlurCapture={onDismissBlurCapture}\n onBlur={(e) => {\n // Portal content is rendered outside wrapper, so keep explicit check for that case.\n if (!displayPopover || disableAutoClose || !isWithPortal) return;\n\n const nextFocused = e.relatedTarget as Node | null;\n const isFocusInSource = !!(nextFocused && srcElementRef.current?.contains(nextFocused));\n const isFocusInPopover = !!(nextFocused && popoverContentRef.current?.contains(nextFocused));\n\n // Close only when focus leaves both source and portal content.\n if (!isFocusInSource && !isFocusInPopover) {\n setDisplayPopover(false);\n }\n }}\n role={disableClickToggle ? 'none' : sourceRole}\n aria-expanded={disableClickToggle ? undefined : displayPopover ? 'true' : 'false'}\n aria-haspopup={disableClickToggle ? undefined : sourceRole === 'combobox' ? 'listbox' : 'true'}\n tabIndex={disabled || disableClickToggle ? -1 : 0}\n aria-disabled={disableClickToggle ? undefined : disabled ? 'true' : 'false'}\n {...accessibleNameProps}\n data-automation-id={automationId}\n {...props}\n >\n {renderPopoverSrcElement({ displayPopover, togglePopover })}\n\n {displayPopover && !isWithPortal && (\n <div\n className={`popover-content absolute ${popoverContentClasses} z-[1000] ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n ...popoverContentStyleProperty,\n ...popoverContentStyle[popoverPosition]\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>\n )}\n {isWithPortal &&\n displayPopover &&\n isSrcElementVisible &&\n ReactDOM.createPortal(\n <div\n className={`popover-content-with-portal ${popoverContentClasses} ${\n contentWidth == 'full' ? 'w-full' : 'w-max'\n }`}\n style={{\n position: 'fixed',\n top: portalPosition.top,\n left: portalPosition.left,\n ...popoverContentStyleProperty\n }}\n onClick={(e) => e.stopPropagation()}\n onKeyDown={handlePopoverContentKeyDown}\n ref={popoverContentRef}\n data-automation-id={popoverContentAutomationId}\n >\n {renderPopoverContents({ closePopoverCb: () => setDisplayPopover(false) })}\n </div>,\n document.body\n )}\n </div>\n );\n }\n);\n"],"names":["focusableSelectors","join","Popover","className","automationId","position","popoverContentAutomationId","contentWidth","renderPopoverContents","renderPopoverSrcElement","onPopoverToggle","isPopoverOpen","disabled","isWithPortal","ariaLabel","ariaLabelledBy","sourceRole","popoverContentStyleProperty","zIndex","borderColor","color","backgroundColor","disableClickToggle","noBorder","disableAutoClose","props","ref","displayPopover","setDisplayPopover","useState","popoverPosition","setPopoverPosition","isSrcElementVisible","setIsSrcElementVisible","srcElementRef","useRef","popoverContentRef","accessibleNameProps","getA11yNameAttributes","ariaDescribedBy","undefined","onBlurCapture","onDismissBlurCapture","useDismissOnFocusOut","onFocusOut","closeOnEscape","portalPosition","setPortalPosition","top","left","calculatePositionOfPopover","current","localPosition","srcRect","getBoundingClientRect","viewportWidth","window","innerWidth","viewportHeight","innerHeight","bottom","right","width","height","popoverRect","popoverWidth","popoverHeight","Math","max","spaceAbove","spaceBelow","useEffect","document","body","addEventListener","clickListener","checkPopoverPosition","removeEventListener","scrollListenerForRepositioning","clickAndScrollListenerWithPortal","resizeListenerWithPortal","timeout1","setTimeout","checkSourceVisibility","timeout2","clearTimeout","rec","isVisible","firstFocusable","querySelector","activeElement","focus","includes","event","currentDropRef","target","isSourcePopover","contains","isPopoverContent","closestPopoverWrapper","closest","isAnotherPopoverSource","isNestedPopover","currentPopoverRef","type","togglePopover","focusFirst","wasOpen","prev","allFocusable","querySelectorAll","lastFocusable","length","handleArrowKeyNavigation","e","container","focusableElements","Array","from","filter","el","style","getComputedStyle","hasAttribute","display","visibility","tabIndex","currentIndex","findIndex","nextIndex","key","preventDefault","stopPropagation","handlePopoverContentKeyDown","shiftKey","useImperativeHandle","popoverContentStyle","transform","popoverContentClasses","React","createElement","_extends","onClick","onKeyDown","currentRef","onBlur","nextFocused","relatedTarget","isFocusInSource","isFocusInPopover","role","closePopoverCb","createPortal"],"mappings":";;;;;;;;;;;;;AAIA,MAAMA,IAAqB,CACzB,qBAAqB,mBAAmB,6BACxC,0BAA0B,0BAA0B,WACpD,iCAAiC,EACjCC,KAAK,IAAI,GA2BEC,wBACX,CACE;AAAA,EACEC,WAAAA,IAAY;AAAA,EACZC,cAAAA,IAAe;AAAA,EACfC,UAAAA,IAAW;AAAA,EACXC,4BAAAA,IAA6B;AAAA,EAC7BC,cAAAA,IAAe;AAAA,EACfC,uBAAAA;AAAAA,EACAC,yBAAAA;AAAAA,EACAC,iBAAAA;AAAAA,EACAC,eAAAA;AAAAA,EACAC,UAAAA,IAAW;AAAA,EACXC,cAAAA,IAAe;AAAA,EACfC,WAAAA;AAAAA,EACAC,gBAAAA;AAAAA,EACAC,YAAAA,IAAa;AAAA,EACbC,6BAAAA,IAA8B;AAAA,IAC5BC,QAAQ;AAAA,IACRC,aAAa;AAAA,IACbC,OAAO;AAAA,IACPC,iBAAiB;AAAA,EACnB;AAAA,EACAC,oBAAAA,IAAqB;AAAA,EACrBC,UAAAA,IAAW;AAA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AA,cAAA,OAAA;AAAA,IACEzI,WAAW,+BAA+BuI,CAAqB,IAC7DnI,KAAgB,SAAS,WAAW,OAAO;AAAA,IAE7CkH,OAAO;AAAA,MACLpH,UAAU;AAAA,MACV2C,KAAKF,EAAeE;AAAAA,MACpBC,MAAMH,EAAeG;AAAAA,MACrB,GAAGhC;AAAAA,IACL;AAAA,IACA6H,SAAU5B,CAAMA,MAAAA,EAAEkB,gBAAgB;AAAA,IAClCW,WAAWV;AAAAA,IACX3G,KAAKU;AAAAA,IACL,sBAAoB9B;AAAAA,KAEnBE,EAAsB;AAAA,IAAE+I,gBAAgBA,MAAM3H,EAAkB,EAAK;AAAA,EAAG,CAAA,CACtE,GACL4C,SAASC,IACX,CACC;AAET,CACF;"}
1
+ {"version":3,"file":"index18.js","sources":["../src/components/MenuList/index.tsx"],"sourcesContent":["import React, { forwardRef, useState, useMemo } from 'react';\nimport { MenuItem, MenuItemProps } from 'src/components/MenuItem';\nimport { InputWithIcon } from '../InputWithIcon';\nimport { useRovingFocus } from 'src/utils/a11y/useRovingFocus';\n\nexport type MenuListProps = {\n items: MenuItemProps[];\n maxHeight?: string;\n shouldShowSearch?: boolean;\n searchPlaceholder?: string;\n searchBy?: string;\n searchResultEmptyMessage?: string;\n className?: string;\n};\n\nexport const MenuList = forwardRef<HTMLDivElement, MenuListProps>(({\n items,\n maxHeight,\n shouldShowSearch = false,\n searchPlaceholder = 'Search...',\n searchBy = 'label',\n searchResultEmptyMessage = 'No results found',\n className = ''\n}, ref) => {\n const [searchQuery, setSearchQuery] = useState('');\n\n const getFilteredItems = () => {\n if (!searchQuery.trim()) {\n return items;\n }\n return items.filter((item) => {\n const searchValue = item[searchBy as keyof MenuItemProps]?.toString().toLowerCase() || '';\n return searchValue.includes(searchQuery.toLowerCase());\n });\n };\n\n const renderSearchBar = () => {\n return (\n <div className=\"w-full relative flex items-center border-b border-[var(--color-gray-300)] px-1\">\n <InputWithIcon\n leftIcon={{ name: 'search', position: 'left', style: { color: 'var(--color-gray-500)' } }}\n value={searchQuery}\n onChange={(value) => setSearchQuery(value)}\n placeholder={searchPlaceholder}\n style={{ margin: 0, gap: 0 }}\n inputStyle={{ width: '100%', border: 'none', outline: 'none' }}\n automationId=\"se-design-menu-list-search\"\n />\n </div>\n );\n };\n\n const filteredItems = getFilteredItems();\n const containerStyle = maxHeight\n ? {\n maxHeight,\n overflowY: 'auto' as const\n }\n : {};\n\n \n const itemIdByRef = useMemo(() => {\n const map = new WeakMap<MenuItemProps, string>();\n const seen = new Set<string>();\n\n items.forEach((item, index) => {\n const baseId = item.id || item.automationId || `menu-item-${index}`;\n let uniqueId = baseId;\n\n if (seen.has(uniqueId)) {\n uniqueId = `${baseId}-${index}`;\n }\n\n seen.add(uniqueId);\n map.set(item, uniqueId);\n });\n\n return map;\n }, [items]);\n\n const itemIds = useMemo(() => {\n return filteredItems\n .filter((item) => item.type !== 'header' && item.type !== 'separator')\n .map((item) => itemIdByRef.get(item) as string);\n }, [filteredItems, itemIdByRef]);\n\n // Use roving focus for arrow key navigation\n const { getRovingItemProps, handleKeyDown, setFocusedId, getContainerProps } = useRovingFocus({\n itemIds,\n orientation: 'vertical',\n loop: true,\n role: 'menu'\n });\n\n return (\n <div\n ref={ref}\n className={`se-design-menu-list border border-[var(--color-gray-200)] rounded shadow-md ${\n shouldShowSearch ? '' : 'py-2'\n }${className ? ` ${className}` : ''}`}\n {...getContainerProps({ ariaLabel: 'Menu' })}\n >\n {shouldShowSearch && renderSearchBar()}\n <div style={containerStyle} className={`overflow-y-auto ${shouldShowSearch ? 'py-2' : ''}`}>\n {filteredItems.length > 0 ? (\n filteredItems.map((item) => {\n const stableId = itemIdByRef.get(item) as string;\n\n if (item.type === 'separator') {\n return (\n <hr key={stableId} className=\"se-design-menu-separator cursor-default border-[var(--color-gray-200)]\" />\n );\n }\n\n if (item.type === 'header') {\n return (\n <div\n key={stableId}\n className=\"se-design-menu-header cursor-default px-2 mx-1 text-sm pt-2 text-[var(--color-gray-650)]\"\n role=\"presentation\"\n >\n {item.label}\n </div>\n );\n }\n\n const rovingProps = getRovingItemProps(stableId);\n return (\n <MenuItem\n {...item}\n key={stableId}\n ref={rovingProps.ref}\n tabIndex={rovingProps.tabIndex}\n onKeyDown={handleKeyDown}\n onFocus={() => setFocusedId(stableId)}\n />\n );\n })\n ) : (\n <div className=\"px-3 py-4 text-center text-[var(--color-gray-700)] text-sm\" role=\"status\" aria-live=\"polite\">{searchResultEmptyMessage}</div>\n )}\n </div>\n </div>\n );\n});\n\nMenuList.displayName = 'MenuList';\n"],"names":["MenuList","items","maxHeight","shouldShowSearch","searchPlaceholder","searchBy","searchResultEmptyMessage","className","ref","searchQuery","setSearchQuery","useState","getFilteredItems","trim","filter","item","toString","toLowerCase","includes","renderSearchBar","React","createElement","InputWithIcon","leftIcon","name","position","style","color","value","onChange","placeholder","margin","gap","inputStyle","width","border","outline","automationId","filteredItems","containerStyle","overflowY","itemIdByRef","useMemo","map","WeakMap","seen","Set","forEach","index","baseId","id","uniqueId","has","add","set","itemIds","type","get","getRovingItemProps","handleKeyDown","setFocusedId","getContainerProps","useRovingFocus","orientation","loop","role","_extends","ariaLabel","length","stableId","key","label","rovingProps","MenuItem","tabIndex","onKeyDown","onFocus","displayName"],"mappings":";;;;;;;;;;;;;AAeO,MAAMA,sBAAqD,CAAC;AAAA,EACjEC,OAAAA;AAAAA,EACAC,WAAAA;AAAAA,EACAC,kBAAAA,IAAmB;AAAA,EACnBC,mBAAAA,IAAoB;AAAA,EACpBC,UAAAA,IAAW;AAAA,EACXC,0BAAAA,IAA2B;AAAA,EAC3BC,WAAAA,IAAY;AACd,GAAGC,MAAQ;AACT,QAAM,CAACC,GAAaC,CAAc,IAAIC,EAAS,EAAE,GAE3CC,IAAmBA,MAClBH,EAAYI,SAGVZ,EAAMa,OAAQC,CAAAA,OACCA,EAAKV,CAA+B,GAAGW,SAAAA,EAAWC,iBAAiB,IACpEC,SAAST,EAAYQ,YAAAA,CAAa,CACtD,IALQhB,GAQLk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MhB,EAAaS,CAAQ;AAAA,IAAA,CAAE,CACvC;AAAA,EAEL,CAAC,IAEDjD,gBAAAA,EAAAC,cAAA,OAAA;AAAA,IAAKd,WAAU;AAAA,IAA6D0D,MAAK;AAAA,IAAS,aAAU;AAAA,EAAA,GAAU3D,CAA8B,CAE3I,CACF;AAET,CAAC;AAEDN,EAAS6E,cAAc;"}
package/dist/index180.js CHANGED
@@ -1,5 +1,5 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const t = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%3e%3cpath%20d='M10.5152%201H1.71523C1.11023%201%200.615234%201.495%200.615234%202.1V12L2.81523%209.8H10.5152C11.1202%209.8%2011.6152%209.305%2011.6152%208.7V2.1C11.6152%201.495%2011.1202%201%2010.5152%201ZM10.5152%208.7H2.81523L1.71523%209.8V2.1H10.5152V8.7ZM3.36523%204.85H4.46523V5.95H3.36523V4.85ZM5.56523%204.85H6.66523V5.95H5.56523V4.85ZM7.76523%204.85H8.86523V5.95H7.76523V4.85Z'%20fill='%23415575'%20stroke='%23F2F4F8'%20stroke-width='0.2'/%3e%3c/svg%3e";
2
2
  export {
3
- e as default
3
+ t as default
4
4
  };
5
5
  //# sourceMappingURL=index180.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index180.js","sources":["../src/assets/icons/success-check.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='64'%20height='64'%20viewBox='0%200%2064%2064'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3ccircle%20cx='32'%20cy='32'%20r='32'%20fill='%23CAF0DB'/%3e%3cellipse%20cx='30.9817'%20cy='31.3913'%20rx='15.5949'%20ry='18.4304'%20fill='white'/%3e%3cg%20clip-path='url(%23clip0_7795_59509)'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M31.8059%2056.7085C45.5641%2056.7085%2056.7173%2045.5553%2056.7173%2031.7971C56.7173%2018.039%2045.5641%206.88574%2031.8059%206.88574C18.0478%206.88574%206.89453%2018.039%206.89453%2031.7971C6.89453%2045.5553%2018.0478%2056.7085%2031.8059%2056.7085ZM44.2716%2025.4573C45.1922%2024.3062%2045.0058%2022.6266%2043.8545%2021.7057C42.7036%2020.7848%2041.0239%2020.9715%2040.1031%2022.1225L27.484%2037.8963L22.4361%2034.1103C21.2568%2033.2259%2019.5838%2033.4649%2018.6994%2034.6442C17.8149%2035.8234%2018.0539%2037.4964%2019.2332%2038.3809L26.3507%2043.719C27.504%2044.5842%2029.1358%2044.3767%2030.0364%2043.251L44.2716%2025.4573Z'%20fill='%2356CF8A'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_7795_59509'%3e%3crect%20width='49.8228'%20height='49.8228'%20fill='white'%20transform='translate(6.88672%206.8877)'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_107"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index180.js","sources":["../src/assets/icons/sms.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='12'%20height='13'%20viewBox='0%200%2012%2013'%20fill='none'%3e%3cpath%20d='M10.5152%201H1.71523C1.11023%201%200.615234%201.495%200.615234%202.1V12L2.81523%209.8H10.5152C11.1202%209.8%2011.6152%209.305%2011.6152%208.7V2.1C11.6152%201.495%2011.1202%201%2010.5152%201ZM10.5152%208.7H2.81523L1.71523%209.8V2.1H10.5152V8.7ZM3.36523%204.85H4.46523V5.95H3.36523V4.85ZM5.56523%204.85H6.66523V5.95H5.56523V4.85ZM7.76523%204.85H8.86523V5.95H7.76523V4.85Z'%20fill='%23415575'%20stroke='%23F2F4F8'%20stroke-width='0.2'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_100"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index181.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index181.js","sources":["../src/assets/icons/tag.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cg%20clip-path='url(%23clip0_12351_122537)'%3e%3cpath%20d='M9.48623%201.19141H13.7666C14.3452%201.19141%2014.8142%201.66044%2014.8142%202.23903V6.51938C14.8142%206.79722%2014.7038%207.06369%2014.5074%207.26015L7.43594%2014.3316C7.02681%2014.7407%206.3635%2014.7407%205.95437%2014.3316L1.67403%2010.0512C1.26491%209.64211%201.26491%208.9788%201.67403%208.56967L8.74546%201.49825C8.94192%201.30178%209.20839%201.19141%209.48623%201.19141Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M11.4066%205.12184C11.1173%205.12184%2010.8828%204.88732%2010.8828%204.59803C10.8828%204.30874%2011.1173%204.07422%2011.4066%204.07422C11.6959%204.07422%2011.9304%204.30874%2011.9304%204.59803C11.9304%204.88732%2011.6959%205.12184%2011.4066%205.12184Z'%20stroke='%231088E7'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/g%3e%3cdefs%3e%3cclipPath%20id='clip0_12351_122537'%3e%3crect%20width='16'%20height='16'%20fill='white'/%3e%3c/clipPath%3e%3c/defs%3e%3c/svg%3e\""],"names":["__vite_glob_0_108"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index181.js","sources":["../src/assets/icons/sort-asc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='13'%20height='14'%20viewBox='0%200%2013%2014'%20fill='none'%3e%3cpath%20d='M6.09729%2012.6V0.599998M0.599976%206.13846L6.09998%200.599998L11.6%206.13846'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_101"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index182.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index182.js","sources":["../src/assets/icons/text-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.78076%203.5625H9.54862M1.78671%206.6684H14.2153M1.78671%209.77778H14.2153M1.78671%2012.8837H14.2153'%20stroke='black'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_109"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index182.js","sources":["../src/assets/icons/sort-desc.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M7.99731%202V14M2.5%208.46154L8%2014L13.5%208.46154'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_102"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index183.js CHANGED
@@ -1,4 +1,4 @@
1
- const e = "data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
1
+ const e = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e";
2
2
  export {
3
3
  e as default
4
4
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index183.js","sources":["../src/assets/icons/tick.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='20'%20height='20'%20viewBox='0%200%2020%2020'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M15.4447%206.36364L8.30181%2013.6364L5.05505%2010.3306'%20stroke='currentColor'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_110"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index183.js","sources":["../src/assets/icons/sort.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M14.705%2010.3125L12.001%2013.0166L9.29688%2010.3125'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M12.0039%202.95117V12.9512'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M6.70504%205.65234L4.00096%202.94826L1.29688%205.65234'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3cpath%20d='M4.00391%2013.0098V3.00977'%20stroke='%23415575'%20stroke-width='1.2'%20stroke-linecap='round'%20stroke-linejoin='round'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_103"],"mappings":"AAAA,MAAAA,IAAe;"}
package/dist/index184.js CHANGED
@@ -1,5 +1,5 @@
1
- const e = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.25439%208.51893H14.7454M4.88658%208.51893V10.0756M11.1132%208.51893V10.0756M4.88658%204.88674V2.81121C4.88658%202.23807%205.35121%201.77344%205.92435%201.77344H10.0754C10.6486%201.77344%2011.1132%202.23807%2011.1132%202.81121V4.88674M13.7076%204.88674H2.29216C1.71902%204.88674%201.25439%205.35137%201.25439%205.92451V13.1889C1.25439%2013.762%201.71902%2014.2266%202.29216%2014.2266H13.7076C14.2808%2014.2266%2014.7454%2013.762%2014.7454%2013.1889V5.92451C14.7454%205.35137%2014.2808%204.88674%2013.7076%204.88674Z'%20stroke='black'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e";
1
+ const C = "data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e";
2
2
  export {
3
- e as default
3
+ C as default
4
4
  };
5
5
  //# sourceMappingURL=index184.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index184.js","sources":["../src/assets/icons/title-field.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20d='M1.25439%208.51893H14.7454M4.88658%208.51893V10.0756M11.1132%208.51893V10.0756M4.88658%204.88674V2.81121C4.88658%202.23807%205.35121%201.77344%205.92435%201.77344H10.0754C10.6486%201.77344%2011.1132%202.23807%2011.1132%202.81121V4.88674M13.7076%204.88674H2.29216C1.71902%204.88674%201.25439%205.35137%201.25439%205.92451V13.1889C1.25439%2013.762%201.71902%2014.2266%202.29216%2014.2266H13.7076C14.2808%2014.2266%2014.7454%2013.762%2014.7454%2013.1889V5.92451C14.7454%205.35137%2014.2808%204.88674%2013.7076%204.88674Z'%20stroke='black'%20stroke-linecap='round'%20stroke-linejoin='round'%20/%3e%3c/svg%3e\""],"names":["__vite_glob_0_111"],"mappings":"AAAA,MAAeA,IAAA;"}
1
+ {"version":3,"file":"index184.js","sources":["../src/assets/icons/space.svg?url"],"sourcesContent":["export default \"data:image/svg+xml,%3csvg%20xmlns='http://www.w3.org/2000/svg'%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M7.31825%201.62467C7.24366%201.63988%201.22813%203.94961%201.07809%204.02065C0.98891%204.06287%200.850115%204.17259%200.784466%204.25277C0.710632%204.34293%200.635259%204.4953%200.603951%204.61773C0.574405%204.73328%200.574032%204.78117%200.574256%208.47036C0.574495%2012.5912%200.56728%2012.284%200.668987%2012.5022C0.76203%2012.7018%200.922963%2012.8736%201.10978%2012.9728C1.15606%2012.9974%202.54163%2013.5357%204.18882%2014.1691C5.83601%2014.8025%207.20724%2015.3315%207.23599%2015.3447C7.32984%2015.3876%207.4212%2015.4097%207.50486%2015.4097C7.58424%2015.4097%207.71566%2015.379%207.7497%2015.3525C7.75881%2015.3454%207.79651%2015.3294%207.83348%2015.317C8.03258%2015.2501%2013.8291%2013.0101%2013.9%2012.9726C14.0796%2012.8777%2014.2379%2012.7114%2014.3314%2012.5197C14.4449%2012.2869%2014.4364%2012.631%2014.4321%208.43142L14.4282%204.66273L14.3951%204.56542C14.3033%204.29565%2014.0769%204.04918%2013.8158%203.93474C13.7153%203.89068%207.92525%201.69931%207.78269%201.65138C7.67583%201.61545%207.43218%201.60143%207.31825%201.62467ZM5.05097%203.62847C3.69824%204.14987%202.61311%204.57599%202.62369%204.58166C2.63422%204.5873%203.73657%205.01286%205.07338%205.52734L7.50392%206.46276L9.97276%205.5126C11.3306%204.99002%2012.4432%204.56097%2012.4452%204.55915C12.4483%204.55638%207.55586%202.7024%207.51233%202.68985C7.50412%202.68749%206.39651%203.10987%205.05097%203.62847ZM1.63457%208.69313C1.63457%2011.3485%201.63839%2012.0348%201.65324%2012.044C1.66352%2012.0504%202.86165%2012.5136%204.31578%2013.0734L6.95966%2014.0912L6.96342%2010.752C6.9655%208.91538%206.96214%207.40806%206.95595%207.40237C6.945%207.39229%201.71269%205.37513%201.66071%205.36096C1.63587%205.35417%201.63457%205.52008%201.63457%208.69313ZM10.6939%206.37895L8.05007%207.3981L8.0463%2010.7466L8.04254%2014.0951L8.12075%2014.0643C8.16377%2014.0473%209.35184%2013.5896%2010.7609%2013.0472C12.17%2012.5047%2013.3346%2012.0546%2013.349%2012.047C13.3738%2012.0339%2013.3752%2011.859%2013.3752%208.69524C13.3752%206.03419%2013.3714%205.35756%2013.3565%205.35857C13.3462%205.35925%2012.1481%205.81844%2010.6939%206.37895Z'%20fill='%2356CF8A'/%3e%3c/svg%3e\""],"names":["__vite_glob_0_104"],"mappings":"AAAA,MAAAA,IAAe;"}