@coinbase/cdp-core 0.0.92 → 0.0.94
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/esm/index.native.js +172 -161
- package/dist/esm/index.native10.js +25 -87
- package/dist/esm/index.native100.js +68 -21
- package/dist/esm/index.native101.js +27 -65
- package/dist/esm/index.native102.js +42 -153
- package/dist/esm/index.native103.js +44 -87
- package/dist/esm/index.native104.js +21 -17
- package/dist/esm/index.native105.js +63 -21
- package/dist/esm/index.native106.js +150 -48
- package/dist/esm/index.native107.js +84 -371
- package/dist/esm/index.native108.js +19 -2
- package/dist/esm/index.native109.js +20 -63
- package/dist/esm/index.native11.js +2 -13
- package/dist/esm/index.native110.js +37 -351
- package/dist/esm/index.native111.js +374 -26
- package/dist/esm/index.native112.js +2 -31
- package/dist/esm/index.native113.js +63 -948
- package/dist/esm/index.native114.js +365 -2
- package/dist/esm/index.native115.js +28 -49
- package/dist/esm/index.native116.js +28 -27
- package/dist/esm/index.native117.js +949 -11
- package/dist/esm/index.native118.js +2 -12
- package/dist/esm/index.native119.js +45 -50
- package/dist/esm/index.native12.js +114 -11
- package/dist/esm/index.native120.js +27 -10
- package/dist/esm/index.native121.js +55 -2
- package/dist/esm/index.native122.js +11 -45
- package/dist/esm/index.native123.js +2 -14
- package/dist/esm/index.native124.js +45 -5
- package/dist/esm/index.native125.js +12 -46
- package/dist/esm/index.native126.js +5 -35
- package/dist/esm/index.native127.js +40 -60
- package/dist/esm/index.native128.js +35 -2
- package/dist/esm/index.native129.js +68 -2
- package/dist/esm/index.native13.js +12 -54
- package/dist/esm/index.native130.js +2 -5
- package/dist/esm/index.native131.js +2 -18
- package/dist/esm/index.native132.js +10 -43
- package/dist/esm/index.native133.js +11 -13
- package/dist/esm/index.native134.js +4 -55
- package/dist/esm/index.native135.js +17 -6
- package/dist/esm/index.native136.js +44 -20
- package/dist/esm/index.native137.js +13 -3
- package/dist/esm/index.native138.js +55 -3
- package/dist/esm/index.native139.js +6 -34
- package/dist/esm/index.native14.js +10 -12
- package/dist/esm/index.native140.js +19 -10
- package/dist/esm/index.native141.js +3 -4
- package/dist/esm/index.native142.js +3 -28
- package/dist/esm/index.native143.js +34 -6
- package/dist/esm/index.native144.js +11 -41
- package/dist/esm/index.native145.js +4 -55
- package/dist/esm/index.native146.js +28 -127
- package/dist/esm/index.native147.js +6 -23
- package/dist/esm/index.native148.js +41 -11
- package/dist/esm/index.native149.js +53 -102
- package/dist/esm/index.native15.js +54 -10
- package/dist/esm/index.native150.js +127 -6
- package/dist/esm/index.native151.js +24 -3
- package/dist/esm/index.native152.js +12 -14
- package/dist/esm/index.native153.js +100 -30
- package/dist/esm/index.native154.js +6 -78
- package/dist/esm/index.native155.js +3 -2
- package/dist/esm/index.native156.js +15 -2
- package/dist/esm/index.native157.js +29 -32
- package/dist/esm/index.native158.js +77 -5
- package/dist/esm/index.native159.js +2 -35
- package/dist/esm/index.native16.js +11 -7
- package/dist/esm/index.native160.js +2 -9
- package/dist/esm/index.native161.js +36 -9
- package/dist/esm/index.native162.js +6 -11
- package/dist/esm/index.native163.js +33 -12
- package/dist/esm/index.native164.js +8 -18
- package/dist/esm/index.native165.js +10 -5
- package/dist/esm/index.native166.js +12 -5
- package/dist/esm/index.native167.js +13 -10
- package/dist/esm/index.native168.js +17 -102
- package/dist/esm/index.native169.js +5 -78
- package/dist/esm/index.native17.js +10 -53
- package/dist/esm/index.native170.js +5 -80
- package/dist/esm/index.native171.js +10 -13
- package/dist/esm/index.native172.js +18 -25
- package/dist/esm/index.native173.js +10 -8
- package/dist/esm/index.native174.js +20 -4
- package/dist/esm/index.native175.js +93 -27
- package/dist/esm/index.native176.js +21 -9
- package/dist/esm/index.native177.js +118 -8
- package/dist/esm/index.native178.js +7 -73
- package/dist/esm/index.native179.js +12 -12
- package/dist/esm/index.native18.js +10 -53
- package/dist/esm/index.native180.js +7 -3
- package/dist/esm/index.native181.js +3 -14
- package/dist/esm/index.native182.js +27 -4
- package/dist/esm/index.native183.js +8 -13
- package/dist/esm/index.native184.js +7 -19
- package/dist/esm/index.native185.js +68 -49
- package/dist/esm/index.native186.js +26 -16
- package/dist/esm/index.native187.js +3 -23
- package/dist/esm/index.native188.js +14 -8
- package/dist/esm/index.native189.js +4 -41
- package/dist/esm/index.native19.js +53 -6
- package/dist/esm/index.native190.js +13 -7
- package/dist/esm/index.native191.js +10 -11
- package/dist/esm/index.native192.js +57 -17
- package/dist/esm/index.native193.js +18 -10
- package/dist/esm/index.native194.js +23 -19
- package/dist/esm/index.native195.js +9 -94
- package/dist/esm/index.native196.js +41 -20
- package/dist/esm/index.native197.js +8 -118
- package/dist/esm/index.native198.js +21 -2
- package/dist/esm/index.native199.js +7 -38
- package/dist/esm/index.native2.js +2 -2
- package/dist/esm/index.native20.js +53 -4
- package/dist/esm/index.native201.js +375 -67
- package/dist/esm/index.native202.js +835 -34
- package/dist/esm/index.native203.js +38 -20
- package/dist/esm/index.native204.js +2 -8
- package/dist/esm/index.native205.js +70 -2
- package/dist/esm/index.native206.js +30 -373
- package/dist/esm/index.native207.js +20 -835
- package/dist/esm/index.native208.js +101 -106
- package/dist/esm/index.native209.js +79 -2
- package/dist/esm/index.native21.js +6 -12
- package/dist/esm/index.native210.js +80 -2
- package/dist/esm/index.native211.js +2 -21
- package/dist/esm/index.native212.js +108 -19
- package/dist/esm/index.native213.js +2 -33
- package/dist/esm/index.native214.js +2 -7
- package/dist/esm/index.native215.js +20 -3
- package/dist/esm/index.native216.js +18 -16
- package/dist/esm/index.native217.js +32 -27
- package/dist/esm/index.native218.js +7 -8
- package/dist/esm/index.native219.js +2 -11
- package/dist/esm/index.native22.js +4 -4
- package/dist/esm/index.native220.js +2 -13
- package/dist/esm/index.native221.js +2 -10
- package/dist/esm/index.native222.js +15 -14
- package/dist/esm/index.native223.js +25 -78
- package/dist/esm/index.native224.js +8 -2
- package/dist/esm/index.native225.js +11 -2
- package/dist/esm/index.native226.js +13 -2
- package/dist/esm/index.native227.js +8 -45
- package/dist/esm/index.native228.js +17 -5
- package/dist/esm/index.native229.js +72 -70
- package/dist/esm/index.native23.js +12 -4
- package/dist/esm/index.native230.js +3 -14
- package/dist/esm/index.native231.js +49 -0
- package/dist/esm/index.native232.js +7 -0
- package/dist/esm/index.native233.js +81 -0
- package/dist/esm/index.native234.js +17 -0
- package/dist/esm/index.native24.js +5 -7
- package/dist/esm/index.native25.js +5 -7
- package/dist/esm/index.native26.js +6 -26
- package/dist/esm/index.native27.js +6 -30
- package/dist/esm/index.native28.js +17 -17
- package/dist/esm/index.native29.js +25 -21
- package/dist/esm/index.native3.js +1 -1
- package/dist/esm/index.native30.js +17 -17
- package/dist/esm/index.native31.js +16 -16
- package/dist/esm/index.native32.js +21 -30
- package/dist/esm/index.native33.js +17 -18
- package/dist/esm/index.native34.js +31 -32
- package/dist/esm/index.native35.js +26 -24
- package/dist/esm/index.native36.js +32 -36
- package/dist/esm/index.native37.js +24 -46
- package/dist/esm/index.native38.js +39 -36
- package/dist/esm/index.native39.js +46 -40
- package/dist/esm/index.native4.js +178 -82
- package/dist/esm/index.native40.js +36 -21
- package/dist/esm/index.native41.js +41 -6
- package/dist/esm/index.native42.js +23 -44
- package/dist/esm/index.native43.js +6 -16
- package/dist/esm/index.native44.js +43 -20
- package/dist/esm/index.native45.js +15 -19
- package/dist/esm/index.native46.js +16 -49
- package/dist/esm/index.native47.js +16 -16
- package/dist/esm/index.native48.js +50 -28
- package/dist/esm/index.native49.js +16 -54
- package/dist/esm/index.native5.js +102 -51
- package/dist/esm/index.native50.js +26 -29
- package/dist/esm/index.native51.js +53 -28
- package/dist/esm/index.native52.js +32 -25
- package/dist/esm/index.native53.js +12 -27
- package/dist/esm/index.native54.js +26 -30
- package/dist/esm/index.native55.js +31 -114
- package/dist/esm/index.native56.js +27 -19
- package/dist/esm/index.native57.js +29 -10
- package/dist/esm/index.native58.js +30 -36
- package/dist/esm/index.native59.js +115 -29
- package/dist/esm/index.native6.js +15 -66
- package/dist/esm/index.native60.js +19 -64
- package/dist/esm/index.native61.js +10 -24
- package/dist/esm/index.native62.js +36 -17
- package/dist/esm/index.native63.js +29 -22
- package/dist/esm/index.native64.js +63 -6
- package/dist/esm/index.native65.js +24 -47
- package/dist/esm/index.native66.js +16 -19
- package/dist/esm/index.native67.js +23 -48
- package/dist/esm/index.native68.js +7 -38
- package/dist/esm/index.native69.js +46 -312
- package/dist/esm/index.native7.js +51 -63
- package/dist/esm/index.native70.js +18 -17
- package/dist/esm/index.native71.js +47 -130
- package/dist/esm/index.native72.js +38 -70
- package/dist/esm/index.native73.js +313 -6
- package/dist/esm/index.native74.js +17 -53
- package/dist/esm/index.native75.js +124 -148
- package/dist/esm/index.native76.js +66 -27
- package/dist/esm/index.native77.js +6 -17
- package/dist/esm/index.native78.js +53 -42
- package/dist/esm/index.native79.js +149 -35
- package/dist/esm/index.native8.js +77 -25
- package/dist/esm/index.native80.js +42 -42
- package/dist/esm/index.native81.js +32 -3
- package/dist/esm/index.native82.js +17 -23
- package/dist/esm/index.native83.js +43 -8
- package/dist/esm/index.native84.js +42 -29
- package/dist/esm/index.native85.js +3 -41
- package/dist/esm/index.native86.js +24 -49
- package/dist/esm/index.native87.js +8 -80
- package/dist/esm/index.native88.js +28 -25
- package/dist/esm/index.native89.js +39 -158
- package/dist/esm/index.native9.js +69 -2
- package/dist/esm/index.native90.js +47 -46
- package/dist/esm/index.native91.js +77 -15
- package/dist/esm/index.native92.js +25 -72
- package/dist/esm/index.native93.js +159 -8
- package/dist/esm/index.native94.js +31 -78
- package/dist/esm/index.native95.js +19 -136
- package/dist/esm/index.native96.js +71 -66
- package/dist/esm/index.native97.js +9 -27
- package/dist/esm/index.native98.js +95 -42
- package/dist/esm/index.native99.js +137 -47
- package/dist/esm/index.web.js +122 -115
- package/dist/esm/index.web10.js +1 -1
- package/dist/esm/index.web100.js +69 -42
- package/dist/esm/index.web101.js +26 -46
- package/dist/esm/index.web102.js +41 -20
- package/dist/esm/index.web103.js +43 -61
- package/dist/esm/index.web104.js +20 -152
- package/dist/esm/index.web105.js +61 -13
- package/dist/esm/index.web106.js +148 -18
- package/dist/esm/index.web107.js +13 -47
- package/dist/esm/index.web108.js +18 -372
- package/dist/esm/index.web109.js +50 -28
- package/dist/esm/index.web11.js +1 -1
- package/dist/esm/index.web110.js +374 -26
- package/dist/esm/index.web111.js +1 -1
- package/dist/esm/index.web112.js +1 -1
- package/dist/esm/index.web114.js +28 -950
- package/dist/esm/index.web115.js +29 -2
- package/dist/esm/index.web116.js +950 -49
- package/dist/esm/index.web117.js +2 -28
- package/dist/esm/index.web118.js +45 -50
- package/dist/esm/index.web119.js +27 -10
- package/dist/esm/index.web12.js +2 -2
- package/dist/esm/index.web120.js +55 -2
- package/dist/esm/index.web121.js +11 -45
- package/dist/esm/index.web122.js +2 -14
- package/dist/esm/index.web123.js +44 -12
- package/dist/esm/index.web124.js +13 -11
- package/dist/esm/index.web125.js +2 -2
- package/dist/esm/index.web129.js +12 -4
- package/dist/esm/index.web13.js +1 -1
- package/dist/esm/index.web130.js +11 -17
- package/dist/esm/index.web131.js +4 -45
- package/dist/esm/index.web132.js +17 -13
- package/dist/esm/index.web133.js +40 -50
- package/dist/esm/index.web134.js +13 -6
- package/dist/esm/index.web135.js +54 -20
- package/dist/esm/index.web136.js +6 -3
- package/dist/esm/index.web137.js +21 -3
- package/dist/esm/index.web138.js +3 -34
- package/dist/esm/index.web139.js +3 -12
- package/dist/esm/index.web14.js +1 -1
- package/dist/esm/index.web140.js +34 -4
- package/dist/esm/index.web141.js +11 -27
- package/dist/esm/index.web142.js +4 -6
- package/dist/esm/index.web143.js +25 -39
- package/dist/esm/index.web144.js +6 -55
- package/dist/esm/index.web145.js +42 -127
- package/dist/esm/index.web146.js +54 -22
- package/dist/esm/index.web147.js +126 -11
- package/dist/esm/index.web148.js +21 -102
- package/dist/esm/index.web149.js +12 -6
- package/dist/esm/index.web15.js +1 -1
- package/dist/esm/index.web150.js +105 -3
- package/dist/esm/index.web151.js +6 -14
- package/dist/esm/index.web152.js +3 -35
- package/dist/esm/index.web153.js +14 -78
- package/dist/esm/index.web154.js +35 -2
- package/dist/esm/index.web155.js +79 -2
- package/dist/esm/index.web156.js +2 -38
- package/dist/esm/index.web157.js +2 -7
- package/dist/esm/index.web158.js +32 -29
- package/dist/esm/index.web159.js +6 -8
- package/dist/esm/index.web16.js +5 -5
- package/dist/esm/index.web160.js +33 -9
- package/dist/esm/index.web161.js +8 -11
- package/dist/esm/index.web162.js +10 -13
- package/dist/esm/index.web163.js +11 -18
- package/dist/esm/index.web164.js +13 -5
- package/dist/esm/index.web165.js +19 -5
- package/dist/esm/index.web166.js +5 -10
- package/dist/esm/index.web167.js +5 -21
- package/dist/esm/index.web168.js +11 -10
- package/dist/esm/index.web169.js +20 -19
- package/dist/esm/index.web17.js +7 -7
- package/dist/esm/index.web170.js +9 -93
- package/dist/esm/index.web171.js +18 -19
- package/dist/esm/index.web172.js +81 -105
- package/dist/esm/index.web173.js +20 -103
- package/dist/esm/index.web174.js +112 -73
- package/dist/esm/index.web175.js +14 -79
- package/dist/esm/index.web176.js +21 -7
- package/dist/esm/index.web177.js +7 -28
- package/dist/esm/index.web178.js +3 -7
- package/dist/esm/index.web179.js +28 -3
- package/dist/esm/index.web18.js +1 -1
- package/dist/esm/index.web180.js +8 -28
- package/dist/esm/index.web181.js +7 -8
- package/dist/esm/index.web182.js +80 -7
- package/dist/esm/index.web183.js +21 -73
- package/dist/esm/index.web184.js +3 -28
- package/dist/esm/index.web185.js +15 -3
- package/dist/esm/index.web186.js +4 -15
- package/dist/esm/index.web187.js +14 -4
- package/dist/esm/index.web188.js +19 -14
- package/dist/esm/index.web189.js +57 -15
- package/dist/esm/index.web19.js +1 -1
- package/dist/esm/index.web190.js +16 -60
- package/dist/esm/index.web191.js +23 -17
- package/dist/esm/index.web192.js +8 -23
- package/dist/esm/index.web193.js +42 -8
- package/dist/esm/index.web194.js +7 -42
- package/dist/esm/index.web195.js +20 -7
- package/dist/esm/index.web196.js +38 -20
- package/dist/esm/index.web197.js +2 -8
- package/dist/esm/index.web198.js +70 -2
- package/dist/esm/index.web199.js +30 -373
- package/dist/esm/index.web20.js +1 -1
- package/dist/esm/index.web200.js +20 -835
- package/dist/esm/index.web201.js +7 -38
- package/dist/esm/index.web203.js +375 -67
- package/dist/esm/index.web204.js +835 -34
- package/dist/esm/index.web205.js +101 -18
- package/dist/esm/index.web206.js +79 -2
- package/dist/esm/index.web207.js +79 -108
- package/dist/esm/index.web208.js +2 -2
- package/dist/esm/index.web209.js +109 -2
- package/dist/esm/index.web21.js +1 -1
- package/dist/esm/index.web210.js +2 -21
- package/dist/esm/index.web211.js +2 -20
- package/dist/esm/index.web212.js +18 -30
- package/dist/esm/index.web213.js +19 -6
- package/dist/esm/index.web214.js +32 -17
- package/dist/esm/index.web215.js +7 -28
- package/dist/esm/index.web216.js +2 -8
- package/dist/esm/index.web217.js +2 -11
- package/dist/esm/index.web218.js +2 -13
- package/dist/esm/index.web219.js +16 -8
- package/dist/esm/index.web22.js +1 -1
- package/dist/esm/index.web220.js +28 -17
- package/dist/esm/index.web221.js +6 -79
- package/dist/esm/index.web222.js +11 -4
- package/dist/esm/index.web223.js +13 -2
- package/dist/esm/index.web224.js +10 -2
- package/dist/esm/index.web225.js +17 -2
- package/dist/esm/index.web226.js +79 -45
- package/dist/esm/index.web227.js +4 -5
- package/dist/esm/index.web228.js +41 -73
- package/dist/esm/index.web229.js +5 -15
- package/dist/esm/index.web23.js +1 -1
- package/dist/esm/index.web230.js +81 -0
- package/dist/esm/index.web231.js +17 -0
- package/dist/esm/index.web24.js +1 -1
- package/dist/esm/index.web25.js +6 -6
- package/dist/esm/index.web26.js +7 -7
- package/dist/esm/index.web27.js +6 -6
- package/dist/esm/index.web28.js +6 -6
- package/dist/esm/index.web29.js +6 -6
- package/dist/esm/index.web3.js +1 -1
- package/dist/esm/index.web30.js +6 -6
- package/dist/esm/index.web31.js +7 -7
- package/dist/esm/index.web32.js +6 -6
- package/dist/esm/index.web33.js +6 -6
- package/dist/esm/index.web34.js +2 -2
- package/dist/esm/index.web35.js +6 -6
- package/dist/esm/index.web36.js +6 -6
- package/dist/esm/index.web37.js +3 -3
- package/dist/esm/index.web38.js +2 -2
- package/dist/esm/index.web39.js +2 -2
- package/dist/esm/index.web40.js +1 -1
- package/dist/esm/index.web41.js +2 -2
- package/dist/esm/index.web42.js +1 -1
- package/dist/esm/index.web43.js +1 -1
- package/dist/esm/index.web44.js +1 -1
- package/dist/esm/index.web45.js +4 -4
- package/dist/esm/index.web46.js +1 -1
- package/dist/esm/index.web47.js +4 -4
- package/dist/esm/index.web48.js +4 -4
- package/dist/esm/index.web49.js +8 -8
- package/dist/esm/index.web5.js +1 -1
- package/dist/esm/index.web50.js +12 -31
- package/dist/esm/index.web51.js +26 -28
- package/dist/esm/index.web52.js +30 -26
- package/dist/esm/index.web53.js +26 -28
- package/dist/esm/index.web54.js +28 -115
- package/dist/esm/index.web55.js +29 -19
- package/dist/esm/index.web56.js +116 -10
- package/dist/esm/index.web57.js +20 -36
- package/dist/esm/index.web58.js +10 -30
- package/dist/esm/index.web59.js +36 -65
- package/dist/esm/index.web60.js +26 -20
- package/dist/esm/index.web61.js +63 -15
- package/dist/esm/index.web62.js +23 -22
- package/dist/esm/index.web63.js +15 -6
- package/dist/esm/index.web64.js +22 -46
- package/dist/esm/index.web65.js +7 -19
- package/dist/esm/index.web66.js +47 -48
- package/dist/esm/index.web67.js +17 -36
- package/dist/esm/index.web68.js +45 -310
- package/dist/esm/index.web69.js +37 -17
- package/dist/esm/index.web70.js +307 -126
- package/dist/esm/index.web71.js +13 -65
- package/dist/esm/index.web72.js +130 -4
- package/dist/esm/index.web73.js +70 -55
- package/dist/esm/index.web74.js +5 -155
- package/dist/esm/index.web75.js +55 -67
- package/dist/esm/index.web76.js +156 -34
- package/dist/esm/index.web77.js +65 -87
- package/dist/esm/index.web78.js +35 -32
- package/dist/esm/index.web79.js +87 -15
- package/dist/esm/index.web8.js +1 -1
- package/dist/esm/index.web80.js +39 -40
- package/dist/esm/index.web81.js +30 -41
- package/dist/esm/index.web82.js +18 -42
- package/dist/esm/index.web83.js +44 -3
- package/dist/esm/index.web84.js +42 -24
- package/dist/esm/index.web85.js +3 -9
- package/dist/esm/index.web86.js +22 -27
- package/dist/esm/index.web87.js +8 -40
- package/dist/esm/index.web88.js +28 -48
- package/dist/esm/index.web89.js +40 -81
- package/dist/esm/index.web9.js +64 -37
- package/dist/esm/index.web90.js +48 -25
- package/dist/esm/index.web91.js +75 -153
- package/dist/esm/index.web92.js +24 -46
- package/dist/esm/index.web93.js +160 -25
- package/dist/esm/index.web94.js +46 -71
- package/dist/esm/index.web95.js +25 -8
- package/dist/esm/index.web96.js +69 -92
- package/dist/esm/index.web97.js +6 -134
- package/dist/esm/index.web98.js +68 -41
- package/dist/esm/index.web99.js +137 -27
- package/dist/native/index.native.js +172 -161
- package/dist/native/index.native10.js +25 -87
- package/dist/native/index.native100.js +68 -21
- package/dist/native/index.native101.js +27 -65
- package/dist/native/index.native102.js +42 -153
- package/dist/native/index.native103.js +44 -87
- package/dist/native/index.native104.js +21 -17
- package/dist/native/index.native105.js +63 -21
- package/dist/native/index.native106.js +150 -48
- package/dist/native/index.native107.js +84 -371
- package/dist/native/index.native108.js +19 -2
- package/dist/native/index.native109.js +20 -63
- package/dist/native/index.native11.js +2 -13
- package/dist/native/index.native110.js +37 -351
- package/dist/native/index.native111.js +374 -26
- package/dist/native/index.native112.js +2 -31
- package/dist/native/index.native113.js +63 -948
- package/dist/native/index.native114.js +365 -2
- package/dist/native/index.native115.js +28 -49
- package/dist/native/index.native116.js +28 -27
- package/dist/native/index.native117.js +949 -11
- package/dist/native/index.native118.js +2 -12
- package/dist/native/index.native119.js +45 -50
- package/dist/native/index.native12.js +114 -11
- package/dist/native/index.native120.js +27 -10
- package/dist/native/index.native121.js +55 -2
- package/dist/native/index.native122.js +11 -45
- package/dist/native/index.native123.js +2 -14
- package/dist/native/index.native124.js +45 -5
- package/dist/native/index.native125.js +12 -46
- package/dist/native/index.native126.js +5 -35
- package/dist/native/index.native127.js +40 -60
- package/dist/native/index.native128.js +35 -2
- package/dist/native/index.native129.js +68 -2
- package/dist/native/index.native13.js +12 -54
- package/dist/native/index.native130.js +2 -5
- package/dist/native/index.native131.js +2 -18
- package/dist/native/index.native132.js +10 -43
- package/dist/native/index.native133.js +11 -13
- package/dist/native/index.native134.js +4 -55
- package/dist/native/index.native135.js +17 -6
- package/dist/native/index.native136.js +44 -20
- package/dist/native/index.native137.js +13 -3
- package/dist/native/index.native138.js +55 -3
- package/dist/native/index.native139.js +6 -34
- package/dist/native/index.native14.js +10 -12
- package/dist/native/index.native140.js +19 -10
- package/dist/native/index.native141.js +3 -4
- package/dist/native/index.native142.js +3 -28
- package/dist/native/index.native143.js +34 -6
- package/dist/native/index.native144.js +11 -41
- package/dist/native/index.native145.js +4 -55
- package/dist/native/index.native146.js +28 -127
- package/dist/native/index.native147.js +6 -23
- package/dist/native/index.native148.js +41 -11
- package/dist/native/index.native149.js +53 -102
- package/dist/native/index.native15.js +54 -10
- package/dist/native/index.native150.js +127 -6
- package/dist/native/index.native151.js +24 -3
- package/dist/native/index.native152.js +12 -14
- package/dist/native/index.native153.js +100 -30
- package/dist/native/index.native154.js +6 -78
- package/dist/native/index.native155.js +3 -2
- package/dist/native/index.native156.js +15 -2
- package/dist/native/index.native157.js +29 -32
- package/dist/native/index.native158.js +77 -5
- package/dist/native/index.native159.js +2 -35
- package/dist/native/index.native16.js +11 -7
- package/dist/native/index.native160.js +2 -9
- package/dist/native/index.native161.js +36 -9
- package/dist/native/index.native162.js +6 -11
- package/dist/native/index.native163.js +33 -12
- package/dist/native/index.native164.js +8 -18
- package/dist/native/index.native165.js +10 -5
- package/dist/native/index.native166.js +12 -5
- package/dist/native/index.native167.js +13 -10
- package/dist/native/index.native168.js +17 -102
- package/dist/native/index.native169.js +5 -78
- package/dist/native/index.native17.js +10 -53
- package/dist/native/index.native170.js +5 -80
- package/dist/native/index.native171.js +10 -13
- package/dist/native/index.native172.js +18 -25
- package/dist/native/index.native173.js +10 -8
- package/dist/native/index.native174.js +20 -4
- package/dist/native/index.native175.js +93 -27
- package/dist/native/index.native176.js +21 -9
- package/dist/native/index.native177.js +118 -8
- package/dist/native/index.native178.js +7 -73
- package/dist/native/index.native179.js +12 -12
- package/dist/native/index.native18.js +10 -53
- package/dist/native/index.native180.js +7 -3
- package/dist/native/index.native181.js +3 -14
- package/dist/native/index.native182.js +27 -4
- package/dist/native/index.native183.js +8 -13
- package/dist/native/index.native184.js +7 -19
- package/dist/native/index.native185.js +68 -49
- package/dist/native/index.native186.js +26 -16
- package/dist/native/index.native187.js +3 -23
- package/dist/native/index.native188.js +14 -8
- package/dist/native/index.native189.js +4 -41
- package/dist/native/index.native19.js +53 -6
- package/dist/native/index.native190.js +13 -7
- package/dist/native/index.native191.js +10 -11
- package/dist/native/index.native192.js +57 -17
- package/dist/native/index.native193.js +18 -10
- package/dist/native/index.native194.js +23 -19
- package/dist/native/index.native195.js +9 -94
- package/dist/native/index.native196.js +41 -20
- package/dist/native/index.native197.js +8 -118
- package/dist/native/index.native198.js +21 -2
- package/dist/native/index.native199.js +7 -38
- package/dist/native/index.native2.js +2 -2
- package/dist/native/index.native20.js +53 -4
- package/dist/native/index.native201.js +375 -67
- package/dist/native/index.native202.js +835 -34
- package/dist/native/index.native203.js +38 -20
- package/dist/native/index.native204.js +2 -8
- package/dist/native/index.native205.js +70 -2
- package/dist/native/index.native206.js +30 -373
- package/dist/native/index.native207.js +20 -835
- package/dist/native/index.native208.js +101 -106
- package/dist/native/index.native209.js +79 -2
- package/dist/native/index.native21.js +6 -12
- package/dist/native/index.native210.js +80 -2
- package/dist/native/index.native211.js +2 -21
- package/dist/native/index.native212.js +108 -19
- package/dist/native/index.native213.js +2 -33
- package/dist/native/index.native214.js +2 -7
- package/dist/native/index.native215.js +20 -3
- package/dist/native/index.native216.js +18 -16
- package/dist/native/index.native217.js +32 -27
- package/dist/native/index.native218.js +7 -8
- package/dist/native/index.native219.js +2 -11
- package/dist/native/index.native22.js +4 -4
- package/dist/native/index.native220.js +2 -13
- package/dist/native/index.native221.js +2 -10
- package/dist/native/index.native222.js +15 -14
- package/dist/native/index.native223.js +25 -78
- package/dist/native/index.native224.js +8 -2
- package/dist/native/index.native225.js +11 -2
- package/dist/native/index.native226.js +13 -2
- package/dist/native/index.native227.js +8 -45
- package/dist/native/index.native228.js +17 -5
- package/dist/native/index.native229.js +72 -70
- package/dist/native/index.native23.js +12 -4
- package/dist/native/index.native230.js +3 -14
- package/dist/native/index.native231.js +49 -0
- package/dist/native/index.native232.js +7 -0
- package/dist/native/index.native233.js +81 -0
- package/dist/native/index.native234.js +17 -0
- package/dist/native/index.native24.js +5 -7
- package/dist/native/index.native25.js +5 -7
- package/dist/native/index.native26.js +6 -26
- package/dist/native/index.native27.js +6 -30
- package/dist/native/index.native28.js +17 -17
- package/dist/native/index.native29.js +25 -21
- package/dist/native/index.native3.js +1 -1
- package/dist/native/index.native30.js +17 -17
- package/dist/native/index.native31.js +16 -16
- package/dist/native/index.native32.js +21 -30
- package/dist/native/index.native33.js +17 -18
- package/dist/native/index.native34.js +31 -32
- package/dist/native/index.native35.js +26 -24
- package/dist/native/index.native36.js +32 -36
- package/dist/native/index.native37.js +24 -46
- package/dist/native/index.native38.js +39 -36
- package/dist/native/index.native39.js +46 -40
- package/dist/native/index.native4.js +178 -82
- package/dist/native/index.native40.js +36 -21
- package/dist/native/index.native41.js +41 -6
- package/dist/native/index.native42.js +23 -44
- package/dist/native/index.native43.js +6 -16
- package/dist/native/index.native44.js +43 -20
- package/dist/native/index.native45.js +15 -19
- package/dist/native/index.native46.js +16 -49
- package/dist/native/index.native47.js +16 -16
- package/dist/native/index.native48.js +50 -28
- package/dist/native/index.native49.js +16 -54
- package/dist/native/index.native5.js +102 -51
- package/dist/native/index.native50.js +26 -29
- package/dist/native/index.native51.js +53 -28
- package/dist/native/index.native52.js +32 -25
- package/dist/native/index.native53.js +12 -27
- package/dist/native/index.native54.js +26 -30
- package/dist/native/index.native55.js +31 -114
- package/dist/native/index.native56.js +27 -19
- package/dist/native/index.native57.js +29 -10
- package/dist/native/index.native58.js +30 -36
- package/dist/native/index.native59.js +115 -29
- package/dist/native/index.native6.js +15 -66
- package/dist/native/index.native60.js +19 -64
- package/dist/native/index.native61.js +10 -24
- package/dist/native/index.native62.js +36 -17
- package/dist/native/index.native63.js +29 -22
- package/dist/native/index.native64.js +63 -6
- package/dist/native/index.native65.js +24 -47
- package/dist/native/index.native66.js +16 -19
- package/dist/native/index.native67.js +23 -48
- package/dist/native/index.native68.js +7 -38
- package/dist/native/index.native69.js +46 -312
- package/dist/native/index.native7.js +51 -63
- package/dist/native/index.native70.js +18 -17
- package/dist/native/index.native71.js +47 -130
- package/dist/native/index.native72.js +38 -70
- package/dist/native/index.native73.js +313 -6
- package/dist/native/index.native74.js +17 -53
- package/dist/native/index.native75.js +124 -148
- package/dist/native/index.native76.js +66 -27
- package/dist/native/index.native77.js +6 -17
- package/dist/native/index.native78.js +53 -42
- package/dist/native/index.native79.js +149 -35
- package/dist/native/index.native8.js +77 -25
- package/dist/native/index.native80.js +42 -42
- package/dist/native/index.native81.js +32 -3
- package/dist/native/index.native82.js +17 -23
- package/dist/native/index.native83.js +43 -8
- package/dist/native/index.native84.js +42 -29
- package/dist/native/index.native85.js +3 -41
- package/dist/native/index.native86.js +24 -49
- package/dist/native/index.native87.js +8 -80
- package/dist/native/index.native88.js +28 -25
- package/dist/native/index.native89.js +39 -158
- package/dist/native/index.native9.js +69 -2
- package/dist/native/index.native90.js +47 -46
- package/dist/native/index.native91.js +77 -15
- package/dist/native/index.native92.js +25 -72
- package/dist/native/index.native93.js +159 -8
- package/dist/native/index.native94.js +31 -78
- package/dist/native/index.native95.js +19 -136
- package/dist/native/index.native96.js +71 -66
- package/dist/native/index.native97.js +9 -27
- package/dist/native/index.native98.js +95 -42
- package/dist/native/index.native99.js +137 -47
- package/dist/native-types/actions/createEvmEip7702Delegation.d.ts +1 -1
- package/dist/native-types/actions/getEvmEip7702DelegationOperation.d.ts +5 -0
- package/dist/native-types/actions/waitForEvmEip7702Delegation.d.ts +7 -0
- package/dist/native-types/index.d.ts +4 -0
- package/dist/native-types/index.native.d.ts +5 -0
- package/dist/native-types/index.web.d.ts +5 -0
- package/dist/native-types/platform/native/attestation.d.ts +2 -0
- package/dist/native-types/platform/native/deviceInfo.d.ts +2 -0
- package/dist/native-types/platform/registry.d.ts +2 -1
- package/dist/native-types/platform/types.d.ts +31 -0
- package/dist/native-types/version.d.ts +1 -1
- package/dist/types/actions/createEvmEip7702Delegation.d.ts +1 -1
- package/dist/types/actions/getEvmEip7702DelegationOperation.d.ts +5 -0
- package/dist/types/actions/waitForEvmEip7702Delegation.d.ts +7 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.native.d.ts +5 -0
- package/dist/types/index.web.d.ts +5 -0
- package/dist/types/platform/native/attestation.d.ts +2 -0
- package/dist/types/platform/native/deviceInfo.d.ts +2 -0
- package/dist/types/platform/registry.d.ts +2 -1
- package/dist/types/platform/types.d.ts +31 -0
- package/dist/types/version.d.ts +1 -1
- package/dist/web/index.web.js +122 -115
- package/dist/web/index.web10.js +1 -1
- package/dist/web/index.web100.js +69 -42
- package/dist/web/index.web101.js +26 -46
- package/dist/web/index.web102.js +41 -20
- package/dist/web/index.web103.js +43 -61
- package/dist/web/index.web104.js +20 -152
- package/dist/web/index.web105.js +61 -13
- package/dist/web/index.web106.js +148 -18
- package/dist/web/index.web107.js +13 -47
- package/dist/web/index.web108.js +18 -372
- package/dist/web/index.web109.js +50 -28
- package/dist/web/index.web11.js +1 -1
- package/dist/web/index.web110.js +374 -26
- package/dist/web/index.web111.js +1 -1
- package/dist/web/index.web112.js +1 -1
- package/dist/web/index.web114.js +28 -950
- package/dist/web/index.web115.js +29 -2
- package/dist/web/index.web116.js +950 -49
- package/dist/web/index.web117.js +2 -28
- package/dist/web/index.web118.js +45 -50
- package/dist/web/index.web119.js +27 -10
- package/dist/web/index.web12.js +2 -2
- package/dist/web/index.web120.js +55 -2
- package/dist/web/index.web121.js +11 -45
- package/dist/web/index.web122.js +2 -14
- package/dist/web/index.web123.js +44 -12
- package/dist/web/index.web124.js +13 -11
- package/dist/web/index.web125.js +2 -2
- package/dist/web/index.web129.js +12 -4
- package/dist/web/index.web13.js +1 -1
- package/dist/web/index.web130.js +11 -17
- package/dist/web/index.web131.js +4 -45
- package/dist/web/index.web132.js +17 -13
- package/dist/web/index.web133.js +40 -50
- package/dist/web/index.web134.js +13 -6
- package/dist/web/index.web135.js +54 -20
- package/dist/web/index.web136.js +6 -3
- package/dist/web/index.web137.js +21 -3
- package/dist/web/index.web138.js +3 -34
- package/dist/web/index.web139.js +3 -12
- package/dist/web/index.web14.js +1 -1
- package/dist/web/index.web140.js +34 -4
- package/dist/web/index.web141.js +11 -27
- package/dist/web/index.web142.js +4 -6
- package/dist/web/index.web143.js +25 -39
- package/dist/web/index.web144.js +6 -55
- package/dist/web/index.web145.js +42 -127
- package/dist/web/index.web146.js +54 -22
- package/dist/web/index.web147.js +126 -11
- package/dist/web/index.web148.js +21 -102
- package/dist/web/index.web149.js +12 -6
- package/dist/web/index.web15.js +1 -1
- package/dist/web/index.web150.js +105 -3
- package/dist/web/index.web151.js +6 -14
- package/dist/web/index.web152.js +3 -35
- package/dist/web/index.web153.js +14 -78
- package/dist/web/index.web154.js +35 -2
- package/dist/web/index.web155.js +79 -2
- package/dist/web/index.web156.js +2 -38
- package/dist/web/index.web157.js +2 -7
- package/dist/web/index.web158.js +32 -29
- package/dist/web/index.web159.js +6 -8
- package/dist/web/index.web16.js +5 -5
- package/dist/web/index.web160.js +33 -9
- package/dist/web/index.web161.js +8 -11
- package/dist/web/index.web162.js +10 -13
- package/dist/web/index.web163.js +11 -18
- package/dist/web/index.web164.js +13 -5
- package/dist/web/index.web165.js +19 -5
- package/dist/web/index.web166.js +5 -10
- package/dist/web/index.web167.js +5 -21
- package/dist/web/index.web168.js +11 -10
- package/dist/web/index.web169.js +20 -19
- package/dist/web/index.web17.js +7 -7
- package/dist/web/index.web170.js +9 -93
- package/dist/web/index.web171.js +18 -19
- package/dist/web/index.web172.js +81 -105
- package/dist/web/index.web173.js +20 -103
- package/dist/web/index.web174.js +112 -73
- package/dist/web/index.web175.js +14 -79
- package/dist/web/index.web176.js +21 -7
- package/dist/web/index.web177.js +7 -28
- package/dist/web/index.web178.js +3 -7
- package/dist/web/index.web179.js +28 -3
- package/dist/web/index.web18.js +1 -1
- package/dist/web/index.web180.js +8 -28
- package/dist/web/index.web181.js +7 -8
- package/dist/web/index.web182.js +80 -7
- package/dist/web/index.web183.js +21 -73
- package/dist/web/index.web184.js +3 -28
- package/dist/web/index.web185.js +15 -3
- package/dist/web/index.web186.js +4 -15
- package/dist/web/index.web187.js +14 -4
- package/dist/web/index.web188.js +19 -14
- package/dist/web/index.web189.js +57 -15
- package/dist/web/index.web19.js +1 -1
- package/dist/web/index.web190.js +16 -60
- package/dist/web/index.web191.js +23 -17
- package/dist/web/index.web192.js +8 -23
- package/dist/web/index.web193.js +42 -8
- package/dist/web/index.web194.js +7 -42
- package/dist/web/index.web195.js +20 -7
- package/dist/web/index.web196.js +38 -20
- package/dist/web/index.web197.js +2 -8
- package/dist/web/index.web198.js +70 -2
- package/dist/web/index.web199.js +30 -373
- package/dist/web/index.web20.js +1 -1
- package/dist/web/index.web200.js +20 -835
- package/dist/web/index.web201.js +7 -38
- package/dist/web/index.web203.js +375 -67
- package/dist/web/index.web204.js +835 -34
- package/dist/web/index.web205.js +101 -18
- package/dist/web/index.web206.js +79 -2
- package/dist/web/index.web207.js +79 -108
- package/dist/web/index.web208.js +2 -2
- package/dist/web/index.web209.js +109 -2
- package/dist/web/index.web21.js +1 -1
- package/dist/web/index.web210.js +2 -21
- package/dist/web/index.web211.js +2 -20
- package/dist/web/index.web212.js +18 -30
- package/dist/web/index.web213.js +19 -6
- package/dist/web/index.web214.js +32 -17
- package/dist/web/index.web215.js +7 -28
- package/dist/web/index.web216.js +2 -8
- package/dist/web/index.web217.js +2 -11
- package/dist/web/index.web218.js +2 -13
- package/dist/web/index.web219.js +16 -8
- package/dist/web/index.web22.js +1 -1
- package/dist/web/index.web220.js +28 -17
- package/dist/web/index.web221.js +6 -79
- package/dist/web/index.web222.js +11 -4
- package/dist/web/index.web223.js +13 -2
- package/dist/web/index.web224.js +10 -2
- package/dist/web/index.web225.js +17 -2
- package/dist/web/index.web226.js +79 -45
- package/dist/web/index.web227.js +4 -5
- package/dist/web/index.web228.js +41 -73
- package/dist/web/index.web229.js +5 -15
- package/dist/web/index.web23.js +1 -1
- package/dist/web/index.web230.js +81 -0
- package/dist/web/index.web231.js +17 -0
- package/dist/web/index.web24.js +1 -1
- package/dist/web/index.web25.js +6 -6
- package/dist/web/index.web26.js +7 -7
- package/dist/web/index.web27.js +6 -6
- package/dist/web/index.web28.js +6 -6
- package/dist/web/index.web29.js +6 -6
- package/dist/web/index.web3.js +1 -1
- package/dist/web/index.web30.js +6 -6
- package/dist/web/index.web31.js +7 -7
- package/dist/web/index.web32.js +6 -6
- package/dist/web/index.web33.js +6 -6
- package/dist/web/index.web34.js +2 -2
- package/dist/web/index.web35.js +6 -6
- package/dist/web/index.web36.js +6 -6
- package/dist/web/index.web37.js +3 -3
- package/dist/web/index.web38.js +2 -2
- package/dist/web/index.web39.js +2 -2
- package/dist/web/index.web40.js +1 -1
- package/dist/web/index.web41.js +2 -2
- package/dist/web/index.web42.js +1 -1
- package/dist/web/index.web43.js +1 -1
- package/dist/web/index.web44.js +1 -1
- package/dist/web/index.web45.js +4 -4
- package/dist/web/index.web46.js +1 -1
- package/dist/web/index.web47.js +4 -4
- package/dist/web/index.web48.js +4 -4
- package/dist/web/index.web49.js +8 -8
- package/dist/web/index.web5.js +1 -1
- package/dist/web/index.web50.js +12 -31
- package/dist/web/index.web51.js +26 -28
- package/dist/web/index.web52.js +30 -26
- package/dist/web/index.web53.js +26 -28
- package/dist/web/index.web54.js +28 -115
- package/dist/web/index.web55.js +29 -19
- package/dist/web/index.web56.js +116 -10
- package/dist/web/index.web57.js +20 -36
- package/dist/web/index.web58.js +10 -30
- package/dist/web/index.web59.js +36 -65
- package/dist/web/index.web60.js +26 -20
- package/dist/web/index.web61.js +63 -15
- package/dist/web/index.web62.js +23 -22
- package/dist/web/index.web63.js +15 -6
- package/dist/web/index.web64.js +22 -46
- package/dist/web/index.web65.js +7 -19
- package/dist/web/index.web66.js +47 -48
- package/dist/web/index.web67.js +17 -36
- package/dist/web/index.web68.js +45 -310
- package/dist/web/index.web69.js +37 -17
- package/dist/web/index.web70.js +307 -126
- package/dist/web/index.web71.js +13 -65
- package/dist/web/index.web72.js +130 -4
- package/dist/web/index.web73.js +70 -55
- package/dist/web/index.web74.js +5 -155
- package/dist/web/index.web75.js +55 -67
- package/dist/web/index.web76.js +156 -34
- package/dist/web/index.web77.js +65 -87
- package/dist/web/index.web78.js +35 -32
- package/dist/web/index.web79.js +87 -15
- package/dist/web/index.web8.js +1 -1
- package/dist/web/index.web80.js +39 -40
- package/dist/web/index.web81.js +30 -41
- package/dist/web/index.web82.js +18 -42
- package/dist/web/index.web83.js +44 -3
- package/dist/web/index.web84.js +42 -24
- package/dist/web/index.web85.js +3 -9
- package/dist/web/index.web86.js +22 -27
- package/dist/web/index.web87.js +8 -40
- package/dist/web/index.web88.js +28 -48
- package/dist/web/index.web89.js +40 -81
- package/dist/web/index.web9.js +64 -37
- package/dist/web/index.web90.js +48 -25
- package/dist/web/index.web91.js +75 -153
- package/dist/web/index.web92.js +24 -46
- package/dist/web/index.web93.js +160 -25
- package/dist/web/index.web94.js +46 -71
- package/dist/web/index.web95.js +25 -8
- package/dist/web/index.web96.js +69 -92
- package/dist/web/index.web97.js +6 -134
- package/dist/web/index.web98.js +68 -41
- package/dist/web/index.web99.js +137 -27
- package/dist/web-types/actions/createEvmEip7702Delegation.d.ts +1 -1
- package/dist/web-types/actions/getEvmEip7702DelegationOperation.d.ts +5 -0
- package/dist/web-types/actions/waitForEvmEip7702Delegation.d.ts +7 -0
- package/dist/web-types/index.d.ts +4 -0
- package/dist/web-types/index.native.d.ts +5 -0
- package/dist/web-types/index.web.d.ts +5 -0
- package/dist/web-types/platform/native/attestation.d.ts +2 -0
- package/dist/web-types/platform/native/deviceInfo.d.ts +2 -0
- package/dist/web-types/platform/registry.d.ts +2 -1
- package/dist/web-types/platform/types.d.ts +31 -0
- package/dist/web-types/version.d.ts +1 -1
- package/package.json +12 -4
|
@@ -1,15 +1,953 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
1
|
+
import { __exports as N } from "./index.native118.js";
|
|
2
|
+
import { __require as Fr } from "./index.native119.js";
|
|
3
|
+
import { __require as Ur } from "./index.native120.js";
|
|
4
|
+
/*!
|
|
5
|
+
* The buffer module from node.js, for the browser.
|
|
6
|
+
*
|
|
7
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
8
|
+
* @license MIT
|
|
9
|
+
*/
|
|
10
|
+
var Z;
|
|
11
|
+
function Sr() {
|
|
12
|
+
return Z ? N : (Z = 1, function(d) {
|
|
13
|
+
const R = Fr(), m = Ur(), k = typeof Symbol == "function" && typeof Symbol.for == "function" ? Symbol.for("nodejs.util.inspect.custom") : null;
|
|
14
|
+
d.Buffer = u, d.SlowBuffer = nr, d.INSPECT_MAX_BYTES = 50;
|
|
15
|
+
const U = 2147483647;
|
|
16
|
+
d.kMaxLength = U, u.TYPED_ARRAY_SUPPORT = Q(), !u.TYPED_ARRAY_SUPPORT && typeof console < "u" && typeof console.error == "function" && console.error(
|
|
17
|
+
"This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support."
|
|
18
|
+
);
|
|
19
|
+
function Q() {
|
|
20
|
+
try {
|
|
21
|
+
const i = new Uint8Array(1), r = { foo: function() {
|
|
22
|
+
return 42;
|
|
23
|
+
} };
|
|
24
|
+
return Object.setPrototypeOf(r, Uint8Array.prototype), Object.setPrototypeOf(i, r), i.foo() === 42;
|
|
25
|
+
} catch {
|
|
26
|
+
return !1;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
Object.defineProperty(u.prototype, "parent", {
|
|
30
|
+
enumerable: !0,
|
|
31
|
+
get: function() {
|
|
32
|
+
if (u.isBuffer(this))
|
|
33
|
+
return this.buffer;
|
|
34
|
+
}
|
|
35
|
+
}), Object.defineProperty(u.prototype, "offset", {
|
|
36
|
+
enumerable: !0,
|
|
37
|
+
get: function() {
|
|
38
|
+
if (u.isBuffer(this))
|
|
39
|
+
return this.byteOffset;
|
|
40
|
+
}
|
|
10
41
|
});
|
|
11
|
-
|
|
42
|
+
function B(i) {
|
|
43
|
+
if (i > U)
|
|
44
|
+
throw new RangeError('The value "' + i + '" is invalid for option "size"');
|
|
45
|
+
const r = new Uint8Array(i);
|
|
46
|
+
return Object.setPrototypeOf(r, u.prototype), r;
|
|
47
|
+
}
|
|
48
|
+
function u(i, r, t) {
|
|
49
|
+
if (typeof i == "number") {
|
|
50
|
+
if (typeof r == "string")
|
|
51
|
+
throw new TypeError(
|
|
52
|
+
'The "string" argument must be of type string. Received type number'
|
|
53
|
+
);
|
|
54
|
+
return T(i);
|
|
55
|
+
}
|
|
56
|
+
return P(i, r, t);
|
|
57
|
+
}
|
|
58
|
+
u.poolSize = 8192;
|
|
59
|
+
function P(i, r, t) {
|
|
60
|
+
if (typeof i == "string")
|
|
61
|
+
return rr(i, r);
|
|
62
|
+
if (ArrayBuffer.isView(i))
|
|
63
|
+
return tr(i);
|
|
64
|
+
if (i == null)
|
|
65
|
+
throw new TypeError(
|
|
66
|
+
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
67
|
+
);
|
|
68
|
+
if (w(i, ArrayBuffer) || i && w(i.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (w(i, SharedArrayBuffer) || i && w(i.buffer, SharedArrayBuffer)))
|
|
69
|
+
return S(i, r, t);
|
|
70
|
+
if (typeof i == "number")
|
|
71
|
+
throw new TypeError(
|
|
72
|
+
'The "value" argument must not be of type number. Received type number'
|
|
73
|
+
);
|
|
74
|
+
const n = i.valueOf && i.valueOf();
|
|
75
|
+
if (n != null && n !== i)
|
|
76
|
+
return u.from(n, r, t);
|
|
77
|
+
const e = ir(i);
|
|
78
|
+
if (e) return e;
|
|
79
|
+
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof i[Symbol.toPrimitive] == "function")
|
|
80
|
+
return u.from(i[Symbol.toPrimitive]("string"), r, t);
|
|
81
|
+
throw new TypeError(
|
|
82
|
+
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof i
|
|
83
|
+
);
|
|
84
|
+
}
|
|
85
|
+
u.from = function(i, r, t) {
|
|
86
|
+
return P(i, r, t);
|
|
87
|
+
}, Object.setPrototypeOf(u.prototype, Uint8Array.prototype), Object.setPrototypeOf(u, Uint8Array);
|
|
88
|
+
function $(i) {
|
|
89
|
+
if (typeof i != "number")
|
|
90
|
+
throw new TypeError('"size" argument must be of type number');
|
|
91
|
+
if (i < 0)
|
|
92
|
+
throw new RangeError('The value "' + i + '" is invalid for option "size"');
|
|
93
|
+
}
|
|
94
|
+
function v(i, r, t) {
|
|
95
|
+
return $(i), i <= 0 ? B(i) : r !== void 0 ? typeof t == "string" ? B(i).fill(r, t) : B(i).fill(r) : B(i);
|
|
96
|
+
}
|
|
97
|
+
u.alloc = function(i, r, t) {
|
|
98
|
+
return v(i, r, t);
|
|
99
|
+
};
|
|
100
|
+
function T(i) {
|
|
101
|
+
return $(i), B(i < 0 ? 0 : C(i) | 0);
|
|
102
|
+
}
|
|
103
|
+
u.allocUnsafe = function(i) {
|
|
104
|
+
return T(i);
|
|
105
|
+
}, u.allocUnsafeSlow = function(i) {
|
|
106
|
+
return T(i);
|
|
107
|
+
};
|
|
108
|
+
function rr(i, r) {
|
|
109
|
+
if ((typeof r != "string" || r === "") && (r = "utf8"), !u.isEncoding(r))
|
|
110
|
+
throw new TypeError("Unknown encoding: " + r);
|
|
111
|
+
const t = M(i, r) | 0;
|
|
112
|
+
let n = B(t);
|
|
113
|
+
const e = n.write(i, r);
|
|
114
|
+
return e !== t && (n = n.slice(0, e)), n;
|
|
115
|
+
}
|
|
116
|
+
function _(i) {
|
|
117
|
+
const r = i.length < 0 ? 0 : C(i.length) | 0, t = B(r);
|
|
118
|
+
for (let n = 0; n < r; n += 1)
|
|
119
|
+
t[n] = i[n] & 255;
|
|
120
|
+
return t;
|
|
121
|
+
}
|
|
122
|
+
function tr(i) {
|
|
123
|
+
if (w(i, Uint8Array)) {
|
|
124
|
+
const r = new Uint8Array(i);
|
|
125
|
+
return S(r.buffer, r.byteOffset, r.byteLength);
|
|
126
|
+
}
|
|
127
|
+
return _(i);
|
|
128
|
+
}
|
|
129
|
+
function S(i, r, t) {
|
|
130
|
+
if (r < 0 || i.byteLength < r)
|
|
131
|
+
throw new RangeError('"offset" is outside of buffer bounds');
|
|
132
|
+
if (i.byteLength < r + (t || 0))
|
|
133
|
+
throw new RangeError('"length" is outside of buffer bounds');
|
|
134
|
+
let n;
|
|
135
|
+
return r === void 0 && t === void 0 ? n = new Uint8Array(i) : t === void 0 ? n = new Uint8Array(i, r) : n = new Uint8Array(i, r, t), Object.setPrototypeOf(n, u.prototype), n;
|
|
136
|
+
}
|
|
137
|
+
function ir(i) {
|
|
138
|
+
if (u.isBuffer(i)) {
|
|
139
|
+
const r = C(i.length) | 0, t = B(r);
|
|
140
|
+
return t.length === 0 || i.copy(t, 0, 0, r), t;
|
|
141
|
+
}
|
|
142
|
+
if (i.length !== void 0)
|
|
143
|
+
return typeof i.length != "number" || D(i.length) ? B(0) : _(i);
|
|
144
|
+
if (i.type === "Buffer" && Array.isArray(i.data))
|
|
145
|
+
return _(i.data);
|
|
146
|
+
}
|
|
147
|
+
function C(i) {
|
|
148
|
+
if (i >= U)
|
|
149
|
+
throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x" + U.toString(16) + " bytes");
|
|
150
|
+
return i | 0;
|
|
151
|
+
}
|
|
152
|
+
function nr(i) {
|
|
153
|
+
return +i != i && (i = 0), u.alloc(+i);
|
|
154
|
+
}
|
|
155
|
+
u.isBuffer = function(r) {
|
|
156
|
+
return r != null && r._isBuffer === !0 && r !== u.prototype;
|
|
157
|
+
}, u.compare = function(r, t) {
|
|
158
|
+
if (w(r, Uint8Array) && (r = u.from(r, r.offset, r.byteLength)), w(t, Uint8Array) && (t = u.from(t, t.offset, t.byteLength)), !u.isBuffer(r) || !u.isBuffer(t))
|
|
159
|
+
throw new TypeError(
|
|
160
|
+
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
161
|
+
);
|
|
162
|
+
if (r === t) return 0;
|
|
163
|
+
let n = r.length, e = t.length;
|
|
164
|
+
for (let o = 0, h = Math.min(n, e); o < h; ++o)
|
|
165
|
+
if (r[o] !== t[o]) {
|
|
166
|
+
n = r[o], e = t[o];
|
|
167
|
+
break;
|
|
168
|
+
}
|
|
169
|
+
return n < e ? -1 : e < n ? 1 : 0;
|
|
170
|
+
}, u.isEncoding = function(r) {
|
|
171
|
+
switch (String(r).toLowerCase()) {
|
|
172
|
+
case "hex":
|
|
173
|
+
case "utf8":
|
|
174
|
+
case "utf-8":
|
|
175
|
+
case "ascii":
|
|
176
|
+
case "latin1":
|
|
177
|
+
case "binary":
|
|
178
|
+
case "base64":
|
|
179
|
+
case "ucs2":
|
|
180
|
+
case "ucs-2":
|
|
181
|
+
case "utf16le":
|
|
182
|
+
case "utf-16le":
|
|
183
|
+
return !0;
|
|
184
|
+
default:
|
|
185
|
+
return !1;
|
|
186
|
+
}
|
|
187
|
+
}, u.concat = function(r, t) {
|
|
188
|
+
if (!Array.isArray(r))
|
|
189
|
+
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
190
|
+
if (r.length === 0)
|
|
191
|
+
return u.alloc(0);
|
|
192
|
+
let n;
|
|
193
|
+
if (t === void 0)
|
|
194
|
+
for (t = 0, n = 0; n < r.length; ++n)
|
|
195
|
+
t += r[n].length;
|
|
196
|
+
const e = u.allocUnsafe(t);
|
|
197
|
+
let o = 0;
|
|
198
|
+
for (n = 0; n < r.length; ++n) {
|
|
199
|
+
let h = r[n];
|
|
200
|
+
if (w(h, Uint8Array))
|
|
201
|
+
o + h.length > e.length ? (u.isBuffer(h) || (h = u.from(h)), h.copy(e, o)) : Uint8Array.prototype.set.call(
|
|
202
|
+
e,
|
|
203
|
+
h,
|
|
204
|
+
o
|
|
205
|
+
);
|
|
206
|
+
else if (u.isBuffer(h))
|
|
207
|
+
h.copy(e, o);
|
|
208
|
+
else
|
|
209
|
+
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
210
|
+
o += h.length;
|
|
211
|
+
}
|
|
212
|
+
return e;
|
|
213
|
+
};
|
|
214
|
+
function M(i, r) {
|
|
215
|
+
if (u.isBuffer(i))
|
|
216
|
+
return i.length;
|
|
217
|
+
if (ArrayBuffer.isView(i) || w(i, ArrayBuffer))
|
|
218
|
+
return i.byteLength;
|
|
219
|
+
if (typeof i != "string")
|
|
220
|
+
throw new TypeError(
|
|
221
|
+
'The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type ' + typeof i
|
|
222
|
+
);
|
|
223
|
+
const t = i.length, n = arguments.length > 2 && arguments[2] === !0;
|
|
224
|
+
if (!n && t === 0) return 0;
|
|
225
|
+
let e = !1;
|
|
226
|
+
for (; ; )
|
|
227
|
+
switch (r) {
|
|
228
|
+
case "ascii":
|
|
229
|
+
case "latin1":
|
|
230
|
+
case "binary":
|
|
231
|
+
return t;
|
|
232
|
+
case "utf8":
|
|
233
|
+
case "utf-8":
|
|
234
|
+
return L(i).length;
|
|
235
|
+
case "ucs2":
|
|
236
|
+
case "ucs-2":
|
|
237
|
+
case "utf16le":
|
|
238
|
+
case "utf-16le":
|
|
239
|
+
return t * 2;
|
|
240
|
+
case "hex":
|
|
241
|
+
return t >>> 1;
|
|
242
|
+
case "base64":
|
|
243
|
+
return K(i).length;
|
|
244
|
+
default:
|
|
245
|
+
if (e)
|
|
246
|
+
return n ? -1 : L(i).length;
|
|
247
|
+
r = ("" + r).toLowerCase(), e = !0;
|
|
248
|
+
}
|
|
249
|
+
}
|
|
250
|
+
u.byteLength = M;
|
|
251
|
+
function er(i, r, t) {
|
|
252
|
+
let n = !1;
|
|
253
|
+
if ((r === void 0 || r < 0) && (r = 0), r > this.length || ((t === void 0 || t > this.length) && (t = this.length), t <= 0) || (t >>>= 0, r >>>= 0, t <= r))
|
|
254
|
+
return "";
|
|
255
|
+
for (i || (i = "utf8"); ; )
|
|
256
|
+
switch (i) {
|
|
257
|
+
case "hex":
|
|
258
|
+
return ar(this, r, t);
|
|
259
|
+
case "utf8":
|
|
260
|
+
case "utf-8":
|
|
261
|
+
return G(this, r, t);
|
|
262
|
+
case "ascii":
|
|
263
|
+
return sr(this, r, t);
|
|
264
|
+
case "latin1":
|
|
265
|
+
case "binary":
|
|
266
|
+
return yr(this, r, t);
|
|
267
|
+
case "base64":
|
|
268
|
+
return pr(this, r, t);
|
|
269
|
+
case "ucs2":
|
|
270
|
+
case "ucs-2":
|
|
271
|
+
case "utf16le":
|
|
272
|
+
case "utf-16le":
|
|
273
|
+
return wr(this, r, t);
|
|
274
|
+
default:
|
|
275
|
+
if (n) throw new TypeError("Unknown encoding: " + i);
|
|
276
|
+
i = (i + "").toLowerCase(), n = !0;
|
|
277
|
+
}
|
|
278
|
+
}
|
|
279
|
+
u.prototype._isBuffer = !0;
|
|
280
|
+
function E(i, r, t) {
|
|
281
|
+
const n = i[r];
|
|
282
|
+
i[r] = i[t], i[t] = n;
|
|
283
|
+
}
|
|
284
|
+
u.prototype.swap16 = function() {
|
|
285
|
+
const r = this.length;
|
|
286
|
+
if (r % 2 !== 0)
|
|
287
|
+
throw new RangeError("Buffer size must be a multiple of 16-bits");
|
|
288
|
+
for (let t = 0; t < r; t += 2)
|
|
289
|
+
E(this, t, t + 1);
|
|
290
|
+
return this;
|
|
291
|
+
}, u.prototype.swap32 = function() {
|
|
292
|
+
const r = this.length;
|
|
293
|
+
if (r % 4 !== 0)
|
|
294
|
+
throw new RangeError("Buffer size must be a multiple of 32-bits");
|
|
295
|
+
for (let t = 0; t < r; t += 4)
|
|
296
|
+
E(this, t, t + 3), E(this, t + 1, t + 2);
|
|
297
|
+
return this;
|
|
298
|
+
}, u.prototype.swap64 = function() {
|
|
299
|
+
const r = this.length;
|
|
300
|
+
if (r % 8 !== 0)
|
|
301
|
+
throw new RangeError("Buffer size must be a multiple of 64-bits");
|
|
302
|
+
for (let t = 0; t < r; t += 8)
|
|
303
|
+
E(this, t, t + 7), E(this, t + 1, t + 6), E(this, t + 2, t + 5), E(this, t + 3, t + 4);
|
|
304
|
+
return this;
|
|
305
|
+
}, u.prototype.toString = function() {
|
|
306
|
+
const r = this.length;
|
|
307
|
+
return r === 0 ? "" : arguments.length === 0 ? G(this, 0, r) : er.apply(this, arguments);
|
|
308
|
+
}, u.prototype.toLocaleString = u.prototype.toString, u.prototype.equals = function(r) {
|
|
309
|
+
if (!u.isBuffer(r)) throw new TypeError("Argument must be a Buffer");
|
|
310
|
+
return this === r ? !0 : u.compare(this, r) === 0;
|
|
311
|
+
}, u.prototype.inspect = function() {
|
|
312
|
+
let r = "";
|
|
313
|
+
const t = d.INSPECT_MAX_BYTES;
|
|
314
|
+
return r = this.toString("hex", 0, t).replace(/(.{2})/g, "$1 ").trim(), this.length > t && (r += " ... "), "<Buffer " + r + ">";
|
|
315
|
+
}, k && (u.prototype[k] = u.prototype.inspect), u.prototype.compare = function(r, t, n, e, o) {
|
|
316
|
+
if (w(r, Uint8Array) && (r = u.from(r, r.offset, r.byteLength)), !u.isBuffer(r))
|
|
317
|
+
throw new TypeError(
|
|
318
|
+
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof r
|
|
319
|
+
);
|
|
320
|
+
if (t === void 0 && (t = 0), n === void 0 && (n = r ? r.length : 0), e === void 0 && (e = 0), o === void 0 && (o = this.length), t < 0 || n > r.length || e < 0 || o > this.length)
|
|
321
|
+
throw new RangeError("out of range index");
|
|
322
|
+
if (e >= o && t >= n)
|
|
323
|
+
return 0;
|
|
324
|
+
if (e >= o)
|
|
325
|
+
return -1;
|
|
326
|
+
if (t >= n)
|
|
327
|
+
return 1;
|
|
328
|
+
if (t >>>= 0, n >>>= 0, e >>>= 0, o >>>= 0, this === r) return 0;
|
|
329
|
+
let h = o - e, f = n - t;
|
|
330
|
+
const l = Math.min(h, f), p = this.slice(e, o), s = r.slice(t, n);
|
|
331
|
+
for (let c = 0; c < l; ++c)
|
|
332
|
+
if (p[c] !== s[c]) {
|
|
333
|
+
h = p[c], f = s[c];
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
return h < f ? -1 : f < h ? 1 : 0;
|
|
337
|
+
};
|
|
338
|
+
function O(i, r, t, n, e) {
|
|
339
|
+
if (i.length === 0) return -1;
|
|
340
|
+
if (typeof t == "string" ? (n = t, t = 0) : t > 2147483647 ? t = 2147483647 : t < -2147483648 && (t = -2147483648), t = +t, D(t) && (t = e ? 0 : i.length - 1), t < 0 && (t = i.length + t), t >= i.length) {
|
|
341
|
+
if (e) return -1;
|
|
342
|
+
t = i.length - 1;
|
|
343
|
+
} else if (t < 0)
|
|
344
|
+
if (e) t = 0;
|
|
345
|
+
else return -1;
|
|
346
|
+
if (typeof r == "string" && (r = u.from(r, n)), u.isBuffer(r))
|
|
347
|
+
return r.length === 0 ? -1 : q(i, r, t, n, e);
|
|
348
|
+
if (typeof r == "number")
|
|
349
|
+
return r = r & 255, typeof Uint8Array.prototype.indexOf == "function" ? e ? Uint8Array.prototype.indexOf.call(i, r, t) : Uint8Array.prototype.lastIndexOf.call(i, r, t) : q(i, [r], t, n, e);
|
|
350
|
+
throw new TypeError("val must be string, number or Buffer");
|
|
351
|
+
}
|
|
352
|
+
function q(i, r, t, n, e) {
|
|
353
|
+
let o = 1, h = i.length, f = r.length;
|
|
354
|
+
if (n !== void 0 && (n = String(n).toLowerCase(), n === "ucs2" || n === "ucs-2" || n === "utf16le" || n === "utf-16le")) {
|
|
355
|
+
if (i.length < 2 || r.length < 2)
|
|
356
|
+
return -1;
|
|
357
|
+
o = 2, h /= 2, f /= 2, t /= 2;
|
|
358
|
+
}
|
|
359
|
+
function l(s, c) {
|
|
360
|
+
return o === 1 ? s[c] : s.readUInt16BE(c * o);
|
|
361
|
+
}
|
|
362
|
+
let p;
|
|
363
|
+
if (e) {
|
|
364
|
+
let s = -1;
|
|
365
|
+
for (p = t; p < h; p++)
|
|
366
|
+
if (l(i, p) === l(r, s === -1 ? 0 : p - s)) {
|
|
367
|
+
if (s === -1 && (s = p), p - s + 1 === f) return s * o;
|
|
368
|
+
} else
|
|
369
|
+
s !== -1 && (p -= p - s), s = -1;
|
|
370
|
+
} else
|
|
371
|
+
for (t + f > h && (t = h - f), p = t; p >= 0; p--) {
|
|
372
|
+
let s = !0;
|
|
373
|
+
for (let c = 0; c < f; c++)
|
|
374
|
+
if (l(i, p + c) !== l(r, c)) {
|
|
375
|
+
s = !1;
|
|
376
|
+
break;
|
|
377
|
+
}
|
|
378
|
+
if (s) return p;
|
|
379
|
+
}
|
|
380
|
+
return -1;
|
|
381
|
+
}
|
|
382
|
+
u.prototype.includes = function(r, t, n) {
|
|
383
|
+
return this.indexOf(r, t, n) !== -1;
|
|
384
|
+
}, u.prototype.indexOf = function(r, t, n) {
|
|
385
|
+
return O(this, r, t, n, !0);
|
|
386
|
+
}, u.prototype.lastIndexOf = function(r, t, n) {
|
|
387
|
+
return O(this, r, t, n, !1);
|
|
388
|
+
};
|
|
389
|
+
function or(i, r, t, n) {
|
|
390
|
+
t = Number(t) || 0;
|
|
391
|
+
const e = i.length - t;
|
|
392
|
+
n ? (n = Number(n), n > e && (n = e)) : n = e;
|
|
393
|
+
const o = r.length;
|
|
394
|
+
n > o / 2 && (n = o / 2);
|
|
395
|
+
let h;
|
|
396
|
+
for (h = 0; h < n; ++h) {
|
|
397
|
+
const f = parseInt(r.substr(h * 2, 2), 16);
|
|
398
|
+
if (D(f)) return h;
|
|
399
|
+
i[t + h] = f;
|
|
400
|
+
}
|
|
401
|
+
return h;
|
|
402
|
+
}
|
|
403
|
+
function ur(i, r, t, n) {
|
|
404
|
+
return A(L(r, i.length - t), i, t, n);
|
|
405
|
+
}
|
|
406
|
+
function hr(i, r, t, n) {
|
|
407
|
+
return A(mr(r), i, t, n);
|
|
408
|
+
}
|
|
409
|
+
function fr(i, r, t, n) {
|
|
410
|
+
return A(K(r), i, t, n);
|
|
411
|
+
}
|
|
412
|
+
function cr(i, r, t, n) {
|
|
413
|
+
return A(gr(r, i.length - t), i, t, n);
|
|
414
|
+
}
|
|
415
|
+
u.prototype.write = function(r, t, n, e) {
|
|
416
|
+
if (t === void 0)
|
|
417
|
+
e = "utf8", n = this.length, t = 0;
|
|
418
|
+
else if (n === void 0 && typeof t == "string")
|
|
419
|
+
e = t, n = this.length, t = 0;
|
|
420
|
+
else if (isFinite(t))
|
|
421
|
+
t = t >>> 0, isFinite(n) ? (n = n >>> 0, e === void 0 && (e = "utf8")) : (e = n, n = void 0);
|
|
422
|
+
else
|
|
423
|
+
throw new Error(
|
|
424
|
+
"Buffer.write(string, encoding, offset[, length]) is no longer supported"
|
|
425
|
+
);
|
|
426
|
+
const o = this.length - t;
|
|
427
|
+
if ((n === void 0 || n > o) && (n = o), r.length > 0 && (n < 0 || t < 0) || t > this.length)
|
|
428
|
+
throw new RangeError("Attempt to write outside buffer bounds");
|
|
429
|
+
e || (e = "utf8");
|
|
430
|
+
let h = !1;
|
|
431
|
+
for (; ; )
|
|
432
|
+
switch (e) {
|
|
433
|
+
case "hex":
|
|
434
|
+
return or(this, r, t, n);
|
|
435
|
+
case "utf8":
|
|
436
|
+
case "utf-8":
|
|
437
|
+
return ur(this, r, t, n);
|
|
438
|
+
case "ascii":
|
|
439
|
+
case "latin1":
|
|
440
|
+
case "binary":
|
|
441
|
+
return hr(this, r, t, n);
|
|
442
|
+
case "base64":
|
|
443
|
+
return fr(this, r, t, n);
|
|
444
|
+
case "ucs2":
|
|
445
|
+
case "ucs-2":
|
|
446
|
+
case "utf16le":
|
|
447
|
+
case "utf-16le":
|
|
448
|
+
return cr(this, r, t, n);
|
|
449
|
+
default:
|
|
450
|
+
if (h) throw new TypeError("Unknown encoding: " + e);
|
|
451
|
+
e = ("" + e).toLowerCase(), h = !0;
|
|
452
|
+
}
|
|
453
|
+
}, u.prototype.toJSON = function() {
|
|
454
|
+
return {
|
|
455
|
+
type: "Buffer",
|
|
456
|
+
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
457
|
+
};
|
|
458
|
+
};
|
|
459
|
+
function pr(i, r, t) {
|
|
460
|
+
return r === 0 && t === i.length ? R.fromByteArray(i) : R.fromByteArray(i.slice(r, t));
|
|
461
|
+
}
|
|
462
|
+
function G(i, r, t) {
|
|
463
|
+
t = Math.min(i.length, t);
|
|
464
|
+
const n = [];
|
|
465
|
+
let e = r;
|
|
466
|
+
for (; e < t; ) {
|
|
467
|
+
const o = i[e];
|
|
468
|
+
let h = null, f = o > 239 ? 4 : o > 223 ? 3 : o > 191 ? 2 : 1;
|
|
469
|
+
if (e + f <= t) {
|
|
470
|
+
let l, p, s, c;
|
|
471
|
+
switch (f) {
|
|
472
|
+
case 1:
|
|
473
|
+
o < 128 && (h = o);
|
|
474
|
+
break;
|
|
475
|
+
case 2:
|
|
476
|
+
l = i[e + 1], (l & 192) === 128 && (c = (o & 31) << 6 | l & 63, c > 127 && (h = c));
|
|
477
|
+
break;
|
|
478
|
+
case 3:
|
|
479
|
+
l = i[e + 1], p = i[e + 2], (l & 192) === 128 && (p & 192) === 128 && (c = (o & 15) << 12 | (l & 63) << 6 | p & 63, c > 2047 && (c < 55296 || c > 57343) && (h = c));
|
|
480
|
+
break;
|
|
481
|
+
case 4:
|
|
482
|
+
l = i[e + 1], p = i[e + 2], s = i[e + 3], (l & 192) === 128 && (p & 192) === 128 && (s & 192) === 128 && (c = (o & 15) << 18 | (l & 63) << 12 | (p & 63) << 6 | s & 63, c > 65535 && c < 1114112 && (h = c));
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
h === null ? (h = 65533, f = 1) : h > 65535 && (h -= 65536, n.push(h >>> 10 & 1023 | 55296), h = 56320 | h & 1023), n.push(h), e += f;
|
|
486
|
+
}
|
|
487
|
+
return lr(n);
|
|
488
|
+
}
|
|
489
|
+
const Y = 4096;
|
|
490
|
+
function lr(i) {
|
|
491
|
+
const r = i.length;
|
|
492
|
+
if (r <= Y)
|
|
493
|
+
return String.fromCharCode.apply(String, i);
|
|
494
|
+
let t = "", n = 0;
|
|
495
|
+
for (; n < r; )
|
|
496
|
+
t += String.fromCharCode.apply(
|
|
497
|
+
String,
|
|
498
|
+
i.slice(n, n += Y)
|
|
499
|
+
);
|
|
500
|
+
return t;
|
|
501
|
+
}
|
|
502
|
+
function sr(i, r, t) {
|
|
503
|
+
let n = "";
|
|
504
|
+
t = Math.min(i.length, t);
|
|
505
|
+
for (let e = r; e < t; ++e)
|
|
506
|
+
n += String.fromCharCode(i[e] & 127);
|
|
507
|
+
return n;
|
|
508
|
+
}
|
|
509
|
+
function yr(i, r, t) {
|
|
510
|
+
let n = "";
|
|
511
|
+
t = Math.min(i.length, t);
|
|
512
|
+
for (let e = r; e < t; ++e)
|
|
513
|
+
n += String.fromCharCode(i[e]);
|
|
514
|
+
return n;
|
|
515
|
+
}
|
|
516
|
+
function ar(i, r, t) {
|
|
517
|
+
const n = i.length;
|
|
518
|
+
(!r || r < 0) && (r = 0), (!t || t < 0 || t > n) && (t = n);
|
|
519
|
+
let e = "";
|
|
520
|
+
for (let o = r; o < t; ++o)
|
|
521
|
+
e += Ir[i[o]];
|
|
522
|
+
return e;
|
|
523
|
+
}
|
|
524
|
+
function wr(i, r, t) {
|
|
525
|
+
const n = i.slice(r, t);
|
|
526
|
+
let e = "";
|
|
527
|
+
for (let o = 0; o < n.length - 1; o += 2)
|
|
528
|
+
e += String.fromCharCode(n[o] + n[o + 1] * 256);
|
|
529
|
+
return e;
|
|
530
|
+
}
|
|
531
|
+
u.prototype.slice = function(r, t) {
|
|
532
|
+
const n = this.length;
|
|
533
|
+
r = ~~r, t = t === void 0 ? n : ~~t, r < 0 ? (r += n, r < 0 && (r = 0)) : r > n && (r = n), t < 0 ? (t += n, t < 0 && (t = 0)) : t > n && (t = n), t < r && (t = r);
|
|
534
|
+
const e = this.subarray(r, t);
|
|
535
|
+
return Object.setPrototypeOf(e, u.prototype), e;
|
|
536
|
+
};
|
|
537
|
+
function y(i, r, t) {
|
|
538
|
+
if (i % 1 !== 0 || i < 0) throw new RangeError("offset is not uint");
|
|
539
|
+
if (i + r > t) throw new RangeError("Trying to access beyond buffer length");
|
|
540
|
+
}
|
|
541
|
+
u.prototype.readUintLE = u.prototype.readUIntLE = function(r, t, n) {
|
|
542
|
+
r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
|
|
543
|
+
let e = this[r], o = 1, h = 0;
|
|
544
|
+
for (; ++h < t && (o *= 256); )
|
|
545
|
+
e += this[r + h] * o;
|
|
546
|
+
return e;
|
|
547
|
+
}, u.prototype.readUintBE = u.prototype.readUIntBE = function(r, t, n) {
|
|
548
|
+
r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
|
|
549
|
+
let e = this[r + --t], o = 1;
|
|
550
|
+
for (; t > 0 && (o *= 256); )
|
|
551
|
+
e += this[r + --t] * o;
|
|
552
|
+
return e;
|
|
553
|
+
}, u.prototype.readUint8 = u.prototype.readUInt8 = function(r, t) {
|
|
554
|
+
return r = r >>> 0, t || y(r, 1, this.length), this[r];
|
|
555
|
+
}, u.prototype.readUint16LE = u.prototype.readUInt16LE = function(r, t) {
|
|
556
|
+
return r = r >>> 0, t || y(r, 2, this.length), this[r] | this[r + 1] << 8;
|
|
557
|
+
}, u.prototype.readUint16BE = u.prototype.readUInt16BE = function(r, t) {
|
|
558
|
+
return r = r >>> 0, t || y(r, 2, this.length), this[r] << 8 | this[r + 1];
|
|
559
|
+
}, u.prototype.readUint32LE = u.prototype.readUInt32LE = function(r, t) {
|
|
560
|
+
return r = r >>> 0, t || y(r, 4, this.length), (this[r] | this[r + 1] << 8 | this[r + 2] << 16) + this[r + 3] * 16777216;
|
|
561
|
+
}, u.prototype.readUint32BE = u.prototype.readUInt32BE = function(r, t) {
|
|
562
|
+
return r = r >>> 0, t || y(r, 4, this.length), this[r] * 16777216 + (this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3]);
|
|
563
|
+
}, u.prototype.readBigUInt64LE = x(function(r) {
|
|
564
|
+
r = r >>> 0, I(r, "offset");
|
|
565
|
+
const t = this[r], n = this[r + 7];
|
|
566
|
+
(t === void 0 || n === void 0) && F(r, this.length - 8);
|
|
567
|
+
const e = t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24, o = this[++r] + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + n * 2 ** 24;
|
|
568
|
+
return BigInt(e) + (BigInt(o) << BigInt(32));
|
|
569
|
+
}), u.prototype.readBigUInt64BE = x(function(r) {
|
|
570
|
+
r = r >>> 0, I(r, "offset");
|
|
571
|
+
const t = this[r], n = this[r + 7];
|
|
572
|
+
(t === void 0 || n === void 0) && F(r, this.length - 8);
|
|
573
|
+
const e = t * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + this[++r], o = this[++r] * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + n;
|
|
574
|
+
return (BigInt(e) << BigInt(32)) + BigInt(o);
|
|
575
|
+
}), u.prototype.readIntLE = function(r, t, n) {
|
|
576
|
+
r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
|
|
577
|
+
let e = this[r], o = 1, h = 0;
|
|
578
|
+
for (; ++h < t && (o *= 256); )
|
|
579
|
+
e += this[r + h] * o;
|
|
580
|
+
return o *= 128, e >= o && (e -= Math.pow(2, 8 * t)), e;
|
|
581
|
+
}, u.prototype.readIntBE = function(r, t, n) {
|
|
582
|
+
r = r >>> 0, t = t >>> 0, n || y(r, t, this.length);
|
|
583
|
+
let e = t, o = 1, h = this[r + --e];
|
|
584
|
+
for (; e > 0 && (o *= 256); )
|
|
585
|
+
h += this[r + --e] * o;
|
|
586
|
+
return o *= 128, h >= o && (h -= Math.pow(2, 8 * t)), h;
|
|
587
|
+
}, u.prototype.readInt8 = function(r, t) {
|
|
588
|
+
return r = r >>> 0, t || y(r, 1, this.length), this[r] & 128 ? (255 - this[r] + 1) * -1 : this[r];
|
|
589
|
+
}, u.prototype.readInt16LE = function(r, t) {
|
|
590
|
+
r = r >>> 0, t || y(r, 2, this.length);
|
|
591
|
+
const n = this[r] | this[r + 1] << 8;
|
|
592
|
+
return n & 32768 ? n | 4294901760 : n;
|
|
593
|
+
}, u.prototype.readInt16BE = function(r, t) {
|
|
594
|
+
r = r >>> 0, t || y(r, 2, this.length);
|
|
595
|
+
const n = this[r + 1] | this[r] << 8;
|
|
596
|
+
return n & 32768 ? n | 4294901760 : n;
|
|
597
|
+
}, u.prototype.readInt32LE = function(r, t) {
|
|
598
|
+
return r = r >>> 0, t || y(r, 4, this.length), this[r] | this[r + 1] << 8 | this[r + 2] << 16 | this[r + 3] << 24;
|
|
599
|
+
}, u.prototype.readInt32BE = function(r, t) {
|
|
600
|
+
return r = r >>> 0, t || y(r, 4, this.length), this[r] << 24 | this[r + 1] << 16 | this[r + 2] << 8 | this[r + 3];
|
|
601
|
+
}, u.prototype.readBigInt64LE = x(function(r) {
|
|
602
|
+
r = r >>> 0, I(r, "offset");
|
|
603
|
+
const t = this[r], n = this[r + 7];
|
|
604
|
+
(t === void 0 || n === void 0) && F(r, this.length - 8);
|
|
605
|
+
const e = this[r + 4] + this[r + 5] * 2 ** 8 + this[r + 6] * 2 ** 16 + (n << 24);
|
|
606
|
+
return (BigInt(e) << BigInt(32)) + BigInt(t + this[++r] * 2 ** 8 + this[++r] * 2 ** 16 + this[++r] * 2 ** 24);
|
|
607
|
+
}), u.prototype.readBigInt64BE = x(function(r) {
|
|
608
|
+
r = r >>> 0, I(r, "offset");
|
|
609
|
+
const t = this[r], n = this[r + 7];
|
|
610
|
+
(t === void 0 || n === void 0) && F(r, this.length - 8);
|
|
611
|
+
const e = (t << 24) + // Overflow
|
|
612
|
+
this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + this[++r];
|
|
613
|
+
return (BigInt(e) << BigInt(32)) + BigInt(this[++r] * 2 ** 24 + this[++r] * 2 ** 16 + this[++r] * 2 ** 8 + n);
|
|
614
|
+
}), u.prototype.readFloatLE = function(r, t) {
|
|
615
|
+
return r = r >>> 0, t || y(r, 4, this.length), m.read(this, r, !0, 23, 4);
|
|
616
|
+
}, u.prototype.readFloatBE = function(r, t) {
|
|
617
|
+
return r = r >>> 0, t || y(r, 4, this.length), m.read(this, r, !1, 23, 4);
|
|
618
|
+
}, u.prototype.readDoubleLE = function(r, t) {
|
|
619
|
+
return r = r >>> 0, t || y(r, 8, this.length), m.read(this, r, !0, 52, 8);
|
|
620
|
+
}, u.prototype.readDoubleBE = function(r, t) {
|
|
621
|
+
return r = r >>> 0, t || y(r, 8, this.length), m.read(this, r, !1, 52, 8);
|
|
622
|
+
};
|
|
623
|
+
function a(i, r, t, n, e, o) {
|
|
624
|
+
if (!u.isBuffer(i)) throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
625
|
+
if (r > e || r < o) throw new RangeError('"value" argument is out of bounds');
|
|
626
|
+
if (t + n > i.length) throw new RangeError("Index out of range");
|
|
627
|
+
}
|
|
628
|
+
u.prototype.writeUintLE = u.prototype.writeUIntLE = function(r, t, n, e) {
|
|
629
|
+
if (r = +r, t = t >>> 0, n = n >>> 0, !e) {
|
|
630
|
+
const f = Math.pow(2, 8 * n) - 1;
|
|
631
|
+
a(this, r, t, n, f, 0);
|
|
632
|
+
}
|
|
633
|
+
let o = 1, h = 0;
|
|
634
|
+
for (this[t] = r & 255; ++h < n && (o *= 256); )
|
|
635
|
+
this[t + h] = r / o & 255;
|
|
636
|
+
return t + n;
|
|
637
|
+
}, u.prototype.writeUintBE = u.prototype.writeUIntBE = function(r, t, n, e) {
|
|
638
|
+
if (r = +r, t = t >>> 0, n = n >>> 0, !e) {
|
|
639
|
+
const f = Math.pow(2, 8 * n) - 1;
|
|
640
|
+
a(this, r, t, n, f, 0);
|
|
641
|
+
}
|
|
642
|
+
let o = n - 1, h = 1;
|
|
643
|
+
for (this[t + o] = r & 255; --o >= 0 && (h *= 256); )
|
|
644
|
+
this[t + o] = r / h & 255;
|
|
645
|
+
return t + n;
|
|
646
|
+
}, u.prototype.writeUint8 = u.prototype.writeUInt8 = function(r, t, n) {
|
|
647
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 1, 255, 0), this[t] = r & 255, t + 1;
|
|
648
|
+
}, u.prototype.writeUint16LE = u.prototype.writeUInt16LE = function(r, t, n) {
|
|
649
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 2, 65535, 0), this[t] = r & 255, this[t + 1] = r >>> 8, t + 2;
|
|
650
|
+
}, u.prototype.writeUint16BE = u.prototype.writeUInt16BE = function(r, t, n) {
|
|
651
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 2, 65535, 0), this[t] = r >>> 8, this[t + 1] = r & 255, t + 2;
|
|
652
|
+
}, u.prototype.writeUint32LE = u.prototype.writeUInt32LE = function(r, t, n) {
|
|
653
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 4, 4294967295, 0), this[t + 3] = r >>> 24, this[t + 2] = r >>> 16, this[t + 1] = r >>> 8, this[t] = r & 255, t + 4;
|
|
654
|
+
}, u.prototype.writeUint32BE = u.prototype.writeUInt32BE = function(r, t, n) {
|
|
655
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 4, 4294967295, 0), this[t] = r >>> 24, this[t + 1] = r >>> 16, this[t + 2] = r >>> 8, this[t + 3] = r & 255, t + 4;
|
|
656
|
+
};
|
|
657
|
+
function W(i, r, t, n, e) {
|
|
658
|
+
H(r, n, e, i, t, 7);
|
|
659
|
+
let o = Number(r & BigInt(4294967295));
|
|
660
|
+
i[t++] = o, o = o >> 8, i[t++] = o, o = o >> 8, i[t++] = o, o = o >> 8, i[t++] = o;
|
|
661
|
+
let h = Number(r >> BigInt(32) & BigInt(4294967295));
|
|
662
|
+
return i[t++] = h, h = h >> 8, i[t++] = h, h = h >> 8, i[t++] = h, h = h >> 8, i[t++] = h, t;
|
|
663
|
+
}
|
|
664
|
+
function V(i, r, t, n, e) {
|
|
665
|
+
H(r, n, e, i, t, 7);
|
|
666
|
+
let o = Number(r & BigInt(4294967295));
|
|
667
|
+
i[t + 7] = o, o = o >> 8, i[t + 6] = o, o = o >> 8, i[t + 5] = o, o = o >> 8, i[t + 4] = o;
|
|
668
|
+
let h = Number(r >> BigInt(32) & BigInt(4294967295));
|
|
669
|
+
return i[t + 3] = h, h = h >> 8, i[t + 2] = h, h = h >> 8, i[t + 1] = h, h = h >> 8, i[t] = h, t + 8;
|
|
670
|
+
}
|
|
671
|
+
u.prototype.writeBigUInt64LE = x(function(r, t = 0) {
|
|
672
|
+
return W(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
673
|
+
}), u.prototype.writeBigUInt64BE = x(function(r, t = 0) {
|
|
674
|
+
return V(this, r, t, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
675
|
+
}), u.prototype.writeIntLE = function(r, t, n, e) {
|
|
676
|
+
if (r = +r, t = t >>> 0, !e) {
|
|
677
|
+
const l = Math.pow(2, 8 * n - 1);
|
|
678
|
+
a(this, r, t, n, l - 1, -l);
|
|
679
|
+
}
|
|
680
|
+
let o = 0, h = 1, f = 0;
|
|
681
|
+
for (this[t] = r & 255; ++o < n && (h *= 256); )
|
|
682
|
+
r < 0 && f === 0 && this[t + o - 1] !== 0 && (f = 1), this[t + o] = (r / h >> 0) - f & 255;
|
|
683
|
+
return t + n;
|
|
684
|
+
}, u.prototype.writeIntBE = function(r, t, n, e) {
|
|
685
|
+
if (r = +r, t = t >>> 0, !e) {
|
|
686
|
+
const l = Math.pow(2, 8 * n - 1);
|
|
687
|
+
a(this, r, t, n, l - 1, -l);
|
|
688
|
+
}
|
|
689
|
+
let o = n - 1, h = 1, f = 0;
|
|
690
|
+
for (this[t + o] = r & 255; --o >= 0 && (h *= 256); )
|
|
691
|
+
r < 0 && f === 0 && this[t + o + 1] !== 0 && (f = 1), this[t + o] = (r / h >> 0) - f & 255;
|
|
692
|
+
return t + n;
|
|
693
|
+
}, u.prototype.writeInt8 = function(r, t, n) {
|
|
694
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 1, 127, -128), r < 0 && (r = 255 + r + 1), this[t] = r & 255, t + 1;
|
|
695
|
+
}, u.prototype.writeInt16LE = function(r, t, n) {
|
|
696
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 2, 32767, -32768), this[t] = r & 255, this[t + 1] = r >>> 8, t + 2;
|
|
697
|
+
}, u.prototype.writeInt16BE = function(r, t, n) {
|
|
698
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 2, 32767, -32768), this[t] = r >>> 8, this[t + 1] = r & 255, t + 2;
|
|
699
|
+
}, u.prototype.writeInt32LE = function(r, t, n) {
|
|
700
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 4, 2147483647, -2147483648), this[t] = r & 255, this[t + 1] = r >>> 8, this[t + 2] = r >>> 16, this[t + 3] = r >>> 24, t + 4;
|
|
701
|
+
}, u.prototype.writeInt32BE = function(r, t, n) {
|
|
702
|
+
return r = +r, t = t >>> 0, n || a(this, r, t, 4, 2147483647, -2147483648), r < 0 && (r = 4294967295 + r + 1), this[t] = r >>> 24, this[t + 1] = r >>> 16, this[t + 2] = r >>> 8, this[t + 3] = r & 255, t + 4;
|
|
703
|
+
}, u.prototype.writeBigInt64LE = x(function(r, t = 0) {
|
|
704
|
+
return W(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
705
|
+
}), u.prototype.writeBigInt64BE = x(function(r, t = 0) {
|
|
706
|
+
return V(this, r, t, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
707
|
+
});
|
|
708
|
+
function X(i, r, t, n, e, o) {
|
|
709
|
+
if (t + n > i.length) throw new RangeError("Index out of range");
|
|
710
|
+
if (t < 0) throw new RangeError("Index out of range");
|
|
711
|
+
}
|
|
712
|
+
function j(i, r, t, n, e) {
|
|
713
|
+
return r = +r, t = t >>> 0, e || X(i, r, t, 4), m.write(i, r, t, n, 23, 4), t + 4;
|
|
714
|
+
}
|
|
715
|
+
u.prototype.writeFloatLE = function(r, t, n) {
|
|
716
|
+
return j(this, r, t, !0, n);
|
|
717
|
+
}, u.prototype.writeFloatBE = function(r, t, n) {
|
|
718
|
+
return j(this, r, t, !1, n);
|
|
719
|
+
};
|
|
720
|
+
function J(i, r, t, n, e) {
|
|
721
|
+
return r = +r, t = t >>> 0, e || X(i, r, t, 8), m.write(i, r, t, n, 52, 8), t + 8;
|
|
722
|
+
}
|
|
723
|
+
u.prototype.writeDoubleLE = function(r, t, n) {
|
|
724
|
+
return J(this, r, t, !0, n);
|
|
725
|
+
}, u.prototype.writeDoubleBE = function(r, t, n) {
|
|
726
|
+
return J(this, r, t, !1, n);
|
|
727
|
+
}, u.prototype.copy = function(r, t, n, e) {
|
|
728
|
+
if (!u.isBuffer(r)) throw new TypeError("argument should be a Buffer");
|
|
729
|
+
if (n || (n = 0), !e && e !== 0 && (e = this.length), t >= r.length && (t = r.length), t || (t = 0), e > 0 && e < n && (e = n), e === n || r.length === 0 || this.length === 0) return 0;
|
|
730
|
+
if (t < 0)
|
|
731
|
+
throw new RangeError("targetStart out of bounds");
|
|
732
|
+
if (n < 0 || n >= this.length) throw new RangeError("Index out of range");
|
|
733
|
+
if (e < 0) throw new RangeError("sourceEnd out of bounds");
|
|
734
|
+
e > this.length && (e = this.length), r.length - t < e - n && (e = r.length - t + n);
|
|
735
|
+
const o = e - n;
|
|
736
|
+
return this === r && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(t, n, e) : Uint8Array.prototype.set.call(
|
|
737
|
+
r,
|
|
738
|
+
this.subarray(n, e),
|
|
739
|
+
t
|
|
740
|
+
), o;
|
|
741
|
+
}, u.prototype.fill = function(r, t, n, e) {
|
|
742
|
+
if (typeof r == "string") {
|
|
743
|
+
if (typeof t == "string" ? (e = t, t = 0, n = this.length) : typeof n == "string" && (e = n, n = this.length), e !== void 0 && typeof e != "string")
|
|
744
|
+
throw new TypeError("encoding must be a string");
|
|
745
|
+
if (typeof e == "string" && !u.isEncoding(e))
|
|
746
|
+
throw new TypeError("Unknown encoding: " + e);
|
|
747
|
+
if (r.length === 1) {
|
|
748
|
+
const h = r.charCodeAt(0);
|
|
749
|
+
(e === "utf8" && h < 128 || e === "latin1") && (r = h);
|
|
750
|
+
}
|
|
751
|
+
} else typeof r == "number" ? r = r & 255 : typeof r == "boolean" && (r = Number(r));
|
|
752
|
+
if (t < 0 || this.length < t || this.length < n)
|
|
753
|
+
throw new RangeError("Out of range index");
|
|
754
|
+
if (n <= t)
|
|
755
|
+
return this;
|
|
756
|
+
t = t >>> 0, n = n === void 0 ? this.length : n >>> 0, r || (r = 0);
|
|
757
|
+
let o;
|
|
758
|
+
if (typeof r == "number")
|
|
759
|
+
for (o = t; o < n; ++o)
|
|
760
|
+
this[o] = r;
|
|
761
|
+
else {
|
|
762
|
+
const h = u.isBuffer(r) ? r : u.from(r, e), f = h.length;
|
|
763
|
+
if (f === 0)
|
|
764
|
+
throw new TypeError('The value "' + r + '" is invalid for argument "value"');
|
|
765
|
+
for (o = 0; o < n - t; ++o)
|
|
766
|
+
this[o + t] = h[o % f];
|
|
767
|
+
}
|
|
768
|
+
return this;
|
|
769
|
+
};
|
|
770
|
+
const g = {};
|
|
771
|
+
function b(i, r, t) {
|
|
772
|
+
g[i] = class extends t {
|
|
773
|
+
constructor() {
|
|
774
|
+
super(), Object.defineProperty(this, "message", {
|
|
775
|
+
value: r.apply(this, arguments),
|
|
776
|
+
writable: !0,
|
|
777
|
+
configurable: !0
|
|
778
|
+
}), this.name = `${this.name} [${i}]`, this.stack, delete this.name;
|
|
779
|
+
}
|
|
780
|
+
get code() {
|
|
781
|
+
return i;
|
|
782
|
+
}
|
|
783
|
+
set code(e) {
|
|
784
|
+
Object.defineProperty(this, "code", {
|
|
785
|
+
configurable: !0,
|
|
786
|
+
enumerable: !0,
|
|
787
|
+
value: e,
|
|
788
|
+
writable: !0
|
|
789
|
+
});
|
|
790
|
+
}
|
|
791
|
+
toString() {
|
|
792
|
+
return `${this.name} [${i}]: ${this.message}`;
|
|
793
|
+
}
|
|
794
|
+
};
|
|
795
|
+
}
|
|
796
|
+
b(
|
|
797
|
+
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
798
|
+
function(i) {
|
|
799
|
+
return i ? `${i} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
800
|
+
},
|
|
801
|
+
RangeError
|
|
802
|
+
), b(
|
|
803
|
+
"ERR_INVALID_ARG_TYPE",
|
|
804
|
+
function(i, r) {
|
|
805
|
+
return `The "${i}" argument must be of type number. Received type ${typeof r}`;
|
|
806
|
+
},
|
|
807
|
+
TypeError
|
|
808
|
+
), b(
|
|
809
|
+
"ERR_OUT_OF_RANGE",
|
|
810
|
+
function(i, r, t) {
|
|
811
|
+
let n = `The value of "${i}" is out of range.`, e = t;
|
|
812
|
+
return Number.isInteger(t) && Math.abs(t) > 2 ** 32 ? e = z(String(t)) : typeof t == "bigint" && (e = String(t), (t > BigInt(2) ** BigInt(32) || t < -(BigInt(2) ** BigInt(32))) && (e = z(e)), e += "n"), n += ` It must be ${r}. Received ${e}`, n;
|
|
813
|
+
},
|
|
814
|
+
RangeError
|
|
815
|
+
);
|
|
816
|
+
function z(i) {
|
|
817
|
+
let r = "", t = i.length;
|
|
818
|
+
const n = i[0] === "-" ? 1 : 0;
|
|
819
|
+
for (; t >= n + 4; t -= 3)
|
|
820
|
+
r = `_${i.slice(t - 3, t)}${r}`;
|
|
821
|
+
return `${i.slice(0, t)}${r}`;
|
|
822
|
+
}
|
|
823
|
+
function Br(i, r, t) {
|
|
824
|
+
I(r, "offset"), (i[r] === void 0 || i[r + t] === void 0) && F(r, i.length - (t + 1));
|
|
825
|
+
}
|
|
826
|
+
function H(i, r, t, n, e, o) {
|
|
827
|
+
if (i > t || i < r) {
|
|
828
|
+
const h = typeof r == "bigint" ? "n" : "";
|
|
829
|
+
let f;
|
|
830
|
+
throw r === 0 || r === BigInt(0) ? f = `>= 0${h} and < 2${h} ** ${(o + 1) * 8}${h}` : f = `>= -(2${h} ** ${(o + 1) * 8 - 1}${h}) and < 2 ** ${(o + 1) * 8 - 1}${h}`, new g.ERR_OUT_OF_RANGE("value", f, i);
|
|
831
|
+
}
|
|
832
|
+
Br(n, e, o);
|
|
833
|
+
}
|
|
834
|
+
function I(i, r) {
|
|
835
|
+
if (typeof i != "number")
|
|
836
|
+
throw new g.ERR_INVALID_ARG_TYPE(r, "number", i);
|
|
837
|
+
}
|
|
838
|
+
function F(i, r, t) {
|
|
839
|
+
throw Math.floor(i) !== i ? (I(i, t), new g.ERR_OUT_OF_RANGE("offset", "an integer", i)) : r < 0 ? new g.ERR_BUFFER_OUT_OF_BOUNDS() : new g.ERR_OUT_OF_RANGE(
|
|
840
|
+
"offset",
|
|
841
|
+
`>= 0 and <= ${r}`,
|
|
842
|
+
i
|
|
843
|
+
);
|
|
844
|
+
}
|
|
845
|
+
const xr = /[^+/0-9A-Za-z-_]/g;
|
|
846
|
+
function Er(i) {
|
|
847
|
+
if (i = i.split("=")[0], i = i.trim().replace(xr, ""), i.length < 2) return "";
|
|
848
|
+
for (; i.length % 4 !== 0; )
|
|
849
|
+
i = i + "=";
|
|
850
|
+
return i;
|
|
851
|
+
}
|
|
852
|
+
function L(i, r) {
|
|
853
|
+
r = r || 1 / 0;
|
|
854
|
+
let t;
|
|
855
|
+
const n = i.length;
|
|
856
|
+
let e = null;
|
|
857
|
+
const o = [];
|
|
858
|
+
for (let h = 0; h < n; ++h) {
|
|
859
|
+
if (t = i.charCodeAt(h), t > 55295 && t < 57344) {
|
|
860
|
+
if (!e) {
|
|
861
|
+
if (t > 56319) {
|
|
862
|
+
(r -= 3) > -1 && o.push(239, 191, 189);
|
|
863
|
+
continue;
|
|
864
|
+
} else if (h + 1 === n) {
|
|
865
|
+
(r -= 3) > -1 && o.push(239, 191, 189);
|
|
866
|
+
continue;
|
|
867
|
+
}
|
|
868
|
+
e = t;
|
|
869
|
+
continue;
|
|
870
|
+
}
|
|
871
|
+
if (t < 56320) {
|
|
872
|
+
(r -= 3) > -1 && o.push(239, 191, 189), e = t;
|
|
873
|
+
continue;
|
|
874
|
+
}
|
|
875
|
+
t = (e - 55296 << 10 | t - 56320) + 65536;
|
|
876
|
+
} else e && (r -= 3) > -1 && o.push(239, 191, 189);
|
|
877
|
+
if (e = null, t < 128) {
|
|
878
|
+
if ((r -= 1) < 0) break;
|
|
879
|
+
o.push(t);
|
|
880
|
+
} else if (t < 2048) {
|
|
881
|
+
if ((r -= 2) < 0) break;
|
|
882
|
+
o.push(
|
|
883
|
+
t >> 6 | 192,
|
|
884
|
+
t & 63 | 128
|
|
885
|
+
);
|
|
886
|
+
} else if (t < 65536) {
|
|
887
|
+
if ((r -= 3) < 0) break;
|
|
888
|
+
o.push(
|
|
889
|
+
t >> 12 | 224,
|
|
890
|
+
t >> 6 & 63 | 128,
|
|
891
|
+
t & 63 | 128
|
|
892
|
+
);
|
|
893
|
+
} else if (t < 1114112) {
|
|
894
|
+
if ((r -= 4) < 0) break;
|
|
895
|
+
o.push(
|
|
896
|
+
t >> 18 | 240,
|
|
897
|
+
t >> 12 & 63 | 128,
|
|
898
|
+
t >> 6 & 63 | 128,
|
|
899
|
+
t & 63 | 128
|
|
900
|
+
);
|
|
901
|
+
} else
|
|
902
|
+
throw new Error("Invalid code point");
|
|
903
|
+
}
|
|
904
|
+
return o;
|
|
905
|
+
}
|
|
906
|
+
function mr(i) {
|
|
907
|
+
const r = [];
|
|
908
|
+
for (let t = 0; t < i.length; ++t)
|
|
909
|
+
r.push(i.charCodeAt(t) & 255);
|
|
910
|
+
return r;
|
|
911
|
+
}
|
|
912
|
+
function gr(i, r) {
|
|
913
|
+
let t, n, e;
|
|
914
|
+
const o = [];
|
|
915
|
+
for (let h = 0; h < i.length && !((r -= 2) < 0); ++h)
|
|
916
|
+
t = i.charCodeAt(h), n = t >> 8, e = t % 256, o.push(e), o.push(n);
|
|
917
|
+
return o;
|
|
918
|
+
}
|
|
919
|
+
function K(i) {
|
|
920
|
+
return R.toByteArray(Er(i));
|
|
921
|
+
}
|
|
922
|
+
function A(i, r, t, n) {
|
|
923
|
+
let e;
|
|
924
|
+
for (e = 0; e < n && !(e + t >= r.length || e >= i.length); ++e)
|
|
925
|
+
r[e + t] = i[e];
|
|
926
|
+
return e;
|
|
927
|
+
}
|
|
928
|
+
function w(i, r) {
|
|
929
|
+
return i instanceof r || i != null && i.constructor != null && i.constructor.name != null && i.constructor.name === r.name;
|
|
930
|
+
}
|
|
931
|
+
function D(i) {
|
|
932
|
+
return i !== i;
|
|
933
|
+
}
|
|
934
|
+
const Ir = function() {
|
|
935
|
+
const i = "0123456789abcdef", r = new Array(256);
|
|
936
|
+
for (let t = 0; t < 16; ++t) {
|
|
937
|
+
const n = t * 16;
|
|
938
|
+
for (let e = 0; e < 16; ++e)
|
|
939
|
+
r[n + e] = i[t] + i[e];
|
|
940
|
+
}
|
|
941
|
+
return r;
|
|
942
|
+
}();
|
|
943
|
+
function x(i) {
|
|
944
|
+
return typeof BigInt > "u" ? dr : i;
|
|
945
|
+
}
|
|
946
|
+
function dr() {
|
|
947
|
+
throw new Error("BigInt not supported");
|
|
948
|
+
}
|
|
949
|
+
}(N), N);
|
|
12
950
|
}
|
|
13
951
|
export {
|
|
14
|
-
|
|
952
|
+
Sr as __require
|
|
15
953
|
};
|