@rpcbase/ui 0.242.0 → 0.243.0

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 (478) hide show
  1. package/dist/components/Notifications/NotificationsDrawer.d.ts.map +1 -1
  2. package/dist/index105.js +36 -36
  3. package/dist/index117.js +6 -6
  4. package/dist/index120.js +10 -10
  5. package/dist/index122.js +2 -2
  6. package/dist/index123.js +3 -3
  7. package/dist/index124.js +1 -1
  8. package/dist/index126.js +2 -2
  9. package/dist/index128.js +2 -2
  10. package/dist/index150.js +3 -3
  11. package/dist/index156.js +1 -1
  12. package/dist/index16.js +91 -91
  13. package/dist/index16.js.map +1 -1
  14. package/dist/index163.js +2 -2
  15. package/dist/index164.js +7 -7
  16. package/dist/index167.js +4 -4
  17. package/dist/index169.js +1 -1
  18. package/dist/index172.js +3 -3
  19. package/dist/index175.js +1 -1
  20. package/dist/index176.js +4 -4
  21. package/dist/index182.js +2 -2
  22. package/dist/index184.js +4 -4
  23. package/dist/index185.js +13 -13
  24. package/dist/index186.js +1 -1
  25. package/dist/index188.js +5 -5
  26. package/dist/index189.js +3 -3
  27. package/dist/index192.js +2 -2
  28. package/dist/index193.js +6 -6
  29. package/dist/index194.js +59 -20
  30. package/dist/index194.js.map +1 -1
  31. package/dist/index195.js +8 -66
  32. package/dist/index195.js.map +1 -1
  33. package/dist/index196.js +87 -6
  34. package/dist/index196.js.map +1 -1
  35. package/dist/index197.js +19 -5
  36. package/dist/index197.js.map +1 -1
  37. package/dist/index198.js +16 -11
  38. package/dist/index198.js.map +1 -1
  39. package/dist/index199.js +5 -3
  40. package/dist/index199.js.map +1 -1
  41. package/dist/index200.js +4 -49
  42. package/dist/index200.js.map +1 -1
  43. package/dist/index201.js +7 -4
  44. package/dist/index201.js.map +1 -1
  45. package/dist/index202.js +4 -29
  46. package/dist/index202.js.map +1 -1
  47. package/dist/index203.js +6 -16
  48. package/dist/index203.js.map +1 -1
  49. package/dist/index204.js +16 -5
  50. package/dist/index204.js.map +1 -1
  51. package/dist/index205.js +4 -21
  52. package/dist/index205.js.map +1 -1
  53. package/dist/index206.js +4 -53
  54. package/dist/index206.js.map +1 -1
  55. package/dist/index207.js +12 -20
  56. package/dist/index207.js.map +1 -1
  57. package/dist/index208.js +9 -41
  58. package/dist/index208.js.map +1 -1
  59. package/dist/index209.js +13 -39
  60. package/dist/index209.js.map +1 -1
  61. package/dist/index210.js +14 -46
  62. package/dist/index210.js.map +1 -1
  63. package/dist/index211.js +4 -20
  64. package/dist/index211.js.map +1 -1
  65. package/dist/index212.js +5 -70
  66. package/dist/index212.js.map +1 -1
  67. package/dist/index213.js +6 -17
  68. package/dist/index213.js.map +1 -1
  69. package/dist/index214.js +5 -3
  70. package/dist/index214.js.map +1 -1
  71. package/dist/index215.js +54 -11
  72. package/dist/index215.js.map +1 -1
  73. package/dist/index216.js +8 -13
  74. package/dist/index216.js.map +1 -1
  75. package/dist/index217.js +4 -18
  76. package/dist/index217.js.map +1 -1
  77. package/dist/index218.js +4 -36
  78. package/dist/index218.js.map +1 -1
  79. package/dist/index219.js +8 -239
  80. package/dist/index219.js.map +1 -1
  81. package/dist/index220.js +4 -252
  82. package/dist/index220.js.map +1 -1
  83. package/dist/index221.js +4 -68
  84. package/dist/index221.js.map +1 -1
  85. package/dist/index222.js +3 -99
  86. package/dist/index222.js.map +1 -1
  87. package/dist/index223.js +10 -83
  88. package/dist/index223.js.map +1 -1
  89. package/dist/index224.js +9 -3
  90. package/dist/index224.js.map +1 -1
  91. package/dist/index225.js +9 -29
  92. package/dist/index225.js.map +1 -1
  93. package/dist/index226.js +10 -16
  94. package/dist/index226.js.map +1 -1
  95. package/dist/index227.js +11 -35
  96. package/dist/index227.js.map +1 -1
  97. package/dist/index228.js +9 -17
  98. package/dist/index228.js.map +1 -1
  99. package/dist/index229.js +6 -3
  100. package/dist/index229.js.map +1 -1
  101. package/dist/index230.js +5 -26
  102. package/dist/index230.js.map +1 -1
  103. package/dist/index231.js +4 -28
  104. package/dist/index231.js.map +1 -1
  105. package/dist/index232.js +6 -4
  106. package/dist/index232.js.map +1 -1
  107. package/dist/index233.js +6 -78
  108. package/dist/index233.js.map +1 -1
  109. package/dist/index234.js +5 -272
  110. package/dist/index234.js.map +1 -1
  111. package/dist/index235.js +15 -10
  112. package/dist/index235.js.map +1 -1
  113. package/dist/index236.js +7 -10
  114. package/dist/index236.js.map +1 -1
  115. package/dist/index237.js +10 -25
  116. package/dist/index237.js.map +1 -1
  117. package/dist/index238.js +10 -16
  118. package/dist/index238.js.map +1 -1
  119. package/dist/index239.js +21 -125
  120. package/dist/index239.js.map +1 -1
  121. package/dist/index240.js +8 -5
  122. package/dist/index240.js.map +1 -1
  123. package/dist/index241.js +9 -65
  124. package/dist/index241.js.map +1 -1
  125. package/dist/index242.js +10 -14
  126. package/dist/index242.js.map +1 -1
  127. package/dist/index243.js +4 -7
  128. package/dist/index243.js.map +1 -1
  129. package/dist/index244.js +5 -5
  130. package/dist/index244.js.map +1 -1
  131. package/dist/index245.js +16 -3
  132. package/dist/index245.js.map +1 -1
  133. package/dist/index246.js +9 -10
  134. package/dist/index246.js.map +1 -1
  135. package/dist/index247.js +18 -7
  136. package/dist/index247.js.map +1 -1
  137. package/dist/index248.js +19 -132
  138. package/dist/index248.js.map +1 -1
  139. package/dist/index249.js +10 -397
  140. package/dist/index249.js.map +1 -1
  141. package/dist/index250.js +30 -5
  142. package/dist/index250.js.map +1 -1
  143. package/dist/index251.js +12 -52
  144. package/dist/index251.js.map +1 -1
  145. package/dist/index252.js +25 -11
  146. package/dist/index252.js.map +1 -1
  147. package/dist/index253.js +5 -27
  148. package/dist/index253.js.map +1 -1
  149. package/dist/index254.js +153 -10
  150. package/dist/index254.js.map +1 -1
  151. package/dist/index255.js +32 -58
  152. package/dist/index255.js.map +1 -1
  153. package/dist/index256.js +11 -8
  154. package/dist/index256.js.map +1 -1
  155. package/dist/index257.js +43 -81
  156. package/dist/index257.js.map +1 -1
  157. package/dist/index258.js +9 -19
  158. package/dist/index258.js.map +1 -1
  159. package/dist/index259.js +11 -16
  160. package/dist/index259.js.map +1 -1
  161. package/dist/index260.js +42 -4
  162. package/dist/index260.js.map +1 -1
  163. package/dist/index261.js +96 -4
  164. package/dist/index261.js.map +1 -1
  165. package/dist/index262.js +86 -6
  166. package/dist/index262.js.map +1 -1
  167. package/dist/index263.js +105 -4
  168. package/dist/index263.js.map +1 -1
  169. package/dist/index264.js +52 -6
  170. package/dist/index264.js.map +1 -1
  171. package/dist/index265.js +11 -16
  172. package/dist/index265.js.map +1 -1
  173. package/dist/index266.js +4 -4
  174. package/dist/index266.js.map +1 -1
  175. package/dist/index267.js +37 -4
  176. package/dist/index267.js.map +1 -1
  177. package/dist/index268.js +8 -12
  178. package/dist/index268.js.map +1 -1
  179. package/dist/index269.js +135 -9
  180. package/dist/index269.js.map +1 -1
  181. package/dist/index270.js +17 -13
  182. package/dist/index270.js.map +1 -1
  183. package/dist/index271.js +15 -13
  184. package/dist/index271.js.map +1 -1
  185. package/dist/index272.js +3 -4
  186. package/dist/index272.js.map +1 -1
  187. package/dist/index273.js +36 -5
  188. package/dist/index273.js.map +1 -1
  189. package/dist/index274.js +20 -6
  190. package/dist/index274.js.map +1 -1
  191. package/dist/index275.js +8 -5
  192. package/dist/index275.js.map +1 -1
  193. package/dist/index276.js +9 -54
  194. package/dist/index276.js.map +1 -1
  195. package/dist/index277.js +24 -8
  196. package/dist/index277.js.map +1 -1
  197. package/dist/index278.js +28 -4
  198. package/dist/index278.js.map +1 -1
  199. package/dist/index279.js +16 -4
  200. package/dist/index279.js.map +1 -1
  201. package/dist/index280.js +20 -9
  202. package/dist/index280.js.map +1 -1
  203. package/dist/index281.js +66 -4
  204. package/dist/index281.js.map +1 -1
  205. package/dist/index282.js +6 -4
  206. package/dist/index282.js.map +1 -1
  207. package/dist/index283.js +5 -3
  208. package/dist/index283.js.map +1 -1
  209. package/dist/index284.js +11 -10
  210. package/dist/index284.js.map +1 -1
  211. package/dist/index285.js +3 -9
  212. package/dist/index285.js.map +1 -1
  213. package/dist/index286.js +50 -9
  214. package/dist/index286.js.map +1 -1
  215. package/dist/index287.js +4 -11
  216. package/dist/index287.js.map +1 -1
  217. package/dist/index288.js +29 -10
  218. package/dist/index288.js.map +1 -1
  219. package/dist/index289.js +16 -9
  220. package/dist/index289.js.map +1 -1
  221. package/dist/index290.js +5 -6
  222. package/dist/index290.js.map +1 -1
  223. package/dist/index291.js +21 -5
  224. package/dist/index291.js.map +1 -1
  225. package/dist/index292.js +53 -4
  226. package/dist/index292.js.map +1 -1
  227. package/dist/index293.js +20 -5
  228. package/dist/index293.js.map +1 -1
  229. package/dist/index294.js +41 -6
  230. package/dist/index294.js.map +1 -1
  231. package/dist/index295.js +39 -5
  232. package/dist/index295.js.map +1 -1
  233. package/dist/index296.js +46 -17
  234. package/dist/index296.js.map +1 -1
  235. package/dist/index297.js +20 -7
  236. package/dist/index297.js.map +1 -1
  237. package/dist/index298.js +69 -9
  238. package/dist/index298.js.map +1 -1
  239. package/dist/index299.js +17 -10
  240. package/dist/index299.js.map +1 -1
  241. package/dist/index300.js +3 -21
  242. package/dist/index300.js.map +1 -1
  243. package/dist/index301.js +11 -8
  244. package/dist/index301.js.map +1 -1
  245. package/dist/index302.js +13 -9
  246. package/dist/index302.js.map +1 -1
  247. package/dist/index303.js +18 -9
  248. package/dist/index303.js.map +1 -1
  249. package/dist/index304.js +36 -4
  250. package/dist/index304.js.map +1 -1
  251. package/dist/index305.js +239 -5
  252. package/dist/index305.js.map +1 -1
  253. package/dist/index306.js +251 -15
  254. package/dist/index306.js.map +1 -1
  255. package/dist/index307.js +68 -9
  256. package/dist/index307.js.map +1 -1
  257. package/dist/index308.js +98 -17
  258. package/dist/index308.js.map +1 -1
  259. package/dist/index309.js +82 -19
  260. package/dist/index309.js.map +1 -1
  261. package/dist/index310.js +3 -12
  262. package/dist/index310.js.map +1 -1
  263. package/dist/index311.js +28 -28
  264. package/dist/index311.js.map +1 -1
  265. package/dist/index312.js +16 -12
  266. package/dist/index312.js.map +1 -1
  267. package/dist/index313.js +34 -25
  268. package/dist/index313.js.map +1 -1
  269. package/dist/index314.js +17 -5
  270. package/dist/index314.js.map +1 -1
  271. package/dist/index315.js +3 -154
  272. package/dist/index315.js.map +1 -1
  273. package/dist/index316.js +25 -31
  274. package/dist/index316.js.map +1 -1
  275. package/dist/index317.js +28 -11
  276. package/dist/index317.js.map +1 -1
  277. package/dist/index318.js +4 -50
  278. package/dist/index318.js.map +1 -1
  279. package/dist/index319.js +78 -9
  280. package/dist/index319.js.map +1 -1
  281. package/dist/index320.js +271 -10
  282. package/dist/index320.js.map +1 -1
  283. package/dist/index321.js +11 -43
  284. package/dist/index321.js.map +1 -1
  285. package/dist/index322.js +10 -97
  286. package/dist/index322.js.map +1 -1
  287. package/dist/index323.js +25 -86
  288. package/dist/index323.js.map +1 -1
  289. package/dist/index324.js +15 -104
  290. package/dist/index324.js.map +1 -1
  291. package/dist/index325.js +123 -50
  292. package/dist/index325.js.map +1 -1
  293. package/dist/index326.js +5 -11
  294. package/dist/index326.js.map +1 -1
  295. package/dist/index327.js +65 -4
  296. package/dist/index327.js.map +1 -1
  297. package/dist/index328.js +13 -37
  298. package/dist/index328.js.map +1 -1
  299. package/dist/index329.js +7 -8
  300. package/dist/index329.js.map +1 -1
  301. package/dist/index330.js +5 -135
  302. package/dist/index330.js.map +1 -1
  303. package/dist/index331.js +3 -17
  304. package/dist/index331.js.map +1 -1
  305. package/dist/index332.js +10 -15
  306. package/dist/index332.js.map +1 -1
  307. package/dist/index333.js +7 -3
  308. package/dist/index333.js.map +1 -1
  309. package/dist/index334.js +129 -32
  310. package/dist/index334.js.map +1 -1
  311. package/dist/index335.js +397 -18
  312. package/dist/index335.js.map +1 -1
  313. package/dist/index336.js +5 -10
  314. package/dist/index336.js.map +1 -1
  315. package/dist/index337.js +52 -8
  316. package/dist/index337.js.map +1 -1
  317. package/dist/index338.js +11 -24
  318. package/dist/index338.js.map +1 -1
  319. package/dist/index339.js +27 -28
  320. package/dist/index339.js.map +1 -1
  321. package/dist/index340.js +11 -16
  322. package/dist/index340.js.map +1 -1
  323. package/dist/index341.js +1 -1
  324. package/dist/index348.js +60 -50
  325. package/dist/index348.js.map +1 -1
  326. package/dist/index349.js +66 -5
  327. package/dist/index349.js.map +1 -1
  328. package/dist/index350.js +50 -60
  329. package/dist/index350.js.map +1 -1
  330. package/dist/index351.js +5 -66
  331. package/dist/index351.js.map +1 -1
  332. package/dist/index357.js +1 -1
  333. package/dist/index358.js +5 -5
  334. package/dist/index359.js +1 -1
  335. package/dist/index362.js +5 -4
  336. package/dist/index362.js.map +1 -1
  337. package/dist/index363.js +18 -6
  338. package/dist/index363.js.map +1 -1
  339. package/dist/index364.js +13 -3
  340. package/dist/index364.js.map +1 -1
  341. package/dist/index365.js +4 -11
  342. package/dist/index365.js.map +1 -1
  343. package/dist/index366.js +20 -20
  344. package/dist/index366.js.map +1 -1
  345. package/dist/index367.js +4 -45
  346. package/dist/index367.js.map +1 -1
  347. package/dist/index368.js +11 -17
  348. package/dist/index368.js.map +1 -1
  349. package/dist/index369.js +6 -5
  350. package/dist/index369.js.map +1 -1
  351. package/dist/index370.js +3 -201
  352. package/dist/index370.js.map +1 -1
  353. package/dist/index371.js +20 -73
  354. package/dist/index371.js.map +1 -1
  355. package/dist/index372.js +43 -122
  356. package/dist/index372.js.map +1 -1
  357. package/dist/index373.js +18 -5
  358. package/dist/index373.js.map +1 -1
  359. package/dist/index374.js +4 -17
  360. package/dist/index374.js.map +1 -1
  361. package/dist/index375.js +200 -12
  362. package/dist/index375.js.map +1 -1
  363. package/dist/index376.js +73 -4
  364. package/dist/index376.js.map +1 -1
  365. package/dist/index377.js +122 -19
  366. package/dist/index377.js.map +1 -1
  367. package/dist/index379.js +4 -4
  368. package/dist/index380.js +3 -3
  369. package/dist/index382.js +1 -1
  370. package/dist/index384.js +1 -1
  371. package/dist/index385.js +2 -2
  372. package/dist/index388.js +2 -2
  373. package/dist/index389.js +2 -2
  374. package/dist/index392.js +5 -3
  375. package/dist/index392.js.map +1 -1
  376. package/dist/index393.js +5 -3
  377. package/dist/index393.js.map +1 -1
  378. package/dist/index394.js +4 -5
  379. package/dist/index394.js.map +1 -1
  380. package/dist/index395.js +15 -4
  381. package/dist/index395.js.map +1 -1
  382. package/dist/index396.js +9 -4
  383. package/dist/index396.js.map +1 -1
  384. package/dist/index397.js +5 -15
  385. package/dist/index397.js.map +1 -1
  386. package/dist/index398.js +4 -8
  387. package/dist/index398.js.map +1 -1
  388. package/dist/index399.js +545 -5
  389. package/dist/index399.js.map +1 -1
  390. package/dist/index400.js +47 -5
  391. package/dist/index400.js.map +1 -1
  392. package/dist/index401.js +15 -543
  393. package/dist/index401.js.map +1 -1
  394. package/dist/index402.js +6 -47
  395. package/dist/index402.js.map +1 -1
  396. package/dist/index403.js +7 -17
  397. package/dist/index403.js.map +1 -1
  398. package/dist/index404.js +6 -5
  399. package/dist/index404.js.map +1 -1
  400. package/dist/index405.js +7 -7
  401. package/dist/index405.js.map +1 -1
  402. package/dist/index406.js +11 -6
  403. package/dist/index406.js.map +1 -1
  404. package/dist/index407.js +8 -7
  405. package/dist/index407.js.map +1 -1
  406. package/dist/index408.js +12 -11
  407. package/dist/index408.js.map +1 -1
  408. package/dist/index409.js +3 -9
  409. package/dist/index409.js.map +1 -1
  410. package/dist/index410.js +3 -13
  411. package/dist/index410.js.map +1 -1
  412. package/dist/index411.js +15 -3
  413. package/dist/index411.js.map +1 -1
  414. package/dist/index412.js +3 -15
  415. package/dist/index412.js.map +1 -1
  416. package/dist/index413.js +1 -1
  417. package/dist/index414.js +68 -8
  418. package/dist/index414.js.map +1 -1
  419. package/dist/index415.js +31 -2
  420. package/dist/index415.js.map +1 -1
  421. package/dist/index416.js +9 -44
  422. package/dist/index416.js.map +1 -1
  423. package/dist/index417.js +152 -55
  424. package/dist/index417.js.map +1 -1
  425. package/dist/index418.js +108 -8
  426. package/dist/index418.js.map +1 -1
  427. package/dist/index419.js +5 -2
  428. package/dist/index419.js.map +1 -1
  429. package/dist/index420.js +55 -54
  430. package/dist/index420.js.map +1 -1
  431. package/dist/index421.js +7 -55
  432. package/dist/index421.js.map +1 -1
  433. package/dist/index422.js +2 -33
  434. package/dist/index422.js.map +1 -1
  435. package/dist/index423.js +43 -67
  436. package/dist/index423.js.map +1 -1
  437. package/dist/index424.js +56 -31
  438. package/dist/index424.js.map +1 -1
  439. package/dist/index425.js +8 -9
  440. package/dist/index425.js.map +1 -1
  441. package/dist/index426.js +2 -153
  442. package/dist/index426.js.map +1 -1
  443. package/dist/index427.js +54 -107
  444. package/dist/index427.js.map +1 -1
  445. package/dist/index428.js +55 -4
  446. package/dist/index428.js.map +1 -1
  447. package/dist/index429.js +32 -55
  448. package/dist/index429.js.map +1 -1
  449. package/dist/index430.js +16 -2
  450. package/dist/index430.js.map +1 -1
  451. package/dist/index431.js +29 -2
  452. package/dist/index431.js.map +1 -1
  453. package/dist/index432.js +13 -2
  454. package/dist/index432.js.map +1 -1
  455. package/dist/index433.js +7 -2
  456. package/dist/index433.js.map +1 -1
  457. package/dist/index434.js +2 -16
  458. package/dist/index434.js.map +1 -1
  459. package/dist/index435.js +2 -29
  460. package/dist/index435.js.map +1 -1
  461. package/dist/index436.js +2 -13
  462. package/dist/index436.js.map +1 -1
  463. package/dist/index437.js +2 -7
  464. package/dist/index437.js.map +1 -1
  465. package/dist/index49.js +30 -30
  466. package/dist/index50.js +21 -21
  467. package/dist/index51.js +1 -1
  468. package/dist/index52.js +8 -8
  469. package/dist/index53.js +2 -2
  470. package/dist/index55.js +16 -16
  471. package/dist/index56.js +4 -4
  472. package/dist/index57.js +3 -3
  473. package/dist/index58.js +7 -7
  474. package/dist/index59.js +4 -4
  475. package/dist/index60.js +12 -12
  476. package/dist/index61.js +2 -2
  477. package/dist/index62.js +2 -2
  478. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"NotificationsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAMlH,OAAO,KAAK,EAAoB,0BAA0B,EAAE,MAAM,SAAS,CAAA;AAqI3E,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAU,EACV,iBAAyB,EACzB,eAAe,GAChB,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAA;CAC7D,2CAmUA"}
