@rpcbase/ui 0.172.0 → 0.173.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 (587) hide show
  1. package/dist/components/DayPickerField/index.d.ts.map +1 -1
  2. package/dist/index10.js +1 -1
  3. package/dist/index100.js +4 -9
  4. package/dist/index100.js.map +1 -1
  5. package/dist/index101.js +6 -42
  6. package/dist/index101.js.map +1 -1
  7. package/dist/index102.js +145 -4
  8. package/dist/index102.js.map +1 -1
  9. package/dist/index103.js +40 -52
  10. package/dist/index103.js.map +1 -1
  11. package/dist/index104.js +4 -4
  12. package/dist/index104.js.map +1 -1
  13. package/dist/index105.js +7 -4
  14. package/dist/index105.js.map +1 -1
  15. package/dist/index106.js +13 -15
  16. package/dist/index106.js.map +1 -1
  17. package/dist/index107.js +13 -5
  18. package/dist/index107.js.map +1 -1
  19. package/dist/index108.js +7 -7
  20. package/dist/index108.js.map +1 -1
  21. package/dist/index109.js +31 -16
  22. package/dist/index109.js.map +1 -1
  23. package/dist/index11.js +120 -119
  24. package/dist/index11.js.map +1 -1
  25. package/dist/index110.js +10 -4
  26. package/dist/index110.js.map +1 -1
  27. package/dist/index111.js +10 -4
  28. package/dist/index111.js.map +1 -1
  29. package/dist/index112.js +8 -5
  30. package/dist/index112.js.map +1 -1
  31. package/dist/index113.js +13 -5
  32. package/dist/index113.js.map +1 -1
  33. package/dist/index114.js +101 -4
  34. package/dist/index114.js.map +1 -1
  35. package/dist/index115.js +20 -5
  36. package/dist/index115.js.map +1 -1
  37. package/dist/index116.js +53 -6
  38. package/dist/index116.js.map +1 -1
  39. package/dist/index117.js +71 -23
  40. package/dist/index117.js.map +1 -1
  41. package/dist/index118.js +9 -6
  42. package/dist/index118.js.map +1 -1
  43. package/dist/index119.js +20 -4
  44. package/dist/index119.js.map +1 -1
  45. package/dist/index12.js +1 -1
  46. package/dist/index120.js +16 -6
  47. package/dist/index120.js.map +1 -1
  48. package/dist/index121.js +23 -5
  49. package/dist/index121.js.map +1 -1
  50. package/dist/index122.js +6 -4
  51. package/dist/index122.js.map +1 -1
  52. package/dist/index123.js +5 -5
  53. package/dist/index123.js.map +1 -1
  54. package/dist/index124.js +23 -4
  55. package/dist/index124.js.map +1 -1
  56. package/dist/index125.js +35 -9
  57. package/dist/index125.js.map +1 -1
  58. package/dist/index126.js +16 -6
  59. package/dist/index126.js.map +1 -1
  60. package/dist/index127.js +6 -4
  61. package/dist/index127.js.map +1 -1
  62. package/dist/index128.js +4 -4
  63. package/dist/index128.js.map +1 -1
  64. package/dist/index129.js +4 -6
  65. package/dist/index129.js.map +1 -1
  66. package/dist/index13.js +2 -2
  67. package/dist/index130.js +4 -145
  68. package/dist/index130.js.map +1 -1
  69. package/dist/index131.js +4 -39
  70. package/dist/index131.js.map +1 -1
  71. package/dist/index132.js +3 -4
  72. package/dist/index132.js.map +1 -1
  73. package/dist/index133.js +6 -7
  74. package/dist/index133.js.map +1 -1
  75. package/dist/index134.js +24 -14
  76. package/dist/index134.js.map +1 -1
  77. package/dist/index135.js +7 -13
  78. package/dist/index135.js.map +1 -1
  79. package/dist/index136.js +6 -7
  80. package/dist/index136.js.map +1 -1
  81. package/dist/index137.js +5 -31
  82. package/dist/index137.js.map +1 -1
  83. package/dist/index138.js +3 -10
  84. package/dist/index138.js.map +1 -1
  85. package/dist/index139.js +3 -10
  86. package/dist/index139.js.map +1 -1
  87. package/dist/index14.js +4 -4
  88. package/dist/index140.js +4 -8
  89. package/dist/index140.js.map +1 -1
  90. package/dist/index141.js +3 -13
  91. package/dist/index141.js.map +1 -1
  92. package/dist/index142.js +4 -101
  93. package/dist/index142.js.map +1 -1
  94. package/dist/index143.js +4 -20
  95. package/dist/index143.js.map +1 -1
  96. package/dist/index144.js +3 -53
  97. package/dist/index144.js.map +1 -1
  98. package/dist/index145.js +3 -72
  99. package/dist/index145.js.map +1 -1
  100. package/dist/index146.js +46 -9
  101. package/dist/index146.js.map +1 -1
  102. package/dist/index147.js +5 -20
  103. package/dist/index147.js.map +1 -1
  104. package/dist/index148.js +66 -14
  105. package/dist/index148.js.map +1 -1
  106. package/dist/index149.js +2 -24
  107. package/dist/index149.js.map +1 -1
  108. package/dist/index15.js +1 -1
  109. package/dist/index150.js +363 -6
  110. package/dist/index150.js.map +1 -1
  111. package/dist/index151.js +261 -5
  112. package/dist/index151.js.map +1 -1
  113. package/dist/index152.js +55 -18
  114. package/dist/index152.js.map +1 -1
  115. package/dist/index153.js +46 -34
  116. package/dist/index153.js.map +1 -1
  117. package/dist/index154.js +170 -16
  118. package/dist/index154.js.map +1 -1
  119. package/dist/index155.js +109 -6
  120. package/dist/index155.js.map +1 -1
  121. package/dist/index156.js +24 -4
  122. package/dist/index156.js.map +1 -1
  123. package/dist/index157.js +8 -5
  124. package/dist/index157.js.map +1 -1
  125. package/dist/index158.js +4 -4
  126. package/dist/index158.js.map +1 -1
  127. package/dist/index159.js +5 -4
  128. package/dist/index159.js.map +1 -1
  129. package/dist/index16.js +1 -1
  130. package/dist/index160.js +4 -3
  131. package/dist/index160.js.map +1 -1
  132. package/dist/index161.js +466 -6
  133. package/dist/index161.js.map +1 -1
  134. package/dist/index162.js +186 -24
  135. package/dist/index162.js.map +1 -1
  136. package/dist/index163.js +107 -7
  137. package/dist/index163.js.map +1 -1
  138. package/dist/index164.js +262 -6
  139. package/dist/index164.js.map +1 -1
  140. package/dist/index165.js +9 -5
  141. package/dist/index165.js.map +1 -1
  142. package/dist/index166.js +42 -3
  143. package/dist/index166.js.map +1 -1
  144. package/dist/index167.js +4 -3
  145. package/dist/index167.js.map +1 -1
  146. package/dist/index168.js +46 -4
  147. package/dist/index168.js.map +1 -1
  148. package/dist/index169.js +205 -3
  149. package/dist/index169.js.map +1 -1
  150. package/dist/index17.js +1 -1
  151. package/dist/index170.js +22 -5
  152. package/dist/index170.js.map +1 -1
  153. package/dist/index171.js +24 -3
  154. package/dist/index171.js.map +1 -1
  155. package/dist/index172.js +399 -3
  156. package/dist/index172.js.map +1 -1
  157. package/dist/index173.js +605 -3
  158. package/dist/index173.js.map +1 -1
  159. package/dist/index174.js +16 -24
  160. package/dist/index174.js.map +1 -1
  161. package/dist/index175.js +6 -29
  162. package/dist/index175.js.map +1 -1
  163. package/dist/index176.js +6 -5
  164. package/dist/index176.js.map +1 -1
  165. package/dist/index177.js +58 -67
  166. package/dist/index177.js.map +1 -1
  167. package/dist/index178.js +62 -176
  168. package/dist/index178.js.map +1 -1
  169. package/dist/index179.js +6 -46
  170. package/dist/index179.js.map +1 -1
  171. package/dist/index18.js +2 -2
  172. package/dist/index180.js +4 -13
  173. package/dist/index180.js.map +1 -1
  174. package/dist/index181.js +7 -154
  175. package/dist/index181.js.map +1 -1
  176. package/dist/index182.js +17 -30
  177. package/dist/index182.js.map +1 -1
  178. package/dist/index183.js +5 -9
  179. package/dist/index183.js.map +1 -1
  180. package/dist/index184.js +5 -47
  181. package/dist/index184.js.map +1 -1
  182. package/dist/index185.js +13 -11
  183. package/dist/index185.js.map +1 -1
  184. package/dist/index186.js +10 -44
  185. package/dist/index186.js.map +1 -1
  186. package/dist/index187.js +14 -95
  187. package/dist/index187.js.map +1 -1
  188. package/dist/index188.js +14 -86
  189. package/dist/index188.js.map +1 -1
  190. package/dist/index189.js +5 -105
  191. package/dist/index189.js.map +1 -1
  192. package/dist/index19.js +7 -7
  193. package/dist/index190.js +6 -52
  194. package/dist/index190.js.map +1 -1
  195. package/dist/index191.js +7 -11
  196. package/dist/index191.js.map +1 -1
  197. package/dist/index192.js +6 -37
  198. package/dist/index192.js.map +1 -1
  199. package/dist/index193.js +9 -8
  200. package/dist/index193.js.map +1 -1
  201. package/dist/index194.js +5 -116
  202. package/dist/index194.js.map +1 -1
  203. package/dist/index195.js +5 -17
  204. package/dist/index195.js.map +1 -1
  205. package/dist/index196.js +9 -15
  206. package/dist/index196.js.map +1 -1
  207. package/dist/index197.js +5 -3
  208. package/dist/index197.js.map +1 -1
  209. package/dist/index198.js +5 -36
  210. package/dist/index198.js.map +1 -1
  211. package/dist/index199.js +4 -20
  212. package/dist/index199.js.map +1 -1
  213. package/dist/index20.js +2 -2
  214. package/dist/index200.js +11 -9
  215. package/dist/index200.js.map +1 -1
  216. package/dist/index201.js +10 -8
  217. package/dist/index201.js.map +1 -1
  218. package/dist/index202.js +10 -19
  219. package/dist/index202.js.map +1 -1
  220. package/dist/index203.js +11 -28
  221. package/dist/index203.js.map +1 -1
  222. package/dist/index204.js +11 -16
  223. package/dist/index204.js.map +1 -1
  224. package/dist/index205.js +10 -58
  225. package/dist/index205.js.map +1 -1
  226. package/dist/index206.js +7 -8
  227. package/dist/index206.js.map +1 -1
  228. package/dist/index207.js +6 -66
  229. package/dist/index207.js.map +1 -1
  230. package/dist/index208.js +5 -19
  231. package/dist/index208.js.map +1 -1
  232. package/dist/index209.js +6 -16
  233. package/dist/index209.js.map +1 -1
  234. package/dist/index21.js +1 -1
  235. package/dist/index210.js +7 -5
  236. package/dist/index210.js.map +1 -1
  237. package/dist/index211.js +6 -5
  238. package/dist/index211.js.map +1 -1
  239. package/dist/index212.js +55 -6
  240. package/dist/index212.js.map +1 -1
  241. package/dist/index213.js +8 -4
  242. package/dist/index213.js.map +1 -1
  243. package/dist/index214.js +19 -7
  244. package/dist/index214.js.map +1 -1
  245. package/dist/index215.js +23 -17
  246. package/dist/index215.js.map +1 -1
  247. package/dist/index216.js +16 -5
  248. package/dist/index216.js.map +1 -1
  249. package/dist/index217.js +7 -5
  250. package/dist/index217.js.map +1 -1
  251. package/dist/index218.js +10 -13
  252. package/dist/index218.js.map +1 -1
  253. package/dist/index219.js +10 -10
  254. package/dist/index219.js.map +1 -1
  255. package/dist/index22.js +1 -1
  256. package/dist/index220.js +21 -14
  257. package/dist/index220.js.map +1 -1
  258. package/dist/index221.js +10 -14
  259. package/dist/index221.js.map +1 -1
  260. package/dist/index222.js +9 -5
  261. package/dist/index222.js.map +1 -1
  262. package/dist/index223.js +9 -6
  263. package/dist/index223.js.map +1 -1
  264. package/dist/index224.js +4 -7
  265. package/dist/index224.js.map +1 -1
  266. package/dist/index225.js +5 -6
  267. package/dist/index225.js.map +1 -1
  268. package/dist/index226.js +16 -9
  269. package/dist/index226.js.map +1 -1
  270. package/dist/index227.js +9 -5
  271. package/dist/index227.js.map +1 -1
  272. package/dist/index228.js +18 -5
  273. package/dist/index228.js.map +1 -1
  274. package/dist/index229.js +15 -9
  275. package/dist/index229.js.map +1 -1
  276. package/dist/index23.js +2 -2
  277. package/dist/index230.js +12 -5
  278. package/dist/index230.js.map +1 -1
  279. package/dist/index231.js +29 -5
  280. package/dist/index231.js.map +1 -1
  281. package/dist/index232.js +12 -4
  282. package/dist/index232.js.map +1 -1
  283. package/dist/index233.js +25 -11
  284. package/dist/index233.js.map +1 -1
  285. package/dist/index234.js +5 -10
  286. package/dist/index234.js.map +1 -1
  287. package/dist/index235.js +13 -10
  288. package/dist/index235.js.map +1 -1
  289. package/dist/index236.js +154 -11
  290. package/dist/index236.js.map +1 -1
  291. package/dist/index237.js +29 -10
  292. package/dist/index237.js.map +1 -1
  293. package/dist/index238.js +9 -10
  294. package/dist/index238.js.map +1 -1
  295. package/dist/index239.js +47 -7
  296. package/dist/index239.js.map +1 -1
  297. package/dist/index24.js +1 -1
  298. package/dist/index240.js +11 -6
  299. package/dist/index240.js.map +1 -1
  300. package/dist/index241.js +44 -5
  301. package/dist/index241.js.map +1 -1
  302. package/dist/index242.js +95 -6
  303. package/dist/index242.js.map +1 -1
  304. package/dist/index243.js +86 -7
  305. package/dist/index243.js.map +1 -1
  306. package/dist/index244.js +105 -6
  307. package/dist/index244.js.map +1 -1
  308. package/dist/index245.js +51 -54
  309. package/dist/index245.js.map +1 -1
  310. package/dist/index246.js +11 -23
  311. package/dist/index246.js.map +1 -1
  312. package/dist/index247.js +35 -14
  313. package/dist/index247.js.map +1 -1
  314. package/dist/index248.js +8 -7
  315. package/dist/index248.js.map +1 -1
  316. package/dist/index249.js +115 -9
  317. package/dist/index249.js.map +1 -1
  318. package/dist/index250.js +17 -10
  319. package/dist/index250.js.map +1 -1
  320. package/dist/index251.js +15 -21
  321. package/dist/index251.js.map +1 -1
  322. package/dist/index252.js +3 -10
  323. package/dist/index252.js.map +1 -1
  324. package/dist/index253.js +36 -9
  325. package/dist/index253.js.map +1 -1
  326. package/dist/index254.js +20 -9
  327. package/dist/index254.js.map +1 -1
  328. package/dist/index255.js +9 -4
  329. package/dist/index255.js.map +1 -1
  330. package/dist/index256.js +8 -5
  331. package/dist/index256.js.map +1 -1
  332. package/dist/index257.js +18 -15
  333. package/dist/index257.js.map +1 -1
  334. package/dist/index258.js +28 -9
  335. package/dist/index258.js.map +1 -1
  336. package/dist/index259.js +16 -18
  337. package/dist/index259.js.map +1 -1
  338. package/dist/index260.js +24 -15
  339. package/dist/index260.js.map +1 -1
  340. package/dist/index261.js +29 -13
  341. package/dist/index261.js.map +1 -1
  342. package/dist/index262.js +5 -30
  343. package/dist/index262.js.map +1 -1
  344. package/dist/index263.js +67 -12
  345. package/dist/index263.js.map +1 -1
  346. package/dist/index264.js +178 -23
  347. package/dist/index264.js.map +1 -1
  348. package/dist/index265.js +46 -5
  349. package/dist/index265.js.map +1 -1
  350. package/dist/index266.js +5 -5
  351. package/dist/index266.js.map +1 -1
  352. package/dist/index267.js +19 -3
  353. package/dist/index267.js.map +1 -1
  354. package/dist/index268.js +12 -23
  355. package/dist/index268.js.map +1 -1
  356. package/dist/index269.js +19 -111
  357. package/dist/index269.js.map +1 -1
  358. package/dist/index27.js +3 -37
  359. package/dist/index27.js.map +1 -1
  360. package/dist/index270.js +5 -16
  361. package/dist/index270.js.map +1 -1
  362. package/dist/index271.js +3 -525
  363. package/dist/index271.js.map +1 -1
  364. package/dist/index272.js +23 -127
  365. package/dist/index272.js.map +1 -1
  366. package/dist/index273.js +108 -129
  367. package/dist/index273.js.map +1 -1
  368. package/dist/index274.js +15 -20
  369. package/dist/index274.js.map +1 -1
  370. package/dist/index275.js +524 -4
  371. package/dist/index275.js.map +1 -1
  372. package/dist/index276.js +127 -18
  373. package/dist/index276.js.map +1 -1
  374. package/dist/index277.js +133 -12
  375. package/dist/index277.js.map +1 -1
  376. package/dist/index278.js +6 -69
  377. package/dist/index278.js.map +1 -1
  378. package/dist/index279.js +6 -9
  379. package/dist/index279.js.map +1 -1
  380. package/dist/index28.js +125 -3
  381. package/dist/index28.js.map +1 -1
  382. package/dist/index280.js +4 -14
  383. package/dist/index280.js.map +1 -1
  384. package/dist/index281.js +15 -65
  385. package/dist/index281.js.map +1 -1
  386. package/dist/index282.js +8 -64
  387. package/dist/index282.js.map +1 -1
  388. package/dist/index283.js +5 -5
  389. package/dist/index283.js.map +1 -1
  390. package/dist/index284.js +4 -5
  391. package/dist/index284.js.map +1 -1
  392. package/dist/index285.js +546 -4
  393. package/dist/index285.js.map +1 -1
  394. package/dist/index286.js +47 -16
  395. package/dist/index286.js.map +1 -1
  396. package/dist/index287.js +17 -8
  397. package/dist/index287.js.map +1 -1
  398. package/dist/index288.js +6 -5
  399. package/dist/index288.js.map +1 -1
  400. package/dist/index289.js +8 -4
  401. package/dist/index289.js.map +1 -1
  402. package/dist/index29.js +227 -120
  403. package/dist/index29.js.map +1 -1
  404. package/dist/index290.js +7 -545
  405. package/dist/index290.js.map +1 -1
  406. package/dist/index291.js +9 -47
  407. package/dist/index291.js.map +1 -1
  408. package/dist/index292.js +12 -17
  409. package/dist/index292.js.map +1 -1
  410. package/dist/index293.js +9 -6
  411. package/dist/index293.js.map +1 -1
  412. package/dist/index294.js +13 -8
  413. package/dist/index294.js.map +1 -1
  414. package/dist/index295.js +69 -8
  415. package/dist/index295.js.map +1 -1
  416. package/dist/index296.js +9 -9
  417. package/dist/index296.js.map +1 -1
  418. package/dist/index297.js +14 -13
  419. package/dist/index297.js.map +1 -1
  420. package/dist/index298.js +66 -10
  421. package/dist/index298.js.map +1 -1
  422. package/dist/index299.js +64 -13
  423. package/dist/index299.js.map +1 -1
  424. package/dist/index30.js +49 -230
  425. package/dist/index30.js.map +1 -1
  426. package/dist/index300.js +4 -3
  427. package/dist/index300.js.map +1 -1
  428. package/dist/index301.js +56 -23
  429. package/dist/index301.js.map +1 -1
  430. package/dist/index303.js +1 -1
  431. package/dist/index305.js +1 -1
  432. package/dist/index306.js +2 -2
  433. package/dist/index307.js +3 -4
  434. package/dist/index307.js.map +1 -1
  435. package/dist/index308.js +23 -56
  436. package/dist/index308.js.map +1 -1
  437. package/dist/index309.js +15 -12
  438. package/dist/index309.js.map +1 -1
  439. package/dist/index31.js +2640 -50
  440. package/dist/index31.js.map +1 -1
  441. package/dist/index310.js +26 -25
  442. package/dist/index310.js.map +1 -1
  443. package/dist/index311.js +13 -5
  444. package/dist/index311.js.map +1 -1
  445. package/dist/index312.js +6 -22
  446. package/dist/index312.js.map +1 -1
  447. package/dist/index313.js +22 -15
  448. package/dist/index313.js.map +1 -1
  449. package/dist/index314.js +12 -28
  450. package/dist/index314.js.map +1 -1
  451. package/dist/index315.js +27 -12
  452. package/dist/index315.js.map +1 -1
  453. package/dist/index316.js +5 -7
  454. package/dist/index316.js.map +1 -1
  455. package/dist/index32.js +351 -2598
  456. package/dist/index32.js.map +1 -1
  457. package/dist/index33.js +214 -375
  458. package/dist/index33.js.map +1 -1
  459. package/dist/index34.js +19 -230
  460. package/dist/index34.js.map +1 -1
  461. package/dist/index35.js +138 -18
  462. package/dist/index35.js.map +1 -1
  463. package/dist/index36.js +170 -125
  464. package/dist/index36.js.map +1 -1
  465. package/dist/index37.js +64 -174
  466. package/dist/index37.js.map +1 -1
  467. package/dist/index38.js +88 -74
  468. package/dist/index38.js.map +1 -1
  469. package/dist/index39.js +5 -90
  470. package/dist/index39.js.map +1 -1
  471. package/dist/index40.js +843 -5
  472. package/dist/index40.js.map +1 -1
  473. package/dist/index41.js +54 -832
  474. package/dist/index41.js.map +1 -1
  475. package/dist/index42.js +37 -66
  476. package/dist/index42.js.map +1 -1
  477. package/dist/index45.js +1 -1
  478. package/dist/index46.js +1 -1
  479. package/dist/index47.js +7 -205
  480. package/dist/index47.js.map +1 -1
  481. package/dist/index48.js +33 -3
  482. package/dist/index48.js.map +1 -1
  483. package/dist/index49.js +25 -5
  484. package/dist/index49.js.map +1 -1
  485. package/dist/index5.js +1 -1
  486. package/dist/index50.js +7 -47
  487. package/dist/index50.js.map +1 -1
  488. package/dist/index51.js +11 -26
  489. package/dist/index51.js.map +1 -1
  490. package/dist/index52.js +50 -47
  491. package/dist/index52.js.map +1 -1
  492. package/dist/index53.js +205 -8
  493. package/dist/index53.js.map +1 -1
  494. package/dist/index54.js +3 -14
  495. package/dist/index54.js.map +1 -1
  496. package/dist/index55.js +43 -129
  497. package/dist/index55.js.map +1 -1
  498. package/dist/index56.js +50 -10
  499. package/dist/index56.js.map +1 -1
  500. package/dist/index57.js +7 -216
  501. package/dist/index57.js.map +1 -1
  502. package/dist/index58.js +15 -13
  503. package/dist/index58.js.map +1 -1
  504. package/dist/index59.js +132 -32
  505. package/dist/index59.js.map +1 -1
  506. package/dist/index60.js +10 -46
  507. package/dist/index60.js.map +1 -1
  508. package/dist/index61.js +216 -7
  509. package/dist/index61.js.map +1 -1
  510. package/dist/index62.js +12 -49
  511. package/dist/index62.js.map +1 -1
  512. package/dist/index63.js +47 -4
  513. package/dist/index63.js.map +1 -1
  514. package/dist/index64.js +49 -5
  515. package/dist/index64.js.map +1 -1
  516. package/dist/index65.js +4 -28
  517. package/dist/index65.js.map +1 -1
  518. package/dist/index66.js +6 -50
  519. package/dist/index66.js.map +1 -1
  520. package/dist/index67.js +28 -9
  521. package/dist/index67.js.map +1 -1
  522. package/dist/index68.js +50 -6
  523. package/dist/index68.js.map +1 -1
  524. package/dist/index69.js +9 -8
  525. package/dist/index69.js.map +1 -1
  526. package/dist/index70.js +5 -5
  527. package/dist/index70.js.map +1 -1
  528. package/dist/index71.js +7 -53
  529. package/dist/index71.js.map +1 -1
  530. package/dist/index72.js +6 -2
  531. package/dist/index72.js.map +1 -1
  532. package/dist/index73.js +2 -2
  533. package/dist/index74.js +2 -12
  534. package/dist/index74.js.map +1 -1
  535. package/dist/index75.js +52 -47
  536. package/dist/index75.js.map +1 -1
  537. package/dist/index76.js +4 -205
  538. package/dist/index76.js.map +1 -1
  539. package/dist/index77.js +5 -22
  540. package/dist/index77.js.map +1 -1
  541. package/dist/index78.js +15 -24
  542. package/dist/index78.js.map +1 -1
  543. package/dist/index79.js +5 -399
  544. package/dist/index79.js.map +1 -1
  545. package/dist/index8.js +1 -1
  546. package/dist/index80.js +7 -46
  547. package/dist/index80.js.map +1 -1
  548. package/dist/index81.js +15 -604
  549. package/dist/index81.js.map +1 -1
  550. package/dist/index82.js +4 -5
  551. package/dist/index82.js.map +1 -1
  552. package/dist/index83.js +4 -68
  553. package/dist/index83.js.map +1 -1
  554. package/dist/index84.js +6 -2
  555. package/dist/index84.js.map +1 -1
  556. package/dist/index85.js +5 -363
  557. package/dist/index85.js.map +1 -1
  558. package/dist/index86.js +4 -261
  559. package/dist/index86.js.map +1 -1
  560. package/dist/index87.js +4 -60
  561. package/dist/index87.js.map +1 -1
  562. package/dist/index88.js +6 -46
  563. package/dist/index88.js.map +1 -1
  564. package/dist/index89.js +24 -169
  565. package/dist/index89.js.map +1 -1
  566. package/dist/index9.js +1 -1
  567. package/dist/index90.js +6 -109
  568. package/dist/index90.js.map +1 -1
  569. package/dist/index91.js +4 -24
  570. package/dist/index91.js.map +1 -1
  571. package/dist/index92.js +7 -8
  572. package/dist/index92.js.map +1 -1
  573. package/dist/index93.js +5 -4
  574. package/dist/index93.js.map +1 -1
  575. package/dist/index94.js +4 -5
  576. package/dist/index94.js.map +1 -1
  577. package/dist/index95.js +5 -4
  578. package/dist/index95.js.map +1 -1
  579. package/dist/index96.js +4 -466
  580. package/dist/index96.js.map +1 -1
  581. package/dist/index97.js +8 -185
  582. package/dist/index97.js.map +1 -1
  583. package/dist/index98.js +5 -107
  584. package/dist/index98.js.map +1 -1
  585. package/dist/index99.js +4 -262
  586. package/dist/index99.js.map +1 -1
  587. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index269.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,EAAM,MAAM;AAAG,GAC5EE,IAAa,SAAUC,GAAK;AAC5B,SAAOA,KAAO,aAAaA,IAAMA,EAAI,UAAUA;AACnD,GACIC,IAAe,SAAUC,GAAGC,GAAG;AAAE,SAAOD,EAAE,CAAC,MAAMC,EAAE,CAAC,KAAKD,EAAE,CAAC,MAAMC,EAAE,CAAC;AAAG,GACxEC,IAAgB,SAAUC,GAAI;AAAE,SAAO;AAAA,yBAA4B,OAAOA,GAAI;AAAA,wBAAmD,EAAE,OAAOA,GAAI;AAAA,CAA2B;AAAG,GAC5KC,IAAY,GACZC,IAAY,CAAA;AACT,SAASC,EAAoBC,GAAO;AACvC,MAAIC,IAAqBC,EAAM,OAAO,EAAE,GACpCC,IAAgBD,EAAM,OAAO,CAAC,GAAG,CAAC,CAAC,GACnCE,IAAaF,EAAM,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EAAM,QAAQuB,EAAkBvB,GAAOY,EAAM,QAAQ,OAAO,CAAC;AAAA,EAC7G,GAAG,CAAA,CAAE;AACL,EAAAE,EAAM,UAAU,WAAY;AACxB,WAAAJ,EAAU,KAAKO,CAAK,GACpBL,EAAM,aAAa;AAAA,MACf,iBAAiBwC;AAAA,MACjB,gBAAgBA;AAAA,MAChB,oBAAoBC;AAAA,IAChC,CAAS,GACD,SAAS,iBAAiB,SAASd,GAAee,CAAU,GAC5D,SAAS,iBAAiB,aAAaf,GAAee,CAAU,GAChE,SAAS,iBAAiB,cAAcH,GAAkBG,CAAU,GAC7D,WAAY;AACf,MAAA5C,IAAYA,EAAU,OAAO,SAAU6C,GAAM;AAAE,eAAOA,MAAStC;AAAA,MAAO,CAAC,GACvE,SAAS,oBAAoB,SAASsB,GAAee,CAAU,GAC/D,SAAS,oBAAoB,aAAaf,GAAee,CAAU,GACnE,SAAS,oBAAoB,cAAcH,GAAkBG,CAAU;AAAA,IAC3E;AAAA,EACJ,GAAG,CAAA,CAAE;AACL,MAAIE,IAAkB5C,EAAM,iBAAiB6C,IAAQ7C,EAAM;AAC3D,SAAQE,EAAM;AAAA,IAAcA,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]}
