@rpcbase/ui 0.221.0 → 0.222.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 (569) hide show
  1. package/dist/index10.js +3 -3
  2. package/dist/index100.js +4 -5
  3. package/dist/index100.js.map +1 -1
  4. package/dist/index101.js +3 -3
  5. package/dist/index101.js.map +1 -1
  6. package/dist/index102.js +6 -8
  7. package/dist/index102.js.map +1 -1
  8. package/dist/index103.js +145 -5
  9. package/dist/index103.js.map +1 -1
  10. package/dist/index104.js +39 -4
  11. package/dist/index104.js.map +1 -1
  12. package/dist/index105.js +4 -4
  13. package/dist/index105.js.map +1 -1
  14. package/dist/index106.js +7 -6
  15. package/dist/index106.js.map +1 -1
  16. package/dist/index107.js +13 -145
  17. package/dist/index107.js.map +1 -1
  18. package/dist/index108.js +13 -39
  19. package/dist/index108.js.map +1 -1
  20. package/dist/index109.js +7 -4
  21. package/dist/index109.js.map +1 -1
  22. package/dist/index11.js +2 -2
  23. package/dist/index110.js +29 -5
  24. package/dist/index110.js.map +1 -1
  25. package/dist/index111.js +10 -13
  26. package/dist/index111.js.map +1 -1
  27. package/dist/index112.js +10 -13
  28. package/dist/index112.js.map +1 -1
  29. package/dist/index113.js +8 -7
  30. package/dist/index113.js.map +1 -1
  31. package/dist/index114.js +13 -31
  32. package/dist/index114.js.map +1 -1
  33. package/dist/index115.js +101 -10
  34. package/dist/index115.js.map +1 -1
  35. package/dist/index116.js +20 -11
  36. package/dist/index116.js.map +1 -1
  37. package/dist/index117.js +53 -8
  38. package/dist/index117.js.map +1 -1
  39. package/dist/index118.js +70 -11
  40. package/dist/index118.js.map +1 -1
  41. package/dist/index119.js +9 -101
  42. package/dist/index119.js.map +1 -1
  43. package/dist/index12.js +3 -3
  44. package/dist/index120.js +21 -20
  45. package/dist/index120.js.map +1 -1
  46. package/dist/index121.js +15 -52
  47. package/dist/index121.js.map +1 -1
  48. package/dist/index122.js +23 -72
  49. package/dist/index122.js.map +1 -1
  50. package/dist/index123.js +6 -9
  51. package/dist/index123.js.map +1 -1
  52. package/dist/index124.js +5 -20
  53. package/dist/index124.js.map +1 -1
  54. package/dist/index125.js +23 -16
  55. package/dist/index125.js.map +1 -1
  56. package/dist/index126.js +35 -24
  57. package/dist/index126.js.map +1 -1
  58. package/dist/index127.js +16 -7
  59. package/dist/index127.js.map +1 -1
  60. package/dist/index128.js +6 -5
  61. package/dist/index128.js.map +1 -1
  62. package/dist/index129.js +4 -23
  63. package/dist/index129.js.map +1 -1
  64. package/dist/index13.js +2 -2
  65. package/dist/index130.js +5 -35
  66. package/dist/index130.js.map +1 -1
  67. package/dist/index131.js +5 -16
  68. package/dist/index131.js.map +1 -1
  69. package/dist/index132.js +4 -6
  70. package/dist/index132.js.map +1 -1
  71. package/dist/index133.js +3 -4
  72. package/dist/index133.js.map +1 -1
  73. package/dist/index134.js +6 -4
  74. package/dist/index134.js.map +1 -1
  75. package/dist/index135.js +24 -5
  76. package/dist/index135.js.map +1 -1
  77. package/dist/index136.js +7 -4
  78. package/dist/index136.js.map +1 -1
  79. package/dist/index137.js +6 -3
  80. package/dist/index137.js.map +1 -1
  81. package/dist/index138.js +5 -6
  82. package/dist/index138.js.map +1 -1
  83. package/dist/index139.js +4 -24
  84. package/dist/index139.js.map +1 -1
  85. package/dist/index14.js +2 -2
  86. package/dist/index140.js +3 -7
  87. package/dist/index140.js.map +1 -1
  88. package/dist/index141.js +4 -6
  89. package/dist/index141.js.map +1 -1
  90. package/dist/index142.js +3 -5
  91. package/dist/index142.js.map +1 -1
  92. package/dist/index143.js +4 -3
  93. package/dist/index143.js.map +1 -1
  94. package/dist/index144.js +3 -3
  95. package/dist/index144.js.map +1 -1
  96. package/dist/index145.js +3 -4
  97. package/dist/index145.js.map +1 -1
  98. package/dist/index146.js +3 -3
  99. package/dist/index146.js.map +1 -1
  100. package/dist/index147.js +46 -4
  101. package/dist/index147.js.map +1 -1
  102. package/dist/index148.js +5 -3
  103. package/dist/index148.js.map +1 -1
  104. package/dist/index149.js +7 -3
  105. package/dist/index149.js.map +1 -1
  106. package/dist/index15.js +2 -2
  107. package/dist/index150.js +5 -3
  108. package/dist/index150.js.map +1 -1
  109. package/dist/index151.js +16 -5
  110. package/dist/index151.js.map +1 -1
  111. package/dist/index152.js +4 -67
  112. package/dist/index152.js.map +1 -1
  113. package/dist/index153.js +6 -2
  114. package/dist/index153.js.map +1 -1
  115. package/dist/index154.js +54 -359
  116. package/dist/index154.js.map +1 -1
  117. package/dist/index155.js +59 -254
  118. package/dist/index155.js.map +1 -1
  119. package/dist/index156.js +6 -60
  120. package/dist/index156.js.map +1 -1
  121. package/dist/index157.js +4 -46
  122. package/dist/index157.js.map +1 -1
  123. package/dist/index158.js +6 -169
  124. package/dist/index158.js.map +1 -1
  125. package/dist/index159.js +16 -109
  126. package/dist/index159.js.map +1 -1
  127. package/dist/index16.js +2 -2
  128. package/dist/index160.js +4 -24
  129. package/dist/index160.js.map +1 -1
  130. package/dist/index161.js +5 -8
  131. package/dist/index161.js.map +1 -1
  132. package/dist/index162.js +12 -4
  133. package/dist/index162.js.map +1 -1
  134. package/dist/index163.js +9 -5
  135. package/dist/index163.js.map +1 -1
  136. package/dist/index164.js +13 -4
  137. package/dist/index164.js.map +1 -1
  138. package/dist/index165.js +13 -466
  139. package/dist/index165.js.map +1 -1
  140. package/dist/index166.js +4 -185
  141. package/dist/index166.js.map +1 -1
  142. package/dist/index167.js +5 -107
  143. package/dist/index167.js.map +1 -1
  144. package/dist/index168.js +6 -262
  145. package/dist/index168.js.map +1 -1
  146. package/dist/index169.js +5 -9
  147. package/dist/index169.js.map +1 -1
  148. package/dist/index17.js +1 -1
  149. package/dist/index170.js +53 -41
  150. package/dist/index170.js.map +1 -1
  151. package/dist/index171.js +8 -4
  152. package/dist/index171.js.map +1 -1
  153. package/dist/index172.js +4 -46
  154. package/dist/index172.js.map +1 -1
  155. package/dist/index173.js +4 -229
  156. package/dist/index173.js.map +1 -1
  157. package/dist/index174.js +9 -22
  158. package/dist/index174.js.map +1 -1
  159. package/dist/index175.js +4 -24
  160. package/dist/index175.js.map +1 -1
  161. package/dist/index176.js +4 -400
  162. package/dist/index176.js.map +1 -1
  163. package/dist/index177.js +3 -58
  164. package/dist/index177.js.map +1 -1
  165. package/dist/index178.js +10 -8
  166. package/dist/index178.js.map +1 -1
  167. package/dist/index179.js +9 -66
  168. package/dist/index179.js.map +1 -1
  169. package/dist/index18.js +7 -7
  170. package/dist/index180.js +9 -19
  171. package/dist/index180.js.map +1 -1
  172. package/dist/index181.js +10 -16
  173. package/dist/index181.js.map +1 -1
  174. package/dist/index182.js +10 -5
  175. package/dist/index182.js.map +1 -1
  176. package/dist/index183.js +9 -5
  177. package/dist/index183.js.map +1 -1
  178. package/dist/index184.js +6 -6
  179. package/dist/index184.js.map +1 -1
  180. package/dist/index185.js +5 -4
  181. package/dist/index185.js.map +1 -1
  182. package/dist/index186.js +4 -6
  183. package/dist/index186.js.map +1 -1
  184. package/dist/index187.js +5 -16
  185. package/dist/index187.js.map +1 -1
  186. package/dist/index188.js +6 -4
  187. package/dist/index188.js.map +1 -1
  188. package/dist/index189.js +5 -4
  189. package/dist/index189.js.map +1 -1
  190. package/dist/index19.js +3 -3
  191. package/dist/index190.js +8 -12
  192. package/dist/index190.js.map +1 -1
  193. package/dist/index191.js +19 -9
  194. package/dist/index191.js.map +1 -1
  195. package/dist/index192.js +46 -13
  196. package/dist/index192.js.map +1 -1
  197. package/dist/index193.js +229 -13
  198. package/dist/index193.js.map +1 -1
  199. package/dist/index194.js +22 -5
  200. package/dist/index194.js.map +1 -1
  201. package/dist/index195.js +24 -5
  202. package/dist/index195.js.map +1 -1
  203. package/dist/index196.js +400 -6
  204. package/dist/index196.js.map +1 -1
  205. package/dist/index197.js +29 -5
  206. package/dist/index197.js.map +1 -1
  207. package/dist/index198.js +12 -54
  208. package/dist/index198.js.map +1 -1
  209. package/dist/index199.js +25 -8
  210. package/dist/index199.js.map +1 -1
  211. package/dist/index200.js +5 -4
  212. package/dist/index200.js.map +1 -1
  213. package/dist/index201.js +16 -4
  214. package/dist/index201.js.map +1 -1
  215. package/dist/index202.js +7 -8
  216. package/dist/index202.js.map +1 -1
  217. package/dist/index203.js +10 -4
  218. package/dist/index203.js.map +1 -1
  219. package/dist/index204.js +10 -4
  220. package/dist/index204.js.map +1 -1
  221. package/dist/index205.js +21 -3
  222. package/dist/index205.js.map +1 -1
  223. package/dist/index206.js +10 -10
  224. package/dist/index206.js.map +1 -1
  225. package/dist/index207.js +9 -9
  226. package/dist/index207.js.map +1 -1
  227. package/dist/index208.js +9 -9
  228. package/dist/index208.js.map +1 -1
  229. package/dist/index209.js +4 -10
  230. package/dist/index209.js.map +1 -1
  231. package/dist/index21.js +1 -1
  232. package/dist/index210.js +5 -10
  233. package/dist/index210.js.map +1 -1
  234. package/dist/index211.js +16 -9
  235. package/dist/index211.js.map +1 -1
  236. package/dist/index212.js +9 -6
  237. package/dist/index212.js.map +1 -1
  238. package/dist/index213.js +18 -5
  239. package/dist/index213.js.map +1 -1
  240. package/dist/index214.js +15 -4
  241. package/dist/index214.js.map +1 -1
  242. package/dist/index215.js +12 -5
  243. package/dist/index215.js.map +1 -1
  244. package/dist/index216.js +5 -6
  245. package/dist/index216.js.map +1 -1
  246. package/dist/index217.js +68 -5
  247. package/dist/index217.js.map +1 -1
  248. package/dist/index218.js +2 -17
  249. package/dist/index218.js.map +1 -1
  250. package/dist/index219.js +363 -7
  251. package/dist/index219.js.map +1 -1
  252. package/dist/index22.js +2 -2
  253. package/dist/index220.js +260 -9
  254. package/dist/index220.js.map +1 -1
  255. package/dist/index221.js +59 -9
  256. package/dist/index221.js.map +1 -1
  257. package/dist/index222.js +46 -21
  258. package/dist/index222.js.map +1 -1
  259. package/dist/index223.js +169 -10
  260. package/dist/index223.js.map +1 -1
  261. package/dist/index224.js +109 -9
  262. package/dist/index224.js.map +1 -1
  263. package/dist/index225.js +24 -9
  264. package/dist/index225.js.map +1 -1
  265. package/dist/index226.js +8 -5
  266. package/dist/index226.js.map +1 -1
  267. package/dist/index227.js +4 -5
  268. package/dist/index227.js.map +1 -1
  269. package/dist/index228.js +5 -16
  270. package/dist/index228.js.map +1 -1
  271. package/dist/index229.js +4 -9
  272. package/dist/index229.js.map +1 -1
  273. package/dist/index23.js +1 -1
  274. package/dist/index230.js +465 -17
  275. package/dist/index230.js.map +1 -1
  276. package/dist/index231.js +184 -14
  277. package/dist/index231.js.map +1 -1
  278. package/dist/index232.js +107 -12
  279. package/dist/index232.js.map +1 -1
  280. package/dist/index233.js +260 -27
  281. package/dist/index233.js.map +1 -1
  282. package/dist/index234.js +9 -12
  283. package/dist/index234.js.map +1 -1
  284. package/dist/index235.js +41 -24
  285. package/dist/index235.js.map +1 -1
  286. package/dist/index236.js +4 -5
  287. package/dist/index236.js.map +1 -1
  288. package/dist/index237.js +4 -13
  289. package/dist/index237.js.map +1 -1
  290. package/dist/index238.js +17 -154
  291. package/dist/index238.js.map +1 -1
  292. package/dist/index239.js +22 -28
  293. package/dist/index239.js.map +1 -1
  294. package/dist/index24.js +1 -1
  295. package/dist/index240.js +29 -10
  296. package/dist/index240.js.map +1 -1
  297. package/dist/index241.js +5 -49
  298. package/dist/index241.js.map +1 -1
  299. package/dist/index242.js +12 -11
  300. package/dist/index242.js.map +1 -1
  301. package/dist/index243.js +13 -44
  302. package/dist/index243.js.map +1 -1
  303. package/dist/index244.js +145 -86
  304. package/dist/index244.js.map +1 -1
  305. package/dist/index245.js +27 -83
  306. package/dist/index245.js.map +1 -1
  307. package/dist/index246.js +9 -105
  308. package/dist/index246.js.map +1 -1
  309. package/dist/index247.js +41 -45
  310. package/dist/index247.js.map +1 -1
  311. package/dist/index248.js +11 -11
  312. package/dist/index248.js.map +1 -1
  313. package/dist/index249.js +42 -35
  314. package/dist/index249.js.map +1 -1
  315. package/dist/index25.js +1 -1
  316. package/dist/index250.js +95 -8
  317. package/dist/index250.js.map +1 -1
  318. package/dist/index251.js +80 -110
  319. package/dist/index251.js.map +1 -1
  320. package/dist/index252.js +105 -17
  321. package/dist/index252.js.map +1 -1
  322. package/dist/index253.js +51 -14
  323. package/dist/index253.js.map +1 -1
  324. package/dist/index254.js +11 -3
  325. package/dist/index254.js.map +1 -1
  326. package/dist/index255.js +33 -32
  327. package/dist/index255.js.map +1 -1
  328. package/dist/index256.js +8 -20
  329. package/dist/index256.js.map +1 -1
  330. package/dist/index257.js +116 -9
  331. package/dist/index257.js.map +1 -1
  332. package/dist/index258.js +17 -8
  333. package/dist/index258.js.map +1 -1
  334. package/dist/index259.js +12 -16
  335. package/dist/index259.js.map +1 -1
  336. package/dist/index260.js +3 -28
  337. package/dist/index260.js.map +1 -1
  338. package/dist/index261.js +35 -15
  339. package/dist/index261.js.map +1 -1
  340. package/dist/index262.js +20 -24
  341. package/dist/index262.js.map +1 -1
  342. package/dist/index263.js +10 -29
  343. package/dist/index263.js.map +1 -1
  344. package/dist/index264.js +9 -5
  345. package/dist/index264.js.map +1 -1
  346. package/dist/index265.js +19 -4
  347. package/dist/index265.js.map +1 -1
  348. package/dist/index266.js +28 -17
  349. package/dist/index266.js.map +1 -1
  350. package/dist/index267.js +16 -12
  351. package/dist/index267.js.map +1 -1
  352. package/dist/index268.js +4 -20
  353. package/dist/index268.js.map +1 -1
  354. package/dist/index269.js +5 -5
  355. package/dist/index269.js.map +1 -1
  356. package/dist/index270.js +4 -3
  357. package/dist/index270.js.map +1 -1
  358. package/dist/index271.js +15 -23
  359. package/dist/index271.js.map +1 -1
  360. package/dist/index272.js +6 -110
  361. package/dist/index272.js.map +1 -1
  362. package/dist/index273.js +5 -15
  363. package/dist/index273.js.map +1 -1
  364. package/dist/index274.js +4 -529
  365. package/dist/index274.js.map +1 -1
  366. package/dist/index275.js +542 -122
  367. package/dist/index275.js.map +1 -1
  368. package/dist/index276.js +44 -131
  369. package/dist/index276.js.map +1 -1
  370. package/dist/index277.js +17 -4
  371. package/dist/index277.js.map +1 -1
  372. package/dist/index278.js +5 -4
  373. package/dist/index278.js.map +1 -1
  374. package/dist/index279.js +8 -4
  375. package/dist/index279.js.map +1 -1
  376. package/dist/index28.js +2 -2
  377. package/dist/index280.js +6 -15
  378. package/dist/index280.js.map +1 -1
  379. package/dist/index281.js +7 -8
  380. package/dist/index281.js.map +1 -1
  381. package/dist/index282.js +11 -5
  382. package/dist/index282.js.map +1 -1
  383. package/dist/index283.js +8 -4
  384. package/dist/index283.js.map +1 -1
  385. package/dist/index284.js +12 -545
  386. package/dist/index284.js.map +1 -1
  387. package/dist/index285.js +5 -47
  388. package/dist/index285.js.map +1 -1
  389. package/dist/index286.js +3 -18
  390. package/dist/index286.js.map +1 -1
  391. package/dist/index287.js +23 -5
  392. package/dist/index287.js.map +1 -1
  393. package/dist/index288.js +112 -7
  394. package/dist/index288.js.map +1 -1
  395. package/dist/index289.js +15 -6
  396. package/dist/index289.js.map +1 -1
  397. package/dist/index29.js +37 -3
  398. package/dist/index29.js.map +1 -1
  399. package/dist/index290.js +529 -7
  400. package/dist/index290.js.map +1 -1
  401. package/dist/index291.js +125 -11
  402. package/dist/index291.js.map +1 -1
  403. package/dist/index292.js +133 -8
  404. package/dist/index292.js.map +1 -1
  405. package/dist/index293.js +20 -12
  406. package/dist/index293.js.map +1 -1
  407. package/dist/index294.js +4 -64
  408. package/dist/index294.js.map +1 -1
  409. package/dist/index295.js +54 -67
  410. package/dist/index295.js.map +1 -1
  411. package/dist/index296.js +67 -8
  412. package/dist/index296.js.map +1 -1
  413. package/dist/index297.js +31 -14
  414. package/dist/index297.js.map +1 -1
  415. package/dist/index298.js +9 -66
  416. package/dist/index298.js.map +1 -1
  417. package/dist/index299.js +153 -5
  418. package/dist/index299.js.map +1 -1
  419. package/dist/index3.js +2 -2
  420. package/dist/index30.js +3 -125
  421. package/dist/index30.js.map +1 -1
  422. package/dist/index300.js +106 -54
  423. package/dist/index300.js.map +1 -1
  424. package/dist/index301.js +65 -68
  425. package/dist/index301.js.map +1 -1
  426. package/dist/index302.js +68 -30
  427. package/dist/index302.js.map +1 -1
  428. package/dist/index303.js +9 -9
  429. package/dist/index303.js.map +1 -1
  430. package/dist/index304.js +13 -152
  431. package/dist/index304.js.map +1 -1
  432. package/dist/index305.js +65 -107
  433. package/dist/index305.js.map +1 -1
  434. package/dist/index306.js +15 -3
  435. package/dist/index306.js.map +1 -1
  436. package/dist/index307.js +28 -22
  437. package/dist/index307.js.map +1 -1
  438. package/dist/index308.js +11 -14
  439. package/dist/index308.js.map +1 -1
  440. package/dist/index309.js +5 -27
  441. package/dist/index309.js.map +1 -1
  442. package/dist/index31.js +120 -227
  443. package/dist/index31.js.map +1 -1
  444. package/dist/index310.js +3 -12
  445. package/dist/index310.js.map +1 -1
  446. package/dist/index311.js +22 -6
  447. package/dist/index311.js.map +1 -1
  448. package/dist/index32.js +229 -21
  449. package/dist/index32.js.map +1 -1
  450. package/dist/index33.js +23 -50
  451. package/dist/index33.js.map +1 -1
  452. package/dist/index34.js +50 -21
  453. package/dist/index34.js.map +1 -1
  454. package/dist/index35.js +18 -126
  455. package/dist/index35.js.map +1 -1
  456. package/dist/index36.js +113 -205
  457. package/dist/index36.js.map +1 -1
  458. package/dist/index37.js +205 -74
  459. package/dist/index37.js.map +1 -1
  460. package/dist/index38.js +87 -115
  461. package/dist/index38.js.map +1 -1
  462. package/dist/index39.js +118 -5
  463. package/dist/index39.js.map +1 -1
  464. package/dist/index4.js +2 -2
  465. package/dist/index40.js +5 -819
  466. package/dist/index40.js.map +1 -1
  467. package/dist/index41.js +819 -56
  468. package/dist/index41.js.map +1 -1
  469. package/dist/index42.js +57 -37
  470. package/dist/index42.js.map +1 -1
  471. package/dist/index45.js +1 -1
  472. package/dist/index46.js +1 -1
  473. package/dist/index49.js +1 -1
  474. package/dist/index5.js +2 -2
  475. package/dist/index50.js +1 -1
  476. package/dist/index52.js +2 -2
  477. package/dist/index56.js +2 -4
  478. package/dist/index56.js.map +1 -1
  479. package/dist/index57.js +2 -48
  480. package/dist/index57.js.map +1 -1
  481. package/dist/index58.js +2 -51
  482. package/dist/index58.js.map +1 -1
  483. package/dist/index59.js +2 -8
  484. package/dist/index59.js.map +1 -1
  485. package/dist/index6.js +5 -5
  486. package/dist/index60.js +3 -14
  487. package/dist/index60.js.map +1 -1
  488. package/dist/index61.js +43 -129
  489. package/dist/index61.js.map +1 -1
  490. package/dist/index62.js +50 -10
  491. package/dist/index62.js.map +1 -1
  492. package/dist/index63.js +7 -216
  493. package/dist/index63.js.map +1 -1
  494. package/dist/index64.js +15 -13
  495. package/dist/index64.js.map +1 -1
  496. package/dist/index65.js +128 -41
  497. package/dist/index65.js.map +1 -1
  498. package/dist/index66.js +9 -48
  499. package/dist/index66.js.map +1 -1
  500. package/dist/index67.js +216 -3
  501. package/dist/index67.js.map +1 -1
  502. package/dist/index68.js +13 -6
  503. package/dist/index68.js.map +1 -1
  504. package/dist/index69.js +46 -27
  505. package/dist/index69.js.map +1 -1
  506. package/dist/index7.js +2 -2
  507. package/dist/index70.js +50 -50
  508. package/dist/index70.js.map +1 -1
  509. package/dist/index71.js +4 -9
  510. package/dist/index71.js.map +1 -1
  511. package/dist/index72.js +5 -5
  512. package/dist/index72.js.map +1 -1
  513. package/dist/index73.js +28 -8
  514. package/dist/index73.js.map +1 -1
  515. package/dist/index74.js +50 -6
  516. package/dist/index74.js.map +1 -1
  517. package/dist/index75.js +9 -2
  518. package/dist/index75.js.map +1 -1
  519. package/dist/index76.js +52 -2
  520. package/dist/index76.js.map +1 -1
  521. package/dist/index77.js +5 -2
  522. package/dist/index77.js.map +1 -1
  523. package/dist/index78.js +5 -2
  524. package/dist/index78.js.map +1 -1
  525. package/dist/index79.js +15 -46
  526. package/dist/index79.js.map +1 -1
  527. package/dist/index8.js +3 -3
  528. package/dist/index80.js +6 -52
  529. package/dist/index80.js.map +1 -1
  530. package/dist/index81.js +6 -3
  531. package/dist/index81.js.map +1 -1
  532. package/dist/index82.js +16 -4
  533. package/dist/index82.js.map +1 -1
  534. package/dist/index83.js +4 -15
  535. package/dist/index83.js.map +1 -1
  536. package/dist/index84.js +4 -5
  537. package/dist/index84.js.map +1 -1
  538. package/dist/index85.js +5 -7
  539. package/dist/index85.js.map +1 -1
  540. package/dist/index86.js +5 -16
  541. package/dist/index86.js.map +1 -1
  542. package/dist/index87.js +4 -4
  543. package/dist/index87.js.map +1 -1
  544. package/dist/index88.js +4 -4
  545. package/dist/index88.js.map +1 -1
  546. package/dist/index89.js +6 -5
  547. package/dist/index89.js.map +1 -1
  548. package/dist/index9.js +1 -1
  549. package/dist/index90.js +24 -5
  550. package/dist/index90.js.map +1 -1
  551. package/dist/index91.js +6 -4
  552. package/dist/index91.js.map +1 -1
  553. package/dist/index92.js +2 -2
  554. package/dist/index92.js.map +1 -1
  555. package/dist/index93.js +5 -5
  556. package/dist/index93.js.map +1 -1
  557. package/dist/index94.js +5 -24
  558. package/dist/index94.js.map +1 -1
  559. package/dist/index95.js +4 -6
  560. package/dist/index95.js.map +1 -1
  561. package/dist/index96.js +5 -4
  562. package/dist/index96.js.map +1 -1
  563. package/dist/index97.js +4 -6
  564. package/dist/index97.js.map +1 -1
  565. package/dist/index98.js +8 -5
  566. package/dist/index98.js.map +1 -1
  567. package/dist/index99.js +4 -3
  568. package/dist/index99.js.map +1 -1
  569. package/package.json +1 -1
