@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/index285.js CHANGED
@@ -1,50 +1,8 @@
1
- const s = (t, e) => {
2
- switch (t) {
3
- case "P":
4
- return e.date({ width: "short" });
5
- case "PP":
6
- return e.date({ width: "medium" });
7
- case "PPP":
8
- return e.date({ width: "long" });
9
- default:
10
- return e.date({ width: "full" });
11
- }
12
- }, c = (t, e) => {
13
- switch (t) {
14
- case "p":
15
- return e.time({ width: "short" });
16
- case "pp":
17
- return e.time({ width: "medium" });
18
- case "ppp":
19
- return e.time({ width: "long" });
20
- default:
21
- return e.time({ width: "full" });
22
- }
23
- }, P = (t, e) => {
24
- const d = t.match(/(P+)(p+)?/) || [], a = d[1], r = d[2];
25
- if (!r)
26
- return s(t, e);
27
- let i;
28
- switch (a) {
29
- case "P":
30
- i = e.dateTime({ width: "short" });
31
- break;
32
- case "PP":
33
- i = e.dateTime({ width: "medium" });
34
- break;
35
- case "PPP":
36
- i = e.dateTime({ width: "long" });
37
- break;
38
- default:
39
- i = e.dateTime({ width: "full" });
40
- break;
41
- }
42
- return i.replace("{{date}}", s(a, e)).replace("{{time}}", c(r, e));
43
- }, h = {
44
- p: c,
45
- P
46
- };
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
47
2
  export {
48
- h as longFormatters
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
49
7
  };
50
8
  //# sourceMappingURL=index285.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index285.js","sources":["../../../node_modules/date-fns/_lib/format/longFormatters.js"],"sourcesContent":["const dateLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"P\":\n return formatLong.date({ width: \"short\" });\n case \"PP\":\n return formatLong.date({ width: \"medium\" });\n case \"PPP\":\n return formatLong.date({ width: \"long\" });\n case \"PPPP\":\n default:\n return formatLong.date({ width: \"full\" });\n }\n};\n\nconst timeLongFormatter = (pattern, formatLong) => {\n switch (pattern) {\n case \"p\":\n return formatLong.time({ width: \"short\" });\n case \"pp\":\n return formatLong.time({ width: \"medium\" });\n case \"ppp\":\n return formatLong.time({ width: \"long\" });\n case \"pppp\":\n default:\n return formatLong.time({ width: \"full\" });\n }\n};\n\nconst dateTimeLongFormatter = (pattern, formatLong) => {\n const matchResult = pattern.match(/(P+)(p+)?/) || [];\n const datePattern = matchResult[1];\n const timePattern = matchResult[2];\n\n if (!timePattern) {\n return dateLongFormatter(pattern, formatLong);\n }\n\n let dateTimeFormat;\n\n switch (datePattern) {\n case \"P\":\n dateTimeFormat = formatLong.dateTime({ width: \"short\" });\n break;\n case \"PP\":\n dateTimeFormat = formatLong.dateTime({ width: \"medium\" });\n break;\n case \"PPP\":\n dateTimeFormat = formatLong.dateTime({ width: \"long\" });\n break;\n case \"PPPP\":\n default:\n dateTimeFormat = formatLong.dateTime({ width: \"full\" });\n break;\n }\n\n return dateTimeFormat\n .replace(\"{{date}}\", dateLongFormatter(datePattern, formatLong))\n .replace(\"{{time}}\", timeLongFormatter(timePattern, formatLong));\n};\n\nexport const longFormatters = {\n p: timeLongFormatter,\n P: dateTimeLongFormatter,\n};\n"],"names":["dateLongFormatter","pattern","formatLong","timeLongFormatter","dateTimeLongFormatter","matchResult","datePattern","timePattern","dateTimeFormat","longFormatters"],"mappings":"AAAA,MAAMA,IAAoB,CAACC,GAASC,MAAe;AACjD,UAAQD,GAAO;AAAA,IACb,KAAK;AACH,aAAOC,EAAW,KAAK,EAAE,OAAO,QAAO,CAAE;AAAA,IAC3C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,SAAQ,CAAE;AAAA,IAC5C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,IAE1C;AACE,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,EAC9C;AACA,GAEMC,IAAoB,CAACF,GAASC,MAAe;AACjD,UAAQD,GAAO;AAAA,IACb,KAAK;AACH,aAAOC,EAAW,KAAK,EAAE,OAAO,QAAO,CAAE;AAAA,IAC3C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,SAAQ,CAAE;AAAA,IAC5C,KAAK;AACH,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,IAE1C;AACE,aAAOA,EAAW,KAAK,EAAE,OAAO,OAAM,CAAE;AAAA,EAC9C;AACA,GAEME,IAAwB,CAACH,GAASC,MAAe;AACrD,QAAMG,IAAcJ,EAAQ,MAAM,WAAW,KAAK,CAAA,GAC5CK,IAAcD,EAAY,CAAC,GAC3BE,IAAcF,EAAY,CAAC;AAEjC,MAAI,CAACE;AACH,WAAOP,EAAkBC,GAASC,CAAU;AAG9C,MAAIM;AAEJ,UAAQF,GAAW;AAAA,IACjB,KAAK;AACH,MAAAE,IAAiBN,EAAW,SAAS,EAAE,OAAO,QAAO,CAAE;AACvD;AAAA,IACF,KAAK;AACH,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,SAAQ,CAAE;AACxD;AAAA,IACF,KAAK;AACH,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,OAAM,CAAE;AACtD;AAAA,IAEF;AACE,MAAAM,IAAiBN,EAAW,SAAS,EAAE,OAAO,OAAM,CAAE;AACtD;AAAA,EACN;AAEE,SAAOM,EACJ,QAAQ,YAAYR,EAAkBM,GAAaJ,CAAU,CAAC,EAC9D,QAAQ,YAAYC,EAAkBI,GAAaL,CAAU,CAAC;AACnE,GAEaO,IAAiB;AAAA,EAC5B,GAAGN;AAAA,EACHC;AACF;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index285.js","sources":["../../../node_modules/react-remove-scroll-bar/dist/es2015/constants.js"],"sourcesContent":["export var zeroRightClassName = 'right-scroll-bar-position';\nexport var fullWidthClassName = 'width-before-scroll-bar';\nexport var noScrollbarsClassName = 'with-scroll-bars-hidden';\n/**\n * Name of a CSS variable containing the amount of \"hidden\" scrollbar\n * ! might be undefined ! use will fallback!\n */\nexport var removedBarSizeVariable = '--removed-body-scroll-bar-size';\n"],"names":["zeroRightClassName","fullWidthClassName","noScrollbarsClassName","removedBarSizeVariable"],"mappings":"AAAU,IAACA,IAAqB,6BACrBC,IAAqB,2BACrBC,IAAwB,2BAKxBC,IAAyB;","x_google_ignoreList":[0]}