1
+ {"version":3,"file":"index269.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/index27.js CHANGED
@@ -1,40 +1,6 @@
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
- }
1
+ import { __require as r } from "./index43.js";
2
+ var i = r();
36
3
  export {
37
- M as importLibrary,
38
- A as setOptions
4
+ i as j
39
5
  };
40
6
  //# sourceMappingURL=index27.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index27.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,iBAClBC,IAAwB,UACxBC,IAAM,UACNC,IAAU,QACVC,IAAUD,EAAQJ,CAAM,MAAMI,EAAQJ,CAAM,IAAI,KAChDM,IAAYD,EAAQ,SAASA,EAAQ,OAAO,CAAA,IAC5CE,IAAY,oBAAI,IAAG,GACnBC,IAAe,IAAI,gBAAe,GAClCC,IAAmB,MAAMZ,MAAqBA,IAAmB,IAAI,QAAQ,OAAMa,GAASC,MAAW;AACzG,WAAOlB,IAASU,EAAI,cAAc,QAAQ,IAC1CK,EAAa,IAAI,aAAa,CAAC,GAAGD,CAAS,IAAI,EAAE;AACjD,SAAKT,KAAsBF;AACzB,MAAAY,EAAa,IAAIV,EAAmB,QAAQ,UAAU,CAAAc,MAAK,MAAMA,EAAE,CAAC,EAAE,YAAW,CAAE,GAAGhB,EAAgBE,CAAkB,CAAC;AAE3H,IAAAU,EAAa,IAAI,YAAYR,IAAS,WAAWE,CAAqB,GACtEV,EAAaC,GAAQ,6CAA6Ce,CAAY,GAC9EF,EAAUJ,CAAqB,IAAIQ,GACnCjB,EAAO,UAAU,MAAMI,IAAmBc,EAAO,MAAMZ,IAAe,kBAAkB,CAAC,GACzF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AgD,KAEpFH,EAAcF,CAAyB,GAK1CU,KACDlC,EAAUqB,CAAO;AAEzB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index27.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;"}