1
+ {"version":3,"file":"NotificationsDrawer.d.ts","sourceRoot":"","sources":["../../../src/components/Notifications/NotificationsDrawer.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAgF,KAAK,OAAO,EAAE,MAAM,OAAO,CAAA;AAMlH,OAAO,KAAK,EAAoB,0BAA0B,EAAE,MAAM,SAAS,CAAA;AA0I3E,wBAAgB,mBAAmB,CAAC,EAClC,IAAI,EACJ,YAAY,EACZ,SAAS,EACT,KAAU,EACV,iBAAyB,EACzB,eAAe,GAChB,EAAE;IACD,IAAI,EAAE,OAAO,CAAA;IACb,YAAY,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAA;IACrC,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,iBAAiB,CAAC,EAAE,OAAO,CAAA;IAC3B,eAAe,CAAC,EAAE,OAAO,CAAC,0BAA0B,GAAG,IAAI,CAAC,CAAA;CAC7D,2CAmUA"}
package/dist/index105.js CHANGED
@@ -1,40 +1,40 @@
1
- import { TZDate as a } from "./index255.js";
2
- import "./index257.js";
3
- import { endOfBroadcastWeek as f } from "./index262.js";
4
- import { startOfBroadcastWeek as d } from "./index263.js";
1
+ import { TZDate as a } from "./index194.js";
2
+ import "./index196.js";
3
+ import { endOfBroadcastWeek as f } from "./index201.js";
4
+ import { startOfBroadcastWeek as d } from "./index202.js";
5
5
  import { enUS as m } from "./index128.js";
6
- import { addDays as v } from "./index264.js";
7
- import { addMonths as p } from "./index265.js";
8
- import { addWeeks as O } from "./index266.js";
9
- import { addYears as c } from "./index267.js";
10
- import { differenceInCalendarDays as u } from "./index268.js";
11
- import { differenceInCalendarMonths as l } from "./index269.js";
12
- import { eachMonthOfInterval as M } from "./index270.js";
13
- import { eachYearOfInterval as k } from "./index271.js";
14
- import { endOfISOWeek as W } from "./index272.js";
15
- import { endOfMonth as D } from "./index273.js";
16
- import { endOfWeek as Y } from "./index274.js";
17
- import { endOfYear as S } from "./index275.js";
18
- import { format as y } from "./index276.js";
19
- import { getISOWeek as g } from "./index277.js";
20
- import { getMonth as I } from "./index278.js";
21
- import { getYear as w } from "./index279.js";
22
- import { getWeek as B } from "./index280.js";
23
- import { isAfter as L } from "./index281.js";
24
- import { isBefore as C } from "./index282.js";
25
- import { isDate as z } from "./index283.js";
26
- import { isSameDay as Z } from "./index284.js";
27
- import { isSameMonth as b } from "./index285.js";
28
- import { isSameYear as A } from "./index286.js";
29
- import { max as F } from "./index287.js";
30
- import { min as N } from "./index288.js";
31
- import { setMonth as _ } from "./index289.js";
32
- import { setYear as j } from "./index290.js";
33
- import { startOfDay as x } from "./index291.js";
34
- import { startOfISOWeek as H } from "./index292.js";
35
- import { startOfMonth as K } from "./index293.js";
36
- import { startOfWeek as T } from "./index294.js";
37
- import { startOfYear as U } from "./index295.js";
6
+ import { addDays as v } from "./index203.js";
7
+ import { addMonths as p } from "./index204.js";
8
+ import { addWeeks as O } from "./index205.js";
9
+ import { addYears as c } from "./index206.js";
10
+ import { differenceInCalendarDays as u } from "./index207.js";
11
+ import { differenceInCalendarMonths as l } from "./index208.js";
12
+ import { eachMonthOfInterval as M } from "./index209.js";
13
+ import { eachYearOfInterval as k } from "./index210.js";
14
+ import { endOfISOWeek as W } from "./index211.js";
15
+ import { endOfMonth as D } from "./index212.js";
16
+ import { endOfWeek as Y } from "./index213.js";
17
+ import { endOfYear as S } from "./index214.js";
18
+ import { format as y } from "./index215.js";
19
+ import { getISOWeek as g } from "./index216.js";
20
+ import { getMonth as I } from "./index217.js";
21
+ import { getYear as w } from "./index218.js";
22
+ import { getWeek as B } from "./index219.js";
23
+ import { isAfter as L } from "./index220.js";
24
+ import { isBefore as C } from "./index221.js";
25
+ import { isDate as z } from "./index222.js";
26
+ import { isSameDay as Z } from "./index223.js";
27
+ import { isSameMonth as b } from "./index224.js";
28
+ import { isSameYear as A } from "./index225.js";
29
+ import { max as F } from "./index226.js";
30
+ import { min as N } from "./index227.js";
31
+ import { setMonth as _ } from "./index228.js";
32
+ import { setYear as j } from "./index229.js";
33
+ import { startOfDay as x } from "./index230.js";
34
+ import { startOfISOWeek as H } from "./index231.js";
35
+ import { startOfMonth as K } from "./index232.js";
36
+ import { startOfWeek as T } from "./index233.js";
37
+ import { startOfYear as U } from "./index234.js";
38
38
  class n {
39
39
  /**
40
40
  * Creates an instance of `DateLib`.
package/dist/index117.js CHANGED
@@ -1,9 +1,9 @@
1
- import { TZDate as c } from "./index255.js";
2
- import "./index257.js";
3
- import { differenceInCalendarMonths as h } from "./index269.js";
4
- import { differenceInCalendarDays as O } from "./index268.js";
5
- import { getISOWeek as k } from "./index277.js";
6
- import { getWeek as w } from "./index280.js";
1
+ import { TZDate as c } from "./index194.js";
2
+ import "./index196.js";
3
+ import { differenceInCalendarMonths as h } from "./index208.js";
4
+ import { differenceInCalendarDays as O } from "./index207.js";
5
+ import { getISOWeek as k } from "./index216.js";
6
+ import { getWeek as w } from "./index219.js";
7
7
  function W(o, D = {}) {
8
8
  const { weekStartsOn: d, locale: g } = D, l = d ?? g?.options?.weekStartsOn ?? 0, r = (t) => {
9
9
  const e = typeof t == "number" || typeof t == "string" ? new Date(t) : t;
package/dist/index120.js CHANGED
@@ -1,14 +1,14 @@
1
1
  import { useEffect as D, useMemo as S } from "react";
2
- import { getDates as N } from "./index296.js";
3
- import { getDays as w } from "./index297.js";
4
- import { getDisplayMonths as E } from "./index298.js";
5
- import { getInitialMonth as c } from "./index299.js";
6
- import { getMonths as b } from "./index300.js";
7
- import { getNavMonths as q } from "./index301.js";
8
- import { getNextMonth as F } from "./index302.js";
9
- import { getPreviousMonth as P } from "./index303.js";
10
- import { getWeeks as V } from "./index304.js";
11
- import { useControlledValue as Z } from "./index305.js";
2
+ import { getDates as N } from "./index235.js";
3
+ import { getDays as w } from "./index236.js";
4
+ import { getDisplayMonths as E } from "./index237.js";
5
+ import { getInitialMonth as c } from "./index238.js";
6
+ import { getMonths as b } from "./index239.js";
7
+ import { getNavMonths as q } from "./index240.js";
8
+ import { getNextMonth as F } from "./index241.js";
9
+ import { getPreviousMonth as P } from "./index242.js";
10
+ import { getWeeks as V } from "./index243.js";
11
+ import { useControlledValue as Z } from "./index244.js";
12
12
  function _(e, n) {
13
13
  const [s, a] = q(e, n), { startOfMonth: i, endOfMonth: g } = n, h = c(e, s, a, n), [m, f] = Z(
14
14
  h,
package/dist/index122.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { useState as a } from "react";
2
- import { calculateFocusTarget as T } from "./index306.js";
3
- import { getNextFocus as v } from "./index307.js";
2
+ import { calculateFocusTarget as T } from "./index245.js";
3
+ import { getNextFocus as v } from "./index246.js";
4
4
  function I(e, o, r, i, f) {
5
5
  const { autoFocus: F } = e, [d, m] = a(), c = T(o.days, r, i || (() => !1), d), [s, u] = a(F ? c : void 0);
6
6
  return {
package/dist/index123.js CHANGED
@@ -1,6 +1,6 @@
1
- import { useMulti as i } from "./index308.js";
2
- import { useRange as o } from "./index309.js";
3
- import { useSingle as s } from "./index310.js";
1
+ import { useMulti as i } from "./index247.js";
2
+ import { useRange as o } from "./index248.js";
3
+ import { useSingle as s } from "./index249.js";
4
4
  function f(e, n) {
5
5
  const t = s(e, n), r = i(e, n), u = o(e, n);
6
6
  switch (e.mode) {
package/dist/index124.js CHANGED
@@ -1,4 +1,4 @@
1
- import "./index257.js";
1
+ import "./index196.js";
2
2
  import { toTimeZone as i } from "./index126.js";
3
3
  import { isDateRange as e, isDateInterval as p, isDateAfterType as y, isDateBeforeType as D } from "./index127.js";
4
4
  function n(o, f, u) {
package/dist/index126.js CHANGED
@@ -1,5 +1,5 @@
1
- import { TZDate as r } from "./index255.js";
2
- import "./index257.js";
1
+ import { TZDate as r } from "./index194.js";
2
+ import "./index196.js";
3
3
  function e(n, o) {
4
4
  return n instanceof r && n.timeZone === o ? n : new r(n, o);
5
5
  }
package/dist/index128.js CHANGED
@@ -1,5 +1,5 @@
1
- import { enUS as f } from "./index374.js";
2
- import { format as n } from "./index276.js";
1
+ import { enUS as f } from "./index363.js";
2
+ import { format as n } from "./index215.js";
3
3
  const s = {
4
4
  ...f,
5
5
  labels: {
package/dist/index150.js CHANGED
@@ -1,6 +1,6 @@
1
- import p from "./index324.js";
2
- import y from "./index325.js";
3
- import b from "./index323.js";
1
+ import p from "./index263.js";
2
+ import y from "./index264.js";
3
+ import b from "./index262.js";
4
4
  import l from "./index163.js";
5
5
  import s from "./index165.js";
6
6
  function i(r) {
package/dist/index156.js CHANGED
@@ -1,4 +1,4 @@
1
- import w from "./index315.js";
1
+ import w from "./index254.js";
2
2
  function p(r, e) {
3
3
  var t = typeof Symbol < "u" && r[Symbol.iterator] || r["@@iterator"];
4
4
  if (t) return (t = t.call(r)).next.bind(t);
package/dist/index16.js CHANGED
@@ -23,8 +23,8 @@ const ne = (o) => {
23
23
  if (!Number.isFinite(a) || !Number.isFinite(y) || !Number.isFinite(i)) return "Unknown date";
24
24
  const c = new Date(a, y - 1, i);
25
25
  if (!Number.isFinite(c.getTime())) return "Unknown date";
26
- const m = (/* @__PURE__ */ new Date()).getFullYear() !== a;
27
- return c.toLocaleDateString(void 0, m ? {
26
+ const f = (/* @__PURE__ */ new Date()).getFullYear() !== a;
27
+ return c.toLocaleDateString(void 0, f ? {
28
28
  weekday: "short",
29
29
  month: "short",
30
30
  day: "numeric",
@@ -49,16 +49,16 @@ const ne = (o) => {
49
49
  link: e,
50
50
  mode: ye(o)
51
51
  } : null;
52
- }, ve = (o) => {
52
+ }, ve = (o) => o ? o.mode === "merge_current_search" ? "Open" : o.link : "", Ne = (o) => {
53
53
  window.history.pushState(window.history.state, "", o), window.dispatchEvent(new PopStateEvent("popstate", {
54
54
  state: window.history.state
55
55
  }));
56
- }, Ne = (o) => {
56
+ }, je = (o) => {
57
57
  if (o.mode === "merge_current_search") {
58
58
  const e = new URL(window.location.href), n = new URL(o.link, e);
59
59
  n.searchParams.forEach((r, a) => {
60
60
  e.searchParams.set(a, r);
61
- }), n.hash && (e.hash = n.hash), ve(`${e.pathname}${e.search}${e.hash}`);
61
+ }), n.hash && (e.hash = n.hash), Ne(`${e.pathname}${e.search}${e.hash}`);
62
62
  return;
63
63
  }
64
64
  window.location.href = o.link;
@@ -74,8 +74,8 @@ const ne = (o) => {
74
74
  })), e[e.length - 1].items.push(r);
75
75
  }