package/dist/index286.js CHANGED
@@ -1,21 +1,6 @@
1
- const r = /^D+$/, s = /^Y+$/, a = ["D", "DD", "YY", "YYYY"];
2
- function i(e) {
3
- return r.test(e);
4
- }
5
- function f(e) {
6
- return s.test(e);
7
- }
8
- function d(e, o, n) {
9
- const t = c(e, o, n);
10
- if (console.warn(t), a.includes(e)) throw new RangeError(t);
11
- }
12
- function c(e, o, n) {
13
- const t = e[0] === "Y" ? "years" : "days of the month";
14
- return `Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${o}\`) for formatting ${t} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;
15
- }
1
+ import { createSidecarMedium as e } from "./index301.js";
2
+ var a = e();
16
3
  export {
17
- i as isProtectedDayOfYearToken,
18
- f as isProtectedWeekYearToken,
19
- d as warnOrThrowProtectedError
4
+ a as effectCar
20
5
  };
21
6
  //# sourceMappingURL=index286.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index286.js","sources":["../../../node_modules/date-fns/_lib/protectedTokens.js"],"sourcesContent":["const dayOfYearTokenRE = /^D+$/;\nconst weekYearTokenRE = /^Y+$/;\n\nconst throwTokens = [\"D\", \"DD\", \"YY\", \"YYYY\"];\n\nexport function isProtectedDayOfYearToken(token) {\n return dayOfYearTokenRE.test(token);\n}\n\nexport function isProtectedWeekYearToken(token) {\n return weekYearTokenRE.test(token);\n}\n\nexport function warnOrThrowProtectedError(token, format, input) {\n const _message = message(token, format, input);\n console.warn(_message);\n if (throwTokens.includes(token)) throw new RangeError(_message);\n}\n\nfunction message(token, format, input) {\n const subject = token[0] === \"Y\" ? \"years\" : \"days of the month\";\n return `Use \\`${token.toLowerCase()}\\` instead of \\`${token}\\` (in \\`${format}\\`) for formatting ${subject} to the input \\`${input}\\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`;\n}\n"],"names":["dayOfYearTokenRE","weekYearTokenRE","throwTokens","isProtectedDayOfYearToken","token","isProtectedWeekYearToken","warnOrThrowProtectedError","format","input","_message","message","subject"],"mappings":"AAAA,MAAMA,IAAmB,QACnBC,IAAkB,QAElBC,IAAc,CAAC,KAAK,MAAM,MAAM,MAAM;AAErC,SAASC,EAA0BC,GAAO;AAC/C,SAAOJ,EAAiB,KAAKI,CAAK;AACpC;AAEO,SAASC,EAAyBD,GAAO;AAC9C,SAAOH,EAAgB,KAAKG,CAAK;AACnC;AAEO,SAASE,EAA0BF,GAAOG,GAAQC,GAAO;AAC9D,QAAMC,IAAWC,EAAQN,GAAOG,GAAQC,CAAK;AAE7C,MADA,QAAQ,KAAKC,CAAQ,GACjBP,EAAY,SAASE,CAAK,EAAG,OAAM,IAAI,WAAWK,CAAQ;AAChE;AAEA,SAASC,EAAQN,GAAOG,GAAQC,GAAO;AACrC,QAAMG,IAAUP,EAAM,CAAC,MAAM,MAAM,UAAU;AAC7C,SAAO,SAASA,EAAM,YAAW,CAAE,mBAAmBA,CAAK,YAAYG,CAAM,sBAAsBI,CAAO,mBAAmBH,CAAK;AACpI;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index286.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/medium.js"],"sourcesContent":["import { createSidecarMedium } from 'use-sidecar';\nexport var effectCar = createSidecarMedium();\n"],"names":["effectCar","createSidecarMedium"],"mappings":";AACU,IAACA,IAAYC,EAAmB;","x_google_ignoreList":[0]}