package/dist/index270.js CHANGED
@@ -1,19 +1,8 @@
1
- import { __rest as o, __assign as d } from "./index174.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;
15
- }
1
+ var r = "right-scroll-bar-position", a = "width-before-scroll-bar", l = "with-scroll-bars-hidden", e = "--removed-body-scroll-bar-size";
16
2
  export {
17
- p as exportSidecar
3
+ a as fullWidthClassName,
4
+ l as noScrollbarsClassName,
5
+ e as removedBarSizeVariable,
6
+ r as zeroRightClassName
18
7
  };
19
8
  //# sourceMappingURL=index270.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index270.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]}
1
+ {"version":3,"file":"index270.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/index271.js CHANGED
@@ -1,528 +1,6 @@
1
- import { evaluate as L, getSideAxis as T, getSide as j, clamp as X, getOppositePlacement as ee, getExpandedPlacements as te, getOppositeAxisPlacements as ne, getAlignmentSides as ie, getAlignment as z, min as $, max as W, getPaddingObject as J, rectToClientRect as _, getOppositeAxis as K, getAlignmentAxis as N, sides as se, getAxisLength as Q } from "./index272.js";
2
- function I(t, e, d) {
3
- let {
4
- reference: a,
5
- floating: r
6
- } = t;
7
- const n = T(e), o = N(e), m = Q(o), u = j(e), h = n === "y", c = a.x + a.width / 2 - r.width / 2, s = a.y + a.height / 2 - r.height / 2, f = a[m] / 2 - r[m] / 2;
8
- let i;
9
- switch (u) {
10
- case "top":
11
- i = {
12
- x: c,
13
- y: a.y - r.height
14
- };
15
- break;
16
- case "bottom":
17
- i = {
18
- x: c,
19
- y: a.y + a.height
20
- };
21
- break;
22
- case "right":
23
- i = {
24
- x: a.x + a.width,
25
- y: s
26
- };
27
- break;
28
- case "left":
29
- i = {
30
- x: a.x - r.width,
31
- y: s
32
- };
33
- break;
34
- default:
35
- i = {
36
- x: a.x,
37
- y: a.y
38
- };
39
- }
40
- switch (z(e)) {
41
- case "start":
42
- i[o] -= f * (d && h ? -1 : 1);
43
- break;
44
- case "end":
45
- i[o] += f * (d && h ? -1 : 1);
46
- break;
47
- }
48
- return i;
49
- }
50
- const ce = async (t, e, d) => {
51
- const {
52
- placement: a = "bottom",
53
- strategy: r = "absolute",
54
- middleware: n = [],
55
- platform: o
56
- } = d, m = n.filter(Boolean), u = await (o.isRTL == null ? void 0 : o.isRTL(e));
57
- let h = await o.getElementRects({
58
- reference: t,
59
- floating: e,
60
- strategy: r
61
- }), {
62
- x: c,
63
- y: s
64
- } = I(h, a, u), f = a, i = {}, l = 0;
65
- for (let g = 0; g < m.length; g++) {
66
- const {
67
- name: x,
68
- fn: y
69
- } = m[g], {
70
- x: A,
71
- y: p,
72
- data: v,
73
- reset: w
74
- } = await y({
75
- x: c,
76
- y: s,
77
- initialPlacement: a,
78
- placement: f,
79
- strategy: r,
80
- middlewareData: i,
81
- rects: h,
82
- platform: o,
83
- elements: {
84
- reference: t,
85
- floating: e
86
- }
87
- });
88
- c = A ?? c, s = p ?? s, i = {
89
- ...i,
90
- [x]: {
91
- ...i[x],
92
- ...v
93
- }
94
- }, w && l <= 50 && (l++, typeof w == "object" && (w.placement && (f = w.placement), w.rects && (h = w.rects === !0 ? await o.getElementRects({
95
- reference: t,
96
- floating: e,
97
- strategy: r
98
- }) : w.rects), {
99
- x: c,
100
- y: s
101
- } = I(h, f, u)), g = -1);
102
- }
103
- return {
104
- x: c,
105
- y: s,
106
- placement: f,
107
- strategy: r,
108
- middlewareData: i
109
- };
110
- };
111
- async function Y(t, e) {
112
- var d;
113
- e === void 0 && (e = {});
114
- const {
115
- x: a,
116
- y: r,
117
- platform: n,
118
- rects: o,
119
- elements: m,
120
- strategy: u
121
- } = t, {
122
- boundary: h = "clippingAncestors",
123
- rootBoundary: c = "viewport",
124
- elementContext: s = "floating",
125
- altBoundary: f = !1,
126
- padding: i = 0
127
- } = L(e, t), l = J(i), x = m[f ? s === "floating" ? "reference" : "floating" : s], y = _(await n.getClippingRect({
128
- element: (d = await (n.isElement == null ? void 0 : n.isElement(x))) == null || d ? x : x.contextElement || await (n.getDocumentElement == null ? void 0 : n.getDocumentElement(m.floating)),
129
- boundary: h,
130
- rootBoundary: c,
131
- strategy: u
132
- })), A = s === "floating" ? {
133
- x: a,
134
- y: r,
135
- width: o.floating.width,
136
- height: o.floating.height
137
- } : o.reference, p = await (n.getOffsetParent == null ? void 0 : n.getOffsetParent(m.floating)), v = await (n.isElement == null ? void 0 : n.isElement(p)) ? await (n.getScale == null ? void 0 : n.getScale(p)) || {
138
- x: 1,
139
- y: 1
140
- } : {
141
- x: 1,
142
- y: 1
143
- }, w = _(n.convertOffsetParentRelativeRectToViewportRelativeRect ? await n.convertOffsetParentRelativeRectToViewportRelativeRect({
144
- elements: m,
145
- rect: A,
146
- offsetParent: p,
147
- strategy: u
148
- }) : A);
149
- return {
150
- top: (y.top - w.top + l.top) / v.y,
151
- bottom: (w.bottom - y.bottom + l.bottom) / v.y,
152
- left: (y.left - w.left + l.left) / v.x,
153
- right: (w.right - y.right + l.right) / v.x
154
- };
155
- }
156
- const le = (t) => ({
157
- name: "arrow",
158
- options: t,
159
- async fn(e) {
160
- const {
161
- x: d,
162
- y: a,
163
- placement: r,
164
- rects: n,
165
- platform: o,
166
- elements: m,
167
- middlewareData: u
168
- } = e, {
169
- element: h,
170
- padding: c = 0
171
- } = L(t, e) || {};
172
- if (h == null)
173
- return {};
174
- const s = J(c), f = {
175
- x: d,
176
- y: a
177
- }, i = N(r), l = Q(i), g = await o.getDimensions(h), x = i === "y", y = x ? "top" : "left", A = x ? "bottom" : "right", p = x ? "clientHeight" : "clientWidth", v = n.reference[l] + n.reference[i] - f[i] - n.floating[l], w = f[i] - n.reference[i], P = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(h));
178
- let C = P ? P[p] : 0;
179
- (!C || !await (o.isElement == null ? void 0 : o.isElement(P))) && (C = m.floating[p] || n.floating[l]);
180
- const M = v / 2 - w / 2, k = C / 2 - g[l] / 2 - 1, O = $(s[y], k), H = $(s[A], k), D = O, F = C - g[l] - H, b = C / 2 - g[l] / 2 + M, B = X(D, b, F), E = !u.arrow && z(r) != null && b !== B && n.reference[l] / 2 - (b < D ? O : H) - g[l] / 2 < 0, S = E ? b < D ? b - D : b - F : 0;
181
- return {
182
- [i]: f[i] + S,
183
- data: {
184
- [i]: B,
185
- centerOffset: b - B - S,
186
- ...E && {
187
- alignmentOffset: S
188
- }
189
- },
190
- reset: E
191
- };
192
- }
193
- }), re = function(t) {
194
- return t === void 0 && (t = {}), {
195
- name: "flip",
196
- options: t,
197
- async fn(e) {
198
- var d, a;
199
- const {
200
- placement: r,
201
- middlewareData: n,
202
- rects: o,
203
- initialPlacement: m,
204
- platform: u,
205
- elements: h
206
- } = e, {
207
- mainAxis: c = !0,
208
- crossAxis: s = !0,
209
- fallbackPlacements: f,
210
- fallbackStrategy: i = "bestFit",
211
- fallbackAxisSideDirection: l = "none",
212
- flipAlignment: g = !0,
213
- ...x
214
- } = L(t, e);
215
- if ((d = n.arrow) != null && d.alignmentOffset)
216
- return {};
217
- const y = j(r), A = T(m), p = j(m) === m, v = await (u.isRTL == null ? void 0 : u.isRTL(h.floating)), w = f || (p || !g ? [ee(m)] : te(m)), P = l !== "none";
218
- !f && P && w.push(...ne(m, g, l, v));
219
- const C = [m, ...w], M = await Y(e, x), k = [];
220
- let O = ((a = n.flip) == null ? void 0 : a.overflows) || [];
221
- if (c && k.push(M[y]), s) {
222
- const b = ie(r, o, v);
223
- k.push(M[b[0]], M[b[1]]);
224
- }
225
- if (O = [...O, {
226
- placement: r,
227
- overflows: k
228
- }], !k.every((b) => b <= 0)) {
229
- var H, D;
230
- const b = (((H = n.flip) == null ? void 0 : H.index) || 0) + 1, B = C[b];
231
- if (B && (!(s === "alignment" ? A !== T(B) : !1) || // We leave the current main axis only if every placement on that axis
232
- // overflows the main axis.
233
- O.every((R) => T(R.placement) === A ? R.overflows[0] > 0 : !0)))
234
- return {
235
- data: {
236
- index: b,
237
- overflows: O
238
- },
239
- reset: {
240
- placement: B
241
- }
242
- };
243
- let E = (D = O.filter((S) => S.overflows[0] <= 0).sort((S, R) => S.overflows[1] - R.overflows[1])[0]) == null ? void 0 : D.placement;
244
- if (!E)
245
- switch (i) {
246
- case "bestFit": {
247
- var F;
248
- const S = (F = O.filter((R) => {
249
- if (P) {
250
- const V = T(R.placement);
251
- return V === A || // Create a bias to the `y` side axis due to horizontal
252
- // reading directions favoring greater width.
253
- V === "y";
254
- }
255
- return !0;
256
- }).map((R) => [R.placement, R.overflows.filter((V) => V > 0).reduce((V, Z) => V + Z, 0)]).sort((R, V) => R[1] - V[1])[0]) == null ? void 0 : F[0];
257
- S && (E = S);
258
- break;
259
- }
260
- case "initialPlacement":
261
- E = m;
262
- break;
263
- }
264
- if (r !== E)
265
- return {
266
- reset: {
267
- placement: E
268
- }
269
- };
270
- }
271
- return {};
272
- }
273
- };
274
- };
275
- function q(t, e) {
276
- return {
277
- top: t.top - e.height,
278
- right: t.right - e.width,
279
- bottom: t.bottom - e.height,
280
- left: t.left - e.width
281
- };
282
- }
283
- function G(t) {
284
- return se.some((e) => t[e] >= 0);
285
- }
286
- const fe = function(t) {
287
- return t === void 0 && (t = {}), {
288
- name: "hide",
289
- options: t,
290
- async fn(e) {
291
- const {
292
- rects: d
293
- } = e, {
294
- strategy: a = "referenceHidden",
295
- ...r
296
- } = L(t, e);
297
- switch (a) {
298
- case "referenceHidden": {
299
- const n = await Y(e, {
300
- ...r,
301
- elementContext: "reference"
302
- }), o = q(n, d.reference);
303
- return {
304
- data: {
305
- referenceHiddenOffsets: o,
306
- referenceHidden: G(o)
307
- }
308
- };
309
- }
310
- case "escaped": {
311
- const n = await Y(e, {
312
- ...r,
313
- altBoundary: !0
314
- }), o = q(n, d.floating);
315
- return {
316
- data: {
317
- escapedOffsets: o,
318
- escaped: G(o)
319
- }
320
- };
321
- }
322
- default:
323
- return {};
324
- }
325
- }
326
- };
327
- }, U = /* @__PURE__ */ new Set(["left", "top"]);
328
- async function oe(t, e) {
329
- const {
330
- placement: d,
331
- platform: a,
332
- elements: r
333
- } = t, n = await (a.isRTL == null ? void 0 : a.isRTL(r.floating)), o = j(d), m = z(d), u = T(d) === "y", h = U.has(o) ? -1 : 1, c = n && u ? -1 : 1, s = L(e, t);
334
- let {
335
- mainAxis: f,
336
- crossAxis: i,
337
- alignmentAxis: l
338
- } = typeof s == "number" ? {
339
- mainAxis: s,
340
- crossAxis: 0,
341
- alignmentAxis: null
342
- } : {
343
- mainAxis: s.mainAxis || 0,
344
- crossAxis: s.crossAxis || 0,
345
- alignmentAxis: s.alignmentAxis
346
- };
347
- return m && typeof l == "number" && (i = m === "end" ? l * -1 : l), u ? {
348
- x: i * c,
349
- y: f * h
350
- } : {
351
- x: f * h,
352
- y: i * c
353
- };
354
- }
355
- const me = function(t) {
356
- return t === void 0 && (t = 0), {
357
- name: "offset",
358
- options: t,
359
- async fn(e) {
360
- var d, a;
361
- const {
362
- x: r,
363
- y: n,
364
- placement: o,
365
- middlewareData: m
366
- } = e, u = await oe(e, t);
367
- return o === ((d = m.offset) == null ? void 0 : d.placement) && (a = m.arrow) != null && a.alignmentOffset ? {} : {
368
- x: r + u.x,
369
- y: n + u.y,
370
- data: {
371
- ...u,
372
- placement: o
373
- }
374
- };
375
- }
376
- };
377
- }, de = function(t) {
378
- return t === void 0 && (t = {}), {
379
- name: "shift",
380
- options: t,
381
- async fn(e) {
382
- const {
383
- x: d,
384
- y: a,
385
- placement: r
386
- } = e, {
387
- mainAxis: n = !0,
388
- crossAxis: o = !1,
389
- limiter: m = {
390
- fn: (x) => {
391
- let {
392
- x: y,
393
- y: A
394
- } = x;
395
- return {
396
- x: y,
397
- y: A
398
- };
399
- }
400
- },
401
- ...u
402
- } = L(t, e), h = {
403
- x: d,
404
- y: a
405
- }, c = await Y(e, u), s = T(j(r)), f = K(s);
406
- let i = h[f], l = h[s];
407
- if (n) {
408
- const x = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", A = i + c[x], p = i - c[y];
409
- i = X(A, i, p);
410
- }
411
- if (o) {
412
- const x = s === "y" ? "top" : "left", y = s === "y" ? "bottom" : "right", A = l + c[x], p = l - c[y];
413
- l = X(A, l, p);
414
- }
415
- const g = m.fn({
416
- ...e,
417
- [f]: i,
418
- [s]: l
419
- });
420
- return {
421
- ...g,
422
- data: {
423
- x: g.x - d,
424
- y: g.y - a,
425
- enabled: {
426
- [f]: n,
427
- [s]: o
428
- }
429
- }
430
- };
431
- }
432
- };
433
- }, xe = function(t) {
434
- return t === void 0 && (t = {}), {
435
- options: t,
436
- fn(e) {
437
- const {
438
- x: d,
439
- y: a,
440
- placement: r,
441
- rects: n,
442
- middlewareData: o
443
- } = e, {
444
- offset: m = 0,
445
- mainAxis: u = !0,
446
- crossAxis: h = !0
447
- } = L(t, e), c = {
448
- x: d,
449
- y: a
450
- }, s = T(r), f = K(s);
451
- let i = c[f], l = c[s];
452
- const g = L(m, e), x = typeof g == "number" ? {
453
- mainAxis: g,
454
- crossAxis: 0
455
- } : {
456
- mainAxis: 0,
457
- crossAxis: 0,
458
- ...g
459
- };
460
- if (u) {
461
- const p = f === "y" ? "height" : "width", v = n.reference[f] - n.floating[p] + x.mainAxis, w = n.reference[f] + n.reference[p] - x.mainAxis;
462
- i < v ? i = v : i > w && (i = w);
463
- }
464
- if (h) {
465
- var y, A;
466
- const p = f === "y" ? "width" : "height", v = U.has(j(r)), w = n.reference[s] - n.floating[p] + (v && ((y = o.offset) == null ? void 0 : y[s]) || 0) + (v ? 0 : x.crossAxis), P = n.reference[s] + n.reference[p] + (v ? 0 : ((A = o.offset) == null ? void 0 : A[s]) || 0) - (v ? x.crossAxis : 0);
467
- l < w ? l = w : l > P && (l = P);
468
- }
469
- return {
470
- [f]: i,
471
- [s]: l
472
- };
473
- }
474
- };
475
- }, ge = function(t) {
476
- return t === void 0 && (t = {}), {
477
- name: "size",
478
- options: t,
479
- async fn(e) {
480
- var d, a;
481
- const {
482
- placement: r,
483
- rects: n,
484
- platform: o,
485
- elements: m
486
- } = e, {
487
- apply: u = () => {
488
- },
489
- ...h
490
- } = L(t, e), c = await Y(e, h), s = j(r), f = z(r), i = T(r) === "y", {
491
- width: l,
492
- height: g
493
- } = n.floating;
494
- let x, y;
495
- s === "top" || s === "bottom" ? (x = s, y = f === (await (o.isRTL == null ? void 0 : o.isRTL(m.floating)) ? "start" : "end") ? "left" : "right") : (y = s, x = f === "end" ? "top" : "bottom");
496
- const A = g - c.top - c.bottom, p = l - c.left - c.right, v = $(g - c[x], A), w = $(l - c[y], p), P = !e.middlewareData.shift;
497
- let C = v, M = w;
498
- if ((d = e.middlewareData.shift) != null && d.enabled.x && (M = p), (a = e.middlewareData.shift) != null && a.enabled.y && (C = A), P && !f) {
499
- const O = W(c.left, 0), H = W(c.right, 0), D = W(c.top, 0), F = W(c.bottom, 0);
500
- i ? M = l - 2 * (O !== 0 || H !== 0 ? O + H : W(c.left, c.right)) : C = g - 2 * (D !== 0 || F !== 0 ? D + F : W(c.top, c.bottom));
501
- }
502
- await u({
503
- ...e,
504
- availableWidth: M,
505
- availableHeight: C
506
- });
507
- const k = await o.getDimensions(m.floating);
508
- return l !== k.width || g !== k.height ? {
509
- reset: {
510
- rects: !0
511
- }
512
- } : {};
513
- }
514
- };
515
- };
1
+ import { createSidecarMedium as e } from "./index299.js";
2
+ var a = e();
516
3
  export {
517
- le as arrow,
518
- ce as computePosition,
519
- Y as detectOverflow,
520
- re as flip,
521
- fe as hide,
522
- xe as limitShift,
523
- me as offset,
524
- _ as rectToClientRect,
525
- de as shift,
526
- ge as size
4
+ a as effectCar
527
5
  };
528
6
  //# sourceMappingURL=index271.js.map