@rpcbase/ui 0.167.0 → 0.168.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.
- package/dist/index100.js +52 -320
- package/dist/index100.js.map +1 -1
- package/dist/index101.js +4 -130
- package/dist/index101.js.map +1 -1
- package/dist/index102.js +4 -20
- package/dist/index102.js.map +1 -1
- package/dist/index103.js +15 -75
- package/dist/index103.js.map +1 -1
- package/dist/index104.js +5 -18
- package/dist/index104.js.map +1 -1
- package/dist/index105.js +7 -101
- package/dist/index105.js.map +1 -1
- package/dist/index106.js +17 -5
- package/dist/index106.js.map +1 -1
- package/dist/index107.js +4 -14
- package/dist/index107.js.map +1 -1
- package/dist/index108.js +5 -2
- package/dist/index108.js.map +1 -1
- package/dist/index109.js +5 -7
- package/dist/index109.js.map +1 -1
- package/dist/index11.js +3 -2
- package/dist/index11.js.map +1 -1
- package/dist/index110.js +5 -326
- package/dist/index110.js.map +1 -1
- package/dist/index111.js +4 -49
- package/dist/index111.js.map +1 -1
- package/dist/index112.js +5 -52
- package/dist/index112.js.map +1 -1
- package/dist/index113.js +5 -3
- package/dist/index113.js.map +1 -1
- package/dist/index114.js +24 -4
- package/dist/index114.js.map +1 -1
- package/dist/index115.js +6 -15
- package/dist/index115.js.map +1 -1
- package/dist/index116.js +3 -4
- package/dist/index116.js.map +1 -1
- package/dist/index117.js +5 -6
- package/dist/index117.js.map +1 -1
- package/dist/index118.js +5 -16
- package/dist/index118.js.map +1 -1
- package/dist/index119.js +3 -3
- package/dist/index119.js.map +1 -1
- package/dist/index120.js +5 -4
- package/dist/index120.js.map +1 -1
- package/dist/index121.js +3 -4
- package/dist/index121.js.map +1 -1
- package/dist/index122.js +8 -5
- package/dist/index122.js.map +1 -1
- package/dist/index123.js +5 -4
- package/dist/index123.js.map +1 -1
- package/dist/index124.js +4 -4
- package/dist/index124.js.map +1 -1
- package/dist/index125.js +4 -6
- package/dist/index125.js.map +1 -1
- package/dist/index126.js +6 -24
- package/dist/index126.js.map +1 -1
- package/dist/index127.js +145 -6
- package/dist/index127.js.map +1 -1
- package/dist/index128.js +39 -4
- package/dist/index128.js.map +1 -1
- package/dist/index129.js +4 -6
- package/dist/index129.js.map +1 -1
- package/dist/index130.js +7 -5
- package/dist/index130.js.map +1 -1
- package/dist/index131.js +13 -4
- package/dist/index131.js.map +1 -1
- package/dist/index132.js +13 -5
- package/dist/index132.js.map +1 -1
- package/dist/index133.js +7 -4
- package/dist/index133.js.map +1 -1
- package/dist/index134.js +31 -8
- package/dist/index134.js.map +1 -1
- package/dist/index135.js +10 -5
- package/dist/index135.js.map +1 -1
- package/dist/index136.js +10 -4
- package/dist/index136.js.map +1 -1
- package/dist/index137.js +8 -4
- package/dist/index137.js.map +1 -1
- package/dist/index138.js +13 -6
- package/dist/index138.js.map +1 -1
- package/dist/index139.js +101 -145
- package/dist/index139.js.map +1 -1
- package/dist/index140.js +20 -40
- package/dist/index140.js.map +1 -1
- package/dist/index141.js +53 -4
- package/dist/index141.js.map +1 -1
- package/dist/index142.js +70 -5
- package/dist/index142.js.map +1 -1
- package/dist/index143.js +9 -13
- package/dist/index143.js.map +1 -1
- package/dist/index144.js +20 -13
- package/dist/index144.js.map +1 -1
- package/dist/index145.js +16 -7
- package/dist/index145.js.map +1 -1
- package/dist/index146.js +22 -30
- package/dist/index146.js.map +1 -1
- package/dist/index147.js +6 -10
- package/dist/index147.js.map +1 -1
- package/dist/index148.js +5 -10
- package/dist/index148.js.map +1 -1
- package/dist/index149.js +23 -8
- package/dist/index149.js.map +1 -1
- package/dist/index150.js +35 -14
- package/dist/index150.js.map +1 -1
- package/dist/index151.js +16 -102
- package/dist/index151.js.map +1 -1
- package/dist/index152.js +7 -20
- package/dist/index152.js.map +1 -1
- package/dist/index153.js +4 -53
- package/dist/index153.js.map +1 -1
- package/dist/index154.js +4 -72
- package/dist/index154.js.map +1 -1
- package/dist/index155.js +4 -9
- package/dist/index155.js.map +1 -1
- package/dist/index156.js +4 -20
- package/dist/index156.js.map +1 -1
- package/dist/index157.js +3 -16
- package/dist/index157.js.map +1 -1
- package/dist/index158.js +6 -23
- package/dist/index158.js.map +1 -1
- package/dist/index159.js +24 -7
- package/dist/index159.js.map +1 -1
- package/dist/index160.js +7 -5
- package/dist/index160.js.map +1 -1
- package/dist/index161.js +6 -23
- package/dist/index161.js.map +1 -1
- package/dist/index162.js +6 -35
- package/dist/index162.js.map +1 -1
- package/dist/index163.js +4 -16
- package/dist/index163.js.map +1 -1
- package/dist/index164.js +3 -6
- package/dist/index164.js.map +1 -1
- package/dist/index165.js +4 -4
- package/dist/index165.js.map +1 -1
- package/dist/index166.js +3 -4
- package/dist/index166.js.map +1 -1
- package/dist/index167.js +4 -4
- package/dist/index167.js.map +1 -1
- package/dist/index168.js +3 -4
- package/dist/index168.js.map +1 -1
- package/dist/index169.js +3 -3
- package/dist/index169.js.map +1 -1
- package/dist/index170.js +3 -6
- package/dist/index170.js.map +1 -1
- package/dist/index171.js +47 -24
- package/dist/index171.js.map +1 -1
- package/dist/index172.js +46 -7
- package/dist/index172.js.map +1 -1
- package/dist/index173.js +205 -6
- package/dist/index173.js.map +1 -1
- package/dist/index174.js +22 -6
- package/dist/index174.js.map +1 -1
- package/dist/index175.js +24 -3
- package/dist/index175.js.map +1 -1
- package/dist/index176.js +399 -3
- package/dist/index176.js.map +1 -1
- package/dist/index177.js +5 -4
- package/dist/index177.js.map +1 -1
- package/dist/index178.js +68 -3
- package/dist/index178.js.map +1 -1
- package/dist/index179.js +2 -5
- package/dist/index179.js.map +1 -1
- package/dist/index18.js +1 -0
- package/dist/index18.js.map +1 -1
- package/dist/index180.js +363 -3
- package/dist/index180.js.map +1 -1
- package/dist/index181.js +261 -3
- package/dist/index181.js.map +1 -1
- package/dist/index182.js +60 -3
- package/dist/index182.js.map +1 -1
- package/dist/index183.js +46 -3
- package/dist/index183.js.map +1 -1
- package/dist/index184.js +170 -2
- package/dist/index184.js.map +1 -1
- package/dist/index185.js +107 -65
- package/dist/index185.js.map +1 -1
- package/dist/index186.js +24 -84
- package/dist/index186.js.map +1 -1
- package/dist/index187.js +8 -47
- package/dist/index187.js.map +1 -1
- package/dist/index188.js +4 -7
- package/dist/index188.js.map +1 -1
- package/dist/index189.js +5 -4
- package/dist/index189.js.map +1 -1
- package/dist/index190.js +4 -51
- package/dist/index190.js.map +1 -1
- package/dist/index191.js +465 -23
- package/dist/index191.js.map +1 -1
- package/dist/index192.js +185 -28
- package/dist/index192.js.map +1 -1
- package/dist/index193.js +108 -5
- package/dist/index193.js.map +1 -1
- package/dist/index194.js +262 -5
- package/dist/index194.js.map +1 -1
- package/dist/index195.js +8 -67
- package/dist/index195.js.map +1 -1
- package/dist/index196.js +43 -2
- package/dist/index196.js.map +1 -1
- package/dist/index197.js +4 -363
- package/dist/index197.js.map +1 -1
- package/dist/index198.js +64 -258
- package/dist/index198.js.map +1 -1
- package/dist/index199.js +176 -56
- package/dist/index199.js.map +1 -1
- package/dist/index200.js +42 -42
- package/dist/index200.js.map +1 -1
- package/dist/index201.js +57 -162
- package/dist/index201.js.map +1 -1
- package/dist/index202.js +45 -106
- package/dist/index202.js.map +1 -1
- package/dist/index203.js +39 -24
- package/dist/index203.js.map +1 -1
- package/dist/index204.js +101 -8
- package/dist/index204.js.map +1 -1
- package/dist/index205.js +97 -4
- package/dist/index205.js.map +1 -1
- package/dist/index206.js +99 -5
- package/dist/index206.js.map +1 -1
- package/dist/index207.js +58 -4
- package/dist/index207.js.map +1 -1
- package/dist/index208.js +8 -466
- package/dist/index208.js.map +1 -1
- package/dist/index209.js +59 -178
- package/dist/index209.js.map +1 -1
- package/dist/index210.js +17 -105
- package/dist/index210.js.map +1 -1
- package/dist/index211.js +14 -260
- package/dist/index211.js.map +1 -1
- package/dist/index212.js +5 -9
- package/dist/index212.js.map +1 -1
- package/dist/index213.js +4 -41
- package/dist/index213.js.map +1 -1
- package/dist/index214.js +6 -4
- package/dist/index214.js.map +1 -1
- package/dist/index215.js +4 -64
- package/dist/index215.js.map +1 -1
- package/dist/index216.js +7 -48
- package/dist/index216.js.map +1 -1
- package/dist/index217.js +17 -67
- package/dist/index217.js.map +1 -1
- package/dist/index218.js +5 -180
- package/dist/index218.js.map +1 -1
- package/dist/index219.js +5 -46
- package/dist/index219.js.map +1 -1
- package/dist/index220.js +13 -39
- package/dist/index220.js.map +1 -1
- package/dist/index221.js +10 -100
- package/dist/index221.js.map +1 -1
- package/dist/index222.js +14 -97
- package/dist/index222.js.map +1 -1
- package/dist/index223.js +14 -99
- package/dist/index223.js.map +1 -1
- package/dist/index224.js +5 -58
- package/dist/index224.js.map +1 -1
- package/dist/index225.js +6 -8
- package/dist/index225.js.map +1 -1
- package/dist/index226.js +7 -66
- package/dist/index226.js.map +1 -1
- package/dist/index227.js +6 -19
- package/dist/index227.js.map +1 -1
- package/dist/index228.js +9 -16
- package/dist/index228.js.map +1 -1
- package/dist/index229.js +5 -5
- package/dist/index229.js.map +1 -1
- package/dist/index230.js +5 -5
- package/dist/index230.js.map +1 -1
- package/dist/index231.js +9 -6
- package/dist/index231.js.map +1 -1
- package/dist/index232.js +5 -4
- package/dist/index232.js.map +1 -1
- package/dist/index233.js +5 -7
- package/dist/index233.js.map +1 -1
- package/dist/index234.js +4 -17
- package/dist/index234.js.map +1 -1
- package/dist/index235.js +11 -5
- package/dist/index235.js.map +1 -1
- package/dist/index236.js +10 -5
- package/dist/index236.js.map +1 -1
- package/dist/index237.js +10 -13
- package/dist/index237.js.map +1 -1
- package/dist/index238.js +11 -10
- package/dist/index238.js.map +1 -1
- package/dist/index239.js +10 -13
- package/dist/index239.js.map +1 -1
- package/dist/index240.js +10 -14
- package/dist/index240.js.map +1 -1
- package/dist/index241.js +7 -5
- package/dist/index241.js.map +1 -1
- package/dist/index242.js +6 -6
- package/dist/index242.js.map +1 -1
- package/dist/index243.js +5 -7
- package/dist/index243.js.map +1 -1
- package/dist/index244.js +6 -6
- package/dist/index244.js.map +1 -1
- package/dist/index245.js +7 -9
- package/dist/index245.js.map +1 -1
- package/dist/index246.js +6 -5
- package/dist/index246.js.map +1 -1
- package/dist/index247.js +55 -5
- package/dist/index247.js.map +1 -1
- package/dist/index248.js +23 -9
- package/dist/index248.js.map +1 -1
- package/dist/index249.js +16 -5
- package/dist/index249.js.map +1 -1
- package/dist/index250.js +7 -5
- package/dist/index250.js.map +1 -1
- package/dist/index251.js +10 -4
- package/dist/index251.js.map +1 -1
- package/dist/index252.js +10 -11
- package/dist/index252.js.map +1 -1
- package/dist/index253.js +21 -10
- package/dist/index253.js.map +1 -1
- package/dist/index254.js +10 -10
- package/dist/index254.js.map +1 -1
- package/dist/index255.js +9 -11
- package/dist/index255.js.map +1 -1
- package/dist/index256.js +9 -11
- package/dist/index256.js.map +1 -1
- package/dist/index257.js +4 -10
- package/dist/index257.js.map +1 -1
- package/dist/index258.js +5 -7
- package/dist/index258.js.map +1 -1
- package/dist/index259.js +16 -6
- package/dist/index259.js.map +1 -1
- package/dist/index260.js +9 -5
- package/dist/index260.js.map +1 -1
- package/dist/index261.js +18 -6
- package/dist/index261.js.map +1 -1
- package/dist/index262.js +15 -7
- package/dist/index262.js.map +1 -1
- package/dist/index263.js +12 -6
- package/dist/index263.js.map +1 -1
- package/dist/index264.js +29 -55
- package/dist/index264.js.map +1 -1
- package/dist/index265.js +12 -23
- package/dist/index265.js.map +1 -1
- package/dist/index266.js +23 -14
- package/dist/index266.js.map +1 -1
- package/dist/index267.js +5 -7
- package/dist/index267.js.map +1 -1
- package/dist/index268.js +23 -9
- package/dist/index268.js.map +1 -1
- package/dist/index269.js +29 -11
- package/dist/index269.js.map +1 -1
- package/dist/index270.js +5 -22
- package/dist/index270.js.map +1 -1
- package/dist/index271.js +13 -10
- package/dist/index271.js.map +1 -1
- package/dist/index272.js +154 -9
- package/dist/index272.js.map +1 -1
- package/dist/index273.js +30 -9
- package/dist/index273.js.map +1 -1
- package/dist/index274.js +9 -4
- package/dist/index274.js.map +1 -1
- package/dist/index275.js +47 -5
- package/dist/index275.js.map +1 -1
- package/dist/index276.js +10 -15
- package/dist/index276.js.map +1 -1
- package/dist/index277.js +44 -9
- package/dist/index277.js.map +1 -1
- package/dist/index278.js +95 -18
- package/dist/index278.js.map +1 -1
- package/dist/index279.js +86 -15
- package/dist/index279.js.map +1 -1
- package/dist/index280.js +103 -10
- package/dist/index280.js.map +1 -1
- package/dist/index281.js +51 -28
- package/dist/index281.js.map +1 -1
- package/dist/index282.js +10 -11
- package/dist/index282.js.map +1 -1
- package/dist/index283.js +36 -24
- package/dist/index283.js.map +1 -1
- package/dist/index284.js +8 -5
- package/dist/index284.js.map +1 -1
- package/dist/index285.js +117 -2
- package/dist/index285.js.map +1 -1
- package/dist/index286.js +18 -2
- package/dist/index286.js.map +1 -1
- package/dist/index287.js +16 -5
- package/dist/index287.js.map +1 -1
- package/dist/index288.js +4 -3
- package/dist/index288.js.map +1 -1
- package/dist/index289.js +36 -23
- package/dist/index289.js.map +1 -1
- package/dist/index29.js +3 -3
- package/dist/index290.js +20 -112
- package/dist/index290.js.map +1 -1
- package/dist/index291.js +9 -15
- package/dist/index291.js.map +1 -1
- package/dist/index292.js +7 -523
- package/dist/index292.js.map +1 -1
- package/dist/index293.js +16 -124
- package/dist/index293.js.map +1 -1
- package/dist/index294.js +25 -130
- package/dist/index294.js.map +1 -1
- package/dist/index295.js +16 -13
- package/dist/index295.js.map +1 -1
- package/dist/index296.js +4 -154
- package/dist/index296.js.map +1 -1
- package/dist/index297.js +18 -30
- package/dist/index297.js.map +1 -1
- package/dist/index298.js +12 -9
- package/dist/index298.js.map +1 -1
- package/dist/index299.js +5 -48
- package/dist/index299.js.map +1 -1
- package/dist/index30.js +14 -14
- package/dist/index300.js +3 -12
- package/dist/index300.js.map +1 -1
- package/dist/index301.js +22 -43
- package/dist/index301.js.map +1 -1
- package/dist/index302.js +109 -92
- package/dist/index302.js.map +1 -1
- package/dist/index303.js +15 -86
- package/dist/index303.js.map +1 -1
- package/dist/index304.js +513 -94
- package/dist/index304.js.map +1 -1
- package/dist/index305.js +125 -50
- package/dist/index305.js.map +1 -1
- package/dist/index306.js +132 -10
- package/dist/index306.js.map +1 -1
- package/dist/index307.js +19 -36
- package/dist/index307.js.map +1 -1
- package/dist/index308.js +5 -8
- package/dist/index308.js.map +1 -1
- package/dist/index309.js +5 -3
- package/dist/index309.js.map +1 -1
- package/dist/index31.js +3 -3
- package/dist/index310.js +4 -10
- package/dist/index310.js.map +1 -1
- package/dist/index311.js +15 -116
- package/dist/index311.js.map +1 -1
- package/dist/index312.js +8 -17
- package/dist/index312.js.map +1 -1
- package/dist/index313.js +5 -15
- package/dist/index313.js.map +1 -1
- package/dist/index314.js +4 -36
- package/dist/index314.js.map +1 -1
- package/dist/index315.js +544 -19
- package/dist/index315.js.map +1 -1
- package/dist/index316.js +46 -8
- package/dist/index316.js.map +1 -1
- package/dist/index317.js +17 -19
- package/dist/index317.js.map +1 -1
- package/dist/index318.js +6 -28
- package/dist/index318.js.map +1 -1
- package/dist/index319.js +8 -16
- package/dist/index319.js.map +1 -1
- package/dist/index32.js +2 -2
- package/dist/index320.js +7 -4
- package/dist/index320.js.map +1 -1
- package/dist/index321.js +9 -19
- package/dist/index321.js.map +1 -1
- package/dist/index322.js +12 -12
- package/dist/index322.js.map +1 -1
- package/dist/index323.js +10 -69
- package/dist/index323.js.map +1 -1
- package/dist/index324.js +14 -9
- package/dist/index324.js.map +1 -1
- package/dist/index325.js +64 -13
- package/dist/index325.js.map +1 -1
- package/dist/index326.js +68 -65
- package/dist/index326.js.map +1 -1
- package/dist/index327.js +8 -64
- package/dist/index327.js.map +1 -1
- package/dist/index328.js +14 -21
- package/dist/index328.js.map +1 -1
- package/dist/index329.js +66 -6
- package/dist/index329.js.map +1 -1
- package/dist/index33.js +1 -1
- package/dist/index330.js +4 -5
- package/dist/index330.js.map +1 -1
- package/dist/index331.js +56 -4
- package/dist/index331.js.map +1 -1
- package/dist/index332.js +68 -16
- package/dist/index332.js.map +1 -1
- package/dist/index333.js +31 -9
- package/dist/index333.js.map +1 -1
- package/dist/index334.js +9 -6
- package/dist/index334.js.map +1 -1
- package/dist/index335.js +153 -5
- package/dist/index335.js.map +1 -1
- package/dist/index336.js +106 -544
- package/dist/index336.js.map +1 -1
- package/dist/index337.js +4 -47
- package/dist/index337.js.map +1 -1
- package/dist/index338.js +22 -17
- package/dist/index338.js.map +1 -1
- package/dist/index339.js +15 -6
- package/dist/index339.js.map +1 -1
- package/dist/index34.js +1 -1
- package/dist/index340.js +28 -8
- package/dist/index340.js.map +1 -1
- package/dist/index341.js +12 -7
- package/dist/index341.js.map +1 -1
- package/dist/index342.js +6 -8
- package/dist/index342.js.map +1 -1
- package/dist/index343.js +13 -13
- package/dist/index343.js.map +1 -1
- package/dist/index344.js +27 -9
- package/dist/index344.js.map +1 -1
- package/dist/index345.js +5 -14
- package/dist/index345.js.map +1 -1
- package/dist/index346.js +23 -4
- package/dist/index346.js.map +1 -1
- package/dist/index35.js +1 -1
- package/dist/index36.js +1 -1
- package/dist/index38.js +10 -9
- package/dist/index38.js.map +1 -1
- package/dist/index39.js +2 -2
- package/dist/index40.js +24 -24
- package/dist/index42.js +1 -1
- package/dist/index46.js +1 -1
- package/dist/index47.js +2 -2
- package/dist/index50.js +2 -2
- package/dist/index51.js +18 -18
- package/dist/index55.js +1 -1
- package/dist/index56.js +1 -1
- package/dist/index57.js +5 -5
- package/dist/index58.js +53 -3
- package/dist/index58.js.map +1 -1
- package/dist/index60.js +33 -47
- package/dist/index60.js.map +1 -1
- package/dist/index62.js +7 -50
- package/dist/index62.js.map +1 -1
- package/dist/index63.js +11 -7
- package/dist/index63.js.map +1 -1
- package/dist/index64.js +3 -14
- package/dist/index64.js.map +1 -1
- package/dist/index65.js +43 -129
- package/dist/index65.js.map +1 -1
- package/dist/index66.js +50 -10
- package/dist/index66.js.map +1 -1
- package/dist/index67.js +7 -216
- package/dist/index67.js.map +1 -1
- package/dist/index68.js +15 -13
- package/dist/index68.js.map +1 -1
- package/dist/index69.js +132 -32
- package/dist/index69.js.map +1 -1
- package/dist/index70.js +10 -46
- package/dist/index70.js.map +1 -1
- package/dist/index71.js +216 -7
- package/dist/index71.js.map +1 -1
- package/dist/index72.js +12 -49
- package/dist/index72.js.map +1 -1
- package/dist/index73.js +47 -4
- package/dist/index73.js.map +1 -1
- package/dist/index74.js +49 -5
- package/dist/index74.js.map +1 -1
- package/dist/index75.js +4 -28
- package/dist/index75.js.map +1 -1
- package/dist/index76.js +6 -50
- package/dist/index76.js.map +1 -1
- package/dist/index77.js +28 -9
- package/dist/index77.js.map +1 -1
- package/dist/index78.js +50 -12
- package/dist/index78.js.map +1 -1
- package/dist/index79.js +9 -2
- package/dist/index79.js.map +1 -1
- package/dist/index80.js +2 -2
- package/dist/index81.js +2 -54
- package/dist/index81.js.map +1 -1
- package/dist/index82.js +5 -46
- package/dist/index82.js.map +1 -1
- package/dist/index83.js +7 -205
- package/dist/index83.js.map +1 -1
- package/dist/index84.js +6 -22
- package/dist/index84.js.map +1 -1
- package/dist/index85.js +605 -24
- package/dist/index85.js.map +1 -1
- package/dist/index86.js +3 -399
- package/dist/index86.js.map +1 -1
- package/dist/index87.js +32 -45
- package/dist/index87.js.map +1 -1
- package/dist/index88.js +249 -5
- package/dist/index88.js.map +1 -1
- package/dist/index89.js +114 -7
- package/dist/index89.js.map +1 -1
- package/dist/index90.js +219 -5
- package/dist/index90.js.map +1 -1
- package/dist/index91.js +60 -599
- package/dist/index91.js.map +1 -1
- package/dist/index92.js +20 -3
- package/dist/index92.js.map +1 -1
- package/dist/index93.js +208 -32
- package/dist/index93.js.map +1 -1
- package/dist/index94.js +279 -209
- package/dist/index94.js.map +1 -1
- package/dist/index95.js +115 -99
- package/dist/index95.js.map +1 -1
- package/dist/index96.js +20 -219
- package/dist/index96.js.map +1 -1
- package/dist/index97.js +60 -51
- package/dist/index97.js.map +1 -1
- package/dist/index98.js +11 -13
- package/dist/index98.js.map +1 -1
- package/dist/index99.js +89 -197
- package/dist/index99.js.map +1 -1
- package/package.json +1 -1
- package/dist/index347.js +0 -26
- package/dist/index347.js.map +0 -1
- package/dist/index348.js +0 -8
- package/dist/index348.js.map +0 -1
- package/dist/index349.js +0 -59
- package/dist/index349.js.map +0 -1
- package/dist/index350.js +0 -71
- package/dist/index350.js.map +0 -1
- package/dist/index351.js +0 -34
- package/dist/index351.js.map +0 -1
- package/dist/index352.js +0 -12
- package/dist/index352.js.map +0 -1
- package/dist/index353.js +0 -156
- package/dist/index353.js.map +0 -1
- package/dist/index354.js +0 -111
- package/dist/index354.js.map +0 -1
- package/dist/index355.js +0 -26
- package/dist/index355.js.map +0 -1
- package/dist/index356.js +0 -16
- package/dist/index356.js.map +0 -1
- package/dist/index357.js +0 -31
- package/dist/index357.js.map +0 -1
- package/dist/index358.js +0 -8
- package/dist/index358.js.map +0 -1
- package/dist/index359.js +0 -19
- package/dist/index359.js.map +0 -1
- package/dist/index360.js +0 -32
- package/dist/index360.js.map +0 -1
- package/dist/index361.js +0 -16
- package/dist/index361.js.map +0 -1
- package/dist/index362.js +0 -10
- package/dist/index362.js.map +0 -1
package/dist/index191.js
CHANGED
|
@@ -1,28 +1,470 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
import f from "./index282.js";
|
|
2
|
+
import l from "./index197.js";
|
|
3
|
+
function a(n) {
|
|
4
|
+
"@babel/helpers - typeof";
|
|
5
|
+
return a = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
|
|
6
|
+
return typeof t;
|
|
7
|
+
} : function(t) {
|
|
8
|
+
return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
|
|
9
|
+
}, a(n);
|
|
10
|
+
}
|
|
11
|
+
function o(n, t) {
|
|
12
|
+
if (!(n instanceof t)) throw new TypeError("Cannot call a class as a function");
|
|
13
|
+
}
|
|
14
|
+
function y(n, t) {
|
|
15
|
+
for (var e = 0; e < t.length; e++) {
|
|
16
|
+
var i = t[e];
|
|
17
|
+
i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(n, v(i.key), i);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
function u(n, t, e) {
|
|
21
|
+
return t && y(n.prototype, t), Object.defineProperty(n, "prototype", { writable: !1 }), n;
|
|
22
|
+
}
|
|
23
|
+
function v(n) {
|
|
24
|
+
var t = P(n, "string");
|
|
25
|
+
return a(t) == "symbol" ? t : t + "";
|
|
26
|
+
}
|
|
27
|
+
function P(n, t) {
|
|
28
|
+
if (a(n) != "object" || !n) return n;
|
|
29
|
+
var e = n[Symbol.toPrimitive];
|
|
30
|
+
if (e !== void 0) {
|
|
31
|
+
var i = e.call(n, t);
|
|
32
|
+
if (a(i) != "object") return i;
|
|
33
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
34
|
+
}
|
|
35
|
+
return String(n);
|
|
36
|
+
}
|
|
37
|
+
var d = "1.2.0", p = "1.7.35", h = " ext. ", C = /^\d+$/, b = /* @__PURE__ */ (function() {
|
|
38
|
+
function n(t) {
|
|
39
|
+
o(this, n), _(t), this.metadata = t, m.call(this, t);
|
|
40
|
+
}
|
|
41
|
+
return u(n, [{
|
|
42
|
+
key: "getCountries",
|
|
43
|
+
value: function() {
|
|
44
|
+
return Object.keys(this.metadata.countries).filter(function(e) {
|
|
45
|
+
return e !== "001";
|
|
46
|
+
});
|
|
47
|
+
}
|
|
48
|
+
}, {
|
|
49
|
+
key: "getCountryMetadata",
|
|
50
|
+
value: function(e) {
|
|
51
|
+
return this.metadata.countries[e];
|
|
52
|
+
}
|
|
53
|
+
}, {
|
|
54
|
+
key: "nonGeographic",
|
|
55
|
+
value: function() {
|
|
56
|
+
if (!(this.v1 || this.v2 || this.v3))
|
|
57
|
+
return this.metadata.nonGeographic || this.metadata.nonGeographical;
|
|
58
|
+
}
|
|
59
|
+
}, {
|
|
60
|
+
key: "hasCountry",
|
|
61
|
+
value: function(e) {
|
|
62
|
+
return this.getCountryMetadata(e) !== void 0;
|
|
63
|
+
}
|
|
64
|
+
}, {
|
|
65
|
+
key: "hasCallingCode",
|
|
66
|
+
value: function(e) {
|
|
67
|
+
if (this.getCountryCodesForCallingCode(e))
|
|
68
|
+
return !0;
|
|
69
|
+
if (this.nonGeographic()) {
|
|
70
|
+
if (this.nonGeographic()[e])
|
|
71
|
+
return !0;
|
|
72
|
+
} else {
|
|
73
|
+
var i = this.countryCallingCodes()[e];
|
|
74
|
+
if (i && i.length === 1 && i[0] === "001")
|
|
75
|
+
return !0;
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}, {
|
|
79
|
+
key: "isNonGeographicCallingCode",
|
|
80
|
+
value: function(e) {
|
|
81
|
+
return this.nonGeographic() ? !!this.nonGeographic()[e] : !this.getCountryCodesForCallingCode(e);
|
|
82
|
+
}
|
|
83
|
+
// Deprecated.
|
|
84
|
+
}, {
|
|
85
|
+
key: "country",
|
|
86
|
+
value: function(e) {
|
|
87
|
+
return this.selectNumberingPlan(e);
|
|
88
|
+
}
|
|
89
|
+
}, {
|
|
90
|
+
key: "selectNumberingPlan",
|
|
91
|
+
value: function(e, i) {
|
|
92
|
+
if (e && C.test(e) && (i = e, e = null), e && e !== "001") {
|
|
93
|
+
if (!this.hasCountry(e))
|
|
94
|
+
throw new Error("Unknown country: ".concat(e));
|
|
95
|
+
this.numberingPlan = new g(this.getCountryMetadata(e), this);
|
|
96
|
+
} else if (i) {
|
|
97
|
+
if (!this.hasCallingCode(i))
|
|
98
|
+
throw new Error("Unknown calling code: ".concat(i));
|
|
99
|
+
this.numberingPlan = new g(this.getNumberingPlanMetadata(i), this);
|
|
100
|
+
} else
|
|
101
|
+
this.numberingPlan = void 0;
|
|
102
|
+
return this;
|
|
103
|
+
}
|
|
104
|
+
}, {
|
|
105
|
+
key: "getCountryCodesForCallingCode",
|
|
106
|
+
value: function(e) {
|
|
107
|
+
var i = this.countryCallingCodes()[e];
|
|
108
|
+
if (i)
|
|
109
|
+
return i.length === 1 && i[0].length === 3 ? void 0 : i;
|
|
110
|
+
}
|
|
111
|
+
}, {
|
|
112
|
+
key: "getCountryCodeForCallingCode",
|
|
113
|
+
value: function(e) {
|
|
114
|
+
var i = this.getCountryCodesForCallingCode(e);
|
|
115
|
+
if (i)
|
|
116
|
+
return i[0];
|
|
117
|
+
}
|
|
118
|
+
}, {
|
|
119
|
+
key: "getNumberingPlanMetadata",
|
|
120
|
+
value: function(e) {
|
|
121
|
+
var i = this.getCountryCodeForCallingCode(e);
|
|
122
|
+
if (i)
|
|
123
|
+
return this.getCountryMetadata(i);
|
|
124
|
+
if (this.nonGeographic()) {
|
|
125
|
+
var r = this.nonGeographic()[e];
|
|
126
|
+
if (r)
|
|
127
|
+
return r;
|
|
128
|
+
} else {
|
|
129
|
+
var s = this.countryCallingCodes()[e];
|
|
130
|
+
if (s && s.length === 1 && s[0] === "001")
|
|
131
|
+
return this.metadata.countries["001"];
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
// Deprecated.
|
|
135
|
+
}, {
|
|
136
|
+
key: "countryCallingCode",
|
|
137
|
+
value: function() {
|
|
138
|
+
return this.numberingPlan.callingCode();
|
|
139
|
+
}
|
|
140
|
+
// Deprecated.
|
|
141
|
+
}, {
|
|
142
|
+
key: "IDDPrefix",
|
|
143
|
+
value: function() {
|
|
144
|
+
return this.numberingPlan.IDDPrefix();
|
|
145
|
+
}
|
|
146
|
+
// Deprecated.
|
|
147
|
+
}, {
|
|
148
|
+
key: "defaultIDDPrefix",
|
|
149
|
+
value: function() {
|
|
150
|
+
return this.numberingPlan.defaultIDDPrefix();
|
|
151
|
+
}
|
|
152
|
+
// Deprecated.
|
|
153
|
+
}, {
|
|
154
|
+
key: "nationalNumberPattern",
|
|
155
|
+
value: function() {
|
|
156
|
+
return this.numberingPlan.nationalNumberPattern();
|
|
157
|
+
}
|
|
158
|
+
// Deprecated.
|
|
159
|
+
}, {
|
|
160
|
+
key: "possibleLengths",
|
|
161
|
+
value: function() {
|
|
162
|
+
return this.numberingPlan.possibleLengths();
|
|
163
|
+
}
|
|
164
|
+
// Deprecated.
|
|
165
|
+
}, {
|
|
166
|
+
key: "formats",
|
|
167
|
+
value: function() {
|
|
168
|
+
return this.numberingPlan.formats();
|
|
169
|
+
}
|
|
170
|
+
// Deprecated.
|
|
171
|
+
}, {
|
|
172
|
+
key: "nationalPrefixForParsing",
|
|
173
|
+
value: function() {
|
|
174
|
+
return this.numberingPlan.nationalPrefixForParsing();
|
|
175
|
+
}
|
|
176
|
+
// Deprecated.
|
|
177
|
+
}, {
|
|
178
|
+
key: "nationalPrefixTransformRule",
|
|
179
|
+
value: function() {
|
|
180
|
+
return this.numberingPlan.nationalPrefixTransformRule();
|
|
181
|
+
}
|
|
182
|
+
// Deprecated.
|
|
183
|
+
}, {
|
|
184
|
+
key: "leadingDigits",
|
|
185
|
+
value: function() {
|
|
186
|
+
return this.numberingPlan.leadingDigits();
|
|
187
|
+
}
|
|
188
|
+
// Deprecated.
|
|
189
|
+
}, {
|
|
190
|
+
key: "hasTypes",
|
|
191
|
+
value: function() {
|
|
192
|
+
return this.numberingPlan.hasTypes();
|
|
193
|
+
}
|
|
194
|
+
// Deprecated.
|
|
195
|
+
}, {
|
|
196
|
+
key: "type",
|
|
197
|
+
value: function(e) {
|
|
198
|
+
return this.numberingPlan.type(e);
|
|
199
|
+
}
|
|
200
|
+
// Deprecated.
|
|
201
|
+
}, {
|
|
202
|
+
key: "ext",
|
|
203
|
+
value: function() {
|
|
204
|
+
return this.numberingPlan.ext();
|
|
205
|
+
}
|
|
206
|
+
}, {
|
|
207
|
+
key: "countryCallingCodes",
|
|
208
|
+
value: function() {
|
|
209
|
+
return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
|
|
210
|
+
}
|
|
211
|
+
// Deprecated.
|
|
212
|
+
}, {
|
|
213
|
+
key: "chooseCountryByCountryCallingCode",
|
|
214
|
+
value: function(e) {
|
|
215
|
+
return this.selectNumberingPlan(e);
|
|
216
|
+
}
|
|
217
|
+
}, {
|
|
218
|
+
key: "hasSelectedNumberingPlan",
|
|
219
|
+
value: function() {
|
|
220
|
+
return this.numberingPlan !== void 0;
|
|
221
|
+
}
|
|
222
|
+
}]);
|
|
223
|
+
})(), g = /* @__PURE__ */ (function() {
|
|
224
|
+
function n(t, e) {
|
|
225
|
+
o(this, n), this.globalMetadataObject = e, this.metadata = t, m.call(this, e.metadata);
|
|
226
|
+
}
|
|
227
|
+
return u(n, [{
|
|
228
|
+
key: "callingCode",
|
|
229
|
+
value: function() {
|
|
230
|
+
return this.metadata[0];
|
|
231
|
+
}
|
|
232
|
+
// Formatting information for regions which share
|
|
233
|
+
// a country calling code is contained by only one region
|
|
234
|
+
// for performance reasons. For example, for NANPA region
|
|
235
|
+
// ("North American Numbering Plan Administration",
|
|
236
|
+
// which includes USA, Canada, Cayman Islands, Bahamas, etc)
|
|
237
|
+
// it will be contained in the metadata for `US`.
|
|
238
|
+
}, {
|
|
239
|
+
key: "getDefaultCountryMetadataForRegion",
|
|
240
|
+
value: function() {
|
|
241
|
+
return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
|
|
242
|
+
}
|
|
243
|
+
// Is always present.
|
|
244
|
+
}, {
|
|
245
|
+
key: "IDDPrefix",
|
|
246
|
+
value: function() {
|
|
247
|
+
if (!(this.v1 || this.v2))
|
|
248
|
+
return this.metadata[1];
|
|
249
|
+
}
|
|
250
|
+
// Is only present when a country supports multiple IDD prefixes.
|
|
251
|
+
}, {
|
|
252
|
+
key: "defaultIDDPrefix",
|
|
253
|
+
value: function() {
|
|
254
|
+
if (!(this.v1 || this.v2))
|
|
255
|
+
return this.metadata[12];
|
|
256
|
+
}
|
|
257
|
+
}, {
|
|
258
|
+
key: "nationalNumberPattern",
|
|
259
|
+
value: function() {
|
|
260
|
+
return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
|
|
261
|
+
}
|
|
262
|
+
// "possible length" data is always present in Google's metadata.
|
|
263
|
+
}, {
|
|
264
|
+
key: "possibleLengths",
|
|
265
|
+
value: function() {
|
|
266
|
+
if (!this.v1)
|
|
267
|
+
return this.metadata[this.v2 ? 2 : 3];
|
|
268
|
+
}
|
|
269
|
+
}, {
|
|
270
|
+
key: "_getFormats",
|
|
271
|
+
value: function(e) {
|
|
272
|
+
return e[this.v1 ? 2 : this.v2 ? 3 : 4];
|
|
273
|
+
}
|
|
274
|
+
// For countries of the same region (e.g. NANPA)
|
|
275
|
+
// formats are all stored in the "main" country for that region.
|
|
276
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
277
|
+
}, {
|
|
278
|
+
key: "formats",
|
|
279
|
+
value: function() {
|
|
280
|
+
var e = this, i = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];
|
|
281
|
+
return i.map(function(r) {
|
|
282
|
+
return new F(r, e);
|
|
283
|
+
});
|
|
284
|
+
}
|
|
285
|
+
}, {
|
|
286
|
+
key: "nationalPrefix",
|
|
287
|
+
value: function() {
|
|
288
|
+
return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
|
|
289
|
+
}
|
|
290
|
+
}, {
|
|
291
|
+
key: "_getNationalPrefixFormattingRule",
|
|
292
|
+
value: function(e) {
|
|
293
|
+
return e[this.v1 ? 4 : this.v2 ? 5 : 6];
|
|
294
|
+
}
|
|
295
|
+
// For countries of the same region (e.g. NANPA)
|
|
296
|
+
// national prefix formatting rule is stored in the "main" country for that region.
|
|
297
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
298
|
+
}, {
|
|
299
|
+
key: "nationalPrefixFormattingRule",
|
|
300
|
+
value: function() {
|
|
301
|
+
return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());
|
|
302
|
+
}
|
|
303
|
+
}, {
|
|
304
|
+
key: "_nationalPrefixForParsing",
|
|
305
|
+
value: function() {
|
|
306
|
+
return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
|
|
307
|
+
}
|
|
308
|
+
}, {
|
|
309
|
+
key: "nationalPrefixForParsing",
|
|
310
|
+
value: function() {
|
|
311
|
+
return this._nationalPrefixForParsing() || this.nationalPrefix();
|
|
312
|
+
}
|
|
313
|
+
}, {
|
|
314
|
+
key: "nationalPrefixTransformRule",
|
|
315
|
+
value: function() {
|
|
316
|
+
return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
|
|
317
|
+
}
|
|
318
|
+
}, {
|
|
319
|
+
key: "_getNationalPrefixIsOptionalWhenFormatting",
|
|
320
|
+
value: function() {
|
|
321
|
+
return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
|
|
322
|
+
}
|
|
323
|
+
// For countries of the same region (e.g. NANPA)
|
|
324
|
+
// "national prefix is optional when formatting" flag is
|
|
325
|
+
// stored in the "main" country for that region.
|
|
326
|
+
// E.g. "RU" and "KZ", "US" and "CA".
|
|
327
|
+
}, {
|
|
328
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
329
|
+
value: function() {
|
|
330
|
+
return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());
|
|
331
|
+
}
|
|
332
|
+
}, {
|
|
333
|
+
key: "leadingDigits",
|
|
334
|
+
value: function() {
|
|
335
|
+
return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
|
|
336
|
+
}
|
|
337
|
+
}, {
|
|
338
|
+
key: "types",
|
|
339
|
+
value: function() {
|
|
340
|
+
return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
|
|
341
|
+
}
|
|
342
|
+
}, {
|
|
343
|
+
key: "hasTypes",
|
|
344
|
+
value: function() {
|
|
345
|
+
return this.types() && this.types().length === 0 ? !1 : !!this.types();
|
|
346
|
+
}
|
|
347
|
+
}, {
|
|
348
|
+
key: "type",
|
|
349
|
+
value: function(e) {
|
|
350
|
+
if (this.hasTypes() && c(this.types(), e))
|
|
351
|
+
return new x(c(this.types(), e), this);
|
|
352
|
+
}
|
|
353
|
+
}, {
|
|
354
|
+
key: "ext",
|
|
355
|
+
value: function() {
|
|
356
|
+
return this.v1 || this.v2 ? h : this.metadata[13] || h;
|
|
357
|
+
}
|
|
358
|
+
}]);
|
|
359
|
+
})(), F = /* @__PURE__ */ (function() {
|
|
360
|
+
function n(t, e) {
|
|
361
|
+
o(this, n), this._format = t, this.metadata = e;
|
|
362
|
+
}
|
|
363
|
+
return u(n, [{
|
|
364
|
+
key: "pattern",
|
|
365
|
+
value: function() {
|
|
366
|
+
return this._format[0];
|
|
367
|
+
}
|
|
368
|
+
}, {
|
|
369
|
+
key: "format",
|
|
370
|
+
value: function() {
|
|
371
|
+
return this._format[1];
|
|
372
|
+
}
|
|
373
|
+
}, {
|
|
374
|
+
key: "leadingDigitsPatterns",
|
|
375
|
+
value: function() {
|
|
376
|
+
return this._format[2] || [];
|
|
377
|
+
}
|
|
378
|
+
}, {
|
|
379
|
+
key: "nationalPrefixFormattingRule",
|
|
380
|
+
value: function() {
|
|
381
|
+
return this._format[3] || this.metadata.nationalPrefixFormattingRule();
|
|
382
|
+
}
|
|
383
|
+
}, {
|
|
384
|
+
key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
|
|
385
|
+
value: function() {
|
|
386
|
+
return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
387
|
+
}
|
|
388
|
+
}, {
|
|
389
|
+
key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
|
|
390
|
+
value: function() {
|
|
391
|
+
return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
|
|
392
|
+
}
|
|
393
|
+
// Checks whether national prefix formatting rule contains national prefix.
|
|
394
|
+
}, {
|
|
395
|
+
key: "usesNationalPrefix",
|
|
396
|
+
value: function() {
|
|
397
|
+
return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
|
|
398
|
+
!k.test(this.nationalPrefixFormattingRule()));
|
|
399
|
+
}
|
|
400
|
+
}, {
|
|
401
|
+
key: "internationalFormat",
|
|
402
|
+
value: function() {
|
|
403
|
+
return this._format[5] || this.format();
|
|
404
|
+
}
|
|
405
|
+
}]);
|
|
406
|
+
})(), k = /^\(?\$1\)?$/, x = /* @__PURE__ */ (function() {
|
|
407
|
+
function n(t, e) {
|
|
408
|
+
o(this, n), this.type = t, this.metadata = e;
|
|
409
|
+
}
|
|
410
|
+
return u(n, [{
|
|
411
|
+
key: "pattern",
|
|
412
|
+
value: function() {
|
|
413
|
+
return this.metadata.v1 ? this.type : this.type[0];
|
|
414
|
+
}
|
|
415
|
+
}, {
|
|
416
|
+
key: "possibleLengths",
|
|
417
|
+
value: function() {
|
|
418
|
+
if (!this.metadata.v1)
|
|
419
|
+
return this.type[1] || this.metadata.possibleLengths();
|
|
420
|
+
}
|
|
421
|
+
}]);
|
|
422
|
+
})();
|
|
423
|
+
function c(n, t) {
|
|
424
|
+
switch (t) {
|
|
425
|
+
case "FIXED_LINE":
|
|
426
|
+
return n[0];
|
|
427
|
+
case "MOBILE":
|
|
428
|
+
return n[1];
|
|
429
|
+
case "TOLL_FREE":
|
|
430
|
+
return n[2];
|
|
431
|
+
case "PREMIUM_RATE":
|
|
432
|
+
return n[3];
|
|
433
|
+
case "PERSONAL_NUMBER":
|
|
434
|
+
return n[4];
|
|
435
|
+
case "VOICEMAIL":
|
|
436
|
+
return n[5];
|
|
437
|
+
case "UAN":
|
|
438
|
+
return n[6];
|
|
439
|
+
case "PAGER":
|
|
440
|
+
return n[7];
|
|
441
|
+
case "VOIP":
|
|
442
|
+
return n[8];
|
|
443
|
+
case "SHARED_COST":
|
|
444
|
+
return n[9];
|
|
445
|
+
}
|
|
446
|
+
}
|
|
447
|
+
function _(n) {
|
|
448
|
+
if (!n)
|
|
449
|
+
throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
|
|
450
|
+
if (!l(n) || !l(n.countries))
|
|
451
|
+
throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(l(n) ? "an object of shape: { " + Object.keys(n).join(", ") + " }" : "a " + N(n) + ": " + n, "."));
|
|
452
|
+
}
|
|
453
|
+
var N = function(t) {
|
|
454
|
+
return a(t);
|
|
9
455
|
};
|
|
10
|
-
function
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
function l(t, e, n) {
|
|
19
|
-
if (n || arguments.length === 2) for (var r = 0, o = e.length, a; r < o; r++)
|
|
20
|
-
(a || !(r in e)) && (a || (a = Array.prototype.slice.call(e, 0, r)), a[r] = e[r]);
|
|
21
|
-
return t.concat(a || Array.prototype.slice.call(e));
|
|
456
|
+
function R(n, t) {
|
|
457
|
+
if (t = new b(t), t.hasCountry(n))
|
|
458
|
+
return t.selectNumberingPlan(n).countryCallingCode();
|
|
459
|
+
throw new Error("Unknown country: ".concat(n));
|
|
460
|
+
}
|
|
461
|
+
function m(n) {
|
|
462
|
+
var t = n.version;
|
|
463
|
+
typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? f(t, d) === -1 ? this.v2 = !0 : f(t, p) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
|
|
22
464
|
}
|
|
23
465
|
export {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
466
|
+
b as default,
|
|
467
|
+
R as getCountryCallingCode,
|
|
468
|
+
_ as validateMetadata
|
|
27
469
|
};
|
|
28
470
|
//# sourceMappingURL=index191.js.map
|
package/dist/index191.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index191.js","sources":["../../../node_modules/tslib/tslib.es6.mjs"],"sourcesContent":["/******************************************************************************\nCopyright (c) Microsoft Corporation.\n\nPermission to use, copy, modify, and/or distribute this software for any\npurpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\nPERFORMANCE OF THIS SOFTWARE.\n***************************************************************************** */\n/* global Reflect, Promise, SuppressedError, Symbol, Iterator */\n\nvar extendStatics = function(d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n};\n\nexport function __extends(d, b) {\n if (typeof b !== \"function\" && b !== null)\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\n\nexport var __assign = function() {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n }\n return __assign.apply(this, arguments);\n}\n\nexport function __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n}\n\nexport function __decorate(decorators, target, key, desc) {\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\n\nexport function __param(paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n}\n\nexport function __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === \"field\") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n};\n\nexport function __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n};\n\nexport function __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n};\n\nexport function __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\n};\n\nexport function __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\n\nexport function __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\n\nexport function __generator(thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g = Object.create((typeof Iterator === \"function\" ? Iterator : Object).prototype);\n return g.next = verb(0), g[\"throw\"] = verb(1), g[\"return\"] = verb(2), typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n}\n\nexport var __createBinding = Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n});\n\nexport function __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\n\nexport function __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\n\nexport function __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n}\n\n/** @deprecated */\nexport function __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++)\n ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nexport function __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\n r[k] = a[j];\n return r;\n}\n\nexport function __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\n\nexport function __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\n\nexport function __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = Object.create((typeof AsyncIterator === \"function\" ? AsyncIterator : Object).prototype), verb(\"next\"), verb(\"throw\"), verb(\"return\", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume(\"next\", value); }\n function reject(value) { resume(\"throw\", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n}\n\nexport function __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n}\n\nexport function __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n}\n\nexport function __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n};\n\nvar __setModuleDefault = Object.create ? (function(o, v) {\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\n}) : function(o, v) {\n o[\"default\"] = v;\n};\n\nvar ownKeys = function(o) {\n ownKeys = Object.getOwnPropertyNames || function (o) {\n var ar = [];\n for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;\n return ar;\n };\n return ownKeys(o);\n};\n\nexport function __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== \"default\") __createBinding(result, mod, k[i]);\n __setModuleDefault(result, mod);\n return result;\n}\n\nexport function __importDefault(mod) {\n return (mod && mod.__esModule) ? mod : { default: mod };\n}\n\nexport function __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\n\nexport function __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n}\n\nexport function __classPrivateFieldIn(state, receiver) {\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\nexport function __addDisposableResource(env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\n var dispose, inner;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\n dispose = value[Symbol.dispose];\n if (async) inner = dispose;\n }\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\n if (inner) dispose = function() { try { inner.call(this); } catch (e) { return Promise.reject(e); } };\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n}\n\nvar _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\n};\n\nexport function __disposeResources(env) {\n function fail(e) {\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\n env.hasError = true;\n }\n var r, s = 0;\n function next() {\n while (r = env.stack.pop()) {\n try {\n if (!r.async && s === 1) return s = 0, env.stack.push(r), Promise.resolve().then(next);\n if (r.dispose) {\n var result = r.dispose.call(r.value);\n if (r.async) return s |= 2, Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n else s |= 1;\n }\n catch (e) {\n fail(e);\n }\n }\n if (s === 1) return env.hasError ? Promise.reject(env.error) : Promise.resolve();\n if (env.hasError) throw env.error;\n }\n return next();\n}\n\nexport function __rewriteRelativeImportExtension(path, preserveJsx) {\n if (typeof path === \"string\" && /^\\.\\.?\\//.test(path)) {\n return path.replace(/\\.(tsx)$|((?:\\.d)?)((?:\\.[^./]+?)?)\\.([cm]?)ts$/i, function (m, tsx, d, ext, cm) {\n return tsx ? preserveJsx ? \".jsx\" : \".js\" : d && (!ext || !cm) ? m : (d + ext + \".\" + cm.toLowerCase() + \"js\");\n });\n }\n return path;\n}\n\nexport default {\n __extends,\n __assign,\n __rest,\n __decorate,\n __param,\n __esDecorate,\n __runInitializers,\n __propKey,\n __setFunctionName,\n __metadata,\n __awaiter,\n __generator,\n __createBinding,\n __exportStar,\n __values,\n __read,\n __spread,\n __spreadArrays,\n __spreadArray,\n __await,\n __asyncGenerator,\n __asyncDelegator,\n __asyncValues,\n __makeTemplateObject,\n __importStar,\n __importDefault,\n __classPrivateFieldGet,\n __classPrivateFieldSet,\n __classPrivateFieldIn,\n __addDisposableResource,\n __disposeResources,\n __rewriteRelativeImportExtension,\n};\n"],"names":["__assign","t","s","i","n","p","__rest","__spreadArray","to","from","pack","l","ar"],"mappings":"AA+BU,IAACA,IAAW,WAAW;AAC/B,SAAAA,IAAW,OAAO,UAAU,SAAkBC,GAAG;AAC7C,aAASC,GAAGC,IAAI,GAAGC,IAAI,UAAU,QAAQD,IAAIC,GAAGD,KAAK;AACjD,MAAAD,IAAI,UAAUC,CAAC;AACf,eAASE,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,MAAGJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AAAA,IAC/E;AACA,WAAOJ;AAAA,EACX,GACOD,EAAS,MAAM,MAAM,SAAS;AACvC;AAEO,SAASM,EAAOJ,GAAG,GAAG;AAC3B,MAAID,IAAI,CAAA;AACR,WAASI,KAAKH,EAAG,CAAI,OAAO,UAAU,eAAe,KAAKA,GAAGG,CAAC,KAAK,EAAE,QAAQA,CAAC,IAAI,MAC9EJ,EAAEI,CAAC,IAAIH,EAAEG,CAAC;AACd,MAAIH,KAAK,QAAQ,OAAO,OAAO,yBAA0B;AACrD,aAASC,IAAI,GAAGE,IAAI,OAAO,sBAAsBH,CAAC,GAAGC,IAAIE,EAAE,QAAQF;AAC/D,MAAI,EAAE,QAAQE,EAAEF,CAAC,CAAC,IAAI,KAAK,OAAO,UAAU,qBAAqB,KAAKD,GAAGG,EAAEF,CAAC,CAAC,MACzEF,EAAEI,EAAEF,CAAC,CAAC,IAAID,EAAEG,EAAEF,CAAC,CAAC;AAE5B,SAAOF;AACT;AAiKO,SAASM,EAAcC,GAAIC,GAAMC,GAAM;AAC5C,MAAIA,KAAQ,UAAU,WAAW,EAAG,UAASP,IAAI,GAAGQ,IAAIF,EAAK,QAAQG,GAAIT,IAAIQ,GAAGR;AAC5E,KAAIS,KAAM,EAAET,KAAKM,QACRG,MAAIA,IAAK,MAAM,UAAU,MAAM,KAAKH,GAAM,GAAGN,CAAC,IACnDS,EAAGT,CAAC,IAAIM,EAAKN,CAAC;AAGtB,SAAOK,EAAG,OAAOI,KAAM,MAAM,UAAU,MAAM,KAAKH,CAAI,CAAC;AACzD;","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"index191.js","sources":["../../../node_modules/libphonenumber-js/es6/metadata.js"],"sourcesContent":["function _readOnlyError(r) { throw new TypeError('\"' + r + '\" is read-only'); }\nfunction _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction _classCallCheck(a, n) { if (!(a instanceof n)) throw new TypeError(\"Cannot call a class as a function\"); }\nfunction _defineProperties(e, r) { for (var t = 0; t < r.length; t++) { var o = r[t]; o.enumerable = o.enumerable || !1, o.configurable = !0, \"value\" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o); } }\nfunction _createClass(e, r, t) { return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, \"prototype\", { writable: !1 }), e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == _typeof(i) ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != _typeof(i)) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport compare from './tools/semver-compare.js';\nimport isObject from './helpers/isObject.js';\n\n// Added \"possibleLengths\" and renamed\n// \"country_phone_code_to_countries\" to \"country_calling_codes\".\nvar V2 = '1.0.18';\n\n// Added \"idd_prefix\" and \"default_idd_prefix\".\nvar V3 = '1.2.0';\n\n// Moved `001` country code to \"nonGeographic\" section of metadata.\nvar V4 = '1.7.35';\nvar DEFAULT_EXT_PREFIX = ' ext. ';\nvar CALLING_CODE_REG_EXP = /^\\d+$/;\n\n/**\r\n * See: https://gitlab.com/catamphetamine/libphonenumber-js/blob/master/METADATA.md\r\n */\nvar Metadata = /*#__PURE__*/function () {\n function Metadata(metadata) {\n _classCallCheck(this, Metadata);\n validateMetadata(metadata);\n this.metadata = metadata;\n setVersion.call(this, metadata);\n }\n return _createClass(Metadata, [{\n key: \"getCountries\",\n value: function getCountries() {\n return Object.keys(this.metadata.countries).filter(function (_) {\n return _ !== '001';\n });\n }\n }, {\n key: \"getCountryMetadata\",\n value: function getCountryMetadata(countryCode) {\n return this.metadata.countries[countryCode];\n }\n }, {\n key: \"nonGeographic\",\n value: function nonGeographic() {\n if (this.v1 || this.v2 || this.v3) return;\n // `nonGeographical` was a typo.\n // It's present in metadata generated from `1.7.35` to `1.7.37`.\n // The test case could be found by searching for \"nonGeographical\".\n return this.metadata.nonGeographic || this.metadata.nonGeographical;\n }\n }, {\n key: \"hasCountry\",\n value: function hasCountry(country) {\n return this.getCountryMetadata(country) !== undefined;\n }\n }, {\n key: \"hasCallingCode\",\n value: function hasCallingCode(callingCode) {\n if (this.getCountryCodesForCallingCode(callingCode)) {\n return true;\n }\n if (this.nonGeographic()) {\n if (this.nonGeographic()[callingCode]) {\n return true;\n }\n } else {\n // A hacky workaround for old custom metadata (generated before V4).\n var countryCodes = this.countryCallingCodes()[callingCode];\n if (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\n return true;\n }\n }\n }\n }, {\n key: \"isNonGeographicCallingCode\",\n value: function isNonGeographicCallingCode(callingCode) {\n if (this.nonGeographic()) {\n return this.nonGeographic()[callingCode] ? true : false;\n } else {\n return this.getCountryCodesForCallingCode(callingCode) ? false : true;\n }\n }\n\n // Deprecated.\n }, {\n key: \"country\",\n value: function country(countryCode) {\n return this.selectNumberingPlan(countryCode);\n }\n }, {\n key: \"selectNumberingPlan\",\n value: function selectNumberingPlan(countryCode, callingCode) {\n // Supports just passing `callingCode` as the first argument.\n if (countryCode && CALLING_CODE_REG_EXP.test(countryCode)) {\n callingCode = countryCode;\n countryCode = null;\n }\n if (countryCode && countryCode !== '001') {\n if (!this.hasCountry(countryCode)) {\n throw new Error(\"Unknown country: \".concat(countryCode));\n }\n this.numberingPlan = new NumberingPlan(this.getCountryMetadata(countryCode), this);\n } else if (callingCode) {\n if (!this.hasCallingCode(callingCode)) {\n throw new Error(\"Unknown calling code: \".concat(callingCode));\n }\n this.numberingPlan = new NumberingPlan(this.getNumberingPlanMetadata(callingCode), this);\n } else {\n this.numberingPlan = undefined;\n }\n return this;\n }\n }, {\n key: \"getCountryCodesForCallingCode\",\n value: function getCountryCodesForCallingCode(callingCode) {\n var countryCodes = this.countryCallingCodes()[callingCode];\n if (countryCodes) {\n // Metadata before V4 included \"non-geographic entity\" calling codes\n // inside `country_calling_codes` (for example, `\"881\":[\"001\"]`).\n // Now the semantics of `country_calling_codes` has changed:\n // it's specifically for \"countries\" now.\n // Older versions of custom metadata will simply skip parsing\n // \"non-geographic entity\" phone numbers with new versions\n // of this library: it's not considered a bug,\n // because such numbers are extremely rare,\n // and developers extremely rarely use custom metadata.\n if (countryCodes.length === 1 && countryCodes[0].length === 3) {\n return;\n }\n return countryCodes;\n }\n }\n }, {\n key: \"getCountryCodeForCallingCode\",\n value: function getCountryCodeForCallingCode(callingCode) {\n var countryCodes = this.getCountryCodesForCallingCode(callingCode);\n if (countryCodes) {\n return countryCodes[0];\n }\n }\n }, {\n key: \"getNumberingPlanMetadata\",\n value: function getNumberingPlanMetadata(callingCode) {\n var countryCode = this.getCountryCodeForCallingCode(callingCode);\n if (countryCode) {\n return this.getCountryMetadata(countryCode);\n }\n if (this.nonGeographic()) {\n var metadata = this.nonGeographic()[callingCode];\n if (metadata) {\n return metadata;\n }\n } else {\n // A hacky workaround for old custom metadata (generated before V4).\n // In that metadata, there was no concept of \"non-geographic\" metadata\n // so metadata for `001` country code was stored along with other countries.\n // The test case can be found by searching for:\n // \"should work around `nonGeographic` metadata not existing\".\n var countryCodes = this.countryCallingCodes()[callingCode];\n if (countryCodes && countryCodes.length === 1 && countryCodes[0] === '001') {\n return this.metadata.countries['001'];\n }\n }\n }\n\n // Deprecated.\n }, {\n key: \"countryCallingCode\",\n value: function countryCallingCode() {\n return this.numberingPlan.callingCode();\n }\n\n // Deprecated.\n }, {\n key: \"IDDPrefix\",\n value: function IDDPrefix() {\n return this.numberingPlan.IDDPrefix();\n }\n\n // Deprecated.\n }, {\n key: \"defaultIDDPrefix\",\n value: function defaultIDDPrefix() {\n return this.numberingPlan.defaultIDDPrefix();\n }\n\n // Deprecated.\n }, {\n key: \"nationalNumberPattern\",\n value: function nationalNumberPattern() {\n return this.numberingPlan.nationalNumberPattern();\n }\n\n // Deprecated.\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n return this.numberingPlan.possibleLengths();\n }\n\n // Deprecated.\n }, {\n key: \"formats\",\n value: function formats() {\n return this.numberingPlan.formats();\n }\n\n // Deprecated.\n }, {\n key: \"nationalPrefixForParsing\",\n value: function nationalPrefixForParsing() {\n return this.numberingPlan.nationalPrefixForParsing();\n }\n\n // Deprecated.\n }, {\n key: \"nationalPrefixTransformRule\",\n value: function nationalPrefixTransformRule() {\n return this.numberingPlan.nationalPrefixTransformRule();\n }\n\n // Deprecated.\n }, {\n key: \"leadingDigits\",\n value: function leadingDigits() {\n return this.numberingPlan.leadingDigits();\n }\n\n // Deprecated.\n }, {\n key: \"hasTypes\",\n value: function hasTypes() {\n return this.numberingPlan.hasTypes();\n }\n\n // Deprecated.\n }, {\n key: \"type\",\n value: function type(_type) {\n return this.numberingPlan.type(_type);\n }\n\n // Deprecated.\n }, {\n key: \"ext\",\n value: function ext() {\n return this.numberingPlan.ext();\n }\n }, {\n key: \"countryCallingCodes\",\n value: function countryCallingCodes() {\n if (this.v1) return this.metadata.country_phone_code_to_countries;\n return this.metadata.country_calling_codes;\n }\n\n // Deprecated.\n }, {\n key: \"chooseCountryByCountryCallingCode\",\n value: function chooseCountryByCountryCallingCode(callingCode) {\n return this.selectNumberingPlan(callingCode);\n }\n }, {\n key: \"hasSelectedNumberingPlan\",\n value: function hasSelectedNumberingPlan() {\n return this.numberingPlan !== undefined;\n }\n }]);\n}();\nexport { Metadata as default };\nvar NumberingPlan = /*#__PURE__*/function () {\n function NumberingPlan(metadata, globalMetadataObject) {\n _classCallCheck(this, NumberingPlan);\n this.globalMetadataObject = globalMetadataObject;\n this.metadata = metadata;\n setVersion.call(this, globalMetadataObject.metadata);\n }\n return _createClass(NumberingPlan, [{\n key: \"callingCode\",\n value: function callingCode() {\n return this.metadata[0];\n }\n\n // Formatting information for regions which share\n // a country calling code is contained by only one region\n // for performance reasons. For example, for NANPA region\n // (\"North American Numbering Plan Administration\",\n // which includes USA, Canada, Cayman Islands, Bahamas, etc)\n // it will be contained in the metadata for `US`.\n }, {\n key: \"getDefaultCountryMetadataForRegion\",\n value: function getDefaultCountryMetadataForRegion() {\n return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());\n }\n\n // Is always present.\n }, {\n key: \"IDDPrefix\",\n value: function IDDPrefix() {\n if (this.v1 || this.v2) return;\n return this.metadata[1];\n }\n\n // Is only present when a country supports multiple IDD prefixes.\n }, {\n key: \"defaultIDDPrefix\",\n value: function defaultIDDPrefix() {\n if (this.v1 || this.v2) return;\n return this.metadata[12];\n }\n }, {\n key: \"nationalNumberPattern\",\n value: function nationalNumberPattern() {\n if (this.v1 || this.v2) return this.metadata[1];\n return this.metadata[2];\n }\n\n // \"possible length\" data is always present in Google's metadata.\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n if (this.v1) return;\n return this.metadata[this.v2 ? 2 : 3];\n }\n }, {\n key: \"_getFormats\",\n value: function _getFormats(metadata) {\n return metadata[this.v1 ? 2 : this.v2 ? 3 : 4];\n }\n\n // For countries of the same region (e.g. NANPA)\n // formats are all stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n }, {\n key: \"formats\",\n value: function formats() {\n var _this = this;\n var formats = this._getFormats(this.metadata) || this._getFormats(this.getDefaultCountryMetadataForRegion()) || [];\n return formats.map(function (_) {\n return new Format(_, _this);\n });\n }\n }, {\n key: \"nationalPrefix\",\n value: function nationalPrefix() {\n return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];\n }\n }, {\n key: \"_getNationalPrefixFormattingRule\",\n value: function _getNationalPrefixFormattingRule(metadata) {\n return metadata[this.v1 ? 4 : this.v2 ? 5 : 6];\n }\n\n // For countries of the same region (e.g. NANPA)\n // national prefix formatting rule is stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n }, {\n key: \"nationalPrefixFormattingRule\",\n value: function nationalPrefixFormattingRule() {\n return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this.getDefaultCountryMetadataForRegion());\n }\n }, {\n key: \"_nationalPrefixForParsing\",\n value: function _nationalPrefixForParsing() {\n return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];\n }\n }, {\n key: \"nationalPrefixForParsing\",\n value: function nationalPrefixForParsing() {\n // If `national_prefix_for_parsing` is not set explicitly,\n // then infer it from `national_prefix` (if any)\n return this._nationalPrefixForParsing() || this.nationalPrefix();\n }\n }, {\n key: \"nationalPrefixTransformRule\",\n value: function nationalPrefixTransformRule() {\n return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];\n }\n }, {\n key: \"_getNationalPrefixIsOptionalWhenFormatting\",\n value: function _getNationalPrefixIsOptionalWhenFormatting() {\n return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];\n }\n\n // For countries of the same region (e.g. NANPA)\n // \"national prefix is optional when formatting\" flag is\n // stored in the \"main\" country for that region.\n // E.g. \"RU\" and \"KZ\", \"US\" and \"CA\".\n }, {\n key: \"nationalPrefixIsOptionalWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsOptionalWhenFormattingInNationalFormat() {\n return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this.getDefaultCountryMetadataForRegion());\n }\n }, {\n key: \"leadingDigits\",\n value: function leadingDigits() {\n return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];\n }\n }, {\n key: \"types\",\n value: function types() {\n return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];\n }\n }, {\n key: \"hasTypes\",\n value: function hasTypes() {\n // Versions 1.2.0 - 1.2.4: can be `[]`.\n /* istanbul ignore next */\n if (this.types() && this.types().length === 0) {\n return false;\n }\n // Versions <= 1.2.4: can be `undefined`.\n // Version >= 1.2.5: can be `0`.\n return !!this.types();\n }\n }, {\n key: \"type\",\n value: function type(_type2) {\n if (this.hasTypes() && getType(this.types(), _type2)) {\n return new Type(getType(this.types(), _type2), this);\n }\n }\n }, {\n key: \"ext\",\n value: function ext() {\n if (this.v1 || this.v2) return DEFAULT_EXT_PREFIX;\n return this.metadata[13] || DEFAULT_EXT_PREFIX;\n }\n }]);\n}();\nvar Format = /*#__PURE__*/function () {\n function Format(format, metadata) {\n _classCallCheck(this, Format);\n this._format = format;\n this.metadata = metadata;\n }\n return _createClass(Format, [{\n key: \"pattern\",\n value: function pattern() {\n return this._format[0];\n }\n }, {\n key: \"format\",\n value: function format() {\n return this._format[1];\n }\n }, {\n key: \"leadingDigitsPatterns\",\n value: function leadingDigitsPatterns() {\n return this._format[2] || [];\n }\n }, {\n key: \"nationalPrefixFormattingRule\",\n value: function nationalPrefixFormattingRule() {\n return this._format[3] || this.metadata.nationalPrefixFormattingRule();\n }\n }, {\n key: \"nationalPrefixIsOptionalWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsOptionalWhenFormattingInNationalFormat() {\n return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();\n }\n }, {\n key: \"nationalPrefixIsMandatoryWhenFormattingInNationalFormat\",\n value: function nationalPrefixIsMandatoryWhenFormattingInNationalFormat() {\n // National prefix is omitted if there's no national prefix formatting rule\n // set for this country, or when the national prefix formatting rule\n // contains no national prefix itself, or when this rule is set but\n // national prefix is optional for this phone number format\n // (and it is not enforced explicitly)\n return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();\n }\n\n // Checks whether national prefix formatting rule contains national prefix.\n }, {\n key: \"usesNationalPrefix\",\n value: function usesNationalPrefix() {\n return this.nationalPrefixFormattingRule() &&\n // Check that national prefix formatting rule is not a \"dummy\" one.\n !FIRST_GROUP_ONLY_PREFIX_PATTERN.test(this.nationalPrefixFormattingRule())\n // In compressed metadata, `this.nationalPrefixFormattingRule()` is `0`\n // when `national_prefix_formatting_rule` is not present.\n // So, `true` or `false` are returned explicitly here, so that\n // `0` number isn't returned.\n ? true : false;\n }\n }, {\n key: \"internationalFormat\",\n value: function internationalFormat() {\n return this._format[5] || this.format();\n }\n }]);\n}();\n/**\r\n * A pattern that is used to determine if the national prefix formatting rule\r\n * has the first group only, i.e., does not start with the national prefix.\r\n * Note that the pattern explicitly allows for unbalanced parentheses.\r\n */\nvar FIRST_GROUP_ONLY_PREFIX_PATTERN = /^\\(?\\$1\\)?$/;\nvar Type = /*#__PURE__*/function () {\n function Type(type, metadata) {\n _classCallCheck(this, Type);\n this.type = type;\n this.metadata = metadata;\n }\n return _createClass(Type, [{\n key: \"pattern\",\n value: function pattern() {\n if (this.metadata.v1) return this.type;\n return this.type[0];\n }\n }, {\n key: \"possibleLengths\",\n value: function possibleLengths() {\n if (this.metadata.v1) return;\n return this.type[1] || this.metadata.possibleLengths();\n }\n }]);\n}();\nfunction getType(types, type) {\n switch (type) {\n case 'FIXED_LINE':\n return types[0];\n case 'MOBILE':\n return types[1];\n case 'TOLL_FREE':\n return types[2];\n case 'PREMIUM_RATE':\n return types[3];\n case 'PERSONAL_NUMBER':\n return types[4];\n case 'VOICEMAIL':\n return types[5];\n case 'UAN':\n return types[6];\n case 'PAGER':\n return types[7];\n case 'VOIP':\n return types[8];\n case 'SHARED_COST':\n return types[9];\n }\n}\nexport function validateMetadata(metadata) {\n if (!metadata) {\n throw new Error('[libphonenumber-js] `metadata` argument not passed. Check your arguments.');\n }\n\n // `country_phone_code_to_countries` was renamed to `country_calling_codes` in `1.0.18`.\n // For that reason, it's not used in this detection algorithm.\n // Instead, it detects by `countries: {}` property existence.\n if (!isObject(metadata) || !isObject(metadata.countries)) {\n throw new Error(\"[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got \".concat(isObject(metadata) ? 'an object of shape: { ' + Object.keys(metadata).join(', ') + ' }' : 'a ' + typeOf(metadata) + ': ' + metadata, \".\"));\n }\n}\n\n// Babel transforms `typeof` into some \"branches\"\n// so istanbul will show this as \"branch not covered\".\n/* istanbul ignore next */\nvar typeOf = function typeOf(_) {\n return _typeof(_);\n};\n\n/**\r\n * Returns extension prefix for a country.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string?}\r\n * @example\r\n * // Returns \" ext. \"\r\n * getExtPrefix(\"US\")\r\n */\nexport function getExtPrefix(country, metadata) {\n metadata = new Metadata(metadata);\n if (metadata.hasCountry(country)) {\n return metadata.selectNumberingPlan(country).ext();\n }\n return DEFAULT_EXT_PREFIX;\n}\n\n/**\r\n * Returns \"country calling code\" for a country.\r\n * Throws an error if the country doesn't exist or isn't supported by this library.\r\n * @param {string} country\r\n * @param {object} metadata\r\n * @return {string}\r\n * @example\r\n * // Returns \"44\"\r\n * getCountryCallingCode(\"GB\")\r\n */\nexport function getCountryCallingCode(country, metadata) {\n metadata = new Metadata(metadata);\n if (metadata.hasCountry(country)) {\n return metadata.selectNumberingPlan(country).countryCallingCode();\n }\n throw new Error(\"Unknown country: \".concat(country));\n}\nexport function isSupportedCountry(country, metadata) {\n // metadata = new Metadata(metadata)\n // return metadata.hasCountry(country)\n return metadata.countries.hasOwnProperty(country);\n}\nfunction setVersion(metadata) {\n var version = metadata.version;\n if (typeof version === 'number') {\n this.v1 = version === 1;\n this.v2 = version === 2;\n this.v3 = version === 3;\n this.v4 = version === 4;\n } else {\n if (!version) {\n this.v1 = true;\n } else if (compare(version, V3) === -1) {\n this.v2 = true;\n } else if (compare(version, V4) === -1) {\n this.v3 = true;\n } else {\n this.v4 = true;\n }\n }\n}\n\n// const ISO_COUNTRY_CODE = /^[A-Z]{2}$/\n// function isCountryCode(countryCode) {\n// \treturn ISO_COUNTRY_CODE.test(countryCodeOrCountryCallingCode)\n// }\n//# sourceMappingURL=metadata.js.map"],"names":["_typeof","o","_classCallCheck","a","n","_defineProperties","e","r","t","_toPropertyKey","_createClass","i","_toPrimitive","V3","V4","DEFAULT_EXT_PREFIX","CALLING_CODE_REG_EXP","Metadata","metadata","validateMetadata","setVersion","_","countryCode","country","callingCode","countryCodes","NumberingPlan","_type","globalMetadataObject","_this","formats","Format","_type2","getType","Type","format","FIRST_GROUP_ONLY_PREFIX_PATTERN","type","types","isObject","typeOf","getCountryCallingCode","version","compare"],"mappings":";;AACA,SAASA,EAAQC,GAAG;AAAE;AAA2B,SAAOD,IAAwB,OAAO,UAArB,cAA2C,OAAO,OAAO,YAA1B,WAAqC,SAAUC,GAAG;AAAE,WAAO,OAAOA;AAAA,EAAG,IAAI,SAAUA,GAAG;AAAE,WAAOA,KAAmB,OAAO,UAArB,cAA+BA,EAAE,gBAAgB,UAAUA,MAAM,OAAO,YAAY,WAAW,OAAOA;AAAA,EAAG,GAAGD,EAAQC,CAAC;AAAG;AAC7T,SAASC,EAAgBC,GAAGC,GAAG;AAAE,MAAI,EAAED,aAAaC,GAAI,OAAM,IAAI,UAAU,mCAAmC;AAAG;AAClH,SAASC,EAAkBC,GAAGC,GAAG;AAAE,WAASC,IAAI,GAAGA,IAAID,EAAE,QAAQC,KAAK;AAAE,QAAIP,IAAIM,EAAEC,CAAC;AAAG,IAAAP,EAAE,aAAaA,EAAE,cAAc,IAAIA,EAAE,eAAe,IAAI,WAAWA,MAAMA,EAAE,WAAW,KAAK,OAAO,eAAeK,GAAGG,EAAeR,EAAE,GAAG,GAAGA,CAAC;AAAA,EAAG;AAAE;AACvO,SAASS,EAAaJ,GAAGC,GAAGC,GAAG;AAAE,SAAOD,KAAKF,EAAkBC,EAAE,WAAWC,CAAC,GAAiC,OAAO,eAAeD,GAAG,aAAa,EAAE,UAAU,GAAE,CAAE,GAAGA;AAAG;AAC1K,SAASG,EAAeD,GAAG;AAA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