76
76
  return e;
77
- }, J = () => typeof window > "u" || !("Notification" in window) ? "unsupported" : window.Notification.permission, je = se(null);
78
- function Be({
77
+ }, J = () => typeof window > "u" || !("Notification" in window) ? "unsupported" : window.Notification.permission, ke = se(null);
78
+ function Te({
79
79
  open: o,
80
80
  onOpenChange: e,
81
81
  className: n,
@@ -83,11 +83,11 @@ function Be({
83
83
  defaultUnreadOnly: a = !1,
84
84
  realtimeContext: y
85
85
  }) {
86
- const i = ie(y ?? je), [c, w] = U([]), [m, u] = U(0), [x, f] = U(0), [v, M] = U(!1), [q, L] = U(null), [h, K] = U(a), [O, p] = U(() => J()), [$, k] = U(!1), A = H(null), C = i?.notifications ?? c, R = i?.unreadCount ?? m, S = i?.unseenCount ?? x, z = i?.loading ?? v, T = i?.error ? i.error instanceof Error ? i.error.message : String(i.error) : q, b = G(() => C.slice(0, r), [r, C]), E = G(() => b.filter((s) => !s.readAt), [b]), D = G(() => b.filter((s) => !!s.readAt), [b]), F = G(() => Z(E), [E]), B = G(() => Z(D), [D]), I = re(async ({
86
+ const i = ie(y ?? ke), [c, w] = U([]), [f, m] = U(0), [l, x] = U(0), [v, L] = U(!1), [q, M] = U(null), [h, K] = U(a), [O, p] = U(() => J()), [$, k] = U(!1), A = H(null), C = i?.notifications ?? c, R = i?.unreadCount ?? f, S = i?.unseenCount ?? l, z = i?.loading ?? v, T = i?.error ? i.error instanceof Error ? i.error.message : String(i.error) : q, b = G(() => C.slice(0, r), [r, C]), E = G(() => b.filter((s) => !s.readAt), [b]), D = G(() => b.filter((s) => !!s.readAt), [b]), F = G(() => Z(E), [E]), B = G(() => Z(D), [D]), I = re(async ({
87
87
  unreadOnly: s,
88
- markSeen: d
88
+ markSeen: u
89
89
  }) => {
90
- M(!0), L(null);
90
+ L(!0), M(null);
91
91
  try {
92
92
  const j = await fetch("/api/rb/notifications", {
93
93
  method: "POST",
@@ -98,19 +98,19 @@ function Be({
98
98
  body: JSON.stringify({
99
99
  limit: r,
100
100
  unreadOnly: s,
101
- markSeen: d
101
+ markSeen: u
102
102
  })
103
- }), l = await j.json().catch(() => null);
104
- if (!j.ok || !l?.ok) {
105
- L(l?.error || "Unable to load notifications.");
103
+ }), d = await j.json().catch(() => null);
104
+ if (!j.ok || !d?.ok) {
105
+ M(d?.error || "Unable to load notifications.");
106
106
  return;
107
107
  }
108
- const P = Array.isArray(l.notifications) ? l.notifications : [];
109
- w(P), u(Number.isFinite(l.unreadCount) ? Math.max(0, Math.floor(l.unreadCount ?? 0)) : 0), f(Number.isFinite(l.unseenCount) ? Math.max(0, Math.floor(l.unseenCount ?? 0)) : 0);
108
+ const P = Array.isArray(d.notifications) ? d.notifications : [];
109
+ w(P), m(Number.isFinite(d.unreadCount) ? Math.max(0, Math.floor(d.unreadCount ?? 0)) : 0), x(Number.isFinite(d.unseenCount) ? Math.max(0, Math.floor(d.unseenCount ?? 0)) : 0);
110
110
  } catch {
111
- L("Unable to load notifications.");
111
+ M("Unable to load notifications.");
112
112
  } finally {
113
- M(!1);
113
+ L(!1);
114
114
  }
115
115
  }, [r]);
116
116
  W(() => {
@@ -148,22 +148,22 @@ function Be({
148
148
  }));
149
149
  }, [o, i, I, h]), W(() => {
150
150
  if (!o || (p(J()), typeof navigator > "u" || !navigator.permissions?.query)) return;
151
- let s = null, d = !1;
151
+ let s = null, u = !1;
152
152
  const j = () => {
153
153
  p(J());
154
154
  };
155
155
  try {
156
156
  navigator.permissions.query({
157
157
  name: "notifications"
158
- }).then((l) => {
159
- d || (s = l, j(), l.addEventListener("change", j));
158
+ }).then((d) => {
159
+ u || (s = d, j(), d.addEventListener("change", j));
160
160
  }).catch(() => {
161
161
  });
162
162
  } catch {
163
163
  return;
164
164
  }
165
165
  return () => {
166
- d = !0, s?.removeEventListener("change", j);
166
+ u = !0, s?.removeEventListener("change", j);
167
167
  };
168
168
  }, [o]);
169
169
  const Y = async () => {
@@ -182,7 +182,7 @@ function Be({
182
182
  }
183
183
  }, _ = async (s) => {
184
184
  try {
185
- const d = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/read`, {
185
+ const u = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/read`, {
186
186
  method: "POST",
187
187
  headers: {
188
188
  "Content-Type": "application/json"
@@ -190,17 +190,17 @@ function Be({
190
190
  credentials: "include",
191
191
  keepalive: !0,
192
192
  body: "{}"
193
- }), j = await d.json().catch(() => null);
194
- if (!d.ok || !j?.ok) return;
195
- const l = (/* @__PURE__ */ new Date()).toISOString();
193
+ }), j = await u.json().catch(() => null);
194
+ if (!u.ok || !j?.ok) return;
195
+ const d = (/* @__PURE__ */ new Date()).toISOString();
196
196
  if (i) return;
197
197
  w((P) => {
198
198
  const g = P.find((N) => N.id === s);
199
- return g && !g.readAt && u((N) => Math.max(0, N - 1)), g && !g.seenAt && f((N) => Math.max(0, N - 1)), P.map((N) => N.id === s && !N.readAt ? {
199
+ return g && !g.readAt && m((N) => Math.max(0, N - 1)), g && !g.seenAt && x((N) => Math.max(0, N - 1)), P.map((N) => N.id === s && !N.readAt ? {
200
200
  ...N,
201
- readAt: l,
201
+ readAt: d,
202
202
  ...N.seenAt ? {} : {
203
- seenAt: l
203
+ seenAt: d
204
204
  }
205
205
  } : N);
206
206
  });
@@ -209,18 +209,18 @@ function Be({
209
209
  }
210
210
  }, Q = async (s) => {
211
211
  try {
212
- const d = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/archive`, {
212
+ const u = await fetch(`/api/rb/notifications/${encodeURIComponent(s)}/archive`, {
213
213
  method: "POST",
214
214
  headers: {
215
215
  "Content-Type": "application/json"
216
216
  },
217
217
  credentials: "include",
218
218
  body: "{}"
219
- }), j = await d.json().catch(() => null);
220
- if (!d.ok || !j?.ok || i) return;
221
- w((l) => {
222
- const P = l.find((g) => g.id === s);
223
- return P && !P.readAt && u((g) => Math.max(0, g - 1)), P && !P.seenAt && f((g) => Math.max(0, g - 1)), l.filter((g) => g.id !== s);
219
+ }), j = await u.json().catch(() => null);
220
+ if (!u.ok || !j?.ok || i) return;
221
+ w((d) => {
222
+ const P = d.find((g) => g.id === s);
223
+ return P && !P.readAt && m((g) => Math.max(0, g - 1)), P && !P.seenAt && x((g) => Math.max(0, g - 1)), d.filter((g) => g.id !== s);
224
224
  });
225
225
  } catch {
226
226
  return;
@@ -248,20 +248,20 @@ function Be({
248
248
  ] })
249
249
  ] }),
250
250
  /* @__PURE__ */ t.jsxs("div", { className: "flex-1 overflow-y-auto px-4 pb-3", children: [
251
- /* @__PURE__ */ t.jsx(ke, { permission: O, requesting: $, onEnable: Y }),
251
+ /* @__PURE__ */ t.jsx(Ae, { permission: O, requesting: $, onEnable: Y }),
252
252
  z ? /* @__PURE__ */ t.jsx("div", { className: "flex items-center justify-center py-10 text-muted-foreground", children: /* @__PURE__ */ t.jsx(ce, { className: "h-4 w-4 animate-spin" }) }) : T ? /* @__PURE__ */ t.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: T }) : b.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-10 text-center text-sm text-muted-foreground", children: "No notifications." }) : /* @__PURE__ */ t.jsxs("div", { className: "flex flex-col gap-4", children: [
253
253
  /* @__PURE__ */ t.jsxs("div", { children: [
254
254
  /* @__PURE__ */ t.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Unread notifications" }),
255
255
  F.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No unread notifications." }) : F.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
256
256
  /* @__PURE__ */ t.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: s.label }),
257
- /* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((d) => /* @__PURE__ */ t.jsx(ee, { notification: d, onMarkRead: _, onArchive: Q, onAction: X }, d.id)) })
257
+ /* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((u) => /* @__PURE__ */ t.jsx(ee, { notification: u, onMarkRead: _, onArchive: Q, onAction: X }, u.id)) })
258
258
  ] }, `unread:${s.key}`))
259
259
  ] }),
260
260
  h ? null : /* @__PURE__ */ t.jsxs("div", { children: [
261
261
  /* @__PURE__ */ t.jsx("div", { className: "sticky top-0 z-20 -mx-4 flex h-8 items-center border-b bg-background px-4 text-xs font-semibold text-muted-foreground", children: "Previous notifications" }),
262
262
  B.length === 0 ? /* @__PURE__ */ t.jsx("div", { className: "py-6 text-center text-sm text-muted-foreground", children: "No previous notifications." }) : B.map((s) => /* @__PURE__ */ t.jsxs("div", { children: [
263
263
  /* @__PURE__ */ t.jsx("div", { className: "sticky top-8 z-10 -mx-4 flex h-7 items-center bg-background px-4 text-[11px] font-semibold text-muted-foreground", children: s.label }),
264
- /* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((d) => /* @__PURE__ */ t.jsx(ee, { notification: d, onMarkRead: _, onArchive: Q, onAction: X }, d.id)) })
264
+ /* @__PURE__ */ t.jsx("div", { className: "-mx-4 flex flex-col divide-y divide-border", children: s.items.map((u) => /* @__PURE__ */ t.jsx(ee, { notification: u, onMarkRead: _, onArchive: Q, onAction: X }, u.id)) })
265
265
  ] }, `previous:${s.key}`))
266
266
  ] })
267
267
  ] })
@@ -269,7 +269,7 @@ function Be({
269
269
  ] })
270
270
  ] }) });
271
271
  }
272
- function ke(o) {
272
+ function Ae(o) {
273
273
  const e = te.c(13), {
274
274
  permission: n,
275
275
  requesting: r,
@@ -285,112 +285,112 @@ function ke(o) {
285
285
  let c;
286
286
  e[1] !== i ? (c = /* @__PURE__ */ t.jsx("div", { className: "text-sm font-medium", children: i }), e[1] = i, e[2] = c) : c = e[2];
287
287
  const w = y ? "Enable notifications for this site in your browser settings, then click again." : "Enable browser notifications to receive important alerts.";
288
- let m;
289
- e[3] !== w ? (m = /* @__PURE__ */ t.jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: w }), e[3] = w, e[4] = m) : m = e[4];
290
- const u = r ? "Enabling..." : "Enable browser notifications";
291
- let x;
292
- e[5] !== a || e[6] !== r || e[7] !== u ? (x = /* @__PURE__ */ t.jsx("button", { type: "button", className: "mt-3 inline-flex h-8 items-center rounded-md border bg-background px-2.5 text-xs font-medium hover:bg-accent disabled:pointer-events-none disabled:opacity-50", disabled: r, onClick: a, children: u }), e[5] = a, e[6] = r, e[7] = u, e[8] = x) : x = e[8];
293
288
  let f;
294
- return e[9] !== c || e[10] !== m || e[11] !== x ? (f = /* @__PURE__ */ t.jsxs("div", { className: "mt-3 rounded-md border bg-muted/40 p-3", children: [
289
+ e[3] !== w ? (f = /* @__PURE__ */ t.jsx("div", { className: "mt-1 text-xs text-muted-foreground", children: w }), e[3] = w, e[4] = f) : f = e[4];
290
+ const m = r ? "Enabling..." : "Enable browser notifications";
291
+ let l;
292
+ e[5] !== a || e[6] !== r || e[7] !== m ? (l = /* @__PURE__ */ t.jsx("button", { type: "button", className: "mt-3 inline-flex h-8 items-center rounded-md border bg-background px-2.5 text-xs font-medium hover:bg-accent disabled:pointer-events-none disabled:opacity-50", disabled: r, onClick: a, children: m }), e[5] = a, e[6] = r, e[7] = m, e[8] = l) : l = e[8];
293
+ let x;
294
+ return e[9] !== c || e[10] !== f || e[11] !== l ? (x = /* @__PURE__ */ t.jsxs("div", { className: "mt-3 rounded-md border bg-muted/40 p-3", children: [
295
295
  c,
296
- m,
297
- x
298
- ] }), e[9] = c, e[10] = m, e[11] = x, e[12] = f) : f = e[12], f;
296
+ f,
297
+ l
298
+ ] }), e[9] = c, e[10] = f, e[11] = l, e[12] = x) : x = e[12], x;
299
299
  }
300
300
  function ee(o) {
301
- const e = te.c(48), {
301
+ const e = te.c(49), {
302
302
  notification: n,
303
303
  onMarkRead: r,
304
304
  onArchive: a,
305
305
  onAction: y
306
- } = o, [i, c] = U(!1), w = H(null), m = H(null), u = !n.readAt;
307
- let x;
308
- e[0] !== n ? (x = we(n), e[0] = n, e[1] = x) : x = e[1];
309
- const f = x, v = f?.link ?? "";
310
- let M;
311
- if (e[2] !== n.createdAt) {
306
+ } = o, [i, c] = U(!1), w = H(null), f = H(null), m = !n.readAt;
307
+ let l, x;
308
+ e[0] !== n ? (l = we(n), x = ve(l), e[0] = n, e[1] = l, e[2] = x) : (l = e[1], x = e[2]);
309
+ const v = x;
310
+ let L;
311
+ if (e[3] !== n.createdAt) {
312
312
  e: {
313
313
  const B = new Date(ne(n.createdAt));
314
314
  if (!Number.isFinite(B.getTime())) {
315
- M = "";
315
+ L = "";
316
316
  break e;
317
317
  }
318
- M = B.toLocaleString();
318
+ L = B.toLocaleString();
319
319
  }
320
- e[2] = n.createdAt, e[3] = M;
320
+ e[3] = n.createdAt, e[4] = L;
321
321
  } else
322
- M = e[3];
323
- const q = M;
324
- let L, h;
325
- e[4] !== i ? (L = () => {
322
+ L = e[4];
323
+ const q = L;
324
+ let M, h;
325
+ e[5] !== i ? (M = () => {
326
326
  if (!i)
327
327
  return;
328
328
  const B = (Y) => {
329
329
  const _ = Y.target;
330
- _ instanceof Node && (w.current?.contains(_) || m.current?.contains(_) || c(!1));
330
+ _ instanceof Node && (w.current?.contains(_) || f.current?.contains(_) || c(!1));
331
331
  }, I = (Y) => {
332
- Y.key === "Escape" && (c(!1), m.current?.focus());
332
+ Y.key === "Escape" && (c(!1), f.current?.focus());
333
333
  };
334
334
  return document.addEventListener("pointerdown", B), document.addEventListener("keydown", I), () => {
335
335
  document.removeEventListener("pointerdown", B), document.removeEventListener("keydown", I);
336
336
  };
337
- }, h = [i], e[4] = i, e[5] = L, e[6] = h) : (L = e[5], h = e[6]), W(L, h);
338
- const K = u ? "bg-primary/5" : "bg-background";
337
+ }, h = [i], e[5] = i, e[6] = M, e[7] = h) : (M = e[6], h = e[7]), W(M, h);
338
+ const K = m ? "bg-primary/5" : "bg-background";
339
339
  let O;
340
- e[7] !== K ? (O = V("group flex w-full gap-3 px-4 py-3 hover:bg-accent/40", K), e[7] = K, e[8] = O) : O = e[8];
340
+ e[8] !== K ? (O = V("group flex w-full gap-3 px-4 py-3 hover:bg-accent/40", K), e[8] = K, e[9] = O) : O = e[9];
341
341
  let p;
342
- e[9] !== f || e[10] !== u || e[11] !== n.id || e[12] !== y || e[13] !== r ? (p = () => {
343
- u && r(n.id), f && (y(), Ne(f));
344
- }, e[9] = f, e[10] = u, e[11] = n.id, e[12] = y, e[13] = r, e[14] = p) : p = e[14];
342
+ e[10] !== l || e[11] !== m || e[12] !== n.id || e[13] !== y || e[14] !== r ? (p = () => {
343
+ m && r(n.id), l && (y(), je(l));
344
+ }, e[10] = l, e[11] = m, e[12] = n.id, e[13] = y, e[14] = r, e[15] = p) : p = e[15];
345
345
  let $;
346
- e[15] !== n.title ? ($ = /* @__PURE__ */ t.jsx("div", { className: "truncate text-sm font-semibold", children: n.title }), e[15] = n.title, e[16] = $) : $ = e[16];
346
+ e[16] !== n.title ? ($ = /* @__PURE__ */ t.jsx("div", { className: "truncate text-sm font-semibold", children: n.title }), e[16] = n.title, e[17] = $) : $ = e[17];
347
347
  let k;
348
- e[17] !== n.body ? (k = n.body ? /* @__PURE__ */ t.jsx("div", { className: "mt-0.5 line-clamp-2 text-xs text-muted-foreground", children: n.body }) : null, e[17] = n.body, e[18] = k) : k = e[18];
348
+ e[18] !== n.body ? (k = n.body ? /* @__PURE__ */ t.jsx("div", { className: "mt-0.5 line-clamp-2 text-xs text-muted-foreground", children: n.body }) : null, e[18] = n.body, e[19] = k) : k = e[19];
349
349
  let A;
350
- e[19] !== $ || e[20] !== k ? (A = /* @__PURE__ */ t.jsxs("div", { className: "min-w-0", children: [
350
+ e[20] !== $ || e[21] !== k ? (A = /* @__PURE__ */ t.jsxs("div", { className: "min-w-0", children: [
351
351
  $,
352
352
  k
353
- ] }), e[19] = $, e[20] = k, e[21] = A) : A = e[21];
353
+ ] }), e[20] = $, e[21] = k, e[22] = A) : A = e[22];
354
354
  let C;
355
- e[22] !== v ? (C = v ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 truncate text-xs text-primary", children: v }) : null, e[22] = v, e[23] = C) : C = e[23];
355
+ e[23] !== v ? (C = v ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 truncate text-xs text-primary", children: v }) : null, e[23] = v, e[24] = C) : C = e[24];
356
356
  let R;
357
- e[24] !== q ? (R = q ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 text-[11px] text-muted-foreground", children: q }) : null, e[24] = q, e[25] = R) : R = e[25];
357
+ e[25] !== q ? (R = q ? /* @__PURE__ */ t.jsx("div", { className: "mt-2 text-[11px] text-muted-foreground", children: q }) : null, e[25] = q, e[26] = R) : R = e[26];
358
358
  let S;
359
- e[26] !== A || e[27] !== C || e[28] !== R || e[29] !== p ? (S = /* @__PURE__ */ t.jsxs("button", { type: "button", className: "min-w-0 flex-1 text-left", onClick: p, children: [
359
+ e[27] !== A || e[28] !== C || e[29] !== R || e[30] !== p ? (S = /* @__PURE__ */ t.jsxs("button", { type: "button", className: "min-w-0 flex-1 text-left", onClick: p, children: [
360
360
  A,
361
361
  C,
362
362
  R
363
- ] }), e[26] = A, e[27] = C, e[28] = R, e[29] = p, e[30] = S) : S = e[30];
363
+ ] }), e[27] = A, e[28] = C, e[29] = R, e[30] = p, e[31] = S) : S = e[31];
364
364
  let z, T;
365
- e[31] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
366
- c(Ae);
367
- }, T = /* @__PURE__ */ t.jsx(le, { className: "h-4 w-4" }), e[31] = z, e[32] = T) : (z = e[31], T = e[32]);
365
+ e[32] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = () => {
366
+ c(Ce);
367
+ }, T = /* @__PURE__ */ t.jsx(le, { className: "h-4 w-4" }), e[32] = z, e[33] = T) : (z = e[32], T = e[33]);
368
368
  let b;
369
- e[33] !== i ? (b = /* @__PURE__ */ t.jsx("button", { ref: m, type: "button", className: "inline-flex h-8 w-8 items-center justify-center rounded-md hover:bg-accent", "aria-label": "Notification options", "aria-haspopup": "menu", "aria-expanded": i, onClick: z, children: T }), e[33] = i, e[34] = b) : b = e[34];
369
+ e[34] !== i ? (b = /* @__PURE__ */ t.jsx("button", { ref: f, type: "button", className: "inline-flex h-8 w-8 items-center justify-center rounded-md hover:bg-accent", "aria-label": "Notification options", "aria-haspopup": "menu", "aria-expanded": i, onClick: z, children: T }), e[34] = i, e[35] = b) : b = e[35];
370
370
  let E;
371
- e[35] !== u || e[36] !== i || e[37] !== n.id || e[38] !== a || e[39] !== r ? (E = i ? /* @__PURE__ */ t.jsxs("div", { ref: w, role: "menu", className: V("absolute right-0 top-full z-50 mt-1 min-w-[10rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", "animate-in fade-in-0 zoom-in-95"), children: [
371
+ e[36] !== m || e[37] !== i || e[38] !== n.id || e[39] !== a || e[40] !== r ? (E = i ? /* @__PURE__ */ t.jsxs("div", { ref: w, role: "menu", className: V("absolute right-0 top-full z-50 mt-1 min-w-[10rem] overflow-hidden rounded-md border bg-popover p-1 text-popover-foreground shadow-md", "animate-in fade-in-0 zoom-in-95"), children: [
372
372
  /* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground", onClick: () => {
373
373
  c(!1), a(n.id);
374
374
  }, children: "Archive" }),
375
- /* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50", disabled: !u, onClick: () => {
375
+ /* @__PURE__ */ t.jsx("button", { type: "button", role: "menuitem", className: "relative flex w-full cursor-default select-none items-center gap-2 rounded-sm px-2 py-1.5 text-left text-sm outline-none transition-colors hover:bg-accent focus:bg-accent focus:text-accent-foreground disabled:pointer-events-none disabled:opacity-50", disabled: !m, onClick: () => {
376
376
  c(!1), r(n.id);
377
377
  }, children: "Mark as read" })
378
- ] }) : null, e[35] = u, e[36] = i, e[37] = n.id, e[38] = a, e[39] = r, e[40] = E) : E = e[40];
378
+ ] }) : null, e[36] = m, e[37] = i, e[38] = n.id, e[39] = a, e[40] = r, e[41] = E) : E = e[41];
379
379
  let D;
380
- e[41] !== b || e[42] !== E ? (D = /* @__PURE__ */ t.jsxs("div", { className: "relative flex items-start", children: [
380
+ e[42] !== b || e[43] !== E ? (D = /* @__PURE__ */ t.jsxs("div", { className: "relative flex items-start", children: [
381
381
  b,
382
382
  E
383
- ] }), e[41] = b, e[42] = E, e[43] = D) : D = e[43];
383
+ ] }), e[42] = b, e[43] = E, e[44] = D) : D = e[44];
384
384
  let F;
385
- return e[44] !== S || e[45] !== D || e[46] !== O ? (F = /* @__PURE__ */ t.jsxs("div", { className: O, children: [
385
+ return e[45] !== S || e[46] !== D || e[47] !== O ? (F = /* @__PURE__ */ t.jsxs("div", { className: O, children: [
386
386
  S,
387
387
  D
388
- ] }), e[44] = S, e[45] = D, e[46] = O, e[47] = F) : F = e[47], F;
388
+ ] }), e[45] = S, e[46] = D, e[47] = O, e[48] = F) : F = e[48], F;
389
389
  }
390
- function Ae(o) {
390
+ function Ce(o) {
391
391
  return !o;
392
392
  }
393
393
  export {
394
- Be as NotificationsDrawer
394
+ Te as NotificationsDrawer
395
395
  };
396
396
  //# sourceMappingURL=index16.js.map