package/dist/index291.js CHANGED
@@ -1,15 +1,129 @@
1
- import { constructFrom as s } from "./index277.js";
2
- import { startOfISOWeek as a } from "./index214.js";
3
- import { toDate as m } from "./index278.js";
4
- function Y(f, n) {
5
- const e = m(f, n?.in), t = e.getFullYear(), r = s(e, 0);
6
- r.setFullYear(t + 1, 0, 4), r.setHours(0, 0, 0, 0);
7
- const u = a(r), o = s(e, 0);
8
- o.setFullYear(t, 0, 4), o.setHours(0, 0, 0, 0);
9
- const i = a(o);
10
- return e.getTime() >= u.getTime() ? t + 1 : e.getTime() >= i.getTime() ? t : t - 1;
1
+ const S = ["top", "right", "bottom", "left"], m = Math.min, h = Math.max, w = Math.round, C = Math.floor, j = (t) => ({
2
+ x: t,
3
+ y: t
4
+ }), p = {
5
+ left: "right",
6
+ right: "left",
7
+ bottom: "top",
8
+ top: "bottom"
9
+ };
10
+ function L(t, n, e) {
11
+ return h(t, m(n, e));
12
+ }
13
+ function E(t, n) {
14
+ return typeof t == "function" ? t(n) : t;
15
+ }
16
+ function g(t) {
17
+ return t.split("-")[0];
18
+ }
19
+ function a(t) {
20
+ return t.split("-")[1];
21
+ }
22
+ function x(t) {
23
+ return t === "x" ? "y" : "x";
24
+ }
25
+ function b(t) {
26
+ return t === "y" ? "height" : "width";
27
+ }
28
+ function d(t) {
29
+ const n = t[0];
30
+ return n === "t" || n === "b" ? "y" : "x";
31
+ }
32
+ function A(t) {
33
+ return x(d(t));
34
+ }
35
+ function R(t, n, e) {
36
+ e === void 0 && (e = !1);
37
+ const r = a(t), i = A(t), o = b(i);
38
+ let c = i === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
39
+ return n.reference[o] > n.floating[o] && (c = f(c)), [c, f(c)];
40
+ }
41
+ function T(t) {
42
+ const n = f(t);
43
+ return [s(t), n, s(n)];
44
+ }
45
+ function s(t) {
46
+ return t.includes("start") ? t.replace("start", "end") : t.replace("end", "start");
47
+ }
48
+ const u = ["left", "right"], l = ["right", "left"], P = ["top", "bottom"], y = ["bottom", "top"];
49
+ function O(t, n, e) {
50
+ switch (t) {
51
+ case "top":
52
+ case "bottom":
53
+ return e ? n ? l : u : n ? u : l;
54
+ case "left":
55
+ case "right":
56
+ return n ? P : y;
57
+ default:
58
+ return [];
59
+ }
60
+ }
61
+ function k(t, n, e, r) {
62
+ const i = a(t);
63
+ let o = O(g(t), e === "start", r);
64
+ return i && (o = o.map((c) => c + "-" + i), n && (o = o.concat(o.map(s)))), o;
65
+ }
66
+ function f(t) {
67
+ const n = g(t);
68
+ return p[n] + t.slice(n.length);
69
+ }
70
+ function M(t) {
71
+ return {
72
+ top: 0,
73
+ right: 0,
74
+ bottom: 0,
75
+ left: 0,
76
+ ...t
77
+ };
78
+ }
79
+ function q(t) {
80
+ return typeof t != "number" ? M(t) : {
81
+ top: t,
82
+ right: t,
83
+ bottom: t,
84
+ left: t
85
+ };
86
+ }
87
+ function z(t) {
88
+ const {
89
+ x: n,
90
+ y: e,
91
+ width: r,
92
+ height: i
93
+ } = t;
94
+ return {
95
+ width: r,
96
+ height: i,
97
+ top: e,
98
+ left: n,
99
+ right: n + r,
100
+ bottom: e + i,
101
+ x: n,
102
+ y: e
103
+ };
11
104
  }
12
105
  export {
13
- Y as getISOWeekYear
106
+ L as clamp,
107
+ j as createCoords,
108
+ E as evaluate,
109
+ M as expandPaddingObject,
110
+ C as floor,
111
+ a as getAlignment,
112
+ A as getAlignmentAxis,
113
+ R as getAlignmentSides,
114
+ b as getAxisLength,
115
+ T as getExpandedPlacements,
116
+ s as getOppositeAlignmentPlacement,
117
+ x as getOppositeAxis,
118
+ k as getOppositeAxisPlacements,
119
+ f as getOppositePlacement,
120
+ q as getPaddingObject,
121
+ g as getSide,
122
+ d as getSideAxis,
123
+ h as max,
124
+ m as min,
125
+ z as rectToClientRect,
126
+ w as round,
127
+ S as sides
14
128
  };
15
129
  //# sourceMappingURL=index291.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index291.js","sources":["../../../node_modules/date-fns/getISOWeekYear.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { startOfISOWeek } from \"./startOfISOWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getISOWeekYear} function options.\n */\n\n/**\n * @name getISOWeekYear\n * @category ISO Week-Numbering Year Helpers\n * @summary Get the ISO week-numbering year of the given date.\n *\n * @description\n * Get the ISO week-numbering year of the given date,\n * which always starts 3 days before the year's first Thursday.\n *\n * ISO week-numbering year: http://en.wikipedia.org/wiki/ISO_week_date\n *\n * @param date - The given date\n *\n * @returns The ISO week-numbering year\n *\n * @example\n * // Which ISO-week numbering year is 2 January 2005?\n * const result = getISOWeekYear(new Date(2005, 0, 2))\n * //=> 2004\n */\nexport function getISOWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const fourthOfJanuaryOfNextYear = constructFrom(_date, 0);\n fourthOfJanuaryOfNextYear.setFullYear(year + 1, 0, 4);\n fourthOfJanuaryOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfISOWeek(fourthOfJanuaryOfNextYear);\n\n const fourthOfJanuaryOfThisYear = constructFrom(_date, 0);\n fourthOfJanuaryOfThisYear.setFullYear(year, 0, 4);\n fourthOfJanuaryOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfISOWeek(fourthOfJanuaryOfThisYear);\n\n if (_date.getTime() >= startOfNextYear.getTime()) {\n return year + 1;\n } else if (_date.getTime() >= startOfThisYear.getTime()) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getISOWeekYear;\n"],"names":["getISOWeekYear","date","options","_date","toDate","year","fourthOfJanuaryOfNextYear","constructFrom","startOfNextYear","startOfISOWeek","fourthOfJanuaryOfThisYear","startOfThisYear"],"mappings":";;;AA4BO,SAASA,EAAeC,GAAMC,GAAS;AAC5C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAA4BC,EAAcJ,GAAO,CAAC;AACxD,EAAAG,EAA0B,YAAYD,IAAO,GAAG,GAAG,CAAC,GACpDC,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAME,IAAkBC,EAAeH,CAAyB,GAE1DI,IAA4BH,EAAcJ,GAAO,CAAC;AACxD,EAAAO,EAA0B,YAAYL,GAAM,GAAG,CAAC,GAChDK,EAA0B,SAAS,GAAG,GAAG,GAAG,CAAC;AAC7C,QAAMC,IAAkBF,EAAeC,CAAyB;AAEhE,SAAIP,EAAM,QAAO,KAAMK,EAAgB,QAAO,IACrCH,IAAO,IACLF,EAAM,QAAO,KAAMQ,EAAgB,QAAO,IAC5CN,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index291.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs"],"sourcesContent":["/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n x: v,\n y: v\n});\nconst oppositeSideMap = {\n left: 'right',\n right: 'left',\n bottom: 'top',\n top: 'bottom'\n};\nfunction clamp(start, value, end) {\n return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n return axis === 'y' ? 'height' : 'width';\n}\nfunction getSideAxis(placement) {\n const firstChar = placement[0];\n return firstChar === 't' || firstChar === 'b' ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n if (rtl === void 0) {\n rtl = false;\n }\n const alignment = getAlignment(placement);\n const alignmentAxis = getAlignmentAxis(placement);\n const length = getAxisLength(alignmentAxis);\n let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n if (rects.reference[length] > rects.floating[length]) {\n mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n }\n return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n const oppositePlacement = getOppositePlacement(placement);\n return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n return placement.includes('start') ? placement.replace('start', 'end') : placement.replace('end', 'start');\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n switch (side) {\n case 'top':\n case 'bottom':\n if (rtl) return isStart ? rlPlacement : lrPlacement;\n return isStart ? lrPlacement : rlPlacement;\n case 'left':\n case 'right':\n return isStart ? tbPlacement : btPlacement;\n default:\n return [];\n }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n const alignment = getAlignment(placement);\n let list = getSideList(getSide(placement), direction === 'start', rtl);\n if (alignment) {\n list = list.map(side => side + \"-\" + alignment);\n if (flipAlignment) {\n list = list.concat(list.map(getOppositeAlignmentPlacement));\n }\n }\n return list;\n}\nfunction getOppositePlacement(placement) {\n const side = getSide(placement);\n return oppositeSideMap[side] + placement.slice(side.length);\n}\nfunction expandPaddingObject(padding) {\n return {\n top: 0,\n right: 0,\n bottom: 0,\n left: 0,\n ...padding\n };\n}\nfunction getPaddingObject(padding) {\n return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n top: padding,\n right: padding,\n bottom: padding,\n left: padding\n };\n}\nfunction rectToClientRect(rect) {\n const {\n x,\n y,\n width,\n height\n } = rect;\n return {\n width,\n height,\n top: y,\n left: x,\n right: x + width,\n bottom: y + height,\n x,\n y\n };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n"],"names":["sides","min","max","round","floor","createCoords","v","oppositeSideMap","clamp","start","value","end","evaluate","param","getSide","placement","getAlignment","getOppositeAxis","axis","getAxisLength","getSideAxis","firstChar","getAlignmentAxis","getAlignmentSides","rects","rtl","alignment","alignmentAxis","length","mainAlignmentSide","getOppositePlacement","getExpandedPlacements","oppositePlacement","getOppositeAlignmentPlacement","lrPlacement","rlPlacement","tbPlacement","btPlacement","getSideList","side","isStart","getOppositeAxisPlacements","flipAlignment","direction","list","expandPaddingObject","padding","getPaddingObject","rectToClientRect","rect","x","y","width","height"],"mappings":"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","x_google_ignoreList":[0]}
package/dist/index292.js CHANGED
@@ -1,12 +1,137 @@
1
- import { getDefaultOptions as n } from "./index283.js";
2
- import { constructFrom as i } from "./index277.js";
3
- import { getWeekYear as f } from "./index293.js";
4
- import { startOfWeek as c } from "./index216.js";
5
- function D(r, t) {
6
- const o = n(), s = t?.firstWeekContainsDate ?? t?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(r, t), e = i(t?.in || r, 0);
7
- return e.setFullYear(a, 0, s), e.setHours(0, 0, 0, 0), c(e, t);
1
+ function u() {
2
+ return typeof window < "u";
3
+ }
4
+ function a(t) {
5
+ return m(t) ? (t.nodeName || "").toLowerCase() : "#document";
6
+ }
7
+ function i(t) {
8
+ var n;
9
+ return (t == null || (n = t.ownerDocument) == null ? void 0 : n.defaultView) || window;
10
+ }
11
+ function L(t) {
12
+ var n;
13
+ return (n = (m(t) ? t.ownerDocument : t.document) || window.document) == null ? void 0 : n.documentElement;
14
+ }
15
+ function m(t) {
16
+ return u() ? t instanceof Node || t instanceof i(t).Node : !1;
17
+ }
18
+ function h(t) {
19
+ return u() ? t instanceof Element || t instanceof i(t).Element : !1;
20
+ }
21
+ function g(t) {
22
+ return u() ? t instanceof HTMLElement || t instanceof i(t).HTMLElement : !1;
23
+ }
24
+ function p(t) {
25
+ return !u() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof i(t).ShadowRoot;
26
+ }
27
+ function y(t) {
28
+ const {
29
+ overflow: n,
30
+ overflowX: r,
31
+ overflowY: c,
32
+ display: e
33
+ } = b(t);
34
+ return /auto|scroll|overlay|hidden|clip/.test(n + c + r) && e !== "inline" && e !== "contents";
35
+ }
36
+ function _(t) {
37
+ return /^(table|td|th)$/.test(a(t));
38
+ }
39
+ function T(t) {
40
+ try {
41
+ if (t.matches(":popover-open"))
42
+ return !0;
43
+ } catch {
44
+ }
45
+ try {
46
+ return t.matches(":modal");
47
+ } catch {
48
+ return !1;
49
+ }
50
+ }
51
+ const v = /transform|translate|scale|rotate|perspective|filter/, C = /paint|layout|strict|content/, o = (t) => !!t && t !== "none";
52
+ let s;
53
+ function D(t) {
54
+ const n = h(t) ? b(t) : t;
55
+ return o(n.transform) || o(n.translate) || o(n.scale) || o(n.rotate) || o(n.perspective) || !R() && (o(n.backdropFilter) || o(n.filter)) || v.test(n.willChange || "") || C.test(n.contain || "");
56
+ }
57
+ function W(t) {
58
+ let n = f(t);
59
+ for (; g(n) && !N(n); ) {
60
+ if (D(n))
61
+ return n;
62
+ if (T(n))
63
+ return null;
64
+ n = f(n);
65
+ }
66
+ return null;
67
+ }
68
+ function R() {
69
+ return s == null && (s = typeof CSS < "u" && CSS.supports && CSS.supports("-webkit-backdrop-filter", "none")), s;
70
+ }
71
+ function N(t) {
72
+ return /^(html|body|#document)$/.test(a(t));
73
+ }
74
+ function b(t) {
75
+ return i(t).getComputedStyle(t);
76
+ }
77
+ function $(t) {
78
+ return h(t) ? {
79
+ scrollLeft: t.scrollLeft,
80
+ scrollTop: t.scrollTop
81
+ } : {
82
+ scrollLeft: t.scrollX,
83
+ scrollTop: t.scrollY
84
+ };
85
+ }
86
+ function f(t) {
87
+ if (a(t) === "html")
88
+ return t;
89
+ const n = (
90
+ // Step into the shadow DOM of the parent of a slotted node.
91
+ t.assignedSlot || // DOM Element detected.
92
+ t.parentNode || // ShadowRoot detected.
93
+ p(t) && t.host || // Fallback.
94
+ L(t)
95
+ );
96
+ return p(n) ? n.host : n;
97
+ }
98
+ function S(t) {
99
+ const n = f(t);
100
+ return N(n) ? t.ownerDocument ? t.ownerDocument.body : t.body : g(n) && y(n) ? n : S(n);
101
+ }
102
+ function w(t, n, r) {
103
+ var c;
104
+ n === void 0 && (n = []), r === void 0 && (r = !0);
105
+ const e = S(t), E = e === ((c = t.ownerDocument) == null ? void 0 : c.body), l = i(e);
106
+ if (E) {
107
+ const d = k(l);
108
+ return n.concat(l, l.visualViewport || [], y(e) ? e : [], d && r ? w(d) : []);
109
+ } else
110
+ return n.concat(e, w(e, [], r));
111
+ }
112
+ function k(t) {
113
+ return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
8
114
  }
9
115
  export {
10
- D as startOfWeekYear
116
+ b as getComputedStyle,
117
+ W as getContainingBlock,
118
+ L as getDocumentElement,
119
+ k as getFrameElement,
120
+ S as getNearestOverflowAncestor,
121
+ a as getNodeName,
122
+ $ as getNodeScroll,
123
+ w as getOverflowAncestors,
124
+ f as getParentNode,
125
+ i as getWindow,
126
+ D as isContainingBlock,
127
+ h as isElement,
128
+ g as isHTMLElement,
129
+ N as isLastTraversableNode,
130
+ m as isNode,
131
+ y as isOverflowElement,
132
+ p as isShadowRoot,
133
+ _ as isTableElement,
134
+ T as isTopLayer,
135
+ R as isWebKit
11
136
  };
12
137
  //# sourceMappingURL=index292.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index292.js","sources":["../../../node_modules/date-fns/startOfWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { getWeekYear } from \"./getWeekYear.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\n\n/**\n * The {@link startOfWeekYear} function options.\n */\n\n/**\n * @name startOfWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Return the start of a local week-numbering year for the given date.\n *\n * @description\n * Return the start of a local week-numbering year.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type.\n *\n * @param date - The original date\n * @param options - An object with options\n *\n * @returns The start of a week-numbering year\n *\n * @example\n * // The start of an a week-numbering year for 2 July 2005 with default settings:\n * const result = startOfWeekYear(new Date(2005, 6, 2))\n * //=> Sun Dec 26 2004 00:00:00\n *\n * @example\n * // The start of a week-numbering year for 2 July 2005\n * // if Monday is the first day of week\n * // and 4 January is always in the first week of the year:\n * const result = startOfWeekYear(new Date(2005, 6, 2), {\n * weekStartsOn: 1,\n * firstWeekContainsDate: 4\n * })\n * //=> Mon Jan 03 2005 00:00:00\n */\nexport function startOfWeekYear(date, options) {\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const year = getWeekYear(date, options);\n const firstWeek = constructFrom(options?.in || date, 0);\n firstWeek.setFullYear(year, 0, firstWeekContainsDate);\n firstWeek.setHours(0, 0, 0, 0);\n const _date = startOfWeek(firstWeek, options);\n return _date;\n}\n\n// Fallback for modularized imports:\nexport default startOfWeekYear;\n"],"names":["startOfWeekYear","date","options","defaultOptions","getDefaultOptions","firstWeekContainsDate","year","getWeekYear","firstWeek","constructFrom","startOfWeek"],"mappings":";;;;AA8CO,SAASA,EAAgBC,GAAMC,GAAS;AAC7C,QAAMC,IAAiBC,EAAiB,GAClCC,IACJH,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BC,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAOC,EAAYN,GAAMC,CAAO,GAChCM,IAAYC,EAAcP,GAAS,MAAMD,GAAM,CAAC;AACtD,SAAAO,EAAU,YAAYF,GAAM,GAAGD,CAAqB,GACpDG,EAAU,SAAS,GAAG,GAAG,GAAG,CAAC,GACfE,EAAYF,GAAWN,CAAO;AAE9C;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index292.js","sources":["../../../node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs"],"sourcesContent":["function hasWindow() {\n return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n if (isNode(node)) {\n return (node.nodeName || '').toLowerCase();\n }\n // Mocked nodes in testing environments may not be instances of Node. By\n // returning `#document` an infinite loop won't occur.\n // https://github.com/floating-ui/floating-ui/issues/2317\n return '#document';\n}\nfunction getWindow(node) {\n var _node$ownerDocument;\n return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n var _ref;\n return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n if (!hasWindow()) {\n return false;\n }\n return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n return false;\n }\n return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nfunction isOverflowElement(element) {\n const {\n overflow,\n overflowX,\n overflowY,\n display\n } = getComputedStyle(element);\n return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && display !== 'inline' && display !== 'contents';\n}\nfunction isTableElement(element) {\n return /^(table|td|th)$/.test(getNodeName(element));\n}\nfunction isTopLayer(element) {\n try {\n if (element.matches(':popover-open')) {\n return true;\n }\n } catch (_e) {\n // no-op\n }\n try {\n return element.matches(':modal');\n } catch (_e) {\n return false;\n }\n}\nconst willChangeRe = /transform|translate|scale|rotate|perspective|filter/;\nconst containRe = /paint|layout|strict|content/;\nconst isNotNone = value => !!value && value !== 'none';\nlet isWebKitValue;\nfunction isContainingBlock(elementOrCss) {\n const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n return isNotNone(css.transform) || isNotNone(css.translate) || isNotNone(css.scale) || isNotNone(css.rotate) || isNotNone(css.perspective) || !isWebKit() && (isNotNone(css.backdropFilter) || isNotNone(css.filter)) || willChangeRe.test(css.willChange || '') || containRe.test(css.contain || '');\n}\nfunction getContainingBlock(element) {\n let currentNode = getParentNode(element);\n while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n if (isContainingBlock(currentNode)) {\n return currentNode;\n } else if (isTopLayer(currentNode)) {\n return null;\n }\n currentNode = getParentNode(currentNode);\n }\n return null;\n}\nfunction isWebKit() {\n if (isWebKitValue == null) {\n isWebKitValue = typeof CSS !== 'undefined' && CSS.supports && CSS.supports('-webkit-backdrop-filter', 'none');\n }\n return isWebKitValue;\n}\nfunction isLastTraversableNode(node) {\n return /^(html|body|#document)$/.test(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n if (isElement(element)) {\n return {\n scrollLeft: element.scrollLeft,\n scrollTop: element.scrollTop\n };\n }\n return {\n scrollLeft: element.scrollX,\n scrollTop: element.scrollY\n };\n}\nfunction getParentNode(node) {\n if (getNodeName(node) === 'html') {\n return node;\n }\n const result =\n // Step into the shadow DOM of the parent of a slotted node.\n node.assignedSlot ||\n // DOM Element detected.\n node.parentNode ||\n // ShadowRoot detected.\n isShadowRoot(node) && node.host ||\n // Fallback.\n getDocumentElement(node);\n return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n const parentNode = getParentNode(node);\n if (isLastTraversableNode(parentNode)) {\n return node.ownerDocument ? node.ownerDocument.body : node.body;\n }\n if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n return parentNode;\n }\n return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n var _node$ownerDocument2;\n if (list === void 0) {\n list = [];\n }\n if (traverseIframes === void 0) {\n traverseIframes = true;\n }\n const scrollableAncestor = getNearestOverflowAncestor(node);\n const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n const win = getWindow(scrollableAncestor);\n if (isBody) {\n const frameElement = getFrameElement(win);\n return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n } else {\n return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n }\n}\nfunction getFrameElement(win) {\n return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n"],"names":["hasWindow","getNodeName","node","isNode","getWindow","_node$ownerDocument","getDocumentElement","_ref","value","isElement","isHTMLElement","isShadowRoot","isOverflowElement","element","overflow","overflowX","overflowY","display","getComputedStyle","isTableElement","isTopLayer","willChangeRe","containRe","isNotNone","isWebKitValue","isContainingBlock","elementOrCss","css","isWebKit","getContainingBlock","currentNode","getParentNode","isLastTraversableNode","getNodeScroll","result","getNearestOverflowAncestor","parentNode","getOverflowAncestors","list","traverseIframes","_node$ownerDocument2","scrollableAncestor","isBody","win","frameElement","getFrameElement"],"mappings":"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","x_google_ignoreList":[0]}
package/dist/index293.js CHANGED
@@ -1,16 +1,24 @@
1
- import { getDefaultOptions as k } from "./index283.js";
2
- import { constructFrom as f } from "./index277.js";
3
- import { startOfWeek as l } from "./index216.js";
4
- import { toDate as m } from "./index278.js";
5
- function C(r, e) {
6
- const s = m(r, e?.in), t = s.getFullYear(), o = k(), i = e?.firstWeekContainsDate ?? e?.locale?.options?.firstWeekContainsDate ?? o.firstWeekContainsDate ?? o.locale?.options?.firstWeekContainsDate ?? 1, a = f(e?.in || r, 0);
7
- a.setFullYear(t + 1, 0, i), a.setHours(0, 0, 0, 0);
8
- const c = l(a, e), n = f(e?.in || r, 0);
9
- n.setFullYear(t, 0, i), n.setHours(0, 0, 0, 0);
10
- const u = l(n, e);
11
- return +s >= +c ? t + 1 : +s >= +u ? t : t - 1;
1
+ import { VALID_DIGITS as n } from "./index226.js";
2
+ var v = "+", I = "[\\-\\.\\(\\)]?", R = "([" + n + "]|" + I + ")", i = "^\\" + v + R + "*[" + n + "]" + R + "*$", N = new RegExp(i, "g"), r = n, C = "[" + r + "]+((\\-)*[" + r + "])*", L = "a-zA-Z", f = "[" + L + "]+((\\-)*[" + r + "])*", E = "^(" + C + "\\.)*" + f + "\\.?$", O = new RegExp(E, "g"), l = "tel:", a = ";phone-context=", u = ";isub=";
3
+ function D(_) {
4
+ var t = _.indexOf(a);
5
+ if (t < 0)
6
+ return null;
7
+ var e = t + a.length;
8
+ if (e >= _.length)
9
+ return "";
10
+ var A = _.indexOf(";", e);
11
+ return A >= 0 ? _.substring(e, A) : _.substring(e);
12
+ }
13
+ function S(_) {
14
+ return _ === null ? !0 : _.length === 0 ? !1 : N.test(_) || O.test(_);
12
15
  }
13
16
  export {
14
- C as getWeekYear
17
+ v as PLUS_SIGN,
18
+ u as RFC3966_ISDN_SUBADDRESS_,
19
+ a as RFC3966_PHONE_CONTEXT_,
20
+ l as RFC3966_PREFIX_,
21
+ D as default,
22
+ S as isPhoneContextValid
15
23
  };
16
24
  //# sourceMappingURL=index293.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index293.js","sources":["../../../node_modules/date-fns/getWeekYear.js"],"sourcesContent":["import { getDefaultOptions } from \"./_lib/defaultOptions.js\";\nimport { constructFrom } from \"./constructFrom.js\";\nimport { startOfWeek } from \"./startOfWeek.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getWeekYear} function options.\n */\n\n/**\n * @name getWeekYear\n * @category Week-Numbering Year Helpers\n * @summary Get the local week-numbering year of the given date.\n *\n * @description\n * Get the local week-numbering year of the given date.\n * The exact calculation depends on the values of\n * `options.weekStartsOn` (which is the index of the first day of the week)\n * and `options.firstWeekContainsDate` (which is the day of January, which is always in\n * the first week of the week-numbering year)\n *\n * Week numbering: https://en.wikipedia.org/wiki/Week#The_ISO_week_date_system\n *\n * @param date - The given date\n * @param options - An object with options.\n *\n * @returns The local week-numbering year\n *\n * @example\n * // Which week numbering year is 26 December 2004 with the default settings?\n * const result = getWeekYear(new Date(2004, 11, 26))\n * //=> 2005\n *\n * @example\n * // Which week numbering year is 26 December 2004 if week starts on Saturday?\n * const result = getWeekYear(new Date(2004, 11, 26), { weekStartsOn: 6 })\n * //=> 2004\n *\n * @example\n * // Which week numbering year is 26 December 2004 if the first week contains 4 January?\n * const result = getWeekYear(new Date(2004, 11, 26), { firstWeekContainsDate: 4 })\n * //=> 2004\n */\nexport function getWeekYear(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n\n const defaultOptions = getDefaultOptions();\n const firstWeekContainsDate =\n options?.firstWeekContainsDate ??\n options?.locale?.options?.firstWeekContainsDate ??\n defaultOptions.firstWeekContainsDate ??\n defaultOptions.locale?.options?.firstWeekContainsDate ??\n 1;\n\n const firstWeekOfNextYear = constructFrom(options?.in || date, 0);\n firstWeekOfNextYear.setFullYear(year + 1, 0, firstWeekContainsDate);\n firstWeekOfNextYear.setHours(0, 0, 0, 0);\n const startOfNextYear = startOfWeek(firstWeekOfNextYear, options);\n\n const firstWeekOfThisYear = constructFrom(options?.in || date, 0);\n firstWeekOfThisYear.setFullYear(year, 0, firstWeekContainsDate);\n firstWeekOfThisYear.setHours(0, 0, 0, 0);\n const startOfThisYear = startOfWeek(firstWeekOfThisYear, options);\n\n if (+_date >= +startOfNextYear) {\n return year + 1;\n } else if (+_date >= +startOfThisYear) {\n return year;\n } else {\n return year - 1;\n }\n}\n\n// Fallback for modularized imports:\nexport default getWeekYear;\n"],"names":["getWeekYear","date","options","_date","toDate","year","defaultOptions","getDefaultOptions","firstWeekContainsDate","firstWeekOfNextYear","constructFrom","startOfNextYear","startOfWeek","firstWeekOfThisYear","startOfThisYear"],"mappings":";;;;AA2CO,SAASA,EAAYC,GAAMC,GAAS;AACzC,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GAExBG,IAAiBC,EAAiB,GAClCC,IACJN,GAAS,yBACTA,GAAS,QAAQ,SAAS,yBAC1BI,EAAe,yBACfA,EAAe,QAAQ,SAAS,yBAChC,GAEIG,IAAsBC,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAQ,EAAoB,YAAYJ,IAAO,GAAG,GAAGG,CAAqB,GAClEC,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAME,IAAkBC,EAAYH,GAAqBP,CAAO,GAE1DW,IAAsBH,EAAcR,GAAS,MAAMD,GAAM,CAAC;AAChE,EAAAY,EAAoB,YAAYR,GAAM,GAAGG,CAAqB,GAC9DK,EAAoB,SAAS,GAAG,GAAG,GAAG,CAAC;AACvC,QAAMC,IAAkBF,EAAYC,GAAqBX,CAAO;AAEhE,SAAI,CAACC,KAAS,CAACQ,IACNN,IAAO,IACL,CAACF,KAAS,CAACW,IACbT,IAEAA,IAAO;AAElB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index293.js","sources":["../../../node_modules/libphonenumber-js/es6/helpers/extractPhoneContext.js"],"sourcesContent":["// When phone numbers are written in `RFC3966` format `\"tel:+12133734253\"` —\n// they can have their \"calling code\" part written separately in a `phone-context` parameter.\n// Example: `\"tel:12133734253;phone-context=+1\"`.\n// This function parses the full phone number from the local number and the `phone-context`\n// when the `phone-context` contains a `+` sign.\n\nimport { VALID_DIGITS\n// PLUS_CHARS\n} from '../constants.js';\nexport var PLUS_SIGN = '+';\nvar RFC3966_VISUAL_SEPARATOR_ = '[\\\\-\\\\.\\\\(\\\\)]?';\nvar RFC3966_PHONE_DIGIT_ = '(' + '[' + VALID_DIGITS + ']' + '|' + RFC3966_VISUAL_SEPARATOR_ + ')';\nvar RFC3966_GLOBAL_NUMBER_DIGITS_ = '^' + '\\\\' + PLUS_SIGN + RFC3966_PHONE_DIGIT_ + '*' + '[' + VALID_DIGITS + ']' + RFC3966_PHONE_DIGIT_ + '*' + '$';\n\n/**\r\n * Regular expression of valid global-number-digits for the phone-context\r\n * parameter, following the syntax defined in RFC3966.\r\n */\nvar RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_ = new RegExp(RFC3966_GLOBAL_NUMBER_DIGITS_, 'g');\n\n// In this port of Google's library, we don't accept alpha characters in phone numbers.\n// const ALPHANUM_ = VALID_ALPHA_ + VALID_DIGITS\nvar ALPHANUM_ = VALID_DIGITS;\nvar RFC3966_DOMAINLABEL_ = '[' + ALPHANUM_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar VALID_ALPHA_ = 'a-zA-Z';\nvar RFC3966_TOPLABEL_ = '[' + VALID_ALPHA_ + ']+((\\\\-)*[' + ALPHANUM_ + '])*';\nvar RFC3966_DOMAINNAME_ = '^(' + RFC3966_DOMAINLABEL_ + '\\\\.)*' + RFC3966_TOPLABEL_ + '\\\\.?$';\n\n/**\r\n * Regular expression of valid domainname for the phone-context parameter,\r\n * following the syntax defined in RFC3966.\r\n */\nvar RFC3966_DOMAINNAME_PATTERN_ = new RegExp(RFC3966_DOMAINNAME_, 'g');\nexport var RFC3966_PREFIX_ = 'tel:';\nexport var RFC3966_PHONE_CONTEXT_ = ';phone-context=';\nexport var RFC3966_ISDN_SUBADDRESS_ = ';isub=';\n\n/**\r\n * Extracts the value of the phone-context parameter of `numberToExtractFrom`,\r\n * following the syntax defined in RFC3966.\r\n *\r\n * @param {string} numberToExtractFrom\r\n * @return {string|null} the extracted string (possibly empty), or `null` if no phone-context parameter is found.\r\n */\nexport default function extractPhoneContext(numberToExtractFrom) {\n var indexOfPhoneContext = numberToExtractFrom.indexOf(RFC3966_PHONE_CONTEXT_);\n // If no phone-context parameter is present\n if (indexOfPhoneContext < 0) {\n return null;\n }\n var phoneContextStart = indexOfPhoneContext + RFC3966_PHONE_CONTEXT_.length;\n // If phone-context parameter is empty\n if (phoneContextStart >= numberToExtractFrom.length) {\n return '';\n }\n var phoneContextEnd = numberToExtractFrom.indexOf(';', phoneContextStart);\n // If phone-context is not the last parameter\n if (phoneContextEnd >= 0) {\n return numberToExtractFrom.substring(phoneContextStart, phoneContextEnd);\n } else {\n return numberToExtractFrom.substring(phoneContextStart);\n }\n}\n\n/**\r\n * Returns whether the value of phoneContext follows the syntax defined in RFC3966.\r\n *\r\n * @param {string|null} phoneContext\r\n * @return {boolean}\r\n */\nexport function isPhoneContextValid(phoneContext) {\n if (phoneContext === null) {\n return true;\n }\n if (phoneContext.length === 0) {\n return false;\n }\n\n // Does phone-context value match pattern of global-number-digits or domainname.\n return RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_.test(phoneContext) || RFC3966_DOMAINNAME_PATTERN_.test(phoneContext);\n}\n//# sourceMappingURL=extractPhoneContext.js.map"],"names":["PLUS_SIGN","RFC3966_VISUAL_SEPARATOR_","RFC3966_PHONE_DIGIT_","VALID_DIGITS","RFC3966_GLOBAL_NUMBER_DIGITS_","RFC3966_GLOBAL_NUMBER_DIGITS_PATTERN_","ALPHANUM_","RFC3966_DOMAINLABEL_","VALID_ALPHA_","RFC3966_TOPLABEL_","RFC3966_DOMAINNAME_","RFC3966_DOMAINNAME_PATTERN_","RFC3966_PREFIX_","RFC3966_PHONE_CONTEXT_","RFC3966_ISDN_SUBADDRESS_","extractPhoneContext","numberToExtractFrom","indexOfPhoneContext","phoneContextStart","phoneContextEnd","isPhoneContextValid","phoneContext"],"mappings":";AASU,IAACA,IAAY,KACnBC,IAA4B,mBAC5BC,IAAuB,OAAYC,IAAe,OAAYF,IAA4B,KAC1FG,IAAgC,QAAaJ,IAAYE,IAAuB,OAAYC,IAAe,MAAMD,IAAuB,MAMxIG,IAAwC,IAAI,OAAOD,GAA+B,GAAG,GAIrFE,IAAYH,GACZI,IAAuB,MAAMD,IAAY,eAAeA,IAAY,OACpEE,IAAe,UACfC,IAAoB,MAAMD,IAAe,eAAeF,IAAY,OACpEI,IAAsB,OAAOH,IAAuB,UAAUE,IAAoB,SAMlFE,IAA8B,IAAI,OAAOD,GAAqB,GAAG,GAC1DE,IAAkB,QAClBC,IAAyB,mBACzBC,IAA2B;AASvB,SAASC,EAAoBC,GAAqB;AAC/D,MAAIC,IAAsBD,EAAoB,QAAQH,CAAsB;AAE5E,MAAII,IAAsB;AACxB,WAAO;AAET,MAAIC,IAAoBD,IAAsBJ,EAAuB;AAErE,MAAIK,KAAqBF,EAAoB;AAC3C,WAAO;AAET,MAAIG,IAAkBH,EAAoB,QAAQ,KAAKE,CAAiB;AAExE,SAAIC,KAAmB,IACdH,EAAoB,UAAUE,GAAmBC,CAAe,IAEhEH,EAAoB,UAAUE,CAAiB;AAE1D;AAQO,SAASE,EAAoBC,GAAc;AAChD,SAAIA,MAAiB,OACZ,KAELA,EAAa,WAAW,IACnB,KAIFhB,EAAsC,KAAKgB,CAAY,KAAKV,EAA4B,KAAKU,CAAY;AAClH;","x_google_ignoreList":[0]}
package/dist/index294.js CHANGED
@@ -1,68 +1,8 @@
1
- import { __assign as d } from "./index262.js";
2
- function l(r) {
3
- return r;
4
- }
5
- function h(r, t) {
6
- t === void 0 && (t = l);
7
- var e = [], o = !1, c = {
8
- read: function() {
9
- if (o)
10
- throw new Error("Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.");
11
- return e.length ? e[e.length - 1] : r;
12
- },
13
- useMedium: function(u) {
14
- var n = t(u, o);
15
- return e.push(n), function() {
16
- e = e.filter(function(i) {
17
- return i !== n;
18
- });
19
- };
20
- },
21
- assignSyncMedium: function(u) {
22
- for (o = !0; e.length; ) {
23
- var n = e;
24
- e = [], n.forEach(u);
25
- }
26
- e = {
27
- push: function(i) {
28
- return u(i);
29
- },
30
- filter: function() {
31
- return e;
32
- }
33
- };
34
- },
35
- assignMedium: function(u) {
36
- o = !0;
37
- var n = [];
38
- if (e.length) {
39
- var i = e;
40
- e = [], i.forEach(u), n = e;
41
- }
42
- var s = function() {
43
- var f = n;
44
- n = [], f.forEach(u);
45
- }, a = function() {
46
- return Promise.resolve().then(s);
47
- };
48
- a(), e = {
49
- push: function(f) {
50
- n.push(f), a();
51
- },
52
- filter: function(f) {
53
- return n = n.filter(f), e;
54
- }
55
- };
56
- }
57
- };
58
- return c;
59
- }
60
- function v(r) {
61
- r === void 0 && (r = {});
62
- var t = h(null);
63
- return t.options = d({ async: !0, ssr: !1 }, r), t;
1
+ function r(t, n) {
2
+ const o = t < 0 ? "-" : "", a = Math.abs(t).toString().padStart(n, "0");
3
+ return o + a;
64
4
  }
65
5
  export {
66
- v as createSidecarMedium
6
+ r as addLeadingZeros
67
7
  };
68
8
  //# sourceMappingURL=index294.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index294.js","sources":["../../../node_modules/use-sidecar/dist/es2015/medium.js"],"sourcesContent":["import { __assign } from \"tslib\";\nfunction ItoI(a) {\n return a;\n}\nfunction innerCreateMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n var buffer = [];\n var assigned = false;\n var medium = {\n read: function () {\n if (assigned) {\n throw new Error('Sidecar: could not `read` from an `assigned` medium. `read` could be used only with `useMedium`.');\n }\n if (buffer.length) {\n return buffer[buffer.length - 1];\n }\n return defaults;\n },\n useMedium: function (data) {\n var item = middleware(data, assigned);\n buffer.push(item);\n return function () {\n buffer = buffer.filter(function (x) { return x !== item; });\n };\n },\n assignSyncMedium: function (cb) {\n assigned = true;\n while (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n }\n buffer = {\n push: function (x) { return cb(x); },\n filter: function () { return buffer; },\n };\n },\n assignMedium: function (cb) {\n assigned = true;\n var pendingQueue = [];\n if (buffer.length) {\n var cbs = buffer;\n buffer = [];\n cbs.forEach(cb);\n pendingQueue = buffer;\n }\n var executeQueue = function () {\n var cbs = pendingQueue;\n pendingQueue = [];\n cbs.forEach(cb);\n };\n var cycle = function () { return Promise.resolve().then(executeQueue); };\n cycle();\n buffer = {\n push: function (x) {\n pendingQueue.push(x);\n cycle();\n },\n filter: function (filter) {\n pendingQueue = pendingQueue.filter(filter);\n return buffer;\n },\n };\n },\n };\n return medium;\n}\nexport function createMedium(defaults, middleware) {\n if (middleware === void 0) { middleware = ItoI; }\n return innerCreateMedium(defaults, middleware);\n}\n// eslint-disable-next-line @typescript-eslint/ban-types\nexport function createSidecarMedium(options) {\n if (options === void 0) { options = {}; }\n var medium = innerCreateMedium(null);\n medium.options = __assign({ async: true, ssr: false }, options);\n return medium;\n}\n"],"names":["ItoI","a","innerCreateMedium","defaults","middleware","buffer","assigned","medium","data","item","x","cb","cbs","pendingQueue","executeQueue","cycle","filter","createSidecarMedium","options","__assign"],"mappings":";AACA,SAASA,EAAKC,GAAG;AACb,SAAOA;AACX;AACA,SAASC,EAAkBC,GAAUC,GAAY;AAC7C,EAAIA,MAAe,WAAUA,IAAaJ;AAC1C,MAAIK,IAAS,CAAA,GACTC,IAAW,IACXC,IAAS;AAAA,IACT,MAAM,WAAY;AACd,UAAID;AACA,cAAM,IAAI,MAAM,kGAAkG;AAEtH,aAAID,EAAO,SACAA,EAAOA,EAAO,SAAS,CAAC,IAE5BF;AAAA,IACX;AAAA,IACA,WAAW,SAAUK,GAAM;AACvB,UAAIC,IAAOL,EAAWI,GAAMF,CAAQ;AACpC,aAAAD,EAAO,KAAKI,CAAI,GACT,WAAY;AACf,QAAAJ,IAASA,EAAO,OAAO,SAAUK,GAAG;AAAE,iBAAOA,MAAMD;AAAA,QAAM,CAAC;AAAA,MAC9D;AAAA,IACJ;AAAA,IACA,kBAAkB,SAAUE,GAAI;AAE5B,WADAL,IAAW,IACJD,EAAO,UAAQ;AAClB,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE;AAAA,MAClB;AACA,MAAAN,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AAAE,iBAAOC,EAAGD,CAAC;AAAA,QAAG;AAAA,QACnC,QAAQ,WAAY;AAAE,iBAAOL;AAAA,QAAQ;AAAA,MACrD;AAAA,IACQ;AAAA,IACA,cAAc,SAAUM,GAAI;AACxB,MAAAL,IAAW;AACX,UAAIO,IAAe,CAAA;AACnB,UAAIR,EAAO,QAAQ;AACf,YAAIO,IAAMP;AACV,QAAAA,IAAS,CAAA,GACTO,EAAI,QAAQD,CAAE,GACdE,IAAeR;AAAA,MACnB;AACA,UAAIS,IAAe,WAAY;AAC3B,YAAIF,IAAMC;AACV,QAAAA,IAAe,CAAA,GACfD,EAAI,QAAQD,CAAE;AAAA,MAClB,GACII,IAAQ,WAAY;AAAE,eAAO,QAAQ,QAAO,EAAG,KAAKD,CAAY;AAAA,MAAG;AACvE,MAAAC,EAAK,GACLV,IAAS;AAAA,QACL,MAAM,SAAUK,GAAG;AACf,UAAAG,EAAa,KAAKH,CAAC,GACnBK,EAAK;AAAA,QACT;AAAA,QACA,QAAQ,SAAUC,GAAQ;AACtB,iBAAAH,IAAeA,EAAa,OAAOG,CAAM,GAClCX;AAAA,QACX;AAAA,MAChB;AAAA,IACQ;AAAA,EACR;AACI,SAAOE;AACX;AAMO,SAASU,EAAoBC,GAAS;AACzC,EAAIA,MAAY,WAAUA,IAAU,CAAA;AACpC,MAAIX,IAASL,EAAkB,IAAI;AACnC,SAAAK,EAAO,UAAUY,EAAS,EAAE,OAAO,IAAM,KAAK,GAAK,GAAID,CAAO,GACvDX;AACX;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index294.js","sources":["../../../node_modules/date-fns/_lib/addLeadingZeros.js"],"sourcesContent":["export function addLeadingZeros(number, targetLength) {\n const sign = number < 0 ? \"-\" : \"\";\n const output = Math.abs(number).toString().padStart(targetLength, \"0\");\n return sign + output;\n}\n"],"names":["addLeadingZeros","number","targetLength","sign","output"],"mappings":"AAAO,SAASA,EAAgBC,GAAQC,GAAc;AACpD,QAAMC,IAAOF,IAAS,IAAI,MAAM,IAC1BG,IAAS,KAAK,IAAIH,CAAM,EAAE,WAAW,SAASC,GAAc,GAAG;AACrE,SAAOC,IAAOC;AAChB;","x_google_ignoreList":[0]}