@rpcbase/ui 0.201.0 → 0.202.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 (460) hide show
  1. package/dist/index100.js +2 -2
  2. package/dist/index100.js.map +1 -1
  3. package/dist/index101.js +1 -1
  4. package/dist/index101.js.map +1 -1
  5. package/dist/index102.js +4 -8
  6. package/dist/index102.js.map +1 -1
  7. package/dist/index103.js +5 -4
  8. package/dist/index103.js.map +1 -1
  9. package/dist/index104.js +145 -4
  10. package/dist/index104.js.map +1 -1
  11. package/dist/index105.js +39 -4
  12. package/dist/index105.js.map +1 -1
  13. package/dist/index106.js +4 -6
  14. package/dist/index106.js.map +1 -1
  15. package/dist/index107.js +7 -145
  16. package/dist/index107.js.map +1 -1
  17. package/dist/index108.js +12 -38
  18. package/dist/index108.js.map +1 -1
  19. package/dist/index109.js +13 -4
  20. package/dist/index109.js.map +1 -1
  21. package/dist/index110.js +6 -6
  22. package/dist/index110.js.map +1 -1
  23. package/dist/index111.js +30 -12
  24. package/dist/index111.js.map +1 -1
  25. package/dist/index112.js +10 -13
  26. package/dist/index112.js.map +1 -1
  27. package/dist/index113.js +10 -7
  28. package/dist/index113.js.map +1 -1
  29. package/dist/index114.js +8 -31
  30. package/dist/index114.js.map +1 -1
  31. package/dist/index115.js +12 -9
  32. package/dist/index115.js.map +1 -1
  33. package/dist/index116.js +101 -10
  34. package/dist/index116.js.map +1 -1
  35. package/dist/index117.js +20 -9
  36. package/dist/index117.js.map +1 -1
  37. package/dist/index118.js +52 -12
  38. package/dist/index118.js.map +1 -1
  39. package/dist/index119.js +68 -97
  40. package/dist/index119.js.map +1 -1
  41. package/dist/index120.js +10 -20
  42. package/dist/index120.js.map +1 -1
  43. package/dist/index121.js +18 -51
  44. package/dist/index121.js.map +1 -1
  45. package/dist/index122.js +15 -71
  46. package/dist/index122.js.map +1 -1
  47. package/dist/index123.js +23 -9
  48. package/dist/index123.js.map +1 -1
  49. package/dist/index124.js +6 -20
  50. package/dist/index124.js.map +1 -1
  51. package/dist/index125.js +5 -16
  52. package/dist/index125.js.map +1 -1
  53. package/dist/index126.js +21 -21
  54. package/dist/index126.js.map +1 -1
  55. package/dist/index127.js +35 -7
  56. package/dist/index127.js.map +1 -1
  57. package/dist/index128.js +16 -6
  58. package/dist/index128.js.map +1 -1
  59. package/dist/index129.js +6 -23
  60. package/dist/index129.js.map +1 -1
  61. package/dist/index130.js +5 -35
  62. package/dist/index130.js.map +1 -1
  63. package/dist/index131.js +5 -16
  64. package/dist/index131.js.map +1 -1
  65. package/dist/index132.js +4 -6
  66. package/dist/index132.js.map +1 -1
  67. package/dist/index133.js +4 -4
  68. package/dist/index133.js.map +1 -1
  69. package/dist/index134.js +3 -4
  70. package/dist/index134.js.map +1 -1
  71. package/dist/index135.js +6 -4
  72. package/dist/index135.js.map +1 -1
  73. package/dist/index136.js +24 -5
  74. package/dist/index136.js.map +1 -1
  75. package/dist/index137.js +7 -3
  76. package/dist/index137.js.map +1 -1
  77. package/dist/index138.js +6 -6
  78. package/dist/index138.js.map +1 -1
  79. package/dist/index139.js +6 -24
  80. package/dist/index139.js.map +1 -1
  81. package/dist/index140.js +3 -7
  82. package/dist/index140.js.map +1 -1
  83. package/dist/index141.js +3 -6
  84. package/dist/index141.js.map +1 -1
  85. package/dist/index142.js +4 -5
  86. package/dist/index142.js.map +1 -1
  87. package/dist/index143.js +3 -3
  88. package/dist/index143.js.map +1 -1
  89. package/dist/index144.js +4 -3
  90. package/dist/index144.js.map +1 -1
  91. package/dist/index145.js +3 -4
  92. package/dist/index145.js.map +1 -1
  93. package/dist/index146.js +3 -3
  94. package/dist/index146.js.map +1 -1
  95. package/dist/index147.js +3 -4
  96. package/dist/index147.js.map +1 -1
  97. package/dist/index148.js +5 -3
  98. package/dist/index148.js.map +1 -1
  99. package/dist/index149.js +7 -3
  100. package/dist/index149.js.map +1 -1
  101. package/dist/index150.js +5 -3
  102. package/dist/index150.js.map +1 -1
  103. package/dist/index155.js +1 -1
  104. package/dist/index157.js +9 -9
  105. package/dist/index158.js +16 -5
  106. package/dist/index158.js.map +1 -1
  107. package/dist/index159.js +4 -67
  108. package/dist/index159.js.map +1 -1
  109. package/dist/index160.js +6 -2
  110. package/dist/index160.js.map +1 -1
  111. package/dist/index161.js +54 -359
  112. package/dist/index161.js.map +1 -1
  113. package/dist/index162.js +59 -254
  114. package/dist/index162.js.map +1 -1
  115. package/dist/index163.js +6 -60
  116. package/dist/index163.js.map +1 -1
  117. package/dist/index164.js +4 -46
  118. package/dist/index164.js.map +1 -1
  119. package/dist/index165.js +7 -169
  120. package/dist/index165.js.map +1 -1
  121. package/dist/index166.js +17 -109
  122. package/dist/index166.js.map +1 -1
  123. package/dist/index167.js +5 -24
  124. package/dist/index167.js.map +1 -1
  125. package/dist/index168.js +6 -8
  126. package/dist/index168.js.map +1 -1
  127. package/dist/index169.js +13 -4
  128. package/dist/index169.js.map +1 -1
  129. package/dist/index170.js +10 -5
  130. package/dist/index170.js.map +1 -1
  131. package/dist/index171.js +14 -4
  132. package/dist/index171.js.map +1 -1
  133. package/dist/index172.js +14 -466
  134. package/dist/index172.js.map +1 -1
  135. package/dist/index173.js +5 -185
  136. package/dist/index173.js.map +1 -1
  137. package/dist/index174.js +6 -107
  138. package/dist/index174.js.map +1 -1
  139. package/dist/index175.js +7 -262
  140. package/dist/index175.js.map +1 -1
  141. package/dist/index176.js +6 -9
  142. package/dist/index176.js.map +1 -1
  143. package/dist/index177.js +9 -42
  144. package/dist/index177.js.map +1 -1
  145. package/dist/index178.js +5 -4
  146. package/dist/index178.js.map +1 -1
  147. package/dist/index179.js +5 -58
  148. package/dist/index179.js.map +1 -1
  149. package/dist/index180.js +9 -8
  150. package/dist/index180.js.map +1 -1
  151. package/dist/index181.js +5 -66
  152. package/dist/index181.js.map +1 -1
  153. package/dist/index182.js +5 -19
  154. package/dist/index182.js.map +1 -1
  155. package/dist/index183.js +4 -16
  156. package/dist/index183.js.map +1 -1
  157. package/dist/index184.js +11 -5
  158. package/dist/index184.js.map +1 -1
  159. package/dist/index185.js +10 -5
  160. package/dist/index185.js.map +1 -1
  161. package/dist/index186.js +10 -6
  162. package/dist/index186.js.map +1 -1
  163. package/dist/index187.js +11 -4
  164. package/dist/index187.js.map +1 -1
  165. package/dist/index188.js +11 -7
  166. package/dist/index188.js.map +1 -1
  167. package/dist/index189.js +10 -17
  168. package/dist/index189.js.map +1 -1
  169. package/dist/index190.js +7 -5
  170. package/dist/index190.js.map +1 -1
  171. package/dist/index191.js +6 -5
  172. package/dist/index191.js.map +1 -1
  173. package/dist/index192.js +5 -13
  174. package/dist/index192.js.map +1 -1
  175. package/dist/index193.js +6 -10
  176. package/dist/index193.js.map +1 -1
  177. package/dist/index194.js +7 -14
  178. package/dist/index194.js.map +1 -1
  179. package/dist/index195.js +6 -14
  180. package/dist/index195.js.map +1 -1
  181. package/dist/index196.js +55 -5
  182. package/dist/index196.js.map +1 -1
  183. package/dist/index197.js +8 -6
  184. package/dist/index197.js.map +1 -1
  185. package/dist/index198.js +19 -7
  186. package/dist/index198.js.map +1 -1
  187. package/dist/index199.js +29 -6
  188. package/dist/index199.js.map +1 -1
  189. package/dist/index200.js +12 -9
  190. package/dist/index200.js.map +1 -1
  191. package/dist/index201.js +25 -5
  192. package/dist/index201.js.map +1 -1
  193. package/dist/index202.js +5 -5
  194. package/dist/index202.js.map +1 -1
  195. package/dist/index203.js +16 -9
  196. package/dist/index203.js.map +1 -1
  197. package/dist/index204.js +7 -5
  198. package/dist/index204.js.map +1 -1
  199. package/dist/index205.js +10 -5
  200. package/dist/index205.js.map +1 -1
  201. package/dist/index206.js +10 -4
  202. package/dist/index206.js.map +1 -1
  203. package/dist/index207.js +21 -11
  204. package/dist/index207.js.map +1 -1
  205. package/dist/index208.js +10 -10
  206. package/dist/index208.js.map +1 -1
  207. package/dist/index209.js +9 -10
  208. package/dist/index209.js.map +1 -1
  209. package/dist/index210.js +9 -11
  210. package/dist/index210.js.map +1 -1
  211. package/dist/index211.js +4 -11
  212. package/dist/index211.js.map +1 -1
  213. package/dist/index212.js +5 -10
  214. package/dist/index212.js.map +1 -1
  215. package/dist/index213.js +16 -7
  216. package/dist/index213.js.map +1 -1
  217. package/dist/index214.js +9 -6
  218. package/dist/index214.js.map +1 -1
  219. package/dist/index215.js +18 -5
  220. package/dist/index215.js.map +1 -1
  221. package/dist/index216.js +15 -6
  222. package/dist/index216.js.map +1 -1
  223. package/dist/index217.js +12 -7
  224. package/dist/index217.js.map +1 -1
  225. package/dist/index218.js +5 -6
  226. package/dist/index218.js.map +1 -1
  227. package/dist/index219.js +67 -54
  228. package/dist/index219.js.map +1 -1
  229. package/dist/index220.js +2 -17
  230. package/dist/index220.js.map +1 -1
  231. package/dist/index221.js +363 -7
  232. package/dist/index221.js.map +1 -1
  233. package/dist/index222.js +260 -9
  234. package/dist/index222.js.map +1 -1
  235. package/dist/index223.js +59 -9
  236. package/dist/index223.js.map +1 -1
  237. package/dist/index224.js +46 -21
  238. package/dist/index224.js.map +1 -1
  239. package/dist/index225.js +169 -10
  240. package/dist/index225.js.map +1 -1
  241. package/dist/index226.js +109 -9
  242. package/dist/index226.js.map +1 -1
  243. package/dist/index227.js +24 -9
  244. package/dist/index227.js.map +1 -1
  245. package/dist/index228.js +8 -5
  246. package/dist/index228.js.map +1 -1
  247. package/dist/index229.js +4 -5
  248. package/dist/index229.js.map +1 -1
  249. package/dist/index230.js +5 -16
  250. package/dist/index230.js.map +1 -1
  251. package/dist/index231.js +4 -9
  252. package/dist/index231.js.map +1 -1
  253. package/dist/index232.js +465 -17
  254. package/dist/index232.js.map +1 -1
  255. package/dist/index233.js +184 -14
  256. package/dist/index233.js.map +1 -1
  257. package/dist/index234.js +107 -12
  258. package/dist/index234.js.map +1 -1
  259. package/dist/index235.js +260 -27
  260. package/dist/index235.js.map +1 -1
  261. package/dist/index236.js +9 -12
  262. package/dist/index236.js.map +1 -1
  263. package/dist/index237.js +41 -24
  264. package/dist/index237.js.map +1 -1
  265. package/dist/index238.js +4 -5
  266. package/dist/index238.js.map +1 -1
  267. package/dist/index24.js +1 -1
  268. package/dist/index242.js +1 -1
  269. package/dist/index243.js +5 -5
  270. package/dist/index245.js +4 -13
  271. package/dist/index245.js.map +1 -1
  272. package/dist/index246.js +18 -154
  273. package/dist/index246.js.map +1 -1
  274. package/dist/index247.js +12 -30
  275. package/dist/index247.js.map +1 -1
  276. package/dist/index248.js +13 -9
  277. package/dist/index248.js.map +1 -1
  278. package/dist/index249.js +147 -41
  279. package/dist/index249.js.map +1 -1
  280. package/dist/index250.js +29 -10
  281. package/dist/index250.js.map +1 -1
  282. package/dist/index251.js +9 -44
  283. package/dist/index251.js.map +1 -1
  284. package/dist/index252.js +41 -88
  285. package/dist/index252.js.map +1 -1
  286. package/dist/index253.js +10 -85
  287. package/dist/index253.js.map +1 -1
  288. package/dist/index254.js +41 -102
  289. package/dist/index254.js.map +1 -1
  290. package/dist/index255.js +88 -45
  291. package/dist/index255.js.map +1 -1
  292. package/dist/index256.js +85 -10
  293. package/dist/index256.js.map +1 -1
  294. package/dist/index257.js +96 -28
  295. package/dist/index257.js.map +1 -1
  296. package/dist/index258.js +52 -8
  297. package/dist/index258.js.map +1 -1
  298. package/dist/index259.js +10 -115
  299. package/dist/index259.js.map +1 -1
  300. package/dist/index260.js +36 -16
  301. package/dist/index260.js.map +1 -1
  302. package/dist/index261.js +8 -15
  303. package/dist/index261.js.map +1 -1
  304. package/dist/index262.js +116 -3
  305. package/dist/index262.js.map +1 -1
  306. package/dist/index263.js +16 -35
  307. package/dist/index263.js.map +1 -1
  308. package/dist/index264.js +14 -19
  309. package/dist/index264.js.map +1 -1
  310. package/dist/index265.js +3 -9
  311. package/dist/index265.js.map +1 -1
  312. package/dist/index266.js +36 -8
  313. package/dist/index266.js.map +1 -1
  314. package/dist/index267.js +19 -18
  315. package/dist/index267.js.map +1 -1
  316. package/dist/index268.js +9 -28
  317. package/dist/index268.js.map +1 -1
  318. package/dist/index269.js +7 -15
  319. package/dist/index269.js.map +1 -1
  320. package/dist/index270.js +19 -4
  321. package/dist/index270.js.map +1 -1
  322. package/dist/index271.js +28 -18
  323. package/dist/index271.js.map +1 -1
  324. package/dist/index272.js +16 -12
  325. package/dist/index272.js.map +1 -1
  326. package/dist/index281.js +5 -20
  327. package/dist/index281.js.map +1 -1
  328. package/dist/index282.js +5 -5
  329. package/dist/index282.js.map +1 -1
  330. package/dist/index283.js +4 -6
  331. package/dist/index283.js.map +1 -1
  332. package/dist/index284.js +16 -4
  333. package/dist/index284.js.map +1 -1
  334. package/dist/index285.js +7 -14
  335. package/dist/index285.js.map +1 -1
  336. package/dist/index286.js +5 -8
  337. package/dist/index286.js.map +1 -1
  338. package/dist/index287.js +4 -5
  339. package/dist/index287.js.map +1 -1
  340. package/dist/index288.js +545 -4
  341. package/dist/index288.js.map +1 -1
  342. package/dist/index289.js +45 -544
  343. package/dist/index289.js.map +1 -1
  344. package/dist/index290.js +18 -47
  345. package/dist/index290.js.map +1 -1
  346. package/dist/index291.js +6 -17
  347. package/dist/index291.js.map +1 -1
  348. package/dist/index292.js +8 -6
  349. package/dist/index292.js.map +1 -1
  350. package/dist/index293.js +7 -8
  351. package/dist/index293.js.map +1 -1
  352. package/dist/index294.js +8 -7
  353. package/dist/index294.js.map +1 -1
  354. package/dist/index295.js +12 -8
  355. package/dist/index295.js.map +1 -1
  356. package/dist/index296.js +9 -12
  357. package/dist/index296.js.map +1 -1
  358. package/dist/index297.js +13 -9
  359. package/dist/index297.js.map +1 -1
  360. package/dist/index298.js +20 -13
  361. package/dist/index298.js.map +1 -1
  362. package/dist/index32.js +24 -24
  363. package/dist/index33.js +3 -3
  364. package/dist/index36.js +1 -1
  365. package/dist/index37.js +2 -2
  366. package/dist/index40.js +2 -2
  367. package/dist/index41.js +16 -16
  368. package/dist/index45.js +1 -1
  369. package/dist/index46.js +1 -1
  370. package/dist/index49.js +1 -1
  371. package/dist/index50.js +1 -1
  372. package/dist/index56.js +2 -205
  373. package/dist/index56.js.map +1 -1
  374. package/dist/index57.js +2 -4
  375. package/dist/index57.js.map +1 -1
  376. package/dist/index58.js +2 -48
  377. package/dist/index58.js.map +1 -1
  378. package/dist/index59.js +2 -51
  379. package/dist/index59.js.map +1 -1
  380. package/dist/index60.js +205 -8
  381. package/dist/index60.js.map +1 -1
  382. package/dist/index61.js +3 -14
  383. package/dist/index61.js.map +1 -1
  384. package/dist/index62.js +43 -129
  385. package/dist/index62.js.map +1 -1
  386. package/dist/index63.js +50 -10
  387. package/dist/index63.js.map +1 -1
  388. package/dist/index64.js +7 -216
  389. package/dist/index64.js.map +1 -1
  390. package/dist/index65.js +15 -13
  391. package/dist/index65.js.map +1 -1
  392. package/dist/index66.js +128 -41
  393. package/dist/index66.js.map +1 -1
  394. package/dist/index67.js +9 -48
  395. package/dist/index67.js.map +1 -1
  396. package/dist/index68.js +216 -3
  397. package/dist/index68.js.map +1 -1
  398. package/dist/index69.js +13 -6
  399. package/dist/index69.js.map +1 -1
  400. package/dist/index70.js +46 -27
  401. package/dist/index70.js.map +1 -1
  402. package/dist/index71.js +50 -50
  403. package/dist/index71.js.map +1 -1
  404. package/dist/index72.js +4 -9
  405. package/dist/index72.js.map +1 -1
  406. package/dist/index73.js +6 -2
  407. package/dist/index73.js.map +1 -1
  408. package/dist/index74.js +28 -2
  409. package/dist/index74.js.map +1 -1
  410. package/dist/index75.js +50 -2
  411. package/dist/index75.js.map +1 -1
  412. package/dist/index76.js +9 -2
  413. package/dist/index76.js.map +1 -1
  414. package/dist/index77.js +52 -6
  415. package/dist/index77.js.map +1 -1
  416. package/dist/index78.js +4 -7
  417. package/dist/index78.js.map +1 -1
  418. package/dist/index79.js +4 -5
  419. package/dist/index79.js.map +1 -1
  420. package/dist/index80.js +16 -52
  421. package/dist/index80.js.map +1 -1
  422. package/dist/index81.js +5 -4
  423. package/dist/index81.js.map +1 -1
  424. package/dist/index82.js +7 -4
  425. package/dist/index82.js.map +1 -1
  426. package/dist/index83.js +12 -11
  427. package/dist/index83.js.map +1 -1
  428. package/dist/index84.js +4 -5
  429. package/dist/index84.js.map +1 -1
  430. package/dist/index85.js +4 -7
  431. package/dist/index85.js.map +1 -1
  432. package/dist/index86.js +5 -16
  433. package/dist/index86.js.map +1 -1
  434. package/dist/index87.js +5 -4
  435. package/dist/index87.js.map +1 -1
  436. package/dist/index88.js +4 -4
  437. package/dist/index88.js.map +1 -1
  438. package/dist/index89.js +4 -5
  439. package/dist/index89.js.map +1 -1
  440. package/dist/index90.js +6 -5
  441. package/dist/index90.js.map +1 -1
  442. package/dist/index91.js +24 -4
  443. package/dist/index91.js.map +1 -1
  444. package/dist/index92.js +6 -4
  445. package/dist/index92.js.map +1 -1
  446. package/dist/index93.js +3 -5
  447. package/dist/index93.js.map +1 -1
  448. package/dist/index94.js +6 -24
  449. package/dist/index94.js.map +1 -1
  450. package/dist/index95.js +5 -6
  451. package/dist/index95.js.map +1 -1
  452. package/dist/index96.js +4 -4
  453. package/dist/index96.js.map +1 -1
  454. package/dist/index97.js +5 -6
  455. package/dist/index97.js.map +1 -1
  456. package/dist/index98.js +4 -5
  457. package/dist/index98.js.map +1 -1
  458. package/dist/index99.js +8 -4
  459. package/dist/index99.js.map +1 -1
  460. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"index281.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]}