package/dist/index287.js CHANGED
@@ -1,9 +1,27 @@
1
- import { isDate as r } from "./index205.js";
2
- import { toDate as i } from "./index278.js";
3
- function e(o) {
4
- return !(!r(o) && typeof o != "number" || isNaN(+i(o)));
1
+ import * as f from "react";
2
+ import { assignRef as o } from "./index310.js";
3
+ import { useCallbackRef as l } from "./index311.js";
4
+ var s = typeof window < "u" ? f.useLayoutEffect : f.useEffect, c = /* @__PURE__ */ new WeakMap();
5
+ function v(e, m) {
6
+ var t = l(null, function(n) {
7
+ return e.forEach(function(u) {
8
+ return o(u, n);
9
+ });
10
+ });
11
+ return s(function() {
12
+ var n = c.get(t);
13
+ if (n) {
14
+ var u = new Set(n), r = new Set(e), i = t.current;
15
+ u.forEach(function(a) {
16
+ r.has(a) || o(a, null);
17
+ }), r.forEach(function(a) {
18
+ u.has(a) || o(a, i);
19
+ });
20
+ }
21
+ c.set(t, e);
22
+ }, [e]), t;
5
23
  }
6
24
  export {
7
- e as isValid
25
+ v as useMergeRefs
8
26
  };
9
27
  //# sourceMappingURL=index287.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index287.js","sources":["../../../node_modules/date-fns/isValid.js"],"sourcesContent":["import { isDate } from \"./isDate.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * @name isValid\n * @category Common Helpers\n * @summary Is the given date valid?\n *\n * @description\n * Returns false if argument is Invalid Date and true otherwise.\n * Argument is converted to Date using `toDate`. See [toDate](https://date-fns.org/docs/toDate)\n * Invalid Date is a Date, whose time value is NaN.\n *\n * Time value of Date: http://es5.github.io/#x15.9.1.1\n *\n * @param date - The date to check\n *\n * @returns The date is valid\n *\n * @example\n * // For the valid date:\n * const result = isValid(new Date(2014, 1, 31))\n * //=> true\n *\n * @example\n * // For the value, convertible into a date:\n * const result = isValid(1393804800000)\n * //=> true\n *\n * @example\n * // For the invalid date:\n * const result = isValid(new Date(''))\n * //=> false\n */\nexport function isValid(date) {\n return !((!isDate(date) && typeof date !== \"number\") || isNaN(+toDate(date)));\n}\n\n// Fallback for modularized imports:\nexport default isValid;\n"],"names":["isValid","date","isDate","toDate"],"mappings":";;AAkCO,SAASA,EAAQC,GAAM;AAC5B,SAAO,EAAG,CAACC,EAAOD,CAAI,KAAK,OAAOA,KAAS,YAAa,MAAM,CAACE,EAAOF,CAAI,CAAC;AAC7E;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index287.js","sources":["../../../node_modules/use-callback-ref/dist/es2015/useMergeRef.js"],"sourcesContent":["import * as React from 'react';\nimport { assignRef } from './assignRef';\nimport { useCallbackRef } from './useRef';\nvar useIsomorphicLayoutEffect = typeof window !== 'undefined' ? React.useLayoutEffect : React.useEffect;\nvar currentValues = new WeakMap();\n/**\n * Merges two or more refs together providing a single interface to set their value\n * @param {RefObject|Ref} refs\n * @returns {MutableRefObject} - a new ref, which translates all changes to {refs}\n *\n * @see {@link mergeRefs} a version without buit-in memoization\n * @see https://github.com/theKashey/use-callback-ref#usemergerefs\n * @example\n * const Component = React.forwardRef((props, ref) => {\n * const ownRef = useRef();\n * const domRef = useMergeRefs([ref, ownRef]); // 👈 merge together\n * return <div ref={domRef}>...</div>\n * }\n */\nexport function useMergeRefs(refs, defaultValue) {\n var callbackRef = useCallbackRef(defaultValue || null, function (newValue) {\n return refs.forEach(function (ref) { return assignRef(ref, newValue); });\n });\n // handle refs changes - added or removed\n useIsomorphicLayoutEffect(function () {\n var oldValue = currentValues.get(callbackRef);\n if (oldValue) {\n var prevRefs_1 = new Set(oldValue);\n var nextRefs_1 = new Set(refs);\n var current_1 = callbackRef.current;\n prevRefs_1.forEach(function (ref) {\n if (!nextRefs_1.has(ref)) {\n assignRef(ref, null);\n }\n });\n nextRefs_1.forEach(function (ref) {\n if (!prevRefs_1.has(ref)) {\n assignRef(ref, current_1);\n }\n });\n }\n currentValues.set(callbackRef, refs);\n }, [refs]);\n return callbackRef;\n}\n"],"names":["useIsomorphicLayoutEffect","React","currentValues","useMergeRefs","refs","defaultValue","callbackRef","useCallbackRef","newValue","ref","assignRef","oldValue","prevRefs_1","nextRefs_1","current_1"],"mappings":";;;AAGA,IAAIA,IAA4B,OAAO,SAAW,MAAcC,EAAM,kBAAkBA,EAAM,WAC1FC,IAAgB,oBAAI,QAAO;AAexB,SAASC,EAAaC,GAAMC,GAAc;AAC7C,MAAIC,IAAcC,EAA+B,MAAM,SAAUC,GAAU;AACvE,WAAOJ,EAAK,QAAQ,SAAUK,GAAK;AAAE,aAAOC,EAAUD,GAAKD,CAAQ;AAAA,IAAG,CAAC;AAAA,EAC3E,CAAC;AAED,SAAAR,EAA0B,WAAY;AAClC,QAAIW,IAAWT,EAAc,IAAII,CAAW;AAC5C,QAAIK,GAAU;AACV,UAAIC,IAAa,IAAI,IAAID,CAAQ,GAC7BE,IAAa,IAAI,IAAIT,CAAI,GACzBU,IAAYR,EAAY;AAC5B,MAAAM,EAAW,QAAQ,SAAUH,GAAK;AAC9B,QAAKI,EAAW,IAAIJ,CAAG,KACnBC,EAAUD,GAAK,IAAI;AAAA,MAE3B,CAAC,GACDI,EAAW,QAAQ,SAAUJ,GAAK;AAC9B,QAAKG,EAAW,IAAIH,CAAG,KACnBC,EAAUD,GAAKK,CAAS;AAAA,MAEhC,CAAC;AAAA,IACL;AACA,IAAAZ,EAAc,IAAII,GAAaF,CAAI;AAAA,EACvC,GAAG,CAACA,CAAI,CAAC,GACFE;AACX;","x_google_ignoreList":[0]}
package/dist/index288.js CHANGED
@@ -1,11 +1,116 @@
1
- import { differenceInCalendarDays as a } from "./index190.js";
2
- import { startOfYear as e } from "./index217.js";
3
- import { toDate as o } from "./index278.js";
4
- function s(t, f) {
5
- const r = o(t, f?.in);
6
- return a(r, e(r)) + 1;
1
+ import { __spreadArray as N } from "./index239.js";
2
+ import * as n from "react";
3
+ import { RemoveScrollBar as W } from "./index302.js";
4
+ import { styleSingleton as F } from "./index303.js";
5
+ import { nonPassive as s } from "./index304.js";
6
+ import { locationCouldBeScrolled as B, handleScroll as K } from "./index305.js";
7
+ var k = function(e) {
8
+ return "changedTouches" in e ? [e.changedTouches[0].clientX, e.changedTouches[0].clientY] : [0, 0];
9
+ }, M = function(e) {
10
+ return [e.deltaX, e.deltaY];
11
+ }, X = function(e) {
12
+ return e && "current" in e ? e.current : e;
13
+ }, O = function(e, c) {
14
+ return e[0] === c[0] && e[1] === c[1];
15
+ }, Q = function(e) {
16
+ return `
17
+ .block-interactivity-`.concat(e, ` {pointer-events: none;}
18
+ .allow-interactivity-`).concat(e, ` {pointer-events: all;}
19
+ `);
20
+ }, Z = 0, f = [];
21
+ function J(e) {
22
+ var c = n.useRef([]), R = n.useRef([0, 0]), m = n.useRef(), h = n.useState(Z++)[0], g = n.useState(F)[0], S = n.useRef(e);
23
+ n.useEffect(function() {
24
+ S.current = e;
25
+ }, [e]), n.useEffect(function() {
26
+ if (e.inert) {
27
+ document.body.classList.add("block-interactivity-".concat(h));
28
+ var t = N([e.lockRef.current], (e.shards || []).map(X), !0).filter(Boolean);
29
+ return t.forEach(function(r) {
30
+ return r.classList.add("allow-interactivity-".concat(h));
31
+ }), function() {
32
+ document.body.classList.remove("block-interactivity-".concat(h)), t.forEach(function(r) {
33
+ return r.classList.remove("allow-interactivity-".concat(h));
34
+ });
35
+ };
36
+ }
37
+ }, [e.inert, e.lockRef.current, e.shards]);
38
+ var C = n.useCallback(function(t, r) {
39
+ if ("touches" in t && t.touches.length === 2 || t.type === "wheel" && t.ctrlKey)
40
+ return !S.current.allowPinchZoom;
41
+ var l = k(t), u = R.current, o = "deltaX" in t ? t.deltaX : u[0] - l[0], i = "deltaY" in t ? t.deltaY : u[1] - l[1], a, v = t.target, d = Math.abs(o) > Math.abs(i) ? "h" : "v";
42
+ if ("touches" in t && d === "h" && v.type === "range")
43
+ return !1;
44
+ var P = window.getSelection(), E = P && P.anchorNode, I = E ? E === v || E.contains(v) : !1;
45
+ if (I)
46
+ return !1;
47
+ var b = B(d, v);
48
+ if (!b)
49
+ return !0;
50
+ if (b ? a = d : (a = d === "v" ? "h" : "v", b = B(d, v)), !b)
51
+ return !1;
52
+ if (!m.current && "changedTouches" in t && (o || i) && (m.current = a), !a)
53
+ return !0;
54
+ var Y = m.current || a;
55
+ return K(Y, r, t, Y === "h" ? o : i);
56
+ }, []), y = n.useCallback(function(t) {
57
+ var r = t;
58
+ if (!(!f.length || f[f.length - 1] !== g)) {
59
+ var l = "deltaY" in r ? M(r) : k(r), u = c.current.filter(function(a) {
60
+ return a.name === r.type && (a.target === r.target || r.target === a.shadowParent) && O(a.delta, l);
61
+ })[0];
62
+ if (u && u.should) {
63
+ r.cancelable && r.preventDefault();
64
+ return;
65
+ }
66
+ if (!u) {
67
+ var o = (S.current.shards || []).map(X).filter(Boolean).filter(function(a) {
68
+ return a.contains(r.target);
69
+ }), i = o.length > 0 ? C(r, o[0]) : !S.current.noIsolation;
70
+ i && r.cancelable && r.preventDefault();
71
+ }
72
+ }
73
+ }, []), w = n.useCallback(function(t, r, l, u) {
74
+ var o = { name: t, delta: r, target: l, should: u, shadowParent: _(l) };
75
+ c.current.push(o), setTimeout(function() {
76
+ c.current = c.current.filter(function(i) {
77
+ return i !== o;
78
+ });
79
+ }, 1);
80
+ }, []), L = n.useCallback(function(t) {
81
+ R.current = k(t), m.current = void 0;
82
+ }, []), T = n.useCallback(function(t) {
83
+ w(t.type, M(t), t.target, C(t, e.lockRef.current));
84
+ }, []), D = n.useCallback(function(t) {
85
+ w(t.type, k(t), t.target, C(t, e.lockRef.current));
86
+ }, []);
87
+ n.useEffect(function() {
88
+ return f.push(g), e.setCallbacks({
89
+ onScrollCapture: T,
90
+ onWheelCapture: T,
91
+ onTouchMoveCapture: D
92
+ }), document.addEventListener("wheel", y, s), document.addEventListener("touchmove", y, s), document.addEventListener("touchstart", L, s), function() {
93
+ f = f.filter(function(t) {
94
+ return t !== g;
95
+ }), document.removeEventListener("wheel", y, s), document.removeEventListener("touchmove", y, s), document.removeEventListener("touchstart", L, s);
96
+ };
97
+ }, []);
98
+ var x = e.removeScrollBar, A = e.inert;
99
+ return n.createElement(
100
+ n.Fragment,
101
+ null,
102
+ A ? n.createElement(g, { styles: Q(h) }) : null,
103
+ x ? n.createElement(W, { noRelative: e.noRelative, gapMode: e.gapMode }) : null
104
+ );
105
+ }
106
+ function _(e) {
107
+ for (var c = null; e !== null; )
108
+ e instanceof ShadowRoot && (c = e.host, e = e.host), e = e.parentNode;
109
+ return c;
7
110
  }
8
111
  export {
9
- s as getDayOfYear
112
+ J as RemoveScrollSideCar,
113
+ M as getDeltaXY,
114
+ k as getTouchXY
10
115
  };
11
116
  //# sourceMappingURL=index288.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index288.js","sources":["../../../node_modules/date-fns/getDayOfYear.js"],"sourcesContent":["import { differenceInCalendarDays } from \"./differenceInCalendarDays.js\";\nimport { startOfYear } from \"./startOfYear.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getDayOfYear} function options.\n */\n\n/**\n * @name getDayOfYear\n * @category Day Helpers\n * @summary Get the day of the year of the given date.\n *\n * @description\n * Get the day of the year of the given date.\n *\n * @param date - The given date\n * @param options - The options\n *\n * @returns The day of year\n *\n * @example\n * // Which day of the year is 2 July 2014?\n * const result = getDayOfYear(new Date(2014, 6, 2))\n * //=> 183\n */\nexport function getDayOfYear(date, options) {\n const _date = toDate(date, options?.in);\n const diff = differenceInCalendarDays(_date, startOfYear(_date));\n const dayOfYear = diff + 1;\n return dayOfYear;\n}\n\n// Fallback for modularized imports:\nexport default getDayOfYear;\n"],"names":["getDayOfYear","date","options","_date","toDate","differenceInCalendarDays","startOfYear"],"mappings":";;;AA0BO,SAASA,EAAaC,GAAMC,GAAS;AAC1C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE;AAGtC,SAFaG,EAAyBF,GAAOG,EAAYH,CAAK,CAAC,IACtC;AAE3B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index288.js","sources":["../../../node_modules/react-remove-scroll/dist/es2015/SideEffect.js"],"sourcesContent":["import { __spreadArray } from \"tslib\";\nimport * as React from 'react';\nimport { RemoveScrollBar } from 'react-remove-scroll-bar';\nimport { styleSingleton } from 'react-style-singleton';\nimport { nonPassive } from './aggresiveCapture';\nimport { handleScroll, locationCouldBeScrolled } from './handleScroll';\nexport var getTouchXY = function (event) {\n return 'changedTouches' in event ? [event.changedTouches[0].clientX, event.changedTouches[0].clientY] : [0, 0];\n};\nexport var getDeltaXY = function (event) { return [event.deltaX, event.deltaY]; };\nvar extractRef = function (ref) {\n return ref && 'current' in ref ? ref.current : ref;\n};\nvar deltaCompare = function (x, y) { return x[0] === y[0] && x[1] === y[1]; };\nvar generateStyle = function (id) { return \"\\n .block-interactivity-\".concat(id, \" {pointer-events: none;}\\n .allow-interactivity-\").concat(id, \" {pointer-events: all;}\\n\"); };\nvar idCounter = 0;\nvar lockStack = [];\nexport function RemoveScrollSideCar(props) {\n var shouldPreventQueue = React.useRef([]);\n var touchStartRef = React.useRef([0, 0]);\n var activeAxis = React.useRef();\n var id = React.useState(idCounter++)[0];\n var Style = React.useState(styleSingleton)[0];\n var lastProps = React.useRef(props);\n React.useEffect(function () {\n lastProps.current = props;\n }, [props]);\n React.useEffect(function () {\n if (props.inert) {\n document.body.classList.add(\"block-interactivity-\".concat(id));\n var allow_1 = __spreadArray([props.lockRef.current], (props.shards || []).map(extractRef), true).filter(Boolean);\n allow_1.forEach(function (el) { return el.classList.add(\"allow-interactivity-\".concat(id)); });\n return function () {\n document.body.classList.remove(\"block-interactivity-\".concat(id));\n allow_1.forEach(function (el) { return el.classList.remove(\"allow-interactivity-\".concat(id)); });\n };\n }\n return;\n }, [props.inert, props.lockRef.current, props.shards]);\n var shouldCancelEvent = React.useCallback(function (event, parent) {\n if (('touches' in event && event.touches.length === 2) || (event.type === 'wheel' && event.ctrlKey)) {\n return !lastProps.current.allowPinchZoom;\n }\n var touch = getTouchXY(event);\n var touchStart = touchStartRef.current;\n var deltaX = 'deltaX' in event ? event.deltaX : touchStart[0] - touch[0];\n var deltaY = 'deltaY' in event ? event.deltaY : touchStart[1] - touch[1];\n var currentAxis;\n var target = event.target;\n var moveDirection = Math.abs(deltaX) > Math.abs(deltaY) ? 'h' : 'v';\n // allow horizontal touch move on Range inputs. They will not cause any scroll\n if ('touches' in event && moveDirection === 'h' && target.type === 'range') {\n return false;\n }\n // allow drag selection (iOS); check if selection's anchorNode is the same as target or contains target\n var selection = window.getSelection();\n var anchorNode = selection && selection.anchorNode;\n var isTouchingSelection = anchorNode ? anchorNode === target || anchorNode.contains(target) : false;\n if (isTouchingSelection) {\n return false;\n }\n var canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n if (!canBeScrolledInMainDirection) {\n return true;\n }\n if (canBeScrolledInMainDirection) {\n currentAxis = moveDirection;\n }\n else {\n currentAxis = moveDirection === 'v' ? 'h' : 'v';\n canBeScrolledInMainDirection = locationCouldBeScrolled(moveDirection, target);\n // other axis might be not scrollable\n }\n if (!canBeScrolledInMainDirection) {\n return false;\n }\n if (!activeAxis.current && 'changedTouches' in event && (deltaX || deltaY)) {\n activeAxis.current = currentAxis;\n }\n if (!currentAxis) {\n return true;\n }\n var cancelingAxis = activeAxis.current || currentAxis;\n return handleScroll(cancelingAxis, parent, event, cancelingAxis === 'h' ? deltaX : deltaY, true);\n }, []);\n var shouldPrevent = React.useCallback(function (_event) {\n var event = _event;\n if (!lockStack.length || lockStack[lockStack.length - 1] !== Style) {\n // not the last active\n return;\n }\n var delta = 'deltaY' in event ? getDeltaXY(event) : getTouchXY(event);\n var sourceEvent = shouldPreventQueue.current.filter(function (e) { return e.name === event.type && (e.target === event.target || event.target === e.shadowParent) && deltaCompare(e.delta, delta); })[0];\n // self event, and should be canceled\n if (sourceEvent && sourceEvent.should) {\n if (event.cancelable) {\n event.preventDefault();\n }\n return;\n }\n // outside or shard event\n if (!sourceEvent) {\n var shardNodes = (lastProps.current.shards || [])\n .map(extractRef)\n .filter(Boolean)\n .filter(function (node) { return node.contains(event.target); });\n var shouldStop = shardNodes.length > 0 ? shouldCancelEvent(event, shardNodes[0]) : !lastProps.current.noIsolation;\n if (shouldStop) {\n if (event.cancelable) {\n event.preventDefault();\n }\n }\n }\n }, []);\n var shouldCancel = React.useCallback(function (name, delta, target, should) {\n var event = { name: name, delta: delta, target: target, should: should, shadowParent: getOutermostShadowParent(target) };\n shouldPreventQueue.current.push(event);\n setTimeout(function () {\n shouldPreventQueue.current = shouldPreventQueue.current.filter(function (e) { return e !== event; });\n }, 1);\n }, []);\n var scrollTouchStart = React.useCallback(function (event) {\n touchStartRef.current = getTouchXY(event);\n activeAxis.current = undefined;\n }, []);\n var scrollWheel = React.useCallback(function (event) {\n shouldCancel(event.type, getDeltaXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n var scrollTouchMove = React.useCallback(function (event) {\n shouldCancel(event.type, getTouchXY(event), event.target, shouldCancelEvent(event, props.lockRef.current));\n }, []);\n React.useEffect(function () {\n lockStack.push(Style);\n props.setCallbacks({\n onScrollCapture: scrollWheel,\n onWheelCapture: scrollWheel,\n onTouchMoveCapture: scrollTouchMove,\n });\n document.addEventListener('wheel', shouldPrevent, nonPassive);\n document.addEventListener('touchmove', shouldPrevent, nonPassive);\n document.addEventListener('touchstart', scrollTouchStart, nonPassive);\n return function () {\n lockStack = lockStack.filter(function (inst) { return inst !== Style; });\n document.removeEventListener('wheel', shouldPrevent, nonPassive);\n document.removeEventListener('touchmove', shouldPrevent, nonPassive);\n document.removeEventListener('touchstart', scrollTouchStart, nonPassive);\n };\n }, []);\n var removeScrollBar = props.removeScrollBar, inert = props.inert;\n return (React.createElement(React.Fragment, null,\n inert ? React.createElement(Style, { styles: generateStyle(id) }) : null,\n removeScrollBar ? React.createElement(RemoveScrollBar, { noRelative: props.noRelative, gapMode: props.gapMode }) : null));\n}\nfunction getOutermostShadowParent(node) {\n var shadowParent = null;\n while (node !== null) {\n if (node instanceof ShadowRoot) {\n shadowParent = node.host;\n node = node.host;\n }\n node = node.parentNode;\n }\n return shadowParent;\n}\n"],"names":["getTouchXY","event","getDeltaXY","extractRef","ref","deltaCompare","x","y","generateStyle","id","idCounter","lockStack","RemoveScrollSideCar","props","shouldPreventQueue","React","touchStartRef","activeAxis","Style","styleSingleton","lastProps","allow_1","__spreadArray","el","shouldCancelEvent","parent","touch","touchStart","deltaX","deltaY","currentAxis","target","moveDirection","selection","anchorNode","isTouchingSelection","canBeScrolledInMainDirection","locationCouldBeScrolled","cancelingAxis","handleScroll","shouldPrevent","_event","delta","sourceEvent","e","shardNodes","node","shouldStop","shouldCancel","name","should","getOutermostShadowParent","scrollTouchStart","scrollWheel","scrollTouchMove","nonPassive","inst","removeScrollBar","inert","RemoveScrollBar","shadowParent"],"mappings":";;;;;;AAMU,IAACA,IAAa,SAAUC,GAAO;AACrC,SAAO,oBAAoBA,IAAQ,CAACA,EAAM,eAAe,CAAC,EAAE,SAASA,EAAM,eAAe,CAAC,EAAE,OAAO,IAAI,CAAC,GAAG,CAAC;AACjH,GACWC,IAAa,SAAUD,GAAO;AAAE,SAAO,CAACA,EAAM,QAAQA,EA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cA,EAAM;AAAA,IAAU;AAAA,IACxC2C,IAAQ3C,EAAM,cAAcG,GAAO,EAAE,QAAQV,EAAcC,CAAE,EAAC,CAAE,IAAI;AAAA,IACpEgD,IAAkB1C,EAAM,cAAc4C,GAAiB,EAAE,YAAY9C,EAAM,YAAY,SAASA,EAAM,QAAO,CAAE,IAAI;AAAA,EAAI;AAC/H;AACA,SAASsC,EAAyBL,GAAM;AAEpC,WADIc,IAAe,MACZd,MAAS;AACZ,IAAIA,aAAgB,eAChBc,IAAed,EAAK,MACpBA,IAAOA,EAAK,OAEhBA,IAAOA,EAAK;AAEhB,SAAOc;AACX;","x_google_ignoreList":[0]}
package/dist/index289.js CHANGED
@@ -1,10 +1,19 @@
1
- import { constructFrom as a } from "./index277.js";
2
- import { toDate as c } from "./index278.js";
3
- function l(e, n) {
4
- const t = c(e, n?.in), r = t.getFullYear(), s = t.getMonth(), o = a(t, 0);
5
- return o.setFullYear(r, s + 1, 0), o.setHours(0, 0, 0, 0), o.getDate();
1
+ import { __rest as o, __assign as d } from "./index239.js";
2
+ import * as n from "react";
3
+ var i = function(r) {
4
+ var e = r.sideCar, a = o(r, ["sideCar"]);
5
+ if (!e)
6
+ throw new Error("Sidecar: please provide `sideCar` property to import the right car");
7
+ var t = e.read();
8
+ if (!t)
9
+ throw new Error("Sidecar medium not found");
10
+ return n.createElement(t, d({}, a));
11
+ };
12
+ i.isSideCarExport = !0;
13
+ function p(r, e) {
14
+ return r.useMedium(e), i;
6
15
  }
7
16
  export {
8
- l as getDaysInMonth
17
+ p as exportSidecar
9
18
  };
10
19
  //# sourceMappingURL=index289.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index289.js","sources":["../../../node_modules/date-fns/getDaysInMonth.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\nimport { toDate } from \"./toDate.js\";\n\n/**\n * The {@link getDaysInMonth} function options.\n */\n\n/**\n * @name getDaysInMonth\n * @category Month Helpers\n * @summary Get the number of days in a month of the given date.\n *\n * @description\n * Get the number of days in a month of the given date, considering the context if provided.\n *\n * @param date - The given date\n * @param options - An object with options\n *\n * @returns The number of days in a month\n *\n * @example\n * // How many days are in February 2000?\n * const result = getDaysInMonth(new Date(2000, 1))\n * //=> 29\n */\nexport function getDaysInMonth(date, options) {\n const _date = toDate(date, options?.in);\n const year = _date.getFullYear();\n const monthIndex = _date.getMonth();\n const lastDayOfMonth = constructFrom(_date, 0);\n lastDayOfMonth.setFullYear(year, monthIndex + 1, 0);\n lastDayOfMonth.setHours(0, 0, 0, 0);\n return lastDayOfMonth.getDate();\n}\n\n// Fallback for modularized imports:\nexport default getDaysInMonth;\n"],"names":["getDaysInMonth","date","options","_date","toDate","year","monthIndex","lastDayOfMonth","constructFrom"],"mappings":";;AAyBO,SAASA,EAAeC,GAAMC,GAAS;AAC5C,QAAMC,IAAQC,EAAOH,GAAMC,GAAS,EAAE,GAChCG,IAAOF,EAAM,YAAW,GACxBG,IAAaH,EAAM,SAAQ,GAC3BI,IAAiBC,EAAcL,GAAO,CAAC;AAC7C,SAAAI,EAAe,YAAYF,GAAMC,IAAa,GAAG,CAAC,GAClDC,EAAe,SAAS,GAAG,GAAG,GAAG,CAAC,GAC3BA,EAAe,QAAO;AAC/B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index289.js","sources":["../../../node_modules/use-sidecar/dist/es2015/exports.js"],"sourcesContent":["import { __assign, __rest } from \"tslib\";\nimport * as React from 'react';\nvar SideCar = function (_a) {\n var sideCar = _a.sideCar, rest = __rest(_a, [\"sideCar\"]);\n if (!sideCar) {\n throw new Error('Sidecar: please provide `sideCar` property to import the right car');\n }\n var Target = sideCar.read();\n if (!Target) {\n throw new Error('Sidecar medium not found');\n }\n return React.createElement(Target, __assign({}, rest));\n};\nSideCar.isSideCarExport = true;\nexport function exportSidecar(medium, exported) {\n medium.useMedium(exported);\n return SideCar;\n}\n"],"names":["SideCar","_a","sideCar","rest","__rest","Target","React","__assign","exportSidecar","medium","exported"],"mappings":";;AAEA,IAAIA,IAAU,SAAUC,GAAI;AACxB,MAAIC,IAAUD,EAAG,SAASE,IAAOC,EAAOH,GAAI,CAAC,SAAS,CAAC;AACvD,MAAI,CAACC;AACD,UAAM,IAAI,MAAM,oEAAoE;AAExF,MAAIG,IAASH,EAAQ,KAAI;AACzB,MAAI,CAACG;AACD,UAAM,IAAI,MAAM,0BAA0B;AAE9C,SAAOC,EAAM,cAAcD,GAAQE,EAAS,CAAA,GAAIJ,CAAI,CAAC;AACzD;AACAH,EAAQ,kBAAkB;AACnB,SAASQ,EAAcC,GAAQC,GAAU;AAC5C,SAAAD,EAAO,UAAUC,CAAQ,GAClBV;AACX;","x_google_ignoreList":[0]}
package/dist/index29.js CHANGED
@@ -1,6 +1,40 @@
1
- import { __require as r } from "./index43.js";
2
- var i = r();
1
+ function w(o, e) {
2
+ o.src = e;
3
+ }
4
+ const v = (o) => {
5
+ var e, r, a, m = "The Google Maps JavaScript API", n = "google", p = "importLibrary", _ = "__ib__", l = document, E = window, u = E[n] || (E[n] = {}), i = u.maps || (u.maps = {}), f = /* @__PURE__ */ new Set(), t = new URLSearchParams(), S = () => e || (e = new Promise(async (s, c) => {
6
+ await (r = l.createElement("script")), t.set("libraries", [...f] + "");
7
+ for (a in o)
8
+ t.set(a.replace(/[A-Z]/g, (b) => "_" + b[0].toLowerCase()), o[a]);
9
+ t.set("callback", n + ".maps." + _), w(r, "https://maps.googleapis.com/maps/api/js?" + t), i[_] = s, r.onerror = () => e = c(Error(m + " could not load.")), r.nonce = l.querySelector("script[nonce]")?.nonce || "", l.head.append(r);
10
+ }));
11
+ i[p] ? console.warn(m + " only loads once. Ignoring:", o) : i[p] = (s, ...c) => f.add(s) && S().then(() => i[p](s, ...c));
12
+ }, y = (o) => `The setOptions() function should only be called once. The options passed to the additional call (${JSON.stringify(o)}) will be ignored.`, O = (o) => `The google.maps.importLibrary() function is already defined, and @googlemaps/js-api-loader will use the existing function instead of overwriting it. The options passed to setOptions (${JSON.stringify(o)}) will be ignored.`, T = "No options were set before calling importLibrary. Make sure to configure the loader using setOptions().", L = "There already is a script loading the Google Maps JavaScript API, and no google.maps.importLibrary function is defined. @googlemaps/js-api-loader will proceed to bootstrap the API with the specified options, but the existing script might cause problems using the API. Make sure to remove the script loading the API.", h = process.env.NODE_ENV !== "production", d = h ? (o) => {
13
+ console.warn(`[@googlemaps/js-api-loader] ${o}`);
14
+ } : () => {
15
+ }, P = h ? (o) => {
16
+ console.info(`[@googlemaps/js-api-loader] ${o}`);
17
+ } : () => {
18
+ }, I = process.env.NODE_ENV !== "production";
19
+ let g = !1;
20
+ function A(o) {
21
+ if (g) {
22
+ d(y(o));
23
+ return;
24
+ }
25
+ N(o), g = !0;
26
+ }
27
+ async function M(o) {
28
+ if (g || d(T), !window?.google?.maps?.importLibrary)
29
+ throw new Error("google.maps.importLibrary is not installed.");
30
+ return await google.maps.importLibrary(o);
31
+ }
32
+ function N(o) {
33
+ const e = !!window.google?.maps?.importLibrary;
34
+ e ? P(O(o)) : I && document.querySelector('script[src*="maps.googleapis.com/maps/api/js"]') && d(L), e || v(o);
35
+ }
3
36
  export {
4
- i as c
37
+ M as importLibrary,
38
+ A as setOptions
5
39
  };
6
40
  //# sourceMappingURL=index29.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index29.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
1
+ {"version":3,"file":"index29.js","sources":["../../../node_modules/@googlemaps/js-api-loader/dist/index.js"],"sourcesContent":["/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\nfunction setScriptSrc(script, src) {\n script.src = src;\n}\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n\n\nconst bootstrap = bootstrapParams => {\n var bootstrapPromise;\n var script;\n var bootstrapParamsKey;\n var PRODUCT_NAME = \"The Google Maps JavaScript API\";\n var GOOGLE = \"google\";\n var IMPORT_API_NAME = \"importLibrary\";\n var PENDING_BOOTSTRAP_KEY = \"__ib__\";\n var doc = document;\n var global_ = window;\n var google_ = global_[GOOGLE] || (global_[GOOGLE] = {});\n var namespace = google_.maps || (google_.maps = {});\n var libraries = new Set();\n var searchParams = new URLSearchParams();\n var triggerBootstrap = () => bootstrapPromise || (bootstrapPromise = new Promise(async(resolve, reject) => {\n await (script = doc.createElement(\"script\"));\n searchParams.set(\"libraries\", [...libraries] + \"\");\n for (bootstrapParamsKey in bootstrapParams) {\n searchParams.set(bootstrapParamsKey.replace(/[A-Z]/g, g => \"_\" + g[0].toLowerCase()), bootstrapParams[bootstrapParamsKey]);\n }\n searchParams.set(\"callback\", GOOGLE + \".maps.\" + PENDING_BOOTSTRAP_KEY);\n setScriptSrc(script, \"https://maps.googleapis.com/maps/api/js?\" + searchParams);\n namespace[PENDING_BOOTSTRAP_KEY] = resolve;\n script.onerror = () => bootstrapPromise = reject(Error(PRODUCT_NAME + \" could not load.\"));\n script.nonce = doc.querySelector(\"script[nonce]\")?.nonce || \"\";\n doc.head.append(script);\n }));\n namespace[IMPORT_API_NAME] ? console.warn(PRODUCT_NAME + \" only loads once. Ignoring:\", bootstrapParams) : namespace[IMPORT_API_NAME] = (libraryName, ...args) => libraries.add(libraryName) && triggerBootstrap().then(() => namespace[IMPORT_API_NAME](libraryName, ...args));\n};\n\nconst MSG_DEPRECATED_LOADER = \"The Loader class is no longer available in this version.\" +\n \"\\nPlease use the new functional API: setOptions() and importLibrary().\" +\n \"\\nFor more information, see the updated documentation at: \" +\n \"https://github.com/googlemaps/js-api-loader/blob/main/README.md\";\nconst MSG_REPEATED_SET_OPTIONS = (options) => `The setOptions() function should only be called once. The options passed ` +\n `to the additional call (${JSON.stringify(options)}) will be ignored.`;\nconst MSG_IMPORT_LIBRARY_EXISTS = (options) => `The google.maps.importLibrary() function is already defined, and ` +\n `@googlemaps/js-api-loader will use the existing function instead of ` +\n `overwriting it. The options passed to setOptions ` +\n `(${JSON.stringify(options)}) will be ignored.`;\nconst MSG_SET_OPTIONS_NOT_CALLED = \"No options were set before calling importLibrary. Make sure to configure \" +\n \"the loader using setOptions().\";\nconst MSG_SCRIPT_ELEMENT_EXISTS = \"There already is a script loading the Google Maps JavaScript \" +\n \"API, and no google.maps.importLibrary function is defined. \" +\n \"@googlemaps/js-api-loader will proceed to bootstrap the API \" +\n \"with the specified options, but the existing script might cause \" +\n \"problems using the API. Make sure to remove the script \" +\n \"loading the API.\";\nconst __DEV__$1 = process.env.NODE_ENV !== 'production';\nconst logDevWarning = __DEV__$1\n ? (message) => {\n console.warn(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\nconst logDevNotice = __DEV__$1\n ? (message) => {\n console.info(`[@googlemaps/js-api-loader] ${message}`);\n }\n : () => { };\n\n/*\n * Copyright 2025 Google LLC\n * SPDX-License-Identifier: Apache-2.0\n */\n/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-unused-vars */\n/**\n * @deprecated Use the new functional API: `setOptions()` and `importLibrary()`.\n * See the migration guide for more details: MIGRATION.md\n */\nclass Loader {\n constructor(...args) {\n throw new Error(`[@googlemaps/js-api-loader]: ${MSG_DEPRECATED_LOADER}`);\n }\n}\n\n/*\n * Copyright 2025 Google LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nconst __DEV__ = process.env.NODE_ENV !== 'production';\nlet setOptionsWasCalled_ = false;\n/**\n * Sets the options for the Maps JavaScript API.\n *\n * Has to be called before any library is loaded.\n *\n * See https://developers.google.com/maps/documentation/javascript/load-maps-js-api#required_parameters\n * for the full documentation of available options.\n *\n * @param options The options to set.\n */\nfunction setOptions(options) {\n if (setOptionsWasCalled_) {\n logDevWarning(MSG_REPEATED_SET_OPTIONS(options));\n return;\n }\n installImportLibrary_(options);\n setOptionsWasCalled_ = true;\n}\nasync function importLibrary(libraryName) {\n if (!setOptionsWasCalled_) {\n logDevWarning(MSG_SET_OPTIONS_NOT_CALLED);\n }\n if (!window?.google?.maps?.importLibrary) {\n throw new Error(\"google.maps.importLibrary is not installed.\");\n }\n return (await google.maps.importLibrary(libraryName));\n}\n/**\n * The installImportLibrary_ function makes sure that a usable version of the\n * `google.maps.importLibrary` function exists.\n */\nfunction installImportLibrary_(options) {\n const importLibraryExists = Boolean(window.google?.maps?.importLibrary);\n if (importLibraryExists) {\n logDevNotice(MSG_IMPORT_LIBRARY_EXISTS(options));\n }\n else if (__DEV__) {\n const scriptEl = document.querySelector('script[src*=\"maps.googleapis.com/maps/api/js\"]');\n if (scriptEl) {\n logDevWarning(MSG_SCRIPT_ELEMENT_EXISTS);\n }\n }\n // If the google.maps.importLibrary function already exists, bootstrap()\n // won't do anything, so we won't call it\n if (!importLibraryExists) {\n bootstrap(options);\n }\n}\n\nexport { Loader, importLibrary, setOptions };\n//# sourceMappingURL=index.js.map\n"],"names":["setScriptSrc","script","src","bootstrap","bootstrapParams","bootstrapPromise","bootstrapParamsKey","PRODUCT_NAME","GOOGLE","IMPORT_API_NAME","PENDING_BOOTSTRAP_KEY","doc","global_","google_","namespace","libraries","searchParams","triggerBootstrap","resolve","reject","g","libraryName","args","MSG_REPEATED_SET_OPTIONS","options","MSG_IMPORT_LIBRARY_EXISTS","MSG_SET_OPTIONS_NOT_CALLED","MSG_SCRIPT_ELEMENT_EXISTS","__DEV__$1","logDevWarning","message","logDevNotice","__DEV__","setOptionsWasCalled_","setOptions","installImportLibrary_","importLibrary","importLibraryExists"],"mappings":"AAIA,SAASA,EAAaC,GAAQC,GAAK;AAC/B,EAAAD,EAAO,MAAMC;AACjB;AAQA,MAAMC,IAAY,CAAAC,MAAmB;AACnC,MAAIC,GACAJ,GACAK,GACAC,IAAe,kCACfC,IAAS,UACTC,IAAkB,iB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