1
+ {"version":3,"file":"index281.js","sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"names":["constructFrom","date","value","constructFromSymbol"],"mappings":";AAqCO,SAASA,EAAcC,GAAMC,GAAO;AACzC,SAAI,OAAOD,KAAS,aAAmBA,EAAKC,CAAK,IAE7CD,KAAQ,OAAOA,KAAS,YAAYE,KAAuBF,IACtDA,EAAKE,CAAmB,EAAED,CAAK,IAEpCD,aAAgB,OAAa,IAAIA,EAAK,YAAYC,CAAK,IAEpD,IAAI,KAAKA,CAAK;AACvB;","x_google_ignoreList":[0]}
package/dist/index282.js CHANGED
@@ -1,9 +1,9 @@
1
- import { constructFromSymbol as o } from "./index284.js";
2
- function c(r, n) {
3
- return typeof r == "function" ? r(n) : r && typeof r == "object" && o in r ? r[o](n) : r instanceof Date ? new r.constructor(n) : new Date(n);
1
+ import { constructFrom as r } from "./index281.js";
2
+ function e(t, o) {
3
+ return r(o || t, t);
4
4
  }
5
5
  export {
6
- c as constructFrom,
7
- c as default
6
+ e as default,
7
+ e as toDate
8
8
  };
9
9
  //# sourceMappingURL=index282.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index282.js","sources":["../../../node_modules/date-fns/constructFrom.js"],"sourcesContent":["import { constructFromSymbol } from \"./constants.js\";\n\n/**\n * @name constructFrom\n * @category Generic Helpers\n * @summary Constructs a date using the reference date and the value\n *\n * @description\n * The function constructs a new date using the constructor from the reference\n * date and the given value. It helps to build generic functions that accept\n * date extensions.\n *\n * It defaults to `Date` if the passed reference date is a number or a string.\n *\n * Starting from v3.7.0, it allows to construct a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n *\n * @param date - The reference date to take constructor from\n * @param value - The value to create the date\n *\n * @returns Date initialized using the given date and value\n *\n * @example\n * import { constructFrom } from \"./constructFrom/date-fns\";\n *\n * // A function that clones a date preserving the original type\n * function cloneDate<DateType extends Date>(date: DateType): DateType {\n * return constructFrom(\n * date, // Use constructor from the given date\n * date.getTime() // Use the date value to create a new date\n * );\n * }\n */\nexport function constructFrom(date, value) {\n if (typeof date === \"function\") return date(value);\n\n if (date && typeof date === \"object\" && constructFromSymbol in date)\n return date[constructFromSymbol](value);\n\n if (date instanceof Date) return new date.constructor(value);\n\n return new Date(value);\n}\n\n// Fallback for modularized imports:\nexport default constructFrom;\n"],"names":["constructFrom","date","value","constructFromSymbol"],"mappings":";AAqCO,SAASA,EAAcC,GAAMC,GAAO;AACzC,SAAI,OAAOD,KAAS,aAAmBA,EAAKC,CAAK,IAE7CD,KAAQ,OAAOA,KAAS,YAAYE,KAAuBF,IACtDA,EAAKE,CAAmB,EAAED,CAAK,IAEpCD,aAAgB,OAAa,IAAIA,EAAK,YAAYC,CAAK,IAEpD,IAAI,KAAKA,CAAK;AACvB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index282.js","sources":["../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
package/dist/index283.js CHANGED
@@ -1,9 +1,7 @@
1
- import { constructFrom as r } from "./index282.js";
2
- function e(t, o) {
3
- return r(o || t, t);
4
- }
1
+ const o = 6048e5, c = 864e5, n = /* @__PURE__ */ Symbol.for("constructDateFrom");
5
2
  export {
6
- e as default,
7
- e as toDate
3
+ n as constructFromSymbol,
4
+ c as millisecondsInDay,
5
+ o as millisecondsInWeek
8
6
  };
9
7
  //# sourceMappingURL=index283.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index283.js","sources":["../../../node_modules/date-fns/toDate.js"],"sourcesContent":["import { constructFrom } from \"./constructFrom.js\";\n\n/**\n * @name toDate\n * @category Common Helpers\n * @summary Convert the given argument to an instance of Date.\n *\n * @description\n * Convert the given argument to an instance of Date.\n *\n * If the argument is an instance of Date, the function returns its clone.\n *\n * If the argument is a number, it is treated as a timestamp.\n *\n * If the argument is none of the above, the function returns Invalid Date.\n *\n * Starting from v3.7.0, it clones a date using `[Symbol.for(\"constructDateFrom\")]`\n * enabling to transfer extra properties from the reference date to the new date.\n * It's useful for extensions like [`TZDate`](https://github.com/date-fns/tz)\n * that accept a time zone as a constructor argument.\n *\n * **Note**: *all* Date arguments passed to any *date-fns* function is processed by `toDate`.\n *\n * @typeParam DateType - The `Date` type, the function operates on. Gets inferred from passed arguments. Allows to use extensions like [`UTCDate`](https://github.com/date-fns/utc).\n * @typeParam ResultDate - The result `Date` type, it is the type returned from the context function if it is passed, or inferred from the arguments.\n *\n * @param argument - The value to convert\n *\n * @returns The parsed date in the local time zone\n *\n * @example\n * // Clone the date:\n * const result = toDate(new Date(2014, 1, 11, 11, 30, 30))\n * //=> Tue Feb 11 2014 11:30:30\n *\n * @example\n * // Convert the timestamp to date:\n * const result = toDate(1392098430000)\n * //=> Tue Feb 11 2014 11:30:30\n */\nexport function toDate(argument, context) {\n // [TODO] Get rid of `toDate` or `constructFrom`?\n return constructFrom(context || argument, argument);\n}\n\n// Fallback for modularized imports:\nexport default toDate;\n"],"names":["toDate","argument","context","constructFrom"],"mappings":";AAwCO,SAASA,EAAOC,GAAUC,GAAS;AAExC,SAAOC,EAAcD,KAAWD,GAAUA,CAAQ;AACpD;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index283.js","sources":["../../../node_modules/date-fns/constants.js"],"sourcesContent":["/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol"],"mappings":"AA4EY,MAACA,IAAqB,QAOrBC,IAAoB,OAoIpBC,IAAsB,uBAAO,IAAI,mBAAmB;","x_google_ignoreList":[0]}
package/dist/index284.js CHANGED
@@ -1,7 +1,19 @@
1
- const o = 6048e5, c = 864e5, n = /* @__PURE__ */ Symbol.for("constructDateFrom");
1
+ import { toDate as o } from "./index282.js";
2
+ function l(t) {
3
+ const e = o(t), n = new Date(
4
+ Date.UTC(
5
+ e.getFullYear(),
6
+ e.getMonth(),
7
+ e.getDate(),
8
+ e.getHours(),
9
+ e.getMinutes(),
10
+ e.getSeconds(),
11
+ e.getMilliseconds()
12
+ )
13
+ );
14
+ return n.setUTCFullYear(e.getFullYear()), +t - +n;
15
+ }
2
16
  export {
3
- n as constructFromSymbol,
4
- c as millisecondsInDay,
5
- o as millisecondsInWeek
17
+ l as getTimezoneOffsetInMilliseconds
6
18
  };
7
19
  //# sourceMappingURL=index284.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index284.js","sources":["../../../node_modules/date-fns/constants.js"],"sourcesContent":["/**\n * @module constants\n * @summary Useful constants\n * @description\n * Collection of useful date constants.\n *\n * The constants could be imported from `date-fns/constants`:\n *\n * ```ts\n * import { maxTime, minTime } from \"./constants/date-fns/constants\";\n *\n * function isAllowedTime(time) {\n * return time <= maxTime && time >= minTime;\n * }\n * ```\n */\n\n/**\n * @constant\n * @name daysInWeek\n * @summary Days in 1 week.\n */\nexport const daysInWeek = 7;\n\n/**\n * @constant\n * @name daysInYear\n * @summary Days in 1 year.\n *\n * @description\n * How many days in a year.\n *\n * One years equals 365.2425 days according to the formula:\n *\n * > Leap year occurs every 4 years, except for years that are divisible by 100 and not divisible by 400.\n * > 1 mean year = (365+1/4-1/100+1/400) days = 365.2425 days\n */\nexport const daysInYear = 365.2425;\n\n/**\n * @constant\n * @name maxTime\n * @summary Maximum allowed time.\n *\n * @example\n * import { maxTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = 8640000000000001 <= maxTime;\n * //=> false\n *\n * new Date(8640000000000001);\n * //=> Invalid Date\n */\nexport const maxTime = Math.pow(10, 8) * 24 * 60 * 60 * 1000;\n\n/**\n * @constant\n * @name minTime\n * @summary Minimum allowed time.\n *\n * @example\n * import { minTime } from \"./constants/date-fns/constants\";\n *\n * const isValid = -8640000000000001 >= minTime;\n * //=> false\n *\n * new Date(-8640000000000001)\n * //=> Invalid Date\n */\nexport const minTime = -maxTime;\n\n/**\n * @constant\n * @name millisecondsInWeek\n * @summary Milliseconds in 1 week.\n */\nexport const millisecondsInWeek = 604800000;\n\n/**\n * @constant\n * @name millisecondsInDay\n * @summary Milliseconds in 1 day.\n */\nexport const millisecondsInDay = 86400000;\n\n/**\n * @constant\n * @name millisecondsInMinute\n * @summary Milliseconds in 1 minute\n */\nexport const millisecondsInMinute = 60000;\n\n/**\n * @constant\n * @name millisecondsInHour\n * @summary Milliseconds in 1 hour\n */\nexport const millisecondsInHour = 3600000;\n\n/**\n * @constant\n * @name millisecondsInSecond\n * @summary Milliseconds in 1 second\n */\nexport const millisecondsInSecond = 1000;\n\n/**\n * @constant\n * @name minutesInYear\n * @summary Minutes in 1 year.\n */\nexport const minutesInYear = 525600;\n\n/**\n * @constant\n * @name minutesInMonth\n * @summary Minutes in 1 month.\n */\nexport const minutesInMonth = 43200;\n\n/**\n * @constant\n * @name minutesInDay\n * @summary Minutes in 1 day.\n */\nexport const minutesInDay = 1440;\n\n/**\n * @constant\n * @name minutesInHour\n * @summary Minutes in 1 hour.\n */\nexport const minutesInHour = 60;\n\n/**\n * @constant\n * @name monthsInQuarter\n * @summary Months in 1 quarter.\n */\nexport const monthsInQuarter = 3;\n\n/**\n * @constant\n * @name monthsInYear\n * @summary Months in 1 year.\n */\nexport const monthsInYear = 12;\n\n/**\n * @constant\n * @name quartersInYear\n * @summary Quarters in 1 year\n */\nexport const quartersInYear = 4;\n\n/**\n * @constant\n * @name secondsInHour\n * @summary Seconds in 1 hour.\n */\nexport const secondsInHour = 3600;\n\n/**\n * @constant\n * @name secondsInMinute\n * @summary Seconds in 1 minute.\n */\nexport const secondsInMinute = 60;\n\n/**\n * @constant\n * @name secondsInDay\n * @summary Seconds in 1 day.\n */\nexport const secondsInDay = secondsInHour * 24;\n\n/**\n * @constant\n * @name secondsInWeek\n * @summary Seconds in 1 week.\n */\nexport const secondsInWeek = secondsInDay * 7;\n\n/**\n * @constant\n * @name secondsInYear\n * @summary Seconds in 1 year.\n */\nexport const secondsInYear = secondsInDay * daysInYear;\n\n/**\n * @constant\n * @name secondsInMonth\n * @summary Seconds in 1 month\n */\nexport const secondsInMonth = secondsInYear / 12;\n\n/**\n * @constant\n * @name secondsInQuarter\n * @summary Seconds in 1 quarter.\n */\nexport const secondsInQuarter = secondsInMonth * 3;\n\n/**\n * @constant\n * @name constructFromSymbol\n * @summary Symbol enabling Date extensions to inherit properties from the reference date.\n *\n * The symbol is used to enable the `constructFrom` function to construct a date\n * using a reference date and a value. It allows to transfer extra properties\n * from the reference date to the new date. It's useful for extensions like\n * [`TZDate`](https://github.com/date-fns/tz) that accept a time zone as\n * a constructor argument.\n */\nexport const constructFromSymbol = Symbol.for(\"constructDateFrom\");\n"],"names":["millisecondsInWeek","millisecondsInDay","constructFromSymbol"],"mappings":"AA4EY,MAACA,IAAqB,QAOrBC,IAAoB,OAoIpBC,IAAsB,uBAAO,IAAI,mBAAmB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index284.js","sources":["../../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js"],"sourcesContent":["import { toDate } from \"../toDate.js\";\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(\n Date.UTC(\n _date.getFullYear(),\n _date.getMonth(),\n _date.getDate(),\n _date.getHours(),\n _date.getMinutes(),\n _date.getSeconds(),\n _date.getMilliseconds(),\n ),\n );\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n"],"names":["getTimezoneOffsetInMilliseconds","date","_date","toDate","utcDate"],"mappings":";AAaO,SAASA,EAAgCC,GAAM;AACpD,QAAMC,IAAQC,EAAOF,CAAI,GACnBG,IAAU,IAAI;AAAA,IAClB,KAAK;AAAA,MACHF,EAAM,YAAW;AAAA,MACjBA,EAAM,SAAQ;AAAA,MACdA,EAAM,QAAO;AAAA,MACbA,EAAM,SAAQ;AAAA,MACdA,EAAM,WAAU;AAAA,MAChBA,EAAM,WAAU;AAAA,MAChBA,EAAM,gBAAe;AAAA,IAC3B;AAAA,EACA;AACE,SAAAE,EAAQ,eAAeF,EAAM,aAAa,GACnC,CAACD,IAAO,CAACG;AAClB;","x_google_ignoreList":[0]}
package/dist/index285.js CHANGED
@@ -1,19 +1,12 @@
1
- import { toDate as o } from "./index283.js";
2
- function l(t) {
3
- const e = o(t), n = new Date(
4
- Date.UTC(
5
- e.getFullYear(),
6
- e.getMonth(),
7
- e.getDate(),
8
- e.getHours(),
9
- e.getMinutes(),
10
- e.getSeconds(),
11
- e.getMilliseconds()
12
- )
1
+ import { constructFrom as r } from "./index281.js";
2
+ function i(e, ...o) {
3
+ const n = r.bind(
4
+ null,
5
+ o.find((t) => typeof t == "object")
13
6
  );
14
- return n.setUTCFullYear(e.getFullYear()), +t - +n;
7
+ return o.map(n);
15
8
  }
16
9
  export {
17
- l as getTimezoneOffsetInMilliseconds
10
+ i as normalizeDates
18
11
  };
19
12
  //# sourceMappingURL=index285.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index285.js","sources":["../../../node_modules/date-fns/_lib/getTimezoneOffsetInMilliseconds.js"],"sourcesContent":["import { toDate } from \"../toDate.js\";\n\n/**\n * Google Chrome as of 67.0.3396.87 introduced timezones with offset that includes seconds.\n * They usually appear for dates that denote time before the timezones were introduced\n * (e.g. for 'Europe/Prague' timezone the offset is GMT+00:57:44 before 1 October 1891\n * and GMT+01:00:00 after that date)\n *\n * Date#getTimezoneOffset returns the offset in minutes and would return 57 for the example above,\n * which would lead to incorrect calculations.\n *\n * This function returns the timezone offset in milliseconds that takes seconds in account.\n */\nexport function getTimezoneOffsetInMilliseconds(date) {\n const _date = toDate(date);\n const utcDate = new Date(\n Date.UTC(\n _date.getFullYear(),\n _date.getMonth(),\n _date.getDate(),\n _date.getHours(),\n _date.getMinutes(),\n _date.getSeconds(),\n _date.getMilliseconds(),\n ),\n );\n utcDate.setUTCFullYear(_date.getFullYear());\n return +date - +utcDate;\n}\n"],"names":["getTimezoneOffsetInMilliseconds","date","_date","toDate","utcDate"],"mappings":";AAaO,SAASA,EAAgCC,GAAM;AACpD,QAAMC,IAAQC,EAAOF,CAAI,GACnBG,IAAU,IAAI;AAAA,IAClB,KAAK;AAAA,MACHF,EAAM,YAAW;AAAA,MACjBA,EAAM,SAAQ;AAAA,MACdA,EAAM,QAAO;AAAA,MACbA,EAAM,SAAQ;AAAA,MACdA,EAAM,WAAU;AAAA,MAChBA,EAAM,WAAU;AAAA,MAChBA,EAAM,gBAAe;AAAA,IAC3B;AAAA,EACA;AACE,SAAAE,EAAQ,eAAeF,EAAM,aAAa,GACnC,CAACD,IAAO,CAACG;AAClB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index285.js","sources":["../../../node_modules/date-fns/_lib/normalizeDates.js"],"sourcesContent":["import { constructFrom } from \"../constructFrom.js\";\n\nexport function normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(\n null,\n context || dates.find((date) => typeof date === \"object\"),\n );\n return dates.map(normalize);\n}\n"],"names":["normalizeDates","context","dates","normalize","constructFrom","date"],"mappings":";AAEO,SAASA,EAAeC,MAAYC,GAAO;AAChD,QAAMC,IAAYC,EAAc;AAAA,IAC9B;AAAA,IACWF,EAAM,KAAK,CAACG,MAAS,OAAOA,KAAS,QAAQ;AAAA,EAC5D;AACE,SAAOH,EAAM,IAAIC,CAAS;AAC5B;","x_google_ignoreList":[0]}
package/dist/index286.js CHANGED
@@ -1,12 +1,9 @@
1
- import { constructFrom as r } from "./index282.js";
2
- function i(e, ...o) {
3
- const n = r.bind(
4
- null,
5
- o.find((t) => typeof t == "object")
6
- );
7
- return o.map(n);
1
+ import { normalizeDates as o } from "./index285.js";
2
+ function m(r, t) {
3
+ const [n, e] = o(r, t.start, t.end);
4
+ return { start: n, end: e };
8
5
  }
9
6
  export {
10
- i as normalizeDates
7
+ m as normalizeInterval
11
8
  };
12
9
  //# sourceMappingURL=index286.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index286.js","sources":["../../../node_modules/date-fns/_lib/normalizeDates.js"],"sourcesContent":["import { constructFrom } from \"../constructFrom.js\";\n\nexport function normalizeDates(context, ...dates) {\n const normalize = constructFrom.bind(\n null,\n context || dates.find((date) => typeof date === \"object\"),\n );\n return dates.map(normalize);\n}\n"],"names":["normalizeDates","context","dates","normalize","constructFrom","date"],"mappings":";AAEO,SAASA,EAAeC,MAAYC,GAAO;AAChD,QAAMC,IAAYC,EAAc;AAAA,IAC9B;AAAA,IACWF,EAAM,KAAK,CAACG,MAAS,OAAOA,KAAS,QAAQ;AAAA,EAC5D;AACE,SAAOH,EAAM,IAAIC,CAAS;AAC5B;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index286.js","sources":["../../../node_modules/date-fns/_lib/normalizeInterval.js"],"sourcesContent":["import { normalizeDates } from \"./normalizeDates.js\";\n\nexport function normalizeInterval(context, interval) {\n const [start, end] = normalizeDates(context, interval.start, interval.end);\n return { start, end };\n}\n"],"names":["normalizeInterval","context","interval","start","end","normalizeDates"],"mappings":";AAEO,SAASA,EAAkBC,GAASC,GAAU;AACnD,QAAM,CAACC,GAAOC,CAAG,IAAIC,EAAeJ,GAASC,EAAS,OAAOA,EAAS,GAAG;AACzE,SAAO,EAAE,OAAAC,GAAO,KAAAC,EAAG;AACrB;","x_google_ignoreList":[0]}
package/dist/index287.js CHANGED
@@ -1,9 +1,8 @@
1
- import { normalizeDates as o } from "./index286.js";
2
- function m(r, t) {
3
- const [n, e] = o(r, t.start, t.end);
4
- return { start: n, end: e };
1
+ let t = {};
2
+ function e() {
3
+ return t;
5
4
  }
6
5
  export {
7
- m as normalizeInterval
6
+ e as getDefaultOptions
8
7
  };
9
8
  //# sourceMappingURL=index287.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index287.js","sources":["../../../node_modules/date-fns/_lib/normalizeInterval.js"],"sourcesContent":["import { normalizeDates } from \"./normalizeDates.js\";\n\nexport function normalizeInterval(context, interval) {\n const [start, end] = normalizeDates(context, interval.start, interval.end);\n return { start, end };\n}\n"],"names":["normalizeInterval","context","interval","start","end","normalizeDates"],"mappings":";AAEO,SAASA,EAAkBC,GAASC,GAAU;AACnD,QAAM,CAACC,GAAOC,CAAG,IAAIC,EAAeJ,GAASC,EAAS,OAAOA,EAAS,GAAG;AACzE,SAAO,EAAE,OAAAC,GAAO,KAAAC,EAAG;AACrB;","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"index287.js","sources":["../../../node_modules/date-fns/_lib/defaultOptions.js"],"sourcesContent":["let defaultOptions = {};\n\nexport function getDefaultOptions() {\n return defaultOptions;\n}\n\nexport function setDefaultOptions(newOptions) {\n defaultOptions = newOptions;\n}\n"],"names":["defaultOptions","getDefaultOptions"],"mappings":"AAAA,IAAIA,IAAiB,CAAA;AAEd,SAASC,IAAoB;AAClC,SAAOD;AACT;","x_google_ignoreList":[0]}